2 # From configure.ac Revision: 1.15 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69.
7 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
13 # Guido Draheim <guido@gmx.de> for ZZipLib.SF.net
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 as_echo_n='sh -c $as_echo_n_body as_echo'
72 as_echo='sh -c $as_echo_body as_echo'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
92 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 _as_can_reexec=no; export _as_can_reexec;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
148 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
150 *v*x* | *x*v* ) as_opts=-vx ;;
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec=; unset _as_can_reexec;}
163 if test "x$CONFIG_SHELL" = x; then
164 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
172 case \`(set -o) 2>/dev/null\` in #(
180 as_required="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
194 exitcode=1; echo positional parameters were not saved.
196 test x\$exitcode = x0 || exit 1
198 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test \$(( 1 + 1 )) = 2 || exit 1"
203 if (eval "$as_required") 2>/dev/null; then :
208 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
213 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
216 test -z "$as_dir" && as_dir=.
220 for as_base in sh bash ksh sh5; do
221 # Try only shells that exist, to save several forks.
222 as_shell=$as_dir/$as_base
223 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 CONFIG_SHELL=$as_shell as_have_required=yes
226 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
235 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
236 CONFIG_SHELL=$SHELL as_have_required=yes
241 if test "x$CONFIG_SHELL" != x; then :
243 # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
249 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
251 *v*x* | *x*v* ) as_opts=-vx ;;
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
263 if test x$as_have_required = xno; then :
264 $as_echo "$0: This script requires a shell more modern than all"
265 $as_echo "$0: the shells that I found on your system."
266 if test x${ZSH_VERSION+set} = xset ; then
267 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
270 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
271 $0: including any error possibly output before this
272 $0: message. Then install a modern shell, or manually run
273 $0: the script under such a shell if you do have one."
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401 as_val=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status=$1; test $as_status -eq 0 && as_status=1
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
561 # Check that we are running under the correct shell.
562 SHELL=${CONFIG_SHELL-/bin/sh}
566 # Remove one level of quotation (which was required for Make).
567 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
572 if test "X$1" = X--no-reexec; then
573 # Discard the --no-reexec flag, and continue.
575 elif test "X$1" = X--fallback-echo; then
576 # Avoid inline document here, it may be left over
578 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
579 # Yippee, $ECHO works!
582 # Restart under the correct shell.
583 exec $SHELL "$0" --no-reexec ${1+"$@"}
586 if test "X$1" = X--fallback-echo; then
587 # used as fallback echo
595 # The HP-UX ksh and POSIX shell print the target directory to stdout
597 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
599 if test -z "$lt_ECHO"; then
600 if test "X${echo_test_string+set}" != Xset; then
601 # find a string as large as possible, as long as the shell can cope with it
602 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
603 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
604 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
605 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
612 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
613 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
614 test "X$echo_testing_string" = "X$echo_test_string"; then
617 # The Solaris, AIX, and Digital Unix default echo programs unquote
618 # backslashes. This makes it impossible to quote backslashes using
619 # echo "$something" | sed 's/\\/\\\\/g'
621 # So, first we look for a working echo in the user's PATH.
623 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
624 for dir in $PATH /usr/ucb; do
626 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
627 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
628 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
636 if test "X$ECHO" = Xecho; then
637 # We didn't find a better echo, so look for alternatives.
638 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
639 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 # This shell has a builtin print -r that does the trick.
643 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
644 test "X$CONFIG_SHELL" != X/bin/ksh; then
645 # If we have ksh, try running configure again with it.
646 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
647 export ORIGINAL_CONFIG_SHELL
648 CONFIG_SHELL=/bin/ksh
650 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
654 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
655 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
659 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
660 test "X$echo_testing_string" = 'X\t' &&
661 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
662 test "X$echo_testing_string" = "X$echo_test_string"; then
663 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
665 SHELL="$CONFIG_SHELL"
667 ECHO="$CONFIG_SHELL $0 --fallback-echo"
668 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
669 test "X$echo_testing_string" = 'X\t' &&
670 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
671 test "X$echo_testing_string" = "X$echo_test_string"; then
672 ECHO="$CONFIG_SHELL $0 --fallback-echo"
674 # maybe with a smaller string...
677 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
678 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
685 if test "$prev" != 'sed 50q "$0"'; then
686 echo_test_string=`eval $prev`
687 export echo_test_string
688 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
690 # Oops. We lost completely, so just stick with echo.
699 # Copy echo and quote the copy suitably for passing to libtool from
700 # the Makefile, instead of quoting the original, which is used later.
702 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
703 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
709 test -n "$DJDIR" || exec 7<&0 </dev/null
713 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
714 # so uname gets run too.
715 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
720 ac_default_prefix=/usr/local
722 ac_config_libobj_dir=.
729 # Identity of this package.
737 ac_unique_file="zziplib.spec"
738 # Factoring default headers for most tests.
739 ac_includes_default="\
741 #ifdef HAVE_SYS_TYPES_H
742 # include <sys/types.h>
744 #ifdef HAVE_SYS_STAT_H
745 # include <sys/stat.h>
751 # ifdef HAVE_STDLIB_H
756 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
761 #ifdef HAVE_STRINGS_H
762 # include <strings.h>
764 #ifdef HAVE_INTTYPES_H
765 # include <inttypes.h>
774 ac_subst_vars='am__EXEEXT_FALSE
802 MAINTAINER_MODE_FALSE
857 INSTALL_STRIP_PROGRAM
875 ax_enable_builddir_sed
915 program_transform_name
928 enable_option_checking
933 enable_dependency_tracking
940 enable_maintainer_mode
950 enable_enable_default_pkgconfigdir
951 enable_enable_default_aclocaldir
953 ac_precious_vars='build_alias
964 # Initialize some variables set by options.
966 ac_init_version=false
967 ac_unrecognized_opts=
969 # The variables have the same names as the options, with
970 # dashes changed to underlines.
978 program_transform_name=s,x,x,
986 # Installation directory options.
987 # These are left unexpanded so users can "make install exec_prefix=/foo"
988 # and all the variables that are supposed to be based on exec_prefix
989 # by default will actually change.
990 # Use braces instead of parens because sh, perl, etc. also accept them.
991 # (The list follows the same order as the GNU Coding Standards.)
992 bindir='${exec_prefix}/bin'
993 sbindir='${exec_prefix}/sbin'
994 libexecdir='${exec_prefix}/libexec'
995 datarootdir='${prefix}/share'
996 datadir='${datarootdir}'
997 sysconfdir='${prefix}/etc'
998 sharedstatedir='${prefix}/com'
999 localstatedir='${prefix}/var'
1000 includedir='${prefix}/include'
1001 oldincludedir='/usr/include'
1002 docdir='${datarootdir}/doc/${PACKAGE}'
1003 infodir='${datarootdir}/info'
1008 libdir='${exec_prefix}/lib'
1009 localedir='${datarootdir}/locale'
1010 mandir='${datarootdir}/man'
1016 # If the previous option needs an argument, assign it.
1017 if test -n "$ac_prev"; then
1018 eval $ac_prev=\$ac_option
1024 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1029 # Accept the important Cygnus configure options, so we can diagnose typos.
1031 case $ac_dashdash$ac_option in
1035 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1037 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1038 bindir=$ac_optarg ;;
1040 -build | --build | --buil | --bui | --bu)
1041 ac_prev=build_alias ;;
1042 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1043 build_alias=$ac_optarg ;;
1045 -cache-file | --cache-file | --cache-fil | --cache-fi \
1046 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1047 ac_prev=cache_file ;;
1048 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1049 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1050 cache_file=$ac_optarg ;;
1052 --config-cache | -C)
1053 cache_file=config.cache ;;
1055 -datadir | --datadir | --datadi | --datad)
1057 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1058 datadir=$ac_optarg ;;
1060 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1061 | --dataroo | --dataro | --datar)
1062 ac_prev=datarootdir ;;
1063 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1064 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1065 datarootdir=$ac_optarg ;;
1067 -disable-* | --disable-*)
1068 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
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--disable-$ac_useropt_orig"
1079 ac_unrecognized_sep=', ';;
1081 eval enable_$ac_useropt=no ;;
1083 -docdir | --docdir | --docdi | --doc | --do)
1085 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1086 docdir=$ac_optarg ;;
1088 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1090 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1091 dvidir=$ac_optarg ;;
1093 -enable-* | --enable-*)
1094 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097 as_fn_error $? "invalid feature name: $ac_useropt"
1098 ac_useropt_orig=$ac_useropt
1099 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 case $ac_user_opts in
1102 "enable_$ac_useropt"
1104 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1105 ac_unrecognized_sep=', ';;
1107 eval enable_$ac_useropt=\$ac_optarg ;;
1109 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1110 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1111 | --exec | --exe | --ex)
1112 ac_prev=exec_prefix ;;
1113 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1114 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1115 | --exec=* | --exe=* | --ex=*)
1116 exec_prefix=$ac_optarg ;;
1118 -gas | --gas | --ga | --g)
1119 # Obsolete; use --with-gas.
1122 -help | --help | --hel | --he | -h)
1123 ac_init_help=long ;;
1124 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1125 ac_init_help=recursive ;;
1126 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1127 ac_init_help=short ;;
1129 -host | --host | --hos | --ho)
1130 ac_prev=host_alias ;;
1131 -host=* | --host=* | --hos=* | --ho=*)
1132 host_alias=$ac_optarg ;;
1134 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1136 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1138 htmldir=$ac_optarg ;;
1140 -includedir | --includedir | --includedi | --included | --include \
1141 | --includ | --inclu | --incl | --inc)
1142 ac_prev=includedir ;;
1143 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1144 | --includ=* | --inclu=* | --incl=* | --inc=*)
1145 includedir=$ac_optarg ;;
1147 -infodir | --infodir | --infodi | --infod | --info | --inf)
1149 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1150 infodir=$ac_optarg ;;
1152 -libdir | --libdir | --libdi | --libd)
1154 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1155 libdir=$ac_optarg ;;
1157 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1158 | --libexe | --libex | --libe)
1159 ac_prev=libexecdir ;;
1160 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1161 | --libexe=* | --libex=* | --libe=*)
1162 libexecdir=$ac_optarg ;;
1164 -localedir | --localedir | --localedi | --localed | --locale)
1165 ac_prev=localedir ;;
1166 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1167 localedir=$ac_optarg ;;
1169 -localstatedir | --localstatedir | --localstatedi | --localstated \
1170 | --localstate | --localstat | --localsta | --localst | --locals)
1171 ac_prev=localstatedir ;;
1172 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1173 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1174 localstatedir=$ac_optarg ;;
1176 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1178 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1179 mandir=$ac_optarg ;;
1181 -nfp | --nfp | --nf)
1182 # Obsolete; use --without-fp.
1185 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1186 | --no-cr | --no-c | -n)
1189 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1190 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1193 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1194 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1195 | --oldin | --oldi | --old | --ol | --o)
1196 ac_prev=oldincludedir ;;
1197 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1198 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1199 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1200 oldincludedir=$ac_optarg ;;
1202 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1204 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1205 prefix=$ac_optarg ;;
1207 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1208 | --program-pre | --program-pr | --program-p)
1209 ac_prev=program_prefix ;;
1210 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1211 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1212 program_prefix=$ac_optarg ;;
1214 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1215 | --program-suf | --program-su | --program-s)
1216 ac_prev=program_suffix ;;
1217 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1218 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1219 program_suffix=$ac_optarg ;;
1221 -program-transform-name | --program-transform-name \
1222 | --program-transform-nam | --program-transform-na \
1223 | --program-transform-n | --program-transform- \
1224 | --program-transform | --program-transfor \
1225 | --program-transfo | --program-transf \
1226 | --program-trans | --program-tran \
1227 | --progr-tra | --program-tr | --program-t)
1228 ac_prev=program_transform_name ;;
1229 -program-transform-name=* | --program-transform-name=* \
1230 | --program-transform-nam=* | --program-transform-na=* \
1231 | --program-transform-n=* | --program-transform-=* \
1232 | --program-transform=* | --program-transfor=* \
1233 | --program-transfo=* | --program-transf=* \
1234 | --program-trans=* | --program-tran=* \
1235 | --progr-tra=* | --program-tr=* | --program-t=*)
1236 program_transform_name=$ac_optarg ;;
1238 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1240 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1241 pdfdir=$ac_optarg ;;
1243 -psdir | --psdir | --psdi | --psd | --ps)
1245 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1248 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1249 | -silent | --silent | --silen | --sile | --sil)
1252 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1254 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1256 sbindir=$ac_optarg ;;
1258 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1259 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1260 | --sharedst | --shareds | --shared | --share | --shar \
1262 ac_prev=sharedstatedir ;;
1263 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1264 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1265 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1267 sharedstatedir=$ac_optarg ;;
1269 -site | --site | --sit)
1271 -site=* | --site=* | --sit=*)
1274 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1276 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1277 srcdir=$ac_optarg ;;
1279 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1280 | --syscon | --sysco | --sysc | --sys | --sy)
1281 ac_prev=sysconfdir ;;
1282 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1283 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1284 sysconfdir=$ac_optarg ;;
1286 -target | --target | --targe | --targ | --tar | --ta | --t)
1287 ac_prev=target_alias ;;
1288 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1289 target_alias=$ac_optarg ;;
1291 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1294 -version | --version | --versio | --versi | --vers | -V)
1295 ac_init_version=: ;;
1298 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1299 # Reject names that are not valid shell variable names.
1300 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1301 as_fn_error $? "invalid package name: $ac_useropt"
1302 ac_useropt_orig=$ac_useropt
1303 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1304 case $ac_user_opts in
1308 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1309 ac_unrecognized_sep=', ';;
1311 eval with_$ac_useropt=\$ac_optarg ;;
1313 -without-* | --without-*)
1314 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1315 # Reject names that are not valid shell variable names.
1316 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1317 as_fn_error $? "invalid package name: $ac_useropt"
1318 ac_useropt_orig=$ac_useropt
1319 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1320 case $ac_user_opts in
1324 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1325 ac_unrecognized_sep=', ';;
1327 eval with_$ac_useropt=no ;;
1330 # Obsolete; use --with-x.
1333 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1334 | --x-incl | --x-inc | --x-in | --x-i)
1335 ac_prev=x_includes ;;
1336 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1337 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1338 x_includes=$ac_optarg ;;
1340 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1341 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1342 ac_prev=x_libraries ;;
1343 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1344 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1345 x_libraries=$ac_optarg ;;
1347 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1348 Try \`$0 --help' for more information"
1352 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1353 # Reject names that are not valid shell variable names.
1354 case $ac_envvar in #(
1355 '' | [0-9]* | *[!_$as_cr_alnum]* )
1356 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1358 eval $ac_envvar=\$ac_optarg
1359 export $ac_envvar ;;
1362 # FIXME: should be removed in autoconf 3.0.
1363 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1364 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1365 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1366 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1372 if test -n "$ac_prev"; then
1373 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1374 as_fn_error $? "missing argument to $ac_option"
1377 if test -n "$ac_unrecognized_opts"; then
1378 case $enable_option_checking in
1380 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1381 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1385 # Check all directory arguments for consistency.
1386 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1387 datadir sysconfdir sharedstatedir localstatedir includedir \
1388 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1389 libdir localedir mandir
1391 eval ac_val=\$$ac_var
1392 # Remove trailing slashes.
1395 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1396 eval $ac_var=\$ac_val;;
1398 # Be sure to have absolute directory names.
1400 [\\/$]* | ?:[\\/]* ) continue;;
1401 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1403 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1406 # There might be people who depend on the old broken behavior: `$host'
1407 # used to hold the argument of --host etc.
1408 # FIXME: To remove some day.
1411 target=$target_alias
1413 # FIXME: To remove some day.
1414 if test "x$host_alias" != x; then
1415 if test "x$build_alias" = x; then
1416 cross_compiling=maybe
1417 elif test "x$build_alias" != "x$host_alias"; then
1423 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1425 test "$silent" = yes && exec 6>/dev/null
1428 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1429 ac_ls_di=`ls -di .` &&
1430 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1431 as_fn_error $? "working directory cannot be determined"
1432 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1433 as_fn_error $? "pwd does not report name of working directory"
1436 # Find the source files, if location was not specified.
1437 if test -z "$srcdir"; then
1438 ac_srcdir_defaulted=yes
1439 # Try the directory containing this script, then the parent directory.
1440 ac_confdir=`$as_dirname -- "$as_myself" ||
1441 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1442 X"$as_myself" : 'X\(//\)[^/]' \| \
1443 X"$as_myself" : 'X\(//\)$' \| \
1444 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1445 $as_echo X"$as_myself" |
1446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1464 if test ! -r "$srcdir/$ac_unique_file"; then
1468 ac_srcdir_defaulted=no
1470 if test ! -r "$srcdir/$ac_unique_file"; then
1471 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1472 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1474 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1476 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1478 # When building in place, set srcdir=.
1479 if test "$ac_abs_confdir" = "$ac_pwd"; then
1482 # Remove unnecessary trailing slashes from srcdir.
1483 # Double slashes in file names in object file debugging info
1484 # mess up M-x gdb in Emacs.
1486 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1488 for ac_var in $ac_precious_vars; do
1489 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1490 eval ac_env_${ac_var}_value=\$${ac_var}
1491 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1492 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1496 # Report the --help message.
1498 if test "$ac_init_help" = "long"; then
1499 # Omit some internal or obsolete options to make the list less imposing.
1500 # This message is too long to be a string in the A/UX 3.1 sh.
1502 \`configure' configures this package to adapt to many kinds of systems.
1504 Usage: $0 [OPTION]... [VAR=VALUE]...
1506 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1507 VAR=VALUE. See below for descriptions of some of the useful variables.
1509 Defaults for the options are specified in brackets.
1512 -h, --help display this help and exit
1513 --help=short display options specific to this package
1514 --help=recursive display the short help of all the included packages
1515 -V, --version display version information and exit
1516 -q, --quiet, --silent do not print \`checking ...' messages
1517 --cache-file=FILE cache test results in FILE [disabled]
1518 -C, --config-cache alias for \`--cache-file=config.cache'
1519 -n, --no-create do not create output files
1520 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1522 Installation directories:
1523 --prefix=PREFIX install architecture-independent files in PREFIX
1524 [$ac_default_prefix]
1525 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1528 By default, \`make install' will install all the files in
1529 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1530 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1531 for instance \`--prefix=\$HOME'.
1533 For better control, use the options below.
1535 Fine tuning of the installation directories:
1536 --bindir=DIR user executables [EPREFIX/bin]
1537 --sbindir=DIR system admin executables [EPREFIX/sbin]
1538 --libexecdir=DIR program executables [EPREFIX/libexec]
1539 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1540 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1541 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1542 --libdir=DIR object code libraries [EPREFIX/lib]
1543 --includedir=DIR C header files [PREFIX/include]
1544 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1545 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1546 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1547 --infodir=DIR info documentation [DATAROOTDIR/info]
1548 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1549 --mandir=DIR man documentation [DATAROOTDIR/man]
1550 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1551 --htmldir=DIR html documentation [DOCDIR]
1552 --dvidir=DIR dvi documentation [DOCDIR]
1553 --pdfdir=DIR pdf documentation [DOCDIR]
1554 --psdir=DIR ps documentation [DOCDIR]
1560 --program-prefix=PREFIX prepend PREFIX to installed program names
1561 --program-suffix=SUFFIX append SUFFIX to installed program names
1562 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1565 --build=BUILD configure for building on BUILD [guessed]
1566 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1567 --target=TARGET configure for building compilers for TARGET [HOST]
1571 if test -n "$ac_init_help"; then
1576 --disable-option-checking ignore unrecognized --enable/--with options
1577 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1578 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1579 --disable-builddir disable automatic build in subdir of sources
1581 --disable-thread-safe disable thread-safe libtool option
1583 --enable-silent-rules less verbose build output (undo: "make V=1")
1584 --disable-silent-rules verbose build output (undo: "make V=0")
1585 --enable-dependency-tracking
1586 do not reject slow dependency extractors
1587 --disable-dependency-tracking
1588 speeds up one-time build
1589 --enable-shared[=PKGS] build shared libraries [default=yes]
1590 --enable-static[=PKGS] build static libraries [default=yes]
1591 --enable-fast-install[=PKGS]
1592 optimize for fast installation [default=yes]
1593 --disable-libtool-lock avoid locking (might break parallel builds)
1594 --enable-maintainer-mode
1595 enable make rules and dependencies not useful (and
1596 sometimes confusing) to the casual installer
1597 --disable-largefile omit support for large files
1598 --disable-mmap disable mmap usage
1600 --enable-sdl enable SDL usage (if present)
1602 --enable-frame-pointer enable callframe generation for debugging
1603 --enable-default-pkgconfigdir(=PATH) override the libdir/pkgconfig default
1604 --enable-default-aclocaldir(=PATH) override the datadir/aclocal default
1607 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1608 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1609 --with-zlib zlib prefix (e.g. '$HOME/software')
1611 --with-pic try to use only PIC/non-PIC objects [default=use
1613 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1614 --with-largefile compile as off64_t instead of 32bit off_t
1616 --with-docdir docdir prefix (prefix/share/doc)
1618 --with-debug debug messages in library
1620 --with-lowstk limited thread stack
1622 --with-defines easy,harden,allow_modulo_entries
1624 Some influential environment variables:
1625 CC C compiler command
1626 CFLAGS C compiler flags
1627 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1628 nonstandard directory <lib dir>
1629 LIBS libraries to pass to the linker, e.g. -l<library>
1630 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1631 you have headers in a nonstandard directory <include dir>
1634 Use these variables to override the choices made by `configure' or to help
1635 it to find libraries and programs with nonstandard names/locations.
1637 Report bugs to the package provider.
1642 if test "$ac_init_help" = "recursive"; then
1643 # If there are subdirs, report their specific --help.
1644 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1645 test -d "$ac_dir" ||
1646 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1654 # A ".." for each directory in $ac_dir_suffix.
1655 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1656 case $ac_top_builddir_sub in
1657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1661 ac_abs_top_builddir=$ac_pwd
1662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1663 # for backward compatibility:
1664 ac_top_builddir=$ac_top_build_prefix
1667 .) # We are building in place.
1669 ac_top_srcdir=$ac_top_builddir_sub
1670 ac_abs_top_srcdir=$ac_pwd ;;
1671 [\\/]* | ?:[\\/]* ) # Absolute name.
1672 ac_srcdir=$srcdir$ac_dir_suffix;
1673 ac_top_srcdir=$srcdir
1674 ac_abs_top_srcdir=$srcdir ;;
1676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1677 ac_top_srcdir=$ac_top_build_prefix$srcdir
1678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1682 cd "$ac_dir" || { ac_status=$?; continue; }
1683 # Check for guested configure.
1684 if test -f "$ac_srcdir/configure.gnu"; then
1686 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1687 elif test -f "$ac_srcdir/configure"; then
1689 $SHELL "$ac_srcdir/configure" --help=recursive
1691 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1693 cd "$ac_pwd" || { ac_status=$?; break; }
1697 test -n "$ac_init_help" && exit $ac_status
1698 if $ac_init_version; then
1701 generated by GNU Autoconf 2.69
1703 Copyright (C) 2012 Free Software Foundation, Inc.
1704 This configure script is free software; the Free Software Foundation
1705 gives unlimited permission to copy, distribute and modify it.
1707 Guido Draheim <guido@gmx.de> for ZZipLib.SF.net
1712 ## ------------------------ ##
1713 ## Autoconf initialization. ##
1714 ## ------------------------ ##
1716 # ac_fn_c_try_compile LINENO
1717 # --------------------------
1718 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1719 ac_fn_c_try_compile ()
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 rm -f conftest.$ac_objext
1723 if { { ac_try="$ac_compile"
1725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726 *) ac_try_echo=$ac_try;;
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_compile") 2>conftest.err
1732 if test -s conftest.err; then
1733 grep -v '^ *+' conftest.err >conftest.er1
1734 cat conftest.er1 >&5
1735 mv -f conftest.er1 conftest.err
1737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1738 test $ac_status = 0; } && {
1739 test -z "$ac_c_werror_flag" ||
1740 test ! -s conftest.err
1741 } && test -s conftest.$ac_objext; then :
1744 $as_echo "$as_me: failed program was:" >&5
1745 sed 's/^/| /' conftest.$ac_ext >&5
1749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750 as_fn_set_status $ac_retval
1752 } # ac_fn_c_try_compile
1754 # ac_fn_c_try_link LINENO
1755 # -----------------------
1756 # Try to link conftest.$ac_ext, and return whether this succeeded.
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 rm -f conftest.$ac_objext conftest$ac_exeext
1761 if { { ac_try="$ac_link"
1763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764 *) ac_try_echo=$ac_try;;
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_link") 2>conftest.err
1770 if test -s conftest.err; then
1771 grep -v '^ *+' conftest.err >conftest.er1
1772 cat conftest.er1 >&5
1773 mv -f conftest.er1 conftest.err
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } && {
1777 test -z "$ac_c_werror_flag" ||
1778 test ! -s conftest.err
1779 } && test -s conftest$ac_exeext && {
1780 test "$cross_compiling" = yes ||
1781 test -x conftest$ac_exeext
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1790 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1791 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1792 # interfere with the next link command; also delete a directory that is
1793 # left behind by Apple's compiler. We do this before executing the actions.
1794 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 as_fn_set_status $ac_retval
1798 } # ac_fn_c_try_link
1800 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1801 # -------------------------------------------------------
1802 # Tests whether HEADER exists and can be compiled using the include files in
1803 # INCLUDES, setting the cache variable VAR accordingly.
1804 ac_fn_c_check_header_compile ()
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1808 $as_echo_n "checking for $2... " >&6; }
1809 if eval \${$3+:} false; then :
1810 $as_echo_n "(cached) " >&6
1812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1813 /* end confdefs.h. */
1817 if ac_fn_c_try_compile "$LINENO"; then :
1822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826 $as_echo "$ac_res" >&6; }
1827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 } # ac_fn_c_check_header_compile
1831 # ac_fn_c_try_cpp LINENO
1832 # ----------------------
1833 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837 if { { ac_try="$ac_cpp conftest.$ac_ext"
1839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840 *) ac_try_echo=$ac_try;;
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1846 if test -s conftest.err; then
1847 grep -v '^ *+' conftest.err >conftest.er1
1848 cat conftest.er1 >&5
1849 mv -f conftest.er1 conftest.err
1851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852 test $ac_status = 0; } > conftest.i && {
1853 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1854 test ! -s conftest.err
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864 as_fn_set_status $ac_retval
1868 # ac_fn_c_try_run LINENO
1869 # ----------------------
1870 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1871 # that executables *can* be run.
1874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875 if { { ac_try="$ac_link"
1877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1878 *) ac_try_echo=$ac_try;;
1880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1881 $as_echo "$ac_try_echo"; } >&5
1882 (eval "$ac_link") 2>&5
1884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1885 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1886 { { case "(($ac_try" in
1887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1888 *) ac_try_echo=$ac_try;;
1890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1891 $as_echo "$ac_try_echo"; } >&5
1892 (eval "$ac_try") 2>&5
1894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895 test $ac_status = 0; }; }; then :
1898 $as_echo "$as_me: program exited with status $ac_status" >&5
1899 $as_echo "$as_me: failed program was:" >&5
1900 sed 's/^/| /' conftest.$ac_ext >&5
1902 ac_retval=$ac_status
1904 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1905 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1906 as_fn_set_status $ac_retval
1910 # ac_fn_c_check_func LINENO FUNC VAR
1911 # ----------------------------------
1912 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1913 ac_fn_c_check_func ()
1915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1917 $as_echo_n "checking for $2... " >&6; }
1918 if eval \${$3+:} false; then :
1919 $as_echo_n "(cached) " >&6
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1923 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1925 #define $2 innocuous_$2
1927 /* System header to define __stub macros and hopefully few prototypes,
1928 which can conflict with char $2 (); below.
1929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1930 <limits.h> exists even on freestanding compilers. */
1933 # include <limits.h>
1935 # include <assert.h>
1940 /* Override any GCC internal prototype to avoid an error.
1941 Use char because int might match the return type of a GCC
1942 builtin and then its argument prototype would still apply. */
1947 /* The GNU C library defines this for functions which it implements
1948 to always fail with ENOSYS. Some functions are actually named
1949 something starting with __ and the normal name is an alias. */
1950 #if defined __stub_$2 || defined __stub___$2
1962 if ac_fn_c_try_link "$LINENO"; then :
1967 rm -f core conftest.err conftest.$ac_objext \
1968 conftest$ac_exeext conftest.$ac_ext
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1972 $as_echo "$ac_res" >&6; }
1973 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1975 } # ac_fn_c_check_func
1977 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1978 # -------------------------------------------------------
1979 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1980 # the include files in INCLUDES and setting the cache variable VAR
1982 ac_fn_c_check_header_mongrel ()
1984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1985 if eval \${$3+:} false; then :
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1987 $as_echo_n "checking for $2... " >&6; }
1988 if eval \${$3+:} false; then :
1989 $as_echo_n "(cached) " >&6
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1993 $as_echo "$ac_res" >&6; }
1995 # Is the header compilable?
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1997 $as_echo_n "checking $2 usability... " >&6; }
1998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1999 /* end confdefs.h. */
2003 if ac_fn_c_try_compile "$LINENO"; then :
2004 ac_header_compiler=yes
2006 ac_header_compiler=no
2008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2010 $as_echo "$ac_header_compiler" >&6; }
2012 # Is the header present?
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2014 $as_echo_n "checking $2 presence... " >&6; }
2015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2016 /* end confdefs.h. */
2019 if ac_fn_c_try_cpp "$LINENO"; then :
2020 ac_header_preproc=yes
2022 ac_header_preproc=no
2024 rm -f conftest.err conftest.i conftest.$ac_ext
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2026 $as_echo "$ac_header_preproc" >&6; }
2028 # So? What about this header?
2029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2032 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2034 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2038 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2040 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2042 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2044 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2046 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2050 $as_echo_n "checking for $2... " >&6; }
2051 if eval \${$3+:} false; then :
2052 $as_echo_n "(cached) " >&6
2054 eval "$3=\$ac_header_compiler"
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2058 $as_echo "$ac_res" >&6; }
2060 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2062 } # ac_fn_c_check_header_mongrel
2064 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2065 # -------------------------------------------
2066 # Tests whether TYPE exists after having included INCLUDES, setting cache
2067 # variable VAR accordingly.
2068 ac_fn_c_check_type ()
2070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2072 $as_echo_n "checking for $2... " >&6; }
2073 if eval \${$3+:} false; then :
2074 $as_echo_n "(cached) " >&6
2077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2078 /* end confdefs.h. */
2089 if ac_fn_c_try_compile "$LINENO"; then :
2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2102 if ac_fn_c_try_compile "$LINENO"; then :
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113 $as_echo "$ac_res" >&6; }
2114 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2116 } # ac_fn_c_check_type
2117 cat >config.log <<_ACEOF
2118 This file contains any messages produced by compilers while
2119 running configure, to aid debugging if configure makes a mistake.
2121 It was created by $as_me, which was
2122 generated by GNU Autoconf 2.69. Invocation command line was
2134 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2135 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2136 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2137 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2138 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2140 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2141 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2143 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2144 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2145 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2146 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2147 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2148 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2149 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2157 test -z "$as_dir" && as_dir=.
2158 $as_echo "PATH: $as_dir"
2174 # Keep a trace of the command line.
2175 # Strip out --no-create and --no-recursion so they do not pile up.
2176 # Strip out --silent because we don't want to record it for future runs.
2177 # Also quote any args containing shell meta-characters.
2178 # Make two passes to allow for proper duplicate-argument suppression.
2182 ac_must_keep_next=false
2188 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2190 | -silent | --silent | --silen | --sile | --sil)
2193 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2196 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2198 as_fn_append ac_configure_args1 " '$ac_arg'"
2199 if test $ac_must_keep_next = true; then
2200 ac_must_keep_next=false # Got value, back to normal.
2203 *=* | --config-cache | -C | -disable-* | --disable-* \
2204 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2205 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2206 | -with-* | --with-* | -without-* | --without-* | --x)
2207 case "$ac_configure_args0 " in
2208 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2211 -* ) ac_must_keep_next=true ;;
2214 as_fn_append ac_configure_args " '$ac_arg'"
2219 { ac_configure_args0=; unset ac_configure_args0;}
2220 { ac_configure_args1=; unset ac_configure_args1;}
2222 # When interrupted or exit'd, cleanup temporary files, and complete
2223 # config.log. We remove comments because anyway the quotes in there
2224 # would cause problems or look ugly.
2225 # WARNING: Use '\'' to represent an apostrophe within the trap.
2226 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2227 trap 'exit_status=$?
2228 # Save into config.log some information that might help in debugging.
2232 $as_echo "## ---------------- ##
2233 ## Cache variables. ##
2234 ## ---------------- ##"
2236 # The following way of writing the cache mishandles newlines in values,
2238 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2239 eval ac_val=\$$ac_var
2243 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2244 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2247 _ | IFS | as_nl) ;; #(
2248 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2249 *) { eval $ac_var=; unset $ac_var;} ;;
2254 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2255 *${as_nl}ac_space=\ *)
2257 "s/'\''/'\''\\\\'\'''\''/g;
2258 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2261 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2268 $as_echo "## ----------------- ##
2269 ## Output variables. ##
2270 ## ----------------- ##"
2272 for ac_var in $ac_subst_vars
2274 eval ac_val=\$$ac_var
2276 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2278 $as_echo "$ac_var='\''$ac_val'\''"
2282 if test -n "$ac_subst_files"; then
2283 $as_echo "## ------------------- ##
2284 ## File substitutions. ##
2285 ## ------------------- ##"
2287 for ac_var in $ac_subst_files
2289 eval ac_val=\$$ac_var
2291 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2293 $as_echo "$ac_var='\''$ac_val'\''"
2298 if test -s confdefs.h; then
2299 $as_echo "## ----------- ##
2306 test "$ac_signal" != 0 &&
2307 $as_echo "$as_me: caught signal $ac_signal"
2308 $as_echo "$as_me: exit $exit_status"
2310 rm -f core *.core core.conftest.* &&
2311 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2314 for ac_signal in 1 2 13 15; do
2315 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2319 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2320 rm -f -r conftest* confdefs.h
2322 $as_echo "/* confdefs.h */" > confdefs.h
2324 # Predefined preprocessor variables.
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE_NAME "$PACKAGE_NAME"
2330 cat >>confdefs.h <<_ACEOF
2331 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2334 cat >>confdefs.h <<_ACEOF
2335 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2338 cat >>confdefs.h <<_ACEOF
2339 #define PACKAGE_STRING "$PACKAGE_STRING"
2342 cat >>confdefs.h <<_ACEOF
2343 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2346 cat >>confdefs.h <<_ACEOF
2347 #define PACKAGE_URL "$PACKAGE_URL"
2351 # Let the site file select an alternate cache file if it wants to.
2352 # Prefer an explicitly selected file to automatically selected ones.
2355 if test -n "$CONFIG_SITE"; then
2356 # We do not want a PATH search for config.site.
2357 case $CONFIG_SITE in #((
2358 -*) ac_site_file1=./$CONFIG_SITE;;
2359 */*) ac_site_file1=$CONFIG_SITE;;
2360 *) ac_site_file1=./$CONFIG_SITE;;
2362 elif test "x$prefix" != xNONE; then
2363 ac_site_file1=$prefix/share/config.site
2364 ac_site_file2=$prefix/etc/config.site
2366 ac_site_file1=$ac_default_prefix/share/config.site
2367 ac_site_file2=$ac_default_prefix/etc/config.site
2369 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2371 test "x$ac_site_file" = xNONE && continue
2372 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2374 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2375 sed 's/^/| /' "$ac_site_file" >&5
2377 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2379 as_fn_error $? "failed to load site script $ac_site_file
2380 See \`config.log' for more details" "$LINENO" 5; }
2384 if test -r "$cache_file"; then
2385 # Some versions of bash will fail to source /dev/null (special files
2386 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2387 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2389 $as_echo "$as_me: loading cache $cache_file" >&6;}
2391 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2392 *) . "./$cache_file";;
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2397 $as_echo "$as_me: creating cache $cache_file" >&6;}
2401 # Check that the precious variables saved in the cache have kept the same
2403 ac_cache_corrupted=false
2404 for ac_var in $ac_precious_vars; do
2405 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2406 eval ac_new_set=\$ac_env_${ac_var}_set
2407 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2408 eval ac_new_val=\$ac_env_${ac_var}_value
2409 case $ac_old_set,$ac_new_set in
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2412 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2413 ac_cache_corrupted=: ;;
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2416 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2417 ac_cache_corrupted=: ;;
2420 if test "x$ac_old_val" != "x$ac_new_val"; then
2421 # differences in whitespace do not lead to failure.
2422 ac_old_val_w=`echo x $ac_old_val`
2423 ac_new_val_w=`echo x $ac_new_val`
2424 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2426 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2427 ac_cache_corrupted=:
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2430 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2431 eval $ac_var=\$ac_old_val
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2434 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2436 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2439 # Pass precious variables to config.status.
2440 if test "$ac_new_set" = set; then
2442 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2443 *) ac_arg=$ac_var=$ac_new_val ;;
2445 case " $ac_configure_args " in
2446 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2447 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2451 if $ac_cache_corrupted; then
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2455 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2456 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2458 ## -------------------- ##
2459 ## Main body of script. ##
2460 ## -------------------- ##
2463 ac_cpp='$CPP $CPPFLAGS'
2464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2473 for ac_dir in uses "$srcdir"/uses; do
2474 if test -f "$ac_dir/install-sh"; then
2476 ac_install_sh="$ac_aux_dir/install-sh -c"
2478 elif test -f "$ac_dir/install.sh"; then
2480 ac_install_sh="$ac_aux_dir/install.sh -c"
2482 elif test -f "$ac_dir/shtool"; then
2484 ac_install_sh="$ac_aux_dir/shtool install -c"
2488 if test -z "$ac_aux_dir"; then
2489 as_fn_error $? "cannot find install-sh, install.sh, or shtool in uses \"$srcdir\"/uses" "$LINENO" 5
2492 # These three variables are undocumented and unsupported,
2493 # and are intended to be withdrawn in a future Autoconf release.
2494 # They can cause serious problems if a builder's source tree is in a directory
2495 # whose full name contains unusual characters.
2496 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2497 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2498 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2502 # =======================================================================
2503 # Make sure we can run config.sub.
2504 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2505 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2508 $as_echo_n "checking build system type... " >&6; }
2509 if ${ac_cv_build+:} false; then :
2510 $as_echo_n "(cached) " >&6
2512 ac_build_alias=$build_alias
2513 test "x$ac_build_alias" = x &&
2514 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2515 test "x$ac_build_alias" = x &&
2516 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2517 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2518 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2522 $as_echo "$ac_cv_build" >&6; }
2523 case $ac_cv_build in
2525 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2528 ac_save_IFS=$IFS; IFS='-'
2534 # Remember, the first character of IFS is used to create $*,
2535 # except with old shells:
2538 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2542 $as_echo_n "checking host system type... " >&6; }
2543 if ${ac_cv_host+:} false; then :
2544 $as_echo_n "(cached) " >&6
2546 if test "x$host_alias" = x; then
2547 ac_cv_host=$ac_cv_build
2549 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2550 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2555 $as_echo "$ac_cv_host" >&6; }
2558 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2561 ac_save_IFS=$IFS; IFS='-'
2567 # Remember, the first character of IFS is used to create $*,
2568 # except with old shells:
2571 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2575 $as_echo_n "checking target system type... " >&6; }
2576 if ${ac_cv_target+:} false; then :
2577 $as_echo_n "(cached) " >&6
2579 if test "x$target_alias" = x; then
2580 ac_cv_target=$ac_cv_host
2582 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2583 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2588 $as_echo "$ac_cv_target" >&6; }
2589 case $ac_cv_target in
2591 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2593 target=$ac_cv_target
2594 ac_save_IFS=$IFS; IFS='-'
2600 # Remember, the first character of IFS is used to create $*,
2601 # except with old shells:
2604 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2607 # The aliases save the names the user supplied, while $host etc.
2608 # will get canonicalized.
2609 test -n "$target_alias" &&
2610 test "$program_prefix$program_suffix$program_transform_name" = \
2612 program_prefix=${target_alias}-
2615 # [$]@ is unsable in 2.60+ but earlier autoconf had no ac_configure_args
2616 if test "${ac_configure_args+set}" != "set" ; then
2618 for ac_arg in ${1+"$@"}; do
2619 ac_configure_args="$ac_configure_args '$ac_arg'"
2624 ax_enable_builddir="."
2625 # Check whether --enable-builddir was given.
2626 if test "${enable_builddir+set}" = set; then :
2627 enableval=$enable_builddir; ax_enable_builddir="$enableval"
2629 ax_enable_builddir="yes"
2632 if test ".$ac_srcdir_defaulted" != ".no" ; then
2633 if test ".$srcdir" = ".." ; then
2634 if test -f config.status ; then
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: toplevel srcdir already configured... skipping subdir build" >&5
2636 $as_echo "$as_me: toplevel srcdir already configured... skipping subdir build" >&6;}
2638 test ".$ax_enable_builddir" = "." && ax_enable_builddir="."
2639 test ".$ax_enable_builddir" = ".no" && ax_enable_builddir="."
2640 test ".$TARGET" = "." && TARGET="$target"
2641 test ".$ax_enable_builddir" = ".yes" && ax_enable_builddir="$TARGET"
2642 if test ".$ax_enable_builddir" != ".." ; then # we know where to go and
2643 as_dir=$ax_enable_builddir; as_fn_mkdir_p
2644 echo __.$ax_enable_builddir.__ > $ax_enable_builddir/conftest.tmp
2645 cd $ax_enable_builddir
2646 if grep __.$ax_enable_builddir.__ conftest.tmp >/dev/null 2>/dev/null ; then
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: continue configure in default builddir \"./$ax_enable_builddir\"" >&5
2649 $as_echo "continue configure in default builddir \"./$ax_enable_builddir\"" >&6; }
2651 as_fn_error $? "could not change to default builddir \"./$ax_enable_builddir\"" "$LINENO" 5
2653 srcdir=`echo "$ax_enable_builddir" |
2654 sed -e 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g;s,[/]$,,;'`
2655 # going to restart from subdirectory location
2656 test -f $srcdir/config.log && mv $srcdir/config.log .
2657 test -f $srcdir/confdefs.h && mv $srcdir/confdefs.h .
2658 test -f $srcdir/conftest.log && mv $srcdir/conftest.log .
2659 test -f $srcdir/$cache_file && mv $srcdir/$cache_file .
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ....exec $SHELL $srcdir/$0 \"--srcdir=$srcdir\" \"--enable-builddir=$ax_enable_builddir\" ${1+\"$@\"}" >&5
2661 $as_echo "....exec $SHELL $srcdir/$0 \"--srcdir=$srcdir\" \"--enable-builddir=$ax_enable_builddir\" ${1+\"$@\"}" >&6; }
2662 case "$0" in # restart
2663 /\\*) eval $SHELL "'$0'" "'--srcdir=$srcdir'" "'--enable-builddir=$ax_enable_builddir'" $ac_configure_args ;;
2664 *) eval $SHELL "'$srcdir/$0'" "'--srcdir=$srcdir'" "'--enable-builddir=$ax_enable_builddir'" $ac_configure_args ;;
2669 # Extract the first word of "gsed sed", so it can be a program name with args.
2670 set dummy gsed sed; ac_word=$2
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2672 $as_echo_n "checking for $ac_word... " >&6; }
2673 if ${ac_cv_path_ax_enable_builddir_sed+:} false; then :
2674 $as_echo_n "(cached) " >&6
2676 case $ax_enable_builddir_sed in
2678 ac_cv_path_ax_enable_builddir_sed="$ax_enable_builddir_sed" # Let the user override the test with a path.
2681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2685 test -z "$as_dir" && as_dir=.
2686 for ac_exec_ext in '' $ac_executable_extensions; do
2687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2688 ac_cv_path_ax_enable_builddir_sed="$as_dir/$ac_word$ac_exec_ext"
2689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2696 test -z "$ac_cv_path_ax_enable_builddir_sed" && ac_cv_path_ax_enable_builddir_sed="sed"
2700 ax_enable_builddir_sed=$ac_cv_path_ax_enable_builddir_sed
2701 if test -n "$ax_enable_builddir_sed"; then
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_enable_builddir_sed" >&5
2703 $as_echo "$ax_enable_builddir_sed" >&6; }
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2706 $as_echo "no" >&6; }
2710 ax_enable_builddir_auxdir="$ac_aux_dir"
2711 ax_enable_builddir_auxdir=`echo "$ax_enable_builddir_auxdir" | $ax_enable_builddir_sed -e "s|$ac_top_srcdir|.|"`
2712 test ".$ax_enable_builddir_auxdir" = "." && ax_enable_builddir_auxdir="$ac_aux_dir"
2713 test ".$ax_enable_builddir_auxdir" = "." && ax_enable_builddir_auxdir="."
2714 ac_config_commands="$ac_config_commands buildir"
2716 # --------------------------------------------
2717 case "$prefix:$ac_default_prefix" in
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default prefix path" >&5
2721 $as_echo_n "checking default prefix path... " >&6; }
2722 case "${target_os}" in
2723 *cygwin* | *mingw* | *uwin* | *djgpp | *emx* )
2724 if test "${host_os}" = "${target_os}" ; then
2725 ac_default_prefix="/programs"
2726 result="(win/dos target)"
2729 *:/usr/local/cross-tools/$target_alias/bin:*)
2730 ac_default_prefix="/usr/local/cross-tools/$target_alias" ;;
2731 *:/usr/local/$target_alias/bin:*)
2732 ac_default_prefix="/usr/local/$target_alias" ;;
2733 *:/usr/local/$target_cpu-$target_os/bin:*)
2734 ac_default_prefix="/usr/local/$target_cpu-$target_os" ;;
2736 ac_default_prefix="/programs" ;;
2738 result="(win/dos cross-compiler)"
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_default_prefix $result" >&5
2743 $as_echo "$ac_default_prefix $result" >&6; }
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default prefix system" >&5
2747 $as_echo_n "checking default prefix system... " >&6; }
2748 result="$prefix" ; test "$result" = "NONE" && result="$ac_default_prefix"
2750 /programs | /programs/*) result="is win-/programs"
2751 # on win/dos, .exe .dll and .cfg live in the same directory
2752 libdir=`echo $libdir |sed -e 's:^..exec_prefix./lib$:${bindir}:'`
2753 sbindir=`echo $sbindir |sed -e 's:^..exec_prefix./sbin$:${libdir}:'`
2754 sysconfdir=`echo $sysconfdir |sed -e 's:^..prefix./etc$:${sbindir}:'`
2755 libexecdir=`echo $libexecdir |sed -e 's:/libexec$:/system:'`
2756 # help-files shall be set with --infodir, docprefix is datadir
2757 docprefix="${datadir}"
2758 mandir=`echo $mandir \
2759 |sed -e 's:^..prefix./man$:${datadir}/info:'`
2760 includedir=`echo $includedir \
2761 |sed -e 's:^..prefix./include$:${datadir}/include:'`
2762 # other state files (but /etc) are moved to datadir
2763 sharedstatedir=`echo $sharedstatedir \
2764 |sed -e 's:^..prefix./com$:${datadir}/default:'`
2765 localstatedir=`echo $localstatedir \
2766 |sed -e 's:^..prefix./var$:${datadir}/current:'`
2768 /usr) result="is /usr-shipped"
2769 # doc files are left at prefix
2770 docprefix="${prefix}"
2771 # state files go under /top
2772 sysconfdir=`echo $sysconfdir |sed -e 's:^..prefix./etc$:/etc:'`
2773 sharedstatedir=`echo $sharedstatedir \
2774 |sed -e 's:^..prefix./com$:/etc/default:'`
2775 # $prefix/var is going to end up in /var/lib
2776 localstatedir=`echo $localstatedir \
2777 |sed -e 's:^..prefix./var$:/var/lib:'`
2779 /opt | /opt/*) result="is /opt-package"
2780 # state files go under /top/prefix
2781 sysconfdir=`echo $sysconfdir \
2782 |sed -e 's:^..prefix./etc$:/etc${prefix}:'`
2783 sharedstatedir=`echo $sharedstatedir \
2784 |sed -e 's:^..prefix./com$:/etc/default${prefix}:'`
2785 # $prefix/var is going to to be /var$prefix... once again
2786 localstatedir=`echo $localstatedir \
2787 |sed -e 's:^..prefix./var$:/var${prefix}:'`
2788 # doc files are left at prefix
2789 docprefix="${prefix}"
2791 *) result="is /local-package"
2792 # doc files are moved from prefix down to datadir
2793 docprefix="${datadir}"
2794 mandir=`echo $mandir \
2795 |sed -e 's:^..prefix./man$:${datadir}/man:'`
2796 infodir=`echo $infodir \
2797 |sed -e 's:^..prefix./infodir$:${datadir}/info:'`
2798 # never use $prefix/com - that is no good idea
2799 sharedstatedir=`echo $sharedstatedir \
2800 |sed -e 's:^..prefix./com$:${sysconfdir}/default:'`
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
2804 $as_echo "$result" >&6; }
2805 # --------------------------------------------------------
2807 # -----------------------------------------------------------------------
2808 # Check whether --enable-thread-safe was given.
2809 if test "${enable_thread_safe+set}" = set; then :
2810 enableval=$enable_thread_safe;
2812 enable_thread_safe="yes"
2816 test "$enable_thread_safe" = "yes" && THREAD_SAFE="-thread-safe"
2817 test "$enable_thread_safe" = "$host_os" && THREAD_SAFE="-thread-safe"
2819 if test -n "$THREAD_SAFE" ; then
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...using thread-safe linkage" >&5
2821 $as_echo "...using thread-safe linkage" >&6; }
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled thread-safe linkage" >&5
2824 $as_echo "disabled thread-safe linkage" >&6; }
2826 # ----------------------------------------------------------------
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking zlib install prefix" >&5
2828 $as_echo_n "checking zlib install prefix... " >&6; }
2830 # Check whether --with-zlib was given.
2831 if test "${with_zlib+set}" = set; then :
2837 if test "${with_zlib}" = yes ; then # choose --prefix paths
2838 if test "${prefix}" = NONE ; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: oops, but only itself..." >&5
2840 $as_echo "oops, but only itself..." >&6; }
2841 as_fn_error $? "--with-zlib requires a path argument or a --prefix path set" "$LINENO" 5
2846 case ".$with_zlib" in
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
2849 $as_echo "none" >&6; }
2850 with_zlib="no, not configured" ;;
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: oops, ignored (may try --with-zlib=/usr/.)" >&5
2853 $as_echo "oops, ignored (may try --with-zlib=/usr/.)" >&6; }
2854 with_zlib="no, /usr ignored" ;;
2855 *) if test ! -d "$with_zlib/include" ; then
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: oops, given but..." >&5
2857 $as_echo "oops, given but..." >&6; }
2858 as_fn_error $? "\"$with_zlib/include\" is not a directory" "$LINENO" 5
2860 if test ! -d "$with_zlib/lib" ; then
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: oops, given but..." >&5
2862 $as_echo "oops, given but..." >&6; }
2863 as_fn_error $? "\"$with_zlib/lib\" is not a directory" "$LINENO" 5
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_zlib" >&5
2866 $as_echo "$with_zlib" >&6; }
2867 ZLIB_INCL="-I$with_zlib/include"
2868 ZLIB_LDIR="-L$with_zlib/lib"
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ..adding CPPFLAGS $ZLIB_INCL" >&5
2870 $as_echo "..adding CPPFLAGS $ZLIB_INCL" >&6; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ..adding LDFLAGS $ZLIB_LDIR" >&5
2872 $as_echo "..adding LDFLAGS $ZLIB_LDIR" >&6; }
2873 CPPFLAGS="$CPPFLAGS $ZLIB_INCL"
2874 LDFLAGS="$LDFLAGS $ZLIB_LDIR"
2879 # -----------------------------------------------------------------------
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking rpm spec file" >&5
2882 $as_echo_n "checking rpm spec file... " >&6; }
2883 if test "." != "." ; then
2885 ax_spec_file=`basename `
2887 case ".$ac_unique_file" in
2888 *.spec) ax_spec_file="$ac_unique_file"
2889 ax_spec_file_="$ac_unique_file" ;;
2890 *) ax_spec_file="TODO"
2891 if test ".$PACKAGE" != "."
2892 then ax_spec_file_="$PACKAGE.spec"
2893 else ax_spec_file_="README"
2896 no ax_spec_file argument has been given, using defaults of
2904 for i in . $srcdir $srcdir/.. .. ; do
2905 if test -f "$i/$ax_spec_file_" ; then
2907 ax_spec_file="$ax_spec_dir/$ax_spec_file_"
2910 if test -f "$i/$ax_spec_file" ; then
2912 ax_spec_file="$ax_spec_dir/$ax_spec_file"
2916 case "$ax_spec_file" in
2917 ./*) if test "$ax_spec_file" = "./$ax_spec_file_" ; then
2918 ax_spec_file="$ax_spec_file_"
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_spec_file" >&5
2921 $as_echo "$ax_spec_file" >&6; } ;;
2922 */*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_spec_file" >&5
2923 $as_echo "$ax_spec_file" >&6; } ;;
2924 *) as_fn_error $? "no rpm spec file found" "$LINENO" 5 ;;
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for spec package" >&5
2929 $as_echo_n "checking for spec package... " >&6; }
2930 if test ".$PACKAGE_NAME" = "." ; then if test ! -f $ax_spec_file
2934 if test ".$PACKAGE_NAME" = "." ; then
2935 PACKAGE_NAME=`grep -i '^[ ]*name[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
2936 if test ".$PACKAGE_NAME" = "." ; then
2937 for PACKAGE_NAME in name PACKAGE_NAME package_name ; do
2938 PACKAGE_NAME=`echo "$PACKAGE_NAME" | sed -e 's/^%//g'`
2939 PACKAGE_NAME=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
2940 test ".PACKAGE_NAME" != "." && break
2943 case ".$PACKAGE_NAME" in
2945 PACKAGE_NAME=`echo "$PACKAGE_NAME" | sed -e 's/%{//' -e 's/}$//'`
2946 PACKAGE_NAME=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2948 PACKAGE_NAME=`echo "$PACKAGE_NAME" | sed -e 's/%//'`
2949 PACKAGE_NAME=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2952 fi # test ".$[]PACKAGE_NAME" = "."
2954 PACKAGE_NAME=`echo $PACKAGE_NAME | sed -e 's/ /-/g'`
2956 test ".$PACKAGE_NAME" = "." && k="(fallback)"
2957 test ".$PACKAGE_NAME" = "." && PACKAGE_NAME=`basename $ax_spec_file .spec`
2958 test ".$PACKAGE_NAME" = ".README" && PACKAGE_NAME="TODO"
2959 test ".$PACKAGE_NAME" = ".TODO" && PACKAGE_NAME="foo"
2961 test "PACKAGE_NAME" = "PACKAGE_NAME" && test ".$PACKAGE" = "." && PACKAGE="$PACKAGE_NAME"
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_NAME $k" >&5
2963 $as_echo "$PACKAGE_NAME $k" >&6; }
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for spec version" >&5
2966 $as_echo_n "checking for spec version... " >&6; }
2967 if test ".$PACKAGE_VERSION" = "." ; then if test ! -f $ax_spec_file
2971 if test ".$PACKAGE_VERSION" = "." ; then
2972 PACKAGE_VERSION=`grep -i '^[ ]*version[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
2973 if test ".$PACKAGE_VERSION" = "." ; then
2974 for PACKAGE_VERSION in version PACKAGE_VERSION package_version ; do
2975 PACKAGE_VERSION=`echo "$PACKAGE_VERSION" | sed -e 's/^%//g'`
2976 PACKAGE_VERSION=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
2977 test ".PACKAGE_VERSION" != "." && break
2980 case ".$PACKAGE_VERSION" in
2982 PACKAGE_VERSION=`echo "$PACKAGE_VERSION" | sed -e 's/%{//' -e 's/}$//'`
2983 PACKAGE_VERSION=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2985 PACKAGE_VERSION=`echo "$PACKAGE_VERSION" | sed -e 's/%//'`
2986 PACKAGE_VERSION=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2989 fi # test ".$[]PACKAGE_VERSION" = "."
2991 PACKAGE_VERSION=`echo $PACKAGE_VERSION | sed -e 's/ /-/g'`
2993 test ".$PACKAGE_VERSION" = "." && k="(fallback)"
2994 test ".$PACKAGE_VERSION" = "." && PACKAGE_VERSION=`date +0.%y.%W%w`
2996 test "PACKAGE_VERSION" = "PACKAGE_VERSION" && test ".$VERSION" = "." && VERSION="$PACKAGE_VERSION"
2997 case "$PACKAGE_VERSION" in # note we set traditional VERSION before cleaning things up
2998 *.*.) PACKAGE_VERSION="$PACKAGE_VERSION"`date +%W%w` ;;
3000 *.) PACKAGE_VERSION="$PACKAGE_VERSION"`date +%y.%W%w` ;;
3001 *.*) PACKAGE_VERSION="$PACKAGE_VERSION.0" ;;
3002 *) PACKAGE_VERSION=`$as_echo "$PACKAGE_VERSION" | $as_tr_sh` ; PACKAGE_VERSION="$PACKAGE_VERSION.`date +%y.%W%w`" ;;
3004 PACKAGE_VERSION=`echo $PACKAGE_VERSION | sed -e "s/[.]0\\(0-9\\)/.\\1/g"`
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_VERSION $k" >&5
3006 $as_echo "$PACKAGE_VERSION $k" >&6; }
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for spec license type" >&5
3009 $as_echo_n "checking for spec license type... " >&6; }
3010 if test ".$PACKAGE_LICENSE" = "." ; then if test ! -f $ax_spec_file
3014 if test ".$PACKAGE_LICENSE" = "." ; then
3015 PACKAGE_LICENSE=`grep -i '^[ ]*license[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
3016 if test ".$PACKAGE_LICENSE" = "." ; then
3017 for PACKAGE_LICENSE in license PACKAGE_LICENSE package_license ; do
3018 PACKAGE_LICENSE=`echo "$PACKAGE_LICENSE" | sed -e 's/^%//g'`
3019 PACKAGE_LICENSE=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
3020 test ".PACKAGE_LICENSE" != "." && break
3023 case ".$PACKAGE_LICENSE" in
3025 PACKAGE_LICENSE=`echo "$PACKAGE_LICENSE" | sed -e 's/%{//' -e 's/}$//'`
3026 PACKAGE_LICENSE=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
3028 PACKAGE_LICENSE=`echo "$PACKAGE_LICENSE" | sed -e 's/%//'`
3029 PACKAGE_LICENSE=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
3032 fi # test ".$[]PACKAGE_LICENSE" = "."
3034 PACKAGE_LICENSE=`echo $PACKAGE_LICENSE | sed -e 's/ *License//g'`
3036 test ".$PACKAGE_LICENSE" = "." && k="(fallback)"
3037 if test ".$PACKAGE_LICENSE" = "." ; then
3038 for ac_file in "$srcdir/COPYING" "$srcdir/COPYING" "$srcdir/LICENSE" ; do
3039 test -f "$ac_file" || continue
3040 if grep "GNU LESSER GENERAL PUBLIC LICENSE" "$ac_file" >/dev/null
3041 then PACKAGE_LICENSE="GNU LGPL" ; break
3042 elif grep "GNU GENERAL PUBLIC LICENSE" "$ac_file" >/dev/null
3043 then PACKAGE_LICENSE="GNU GPL" ; break
3044 elif grep "MOZILLA PUBLIC LICENSE" "$ac_file" >/dev/null
3045 then PACKAGE_LICENSE="MPL" ; break
3046 elif grep "Mozilla Public License" "$ac_file" >/dev/null
3047 then PACKAGE_LICENSE="MPL" ; break
3048 elif grep -i "artistic license" "$ac_file" >/dev/null
3049 then PACKAGE_LICENSE="Artistic" ; break
3050 elif grep -i "artistic control" "$ac_file" >/dev/null
3051 then PACKAGE_LICENSE="Artistic" ; break
3052 elif grep -i "semblance of artistic" "$ac_file" >/dev/null
3053 then PACKAGE_LICENSE="Artistic" ; break
3054 elif grep -i "above copyright notice" "$ac_file" >/dev/null
3055 then PACKAGE_LICENSE="BSD" ; break
3058 if test ".$PACKAGE_LICENSE" = "." ; then
3059 if test "$srcdir/COPYING.LIB" ; then PACKAGE_LICENSE="GNU LGPL"
3060 elif test ".$ltmain" != "." ; then PACKAGE_LICENSE="GNU LGPL"
3061 else PACKAGE_LICENSE="GNU GPL"
3066 test "$PACKAGE_LICENSE" = "GPL" && PACKAGE_LICENSE="GNU GPL"
3067 test "$PACKAGE_LICENSE" = "LGPL" && PACKAGE_LICENSE="GNU LGPL"
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_LICENSE $k" >&5
3069 $as_echo "$PACKAGE_LICENSE $k" >&6; }
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for spec summary" >&5
3072 $as_echo_n "checking for spec summary... " >&6; }
3073 if test ".$PACKAGE_SUMMARY" = "." ; then if test ! -f $ax_spec_file
3077 if test ".$PACKAGE_SUMMARY" = "." ; then
3078 PACKAGE_SUMMARY=`grep -i '^[ ]*summary[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
3079 if test ".$PACKAGE_SUMMARY" = "." ; then
3080 for PACKAGE_SUMMARY in summary PACKAGE_SUMMARY package_summary ; do
3081 PACKAGE_SUMMARY=`echo "$PACKAGE_SUMMARY" | sed -e 's/^%//g'`
3082 PACKAGE_SUMMARY=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
3083 test ".PACKAGE_SUMMARY" != "." && break
3086 case ".$PACKAGE_SUMMARY" in
3088 PACKAGE_SUMMARY=`echo "$PACKAGE_SUMMARY" | sed -e 's/%{//' -e 's/}$//'`
3089 PACKAGE_SUMMARY=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
3091 PACKAGE_SUMMARY=`echo "$PACKAGE_SUMMARY" | sed -e 's/%//'`
3092 PACKAGE_SUMMARY=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
3095 fi # test ".$[]PACKAGE_SUMMARY" = "."
3098 test ".$PACKAGE_SUMMARY" = "." && k="(fallback)"
3099 if test ".$PACKAGE_SUMMARY" = "." ; then PACKAGE_SUMMARY="$PACKAGE"
3100 test ".$PACKAGE_SUMMARY" = "." && PACKAGE_SUMMARY="foo"
3101 test ".$ltmain" != "." && PACKAGE_SUMMARY="$PACKAGE_SUMMARY library"
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_SUMMARY $k" >&5
3105 $as_echo "$PACKAGE_SUMMARY $k" >&6; }
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for spec category" >&5
3108 $as_echo_n "checking for spec category... " >&6; }
3109 if test ".$PACKAGE_CATEGORY" = "." ; then if test ! -f $ax_spec_file
3113 if test ".$PACKAGE_CATEGORY" = "." ; then
3114 PACKAGE_CATEGORY=`grep -i '^[ ]*group[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
3115 if test ".$PACKAGE_CATEGORY" = "." ; then
3116 for PACKAGE_CATEGORY in group PACKAGE_CATEGORY package_category ; do
3117 PACKAGE_CATEGORY=`echo "$PACKAGE_CATEGORY" | sed -e 's/^%//g'`
3118 PACKAGE_CATEGORY=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
3119 test ".PACKAGE_CATEGORY" != "." && break
3122 case ".$PACKAGE_CATEGORY" in
3124 PACKAGE_CATEGORY=`echo "$PACKAGE_CATEGORY" | sed -e 's/%{//' -e 's/}$//'`
3125 PACKAGE_CATEGORY=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
3127 PACKAGE_CATEGORY=`echo "$PACKAGE_CATEGORY" | sed -e 's/%//'`
3128 PACKAGE_CATEGORY=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
3131 fi # test ".$[]PACKAGE_CATEGORY" = "."
3133 PACKAGE_CATEGORY=`echo $PACKAGE_CATEGORY | sed -e 's/ /-/g'`
3135 test ".$PACKAGE_CATEGORY" = "." && k="(fallback)"
3136 if test ".$PACKAGE_CATEGORY" = "." ; then if test ".$ltmain" != "."
3137 then PACKAGE_CATEGORY="Development/Library"
3138 else PACKAGE_CATEGORY="Development/Other"
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_CATEGORY $k" >&5
3142 $as_echo "$PACKAGE_CATEGORY $k" >&6; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for spec icon" >&5
3145 $as_echo_n "checking for spec icon... " >&6; }
3146 if test ".$PACKAGE_ICON" = "." ; then if test ! -f $ax_spec_file
3150 if test ".$PACKAGE_ICON" = "." ; then
3151 PACKAGE_ICON=`grep -i '^[ ]*icon[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
3152 if test ".$PACKAGE_ICON" = "." ; then
3153 for PACKAGE_ICON in icon PACKAGE_ICON package_icon ; do
3154 PACKAGE_ICON=`echo "$PACKAGE_ICON" | sed -e 's/^%//g'`
3155 PACKAGE_ICON=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
3156 test ".PACKAGE_ICON" != "." && break
3159 case ".$PACKAGE_ICON" in
3161 PACKAGE_ICON=`echo "$PACKAGE_ICON" | sed -e 's/%{//' -e 's/}$//'`
3162 PACKAGE_ICON=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
3164 PACKAGE_ICON=`echo "$PACKAGE_ICON" | sed -e 's/%//'`
3165 PACKAGE_ICON=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
3168 fi # test ".$[]PACKAGE_ICON" = "."
3171 test ".$PACKAGE_ICON" = "." && k="(fallback)"
3172 if test ".$PACKAGE_ICON" = "." ; then PACKAGE_ICON="$PACKAGE-icon.png" ; fi
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_ICON $k" >&5
3175 $as_echo "$PACKAGE_ICON $k" >&6; }
3178 am__api_version='1.13'
3180 # Find a good install program. We prefer a C program (faster),
3181 # so one script is as good as another. But avoid the broken or
3182 # incompatible versions:
3183 # SysV /etc/install, /usr/sbin/install
3184 # SunOS /usr/etc/install
3185 # IRIX /sbin/install
3187 # AmigaOS /C/install, which installs bootblocks on floppy discs
3188 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3189 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3190 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3191 # OS/2's system install, which has a completely different semantic
3192 # ./install, which can be erroneously created by make from ./install.sh.
3193 # Reject install programs that cannot install multiple files.
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3195 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3196 if test -z "$INSTALL"; then
3197 if ${ac_cv_path_install+:} false; then :
3198 $as_echo_n "(cached) " >&6
3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204 test -z "$as_dir" && as_dir=.
3205 # Account for people who put trailing slashes in PATH elements.
3206 case $as_dir/ in #((
3207 ./ | .// | /[cC]/* | \
3208 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3209 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3212 # OSF1 and SCO ODT 3.0 have their own names for install.
3213 # Don't use installbsd from OSF since it installs stuff as root
3215 for ac_prog in ginstall scoinst install; do
3216 for ac_exec_ext in '' $ac_executable_extensions; do
3217 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3218 if test $ac_prog = install &&
3219 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3220 # AIX install. It has an incompatible calling convention.
3222 elif test $ac_prog = install &&
3223 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3224 # program-specific install script used by HP pwplus--don't use.
3227 rm -rf conftest.one conftest.two conftest.dir
3228 echo one > conftest.one
3229 echo two > conftest.two
3231 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3232 test -s conftest.one && test -s conftest.two &&
3233 test -s conftest.dir/conftest.one &&
3234 test -s conftest.dir/conftest.two
3236 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3249 rm -rf conftest.one conftest.two conftest.dir
3252 if test "${ac_cv_path_install+set}" = set; then
3253 INSTALL=$ac_cv_path_install
3255 # As a last resort, use the slow shell script. Don't cache a
3256 # value for INSTALL within a source directory, because that will
3257 # break other packages using the cache if that directory is
3258 # removed, or if the value is a relative name.
3259 INSTALL=$ac_install_sh
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3263 $as_echo "$INSTALL" >&6; }
3265 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3266 # It thinks the first close brace ends the variable substitution.
3267 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3269 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3271 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3274 $as_echo_n "checking whether build environment is sane... " >&6; }
3275 # Reject unsafe characters in $srcdir or the absolute working directory
3276 # name. Accept space and tab only in the latter.
3280 *[\\\"\#\$\&\'\`$am_lf]*)
3281 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3284 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3285 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3288 # Do 'set' in a subshell so we don't clobber the current shell's
3289 # arguments. Must try -L first in case configure is actually a
3290 # symlink; some systems play weird games with the mod time of symlinks
3291 # (eg FreeBSD returns the mod time of the symlink's containing
3295 for am_try in 1 2; do
3296 echo "timestamp, slept: $am_has_slept" > conftest.file
3297 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3298 if test "$*" = "X"; then
3300 set X `ls -t "$srcdir/configure" conftest.file`
3302 if test "$*" != "X $srcdir/configure conftest.file" \
3303 && test "$*" != "X conftest.file $srcdir/configure"; then
3305 # If neither matched, then we have a broken ls. This can happen
3306 # if, for instance, CONFIG_SHELL is bash and it inherits a
3307 # broken ls alias from the environment. This has actually
3308 # happened. Such a system could not be considered "sane".
3309 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3310 alias in your environment" "$LINENO" 5
3312 if test "$2" = conftest.file || test $am_try -eq 2; then
3319 test "$2" = conftest.file
3325 as_fn_error $? "newly created file is older than distributed files!
3326 Check your system clock" "$LINENO" 5
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3329 $as_echo "yes" >&6; }
3330 # If we didn't sleep, we still need to ensure time stamps of config.status and
3331 # generated files are strictly newer.
3333 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3340 test "$program_prefix" != NONE &&
3341 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3342 # Use a double $ so make ignores it.
3343 test "$program_suffix" != NONE &&
3344 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3345 # Double any \ or $.
3346 # By default was `s,x,x', remove it if useless.
3347 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3348 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3350 # Expand $ac_aux_dir to an absolute path.
3351 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3353 if test x"${MISSING+set}" != xset; then
3356 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3358 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3361 # Use eval to expand $SHELL
3362 if eval "$MISSING --is-lightweight"; then
3363 am_missing_run="$MISSING "
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3367 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3370 if test x"${install_sh}" != xset; then
3373 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3375 install_sh="\${SHELL} $am_aux_dir/install-sh"
3379 # Installed binaries are usually stripped using 'strip' when the user
3380 # run "make install-strip". However 'strip' might not be the right
3381 # tool to use in cross-compilation environments, therefore Automake
3382 # will honor the 'STRIP' environment variable to overrule this program.
3383 if test "$cross_compiling" != no; then
3384 if test -n "$ac_tool_prefix"; then
3385 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3386 set dummy ${ac_tool_prefix}strip; ac_word=$2
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3388 $as_echo_n "checking for $ac_word... " >&6; }
3389 if ${ac_cv_prog_STRIP+:} false; then :
3390 $as_echo_n "(cached) " >&6
3392 if test -n "$STRIP"; then
3393 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3399 test -z "$as_dir" && as_dir=.
3400 for ac_exec_ext in '' $ac_executable_extensions; do
3401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3402 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412 STRIP=$ac_cv_prog_STRIP
3413 if test -n "$STRIP"; then
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3415 $as_echo "$STRIP" >&6; }
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3418 $as_echo "no" >&6; }
3423 if test -z "$ac_cv_prog_STRIP"; then
3425 # Extract the first word of "strip", so it can be a program name with args.
3426 set dummy strip; ac_word=$2
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3428 $as_echo_n "checking for $ac_word... " >&6; }
3429 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3430 $as_echo_n "(cached) " >&6
3432 if test -n "$ac_ct_STRIP"; then
3433 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3439 test -z "$as_dir" && as_dir=.
3440 for ac_exec_ext in '' $ac_executable_extensions; do
3441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3442 ac_cv_prog_ac_ct_STRIP="strip"
3443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3452 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3453 if test -n "$ac_ct_STRIP"; then
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3455 $as_echo "$ac_ct_STRIP" >&6; }
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3458 $as_echo "no" >&6; }
3461 if test "x$ac_ct_STRIP" = x; then
3464 case $cross_compiling:$ac_tool_warned in
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3468 ac_tool_warned=yes ;;
3473 STRIP="$ac_cv_prog_STRIP"
3477 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3480 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3481 if test -z "$MKDIR_P"; then
3482 if ${ac_cv_path_mkdir+:} false; then :
3483 $as_echo_n "(cached) " >&6
3485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3489 test -z "$as_dir" && as_dir=.
3490 for ac_prog in mkdir gmkdir; do
3491 for ac_exec_ext in '' $ac_executable_extensions; do
3492 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3493 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3494 'mkdir (GNU coreutils) '* | \
3495 'mkdir (coreutils) '* | \
3496 'mkdir (fileutils) '4.1*)
3497 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3507 test -d ./--version && rmdir ./--version
3508 if test "${ac_cv_path_mkdir+set}" = set; then
3509 MKDIR_P="$ac_cv_path_mkdir -p"
3511 # As a last resort, use the slow shell script. Don't cache a
3512 # value for MKDIR_P within a source directory, because that will
3513 # break other packages using the cache if that directory is
3514 # removed, or if the value is a relative name.
3515 MKDIR_P="$ac_install_sh -d"
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3519 $as_echo "$MKDIR_P" >&6; }
3521 for ac_prog in gawk mawk nawk awk
3523 # Extract the first word of "$ac_prog", so it can be a program name with args.
3524 set dummy $ac_prog; ac_word=$2
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3526 $as_echo_n "checking for $ac_word... " >&6; }
3527 if ${ac_cv_prog_AWK+:} false; then :
3528 $as_echo_n "(cached) " >&6
3530 if test -n "$AWK"; then
3531 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3537 test -z "$as_dir" && as_dir=.
3538 for ac_exec_ext in '' $ac_executable_extensions; do
3539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3540 ac_cv_prog_AWK="$ac_prog"
3541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3551 if test -n "$AWK"; then
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3553 $as_echo "$AWK" >&6; }
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556 $as_echo "no" >&6; }
3560 test -n "$AWK" && break
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3564 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3566 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3567 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3568 $as_echo_n "(cached) " >&6
3570 cat >conftest.make <<\_ACEOF
3573 @echo '@@@%%%=$(MAKE)=@@@%%%'
3575 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3576 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3578 eval ac_cv_prog_make_${ac_make}_set=yes;;
3580 eval ac_cv_prog_make_${ac_make}_set=no;;
3584 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3586 $as_echo "yes" >&6; }
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3591 SET_MAKE="MAKE=${MAKE-make}"
3594 rm -rf .tst 2>/dev/null
3595 mkdir .tst 2>/dev/null
3596 if test -d .tst; then
3601 rmdir .tst 2>/dev/null
3603 # Check whether --enable-silent-rules was given.
3604 if test "${enable_silent_rules+set}" = set; then :
3605 enableval=$enable_silent_rules;
3608 case $enable_silent_rules in # (((
3609 yes) AM_DEFAULT_VERBOSITY=0;;
3610 no) AM_DEFAULT_VERBOSITY=1;;
3611 *) AM_DEFAULT_VERBOSITY=1;;
3613 am_make=${MAKE-make}
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3615 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3616 if ${am_cv_make_support_nested_variables+:} false; then :
3617 $as_echo_n "(cached) " >&6
3619 if $as_echo 'TRUE=$(BAR$(V))
3625 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3626 am_cv_make_support_nested_variables=yes
3628 am_cv_make_support_nested_variables=no
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3632 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3633 if test $am_cv_make_support_nested_variables = yes; then
3635 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3637 AM_V=$AM_DEFAULT_VERBOSITY
3638 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3642 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3643 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3644 # is not polluted with repeated "-I."
3645 am__isrc=' -I$(srcdir)'
3646 # test to see if srcdir already configured
3647 if test -f $srcdir/config.status; then
3648 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3652 # test whether we have cygpath
3653 if test -z "$CYGPATH_W"; then
3654 if (cygpath --version) >/dev/null 2>/dev/null; then
3655 CYGPATH_W='cygpath -w'
3662 # Define the identity of the package.
3668 cat >>confdefs.h <<_ACEOF
3669 #define PACKAGE "$PACKAGE"
3673 cat >>confdefs.h <<_ACEOF
3674 #define VERSION "$VERSION"
3677 # Some tools Automake needs.
3679 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3682 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3685 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3688 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3691 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3693 # For better backward compatibility. To be removed once Automake 1.9.x
3694 # dies out for good. For more background, see:
3695 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3696 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3697 mkdir_p='$(MKDIR_P)'
3699 # We need awk for the "check" target. The system "awk" is bad on
3701 # Always define AMTAR for backward compatibility. Yes, it's still used
3702 # in the wild :-( We should find a proper way to deprecate it ...
3706 # We'll loop over all known methods to create a tar archive until one works.
3707 _am_tools='gnutar pax cpio none'
3709 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3717 ac_cpp='$CPP $CPPFLAGS'
3718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3721 if test -n "$ac_tool_prefix"; then
3722 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3723 set dummy ${ac_tool_prefix}gcc; 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3739 ac_cv_prog_CC="${ac_tool_prefix}gcc"
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; }
3760 if test -z "$ac_cv_prog_CC"; then
3762 # Extract the first word of "gcc", so it can be a program name with args.
3763 set dummy gcc; 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_ac_ct_CC+:} false; then :
3767 $as_echo_n "(cached) " >&6
3769 if test -n "$ac_ct_CC"; then
3770 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3776 test -z "$as_dir" && as_dir=.
3777 for ac_exec_ext in '' $ac_executable_extensions; do
3778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3779 ac_cv_prog_ac_ct_CC="gcc"
3780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3790 if test -n "$ac_ct_CC"; then
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3792 $as_echo "$ac_ct_CC" >&6; }
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3795 $as_echo "no" >&6; }
3798 if test "x$ac_ct_CC" = x; then
3801 case $cross_compiling:$ac_tool_warned in
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3805 ac_tool_warned=yes ;;
3813 if test -z "$CC"; then
3814 if test -n "$ac_tool_prefix"; then
3815 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3816 set dummy ${ac_tool_prefix}cc; ac_word=$2
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3818 $as_echo_n "checking for $ac_word... " >&6; }
3819 if ${ac_cv_prog_CC+:} false; then :
3820 $as_echo_n "(cached) " >&6
3822 if test -n "$CC"; then
3823 ac_cv_prog_CC="$CC" # Let the user override the test.
3825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3829 test -z "$as_dir" && as_dir=.
3830 for ac_exec_ext in '' $ac_executable_extensions; do
3831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3832 ac_cv_prog_CC="${ac_tool_prefix}cc"
3833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 if test -n "$CC"; then
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3845 $as_echo "$CC" >&6; }
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3848 $as_echo "no" >&6; }
3854 if test -z "$CC"; then
3855 # Extract the first word of "cc", so it can be a program name with args.
3856 set dummy cc; ac_word=$2
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3858 $as_echo_n "checking for $ac_word... " >&6; }
3859 if ${ac_cv_prog_CC+:} false; then :
3860 $as_echo_n "(cached) " >&6
3862 if test -n "$CC"; then
3863 ac_cv_prog_CC="$CC" # Let the user override the test.
3866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3870 test -z "$as_dir" && as_dir=.
3871 for ac_exec_ext in '' $ac_executable_extensions; do
3872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3873 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3874 ac_prog_rejected=yes
3878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3885 if test $ac_prog_rejected = yes; then
3886 # We found a bogon in the path, so make sure we never use it.
3887 set dummy $ac_cv_prog_CC
3889 if test $# != 0; then
3890 # We chose a different compiler from the bogus one.
3891 # However, it has the same basename, so the bogon will be chosen
3892 # first if we set CC to just the basename; use the full file name.
3894 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3900 if test -n "$CC"; then
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3902 $as_echo "$CC" >&6; }
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3905 $as_echo "no" >&6; }
3910 if test -z "$CC"; then
3911 if test -n "$ac_tool_prefix"; then
3912 for ac_prog in cl.exe
3914 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3915 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3917 $as_echo_n "checking for $ac_word... " >&6; }
3918 if ${ac_cv_prog_CC+:} false; then :
3919 $as_echo_n "(cached) " >&6
3921 if test -n "$CC"; then
3922 ac_cv_prog_CC="$CC" # Let the user override the test.
3924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928 test -z "$as_dir" && as_dir=.
3929 for ac_exec_ext in '' $ac_executable_extensions; do
3930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3931 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3942 if test -n "$CC"; then
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3944 $as_echo "$CC" >&6; }
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3947 $as_echo "no" >&6; }
3951 test -n "$CC" && break
3954 if test -z "$CC"; then
3956 for ac_prog in cl.exe
3958 # Extract the first word of "$ac_prog", so it can be a program name with args.
3959 set dummy $ac_prog; ac_word=$2
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3961 $as_echo_n "checking for $ac_word... " >&6; }
3962 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3963 $as_echo_n "(cached) " >&6
3965 if test -n "$ac_ct_CC"; then
3966 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3972 test -z "$as_dir" && as_dir=.
3973 for ac_exec_ext in '' $ac_executable_extensions; do
3974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3975 ac_cv_prog_ac_ct_CC="$ac_prog"
3976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3985 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3986 if test -n "$ac_ct_CC"; then
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3988 $as_echo "$ac_ct_CC" >&6; }
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3991 $as_echo "no" >&6; }
3995 test -n "$ac_ct_CC" && break
3998 if test "x$ac_ct_CC" = x; then
4001 case $cross_compiling:$ac_tool_warned in
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4005 ac_tool_warned=yes ;;
4014 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4016 as_fn_error $? "no acceptable C compiler found in \$PATH
4017 See \`config.log' for more details" "$LINENO" 5; }
4019 # Provide some information about the compiler.
4020 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4023 for ac_option in --version -v -V -qversion; do
4024 { { ac_try="$ac_compiler $ac_option >&5"
4026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;;
4029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4030 $as_echo "$ac_try_echo"; } >&5
4031 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4033 if test -s conftest.err; then
4035 ... rest of stderr output deleted ...
4036 10q' conftest.err >conftest.er1
4037 cat conftest.er1 >&5
4039 rm -f conftest.er1 conftest.err
4040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4041 test $ac_status = 0; }
4044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4045 /* end confdefs.h. */
4055 ac_clean_files_save=$ac_clean_files
4056 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4057 # Try to create an executable without -o first, disregard a.out.
4058 # It will help us diagnose broken compilers, and finding out an intuition
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4061 $as_echo_n "checking whether the C compiler works... " >&6; }
4062 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4064 # The possible output files:
4065 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4068 for ac_file in $ac_files
4071 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4072 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4077 if { { ac_try="$ac_link_default"
4079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4080 *) ac_try_echo=$ac_try;;
4082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4083 $as_echo "$ac_try_echo"; } >&5
4084 (eval "$ac_link_default") 2>&5
4086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4087 test $ac_status = 0; }; then :
4088 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4089 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4090 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4091 # so that the user can short-circuit this test for compilers unknown to
4093 for ac_file in $ac_files ''
4095 test -f "$ac_file" || continue
4097 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4100 # We found the default executable, but exeext='' is most
4104 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4106 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4108 # We set ac_cv_exeext here because the later test for it is not
4109 # safe: cross compilers may not add the suffix if given an `-o'
4110 # argument, so we may need to know it at that point already.
4111 # Even if this section looks crufty: it has the advantage of
4118 test "$ac_cv_exeext" = no && ac_cv_exeext=
4123 if test -z "$ac_file"; then :
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4125 $as_echo "no" >&6; }
4126 $as_echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.$ac_ext >&5
4129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4131 as_fn_error 77 "C compiler cannot create executables
4132 See \`config.log' for more details" "$LINENO" 5; }
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4135 $as_echo "yes" >&6; }
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4138 $as_echo_n "checking for C compiler default output file name... " >&6; }
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4140 $as_echo "$ac_file" >&6; }
4141 ac_exeext=$ac_cv_exeext
4143 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4144 ac_clean_files=$ac_clean_files_save
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4146 $as_echo_n "checking for suffix of executables... " >&6; }
4147 if { { ac_try="$ac_link"
4149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4150 *) ac_try_echo=$ac_try;;
4152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4153 $as_echo "$ac_try_echo"; } >&5
4154 (eval "$ac_link") 2>&5
4156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4157 test $ac_status = 0; }; then :
4158 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4159 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4160 # work properly (i.e., refer to `conftest.exe'), while it won't with
4162 for ac_file in conftest.exe conftest conftest.*; do
4163 test -f "$ac_file" || continue
4165 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4166 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4172 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4174 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4175 See \`config.log' for more details" "$LINENO" 5; }
4177 rm -f conftest conftest$ac_cv_exeext
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4179 $as_echo "$ac_cv_exeext" >&6; }
4181 rm -f conftest.$ac_ext
4182 EXEEXT=$ac_cv_exeext
4184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4190 FILE *f = fopen ("conftest.out", "w");
4191 return ferror (f) || fclose (f) != 0;
4197 ac_clean_files="$ac_clean_files conftest.out"
4198 # Check that the compiler produces executables we can run. If not, either
4199 # the compiler is broken, or we cross compile.
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4201 $as_echo_n "checking whether we are cross compiling... " >&6; }
4202 if test "$cross_compiling" != yes; then
4203 { { ac_try="$ac_link"
4205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4206 *) ac_try_echo=$ac_try;;
4208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4209 $as_echo "$ac_try_echo"; } >&5
4210 (eval "$ac_link") 2>&5
4212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4213 test $ac_status = 0; }
4214 if { ac_try='./conftest$ac_cv_exeext'
4215 { { case "(($ac_try" in
4216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4217 *) ac_try_echo=$ac_try;;
4219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4220 $as_echo "$ac_try_echo"; } >&5
4221 (eval "$ac_try") 2>&5
4223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4224 test $ac_status = 0; }; }; then
4227 if test "$cross_compiling" = maybe; then
4230 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4232 as_fn_error $? "cannot run C compiled programs.
4233 If you meant to cross compile, use \`--host'.
4234 See \`config.log' for more details" "$LINENO" 5; }
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4239 $as_echo "$cross_compiling" >&6; }
4241 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4242 ac_clean_files=$ac_clean_files_save
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4244 $as_echo_n "checking for suffix of object files... " >&6; }
4245 if ${ac_cv_objext+:} false; then :
4246 $as_echo_n "(cached) " >&6
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4259 rm -f conftest.o conftest.obj
4260 if { { ac_try="$ac_compile"
4262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4263 *) ac_try_echo=$ac_try;;
4265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4266 $as_echo "$ac_try_echo"; } >&5
4267 (eval "$ac_compile") 2>&5
4269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4270 test $ac_status = 0; }; then :
4271 for ac_file in conftest.o conftest.obj conftest.*; do
4272 test -f "$ac_file" || continue;
4274 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4275 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4280 $as_echo "$as_me: failed program was:" >&5
4281 sed 's/^/| /' conftest.$ac_ext >&5
4283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4285 as_fn_error $? "cannot compute suffix of object files: cannot compile
4286 See \`config.log' for more details" "$LINENO" 5; }
4288 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4291 $as_echo "$ac_cv_objext" >&6; }
4292 OBJEXT=$ac_cv_objext
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4295 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4296 if ${ac_cv_c_compiler_gnu+:} false; then :
4297 $as_echo_n "(cached) " >&6
4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300 /* end confdefs.h. */
4313 if ac_fn_c_try_compile "$LINENO"; then :
4318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4319 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4323 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4324 if test $ac_compiler_gnu = yes; then
4329 ac_test_CFLAGS=${CFLAGS+set}
4330 ac_save_CFLAGS=$CFLAGS
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4332 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4333 if ${ac_cv_prog_cc_g+:} false; then :
4334 $as_echo_n "(cached) " >&6
4336 ac_save_c_werror_flag=$ac_c_werror_flag
4337 ac_c_werror_flag=yes
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4351 if ac_fn_c_try_compile "$LINENO"; then :
4355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4366 if ac_fn_c_try_compile "$LINENO"; then :
4369 ac_c_werror_flag=$ac_save_c_werror_flag
4371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4372 /* end confdefs.h. */
4382 if ac_fn_c_try_compile "$LINENO"; then :
4385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4390 ac_c_werror_flag=$ac_save_c_werror_flag
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4393 $as_echo "$ac_cv_prog_cc_g" >&6; }
4394 if test "$ac_test_CFLAGS" = set; then
4395 CFLAGS=$ac_save_CFLAGS
4396 elif test $ac_cv_prog_cc_g = yes; then
4397 if test "$GCC" = yes; then
4403 if test "$GCC" = yes; then
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4410 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4411 if ${ac_cv_prog_cc_c89+:} false; then :
4412 $as_echo_n "(cached) " >&6
4414 ac_cv_prog_cc_c89=no
4416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4417 /* end confdefs.h. */
4421 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4422 struct buf { int x; };
4423 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4424 static char *e (p, i)
4430 static char *f (char * (*g) (char **, int), char **p, ...)
4435 s = g (p, va_arg (v,int));
4440 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4441 function prototypes and stuff, but not '\xHH' hex character constants.
4442 These don't provoke an error unfortunately, instead are silently treated
4443 as 'x'. The following induces an error, until -std is added to get
4444 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4445 array size at least. It's necessary to write '\x00'==0 to get something
4446 that's true only with -std. */
4447 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4449 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4450 inside strings and character constants. */
4452 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4454 int test (int i, double x);
4455 struct s1 {int (*f) (int a);};
4456 struct s2 {int (*f) (double a);};
4457 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4463 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4468 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4469 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4471 CC="$ac_save_CC $ac_arg"
4472 if ac_fn_c_try_compile "$LINENO"; then :
4473 ac_cv_prog_cc_c89=$ac_arg
4475 rm -f core conftest.err conftest.$ac_objext
4476 test "x$ac_cv_prog_cc_c89" != "xno" && break
4478 rm -f conftest.$ac_ext
4483 case "x$ac_cv_prog_cc_c89" in
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4486 $as_echo "none needed" >&6; } ;;
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4489 $as_echo "unsupported" >&6; } ;;
4491 CC="$CC $ac_cv_prog_cc_c89"
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4493 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4495 if test "x$ac_cv_prog_cc_c89" != xno; then :
4500 ac_cpp='$CPP $CPPFLAGS'
4501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4504 DEPDIR="${am__leading_dot}deps"
4506 ac_config_commands="$ac_config_commands depfiles"
4509 am_make=${MAKE-make}
4510 cat > confinc << 'END'
4512 @echo this is the am__doit target
4515 # If we don't find an include directive, just comment out the code.
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4517 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4521 # First try GNU make style include.
4522 echo "include confinc" > confmf
4523 # Ignore all kinds of additional output from 'make'.
4524 case `$am_make -s -f confmf 2> /dev/null` in #(
4525 *the\ am__doit\ target*)
4531 # Now try BSD make style include.
4532 if test "$am__include" = "#"; then
4533 echo '.include "confinc"' > confmf
4534 case `$am_make -s -f confmf 2> /dev/null` in #(
4535 *the\ am__doit\ target*)
4536 am__include=.include
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4545 $as_echo "$_am_result" >&6; }
4546 rm -f confinc confmf
4548 # Check whether --enable-dependency-tracking was given.
4549 if test "${enable_dependency_tracking+set}" = set; then :
4550 enableval=$enable_dependency_tracking;
4553 if test "x$enable_dependency_tracking" != xno; then
4554 am_depcomp="$ac_aux_dir/depcomp"
4558 if test "x$enable_dependency_tracking" != xno; then
4568 depcc="$CC" am_compiler_list=
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4571 $as_echo_n "checking dependency style of $depcc... " >&6; }
4572 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4573 $as_echo_n "(cached) " >&6
4575 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4576 # We make a subdir and do the tests there. Otherwise we can end up
4577 # making bogus files that we don't know about and never remove. For
4578 # instance it was reported that on HP-UX the gcc test will end up
4579 # making a dummy file named 'D' -- because '-MD' means "put the output
4583 # Copy depcomp to subdir because otherwise we won't find it if we're
4584 # using a relative directory.
4585 cp "$am_depcomp" conftest.dir
4587 # We will build objects and dependencies in a subdirectory because
4588 # it helps to detect inapplicable dependency modes. For instance
4589 # both Tru64's cc and ICC support -MD to output dependencies as a
4590 # side effect of compilation, but ICC will put the dependencies in
4591 # the current directory while Tru64 will put them in the object
4595 am_cv_CC_dependencies_compiler_type=none
4596 if test "$am_compiler_list" = ""; then
4597 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4600 case " $depcc " in #(
4601 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4604 for depmode in $am_compiler_list; do
4605 # Setup a source with many dependencies, because some compilers
4606 # like to wrap large dependency lists on column 80 (with \), and
4607 # we should not choose a depcomp mode which is confused by this.
4609 # We need to recreate these files for each test, as the compiler may
4610 # overwrite some of them when testing with obscure command lines.
4611 # This happens at least with the AIX C compiler.
4613 for i in 1 2 3 4 5 6; do
4614 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4615 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4616 # Solaris 10 /bin/sh.
4617 echo '/* dummy */' > sub/conftst$i.h
4619 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4621 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4622 # mode. It turns out that the SunPro C++ compiler does not properly
4623 # handle '-M -o', and we need to detect this. Also, some Intel
4624 # versions had trouble with output in subdirs.
4625 am__obj=sub/conftest.${OBJEXT-o}
4626 am__minus_obj="-o $am__obj"
4629 # This depmode causes a compiler race in universal mode.
4630 test "$am__universal" = false || continue
4633 # After this tag, mechanisms are not by side-effect, so they'll
4634 # only be used when explicitly requested.
4635 if test "x$enable_dependency_tracking" = xyes; then
4641 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4642 # This compiler won't grok '-c -o', but also, the minuso test has
4643 # not run yet. These depmodes are late enough in the game, and
4644 # so weak that their functioning should not be impacted.
4645 am__obj=conftest.${OBJEXT-o}
4650 if depmode=$depmode \
4651 source=sub/conftest.c object=$am__obj \
4652 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4653 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4654 >/dev/null 2>conftest.err &&
4655 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4656 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4657 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4658 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4659 # icc doesn't choke on unknown options, it will just issue warnings
4660 # or remarks (even with -Werror). So we grep stderr for any message
4661 # that says an option was ignored or not supported.
4662 # When given -MP, icc 7.0 and 7.1 complain thusly:
4663 # icc: Command line warning: ignoring option '-M'; no argument required
4664 # The diagnosis changed in icc 8.0:
4665 # icc: Command line remark: option '-MP' not supported
4666 if (grep 'ignoring option' conftest.err ||
4667 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4668 am_cv_CC_dependencies_compiler_type=$depmode
4677 am_cv_CC_dependencies_compiler_type=none
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4682 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4683 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4686 test "x$enable_dependency_tracking" != xno \
4687 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4689 am__fastdepCC_FALSE='#'
4691 am__fastdepCC_TRUE='#'
4692 am__fastdepCC_FALSE=
4697 enable_win32_dll=yes
4700 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
4701 if test -n "$ac_tool_prefix"; then
4702 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4703 set dummy ${ac_tool_prefix}as; ac_word=$2
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4705 $as_echo_n "checking for $ac_word... " >&6; }
4706 if ${ac_cv_prog_AS+:} false; then :
4707 $as_echo_n "(cached) " >&6
4709 if test -n "$AS"; then
4710 ac_cv_prog_AS="$AS" # Let the user override the test.
4712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716 test -z "$as_dir" && as_dir=.
4717 for ac_exec_ext in '' $ac_executable_extensions; do
4718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4719 ac_cv_prog_AS="${ac_tool_prefix}as"
4720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4730 if test -n "$AS"; then
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4732 $as_echo "$AS" >&6; }
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4735 $as_echo "no" >&6; }
4740 if test -z "$ac_cv_prog_AS"; then
4742 # Extract the first word of "as", so it can be a program name with args.
4743 set dummy as; ac_word=$2
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4745 $as_echo_n "checking for $ac_word... " >&6; }
4746 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4747 $as_echo_n "(cached) " >&6
4749 if test -n "$ac_ct_AS"; then
4750 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4756 test -z "$as_dir" && as_dir=.
4757 for ac_exec_ext in '' $ac_executable_extensions; do
4758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4759 ac_cv_prog_ac_ct_AS="as"
4760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4769 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4770 if test -n "$ac_ct_AS"; then
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4772 $as_echo "$ac_ct_AS" >&6; }
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4775 $as_echo "no" >&6; }
4778 if test "x$ac_ct_AS" = x; then
4781 case $cross_compiling:$ac_tool_warned in
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4785 ac_tool_warned=yes ;;
4793 if test -n "$ac_tool_prefix"; then
4794 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4795 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4797 $as_echo_n "checking for $ac_word... " >&6; }
4798 if ${ac_cv_prog_DLLTOOL+:} false; then :
4799 $as_echo_n "(cached) " >&6
4801 if test -n "$DLLTOOL"; then
4802 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4808 test -z "$as_dir" && as_dir=.
4809 for ac_exec_ext in '' $ac_executable_extensions; do
4810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4811 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4821 DLLTOOL=$ac_cv_prog_DLLTOOL
4822 if test -n "$DLLTOOL"; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4824 $as_echo "$DLLTOOL" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4832 if test -z "$ac_cv_prog_DLLTOOL"; then
4833 ac_ct_DLLTOOL=$DLLTOOL
4834 # Extract the first word of "dlltool", so it can be a program name with args.
4835 set dummy dlltool; ac_word=$2
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4837 $as_echo_n "checking for $ac_word... " >&6; }
4838 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4839 $as_echo_n "(cached) " >&6
4841 if test -n "$ac_ct_DLLTOOL"; then
4842 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4848 test -z "$as_dir" && as_dir=.
4849 for ac_exec_ext in '' $ac_executable_extensions; do
4850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4851 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4861 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4862 if test -n "$ac_ct_DLLTOOL"; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4864 $as_echo "$ac_ct_DLLTOOL" >&6; }
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4867 $as_echo "no" >&6; }
4870 if test "x$ac_ct_DLLTOOL" = x; then
4873 case $cross_compiling:$ac_tool_warned in
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4877 ac_tool_warned=yes ;;
4879 DLLTOOL=$ac_ct_DLLTOOL
4882 DLLTOOL="$ac_cv_prog_DLLTOOL"
4885 if test -n "$ac_tool_prefix"; then
4886 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4887 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4889 $as_echo_n "checking for $ac_word... " >&6; }
4890 if ${ac_cv_prog_OBJDUMP+:} false; then :
4891 $as_echo_n "(cached) " >&6
4893 if test -n "$OBJDUMP"; then
4894 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4900 test -z "$as_dir" && as_dir=.
4901 for ac_exec_ext in '' $ac_executable_extensions; do
4902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4903 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4913 OBJDUMP=$ac_cv_prog_OBJDUMP
4914 if test -n "$OBJDUMP"; then
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4916 $as_echo "$OBJDUMP" >&6; }
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4919 $as_echo "no" >&6; }
4924 if test -z "$ac_cv_prog_OBJDUMP"; then
4925 ac_ct_OBJDUMP=$OBJDUMP
4926 # Extract the first word of "objdump", so it can be a program name with args.
4927 set dummy objdump; ac_word=$2
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 $as_echo_n "checking for $ac_word... " >&6; }
4930 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4931 $as_echo_n "(cached) " >&6
4933 if test -n "$ac_ct_OBJDUMP"; then
4934 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 test -z "$as_dir" && as_dir=.
4941 for ac_exec_ext in '' $ac_executable_extensions; do
4942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4943 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4954 if test -n "$ac_ct_OBJDUMP"; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4956 $as_echo "$ac_ct_OBJDUMP" >&6; }
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 $as_echo "no" >&6; }
4962 if test "x$ac_ct_OBJDUMP" = x; then
4965 case $cross_compiling:$ac_tool_warned in
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4969 ac_tool_warned=yes ;;
4971 OBJDUMP=$ac_ct_OBJDUMP
4974 OBJDUMP="$ac_cv_prog_OBJDUMP"
4980 test -z "$AS" && AS=as
4986 test -z "$DLLTOOL" && DLLTOOL=dlltool
4992 test -z "$OBJDUMP" && OBJDUMP=objdump
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5003 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5008 macro_version='2.2.6'
5009 macro_revision='1.3012'
5023 ltmain="$ac_aux_dir/ltmain.sh"
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5026 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5027 if ${ac_cv_path_SED+:} false; then :
5028 $as_echo_n "(cached) " >&6
5030 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5031 for ac_i in 1 2 3 4 5 6 7; do
5032 ac_script="$ac_script$as_nl$ac_script"
5034 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5035 { ac_script=; unset ac_script;}
5036 if test -z "$SED"; then
5037 ac_path_SED_found=false
5038 # Loop through the user's path and test for each of PROGNAME-LIST
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 test -z "$as_dir" && as_dir=.
5044 for ac_prog in sed gsed; do
5045 for ac_exec_ext in '' $ac_executable_extensions; do
5046 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5047 as_fn_executable_p "$ac_path_SED" || continue
5048 # Check for GNU ac_path_SED and select it if it is found.
5049 # Check for GNU $ac_path_SED
5050 case `"$ac_path_SED" --version 2>&1` in
5052 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5055 $as_echo_n 0123456789 >"conftest.in"
5058 cat "conftest.in" "conftest.in" >"conftest.tmp"
5059 mv "conftest.tmp" "conftest.in"
5060 cp "conftest.in" "conftest.nl"
5061 $as_echo '' >> "conftest.nl"
5062 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5063 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5064 as_fn_arith $ac_count + 1 && ac_count=$as_val
5065 if test $ac_count -gt ${ac_path_SED_max-0}; then
5066 # Best one so far, save it but keep looking for a better one
5067 ac_cv_path_SED="$ac_path_SED"
5068 ac_path_SED_max=$ac_count
5070 # 10*(2^10) chars as input seems more than enough
5071 test $ac_count -gt 10 && break
5073 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5076 $ac_path_SED_found && break 3
5081 if test -z "$ac_cv_path_SED"; then
5082 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5090 $as_echo "$ac_cv_path_SED" >&6; }
5091 SED="$ac_cv_path_SED"
5094 test -z "$SED" && SED=sed
5095 Xsed="$SED -e 1s/^X//"
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5108 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5109 if ${ac_cv_path_GREP+:} false; then :
5110 $as_echo_n "(cached) " >&6
5112 if test -z "$GREP"; then
5113 ac_path_GREP_found=false
5114 # Loop through the user's path and test for each of PROGNAME-LIST
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5119 test -z "$as_dir" && as_dir=.
5120 for ac_prog in grep ggrep; do
5121 for ac_exec_ext in '' $ac_executable_extensions; do
5122 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5123 as_fn_executable_p "$ac_path_GREP" || continue
5124 # Check for GNU ac_path_GREP and select it if it is found.
5125 # Check for GNU $ac_path_GREP
5126 case `"$ac_path_GREP" --version 2>&1` in
5128 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5131 $as_echo_n 0123456789 >"conftest.in"
5134 cat "conftest.in" "conftest.in" >"conftest.tmp"
5135 mv "conftest.tmp" "conftest.in"
5136 cp "conftest.in" "conftest.nl"
5137 $as_echo 'GREP' >> "conftest.nl"
5138 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5139 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5140 as_fn_arith $ac_count + 1 && ac_count=$as_val
5141 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5142 # Best one so far, save it but keep looking for a better one
5143 ac_cv_path_GREP="$ac_path_GREP"
5144 ac_path_GREP_max=$ac_count
5146 # 10*(2^10) chars as input seems more than enough
5147 test $ac_count -gt 10 && break
5149 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5152 $ac_path_GREP_found && break 3
5157 if test -z "$ac_cv_path_GREP"; then
5158 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5161 ac_cv_path_GREP=$GREP
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5166 $as_echo "$ac_cv_path_GREP" >&6; }
5167 GREP="$ac_cv_path_GREP"
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5171 $as_echo_n "checking for egrep... " >&6; }
5172 if ${ac_cv_path_EGREP+:} false; then :
5173 $as_echo_n "(cached) " >&6
5175 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5176 then ac_cv_path_EGREP="$GREP -E"
5178 if test -z "$EGREP"; then
5179 ac_path_EGREP_found=false
5180 # Loop through the user's path and test for each of PROGNAME-LIST
5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5182 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5185 test -z "$as_dir" && as_dir=.
5186 for ac_prog in egrep; do
5187 for ac_exec_ext in '' $ac_executable_extensions; do
5188 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5189 as_fn_executable_p "$ac_path_EGREP" || continue
5190 # Check for GNU ac_path_EGREP and select it if it is found.
5191 # Check for GNU $ac_path_EGREP
5192 case `"$ac_path_EGREP" --version 2>&1` in
5194 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5197 $as_echo_n 0123456789 >"conftest.in"
5200 cat "conftest.in" "conftest.in" >"conftest.tmp"
5201 mv "conftest.tmp" "conftest.in"
5202 cp "conftest.in" "conftest.nl"
5203 $as_echo 'EGREP' >> "conftest.nl"
5204 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5205 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5206 as_fn_arith $ac_count + 1 && ac_count=$as_val
5207 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5208 # Best one so far, save it but keep looking for a better one
5209 ac_cv_path_EGREP="$ac_path_EGREP"
5210 ac_path_EGREP_max=$ac_count
5212 # 10*(2^10) chars as input seems more than enough
5213 test $ac_count -gt 10 && break
5215 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5218 $ac_path_EGREP_found && break 3
5223 if test -z "$ac_cv_path_EGREP"; then
5224 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5227 ac_cv_path_EGREP=$EGREP
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5233 $as_echo "$ac_cv_path_EGREP" >&6; }
5234 EGREP="$ac_cv_path_EGREP"
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5238 $as_echo_n "checking for fgrep... " >&6; }
5239 if ${ac_cv_path_FGREP+:} false; then :
5240 $as_echo_n "(cached) " >&6
5242 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5243 then ac_cv_path_FGREP="$GREP -F"
5245 if test -z "$FGREP"; then
5246 ac_path_FGREP_found=false
5247 # Loop through the user's path and test for each of PROGNAME-LIST
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5252 test -z "$as_dir" && as_dir=.
5253 for ac_prog in fgrep; do
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5256 as_fn_executable_p "$ac_path_FGREP" || continue
5257 # Check for GNU ac_path_FGREP and select it if it is found.
5258 # Check for GNU $ac_path_FGREP
5259 case `"$ac_path_FGREP" --version 2>&1` in
5261 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5264 $as_echo_n 0123456789 >"conftest.in"
5267 cat "conftest.in" "conftest.in" >"conftest.tmp"
5268 mv "conftest.tmp" "conftest.in"
5269 cp "conftest.in" "conftest.nl"
5270 $as_echo 'FGREP' >> "conftest.nl"
5271 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5272 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5273 as_fn_arith $ac_count + 1 && ac_count=$as_val
5274 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5275 # Best one so far, save it but keep looking for a better one
5276 ac_cv_path_FGREP="$ac_path_FGREP"
5277 ac_path_FGREP_max=$ac_count
5279 # 10*(2^10) chars as input seems more than enough
5280 test $ac_count -gt 10 && break
5282 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5285 $ac_path_FGREP_found && break 3
5290 if test -z "$ac_cv_path_FGREP"; then
5291 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5294 ac_cv_path_FGREP=$FGREP
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5300 $as_echo "$ac_cv_path_FGREP" >&6; }
5301 FGREP="$ac_cv_path_FGREP"
5304 test -z "$GREP" && GREP=grep
5324 # Check whether --with-gnu-ld was given.
5325 if test "${with_gnu_ld+set}" = set; then :
5326 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5332 if test "$GCC" = yes; then
5333 # Check if gcc -print-prog-name=ld gives a path.
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5335 $as_echo_n "checking for ld used by $CC... " >&6; }
5338 # gcc leaves a trailing carriage return which upsets mingw
5339 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5341 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5344 # Accept absolute paths.
5346 re_direlt='/[^/][^/]*/\.\./'
5347 # Canonicalize the pathname of ld
5348 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5349 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5350 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5352 test -z "$LD" && LD="$ac_prog"
5355 # If it fails, then pretend we aren't using GCC.
5359 # If it is relative, then search for the first ld in PATH.
5363 elif test "$with_gnu_ld" = yes; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5365 $as_echo_n "checking for GNU ld... " >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5368 $as_echo_n "checking for non-GNU ld... " >&6; }
5370 if ${lt_cv_path_LD+:} false; then :
5371 $as_echo_n "(cached) " >&6
5373 if test -z "$LD"; then
5374 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5375 for ac_dir in $PATH; do
5377 test -z "$ac_dir" && ac_dir=.
5378 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5379 lt_cv_path_LD="$ac_dir/$ac_prog"
5380 # Check to see if the program is GNU ld. I'd rather use --version,
5381 # but apparently some variants of GNU ld only accept -v.
5382 # Break only if it was the GNU/non-GNU ld that we prefer.
5383 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5384 *GNU* | *'with BFD'*)
5385 test "$with_gnu_ld" != no && break
5388 test "$with_gnu_ld" != yes && break
5395 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5400 if test -n "$LD"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5402 $as_echo "$LD" >&6; }
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5407 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5409 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5410 if ${lt_cv_prog_gnu_ld+:} false; then :
5411 $as_echo_n "(cached) " >&6
5413 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5414 case `$LD -v 2>&1 </dev/null` in
5415 *GNU* | *'with BFD'*)
5416 lt_cv_prog_gnu_ld=yes
5419 lt_cv_prog_gnu_ld=no
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5424 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5425 with_gnu_ld=$lt_cv_prog_gnu_ld
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5436 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5437 if ${lt_cv_path_NM+:} false; then :
5438 $as_echo_n "(cached) " >&6
5440 if test -n "$NM"; then
5441 # Let the user override the test.
5444 lt_nm_to_check="${ac_tool_prefix}nm"
5445 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5446 lt_nm_to_check="$lt_nm_to_check nm"
5448 for lt_tmp_nm in $lt_nm_to_check; do
5449 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5450 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5452 test -z "$ac_dir" && ac_dir=.
5453 tmp_nm="$ac_dir/$lt_tmp_nm"
5454 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5455 # Check to see if the nm accepts a BSD-compat flag.
5456 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5457 # nm: unknown option "B" ignored
5458 # Tru64's nm complains that /dev/null is an invalid object file
5459 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5460 */dev/null* | *'Invalid file or object type'*)
5461 lt_cv_path_NM="$tmp_nm -B"
5465 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5467 lt_cv_path_NM="$tmp_nm -p"
5471 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5472 continue # so that we can try to find one that supports BSD flags
5481 : ${lt_cv_path_NM=no}
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5485 $as_echo "$lt_cv_path_NM" >&6; }
5486 if test "$lt_cv_path_NM" != "no"; then
5489 # Didn't find any BSD compatible name lister, look for dumpbin.
5490 if test -n "$ac_tool_prefix"; then
5491 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5493 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5494 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5496 $as_echo_n "checking for $ac_word... " >&6; }
5497 if ${ac_cv_prog_DUMPBIN+:} false; then :
5498 $as_echo_n "(cached) " >&6
5500 if test -n "$DUMPBIN"; then
5501 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 test -z "$as_dir" && as_dir=.
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5510 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5520 DUMPBIN=$ac_cv_prog_DUMPBIN
5521 if test -n "$DUMPBIN"; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5523 $as_echo "$DUMPBIN" >&6; }
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 $as_echo "no" >&6; }
5530 test -n "$DUMPBIN" && break
5533 if test -z "$DUMPBIN"; then
5534 ac_ct_DUMPBIN=$DUMPBIN
5535 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5537 # Extract the first word of "$ac_prog", so it can be a program name with args.
5538 set dummy $ac_prog; ac_word=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540 $as_echo_n "checking for $ac_word... " >&6; }
5541 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5542 $as_echo_n "(cached) " >&6
5544 if test -n "$ac_ct_DUMPBIN"; then
5545 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551 test -z "$as_dir" && as_dir=.
5552 for ac_exec_ext in '' $ac_executable_extensions; do
5553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5554 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5564 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5565 if test -n "$ac_ct_DUMPBIN"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5567 $as_echo "$ac_ct_DUMPBIN" >&6; }
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5574 test -n "$ac_ct_DUMPBIN" && break
5577 if test "x$ac_ct_DUMPBIN" = x; then
5580 case $cross_compiling:$ac_tool_warned in
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5584 ac_tool_warned=yes ;;
5586 DUMPBIN=$ac_ct_DUMPBIN
5591 if test "$DUMPBIN" != ":"; then
5595 test -z "$NM" && NM=nm
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5603 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5604 if ${lt_cv_nm_interface+:} false; then :
5605 $as_echo_n "(cached) " >&6
5607 lt_cv_nm_interface="BSD nm"
5608 echo "int some_variable = 0;" > conftest.$ac_ext
5609 (eval echo "\"\$as_me:5609: $ac_compile\"" >&5)
5610 (eval "$ac_compile" 2>conftest.err)
5611 cat conftest.err >&5
5612 (eval echo "\"\$as_me:5612: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5613 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5614 cat conftest.err >&5
5615 (eval echo "\"\$as_me:5615: output\"" >&5)
5616 cat conftest.out >&5
5617 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5618 lt_cv_nm_interface="MS dumpbin"
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5623 $as_echo "$lt_cv_nm_interface" >&6; }
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5626 $as_echo_n "checking whether ln -s works... " >&6; }
5628 if test "$LN_S" = "ln -s"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5630 $as_echo "yes" >&6; }
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5633 $as_echo "no, using $LN_S" >&6; }
5636 # find the maximum length of command line arguments
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5638 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5639 if ${lt_cv_sys_max_cmd_len+:} false; then :
5640 $as_echo_n "(cached) " >&6
5647 # On DJGPP, this test can blow up pretty badly due to problems in libc
5648 # (any single argument exceeding 2000 bytes causes a buffer overrun
5649 # during glob expansion). Even if it were fixed, the result of this
5650 # check would be larger than it should be.
5651 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5655 # Under GNU Hurd, this test is not required because there is
5656 # no limit to the length of command line arguments.
5657 # Libtool will interpret -1 as no limit whatsoever
5658 lt_cv_sys_max_cmd_len=-1;
5661 cygwin* | mingw* | cegcc*)
5662 # On Win9x/ME, this test blows up -- it succeeds, but takes
5663 # about 5 minutes as the teststring grows exponentially.
5664 # Worse, since 9x/ME are not pre-emptively multitasking,
5665 # you end up with a "frozen" computer, even though with patience
5666 # the test eventually succeeds (with a max line length of 256k).
5667 # Instead, let's just punt: use the minimum linelength reported by
5668 # all of the supported platforms: 8192 (on NT/2K/XP).
5669 lt_cv_sys_max_cmd_len=8192;
5673 # On AmigaOS with pdksh, this test takes hours, literally.
5674 # So we just punt and use a minimum line length of 8192.
5675 lt_cv_sys_max_cmd_len=8192;
5678 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5679 # This has been around since 386BSD, at least. Likely further.
5680 if test -x /sbin/sysctl; then
5681 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5682 elif test -x /usr/sbin/sysctl; then
5683 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5685 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5687 # And add a safety zone
5688 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5689 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5693 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5694 lt_cv_sys_max_cmd_len=196608
5698 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5699 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5700 # nice to cause kernel panics so lets avoid the loop below.
5701 # First set a reasonable default.
5702 lt_cv_sys_max_cmd_len=16384
5704 if test -x /sbin/sysconfig; then
5705 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5706 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5711 lt_cv_sys_max_cmd_len=102400
5713 sysv5* | sco5v6* | sysv4.2uw2*)
5714 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5715 if test -n "$kargmax"; then
5716 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5718 lt_cv_sys_max_cmd_len=32768
5722 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5723 if test -n "$lt_cv_sys_max_cmd_len"; then
5724 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5725 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5727 # Make teststring a little bigger before we do anything with it.
5728 # a 1K string should be a reasonable start.
5729 for i in 1 2 3 4 5 6 7 8 ; do
5730 teststring=$teststring$teststring
5732 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5733 # If test is not a shell built-in, we'll probably end up computing a
5734 # maximum length that is only half of the actual maximum length, but
5736 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5737 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5738 test $i != 17 # 1/2 MB should be enough
5741 teststring=$teststring$teststring
5743 # Only check the string length outside the loop.
5744 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5746 # Add a significant safety factor because C++ compilers can tack on
5747 # massive amounts of additional arguments before passing them to the
5748 # linker. It appears as though 1/2 is a usable value.
5749 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5756 if test -n $lt_cv_sys_max_cmd_len ; then
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5758 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5761 $as_echo "none" >&6; }
5763 max_cmd_len=$lt_cv_sys_max_cmd_len
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5775 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5776 # Try some XSI features
5779 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5781 && eval 'test $(( 1 + 1 )) -eq 2 \
5782 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5785 $as_echo "$xsi_shell" >&6; }
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5789 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5791 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5793 && lt_shell_append=yes
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5795 $as_echo "$lt_shell_append" >&6; }
5798 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5808 # test EBCDIC or ASCII
5809 case `echo X|tr X '\101'` in
5810 A) # ASCII based system
5811 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5812 lt_SP2NL='tr \040 \012'
5813 lt_NL2SP='tr \015\012 \040\040'
5815 *) # EBCDIC based system
5816 lt_SP2NL='tr \100 \n'
5817 lt_NL2SP='tr \r\n \100\100'
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5830 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5831 if ${lt_cv_ld_reload_flag+:} false; then :
5832 $as_echo_n "(cached) " >&6
5834 lt_cv_ld_reload_flag='-r'
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5837 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5838 reload_flag=$lt_cv_ld_reload_flag
5839 case $reload_flag in
5841 *) reload_flag=" $reload_flag" ;;
5843 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5846 if test "$GCC" = yes; then
5847 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5849 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5862 if test -n "$ac_tool_prefix"; then
5863 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5864 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5866 $as_echo_n "checking for $ac_word... " >&6; }
5867 if ${ac_cv_prog_OBJDUMP+:} false; then :
5868 $as_echo_n "(cached) " >&6
5870 if test -n "$OBJDUMP"; then
5871 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 test -z "$as_dir" && as_dir=.
5878 for ac_exec_ext in '' $ac_executable_extensions; do
5879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5880 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5890 OBJDUMP=$ac_cv_prog_OBJDUMP
5891 if test -n "$OBJDUMP"; then
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5893 $as_echo "$OBJDUMP" >&6; }
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5896 $as_echo "no" >&6; }
5901 if test -z "$ac_cv_prog_OBJDUMP"; then
5902 ac_ct_OBJDUMP=$OBJDUMP
5903 # Extract the first word of "objdump", so it can be a program name with args.
5904 set dummy objdump; ac_word=$2
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5906 $as_echo_n "checking for $ac_word... " >&6; }
5907 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5908 $as_echo_n "(cached) " >&6
5910 if test -n "$ac_ct_OBJDUMP"; then
5911 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5917 test -z "$as_dir" && as_dir=.
5918 for ac_exec_ext in '' $ac_executable_extensions; do
5919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5920 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5930 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5931 if test -n "$ac_ct_OBJDUMP"; then
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5933 $as_echo "$ac_ct_OBJDUMP" >&6; }
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5936 $as_echo "no" >&6; }
5939 if test "x$ac_ct_OBJDUMP" = x; then
5942 case $cross_compiling:$ac_tool_warned in
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5946 ac_tool_warned=yes ;;
5948 OBJDUMP=$ac_ct_OBJDUMP
5951 OBJDUMP="$ac_cv_prog_OBJDUMP"
5954 test -z "$OBJDUMP" && OBJDUMP=objdump
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5962 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5963 if ${lt_cv_deplibs_check_method+:} false; then :
5964 $as_echo_n "(cached) " >&6
5966 lt_cv_file_magic_cmd='$MAGIC_CMD'
5967 lt_cv_file_magic_test_file=
5968 lt_cv_deplibs_check_method='unknown'
5969 # Need to set the preceding variable on all platforms that support
5970 # interlibrary dependencies.
5971 # 'none' -- dependencies not supported.
5972 # `unknown' -- same as none, but documents that we really don't know.
5973 # 'pass_all' -- all dependencies passed with no checks.
5974 # 'test_compile' -- check by making test program.
5975 # 'file_magic [[regex]]' -- check by looking for files in library path
5976 # which responds to the $file_magic_cmd with a given extended regex.
5977 # If you have `file' or equivalent on your system and you're not sure
5978 # whether `pass_all' will *always* work, you probably want this one.
5982 lt_cv_deplibs_check_method=pass_all
5986 lt_cv_deplibs_check_method=pass_all
5990 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5991 lt_cv_file_magic_cmd='/usr/bin/file -L'
5992 lt_cv_file_magic_test_file=/shlib/libc.so
5996 # func_win32_libid is a shell function defined in ltmain.sh
5997 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5998 lt_cv_file_magic_cmd='func_win32_libid'
6002 # Base MSYS/MinGW do not provide the 'file' command needed by
6003 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6004 # unless we find 'file', for example because we are cross-compiling.
6005 if ( file / ) >/dev/null 2>&1; then
6006 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6007 lt_cv_file_magic_cmd='func_win32_libid'
6009 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6010 lt_cv_file_magic_cmd='$OBJDUMP -f'
6015 # use the weaker test based on 'objdump'. See mingw*.
6016 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6017 lt_cv_file_magic_cmd='$OBJDUMP -f'
6020 darwin* | rhapsody*)
6021 lt_cv_deplibs_check_method=pass_all
6024 freebsd* | dragonfly*)
6025 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6028 # Not sure whether the presence of OpenBSD here was a mistake.
6029 # Let's accept both of them until this is cleared up.
6030 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6031 lt_cv_file_magic_cmd=/usr/bin/file
6032 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6036 lt_cv_deplibs_check_method=pass_all
6041 lt_cv_deplibs_check_method=pass_all
6044 hpux10.20* | hpux11*)
6045 lt_cv_file_magic_cmd=/usr/bin/file
6048 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6049 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6052 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]'
6053 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6056 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6057 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6063 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6064 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6067 irix5* | irix6* | nonstopux*)
6069 *-32|*"-32 ") libmagic=32-bit;;
6070 *-n32|*"-n32 ") libmagic=N32;;
6071 *-64|*"-64 ") libmagic=64-bit;;
6072 *) libmagic=never-match;;
6074 lt_cv_deplibs_check_method=pass_all
6077 # This must be Linux ELF.
6078 linux* | k*bsd*-gnu)
6079 lt_cv_deplibs_check_method=pass_all
6083 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6084 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6086 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6091 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6092 lt_cv_file_magic_cmd=/usr/bin/file
6093 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6097 lt_cv_deplibs_check_method=pass_all
6101 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6102 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6104 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6108 osf3* | osf4* | osf5*)
6109 lt_cv_deplibs_check_method=pass_all
6113 lt_cv_deplibs_check_method=pass_all
6117 lt_cv_deplibs_check_method=pass_all
6120 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6121 lt_cv_deplibs_check_method=pass_all
6125 case $host_vendor in
6127 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]'
6128 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6131 lt_cv_deplibs_check_method=pass_all
6134 lt_cv_file_magic_cmd='/bin/file'
6135 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6138 lt_cv_file_magic_cmd='/bin/file'
6139 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6140 lt_cv_file_magic_test_file=/lib/libc.so
6143 lt_cv_deplibs_check_method=pass_all
6146 lt_cv_deplibs_check_method=pass_all
6152 lt_cv_deplibs_check_method=pass_all
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6158 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6159 file_magic_cmd=$lt_cv_file_magic_cmd
6160 deplibs_check_method=$lt_cv_deplibs_check_method
6161 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6174 if test -n "$ac_tool_prefix"; then
6175 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6176 set dummy ${ac_tool_prefix}ar; ac_word=$2
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6178 $as_echo_n "checking for $ac_word... " >&6; }
6179 if ${ac_cv_prog_AR+:} false; then :
6180 $as_echo_n "(cached) " >&6
6182 if test -n "$AR"; then
6183 ac_cv_prog_AR="$AR" # Let the user override the test.
6185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6189 test -z "$as_dir" && as_dir=.
6190 for ac_exec_ext in '' $ac_executable_extensions; do
6191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6192 ac_cv_prog_AR="${ac_tool_prefix}ar"
6193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6203 if test -n "$AR"; then
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6205 $as_echo "$AR" >&6; }
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6208 $as_echo "no" >&6; }
6213 if test -z "$ac_cv_prog_AR"; then
6215 # Extract the first word of "ar", so it can be a program name with args.
6216 set dummy ar; ac_word=$2
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6218 $as_echo_n "checking for $ac_word... " >&6; }
6219 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6220 $as_echo_n "(cached) " >&6
6222 if test -n "$ac_ct_AR"; then
6223 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6229 test -z "$as_dir" && as_dir=.
6230 for ac_exec_ext in '' $ac_executable_extensions; do
6231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6232 ac_cv_prog_ac_ct_AR="ar"
6233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6242 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6243 if test -n "$ac_ct_AR"; then
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6245 $as_echo "$ac_ct_AR" >&6; }
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6248 $as_echo "no" >&6; }
6251 if test "x$ac_ct_AR" = x; then
6254 case $cross_compiling:$ac_tool_warned in
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6258 ac_tool_warned=yes ;;
6266 test -z "$AR" && AR=ar
6267 test -z "$AR_FLAGS" && AR_FLAGS=cru
6279 if test -n "$ac_tool_prefix"; then
6280 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6281 set dummy ${ac_tool_prefix}strip; ac_word=$2
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6283 $as_echo_n "checking for $ac_word... " >&6; }
6284 if ${ac_cv_prog_STRIP+:} false; then :
6285 $as_echo_n "(cached) " >&6
6287 if test -n "$STRIP"; then
6288 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6294 test -z "$as_dir" && as_dir=.
6295 for ac_exec_ext in '' $ac_executable_extensions; do
6296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6297 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6307 STRIP=$ac_cv_prog_STRIP
6308 if test -n "$STRIP"; then
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6310 $as_echo "$STRIP" >&6; }
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6313 $as_echo "no" >&6; }
6318 if test -z "$ac_cv_prog_STRIP"; then
6320 # Extract the first word of "strip", so it can be a program name with args.
6321 set dummy strip; ac_word=$2
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6323 $as_echo_n "checking for $ac_word... " >&6; }
6324 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6325 $as_echo_n "(cached) " >&6
6327 if test -n "$ac_ct_STRIP"; then
6328 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6334 test -z "$as_dir" && as_dir=.
6335 for ac_exec_ext in '' $ac_executable_extensions; do
6336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6337 ac_cv_prog_ac_ct_STRIP="strip"
6338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6347 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6348 if test -n "$ac_ct_STRIP"; then
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6350 $as_echo "$ac_ct_STRIP" >&6; }
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6353 $as_echo "no" >&6; }
6356 if test "x$ac_ct_STRIP" = x; then
6359 case $cross_compiling:$ac_tool_warned in
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6363 ac_tool_warned=yes ;;
6368 STRIP="$ac_cv_prog_STRIP"
6371 test -z "$STRIP" && STRIP=:
6378 if test -n "$ac_tool_prefix"; then
6379 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6380 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6382 $as_echo_n "checking for $ac_word... " >&6; }
6383 if ${ac_cv_prog_RANLIB+:} false; then :
6384 $as_echo_n "(cached) " >&6
6386 if test -n "$RANLIB"; then
6387 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6393 test -z "$as_dir" && as_dir=.
6394 for ac_exec_ext in '' $ac_executable_extensions; do
6395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6396 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6406 RANLIB=$ac_cv_prog_RANLIB
6407 if test -n "$RANLIB"; then
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6409 $as_echo "$RANLIB" >&6; }
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6412 $as_echo "no" >&6; }
6417 if test -z "$ac_cv_prog_RANLIB"; then
6418 ac_ct_RANLIB=$RANLIB
6419 # Extract the first word of "ranlib", so it can be a program name with args.
6420 set dummy ranlib; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; }
6423 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6424 $as_echo_n "(cached) " >&6
6426 if test -n "$ac_ct_RANLIB"; then
6427 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 test -z "$as_dir" && as_dir=.
6434 for ac_exec_ext in '' $ac_executable_extensions; do
6435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6436 ac_cv_prog_ac_ct_RANLIB="ranlib"
6437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6446 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6447 if test -n "$ac_ct_RANLIB"; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6449 $as_echo "$ac_ct_RANLIB" >&6; }
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452 $as_echo "no" >&6; }
6455 if test "x$ac_ct_RANLIB" = x; then
6458 case $cross_compiling:$ac_tool_warned in
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6462 ac_tool_warned=yes ;;
6464 RANLIB=$ac_ct_RANLIB
6467 RANLIB="$ac_cv_prog_RANLIB"
6470 test -z "$RANLIB" && RANLIB=:
6477 # Determine commands to create old-style static archives.
6478 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6479 old_postinstall_cmds='chmod 644 $oldlib'
6480 old_postuninstall_cmds=
6482 if test -n "$RANLIB"; then
6485 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6488 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6491 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6527 # If no C compiler was specified, use CC.
6530 # If no C compiler flags were specified, use CFLAGS.
6531 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6533 # Allow CC to be a program name with arguments.
6537 # Check for command to grab the raw symbol name followed by C symbol from nm.
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6539 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6540 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6541 $as_echo_n "(cached) " >&6
6544 # These are sane defaults that work on at least a few old systems.
6545 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6547 # Character class describing NM global symbol codes.
6548 symcode='[BCDEGRST]'
6550 # Regexp to match symbols that can be accessed directly from C.
6551 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6553 # Define system-specific variables.
6558 cygwin* | mingw* | pw32* | cegcc*)
6559 symcode='[ABCDGISTW]'
6562 if test "$host_cpu" = ia64; then
6563 symcode='[ABCDEGRST]'
6567 symcode='[BCDEGRST]'
6570 symcode='[BCDEGQRST]'
6581 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6589 # If we're using GNU nm, then use its standard symbol codes.
6590 case `$NM -V 2>&1` in
6591 *GNU* | *'with BFD'*)
6592 symcode='[ABCDGIRSTW]' ;;
6595 # Transform an extracted symbol line into a proper C declaration.
6596 # Some systems (esp. on ia64) link data and code symbols differently,
6597 # so use this general approach.
6598 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6600 # Transform an extracted symbol line into symbol name and symbol address
6601 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6602 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'"
6604 # Handle CRLF in mingw tool chain
6608 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6612 # Try without a prefix underscore, then with it.
6613 for ac_symprfx in "" "_"; do
6615 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6616 symxfrm="\\1 $ac_symprfx\\2 \\2"
6618 # Write the raw and C identifiers.
6619 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6620 # Fake it for dumpbin and say T for any non-static function
6621 # and D for any global variable.
6622 # Also find C++ and __fastcall symbols from MSVC++,
6623 # which start with @ or ?.
6624 lt_cv_sys_global_symbol_pipe="$AWK '"\
6625 " {last_section=section; section=\$ 3};"\
6626 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6627 " \$ 0!~/External *\|/{next};"\
6628 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6629 " {if(hide[section]) next};"\
6630 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6631 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6632 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6633 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6634 " ' prfx=^$ac_symprfx"
6636 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6639 # Check to see that the pipe works correctly.
6643 cat > conftest.$ac_ext <<_LT_EOF
6648 void nm_test_func(void);
6649 void nm_test_func(void){}
6653 int main(){nm_test_var='a';nm_test_func();return(0);}
6656 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6657 (eval $ac_compile) 2>&5
6659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6660 test $ac_status = 0; }; then
6661 # Now try to grab the symbols.
6663 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6664 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6667 test $ac_status = 0; } && test -s "$nlist"; then
6668 # Try sorting and uniquifying the output.
6669 if sort "$nlist" | uniq > "$nlist"T; then
6670 mv -f "$nlist"T "$nlist"
6675 # Make sure that we snagged all the symbols we need.
6676 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6677 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6678 cat <<_LT_EOF > conftest.$ac_ext
6684 # Now generate the symbol file.
6685 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6687 cat <<_LT_EOF >> conftest.$ac_ext
6689 /* The mapping between symbol names and symbols. */
6694 lt__PROGRAM__LTX_preloaded_symbols[] =
6696 { "@PROGRAM@", (void *) 0 },
6698 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6699 cat <<\_LT_EOF >> conftest.$ac_ext
6703 /* This works around a problem in FreeBSD linker */
6704 #ifdef FREEBSD_WORKAROUND
6705 static const void *lt_preloaded_setup() {
6706 return lt__PROGRAM__LTX_preloaded_symbols;
6714 # Now try linking the two files.
6715 mv conftest.$ac_objext conftstm.$ac_objext
6716 lt_save_LIBS="$LIBS"
6717 lt_save_CFLAGS="$CFLAGS"
6718 LIBS="conftstm.$ac_objext"
6719 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6720 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6721 (eval $ac_link) 2>&5
6723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6724 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6727 LIBS="$lt_save_LIBS"
6728 CFLAGS="$lt_save_CFLAGS"
6730 echo "cannot find nm_test_func in $nlist" >&5
6733 echo "cannot find nm_test_var in $nlist" >&5
6736 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6739 echo "$progname: failed program was:" >&5
6740 cat conftest.$ac_ext >&5
6742 rm -rf conftest* conftst*
6744 # Do not use the global_symbol_pipe unless it works.
6745 if test "$pipe_works" = yes; then
6748 lt_cv_sys_global_symbol_pipe=
6754 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6755 lt_cv_sys_global_symbol_to_cdecl=
6757 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6759 $as_echo "failed" >&6; }
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6762 $as_echo "ok" >&6; }
6787 # Check whether --enable-libtool-lock was given.
6788 if test "${enable_libtool_lock+set}" = set; then :
6789 enableval=$enable_libtool_lock;
6792 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6794 # Some flags need to be propagated to the compiler or linker for good
6798 # Find out which ABI we are using.
6799 echo 'int i;' > conftest.$ac_ext
6800 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6801 (eval $ac_compile) 2>&5
6803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6804 test $ac_status = 0; }; then
6805 case `/usr/bin/file conftest.$ac_objext` in
6817 # Find out which ABI we are using.
6818 echo '#line 6818 "configure"' > conftest.$ac_ext
6819 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6820 (eval $ac_compile) 2>&5
6822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6823 test $ac_status = 0; }; then
6824 if test "$lt_cv_prog_gnu_ld" = yes; then
6825 case `/usr/bin/file conftest.$ac_objext` in
6827 LD="${LD-ld} -melf32bsmip"
6830 LD="${LD-ld} -melf32bmipn32"
6833 LD="${LD-ld} -melf64bmip"
6837 case `/usr/bin/file conftest.$ac_objext` in
6853 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6854 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6855 # Find out which ABI we are using.
6856 echo 'int i;' > conftest.$ac_ext
6857 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6858 (eval $ac_compile) 2>&5
6860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6861 test $ac_status = 0; }; then
6862 case `/usr/bin/file conftest.o` in
6865 x86_64-*kfreebsd*-gnu)
6866 LD="${LD-ld} -m elf_i386_fbsd"
6869 LD="${LD-ld} -m elf_i386"
6871 ppc64-*linux*|powerpc64-*linux*)
6872 LD="${LD-ld} -m elf32ppclinux"
6875 LD="${LD-ld} -m elf_s390"
6878 LD="${LD-ld} -m elf32_sparc"
6884 x86_64-*kfreebsd*-gnu)
6885 LD="${LD-ld} -m elf_x86_64_fbsd"
6888 LD="${LD-ld} -m elf_x86_64"
6890 ppc*-*linux*|powerpc*-*linux*)
6891 LD="${LD-ld} -m elf64ppc"
6893 s390*-*linux*|s390*-*tpf*)
6894 LD="${LD-ld} -m elf64_s390"
6897 LD="${LD-ld} -m elf64_sparc"
6907 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6908 SAVE_CFLAGS="$CFLAGS"
6909 CFLAGS="$CFLAGS -belf"
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6911 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6912 if ${lt_cv_cc_needs_belf+:} false; then :
6913 $as_echo_n "(cached) " >&6
6916 ac_cpp='$CPP $CPPFLAGS'
6917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6922 /* end confdefs.h. */
6932 if ac_fn_c_try_link "$LINENO"; then :
6933 lt_cv_cc_needs_belf=yes
6935 lt_cv_cc_needs_belf=no
6937 rm -f core conftest.err conftest.$ac_objext \
6938 conftest$ac_exeext conftest.$ac_ext
6940 ac_cpp='$CPP $CPPFLAGS'
6941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6947 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6948 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6949 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6950 CFLAGS="$SAVE_CFLAGS"
6954 # Find out which ABI we are using.
6955 echo 'int i;' > conftest.$ac_ext
6956 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6957 (eval $ac_compile) 2>&5
6959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6960 test $ac_status = 0; }; then
6961 case `/usr/bin/file conftest.o` in
6963 case $lt_cv_prog_gnu_ld in
6964 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6966 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6978 need_locks="$enable_libtool_lock"
6982 rhapsody* | darwin*)
6983 if test -n "$ac_tool_prefix"; then
6984 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6985 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6987 $as_echo_n "checking for $ac_word... " >&6; }
6988 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6989 $as_echo_n "(cached) " >&6
6991 if test -n "$DSYMUTIL"; then
6992 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998 test -z "$as_dir" && as_dir=.
6999 for ac_exec_ext in '' $ac_executable_extensions; do
7000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7001 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7011 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7012 if test -n "$DSYMUTIL"; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7014 $as_echo "$DSYMUTIL" >&6; }
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017 $as_echo "no" >&6; }
7022 if test -z "$ac_cv_prog_DSYMUTIL"; then
7023 ac_ct_DSYMUTIL=$DSYMUTIL
7024 # Extract the first word of "dsymutil", so it can be a program name with args.
7025 set dummy dsymutil; ac_word=$2
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7027 $as_echo_n "checking for $ac_word... " >&6; }
7028 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7029 $as_echo_n "(cached) " >&6
7031 if test -n "$ac_ct_DSYMUTIL"; then
7032 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7038 test -z "$as_dir" && as_dir=.
7039 for ac_exec_ext in '' $ac_executable_extensions; do
7040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7041 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7051 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7052 if test -n "$ac_ct_DSYMUTIL"; then
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7054 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7057 $as_echo "no" >&6; }
7060 if test "x$ac_ct_DSYMUTIL" = x; then
7063 case $cross_compiling:$ac_tool_warned in
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7067 ac_tool_warned=yes ;;
7069 DSYMUTIL=$ac_ct_DSYMUTIL
7072 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7075 if test -n "$ac_tool_prefix"; then
7076 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7077 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7079 $as_echo_n "checking for $ac_word... " >&6; }
7080 if ${ac_cv_prog_NMEDIT+:} false; then :
7081 $as_echo_n "(cached) " >&6
7083 if test -n "$NMEDIT"; then
7084 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7090 test -z "$as_dir" && as_dir=.
7091 for ac_exec_ext in '' $ac_executable_extensions; do
7092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7093 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7103 NMEDIT=$ac_cv_prog_NMEDIT
7104 if test -n "$NMEDIT"; then
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7106 $as_echo "$NMEDIT" >&6; }
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7109 $as_echo "no" >&6; }
7114 if test -z "$ac_cv_prog_NMEDIT"; then
7115 ac_ct_NMEDIT=$NMEDIT
7116 # Extract the first word of "nmedit", so it can be a program name with args.
7117 set dummy nmedit; ac_word=$2
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7119 $as_echo_n "checking for $ac_word... " >&6; }
7120 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7121 $as_echo_n "(cached) " >&6
7123 if test -n "$ac_ct_NMEDIT"; then
7124 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7130 test -z "$as_dir" && as_dir=.
7131 for ac_exec_ext in '' $ac_executable_extensions; do
7132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7133 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7143 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7144 if test -n "$ac_ct_NMEDIT"; then
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7146 $as_echo "$ac_ct_NMEDIT" >&6; }
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7149 $as_echo "no" >&6; }
7152 if test "x$ac_ct_NMEDIT" = x; then
7155 case $cross_compiling:$ac_tool_warned in
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7158 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7159 ac_tool_warned=yes ;;
7161 NMEDIT=$ac_ct_NMEDIT
7164 NMEDIT="$ac_cv_prog_NMEDIT"
7167 if test -n "$ac_tool_prefix"; then
7168 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7169 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171 $as_echo_n "checking for $ac_word... " >&6; }
7172 if ${ac_cv_prog_LIPO+:} false; then :
7173 $as_echo_n "(cached) " >&6
7175 if test -n "$LIPO"; then
7176 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7182 test -z "$as_dir" && as_dir=.
7183 for ac_exec_ext in '' $ac_executable_extensions; do
7184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7185 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7195 LIPO=$ac_cv_prog_LIPO
7196 if test -n "$LIPO"; then
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7198 $as_echo "$LIPO" >&6; }
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 $as_echo "no" >&6; }
7206 if test -z "$ac_cv_prog_LIPO"; then
7208 # Extract the first word of "lipo", so it can be a program name with args.
7209 set dummy lipo; ac_word=$2
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7211 $as_echo_n "checking for $ac_word... " >&6; }
7212 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7213 $as_echo_n "(cached) " >&6
7215 if test -n "$ac_ct_LIPO"; then
7216 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7222 test -z "$as_dir" && as_dir=.
7223 for ac_exec_ext in '' $ac_executable_extensions; do
7224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7225 ac_cv_prog_ac_ct_LIPO="lipo"
7226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7235 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7236 if test -n "$ac_ct_LIPO"; then
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7238 $as_echo "$ac_ct_LIPO" >&6; }
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7241 $as_echo "no" >&6; }
7244 if test "x$ac_ct_LIPO" = x; then
7247 case $cross_compiling:$ac_tool_warned in
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7251 ac_tool_warned=yes ;;
7256 LIPO="$ac_cv_prog_LIPO"
7259 if test -n "$ac_tool_prefix"; then
7260 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7261 set dummy ${ac_tool_prefix}otool; ac_word=$2
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263 $as_echo_n "checking for $ac_word... " >&6; }
7264 if ${ac_cv_prog_OTOOL+:} false; then :
7265 $as_echo_n "(cached) " >&6
7267 if test -n "$OTOOL"; then
7268 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7274 test -z "$as_dir" && as_dir=.
7275 for ac_exec_ext in '' $ac_executable_extensions; do
7276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7277 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287 OTOOL=$ac_cv_prog_OTOOL
7288 if test -n "$OTOOL"; then
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7290 $as_echo "$OTOOL" >&6; }
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7293 $as_echo "no" >&6; }
7298 if test -z "$ac_cv_prog_OTOOL"; then
7300 # Extract the first word of "otool", so it can be a program name with args.
7301 set dummy otool; ac_word=$2
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7303 $as_echo_n "checking for $ac_word... " >&6; }
7304 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7305 $as_echo_n "(cached) " >&6
7307 if test -n "$ac_ct_OTOOL"; then
7308 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7314 test -z "$as_dir" && as_dir=.
7315 for ac_exec_ext in '' $ac_executable_extensions; do
7316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7317 ac_cv_prog_ac_ct_OTOOL="otool"
7318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7328 if test -n "$ac_ct_OTOOL"; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7330 $as_echo "$ac_ct_OTOOL" >&6; }
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7333 $as_echo "no" >&6; }
7336 if test "x$ac_ct_OTOOL" = x; then
7339 case $cross_compiling:$ac_tool_warned in
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7343 ac_tool_warned=yes ;;
7348 OTOOL="$ac_cv_prog_OTOOL"
7351 if test -n "$ac_tool_prefix"; then
7352 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7353 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7355 $as_echo_n "checking for $ac_word... " >&6; }
7356 if ${ac_cv_prog_OTOOL64+:} false; then :
7357 $as_echo_n "(cached) " >&6
7359 if test -n "$OTOOL64"; then
7360 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7366 test -z "$as_dir" && as_dir=.
7367 for ac_exec_ext in '' $ac_executable_extensions; do
7368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7369 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379 OTOOL64=$ac_cv_prog_OTOOL64
7380 if test -n "$OTOOL64"; then
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7382 $as_echo "$OTOOL64" >&6; }
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7385 $as_echo "no" >&6; }
7390 if test -z "$ac_cv_prog_OTOOL64"; then
7391 ac_ct_OTOOL64=$OTOOL64
7392 # Extract the first word of "otool64", so it can be a program name with args.
7393 set dummy otool64; ac_word=$2
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7395 $as_echo_n "checking for $ac_word... " >&6; }
7396 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7397 $as_echo_n "(cached) " >&6
7399 if test -n "$ac_ct_OTOOL64"; then
7400 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406 test -z "$as_dir" && as_dir=.
7407 for ac_exec_ext in '' $ac_executable_extensions; do
7408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7409 ac_cv_prog_ac_ct_OTOOL64="otool64"
7410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7420 if test -n "$ac_ct_OTOOL64"; then
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7422 $as_echo "$ac_ct_OTOOL64" >&6; }
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7425 $as_echo "no" >&6; }
7428 if test "x$ac_ct_OTOOL64" = x; then
7431 case $cross_compiling:$ac_tool_warned in
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7435 ac_tool_warned=yes ;;
7437 OTOOL64=$ac_ct_OTOOL64
7440 OTOOL64="$ac_cv_prog_OTOOL64"
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7470 $as_echo_n "checking for -single_module linker flag... " >&6; }
7471 if ${lt_cv_apple_cc_single_mod+:} false; then :
7472 $as_echo_n "(cached) " >&6
7474 lt_cv_apple_cc_single_mod=no
7475 if test -z "${LT_MULTI_MODULE}"; then
7476 # By default we will add the -single_module flag. You can override
7477 # by either setting the environment variable LT_MULTI_MODULE
7478 # non-empty at configure time, or by adding -multi_module to the
7480 rm -rf libconftest.dylib*
7481 echo "int foo(void){return 1;}" > conftest.c
7482 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7483 -dynamiclib -Wl,-single_module conftest.c" >&5
7484 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7485 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7487 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7488 lt_cv_apple_cc_single_mod=yes
7490 cat conftest.err >&5
7492 rm -rf libconftest.dylib*
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7497 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7499 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7500 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7501 $as_echo_n "(cached) " >&6
7503 lt_cv_ld_exported_symbols_list=no
7504 save_LDFLAGS=$LDFLAGS
7505 echo "_main" > conftest.sym
7506 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7508 /* end confdefs.h. */
7518 if ac_fn_c_try_link "$LINENO"; then :
7519 lt_cv_ld_exported_symbols_list=yes
7521 lt_cv_ld_exported_symbols_list=no
7523 rm -f core conftest.err conftest.$ac_objext \
7524 conftest$ac_exeext conftest.$ac_ext
7525 LDFLAGS="$save_LDFLAGS"
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7529 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7531 rhapsody* | darwin1.[012])
7532 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7534 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7535 darwin*) # darwin 5.x on
7536 # if running on 10.5 or later, the deployment target defaults
7537 # to the OS version, if on x86, and 10.4, the deployment
7538 # target defaults to 10.4. Don't you love it?
7539 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7540 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7541 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7543 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7545 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7549 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7550 _lt_dar_single_mod='$single_module'
7552 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7553 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7555 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7557 if test "$DSYMUTIL" != ":"; then
7558 _lt_dsymutil='~$DSYMUTIL $lib || :'
7566 ac_cpp='$CPP $CPPFLAGS'
7567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7571 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7572 # On Suns, sometimes $CPP names a directory.
7573 if test -n "$CPP" && test -d "$CPP"; then
7576 if test -z "$CPP"; then
7577 if ${ac_cv_prog_CPP+:} false; then :
7578 $as_echo_n "(cached) " >&6
7580 # Double quotes because CPP needs to be expanded
7581 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7584 for ac_c_preproc_warn_flag in '' yes
7586 # Use a header file that comes with gcc, so configuring glibc
7587 # with a fresh cross-compiler works.
7588 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7589 # <limits.h> exists even on freestanding compilers.
7590 # On the NeXT, cc -E runs the code through the compiler's parser,
7591 # not just through cpp. "Syntax error" is here to catch this case.
7592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7593 /* end confdefs.h. */
7595 # include <limits.h>
7597 # include <assert.h>
7601 if ac_fn_c_try_cpp "$LINENO"; then :
7604 # Broken: fails on valid input.
7607 rm -f conftest.err conftest.i conftest.$ac_ext
7609 # OK, works on sane cases. Now check whether nonexistent headers
7610 # can be detected and how.
7611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7612 /* end confdefs.h. */
7613 #include <ac_nonexistent.h>
7615 if ac_fn_c_try_cpp "$LINENO"; then :
7616 # Broken: success on invalid input.
7619 # Passes both tests.
7623 rm -f conftest.err conftest.i conftest.$ac_ext
7626 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7627 rm -f conftest.i conftest.err conftest.$ac_ext
7628 if $ac_preproc_ok; then :
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7641 $as_echo "$CPP" >&6; }
7643 for ac_c_preproc_warn_flag in '' yes
7645 # Use a header file that comes with gcc, so configuring glibc
7646 # with a fresh cross-compiler works.
7647 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7648 # <limits.h> exists even on freestanding compilers.
7649 # On the NeXT, cc -E runs the code through the compiler's parser,
7650 # not just through cpp. "Syntax error" is here to catch this case.
7651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7652 /* end confdefs.h. */
7654 # include <limits.h>
7656 # include <assert.h>
7660 if ac_fn_c_try_cpp "$LINENO"; then :
7663 # Broken: fails on valid input.
7666 rm -f conftest.err conftest.i conftest.$ac_ext
7668 # OK, works on sane cases. Now check whether nonexistent headers
7669 # can be detected and how.
7670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7671 /* end confdefs.h. */
7672 #include <ac_nonexistent.h>
7674 if ac_fn_c_try_cpp "$LINENO"; then :
7675 # Broken: success on invalid input.
7678 # Passes both tests.
7682 rm -f conftest.err conftest.i conftest.$ac_ext
7685 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7686 rm -f conftest.i conftest.err conftest.$ac_ext
7687 if $ac_preproc_ok; then :
7690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7692 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7693 See \`config.log' for more details" "$LINENO" 5; }
7697 ac_cpp='$CPP $CPPFLAGS'
7698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7704 $as_echo_n "checking for ANSI C header files... " >&6; }
7705 if ${ac_cv_header_stdc+:} false; then :
7706 $as_echo_n "(cached) " >&6
7708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7709 /* end confdefs.h. */
7723 if ac_fn_c_try_compile "$LINENO"; then :
7724 ac_cv_header_stdc=yes
7726 ac_cv_header_stdc=no
7728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7730 if test $ac_cv_header_stdc = yes; then
7731 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7733 /* end confdefs.h. */
7737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7738 $EGREP "memchr" >/dev/null 2>&1; then :
7741 ac_cv_header_stdc=no
7747 if test $ac_cv_header_stdc = yes; then
7748 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7750 /* end confdefs.h. */
7754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7755 $EGREP "free" >/dev/null 2>&1; then :
7758 ac_cv_header_stdc=no
7764 if test $ac_cv_header_stdc = yes; then
7765 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7766 if test "$cross_compiling" = yes; then :
7769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7773 #if ((' ' & 0x0FF) == 0x020)
7774 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7775 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7777 # define ISLOWER(c) \
7778 (('a' <= (c) && (c) <= 'i') \
7779 || ('j' <= (c) && (c) <= 'r') \
7780 || ('s' <= (c) && (c) <= 'z'))
7781 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7784 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7789 for (i = 0; i < 256; i++)
7790 if (XOR (islower (i), ISLOWER (i))
7791 || toupper (i) != TOUPPER (i))
7796 if ac_fn_c_try_run "$LINENO"; then :
7799 ac_cv_header_stdc=no
7801 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7802 conftest.$ac_objext conftest.beam conftest.$ac_ext
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7808 $as_echo "$ac_cv_header_stdc" >&6; }
7809 if test $ac_cv_header_stdc = yes; then
7811 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7815 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7816 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7817 inttypes.h stdint.h unistd.h
7819 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7820 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7822 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7823 cat >>confdefs.h <<_ACEOF
7824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7832 for ac_header in dlfcn.h
7834 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7836 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7837 cat >>confdefs.h <<_ACEOF
7838 #define HAVE_DLFCN_H 1
7855 # Check whether --enable-shared was given.
7856 if test "${enable_shared+set}" = set; then :
7857 enableval=$enable_shared; p=${PACKAGE-default}
7859 yes) enable_shared=yes ;;
7860 no) enable_shared=no ;;
7863 # Look at the argument we got. We use all the common list separators.
7864 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7865 for pkg in $enableval; do
7867 if test "X$pkg" = "X$p"; then
7886 # Check whether --enable-static was given.
7887 if test "${enable_static+set}" = set; then :
7888 enableval=$enable_static; p=${PACKAGE-default}
7890 yes) enable_static=yes ;;
7891 no) enable_static=no ;;
7894 # Look at the argument we got. We use all the common list separators.
7895 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7896 for pkg in $enableval; do
7898 if test "X$pkg" = "X$p"; then
7918 # Check whether --with-pic was given.
7919 if test "${with_pic+set}" = set; then :
7920 withval=$with_pic; pic_mode="$withval"
7926 test -z "$pic_mode" && pic_mode=default
7934 # Check whether --enable-fast-install was given.
7935 if test "${enable_fast_install+set}" = set; then :
7936 enableval=$enable_fast_install; p=${PACKAGE-default}
7938 yes) enable_fast_install=yes ;;
7939 no) enable_fast_install=no ;;
7941 enable_fast_install=no
7942 # Look at the argument we got. We use all the common list separators.
7943 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7944 for pkg in $enableval; do
7946 if test "X$pkg" = "X$p"; then
7947 enable_fast_install=yes
7954 enable_fast_install=yes
7967 # This can be used to rebuild libtool when needed
7968 LIBTOOL_DEPS="$ltmain"
7970 # Always use our own libtool.
7971 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7997 test -z "$LN_S" && LN_S="ln -s"
8012 if test -n "${ZSH_VERSION+set}" ; then
8013 setopt NO_GLOB_SUBST
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8017 $as_echo_n "checking for objdir... " >&6; }
8018 if ${lt_cv_objdir+:} false; then :
8019 $as_echo_n "(cached) " >&6
8021 rm -f .libs 2>/dev/null
8022 mkdir .libs 2>/dev/null
8023 if test -d .libs; then
8026 # MS-DOS does not allow filenames that begin with a dot.
8029 rmdir .libs 2>/dev/null
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8032 $as_echo "$lt_cv_objdir" >&6; }
8033 objdir=$lt_cv_objdir
8039 cat >>confdefs.h <<_ACEOF
8040 #define LT_OBJDIR "$lt_cv_objdir/"
8061 # AIX sometimes has problems with the GCC collect2 program. For some
8062 # reason, if we set the COLLECT_NAMES environment variable, the problems
8063 # vanish in a puff of smoke.
8064 if test "X${COLLECT_NAMES+set}" != Xset; then
8066 export COLLECT_NAMES
8071 # Sed substitution that helps us do robust quoting. It backslashifies
8072 # metacharacters that are still active within double-quoted strings.
8073 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8075 # Same as above, but do not quote variable references.
8076 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8078 # Sed substitution to delay expansion of an escaped shell variable in a
8079 # double_quote_subst'ed string.
8080 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8082 # Sed substitution to delay expansion of an escaped single quote.
8083 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8085 # Sed substitution to avoid accidental globbing in evaled expressions
8086 no_glob_subst='s/\*/\\\*/g'
8090 can_build_shared=yes
8092 # All known linkers require a `.a' archive for static linking (except MSVC,
8093 # which needs '.lib').
8096 with_gnu_ld="$lt_cv_prog_gnu_ld"
8099 old_CFLAGS="$CFLAGS"
8101 # Set sane defaults for various variables
8102 test -z "$CC" && CC=cc
8103 test -z "$LTCC" && LTCC=$CC
8104 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8105 test -z "$LD" && LD=ld
8106 test -z "$ac_objext" && ac_objext=o
8108 for cc_temp in $compiler""; do
8110 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8111 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8116 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8119 # Only perform the check for file, if the check method requires it
8120 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8121 case $deplibs_check_method in
8123 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8125 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8126 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8127 $as_echo_n "(cached) " >&6
8131 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8134 lt_save_MAGIC_CMD="$MAGIC_CMD"
8135 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8136 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8137 for ac_dir in $ac_dummy; do
8139 test -z "$ac_dir" && ac_dir=.
8140 if test -f $ac_dir/${ac_tool_prefix}file; then
8141 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8142 if test -n "$file_magic_test_file"; then
8143 case $deplibs_check_method in
8145 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8146 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8147 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8148 $EGREP "$file_magic_regex" > /dev/null; then
8153 *** Warning: the command libtool uses to detect shared libraries,
8154 *** $file_magic_cmd, produces output that libtool cannot recognize.
8155 *** The result is that libtool may fail to recognize shared libraries
8156 *** as such. This will affect the creation of libtool libraries that
8157 *** depend on shared libraries, but programs linked with such libtool
8158 *** libraries will work regardless of this problem. Nevertheless, you
8159 *** may want to report the problem to your system manager and/or to
8160 *** bug-libtool@gnu.org
8170 MAGIC_CMD="$lt_save_MAGIC_CMD"
8175 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8176 if test -n "$MAGIC_CMD"; then
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8178 $as_echo "$MAGIC_CMD" >&6; }
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8181 $as_echo "no" >&6; }
8188 if test -z "$lt_cv_path_MAGIC_CMD"; then
8189 if test -n "$ac_tool_prefix"; then
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8191 $as_echo_n "checking for file... " >&6; }
8192 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8193 $as_echo_n "(cached) " >&6
8197 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8200 lt_save_MAGIC_CMD="$MAGIC_CMD"
8201 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8202 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8203 for ac_dir in $ac_dummy; do
8205 test -z "$ac_dir" && ac_dir=.
8206 if test -f $ac_dir/file; then
8207 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8208 if test -n "$file_magic_test_file"; then
8209 case $deplibs_check_method in
8211 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8212 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8213 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8214 $EGREP "$file_magic_regex" > /dev/null; then
8219 *** Warning: the command libtool uses to detect shared libraries,
8220 *** $file_magic_cmd, produces output that libtool cannot recognize.
8221 *** The result is that libtool may fail to recognize shared libraries
8222 *** as such. This will affect the creation of libtool libraries that
8223 *** depend on shared libraries, but programs linked with such libtool
8224 *** libraries will work regardless of this problem. Nevertheless, you
8225 *** may want to report the problem to your system manager and/or to
8226 *** bug-libtool@gnu.org
8236 MAGIC_CMD="$lt_save_MAGIC_CMD"
8241 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8242 if test -n "$MAGIC_CMD"; then
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8244 $as_echo "$MAGIC_CMD" >&6; }
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8247 $as_echo "no" >&6; }
8260 # Use C for the default configuration in the libtool script
8264 ac_cpp='$CPP $CPPFLAGS'
8265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8270 # Source file extension for C test sources.
8273 # Object file extension for compiled C test sources.
8277 # Code to be used in simple compile tests
8278 lt_simple_compile_test_code="int some_variable = 0;"
8280 # Code to be used in simple link tests
8281 lt_simple_link_test_code='int main(){return(0);}'
8289 # If no C compiler was specified, use CC.
8292 # If no C compiler flags were specified, use CFLAGS.
8293 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8295 # Allow CC to be a program name with arguments.
8298 # Save the default compiler, since it gets overwritten when the other
8299 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8300 compiler_DEFAULT=$CC
8302 # save warnings/boilerplate of simple test code
8303 ac_outfile=conftest.$ac_objext
8304 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8305 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8306 _lt_compiler_boilerplate=`cat conftest.err`
8309 ac_outfile=conftest.$ac_objext
8310 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8311 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8312 _lt_linker_boilerplate=`cat conftest.err`
8317 ## There is no encapsulation within the following macros, do not change
8318 ## the running order or otherwise move them around unless you know exactly
8319 ## what you are doing...
8320 if test -n "$compiler"; then
8322 lt_prog_compiler_no_builtin_flag=
8324 if test "$GCC" = yes; then
8325 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8328 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8329 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8330 $as_echo_n "(cached) " >&6
8332 lt_cv_prog_compiler_rtti_exceptions=no
8333 ac_outfile=conftest.$ac_objext
8334 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8335 lt_compiler_flag="-fno-rtti -fno-exceptions"
8336 # Insert the option either (1) after the last *FLAGS variable, or
8337 # (2) before a word containing "conftest.", or (3) at the end.
8338 # Note that $ac_compile itself does not contain backslashes and begins
8339 # with a dollar sign (not a hyphen), so the echo should work correctly.
8340 # The option is referenced via a variable to avoid confusing sed.
8341 lt_compile=`echo "$ac_compile" | $SED \
8342 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8343 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8344 -e 's:$: $lt_compiler_flag:'`
8345 (eval echo "\"\$as_me:8345: $lt_compile\"" >&5)
8346 (eval "$lt_compile" 2>conftest.err)
8348 cat conftest.err >&5
8349 echo "$as_me:8349: \$? = $ac_status" >&5
8350 if (exit $ac_status) && test -s "$ac_outfile"; then
8351 # The compiler can only warn and ignore the option if not recognized
8352 # So say no if there are warnings other than the usual output.
8353 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8354 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8355 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8356 lt_cv_prog_compiler_rtti_exceptions=yes
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8363 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8365 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8366 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8378 lt_prog_compiler_wl=
8379 lt_prog_compiler_pic=
8380 lt_prog_compiler_static=
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8383 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8385 if test "$GCC" = yes; then
8386 lt_prog_compiler_wl='-Wl,'
8387 lt_prog_compiler_static='-static'
8391 # All AIX code is PIC.
8392 if test "$host_cpu" = ia64; then
8393 # AIX 5 now supports IA64 processor
8394 lt_prog_compiler_static='-Bstatic'
8401 # see comment about AmigaOS4 .so support
8402 lt_prog_compiler_pic='-fPIC'
8405 # FIXME: we need at least 68020 code to build shared libraries, but
8406 # adding the `-m68020' flag to GCC prevents building anything better,
8408 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8413 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8414 # PIC is the default for these OSes.
8417 mingw* | cygwin* | pw32* | os2* | cegcc*)
8418 # This hack is so that the source file can tell whether it is being
8419 # built for inclusion in a dll (and should export symbols for example).
8420 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8421 # (--disable-auto-import) libraries
8422 lt_prog_compiler_pic='-DDLL_EXPORT'
8425 darwin* | rhapsody*)
8426 # PIC is the default on this platform
8427 # Common symbols not allowed in MH_DYLIB files
8428 lt_prog_compiler_pic='-fno-common'
8432 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8433 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8434 # sets the default TLS model and affects inlining.
8440 lt_prog_compiler_pic='-fPIC'
8446 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8447 # Instead, we relocate shared libraries at runtime.
8451 # Just because we use GCC doesn't mean we suddenly get shared libraries
8452 # on systems that don't support them.
8453 lt_prog_compiler_can_build_shared=no
8458 # QNX uses GNU C++, but need to define -shared option too, otherwise
8460 lt_prog_compiler_pic='-fPIC -shared'
8464 if test -d /usr/nec; then
8465 lt_prog_compiler_pic=-Kconform_pic
8470 lt_prog_compiler_pic='-fPIC'
8474 # PORTME Check for flag to pass linker flags through the system compiler.
8477 lt_prog_compiler_wl='-Wl,'
8478 if test "$host_cpu" = ia64; then
8479 # AIX 5 now supports IA64 processor
8480 lt_prog_compiler_static='-Bstatic'
8482 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8486 mingw* | cygwin* | pw32* | os2* | cegcc*)
8487 # This hack is so that the source file can tell whether it is being
8488 # built for inclusion in a dll (and should export symbols for example).
8489 lt_prog_compiler_pic='-DDLL_EXPORT'
8492 hpux9* | hpux10* | hpux11*)
8493 lt_prog_compiler_wl='-Wl,'
8494 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8501 lt_prog_compiler_pic='+Z'
8504 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8505 lt_prog_compiler_static='${wl}-a ${wl}archive'
8508 irix5* | irix6* | nonstopux*)
8509 lt_prog_compiler_wl='-Wl,'
8510 # PIC (with -KPIC) is the default.
8511 lt_prog_compiler_static='-non_shared'
8514 linux* | k*bsd*-gnu)
8515 case $cc_basename in
8516 # old Intel for x86_64 which still supported -KPIC.
8518 lt_prog_compiler_wl='-Wl,'
8519 lt_prog_compiler_pic='-KPIC'
8520 lt_prog_compiler_static='-static'
8522 # icc used to be incompatible with GCC.
8523 # ICC 10 doesn't accept -KPIC any more.
8525 lt_prog_compiler_wl='-Wl,'
8526 lt_prog_compiler_pic='-fPIC'
8527 lt_prog_compiler_static='-static'
8529 # Lahey Fortran 8.1.
8531 lt_prog_compiler_wl='-Wl,'
8532 lt_prog_compiler_pic='--shared'
8533 lt_prog_compiler_static='--static'
8535 pgcc* | pgf77* | pgf90* | pgf95*)
8536 # Portland Group compilers (*not* the Pentium gcc compiler,
8537 # which looks to be a dead project)
8538 lt_prog_compiler_wl='-Wl,'
8539 lt_prog_compiler_pic='-fpic'
8540 lt_prog_compiler_static='-Bstatic'
8543 lt_prog_compiler_wl='-Wl,'
8544 # All Alpha code is PIC.
8545 lt_prog_compiler_static='-non_shared'
8548 # IBM XL C 8.0/Fortran 10.1 on PPC
8549 lt_prog_compiler_wl='-Wl,'
8550 lt_prog_compiler_pic='-qpic'
8551 lt_prog_compiler_static='-qstaticlink'
8554 case `$CC -V 2>&1 | sed 5q` in
8557 lt_prog_compiler_pic='-KPIC'
8558 lt_prog_compiler_static='-Bstatic'
8559 lt_prog_compiler_wl='-Wl,'
8562 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8563 lt_prog_compiler_pic='-KPIC'
8564 lt_prog_compiler_static='-Bstatic'
8565 lt_prog_compiler_wl=''
8573 lt_prog_compiler_pic='-KPIC'
8574 lt_prog_compiler_static='-Bstatic'
8578 # QNX uses GNU C++, but need to define -shared option too, otherwise
8580 lt_prog_compiler_pic='-fPIC -shared'
8583 osf3* | osf4* | osf5*)
8584 lt_prog_compiler_wl='-Wl,'
8585 # All OSF/1 code is PIC.
8586 lt_prog_compiler_static='-non_shared'
8590 lt_prog_compiler_static='-non_shared'
8594 lt_prog_compiler_pic='-KPIC'
8595 lt_prog_compiler_static='-Bstatic'
8596 case $cc_basename in
8598 lt_prog_compiler_wl='-Qoption ld ';;
8600 lt_prog_compiler_wl='-Wl,';;
8605 lt_prog_compiler_wl='-Qoption ld '
8606 lt_prog_compiler_pic='-PIC'
8607 lt_prog_compiler_static='-Bstatic'
8610 sysv4 | sysv4.2uw2* | sysv4.3*)
8611 lt_prog_compiler_wl='-Wl,'
8612 lt_prog_compiler_pic='-KPIC'
8613 lt_prog_compiler_static='-Bstatic'
8617 if test -d /usr/nec ;then
8618 lt_prog_compiler_pic='-Kconform_pic'
8619 lt_prog_compiler_static='-Bstatic'
8623 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8624 lt_prog_compiler_wl='-Wl,'
8625 lt_prog_compiler_pic='-KPIC'
8626 lt_prog_compiler_static='-Bstatic'
8630 lt_prog_compiler_wl='-Wl,'
8631 lt_prog_compiler_can_build_shared=no
8635 lt_prog_compiler_pic='-pic'
8636 lt_prog_compiler_static='-Bstatic'
8640 lt_prog_compiler_can_build_shared=no
8646 # For platforms which do not support PIC, -DPIC is meaningless:
8648 lt_prog_compiler_pic=
8651 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8655 $as_echo "$lt_prog_compiler_pic" >&6; }
8663 # Check to make sure the PIC flag actually works.
8665 if test -n "$lt_prog_compiler_pic"; then
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8667 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8668 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8669 $as_echo_n "(cached) " >&6
8671 lt_cv_prog_compiler_pic_works=no
8672 ac_outfile=conftest.$ac_objext
8673 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8674 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8675 # Insert the option either (1) after the last *FLAGS variable, or
8676 # (2) before a word containing "conftest.", or (3) at the end.
8677 # Note that $ac_compile itself does not contain backslashes and begins
8678 # with a dollar sign (not a hyphen), so the echo should work correctly.
8679 # The option is referenced via a variable to avoid confusing sed.
8680 lt_compile=`echo "$ac_compile" | $SED \
8681 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8682 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8683 -e 's:$: $lt_compiler_flag:'`
8684 (eval echo "\"\$as_me:8684: $lt_compile\"" >&5)
8685 (eval "$lt_compile" 2>conftest.err)
8687 cat conftest.err >&5
8688 echo "$as_me:8688: \$? = $ac_status" >&5
8689 if (exit $ac_status) && test -s "$ac_outfile"; then
8690 # The compiler can only warn and ignore the option if not recognized
8691 # So say no if there are warnings other than the usual output.
8692 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8693 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8694 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8695 lt_cv_prog_compiler_pic_works=yes
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8702 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8704 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8705 case $lt_prog_compiler_pic in
8707 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8710 lt_prog_compiler_pic=
8711 lt_prog_compiler_can_build_shared=no
8722 # Check to make sure the static flag actually works.
8724 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8726 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8727 if ${lt_cv_prog_compiler_static_works+:} false; then :
8728 $as_echo_n "(cached) " >&6
8730 lt_cv_prog_compiler_static_works=no
8731 save_LDFLAGS="$LDFLAGS"
8732 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8733 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8734 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8735 # The linker can only warn and ignore the option if not recognized
8736 # So say no if there are warnings
8737 if test -s conftest.err; then
8738 # Append any errors to the config.log.
8739 cat conftest.err 1>&5
8740 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8741 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8742 if diff conftest.exp conftest.er2 >/dev/null; then
8743 lt_cv_prog_compiler_static_works=yes
8746 lt_cv_prog_compiler_static_works=yes
8750 LDFLAGS="$save_LDFLAGS"
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8754 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8756 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8759 lt_prog_compiler_static=
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8769 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8770 if ${lt_cv_prog_compiler_c_o+:} false; then :
8771 $as_echo_n "(cached) " >&6
8773 lt_cv_prog_compiler_c_o=no
8774 $RM -r conftest 2>/dev/null
8778 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8780 lt_compiler_flag="-o out/conftest2.$ac_objext"
8781 # Insert the option either (1) after the last *FLAGS variable, or
8782 # (2) before a word containing "conftest.", or (3) at the end.
8783 # Note that $ac_compile itself does not contain backslashes and begins
8784 # with a dollar sign (not a hyphen), so the echo should work correctly.
8785 lt_compile=`echo "$ac_compile" | $SED \
8786 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8787 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8788 -e 's:$: $lt_compiler_flag:'`
8789 (eval echo "\"\$as_me:8789: $lt_compile\"" >&5)
8790 (eval "$lt_compile" 2>out/conftest.err)
8792 cat out/conftest.err >&5
8793 echo "$as_me:8793: \$? = $ac_status" >&5
8794 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8796 # The compiler can only warn and ignore the option if not recognized
8797 # So say no if there are warnings
8798 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8799 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8800 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8801 lt_cv_prog_compiler_c_o=yes
8806 # SGI C++ compiler will create directory out/ii_files/ for
8807 # template instantiation
8808 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8809 $RM out/* && rmdir out
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8816 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8824 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8825 if ${lt_cv_prog_compiler_c_o+:} false; then :
8826 $as_echo_n "(cached) " >&6
8828 lt_cv_prog_compiler_c_o=no
8829 $RM -r conftest 2>/dev/null
8833 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8835 lt_compiler_flag="-o out/conftest2.$ac_objext"
8836 # Insert the option either (1) after the last *FLAGS variable, or
8837 # (2) before a word containing "conftest.", or (3) at the end.
8838 # Note that $ac_compile itself does not contain backslashes and begins
8839 # with a dollar sign (not a hyphen), so the echo should work correctly.
8840 lt_compile=`echo "$ac_compile" | $SED \
8841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8843 -e 's:$: $lt_compiler_flag:'`
8844 (eval echo "\"\$as_me:8844: $lt_compile\"" >&5)
8845 (eval "$lt_compile" 2>out/conftest.err)
8847 cat out/conftest.err >&5
8848 echo "$as_me:8848: \$? = $ac_status" >&5
8849 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8851 # The compiler can only warn and ignore the option if not recognized
8852 # So say no if there are warnings
8853 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8854 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8855 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8856 lt_cv_prog_compiler_c_o=yes
8861 # SGI C++ compiler will create directory out/ii_files/ for
8862 # template instantiation
8863 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8864 $RM out/* && rmdir out
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8871 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8876 hard_links="nottested"
8877 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8878 # do not overwrite the value of need_locks provided by the user
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8880 $as_echo_n "checking if we can lock with hard links... " >&6; }
8883 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8885 ln conftest.a conftest.b 2>&5 || hard_links=no
8886 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8888 $as_echo "$hard_links" >&6; }
8889 if test "$hard_links" = no; then
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8891 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8904 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8907 allow_undefined_flag=
8908 always_export_symbols=no
8910 archive_expsym_cmds=
8911 compiler_needs_object=no
8912 enable_shared_with_static_runtimes=no
8913 export_dynamic_flag_spec=
8914 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8915 hardcode_automatic=no
8917 hardcode_direct_absolute=no
8918 hardcode_libdir_flag_spec=
8919 hardcode_libdir_flag_spec_ld=
8920 hardcode_libdir_separator=
8922 hardcode_shlibpath_var=unsupported
8924 link_all_deplibs=unknown
8927 old_archive_from_new_cmds=
8928 old_archive_from_expsyms_cmds=
8929 thread_safe_flag_spec=
8930 whole_archive_flag_spec=
8931 # include_expsyms should be a list of space-separated symbols to be *always*
8932 # included in the symbol list
8934 # exclude_expsyms can be an extended regexp of symbols to exclude
8935 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8936 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8937 # as well as any symbol that contains `d'.
8938 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8939 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8940 # platforms (ab)use it in PIC code, but their linkers get confused if
8941 # the symbol is explicitly referenced. Since portable code cannot
8942 # rely on this symbol name, it's probably fine to never include it in
8943 # preloaded symbol tables.
8944 # Exclude shared library initialization/finalization symbols.
8945 extract_expsyms_cmds=
8948 cygwin* | mingw* | pw32* | cegcc*)
8949 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8950 # When not using gcc, we currently assume that we are using
8951 # Microsoft Visual C++.
8952 if test "$GCC" != yes; then
8957 # we just hope/assume this is gcc and not c89 (= MSVC++)
8966 if test "$with_gnu_ld" = yes; then
8967 # If archive_cmds runs LD, not CC, wlarc should be empty
8970 # Set some defaults for GNU ld with shared library support. These
8971 # are reset later if shared libraries are not supported. Putting them
8972 # here allows them to be overridden if necessary.
8973 runpath_var=LD_RUN_PATH
8974 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8975 export_dynamic_flag_spec='${wl}--export-dynamic'
8976 # ancient GNU ld didn't support --whole-archive et. al.
8977 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8978 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8980 whole_archive_flag_spec=
8982 supports_anon_versioning=no
8983 case `$LD -v 2>&1` in
8984 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8985 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8986 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8987 *\ 2.11.*) ;; # other 2.11 versions
8988 *) supports_anon_versioning=yes ;;
8991 # See if GNU ld supports shared libraries.
8994 # On AIX/PPC, the GNU linker is very broken
8995 if test "$host_cpu" != ia64; then
8999 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9000 *** to be unable to reliably create shared libraries on AIX.
9001 *** Therefore, libtool is disabling shared libraries support. If you
9002 *** really care for shared libraries, you may want to modify your PATH
9003 *** so that a non-GNU linker is found, and then restart.
9012 # see comment about AmigaOS4 .so support
9013 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9014 archive_expsym_cmds=''
9017 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)'
9018 hardcode_libdir_flag_spec='-L$libdir'
9019 hardcode_minus_L=yes
9025 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9026 allow_undefined_flag=unsupported
9027 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9028 # support --undefined. This deserves some investigation. FIXME
9029 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9035 cygwin* | mingw* | pw32* | cegcc*)
9036 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9037 # as there is no search path for DLLs.
9038 hardcode_libdir_flag_spec='-L$libdir'
9039 allow_undefined_flag=unsupported
9040 always_export_symbols=no
9041 enable_shared_with_static_runtimes=yes
9042 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9044 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9045 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9046 # If the export-symbols file already is a .def file (1st line
9047 # is EXPORTS), use it as is; otherwise, prepend...
9048 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9049 cp $export_symbols $output_objdir/$soname.def;
9051 echo EXPORTS > $output_objdir/$soname.def;
9052 cat $export_symbols >> $output_objdir/$soname.def;
9054 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9062 hardcode_shlibpath_var=no
9063 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9064 export_dynamic_flag_spec='${wl}-E'
9065 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9066 # Instead, shared libraries are loaded at an image base (0x10000000 by
9067 # default) and relocated if they conflict, which is a slow very memory
9068 # consuming and fragmenting process. To avoid this, we pick a random,
9069 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9070 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9071 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9072 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'
9075 gnu* | linux* | tpf* | k*bsd*-gnu)
9077 if test "$host_os" = linux-dietlibc; then
9078 case $cc_basename in
9079 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9082 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9083 && test "$tmp_diet" = no
9086 tmp_sharedflag='-shared'
9087 case $cc_basename,$host_cpu in
9088 pgcc*) # Portland Group C compiler
9089 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'
9090 tmp_addflag=' $pic_flag'
9092 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9093 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'
9094 tmp_addflag=' $pic_flag -Mnomain' ;;
9095 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9096 tmp_addflag=' -i_dynamic' ;;
9097 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9098 tmp_addflag=' -i_dynamic -nofor_main' ;;
9099 ifc* | ifort*) # Intel Fortran compiler
9100 tmp_addflag=' -nofor_main' ;;
9101 lf95*) # Lahey Fortran 8.1
9102 whole_archive_flag_spec=
9103 tmp_sharedflag='--shared' ;;
9104 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9105 tmp_sharedflag='-qmkshrobj'
9108 case `$CC -V 2>&1 | sed 5q` in
9109 *Sun\ C*) # Sun C 5.9
9110 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'
9111 compiler_needs_object=yes
9112 tmp_sharedflag='-G' ;;
9113 *Sun\ F*) # Sun Fortran 8.3
9114 tmp_sharedflag='-G' ;;
9116 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9118 if test "x$supports_anon_versioning" = xyes; then
9119 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9120 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9121 echo "local: *; };" >> $output_objdir/$libname.ver~
9122 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9125 case $cc_basename in
9127 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9128 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9129 hardcode_libdir_flag_spec=
9130 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9131 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9132 if test "x$supports_anon_versioning" = xyes; then
9133 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9134 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9135 echo "local: *; };" >> $output_objdir/$libname.ver~
9136 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9146 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9147 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9150 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9151 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9156 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9160 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9161 *** create shared libraries on Solaris systems. Therefore, libtool
9162 *** is disabling shared libraries support. We urge you to upgrade GNU
9163 *** binutils to release 2.9.1 or newer. Another option is to modify
9164 *** your PATH or compiler configuration so that the native linker is
9165 *** used, and then restart.
9168 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9169 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9170 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9176 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9177 case `$LD -v 2>&1` in
9178 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9182 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9183 *** reliably create shared libraries on SCO systems. Therefore, libtool
9184 *** is disabling shared libraries support. We urge you to upgrade GNU
9185 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9186 *** your PATH or compiler configuration so that the native linker is
9187 *** used, and then restart.
9192 # For security reasons, it is highly recommended that you always
9193 # use absolute paths for naming shared libraries, and exclude the
9194 # DT_RUNPATH tag from executables and libraries. But doing so
9195 # requires that you compile everything twice, which is a pain.
9196 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9197 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9198 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9199 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9208 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9211 hardcode_shlibpath_var=no
9215 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9216 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9217 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9224 if test "$ld_shlibs" = no; then
9226 hardcode_libdir_flag_spec=
9227 export_dynamic_flag_spec=
9228 whole_archive_flag_spec=
9231 # PORTME fill in a description of your system's linker (not GNU ld)
9234 allow_undefined_flag=unsupported
9235 always_export_symbols=yes
9236 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'
9237 # Note: this linker hardcodes the directories in LIBPATH if there
9238 # are no directories specified by -L.
9239 hardcode_minus_L=yes
9240 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9241 # Neither direct hardcoding nor static linking is supported with a
9243 hardcode_direct=unsupported
9248 if test "$host_cpu" = ia64; then
9249 # On IA64, the linker does run time linking by default, so we don't
9250 # have to do anything special.
9251 aix_use_runtimelinking=no
9252 exp_sym_flag='-Bexport'
9255 # If we're using GNU nm, then we don't want the "-C" option.
9256 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9257 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9258 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'
9260 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'
9262 aix_use_runtimelinking=no
9264 # Test if we are trying to use run time linking or normal
9265 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9266 # need to do runtime linking.
9267 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9268 for ld_flag in $LDFLAGS; do
9269 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9270 aix_use_runtimelinking=yes
9277 exp_sym_flag='-bexport'
9278 no_entry_flag='-bnoentry'
9281 # When large executables or shared objects are built, AIX ld can
9282 # have problems creating the table of contents. If linking a library
9283 # or program results in "error TOC overflow" add -mminimal-toc to
9284 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9285 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9289 hardcode_direct_absolute=yes
9290 hardcode_libdir_separator=':'
9291 link_all_deplibs=yes
9292 file_list_spec='${wl}-f,'
9294 if test "$GCC" = yes; then
9295 case $host_os in aix4.[012]|aix4.[012].*)
9296 # We only want to do this on AIX 4.2 and lower, the check
9297 # below for broken collect2 doesn't work under 4.3+
9298 collect2name=`${CC} -print-prog-name=collect2`
9299 if test -f "$collect2name" &&
9300 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9302 # We have reworked collect2
9305 # We have old collect2
9306 hardcode_direct=unsupported
9307 # It fails to find uninstalled libraries when the uninstalled
9308 # path is not listed in the libpath. Setting hardcode_minus_L
9309 # to unsupported forces relinking
9310 hardcode_minus_L=yes
9311 hardcode_libdir_flag_spec='-L$libdir'
9312 hardcode_libdir_separator=
9316 shared_flag='-shared'
9317 if test "$aix_use_runtimelinking" = yes; then
9318 shared_flag="$shared_flag "'${wl}-G'
9322 if test "$host_cpu" = ia64; then
9323 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9324 # chokes on -Wl,-G. The following line is correct:
9327 if test "$aix_use_runtimelinking" = yes; then
9328 shared_flag='${wl}-G'
9330 shared_flag='${wl}-bM:SRE'
9335 export_dynamic_flag_spec='${wl}-bexpall'
9336 # It seems that -bexpall does not export symbols beginning with
9337 # underscore (_), so it is better to generate a list of symbols to export.
9338 always_export_symbols=yes
9339 if test "$aix_use_runtimelinking" = yes; then
9340 # Warning - without using the other runtime loading flags (-brtl),
9341 # -berok will link without error, but may produce a broken library.
9342 allow_undefined_flag='-berok'
9343 # Determine the default libpath from the value encoded in an
9345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9356 if ac_fn_c_try_link "$LINENO"; then :
9358 lt_aix_libpath_sed='
9359 /Import File Strings/,/^$/ {
9365 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9366 # Check for a 64-bit object if we didn't find anything.
9367 if test -z "$aix_libpath"; then
9368 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9371 rm -f core conftest.err conftest.$ac_objext \
9372 conftest$ac_exeext conftest.$ac_ext
9373 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9375 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9376 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"
9378 if test "$host_cpu" = ia64; then
9379 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9380 allow_undefined_flag="-z nodefs"
9381 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"
9383 # Determine the default libpath from the value encoded in an
9385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9386 /* end confdefs.h. */
9396 if ac_fn_c_try_link "$LINENO"; then :
9398 lt_aix_libpath_sed='
9399 /Import File Strings/,/^$/ {
9405 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9406 # Check for a 64-bit object if we didn't find anything.
9407 if test -z "$aix_libpath"; then
9408 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9411 rm -f core conftest.err conftest.$ac_objext \
9412 conftest$ac_exeext conftest.$ac_ext
9413 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9415 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9416 # Warning - without using the other run time loading flags,
9417 # -berok will link without error, but may produce a broken library.
9418 no_undefined_flag=' ${wl}-bernotok'
9419 allow_undefined_flag=' ${wl}-berok'
9420 # Exported symbols can be pulled into shared objects from archives
9421 whole_archive_flag_spec='$convenience'
9422 archive_cmds_need_lc=yes
9423 # This is similar to how AIX traditionally builds its shared libraries.
9424 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'
9432 # see comment about AmigaOS4 .so support
9433 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9434 archive_expsym_cmds=''
9437 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)'
9438 hardcode_libdir_flag_spec='-L$libdir'
9439 hardcode_minus_L=yes
9445 export_dynamic_flag_spec=-rdynamic
9448 cygwin* | mingw* | pw32* | cegcc*)
9449 # When not using gcc, we currently assume that we are using
9450 # Microsoft Visual C++.
9451 # hardcode_libdir_flag_spec is actually meaningless, as there is
9452 # no search path for DLLs.
9453 hardcode_libdir_flag_spec=' '
9454 allow_undefined_flag=unsupported
9455 # Tell ltmain to make .lib files, not .a files.
9457 # Tell ltmain to make .dll files, not .so files.
9459 # FIXME: Setting linknames here is a bad hack.
9460 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9461 # The linker will automatically build a .lib file if we build a DLL.
9462 old_archive_from_new_cmds='true'
9463 # FIXME: Should let the user specify the lib program.
9464 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9465 fix_srcfile_path='`cygpath -w "$srcfile"`'
9466 enable_shared_with_static_runtimes=yes
9469 darwin* | rhapsody*)
9472 archive_cmds_need_lc=no
9474 hardcode_automatic=yes
9475 hardcode_shlibpath_var=unsupported
9476 whole_archive_flag_spec=''
9477 link_all_deplibs=yes
9478 allow_undefined_flag="$_lt_dar_allow_undefined"
9479 case $cc_basename in
9480 ifort*) _lt_dar_can_shared=yes ;;
9481 *) _lt_dar_can_shared=$GCC ;;
9483 if test "$_lt_dar_can_shared" = "yes"; then
9484 output_verbose_link_cmd=echo
9485 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9486 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9487 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}"
9488 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}"
9497 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9498 hardcode_libdir_flag_spec='-L$libdir'
9499 hardcode_shlibpath_var=no
9506 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9507 # support. Future versions do this automatically, but an explicit c++rt0.o
9508 # does not break anything, and helps significantly (at the cost of a little
9511 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9512 hardcode_libdir_flag_spec='-R$libdir'
9514 hardcode_shlibpath_var=no
9517 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9519 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9521 hardcode_minus_L=yes
9522 hardcode_shlibpath_var=no
9525 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9526 freebsd* | dragonfly*)
9527 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9528 hardcode_libdir_flag_spec='-R$libdir'
9530 hardcode_shlibpath_var=no
9534 if test "$GCC" = yes; then
9535 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'
9537 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'
9539 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9540 hardcode_libdir_separator=:
9543 # hardcode_minus_L: Not really in the search PATH,
9544 # but as the default location of the library.
9545 hardcode_minus_L=yes
9546 export_dynamic_flag_spec='${wl}-E'
9550 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9551 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9553 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9555 if test "$with_gnu_ld" = no; then
9556 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9557 hardcode_libdir_flag_spec_ld='+b $libdir'
9558 hardcode_libdir_separator=:
9560 hardcode_direct_absolute=yes
9561 export_dynamic_flag_spec='${wl}-E'
9562 # hardcode_minus_L: Not really in the search PATH,
9563 # but as the default location of the library.
9564 hardcode_minus_L=yes
9569 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9572 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9575 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9578 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9584 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9587 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9590 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9594 if test "$with_gnu_ld" = no; then
9595 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9596 hardcode_libdir_separator=:
9601 hardcode_shlibpath_var=no
9605 hardcode_direct_absolute=yes
9606 export_dynamic_flag_spec='${wl}-E'
9608 # hardcode_minus_L: Not really in the search PATH,
9609 # but as the default location of the library.
9610 hardcode_minus_L=yes
9616 irix5* | irix6* | nonstopux*)
9617 if test "$GCC" = yes; then
9618 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'
9619 # Try to use the -exported_symbol ld option, if it does not
9620 # work, assume that -exports_file does not work either and
9621 # implicitly export all symbols.
9622 save_LDFLAGS="$LDFLAGS"
9623 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9625 /* end confdefs.h. */
9628 if ac_fn_c_try_link "$LINENO"; then :
9629 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'
9632 rm -f core conftest.err conftest.$ac_objext \
9633 conftest$ac_exeext conftest.$ac_ext
9634 LDFLAGS="$save_LDFLAGS"
9636 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'
9637 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'
9639 archive_cmds_need_lc='no'
9640 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9641 hardcode_libdir_separator=:
9643 link_all_deplibs=yes
9647 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9648 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9650 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9652 hardcode_libdir_flag_spec='-R$libdir'
9654 hardcode_shlibpath_var=no
9658 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9660 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9661 hardcode_libdir_separator=:
9662 hardcode_shlibpath_var=no
9669 if test -f /usr/libexec/ld.so; then
9671 hardcode_shlibpath_var=no
9672 hardcode_direct_absolute=yes
9673 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9674 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9675 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9676 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9677 export_dynamic_flag_spec='${wl}-E'
9680 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9681 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9682 hardcode_libdir_flag_spec='-R$libdir'
9685 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9686 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9696 hardcode_libdir_flag_spec='-L$libdir'
9697 hardcode_minus_L=yes
9698 allow_undefined_flag=unsupported
9699 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'
9700 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9704 if test "$GCC" = yes; then
9705 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9706 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'
9708 allow_undefined_flag=' -expect_unresolved \*'
9709 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'
9711 archive_cmds_need_lc='no'
9712 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9713 hardcode_libdir_separator=:
9716 osf4* | osf5*) # as osf3* with the addition of -msym flag
9717 if test "$GCC" = yes; then
9718 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9719 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'
9720 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9722 allow_undefined_flag=' -expect_unresolved \*'
9723 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'
9724 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~
9725 $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'
9727 # Both c and cxx compiler support -rpath directly
9728 hardcode_libdir_flag_spec='-rpath $libdir'
9730 archive_cmds_need_lc='no'
9731 hardcode_libdir_separator=:
9735 no_undefined_flag=' -z defs'
9736 if test "$GCC" = yes; then
9738 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9739 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9740 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9742 case `$CC -V 2>&1` in
9745 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9746 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9747 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9751 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9752 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9753 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9757 hardcode_libdir_flag_spec='-R$libdir'
9758 hardcode_shlibpath_var=no
9760 solaris2.[0-5] | solaris2.[0-5].*) ;;
9762 # The compiler driver will combine and reorder linker options,
9763 # but understands `-z linker_flag'. GCC discards it without `$wl',
9764 # but is careful enough not to reorder.
9765 # Supported since Solaris 2.6 (maybe 2.5.1?)
9766 if test "$GCC" = yes; then
9767 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9769 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9773 link_all_deplibs=yes
9777 if test "x$host_vendor" = xsequent; then
9778 # Use $CC to link under sequent, because it throws in some extra .o
9779 # files that make .init and .fini sections work.
9780 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9782 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9784 hardcode_libdir_flag_spec='-L$libdir'
9786 hardcode_minus_L=yes
9787 hardcode_shlibpath_var=no
9791 case $host_vendor in
9793 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9794 hardcode_direct=yes # is this really true???
9797 ## LD is ld it makes a PLAMLIB
9798 ## CC just makes a GrossModule.
9799 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9800 reload_cmds='$CC -r -o $output$reload_objs'
9804 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9805 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9808 runpath_var='LD_RUN_PATH'
9809 hardcode_shlibpath_var=no
9813 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9814 hardcode_shlibpath_var=no
9815 export_dynamic_flag_spec='-Bexport'
9819 if test -d /usr/nec; then
9820 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9821 hardcode_shlibpath_var=no
9822 runpath_var=LD_RUN_PATH
9823 hardcode_runpath_var=yes
9828 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9829 no_undefined_flag='${wl}-z,text'
9830 archive_cmds_need_lc=no
9831 hardcode_shlibpath_var=no
9832 runpath_var='LD_RUN_PATH'
9834 if test "$GCC" = yes; then
9835 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9836 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9838 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9839 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9843 sysv5* | sco3.2v5* | sco5v6*)
9844 # Note: We can NOT use -z defs as we might desire, because we do not
9845 # link with -lc, and that would cause any symbols used from libc to
9846 # always be unresolved, which means just about no library would
9847 # ever link correctly. If we're not using GNU ld we use -z text
9848 # though, which does catch some bad symbols but isn't as heavy-handed
9850 no_undefined_flag='${wl}-z,text'
9851 allow_undefined_flag='${wl}-z,nodefs'
9852 archive_cmds_need_lc=no
9853 hardcode_shlibpath_var=no
9854 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9855 hardcode_libdir_separator=':'
9856 link_all_deplibs=yes
9857 export_dynamic_flag_spec='${wl}-Bexport'
9858 runpath_var='LD_RUN_PATH'
9860 if test "$GCC" = yes; then
9861 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9862 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9864 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9865 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9870 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9871 hardcode_libdir_flag_spec='-L$libdir'
9872 hardcode_shlibpath_var=no
9880 if test x$host_vendor = xsni; then
9882 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9883 export_dynamic_flag_spec='${wl}-Blargedynsym'
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9890 $as_echo "$ld_shlibs" >&6; }
9891 test "$ld_shlibs" = no && can_build_shared=no
9893 with_gnu_ld=$with_gnu_ld
9910 # Do we need to explicitly link libc?
9912 case "x$archive_cmds_need_lc" in
9914 # Assume -lc should be added
9915 archive_cmds_need_lc=yes
9917 if test "$enable_shared" = yes && test "$GCC" = yes; then
9918 case $archive_cmds in
9920 # FIXME: we may have to deal with multi-command sequences.
9923 # Test whether the compiler implicitly links with -lc since on some
9924 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9925 # to ld, don't add -lc before -lgcc.
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9927 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9929 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9931 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9932 (eval $ac_compile) 2>&5
9934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9935 test $ac_status = 0; } 2>conftest.err; then
9938 libobjs=conftest.$ac_objext
9940 wl=$lt_prog_compiler_wl
9941 pic_flag=$lt_prog_compiler_pic
9947 lt_save_allow_undefined_flag=$allow_undefined_flag
9948 allow_undefined_flag=
9949 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9950 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9953 test $ac_status = 0; }
9955 archive_cmds_need_lc=no
9957 archive_cmds_need_lc=yes
9959 allow_undefined_flag=$lt_save_allow_undefined_flag
9961 cat conftest.err 1>&5
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9965 $as_echo "$archive_cmds_need_lc" >&6; }
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10129 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10131 if test "$GCC" = yes; then
10133 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10134 *) lt_awk_arg="/^libraries:/" ;;
10136 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10137 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10138 # if the path contains ";" then we assume it to be the separator
10139 # otherwise default to the standard path separator (i.e. ":") - it is
10140 # assumed that no part of a normal pathname contains ";" but that should
10141 # okay in the real world where ";" in dirpaths is itself problematic.
10142 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10144 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10146 # Ok, now we have the path, separated by spaces, we can step through it
10147 # and add multilib dir if necessary.
10148 lt_tmp_lt_search_path_spec=
10149 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10150 for lt_sys_path in $lt_search_path_spec; do
10151 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10152 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10154 test -d "$lt_sys_path" && \
10155 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10158 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10159 BEGIN {RS=" "; FS="/|\n";} {
10162 for (lt_i = NF; lt_i > 0; lt_i--) {
10163 if ($lt_i != "" && $lt_i != ".") {
10164 if ($lt_i == "..") {
10167 if (lt_count == 0) {
10168 lt_foo="/" $lt_i lt_foo;
10175 if (lt_foo != "") { lt_freq[lt_foo]++; }
10176 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10178 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10180 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10182 library_names_spec=
10183 libname_spec='lib$name'
10187 postuninstall_cmds=
10191 shlibpath_overrides_runpath=unknown
10193 dynamic_linker="$host_os ld.so"
10194 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10195 need_lib_prefix=unknown
10196 hardcode_into_libs=no
10198 # when you set need_version to no, make sure it does not cause -set_version
10199 # flags to be left without arguments
10200 need_version=unknown
10205 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10206 shlibpath_var=LIBPATH
10208 # AIX 3 has no versioning support, so we append a major version to the name.
10209 soname_spec='${libname}${release}${shared_ext}$major'
10216 hardcode_into_libs=yes
10217 if test "$host_cpu" = ia64; then
10218 # AIX 5 supports IA64
10219 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10220 shlibpath_var=LD_LIBRARY_PATH
10222 # With GCC up to 2.95.x, collect2 would create an import file
10223 # for dependence libraries. The import file would start with
10224 # the line `#! .'. This would cause the generated library to
10225 # depend on `.', always an invalid library. This was fixed in
10226 # development snapshots of GCC prior to 3.0.
10228 aix4 | aix4.[01] | aix4.[01].*)
10229 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10231 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10234 can_build_shared=no
10238 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10239 # soname into executable. Probably we can add versioning support to
10240 # collect2, so additional links can be useful in future.
10241 if test "$aix_use_runtimelinking" = yes; then
10242 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10243 # instead of lib<name>.a to let people know that these are not
10244 # typical AIX shared libraries.
10245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10247 # We preserve .a as extension for shared libraries through AIX4.2
10248 # and later when we are not doing run time linking.
10249 library_names_spec='${libname}${release}.a $libname.a'
10250 soname_spec='${libname}${release}${shared_ext}$major'
10252 shlibpath_var=LIBPATH
10259 # Since July 2007 AmigaOS4 officially supports .so libraries.
10260 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10261 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10264 library_names_spec='$libname.ixlibrary $libname.a'
10265 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10266 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'
10272 library_names_spec='${libname}${shared_ext}'
10273 dynamic_linker="$host_os ld.so"
10274 shlibpath_var=LIBRARY_PATH
10280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10281 soname_spec='${libname}${release}${shared_ext}$major'
10282 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10283 shlibpath_var=LD_LIBRARY_PATH
10284 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10285 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10286 # the default ld.so.conf also contains /usr/contrib/lib and
10287 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10288 # libtool to hard-code these into programs
10291 cygwin* | mingw* | pw32* | cegcc*)
10292 version_type=windows
10297 case $GCC,$host_os in
10298 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10299 library_names_spec='$libname.dll.a'
10300 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10301 postinstall_cmds='base_file=`basename \${file}`~
10302 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10303 dldir=$destdir/`dirname \$dlpath`~
10304 test -d \$dldir || mkdir -p \$dldir~
10305 $install_prog $dir/$dlname \$dldir/$dlname~
10306 chmod a+x \$dldir/$dlname~
10307 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10308 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10310 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10311 dlpath=$dir/\$dldll~
10313 shlibpath_overrides_runpath=yes
10317 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10318 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10319 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10322 # MinGW DLLs use traditional 'lib' prefix
10323 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10324 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10325 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10326 # It is most probably a Windows format PATH printed by
10327 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10328 # path with ; separators, and with drive letters. We can handle the
10329 # drive letters (cygwin fileutils understands them), so leave them,
10330 # especially as we might pass files found there to a mingw objdump,
10331 # which wouldn't understand a cygwinified path. Ahh.
10332 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10334 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10338 # pw32 DLLs use 'pw' prefix rather than 'lib'
10339 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10345 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10348 dynamic_linker='Win32 ld.exe'
10349 # FIXME: first we should search . and the directory the executable is in
10353 darwin* | rhapsody*)
10354 dynamic_linker="$host_os dyld"
10355 version_type=darwin
10358 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10359 soname_spec='${libname}${release}${major}$shared_ext'
10360 shlibpath_overrides_runpath=yes
10361 shlibpath_var=DYLD_LIBRARY_PATH
10362 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10364 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10365 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10373 soname_spec='${libname}${release}${shared_ext}$major'
10374 shlibpath_var=LD_LIBRARY_PATH
10381 freebsd* | dragonfly*)
10382 # DragonFly does not have aout. When/if they implement a new
10383 # versioning mechanism, adjust this.
10384 if test -x /usr/bin/objformat; then
10385 objformat=`/usr/bin/objformat`
10388 freebsd[123]*) objformat=aout ;;
10389 *) objformat=elf ;;
10392 version_type=freebsd-$objformat
10393 case $version_type in
10395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10400 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10404 shlibpath_var=LD_LIBRARY_PATH
10407 shlibpath_overrides_runpath=yes
10409 freebsd3.[01]* | freebsdelf3.[01]*)
10410 shlibpath_overrides_runpath=yes
10411 hardcode_into_libs=yes
10413 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10414 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10415 shlibpath_overrides_runpath=no
10416 hardcode_into_libs=yes
10418 *) # from 4.6 on, and DragonFly
10419 shlibpath_overrides_runpath=yes
10420 hardcode_into_libs=yes
10429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10430 soname_spec='${libname}${release}${shared_ext}$major'
10431 shlibpath_var=LD_LIBRARY_PATH
10432 hardcode_into_libs=yes
10435 hpux9* | hpux10* | hpux11*)
10436 # Give a soname corresponding to the major version so that dld.sl refuses to
10437 # link against other versions.
10444 hardcode_into_libs=yes
10445 dynamic_linker="$host_os dld.so"
10446 shlibpath_var=LD_LIBRARY_PATH
10447 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10449 soname_spec='${libname}${release}${shared_ext}$major'
10450 if test "X$HPUX_IA64_MODE" = X32; then
10451 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10453 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10455 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10459 hardcode_into_libs=yes
10460 dynamic_linker="$host_os dld.sl"
10461 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10462 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10464 soname_spec='${libname}${release}${shared_ext}$major'
10465 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10466 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10470 dynamic_linker="$host_os dld.sl"
10471 shlibpath_var=SHLIB_PATH
10472 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10474 soname_spec='${libname}${release}${shared_ext}$major'
10477 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10478 postinstall_cmds='chmod 555 $lib'
10485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10486 soname_spec='${libname}${release}${shared_ext}$major'
10487 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10488 shlibpath_var=LD_LIBRARY_PATH
10489 shlibpath_overrides_runpath=no
10490 hardcode_into_libs=yes
10493 irix5* | irix6* | nonstopux*)
10495 nonstopux*) version_type=nonstopux ;;
10497 if test "$lt_cv_prog_gnu_ld" = yes; then
10505 soname_spec='${libname}${release}${shared_ext}$major'
10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10508 irix5* | nonstopux*)
10509 libsuff= shlibsuff=
10512 case $LD in # libtool.m4 will add one of these switches to LD
10513 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10514 libsuff= shlibsuff= libmagic=32-bit;;
10515 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10516 libsuff=32 shlibsuff=N32 libmagic=N32;;
10517 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10518 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10519 *) libsuff= shlibsuff= libmagic=never-match;;
10523 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10524 shlibpath_overrides_runpath=no
10525 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10526 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10527 hardcode_into_libs=yes
10530 # No shared lib support for Linux oldld, aout, or coff.
10531 linux*oldld* | linux*aout* | linux*coff*)
10535 # This must be Linux ELF.
10536 linux* | k*bsd*-gnu)
10540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10541 soname_spec='${libname}${release}${shared_ext}$major'
10542 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10543 shlibpath_var=LD_LIBRARY_PATH
10544 shlibpath_overrides_runpath=no
10545 # Some binutils ld are patched to set DT_RUNPATH
10546 save_LDFLAGS=$LDFLAGS
10547 save_libdir=$libdir
10548 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10549 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10551 /* end confdefs.h. */
10561 if ac_fn_c_try_link "$LINENO"; then :
10562 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10563 shlibpath_overrides_runpath=yes
10566 rm -f core conftest.err conftest.$ac_objext \
10567 conftest$ac_exeext conftest.$ac_ext
10568 LDFLAGS=$save_LDFLAGS
10569 libdir=$save_libdir
10571 # This implies no fast_install, which is unacceptable.
10572 # Some rework will be needed to allow for fast_install
10573 # before this can be enabled.
10574 hardcode_into_libs=yes
10576 # Append ld.so.conf contents to the search path
10577 if test -f /etc/ld.so.conf; then
10578 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' ' '`
10579 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10582 # We used to test for /lib/ld.so.1 and disable shared libraries on
10583 # powerpc, because MkLinux only supported shared libraries with the
10584 # GNU dynamic linker. Since this was broken with cross compilers,
10585 # most powerpc-linux boxes support dynamic linking these days and
10586 # people can always --disable-shared, the test was removed, and we
10587 # assume the GNU/Linux dynamic linker is in use.
10588 dynamic_linker='GNU/Linux ld.so'
10595 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10597 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10598 dynamic_linker='NetBSD (a.out) ld.so'
10600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10601 soname_spec='${libname}${release}${shared_ext}$major'
10602 dynamic_linker='NetBSD ld.elf_so'
10604 shlibpath_var=LD_LIBRARY_PATH
10605 shlibpath_overrides_runpath=yes
10606 hardcode_into_libs=yes
10611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10612 shlibpath_var=LD_LIBRARY_PATH
10613 shlibpath_overrides_runpath=yes
10620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10621 soname_spec='${libname}${release}${shared_ext}$major'
10622 shlibpath_var=LD_LIBRARY_PATH
10623 shlibpath_overrides_runpath=no
10624 hardcode_into_libs=yes
10625 dynamic_linker='ldqnx.so'
10630 sys_lib_dlsearch_path_spec="/usr/lib"
10632 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10634 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10635 *) need_version=no ;;
10637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10638 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10639 shlibpath_var=LD_LIBRARY_PATH
10640 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10642 openbsd2.[89] | openbsd2.[89].*)
10643 shlibpath_overrides_runpath=no
10646 shlibpath_overrides_runpath=yes
10650 shlibpath_overrides_runpath=yes
10655 libname_spec='$name'
10658 library_names_spec='$libname${shared_ext} $libname.a'
10659 dynamic_linker='OS/2 ld.exe'
10660 shlibpath_var=LIBPATH
10663 osf3* | osf4* | osf5*)
10667 soname_spec='${libname}${release}${shared_ext}$major'
10668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10669 shlibpath_var=LD_LIBRARY_PATH
10670 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10671 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10683 soname_spec='${libname}${release}${shared_ext}$major'
10684 shlibpath_var=LD_LIBRARY_PATH
10685 shlibpath_overrides_runpath=yes
10686 hardcode_into_libs=yes
10687 # ldd complains unless libraries are executable
10688 postinstall_cmds='chmod +x $lib'
10693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10694 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10695 shlibpath_var=LD_LIBRARY_PATH
10696 shlibpath_overrides_runpath=yes
10697 if test "$with_gnu_ld" = yes; then
10705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10706 soname_spec='${libname}${release}${shared_ext}$major'
10707 shlibpath_var=LD_LIBRARY_PATH
10708 case $host_vendor in
10710 shlibpath_overrides_runpath=no
10712 runpath_var=LD_RUN_PATH
10720 shlibpath_overrides_runpath=no
10721 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10727 if test -d /usr/nec ;then
10729 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10730 soname_spec='$libname${shared_ext}.$major'
10731 shlibpath_var=LD_LIBRARY_PATH
10735 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10736 version_type=freebsd-elf
10739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10740 soname_spec='${libname}${release}${shared_ext}$major'
10741 shlibpath_var=LD_LIBRARY_PATH
10742 shlibpath_overrides_runpath=yes
10743 hardcode_into_libs=yes
10744 if test "$with_gnu_ld" = yes; then
10745 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10747 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10750 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10754 sys_lib_dlsearch_path_spec='/usr/lib'
10758 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10763 shlibpath_var=LD_LIBRARY_PATH
10764 shlibpath_overrides_runpath=no
10765 hardcode_into_libs=yes
10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10771 soname_spec='${libname}${release}${shared_ext}$major'
10772 shlibpath_var=LD_LIBRARY_PATH
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10780 $as_echo "$dynamic_linker" >&6; }
10781 test "$dynamic_linker" = no && can_build_shared=no
10783 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10784 if test "$GCC" = yes; then
10785 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10788 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10789 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10791 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10792 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10882 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10884 if test -n "$hardcode_libdir_flag_spec" ||
10885 test -n "$runpath_var" ||
10886 test "X$hardcode_automatic" = "Xyes" ; then
10888 # We can hardcode non-existent directories.
10889 if test "$hardcode_direct" != no &&
10890 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10891 # have to relink, otherwise we might link with an installed library
10892 # when we should be linking with a yet-to-be-installed one
10893 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10894 test "$hardcode_minus_L" != no; then
10895 # Linking always hardcodes the temporary library directory.
10896 hardcode_action=relink
10898 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10899 hardcode_action=immediate
10902 # We cannot hardcode anything, or else we can only hardcode existing
10904 hardcode_action=unsupported
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10907 $as_echo "$hardcode_action" >&6; }
10909 if test "$hardcode_action" = relink ||
10910 test "$inherit_rpath" = yes; then
10911 # Fast installation is not supported
10912 enable_fast_install=no
10913 elif test "$shlibpath_overrides_runpath" = yes ||
10914 test "$enable_shared" = no; then
10915 # Fast installation is not necessary
10916 enable_fast_install=needless
10924 if test "x$enable_dlopen" != xyes; then
10925 enable_dlopen=unknown
10926 enable_dlopen_self=unknown
10927 enable_dlopen_self_static=unknown
10934 lt_cv_dlopen="load_add_on"
10936 lt_cv_dlopen_self=yes
10939 mingw* | pw32* | cegcc*)
10940 lt_cv_dlopen="LoadLibrary"
10945 lt_cv_dlopen="dlopen"
10950 # if libdl is installed we need to link against it
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10952 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10953 if ${ac_cv_lib_dl_dlopen+:} false; then :
10954 $as_echo_n "(cached) " >&6
10956 ac_check_lib_save_LIBS=$LIBS
10958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10959 /* end confdefs.h. */
10961 /* Override any GCC internal prototype to avoid an error.
10962 Use char because int might match the return type of a GCC
10963 builtin and then its argument prototype would still apply. */
10976 if ac_fn_c_try_link "$LINENO"; then :
10977 ac_cv_lib_dl_dlopen=yes
10979 ac_cv_lib_dl_dlopen=no
10981 rm -f core conftest.err conftest.$ac_objext \
10982 conftest$ac_exeext conftest.$ac_ext
10983 LIBS=$ac_check_lib_save_LIBS
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10986 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10987 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10988 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10991 lt_cv_dlopen="dyld"
10993 lt_cv_dlopen_self=yes
11000 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11001 if test "x$ac_cv_func_shl_load" = xyes; then :
11002 lt_cv_dlopen="shl_load"
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11005 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11006 if ${ac_cv_lib_dld_shl_load+:} false; then :
11007 $as_echo_n "(cached) " >&6
11009 ac_check_lib_save_LIBS=$LIBS
11011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11012 /* end confdefs.h. */
11014 /* Override any GCC internal prototype to avoid an error.
11015 Use char because int might match the return type of a GCC
11016 builtin and then its argument prototype would still apply. */
11024 return shl_load ();
11029 if ac_fn_c_try_link "$LINENO"; then :
11030 ac_cv_lib_dld_shl_load=yes
11032 ac_cv_lib_dld_shl_load=no
11034 rm -f core conftest.err conftest.$ac_objext \
11035 conftest$ac_exeext conftest.$ac_ext
11036 LIBS=$ac_check_lib_save_LIBS
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11039 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11040 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11041 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11043 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11044 if test "x$ac_cv_func_dlopen" = xyes; then :
11045 lt_cv_dlopen="dlopen"
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11048 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11049 if ${ac_cv_lib_dl_dlopen+:} false; then :
11050 $as_echo_n "(cached) " >&6
11052 ac_check_lib_save_LIBS=$LIBS
11054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11055 /* end confdefs.h. */
11057 /* Override any GCC internal prototype to avoid an error.
11058 Use char because int might match the return type of a GCC
11059 builtin and then its argument prototype would still apply. */
11072 if ac_fn_c_try_link "$LINENO"; then :
11073 ac_cv_lib_dl_dlopen=yes
11075 ac_cv_lib_dl_dlopen=no
11077 rm -f core conftest.err conftest.$ac_objext \
11078 conftest$ac_exeext conftest.$ac_ext
11079 LIBS=$ac_check_lib_save_LIBS
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11082 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11083 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11084 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11087 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11088 if ${ac_cv_lib_svld_dlopen+:} false; then :
11089 $as_echo_n "(cached) " >&6
11091 ac_check_lib_save_LIBS=$LIBS
11092 LIBS="-lsvld $LIBS"
11093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h. */
11096 /* Override any GCC internal prototype to avoid an error.
11097 Use char because int might match the return type of a GCC
11098 builtin and then its argument prototype would still apply. */
11111 if ac_fn_c_try_link "$LINENO"; then :
11112 ac_cv_lib_svld_dlopen=yes
11114 ac_cv_lib_svld_dlopen=no
11116 rm -f core conftest.err conftest.$ac_objext \
11117 conftest$ac_exeext conftest.$ac_ext
11118 LIBS=$ac_check_lib_save_LIBS
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11121 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11122 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11123 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11126 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11127 if ${ac_cv_lib_dld_dld_link+:} false; then :
11128 $as_echo_n "(cached) " >&6
11130 ac_check_lib_save_LIBS=$LIBS
11132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11135 /* Override any GCC internal prototype to avoid an error.
11136 Use char because int might match the return type of a GCC
11137 builtin and then its argument prototype would still apply. */
11145 return dld_link ();
11150 if ac_fn_c_try_link "$LINENO"; then :
11151 ac_cv_lib_dld_dld_link=yes
11153 ac_cv_lib_dld_dld_link=no
11155 rm -f core conftest.err conftest.$ac_objext \
11156 conftest$ac_exeext conftest.$ac_ext
11157 LIBS=$ac_check_lib_save_LIBS
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11160 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11161 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11162 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11183 if test "x$lt_cv_dlopen" != xno; then
11189 case $lt_cv_dlopen in
11191 save_CPPFLAGS="$CPPFLAGS"
11192 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11194 save_LDFLAGS="$LDFLAGS"
11195 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11198 LIBS="$lt_cv_dlopen_libs $LIBS"
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11201 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11202 if ${lt_cv_dlopen_self+:} false; then :
11203 $as_echo_n "(cached) " >&6
11205 if test "$cross_compiling" = yes; then :
11206 lt_cv_dlopen_self=cross
11208 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11209 lt_status=$lt_dlunknown
11210 cat > conftest.$ac_ext <<_LT_EOF
11211 #line 11211 "configure"
11212 #include "confdefs.h"
11221 # define LT_DLGLOBAL RTLD_GLOBAL
11224 # define LT_DLGLOBAL DL_GLOBAL
11226 # define LT_DLGLOBAL 0
11230 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11231 find out it does not work in some platform. */
11232 #ifndef LT_DLLAZY_OR_NOW
11234 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11237 # define LT_DLLAZY_OR_NOW DL_LAZY
11240 # define LT_DLLAZY_OR_NOW RTLD_NOW
11243 # define LT_DLLAZY_OR_NOW DL_NOW
11245 # define LT_DLLAZY_OR_NOW 0
11252 void fnord() { int i=42;}
11255 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11256 int status = $lt_dlunknown;
11260 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11261 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11262 /* dlclose (self); */
11270 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11271 (eval $ac_link) 2>&5
11273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11274 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11275 (./conftest; exit; ) >&5 2>/dev/null
11277 case x$lt_status in
11278 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11279 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11280 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11283 # compilation failed
11284 lt_cv_dlopen_self=no
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11292 $as_echo "$lt_cv_dlopen_self" >&6; }
11294 if test "x$lt_cv_dlopen_self" = xyes; then
11295 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11297 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11298 if ${lt_cv_dlopen_self_static+:} false; then :
11299 $as_echo_n "(cached) " >&6
11301 if test "$cross_compiling" = yes; then :
11302 lt_cv_dlopen_self_static=cross
11304 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11305 lt_status=$lt_dlunknown
11306 cat > conftest.$ac_ext <<_LT_EOF
11307 #line 11307 "configure"
11308 #include "confdefs.h"
11317 # define LT_DLGLOBAL RTLD_GLOBAL
11320 # define LT_DLGLOBAL DL_GLOBAL
11322 # define LT_DLGLOBAL 0
11326 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11327 find out it does not work in some platform. */
11328 #ifndef LT_DLLAZY_OR_NOW
11330 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11333 # define LT_DLLAZY_OR_NOW DL_LAZY
11336 # define LT_DLLAZY_OR_NOW RTLD_NOW
11339 # define LT_DLLAZY_OR_NOW DL_NOW
11341 # define LT_DLLAZY_OR_NOW 0
11348 void fnord() { int i=42;}
11351 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11352 int status = $lt_dlunknown;
11356 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11357 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11358 /* dlclose (self); */
11366 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11367 (eval $ac_link) 2>&5
11369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11370 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11371 (./conftest; exit; ) >&5 2>/dev/null
11373 case x$lt_status in
11374 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11375 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11376 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11379 # compilation failed
11380 lt_cv_dlopen_self_static=no
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11388 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11391 CPPFLAGS="$save_CPPFLAGS"
11392 LDFLAGS="$save_LDFLAGS"
11397 case $lt_cv_dlopen_self in
11398 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11399 *) enable_dlopen_self=unknown ;;
11402 case $lt_cv_dlopen_self_static in
11403 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11404 *) enable_dlopen_self_static=unknown ;;
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11427 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11428 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11429 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11430 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11432 $as_echo "yes" >&6; }
11434 # FIXME - insert some real tests, host_os isn't really good enough
11437 if test -n "$STRIP" ; then
11438 striplib="$STRIP -x"
11439 old_striplib="$STRIP -S"
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11441 $as_echo "yes" >&6; }
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11444 $as_echo "no" >&6; }
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11449 $as_echo "no" >&6; }
11465 # Report which library types will actually be built
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11467 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11469 $as_echo "$can_build_shared" >&6; }
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11472 $as_echo_n "checking whether to build shared libraries... " >&6; }
11473 test "$can_build_shared" = "no" && enable_shared=no
11475 # On AIX, shared libraries and static libraries use the same namespace, and
11476 # are all built from PIC.
11479 test "$enable_shared" = yes && enable_static=no
11480 if test -n "$RANLIB"; then
11481 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11482 postinstall_cmds='$RANLIB $lib'
11487 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11488 test "$enable_shared" = yes && enable_static=no
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11493 $as_echo "$enable_shared" >&6; }
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11496 $as_echo_n "checking whether to build static libraries... " >&6; }
11497 # Make sure either enable_shared or enable_static is yes.
11498 test "$enable_shared" = yes || enable_static=yes
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11500 $as_echo "$enable_static" >&6; }
11507 ac_cpp='$CPP $CPPFLAGS'
11508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11526 ac_config_commands="$ac_config_commands libtool"
11531 # Only expand once:
11534 test ".$PACKAGE_VERSION" = "." && PACKAGE_VERSION="$VERSION"
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking out linker version info $PACKAGE_VERSION " >&5
11536 $as_echo_n "checking out linker version info $PACKAGE_VERSION ... " >&6; }
11537 MINOR_VERSION=`echo $PACKAGE_VERSION`
11538 MAJOR_VERSION=`echo "$MINOR_VERSION" | sed -e 's/[.].*//'`
11539 MINOR_VERSION=`echo "$MINOR_VERSION" | sed -e "s/^$MAJOR_VERSION//" -e 's/^.//'`
11540 MICRO_VERSION="$MINOR_VERSION"
11541 MINOR_VERSION=`echo "$MICRO_VERSION" | sed -e 's/[.].*//'`
11542 MICRO_VERSION=`echo "$MICRO_VERSION" | sed -e "s/^$MINOR_VERSION//" -e 's/^.//'`
11543 PATCH_VERSION="$MICRO_VERSION"
11544 MICRO_VERSION=`echo "$PATCH_VERSION" | sed -e 's/[^0-9].*//'`
11545 PATCH_VERSION=`echo "$PATCH_VERSION" | sed -e "s/^$MICRO_VERSION//" -e 's/[-.]//'`
11546 if test "_$MICRO_VERSION" = "_" ; then MICRO_VERSION="0" ; fi
11547 if test "_$MINOR_VERSION" = "_" ; then MINOR_VERSION="$MAJOR_VERSION" ; MAJOR_VERSION="0" ; fi
11548 MINOR_VERSION=`echo "$MINOR_VERSION" | sed -e 's/[^0-9].*//'`
11549 RELEASE_INFO="-release $MAJOR_VERSION"
11550 VERSION_INFO="-version-info $MINOR_VERSION:$MICRO_VERSION"
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: /$MAJOR_VERSION/$MINOR_VERSION:$MICRO_VERSION (-$MAJOR_VERSION.so.$MINOR_VERSION.0.$MICRO_VERSION)" >&5
11552 $as_echo "/$MAJOR_VERSION/$MINOR_VERSION:$MICRO_VERSION (-$MAJOR_VERSION.so.$MINOR_VERSION.0.$MICRO_VERSION)" >&6; }
11557 # -----------------------------------------------------------------------
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: creating zzip/_msvc.in via zzip/_msvc.sed of config.h.in" >&5
11559 $as_echo "creating zzip/_msvc.in via zzip/_msvc.sed of config.h.in" >&6; }
11560 test -d zzip || mkdir zzip
11561 sed -f $srcdir/zzip/_msvc.sed $srcdir/config.h.in >zzip/_msvc.in
11562 ac_config_headers="$ac_config_headers config.h"
11564 ac_config_commands="$ac_config_commands zzip/_config.h"
11566 ac_config_commands="$ac_config_commands zzip/_msvc.h"
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11570 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11571 # Check whether --enable-maintainer-mode was given.
11572 if test "${enable_maintainer_mode+set}" = set; then :
11573 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
11575 USE_MAINTAINER_MODE=no
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11579 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11580 if test $USE_MAINTAINER_MODE = yes; then
11581 MAINTAINER_MODE_TRUE=
11582 MAINTAINER_MODE_FALSE='#'
11584 MAINTAINER_MODE_TRUE='#'
11585 MAINTAINER_MODE_FALSE=
11588 MAINT=$MAINTAINER_MODE_TRUE
11593 # we need the expanded forms...
11594 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11595 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5
11598 $as_echo_n "checking our pkgconfig libname... " >&6; }
11599 test ".$ax_create_pkgconfig_libname" != "." || \
11600 ax_create_pkgconfig_libname="`basename zzip/zziplib.pc .pc`"
11601 test ".$ax_create_pkgconfig_libname" != "." || \
11602 ax_create_pkgconfig_libname="$PACKAGE"
11603 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
11604 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5
11606 $as_echo "$ax_create_pkgconfig_libname" >&6; }
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5
11609 $as_echo_n "checking our pkgconfig version... " >&6; }
11610 test ".$ax_create_pkgconfig_version" != "." || \
11611 ax_create_pkgconfig_version="${PACKAGE_VERSION}"
11612 test ".$ax_create_pkgconfig_version" != "." || \
11613 ax_create_pkgconfig_version="$VERSION"
11614 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
11615 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5
11617 $as_echo "$ax_create_pkgconfig_version" >&6; }
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5
11620 $as_echo_n "checking our pkgconfig_libdir... " >&6; }
11621 test ".$pkgconfig_libdir" = "." && \
11622 pkgconfig_libdir='${libdir}/pkgconfig'
11623 ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"`
11624 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
11625 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5
11627 $as_echo "$pkgconfig_libdir" >&6; }
11628 test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
11630 $as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5
11634 $as_echo_n "checking our pkgconfig_libfile... " >&6; }
11635 test ".$pkgconfig_libfile" != "." || \
11636 pkgconfig_libfile="`basename zzip/zziplib.pc`"
11637 ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"`
11638 ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"`
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5
11640 $as_echo "$pkgconfig_libfile" >&6; }
11641 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
11643 $as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5
11647 $as_echo_n "checking our package / suffix... " >&6; }
11648 ax_create_pkgconfig_suffix="$program_suffix"
11649 test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix=""
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
11651 $as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5
11654 $as_echo_n "checking our pkgconfig description... " >&6; }
11655 ax_create_pkgconfig_description="$PACKAGE_SUMMARY"
11656 test ".$ax_create_pkgconfig_description" != "." || \
11657 ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library"
11658 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
11659 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5
11661 $as_echo "$ax_create_pkgconfig_description" >&6; }
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5
11664 $as_echo_n "checking our pkgconfig requires... " >&6; }
11665 ax_create_pkgconfig_requires="zzip-zlib-config"
11666 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
11667 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5
11669 $as_echo "$ax_create_pkgconfig_requires" >&6; }
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5
11672 $as_echo_n "checking our pkgconfig ext libs... " >&6; }
11673 ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
11674 test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
11675 ax_create_pkgconfig_libs="-lzzip"
11676 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
11677 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5
11679 $as_echo "$ax_create_pkgconfig_libs" >&6; }
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5
11682 $as_echo_n "checking our pkgconfig cppflags... " >&6; }
11683 ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS"
11684 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
11685 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5
11687 $as_echo "$ax_create_pkgconfig_cppflags" >&6; }
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags" >&5
11690 $as_echo_n "checking our pkgconfig ldflags... " >&6; }
11691 ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS"
11692 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
11693 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_ldflags" >&5
11695 $as_echo "$ax_create_pkgconfig_ldflags" >&6; }
11697 test ".$ax_create_pkgconfig_generate" != "." || \
11698 ax_create_pkgconfig_generate="zzip/zziplib.pc"
11699 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
11700 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
11701 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5
11703 $as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; })
11705 if test ".$ax_create_pkgconfig_src_libdir" = "." ; then
11706 ax_create_pkgconfig_src_libdir=`pwd`
11707 ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
11708 $as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11709 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
11710 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
11711 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
11712 $as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
11713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11717 /^X\(\/\/\)[^/].*/{
11730 test ! -d $ax_create_pkgconfig_src_libdir/src || \
11731 ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src"
11733 *libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5
11735 $as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; }
11738 if test ".$ax_create_pkgconfig_src_headers" = "." ; then
11739 ax_create_pkgconfig_src_headers=`pwd`
11740 v="$ac_top_srcdir" ;
11741 test ".$v" != "." || v="$ax_spec_dir"
11742 test ".$v" != "." || v="$srcdir"
11743 case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac
11744 ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" ||
11745 $as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11746 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \
11747 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \
11748 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null ||
11749 $as_echo X"$ax_create_pkgconfig_src_headers/$v/x" |
11750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11754 /^X\(\/\/\)[^/].*/{
11767 test ! -d $ax_create_pkgconfig_src_headers/include || \
11768 ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include"
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5
11770 $as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; }
11774 ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
11776 # -----------------------------------------------------------------------
11779 if test -z "$ac_cv_pax_tar_tool"; then
11780 # Extract the first word of "pax", so it can be a program name with args.
11781 set dummy pax; ac_word=$2
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11783 $as_echo_n "checking for $ac_word... " >&6; }
11784 if ${ac_cv_path_PAX+:} false; then :
11785 $as_echo_n "(cached) " >&6
11789 ac_cv_path_PAX="$PAX" # Let the user override the test with a path.
11792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11793 for as_dir in $PATH
11796 test -z "$as_dir" && as_dir=.
11797 for ac_exec_ext in '' $ac_executable_extensions; do
11798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11799 ac_cv_path_PAX="$as_dir/$ac_word$ac_exec_ext"
11800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11807 test -z "$ac_cv_path_PAX" && ac_cv_path_PAX=":"
11811 PAX=$ac_cv_path_PAX
11812 if test -n "$PAX"; then
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PAX" >&5
11814 $as_echo "$PAX" >&6; }
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11817 $as_echo "no" >&6; }
11821 if test "$ac_cv_path_PAX" != ":"; then
11822 ac_cv_pax_tar_tool="pax"
11824 # Extract the first word of "gnutar", so it can be a program name with args.
11825 set dummy gnutar; ac_word=$2
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11827 $as_echo_n "checking for $ac_word... " >&6; }
11828 if ${ac_cv_path_GNUTAR+:} false; then :
11829 $as_echo_n "(cached) " >&6
11833 ac_cv_path_GNUTAR="$GNUTAR" # Let the user override the test with a path.
11836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11837 for as_dir in $PATH
11840 test -z "$as_dir" && as_dir=.
11841 for ac_exec_ext in '' $ac_executable_extensions; do
11842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11843 ac_cv_path_GNUTAR="$as_dir/$ac_word$ac_exec_ext"
11844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11851 test -z "$ac_cv_path_GNUTAR" && ac_cv_path_GNUTAR=":"
11855 GNUTAR=$ac_cv_path_GNUTAR
11856 if test -n "$GNUTAR"; then
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
11858 $as_echo "$GNUTAR" >&6; }
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11861 $as_echo "no" >&6; }
11865 if test "$ac_cv_path_GNUTAR" != ":"; then
11866 ac_cv_pax_tar_tool="gnutar"
11868 # Extract the first word of "gtar", so it can be a program name with args.
11869 set dummy gtar; ac_word=$2
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11871 $as_echo_n "checking for $ac_word... " >&6; }
11872 if ${ac_cv_path_GTAR+:} false; then :
11873 $as_echo_n "(cached) " >&6
11877 ac_cv_path_GTAR="$GTAR" # Let the user override the test with a path.
11880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11881 for as_dir in $PATH
11884 test -z "$as_dir" && as_dir=.
11885 for ac_exec_ext in '' $ac_executable_extensions; do
11886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11887 ac_cv_path_GTAR="$as_dir/$ac_word$ac_exec_ext"
11888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11895 test -z "$ac_cv_path_GTAR" && ac_cv_path_GTAR=":"
11899 GTAR=$ac_cv_path_GTAR
11900 if test -n "$GTAR"; then
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTAR" >&5
11902 $as_echo "$GTAR" >&6; }
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11905 $as_echo "no" >&6; }
11909 if test "$ac_cv_path_GTAR" != ":"; then
11910 ac_cv_pax_tar_tool="gtar"
11912 # Extract the first word of "tar", so it can be a program name with args.
11913 set dummy tar; ac_word=$2
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11915 $as_echo_n "checking for $ac_word... " >&6; }
11916 if ${ac_cv_path_TAR+:} false; then :
11917 $as_echo_n "(cached) " >&6
11921 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
11924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11925 for as_dir in $PATH
11928 test -z "$as_dir" && as_dir=.
11929 for ac_exec_ext in '' $ac_executable_extensions; do
11930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11931 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
11932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11939 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR=":"
11943 TAR=$ac_cv_path_TAR
11944 if test -n "$TAR"; then
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
11946 $as_echo "$TAR" >&6; }
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11949 $as_echo "no" >&6; }
11953 if test "$ac_cv_path_TAR" != ":"; then
11954 ac_cv_pax_tar_tool="tar"
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for portable tar tool" >&5
11958 $as_echo_n "checking for portable tar tool... " >&6; }
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pax_tar_tool" >&5
11960 $as_echo "$ac_cv_pax_tar_tool" >&6; }
11964 if test "$ac_cv_pax_tar_tool$ax_pax_single_archive" = "pax"; then
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pax single archive option" >&5
11966 $as_echo_n "checking for pax single archive option... " >&6; }
11967 echo foo > conftest.txt ; rm -f conftest.tar
11968 { { $as_echo "$as_me:${as_lineno-$LINENO}: \"\$ac_cv_path_PAX\" -w -O -f conftest.tar conftest.txt"; } >&5
11969 ("$ac_cv_path_PAX" -w -O -f conftest.tar conftest.txt) 2>&5
11971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11972 test $ac_status = 0; }
11973 if test -s conftest.tar; then
11974 ax_pax_single_archive="-O" ; ac_hint="(probably a BSD pax)"
11976 ax_pax_single_archive=" " ; ac_hint="(the -O option did not work)"
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pax_single_archive $ac_hint" >&5
11979 $as_echo "$ax_pax_single_archive $ac_hint" >&6; }
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for command to create portable tar archives" >&5
11983 $as_echo_n "checking for command to create portable tar archives... " >&6; }
11984 if test "$ac_cv_pax_tar_tool" = "gnutar"; then
11985 ax_pax_tar_create="'$ac_cv_path_GNUTAR' cf"
11986 elif test "$ac_cv_pax_tar_tool" = "gtar"; then
11987 ax_pax_tar_create="'$ac_cv_path_GTAR' cf"
11988 elif test "$ac_cv_pax_tar_tool" = "pax"; then
11989 ax_pax_tar_create="'$ac_cv_path_PAX' -w $ax_pax_single_archive -f"
11990 elif test "$ac_cv_pax_tar_tool" = "tar"; then
11991 ax_pax_tar_create="'$ac_cv_path_TAR' cf"
11993 ax_pax_tar_create=": 'unknown pax tar tool $ac_cv_pax_tar_tool'"
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pax_tar_create" >&5
11996 $as_echo "$ax_pax_tar_create" >&6; }
11998 PAX_TAR_CREATE="$ax_pax_tar_create"
12004 if test -z "$ac_cv_pax_tar_tool"; then
12005 # Extract the first word of "pax", so it can be a program name with args.
12006 set dummy pax; ac_word=$2
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12008 $as_echo_n "checking for $ac_word... " >&6; }
12009 if ${ac_cv_path_PAX+:} false; then :
12010 $as_echo_n "(cached) " >&6
12014 ac_cv_path_PAX="$PAX" # Let the user override the test with a path.
12017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12018 for as_dir in $PATH
12021 test -z "$as_dir" && as_dir=.
12022 for ac_exec_ext in '' $ac_executable_extensions; do
12023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12024 ac_cv_path_PAX="$as_dir/$ac_word$ac_exec_ext"
12025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12032 test -z "$ac_cv_path_PAX" && ac_cv_path_PAX=":"
12036 PAX=$ac_cv_path_PAX
12037 if test -n "$PAX"; then
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PAX" >&5
12039 $as_echo "$PAX" >&6; }
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12042 $as_echo "no" >&6; }
12046 if test "$ac_cv_path_PAX" != ":"; then
12047 ac_cv_pax_tar_tool="pax"
12049 # Extract the first word of "gnutar", so it can be a program name with args.
12050 set dummy gnutar; ac_word=$2
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12052 $as_echo_n "checking for $ac_word... " >&6; }
12053 if ${ac_cv_path_GNUTAR+:} false; then :
12054 $as_echo_n "(cached) " >&6
12058 ac_cv_path_GNUTAR="$GNUTAR" # Let the user override the test with a path.
12061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12062 for as_dir in $PATH
12065 test -z "$as_dir" && as_dir=.
12066 for ac_exec_ext in '' $ac_executable_extensions; do
12067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12068 ac_cv_path_GNUTAR="$as_dir/$ac_word$ac_exec_ext"
12069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12076 test -z "$ac_cv_path_GNUTAR" && ac_cv_path_GNUTAR=":"
12080 GNUTAR=$ac_cv_path_GNUTAR
12081 if test -n "$GNUTAR"; then
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
12083 $as_echo "$GNUTAR" >&6; }
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12086 $as_echo "no" >&6; }
12090 if test "$ac_cv_path_GNUTAR" != ":"; then
12091 ac_cv_pax_tar_tool="gnutar"
12093 # Extract the first word of "gtar", so it can be a program name with args.
12094 set dummy gtar; ac_word=$2
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12096 $as_echo_n "checking for $ac_word... " >&6; }
12097 if ${ac_cv_path_GTAR+:} false; then :
12098 $as_echo_n "(cached) " >&6
12102 ac_cv_path_GTAR="$GTAR" # Let the user override the test with a path.
12105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12106 for as_dir in $PATH
12109 test -z "$as_dir" && as_dir=.
12110 for ac_exec_ext in '' $ac_executable_extensions; do
12111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12112 ac_cv_path_GTAR="$as_dir/$ac_word$ac_exec_ext"
12113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12120 test -z "$ac_cv_path_GTAR" && ac_cv_path_GTAR=":"
12124 GTAR=$ac_cv_path_GTAR
12125 if test -n "$GTAR"; then
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTAR" >&5
12127 $as_echo "$GTAR" >&6; }
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12130 $as_echo "no" >&6; }
12134 if test "$ac_cv_path_GTAR" != ":"; then
12135 ac_cv_pax_tar_tool="gtar"
12137 # Extract the first word of "tar", so it can be a program name with args.
12138 set dummy tar; ac_word=$2
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12140 $as_echo_n "checking for $ac_word... " >&6; }
12141 if ${ac_cv_path_TAR+:} false; then :
12142 $as_echo_n "(cached) " >&6
12146 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
12149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12150 for as_dir in $PATH
12153 test -z "$as_dir" && as_dir=.
12154 for ac_exec_ext in '' $ac_executable_extensions; do
12155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12156 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
12157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12164 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR=":"
12168 TAR=$ac_cv_path_TAR
12169 if test -n "$TAR"; then
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
12171 $as_echo "$TAR" >&6; }
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12174 $as_echo "no" >&6; }
12178 if test "$ac_cv_path_TAR" != ":"; then
12179 ac_cv_pax_tar_tool="tar"
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for portable tar tool" >&5
12183 $as_echo_n "checking for portable tar tool... " >&6; }
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pax_tar_tool" >&5
12185 $as_echo "$ac_cv_pax_tar_tool" >&6; }
12189 if test "$ac_cv_pax_tar_tool$ax_pax_single_archive" = "pax"; then
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pax single archive option" >&5
12191 $as_echo_n "checking for pax single archive option... " >&6; }
12192 echo foo > conftest.txt ; rm -f conftest.tar
12193 { { $as_echo "$as_me:${as_lineno-$LINENO}: \"\$ac_cv_path_PAX\" -w -O -f conftest.tar conftest.txt"; } >&5
12194 ("$ac_cv_path_PAX" -w -O -f conftest.tar conftest.txt) 2>&5
12196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12197 test $ac_status = 0; }
12198 if test -s conftest.tar; then
12199 ax_pax_single_archive="-O" ; ac_hint="(probably a BSD pax)"
12201 ax_pax_single_archive=" " ; ac_hint="(the -O option did not work)"
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pax_single_archive $ac_hint" >&5
12204 $as_echo "$ax_pax_single_archive $ac_hint" >&6; }
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for command to extract portable tar archives" >&5
12208 $as_echo_n "checking for command to extract portable tar archives... " >&6; }
12209 if test "$ac_cv_pax_tar_tool" = "gnutar"; then
12210 ax_pax_tar_extract="'$ac_cv_path_GNUTAR' xf"
12211 elif test "$ac_cv_pax_tar_tool" = "gtar"; then
12212 ax_pax_tar_extract="'$ac_cv_path_GTAR' xf"
12213 elif test "$ac_cv_pax_tar_tool" = "pax"; then
12214 ax_pax_tar_extract="'$ac_cv_path_PAX' -r $ax_pax_single_archive -f"
12215 elif test "$ac_cv_pax_tar_tool" = "tar"; then
12216 ax_pax_tar_extract="'$ac_cv_path_TAR' xf"
12218 ax_pax_tar_extract=": 'unknown pax tar tool $ac_cv_pax_tar_tool'"
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pax_tar_extract" >&5
12221 $as_echo "$ax_pax_tar_extract" >&6; }
12223 PAX_TAR_EXTRACT="$ax_pax_tar_extract"
12227 for ac_prog in perl5 perl
12229 # Extract the first word of "$ac_prog", so it can be a program name with args.
12230 set dummy $ac_prog; ac_word=$2
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12232 $as_echo_n "checking for $ac_word... " >&6; }
12233 if ${ac_cv_path_PERL+:} false; then :
12234 $as_echo_n "(cached) " >&6
12238 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
12241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12242 for as_dir in $PATH
12245 test -z "$as_dir" && as_dir=.
12246 for ac_exec_ext in '' $ac_executable_extensions; do
12247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12248 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
12249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12259 PERL=$ac_cv_path_PERL
12260 if test -n "$PERL"; then
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
12262 $as_echo "$PERL" >&6; }
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12265 $as_echo "no" >&6; }
12269 test -n "$PERL" && break
12271 test -n "$PERL" || PERL="echo no perl found for"
12273 for ac_prog in python
12275 # Extract the first word of "$ac_prog", so it can be a program name with args.
12276 set dummy $ac_prog; ac_word=$2
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12278 $as_echo_n "checking for $ac_word... " >&6; }
12279 if ${ac_cv_path_PYTHON+:} false; then :
12280 $as_echo_n "(cached) " >&6
12284 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
12287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12288 for as_dir in $PATH
12291 test -z "$as_dir" && as_dir=.
12292 for ac_exec_ext in '' $ac_executable_extensions; do
12293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12294 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
12295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12305 PYTHON=$ac_cv_path_PYTHON
12306 if test -n "$PYTHON"; then
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
12308 $as_echo "$PYTHON" >&6; }
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12311 $as_echo "no" >&6; }
12315 test -n "$PYTHON" && break
12317 test -n "$PYTHON" || PYTHON="echo no python found for"
12319 for ac_prog in zip pkzip
12321 # Extract the first word of "$ac_prog", so it can be a program name with args.
12322 set dummy $ac_prog; ac_word=$2
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12324 $as_echo_n "checking for $ac_word... " >&6; }
12325 if ${ac_cv_path_MKZIP+:} false; then :
12326 $as_echo_n "(cached) " >&6
12330 ac_cv_path_MKZIP="$MKZIP" # Let the user override the test with a path.
12333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12334 for as_dir in $PATH
12337 test -z "$as_dir" && as_dir=.
12338 for ac_exec_ext in '' $ac_executable_extensions; do
12339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12340 ac_cv_path_MKZIP="$as_dir/$ac_word$ac_exec_ext"
12341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12351 MKZIP=$ac_cv_path_MKZIP
12352 if test -n "$MKZIP"; then
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKZIP" >&5
12354 $as_echo "$MKZIP" >&6; }
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12357 $as_echo "no" >&6; }
12361 test -n "$MKZIP" && break
12363 test -n "$MKZIP" || MKZIP=":"
12365 for ac_prog in xmlto
12367 # Extract the first word of "$ac_prog", so it can be a program name with args.
12368 set dummy $ac_prog; ac_word=$2
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12370 $as_echo_n "checking for $ac_word... " >&6; }
12371 if ${ac_cv_path_XMLTO+:} false; then :
12372 $as_echo_n "(cached) " >&6
12376 ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
12379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12380 for as_dir in $PATH
12383 test -z "$as_dir" && as_dir=.
12384 for ac_exec_ext in '' $ac_executable_extensions; do
12385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12386 ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
12387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12397 XMLTO=$ac_cv_path_XMLTO
12398 if test -n "$XMLTO"; then
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
12400 $as_echo "$XMLTO" >&6; }
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12403 $as_echo "no" >&6; }
12407 test -n "$XMLTO" && break
12409 test -n "$XMLTO" || XMLTO=":"
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12413 $as_echo_n "checking for inline... " >&6; }
12414 if ${ac_cv_c_inline+:} false; then :
12415 $as_echo_n "(cached) " >&6
12418 for ac_kw in inline __inline__ __inline; do
12419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12421 #ifndef __cplusplus
12423 static $ac_kw foo_t static_foo () {return 0; }
12424 $ac_kw foo_t foo () {return 0; }
12428 if ac_fn_c_try_compile "$LINENO"; then :
12429 ac_cv_c_inline=$ac_kw
12431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12432 test "$ac_cv_c_inline" != no && break
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12437 $as_echo "$ac_cv_c_inline" >&6; }
12439 case $ac_cv_c_inline in
12442 case $ac_cv_c_inline in
12444 *) ac_val=$ac_cv_c_inline;;
12446 cat >>confdefs.h <<_ACEOF
12447 #ifndef __cplusplus
12448 #define inline $ac_val
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12455 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12456 if ${ac_cv_c_const+:} false; then :
12457 $as_echo_n "(cached) " >&6
12459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12460 /* end confdefs.h. */
12466 #ifndef __cplusplus
12467 /* Ultrix mips cc rejects this sort of thing. */
12468 typedef int charset[2];
12469 const charset cs = { 0, 0 };
12470 /* SunOS 4.1.1 cc rejects this. */
12471 char const *const *pcpcc;
12473 /* NEC SVR4.0.2 mips cc rejects this. */
12474 struct point {int x, y;};
12475 static struct point const zero = {0,0};
12476 /* AIX XL C 1.02.0.0 rejects this.
12477 It does not let you subtract one const X* pointer from another in
12478 an arm of an if-expression whose if-part is not a constant
12480 const char *g = "string";
12481 pcpcc = &g + (g ? g-g : 0);
12482 /* HPUX 7.0 cc rejects these. */
12484 ppc = (char**) pcpcc;
12485 pcpcc = (char const *const *) ppc;
12486 { /* SCO 3.2v4 cc rejects this sort of thing. */
12489 char const *s = 0 ? (char *) 0 : (char const *) 0;
12494 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12495 int x[] = {25, 17};
12496 const int *foo = &x[0];
12499 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12500 typedef const int *iptr;
12504 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12505 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12506 struct s { int j; const int *ap[3]; } bx;
12507 struct s *b = &bx; b->j = 5;
12509 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12510 const int foo = 10;
12511 if (!foo) return 0;
12513 return !cs[0] && !zero.x;
12520 if ac_fn_c_try_compile "$LINENO"; then :
12525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12528 $as_echo "$ac_cv_c_const" >&6; }
12529 if test $ac_cv_c_const = no; then
12531 $as_echo "#define const /**/" >>confdefs.h
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5
12536 $as_echo_n "checking for C restrict keyword... " >&6; }
12537 if ${acx_cv_c_restrict+:} false; then :
12538 $as_echo_n "(cached) " >&6
12540 acx_cv_c_restrict=unsupported
12543 ac_cpp='$CPP $CPPFLAGS'
12544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12548 # Try the official restrict keyword, then gcc's __restrict__, then
12549 # SGI's __restrict. __restrict has slightly different semantics than
12550 # restrict (it's a bit stronger, in that __restrict pointers can't
12551 # overlap even with non __restrict pointers), but I think it should be
12552 # okay under the circumstances where restrict is normally used.
12553 for acx_kw in restrict __restrict__ __restrict; do
12554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12555 /* end confdefs.h. */
12565 if ac_fn_c_try_compile "$LINENO"; then :
12566 acx_cv_c_restrict=$acx_kw; break
12568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12571 ac_cpp='$CPP $CPPFLAGS'
12572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_c_restrict" >&5
12579 $as_echo "$acx_cv_c_restrict" >&6; }
12580 if test "$acx_cv_c_restrict" != "restrict"; then
12581 acx_kw="$acx_cv_c_restrict"
12582 if test "$acx_kw" = unsupported; then acx_kw=""; fi
12584 cat >>confdefs.h <<_ACEOF
12585 #define restrict $acx_kw
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12591 $as_echo_n "checking for ANSI C header files... " >&6; }
12592 if ${ac_cv_header_stdc+:} false; then :
12593 $as_echo_n "(cached) " >&6
12595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12597 #include <stdlib.h>
12598 #include <stdarg.h>
12599 #include <string.h>
12610 if ac_fn_c_try_compile "$LINENO"; then :
12611 ac_cv_header_stdc=yes
12613 ac_cv_header_stdc=no
12615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12617 if test $ac_cv_header_stdc = yes; then
12618 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12620 /* end confdefs.h. */
12621 #include <string.h>
12624 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12625 $EGREP "memchr" >/dev/null 2>&1; then :
12628 ac_cv_header_stdc=no
12634 if test $ac_cv_header_stdc = yes; then
12635 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637 /* end confdefs.h. */
12638 #include <stdlib.h>
12641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12642 $EGREP "free" >/dev/null 2>&1; then :
12645 ac_cv_header_stdc=no
12651 if test $ac_cv_header_stdc = yes; then
12652 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12653 if test "$cross_compiling" = yes; then :
12656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12657 /* end confdefs.h. */
12659 #include <stdlib.h>
12660 #if ((' ' & 0x0FF) == 0x020)
12661 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12662 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12664 # define ISLOWER(c) \
12665 (('a' <= (c) && (c) <= 'i') \
12666 || ('j' <= (c) && (c) <= 'r') \
12667 || ('s' <= (c) && (c) <= 'z'))
12668 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12671 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12676 for (i = 0; i < 256; i++)
12677 if (XOR (islower (i), ISLOWER (i))
12678 || toupper (i) != TOUPPER (i))
12683 if ac_fn_c_try_run "$LINENO"; then :
12686 ac_cv_header_stdc=no
12688 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12689 conftest.$ac_objext conftest.beam conftest.$ac_ext
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12695 $as_echo "$ac_cv_header_stdc" >&6; }
12696 if test $ac_cv_header_stdc = yes; then
12698 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12702 ac_header_dirent=no
12703 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
12704 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
12706 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
12707 if eval \${$as_ac_Header+:} false; then :
12708 $as_echo_n "(cached) " >&6
12710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12711 /* end confdefs.h. */
12712 #include <sys/types.h>
12724 if ac_fn_c_try_compile "$LINENO"; then :
12725 eval "$as_ac_Header=yes"
12727 eval "$as_ac_Header=no"
12729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12731 eval ac_res=\$$as_ac_Header
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12733 $as_echo "$ac_res" >&6; }
12734 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12735 cat >>confdefs.h <<_ACEOF
12736 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
12739 ac_header_dirent=$ac_hdr; break
12743 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
12744 if test $ac_header_dirent = dirent.h; then
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12746 $as_echo_n "checking for library containing opendir... " >&6; }
12747 if ${ac_cv_search_opendir+:} false; then :
12748 $as_echo_n "(cached) " >&6
12750 ac_func_search_save_LIBS=$LIBS
12751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12754 /* Override any GCC internal prototype to avoid an error.
12755 Use char because int might match the return type of a GCC
12756 builtin and then its argument prototype would still apply. */
12769 for ac_lib in '' dir; do
12770 if test -z "$ac_lib"; then
12771 ac_res="none required"
12774 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12776 if ac_fn_c_try_link "$LINENO"; then :
12777 ac_cv_search_opendir=$ac_res
12779 rm -f core conftest.err conftest.$ac_objext \
12781 if ${ac_cv_search_opendir+:} false; then :
12785 if ${ac_cv_search_opendir+:} false; then :
12788 ac_cv_search_opendir=no
12790 rm conftest.$ac_ext
12791 LIBS=$ac_func_search_save_LIBS
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12794 $as_echo "$ac_cv_search_opendir" >&6; }
12795 ac_res=$ac_cv_search_opendir
12796 if test "$ac_res" != no; then :
12797 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12803 $as_echo_n "checking for library containing opendir... " >&6; }
12804 if ${ac_cv_search_opendir+:} false; then :
12805 $as_echo_n "(cached) " >&6
12807 ac_func_search_save_LIBS=$LIBS
12808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12809 /* end confdefs.h. */
12811 /* Override any GCC internal prototype to avoid an error.
12812 Use char because int might match the return type of a GCC
12813 builtin and then its argument prototype would still apply. */
12826 for ac_lib in '' x; do
12827 if test -z "$ac_lib"; then
12828 ac_res="none required"
12831 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12833 if ac_fn_c_try_link "$LINENO"; then :
12834 ac_cv_search_opendir=$ac_res
12836 rm -f core conftest.err conftest.$ac_objext \
12838 if ${ac_cv_search_opendir+:} false; then :
12842 if ${ac_cv_search_opendir+:} false; then :
12845 ac_cv_search_opendir=no
12847 rm conftest.$ac_ext
12848 LIBS=$ac_func_search_save_LIBS
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12851 $as_echo "$ac_cv_search_opendir" >&6; }
12852 ac_res=$ac_cv_search_opendir
12853 if test "$ac_res" != no; then :
12854 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12860 for ac_header in stdint.h unistd.h windows.h winnt.h winbase.h sys/int_types.h
12862 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12863 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12864 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12865 cat >>confdefs.h <<_ACEOF
12866 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12873 for ac_header in sys/types.h sys/mman.h sys/stat.h sys/param.h
12875 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12876 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12877 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12878 cat >>confdefs.h <<_ACEOF
12879 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12885 for ac_header in io.h direct.h zlib.h byteswap.h
12887 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12888 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12889 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12890 cat >>confdefs.h <<_ACEOF
12891 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12898 for ac_header in fnmatch.h
12900 ac_fn_c_check_header_mongrel "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
12901 if test "x$ac_cv_header_fnmatch_h" = xyes; then :
12902 cat >>confdefs.h <<_ACEOF
12903 #define HAVE_FNMATCH_H 1
12910 for ac_func in strcasecmp strndup
12912 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12913 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12914 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12915 cat >>confdefs.h <<_ACEOF
12916 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12923 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
12924 if test "x$ac_cv_type_off_t" = xyes; then :
12928 cat >>confdefs.h <<_ACEOF
12929 #define off_t long int
12934 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12935 if test "x$ac_cv_type_size_t" = xyes; then :
12939 cat >>confdefs.h <<_ACEOF
12940 #define size_t unsigned int
12945 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12946 if test "x$ac_cv_type_ssize_t" = xyes; then :
12950 cat >>confdefs.h <<_ACEOF
12951 #define ssize_t int
12956 ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
12957 if test "x$ac_cv_type_off64_t" = xyes; then :
12961 cat >>confdefs.h <<_ACEOF
12962 #define off64_t _zzip_off_t
12967 ac_fn_c_check_type "$LINENO" "__int64" "ac_cv_type___int64" "$ac_includes_default"
12968 if test "x$ac_cv_type___int64" = xyes; then :
12972 cat >>confdefs.h <<_ACEOF
12973 #define __int64 long long
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12979 $as_echo_n "checking size of short... " >&6; }
12980 if ${ac_cv_sizeof_short+:} false; then :
12981 $as_echo_n "(cached) " >&6
12983 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
12984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12986 #include "confdefs.h"
12987 #include <sys/types.h>
12993 switch (0) case 0: case (sizeof (short) == $ac_size):;
12998 if ac_fn_c_try_compile "$LINENO"; then :
12999 ac_cv_sizeof_short=$ac_size
13001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13002 if test x$ac_cv_sizeof_short != x ; then break; fi
13007 if test x$ac_cv_sizeof_short = x ; then
13008 as_fn_error $? "cannot determine a size for short" "$LINENO" 5
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13011 $as_echo "$ac_cv_sizeof_short" >&6; }
13013 cat >>confdefs.h <<_ACEOF
13014 #define SIZEOF_SHORT $ac_cv_sizeof_short
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13019 $as_echo_n "checking size of int... " >&6; }
13020 if ${ac_cv_sizeof_int+:} false; then :
13021 $as_echo_n "(cached) " >&6
13023 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
13024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13025 /* end confdefs.h. */
13026 #include "confdefs.h"
13027 #include <sys/types.h>
13033 switch (0) case 0: case (sizeof (int) == $ac_size):;
13038 if ac_fn_c_try_compile "$LINENO"; then :
13039 ac_cv_sizeof_int=$ac_size
13041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13042 if test x$ac_cv_sizeof_int != x ; then break; fi
13047 if test x$ac_cv_sizeof_int = x ; then
13048 as_fn_error $? "cannot determine a size for int" "$LINENO" 5
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13051 $as_echo "$ac_cv_sizeof_int" >&6; }
13053 cat >>confdefs.h <<_ACEOF
13054 #define SIZEOF_INT $ac_cv_sizeof_int
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13059 $as_echo_n "checking size of long... " >&6; }
13060 if ${ac_cv_sizeof_long+:} false; then :
13061 $as_echo_n "(cached) " >&6
13063 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
13064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13065 /* end confdefs.h. */
13066 #include "confdefs.h"
13067 #include <sys/types.h>
13073 switch (0) case 0: case (sizeof (long) == $ac_size):;
13078 if ac_fn_c_try_compile "$LINENO"; then :
13079 ac_cv_sizeof_long=$ac_size
13081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13082 if test x$ac_cv_sizeof_long != x ; then break; fi
13087 if test x$ac_cv_sizeof_long = x ; then
13088 as_fn_error $? "cannot determine a size for long" "$LINENO" 5
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13091 $as_echo "$ac_cv_sizeof_long" >&6; }
13093 cat >>confdefs.h <<_ACEOF
13094 #define SIZEOF_LONG $ac_cv_sizeof_long
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13099 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13100 if ${ac_cv_c_bigendian+:} false; then :
13101 $as_echo_n "(cached) " >&6
13103 ac_cv_c_bigendian=unknown
13104 # See if we're dealing with a universal compiler.
13105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13106 /* end confdefs.h. */
13107 #ifndef __APPLE_CC__
13108 not a universal capable compiler
13113 if ac_fn_c_try_compile "$LINENO"; then :
13115 # Check for potential -arch flags. It is not universal unless
13116 # there are at least two -arch flags with different values.
13119 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13120 if test -n "$ac_prev"; then
13122 i?86 | x86_64 | ppc | ppc64)
13123 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13126 ac_cv_c_bigendian=universal
13132 elif test "x$ac_word" = "x-arch"; then
13137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13138 if test $ac_cv_c_bigendian = unknown; then
13139 # See if sys/param.h defines the BYTE_ORDER macro.
13140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13141 /* end confdefs.h. */
13142 #include <sys/types.h>
13143 #include <sys/param.h>
13148 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13149 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13151 bogus endian macros
13158 if ac_fn_c_try_compile "$LINENO"; then :
13159 # It does; now see whether it defined to BIG_ENDIAN or not.
13160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13161 /* end confdefs.h. */
13162 #include <sys/types.h>
13163 #include <sys/param.h>
13168 #if BYTE_ORDER != BIG_ENDIAN
13176 if ac_fn_c_try_compile "$LINENO"; then :
13177 ac_cv_c_bigendian=yes
13179 ac_cv_c_bigendian=no
13181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13185 if test $ac_cv_c_bigendian = unknown; then
13186 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13188 /* end confdefs.h. */
13189 #include <limits.h>
13194 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13195 bogus endian macros
13202 if ac_fn_c_try_compile "$LINENO"; then :
13203 # It does; now see whether it defined to _BIG_ENDIAN or not.
13204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13205 /* end confdefs.h. */
13206 #include <limits.h>
13211 #ifndef _BIG_ENDIAN
13219 if ac_fn_c_try_compile "$LINENO"; then :
13220 ac_cv_c_bigendian=yes
13222 ac_cv_c_bigendian=no
13224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13228 if test $ac_cv_c_bigendian = unknown; then
13229 # Compile a test program.
13230 if test "$cross_compiling" = yes; then :
13231 # Try to guess by grepping values from an object file.
13232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13233 /* end confdefs.h. */
13234 short int ascii_mm[] =
13235 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13236 short int ascii_ii[] =
13237 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13238 int use_ascii (int i) {
13239 return ascii_mm[i] + ascii_ii[i];
13241 short int ebcdic_ii[] =
13242 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13243 short int ebcdic_mm[] =
13244 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13245 int use_ebcdic (int i) {
13246 return ebcdic_mm[i] + ebcdic_ii[i];
13253 return use_ascii (foo) == use_ebcdic (foo);
13258 if ac_fn_c_try_compile "$LINENO"; then :
13259 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13260 ac_cv_c_bigendian=yes
13262 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13263 if test "$ac_cv_c_bigendian" = unknown; then
13264 ac_cv_c_bigendian=no
13266 # finding both strings is unlikely to happen, but who knows?
13267 ac_cv_c_bigendian=unknown
13271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13275 $ac_includes_default
13280 /* Are we little or big endian? From Harbison&Steele. */
13284 char c[sizeof (long int)];
13287 return u.c[sizeof (long int) - 1] == 1;
13293 if ac_fn_c_try_run "$LINENO"; then :
13294 ac_cv_c_bigendian=no
13296 ac_cv_c_bigendian=yes
13298 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13299 conftest.$ac_objext conftest.beam conftest.$ac_ext
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13305 $as_echo "$ac_cv_c_bigendian" >&6; }
13306 case $ac_cv_c_bigendian in #(
13308 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13314 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13318 as_fn_error $? "unknown endianness
13319 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pointers to integers require aligned access" >&5
13323 $as_echo_n "checking if pointers to integers require aligned access... " >&6; }
13324 if ${ax_cv_have_aligned_access_required+:} false; then :
13325 $as_echo_n "(cached) " >&6
13327 if test "$cross_compiling" = "yes"; then
13328 case "$host_cpu" in alpha*|arm*|bfin*|hp*|mips*|sh*|sparc*|ia64|nv1)
13329 ax_cv_have_aligned_access_required="yes"
13332 if test "$cross_compiling" = yes; then :
13333 ax_cv_have_aligned_access_required=no
13335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13336 /* end confdefs.h. */
13339 #include <stdlib.h>
13343 char* string = malloc(40);
13345 for (i=0; i < 40; i++) string[[i]] = i;
13351 if (*p == *q) { return 1; }
13357 if ac_fn_c_try_run "$LINENO"; then :
13358 ax_cv_have_aligned_access_required=yes
13360 ax_cv_have_aligned_access_required=no
13362 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13363 conftest.$ac_objext conftest.beam conftest.$ac_ext
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_aligned_access_required" >&5
13369 $as_echo "$ax_cv_have_aligned_access_required" >&6; }
13371 if test "$ax_cv_have_aligned_access_required" = yes ; then
13373 $as_echo "#define HAVE_ALIGNED_ACCESS_REQUIRED 1" >>confdefs.h
13377 # the default is _disabled_!! anyway, result is prefixed in zzip/_config.h!!
13378 # Check whether --enable-largefile was given.
13379 if test "${enable_largefile+set}" = set; then :
13380 enableval=$enable_largefile;
13383 if test "$enable_largefile" != no; then
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
13386 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
13387 if ${ac_cv_sys_largefile_CC+:} false; then :
13388 $as_echo_n "(cached) " >&6
13390 ac_cv_sys_largefile_CC=no
13391 if test "$GCC" != yes; then
13394 # IRIX 6.2 and later do not support large files by default,
13395 # so use the C compiler's -n32 option if that helps.
13396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13397 /* end confdefs.h. */
13398 #include <sys/types.h>
13399 /* Check that off_t can represent 2**63 - 1 correctly.
13400 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13401 since some C++ compilers masquerading as C compilers
13402 incorrectly reject 9223372036854775807. */
13403 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13404 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13405 && LARGE_OFF_T % 2147483647 == 1)
13415 if ac_fn_c_try_compile "$LINENO"; then :
13418 rm -f core conftest.err conftest.$ac_objext
13420 if ac_fn_c_try_compile "$LINENO"; then :
13421 ac_cv_sys_largefile_CC=' -n32'; break
13423 rm -f core conftest.err conftest.$ac_objext
13427 rm -f conftest.$ac_ext
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
13431 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
13432 if test "$ac_cv_sys_largefile_CC" != no; then
13433 CC=$CC$ac_cv_sys_largefile_CC
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13437 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
13438 if ${ac_cv_sys_file_offset_bits+:} false; then :
13439 $as_echo_n "(cached) " >&6
13442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13443 /* end confdefs.h. */
13444 #include <sys/types.h>
13445 /* Check that off_t can represent 2**63 - 1 correctly.
13446 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13447 since some C++ compilers masquerading as C compilers
13448 incorrectly reject 9223372036854775807. */
13449 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13450 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13451 && LARGE_OFF_T % 2147483647 == 1)
13461 if ac_fn_c_try_compile "$LINENO"; then :
13462 ac_cv_sys_file_offset_bits=no; break
13464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13466 /* end confdefs.h. */
13467 #define _FILE_OFFSET_BITS 64
13468 #include <sys/types.h>
13469 /* Check that off_t can represent 2**63 - 1 correctly.
13470 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13471 since some C++ compilers masquerading as C compilers
13472 incorrectly reject 9223372036854775807. */
13473 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13474 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13475 && LARGE_OFF_T % 2147483647 == 1)
13485 if ac_fn_c_try_compile "$LINENO"; then :
13486 ac_cv_sys_file_offset_bits=64; break
13488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13489 ac_cv_sys_file_offset_bits=unknown
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
13494 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
13495 case $ac_cv_sys_file_offset_bits in #(
13498 cat >>confdefs.h <<_ACEOF
13499 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13504 if test $ac_cv_sys_file_offset_bits = unknown; then
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
13506 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
13507 if ${ac_cv_sys_large_files+:} false; then :
13508 $as_echo_n "(cached) " >&6
13511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13512 /* end confdefs.h. */
13513 #include <sys/types.h>
13514 /* Check that off_t can represent 2**63 - 1 correctly.
13515 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13516 since some C++ compilers masquerading as C compilers
13517 incorrectly reject 9223372036854775807. */
13518 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13519 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13520 && LARGE_OFF_T % 2147483647 == 1)
13530 if ac_fn_c_try_compile "$LINENO"; then :
13531 ac_cv_sys_large_files=no; break
13533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13536 #define _LARGE_FILES 1
13537 #include <sys/types.h>
13538 /* Check that off_t can represent 2**63 - 1 correctly.
13539 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13540 since some C++ compilers masquerading as C compilers
13541 incorrectly reject 9223372036854775807. */
13542 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13543 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13544 && LARGE_OFF_T % 2147483647 == 1)
13554 if ac_fn_c_try_compile "$LINENO"; then :
13555 ac_cv_sys_large_files=1; break
13557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13558 ac_cv_sys_large_files=unknown
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
13563 $as_echo "$ac_cv_sys_large_files" >&6; }
13564 case $ac_cv_sys_large_files in #(
13567 cat >>confdefs.h <<_ACEOF
13568 #define _LARGE_FILES $ac_cv_sys_large_files
13578 # we know about some internals of ac_sys_largefile here...
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system differentiates 64bit off_t by defines" >&5
13580 $as_echo_n "checking whether system differentiates 64bit off_t by defines... " >&6; }
13581 ac_cv_sys_largefile_sensitive="no"
13582 if test ".${ac_cv_sys_file_offset_bits-no}${ac_cv_sys_large_files-no}" != ".nono"
13583 then ac_cv_sys_largefile_sensitive="yes"
13585 $as_echo "#define LARGEFILE_SENSITIVE 1" >>confdefs.h
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_sensitive" >&5
13589 $as_echo "$ac_cv_sys_largefile_sensitive" >&6; }
13591 test ".$LARGEFILE_CFLAGS" = "." && LARGEFILE_CFLAGS=""
13593 # Check whether --with-largefile was given.
13594 if test "${with_largefile+set}" = set; then :
13595 withval=$with_largefile;
13597 with_largefile="no"
13600 if test ".$ac_cv_sys_largefile_sensitive" = ".no" ; then
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: compiles library with the only off_t seen" >&5
13602 $as_echo "compiles library with the only off_t seen" >&6; }
13603 elif test ".$with_largefile" != ".no" ; then
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: compiles library as 64bit off_t variant - and renaming some function names" >&5
13605 $as_echo "compiles library as 64bit off_t variant - and renaming some function names" >&6; }
13606 LARGEFILE_CFLAGS="$LARGEFILE_CFLAGS -D_LARGEFILE_SOURCE"
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ..adding CFLAGS $LARGEFILE_CFLAGS" >&5
13608 $as_echo "..adding CFLAGS $LARGEFILE_CFLAGS" >&6; }
13609 CFLAGS="$CFLAGS $LARGEFILE_CFLAGS"
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ..adding 64 into RELEASE_INFO for the libraries" >&5
13611 $as_echo "..adding 64 into RELEASE_INFO for the libraries" >&6; }
13612 RELEASE_INFO="$RELEASE_INFO-64"
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: compiles library as 32bit off_t variant - largefile is not the default here" >&5
13615 $as_echo "compiles library as 32bit off_t variant - largefile is not the default here" >&6; }
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib being found" >&5
13619 $as_echo_n "checking for zlib being found... " >&6; }
13620 if test "_$ac_cv_header_zlib_h" != "_yes" ; then
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...oops: zlib.h not found - try adding some CPPFLAGS to configure call" >&5
13622 $as_echo "...oops: zlib.h not found - try adding some CPPFLAGS to configure call" >&6; }
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...note: and when linkage fails you might also need to set some LDFLAGS" >&5
13624 $as_echo "...note: and when linkage fails you might also need to set some LDFLAGS" >&6; }
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...note: both can be set by specifying the install prefix of the zlib library" >&5
13628 $as_echo "...note: both can be set by specifying the install prefix of the zlib library" >&6; }
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...note: via --with-zlib=path ... it will test for -Ipath/include -Lpath/lib" >&5
13630 $as_echo "...note: via --with-zlib=path ... it will test for -Ipath/include -Lpath/lib" >&6; }
13632 *) if test -d $prefix/include ; then
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...note: -I$prefix/include is not added to CPPFLAGS automatically and" >&5
13634 $as_echo "...note: -I$prefix/include is not added to CPPFLAGS automatically and" >&6; }
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...note: neither is -L$prefix/lib for LDFLAGS .. both will be if you specify" >&5
13636 $as_echo "...note: neither is -L$prefix/lib for LDFLAGS .. both will be if you specify" >&6; }
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...note: --with-zlib to configure call" >&5
13638 $as_echo "...note: --with-zlib to configure call" >&6; }
13642 as_fn_error $? "zlib.h not found: \"zlib\" is required to build \"$PACKAGE\"" "$LINENO" 5
13645 cat >conftest.c <<EOF
13647 const char* zlib_VeRsIoN = ZLIB_VERSION "dEtEcT";
13649 ZLIB_VERSION=`(eval "$ac_cpp conftest.c") 2>/dev/null \
13650 | grep zlib_VeRsIoN | sed -e 's,.*= *.,,' -e 's,. *.dEtEcT.*,,'`
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - $ZLIB_VERSION" >&5
13654 $as_echo "yes - $ZLIB_VERSION" >&6; }
13655 # ----------------------------------------------------------------
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking docdir default" >&5
13657 $as_echo_n "checking docdir default... " >&6; }
13659 # Check whether --with-docdir was given.
13660 if test "${with_docdir+set}" = set; then :
13661 withval=$with_docdir;
13666 case "${with_docdir}" in
13667 prefix/*) docdir=` echo "$withval" | sed 's/^prefix/${prefix}'` ;;
13668 datadir/*) docdir=` echo "$withval" | sed 's/^datadir/${datadir}'` ;;
13669 yes) docdir='${prefix}/doc' ;;
13670 no) docdir='${datadir}/doc' ;;
13671 /*|\\*|a-zA-Z:*) docdir="$with_docdir" ;;
13672 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: oops" >&5
13673 $as_echo "oops" >&6; }
13674 as_fn_error $? "bad value ${withval} for --with-docdir" "$LINENO" 5
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $docdir" >&5
13679 $as_echo "$docdir" >&6; }
13680 # ----------------------------------------------------------------
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether using debugging messages in libraries" >&5
13682 $as_echo_n "checking whether using debugging messages in libraries... " >&6; }
13684 # Check whether --with-debug was given.
13685 if test "${with_debug+set}" = set; then :
13686 withval=$with_debug; case "${withval}" in
13687 yes|no) with_debug="$withval" ;;
13688 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: oops" >&5
13689 $as_echo "oops" >&6; }
13690 as_fn_error $? "bad value ${withval} for --with-debug" "$LINENO" 5 ;;
13696 test "$with_debug" != "yes" && with_debug="no" # yes or no
13697 test "$with_debug" = "yes" && export CFLAGS="$CFLAGS -DDEBUG"
13698 result="$with_debug" ; test "$result" = "yes" && result="yes, added -DDEBUG"
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13700 $as_echo "$result" >&6; }
13701 if test "$with_debug" = "yes" ; then if test -n "$RELEASE_INFO" ; then
13702 RELEASE_INFO="$RELEASE_INFO-dbg"
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: modified release" >&5
13704 $as_echo "modified release" >&6; }
13706 # ----------------------------------------------------------------
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether thread stack is too small for bufsiz buffers" >&5
13708 $as_echo_n "checking whether thread stack is too small for bufsiz buffers... " >&6; }
13709 # many embedded platforms, superthreaded systems and kernel usage
13710 # will severely limit the stackspace for its threads. Use _LOWSTK
13711 # compile-define on those platforms.
13713 # Check whether --with-lowstk was given.
13714 if test "${with_lowstk+set}" = set; then :
13715 withval=$with_lowstk; case "${withval}" in
13716 yes|no|auto) with_lowstk="$withval" ;;
13717 *) as_fn_error $? "bad value ${withval} for --with-lowstk" "$LINENO" 5 ;;
13723 if test "$with_lowstk" = "auto"; then
13725 *-palmos-*) $with_lowstk="yes" ;;
13728 test "$with_lowstk" != "yes" && with_lowstk="no" # yes or no
13729 test "$with_lowstk" = "yes" && CFLAGS="$CFLAGS -D_LOWSTK"
13730 result="$with_lowstk" ; test "$result" = "yes" && result="yes, added -D_LOWSTK"
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_lowstk" >&5
13732 $as_echo "$with_lowstk" >&6; }
13733 # ---------------------------------------------------------------
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether can use mmap for file scanning" >&5
13735 $as_echo_n "checking whether can use mmap for file scanning... " >&6; }
13736 # system with mmap are probably better performing an searching
13737 # and parsing - atleast memory consumption is far better
13738 # Check whether --enable-mmap was given.
13739 if test "${enable_mmap+set}" = set; then :
13740 enableval=$enable_mmap; case "${enableval}" in
13741 yes|no|auto) enable_mmap="${enableval}" ;;
13742 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: oops" >&5
13743 $as_echo "oops" >&6; }
13744 as_fn_error $? "bad value ${enableval} for --disable-mmap" "$LINENO" 5 ;;
13750 if test "$enable_mmap" = "auto"
13752 test "$ac_cv_header_winbase_h" && enable_mmap="yes, winbase.h"
13753 test "$ac_cv_header_sys_mman_h" && enable_mmap="yes, sys/mman.h"
13755 case "$enable_mmap" in
13756 yes|yes,*) CFLAGS="$CFLAGS -D_USE_MMAP"
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_mmap" >&5
13758 $as_echo "$enable_mmap" >&6; } ;;
13759 *) enable_mmap="no"
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (just a bit slower)" >&5
13761 $as_echo "no (just a bit slower)" >&6; } ;;
13763 # ---------------------------------------------------------------
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether making SDL parts" >&5
13765 $as_echo_n "checking whether making SDL parts... " >&6; }
13768 # Check whether --enable-sdl was given.
13769 if test "${enable_sdl+set}" = set; then :
13770 enableval=$enable_sdl;
13775 if test "$enable_sdl" = "no" ; then
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, disabled" >&5
13777 $as_echo "no, disabled" >&6; }
13779 enable_sdl=`pkg-config --modversion sdl 2>/dev/null`
13780 if test -z "$enable_sdl"; then
13781 enable_sdl=`sdl-config --version 2>/dev/null`
13782 SDL_GENERATE="sdl-uninstalled.pc"
13783 enable_sdl="$enable_sdl (sdl-config)"
13785 enable_sdl="$enable_sdl (pkgconfig)"
13787 enable_sdl="$enable_sdl."
13788 case ".$enable_sdl" in
13789 .1.*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, using SDL $enable_sdl" >&5
13790 $as_echo "yes, using SDL $enable_sdl" >&6; }
13792 .2.*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, untested $enable_sdl" >&5
13793 $as_echo "yes, untested $enable_sdl" >&6; }
13795 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, $enable_sdl" >&5
13796 $as_echo "no, $enable_sdl" >&6; } ;;
13798 if test -n "$SDL_GENERATE"; then
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled SDL generation of... $SDL_GENERATE" >&5
13800 $as_echo "enabled SDL generation of... $SDL_GENERATE" >&6; }
13805 # ---------------------------------------------------------------
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking running extra tests on make check" >&5
13807 $as_echo_n "checking running extra tests on make check... " >&6; }
13808 if test "MKZIP" != ":" ; then
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13810 $as_echo "yes" >&6; }
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13814 $as_echo "no" >&6; }
13818 # ---------------------------------------------------------------
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking link options" >&5
13820 $as_echo_n "checking link options... " >&6; }
13822 case "$host_os" in mingw*)
13823 # we may assume that the backend is gnu-ld but DLLs need full resolution
13824 ZZIPLIB_LDFLAGS="${wl}-no-undefined ${wl}-export-all-symbols -mconsole"
13827 # darwin never uses gnu-ld but the linker can do it anyway
13828 ZZIPLIB_LDFLAGS="-export-dynamic"
13831 if test ".$can_build_shared" != ".no" ; then
13832 ZZIPLIB_LDFLAGS="-export-dynamic"
13833 if test ".$lt_cv_prog_gnu_ld" == ".yes" ; then
13834 ZZIPLIB_LDFLAGS="${wl}--export-dynamic"
13835 # TODO: that is for backward compatibility only
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZZIPLIB_LDFLAGS $RESOLVES" >&5
13841 $as_echo "$ZZIPLIB_LDFLAGS $RESOLVES" >&6; }
13845 # Check whether --with-defines was given.
13846 if test "${with_defines+set}" = set; then :
13847 withval=$with_defines;
13849 with_defines="normal"
13854 case ",$with_defines," in *,easy,*)
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ..adding CFLAGS -DZZIP_EASY" >&5
13856 $as_echo "..adding CFLAGS -DZZIP_EASY" >&6; }
13857 CFLAGS="$CFLAGS -DZZIP_EASY"
13859 case ",$with_defines," in *,harden,*)
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ..adding CFLAGS -DZZIP_HARDEN" >&5
13861 $as_echo "..adding CFLAGS -DZZIP_HARDEN" >&6; }
13862 CFLAGS="$CFLAGS -DZZIP_HARDEN"
13864 case ",$with_defines," in *,allow_modulo_entries,*)
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ..adding CFLAGS -DZZIP_ALLOW_MODULO_ENTRIES" >&5
13866 $as_echo "..adding CFLAGS -DZZIP_ALLOW_MODULO_ENTRIES" >&6; }
13867 CFLAGS="$CFLAGS -DZZIP_ALLOW_MODULO_ENTRIES"
13870 # ---------------------------------------------------------------
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking auto silent in maintainer mode" >&5
13872 $as_echo_n "checking auto silent in maintainer mode... " >&6; }
13873 if test "$USE_MAINTAINER_MODE" = "no" ; then
13874 test ".$TIMEOUT" = "." && TIMEOUT="9"
13875 AUTOHEADER="sleep $TIMEOUT ; true || autoheader || skipped"
13876 AUTOMAKE="sleep $TIMEOUT ; true || automake || skipped"
13877 AUTOCONF="sleep $TIMEOUT ; true || autoconf || skipped"
13878 if test ".$LIBTOOL" != "." ; then
13879 LIBTOOL="$LIBTOOL --silent"
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libtool-silent, auto-sleep-9" >&5
13881 $as_echo "libtool-silent, auto-sleep-9" >&6; }
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: auto-sleep-9" >&5
13884 $as_echo "auto-sleep-9" >&6; }
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13888 $as_echo "no" >&6; }
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS frame-pointer" >&5
13892 $as_echo_n "checking CFLAGS frame-pointer... " >&6; }
13893 # Check whether --enable-frame-pointer was given.
13894 if test "${enable_frame_pointer+set}" = set; then :
13895 enableval=$enable_frame_pointer;
13898 case ".$enable_frame_pointer" in
13899 .|.no|.no,*) test ".$enable_frame_pointer" = "." && enable_frame_pointer="no"
13900 CFLAGS=`echo " $CFLAGS " | sed -e 's/ -g / /'`
13901 if test ".$GCC" = ".yes" ; then
13902 CFLAGS="$CFLAGS -fomit-frame-pointer"
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_frame_pointer, -fomit-frame-pointer added" >&5
13904 $as_echo "$enable_frame_pointer, -fomit-frame-pointer added" >&6; }
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_frame_pointer, -g removed" >&5
13907 $as_echo "$enable_frame_pointer, -g removed" >&6; }
13909 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_frame_pointer, kept" >&5
13910 $as_echo "$enable_frame_pointer, kept" >&6; } ;;
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
13914 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
13915 if ${ac_cv_cflags_warn_all+:} false; then :
13916 $as_echo_n "(cached) " >&6
13918 ac_cv_cflags_warn_all="no, unknown"
13921 ac_cpp='$CPP $CPPFLAGS'
13922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13926 ac_save_CFLAGS="$CFLAGS"
13927 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" #
13928 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
13929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13930 /* end confdefs.h. */
13940 if ac_fn_c_try_compile "$LINENO"; then :
13941 ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
13943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13945 CFLAGS="$ac_save_CFLAGS"
13947 ac_cpp='$CPP $CPPFLAGS'
13948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
13955 $as_echo "$ac_cv_cflags_warn_all" >&6; }
13956 case ".$ac_cv_cflags_warn_all" in
13961 if echo " $CFLAGS " | grep " $ac_cv_cflags_warn_all " 2>&1 >/dev/null
13962 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_warn_all"; } >&5
13963 (: CFLAGS does contain $ac_cv_cflags_warn_all) 2>&5
13965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13966 test $ac_status = 0; }
13967 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
13968 (: CFLAGS="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
13970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13971 test $ac_status = 0; }
13972 CFLAGS="$CFLAGS $ac_cv_cflags_warn_all"
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -Wpointer-arith" >&5
13978 $as_echo_n "checking CFLAGS for gcc -Wpointer-arith... " >&6; }
13979 if ${ac_cv_cflags_gcc_option__Wpointer_arith+:} false; then :
13980 $as_echo_n "(cached) " >&6
13982 ac_cv_cflags_gcc_option__Wpointer_arith="no, unknown"
13985 ac_cpp='$CPP $CPPFLAGS'
13986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13990 ac_save_CFLAGS="$CFLAGS"
13991 for ac_arg in "-pedantic -Werror % -Wpointer-arith" "-pedantic % -Wpointer-arith %% no, obsolete" #
13992 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
13993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
14004 if ac_fn_c_try_compile "$LINENO"; then :
14005 ac_cv_cflags_gcc_option__Wpointer_arith=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
14007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14009 CFLAGS="$ac_save_CFLAGS"
14011 ac_cpp='$CPP $CPPFLAGS'
14012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_gcc_option__Wpointer_arith" >&5
14019 $as_echo "$ac_cv_cflags_gcc_option__Wpointer_arith" >&6; }
14020 case ".$ac_cv_cflags_gcc_option__Wpointer_arith" in
14024 if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__Wpointer_arith " 2>&1 >/dev/null
14025 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Wpointer_arith"; } >&5
14026 (: CFLAGS does contain $ac_cv_cflags_gcc_option__Wpointer_arith) 2>&5
14028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14029 test $ac_status = 0; }
14030 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Wpointer_arith\""; } >&5
14031 (: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wpointer_arith") 2>&5
14033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14034 test $ac_status = 0; }
14035 CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wpointer_arith"
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -Wsign-compare" >&5
14041 $as_echo_n "checking CFLAGS for gcc -Wsign-compare... " >&6; }
14042 if ${ac_cv_cflags_gcc_option__Wsign_compare+:} false; then :
14043 $as_echo_n "(cached) " >&6
14045 ac_cv_cflags_gcc_option__Wsign_compare="no, unknown"
14048 ac_cpp='$CPP $CPPFLAGS'
14049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14053 ac_save_CFLAGS="$CFLAGS"
14054 for ac_arg in "-pedantic -Werror % -Wsign-compare" "-pedantic % -Wsign-compare %% no, obsolete" #
14055 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
14056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14067 if ac_fn_c_try_compile "$LINENO"; then :
14068 ac_cv_cflags_gcc_option__Wsign_compare=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
14070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14072 CFLAGS="$ac_save_CFLAGS"
14074 ac_cpp='$CPP $CPPFLAGS'
14075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_gcc_option__Wsign_compare" >&5
14082 $as_echo "$ac_cv_cflags_gcc_option__Wsign_compare" >&6; }
14083 case ".$ac_cv_cflags_gcc_option__Wsign_compare" in
14087 if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__Wsign_compare " 2>&1 >/dev/null
14088 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Wsign_compare"; } >&5
14089 (: CFLAGS does contain $ac_cv_cflags_gcc_option__Wsign_compare) 2>&5
14091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14092 test $ac_status = 0; }
14093 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Wsign_compare\""; } >&5
14094 (: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wsign_compare") 2>&5
14096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14097 test $ac_status = 0; }
14098 CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wsign_compare"
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -Wmissing-declarations" >&5
14104 $as_echo_n "checking CFLAGS for gcc -Wmissing-declarations... " >&6; }
14105 if ${ac_cv_cflags_gcc_option__Wmissing_declarations+:} false; then :
14106 $as_echo_n "(cached) " >&6
14108 ac_cv_cflags_gcc_option__Wmissing_declarations="no, unknown"
14111 ac_cpp='$CPP $CPPFLAGS'
14112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14116 ac_save_CFLAGS="$CFLAGS"
14117 for ac_arg in "-pedantic -Werror % -Wmissing-declarations" "-pedantic % -Wmissing-declarations %% no, obsolete" #
14118 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
14119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14120 /* end confdefs.h. */
14130 if ac_fn_c_try_compile "$LINENO"; then :
14131 ac_cv_cflags_gcc_option__Wmissing_declarations=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
14133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14135 CFLAGS="$ac_save_CFLAGS"
14137 ac_cpp='$CPP $CPPFLAGS'
14138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_gcc_option__Wmissing_declarations" >&5
14145 $as_echo "$ac_cv_cflags_gcc_option__Wmissing_declarations" >&6; }
14146 case ".$ac_cv_cflags_gcc_option__Wmissing_declarations" in
14150 if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__Wmissing_declarations " 2>&1 >/dev/null
14151 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Wmissing_declarations"; } >&5
14152 (: CFLAGS does contain $ac_cv_cflags_gcc_option__Wmissing_declarations) 2>&5
14154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14155 test $ac_status = 0; }
14156 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Wmissing_declarations\""; } >&5
14157 (: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wmissing_declarations") 2>&5
14159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14160 test $ac_status = 0; }
14161 CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wmissing_declarations"
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -Wdeclaration-after-statement" >&5
14167 $as_echo_n "checking CFLAGS for gcc -Wdeclaration-after-statement... " >&6; }
14168 if ${ac_cv_cflags_gcc_option__Wdeclaration_after_statement+:} false; then :
14169 $as_echo_n "(cached) " >&6
14171 ac_cv_cflags_gcc_option__Wdeclaration_after_statement="no, unknown"
14174 ac_cpp='$CPP $CPPFLAGS'
14175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14179 ac_save_CFLAGS="$CFLAGS"
14180 for ac_arg in "-pedantic -Werror % -Wdeclaration-after-statement" "-pedantic % -Wdeclaration-after-statement %% no, obsolete" #
14181 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
14182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h. */
14193 if ac_fn_c_try_compile "$LINENO"; then :
14194 ac_cv_cflags_gcc_option__Wdeclaration_after_statement=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
14196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14198 CFLAGS="$ac_save_CFLAGS"
14200 ac_cpp='$CPP $CPPFLAGS'
14201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_gcc_option__Wdeclaration_after_statement" >&5
14208 $as_echo "$ac_cv_cflags_gcc_option__Wdeclaration_after_statement" >&6; }
14209 case ".$ac_cv_cflags_gcc_option__Wdeclaration_after_statement" in
14213 if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__Wdeclaration_after_statement " 2>&1 >/dev/null
14214 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Wdeclaration_after_statement"; } >&5
14215 (: CFLAGS does contain $ac_cv_cflags_gcc_option__Wdeclaration_after_statement) 2>&5
14217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14218 test $ac_status = 0; }
14219 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Wdeclaration_after_statement\""; } >&5
14220 (: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wdeclaration_after_statement") 2>&5
14222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14223 test $ac_status = 0; }
14224 CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wdeclaration_after_statement"
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -Werror-implicit-function-declaration" >&5
14230 $as_echo_n "checking CFLAGS for gcc -Werror-implicit-function-declaration... " >&6; }
14231 if ${ac_cv_cflags_gcc_option__Werror_implicit_function_declaration+:} false; then :
14232 $as_echo_n "(cached) " >&6
14234 ac_cv_cflags_gcc_option__Werror_implicit_function_declaration="no, unknown"
14237 ac_cpp='$CPP $CPPFLAGS'
14238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14242 ac_save_CFLAGS="$CFLAGS"
14243 for ac_arg in "-pedantic -Werror % -Werror-implicit-function-declaration" "-pedantic % -Werror-implicit-function-declaration %% no, obsolete" #
14244 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
14245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14256 if ac_fn_c_try_compile "$LINENO"; then :
14257 ac_cv_cflags_gcc_option__Werror_implicit_function_declaration=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
14259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14261 CFLAGS="$ac_save_CFLAGS"
14263 ac_cpp='$CPP $CPPFLAGS'
14264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration" >&5
14271 $as_echo "$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration" >&6; }
14272 case ".$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration" in
14276 if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration " 2>&1 >/dev/null
14277 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration"; } >&5
14278 (: CFLAGS does contain $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration) 2>&5
14280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14281 test $ac_status = 0; }
14282 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration\""; } >&5
14283 (: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration") 2>&5
14285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14286 test $ac_status = 0; }
14287 CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration"
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -Wstrict-aliasing" >&5
14293 $as_echo_n "checking CFLAGS for gcc -Wstrict-aliasing... " >&6; }
14294 if ${ac_cv_cflags_gcc_option__Wstrict_aliasing+:} false; then :
14295 $as_echo_n "(cached) " >&6
14297 ac_cv_cflags_gcc_option__Wstrict_aliasing="no, unknown"
14300 ac_cpp='$CPP $CPPFLAGS'
14301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14305 ac_save_CFLAGS="$CFLAGS"
14306 for ac_arg in "-pedantic -Werror % -Wstrict-aliasing" "-pedantic % -Wstrict-aliasing %% no, obsolete" #
14307 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
14308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14319 if ac_fn_c_try_compile "$LINENO"; then :
14320 ac_cv_cflags_gcc_option__Wstrict_aliasing=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
14322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14324 CFLAGS="$ac_save_CFLAGS"
14326 ac_cpp='$CPP $CPPFLAGS'
14327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_gcc_option__Wstrict_aliasing" >&5
14334 $as_echo "$ac_cv_cflags_gcc_option__Wstrict_aliasing" >&6; }
14335 case ".$ac_cv_cflags_gcc_option__Wstrict_aliasing" in
14339 if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__Wstrict_aliasing " 2>&1 >/dev/null
14340 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Wstrict_aliasing"; } >&5
14341 (: CFLAGS does contain $ac_cv_cflags_gcc_option__Wstrict_aliasing) 2>&5
14343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14344 test $ac_status = 0; }
14345 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Wstrict_aliasing\""; } >&5
14346 (: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wstrict_aliasing") 2>&5
14348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14349 test $ac_status = 0; }
14350 CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wstrict_aliasing"
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -Warray-bounds" >&5
14356 $as_echo_n "checking CFLAGS for gcc -Warray-bounds... " >&6; }
14357 if ${ac_cv_cflags_gcc_option__Warray_bounds+:} false; then :
14358 $as_echo_n "(cached) " >&6
14360 ac_cv_cflags_gcc_option__Warray_bounds="no, unknown"
14363 ac_cpp='$CPP $CPPFLAGS'
14364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14368 ac_save_CFLAGS="$CFLAGS"
14369 for ac_arg in "-pedantic -Werror % -Warray-bounds" "-pedantic % -Warray-bounds %% no, obsolete" #
14370 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
14371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14372 /* end confdefs.h. */
14382 if ac_fn_c_try_compile "$LINENO"; then :
14383 ac_cv_cflags_gcc_option__Warray_bounds=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
14385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14387 CFLAGS="$ac_save_CFLAGS"
14389 ac_cpp='$CPP $CPPFLAGS'
14390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_gcc_option__Warray_bounds" >&5
14397 $as_echo "$ac_cv_cflags_gcc_option__Warray_bounds" >&6; }
14398 case ".$ac_cv_cflags_gcc_option__Warray_bounds" in
14402 if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__Warray_bounds " 2>&1 >/dev/null
14403 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Warray_bounds"; } >&5
14404 (: CFLAGS does contain $ac_cv_cflags_gcc_option__Warray_bounds) 2>&5
14406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14407 test $ac_status = 0; }
14408 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Warray_bounds\""; } >&5
14409 (: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Warray_bounds") 2>&5
14411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14412 test $ac_status = 0; }
14413 CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Warray_bounds"
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS making strings readonly" >&5
14419 $as_echo_n "checking CFLAGS making strings readonly... " >&6; }
14420 if ${ac_cv_cflags_no_writable_strings+:} false; then :
14421 $as_echo_n "(cached) " >&6
14423 ac_cv_cflags_no_writable_strings="no, unknown"
14426 ac_cpp='$CPP $CPPFLAGS'
14427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14431 ac_save_CFLAGS="$CFLAGS"
14433 # -use_readonly_const is the default for IRIX C,
14434 # puts them into .rodata, but they are copied later.
14435 # need to be "-G0 -rdatashared" for strictmode but
14436 # I am not sure what effect that has really. - guidod
14437 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" #
14438 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
14439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14440 /* end confdefs.h. */
14450 if ac_fn_c_try_compile "$LINENO"; then :
14451 ac_cv_cflags_no_writable_strings=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
14453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14455 case ".$ac_cv_cflags_no_writable_strings" in
14457 *) # sanity check - testing strcpy() from string.h
14458 cp config.log config.tmp
14459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14460 /* end confdefs.h. */
14461 #include <string.h>
14467 if (strcpy (test, "test")) return 1;
14472 if ac_fn_c_try_compile "$LINENO"; then :
14473 if test `diff config.log config.tmp | grep -i warning | wc -l` != 0
14474 then ac_cv_cflags_no_writable_strings="no, suppressed, string.h," ; fi
14476 ac_cv_cflags_no_writable_strings="no, suppressed, string.h"
14478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14482 CFLAGS="$ac_save_CFLAGS"
14484 ac_cpp='$CPP $CPPFLAGS'
14485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_no_writable_strings" >&5
14492 $as_echo "$ac_cv_cflags_no_writable_strings" >&6; }
14493 case ".$ac_cv_cflags_no_writable_strings" in
14498 if echo " $CFLAGS " | grep " $ac_cv_cflags_no_writable_strings " 2>&1 >/dev/null
14499 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_no_writable_strings"; } >&5
14500 (: CFLAGS does contain $ac_cv_cflags_no_writable_strings) 2>&5
14502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14503 test $ac_status = 0; }
14504 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_no_writable_strings\""; } >&5
14505 (: CFLAGS="$CFLAGS $ac_cv_cflags_no_writable_strings") 2>&5
14507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14508 test $ac_status = 0; }
14509 CFLAGS="$CFLAGS $ac_cv_cflags_no_writable_strings"
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for strict prototypes" >&5
14515 $as_echo_n "checking CFLAGS for strict prototypes... " >&6; }
14516 if ${ac_cv_cflags_strict_prototypes+:} false; then :
14517 $as_echo_n "(cached) " >&6
14519 ac_cv_cflags_strict_prototypes="no, unknown"
14522 ac_cpp='$CPP $CPPFLAGS'
14523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14527 ac_save_CFLAGS="$CFLAGS"
14528 for ac_arg in "-pedantic % -fstrict-prototypes -Wstrict-prototypes" "-pedantic % -Wstrict-prototypes" "-pedantic % -Wmissing-prototypes" "-pedantic % -Werror-implicit-function-declaration" "-pedantic % -Wimplicit-function-declaration" #
14529 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
14530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14531 /* end confdefs.h. */
14541 if ac_fn_c_try_compile "$LINENO"; then :
14542 ac_cv_cflags_strict_prototypes=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
14544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14546 case ".$ac_cv_cflags_strict_prototypes" in
14548 *) # sanity check with signal() from sys/signal.h
14549 cp config.log config.tmp
14550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14551 /* end confdefs.h. */
14552 #include <signal.h>
14557 if (signal (SIGINT, SIG_IGN) == SIG_DFL) return 1;
14558 if (signal (SIGINT, SIG_IGN) != SIG_DFL) return 2;
14563 if ac_fn_c_try_compile "$LINENO"; then :
14564 if test `diff config.log config.tmp | grep -i warning | wc -l` != 0
14565 then if test `diff config.log config.tmp | grep -i warning | wc -l` != 1
14566 then ac_cv_cflags_strict_prototypes="no, suppressed, signal.h," ; fi ; fi
14568 ac_cv_cflags_strict_prototypes="no, suppressed, signal.h"
14570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14574 CFLAGS="$ac_save_CFLAGS"
14576 ac_cpp='$CPP $CPPFLAGS'
14577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_strict_prototypes" >&5
14584 $as_echo "$ac_cv_cflags_strict_prototypes" >&6; }
14585 case ".$ac_cv_cflags_strict_prototypes" in
14590 if echo " $CFLAGS " | grep " $ac_cv_cflags_strict_prototypes " 2>&1 >/dev/null
14591 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_strict_prototypes"; } >&5
14592 (: CFLAGS does contain $ac_cv_cflags_strict_prototypes) 2>&5
14594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14595 test $ac_status = 0; }
14596 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_strict_prototypes\""; } >&5
14597 (: CFLAGS="$CFLAGS $ac_cv_cflags_strict_prototypes") 2>&5
14599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14600 test $ac_status = 0; }
14601 CFLAGS="$CFLAGS $ac_cv_cflags_strict_prototypes"
14606 # ---------------------------------------------------------------
14607 # The prefix default can be set in configure.ac (otherwise it is /usr/local)
14608 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14609 # Let make expand exec_prefix. Allows to override the makevar 'prefix' later
14610 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14612 # Check whether --enable-enable-default-pkgconfigdir was given.
14613 if test "${enable_enable_default_pkgconfigdir+set}" = set; then :
14614 enableval=$enable_enable_default_pkgconfigdir;
14617 test ".$enable_default_pkgconfigdir" = "." && enable_default_pkgconfigdir="no"
14618 case ".$enable_default_pkgconfigdir" in
14619 .no) ax_warning_default_pkgconfig_def='${libdir}/pkgconfig' ;;
14621 if test ".$PKG_CONFIG" = "." ; then # we use the same default as in pkg.m4
14622 # Extract the first word of "pkg-config", so it can be a program name with args.
14623 set dummy pkg-config; ac_word=$2
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14625 $as_echo_n "checking for $ac_word... " >&6; }
14626 if ${ac_cv_path_PKG_CONFIG+:} false; then :
14627 $as_echo_n "(cached) " >&6
14629 case $PKG_CONFIG in
14631 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14635 for as_dir in $PATH
14638 test -z "$as_dir" && as_dir=.
14639 for ac_exec_ext in '' $ac_executable_extensions; do
14640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14641 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14649 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14653 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14654 if test -n "$PKG_CONFIG"; then
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14656 $as_echo "$PKG_CONFIG" >&6; }
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14659 $as_echo "no" >&6; }
14664 if test "$PKG_CONFIG" = "no"
14665 then ax_warning_default_pkgconfig_def="/tmp" ; test -d "/usr/lib/pkgconfig" && ax_warning_default_pkgconfig_def="/usr/lib/pkgconfig"
14666 else ax_warning_default_pkgconfig_bin=`$as_dirname -- "$ax_warning_default_pkgconfig_def" ||
14667 $as_expr X"$ax_warning_default_pkgconfig_def" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14668 X"$ax_warning_default_pkgconfig_def" : 'X\(//\)[^/]' \| \
14669 X"$ax_warning_default_pkgconfig_def" : 'X\(//\)$' \| \
14670 X"$ax_warning_default_pkgconfig_def" : 'X\(/\)' \| . 2>/dev/null ||
14671 $as_echo X"$ax_warning_default_pkgconfig_def" |
14672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14676 /^X\(\/\/\)[^/].*/{
14689 if test -d "$ax_warning_default_pkgconfig_bin/lib/pkgconfig" ; then
14690 ax_warning_default_pkgconfig_def="$ax_warning_default_pkgconfig_bin/lib/pkgconfig"
14691 else ax_warning_default_pkgconfig_bin=`$as_dirname -- "$ax_warning_default_pkgconfig_def" ||
14692 $as_expr X"$ax_warning_default_pkgconfig_def" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14693 X"$ax_warning_default_pkgconfig_def" : 'X\(//\)[^/]' \| \
14694 X"$ax_warning_default_pkgconfig_def" : 'X\(//\)$' \| \
14695 X"$ax_warning_default_pkgconfig_def" : 'X\(/\)' \| . 2>/dev/null ||
14696 $as_echo X"$ax_warning_default_pkgconfig_def" |
14697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14701 /^X\(\/\/\)[^/].*/{
14714 if test -d "$ax_warning_default_pkgconfig_bin/lib/pkgconfig" ; then
14715 ax_warning_default_pkgconfig_def="$ax_warning_default_pkgconfig_bin/lib/pkgconfig"
14717 if test -d "/usr/lib/pkgconfig" ; then
14718 ax_warning_default_pkgconfig_def="/usr/lib/pkgconfig"
14720 ax_warning_default_pkgconfig_def="/tmp"
14723 *) ax_warning_default_pkgconfig_def="$enable_default_pkgconfigdir" ;;
14725 ax_warning_default_pkgconfig_loc='$ax_warning_default_pkgconfig_def'
14727 if test ".$PKG_CONFIG" = "." ; then # we use the same default as in pkg.m4
14728 # Extract the first word of "pkg-config", so it can be a program name with args.
14729 set dummy pkg-config; ac_word=$2
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14731 $as_echo_n "checking for $ac_word... " >&6; }
14732 if ${ac_cv_path_PKG_CONFIG+:} false; then :
14733 $as_echo_n "(cached) " >&6
14735 case $PKG_CONFIG in
14737 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14741 for as_dir in $PATH
14744 test -z "$as_dir" && as_dir=.
14745 for ac_exec_ext in '' $ac_executable_extensions; do
14746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14747 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14755 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14759 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14760 if test -n "$PKG_CONFIG"; then
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14762 $as_echo "$PKG_CONFIG" >&6; }
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14765 $as_echo "no" >&6; }
14770 if test "$PKG_CONFIG" = "no"
14771 then ax_warning_default_pkgconfig_dir="/" ; test -d "/usr/lib/pkgconfig" && ax_warning_default_pkgconfig_dir="/usr/lib/pkgconfig"
14772 else ax_warning_default_pkgconfig_bin=`$as_dirname -- "$ax_warning_default_pkgconfig_dir" ||
14773 $as_expr X"$ax_warning_default_pkgconfig_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14774 X"$ax_warning_default_pkgconfig_dir" : 'X\(//\)[^/]' \| \
14775 X"$ax_warning_default_pkgconfig_dir" : 'X\(//\)$' \| \
14776 X"$ax_warning_default_pkgconfig_dir" : 'X\(/\)' \| . 2>/dev/null ||
14777 $as_echo X"$ax_warning_default_pkgconfig_dir" |
14778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14782 /^X\(\/\/\)[^/].*/{
14795 if test -d "$ax_warning_default_pkgconfig_bin/lib/pkgconfig" ; then
14796 ax_warning_default_pkgconfig_dir="$ax_warning_default_pkgconfig_bin/lib/pkgconfig"
14797 else ax_warning_default_pkgconfig_bin=`$as_dirname -- "$ax_warning_default_pkgconfig_dir" ||
14798 $as_expr X"$ax_warning_default_pkgconfig_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14799 X"$ax_warning_default_pkgconfig_dir" : 'X\(//\)[^/]' \| \
14800 X"$ax_warning_default_pkgconfig_dir" : 'X\(//\)$' \| \
14801 X"$ax_warning_default_pkgconfig_dir" : 'X\(/\)' \| . 2>/dev/null ||
14802 $as_echo X"$ax_warning_default_pkgconfig_dir" |
14803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14807 /^X\(\/\/\)[^/].*/{
14820 if test -d "$ax_warning_default_pkgconfig_bin/lib/pkgconfig" ; then
14821 ax_warning_default_pkgconfig_dir="$ax_warning_default_pkgconfig_bin/lib/pkgconfig"
14823 if test -d "/usr/lib/pkgconfig" ; then
14824 ax_warning_default_pkgconfig_dir="/usr/lib/pkgconfig"
14826 ax_warning_default_pkgconfig_dir="/"
14829 { { $as_echo "$as_me:${as_lineno-$LINENO}: : last pkgconfig dir is assumed as \"\$ax_warning_default_pkgconfig_dir\""; } >&5
14830 (: last pkgconfig dir is assumed as "$ax_warning_default_pkgconfig_dir") 2>&5
14832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14833 test $ac_status = 0; }
14834 ax_warning_default_pkgconfig_dir=`eval "echo $ax_warning_default_pkgconfig_dir"`
14835 ax_warning_default_pkgconfig_dir=`eval "echo $ax_warning_default_pkgconfig_dir"`
14836 ax_warning_default_pkgconfig_loc=`eval "echo $ax_warning_default_pkgconfig_loc"`
14837 ax_warning_default_pkgconfig_loc=`eval "echo $ax_warning_default_pkgconfig_loc"`
14838 ax_warning_default_pkgconfig_loc=`eval "echo $ax_warning_default_pkgconfig_loc"`
14839 ax_warning_default_pkgconfig_loc=`eval "echo $ax_warning_default_pkgconfig_loc"`
14840 for ax_warning_default_pkgconfig_dir in `echo "$PKG_CONFIG_PATH:$ax_warning_default_pkgconfig_dir" | sed -e 's,:, ,g'` ; do
14841 { { $as_echo "$as_me:${as_lineno-$LINENO}: : test \".\$ax_warning_default_pkgconfig_loc\" = \".\$ax_warning_default_pkgconfig_dir\""; } >&5
14842 (: test ".$ax_warning_default_pkgconfig_loc" = ".$ax_warning_default_pkgconfig_dir") 2>&5
14844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14845 test $ac_status = 0; }
14846 test ".$ax_warning_default_pkgconfig_loc" = ".$ax_warning_default_pkgconfig_dir" && break
14848 if test "$ax_warning_default_pkgconfig_loc" != "$ax_warning_default_pkgconfig_dir" ; then
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: pkgconfigdir=$ax_warning_default_pkgconfig_loc (see config.log)" >&5
14850 $as_echo "$as_me: warning: pkgconfigdir=$ax_warning_default_pkgconfig_loc (see config.log)" >&6;}
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: perhaps: make install pkgconfigdir=$ax_warning_default_pkgconfig_dir" >&5
14852 $as_echo "$as_me: perhaps: make install pkgconfigdir=$ax_warning_default_pkgconfig_dir" >&6;}
14854 pkgconfigdir: the default pkgconfigdir of $ax_warning_default_pkgconfig_loc
14855 pkgconfigdir: is not listed in the dirlist where pkg-config will look for
14856 pkgconfigdir: package-configs - you can override the install-path using
14857 pkgconfigdir: make install pkgconfigdir=$ax_warning_default_pkgconfig_dir
14858 pkgconfigdir: or set/append the directory to the environment variable
14859 pkgconfigdir: PKG_CONFIG_PATH="$ax_warning_default_pkgconfig_loc"
14863 pkgconfigdir="$ax_warning_default_pkgconfig_dir"
14866 # Check whether --enable-enable-default-aclocaldir was given.
14867 if test "${enable_enable_default_aclocaldir+set}" = set; then :
14868 enableval=$enable_enable_default_aclocaldir;
14871 test ".$enable_default_aclocaldir" = "." && enable_default_aclocaldir="no"
14872 case ".$enable_default_aclocaldir" in
14873 .no) ax_warning_default_aclocal_def='${datadir}/aclocal' ;;
14875 if test ".$ACLOCAL" = "." ; then
14876 # Extract the first word of "aclocal", so it can be a program name with args.
14877 set dummy aclocal; ac_word=$2
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14879 $as_echo_n "checking for $ac_word... " >&6; }
14880 if ${ac_cv_path_ACLOCAL+:} false; then :
14881 $as_echo_n "(cached) " >&6
14885 ac_cv_path_ACLOCAL="$ACLOCAL" # Let the user override the test with a path.
14888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14889 for as_dir in $PATH
14892 test -z "$as_dir" && as_dir=.
14893 for ac_exec_ext in '' $ac_executable_extensions; do
14894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14895 ac_cv_path_ACLOCAL="$as_dir/$ac_word$ac_exec_ext"
14896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14903 test -z "$ac_cv_path_ACLOCAL" && ac_cv_path_ACLOCAL=":"
14907 ACLOCAL=$ac_cv_path_ACLOCAL
14908 if test -n "$ACLOCAL"; then
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
14910 $as_echo "$ACLOCAL" >&6; }
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14913 $as_echo "no" >&6; }
14918 ax_warning_default_aclocal_bin="$ACLOCAL"
14919 test ".$ax_warning_default_aclocal_bin" = "." && ax_warning_default_aclocal_bin="aclocal"
14920 ax_warning_default_aclocal_def=`test ".$SHELL" = "." && SHELL="'sh'" ; eval "$ax_warning_default_aclocal_bin --print-ac-dir"`
14921 test ".$ax_warning_default_aclocal_def" = "." && test -d "/usr/share/aclocal" && ax_warning_default_aclocal_def="/usr/share/aclocal"
14922 test ".$ax_warning_default_aclocal_def" = "." && ax_warning_default_aclocal_def="/tmp" ;;
14923 *) ax_warning_default_aclocal_def="$enable_default_aclocaldir" ;;
14925 ax_warning_default_aclocal_loc='$ax_warning_default_aclocal_def'
14927 if test ".$ACLOCAL" = "." ; then
14928 # Extract the first word of "aclocal", so it can be a program name with args.
14929 set dummy aclocal; ac_word=$2
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14931 $as_echo_n "checking for $ac_word... " >&6; }
14932 if ${ac_cv_path_ACLOCAL+:} false; then :
14933 $as_echo_n "(cached) " >&6
14937 ac_cv_path_ACLOCAL="$ACLOCAL" # Let the user override the test with a path.
14940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14941 for as_dir in $PATH
14944 test -z "$as_dir" && as_dir=.
14945 for ac_exec_ext in '' $ac_executable_extensions; do
14946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14947 ac_cv_path_ACLOCAL="$as_dir/$ac_word$ac_exec_ext"
14948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14955 test -z "$ac_cv_path_ACLOCAL" && ac_cv_path_ACLOCAL=":"
14959 ACLOCAL=$ac_cv_path_ACLOCAL
14960 if test -n "$ACLOCAL"; then
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
14962 $as_echo "$ACLOCAL" >&6; }
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14965 $as_echo "no" >&6; }
14970 ax_warning_default_aclocal_bin="$ACLOCAL"
14971 test ".$ax_warning_default_aclocal_bin" = "." && ax_warning_default_aclocal_bin="aclocal"
14972 ax_warning_default_aclocal_dir=`test ".$SHELL" = "." && SHELL="'sh'" ; eval "$ax_warning_default_aclocal_bin --print-ac-dir"`
14973 test ".$ax_warning_default_aclocal_dir" = "." && test -d "/usr/share/aclocal" && ax_warning_default_aclocal_dir="/usr/share/aclocal"
14974 test ".$ax_warning_default_aclocal_dir" = "." && ax_warning_default_aclocal_dir="/tmp"
14975 ax_warning_default_aclocal_dir=`eval "echo $ax_warning_default_aclocal_dir"` # we need to expand
14976 ax_warning_default_aclocal_dir=`eval "echo $ax_warning_default_aclocal_dir"`
14977 ax_warning_default_aclocal_loc=`eval "echo $ax_warning_default_aclocal_loc"`
14978 ax_warning_default_aclocal_loc=`eval "echo $ax_warning_default_aclocal_loc"`
14979 ax_warning_default_aclocal_loc=`eval "echo $ax_warning_default_aclocal_loc"`
14980 ax_warning_default_aclocal_loc=`eval "echo $ax_warning_default_aclocal_loc"`
14981 { { $as_echo "$as_me:${as_lineno-$LINENO}: : test \"\$ax_warning_default_aclocal_loc\" = \"\$ax_warning_default_aclocal_dir\""; } >&5
14982 (: test "$ax_warning_default_aclocal_loc" = "$ax_warning_default_aclocal_dir") 2>&5
14984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14985 test $ac_status = 0; }
14986 if test "$ax_warning_default_aclocal_loc" != "$ax_warning_default_aclocal_dir" ; then
14987 if test -f "$ax_warning_default_aclocal_dir/dirlist" ; then
14988 for ax_warning_default_aclocal_dir in `cat $ax_warning_default_aclocal_dir/dirlist` $ax_warning_default_aclocal_dir ; do
14989 { { $as_echo "$as_me:${as_lineno-$LINENO}: : test \"\$ax_warning_default_aclocal_loc\" = \"\$ax_warning_default_aclocal_dir\""; } >&5
14990 (: test "$ax_warning_default_aclocal_loc" = "$ax_warning_default_aclocal_dir") 2>&5
14992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14993 test $ac_status = 0; }
14994 test "$ax_warning_default_aclocal_loc" = "$ax_warning_default_aclocal_dir" && break
14997 if test "$ax_warning_default_aclocal_loc" != "$ax_warning_default_aclocal_dir" ; then
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: aclocaldir=$ax_warning_default_aclocal_loc (see config.log)" >&5
14999 $as_echo "$as_me: warning: aclocaldir=$ax_warning_default_aclocal_loc (see config.log)" >&6;}
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: perhaps: make install aclocaldir=$ax_warning_default_aclocal_dir" >&5
15001 $as_echo "$as_me: perhaps: make install aclocaldir=$ax_warning_default_aclocal_dir" >&6;}
15003 aclocaldir: the default aclocaldir of $ax_warning_default_aclocal_loc
15004 aclocaldir: is not listed in the dirlist where aclocal will look
15005 aclocaldir: for macros - you can override the install-path using
15006 aclocaldir: make install aclocaldir=$ax_warning_default_aclocal_dir
15007 aclocaldir: or append the directory to aclocal reconfigures later as
15008 aclocaldir: aclocal -I $ax_warning_default_aclocal_loc
15009 aclocaldir: when an autoconf macro is needed from that directory
15014 aclocaldir="$ax_warning_default_aclocal_dir"
15018 ac_config_files="$ac_config_files Makefile zzip/Makefile zzipwrap/Makefile SDL/Makefile docs/Makefile test/Makefile bins/Makefile"
15020 cat >confcache <<\_ACEOF
15021 # This file is a shell script that caches the results of configure
15022 # tests run on this system so they can be shared between configure
15023 # scripts and configure runs, see configure's option --config-cache.
15024 # It is not useful on other systems. If it contains results you don't
15025 # want to keep, you may remove or edit it.
15027 # config.status only pays attention to the cache file if you give it
15028 # the --recheck option to rerun configure.
15030 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15031 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15032 # following values.
15036 # The following way of writing the cache mishandles newlines in values,
15037 # but we know of no workaround that is simple, portable, and efficient.
15038 # So, we kill variables containing newlines.
15039 # Ultrix sh set writes to stderr and can't be redirected directly,
15040 # and sets the high bit in the cache file unless we assign to the vars.
15042 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15043 eval ac_val=\$$ac_var
15047 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15048 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15051 _ | IFS | as_nl) ;; #(
15052 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15053 *) { eval $ac_var=; unset $ac_var;} ;;
15059 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15060 *${as_nl}ac_space=\ *)
15061 # `set' does not quote correctly, so add quotes: double-quote
15062 # substitution turns \\\\ into \\, and sed turns \\ into \.
15065 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15068 # `set' quotes correctly as required by POSIX, so do not add quotes.
15069 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15078 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15080 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15082 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15083 if test -w "$cache_file"; then
15084 if test "x$cache_file" != "x/dev/null"; then
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15086 $as_echo "$as_me: updating cache $cache_file" >&6;}
15087 if test ! -f "$cache_file" || test -h "$cache_file"; then
15088 cat confcache >"$cache_file"
15090 case $cache_file in #(
15092 mv -f confcache "$cache_file"$$ &&
15093 mv -f "$cache_file"$$ "$cache_file" ;; #(
15095 mv -f confcache "$cache_file" ;;
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15101 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15106 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15107 # Let make expand exec_prefix.
15108 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15110 DEFS=-DHAVE_CONFIG_H
15115 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15116 # 1. Remove the extension, and $U if already installed.
15117 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15118 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15119 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15120 # will be set to the directory where LIBOBJS objects are built.
15121 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15122 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15124 LIBOBJS=$ac_libobjs
15126 LTLIBOBJS=$ac_ltlibobjs
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15130 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15131 if test -n "$am_sleep_pid"; then
15132 # Hide warnings about reused PIDs.
15133 wait $am_sleep_pid 2>/dev/null
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15136 $as_echo "done" >&6; }
15137 if test -n "$EXEEXT"; then
15139 am__EXEEXT_FALSE='#'
15141 am__EXEEXT_TRUE='#'
15145 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15146 as_fn_error $? "conditional \"AMDEP\" was never defined.
15147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15149 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15150 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15153 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15154 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15159 : "${CONFIG_STATUS=./config.status}"
15161 ac_clean_files_save=$ac_clean_files
15162 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15164 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15166 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15168 # Generated by $as_me.
15169 # Run this file to recreate the current configuration.
15170 # Compiler output produced by configure, useful for debugging
15171 # configure, is in config.log if it exists.
15174 ac_cs_recheck=false
15177 SHELL=\${CONFIG_SHELL-$SHELL}
15180 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15181 ## -------------------- ##
15182 ## M4sh Initialization. ##
15183 ## -------------------- ##
15185 # Be more Bourne compatible
15186 DUALCASE=1; export DUALCASE # for MKS sh
15187 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15190 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15191 # is contrary to our usage. Disable this feature.
15192 alias -g '${1+"$@"}'='"$@"'
15193 setopt NO_GLOB_SUBST
15195 case `(set -o) 2>/dev/null` in #(
15207 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15208 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15209 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15210 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15211 # Prefer a ksh shell builtin over an external printf program on Solaris,
15212 # but without wasting forks for bash or zsh.
15213 if test -z "$BASH_VERSION$ZSH_VERSION" \
15214 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15215 as_echo='print -r --'
15216 as_echo_n='print -rn --'
15217 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15218 as_echo='printf %s\n'
15219 as_echo_n='printf %s'
15221 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15222 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15223 as_echo_n='/usr/ucb/echo -n'
15225 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15226 as_echo_n_body='eval
15230 expr "X$arg" : "X\\(.*\\)$as_nl";
15231 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15233 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15235 export as_echo_n_body
15236 as_echo_n='sh -c $as_echo_n_body as_echo'
15238 export as_echo_body
15239 as_echo='sh -c $as_echo_body as_echo'
15242 # The user is always right.
15243 if test "${PATH_SEPARATOR+set}" != set; then
15245 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15246 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15253 # We need space, tab and new line, in precisely that order. Quoting is
15254 # there to prevent editors from complaining about space-tab.
15255 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15256 # splitting by setting IFS to empty value.)
15259 # Find who we are. Look in the path if we contain no directory separator.
15262 *[\\/]* ) as_myself=$0 ;;
15263 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15264 for as_dir in $PATH
15267 test -z "$as_dir" && as_dir=.
15268 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15274 # We did not find ourselves, most probably we were run as `sh COMMAND'
15275 # in which case we are not to be found in the path.
15276 if test "x$as_myself" = x; then
15279 if test ! -f "$as_myself"; then
15280 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15284 # Unset variables that we do not need and which cause bugs (e.g. in
15285 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15286 # suppresses any "Segmentation fault" message there. '((' could
15287 # trigger a bug in pdksh 5.2.14.
15288 for as_var in BASH_ENV ENV MAIL MAILPATH
15289 do eval test x\${$as_var+set} = xset \
15290 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15303 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15306 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15307 # ----------------------------------------
15308 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15309 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15310 # script with STATUS, using 1 if that was 0.
15313 as_status=$1; test $as_status -eq 0 && as_status=1
15315 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15316 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15318 $as_echo "$as_me: error: $2" >&2
15319 as_fn_exit $as_status
15323 # as_fn_set_status STATUS
15324 # -----------------------
15325 # Set $? to STATUS, without forking.
15326 as_fn_set_status ()
15329 } # as_fn_set_status
15331 # as_fn_exit STATUS
15332 # -----------------
15333 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15337 as_fn_set_status $1
15343 # Portably unset VAR.
15346 { eval $1=; unset $1;}
15348 as_unset=as_fn_unset
15349 # as_fn_append VAR VALUE
15350 # ----------------------
15351 # Append the text in VALUE to the end of the definition contained in VAR. Take
15352 # advantage of any shell optimizations that allow amortized linear growth over
15353 # repeated appends, instead of the typical quadratic growth present in naive
15355 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15356 eval 'as_fn_append ()
15367 # as_fn_arith ARG...
15368 # ------------------
15369 # Perform arithmetic evaluation on the ARGs, and store the result in the
15370 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15371 # must be portable across $(()) and expr.
15372 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15373 eval 'as_fn_arith ()
15380 as_val=`expr "$@" || test $? -eq 1`
15385 if expr a : '\(a\)' >/dev/null 2>&1 &&
15386 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15392 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15393 as_basename=basename
15398 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15404 as_me=`$as_basename -- "$0" ||
15405 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15406 X"$0" : 'X\(//\)$' \| \
15407 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15409 sed '/^.*\/\([^/][^/]*\)\/*$/{
15423 # Avoid depending upon Character Ranges.
15424 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15425 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15426 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15427 as_cr_digits='0123456789'
15428 as_cr_alnum=$as_cr_Letters$as_cr_digits
15430 ECHO_C= ECHO_N= ECHO_T=
15431 case `echo -n x` in #(((((
15433 case `echo 'xy\c'` in
15434 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15436 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15443 rm -f conf$$ conf$$.exe conf$$.file
15444 if test -d conf$$.dir; then
15445 rm -f conf$$.dir/conf$$.file
15448 mkdir conf$$.dir 2>/dev/null
15450 if (echo >conf$$.file) 2>/dev/null; then
15451 if ln -s conf$$.file conf$$ 2>/dev/null; then
15453 # ... but there are two gotchas:
15454 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15455 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15456 # In both cases, we have to default to `cp -pR'.
15457 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15459 elif ln conf$$.file conf$$ 2>/dev/null; then
15467 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15468 rmdir conf$$.dir 2>/dev/null
15473 # Create "$as_dir" as a directory, including parents if necessary.
15478 -*) as_dir=./$as_dir;;
15480 test -d "$as_dir" || eval $as_mkdir_p || {
15484 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15485 *) as_qdir=$as_dir;;
15487 as_dirs="'$as_qdir' $as_dirs"
15488 as_dir=`$as_dirname -- "$as_dir" ||
15489 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15490 X"$as_dir" : 'X\(//\)[^/]' \| \
15491 X"$as_dir" : 'X\(//\)$' \| \
15492 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15493 $as_echo X"$as_dir" |
15494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15498 /^X\(\/\/\)[^/].*/{
15511 test -d "$as_dir" && break
15513 test -z "$as_dirs" || eval "mkdir $as_dirs"
15514 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15518 if mkdir -p . 2>/dev/null; then
15519 as_mkdir_p='mkdir -p "$as_dir"'
15521 test -d ./-p && rmdir ./-p
15526 # as_fn_executable_p FILE
15527 # -----------------------
15528 # Test if FILE is an executable regular file.
15529 as_fn_executable_p ()
15531 test -f "$1" && test -x "$1"
15532 } # as_fn_executable_p
15533 as_test_x='test -x'
15534 as_executable_p=as_fn_executable_p
15536 # Sed expression to map a string onto a valid CPP name.
15537 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15539 # Sed expression to map a string onto a valid variable name.
15540 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15544 ## ----------------------------------- ##
15545 ## Main body of $CONFIG_STATUS script. ##
15546 ## ----------------------------------- ##
15548 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15551 # Save the log message, to keep $0 and so on meaningful, and to
15552 # report actual input values of CONFIG_FILES etc. instead of their
15553 # values after options handling.
15555 This file was extended by $as_me, which was
15556 generated by GNU Autoconf 2.69. Invocation command line was
15558 CONFIG_FILES = $CONFIG_FILES
15559 CONFIG_HEADERS = $CONFIG_HEADERS
15560 CONFIG_LINKS = $CONFIG_LINKS
15561 CONFIG_COMMANDS = $CONFIG_COMMANDS
15564 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15569 case $ac_config_files in *"
15570 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15573 case $ac_config_headers in *"
15574 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15579 # Files that config.status was made for.
15580 config_files="$ac_config_files"
15581 config_headers="$ac_config_headers"
15582 config_commands="$ac_config_commands"
15586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15588 \`$as_me' instantiates files and other configuration actions
15589 from templates according to the current configuration. Unless the files
15590 and actions are specified as TAGs, all are instantiated by default.
15592 Usage: $0 [OPTION]... [TAG]...
15594 -h, --help print this help, then exit
15595 -V, --version print version number and configuration settings, then exit
15596 --config print configuration, then exit
15597 -q, --quiet, --silent
15598 do not print progress messages
15599 -d, --debug don't remove temporary files
15600 --recheck update $as_me by reconfiguring in the same conditions
15601 --file=FILE[:TEMPLATE]
15602 instantiate the configuration file FILE
15603 --header=FILE[:TEMPLATE]
15604 instantiate the configuration header FILE
15606 Configuration files:
15609 Configuration headers:
15612 Configuration commands:
15615 Report bugs to the package provider."
15618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15619 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15622 configured by $0, generated by GNU Autoconf 2.69,
15623 with options \\"\$ac_cs_config\\"
15625 Copyright (C) 2012 Free Software Foundation, Inc.
15626 This config.status script is free software; the Free Software Foundation
15627 gives unlimited permission to copy, distribute and modify it."
15634 test -n "\$AWK" || AWK=awk
15637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15638 # The default lists apply if the user does not specify any file.
15644 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15645 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15649 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15661 # Handling of the options.
15662 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15664 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15665 $as_echo "$ac_cs_version"; exit ;;
15666 --config | --confi | --conf | --con | --co | --c )
15667 $as_echo "$ac_cs_config"; exit ;;
15668 --debug | --debu | --deb | --de | --d | -d )
15670 --file | --fil | --fi | --f )
15673 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15674 '') as_fn_error $? "missing file argument" ;;
15676 as_fn_append CONFIG_FILES " '$ac_optarg'"
15677 ac_need_defaults=false;;
15678 --header | --heade | --head | --hea )
15681 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15683 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15684 ac_need_defaults=false;;
15686 # Conflict between --help and --header
15687 as_fn_error $? "ambiguous option: \`$1'
15688 Try \`$0 --help' for more information.";;
15689 --help | --hel | -h )
15690 $as_echo "$ac_cs_usage"; exit ;;
15691 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15692 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15695 # This is an error.
15696 -*) as_fn_error $? "unrecognized option: \`$1'
15697 Try \`$0 --help' for more information." ;;
15699 *) as_fn_append ac_config_targets " $1"
15700 ac_need_defaults=false ;;
15706 ac_configure_extra_args=
15708 if $ac_cs_silent; then
15710 ac_configure_extra_args="$ac_configure_extra_args --silent"
15714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15715 if \$ac_cs_recheck; then
15716 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15718 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15719 CONFIG_SHELL='$SHELL'
15720 export CONFIG_SHELL
15725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15729 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15730 ## Running $as_me. ##
15736 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15740 ax_enable_builddir_srcdir="$srcdir" # $srcdir
15741 ax_enable_builddir_host="$HOST" # $HOST / $host
15742 ax_enable_builddir_version="$VERSION" # $VERSION
15743 ax_enable_builddir_package="$PACKAGE" # $PACKAGE
15744 ax_enable_builddir_auxdir="$ax_enable_builddir_auxdir" # $AUX
15745 ax_enable_builddir_sed="$ax_enable_builddir_sed" # $SED
15746 ax_enable_builddir="$ax_enable_builddir" # $SUB
15748 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15751 # The HP-UX ksh and POSIX shell print the target directory to stdout
15752 # if CDPATH is set.
15753 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15755 sed_quote_subst='$sed_quote_subst'
15756 double_quote_subst='$double_quote_subst'
15757 delay_variable_subst='$delay_variable_subst'
15758 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
15759 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15760 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15761 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15762 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15763 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15764 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15765 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15766 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15767 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15768 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15769 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15770 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15771 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15772 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15773 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15774 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15775 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15776 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15777 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15778 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15779 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15780 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15781 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15782 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15783 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15784 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15785 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15786 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15787 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15788 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15789 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15790 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15791 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15792 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15793 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15794 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15795 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15796 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15797 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15798 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15799 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15800 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15801 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15802 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15803 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15804 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"`'
15805 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"`'
15806 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15807 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15808 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15809 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15810 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15811 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15812 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15813 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15814 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15815 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15816 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15817 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15818 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15819 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15820 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15821 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15822 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15823 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15824 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15825 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15826 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15827 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15828 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15829 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15830 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15831 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15832 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15833 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15834 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15835 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15836 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15837 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15838 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15839 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15840 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15841 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15842 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15843 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15844 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15845 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15846 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15847 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15848 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15849 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15850 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15851 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15852 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15853 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15854 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15855 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15856 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15857 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15858 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15859 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15860 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15861 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15862 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15863 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15864 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15865 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15866 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15867 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15868 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15869 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15870 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15871 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15872 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15873 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15874 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15875 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15876 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15877 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15880 LTCFLAGS='$LTCFLAGS'
15881 compiler='$compiler_DEFAULT'
15883 # Quote evaled strings.
15894 deplibs_check_method \
15903 lt_cv_sys_global_symbol_pipe \
15904 lt_cv_sys_global_symbol_to_cdecl \
15905 lt_cv_sys_global_symbol_to_c_name_address \
15906 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15909 lt_prog_compiler_no_builtin_flag \
15910 lt_prog_compiler_wl \
15911 lt_prog_compiler_pic \
15912 lt_prog_compiler_static \
15913 lt_cv_prog_compiler_c_o \
15921 export_dynamic_flag_spec \
15922 whole_archive_flag_spec \
15923 compiler_needs_object \
15925 allow_undefined_flag \
15926 no_undefined_flag \
15927 hardcode_libdir_flag_spec \
15928 hardcode_libdir_flag_spec_ld \
15929 hardcode_libdir_separator \
15934 variables_saved_for_relink \
15936 library_names_spec \
15941 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15942 *[\\\\\\\`\\"\\\$]*)
15943 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15946 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15951 # Double-quote double-evaled strings.
15952 for var in reload_cmds \
15953 old_postinstall_cmds \
15954 old_postuninstall_cmds \
15956 extract_expsyms_cmds \
15957 old_archive_from_new_cmds \
15958 old_archive_from_expsyms_cmds \
15960 archive_expsym_cmds \
15962 module_expsym_cmds \
15963 export_symbols_cmds \
15966 postuninstall_cmds \
15968 sys_lib_search_path_spec \
15969 sys_lib_dlsearch_path_spec; do
15970 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15971 *[\\\\\\\`\\"\\\$]*)
15972 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15975 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15980 # Fix-up fallback echo if it was mangled by the above quoting rules.
15982 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15986 ac_aux_dir='$ac_aux_dir'
15987 xsi_shell='$xsi_shell'
15988 lt_shell_append='$lt_shell_append'
15990 # See if we are running on zsh, and set the options which allow our
15991 # commands through without removal of \ escapes INIT.
15992 if test -n "\${ZSH_VERSION+set}" ; then
15993 setopt NO_GLOB_SUBST
15999 TIMESTAMP='$TIMESTAMP'
16008 ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
16009 pkgconfig_prefix='$prefix'
16010 pkgconfig_execprefix='$exec_prefix'
16011 pkgconfig_bindir='$bindir'
16012 pkgconfig_libdir='$libdir'
16013 pkgconfig_includedir='$includedir'
16014 pkgconfig_datarootdir='$datarootdir'
16015 pkgconfig_datadir='$datadir'
16016 pkgconfig_sysconfdir='$sysconfdir'
16017 pkgconfig_suffix='$ax_create_pkgconfig_suffix'
16018 pkgconfig_package='$PACKAGE_NAME'
16019 pkgconfig_libname='$ax_create_pkgconfig_libname'
16020 pkgconfig_description='$ax_create_pkgconfig_description'
16021 pkgconfig_version='$ax_create_pkgconfig_version'
16022 pkgconfig_requires='$ax_create_pkgconfig_requires'
16023 pkgconfig_libs='$ax_create_pkgconfig_libs'
16024 pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
16025 pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
16026 pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
16027 pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
16032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16034 # Handling of arguments.
16035 for ac_config_target in $ac_config_targets
16037 case $ac_config_target in
16038 "buildir") CONFIG_COMMANDS="$CONFIG_COMMANDS buildir" ;;
16039 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16040 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16041 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16042 "zzip/_config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS zzip/_config.h" ;;
16043 "zzip/_msvc.h") CONFIG_COMMANDS="$CONFIG_COMMANDS zzip/_msvc.h" ;;
16044 "$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
16045 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16046 "zzip/Makefile") CONFIG_FILES="$CONFIG_FILES zzip/Makefile" ;;
16047 "zzipwrap/Makefile") CONFIG_FILES="$CONFIG_FILES zzipwrap/Makefile" ;;
16048 "SDL/Makefile") CONFIG_FILES="$CONFIG_FILES SDL/Makefile" ;;
16049 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16050 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16051 "bins/Makefile") CONFIG_FILES="$CONFIG_FILES bins/Makefile" ;;
16053 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16058 # If the user did not use the arguments to specify the items to instantiate,
16059 # then the envvar interface is used. Set only those that are not.
16060 # We use the long form for the default assignment because of an extremely
16061 # bizarre bug on SunOS 4.1.3.
16062 if $ac_need_defaults; then
16063 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16064 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16065 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16068 # Have a temporary directory for convenience. Make it in the build tree
16069 # simply because there is no reason against having it here, and in addition,
16070 # creating and moving files from /tmp can sometimes cause problems.
16071 # Hook for its removal unless debugging.
16072 # Note that there is a small window in which the directory will not be cleaned:
16073 # after its creation but before its name has been assigned to `$tmp'.
16077 trap 'exit_status=$?
16078 : "${ac_tmp:=$tmp}"
16079 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16081 trap 'as_fn_exit 1' 1 2 13 15
16083 # Create a (secure) tmp directory for tmp files.
16086 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16090 tmp=./conf$$-$RANDOM
16091 (umask 077 && mkdir "$tmp")
16092 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16095 # Set up the scripts for CONFIG_FILES section.
16096 # No need to generate them if there are no CONFIG_FILES.
16097 # This happens for instance with `./config.status config.h'.
16098 if test -n "$CONFIG_FILES"; then
16101 ac_cr=`echo X | tr X '\015'`
16102 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16103 # But we know of no other shell where ac_cr would be empty at this
16104 # point, so we can use a bashism as a fallback.
16105 if test "x$ac_cr" = x; then
16106 eval ac_cr=\$\'\\r\'
16108 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16109 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16112 ac_cs_awk_cr=$ac_cr
16115 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16120 echo "cat >conf$$subs.awk <<_ACEOF" &&
16121 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16123 } >conf$$subs.sh ||
16124 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16125 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16127 for ac_last_try in false false false false false :; do
16128 . ./conf$$subs.sh ||
16129 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16131 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16132 if test $ac_delim_n = $ac_delim_num; then
16134 elif $ac_last_try; then
16135 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16137 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16140 rm -f conf$$subs.sh
16142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16143 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16147 s/^/S["/; s/!.*/"]=/
16157 s/\(.\{148\}\)..*/\1/
16159 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16164 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16171 s/\(.\{148\}\)..*/\1/
16173 s/["\\]/\\&/g; s/^/"/; s/$/"/
16177 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16182 ' <conf$$subs.awk | sed '
16187 ' >>$CONFIG_STATUS || ac_write_fail=1
16188 rm -f conf$$subs.awk
16189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16191 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16192 for (key in S) S_is_set[key] = 1
16198 nfields = split(line, field, "@")
16200 len = length(field[1])
16201 for (i = 2; i < nfields; i++) {
16203 keylen = length(key)
16204 if (S_is_set[key]) {
16206 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16207 len += length(value) + length(field[++i])
16218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16219 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16220 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16223 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16224 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16227 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16228 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16229 # trailing colons and then remove the whole line if VPATH becomes empty
16230 # (actually we leave an empty line to preserve line numbers).
16231 if test "x$srcdir" = x.; then
16232 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16251 fi # test -n "$CONFIG_FILES"
16253 # Set up the scripts for CONFIG_HEADERS section.
16254 # No need to generate them if there are no CONFIG_HEADERS.
16255 # This happens for instance with `./config.status Makefile'.
16256 if test -n "$CONFIG_HEADERS"; then
16257 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16261 # Transform confdefs.h into an awk script `defines.awk', embedded as
16262 # here-document in config.status, that substitutes the proper values into
16263 # config.h.in to produce config.h.
16265 # Create a delimiter string that does not exist in confdefs.h, to ease
16266 # handling of long lines.
16268 for ac_last_try in false false :; do
16269 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16270 if test -z "$ac_tt"; then
16272 elif $ac_last_try; then
16273 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16275 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16279 # For the awk script, D is an array of macro values keyed by name,
16280 # likewise P contains macro parameters if any. Preserve backslash
16281 # newline sequences.
16283 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16285 s/.\{148\}/&'"$ac_delim"'/g
16288 s/^[ ]*#[ ]*define[ ][ ]*/ /
16295 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16297 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16301 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16302 D["\1"]=" \3\\\\\\n"\\/p
16304 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16309 s/.\{148\}/&'"$ac_delim"'/g
16314 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16317 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16319 ' <confdefs.h | sed '
16320 s/'"$ac_delim"'/"\\\
16321 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16324 for (key in D) D_is_set[key] = 1
16327 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16329 split(line, arg, " ")
16330 if (arg[1] == "#") {
16334 defundef = substr(arg[1], 2)
16337 split(mac1, mac2, "(") #)
16339 prefix = substr(line, 1, index(line, defundef) - 1)
16340 if (D_is_set[macro]) {
16341 # Preserve the white space surrounding the "#".
16342 print prefix "define", macro P[macro] D[macro]
16345 # Replace #undef with comments. This is necessary, for example,
16346 # in the case of _POSIX_SOURCE, which is predefined and required
16347 # on some systems where configure will not decide to define it.
16348 if (defundef == "undef") {
16349 print "/*", prefix defundef, macro, "*/"
16357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16358 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16359 fi # test -n "$CONFIG_HEADERS"
16362 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16367 :[FHLC]) ac_mode=$ac_tag; continue;;
16369 case $ac_mode$ac_tag in
16371 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16372 :[FH]-) ac_tag=-:-;;
16373 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16390 -) ac_f="$ac_tmp/stdin";;
16391 *) # Look for the file first in the build tree, then in the source tree
16392 # (if the path is not absolute). The absolute path cannot be DOS-style,
16393 # because $ac_f cannot contain `:'.
16397 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16399 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16401 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16402 as_fn_append ac_file_inputs " '$ac_f'"
16405 # Let's still pretend it is `configure' which instantiates (i.e., don't
16406 # use $as_me), people would be surprised to read:
16407 # /* config.h. Generated by config.status. */
16408 configure_input='Generated from '`
16409 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16411 if test x"$ac_file" != x-; then
16412 configure_input="$ac_file. $configure_input"
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16414 $as_echo "$as_me: creating $ac_file" >&6;}
16416 # Neutralize special characters interpreted by sed in replacement strings.
16417 case $configure_input in #(
16418 *\&* | *\|* | *\\* )
16419 ac_sed_conf_input=`$as_echo "$configure_input" |
16420 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16421 *) ac_sed_conf_input=$configure_input;;
16425 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16426 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16431 ac_dir=`$as_dirname -- "$ac_file" ||
16432 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16433 X"$ac_file" : 'X\(//\)[^/]' \| \
16434 X"$ac_file" : 'X\(//\)$' \| \
16435 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16436 $as_echo X"$ac_file" |
16437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16441 /^X\(\/\/\)[^/].*/{
16454 as_dir="$ac_dir"; as_fn_mkdir_p
16458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16460 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16461 # A ".." for each directory in $ac_dir_suffix.
16462 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16463 case $ac_top_builddir_sub in
16464 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16465 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16468 ac_abs_top_builddir=$ac_pwd
16469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16470 # for backward compatibility:
16471 ac_top_builddir=$ac_top_build_prefix
16474 .) # We are building in place.
16476 ac_top_srcdir=$ac_top_builddir_sub
16477 ac_abs_top_srcdir=$ac_pwd ;;
16478 [\\/]* | ?:[\\/]* ) # Absolute name.
16479 ac_srcdir=$srcdir$ac_dir_suffix;
16480 ac_top_srcdir=$srcdir
16481 ac_abs_top_srcdir=$srcdir ;;
16482 *) # Relative name.
16483 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16484 ac_top_srcdir=$ac_top_build_prefix$srcdir
16485 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16497 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16498 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16500 ac_MKDIR_P=$MKDIR_P
16502 [\\/$]* | ?:[\\/]* ) ;;
16503 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16508 # If the template does not know about datarootdir, expand it.
16509 # FIXME: This hack should be removed a few years after 2.60.
16510 ac_datarootdir_hack=; ac_datarootdir_seen=
16521 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16522 *datarootdir*) ac_datarootdir_seen=yes;;
16523 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16525 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16528 ac_datarootdir_hack='
16529 s&@datadir@&$datadir&g
16530 s&@docdir@&$docdir&g
16531 s&@infodir@&$infodir&g
16532 s&@localedir@&$localedir&g
16533 s&@mandir@&$mandir&g
16534 s&\\\${datarootdir}&$datarootdir&g' ;;
16538 # Neutralize VPATH when `$srcdir' = `.'.
16539 # Shell code in configure.ac might set extrasub.
16540 # FIXME: do we really want to maintain this feature?
16541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16542 ac_sed_extra="$ac_vpsub
16545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16547 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16548 s|@configure_input@|$ac_sed_conf_input|;t t
16549 s&@top_builddir@&$ac_top_builddir_sub&;t t
16550 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16551 s&@srcdir@&$ac_srcdir&;t t
16552 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16553 s&@top_srcdir@&$ac_top_srcdir&;t t
16554 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16555 s&@builddir@&$ac_builddir&;t t
16556 s&@abs_builddir@&$ac_abs_builddir&;t t
16557 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16558 s&@INSTALL@&$ac_INSTALL&;t t
16559 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16560 $ac_datarootdir_hack
16562 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16563 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16565 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16566 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16567 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16568 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16570 which seems to be undefined. Please make sure it is defined" >&5
16571 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16572 which seems to be undefined. Please make sure it is defined" >&2;}
16574 rm -f "$ac_tmp/stdin"
16576 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16577 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16579 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16585 if test x"$ac_file" != x-; then
16587 $as_echo "/* $configure_input */" \
16588 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16589 } >"$ac_tmp/config.h" \
16590 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16591 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16593 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16596 mv "$ac_tmp/config.h" "$ac_file" \
16597 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16600 $as_echo "/* $configure_input */" \
16601 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16602 || as_fn_error $? "could not create -" "$LINENO" 5
16604 # Compute "$ac_file"'s index in $config_headers.
16607 for _am_header in $config_headers :; do
16608 case $_am_header in
16609 $_am_arg | $_am_arg:* )
16612 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16615 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16616 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16617 X"$_am_arg" : 'X\(//\)[^/]' \| \
16618 X"$_am_arg" : 'X\(//\)$' \| \
16619 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16620 $as_echo X"$_am_arg" |
16621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16625 /^X\(\/\/\)[^/].*/{
16637 s/.*/./; q'`/stamp-h$_am_stamp_count
16640 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16641 $as_echo "$as_me: executing $ac_file commands" >&6;}
16646 case $ac_file$ac_mode in
16647 "buildir":C) ac_top_srcdir="$ax_enable_builddir_srcdir"
16648 if test ".$ax_enable_builddir" = "." ; then
16649 if test -f "$top_srcdir/Makefile" ; then
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: skipping top_srcdir/Makefile - left untouched" >&5
16651 $as_echo "$as_me: skipping top_srcdir/Makefile - left untouched" >&6;}
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: skipping top_srcdir/Makefile - not created" >&5
16654 $as_echo "$as_me: skipping top_srcdir/Makefile - not created" >&6;}
16657 if test -f "$ac_top_srcdir/Makefile" ; then
16658 a=`grep "^VERSION " "$ac_top_srcdir/Makefile"` ; b=`grep "^VERSION " Makefile`
16659 test "$a" != "$b" && rm "$ac_top_srcdir/Makefile"
16661 if test -f "$ac_top_srcdir/Makefile" ; then
16662 echo "$ac_top_srcdir/Makefile : $ac_top_srcdir/Makefile.in" > $tmp/conftemp.mk
16663 echo " @ echo 'REMOVED,,,' >\$@" >> $tmp/conftemp.mk
16664 eval "${MAKE-make} -f $tmp/conftemp.mk 2>/dev/null >/dev/null"
16665 if grep '^REMOVED,,,' "$ac_top_srcdir/Makefile" >/dev/null
16666 then rm $ac_top_srcdir/Makefile ; fi
16667 cp $tmp/conftemp.mk $ac_top_srcdir/makefiles.mk~ ## DEBUGGING
16669 if test ! -f "$ac_top_srcdir/Makefile" ; then
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: create top_srcdir/Makefile guessed from local Makefile" >&5
16671 $as_echo "$as_me: create top_srcdir/Makefile guessed from local Makefile" >&6;}
16672 x='`' ; cat >$tmp/conftemp.sed <<_EOF
16685 s/\\(\\n\\) /\\1 /g
16689 s/^srcdir *=.*/srcdir = ./
16690 s/^top_srcdir *=.*/top_srcdir = ./
16695 /:\$/s/ \\([a-z][a-z-]*[a-z]\\) / \\1 \\1-all /g
16696 /:\$/s/^\\([a-z][a-z-]*[a-z]\\)\\([ :]\\)/\\1 \\1-all\\2/
16698 /^all all-all[ :]/i\\
16699 all-configured : all-all
16702 @ HOST="\$(HOST)\" \\\\\\
16703 ; test ".\$\$HOST" = "." && HOST=$x sh $ax_enable_builddir_auxdir/config.guess $x \\\\\\
16704 ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
16705 ; use=$x basename "\$\@" -all $x; n=$x echo \$\$BUILD | wc -w $x \\\\\\
16706 ; echo "MAKE \$\$HOST : \$\$n * \$\@"; if test "\$\$n" = "0" ; then : \\\\\\
16707 ; BUILD=$x grep "^####.*|" Makefile |tail -1| sed -e 's/.*|//' $x ; fi \\\\\\
16708 ; test ".\$\$BUILD" = "." && BUILD="." \\\\\\
16709 ; test "\$\$use" = "\$\@" && BUILD=$x echo "\$\$BUILD" | tail -1 $x \\\\\\
16710 ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
16711 ; (cd "\$\$i" && test ! -f configure && \$(MAKE) \$\$use) || exit; done
16713 @ HOST="\$(HOST)\" \\\\\\
16714 ; test ".\$\$HOST" = "." && HOST=$x sh $ax_enable_builddir_auxdir/config.guess $x \\\\\\
16715 ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
16716 ; found=$x echo \$\$BUILD | wc -w $x \\\\\\
16717 ; echo "MAKE \$\$HOST : \$\$found \$(PACKAGE)-\$(VERSION).tar.*" \\\\\\
16718 ; if test "\$\$found" = "0" ; then : \\\\\\
16719 ; BUILD=$x grep "^#### .*|" Makefile |tail -1| sed -e 's/.*|//' $x \\\\\\
16720 ; fi ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
16721 ; for f in \$\$i/\$(PACKAGE)-\$(VERSION).tar.* \\\\\\
16722 ; do test -f "\$\$f" && mv "\$\$f" \$(PUB). ; done ; break ; done
16723 /distclean-all *:/a\\
16724 @ HOST="\$(HOST)\" \\\\\\
16725 ; test ".\$\$HOST" = "." && HOST=$x sh $ax_enable_builddir_auxdir/config.guess $x \\\\\\
16726 ; BUILD=$x grep "^#### .*| *\\./" Makefile | sed -e 's/.*|//' $x \\\\\\
16727 ; use=$x basename "\$\@" -all $x; n=$x echo \$\$BUILD | wc -w $x \\\\\\
16728 ; echo "MAKE \$\$HOST : \$\$n * \$\@ (all local builds)" \\\\\\
16729 ; test ".\$\$BUILD" = "." && BUILD="." \\\\\\
16730 ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
16731 ; echo "# rm -r \$\$i"; done ; echo "# (sleep 3)" ; sleep 3 \\\\\\
16732 ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
16733 ; echo "rm -r \$\$i"; (rm -r "\$\$i") ; done ; rm Makefile
16735 cp "$tmp/conftemp.sed" "$ac_top_srcdir/makefile.sed~" ## DEBUGGING
16736 $ax_enable_builddir_sed -f $tmp/conftemp.sed Makefile >$ac_top_srcdir/Makefile
16737 if test -f "$ac_top_srcdir/Makefile.mk" ; then
16738 { $as_echo "$as_me:${as_lineno-$LINENO}: extend top_srcdir/Makefile with top_srcdir/Makefile.mk" >&5
16739 $as_echo "$as_me: extend top_srcdir/Makefile with top_srcdir/Makefile.mk" >&6;}
16740 cat $ac_top_srcdir/Makefile.mk >>$ac_top_srcdir/Makefile
16742 echo "$xxxx CONFIGURATIONS FOR TOPLEVEL MAKEFILE: " >>$ac_top_srcdir/Makefile
16744 if grep '^; echo "MAKE ' $ac_top_srcdir/Makefile >/dev/null ; then
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: buggy sed found - it deletes tab in \"a\" text parts" >&5
16746 $as_echo "$as_me: buggy sed found - it deletes tab in \"a\" text parts" >&6;}
16747 $ax_enable_builddir_sed -e '/^@ HOST=/s/^/ /' -e '/^; /s/^/ /' $ac_top_srcdir/Makefile \
16748 >$ac_top_srcdir/Makefile~
16749 (test -s $ac_top_srcdir/Makefile~ && mv $ac_top_srcdir/Makefile~ $ac_top_srcdir/Makefile) 2>/dev/null
16752 xxxx="\\#\\#\\#\\#"
16753 # echo "/^$xxxx *$ax_enable_builddir_host /d" >$tmp/conftemp.sed
16754 echo "s!^$xxxx [^|]* | *$ax_enable_builddir *\$!$xxxx ...... $ax_enable_builddir!" >$tmp/conftemp.sed
16755 $ax_enable_builddir_sed -f "$tmp/conftemp.sed" "$ac_top_srcdir/Makefile" >$tmp/mkfile.tmp
16756 cp "$tmp/conftemp.sed" "$ac_top_srcdir/makefiles.sed~" ## DEBUGGING
16757 cp "$tmp/mkfile.tmp" "$ac_top_srcdir/makefiles.out~" ## DEBUGGING
16758 if cmp -s "$ac_top_srcdir/Makefile" "$tmp/mkfile.tmp" 2>/dev/null ; then
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: keeping top_srcdir/Makefile from earlier configure" >&5
16760 $as_echo "$as_me: keeping top_srcdir/Makefile from earlier configure" >&6;}
16761 rm "$tmp/mkfile.tmp"
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: reusing top_srcdir/Makefile from earlier configure" >&5
16764 $as_echo "$as_me: reusing top_srcdir/Makefile from earlier configure" >&6;}
16765 mv "$tmp/mkfile.tmp" "$ac_top_srcdir/Makefile"
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: build in $ax_enable_builddir (HOST=$ax_enable_builddir_host)" >&5
16769 $as_echo "$as_me: build in $ax_enable_builddir (HOST=$ax_enable_builddir_host)" >&6;}
16771 echo "$xxxx" "$ax_enable_builddir_host" "|$ax_enable_builddir" >>$ac_top_srcdir/Makefile
16774 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16775 # Older Autoconf quotes --file arguments for eval, but not when files
16776 # are listed without --file. Let's play safe and only enable the eval
16777 # if we detect the quoting.
16778 case $CONFIG_FILES in
16779 *\'*) eval set x "$CONFIG_FILES" ;;
16780 *) set x $CONFIG_FILES ;;
16785 # Strip MF so we end up with the name of the file.
16786 mf=`echo "$mf" | sed -e 's/:.*$//'`
16787 # Check whether this is an Automake generated Makefile or not.
16788 # We used to match only the files named 'Makefile.in', but
16789 # some people rename them; so instead we look at the file content.
16790 # Grep'ing the first line is not enough: some people post-process
16791 # each Makefile.in and add a new line on top of each file to say so.
16792 # Grep'ing the whole file is not good either: AIX grep has a line
16793 # limit of 2048, but all sed's we know have understand at least 4000.
16794 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16795 dirpart=`$as_dirname -- "$mf" ||
16796 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16797 X"$mf" : 'X\(//\)[^/]' \| \
16798 X"$mf" : 'X\(//\)$' \| \
16799 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16805 /^X\(\/\/\)[^/].*/{
16821 # Extract the definition of DEPDIR, am__include, and am__quote
16822 # from the Makefile without running 'make'.
16823 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16824 test -z "$DEPDIR" && continue
16825 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16826 test -z "$am__include" && continue
16827 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16828 # Find all dependency output files, they are included files with
16829 # $(DEPDIR) in their names. We invoke sed twice because it is the
16830 # simplest approach to changing $(DEPDIR) to its actual value in the
16832 for file in `sed -n "
16833 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16834 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16835 # Make sure the directory exists.
16836 test -f "$dirpart/$file" && continue
16837 fdir=`$as_dirname -- "$file" ||
16838 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16839 X"$file" : 'X\(//\)[^/]' \| \
16840 X"$file" : 'X\(//\)$' \| \
16841 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16842 $as_echo X"$file" |
16843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16847 /^X\(\/\/\)[^/].*/{
16860 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16861 # echo "creating $dirpart/$file"
16862 echo '# dummy' > "$dirpart/$file"
16869 # See if we are running on zsh, and set the options which allow our
16870 # commands through without removal of \ escapes.
16871 if test -n "${ZSH_VERSION+set}" ; then
16872 setopt NO_GLOB_SUBST
16875 cfgfile="${ofile}T"
16876 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16879 cat <<_LT_EOF >> "$cfgfile"
16882 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16883 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16884 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16885 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16887 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16888 # 2006, 2007, 2008 Free Software Foundation, Inc.
16889 # Written by Gordon Matzigkeit, 1996
16891 # This file is part of GNU Libtool.
16893 # GNU Libtool is free software; you can redistribute it and/or
16894 # modify it under the terms of the GNU General Public License as
16895 # published by the Free Software Foundation; either version 2 of
16896 # the License, or (at your option) any later version.
16898 # As a special exception to the GNU General Public License,
16899 # if you distribute this file as part of a program or library that
16900 # is built using GNU Libtool, you may include this file under the
16901 # same distribution terms that you use for the rest of that program.
16903 # GNU Libtool is distributed in the hope that it will be useful,
16904 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16905 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16906 # GNU General Public License for more details.
16908 # You should have received a copy of the GNU General Public License
16909 # along with GNU Libtool; see the file COPYING. If not, a copy
16910 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16911 # obtained by writing to the Free Software Foundation, Inc.,
16912 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16915 # The names of the tagged configurations supported by this script.
16918 # ### BEGIN LIBTOOL CONFIG
16920 # Assembler program.
16923 # DLL creation program.
16926 # Object dumper program.
16929 # Which release of libtool.m4 was used?
16930 macro_version=$macro_version
16931 macro_revision=$macro_revision
16933 # Whether or not to build shared libraries.
16934 build_libtool_libs=$enable_shared
16936 # Whether or not to build static libraries.
16937 build_old_libs=$enable_static
16939 # What type of objects to build.
16942 # Whether or not to optimize for fast installation.
16943 fast_install=$enable_fast_install
16946 host_alias=$host_alias
16950 # The build system.
16951 build_alias=$build_alias
16955 # A sed program that does not truncate output.
16958 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16959 Xsed="\$SED -e 1s/^X//"
16961 # A grep program that handles long lines.
16967 # A literal string matcher.
16970 # A BSD- or MS-compatible name lister.
16973 # Whether we need soft or hard links.
16976 # What is the maximum length of a command?
16977 max_cmd_len=$max_cmd_len
16979 # Object file suffix (normally "o").
16982 # Executable file suffix (normally "").
16985 # whether the shell understands "unset".
16988 # turn spaces into newlines.
16991 # turn newlines into spaces.
16994 # How to create reloadable object files.
16995 reload_flag=$lt_reload_flag
16996 reload_cmds=$lt_reload_cmds
16998 # Method to check whether dependent libraries are shared objects.
16999 deplibs_check_method=$lt_deplibs_check_method
17001 # Command to use when deplibs_check_method == "file_magic".
17002 file_magic_cmd=$lt_file_magic_cmd
17006 AR_FLAGS=$lt_AR_FLAGS
17008 # A symbol stripping program.
17011 # Commands used to install an old-style archive.
17013 old_postinstall_cmds=$lt_old_postinstall_cmds
17014 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17019 # LTCC compiler flags.
17020 LTCFLAGS=$lt_CFLAGS
17022 # Take the output of nm and produce a listing of raw symbols and C names.
17023 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17025 # Transform the output of nm in a proper C declaration.
17026 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17028 # Transform the output of nm in a C name address pair.
17029 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17031 # Transform the output of nm in a C name address pair when lib prefix is needed.
17032 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17034 # The name of the directory that contains temporary libtool files.
17037 # Shell to use when invoking shell scripts.
17040 # An echo program that does not interpret backslashes.
17043 # Used to examine libraries when file_magic_cmd begins with "file".
17044 MAGIC_CMD=$MAGIC_CMD
17046 # Must we lock files when doing compilation?
17047 need_locks=$lt_need_locks
17049 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17050 DSYMUTIL=$lt_DSYMUTIL
17052 # Tool to change global to local symbols on Mac OS X.
17055 # Tool to manipulate fat objects and archives on Mac OS X.
17058 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17061 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17062 OTOOL64=$lt_OTOOL64
17064 # Old archive suffix (normally "a").
17067 # Shared library suffix (normally ".so").
17068 shrext_cmds=$lt_shrext_cmds
17070 # The commands to extract the exported symbol list from a shared archive.
17071 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17073 # Variables whose values should be saved in libtool wrapper scripts and
17074 # restored at link time.
17075 variables_saved_for_relink=$lt_variables_saved_for_relink
17077 # Do we need the "lib" prefix for modules?
17078 need_lib_prefix=$need_lib_prefix
17080 # Do we need a version for libraries?
17081 need_version=$need_version
17083 # Library versioning type.
17084 version_type=$version_type
17086 # Shared library runtime path variable.
17087 runpath_var=$runpath_var
17089 # Shared library path variable.
17090 shlibpath_var=$shlibpath_var
17092 # Is shlibpath searched before the hard-coded library search path?
17093 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17095 # Format of library name prefix.
17096 libname_spec=$lt_libname_spec
17098 # List of archive names. First name is the real one, the rest are links.
17099 # The last name is the one that the linker finds with -lNAME
17100 library_names_spec=$lt_library_names_spec
17102 # The coded name of the library, if different from the real name.
17103 soname_spec=$lt_soname_spec
17105 # Command to use after installation of a shared archive.
17106 postinstall_cmds=$lt_postinstall_cmds
17108 # Command to use after uninstallation of a shared archive.
17109 postuninstall_cmds=$lt_postuninstall_cmds
17111 # Commands used to finish a libtool library installation in a directory.
17112 finish_cmds=$lt_finish_cmds
17114 # As "finish_cmds", except a single script fragment to be evaled but
17116 finish_eval=$lt_finish_eval
17118 # Whether we should hardcode library paths into libraries.
17119 hardcode_into_libs=$hardcode_into_libs
17121 # Compile-time system search path for libraries.
17122 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17124 # Run-time system search path for libraries.
17125 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17127 # Whether dlopen is supported.
17128 dlopen_support=$enable_dlopen
17130 # Whether dlopen of programs is supported.
17131 dlopen_self=$enable_dlopen_self
17133 # Whether dlopen of statically linked programs is supported.
17134 dlopen_self_static=$enable_dlopen_self_static
17136 # Commands to strip libraries.
17137 old_striplib=$lt_old_striplib
17138 striplib=$lt_striplib
17141 # The linker used to build libraries.
17144 # Commands used to build an old-style archive.
17145 old_archive_cmds=$lt_old_archive_cmds
17147 # A language specific compiler.
17150 # Is the compiler the GNU compiler?
17153 # Compiler flag to turn off builtin functions.
17154 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17156 # How to pass a linker flag through the compiler.
17157 wl=$lt_lt_prog_compiler_wl
17159 # Additional compiler flags for building library objects.
17160 pic_flag=$lt_lt_prog_compiler_pic
17162 # Compiler flag to prevent dynamic linking.
17163 link_static_flag=$lt_lt_prog_compiler_static
17165 # Does compiler simultaneously support -c and -o options?
17166 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17168 # Whether or not to add -lc for building shared libraries.
17169 build_libtool_need_lc=$archive_cmds_need_lc
17171 # Whether or not to disallow shared libs when runtime libs are static.
17172 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17174 # Compiler flag to allow reflexive dlopens.
17175 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17177 # Compiler flag to generate shared objects directly from archives.
17178 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17180 # Whether the compiler copes with passing no objects directly.
17181 compiler_needs_object=$lt_compiler_needs_object
17183 # Create an old-style archive from a shared archive.
17184 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17186 # Create a temporary old-style archive to link instead of a shared archive.
17187 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17189 # Commands used to build a shared archive.
17190 archive_cmds=$lt_archive_cmds
17191 archive_expsym_cmds=$lt_archive_expsym_cmds
17193 # Commands used to build a loadable module if different from building
17194 # a shared archive.
17195 module_cmds=$lt_module_cmds
17196 module_expsym_cmds=$lt_module_expsym_cmds
17198 # Whether we are building with GNU ld or not.
17199 with_gnu_ld=$lt_with_gnu_ld
17201 # Flag that allows shared libraries with undefined symbols to be built.
17202 allow_undefined_flag=$lt_allow_undefined_flag
17204 # Flag that enforces no undefined symbols.
17205 no_undefined_flag=$lt_no_undefined_flag
17207 # Flag to hardcode \$libdir into a binary during linking.
17208 # This must work even if \$libdir does not exist
17209 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17211 # If ld is used when linking, flag to hardcode \$libdir into a binary
17212 # during linking. This must work even if \$libdir does not exist.
17213 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17215 # Whether we need a single "-rpath" flag with a separated argument.
17216 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17218 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17219 # DIR into the resulting binary.
17220 hardcode_direct=$hardcode_direct
17222 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17223 # DIR into the resulting binary and the resulting library dependency is
17224 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17225 # library is relocated.
17226 hardcode_direct_absolute=$hardcode_direct_absolute
17228 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17229 # into the resulting binary.
17230 hardcode_minus_L=$hardcode_minus_L
17232 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17233 # into the resulting binary.
17234 hardcode_shlibpath_var=$hardcode_shlibpath_var
17236 # Set to "yes" if building a shared library automatically hardcodes DIR
17237 # into the library and all subsequent libraries and executables linked
17239 hardcode_automatic=$hardcode_automatic
17241 # Set to yes if linker adds runtime paths of dependent libraries
17242 # to runtime path list.
17243 inherit_rpath=$inherit_rpath
17245 # Whether libtool must link a program against all its dependency libraries.
17246 link_all_deplibs=$link_all_deplibs
17248 # Fix the shell variable \$srcfile for the compiler.
17249 fix_srcfile_path=$lt_fix_srcfile_path
17251 # Set to "yes" if exported symbols are required.
17252 always_export_symbols=$always_export_symbols
17254 # The commands to list exported symbols.
17255 export_symbols_cmds=$lt_export_symbols_cmds
17257 # Symbols that should not be listed in the preloaded symbols.
17258 exclude_expsyms=$lt_exclude_expsyms
17260 # Symbols that must always be exported.
17261 include_expsyms=$lt_include_expsyms
17263 # Commands necessary for linking programs (against libraries) with templates.
17264 prelink_cmds=$lt_prelink_cmds
17266 # Specify filename containing input files.
17267 file_list_spec=$lt_file_list_spec
17269 # How to hardcode a shared library path into an executable.
17270 hardcode_action=$hardcode_action
17272 # ### END LIBTOOL CONFIG
17278 cat <<\_LT_EOF >> "$cfgfile"
17279 # AIX sometimes has problems with the GCC collect2 program. For some
17280 # reason, if we set the COLLECT_NAMES environment variable, the problems
17281 # vanish in a puff of smoke.
17282 if test "X${COLLECT_NAMES+set}" != Xset; then
17284 export COLLECT_NAMES
17291 ltmain="$ac_aux_dir/ltmain.sh"
17294 # We use sed instead of cat because bash on DJGPP gets confused if
17295 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17296 # text mode, it properly converts lines to CR/LF. This bash problem
17297 # is reportedly fixed, but why not run on old versions too?
17298 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17299 || (rm -f "$cfgfile"; exit 1)
17303 cat << \_LT_EOF >> "$cfgfile"
17305 # func_dirname file append nondir_replacement
17306 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17307 # otherwise set result to NONDIR_REPLACEMENT.
17311 */*) func_dirname_result="${1%/*}${2}" ;;
17312 * ) func_dirname_result="${3}" ;;
17316 # func_basename file
17319 func_basename_result="${1##*/}"
17322 # func_dirname_and_basename file append nondir_replacement
17323 # perform func_basename and func_dirname in a single function
17325 # dirname: Compute the dirname of FILE. If nonempty,
17326 # add APPEND to the result, otherwise set result
17327 # to NONDIR_REPLACEMENT.
17328 # value returned in "$func_dirname_result"
17329 # basename: Compute filename of FILE.
17330 # value retuned in "$func_basename_result"
17331 # Implementation must be kept synchronized with func_dirname
17332 # and func_basename. For efficiency, we do not delegate to
17333 # those functions but instead duplicate the functionality here.
17334 func_dirname_and_basename ()
17337 */*) func_dirname_result="${1%/*}${2}" ;;
17338 * ) func_dirname_result="${3}" ;;
17340 func_basename_result="${1##*/}"
17343 # func_stripname prefix suffix name
17344 # strip PREFIX and SUFFIX off of NAME.
17345 # PREFIX and SUFFIX must not contain globbing or regex special
17346 # characters, hashes, percent signs, but SUFFIX may contain a leading
17347 # dot (in which case that matches only a dot).
17350 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17351 # positional parameters, so assign one to ordinary parameter first.
17352 func_stripname_result=${3}
17353 func_stripname_result=${func_stripname_result#"${1}"}
17354 func_stripname_result=${func_stripname_result%"${2}"}
17360 func_opt_split_opt=${1%%=*}
17361 func_opt_split_arg=${1#*=}
17368 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17369 *) func_lo2o_result=${1} ;;
17373 # func_xform libobj-or-source
17376 func_xform_result=${1%.*}.lo
17379 # func_arith arithmetic-term...
17382 func_arith_result=$(( $* ))
17386 # STRING may not start with a hyphen.
17389 func_len_result=${#1}
17394 *) # Bourne compatible functions.
17395 cat << \_LT_EOF >> "$cfgfile"
17397 # func_dirname file append nondir_replacement
17398 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17399 # otherwise set result to NONDIR_REPLACEMENT.
17402 # Extract subdirectory from the argument.
17403 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17404 if test "X$func_dirname_result" = "X${1}"; then
17405 func_dirname_result="${3}"
17407 func_dirname_result="$func_dirname_result${2}"
17411 # func_basename file
17414 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17418 # func_stripname prefix suffix name
17419 # strip PREFIX and SUFFIX off of NAME.
17420 # PREFIX and SUFFIX must not contain globbing or regex special
17421 # characters, hashes, percent signs, but SUFFIX may contain a leading
17422 # dot (in which case that matches only a dot).
17423 # func_strip_suffix prefix name
17427 .*) func_stripname_result=`$ECHO "X${3}" \
17428 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17429 *) func_stripname_result=`$ECHO "X${3}" \
17430 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17435 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17436 my_sed_long_arg='1s/^-[^=]*=//'
17441 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17442 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17448 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17451 # func_xform libobj-or-source
17454 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17457 # func_arith arithmetic-term...
17460 func_arith_result=`expr "$@"`
17464 # STRING may not start with a hyphen.
17467 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17473 case $lt_shell_append in
17475 cat << \_LT_EOF >> "$cfgfile"
17477 # func_append var value
17478 # Append VALUE to the end of shell variable VAR.
17486 cat << \_LT_EOF >> "$cfgfile"
17488 # func_append var value
17489 # Append VALUE to the end of shell variable VAR.
17500 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17501 || (rm -f "$cfgfile"; exit 1)
17503 mv -f "$cfgfile" "$ofile" ||
17504 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17508 "zzip/_config.h":C) ac_prefix_conf_OUT=`echo zzip/_config.h`
17509 ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"`
17510 ac_prefix_conf_PKG=`echo zzip`
17511 ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
17512 ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"`
17513 ac_prefix_conf_INP=`echo "config.h" | sed -e 's/ *//'`
17514 if test ".$ac_prefix_conf_INP" = "."; then
17515 for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue
17517 *.h) ac_prefix_conf_INP=$ac_file ;;
17520 test ".$ac_prefix_conf_INP" != "." && break
17523 if test ".$ac_prefix_conf_INP" = "."; then
17524 case "$ac_prefix_conf_OUT" in
17525 */*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"`
17527 *-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"`
17529 *) ac_prefix_conf_INP=config.h
17533 if test -z "$ac_prefix_conf_PKG" ; then
17534 as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5
17536 if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
17537 ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP"
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
17540 $as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
17541 if test -f $ac_prefix_conf_INP ; then
17542 echo "s/^#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
17543 echo "s/^#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
17544 echo "s/^#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
17545 echo "#define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
17546 echo "#endif/" >>conftest.prefix
17547 echo "s/^#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
17548 echo "#define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
17549 echo "#endif/" >> conftest.prefix
17550 # now executing _script on _DEF input to create _OUT output file
17551 echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h
17552 echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
17553 echo ' ' >>$tmp/pconfig.h
17554 echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h
17556 sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h
17557 echo ' ' >>$tmp/pconfig.h
17558 echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
17559 echo "#endif" >>$tmp/pconfig.h
17560 if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5
17562 $as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
17564 ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" ||
17565 $as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17566 X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
17567 X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
17568 X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
17569 $as_echo X"$ac_prefix_conf_OUT" |
17570 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17574 /^X\(\/\/\)[^/].*/{
17587 as_dir="$ac_dir"; as_fn_mkdir_p
17588 rm -f "$ac_prefix_conf_OUT"
17589 mv $tmp/pconfig.h "$ac_prefix_conf_OUT"
17591 cp conftest.prefix _configs.sed
17593 as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5
17598 "zzip/_msvc.h":C) ac_prefix_conf_OUT=`echo zzip/_msvc.h`
17599 ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"`
17600 ac_prefix_conf_PKG=`echo zzip`
17601 ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
17602 ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"`
17603 ac_prefix_conf_INP=`echo "zzip/_msvc.in" | sed -e 's/ *//'`
17604 if test ".$ac_prefix_conf_INP" = "."; then
17605 for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue
17607 *.h) ac_prefix_conf_INP=$ac_file ;;
17610 test ".$ac_prefix_conf_INP" != "." && break
17613 if test ".$ac_prefix_conf_INP" = "."; then
17614 case "$ac_prefix_conf_OUT" in
17615 */*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"`
17617 *-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"`
17619 *) ac_prefix_conf_INP=config.h
17623 if test -z "$ac_prefix_conf_PKG" ; then
17624 as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5
17626 if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
17627 ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP"
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
17630 $as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
17631 if test -f $ac_prefix_conf_INP ; then
17632 echo "s/^#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
17633 echo "s/^#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
17634 echo "s/^#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
17635 echo "#define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
17636 echo "#endif/" >>conftest.prefix
17637 echo "s/^#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
17638 echo "#define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
17639 echo "#endif/" >> conftest.prefix
17640 # now executing _script on _DEF input to create _OUT output file
17641 echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h
17642 echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
17643 echo ' ' >>$tmp/pconfig.h
17644 echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h
17646 sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h
17647 echo ' ' >>$tmp/pconfig.h
17648 echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
17649 echo "#endif" >>$tmp/pconfig.h
17650 if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5
17652 $as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
17654 ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" ||
17655 $as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17656 X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
17657 X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
17658 X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
17659 $as_echo X"$ac_prefix_conf_OUT" |
17660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17664 /^X\(\/\/\)[^/].*/{
17677 as_dir="$ac_dir"; as_fn_mkdir_p
17678 rm -f "$ac_prefix_conf_OUT"
17679 mv $tmp/pconfig.h "$ac_prefix_conf_OUT"
17681 cp conftest.prefix _configs.sed
17683 as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5
17688 "$ax_create_pkgconfig_generate":C)
17689 pkgconfig_generate="$ax_create_pkgconfig_generate"
17690 if test ! -f "$pkgconfig_generate.in"
17691 then generate="true"
17692 elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
17693 then generate="true"
17694 else generate="false";
17696 if $generate ; then
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5
17698 $as_echo "$as_me: creating $pkgconfig_generate.in" >&6;}
17699 cat > $pkgconfig_generate.in <<AXEOF
17700 # generated by configure / remove this line to disable regeneration
17702 exec_prefix=@exec_prefix@
17705 datarootdir=@datarootdir@
17707 sysconfdir=@sysconfdir@
17708 includedir=@includedir@
17712 Name: @PACKAGE_NAME@
17713 Description: @PACKAGE_DESCRIPTION@
17714 Version: @PACKAGE_VERSION@
17715 Requires: @PACKAGE_REQUIRES@
17716 Libs: -L\${libdir} @LDFLAGS@ @LIBS@
17717 Cflags: -I\${includedir} @CPPFLAGS@
17719 fi # DONE generate $pkgconfig_generate.in
17720 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
17721 $as_echo "$as_me: creating $pkgconfig_generate" >&6;}
17722 cat >conftest.sed <<AXEOF
17723 s|@prefix@|${pkgconfig_prefix}|
17724 s|@exec_prefix@|${pkgconfig_execprefix}|
17725 s|@bindir@|${pkgconfig_bindir}|
17726 s|@libdir@|${pkgconfig_libdir}|
17727 s|@datarootdir@|${pkgconfig_datarootdir}|
17728 s|@datadir@|${pkgconfig_datadir}|
17729 s|@sysconfdir@|${pkgconfig_sysconfdir}|
17730 s|@includedir@|${pkgconfig_includedir}|
17731 s|@suffix@|${pkgconfig_suffix}|
17732 s|@PACKAGE@|${pkgconfig_package}|
17733 s|@PACKAGE_NAME@|${pkgconfig_libname}|
17734 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
17735 s|@PACKAGE_VERSION@|${pkgconfig_version}|
17736 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
17737 s|@LIBS@|${pkgconfig_libs}|
17738 s|@LDFLAGS@|${pkgconfig_ldflags}|
17739 s|@CPPFLAGS@|${pkgconfig_cppflags}|
17741 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_generate
17742 if test ! -s $pkgconfig_generate ; then
17743 as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5
17744 fi ; rm conftest.sed # DONE generate $pkgconfig_generate
17745 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
17747 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
17748 cat >conftest.sed <<AXEOF
17749 s|@prefix@|${pkgconfig_prefix}|
17750 s|@exec_prefix@|${pkgconfig_execprefix}|
17751 s|@bindir@|${pkgconfig_bindir}|
17752 s|@libdir@|${pkgconfig_src_libdir}|
17753 s|@datarootdir@|${pkgconfig_datarootdir}|
17754 s|@datadir@|${pkgconfig_datadir}|
17755 s|@sysconfdir@|${pkgconfig_sysconfdir}|
17756 s|@includedir@|${pkgconfig_src_headers}|
17757 s|@suffix@|${pkgconfig_suffix}|
17758 s|@PACKAGE@|${pkgconfig_package}|
17759 s|@PACKAGE_NAME@|${pkgconfig_libname}|
17760 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
17761 s|@PACKAGE_VERSION@|${pkgconfig_version}|
17762 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
17763 s|@LIBS@|${pkgconfig_libs}|
17764 s|@LDFLAGS@|${pkgconfig_ldflags}|
17765 s|@CPPFLAGS@|${pkgconfig_cppflags}|
17767 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
17768 if test ! -s $pkgconfig_uninstalled ; then
17769 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
17770 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
17771 pkgconfig_requires_add=`echo ${pkgconfig_requires}`
17772 if test ".$pkgconfig_requires_add" != "." ; then
17773 pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
17774 else pkgconfig_requires_add=":" ; fi
17775 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
17777 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
17778 cat >conftest.sed <<AXEOF
17779 s|@prefix@|\"${pkgconfig_prefix}\"|
17780 s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
17781 s|@bindir@|\"${pkgconfig_bindir}\"|
17782 s|@libdir@|\"${pkgconfig_src_libdir}\"|
17783 s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
17784 s|@datadir@|\"${pkgconfig_datadir}\"|
17785 s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
17786 s|@includedir@|\"${pkgconfig_src_headers}\"|
17787 s|@suffix@|\"${pkgconfig_suffix}\"|
17788 s|@PACKAGE@|\"${pkgconfig_package}\"|
17789 s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
17790 s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
17791 s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
17792 s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
17793 s|@LIBS@|\"${pkgconfig_libs}\"|
17794 s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
17795 s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
17796 s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
17797 s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
17798 s>Version: *>\\;\\; --modversion|--version) echo >
17799 s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
17800 s>Libs: *>\\;\\; --libs) echo >
17801 s>Cflags: *>\\;\\; --cflags) echo >
17803 $pkgconfig_requires_add
17805 $pkgconfig_requires_add\\
17806 ;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
17807 ;; --uninstalled) exit 0 \\
17810 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
17811 if test ! -s $pkgconfig_uninstalled ; then
17812 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
17813 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
17822 ac_clean_files=$ac_clean_files_save
17824 test $ac_write_fail = 0 ||
17825 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17828 # configure is writing to config.log, and then calls config.status.
17829 # config.status does its own redirection, appending to config.log.
17830 # Unfortunately, on DOS this fails, as config.log is still kept open
17831 # by configure, so config.status won't be able to write to it; its
17832 # output is simply discarded. So we exec the FD to /dev/null,
17833 # effectively closing config.log, so it can be properly (re)opened and
17834 # appended to by config.status. When coming back to configure, we
17835 # need to make the FD available again.
17836 if test "$no_create" != yes; then
17838 ac_config_status_args=
17839 test "$silent" = yes &&
17840 ac_config_status_args="$ac_config_status_args --quiet"
17842 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17844 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17845 # would make configure fail if this is the last instruction.
17846 $ac_cs_success || as_fn_exit 1
17848 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17850 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17853 # libtool-1.4 specific, on zsh target the final requoting does one too much
17856 if grep "1.92" libtool >/dev/null ; then
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: patching libtool on .so-sharedlib creation (zsh overquoting)" >&5
17858 $as_echo "patching libtool on .so-sharedlib creation (zsh overquoting)" >&6; }
17859 test -f libtool.old || (mv libtool libtool.old && cp libtool.old libtool)
17860 sed -e '/archive_cmds=/s:[\\][\\][\\]*":\\":g' libtool >libtool.new
17861 (test -s libtool.new || rm libtool.new) 2>/dev/null
17862 test -f libtool.new && mv libtool.new libtool # not 2>/dev/null !!
17863 test -f libtool || mv libtool.old libtool
17868 # patch libtool to fix sys_lib_search_path (e.g. crosscompiling a win32 dll)
17869 if test "_$PATH_SEPARATOR" = "_:" ; then
17870 if grep "^sys_lib_search_path_spec.*:" libtool >/dev/null ; then
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: patching libtool to fix sys_lib_search_path_spec" >&5
17872 $as_echo "patching libtool to fix sys_lib_search_path_spec" >&6; }
17873 test -f libtool.old || (mv libtool libtool.old && cp libtool.old libtool)
17874 sed -e "/^sys_lib_search_path_spec/s/:/ /g" libtool >libtool.new
17875 (test -s libtool.new || rm libtool.new) 2>/dev/null
17876 test -f libtool.new && mv libtool.new libtool # not 2>/dev/null !!
17877 test -f libtool || mv libtool.old libtool
17881 # patch libtool to add HOST_CC sometimes needed in crosscompiling a win32 dll
17882 if grep "HOST_CC" libtool >/dev/null; then
17883 if test "$build" != "$host" ; then
17884 if test "_$HOST_CC" = "_" ; then
17886 for i in `echo $PATH | sed 's,:, ,g'` ; do
17887 test -x $i/cc && HOST_CC=$i/cc
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: patching libtool to add HOST_CC=$HOST_CC" >&5
17891 $as_echo "patching libtool to add HOST_CC=$HOST_CC" >&6; }
17892 test -f libtool.old || (mv libtool libtool.old && cp libtool.old libtool)
17893 sed -e "/BEGIN.*LIBTOOL.*CONFIG/a\\
17894 HOST_CC=$HOST_CC" libtool >libtool.new
17895 (test -s libtool.new || rm libtool.new) 2>/dev/null
17896 test -f libtool.new && mv libtool.new libtool # not 2>/dev/null !!
17897 test -f libtool || mv libtool.old libtool
17901 # ---------------------------------------------------------------
17902 echo '-----' $PACKAGE $VERSION $prefix
17903 $SHELL libtool --features || true
17904 echo "CPPFLAGS=$CPPFLAGS"
17905 echo "CFLAGS=$CFLAGS"
17906 test "$enable_mmap" != "no" && echo "enable mmap ($enable_mmap)"
17907 test "$enable_mmap" = "no" && echo "disable mmap ($enable_mmap)"
17908 test "$with_lowstk" != "no" && echo "with lowstk ($with_lowstk)"
17909 test "$with_lowstk" = "no" && echo "without lowstk ($with_lowstk)"
17910 test "$with_debug" != "no" && echo "with debug ($with_debug)"
17911 test "$with_debug" = "no" && echo "without debug ($with_debug)"
17912 # test -f ./zziplib.spec && echo warning - do not build in the source dirs
17913 echo '# make && make check && make install'