2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for Cycript 0.9.
5 # Report bugs to <saurik@saurik.com>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
232 $0: about your system, including any error possibly output
233 $0: before this message. Then install a modern shell, or
234 $0: manually run the script under such a shell if you do
241 SHELL
=${CONFIG_SHELL-/bin/sh}
243 # Unset more variables known to interfere with behavior of common tools.
244 CLICOLOR_FORCE
= GREP_OPTIONS
=
245 unset CLICOLOR_FORCE GREP_OPTIONS
247 ## --------------------- ##
248 ## M4sh Shell Functions. ##
249 ## --------------------- ##
252 # Portably unset VAR.
255 { eval $1=; unset $1;}
259 # as_fn_set_status STATUS
260 # -----------------------
261 # Set $? to STATUS, without forking.
269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279 # Create "$as_dir" as a directory, including parents if necessary.
284 -*) as_dir
=.
/$as_dir;;
286 test -d "$as_dir" || eval $as_mkdir_p || {
290 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 as_dirs
="'$as_qdir' $as_dirs"
294 as_dir
=`$as_dirname -- "$as_dir" ||
295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296 X"$as_dir" : 'X\(//\)[^/]' \| \
297 X"$as_dir" : 'X\(//\)$' \| \
298 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299 $as_echo X"$as_dir" |
300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
317 test -d "$as_dir" && break
319 test -z "$as_dirs" || eval "mkdir $as_dirs"
320 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
324 # as_fn_append VAR VALUE
325 # ----------------------
326 # Append the text in VALUE to the end of the definition contained in VAR. Take
327 # advantage of any shell optimizations that allow amortized linear growth over
328 # repeated appends, instead of the typical quadratic growth present in naive
330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
331 eval 'as_fn_append ()
344 # Perform arithmetic evaluation on the ARGs, and store the result in the
345 # global $as_val. Take advantage of shells that can avoid forks. The arguments
346 # must be portable across $(()) and expr.
347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
355 as_val
=`expr "$@" || test $? -eq 1`
360 # as_fn_error ERROR [LINENO LOG_FD]
361 # ---------------------------------
362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364 # script with status $?, using 1 if that was 0.
367 as_status
=$?
; test $as_status -eq 0 && as_status
=1
369 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372 $as_echo "$as_me: error: $1" >&2
373 as_fn_exit
$as_status
376 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
377 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
383 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
395 as_me
=`$as_basename -- "$0" ||
396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397 X"$0" : 'X\(//\)$' \| \
398 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400 sed '/^.*\/\([^/][^/]*\)\/*$/{
414 # Avoid depending upon Character Ranges.
415 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
416 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
418 as_cr_digits
='0123456789'
419 as_cr_alnum
=$as_cr_Letters$as_cr_digits
422 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
423 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
424 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
426 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
438 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442 chmod +x
"$as_me.lineno" ||
443 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
445 # Don't try to exec as it changes $[0], causing all sort of problems
446 # (the dirname of $[0] is not the place where we might find the
447 # original and so on. Autoconf is especially sensitive to this).
449 # Exit status is that of the last command.
453 ECHO_C
= ECHO_N
= ECHO_T
=
454 case `echo -n x` in #(((((
456 case `echo 'xy\c'` in
457 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
459 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
466 rm -f conf$$ conf$$.exe conf$$.
file
467 if test -d conf$$.dir
; then
468 rm -f conf$$.dir
/conf$$.
file
471 mkdir conf$$.dir
2>/dev
/null
473 if (echo >conf$$.
file) 2>/dev
/null
; then
474 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
476 # ... but there are two gotchas:
477 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479 # In both cases, we have to default to `cp -p'.
480 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
482 elif ln conf$$.
file conf$$
2>/dev
/null
; then
490 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
491 rmdir conf$$.dir
2>/dev
/null
493 if mkdir -p .
2>/dev
/null
; then
494 as_mkdir_p
='mkdir -p "$as_dir"'
496 test -d .
/-p && rmdir .
/-p
500 if test -x / >/dev
/null
2>&1; then
503 if ls -dL / >/dev
/null
2>&1; then
510 if test -d "$1"; then
516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
517 ???[sx]*):;;*)false;;esac;fi
521 as_executable_p
=$as_test_x
523 # Sed expression to map a string onto a valid CPP name.
524 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526 # Sed expression to map a string onto a valid variable name.
527 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 # Use only awk features that work with 7th edition Unix awk (1978).
531 # My, what an old awk you have, Mr. Solaris!
533 while (length(v1) && length(v2)) {
534 # Set d1 to be the next thing to compare from v1, and likewise for d2.
535 # Normally this is a single character, but if v1 and v2 contain digits,
536 # compare them as integers and fractions as strverscmp does.
537 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
538 # Split v1 and v2 into their leading digit string components d1 and d2,
539 # and advance v1 and v2 past the leading digit strings.
540 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
541 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
542 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
543 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
546 # Compare two fractions.
547 while (d1 ~ /^0/ && d2 ~ /^0/) {
548 d1 = substr(d1, 2); len1--
549 d2 = substr(d2, 2); len2--
551 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
552 # The two components differ in length, and the common prefix
553 # contains only leading zeros. Consider the longer to be less.
557 # Otherwise, compare as strings.
562 # A fraction is less than an integer.
567 # An integer is greater than a fraction.
570 # Compare two integers.
576 # The normal case, without worrying about digits.
577 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
578 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
583 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
584 # which mishandles some comparisons of empty strings to integers.
585 if (length(v2)) exit 1
586 if (length(v1)) exit 2
590 exec 7<&0 </dev
/null
6>&1
593 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
594 # so uname gets run too.
595 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 ac_default_prefix
=/usr
/local
602 ac_config_libobj_dir
=.
609 # Identity of this package.
610 PACKAGE_NAME
='Cycript'
611 PACKAGE_TARNAME
='cycript'
612 PACKAGE_VERSION
='0.9'
613 PACKAGE_STRING
='Cycript 0.9'
614 PACKAGE_BUGREPORT
='saurik@saurik.com'
615 PACKAGE_URL
='http://www.cycript.org/'
617 ac_unique_file
="Console.cpp"
618 # Factoring default headers for most tests.
619 ac_includes_default
="\
621 #ifdef HAVE_SYS_TYPES_H
622 # include <sys/types.h>
624 #ifdef HAVE_SYS_STAT_H
625 # include <sys/stat.h>
631 # ifdef HAVE_STDLIB_H
636 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
641 #ifdef HAVE_STRINGS_H
642 # include <strings.h>
644 #ifdef HAVE_INTTYPES_H
645 # include <inttypes.h>
654 ac_subst_vars
='ifGNUmake
723 program_transform_name
736 enable_option_checking
742 ac_precious_vars
='build_alias
763 # Initialize some variables set by options.
765 ac_init_version
=false
766 ac_unrecognized_opts
=
768 # The variables have the same names as the options, with
769 # dashes changed to underlines.
777 program_transform_name
=s
,x
,x
,
785 # Installation directory options.
786 # These are left unexpanded so users can "make install exec_prefix=/foo"
787 # and all the variables that are supposed to be based on exec_prefix
788 # by default will actually change.
789 # Use braces instead of parens because sh, perl, etc. also accept them.
790 # (The list follows the same order as the GNU Coding Standards.)
791 bindir
='${exec_prefix}/bin'
792 sbindir
='${exec_prefix}/sbin'
793 libexecdir
='${exec_prefix}/libexec'
794 datarootdir
='${prefix}/share'
795 datadir
='${datarootdir}'
796 sysconfdir
='${prefix}/etc'
797 sharedstatedir
='${prefix}/com'
798 localstatedir
='${prefix}/var'
799 includedir
='${prefix}/include'
800 oldincludedir
='/usr/include'
801 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
802 infodir
='${datarootdir}/info'
807 libdir
='${exec_prefix}/lib'
808 localedir
='${datarootdir}/locale'
809 mandir
='${datarootdir}/man'
815 # If the previous option needs an argument, assign it.
816 if test -n "$ac_prev"; then
817 eval $ac_prev=\
$ac_option
823 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
827 # Accept the important Cygnus configure options, so we can diagnose typos.
829 case $ac_dashdash$ac_option in
833 -bindir | --bindir | --bindi | --bind | --bin | --bi)
835 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
838 -build | --build | --buil | --bui | --bu)
839 ac_prev
=build_alias
;;
840 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
841 build_alias
=$ac_optarg ;;
843 -cache-file | --cache-file | --cache-fil | --cache-fi \
844 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
845 ac_prev
=cache_file
;;
846 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
847 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
848 cache_file
=$ac_optarg ;;
851 cache_file
=config.cache
;;
853 -datadir | --datadir | --datadi | --datad)
855 -datadir=* | --datadir=* | --datadi=* | --datad=*)
856 datadir
=$ac_optarg ;;
858 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
859 | --dataroo | --dataro | --datar)
860 ac_prev
=datarootdir
;;
861 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
862 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
863 datarootdir
=$ac_optarg ;;
865 -disable-* | --disable-*)
866 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
869 as_fn_error
"invalid feature name: $ac_useropt"
870 ac_useropt_orig
=$ac_useropt
871 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872 case $ac_user_opts in
876 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
877 ac_unrecognized_sep
=', ';;
879 eval enable_
$ac_useropt=no
;;
881 -docdir | --docdir | --docdi | --doc | --do)
883 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
886 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
888 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
891 -enable-* | --enable-*)
892 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
895 as_fn_error
"invalid feature name: $ac_useropt"
896 ac_useropt_orig
=$ac_useropt
897 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903 ac_unrecognized_sep
=', ';;
905 eval enable_
$ac_useropt=\
$ac_optarg ;;
907 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
908 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
909 | --exec | --exe | --ex)
910 ac_prev
=exec_prefix
;;
911 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
912 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
913 | --exec=* | --exe=* | --ex=*)
914 exec_prefix
=$ac_optarg ;;
916 -gas | --gas | --ga | --g)
917 # Obsolete; use --with-gas.
920 -help | --help | --hel | --he | -h)
922 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
923 ac_init_help
=recursive
;;
924 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
925 ac_init_help
=short
;;
927 -host | --host | --hos | --ho)
928 ac_prev
=host_alias
;;
929 -host=* | --host=* | --hos=* | --ho=*)
930 host_alias
=$ac_optarg ;;
932 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
934 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
936 htmldir
=$ac_optarg ;;
938 -includedir | --includedir | --includedi | --included | --include \
939 | --includ | --inclu | --incl | --inc)
940 ac_prev
=includedir
;;
941 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
942 | --includ=* | --inclu=* | --incl=* | --inc=*)
943 includedir
=$ac_optarg ;;
945 -infodir | --infodir | --infodi | --infod | --info | --inf)
947 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
948 infodir
=$ac_optarg ;;
950 -libdir | --libdir | --libdi | --libd)
952 -libdir=* | --libdir=* | --libdi=* | --libd=*)
955 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
956 | --libexe | --libex | --libe)
957 ac_prev
=libexecdir
;;
958 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
959 | --libexe=* | --libex=* | --libe=*)
960 libexecdir
=$ac_optarg ;;
962 -localedir | --localedir | --localedi | --localed | --locale)
964 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
965 localedir
=$ac_optarg ;;
967 -localstatedir | --localstatedir | --localstatedi | --localstated \
968 | --localstate | --localstat | --localsta | --localst | --locals)
969 ac_prev
=localstatedir
;;
970 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
971 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
972 localstatedir
=$ac_optarg ;;
974 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
976 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
980 # Obsolete; use --without-fp.
983 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
984 | --no-cr | --no-c | -n)
987 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
988 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
991 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
992 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
993 | --oldin | --oldi | --old | --ol | --o)
994 ac_prev
=oldincludedir
;;
995 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
996 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
997 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
998 oldincludedir
=$ac_optarg ;;
1000 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1002 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1003 prefix
=$ac_optarg ;;
1005 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1006 | --program-pre | --program-pr | --program-p)
1007 ac_prev
=program_prefix
;;
1008 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1009 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1010 program_prefix
=$ac_optarg ;;
1012 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1013 | --program-suf | --program-su | --program-s)
1014 ac_prev
=program_suffix
;;
1015 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1016 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1017 program_suffix
=$ac_optarg ;;
1019 -program-transform-name | --program-transform-name \
1020 | --program-transform-nam | --program-transform-na \
1021 | --program-transform-n | --program-transform- \
1022 | --program-transform | --program-transfor \
1023 | --program-transfo | --program-transf \
1024 | --program-trans | --program-tran \
1025 | --progr-tra | --program-tr | --program-t)
1026 ac_prev
=program_transform_name
;;
1027 -program-transform-name=* | --program-transform-name=* \
1028 | --program-transform-nam=* | --program-transform-na=* \
1029 | --program-transform-n=* | --program-transform-=* \
1030 | --program-transform=* | --program-transfor=* \
1031 | --program-transfo=* | --program-transf=* \
1032 | --program-trans=* | --program-tran=* \
1033 | --progr-tra=* | --program-tr=* | --program-t=*)
1034 program_transform_name
=$ac_optarg ;;
1036 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1038 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1039 pdfdir
=$ac_optarg ;;
1041 -psdir | --psdir | --psdi | --psd | --ps)
1043 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1046 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1047 | -silent | --silent | --silen | --sile | --sil)
1050 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1052 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1054 sbindir
=$ac_optarg ;;
1056 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1057 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1058 | --sharedst | --shareds | --shared | --share | --shar \
1060 ac_prev
=sharedstatedir
;;
1061 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1062 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1063 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1065 sharedstatedir
=$ac_optarg ;;
1067 -site | --site | --sit)
1069 -site=* | --site=* | --sit=*)
1072 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1074 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1075 srcdir
=$ac_optarg ;;
1077 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1078 | --syscon | --sysco | --sysc | --sys | --sy)
1079 ac_prev
=sysconfdir
;;
1080 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1081 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1082 sysconfdir
=$ac_optarg ;;
1084 -target | --target | --targe | --targ | --tar | --ta | --t)
1085 ac_prev
=target_alias
;;
1086 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1087 target_alias
=$ac_optarg ;;
1089 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1092 -version | --version | --versio | --versi | --vers | -V)
1093 ac_init_version
=: ;;
1096 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1099 as_fn_error
"invalid package name: $ac_useropt"
1100 ac_useropt_orig
=$ac_useropt
1101 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107 ac_unrecognized_sep
=', ';;
1109 eval with_
$ac_useropt=\
$ac_optarg ;;
1111 -without-* | --without-*)
1112 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1115 as_fn_error
"invalid package name: $ac_useropt"
1116 ac_useropt_orig
=$ac_useropt
1117 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1122 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123 ac_unrecognized_sep
=', ';;
1125 eval with_
$ac_useropt=no
;;
1128 # Obsolete; use --with-x.
1131 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1132 | --x-incl | --x-inc | --x-in | --x-i)
1133 ac_prev
=x_includes
;;
1134 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1135 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1136 x_includes
=$ac_optarg ;;
1138 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1139 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1140 ac_prev
=x_libraries
;;
1141 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1142 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1143 x_libraries
=$ac_optarg ;;
1145 -*) as_fn_error
"unrecognized option: \`$ac_option'
1146 Try \`$0 --help' for more information."
1150 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 case $ac_envvar in #(
1153 '' | [0-9]* | *[!_$as_cr_alnum]* )
1154 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1156 eval $ac_envvar=\
$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 if test -n "$ac_prev"; then
1171 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1172 as_fn_error
"missing argument to $ac_option"
1175 if test -n "$ac_unrecognized_opts"; then
1176 case $enable_option_checking in
1178 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1179 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183 # Check all directory arguments for consistency.
1184 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185 datadir sysconfdir sharedstatedir localstatedir includedir \
1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187 libdir localedir mandir
1189 eval ac_val
=\$
$ac_var
1190 # Remove trailing slashes.
1193 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194 eval $ac_var=\
$ac_val;;
1196 # Be sure to have absolute directory names.
1198 [\\/$
]* | ?
:[\\/]* ) continue;;
1199 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1201 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1204 # There might be people who depend on the old broken behavior: `$host'
1205 # used to hold the argument of --host etc.
1206 # FIXME: To remove some day.
1209 target
=$target_alias
1211 # FIXME: To remove some day.
1212 if test "x$host_alias" != x
; then
1213 if test "x$build_alias" = x
; then
1214 cross_compiling
=maybe
1215 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1216 If a cross compiler is detected then cross compile mode will be used." >&2
1217 elif test "x$build_alias" != "x$host_alias"; then
1223 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1225 test "$silent" = yes && exec 6>/dev
/null
1228 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1229 ac_ls_di
=`ls -di .` &&
1230 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1231 as_fn_error
"working directory cannot be determined"
1232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233 as_fn_error
"pwd does not report name of working directory"
1236 # Find the source files, if location was not specified.
1237 if test -z "$srcdir"; then
1238 ac_srcdir_defaulted
=yes
1239 # Try the directory containing this script, then the parent directory.
1240 ac_confdir
=`$as_dirname -- "$as_myself" ||
1241 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1242 X"$as_myself" : 'X\(//\)[^/]' \| \
1243 X"$as_myself" : 'X\(//\)$' \| \
1244 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1245 $as_echo X"$as_myself" |
1246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1268 ac_srcdir_defaulted
=no
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1271 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1272 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1274 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1276 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1278 # When building in place, set srcdir=.
1279 if test "$ac_abs_confdir" = "$ac_pwd"; then
1282 # Remove unnecessary trailing slashes from srcdir.
1283 # Double slashes in file names in object file debugging info
1284 # mess up M-x gdb in Emacs.
1286 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1288 for ac_var
in $ac_precious_vars; do
1289 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1290 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1291 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1292 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1296 # Report the --help message.
1298 if test "$ac_init_help" = "long"; then
1299 # Omit some internal or obsolete options to make the list less imposing.
1300 # This message is too long to be a string in the A/UX 3.1 sh.
1302 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1304 Usage: $0 [OPTION]... [VAR=VALUE]...
1306 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307 VAR=VALUE. See below for descriptions of some of the useful variables.
1309 Defaults for the options are specified in brackets.
1312 -h, --help display this help and exit
1313 --help=short display options specific to this package
1314 --help=recursive display the short help of all the included packages
1315 -V, --version display version information and exit
1316 -q, --quiet, --silent do not print \`checking...' messages
1317 --cache-file=FILE cache test results in FILE [disabled]
1318 -C, --config-cache alias for \`--cache-file=config.cache'
1319 -n, --no-create do not create output files
1320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1322 Installation directories:
1323 --prefix=PREFIX install architecture-independent files in PREFIX
1324 [$ac_default_prefix]
1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1328 By default, \`make install' will install all the files in
1329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1330 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331 for instance \`--prefix=\$HOME'.
1333 For better control, use the options below.
1335 Fine tuning of the installation directories:
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1351 --htmldir=DIR html documentation [DOCDIR]
1352 --dvidir=DIR dvi documentation [DOCDIR]
1353 --pdfdir=DIR pdf documentation [DOCDIR]
1354 --psdir=DIR ps documentation [DOCDIR]
1360 --build=BUILD configure
for building on BUILD
[guessed
]
1361 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1365 if test -n "$ac_init_help"; then
1366 case $ac_init_help in
1367 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1372 --disable-option-checking ignore unrecognized
--enable/--with options
1373 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1374 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1375 --disable-rpath do not hardcode runtime library paths
1378 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1379 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1380 --with-apr=PATH prefix
for installed APR or the full path to
1382 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1383 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1384 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1386 Some influential environment variables:
1387 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1388 the first program found out of
: `bison -y', `byacc
', `yacc'.
1389 YFLAGS The list of arguments that will be passed by default to
$YACC.
1390 This
script will default YFLAGS to the empty string to avoid a
1391 default value of
`-d' given by some make applications.
1392 CC C compiler command
1393 CFLAGS C compiler flags
1394 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1395 nonstandard directory <lib dir>
1396 LIBS libraries to pass to the linker, e.g. -l<library>
1397 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1398 you have headers in a nonstandard directory <include dir>
1399 CXX C++ compiler command
1400 CXXFLAGS C++ compiler flags
1401 PKG_CONFIG path to pkg-config utility
1403 C compiler flags for WEBKIT, overriding pkg-config
1404 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1406 C compiler flags for LIBFFI, overriding pkg-config
1407 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1410 Use these variables to override the choices made by `configure
' or to help
1411 it to find libraries and programs with nonstandard names/locations.
1413 Report bugs to <saurik@saurik.com>.
1414 Cycript home page: <http://www.cycript.org/>.
1419 if test "$ac_init_help" = "recursive"; then
1420 # If there are subdirs, report their specific --help.
1421 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1422 test -d "$ac_dir" ||
1423 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1428 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1430 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's
|^\.
[\\/]||'`
1431 # A ".." for each directory in $ac_dir_suffix.
1432 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's
|/[^
\\/]*|/..
|g
;s
|/||'`
1433 case $ac_top_builddir_sub in
1434 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1438 ac_abs_top_builddir=$ac_pwd
1439 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1440 # for backward compatibility:
1441 ac_top_builddir=$ac_top_build_prefix
1444 .) # We are building in place.
1446 ac_top_srcdir=$ac_top_builddir_sub
1447 ac_abs_top_srcdir=$ac_pwd ;;
1448 [\\/]* | ?:[\\/]* ) # Absolute name.
1449 ac_srcdir=$srcdir$ac_dir_suffix;
1450 ac_top_srcdir=$srcdir
1451 ac_abs_top_srcdir=$srcdir ;;
1453 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1454 ac_top_srcdir=$ac_top_build_prefix$srcdir
1455 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1457 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1459 cd "$ac_dir" || { ac_status=$?; continue; }
1460 # Check for guested configure.
1461 if test -f "$ac_srcdir/configure.gnu"; then
1463 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1464 elif test -f "$ac_srcdir/configure"; then
1466 $SHELL "$ac_srcdir/configure" --help=recursive
1468 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1470 cd "$ac_pwd" || { ac_status=$?; break; }
1474 test -n "$ac_init_help" && exit $ac_status
1475 if $ac_init_version; then
1477 Cycript configure 0.9
1478 generated by GNU Autoconf 2.64
1480 Copyright (C) 2009 Free Software Foundation, Inc.
1481 This configure script is free software; the Free Software Foundation
1482 gives unlimited permission to copy, distribute and modify it.
1487 ## ------------------------ ##
1488 ## Autoconf initialization. ##
1489 ## ------------------------ ##
1491 # ac_fn_c_try_compile LINENO
1492 # --------------------------
1493 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1494 ac_fn_c_try_compile ()
1496 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497 rm -f conftest.$ac_objext
1498 if { { ac_try="$ac_compile"
1500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1501 *) ac_try_echo=$ac_try;;
1503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504 $as_echo "$ac_try_echo"; } >&5
1505 (eval "$ac_compile") 2>conftest.err
1507 if test -s conftest.err; then
1508 grep -v '^
*+' conftest.err >conftest.er1
1509 cat conftest.er1 >&5
1510 mv -f conftest.er1 conftest.err
1512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513 test $ac_status = 0; } && {
1514 test -z "$ac_c_werror_flag" ||
1515 test ! -s conftest.err
1516 } && test -s conftest.$ac_objext; then :
1519 $as_echo "$as_me: failed program was:" >&5
1520 sed 's
/^
/| /' conftest.$ac_ext >&5
1524 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1527 } # ac_fn_c_try_compile
1529 # ac_fn_c_try_link LINENO
1530 # -----------------------
1531 # Try to link conftest.$ac_ext, and return whether this succeeded.
1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535 rm -f conftest.$ac_objext conftest$ac_exeext
1536 if { { ac_try="$ac_link"
1538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;;
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_link") 2>conftest.err
1545 if test -s conftest.err; then
1546 grep -v '^
*+' conftest.err >conftest.er1
1547 cat conftest.er1 >&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && {
1552 test -z "$ac_c_werror_flag" ||
1553 test ! -s conftest.err
1554 } && test -s conftest$ac_exeext && {
1555 test "$cross_compiling" = yes ||
1556 $as_test_x conftest$ac_exeext
1560 $as_echo "$as_me: failed program was:" >&5
1561 sed 's
/^
/| /' conftest.$ac_ext >&5
1565 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1566 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1567 # interfere with the next link command; also delete a directory that is
1568 # left behind by Apple's compiler. We
do this before executing the actions.
1569 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1570 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1573 } # ac_fn_c_try_link
1575 # ac_fn_cxx_try_compile LINENO
1576 # ----------------------------
1577 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1578 ac_fn_cxx_try_compile
()
1580 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1581 rm -f conftest.
$ac_objext
1582 if { { ac_try
="$ac_compile"
1584 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1585 *) ac_try_echo=$ac_try;;
1587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588 $as_echo "$ac_try_echo"; } >&5
1589 (eval "$ac_compile") 2>conftest.err
1591 if test -s conftest.err; then
1592 grep -v '^ *+' conftest.err >conftest.er1
1593 cat conftest.er1 >&5
1594 mv -f conftest.er1 conftest.err
1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597 test $ac_status = 0; } && {
1598 test -z "$ac_cxx_werror_flag" ||
1599 test ! -s conftest.err
1600 } && test -s conftest.$ac_objext; then :
1603 $as_echo "$as_me: failed program was:" >&5
1604 sed 's/^/| /' conftest.$ac_ext >&5
1608 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1611 } # ac_fn_cxx_try_compile
1613 # ac_fn_c_try_run LINENO
1614 # ----------------------
1615 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1616 # that executables *can* be run.
1619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1620 if { { ac_try="$ac_link"
1622 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1623 *) ac_try_echo
=$ac_try;;
1625 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626 $as_echo "$ac_try_echo"; } >&5
1627 (eval "$ac_link") 2>&5
1629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1630 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1631 { { case "(($ac_try" in
1632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1633 *) ac_try_echo=$ac_try;;
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637 (eval "$ac_try") 2>&5
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; }; }; then :
1643 $as_echo "$as_me: program exited with status $ac_status" >&5
1644 $as_echo "$as_me: failed program was:" >&5
1645 sed 's/^/| /' conftest.$ac_ext >&5
1647 ac_retval=$ac_status
1649 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1650 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1655 # ac_fn_c_try_cpp LINENO
1656 # ----------------------
1657 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 if { { ac_try="$ac_cpp conftest.$ac_ext"
1663 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1664 *) ac_try_echo
=$ac_try;;
1666 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1670 if test -s conftest.err
; then
1671 grep -v '^ *+' conftest.err
>conftest.er1
1672 cat conftest.er1
>&5
1673 mv -f conftest.er1 conftest.err
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } >/dev
/null
&& {
1677 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1678 test ! -s conftest.err
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.
$ac_ext >&5
1687 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1692 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1693 # -------------------------------------------------------
1694 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1695 # the include files in INCLUDES and setting the cache variable VAR
1697 ac_fn_c_check_header_mongrel
()
1699 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1700 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1702 $as_echo_n "checking for $2... " >&6; }
1703 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1704 $as_echo_n "(cached) " >&6
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1708 $as_echo "$ac_res" >&6; }
1710 # Is the header compilable?
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1712 $as_echo_n "checking $2 usability... " >&6; }
1713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h. */
1718 if ac_fn_c_try_compile
"$LINENO"; then :
1719 ac_header_compiler
=yes
1721 ac_header_compiler
=no
1723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1725 $as_echo "$ac_header_compiler" >&6; }
1727 # Is the header present?
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1729 $as_echo_n "checking $2 presence... " >&6; }
1730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1731 /* end confdefs.h. */
1734 if ac_fn_c_try_cpp
"$LINENO"; then :
1735 ac_header_preproc
=yes
1737 ac_header_preproc
=no
1739 rm -f conftest.err conftest.
$ac_ext
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1741 $as_echo "$ac_header_preproc" >&6; }
1743 # So? What about this header?
1744 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1747 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1749 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1753 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1755 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1757 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1759 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1761 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1763 ## -------------------------------- ##
1764 ## Report this to saurik@saurik.com ##
1765 ## -------------------------------- ##
1767 ) | sed "s/^/$as_me: WARNING: /" >&2
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1771 $as_echo_n "checking for $2... " >&6; }
1772 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1773 $as_echo_n "(cached) " >&6
1775 eval "$3=\$ac_header_compiler"
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779 $as_echo "$ac_res" >&6; }
1781 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1783 } # ac_fn_c_check_header_mongrel
1785 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1786 # -------------------------------------------------------
1787 # Tests whether HEADER exists and can be compiled using the include files in
1788 # INCLUDES, setting the cache variable VAR accordingly.
1789 ac_fn_c_check_header_compile
()
1791 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1793 $as_echo_n "checking for $2... " >&6; }
1794 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1795 $as_echo_n "(cached) " >&6
1797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1802 if ac_fn_c_try_compile
"$LINENO"; then :
1807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1811 $as_echo "$ac_res" >&6; }
1812 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1814 } # ac_fn_c_check_header_compile
1815 cat >config.log
<<_ACEOF
1816 This file contains any messages produced by compilers while
1817 running configure, to aid debugging if configure makes a mistake.
1819 It was created by Cycript $as_me 0.9, which was
1820 generated by GNU Autoconf 2.64. Invocation command line was
1832 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1833 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1834 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1835 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1836 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1838 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1839 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1841 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1842 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1843 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1844 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1845 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1846 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1847 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1855 test -z "$as_dir" && as_dir
=.
1856 $as_echo "PATH: $as_dir"
1872 # Keep a trace of the command line.
1873 # Strip out --no-create and --no-recursion so they do not pile up.
1874 # Strip out --silent because we don't want to record it for future runs.
1875 # Also quote any args containing shell meta-characters.
1876 # Make two passes to allow for proper duplicate-argument suppression.
1880 ac_must_keep_next
=false
1886 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1887 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1888 | -silent | --silent | --silen | --sile | --sil)
1891 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1894 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1896 as_fn_append ac_configure_args1
" '$ac_arg'"
1897 if test $ac_must_keep_next = true
; then
1898 ac_must_keep_next
=false
# Got value, back to normal.
1901 *=* | --config-cache | -C | -disable-* | --disable-* \
1902 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1903 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1904 | -with-* | --with-* | -without-* | --without-* | --x)
1905 case "$ac_configure_args0 " in
1906 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1909 -* ) ac_must_keep_next
=true
;;
1912 as_fn_append ac_configure_args
" '$ac_arg'"
1917 { ac_configure_args0
=; unset ac_configure_args0
;}
1918 { ac_configure_args1
=; unset ac_configure_args1
;}
1920 # When interrupted or exit'd, cleanup temporary files, and complete
1921 # config.log. We remove comments because anyway the quotes in there
1922 # would cause problems or look ugly.
1923 # WARNING: Use '\'' to represent an apostrophe within the trap.
1924 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1925 trap 'exit_status=$?
1926 # Save into config.log some information that might help in debugging.
1931 ## ---------------- ##
1932 ## Cache variables. ##
1933 ## ---------------- ##
1936 # The following way of writing the cache mishandles newlines in values,
1938 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1939 eval ac_val=\$$ac_var
1943 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1944 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1947 _ | IFS | as_nl) ;; #(
1948 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1949 *) { eval $ac_var=; unset $ac_var;} ;;
1954 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1955 *${as_nl}ac_space=\ *)
1957 "s/'\''/'\''\\\\'\'''\''/g;
1958 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1961 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1969 ## ----------------- ##
1970 ## Output variables. ##
1971 ## ----------------- ##
1974 for ac_var in $ac_subst_vars
1976 eval ac_val=\$$ac_var
1978 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1980 $as_echo "$ac_var='\''$ac_val'\''"
1984 if test -n "$ac_subst_files"; then
1986 ## ------------------- ##
1987 ## File substitutions. ##
1988 ## ------------------- ##
1991 for ac_var
in $ac_subst_files
1993 eval ac_val
=\$
$ac_var
1995 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1997 $as_echo "$ac_var='\''$ac_val'\''"
2002 if test -s confdefs.h; then
2012 test "$ac_signal" != 0 &&
2013 $as_echo "$as_me: caught signal $ac_signal"
2014 $as_echo "$as_me: exit $exit_status"
2016 rm -f core *.core core.conftest.* &&
2017 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2020 for ac_signal
in 1 2 13 15; do
2021 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2025 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2026 rm -f -r conftest
* confdefs.h
2028 $as_echo "/* confdefs.h */" > confdefs.h
2030 # Predefined preprocessor variables.
2032 cat >>confdefs.h
<<_ACEOF
2033 #define PACKAGE_NAME "$PACKAGE_NAME"
2036 cat >>confdefs.h
<<_ACEOF
2037 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2040 cat >>confdefs.h
<<_ACEOF
2041 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2044 cat >>confdefs.h
<<_ACEOF
2045 #define PACKAGE_STRING "$PACKAGE_STRING"
2048 cat >>confdefs.h
<<_ACEOF
2049 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2052 cat >>confdefs.h
<<_ACEOF
2053 #define PACKAGE_URL "$PACKAGE_URL"
2057 # Let the site file select an alternate cache file if it wants to.
2058 # Prefer an explicitly selected file to automatically selected ones.
2061 if test -n "$CONFIG_SITE"; then
2062 ac_site_file1
=$CONFIG_SITE
2063 elif test "x$prefix" != xNONE
; then
2064 ac_site_file1
=$prefix/share
/config.site
2065 ac_site_file2
=$prefix/etc
/config.site
2067 ac_site_file1
=$ac_default_prefix/share
/config.site
2068 ac_site_file2
=$ac_default_prefix/etc
/config.site
2070 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2072 test "x$ac_site_file" = xNONE
&& continue
2073 if test -r "$ac_site_file"; then
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2075 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2076 sed 's/^/| /' "$ac_site_file" >&5
2081 if test -r "$cache_file"; then
2082 # Some versions of bash will fail to source /dev/null (special
2083 # files actually), so we avoid doing that.
2084 if test -f "$cache_file"; then
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2086 $as_echo "$as_me: loading cache $cache_file" >&6;}
2088 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2089 *) .
"./$cache_file";;
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2094 $as_echo "$as_me: creating cache $cache_file" >&6;}
2098 # Check that the precious variables saved in the cache have kept the same
2100 ac_cache_corrupted
=false
2101 for ac_var
in $ac_precious_vars; do
2102 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2103 eval ac_new_set
=\
$ac_env_${ac_var}_set
2104 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2105 eval ac_new_val
=\
$ac_env_${ac_var}_value
2106 case $ac_old_set,$ac_new_set in
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2109 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2110 ac_cache_corrupted
=: ;;
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2113 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2114 ac_cache_corrupted
=: ;;
2117 if test "x$ac_old_val" != "x$ac_new_val"; then
2118 # differences in whitespace do not lead to failure.
2119 ac_old_val_w
=`echo x $ac_old_val`
2120 ac_new_val_w
=`echo x $ac_new_val`
2121 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2123 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2124 ac_cache_corrupted
=:
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2127 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2128 eval $ac_var=\
$ac_old_val
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2131 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2133 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2136 # Pass precious variables to config.status.
2137 if test "$ac_new_set" = set; then
2139 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2140 *) ac_arg
=$ac_var=$ac_new_val ;;
2142 case " $ac_configure_args " in
2143 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2144 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2148 if $ac_cache_corrupted; then
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2152 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2153 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2155 ## -------------------- ##
2156 ## Main body of script. ##
2157 ## -------------------- ##
2160 ac_cpp
='$CPP $CPPFLAGS'
2161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2168 for ac_dir
in .
"$srcdir"/.
; do
2169 for ac_t
in install-sh install.sh shtool
; do
2170 if test -f "$ac_dir/$ac_t"; then
2172 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2177 if test -z "$ac_aux_dir"; then
2178 as_fn_error
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2181 # These three variables are undocumented and unsupported,
2182 # and are intended to be withdrawn in a future Autoconf release.
2183 # They can cause serious problems if a builder's source tree is in a directory
2184 # whose full name contains unusual characters.
2185 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2186 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2187 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2190 for ac_prog
in 'bison -y' byacc
2192 # Extract the first word of "$ac_prog", so it can be a program name with args.
2193 set dummy
$ac_prog; ac_word
=$2
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2195 $as_echo_n "checking for $ac_word... " >&6; }
2196 if test "${ac_cv_prog_YACC+set}" = set; then :
2197 $as_echo_n "(cached) " >&6
2199 if test -n "$YACC"; then
2200 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
2202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2206 test -z "$as_dir" && as_dir
=.
2207 for ac_exec_ext
in '' $ac_executable_extensions; do
2208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2209 ac_cv_prog_YACC
="$ac_prog"
2210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 YACC
=$ac_cv_prog_YACC
2220 if test -n "$YACC"; then
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
2222 $as_echo "$YACC" >&6; }
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2225 $as_echo "no" >&6; }
2229 test -n "$YACC" && break
2231 test -n "$YACC" || YACC
="yacc"
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2234 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2235 if test "${ac_cv_path_SED+set}" = set; then :
2236 $as_echo_n "(cached) " >&6
2238 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2239 for ac_i
in 1 2 3 4 5 6 7; do
2240 ac_script
="$ac_script$as_nl$ac_script"
2242 echo "$ac_script" 2>/dev
/null
| sed 99q
>conftest.
sed
2243 { ac_script
=; unset ac_script
;}
2244 if test -z "$SED"; then
2245 ac_path_SED_found
=false
2246 # Loop through the user's path and test for each of PROGNAME-LIST
2247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2251 test -z "$as_dir" && as_dir
=.
2252 for ac_prog
in sed gsed
; do
2253 for ac_exec_ext
in '' $ac_executable_extensions; do
2254 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2255 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2256 # Check for GNU ac_path_SED and select it if it is found.
2257 # Check for GNU $ac_path_SED
2258 case `"$ac_path_SED" --version 2>&1` in
2260 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2263 $as_echo_n 0123456789 >"conftest.in"
2266 cat "conftest.in" "conftest.in" >"conftest.tmp"
2267 mv "conftest.tmp" "conftest.in"
2268 cp "conftest.in" "conftest.nl"
2269 $as_echo '' >> "conftest.nl"
2270 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
2271 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
2272 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2273 if test $ac_count -gt ${ac_path_SED_max-0}; then
2274 # Best one so far, save it but keep looking for a better one
2275 ac_cv_path_SED
="$ac_path_SED"
2276 ac_path_SED_max
=$ac_count
2278 # 10*(2^10) chars as input seems more than enough
2279 test $ac_count -gt 10 && break
2281 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2284 $ac_path_SED_found && break 3
2289 if test -z "$ac_cv_path_SED"; then
2290 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2298 $as_echo "$ac_cv_path_SED" >&6; }
2299 SED
="$ac_cv_path_SED"
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is the parser generator" >&5
2307 $as_echo_n "checking if bison is the parser generator... " >&6; }
2308 if test "${ax_cv_prog_bison+set}" = set; then :
2309 $as_echo_n "(cached) " >&6
2312 if test "`echo \"$YACC\" | $SED 's,^.*\(bison\).*$,\1,'`" = "bison" ; then :
2314 ax_cv_prog_bison
=yes
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_bison" >&5
2324 $as_echo "$ax_cv_prog_bison" >&6; }
2325 if test "$ax_cv_prog_bison" = yes; then :
2329 BISON
=`echo $YACC | $SED -e 's/ -y//'`
2330 BISON_VERSION
=`$BISON -V | $SED -e 's/^bison (GNU Bison) \(.*\)$/\1/p;d'`
2336 as_fn_error
"You need bison 2.4 or greater" "$LINENO" 5
2340 for ac_prog
in gawk mawk nawk
awk
2342 # Extract the first word of "$ac_prog", so it can be a program name with args.
2343 set dummy
$ac_prog; ac_word
=$2
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2345 $as_echo_n "checking for $ac_word... " >&6; }
2346 if test "${ac_cv_prog_AWK+set}" = set; then :
2347 $as_echo_n "(cached) " >&6
2349 if test -n "$AWK"; then
2350 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2356 test -z "$as_dir" && as_dir
=.
2357 for ac_exec_ext
in '' $ac_executable_extensions; do
2358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2359 ac_cv_prog_AWK
="$ac_prog"
2360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2370 if test -n "$AWK"; then
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2372 $as_echo "$AWK" >&6; }
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2375 $as_echo "no" >&6; }
2379 test -n "$AWK" && break
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is >= 2.4" >&5
2383 $as_echo_n "checking if bison is >= 2.4... " >&6; }
2384 as_arg_v1
=$BISON_VERSION
2386 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2391 $as_echo "no" >&6; }
2392 as_fn_error
"You need bison 2.4 or greater" "$LINENO" 5
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2396 $as_echo "yes" >&6; } ;; #(
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2399 $as_echo "yes" >&6; } ;; #(
2404 # expand $ac_aux_dir to an absolute path
2405 am_aux_dir
=`cd $ac_aux_dir && pwd`
2407 if test x
"${MISSING+set}" != xset
; then
2410 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2412 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2415 # Use eval to expand $SHELL
2416 if eval "$MISSING --run true"; then
2417 am_missing_run
="$MISSING --run "
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2421 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2425 ac_cpp
='$CPP $CPPFLAGS'
2426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2429 if test -n "$ac_tool_prefix"; then
2430 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2431 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2433 $as_echo_n "checking for $ac_word... " >&6; }
2434 if test "${ac_cv_prog_CC+set}" = set; then :
2435 $as_echo_n "(cached) " >&6
2437 if test -n "$CC"; then
2438 ac_cv_prog_CC
="$CC" # Let the user override the test.
2440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2444 test -z "$as_dir" && as_dir
=.
2445 for ac_exec_ext
in '' $ac_executable_extensions; do
2446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2447 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2458 if test -n "$CC"; then
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2460 $as_echo "$CC" >&6; }
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2463 $as_echo "no" >&6; }
2468 if test -z "$ac_cv_prog_CC"; then
2470 # Extract the first word of "gcc", so it can be a program name with args.
2471 set dummy gcc
; ac_word
=$2
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2473 $as_echo_n "checking for $ac_word... " >&6; }
2474 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2475 $as_echo_n "(cached) " >&6
2477 if test -n "$ac_ct_CC"; then
2478 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2484 test -z "$as_dir" && as_dir
=.
2485 for ac_exec_ext
in '' $ac_executable_extensions; do
2486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2487 ac_cv_prog_ac_ct_CC
="gcc"
2488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2497 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2498 if test -n "$ac_ct_CC"; then
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2500 $as_echo "$ac_ct_CC" >&6; }
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2503 $as_echo "no" >&6; }
2506 if test "x$ac_ct_CC" = x
; then
2509 case $cross_compiling:$ac_tool_warned in
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2513 ac_tool_warned
=yes ;;
2521 if test -z "$CC"; then
2522 if test -n "$ac_tool_prefix"; then
2523 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2524 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2526 $as_echo_n "checking for $ac_word... " >&6; }
2527 if test "${ac_cv_prog_CC+set}" = set; then :
2528 $as_echo_n "(cached) " >&6
2530 if test -n "$CC"; then
2531 ac_cv_prog_CC
="$CC" # Let the user override the test.
2533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir
=.
2538 for ac_exec_ext
in '' $ac_executable_extensions; do
2539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2540 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 if test -n "$CC"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2553 $as_echo "$CC" >&6; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2556 $as_echo "no" >&6; }
2562 if test -z "$CC"; then
2563 # Extract the first word of "cc", so it can be a program name with args.
2564 set dummy cc
; ac_word
=$2
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566 $as_echo_n "checking for $ac_word... " >&6; }
2567 if test "${ac_cv_prog_CC+set}" = set; then :
2568 $as_echo_n "(cached) " >&6
2570 if test -n "$CC"; then
2571 ac_cv_prog_CC
="$CC" # Let the user override the test.
2574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2578 test -z "$as_dir" && as_dir
=.
2579 for ac_exec_ext
in '' $ac_executable_extensions; do
2580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2581 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2582 ac_prog_rejected
=yes
2586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 if test $ac_prog_rejected = yes; then
2594 # We found a bogon in the path, so make sure we never use it.
2595 set dummy
$ac_cv_prog_CC
2597 if test $# != 0; then
2598 # We chose a different compiler from the bogus one.
2599 # However, it has the same basename, so the bogon will be chosen
2600 # first if we set CC to just the basename; use the full file name.
2602 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2608 if test -n "$CC"; then
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2610 $as_echo "$CC" >&6; }
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2613 $as_echo "no" >&6; }
2618 if test -z "$CC"; then
2619 if test -n "$ac_tool_prefix"; then
2620 for ac_prog
in cl.exe
2622 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2623 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2625 $as_echo_n "checking for $ac_word... " >&6; }
2626 if test "${ac_cv_prog_CC+set}" = set; then :
2627 $as_echo_n "(cached) " >&6
2629 if test -n "$CC"; then
2630 ac_cv_prog_CC
="$CC" # Let the user override the test.
2632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2636 test -z "$as_dir" && as_dir
=.
2637 for ac_exec_ext
in '' $ac_executable_extensions; do
2638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2639 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2650 if test -n "$CC"; then
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2652 $as_echo "$CC" >&6; }
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2655 $as_echo "no" >&6; }
2659 test -n "$CC" && break
2662 if test -z "$CC"; then
2664 for ac_prog
in cl.exe
2666 # Extract the first word of "$ac_prog", so it can be a program name with args.
2667 set dummy
$ac_prog; ac_word
=$2
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2669 $as_echo_n "checking for $ac_word... " >&6; }
2670 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2671 $as_echo_n "(cached) " >&6
2673 if test -n "$ac_ct_CC"; then
2674 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2680 test -z "$as_dir" && as_dir
=.
2681 for ac_exec_ext
in '' $ac_executable_extensions; do
2682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2683 ac_cv_prog_ac_ct_CC
="$ac_prog"
2684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2693 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2694 if test -n "$ac_ct_CC"; then
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2696 $as_echo "$ac_ct_CC" >&6; }
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2699 $as_echo "no" >&6; }
2703 test -n "$ac_ct_CC" && break
2706 if test "x$ac_ct_CC" = x
; then
2709 case $cross_compiling:$ac_tool_warned in
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2713 ac_tool_warned
=yes ;;
2722 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2724 as_fn_error
"no acceptable C compiler found in \$PATH
2725 See \`config.log' for more details." "$LINENO" 5; }
2727 # Provide some information about the compiler.
2728 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2731 for ac_option
in --version -v -V -qversion; do
2732 { { ac_try
="$ac_compiler $ac_option >&5"
2734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2738 $as_echo "$ac_try_echo"; } >&5
2739 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2741 if test -s conftest.err; then
2743 ... rest of stderr output deleted ...
2744 10q' conftest.err >conftest.er1
2745 cat conftest.er1 >&5
2746 rm -f conftest.er1 conftest.err
2748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2749 test $ac_status = 0; }
2752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2753 /* end confdefs.h. */
2758 FILE *f = fopen ("conftest.out", "w");
2759 return ferror (f) || fclose (f) != 0;
2765 ac_clean_files_save=$ac_clean_files
2766 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2767 # Try to create an executable without -o first, disregard a.out.
2768 # It will help us diagnose broken compilers, and finding out an intuition
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2771 $as_echo_n "checking for C compiler default output file name... " >&6; }
2772 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2774 # The possible output files:
2775 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2778 for ac_file in $ac_files
2781 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2782 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2787 if { { ac_try="$ac_link_default"
2789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2790 *) ac_try_echo
=$ac_try;;
2792 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2793 $as_echo "$ac_try_echo"; } >&5
2794 (eval "$ac_link_default") 2>&5
2796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2797 test $ac_status = 0; }; then :
2798 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2799 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2800 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2801 # so that the user can short-circuit this test for compilers unknown to
2803 for ac_file
in $ac_files ''
2805 test -f "$ac_file" || continue
2807 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
2810 # We found the default executable, but exeext='' is most
2814 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2816 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2818 # We set ac_cv_exeext here because the later test for it is not
2819 # safe: cross compilers may not add the suffix if given an `-o'
2820 # argument, so we may need to know it at that point already.
2821 # Even if this section looks crufty: it has the advantage of
2828 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2834 $as_echo "$ac_file" >&6; }
2835 if test -z "$ac_file"; then :
2836 $as_echo "$as_me: failed program was:" >&5
2837 sed 's/^/| /' conftest.
$ac_ext >&5
2839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2841 { as_fn_set_status
77
2842 as_fn_error
"C compiler cannot create executables
2843 See \`config.log' for more details." "$LINENO" 5; }; }
2845 ac_exeext
=$ac_cv_exeext
2847 # Check that the compiler produces executables we can run. If not, either
2848 # the compiler is broken, or we cross compile.
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2850 $as_echo_n "checking whether the C compiler works... " >&6; }
2851 # If not cross compiling, check that we can run a simple program.
2852 if test "$cross_compiling" != yes; then
2853 if { ac_try
='./$ac_file'
2854 { { case "(($ac_try" in
2855 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2856 *) ac_try_echo=$ac_try;;
2858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2859 $as_echo "$ac_try_echo"; } >&5
2860 (eval "$ac_try") 2>&5
2862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2863 test $ac_status = 0; }; }; then
2866 if test "$cross_compiling" = maybe; then
2869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2871 as_fn_error "cannot run C compiled programs.
2872 If you meant to cross compile
, use \
`--host'.
2873 See \`config.log
' for more details." "$LINENO" 5; }
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2878 $as_echo "yes" >&6; }
2880 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2881 ac_clean_files=$ac_clean_files_save
2882 # Check that the compiler produces executables we can run. If not, either
2883 # the compiler is broken, or we cross compile.
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2885 $as_echo_n "checking whether we are cross compiling... " >&6; }
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2887 $as_echo "$cross_compiling" >&6; }
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2890 $as_echo_n "checking for suffix of executables... " >&6; }
2891 if { { ac_try="$ac_link"
2893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2894 *) ac_try_echo=$ac_try;;
2896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2897 $as_echo "$ac_try_echo"; } >&5
2898 (eval "$ac_link") 2>&5
2900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2901 test $ac_status = 0; }; then :
2902 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2903 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2904 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2906 for ac_file
in conftest.exe conftest conftest.
*; do
2907 test -f "$ac_file" || continue
2909 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
2910 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2916 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2917 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2918 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2919 See \`config.log' for more details." "$LINENO" 5; }
2921 rm -f conftest
$ac_cv_exeext
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2923 $as_echo "$ac_cv_exeext" >&6; }
2925 rm -f conftest.
$ac_ext
2926 EXEEXT
=$ac_cv_exeext
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2929 $as_echo_n "checking for suffix of object files... " >&6; }
2930 if test "${ac_cv_objext+set}" = set; then :
2931 $as_echo_n "(cached) " >&6
2933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2934 /* end confdefs.h. */
2944 rm -f conftest.o conftest.obj
2945 if { { ac_try
="$ac_compile"
2947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2948 *) ac_try_echo=$ac_try;;
2950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2951 $as_echo "$ac_try_echo"; } >&5
2952 (eval "$ac_compile") 2>&5
2954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2955 test $ac_status = 0; }; then :
2956 for ac_file in conftest.o conftest.obj conftest.*; do
2957 test -f "$ac_file" || continue;
2959 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2960 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2965 $as_echo "$as_me: failed program was:" >&5
2966 sed 's/^/| /' conftest.$ac_ext >&5
2968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2970 as_fn_error "cannot compute suffix of object files
: cannot compile
2971 See \
`config.log' for more details." "$LINENO" 5; }
2973 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2976 $as_echo "$ac_cv_objext" >&6; }
2977 OBJEXT=$ac_cv_objext
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2980 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2981 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2982 $as_echo_n "(cached) " >&6
2984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2985 /* end confdefs.h. */
2998 if ac_fn_c_try_compile "$LINENO"; then :
3003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3004 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3008 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3009 if test $ac_compiler_gnu = yes; then
3014 ac_test_CFLAGS=${CFLAGS+set}
3015 ac_save_CFLAGS=$CFLAGS
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3017 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3018 if test "${ac_cv_prog_cc_g+set}" = set; then :
3019 $as_echo_n "(cached) " >&6
3021 ac_save_c_werror_flag=$ac_c_werror_flag
3022 ac_c_werror_flag=yes
3025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3026 /* end confdefs.h. */
3036 if ac_fn_c_try_compile "$LINENO"; then :
3040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041 /* end confdefs.h. */
3051 if ac_fn_c_try_compile "$LINENO"; then :
3054 ac_c_werror_flag=$ac_save_c_werror_flag
3056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3057 /* end confdefs.h. */
3067 if ac_fn_c_try_compile "$LINENO"; then :
3070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3075 ac_c_werror_flag=$ac_save_c_werror_flag
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3078 $as_echo "$ac_cv_prog_cc_g" >&6; }
3079 if test "$ac_test_CFLAGS" = set; then
3080 CFLAGS=$ac_save_CFLAGS
3081 elif test $ac_cv_prog_cc_g = yes; then
3082 if test "$GCC" = yes; then
3088 if test "$GCC" = yes; then
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3095 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3096 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3097 $as_echo_n "(cached) " >&6
3099 ac_cv_prog_cc_c89=no
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3105 #include <sys/types.h>
3106 #include <sys/stat.h>
3107 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3108 struct buf { int x; };
3109 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3110 static char *e (p, i)
3116 static char *f (char * (*g) (char **, int), char **p, ...)
3121 s = g (p, va_arg (v,int));
3126 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3127 function prototypes and stuff, but not '\xHH' hex character constants.
3128 These don't provoke an error unfortunately, instead are silently treated
3129 as 'x'. The following induces an error, until -std is added to get
3130 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3131 array size at least. It's necessary to write '\x00'==0 to get something
3132 that's true only with -std. */
3133 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3135 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3136 inside strings and character constants. */
3138 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3140 int test (int i, double x);
3141 struct s1 {int (*f) (int a);};
3142 struct s2 {int (*f) (double a);};
3143 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3149 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3154 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3155 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3157 CC="$ac_save_CC $ac_arg"
3158 if ac_fn_c_try_compile "$LINENO"; then :
3159 ac_cv_prog_cc_c89=$ac_arg
3161 rm -f core conftest.err conftest.$ac_objext
3162 test "x$ac_cv_prog_cc_c89" != "xno" && break
3164 rm -f conftest.$ac_ext
3169 case "x$ac_cv_prog_cc_c89" in
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3172 $as_echo "none needed" >&6; } ;;
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3175 $as_echo "unsupported" >&6; } ;;
3177 CC="$CC $ac_cv_prog_cc_c89"
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3179 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3181 if test "x$ac_cv_prog_cc_c89" != xno; then :
3186 ac_cpp='$CPP $CPPFLAGS'
3187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3192 for ac_prog in flex lex
3194 # Extract the first word of "$ac_prog", so it can be a program name with args.
3195 set dummy $ac_prog; ac_word=$2
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3197 $as_echo_n "checking for $ac_word... " >&6; }
3198 if test "${ac_cv_prog_LEX+set}" = set; then :
3199 $as_echo_n "(cached) " >&6
3201 if test -n "$LEX"; then
3202 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208 test -z "$as_dir" && as_dir=.
3209 for ac_exec_ext in '' $ac_executable_extensions; do
3210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3211 ac_cv_prog_LEX="$ac_prog"
3212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 if test -n "$LEX"; then
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
3224 $as_echo "$LEX" >&6; }
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3227 $as_echo "no" >&6; }
3231 test -n "$LEX" && break
3233 test -n "$LEX" || LEX=":"
3235 if test "x$LEX" != "x:"; then
3236 cat >conftest.l <<_ACEOF
3242 e { yyless (input () != 0); }
3243 f { unput (yytext[0]); }
3244 . { BEGIN INITIAL; }
3246 #ifdef YYTEXT_POINTER
3247 extern char *yytext;
3252 return ! yylex () + ! yywrap ();
3255 { { ac_try="$LEX conftest.l"
3257 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3258 *) ac_try_echo
=$ac_try;;
3260 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3261 $as_echo "$ac_try_echo"; } >&5
3262 (eval "$LEX conftest.l") 2>&5
3264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3265 test $ac_status = 0; }
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
3267 $as_echo_n "checking lex output file root... " >&6; }
3268 if test "${ac_cv_prog_lex_root+set}" = set; then :
3269 $as_echo_n "(cached) " >&6
3272 if test -f lex.yy.c
; then
3273 ac_cv_prog_lex_root
=lex.yy
3274 elif test -f lexyy.c
; then
3275 ac_cv_prog_lex_root
=lexyy
3277 as_fn_error
"cannot find output from $LEX; giving up" "$LINENO" 5
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
3281 $as_echo "$ac_cv_prog_lex_root" >&6; }
3282 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
3284 if test -z "${LEXLIB+set}"; then
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
3286 $as_echo_n "checking lex library... " >&6; }
3287 if test "${ac_cv_lib_lex+set}" = set; then :
3288 $as_echo_n "(cached) " >&6
3292 ac_cv_lib_lex
='none needed'
3293 for ac_lib
in '' -lfl -ll; do
3294 LIBS
="$ac_lib $ac_save_LIBS"
3295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3297 `cat $LEX_OUTPUT_ROOT.c`
3299 if ac_fn_c_try_link
"$LINENO"; then :
3300 ac_cv_lib_lex
=$ac_lib
3302 rm -f core conftest.err conftest.
$ac_objext \
3303 conftest
$ac_exeext conftest.
$ac_ext
3304 test "$ac_cv_lib_lex" != 'none needed' && break
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
3310 $as_echo "$ac_cv_lib_lex" >&6; }
3311 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB
=$ac_cv_lib_lex
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
3316 $as_echo_n "checking whether yytext is a pointer... " >&6; }
3317 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
3318 $as_echo_n "(cached) " >&6
3320 # POSIX says lex can declare yytext either as a pointer or an array; the
3321 # default is implementation-dependent. Figure out which it is, since
3322 # not all implementations provide the %pointer and %array declarations.
3323 ac_cv_prog_lex_yytext_pointer
=no
3325 LIBS
="$LEXLIB $ac_save_LIBS"
3326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3327 /* end confdefs.h. */
3328 #define YYTEXT_POINTER 1
3329 `cat $LEX_OUTPUT_ROOT.c`
3331 if ac_fn_c_try_link
"$LINENO"; then :
3332 ac_cv_prog_lex_yytext_pointer
=yes
3334 rm -f core conftest.err conftest.
$ac_objext \
3335 conftest
$ac_exeext conftest.
$ac_ext
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
3340 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
3341 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3343 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
3346 rm -f conftest.l
$LEX_OUTPUT_ROOT.c
3349 if test "$LEX" = :; then
3350 LEX
=${am_missing_run}flex
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is the lexer generator" >&5
3357 $as_echo_n "checking if flex is the lexer generator... " >&6; }
3358 if test "${ax_cv_prog_flex+set}" = set; then :
3359 $as_echo_n "(cached) " >&6
3362 if test "`echo \"$LEX\" | $SED 's,^.*\(flex\).*$,\1,'`" = "flex"; then :
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_flex" >&5
3374 $as_echo "$ax_cv_prog_flex" >&6; }
3375 if test "$ax_cv_prog_flex" = yes; then :
3380 FLEX_VERSION
=`$FLEX --version | $SED -e 's/^.* \(.*\)$/\1/p;d'`
3387 as_fn_error
"You need flex 2.5.35 or greater" "$LINENO" 5
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is >= 2.5.35" >&5
3393 $as_echo_n "checking if flex is >= 2.5.35... " >&6; }
3394 as_arg_v1
=$FLEX_VERSION
3396 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3401 $as_echo "no" >&6; }
3402 as_fn_error
"You need flex 2.5.35 or greater" "$LINENO" 5
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3406 $as_echo "yes" >&6; } ;; #(
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3409 $as_echo "yes" >&6; } ;; #(
3417 if test "$target_os" = "os2-emx"; then
3418 # Scripts don't pass test -x on OS/2
3424 acceptable_majors
="1"
3426 apr_temp_acceptable_apr_config
=""
3427 for apr_temp_major
in $acceptable_majors
3429 case $apr_temp_major in
3431 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-config"
3434 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
3440 $as_echo_n "checking for APR... " >&6; }
3442 # Check whether --with-apr was given.
3443 if test "${with_apr+set}" = set; then :
3445 if test "$withval" = "no" || test "$withval" = "yes"; then
3446 as_fn_error
"--with-apr requires a directory or file to be provided" "$LINENO" 5
3449 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
3451 for lookdir
in "$withval/bin" "$withval"
3453 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
3454 apr_config
="$lookdir/$apr_temp_apr_config_file"
3462 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev
/null
2>&1 ; then
3463 apr_config
="$withval"
3467 if test "$apr_found" != "yes"; then
3468 as_fn_error
"the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file." "$LINENO" 5
3473 if test -n "1" && test "1" = "1"; then
3474 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
3476 if $apr_temp_apr_config_file --help > /dev
/null
2>&1 ; then
3477 apr_config
="$apr_temp_apr_config_file"
3482 for lookdir
in /usr
/usr
/local /usr
/local
/apr
/opt
/apr
; do
3483 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
3484 apr_config
="$lookdir/bin/$apr_temp_apr_config_file"
3493 if test "$apr_found" = "no" && test -d ""; then
3494 apr_temp_abs_srcdir
="`cd && pwd`"
3495 apr_found
="reconfig"
3496 apr_bundled_major
="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`"
3497 case $apr_bundled_major in
3499 as_fn_error
"failed to find major version of bundled APR" "$LINENO" 5
3502 apr_temp_apr_config_file
="apr-config"
3505 apr_temp_apr_config_file
="apr-$apr_bundled_major-config"
3509 apr_config
="/$apr_temp_apr_config_file"
3511 apr_config
="/$apr_temp_apr_config_file"
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
3519 $as_echo "$apr_found" >&6; }
3521 case $apr_found in #(
3525 for element
in `$apr_config --includes`; do
3527 for x
in $CPPFLAGS; do
3529 acl_save_prefix
="$prefix"
3530 prefix
="$acl_final_prefix"
3531 acl_save_exec_prefix
="$exec_prefix"
3532 exec_prefix
="$acl_final_exec_prefix"
3534 exec_prefix
="$acl_save_exec_prefix"
3535 prefix
="$acl_save_prefix"
3537 if test "X$x" = "X$element"; then
3542 if test -z "$haveit"; then
3543 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
3547 APR
=`$apr_config --link-ld`
3551 as_fn_error
"You need apr" "$LINENO" 5 ;;
3554 ac_cpp
='$CXXCPP $CPPFLAGS'
3555 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3556 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3557 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3558 if test -z "$CXX"; then
3559 if test -n "$CCC"; then
3562 if test -n "$ac_tool_prefix"; then
3563 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3565 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3566 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3568 $as_echo_n "checking for $ac_word... " >&6; }
3569 if test "${ac_cv_prog_CXX+set}" = set; then :
3570 $as_echo_n "(cached) " >&6
3572 if test -n "$CXX"; then
3573 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3579 test -z "$as_dir" && as_dir
=.
3580 for ac_exec_ext
in '' $ac_executable_extensions; do
3581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3582 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3593 if test -n "$CXX"; then
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3595 $as_echo "$CXX" >&6; }
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3598 $as_echo "no" >&6; }
3602 test -n "$CXX" && break
3605 if test -z "$CXX"; then
3607 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3609 # Extract the first word of "$ac_prog", so it can be a program name with args.
3610 set dummy
$ac_prog; ac_word
=$2
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3614 $as_echo_n "(cached) " >&6
3616 if test -n "$ac_ct_CXX"; then
3617 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3623 test -z "$as_dir" && as_dir
=.
3624 for ac_exec_ext
in '' $ac_executable_extensions; do
3625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3626 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3637 if test -n "$ac_ct_CXX"; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3639 $as_echo "$ac_ct_CXX" >&6; }
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642 $as_echo "no" >&6; }
3646 test -n "$ac_ct_CXX" && break
3649 if test "x$ac_ct_CXX" = x
; then
3652 case $cross_compiling:$ac_tool_warned in
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3655 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3656 ac_tool_warned
=yes ;;
3664 # Provide some information about the compiler.
3665 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3668 for ac_option
in --version -v -V -qversion; do
3669 { { ac_try
="$ac_compiler $ac_option >&5"
3671 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3672 *) ac_try_echo=$ac_try;;
3674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3675 $as_echo "$ac_try_echo"; } >&5
3676 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3678 if test -s conftest.err; then
3680 ... rest of stderr output deleted ...
3681 10q' conftest.err >conftest.er1
3682 cat conftest.er1 >&5
3683 rm -f conftest.er1 conftest.err
3685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3686 test $ac_status = 0; }
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3690 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3691 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3692 $as_echo_n "(cached) " >&6
3694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3695 /* end confdefs.h. */
3708 if ac_fn_cxx_try_compile "$LINENO"; then :
3713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3714 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3718 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3719 if test $ac_compiler_gnu = yes; then
3724 ac_test_CXXFLAGS=${CXXFLAGS+set}
3725 ac_save_CXXFLAGS=$CXXFLAGS
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3727 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3728 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3729 $as_echo_n "(cached) " >&6
3731 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3732 ac_cxx_werror_flag=yes
3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h. */
3746 if ac_fn_cxx_try_compile "$LINENO"; then :
3747 ac_cv_prog_cxx_g=yes
3750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3751 /* end confdefs.h. */
3761 if ac_fn_cxx_try_compile "$LINENO"; then :
3764 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3777 if ac_fn_cxx_try_compile "$LINENO"; then :
3778 ac_cv_prog_cxx_g=yes
3780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3785 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3788 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3789 if test "$ac_test_CXXFLAGS" = set; then
3790 CXXFLAGS=$ac_save_CXXFLAGS
3791 elif test $ac_cv_prog_cxx_g = yes; then
3792 if test "$GXX" = yes; then
3798 if test "$GXX" = yes; then
3805 ac_cpp='$CPP $CPPFLAGS'
3806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3810 # Find a good install program. We prefer a C program (faster),
3811 # so one script is as good as another. But avoid the broken or
3812 # incompatible versions:
3813 # SysV /etc/install, /usr/sbin/install
3814 # SunOS /usr/etc/install
3815 # IRIX /sbin/install
3817 # AmigaOS /C/install, which installs bootblocks on floppy discs
3818 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3819 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3820 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3821 # OS/2's system install, which has a completely different semantic
3822 # ./install, which can be erroneously created by make from ./install.sh.
3823 # Reject install programs that cannot install multiple files.
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3825 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3826 if test -z "$INSTALL"; then
3827 if test "${ac_cv_path_install+set}" = set; then :
3828 $as_echo_n "(cached) " >&6
3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3834 test -z "$as_dir" && as_dir=.
3835 # Account for people who put trailing slashes in PATH elements.
3836 case $as_dir/ in #((
3837 ./ | .// | /[cC]/* | \
3838 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3839 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3842 # OSF1 and SCO ODT 3.0 have their own names for install.
3843 # Don't use installbsd from OSF since it installs stuff as root
3845 for ac_prog in ginstall scoinst install; do
3846 for ac_exec_ext in '' $ac_executable_extensions; do
3847 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3848 if test $ac_prog = install &&
3849 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3850 # AIX install. It has an incompatible calling convention.
3852 elif test $ac_prog = install &&
3853 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3854 # program-specific install script used by HP pwplus--don't use.
3857 rm -rf conftest.one conftest.two conftest.dir
3858 echo one > conftest.one
3859 echo two > conftest.two
3861 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3862 test -s conftest.one && test -s conftest.two &&
3863 test -s conftest.dir/conftest.one &&
3864 test -s conftest.dir/conftest.two
3866 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3879 rm -rf conftest.one conftest.two conftest.dir
3882 if test "${ac_cv_path_install+set}" = set; then
3883 INSTALL=$ac_cv_path_install
3885 # As a last resort, use the slow shell script. Don't cache a
3886 # value for INSTALL within a source directory, because that will
3887 # break other packages using the cache if that directory is
3888 # removed, or if the value is a relative name.
3889 INSTALL=$ac_install_sh
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3893 $as_echo "$INSTALL" >&6; }
3895 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3896 # It thinks the first close brace ends the variable substitution.
3897 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3899 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3901 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3903 # Make sure we can run config.sub.
3904 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3905 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3908 $as_echo_n "checking build system type... " >&6; }
3909 if test "${ac_cv_build+set}" = set; then :
3910 $as_echo_n "(cached) " >&6
3912 ac_build_alias=$build_alias
3913 test "x$ac_build_alias" = x &&
3914 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3915 test "x$ac_build_alias" = x &&
3916 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3917 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3918 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3922 $as_echo "$ac_cv_build" >&6; }
3923 case $ac_cv_build in
3925 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3928 ac_save_IFS=$IFS; IFS='-'
3934 # Remember, the first character of IFS is used to create $*,
3935 # except with old shells:
3938 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3942 $as_echo_n "checking host system type... " >&6; }
3943 if test "${ac_cv_host+set}" = set; then :
3944 $as_echo_n "(cached) " >&6
3946 if test "x$host_alias" = x; then
3947 ac_cv_host=$ac_cv_build
3949 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3950 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3955 $as_echo "$ac_cv_host" >&6; }
3958 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3961 ac_save_IFS=$IFS; IFS='-'
3967 # Remember, the first character of IFS is used to create $*,
3968 # except with old shells:
3971 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3975 if test "X$prefix" = "XNONE"; then
3976 acl_final_prefix="$ac_default_prefix"
3978 acl_final_prefix="$prefix"
3980 if test "X$exec_prefix" = "XNONE"; then
3981 acl_final_exec_prefix='${prefix}'
3983 acl_final_exec_prefix="$exec_prefix"
3985 acl_save_prefix="$prefix"
3986 prefix="$acl_final_prefix"
3987 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3988 prefix="$acl_save_prefix"
3991 # Check whether --with-gnu-ld was given.
3992 if test "${with_gnu_ld+set}" = set; then :
3993 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3998 # Prepare PATH_SEPARATOR.
3999 # The user is always right.
4000 if test "${PATH_SEPARATOR+set}" != set; then
4001 echo "#! /bin/sh" >conf$$.sh
4002 echo "exit 0" >>conf$$.sh
4004 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4012 if test "$GCC" = yes; then
4013 # Check if gcc -print-prog-name=ld gives a path.
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4015 $as_echo_n "checking for ld used by GCC... " >&6; }
4018 # gcc leaves a trailing carriage return which upsets mingw
4019 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
4021 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4024 # Accept absolute paths.
4025 [\\/]* | [A-Za-z]:[\\/]*)
4026 re_direlt='/[^/][^/]*/\.\./'
4027 # Canonicalize the path of ld
4028 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4029 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4030 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4032 test -z "$LD" && LD="$ac_prog"
4035 # If it fails, then pretend we aren't using GCC.
4039 # If it is relative, then search for the first ld in PATH.
4043 elif test "$with_gnu_ld" = yes; then
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4045 $as_echo_n "checking for GNU ld... " >&6; }
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4048 $as_echo_n "checking for non-GNU ld... " >&6; }
4050 if test "${acl_cv_path_LD+set}" = set; then :
4051 $as_echo_n "(cached) " >&6
4053 if test -z "$LD"; then
4054 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4055 for ac_dir in $PATH; do
4056 test -z "$ac_dir" && ac_dir=.
4057 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4058 acl_cv_path_LD="$ac_dir/$ac_prog"
4059 # Check to see if the program is GNU ld. I'd rather use --version,
4060 # but apparently some GNU ld's only accept -v.
4061 # Break only if it was the GNU/non-GNU ld that we prefer.
4062 case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in
4063 *GNU* | *'with BFD'*)
4064 test "$with_gnu_ld" != no && break ;;
4066 test "$with_gnu_ld" != yes && break ;;
4072 acl_cv_path_LD="$LD" # Let the user override the test with a path.
4076 LD="$acl_cv_path_LD"
4077 if test -n "$LD"; then
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4079 $as_echo "$LD" >&6; }
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4082 $as_echo "no" >&6; }
4084 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4086 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4087 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
4088 $as_echo_n "(cached) " >&6
4090 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4091 case `$LD -v 2>&1 </dev
/null
` in
4092 *GNU* | *'with BFD'*)
4093 acl_cv_prog_gnu_ld=yes ;;
4095 acl_cv_prog_gnu_ld=no ;;
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4099 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4100 with_gnu_ld=$acl_cv_prog_gnu_ld
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4106 $as_echo_n "checking for shared library run path origin... " >&6; }
4107 if test "${acl_cv_rpath+set}" = set; then :
4108 $as_echo_n "(cached) " >&6
4111 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4112 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4119 $as_echo "$acl_cv_rpath" >&6; }
4121 acl_libext="$acl_cv_libext"
4122 acl_shlibext="$acl_cv_shlibext"
4123 acl_libname_spec="$acl_cv_libname_spec"
4124 acl_library_names_spec="$acl_cv_library_names_spec"
4125 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4126 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4127 acl_hardcode_direct="$acl_cv_hardcode_direct"
4128 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
4129 # Check whether --enable-rpath was given.
4130 if test "${enable_rpath+set}" = set; then :
4131 enableval=$enable_rpath; :
4139 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null
| sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4140 if test -n "$searchpath"; then
4141 acl_save_IFS="${IFS= }"; IFS=":"
4142 for searchdir in $searchpath; do
4143 if test -d "$searchdir"; then
4144 case "$searchdir" in
4145 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4146 *) searchdir=`cd "$searchdir" && pwd`
4147 case "$searchdir" in
4148 */lib64 ) acl_libdirstem=lib64 ;;
4166 acl_save_prefix="$prefix"
4167 prefix="$acl_final_prefix"
4168 acl_save_exec_prefix="$exec_prefix"
4169 exec_prefix="$acl_final_exec_prefix"
4171 eval additional_includedir=\"$includedir\"
4172 eval additional_libdir=\"$libdir\"
4174 exec_prefix="$acl_save_exec_prefix"
4175 prefix="$acl_save_prefix"
4178 # Check whether --with-libiconv-prefix was given.
4179 if test "${with_libiconv_prefix+set}" = set; then :
4180 withval=$with_libiconv_prefix;
4181 if test "X$withval" = "Xno"; then
4184 if test "X$withval" = "X"; then
4186 acl_save_prefix="$prefix"
4187 prefix="$acl_final_prefix"
4188 acl_save_exec_prefix="$exec_prefix"
4189 exec_prefix="$acl_final_exec_prefix"
4191 eval additional_includedir=\"$includedir\"
4192 eval additional_libdir=\"$libdir\"
4194 exec_prefix="$acl_save_exec_prefix"
4195 prefix="$acl_save_prefix"
4198 additional_includedir="$withval/include"
4199 additional_libdir="$withval/$acl_libdirstem"
4211 names_already_handled=
4212 names_next_round='iconv '
4213 while test -n "$names_next_round"; do
4214 names_this_round="$names_next_round"
4216 for name in $names_this_round; do
4218 for n in $names_already_handled; do
4219 if test "$n" = "$name"; then
4224 if test -z "$already_handled"; then
4225 names_already_handled="$names_already_handled $name"
4226 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4227 eval value=\"\$HAVE_LIB$uppername\"
4228 if test -n "$value"; then
4229 if test "$value" = yes; then
4230 eval value=\"\$LIB$uppername\"
4231 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4232 eval value=\"\$LTLIB$uppername\"
4233 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4242 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
4243 if test -n "$acl_shlibext"; then
4244 shrext=".$acl_shlibext" # typically: shrext=.so
4248 if test $use_additional = yes; then
4249 dir="$additional_libdir"
4250 if test -n "$acl_shlibext"; then
4251 if test -f "$dir/$libname$shrext"; then
4253 found_so="$dir/$libname$shrext"
4255 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4256 ver=`(cd "$dir" && \
4257 for f
in "$libname$shrext".
*; do echo "$f"; done \
4258 | sed -e "s,^$libname$shrext\\\\.,," \
4259 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4260 | sed 1q
) 2>/dev
/null
`
4261 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4263 found_so="$dir/$libname$shrext.$ver"
4266 eval library_names=\"$acl_library_names_spec\"
4267 for f in $library_names; do
4268 if test -f "$dir/$f"; then
4277 if test "X$found_dir" = "X"; then
4278 if test -f "$dir/$libname.$acl_libext"; then
4280 found_a="$dir/$libname.$acl_libext"
4283 if test "X$found_dir" != "X"; then
4284 if test -f "$dir/$libname.la"; then
4285 found_la="$dir/$libname.la"
4289 if test "X$found_dir" = "X"; then
4290 for x in $LDFLAGS $LTLIBICONV; do
4292 acl_save_prefix="$prefix"
4293 prefix="$acl_final_prefix"
4294 acl_save_exec_prefix="$exec_prefix"
4295 exec_prefix="$acl_final_exec_prefix"
4297 exec_prefix="$acl_save_exec_prefix"
4298 prefix="$acl_save_prefix"
4302 dir=`echo "X$x" | sed -e 's/^X-L//'`
4303 if test -n "$acl_shlibext"; then
4304 if test -f "$dir/$libname$shrext"; then
4306 found_so="$dir/$libname$shrext"
4308 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4309 ver=`(cd "$dir" && \
4310 for f
in "$libname$shrext".
*; do echo "$f"; done \
4311 | sed -e "s,^$libname$shrext\\\\.,," \
4312 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4313 | sed 1q
) 2>/dev
/null
`
4314 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4316 found_so="$dir/$libname$shrext.$ver"
4319 eval library_names=\"$acl_library_names_spec\"
4320 for f in $library_names; do
4321 if test -f "$dir/$f"; then
4330 if test "X$found_dir" = "X"; then
4331 if test -f "$dir/$libname.$acl_libext"; then
4333 found_a="$dir/$libname.$acl_libext"
4336 if test "X$found_dir" != "X"; then
4337 if test -f "$dir/$libname.la"; then
4338 found_la="$dir/$libname.la"
4343 if test "X$found_dir" != "X"; then
4348 if test "X$found_dir" != "X"; then
4349 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4350 if test "X$found_so" != "X"; then
4351 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
4352 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4355 for x in $ltrpathdirs; do
4356 if test "X$x" = "X$found_dir"; then
4361 if test -z "$haveit"; then
4362 ltrpathdirs="$ltrpathdirs $found_dir"
4364 if test "$acl_hardcode_direct" = yes; then
4365 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4367 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
4368 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4370 for x in $rpathdirs; do
4371 if test "X$x" = "X$found_dir"; then
4376 if test -z "$haveit"; then
4377 rpathdirs="$rpathdirs $found_dir"
4381 for x in $LDFLAGS $LIBICONV; do
4383 acl_save_prefix="$prefix"
4384 prefix="$acl_final_prefix"
4385 acl_save_exec_prefix="$exec_prefix"
4386 exec_prefix="$acl_final_exec_prefix"
4388 exec_prefix="$acl_save_exec_prefix"
4389 prefix="$acl_save_prefix"
4391 if test "X$x" = "X-L$found_dir"; then
4396 if test -z "$haveit"; then
4397 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4399 if test "$acl_hardcode_minus_L" != no; then
4400 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4402 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4408 if test "X$found_a" != "X"; then
4409 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
4411 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4414 additional_includedir=
4415 case "$found_dir" in
4416 */$acl_libdirstem | */$acl_libdirstem/)
4417 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
4418 LIBICONV_PREFIX="$basedir"
4419 additional_includedir="$basedir/include"
4422 if test "X$additional_includedir" != "X"; then
4423 if test "X$additional_includedir" != "X/usr/include"; then
4425 if test "X$additional_includedir" = "X/usr/local/include"; then
4426 if test -n "$GCC"; then
4428 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4432 if test -z "$haveit"; then
4433 for x in $CPPFLAGS $INCICONV; do
4435 acl_save_prefix="$prefix"
4436 prefix="$acl_final_prefix"
4437 acl_save_exec_prefix="$exec_prefix"
4438 exec_prefix="$acl_final_exec_prefix"
4440 exec_prefix="$acl_save_exec_prefix"
4441 prefix="$acl_save_prefix"
4443 if test "X$x" = "X-I$additional_includedir"; then
4448 if test -z "$haveit"; then
4449 if test -d "$additional_includedir"; then
4450 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
4456 if test -n "$found_la"; then
4457 save_libdir="$libdir"
4459 */* | *\\*) . "$found_la" ;;
4460 *) . "./$found_la" ;;
4462 libdir="$save_libdir"
4463 for dep in $dependency_libs; do
4466 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4467 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
4469 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
4470 if test -n "$GCC"; then
4472 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4476 if test -z "$haveit"; then
4478 for x in $LDFLAGS $LIBICONV; do
4480 acl_save_prefix="$prefix"
4481 prefix="$acl_final_prefix"
4482 acl_save_exec_prefix="$exec_prefix"
4483 exec_prefix="$acl_final_exec_prefix"
4485 exec_prefix="$acl_save_exec_prefix"
4486 prefix="$acl_save_prefix"
4488 if test "X$x" = "X-L$additional_libdir"; then
4493 if test -z "$haveit"; then
4494 if test -d "$additional_libdir"; then
4495 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
4499 for x in $LDFLAGS $LTLIBICONV; do
4501 acl_save_prefix="$prefix"
4502 prefix="$acl_final_prefix"
4503 acl_save_exec_prefix="$exec_prefix"
4504 exec_prefix="$acl_final_exec_prefix"
4506 exec_prefix="$acl_save_exec_prefix"
4507 prefix="$acl_save_prefix"
4509 if test "X$x" = "X-L$additional_libdir"; then
4514 if test -z "$haveit"; then
4515 if test -d "$additional_libdir"; then
4516 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
4523 dir=`echo "X$dep" | sed -e 's/^X-R//'`
4524 if test "$enable_rpath" != no; then
4526 for x in $rpathdirs; do
4527 if test "X$x" = "X$dir"; then
4532 if test -z "$haveit"; then
4533 rpathdirs="$rpathdirs $dir"
4536 for x in $ltrpathdirs; do
4537 if test "X$x" = "X$dir"; then
4542 if test -z "$haveit"; then
4543 ltrpathdirs="$ltrpathdirs $dir"
4548 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4551 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4554 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
4555 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
4561 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4562 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
4568 if test "X$rpathdirs" != "X"; then
4569 if test -n "$acl_hardcode_libdir_separator"; then
4571 for found_dir in $rpathdirs; do
4572 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
4574 acl_save_libdir="$libdir"
4576 eval flag=\"$acl_hardcode_libdir_flag_spec\"
4577 libdir="$acl_save_libdir"
4578 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4580 for found_dir in $rpathdirs; do
4581 acl_save_libdir="$libdir"
4583 eval flag=\"$acl_hardcode_libdir_flag_spec\"
4584 libdir="$acl_save_libdir"
4585 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4589 if test "X$ltrpathdirs" != "X"; then
4590 for found_dir in $ltrpathdirs; do
4591 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
4601 am_save_CPPFLAGS="$CPPFLAGS"
4603 for element in $INCICONV; do
4605 for x in $CPPFLAGS; do
4607 acl_save_prefix="$prefix"
4608 prefix="$acl_final_prefix"
4609 acl_save_exec_prefix="$exec_prefix"
4610 exec_prefix="$acl_final_exec_prefix"
4612 exec_prefix="$acl_save_exec_prefix"
4613 prefix="$acl_save_prefix"
4615 if test "X$x" = "X$element"; then
4620 if test -z "$haveit"; then
4621 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
4627 $as_echo_n "checking for iconv... " >&6; }
4628 if test "${am_cv_func_iconv+set}" = set; then :
4629 $as_echo_n "(cached) " >&6
4632 am_cv_func_iconv="no, consider installing GNU libiconv"
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4641 iconv_t cd = iconv_open("","");
4642 iconv(cd,NULL,NULL,NULL,NULL);
4648 if ac_fn_c_try_link "$LINENO"; then :
4649 am_cv_func_iconv=yes
4651 rm -f core conftest.err conftest.$ac_objext \
4652 conftest$ac_exeext conftest.$ac_ext
4653 if test "$am_cv_func_iconv" != yes; then
4654 am_save_LIBS="$LIBS"
4655 LIBS="$LIBS $LIBICONV"
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4663 iconv_t cd = iconv_open("","");
4664 iconv(cd,NULL,NULL,NULL,NULL);
4670 if ac_fn_c_try_link "$LINENO"; then :
4672 am_cv_func_iconv=yes
4674 rm -f core conftest.err conftest.$ac_objext \
4675 conftest$ac_exeext conftest.$ac_ext
4676 LIBS="$am_save_LIBS"
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
4681 $as_echo "$am_cv_func_iconv" >&6; }
4682 if test "$am_cv_func_iconv" = yes; then
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
4684 $as_echo_n "checking for working iconv... " >&6; }
4685 if test "${am_cv_func_iconv_works+set}" = set; then :
4686 $as_echo_n "(cached) " >&6
4689 am_save_LIBS="$LIBS"
4690 if test $am_cv_lib_iconv = yes; then
4691 LIBS="$LIBS $LIBICONV"
4693 if test "$cross_compiling" = yes; then :
4695 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
4696 *) am_cv_func_iconv_works="guessing yes" ;;
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4706 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
4709 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
4710 if (cd_utf8_to_88591 != (iconv_t)(-1))
4712 static const char input[] = "\342\202\254"; /* EURO SIGN */
4714 const char *inptr = input;
4715 size_t inbytesleft = strlen (input);
4717 size_t outbytesleft = sizeof (buf);
4718 size_t res = iconv (cd_utf8_to_88591,
4719 (char **) &inptr, &inbytesleft,
4720 &outptr, &outbytesleft);
4725 #if 0 /* This bug could be worked around by the caller. */
4726 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
4728 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
4729 if (cd_88591_to_utf8 != (iconv_t)(-1))
4731 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
4733 const char *inptr = input;
4734 size_t inbytesleft = strlen (input);
4736 size_t outbytesleft = sizeof (buf);
4737 size_t res = iconv (cd_88591_to_utf8,
4738 (char **) &inptr, &inbytesleft,
4739 &outptr, &outbytesleft);
4745 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
4747 if (/* Try standardized names. */
4748 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
4749 /* Try IRIX, OSF/1 names. */
4750 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
4751 /* Try AIX names. */
4752 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
4753 /* Try HP-UX names. */
4754 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
4759 if ac_fn_c_try_run "$LINENO"; then :
4760 am_cv_func_iconv_works=yes
4762 am_cv_func_iconv_works=no
4764 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4765 conftest.$ac_objext conftest.beam conftest.$ac_ext
4768 LIBS="$am_save_LIBS"
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
4772 $as_echo "$am_cv_func_iconv_works" >&6; }
4773 case "$am_cv_func_iconv_works" in
4774 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
4775 *) am_func_iconv=yes ;;
4778 am_func_iconv=no am_cv_lib_iconv=no
4780 if test "$am_func_iconv" = yes; then
4782 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
4785 if test "$am_cv_lib_iconv" = yes; then
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
4787 $as_echo_n "checking how to link with libiconv... " >&6; }
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
4789 $as_echo "$LIBICONV" >&6; }
4791 CPPFLAGS="$am_save_CPPFLAGS"
4798 if test "$am_cv_func_iconv" = yes; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
4800 $as_echo_n "checking for iconv declaration... " >&6; }
4801 if test "${am_cv_proto_iconv+set}" = set; then :
4802 $as_echo_n "(cached) " >&6
4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4814 #if defined(__STDC__) || defined(__cplusplus)
4815 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
4828 if ac_fn_c_try_compile "$LINENO"; then :
4829 am_cv_proto_iconv_arg1=""
4831 am_cv_proto_iconv_arg1="const"
4833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4834 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
4837 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
4839 }$am_cv_proto_iconv" >&5
4841 }$am_cv_proto_iconv" >&6; }
4843 cat >>confdefs.h <<_ACEOF
4844 #define ICONV_CONST $am_cv_proto_iconv_arg1
4849 case $am_cv_func_iconv in #(
4853 as_fn_error "You need iconv" "$LINENO" 5 ;;
4857 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4858 if test -n "$ac_tool_prefix"; then
4859 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4860 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4862 $as_echo_n "checking for $ac_word... " >&6; }
4863 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
4864 $as_echo_n "(cached) " >&6
4868 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4875 test -z "$as_dir" && as_dir=.
4876 for ac_exec_ext in '' $ac_executable_extensions; do
4877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4878 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4890 if test -n "$PKG_CONFIG"; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4892 $as_echo "$PKG_CONFIG" >&6; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4895 $as_echo "no" >&6; }
4900 if test -z "$ac_cv_path_PKG_CONFIG"; then
4901 ac_pt_PKG_CONFIG=$PKG_CONFIG
4902 # Extract the first word of "pkg-config", so it can be a program name with args.
4903 set dummy pkg-config; ac_word=$2
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4905 $as_echo_n "checking for $ac_word... " >&6; }
4906 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
4907 $as_echo_n "(cached) " >&6
4909 case $ac_pt_PKG_CONFIG in
4911 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4918 test -z "$as_dir" && as_dir=.
4919 for ac_exec_ext in '' $ac_executable_extensions; do
4920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4921 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4932 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4933 if test -n "$ac_pt_PKG_CONFIG"; then
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4935 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4941 if test "x$ac_pt_PKG_CONFIG" = x; then
4944 case $cross_compiling:$ac_tool_warned in
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4947 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4948 ac_tool_warned=yes ;;
4950 PKG_CONFIG=$ac_pt_PKG_CONFIG
4953 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4957 if test -n "$PKG_CONFIG"; then
4958 _pkg_min_version=0.9.0
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4960 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4961 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4963 $as_echo "yes" >&6; }
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 $as_echo "no" >&6; }
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
4974 $as_echo_n "checking for WEBKIT... " >&6; }
4976 if test -n "$PKG_CONFIG"; then
4977 if test -n "$WEBKIT_CFLAGS"; then
4978 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
4980 if test -n "$PKG_CONFIG" && \
4981 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
4982 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
4984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4985 test $ac_status = 0; }; then
4986 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
4994 if test -n "$PKG_CONFIG"; then
4995 if test -n "$WEBKIT_LIBS"; then
4996 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
4998 if test -n "$PKG_CONFIG" && \
4999 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
5000 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
5002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5003 test $ac_status = 0; }; then
5004 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
5015 if test $pkg_failed = yes; then
5017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5018 _pkg_short_errors_supported=yes
5020 _pkg_short_errors_supported=no
5022 if test $_pkg_short_errors_supported = yes; then
5023 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
5025 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
5027 # Put the nasty error message in config.log where it belongs
5028 echo "$WEBKIT_PKG_ERRORS" >&5
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5031 $as_echo "no" >&6; }
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
5036 $as_echo_n "checking for WEBKIT... " >&6; }
5038 if test -n "$PKG_CONFIG"; then
5039 if test -n "$WEBKIT_CFLAGS"; then
5040 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
5042 if test -n "$PKG_CONFIG" && \
5043 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
5044 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
5046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5047 test $ac_status = 0; }; then
5048 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
5056 if test -n "$PKG_CONFIG"; then
5057 if test -n "$WEBKIT_LIBS"; then
5058 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
5060 if test -n "$PKG_CONFIG" && \
5061 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
5062 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
5064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5065 test $ac_status = 0; }; then
5066 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
5077 if test $pkg_failed = yes; then
5079 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5080 _pkg_short_errors_supported=yes
5082 _pkg_short_errors_supported=no
5084 if test $_pkg_short_errors_supported = yes; then
5085 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
5087 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
5089 # Put the nasty error message in config.log where it belongs
5090 echo "$WEBKIT_PKG_ERRORS" >&5
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5093 $as_echo "no" >&6; }
5095 elif test $pkg_failed = untried; then
5098 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
5099 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5101 $as_echo "yes" >&6; }
5105 elif test $pkg_failed = untried; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
5110 $as_echo_n "checking for WEBKIT... " >&6; }
5112 if test -n "$PKG_CONFIG"; then
5113 if test -n "$WEBKIT_CFLAGS"; then
5114 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
5116 if test -n "$PKG_CONFIG" && \
5117 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
5118 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
5120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5121 test $ac_status = 0; }; then
5122 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
5130 if test -n "$PKG_CONFIG"; then
5131 if test -n "$WEBKIT_LIBS"; then
5132 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
5134 if test -n "$PKG_CONFIG" && \
5135 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
5136 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
5138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5139 test $ac_status = 0; }; then
5140 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
5151 if test $pkg_failed = yes; then
5153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5154 _pkg_short_errors_supported=yes
5156 _pkg_short_errors_supported=no
5158 if test $_pkg_short_errors_supported = yes; then
5159 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
5161 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
5163 # Put the nasty error message in config.log where it belongs
5164 echo "$WEBKIT_PKG_ERRORS" >&5
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5167 $as_echo "no" >&6; }
5169 elif test $pkg_failed = untried; then
5172 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
5173 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5175 $as_echo "yes" >&6; }
5180 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
5181 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5183 $as_echo "yes" >&6; }
5187 ac_cpp='$CPP $CPPFLAGS'
5188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5192 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5193 # On Suns, sometimes $CPP names a directory.
5194 if test -n "$CPP" && test -d "$CPP"; then
5197 if test -z "$CPP"; then
5198 if test "${ac_cv_prog_CPP+set}" = set; then :
5199 $as_echo_n "(cached) " >&6
5201 # Double quotes because CPP needs to be expanded
5202 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5205 for ac_c_preproc_warn_flag in '' yes
5207 # Use a header file that comes with gcc, so configuring glibc
5208 # with a fresh cross-compiler works.
5209 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5210 # <limits.h> exists even on freestanding compilers.
5211 # On the NeXT, cc -E runs the code through the compiler's parser,
5212 # not just through cpp. "Syntax error" is here to catch this case.
5213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5214 /* end confdefs.h. */
5216 # include <limits.h>
5218 # include <assert.h>
5222 if ac_fn_c_try_cpp "$LINENO"; then :
5225 # Broken: fails on valid input.
5228 rm -f conftest.err conftest.$ac_ext
5230 # OK, works on sane cases. Now check whether nonexistent headers
5231 # can be detected and how.
5232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5233 /* end confdefs.h. */
5234 #include <ac_nonexistent.h>
5236 if ac_fn_c_try_cpp "$LINENO"; then :
5237 # Broken: success on invalid input.
5240 # Passes both tests.
5244 rm -f conftest.err conftest.$ac_ext
5247 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5248 rm -f conftest.err conftest.
$ac_ext
5249 if $ac_preproc_ok; then :
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5262 $as_echo "$CPP" >&6; }
5264 for ac_c_preproc_warn_flag
in '' yes
5266 # Use a header file that comes with gcc, so configuring glibc
5267 # with a fresh cross-compiler works.
5268 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5269 # <limits.h> exists even on freestanding compilers.
5270 # On the NeXT, cc -E runs the code through the compiler's parser,
5271 # not just through cpp. "Syntax error" is here to catch this case.
5272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5273 /* end confdefs.h. */
5275 # include <limits.h>
5277 # include <assert.h>
5281 if ac_fn_c_try_cpp
"$LINENO"; then :
5284 # Broken: fails on valid input.
5287 rm -f conftest.err conftest.
$ac_ext
5289 # OK, works on sane cases. Now check whether nonexistent headers
5290 # can be detected and how.
5291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5292 /* end confdefs.h. */
5293 #include <ac_nonexistent.h>
5295 if ac_fn_c_try_cpp
"$LINENO"; then :
5296 # Broken: success on invalid input.
5299 # Passes both tests.
5303 rm -f conftest.err conftest.
$ac_ext
5306 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5307 rm -f conftest.err conftest.
$ac_ext
5308 if $ac_preproc_ok; then :
5311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5313 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5314 See \`config.log' for more details." "$LINENO" 5; }
5318 ac_cpp
='$CPP $CPPFLAGS'
5319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5325 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5326 if test "${ac_cv_path_GREP+set}" = set; then :
5327 $as_echo_n "(cached) " >&6
5329 if test -z "$GREP"; then
5330 ac_path_GREP_found
=false
5331 # Loop through the user's path and test for each of PROGNAME-LIST
5332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5333 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5336 test -z "$as_dir" && as_dir
=.
5337 for ac_prog
in grep ggrep
; do
5338 for ac_exec_ext
in '' $ac_executable_extensions; do
5339 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5340 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5341 # Check for GNU ac_path_GREP and select it if it is found.
5342 # Check for GNU $ac_path_GREP
5343 case `"$ac_path_GREP" --version 2>&1` in
5345 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5348 $as_echo_n 0123456789 >"conftest.in"
5351 cat "conftest.in" "conftest.in" >"conftest.tmp"
5352 mv "conftest.tmp" "conftest.in"
5353 cp "conftest.in" "conftest.nl"
5354 $as_echo 'GREP' >> "conftest.nl"
5355 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5356 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5357 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5358 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5359 # Best one so far, save it but keep looking for a better one
5360 ac_cv_path_GREP
="$ac_path_GREP"
5361 ac_path_GREP_max
=$ac_count
5363 # 10*(2^10) chars as input seems more than enough
5364 test $ac_count -gt 10 && break
5366 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5369 $ac_path_GREP_found && break 3
5374 if test -z "$ac_cv_path_GREP"; then
5375 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5378 ac_cv_path_GREP
=$GREP
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5383 $as_echo "$ac_cv_path_GREP" >&6; }
5384 GREP
="$ac_cv_path_GREP"
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5388 $as_echo_n "checking for egrep... " >&6; }
5389 if test "${ac_cv_path_EGREP+set}" = set; then :
5390 $as_echo_n "(cached) " >&6
5392 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
5393 then ac_cv_path_EGREP
="$GREP -E"
5395 if test -z "$EGREP"; then
5396 ac_path_EGREP_found
=false
5397 # Loop through the user's path and test for each of PROGNAME-LIST
5398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5399 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5402 test -z "$as_dir" && as_dir
=.
5403 for ac_prog
in egrep; do
5404 for ac_exec_ext
in '' $ac_executable_extensions; do
5405 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5406 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5407 # Check for GNU ac_path_EGREP and select it if it is found.
5408 # Check for GNU $ac_path_EGREP
5409 case `"$ac_path_EGREP" --version 2>&1` in
5411 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5414 $as_echo_n 0123456789 >"conftest.in"
5417 cat "conftest.in" "conftest.in" >"conftest.tmp"
5418 mv "conftest.tmp" "conftest.in"
5419 cp "conftest.in" "conftest.nl"
5420 $as_echo 'EGREP' >> "conftest.nl"
5421 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5422 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5423 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5424 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5425 # Best one so far, save it but keep looking for a better one
5426 ac_cv_path_EGREP
="$ac_path_EGREP"
5427 ac_path_EGREP_max
=$ac_count
5429 # 10*(2^10) chars as input seems more than enough
5430 test $ac_count -gt 10 && break
5432 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5435 $ac_path_EGREP_found && break 3
5440 if test -z "$ac_cv_path_EGREP"; then
5441 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5444 ac_cv_path_EGREP
=$EGREP
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5450 $as_echo "$ac_cv_path_EGREP" >&6; }
5451 EGREP
="$ac_cv_path_EGREP"
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5455 $as_echo_n "checking for ANSI C header files... " >&6; }
5456 if test "${ac_cv_header_stdc+set}" = set; then :
5457 $as_echo_n "(cached) " >&6
5459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5460 /* end confdefs.h. */
5474 if ac_fn_c_try_compile
"$LINENO"; then :
5475 ac_cv_header_stdc
=yes
5477 ac_cv_header_stdc
=no
5479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5481 if test $ac_cv_header_stdc = yes; then
5482 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5484 /* end confdefs.h. */
5488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5489 $EGREP "memchr" >/dev
/null
2>&1; then :
5492 ac_cv_header_stdc
=no
5498 if test $ac_cv_header_stdc = yes; then
5499 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5501 /* end confdefs.h. */
5505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5506 $EGREP "free" >/dev
/null
2>&1; then :
5509 ac_cv_header_stdc
=no
5515 if test $ac_cv_header_stdc = yes; then
5516 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5517 if test "$cross_compiling" = yes; then :
5520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5521 /* end confdefs.h. */
5524 #if ((' ' & 0x0FF) == 0x020)
5525 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5526 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5528 # define ISLOWER(c) \
5529 (('a' <= (c) && (c) <= 'i') \
5530 || ('j' <= (c) && (c) <= 'r') \
5531 || ('s' <= (c) && (c) <= 'z'))
5532 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5535 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5540 for (i = 0; i < 256; i++)
5541 if (XOR (islower (i), ISLOWER (i))
5542 || toupper (i) != TOUPPER (i))
5547 if ac_fn_c_try_run
"$LINENO"; then :
5550 ac_cv_header_stdc
=no
5552 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5553 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5559 $as_echo "$ac_cv_header_stdc" >&6; }
5560 if test $ac_cv_header_stdc = yes; then
5562 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5566 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5567 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5568 inttypes.h stdint.h unistd.h
5570 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5571 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5573 eval as_val
=\$
$as_ac_Header
5574 if test "x$as_val" = x
""yes; then :
5575 cat >>confdefs.h
<<_ACEOF
5576 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
5590 $as_echo_n "checking for LIBFFI... " >&6; }
5592 if test -n "$PKG_CONFIG"; then
5593 if test -n "$LIBFFI_CFLAGS"; then
5594 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
5596 if test -n "$PKG_CONFIG" && \
5597 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
5598 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
5600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5601 test $ac_status = 0; }; then
5602 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
5610 if test -n "$PKG_CONFIG"; then
5611 if test -n "$LIBFFI_LIBS"; then
5612 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
5614 if test -n "$PKG_CONFIG" && \
5615 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
5616 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
5618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5619 test $ac_status = 0; }; then
5620 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
5631 if test $pkg_failed = yes; then
5633 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5634 _pkg_short_errors_supported
=yes
5636 _pkg_short_errors_supported
=no
5638 if test $_pkg_short_errors_supported = yes; then
5639 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
5641 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
5643 # Put the nasty error message in config.log where it belongs
5644 echo "$LIBFFI_PKG_ERRORS" >&5
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5649 for ac_header
in ffi.h ffi
/ffi.h
5651 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5652 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5653 eval as_val
=\$
$as_ac_Header
5654 if test "x$as_val" = x
""yes; then :
5655 cat >>confdefs.h
<<_ACEOF
5656 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5663 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
5665 as_fn_error
"You need libffi" "$LINENO" 5
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
5669 $as_echo_n "checking for library containing ffi_call... " >&6; }
5670 if test "${ac_cv_search_ffi_call+set}" = set; then :
5671 $as_echo_n "(cached) " >&6
5673 ac_func_search_save_LIBS
=$LIBS
5674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5675 /* end confdefs.h. */
5677 /* Override any GCC internal prototype to avoid an error.
5678 Use char because int might match the return type of a GCC
5679 builtin and then its argument prototype would still apply. */
5692 for ac_lib
in '' ffi
; do
5693 if test -z "$ac_lib"; then
5694 ac_res
="none required"
5697 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5699 if ac_fn_c_try_link
"$LINENO"; then :
5700 ac_cv_search_ffi_call
=$ac_res
5702 rm -f core conftest.err conftest.
$ac_objext \
5704 if test "${ac_cv_search_ffi_call+set}" = set; then :
5708 if test "${ac_cv_search_ffi_call+set}" = set; then :
5711 ac_cv_search_ffi_call
=no
5714 LIBS
=$ac_func_search_save_LIBS
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
5717 $as_echo "$ac_cv_search_ffi_call" >&6; }
5718 ac_res
=$ac_cv_search_ffi_call
5719 if test "$ac_res" != no
; then :
5720 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5724 case $ac_cv_search_ffi_call in #(
5727 as_fn_error
"You need libffi" "$LINENO" 5
5733 elif test $pkg_failed = untried
; then
5735 for ac_header
in ffi.h ffi
/ffi.h
5737 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5738 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5739 eval as_val
=\$
$as_ac_Header
5740 if test "x$as_val" = x
""yes; then :
5741 cat >>confdefs.h
<<_ACEOF
5742 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5749 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
5751 as_fn_error
"You need libffi" "$LINENO" 5
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
5755 $as_echo_n "checking for library containing ffi_call... " >&6; }
5756 if test "${ac_cv_search_ffi_call+set}" = set; then :
5757 $as_echo_n "(cached) " >&6
5759 ac_func_search_save_LIBS
=$LIBS
5760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5761 /* end confdefs.h. */
5763 /* Override any GCC internal prototype to avoid an error.
5764 Use char because int might match the return type of a GCC
5765 builtin and then its argument prototype would still apply. */
5778 for ac_lib
in '' ffi
; do
5779 if test -z "$ac_lib"; then
5780 ac_res
="none required"
5783 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5785 if ac_fn_c_try_link
"$LINENO"; then :
5786 ac_cv_search_ffi_call
=$ac_res
5788 rm -f core conftest.err conftest.
$ac_objext \
5790 if test "${ac_cv_search_ffi_call+set}" = set; then :
5794 if test "${ac_cv_search_ffi_call+set}" = set; then :
5797 ac_cv_search_ffi_call
=no
5800 LIBS
=$ac_func_search_save_LIBS
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
5803 $as_echo "$ac_cv_search_ffi_call" >&6; }
5804 ac_res
=$ac_cv_search_ffi_call
5805 if test "$ac_res" != no
; then :
5806 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5810 case $ac_cv_search_ffi_call in #(
5813 as_fn_error
"You need libffi" "$LINENO" 5
5820 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
5821 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5823 $as_echo "yes" >&6; }
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No JavaScript engine!" >&5
5829 $as_echo "$as_me: WARNING: No JavaScript engine!" >&2;} ;;
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
5832 $as_echo_n "checking for GNU make... " >&6; }
5833 if test "${_cv_gnu_make_command+set}" = set; then :
5834 $as_echo_n "(cached) " >&6
5836 _cv_gnu_make_command
='' ;
5837 for a
in "$MAKE" make gmake gnumake
; do
5838 if test -z "$a" ; then continue ; fi ;
5839 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
5840 _cv_gnu_make_command
=$a ;
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
5847 $as_echo "$_cv_gnu_make_command" >&6; } ;
5848 if test "x$_cv_gnu_make_command" != "x" ; then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
5853 $as_echo "\"Not found\"" >&6; };
5857 if test "x$_cv_gnu_make_command" = x
; then :
5858 as_fn_error
"You need GNU make" "$LINENO" 5