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 exec 7<&0 </dev
/null
6>&1
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
550 PACKAGE_NAME
='Cycript'
551 PACKAGE_TARNAME
='cycript'
552 PACKAGE_VERSION
='0.9'
553 PACKAGE_STRING
='Cycript 0.9'
554 PACKAGE_BUGREPORT
='saurik@saurik.com'
555 PACKAGE_URL
='http://www.cycript.org/'
557 ac_unique_file
="Console.cpp"
558 ac_subst_vars
='LIBFFI_LIBS
622 program_transform_name
635 enable_option_checking
640 ac_precious_vars
='build_alias
660 # Initialize some variables set by options.
662 ac_init_version
=false
663 ac_unrecognized_opts
=
665 # The variables have the same names as the options, with
666 # dashes changed to underlines.
674 program_transform_name
=s
,x
,x
,
682 # Installation directory options.
683 # These are left unexpanded so users can "make install exec_prefix=/foo"
684 # and all the variables that are supposed to be based on exec_prefix
685 # by default will actually change.
686 # Use braces instead of parens because sh, perl, etc. also accept them.
687 # (The list follows the same order as the GNU Coding Standards.)
688 bindir
='${exec_prefix}/bin'
689 sbindir
='${exec_prefix}/sbin'
690 libexecdir
='${exec_prefix}/libexec'
691 datarootdir
='${prefix}/share'
692 datadir
='${datarootdir}'
693 sysconfdir
='${prefix}/etc'
694 sharedstatedir
='${prefix}/com'
695 localstatedir
='${prefix}/var'
696 includedir
='${prefix}/include'
697 oldincludedir
='/usr/include'
698 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
699 infodir
='${datarootdir}/info'
704 libdir
='${exec_prefix}/lib'
705 localedir
='${datarootdir}/locale'
706 mandir
='${datarootdir}/man'
712 # If the previous option needs an argument, assign it.
713 if test -n "$ac_prev"; then
714 eval $ac_prev=\
$ac_option
720 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
724 # Accept the important Cygnus configure options, so we can diagnose typos.
726 case $ac_dashdash$ac_option in
730 -bindir | --bindir | --bindi | --bind | --bin | --bi)
732 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
735 -build | --build | --buil | --bui | --bu)
736 ac_prev
=build_alias
;;
737 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
738 build_alias
=$ac_optarg ;;
740 -cache-file | --cache-file | --cache-fil | --cache-fi \
741 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
742 ac_prev
=cache_file
;;
743 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
744 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
745 cache_file
=$ac_optarg ;;
748 cache_file
=config.cache
;;
750 -datadir | --datadir | --datadi | --datad)
752 -datadir=* | --datadir=* | --datadi=* | --datad=*)
753 datadir
=$ac_optarg ;;
755 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
756 | --dataroo | --dataro | --datar)
757 ac_prev
=datarootdir
;;
758 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
759 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
760 datarootdir
=$ac_optarg ;;
762 -disable-* | --disable-*)
763 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
764 # Reject names that are not valid shell variable names.
765 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
766 as_fn_error
"invalid feature name: $ac_useropt"
767 ac_useropt_orig
=$ac_useropt
768 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
769 case $ac_user_opts in
773 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
774 ac_unrecognized_sep
=', ';;
776 eval enable_
$ac_useropt=no
;;
778 -docdir | --docdir | --docdi | --doc | --do)
780 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
783 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
785 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
788 -enable-* | --enable-*)
789 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
792 as_fn_error
"invalid feature name: $ac_useropt"
793 ac_useropt_orig
=$ac_useropt
794 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
795 case $ac_user_opts in
799 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
800 ac_unrecognized_sep
=', ';;
802 eval enable_
$ac_useropt=\
$ac_optarg ;;
804 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
805 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
806 | --exec | --exe | --ex)
807 ac_prev
=exec_prefix
;;
808 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
809 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
810 | --exec=* | --exe=* | --ex=*)
811 exec_prefix
=$ac_optarg ;;
813 -gas | --gas | --ga | --g)
814 # Obsolete; use --with-gas.
817 -help | --help | --hel | --he | -h)
819 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
820 ac_init_help
=recursive
;;
821 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
822 ac_init_help
=short
;;
824 -host | --host | --hos | --ho)
825 ac_prev
=host_alias
;;
826 -host=* | --host=* | --hos=* | --ho=*)
827 host_alias
=$ac_optarg ;;
829 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
831 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
833 htmldir
=$ac_optarg ;;
835 -includedir | --includedir | --includedi | --included | --include \
836 | --includ | --inclu | --incl | --inc)
837 ac_prev
=includedir
;;
838 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
839 | --includ=* | --inclu=* | --incl=* | --inc=*)
840 includedir
=$ac_optarg ;;
842 -infodir | --infodir | --infodi | --infod | --info | --inf)
844 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
845 infodir
=$ac_optarg ;;
847 -libdir | --libdir | --libdi | --libd)
849 -libdir=* | --libdir=* | --libdi=* | --libd=*)
852 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
853 | --libexe | --libex | --libe)
854 ac_prev
=libexecdir
;;
855 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
856 | --libexe=* | --libex=* | --libe=*)
857 libexecdir
=$ac_optarg ;;
859 -localedir | --localedir | --localedi | --localed | --locale)
861 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
862 localedir
=$ac_optarg ;;
864 -localstatedir | --localstatedir | --localstatedi | --localstated \
865 | --localstate | --localstat | --localsta | --localst | --locals)
866 ac_prev
=localstatedir
;;
867 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
868 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
869 localstatedir
=$ac_optarg ;;
871 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
873 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
877 # Obsolete; use --without-fp.
880 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
881 | --no-cr | --no-c | -n)
884 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
885 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
888 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
889 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
890 | --oldin | --oldi | --old | --ol | --o)
891 ac_prev
=oldincludedir
;;
892 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
893 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
894 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
895 oldincludedir
=$ac_optarg ;;
897 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
899 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
902 -program-prefix | --program-prefix | --program-prefi | --program-pref \
903 | --program-pre | --program-pr | --program-p)
904 ac_prev
=program_prefix
;;
905 -program-prefix=* | --program-prefix=* | --program-prefi=* \
906 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
907 program_prefix
=$ac_optarg ;;
909 -program-suffix | --program-suffix | --program-suffi | --program-suff \
910 | --program-suf | --program-su | --program-s)
911 ac_prev
=program_suffix
;;
912 -program-suffix=* | --program-suffix=* | --program-suffi=* \
913 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
914 program_suffix
=$ac_optarg ;;
916 -program-transform-name | --program-transform-name \
917 | --program-transform-nam | --program-transform-na \
918 | --program-transform-n | --program-transform- \
919 | --program-transform | --program-transfor \
920 | --program-transfo | --program-transf \
921 | --program-trans | --program-tran \
922 | --progr-tra | --program-tr | --program-t)
923 ac_prev
=program_transform_name
;;
924 -program-transform-name=* | --program-transform-name=* \
925 | --program-transform-nam=* | --program-transform-na=* \
926 | --program-transform-n=* | --program-transform-=* \
927 | --program-transform=* | --program-transfor=* \
928 | --program-transfo=* | --program-transf=* \
929 | --program-trans=* | --program-tran=* \
930 | --progr-tra=* | --program-tr=* | --program-t=*)
931 program_transform_name
=$ac_optarg ;;
933 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
935 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
938 -psdir | --psdir | --psdi | --psd | --ps)
940 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
943 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
944 | -silent | --silent | --silen | --sile | --sil)
947 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
949 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
951 sbindir
=$ac_optarg ;;
953 -sharedstatedir | --sharedstatedir | --sharedstatedi \
954 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
955 | --sharedst | --shareds | --shared | --share | --shar \
957 ac_prev
=sharedstatedir
;;
958 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
959 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
960 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
962 sharedstatedir
=$ac_optarg ;;
964 -site | --site | --sit)
966 -site=* | --site=* | --sit=*)
969 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
971 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
974 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
975 | --syscon | --sysco | --sysc | --sys | --sy)
976 ac_prev
=sysconfdir
;;
977 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
978 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
979 sysconfdir
=$ac_optarg ;;
981 -target | --target | --targe | --targ | --tar | --ta | --t)
982 ac_prev
=target_alias
;;
983 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
984 target_alias
=$ac_optarg ;;
986 -v | -verbose | --verbose | --verbos | --verbo | --verb)
989 -version | --version | --versio | --versi | --vers | -V)
993 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
996 as_fn_error
"invalid package name: $ac_useropt"
997 ac_useropt_orig
=$ac_useropt
998 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1003 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1004 ac_unrecognized_sep
=', ';;
1006 eval with_
$ac_useropt=\
$ac_optarg ;;
1008 -without-* | --without-*)
1009 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1012 as_fn_error
"invalid package name: $ac_useropt"
1013 ac_useropt_orig
=$ac_useropt
1014 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1019 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1020 ac_unrecognized_sep
=', ';;
1022 eval with_
$ac_useropt=no
;;
1025 # Obsolete; use --with-x.
1028 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1029 | --x-incl | --x-inc | --x-in | --x-i)
1030 ac_prev
=x_includes
;;
1031 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1032 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1033 x_includes
=$ac_optarg ;;
1035 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1036 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1037 ac_prev
=x_libraries
;;
1038 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1039 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1040 x_libraries
=$ac_optarg ;;
1042 -*) as_fn_error
"unrecognized option: \`$ac_option'
1043 Try \`$0 --help' for more information."
1047 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1048 # Reject names that are not valid shell variable names.
1049 case $ac_envvar in #(
1050 '' | [0-9]* | *[!_$as_cr_alnum]* )
1051 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1053 eval $ac_envvar=\
$ac_optarg
1054 export $ac_envvar ;;
1057 # FIXME: should be removed in autoconf 3.0.
1058 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1059 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1060 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1061 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1067 if test -n "$ac_prev"; then
1068 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1069 as_fn_error
"missing argument to $ac_option"
1072 if test -n "$ac_unrecognized_opts"; then
1073 case $enable_option_checking in
1075 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1076 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1080 # Check all directory arguments for consistency.
1081 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1082 datadir sysconfdir sharedstatedir localstatedir includedir \
1083 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1084 libdir localedir mandir
1086 eval ac_val
=\$
$ac_var
1087 # Remove trailing slashes.
1090 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1091 eval $ac_var=\
$ac_val;;
1093 # Be sure to have absolute directory names.
1095 [\\/$
]* | ?
:[\\/]* ) continue;;
1096 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1098 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1101 # There might be people who depend on the old broken behavior: `$host'
1102 # used to hold the argument of --host etc.
1103 # FIXME: To remove some day.
1106 target
=$target_alias
1108 # FIXME: To remove some day.
1109 if test "x$host_alias" != x
; then
1110 if test "x$build_alias" = x
; then
1111 cross_compiling
=maybe
1112 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1113 If a cross compiler is detected then cross compile mode will be used." >&2
1114 elif test "x$build_alias" != "x$host_alias"; then
1120 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1122 test "$silent" = yes && exec 6>/dev
/null
1125 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1126 ac_ls_di
=`ls -di .` &&
1127 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1128 as_fn_error
"working directory cannot be determined"
1129 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1130 as_fn_error
"pwd does not report name of working directory"
1133 # Find the source files, if location was not specified.
1134 if test -z "$srcdir"; then
1135 ac_srcdir_defaulted
=yes
1136 # Try the directory containing this script, then the parent directory.
1137 ac_confdir
=`$as_dirname -- "$as_myself" ||
1138 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1139 X"$as_myself" : 'X\(//\)[^/]' \| \
1140 X"$as_myself" : 'X\(//\)$' \| \
1141 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1142 $as_echo X"$as_myself" |
1143 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1161 if test ! -r "$srcdir/$ac_unique_file"; then
1165 ac_srcdir_defaulted
=no
1167 if test ! -r "$srcdir/$ac_unique_file"; then
1168 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1169 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1171 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1173 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1175 # When building in place, set srcdir=.
1176 if test "$ac_abs_confdir" = "$ac_pwd"; then
1179 # Remove unnecessary trailing slashes from srcdir.
1180 # Double slashes in file names in object file debugging info
1181 # mess up M-x gdb in Emacs.
1183 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1185 for ac_var
in $ac_precious_vars; do
1186 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1187 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1188 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1189 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1193 # Report the --help message.
1195 if test "$ac_init_help" = "long"; then
1196 # Omit some internal or obsolete options to make the list less imposing.
1197 # This message is too long to be a string in the A/UX 3.1 sh.
1199 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1201 Usage: $0 [OPTION]... [VAR=VALUE]...
1203 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1204 VAR=VALUE. See below for descriptions of some of the useful variables.
1206 Defaults for the options are specified in brackets.
1209 -h, --help display this help and exit
1210 --help=short display options specific to this package
1211 --help=recursive display the short help of all the included packages
1212 -V, --version display version information and exit
1213 -q, --quiet, --silent do not print \`checking...' messages
1214 --cache-file=FILE cache test results in FILE [disabled]
1215 -C, --config-cache alias for \`--cache-file=config.cache'
1216 -n, --no-create do not create output files
1217 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1219 Installation directories:
1220 --prefix=PREFIX install architecture-independent files in PREFIX
1221 [$ac_default_prefix]
1222 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1225 By default, \`make install' will install all the files in
1226 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1227 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1228 for instance \`--prefix=\$HOME'.
1230 For better control, use the options below.
1232 Fine tuning of the installation directories:
1233 --bindir=DIR user executables [EPREFIX/bin]
1234 --sbindir=DIR system admin executables [EPREFIX/sbin]
1235 --libexecdir=DIR program executables [EPREFIX/libexec]
1236 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1237 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1238 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1239 --libdir=DIR object code libraries [EPREFIX/lib]
1240 --includedir=DIR C header files [PREFIX/include]
1241 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1242 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1243 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1244 --infodir=DIR info documentation [DATAROOTDIR/info]
1245 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1246 --mandir=DIR man documentation [DATAROOTDIR/man]
1247 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1248 --htmldir=DIR html documentation [DOCDIR]
1249 --dvidir=DIR dvi documentation [DOCDIR]
1250 --pdfdir=DIR pdf documentation [DOCDIR]
1251 --psdir=DIR ps documentation [DOCDIR]
1257 --build=BUILD configure
for building on BUILD
[guessed
]
1258 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1262 if test -n "$ac_init_help"; then
1263 case $ac_init_help in
1264 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1269 --disable-option-checking ignore unrecognized
--enable/--with options
1270 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1271 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1272 --disable-rpath do not hardcode runtime library paths
1275 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1276 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1277 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1278 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1279 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1281 Some influential environment variables:
1282 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1283 the first program found out of
: `bison -y', `byacc
', `yacc'.
1284 YFLAGS The list of arguments that will be passed by default to
$YACC.
1285 This
script will default YFLAGS to the empty string to avoid a
1286 default value of
`-d' given by some make applications.
1287 CC C compiler command
1288 CFLAGS C compiler flags
1289 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1290 nonstandard directory <lib dir>
1291 LIBS libraries to pass to the linker, e.g. -l<library>
1292 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1293 you have headers in a nonstandard directory <include dir>
1294 CXX C++ compiler command
1295 CXXFLAGS C++ compiler flags
1296 PKG_CONFIG path to pkg-config utility
1298 C compiler flags for WEBKIT, overriding pkg-config
1299 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1301 C compiler flags for LIBFFI, overriding pkg-config
1302 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1304 Use these variables to override the choices made by `configure
' or to help
1305 it to find libraries and programs with nonstandard names/locations.
1307 Report bugs to <saurik@saurik.com>.
1308 Cycript home page: <http://www.cycript.org/>.
1313 if test "$ac_init_help" = "recursive"; then
1314 # If there are subdirs, report their specific --help.
1315 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1316 test -d "$ac_dir" ||
1317 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1322 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1324 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's
|^\.
[\\/]||'`
1325 # A ".." for each directory in $ac_dir_suffix.
1326 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's
|/[^
\\/]*|/..
|g
;s
|/||'`
1327 case $ac_top_builddir_sub in
1328 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1329 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1332 ac_abs_top_builddir=$ac_pwd
1333 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1334 # for backward compatibility:
1335 ac_top_builddir=$ac_top_build_prefix
1338 .) # We are building in place.
1340 ac_top_srcdir=$ac_top_builddir_sub
1341 ac_abs_top_srcdir=$ac_pwd ;;
1342 [\\/]* | ?:[\\/]* ) # Absolute name.
1343 ac_srcdir=$srcdir$ac_dir_suffix;
1344 ac_top_srcdir=$srcdir
1345 ac_abs_top_srcdir=$srcdir ;;
1347 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1348 ac_top_srcdir=$ac_top_build_prefix$srcdir
1349 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1351 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1353 cd "$ac_dir" || { ac_status=$?; continue; }
1354 # Check for guested configure.
1355 if test -f "$ac_srcdir/configure.gnu"; then
1357 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1358 elif test -f "$ac_srcdir/configure"; then
1360 $SHELL "$ac_srcdir/configure" --help=recursive
1362 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1364 cd "$ac_pwd" || { ac_status=$?; break; }
1368 test -n "$ac_init_help" && exit $ac_status
1369 if $ac_init_version; then
1371 Cycript configure 0.9
1372 generated by GNU Autoconf 2.64
1374 Copyright (C) 2009 Free Software Foundation, Inc.
1375 This configure script is free software; the Free Software Foundation
1376 gives unlimited permission to copy, distribute and modify it.
1381 ## ------------------------ ##
1382 ## Autoconf initialization. ##
1383 ## ------------------------ ##
1385 # ac_fn_c_try_compile LINENO
1386 # --------------------------
1387 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1388 ac_fn_c_try_compile ()
1390 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1391 rm -f conftest.$ac_objext
1392 if { { ac_try="$ac_compile"
1394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1395 *) ac_try_echo=$ac_try;;
1397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1398 $as_echo "$ac_try_echo"; } >&5
1399 (eval "$ac_compile") 2>conftest.err
1401 if test -s conftest.err; then
1402 grep -v '^
*+' conftest.err >conftest.er1
1403 cat conftest.er1 >&5
1404 mv -f conftest.er1 conftest.err
1406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1407 test $ac_status = 0; } && {
1408 test -z "$ac_c_werror_flag" ||
1409 test ! -s conftest.err
1410 } && test -s conftest.$ac_objext; then :
1413 $as_echo "$as_me: failed program was:" >&5
1414 sed 's
/^
/| /' conftest.$ac_ext >&5
1418 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1421 } # ac_fn_c_try_compile
1423 # ac_fn_c_try_link LINENO
1424 # -----------------------
1425 # Try to link conftest.$ac_ext, and return whether this succeeded.
1428 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1429 rm -f conftest.$ac_objext conftest$ac_exeext
1430 if { { ac_try="$ac_link"
1432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1433 *) ac_try_echo=$ac_try;;
1435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1436 $as_echo "$ac_try_echo"; } >&5
1437 (eval "$ac_link") 2>conftest.err
1439 if test -s conftest.err; then
1440 grep -v '^
*+' conftest.err >conftest.er1
1441 cat conftest.er1 >&5
1442 mv -f conftest.er1 conftest.err
1444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1445 test $ac_status = 0; } && {
1446 test -z "$ac_c_werror_flag" ||
1447 test ! -s conftest.err
1448 } && test -s conftest$ac_exeext && {
1449 test "$cross_compiling" = yes ||
1450 $as_test_x conftest$ac_exeext
1454 $as_echo "$as_me: failed program was:" >&5
1455 sed 's
/^
/| /' conftest.$ac_ext >&5
1459 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1460 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1461 # interfere with the next link command; also delete a directory that is
1462 # left behind by Apple's compiler. We
do this before executing the actions.
1463 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1464 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1467 } # ac_fn_c_try_link
1469 # ac_fn_cxx_try_compile LINENO
1470 # ----------------------------
1471 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1472 ac_fn_cxx_try_compile
()
1474 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1475 rm -f conftest.
$ac_objext
1476 if { { ac_try
="$ac_compile"
1478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1479 *) ac_try_echo=$ac_try;;
1481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1482 $as_echo "$ac_try_echo"; } >&5
1483 (eval "$ac_compile") 2>conftest.err
1485 if test -s conftest.err; then
1486 grep -v '^ *+' conftest.err >conftest.er1
1487 cat conftest.er1 >&5
1488 mv -f conftest.er1 conftest.err
1490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491 test $ac_status = 0; } && {
1492 test -z "$ac_cxx_werror_flag" ||
1493 test ! -s conftest.err
1494 } && test -s conftest.$ac_objext; then :
1497 $as_echo "$as_me: failed program was:" >&5
1498 sed 's/^/| /' conftest.$ac_ext >&5
1502 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1505 } # ac_fn_cxx_try_compile
1507 # ac_fn_c_try_run LINENO
1508 # ----------------------
1509 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1510 # that executables *can* be run.
1513 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1514 if { { ac_try="$ac_link"
1516 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1517 *) ac_try_echo
=$ac_try;;
1519 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1520 $as_echo "$ac_try_echo"; } >&5
1521 (eval "$ac_link") 2>&5
1523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1524 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1525 { { case "(($ac_try" in
1526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1527 *) ac_try_echo=$ac_try;;
1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1530 $as_echo "$ac_try_echo"; } >&5
1531 (eval "$ac_try") 2>&5
1533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1534 test $ac_status = 0; }; }; then :
1537 $as_echo "$as_me: program exited with status $ac_status" >&5
1538 $as_echo "$as_me: failed program was:" >&5
1539 sed 's/^/| /' conftest.$ac_ext >&5
1541 ac_retval=$ac_status
1543 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1544 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1548 cat >config.log <<_ACEOF
1549 This file contains any messages produced by compilers while
1550 running configure, to aid debugging if configure makes a mistake.
1552 It was created by Cycript $as_me 0.9, which was
1553 generated by GNU Autoconf 2.64. Invocation command line was
1565 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1566 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1567 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1568 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1569 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1571 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1572 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1574 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1575 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1576 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1577 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
1578 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1579 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1580 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1588 test -z "$as_dir" && as_dir=.
1589 $as_echo "PATH: $as_dir"
1605 # Keep a trace of the command line.
1606 # Strip out --no-create and --no-recursion so they do not pile up.
1607 # Strip out --silent because we don't want to record it for future runs.
1608 # Also quote any args containing shell meta-characters.
1609 # Make two passes to allow for proper duplicate-argument suppression.
1613 ac_must_keep_next=false
1619 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1620 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1621 | -silent | --silent | --silen | --sile | --sil)
1624 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1627 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1629 as_fn_append ac_configure_args1 " '$ac_arg'"
1630 if test $ac_must_keep_next = true; then
1631 ac_must_keep_next=false # Got value, back to normal.
1634 *=* | --config-cache | -C | -disable-* | --disable-* \
1635 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1636 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1637 | -with-* | --with-* | -without-* | --without-* | --x)
1638 case "$ac_configure_args0 " in
1639 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1642 -* ) ac_must_keep_next=true ;;
1645 as_fn_append ac_configure_args " '$ac_arg'"
1650 { ac_configure_args0=; unset ac_configure_args0;}
1651 { ac_configure_args1=; unset ac_configure_args1;}
1653 # When interrupted or exit'd, cleanup temporary files, and complete
1654 # config.log. We remove comments because anyway the quotes in there
1655 # would cause problems or look ugly.
1656 # WARNING: Use '\'' to represent an apostrophe within the trap.
1657 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1658 trap 'exit_status=$?
1659 # Save into config.log some information that might help in debugging.
1664 ## ---------------- ##
1665 ## Cache variables. ##
1666 ## ---------------- ##
1669 # The following way of writing the cache mishandles newlines in values,
1671 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
1672 eval ac_val=\$$ac_var
1676 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1677 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1680 _ | IFS | as_nl) ;; #(
1681 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1682 *) { eval $ac_var=; unset $ac_var;} ;;
1687 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1688 *${as_nl}ac_space=\ *)
1690 "s/'\''/'\''\\\\'\'''\''/g;
1691 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1694 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1702 ## ----------------- ##
1703 ## Output variables. ##
1704 ## ----------------- ##
1707 for ac_var in $ac_subst_vars
1709 eval ac_val=\$$ac_var
1711 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1713 $as_echo "$ac_var='\''$ac_val'\''"
1717 if test -n "$ac_subst_files"; then
1719 ## ------------------- ##
1720 ## File substitutions. ##
1721 ## ------------------- ##
1724 for ac_var in $ac_subst_files
1726 eval ac_val=\$$ac_var
1728 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1730 $as_echo "$ac_var='\''$ac_val'\''"
1735 if test -s confdefs.h; then
1745 test "$ac_signal" != 0 &&
1746 $as_echo "$as_me: caught signal $ac_signal"
1747 $as_echo "$as_me: exit $exit_status"
1749 rm -f core *.core core.conftest.* &&
1750 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1753 for ac_signal in 1 2 13 15; do
1754 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1758 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1759 rm -f -r conftest* confdefs.h
1761 $as_echo "/* confdefs.h */" > confdefs.h
1763 # Predefined preprocessor variables.
1765 cat >>confdefs.h <<_ACEOF
1766 #define PACKAGE_NAME "$PACKAGE_NAME"
1769 cat >>confdefs.h <<_ACEOF
1770 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1773 cat >>confdefs.h <<_ACEOF
1774 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1777 cat >>confdefs.h <<_ACEOF
1778 #define PACKAGE_STRING "$PACKAGE_STRING"
1781 cat >>confdefs.h <<_ACEOF
1782 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1785 cat >>confdefs.h <<_ACEOF
1786 #define PACKAGE_URL "$PACKAGE_URL"
1790 # Let the site file select an alternate cache file if it wants to.
1791 # Prefer an explicitly selected file to automatically selected ones.
1794 if test -n "$CONFIG_SITE"; then
1795 ac_site_file1=$CONFIG_SITE
1796 elif test "x$prefix" != xNONE; then
1797 ac_site_file1=$prefix/share/config.site
1798 ac_site_file2=$prefix/etc/config.site
1800 ac_site_file1=$ac_default_prefix/share/config.site
1801 ac_site_file2=$ac_default_prefix/etc/config.site
1803 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1805 test "x$ac_site_file" = xNONE && continue
1806 if test -r "$ac_site_file"; then
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1808 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1809 sed 's/^/| /' "$ac_site_file" >&5
1814 if test -r "$cache_file"; then
1815 # Some versions of bash will fail to source /dev/null (special
1816 # files actually), so we avoid doing that.
1817 if test -f "$cache_file"; then
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1819 $as_echo "$as_me: loading cache $cache_file" >&6;}
1821 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1822 *) . "./$cache_file";;
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1827 $as_echo "$as_me: creating cache $cache_file" >&6;}
1831 # Check that the precious variables saved in the cache have kept the same
1833 ac_cache_corrupted=false
1834 for ac_var in $ac_precious_vars; do
1835 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1836 eval ac_new_set=\$ac_env_${ac_var}_set
1837 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1838 eval ac_new_val=\$ac_env_${ac_var}_value
1839 case $ac_old_set,$ac_new_set in
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1842 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1843 ac_cache_corrupted=: ;;
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1846 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1847 ac_cache_corrupted=: ;;
1850 if test "x$ac_old_val" != "x$ac_new_val"; then
1851 # differences in whitespace do not lead to failure.
1852 ac_old_val_w=`echo x
$ac_old_val`
1853 ac_new_val_w=`echo x
$ac_new_val`
1854 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1856 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1857 ac_cache_corrupted=:
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1860 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1861 eval $ac_var=\$ac_old_val
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1864 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1866 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1869 # Pass precious variables to config.status.
1870 if test "$ac_new_set" = set; then
1872 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1873 *) ac_arg=$ac_var=$ac_new_val ;;
1875 case " $ac_configure_args " in
1876 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1877 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1881 if $ac_cache_corrupted; then
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1885 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1886 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1888 ## -------------------- ##
1889 ## Main body of script. ##
1890 ## -------------------- ##
1893 ac_cpp='$CPP $CPPFLAGS'
1894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1900 for ac_prog in 'bison -y' byacc
1902 # Extract the first word of "$ac_prog", so it can be a program name with args.
1903 set dummy $ac_prog; ac_word=$2
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1905 $as_echo_n "checking for $ac_word... " >&6; }
1906 if test "${ac_cv_prog_YACC+set}" = set; then :
1907 $as_echo_n "(cached) " >&6
1909 if test -n "$YACC"; then
1910 ac_cv_prog_YACC="$YACC" # Let the user override the test.
1912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1916 test -z "$as_dir" && as_dir=.
1917 for ac_exec_ext in '' $ac_executable_extensions; do
1918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1919 ac_cv_prog_YACC="$ac_prog"
1920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1929 YACC=$ac_cv_prog_YACC
1930 if test -n "$YACC"; then
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
1932 $as_echo "$YACC" >&6; }
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1935 $as_echo "no" >&6; }
1939 test -n "$YACC" && break
1941 test -n "$YACC" || YACC="yacc"
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
1944 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
1945 if test "${ac_cv_path_SED+set}" = set; then :
1946 $as_echo_n "(cached) " >&6
1948 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
1949 for ac_i in 1 2 3 4 5 6 7; do
1950 ac_script="$ac_script$as_nl$ac_script"
1952 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
1953 { ac_script=; unset ac_script;}
1954 if test -z "$SED"; then
1955 ac_path_SED_found=false
1956 # Loop through the user's path and test for each of PROGNAME-LIST
1957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1961 test -z "$as_dir" && as_dir=.
1962 for ac_prog in sed gsed; do
1963 for ac_exec_ext in '' $ac_executable_extensions; do
1964 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1965 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
1966 # Check for GNU ac_path_SED and select it if it is found.
1967 # Check for GNU $ac_path_SED
1968 case `"$ac_path_SED" --version 2>&1` in
1970 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
1973 $as_echo_n 0123456789 >"conftest.in"
1976 cat "conftest.in" "conftest.in" >"conftest.tmp"
1977 mv "conftest.tmp" "conftest.in"
1978 cp "conftest.in" "conftest.nl"
1979 $as_echo '' >> "conftest.nl"
1980 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
1981 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1982 as_fn_arith $ac_count + 1 && ac_count=$as_val
1983 if test $ac_count -gt ${ac_path_SED_max-0}; then
1984 # Best one so far, save it but keep looking for a better one
1985 ac_cv_path_SED="$ac_path_SED"
1986 ac_path_SED_max=$ac_count
1988 # 10*(2^10) chars as input seems more than enough
1989 test $ac_count -gt 10 && break
1991 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1994 $ac_path_SED_found && break 3
1999 if test -z "$ac_cv_path_SED"; then
2000 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2008 $as_echo "$ac_cv_path_SED" >&6; }
2009 SED="$ac_cv_path_SED"
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is the parser generator" >&5
2017 $as_echo_n "checking if bison is the parser generator... " >&6; }
2018 if test "${ax_cv_prog_bison+set}" = set; then :
2019 $as_echo_n "(cached) " >&6
2022 if test "`echo \"$YACC\" | $SED 's,^.*\(bison\).*$,\1,'`" = "bison" ; then :
2024 ax_cv_prog_bison=yes
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_bison" >&5
2034 $as_echo "$ax_cv_prog_bison" >&6; }
2035 if test "$ax_cv_prog_bison" = yes; then :
2039 BISON=`echo $YACC | $SED -e 's/ -y//'`
2040 BISON_VERSION=`$BISON -V | $SED -e 's/^bison (GNU Bison) \(.*\)$/\1/p;d'`
2046 as_fn_error "You need bison 2.4 or greater" "$LINENO" 5
2050 for ac_prog in gawk mawk nawk awk
2052 # Extract the first word of "$ac_prog", so it can be a program name with args.
2053 set dummy $ac_prog; ac_word=$2
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2055 $as_echo_n "checking for $ac_word... " >&6; }
2056 if test "${ac_cv_prog_AWK+set}" = set; then :
2057 $as_echo_n "(cached) " >&6
2059 if test -n "$AWK"; then
2060 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066 test -z "$as_dir" && as_dir=.
2067 for ac_exec_ext in '' $ac_executable_extensions; do
2068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2069 ac_cv_prog_AWK="$ac_prog"
2070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 if test -n "$AWK"; then
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2082 $as_echo "$AWK" >&6; }
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2085 $as_echo "no" >&6; }
2089 test -n "$AWK" && break
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is >= 2.4" >&5
2093 $as_echo_n "checking if bison is >= 2.4... " >&6; }
2096 # Used to indicate true or false condition
2097 ax_compare_version=false
2099 # Convert the two version strings to be compared into a format that
2100 # allows a simple string comparison. The end result is that a version
2101 # string of the form 1.12.5-r617 will be converted to the form
2102 # 0001001200050617. In other words, each number is zero padded to four
2103 # digits, and non digits are removed.
2105 ax_compare_version_A=`echo "$BISON_VERSION" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
2106 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
2107 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
2108 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
2112 ax_compare_version_B=`echo "2.4" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
2113 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
2114 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
2115 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
2119 ax_compare_version=`echo "x$ax_compare_version_A
2120 x$ax_compare_version_B" | sed 's/^ *//' | sort -r | sed "s/x${ax_compare_version_A}/true/;s/x${ax_compare_version_B}/false/;1q"`
2124 if test "$ax_compare_version" = "true" ; then
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2126 $as_echo "yes" >&6; }
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2129 $as_echo "no" >&6; }
2130 as_fn_error "You need bison 2.4 or greater" "$LINENO" 5
2136 ac_cpp='$CPP $CPPFLAGS'
2137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2140 if test -n "$ac_tool_prefix"; then
2141 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2142 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2144 $as_echo_n "checking for $ac_word... " >&6; }
2145 if test "${ac_cv_prog_CC+set}" = set; then :
2146 $as_echo_n "(cached) " >&6
2148 if test -n "$CC"; then
2149 ac_cv_prog_CC="$CC" # Let the user override the test.
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2158 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2169 if test -n "$CC"; then
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2171 $as_echo "$CC" >&6; }
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2174 $as_echo "no" >&6; }
2179 if test -z "$ac_cv_prog_CC"; then
2181 # Extract the first word of "gcc", so it can be a program name with args.
2182 set dummy gcc; ac_word=$2
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2184 $as_echo_n "checking for $ac_word... " >&6; }
2185 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2186 $as_echo_n "(cached) " >&6
2188 if test -n "$ac_ct_CC"; then
2189 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 test -z "$as_dir" && as_dir=.
2196 for ac_exec_ext in '' $ac_executable_extensions; do
2197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2198 ac_cv_prog_ac_ct_CC="gcc"
2199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2208 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2209 if test -n "$ac_ct_CC"; then
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2211 $as_echo "$ac_ct_CC" >&6; }
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2214 $as_echo "no" >&6; }
2217 if test "x$ac_ct_CC" = x; then
2220 case $cross_compiling:$ac_tool_warned in
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2224 ac_tool_warned=yes ;;
2232 if test -z "$CC"; then
2233 if test -n "$ac_tool_prefix"; then
2234 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2235 set dummy ${ac_tool_prefix}cc; ac_word=$2
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2237 $as_echo_n "checking for $ac_word... " >&6; }
2238 if test "${ac_cv_prog_CC+set}" = set; then :
2239 $as_echo_n "(cached) " >&6
2241 if test -n "$CC"; then
2242 ac_cv_prog_CC="$CC" # Let the user override the test.
2244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2248 test -z "$as_dir" && as_dir=.
2249 for ac_exec_ext in '' $ac_executable_extensions; do
2250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2251 ac_cv_prog_CC="${ac_tool_prefix}cc"
2252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2262 if test -n "$CC"; then
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2264 $as_echo "$CC" >&6; }
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2267 $as_echo "no" >&6; }
2273 if test -z "$CC"; then
2274 # Extract the first word of "cc", so it can be a program name with args.
2275 set dummy cc; ac_word=$2
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2277 $as_echo_n "checking for $ac_word... " >&6; }
2278 if test "${ac_cv_prog_CC+set}" = set; then :
2279 $as_echo_n "(cached) " >&6
2281 if test -n "$CC"; then
2282 ac_cv_prog_CC="$CC" # Let the user override the test.
2285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 test -z "$as_dir" && as_dir=.
2290 for ac_exec_ext in '' $ac_executable_extensions; do
2291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2292 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2293 ac_prog_rejected=yes
2297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 if test $ac_prog_rejected = yes; then
2305 # We found a bogon in the path, so make sure we never use it.
2306 set dummy $ac_cv_prog_CC
2308 if test $# != 0; then
2309 # We chose a different compiler from the bogus one.
2310 # However, it has the same basename, so the bogon will be chosen
2311 # first if we set CC to just the basename; use the full file name.
2313 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2319 if test -n "$CC"; then
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2321 $as_echo "$CC" >&6; }
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2324 $as_echo "no" >&6; }
2329 if test -z "$CC"; then
2330 if test -n "$ac_tool_prefix"; then
2331 for ac_prog in cl.exe
2333 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2334 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2336 $as_echo_n "checking for $ac_word... " >&6; }
2337 if test "${ac_cv_prog_CC+set}" = set; then :
2338 $as_echo_n "(cached) " >&6
2340 if test -n "$CC"; then
2341 ac_cv_prog_CC="$CC" # Let the user override the test.
2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2347 test -z "$as_dir" && as_dir=.
2348 for ac_exec_ext in '' $ac_executable_extensions; do
2349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2350 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2361 if test -n "$CC"; then
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2363 $as_echo "$CC" >&6; }
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2366 $as_echo "no" >&6; }
2370 test -n "$CC" && break
2373 if test -z "$CC"; then
2375 for ac_prog in cl.exe
2377 # Extract the first word of "$ac_prog", so it can be a program name with args.
2378 set dummy $ac_prog; ac_word=$2
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2380 $as_echo_n "checking for $ac_word... " >&6; }
2381 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2382 $as_echo_n "(cached) " >&6
2384 if test -n "$ac_ct_CC"; then
2385 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2391 test -z "$as_dir" && as_dir=.
2392 for ac_exec_ext in '' $ac_executable_extensions; do
2393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2394 ac_cv_prog_ac_ct_CC="$ac_prog"
2395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2405 if test -n "$ac_ct_CC"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2407 $as_echo "$ac_ct_CC" >&6; }
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2410 $as_echo "no" >&6; }
2414 test -n "$ac_ct_CC" && break
2417 if test "x$ac_ct_CC" = x; then
2420 case $cross_compiling:$ac_tool_warned in
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2424 ac_tool_warned=yes ;;
2433 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2435 as_fn_error "no acceptable C compiler found
in \
$PATH
2436 See \
`config.log' for more details." "$LINENO" 5; }
2438 # Provide some information about the compiler.
2439 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2442 for ac_option in --version -v -V -qversion; do
2443 { { ac_try="$ac_compiler $ac_option >&5"
2445 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2446 *) ac_try_echo
=$ac_try;;
2448 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2449 $as_echo "$ac_try_echo"; } >&5
2450 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2452 if test -s conftest.err
; then
2454 ... rest of stderr output deleted ...
2455 10q' conftest.err
>conftest.er1
2456 cat conftest.er1
>&5
2457 rm -f conftest.er1 conftest.err
2459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2460 test $ac_status = 0; }
2463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2464 /* end confdefs.h. */
2469 FILE *f = fopen ("conftest.out", "w");
2470 return ferror (f) || fclose (f) != 0;
2476 ac_clean_files_save
=$ac_clean_files
2477 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2478 # Try to create an executable without -o first, disregard a.out.
2479 # It will help us diagnose broken compilers, and finding out an intuition
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2482 $as_echo_n "checking for C compiler default output file name... " >&6; }
2483 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2485 # The possible output files:
2486 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2489 for ac_file
in $ac_files
2492 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
2493 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2498 if { { ac_try
="$ac_link_default"
2500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2501 *) ac_try_echo=$ac_try;;
2503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2504 $as_echo "$ac_try_echo"; } >&5
2505 (eval "$ac_link_default") 2>&5
2507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2508 test $ac_status = 0; }; then :
2509 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2510 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2511 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2512 # so that the user can short-circuit this test for compilers unknown to
2514 for ac_file in $ac_files ''
2516 test -f "$ac_file" || continue
2518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2521 # We found the default executable, but exeext='' is most
2525 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2527 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2529 # We set ac_cv_exeext here because the later test for it is not
2530 # safe: cross compilers may not add the suffix if given an `-o'
2531 # argument, so we may need to know it at that point already.
2532 # Even if this section looks crufty: it has the advantage of
2539 test "$ac_cv_exeext" = no && ac_cv_exeext=
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2545 $as_echo "$ac_file" >&6; }
2546 if test -z "$ac_file"; then :
2547 $as_echo "$as_me: failed program was:" >&5
2548 sed 's
/^
/| /' conftest.$ac_ext >&5
2550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2551 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2552 { as_fn_set_status 77
2553 as_fn_error "C compiler cannot create executables
2554 See \`config.log
' for more details." "$LINENO" 5; }; }
2556 ac_exeext=$ac_cv_exeext
2558 # Check that the compiler produces executables we can run. If not, either
2559 # the compiler is broken, or we cross compile.
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2561 $as_echo_n "checking whether the C compiler works... " >&6; }
2562 # If not cross compiling, check that we can run a simple program.
2563 if test "$cross_compiling" != yes; then
2564 if { ac_try='.
/$ac_file'
2565 { { case "(($ac_try" in
2566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567 *) ac_try_echo=$ac_try;;
2569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2570 $as_echo "$ac_try_echo"; } >&5
2571 (eval "$ac_try") 2>&5
2573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2574 test $ac_status = 0; }; }; then
2577 if test "$cross_compiling" = maybe; then
2580 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2581 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2582 as_fn_error "cannot run C compiled programs.
2583 If you meant to cross compile, use \`--host'.
2584 See \`config.log' for more details.
" "$LINENO" 5; }
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
2589 $as_echo "yes" >&6; }
2591 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2592 ac_clean_files=$ac_clean_files_save
2593 # Check that the compiler produces executables we can run. If not, either
2594 # the compiler is broken, or we cross compile.
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
2596 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
2598 $as_echo "$cross_compiling" >&6; }
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
2601 $as_echo_n "checking
for suffix of executables...
" >&6; }
2602 if { { ac_try="$ac_link"
2604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2605 *) ac_try_echo=$ac_try;;
2607 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2608 $as_echo "$ac_try_echo"; } >&5
2609 (eval "$ac_link") 2>&5
2611 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2612 test $ac_status = 0; }; then :
2613 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2614 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2615 # work properly (i.e., refer to `conftest.exe'), while it won't with
2617 for ac_file in conftest.exe conftest conftest.*; do
2618 test -f "$ac_file" || continue
2620 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2621 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2629 as_fn_error "cannot compute suffix of executables: cannot compile and link
2630 See \`config.log' for more details.
" "$LINENO" 5; }
2632 rm -f conftest$ac_cv_exeext
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
2634 $as_echo "$ac_cv_exeext" >&6; }
2636 rm -f conftest.$ac_ext
2637 EXEEXT=$ac_cv_exeext
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
2640 $as_echo_n "checking
for suffix of object files...
" >&6; }
2641 if test "${ac_cv_objext+set}" = set; then :
2642 $as_echo_n "(cached
) " >&6
2644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2645 /* end confdefs.h. */
2655 rm -f conftest.o conftest.obj
2656 if { { ac_try="$ac_compile"
2658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2659 *) ac_try_echo=$ac_try;;
2661 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2662 $as_echo "$ac_try_echo"; } >&5
2663 (eval "$ac_compile") 2>&5
2665 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2666 test $ac_status = 0; }; then :
2667 for ac_file in conftest.o conftest.obj conftest.*; do
2668 test -f "$ac_file" || continue;
2670 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2671 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2676 $as_echo "$as_me: failed program was
:" >&5
2677 sed 's/^/| /' conftest.$ac_ext >&5
2679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2681 as_fn_error "cannot compute suffix of object files: cannot compile
2682 See \`config.log' for more details.
" "$LINENO" 5; }
2684 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
2687 $as_echo "$ac_cv_objext" >&6; }
2688 OBJEXT=$ac_cv_objext
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
2691 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
2692 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2693 $as_echo_n "(cached
) " >&6
2695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2696 /* end confdefs.h. */
2709 if ac_fn_c_try_compile "$LINENO"; then :
2714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2715 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
2719 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2720 if test $ac_compiler_gnu = yes; then
2725 ac_test_CFLAGS=${CFLAGS+set}
2726 ac_save_CFLAGS=$CFLAGS
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
2728 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
2729 if test "${ac_cv_prog_cc_g+set}" = set; then :
2730 $as_echo_n "(cached
) " >&6
2732 ac_save_c_werror_flag=$ac_c_werror_flag
2733 ac_c_werror_flag=yes
2736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2737 /* end confdefs.h. */
2747 if ac_fn_c_try_compile "$LINENO"; then :
2751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2752 /* end confdefs.h. */
2762 if ac_fn_c_try_compile "$LINENO"; then :
2765 ac_c_werror_flag=$ac_save_c_werror_flag
2767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2768 /* end confdefs.h. */
2778 if ac_fn_c_try_compile "$LINENO"; then :
2781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2786 ac_c_werror_flag=$ac_save_c_werror_flag
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
2789 $as_echo "$ac_cv_prog_cc_g" >&6; }
2790 if test "$ac_test_CFLAGS" = set; then
2791 CFLAGS=$ac_save_CFLAGS
2792 elif test $ac_cv_prog_cc_g = yes; then
2793 if test "$GCC" = yes; then
2799 if test "$GCC" = yes; then
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
2806 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
2807 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2808 $as_echo_n "(cached
) " >&6
2810 ac_cv_prog_cc_c89=no
2812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2813 /* end confdefs.h. */
2816 #include <sys/types.h>
2817 #include <sys/stat.h>
2818 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2819 struct buf { int x; };
2820 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2821 static char *e (p, i)
2827 static char *f (char * (*g) (char **, int), char **p, ...)
2832 s = g (p, va_arg (v,int));
2837 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2838 function prototypes and stuff, but not '\xHH' hex character constants.
2839 These don't provoke an error unfortunately, instead are silently treated
2840 as 'x'. The following induces an error, until -std is added to get
2841 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2842 array size at least. It's necessary to write '\x00'==0 to get something
2843 that's true only with -std. */
2844 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2846 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2847 inside strings and character constants. */
2849 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2851 int test (int i, double x);
2852 struct s1 {int (*f) (int a);};
2853 struct s2 {int (*f) (double a);};
2854 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2860 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2865 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2866 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2868 CC="$ac_save_CC $ac_arg"
2869 if ac_fn_c_try_compile "$LINENO"; then :
2870 ac_cv_prog_cc_c89=$ac_arg
2872 rm -f core conftest.err conftest.$ac_objext
2873 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2875 rm -f conftest.$ac_ext
2880 case "x
$ac_cv_prog_cc_c89" in
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
2883 $as_echo "none needed
" >&6; } ;;
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
2886 $as_echo "unsupported
" >&6; } ;;
2888 CC="$CC $ac_cv_prog_cc_c89"
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
2890 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2892 if test "x
$ac_cv_prog_cc_c89" != xno; then :
2897 ac_cpp='$CPP $CPPFLAGS'
2898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2903 for ac_prog in flex lex
2905 # Extract the first word of "$ac_prog", so it can be a program name with args.
2906 set dummy $ac_prog; ac_word=$2
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2908 $as_echo_n "checking
for $ac_word...
" >&6; }
2909 if test "${ac_cv_prog_LEX+set}" = set; then :
2910 $as_echo_n "(cached
) " >&6
2912 if test -n "$LEX"; then
2913 ac_cv_prog_LEX="$LEX" # Let the user override the test.
2915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2919 test -z "$as_dir" && as_dir=.
2920 for ac_exec_ext in '' $ac_executable_extensions; do
2921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2922 ac_cv_prog_LEX="$ac_prog"
2923 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2933 if test -n "$LEX"; then
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
2935 $as_echo "$LEX" >&6; }
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2938 $as_echo "no
" >&6; }
2942 test -n "$LEX" && break
2944 test -n "$LEX" || LEX=":"
2946 if test "x
$LEX" != "x
:"; then
2947 cat >conftest.l <<_ACEOF
2953 e { yyless (input () != 0); }
2954 f { unput (yytext[0]); }
2955 . { BEGIN INITIAL; }
2957 #ifdef YYTEXT_POINTER
2958 extern char *yytext;
2963 return ! yylex () + ! yywrap ();
2966 { { ac_try="$LEX conftest.l
"
2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2971 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2972 $as_echo "$ac_try_echo"; } >&5
2973 (eval "$LEX conftest.l
") 2>&5
2975 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2976 test $ac_status = 0; }
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
lex output
file root
" >&5
2978 $as_echo_n "checking
lex output
file root...
" >&6; }
2979 if test "${ac_cv_prog_lex_root+set}" = set; then :
2980 $as_echo_n "(cached
) " >&6
2983 if test -f lex.yy.c; then
2984 ac_cv_prog_lex_root=lex.yy
2985 elif test -f lexyy.c; then
2986 ac_cv_prog_lex_root=lexyy
2988 as_fn_error "cannot
find output from
$LEX; giving up
" "$LINENO" 5
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_lex_root" >&5
2992 $as_echo "$ac_cv_prog_lex_root" >&6; }
2993 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
2995 if test -z "${LEXLIB+set}"; then
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
lex library
" >&5
2997 $as_echo_n "checking
lex library...
" >&6; }
2998 if test "${ac_cv_lib_lex+set}" = set; then :
2999 $as_echo_n "(cached
) " >&6
3003 ac_cv_lib_lex='none needed'
3004 for ac_lib in '' -lfl -ll; do
3005 LIBS="$ac_lib $ac_save_LIBS"
3006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3007 /* end confdefs.h. */
3008 `cat $LEX_OUTPUT_ROOT.c`
3010 if ac_fn_c_try_link "$LINENO"; then :
3011 ac_cv_lib_lex=$ac_lib
3013 rm -f core conftest.err conftest.$ac_objext \
3014 conftest$ac_exeext conftest.$ac_ext
3015 test "$ac_cv_lib_lex" != 'none needed' && break
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_lib_lex" >&5
3021 $as_echo "$ac_cv_lib_lex" >&6; }
3022 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer
" >&5
3027 $as_echo_n "checking whether yytext is a pointer...
" >&6; }
3028 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
3029 $as_echo_n "(cached
) " >&6
3031 # POSIX says lex can declare yytext either as a pointer or an array; the
3032 # default is implementation-dependent. Figure out which it is, since
3033 # not all implementations provide the %pointer and %array declarations.
3034 ac_cv_prog_lex_yytext_pointer=no
3036 LIBS="$LEXLIB $ac_save_LIBS"
3037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3038 /* end confdefs.h. */
3039 #define YYTEXT_POINTER 1
3040 `cat $LEX_OUTPUT_ROOT.c`
3042 if ac_fn_c_try_link "$LINENO"; then :
3043 ac_cv_prog_lex_yytext_pointer=yes
3045 rm -f core conftest.err conftest.$ac_objext \
3046 conftest$ac_exeext conftest.$ac_ext
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_lex_yytext_pointer" >&5
3051 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
3052 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3054 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
3057 rm -f conftest.l
$LEX_OUTPUT_ROOT.c
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex" >&5
3061 $as_echo_n "checking for flex... " >&6; }
3062 if test "`echo \"$LEX\" | $SED 's/^.*\(flex\).*$/\1/'`" = "flex"; then :
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3065 $as_echo "yes" >&6; }
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3071 $as_echo "no" >&6; }
3072 as_fn_error
"You need flex" "$LINENO" 5
3077 ac_cpp
='$CXXCPP $CPPFLAGS'
3078 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3079 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3080 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3081 if test -z "$CXX"; then
3082 if test -n "$CCC"; then
3085 if test -n "$ac_tool_prefix"; then
3086 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3088 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3089 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091 $as_echo_n "checking for $ac_word... " >&6; }
3092 if test "${ac_cv_prog_CXX+set}" = set; then :
3093 $as_echo_n "(cached) " >&6
3095 if test -n "$CXX"; then
3096 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir
=.
3103 for ac_exec_ext
in '' $ac_executable_extensions; do
3104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3105 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 if test -n "$CXX"; then
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3118 $as_echo "$CXX" >&6; }
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121 $as_echo "no" >&6; }
3125 test -n "$CXX" && break
3128 if test -z "$CXX"; then
3130 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3132 # Extract the first word of "$ac_prog", so it can be a program name with args.
3133 set dummy
$ac_prog; ac_word
=$2
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3137 $as_echo_n "(cached) " >&6
3139 if test -n "$ac_ct_CXX"; then
3140 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3146 test -z "$as_dir" && as_dir
=.
3147 for ac_exec_ext
in '' $ac_executable_extensions; do
3148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3149 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3160 if test -n "$ac_ct_CXX"; then
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3162 $as_echo "$ac_ct_CXX" >&6; }
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3169 test -n "$ac_ct_CXX" && break
3172 if test "x$ac_ct_CXX" = x
; then
3175 case $cross_compiling:$ac_tool_warned in
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3179 ac_tool_warned
=yes ;;
3187 # Provide some information about the compiler.
3188 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3191 for ac_option
in --version -v -V -qversion; do
3192 { { ac_try
="$ac_compiler $ac_option >&5"
3194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3198 $as_echo "$ac_try_echo"; } >&5
3199 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3201 if test -s conftest.err; then
3203 ... rest of stderr output deleted ...
3204 10q' conftest.err >conftest.er1
3205 cat conftest.er1 >&5
3206 rm -f conftest.er1 conftest.err
3208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3209 test $ac_status = 0; }
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3213 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3214 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3215 $as_echo_n "(cached) " >&6
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3231 if ac_fn_cxx_try_compile "$LINENO"; then :
3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3241 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3242 if test $ac_compiler_gnu = yes; then
3247 ac_test_CXXFLAGS=${CXXFLAGS+set}
3248 ac_save_CXXFLAGS=$CXXFLAGS
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3250 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3251 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3252 $as_echo_n "(cached) " >&6
3254 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3255 ac_cxx_werror_flag=yes
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3269 if ac_fn_cxx_try_compile "$LINENO"; then :
3270 ac_cv_prog_cxx_g=yes
3273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3274 /* end confdefs.h. */
3284 if ac_fn_cxx_try_compile "$LINENO"; then :
3287 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h. */
3300 if ac_fn_cxx_try_compile "$LINENO"; then :
3301 ac_cv_prog_cxx_g=yes
3303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3311 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3312 if test "$ac_test_CXXFLAGS" = set; then
3313 CXXFLAGS=$ac_save_CXXFLAGS
3314 elif test $ac_cv_prog_cxx_g = yes; then
3315 if test "$GXX" = yes; then
3321 if test "$GXX" = yes; then
3328 ac_cpp='$CPP $CPPFLAGS'
3329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3334 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3335 for ac_t in install-sh install.sh shtool; do
3336 if test -f "$ac_dir/$ac_t"; then
3338 ac_install_sh="$ac_aux_dir/$ac_t -c"
3343 if test -z "$ac_aux_dir"; then
3344 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3347 # These three variables are undocumented and unsupported,
3348 # and are intended to be withdrawn in a future Autoconf release.
3349 # They can cause serious problems if a builder's source tree is in a directory
3350 # whose full name contains unusual characters.
3351 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3352 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3353 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3356 # Find a good install program. We prefer a C program (faster),
3357 # so one script is as good as another. But avoid the broken or
3358 # incompatible versions:
3359 # SysV /etc/install, /usr/sbin/install
3360 # SunOS /usr/etc/install
3361 # IRIX /sbin/install
3363 # AmigaOS /C/install, which installs bootblocks on floppy discs
3364 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3365 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3366 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3367 # OS/2's system install, which has a completely different semantic
3368 # ./install, which can be erroneously created by make from ./install.sh.
3369 # Reject install programs that cannot install multiple files.
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3371 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3372 if test -z "$INSTALL"; then
3373 if test "${ac_cv_path_install+set}" = set; then :
3374 $as_echo_n "(cached) " >&6
3376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380 test -z "$as_dir" && as_dir=.
3381 # Account for people who put trailing slashes in PATH elements.
3382 case $as_dir/ in #((
3383 ./ | .// | /[cC]/* | \
3384 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3385 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3388 # OSF1 and SCO ODT 3.0 have their own names for install.
3389 # Don't use installbsd from OSF since it installs stuff as root
3391 for ac_prog in ginstall scoinst install; do
3392 for ac_exec_ext in '' $ac_executable_extensions; do
3393 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3394 if test $ac_prog = install &&
3395 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3396 # AIX install. It has an incompatible calling convention.
3398 elif test $ac_prog = install &&
3399 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3400 # program-specific install script used by HP pwplus--don't use.
3403 rm -rf conftest.one conftest.two conftest.dir
3404 echo one > conftest.one
3405 echo two > conftest.two
3407 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3408 test -s conftest.one && test -s conftest.two &&
3409 test -s conftest.dir/conftest.one &&
3410 test -s conftest.dir/conftest.two
3412 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3425 rm -rf conftest.one conftest.two conftest.dir
3428 if test "${ac_cv_path_install+set}" = set; then
3429 INSTALL=$ac_cv_path_install
3431 # As a last resort, use the slow shell script. Don't cache a
3432 # value for INSTALL within a source directory, because that will
3433 # break other packages using the cache if that directory is
3434 # removed, or if the value is a relative name.
3435 INSTALL=$ac_install_sh
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3439 $as_echo "$INSTALL" >&6; }
3441 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3442 # It thinks the first close brace ends the variable substitution.
3443 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3445 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3447 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3449 # Make sure we can run config.sub.
3450 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3451 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3454 $as_echo_n "checking build system type... " >&6; }
3455 if test "${ac_cv_build+set}" = set; then :
3456 $as_echo_n "(cached) " >&6
3458 ac_build_alias=$build_alias
3459 test "x$ac_build_alias" = x &&
3460 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3461 test "x$ac_build_alias" = x &&
3462 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3463 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3464 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3468 $as_echo "$ac_cv_build" >&6; }
3469 case $ac_cv_build in
3471 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3474 ac_save_IFS=$IFS; IFS='-'
3480 # Remember, the first character of IFS is used to create $*,
3481 # except with old shells:
3484 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3488 $as_echo_n "checking host system type... " >&6; }
3489 if test "${ac_cv_host+set}" = set; then :
3490 $as_echo_n "(cached) " >&6
3492 if test "x$host_alias" = x; then
3493 ac_cv_host=$ac_cv_build
3495 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3496 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3501 $as_echo "$ac_cv_host" >&6; }
3504 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3507 ac_save_IFS=$IFS; IFS='-'
3513 # Remember, the first character of IFS is used to create $*,
3514 # except with old shells:
3517 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3521 if test "X$prefix" = "XNONE"; then
3522 acl_final_prefix="$ac_default_prefix"
3524 acl_final_prefix="$prefix"
3526 if test "X$exec_prefix" = "XNONE"; then
3527 acl_final_exec_prefix='${prefix}'
3529 acl_final_exec_prefix="$exec_prefix"
3531 acl_save_prefix="$prefix"
3532 prefix="$acl_final_prefix"
3533 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3534 prefix="$acl_save_prefix"
3537 # Check whether --with-gnu-ld was given.
3538 if test "${with_gnu_ld+set}" = set; then :
3539 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3544 # Prepare PATH_SEPARATOR.
3545 # The user is always right.
3546 if test "${PATH_SEPARATOR+set}" != set; then
3547 echo "#! /bin/sh" >conf$$.sh
3548 echo "exit 0" >>conf$$.sh
3550 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3558 if test "$GCC" = yes; then
3559 # Check if gcc -print-prog-name=ld gives a path.
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
3561 $as_echo_n "checking for ld used by GCC... " >&6; }
3564 # gcc leaves a trailing carriage return which upsets mingw
3565 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
3567 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3570 # Accept absolute paths.
3571 [\\/]* | [A-Za-z]:[\\/]*)
3572 re_direlt='/[^/][^/]*/\.\./'
3573 # Canonicalize the path of ld
3574 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3575 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3576 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3578 test -z "$LD" && LD="$ac_prog"
3581 # If it fails, then pretend we aren't using GCC.
3585 # If it is relative, then search for the first ld in PATH.
3589 elif test "$with_gnu_ld" = yes; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3591 $as_echo_n "checking for GNU ld... " >&6; }
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3594 $as_echo_n "checking for non-GNU ld... " >&6; }
3596 if test "${acl_cv_path_LD+set}" = set; then :
3597 $as_echo_n "(cached) " >&6
3599 if test -z "$LD"; then
3600 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3601 for ac_dir in $PATH; do
3602 test -z "$ac_dir" && ac_dir=.
3603 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3604 acl_cv_path_LD="$ac_dir/$ac_prog"
3605 # Check to see if the program is GNU ld. I'd rather use --version,
3606 # but apparently some GNU ld's only accept -v.
3607 # Break only if it was the GNU/non-GNU ld that we prefer.
3608 case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in
3609 *GNU* | *'with BFD'*)
3610 test "$with_gnu_ld" != no && break ;;
3612 test "$with_gnu_ld" != yes && break ;;
3618 acl_cv_path_LD="$LD" # Let the user override the test with a path.
3622 LD="$acl_cv_path_LD"
3623 if test -n "$LD"; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3625 $as_echo "$LD" >&6; }
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3628 $as_echo "no" >&6; }
3630 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3632 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3633 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
3634 $as_echo_n "(cached) " >&6
3636 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3637 case `$LD -v 2>&1 </dev
/null
` in
3638 *GNU* | *'with BFD'*)
3639 acl_cv_prog_gnu_ld=yes ;;
3641 acl_cv_prog_gnu_ld=no ;;
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
3645 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
3646 with_gnu_ld=$acl_cv_prog_gnu_ld
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
3652 $as_echo_n "checking for shared library run path origin... " >&6; }
3653 if test "${acl_cv_rpath+set}" = set; then :
3654 $as_echo_n "(cached) " >&6
3657 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
3658 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
3665 $as_echo "$acl_cv_rpath" >&6; }
3667 acl_libext="$acl_cv_libext"
3668 acl_shlibext="$acl_cv_shlibext"
3669 acl_libname_spec="$acl_cv_libname_spec"
3670 acl_library_names_spec="$acl_cv_library_names_spec"
3671 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
3672 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
3673 acl_hardcode_direct="$acl_cv_hardcode_direct"
3674 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
3675 # Check whether --enable-rpath was given.
3676 if test "${enable_rpath+set}" = set; then :
3677 enableval=$enable_rpath; :
3685 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null
| sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
3686 if test -n "$searchpath"; then
3687 acl_save_IFS="${IFS= }"; IFS=":"
3688 for searchdir in $searchpath; do
3689 if test -d "$searchdir"; then
3690 case "$searchdir" in
3691 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
3692 *) searchdir=`cd "$searchdir" && pwd`
3693 case "$searchdir" in
3694 */lib64 ) acl_libdirstem=lib64 ;;
3712 acl_save_prefix="$prefix"
3713 prefix="$acl_final_prefix"
3714 acl_save_exec_prefix="$exec_prefix"
3715 exec_prefix="$acl_final_exec_prefix"
3717 eval additional_includedir=\"$includedir\"
3718 eval additional_libdir=\"$libdir\"
3720 exec_prefix="$acl_save_exec_prefix"
3721 prefix="$acl_save_prefix"
3724 # Check whether --with-libiconv-prefix was given.
3725 if test "${with_libiconv_prefix+set}" = set; then :
3726 withval=$with_libiconv_prefix;
3727 if test "X$withval" = "Xno"; then
3730 if test "X$withval" = "X"; then
3732 acl_save_prefix="$prefix"
3733 prefix="$acl_final_prefix"
3734 acl_save_exec_prefix="$exec_prefix"
3735 exec_prefix="$acl_final_exec_prefix"
3737 eval additional_includedir=\"$includedir\"
3738 eval additional_libdir=\"$libdir\"
3740 exec_prefix="$acl_save_exec_prefix"
3741 prefix="$acl_save_prefix"
3744 additional_includedir="$withval/include"
3745 additional_libdir="$withval/$acl_libdirstem"
3757 names_already_handled=
3758 names_next_round='iconv '
3759 while test -n "$names_next_round"; do
3760 names_this_round="$names_next_round"
3762 for name in $names_this_round; do
3764 for n in $names_already_handled; do
3765 if test "$n" = "$name"; then
3770 if test -z "$already_handled"; then
3771 names_already_handled="$names_already_handled $name"
3772 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3773 eval value=\"\$HAVE_LIB$uppername\"
3774 if test -n "$value"; then
3775 if test "$value" = yes; then
3776 eval value=\"\$LIB$uppername\"
3777 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
3778 eval value=\"\$LTLIB$uppername\"
3779 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
3788 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
3789 if test -n "$acl_shlibext"; then
3790 shrext=".$acl_shlibext" # typically: shrext=.so
3794 if test $use_additional = yes; then
3795 dir="$additional_libdir"
3796 if test -n "$acl_shlibext"; then
3797 if test -f "$dir/$libname$shrext"; then
3799 found_so="$dir/$libname$shrext"
3801 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
3802 ver=`(cd "$dir" && \
3803 for f
in "$libname$shrext".
*; do echo "$f"; done \
3804 | sed -e "s,^$libname$shrext\\\\.,," \
3805 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
3806 | sed 1q
) 2>/dev
/null
`
3807 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
3809 found_so="$dir/$libname$shrext.$ver"
3812 eval library_names=\"$acl_library_names_spec\"
3813 for f in $library_names; do
3814 if test -f "$dir/$f"; then
3823 if test "X$found_dir" = "X"; then
3824 if test -f "$dir/$libname.$acl_libext"; then
3826 found_a="$dir/$libname.$acl_libext"
3829 if test "X$found_dir" != "X"; then
3830 if test -f "$dir/$libname.la"; then
3831 found_la="$dir/$libname.la"
3835 if test "X$found_dir" = "X"; then
3836 for x in $LDFLAGS $LTLIBICONV; do
3838 acl_save_prefix="$prefix"
3839 prefix="$acl_final_prefix"
3840 acl_save_exec_prefix="$exec_prefix"
3841 exec_prefix="$acl_final_exec_prefix"
3843 exec_prefix="$acl_save_exec_prefix"
3844 prefix="$acl_save_prefix"
3848 dir=`echo "X$x" | sed -e 's/^X-L//'`
3849 if test -n "$acl_shlibext"; then
3850 if test -f "$dir/$libname$shrext"; then
3852 found_so="$dir/$libname$shrext"
3854 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
3855 ver=`(cd "$dir" && \
3856 for f
in "$libname$shrext".
*; do echo "$f"; done \
3857 | sed -e "s,^$libname$shrext\\\\.,," \
3858 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
3859 | sed 1q
) 2>/dev
/null
`
3860 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
3862 found_so="$dir/$libname$shrext.$ver"
3865 eval library_names=\"$acl_library_names_spec\"
3866 for f in $library_names; do
3867 if test -f "$dir/$f"; then
3876 if test "X$found_dir" = "X"; then
3877 if test -f "$dir/$libname.$acl_libext"; then
3879 found_a="$dir/$libname.$acl_libext"
3882 if test "X$found_dir" != "X"; then
3883 if test -f "$dir/$libname.la"; then
3884 found_la="$dir/$libname.la"
3889 if test "X$found_dir" != "X"; then
3894 if test "X$found_dir" != "X"; then
3895 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
3896 if test "X$found_so" != "X"; then
3897 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
3898 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3901 for x in $ltrpathdirs; do
3902 if test "X$x" = "X$found_dir"; then
3907 if test -z "$haveit"; then
3908 ltrpathdirs="$ltrpathdirs $found_dir"
3910 if test "$acl_hardcode_direct" = yes; then
3911 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3913 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
3914 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3916 for x in $rpathdirs; do
3917 if test "X$x" = "X$found_dir"; then
3922 if test -z "$haveit"; then
3923 rpathdirs="$rpathdirs $found_dir"
3927 for x in $LDFLAGS $LIBICONV; do
3929 acl_save_prefix="$prefix"
3930 prefix="$acl_final_prefix"
3931 acl_save_exec_prefix="$exec_prefix"
3932 exec_prefix="$acl_final_exec_prefix"
3934 exec_prefix="$acl_save_exec_prefix"
3935 prefix="$acl_save_prefix"
3937 if test "X$x" = "X-L$found_dir"; then
3942 if test -z "$haveit"; then
3943 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
3945 if test "$acl_hardcode_minus_L" != no; then
3946 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3948 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
3954 if test "X$found_a" != "X"; then
3955 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
3957 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
3960 additional_includedir=
3961 case "$found_dir" in
3962 */$acl_libdirstem | */$acl_libdirstem/)
3963 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
3964 LIBICONV_PREFIX="$basedir"
3965 additional_includedir="$basedir/include"
3968 if test "X$additional_includedir" != "X"; then
3969 if test "X$additional_includedir" != "X/usr/include"; then
3971 if test "X$additional_includedir" = "X/usr/local/include"; then
3972 if test -n "$GCC"; then
3974 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
3978 if test -z "$haveit"; then
3979 for x in $CPPFLAGS $INCICONV; do
3981 acl_save_prefix="$prefix"
3982 prefix="$acl_final_prefix"
3983 acl_save_exec_prefix="$exec_prefix"
3984 exec_prefix="$acl_final_exec_prefix"
3986 exec_prefix="$acl_save_exec_prefix"
3987 prefix="$acl_save_prefix"
3989 if test "X$x" = "X-I$additional_includedir"; then
3994 if test -z "$haveit"; then
3995 if test -d "$additional_includedir"; then
3996 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
4002 if test -n "$found_la"; then
4003 save_libdir="$libdir"
4005 */* | *\\*) . "$found_la" ;;
4006 *) . "./$found_la" ;;
4008 libdir="$save_libdir"
4009 for dep in $dependency_libs; do
4012 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4013 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
4015 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
4016 if test -n "$GCC"; then
4018 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4022 if test -z "$haveit"; then
4024 for x in $LDFLAGS $LIBICONV; do
4026 acl_save_prefix="$prefix"
4027 prefix="$acl_final_prefix"
4028 acl_save_exec_prefix="$exec_prefix"
4029 exec_prefix="$acl_final_exec_prefix"
4031 exec_prefix="$acl_save_exec_prefix"
4032 prefix="$acl_save_prefix"
4034 if test "X$x" = "X-L$additional_libdir"; then
4039 if test -z "$haveit"; then
4040 if test -d "$additional_libdir"; then
4041 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
4045 for x in $LDFLAGS $LTLIBICONV; do
4047 acl_save_prefix="$prefix"
4048 prefix="$acl_final_prefix"
4049 acl_save_exec_prefix="$exec_prefix"
4050 exec_prefix="$acl_final_exec_prefix"
4052 exec_prefix="$acl_save_exec_prefix"
4053 prefix="$acl_save_prefix"
4055 if test "X$x" = "X-L$additional_libdir"; then
4060 if test -z "$haveit"; then
4061 if test -d "$additional_libdir"; then
4062 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
4069 dir=`echo "X$dep" | sed -e 's/^X-R//'`
4070 if test "$enable_rpath" != no; then
4072 for x in $rpathdirs; do
4073 if test "X$x" = "X$dir"; then
4078 if test -z "$haveit"; then
4079 rpathdirs="$rpathdirs $dir"
4082 for x in $ltrpathdirs; do
4083 if test "X$x" = "X$dir"; then
4088 if test -z "$haveit"; then
4089 ltrpathdirs="$ltrpathdirs $dir"
4094 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4097 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4100 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
4101 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
4107 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4108 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
4114 if test "X$rpathdirs" != "X"; then
4115 if test -n "$acl_hardcode_libdir_separator"; then
4117 for found_dir in $rpathdirs; do
4118 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
4120 acl_save_libdir="$libdir"
4122 eval flag=\"$acl_hardcode_libdir_flag_spec\"
4123 libdir="$acl_save_libdir"
4124 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4126 for found_dir in $rpathdirs; do
4127 acl_save_libdir="$libdir"
4129 eval flag=\"$acl_hardcode_libdir_flag_spec\"
4130 libdir="$acl_save_libdir"
4131 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4135 if test "X$ltrpathdirs" != "X"; then
4136 for found_dir in $ltrpathdirs; do
4137 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
4147 am_save_CPPFLAGS="$CPPFLAGS"
4149 for element in $INCICONV; do
4151 for x in $CPPFLAGS; do
4153 acl_save_prefix="$prefix"
4154 prefix="$acl_final_prefix"
4155 acl_save_exec_prefix="$exec_prefix"
4156 exec_prefix="$acl_final_exec_prefix"
4158 exec_prefix="$acl_save_exec_prefix"
4159 prefix="$acl_save_prefix"
4161 if test "X$x" = "X$element"; then
4166 if test -z "$haveit"; then
4167 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
4173 $as_echo_n "checking for iconv... " >&6; }
4174 if test "${am_cv_func_iconv+set}" = set; then :
4175 $as_echo_n "(cached) " >&6
4178 am_cv_func_iconv="no, consider installing GNU libiconv"
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4187 iconv_t cd = iconv_open("","");
4188 iconv(cd,NULL,NULL,NULL,NULL);
4194 if ac_fn_c_try_link "$LINENO"; then :
4195 am_cv_func_iconv=yes
4197 rm -f core conftest.err conftest.$ac_objext \
4198 conftest$ac_exeext conftest.$ac_ext
4199 if test "$am_cv_func_iconv" != yes; then
4200 am_save_LIBS="$LIBS"
4201 LIBS="$LIBS $LIBICONV"
4202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203 /* end confdefs.h. */
4209 iconv_t cd = iconv_open("","");
4210 iconv(cd,NULL,NULL,NULL,NULL);
4216 if ac_fn_c_try_link "$LINENO"; then :
4218 am_cv_func_iconv=yes
4220 rm -f core conftest.err conftest.$ac_objext \
4221 conftest$ac_exeext conftest.$ac_ext
4222 LIBS="$am_save_LIBS"
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
4227 $as_echo "$am_cv_func_iconv" >&6; }
4228 if test "$am_cv_func_iconv" = yes; then
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
4230 $as_echo_n "checking for working iconv... " >&6; }
4231 if test "${am_cv_func_iconv_works+set}" = set; then :
4232 $as_echo_n "(cached) " >&6
4235 am_save_LIBS="$LIBS"
4236 if test $am_cv_lib_iconv = yes; then
4237 LIBS="$LIBS $LIBICONV"
4239 if test "$cross_compiling" = yes; then :
4241 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
4242 *) am_cv_func_iconv_works="guessing yes" ;;
4245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246 /* end confdefs.h. */
4252 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
4255 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
4256 if (cd_utf8_to_88591 != (iconv_t)(-1))
4258 static const char input[] = "\342\202\254"; /* EURO SIGN */
4260 const char *inptr = input;
4261 size_t inbytesleft = strlen (input);
4263 size_t outbytesleft = sizeof (buf);
4264 size_t res = iconv (cd_utf8_to_88591,
4265 (char **) &inptr, &inbytesleft,
4266 &outptr, &outbytesleft);
4271 #if 0 /* This bug could be worked around by the caller. */
4272 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
4274 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
4275 if (cd_88591_to_utf8 != (iconv_t)(-1))
4277 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
4279 const char *inptr = input;
4280 size_t inbytesleft = strlen (input);
4282 size_t outbytesleft = sizeof (buf);
4283 size_t res = iconv (cd_88591_to_utf8,
4284 (char **) &inptr, &inbytesleft,
4285 &outptr, &outbytesleft);
4291 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
4293 if (/* Try standardized names. */
4294 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
4295 /* Try IRIX, OSF/1 names. */
4296 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
4297 /* Try AIX names. */
4298 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
4299 /* Try HP-UX names. */
4300 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
4305 if ac_fn_c_try_run "$LINENO"; then :
4306 am_cv_func_iconv_works=yes
4308 am_cv_func_iconv_works=no
4310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4311 conftest.$ac_objext conftest.beam conftest.$ac_ext
4314 LIBS="$am_save_LIBS"
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
4318 $as_echo "$am_cv_func_iconv_works" >&6; }
4319 case "$am_cv_func_iconv_works" in
4320 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
4321 *) am_func_iconv=yes ;;
4324 am_func_iconv=no am_cv_lib_iconv=no
4326 if test "$am_func_iconv" = yes; then
4328 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
4331 if test "$am_cv_lib_iconv" = yes; then
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
4333 $as_echo_n "checking how to link with libiconv... " >&6; }
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
4335 $as_echo "$LIBICONV" >&6; }
4337 CPPFLAGS="$am_save_CPPFLAGS"
4344 if test "$am_cv_func_iconv" = yes; then
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
4346 $as_echo_n "checking for iconv declaration... " >&6; }
4347 if test "${am_cv_proto_iconv+set}" = set; then :
4348 $as_echo_n "(cached) " >&6
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4360 #if defined(__STDC__) || defined(__cplusplus)
4361 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
4374 if ac_fn_c_try_compile "$LINENO"; then :
4375 am_cv_proto_iconv_arg1=""
4377 am_cv_proto_iconv_arg1="const"
4379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4380 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);"
4383 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
4385 }$am_cv_proto_iconv" >&5
4387 }$am_cv_proto_iconv" >&6; }
4389 cat >>confdefs.h <<_ACEOF
4390 #define ICONV_CONST $am_cv_proto_iconv_arg1
4395 case $am_cv_func_iconv in #(
4399 as_fn_error "You need iconv" "$LINENO" 5 ;;
4403 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4404 if test -n "$ac_tool_prefix"; then
4405 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4406 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4408 $as_echo_n "checking for $ac_word... " >&6; }
4409 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
4410 $as_echo_n "(cached) " >&6
4414 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4421 test -z "$as_dir" && as_dir=.
4422 for ac_exec_ext in '' $ac_executable_extensions; do
4423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4424 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4435 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4436 if test -n "$PKG_CONFIG"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4438 $as_echo "$PKG_CONFIG" >&6; }
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4446 if test -z "$ac_cv_path_PKG_CONFIG"; then
4447 ac_pt_PKG_CONFIG=$PKG_CONFIG
4448 # Extract the first word of "pkg-config", so it can be a program name with args.
4449 set dummy pkg-config; ac_word=$2
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4451 $as_echo_n "checking for $ac_word... " >&6; }
4452 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
4453 $as_echo_n "(cached) " >&6
4455 case $ac_pt_PKG_CONFIG in
4457 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464 test -z "$as_dir" && as_dir=.
4465 for ac_exec_ext in '' $ac_executable_extensions; do
4466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4467 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4479 if test -n "$ac_pt_PKG_CONFIG"; then
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4481 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4484 $as_echo "no" >&6; }
4487 if test "x$ac_pt_PKG_CONFIG" = x; then
4490 case $cross_compiling:$ac_tool_warned in
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4494 ac_tool_warned=yes ;;
4496 PKG_CONFIG=$ac_pt_PKG_CONFIG
4499 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4503 if test -n "$PKG_CONFIG"; then
4504 _pkg_min_version=0.9.0
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4506 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4507 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4509 $as_echo "yes" >&6; }
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4512 $as_echo "no" >&6; }
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
4520 $as_echo_n "checking for WEBKIT... " >&6; }
4522 if test -n "$PKG_CONFIG"; then
4523 if test -n "$WEBKIT_CFLAGS"; then
4524 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
4526 if test -n "$PKG_CONFIG" && \
4527 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
4528 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
4530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4531 test $ac_status = 0; }; then
4532 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
4540 if test -n "$PKG_CONFIG"; then
4541 if test -n "$WEBKIT_LIBS"; then
4542 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
4544 if test -n "$PKG_CONFIG" && \
4545 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
4546 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
4548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4549 test $ac_status = 0; }; then
4550 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
4561 if test $pkg_failed = yes; then
4563 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4564 _pkg_short_errors_supported=yes
4566 _pkg_short_errors_supported=no
4568 if test $_pkg_short_errors_supported = yes; then
4569 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
4571 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
4573 # Put the nasty error message in config.log where it belongs
4574 echo "$WEBKIT_PKG_ERRORS" >&5
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4577 $as_echo "no" >&6; }
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
4582 $as_echo_n "checking for WEBKIT... " >&6; }
4584 if test -n "$PKG_CONFIG"; then
4585 if test -n "$WEBKIT_CFLAGS"; then
4586 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
4588 if test -n "$PKG_CONFIG" && \
4589 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
4590 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
4592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4593 test $ac_status = 0; }; then
4594 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
4602 if test -n "$PKG_CONFIG"; then
4603 if test -n "$WEBKIT_LIBS"; then
4604 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
4606 if test -n "$PKG_CONFIG" && \
4607 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
4608 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
4610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4611 test $ac_status = 0; }; then
4612 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
4623 if test $pkg_failed = yes; then
4625 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4626 _pkg_short_errors_supported=yes
4628 _pkg_short_errors_supported=no
4630 if test $_pkg_short_errors_supported = yes; then
4631 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
4633 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
4635 # Put the nasty error message in config.log where it belongs
4636 echo "$WEBKIT_PKG_ERRORS" >&5
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4639 $as_echo "no" >&6; }
4641 elif test $pkg_failed = untried; then
4644 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
4645 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4647 $as_echo "yes" >&6; }
4651 elif test $pkg_failed = untried; then
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
4656 $as_echo_n "checking for WEBKIT... " >&6; }
4658 if test -n "$PKG_CONFIG"; then
4659 if test -n "$WEBKIT_CFLAGS"; then
4660 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
4662 if test -n "$PKG_CONFIG" && \
4663 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
4664 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
4666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4667 test $ac_status = 0; }; then
4668 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
4676 if test -n "$PKG_CONFIG"; then
4677 if test -n "$WEBKIT_LIBS"; then
4678 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
4680 if test -n "$PKG_CONFIG" && \
4681 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
4682 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
4684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4685 test $ac_status = 0; }; then
4686 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
4697 if test $pkg_failed = yes; then
4699 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4700 _pkg_short_errors_supported=yes
4702 _pkg_short_errors_supported=no
4704 if test $_pkg_short_errors_supported = yes; then
4705 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
4707 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
4709 # Put the nasty error message in config.log where it belongs
4710 echo "$WEBKIT_PKG_ERRORS" >&5
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4713 $as_echo "no" >&6; }
4715 elif test $pkg_failed = untried; then
4718 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
4719 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4721 $as_echo "yes" >&6; }
4726 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
4727 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4729 $as_echo "yes" >&6; }
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
4738 $as_echo_n "checking for LIBFFI... " >&6; }
4740 if test -n "$PKG_CONFIG"; then
4741 if test -n "$LIBFFI_CFLAGS"; then
4742 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
4744 if test -n "$PKG_CONFIG" && \
4745 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
4746 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
4748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4749 test $ac_status = 0; }; then
4750 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
4758 if test -n "$PKG_CONFIG"; then
4759 if test -n "$LIBFFI_LIBS"; then
4760 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
4762 if test -n "$PKG_CONFIG" && \
4763 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
4764 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
4766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4767 test $ac_status = 0; }; then
4768 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
4779 if test $pkg_failed = yes; then
4781 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4782 _pkg_short_errors_supported=yes
4784 _pkg_short_errors_supported=no
4786 if test $_pkg_short_errors_supported = yes; then
4787 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
4789 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
4791 # Put the nasty error message in config.log where it belongs
4792 echo "$LIBFFI_PKG_ERRORS" >&5
4794 as_fn_error "Package requirements (libffi) were not met:
4798 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4799 installed software in a non-standard prefix.
4801 Alternatively, you may set the environment variables LIBFFI_CFLAGS
4802 and LIBFFI_LIBS to avoid the need to call pkg-config.
4803 See the pkg-config man page for more details.
4805 elif test $pkg_failed = untried; then
4806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4808 as_fn_error "The pkg
-config script could not be found or is too old. Make sure it
4809 is
in your PATH or
set the PKG_CONFIG environment variable to the full
4812 Alternatively
, you may
set the environment variables LIBFFI_CFLAGS
4813 and LIBFFI_LIBS to avoid the need to call pkg
-config.
4814 See the pkg
-config man page
for more details.
4816 To get pkg
-config, see
<http
://pkg
-config.freedesktop.org
/>.
4817 See \
`config.log' for more details." "$LINENO" 5; }
4819 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
4820 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4822 $as_echo "yes" >&6; }
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No JavaScript engine!" >&5
4828 $as_echo "$as_me: WARNING: No JavaScript engine!" >&2;} ;;