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 if (eval "$as_required") 2>/dev
/null
; then :
179 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
184 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
187 test -z "$as_dir" && as_dir
=.
191 for as_base
in sh bash ksh sh5
; do
192 # Try only shells that exist, to save several forks.
193 as_shell
=$as_dir/$as_base
194 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
196 CONFIG_SHELL
=$as_shell as_have_required
=yes
197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
207 CONFIG_SHELL
=$SHELL as_have_required
=yes
212 if test "x$CONFIG_SHELL" != x
; then :
213 # We cannot yet assume a decent shell, so we have to provide a
214 # neutralization value for shells without unset; and this also
215 # works around shells that cannot unset nonexistent variables.
218 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223 if test x
$as_have_required = xno
; then :
224 $as_echo "$0: This script requires a shell more modern than all"
225 $as_echo "$0: the shells that I found on your system."
226 if test x
${ZSH_VERSION+set} = xset
; then
227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
231 $0: about your system, including any error possibly output
232 $0: before this message. Then install a modern shell, or
233 $0: manually run the script under such a shell if you do
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status
=$?
; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir -p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 exec 7<&0 </dev
/null
6>&1
532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533 # so uname gets run too.
534 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
539 ac_default_prefix
=/usr
/local
541 ac_config_libobj_dir
=.
548 # Identity of this package.
549 PACKAGE_NAME
='Cycript'
550 PACKAGE_TARNAME
='cycript'
551 PACKAGE_VERSION
='0.9'
552 PACKAGE_STRING
='Cycript 0.9'
553 PACKAGE_BUGREPORT
='saurik@saurik.com'
554 PACKAGE_URL
='http://www.cycript.org/'
556 ac_subst_vars
='OBJEXT
590 program_transform_name
603 enable_option_checking
605 ac_precious_vars
='build_alias
616 # Initialize some variables set by options.
618 ac_init_version
=false
619 ac_unrecognized_opts
=
621 # The variables have the same names as the options, with
622 # dashes changed to underlines.
630 program_transform_name
=s
,x
,x
,
638 # Installation directory options.
639 # These are left unexpanded so users can "make install exec_prefix=/foo"
640 # and all the variables that are supposed to be based on exec_prefix
641 # by default will actually change.
642 # Use braces instead of parens because sh, perl, etc. also accept them.
643 # (The list follows the same order as the GNU Coding Standards.)
644 bindir
='${exec_prefix}/bin'
645 sbindir
='${exec_prefix}/sbin'
646 libexecdir
='${exec_prefix}/libexec'
647 datarootdir
='${prefix}/share'
648 datadir
='${datarootdir}'
649 sysconfdir
='${prefix}/etc'
650 sharedstatedir
='${prefix}/com'
651 localstatedir
='${prefix}/var'
652 includedir
='${prefix}/include'
653 oldincludedir
='/usr/include'
654 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
655 infodir
='${datarootdir}/info'
660 libdir
='${exec_prefix}/lib'
661 localedir
='${datarootdir}/locale'
662 mandir
='${datarootdir}/man'
668 # If the previous option needs an argument, assign it.
669 if test -n "$ac_prev"; then
670 eval $ac_prev=\
$ac_option
676 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
680 # Accept the important Cygnus configure options, so we can diagnose typos.
682 case $ac_dashdash$ac_option in
686 -bindir | --bindir | --bindi | --bind | --bin | --bi)
688 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
691 -build | --build | --buil | --bui | --bu)
692 ac_prev
=build_alias
;;
693 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
694 build_alias
=$ac_optarg ;;
696 -cache-file | --cache-file | --cache-fil | --cache-fi \
697 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
698 ac_prev
=cache_file
;;
699 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
700 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
701 cache_file
=$ac_optarg ;;
704 cache_file
=config.cache
;;
706 -datadir | --datadir | --datadi | --datad)
708 -datadir=* | --datadir=* | --datadi=* | --datad=*)
709 datadir
=$ac_optarg ;;
711 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
712 | --dataroo | --dataro | --datar)
713 ac_prev
=datarootdir
;;
714 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
715 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
716 datarootdir
=$ac_optarg ;;
718 -disable-* | --disable-*)
719 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
720 # Reject names that are not valid shell variable names.
721 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
722 as_fn_error
"invalid feature name: $ac_useropt"
723 ac_useropt_orig
=$ac_useropt
724 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
725 case $ac_user_opts in
729 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
730 ac_unrecognized_sep
=', ';;
732 eval enable_
$ac_useropt=no
;;
734 -docdir | --docdir | --docdi | --doc | --do)
736 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
739 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
741 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
744 -enable-* | --enable-*)
745 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
746 # Reject names that are not valid shell variable names.
747 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
748 as_fn_error
"invalid feature name: $ac_useropt"
749 ac_useropt_orig
=$ac_useropt
750 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
751 case $ac_user_opts in
755 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
756 ac_unrecognized_sep
=', ';;
758 eval enable_
$ac_useropt=\
$ac_optarg ;;
760 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
761 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
762 | --exec | --exe | --ex)
763 ac_prev
=exec_prefix
;;
764 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
765 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
766 | --exec=* | --exe=* | --ex=*)
767 exec_prefix
=$ac_optarg ;;
769 -gas | --gas | --ga | --g)
770 # Obsolete; use --with-gas.
773 -help | --help | --hel | --he | -h)
775 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
776 ac_init_help
=recursive
;;
777 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
778 ac_init_help
=short
;;
780 -host | --host | --hos | --ho)
781 ac_prev
=host_alias
;;
782 -host=* | --host=* | --hos=* | --ho=*)
783 host_alias
=$ac_optarg ;;
785 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
787 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
789 htmldir
=$ac_optarg ;;
791 -includedir | --includedir | --includedi | --included | --include \
792 | --includ | --inclu | --incl | --inc)
793 ac_prev
=includedir
;;
794 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
795 | --includ=* | --inclu=* | --incl=* | --inc=*)
796 includedir
=$ac_optarg ;;
798 -infodir | --infodir | --infodi | --infod | --info | --inf)
800 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
801 infodir
=$ac_optarg ;;
803 -libdir | --libdir | --libdi | --libd)
805 -libdir=* | --libdir=* | --libdi=* | --libd=*)
808 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
809 | --libexe | --libex | --libe)
810 ac_prev
=libexecdir
;;
811 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
812 | --libexe=* | --libex=* | --libe=*)
813 libexecdir
=$ac_optarg ;;
815 -localedir | --localedir | --localedi | --localed | --locale)
817 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
818 localedir
=$ac_optarg ;;
820 -localstatedir | --localstatedir | --localstatedi | --localstated \
821 | --localstate | --localstat | --localsta | --localst | --locals)
822 ac_prev
=localstatedir
;;
823 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
824 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
825 localstatedir
=$ac_optarg ;;
827 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
829 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
833 # Obsolete; use --without-fp.
836 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
837 | --no-cr | --no-c | -n)
840 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
841 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
844 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
845 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
846 | --oldin | --oldi | --old | --ol | --o)
847 ac_prev
=oldincludedir
;;
848 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
849 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
850 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
851 oldincludedir
=$ac_optarg ;;
853 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
855 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
858 -program-prefix | --program-prefix | --program-prefi | --program-pref \
859 | --program-pre | --program-pr | --program-p)
860 ac_prev
=program_prefix
;;
861 -program-prefix=* | --program-prefix=* | --program-prefi=* \
862 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
863 program_prefix
=$ac_optarg ;;
865 -program-suffix | --program-suffix | --program-suffi | --program-suff \
866 | --program-suf | --program-su | --program-s)
867 ac_prev
=program_suffix
;;
868 -program-suffix=* | --program-suffix=* | --program-suffi=* \
869 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
870 program_suffix
=$ac_optarg ;;
872 -program-transform-name | --program-transform-name \
873 | --program-transform-nam | --program-transform-na \
874 | --program-transform-n | --program-transform- \
875 | --program-transform | --program-transfor \
876 | --program-transfo | --program-transf \
877 | --program-trans | --program-tran \
878 | --progr-tra | --program-tr | --program-t)
879 ac_prev
=program_transform_name
;;
880 -program-transform-name=* | --program-transform-name=* \
881 | --program-transform-nam=* | --program-transform-na=* \
882 | --program-transform-n=* | --program-transform-=* \
883 | --program-transform=* | --program-transfor=* \
884 | --program-transfo=* | --program-transf=* \
885 | --program-trans=* | --program-tran=* \
886 | --progr-tra=* | --program-tr=* | --program-t=*)
887 program_transform_name
=$ac_optarg ;;
889 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
891 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
894 -psdir | --psdir | --psdi | --psd | --ps)
896 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
899 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
900 | -silent | --silent | --silen | --sile | --sil)
903 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
905 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
907 sbindir
=$ac_optarg ;;
909 -sharedstatedir | --sharedstatedir | --sharedstatedi \
910 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
911 | --sharedst | --shareds | --shared | --share | --shar \
913 ac_prev
=sharedstatedir
;;
914 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
915 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
916 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
918 sharedstatedir
=$ac_optarg ;;
920 -site | --site | --sit)
922 -site=* | --site=* | --sit=*)
925 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
927 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
930 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
931 | --syscon | --sysco | --sysc | --sys | --sy)
932 ac_prev
=sysconfdir
;;
933 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
934 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
935 sysconfdir
=$ac_optarg ;;
937 -target | --target | --targe | --targ | --tar | --ta | --t)
938 ac_prev
=target_alias
;;
939 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
940 target_alias
=$ac_optarg ;;
942 -v | -verbose | --verbose | --verbos | --verbo | --verb)
945 -version | --version | --versio | --versi | --vers | -V)
949 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
952 as_fn_error
"invalid package name: $ac_useropt"
953 ac_useropt_orig
=$ac_useropt
954 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955 case $ac_user_opts in
959 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
960 ac_unrecognized_sep
=', ';;
962 eval with_
$ac_useropt=\
$ac_optarg ;;
964 -without-* | --without-*)
965 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
966 # Reject names that are not valid shell variable names.
967 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
968 as_fn_error
"invalid package name: $ac_useropt"
969 ac_useropt_orig
=$ac_useropt
970 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
971 case $ac_user_opts in
975 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
976 ac_unrecognized_sep
=', ';;
978 eval with_
$ac_useropt=no
;;
981 # Obsolete; use --with-x.
984 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
985 | --x-incl | --x-inc | --x-in | --x-i)
986 ac_prev
=x_includes
;;
987 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
988 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
989 x_includes
=$ac_optarg ;;
991 -x-libraries | --x-libraries | --x-librarie | --x-librari \
992 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
993 ac_prev
=x_libraries
;;
994 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
995 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
996 x_libraries
=$ac_optarg ;;
998 -*) as_fn_error
"unrecognized option: \`$ac_option'
999 Try \`$0 --help' for more information."
1003 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1004 # Reject names that are not valid shell variable names.
1005 case $ac_envvar in #(
1006 '' | [0-9]* | *[!_$as_cr_alnum]* )
1007 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1009 eval $ac_envvar=\
$ac_optarg
1010 export $ac_envvar ;;
1013 # FIXME: should be removed in autoconf 3.0.
1014 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1015 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1016 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1017 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1023 if test -n "$ac_prev"; then
1024 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1025 as_fn_error
"missing argument to $ac_option"
1028 if test -n "$ac_unrecognized_opts"; then
1029 case $enable_option_checking in
1031 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1032 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1036 # Check all directory arguments for consistency.
1037 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1038 datadir sysconfdir sharedstatedir localstatedir includedir \
1039 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1040 libdir localedir mandir
1042 eval ac_val
=\$
$ac_var
1043 # Remove trailing slashes.
1046 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1047 eval $ac_var=\
$ac_val;;
1049 # Be sure to have absolute directory names.
1051 [\\/$
]* | ?
:[\\/]* ) continue;;
1052 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1054 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1057 # There might be people who depend on the old broken behavior: `$host'
1058 # used to hold the argument of --host etc.
1059 # FIXME: To remove some day.
1062 target
=$target_alias
1064 # FIXME: To remove some day.
1065 if test "x$host_alias" != x
; then
1066 if test "x$build_alias" = x
; then
1067 cross_compiling
=maybe
1068 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1069 If a cross compiler is detected then cross compile mode will be used." >&2
1070 elif test "x$build_alias" != "x$host_alias"; then
1076 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1078 test "$silent" = yes && exec 6>/dev
/null
1081 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1082 ac_ls_di
=`ls -di .` &&
1083 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1084 as_fn_error
"working directory cannot be determined"
1085 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1086 as_fn_error
"pwd does not report name of working directory"
1089 # Find the source files, if location was not specified.
1090 if test -z "$srcdir"; then
1091 ac_srcdir_defaulted
=yes
1092 # Try the directory containing this script, then the parent directory.
1093 ac_confdir
=`$as_dirname -- "$as_myself" ||
1094 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1095 X"$as_myself" : 'X\(//\)[^/]' \| \
1096 X"$as_myself" : 'X\(//\)$' \| \
1097 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1098 $as_echo X"$as_myself" |
1099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1117 if test ! -r "$srcdir/$ac_unique_file"; then
1121 ac_srcdir_defaulted
=no
1123 if test ! -r "$srcdir/$ac_unique_file"; then
1124 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1125 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1127 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1129 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1131 # When building in place, set srcdir=.
1132 if test "$ac_abs_confdir" = "$ac_pwd"; then
1135 # Remove unnecessary trailing slashes from srcdir.
1136 # Double slashes in file names in object file debugging info
1137 # mess up M-x gdb in Emacs.
1139 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1141 for ac_var
in $ac_precious_vars; do
1142 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1143 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1144 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1145 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1149 # Report the --help message.
1151 if test "$ac_init_help" = "long"; then
1152 # Omit some internal or obsolete options to make the list less imposing.
1153 # This message is too long to be a string in the A/UX 3.1 sh.
1155 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1157 Usage: $0 [OPTION]... [VAR=VALUE]...
1159 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1160 VAR=VALUE. See below for descriptions of some of the useful variables.
1162 Defaults for the options are specified in brackets.
1165 -h, --help display this help and exit
1166 --help=short display options specific to this package
1167 --help=recursive display the short help of all the included packages
1168 -V, --version display version information and exit
1169 -q, --quiet, --silent do not print \`checking...' messages
1170 --cache-file=FILE cache test results in FILE [disabled]
1171 -C, --config-cache alias for \`--cache-file=config.cache'
1172 -n, --no-create do not create output files
1173 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1175 Installation directories:
1176 --prefix=PREFIX install architecture-independent files in PREFIX
1177 [$ac_default_prefix]
1178 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1181 By default, \`make install' will install all the files in
1182 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1183 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1184 for instance \`--prefix=\$HOME'.
1186 For better control, use the options below.
1188 Fine tuning of the installation directories:
1189 --bindir=DIR user executables [EPREFIX/bin]
1190 --sbindir=DIR system admin executables [EPREFIX/sbin]
1191 --libexecdir=DIR program executables [EPREFIX/libexec]
1192 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1193 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1194 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1195 --libdir=DIR object code libraries [EPREFIX/lib]
1196 --includedir=DIR C header files [PREFIX/include]
1197 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1198 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1199 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1200 --infodir=DIR info documentation [DATAROOTDIR/info]
1201 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1202 --mandir=DIR man documentation [DATAROOTDIR/man]
1203 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1204 --htmldir=DIR html documentation [DOCDIR]
1205 --dvidir=DIR dvi documentation [DOCDIR]
1206 --pdfdir=DIR pdf documentation [DOCDIR]
1207 --psdir=DIR ps documentation [DOCDIR]
1214 if test -n "$ac_init_help"; then
1215 case $ac_init_help in
1216 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1220 Some influential environment variables
:
1221 CXX C
++ compiler
command
1222 CXXFLAGS C
++ compiler flags
1223 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1224 nonstandard directory
<lib dir
>
1225 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1226 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1227 you have headers
in a nonstandard directory
<include dir
>
1229 Use these variables to override the choices made by
`configure' or to help
1230 it to find libraries and programs with nonstandard names/locations.
1232 Report bugs to <saurik@saurik.com>.
1233 Cycript home page: <http://www.cycript.org/>.
1238 if test "$ac_init_help" = "recursive"; then
1239 # If there are subdirs, report their specific --help.
1240 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1241 test -d "$ac_dir" ||
1242 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1247 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1249 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1250 # A ".." for each directory in $ac_dir_suffix.
1251 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1252 case $ac_top_builddir_sub in
1253 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1254 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1257 ac_abs_top_builddir=$ac_pwd
1258 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1259 # for backward compatibility:
1260 ac_top_builddir=$ac_top_build_prefix
1263 .) # We are building in place.
1265 ac_top_srcdir=$ac_top_builddir_sub
1266 ac_abs_top_srcdir=$ac_pwd ;;
1267 [\\/]* | ?:[\\/]* ) # Absolute name.
1268 ac_srcdir=$srcdir$ac_dir_suffix;
1269 ac_top_srcdir=$srcdir
1270 ac_abs_top_srcdir=$srcdir ;;
1272 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1273 ac_top_srcdir=$ac_top_build_prefix$srcdir
1274 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1276 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1278 cd "$ac_dir" || { ac_status=$?; continue; }
1279 # Check for guested configure.
1280 if test -f "$ac_srcdir/configure.gnu"; then
1282 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1283 elif test -f "$ac_srcdir/configure"; then
1285 $SHELL "$ac_srcdir/configure" --help=recursive
1287 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1289 cd "$ac_pwd" || { ac_status=$?; break; }
1293 test -n "$ac_init_help" && exit $ac_status
1294 if $ac_init_version; then
1296 Cycript configure 0.9
1297 generated by GNU Autoconf 2.64
1299 Copyright (C) 2009 Free Software Foundation, Inc.
1300 This configure script is free software; the Free Software Foundation
1301 gives unlimited permission to copy, distribute and modify it.
1306 ## ------------------------ ##
1307 ## Autoconf initialization. ##
1308 ## ------------------------ ##
1310 # ac_fn_cxx_try_compile LINENO
1311 # ----------------------------
1312 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1313 ac_fn_cxx_try_compile ()
1315 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1316 rm -f conftest.$ac_objext
1317 if { { ac_try="$ac_compile"
1319 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1320 *) ac_try_echo
=$ac_try;;
1322 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1323 $as_echo "$ac_try_echo"; } >&5
1324 (eval "$ac_compile") 2>conftest.err
1326 if test -s conftest.err
; then
1327 grep -v '^ *+' conftest.err
>conftest.er1
1328 cat conftest.er1
>&5
1329 mv -f conftest.er1 conftest.err
1331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1332 test $ac_status = 0; } && {
1333 test -z "$ac_cxx_werror_flag" ||
1334 test ! -s conftest.err
1335 } && test -s conftest.
$ac_objext; then :
1338 $as_echo "$as_me: failed program was:" >&5
1339 sed 's/^/| /' conftest.
$ac_ext >&5
1343 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1346 } # ac_fn_cxx_try_compile
1347 cat >config.log
<<_ACEOF
1348 This file contains any messages produced by compilers while
1349 running configure, to aid debugging if configure makes a mistake.
1351 It was created by Cycript $as_me 0.9, which was
1352 generated by GNU Autoconf 2.64. Invocation command line was
1364 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1365 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1366 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1367 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1368 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1370 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1371 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1373 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1374 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1375 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1376 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1377 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1378 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1379 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1387 test -z "$as_dir" && as_dir
=.
1388 $as_echo "PATH: $as_dir"
1404 # Keep a trace of the command line.
1405 # Strip out --no-create and --no-recursion so they do not pile up.
1406 # Strip out --silent because we don't want to record it for future runs.
1407 # Also quote any args containing shell meta-characters.
1408 # Make two passes to allow for proper duplicate-argument suppression.
1412 ac_must_keep_next
=false
1418 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1419 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1420 | -silent | --silent | --silen | --sile | --sil)
1423 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1426 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1428 as_fn_append ac_configure_args1
" '$ac_arg'"
1429 if test $ac_must_keep_next = true
; then
1430 ac_must_keep_next
=false
# Got value, back to normal.
1433 *=* | --config-cache | -C | -disable-* | --disable-* \
1434 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1435 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1436 | -with-* | --with-* | -without-* | --without-* | --x)
1437 case "$ac_configure_args0 " in
1438 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1441 -* ) ac_must_keep_next
=true
;;
1444 as_fn_append ac_configure_args
" '$ac_arg'"
1449 { ac_configure_args0
=; unset ac_configure_args0
;}
1450 { ac_configure_args1
=; unset ac_configure_args1
;}
1452 # When interrupted or exit'd, cleanup temporary files, and complete
1453 # config.log. We remove comments because anyway the quotes in there
1454 # would cause problems or look ugly.
1455 # WARNING: Use '\'' to represent an apostrophe within the trap.
1456 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1457 trap 'exit_status=$?
1458 # Save into config.log some information that might help in debugging.
1463 ## ---------------- ##
1464 ## Cache variables. ##
1465 ## ---------------- ##
1468 # The following way of writing the cache mishandles newlines in values,
1470 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1471 eval ac_val=\$$ac_var
1475 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1476 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1479 _ | IFS | as_nl) ;; #(
1480 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1481 *) { eval $ac_var=; unset $ac_var;} ;;
1486 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1487 *${as_nl}ac_space=\ *)
1489 "s/'\''/'\''\\\\'\'''\''/g;
1490 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1493 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1501 ## ----------------- ##
1502 ## Output variables. ##
1503 ## ----------------- ##
1506 for ac_var in $ac_subst_vars
1508 eval ac_val=\$$ac_var
1510 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1512 $as_echo "$ac_var='\''$ac_val'\''"
1516 if test -n "$ac_subst_files"; then
1518 ## ------------------- ##
1519 ## File substitutions. ##
1520 ## ------------------- ##
1523 for ac_var
in $ac_subst_files
1525 eval ac_val
=\$
$ac_var
1527 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1529 $as_echo "$ac_var='\''$ac_val'\''"
1534 if test -s confdefs.h; then
1544 test "$ac_signal" != 0 &&
1545 $as_echo "$as_me: caught signal $ac_signal"
1546 $as_echo "$as_me: exit $exit_status"
1548 rm -f core *.core core.conftest.* &&
1549 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1552 for ac_signal
in 1 2 13 15; do
1553 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1557 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1558 rm -f -r conftest
* confdefs.h
1560 $as_echo "/* confdefs.h */" > confdefs.h
1562 # Predefined preprocessor variables.
1564 cat >>confdefs.h
<<_ACEOF
1565 #define PACKAGE_NAME "$PACKAGE_NAME"
1568 cat >>confdefs.h
<<_ACEOF
1569 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1572 cat >>confdefs.h
<<_ACEOF
1573 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1576 cat >>confdefs.h
<<_ACEOF
1577 #define PACKAGE_STRING "$PACKAGE_STRING"
1580 cat >>confdefs.h
<<_ACEOF
1581 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1584 cat >>confdefs.h
<<_ACEOF
1585 #define PACKAGE_URL "$PACKAGE_URL"
1589 # Let the site file select an alternate cache file if it wants to.
1590 # Prefer an explicitly selected file to automatically selected ones.
1593 if test -n "$CONFIG_SITE"; then
1594 ac_site_file1
=$CONFIG_SITE
1595 elif test "x$prefix" != xNONE
; then
1596 ac_site_file1
=$prefix/share
/config.site
1597 ac_site_file2
=$prefix/etc
/config.site
1599 ac_site_file1
=$ac_default_prefix/share
/config.site
1600 ac_site_file2
=$ac_default_prefix/etc
/config.site
1602 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1604 test "x$ac_site_file" = xNONE
&& continue
1605 if test -r "$ac_site_file"; then
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1607 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1608 sed 's/^/| /' "$ac_site_file" >&5
1613 if test -r "$cache_file"; then
1614 # Some versions of bash will fail to source /dev/null (special
1615 # files actually), so we avoid doing that.
1616 if test -f "$cache_file"; then
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1618 $as_echo "$as_me: loading cache $cache_file" >&6;}
1620 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1621 *) .
"./$cache_file";;
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1626 $as_echo "$as_me: creating cache $cache_file" >&6;}
1630 # Check that the precious variables saved in the cache have kept the same
1632 ac_cache_corrupted
=false
1633 for ac_var
in $ac_precious_vars; do
1634 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1635 eval ac_new_set
=\
$ac_env_${ac_var}_set
1636 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1637 eval ac_new_val
=\
$ac_env_${ac_var}_value
1638 case $ac_old_set,$ac_new_set in
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1641 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1642 ac_cache_corrupted
=: ;;
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1645 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1646 ac_cache_corrupted
=: ;;
1649 if test "x$ac_old_val" != "x$ac_new_val"; then
1650 # differences in whitespace do not lead to failure.
1651 ac_old_val_w
=`echo x $ac_old_val`
1652 ac_new_val_w
=`echo x $ac_new_val`
1653 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1655 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1656 ac_cache_corrupted
=:
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1659 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1660 eval $ac_var=\
$ac_old_val
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1663 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1665 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1668 # Pass precious variables to config.status.
1669 if test "$ac_new_set" = set; then
1671 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1672 *) ac_arg
=$ac_var=$ac_new_val ;;
1674 case " $ac_configure_args " in
1675 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1676 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1680 if $ac_cache_corrupted; then
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1684 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1685 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1687 ## -------------------- ##
1688 ## Main body of script. ##
1689 ## -------------------- ##
1692 ac_cpp
='$CPP $CPPFLAGS'
1693 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1694 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1695 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1699 ac_cpp
='$CXXCPP $CPPFLAGS'
1700 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1701 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1702 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
1703 if test -z "$CXX"; then
1704 if test -n "$CCC"; then
1707 if test -n "$ac_tool_prefix"; then
1708 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
1710 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1711 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1713 $as_echo_n "checking for $ac_word... " >&6; }
1714 if test "${ac_cv_prog_CXX+set}" = set; then :
1715 $as_echo_n "(cached) " >&6
1717 if test -n "$CXX"; then
1718 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1724 test -z "$as_dir" && as_dir
=.
1725 for ac_exec_ext
in '' $ac_executable_extensions; do
1726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1727 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
1728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1738 if test -n "$CXX"; then
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
1740 $as_echo "$CXX" >&6; }
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1743 $as_echo "no" >&6; }
1747 test -n "$CXX" && break
1750 if test -z "$CXX"; then
1752 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
1754 # Extract the first word of "$ac_prog", so it can be a program name with args.
1755 set dummy
$ac_prog; ac_word
=$2
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1757 $as_echo_n "checking for $ac_word... " >&6; }
1758 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
1759 $as_echo_n "(cached) " >&6
1761 if test -n "$ac_ct_CXX"; then
1762 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
1764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1768 test -z "$as_dir" && as_dir
=.
1769 for ac_exec_ext
in '' $ac_executable_extensions; do
1770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1771 ac_cv_prog_ac_ct_CXX
="$ac_prog"
1772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1781 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
1782 if test -n "$ac_ct_CXX"; then
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
1784 $as_echo "$ac_ct_CXX" >&6; }
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1787 $as_echo "no" >&6; }
1791 test -n "$ac_ct_CXX" && break
1794 if test "x$ac_ct_CXX" = x
; then
1797 case $cross_compiling:$ac_tool_warned in
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1801 ac_tool_warned
=yes ;;
1809 # Provide some information about the compiler.
1810 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
1813 for ac_option
in --version -v -V -qversion; do
1814 { { ac_try
="$ac_compiler $ac_option >&5"
1816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1817 *) ac_try_echo=$ac_try;;
1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1823 if test -s conftest.err; then
1825 ... rest of stderr output deleted ...
1826 10q' conftest.err >conftest.er1
1827 cat conftest.er1 >&5
1828 rm -f conftest.er1 conftest.err
1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831 test $ac_status = 0; }
1834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1835 /* end confdefs.h. */
1840 FILE *f = fopen ("conftest.out", "w");
1841 return ferror (f) || fclose (f) != 0;
1847 ac_clean_files_save=$ac_clean_files
1848 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
1849 # Try to create an executable without -o first, disregard a.out.
1850 # It will help us diagnose broken compilers, and finding out an intuition
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
1853 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
1854 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1856 # The possible output files:
1857 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
1860 for ac_file in $ac_files
1863 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1864 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
1869 if { { ac_try="$ac_link_default"
1871 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1872 *) ac_try_echo
=$ac_try;;
1874 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1875 $as_echo "$ac_try_echo"; } >&5
1876 (eval "$ac_link_default") 2>&5
1878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1879 test $ac_status = 0; }; then :
1880 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
1881 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
1882 # in a Makefile. We should not override ac_cv_exeext if it was cached,
1883 # so that the user can short-circuit this test for compilers unknown to
1885 for ac_file
in $ac_files ''
1887 test -f "$ac_file" || continue
1889 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
1892 # We found the default executable, but exeext='' is most
1896 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
1898 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1900 # We set ac_cv_exeext here because the later test for it is not
1901 # safe: cross compilers may not add the suffix if given an `-o'
1902 # argument, so we may need to know it at that point already.
1903 # Even if this section looks crufty: it has the advantage of
1910 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
1916 $as_echo "$ac_file" >&6; }
1917 if test -z "$ac_file"; then :
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.
$ac_ext >&5
1921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1923 { as_fn_set_status
77
1924 as_fn_error
"C++ compiler cannot create executables
1925 See \`config.log' for more details." "$LINENO" 5; }; }
1927 ac_exeext
=$ac_cv_exeext
1929 # Check that the compiler produces executables we can run. If not, either
1930 # the compiler is broken, or we cross compile.
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
1932 $as_echo_n "checking whether the C++ compiler works... " >&6; }
1933 # If not cross compiling, check that we can run a simple program.
1934 if test "$cross_compiling" != yes; then
1935 if { ac_try
='./$ac_file'
1936 { { case "(($ac_try" in
1937 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1938 *) ac_try_echo=$ac_try;;
1940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942 (eval "$ac_try") 2>&5
1944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1945 test $ac_status = 0; }; }; then
1948 if test "$cross_compiling" = maybe; then
1951 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1953 as_fn_error "cannot run C
++ compiled programs.
1954 If you meant to cross compile
, use \
`--host'.
1955 See \`config.log
' for more details." "$LINENO" 5; }
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1960 $as_echo "yes" >&6; }
1962 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
1963 ac_clean_files=$ac_clean_files_save
1964 # Check that the compiler produces executables we can run. If not, either
1965 # the compiler is broken, or we cross compile.
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
1967 $as_echo_n "checking whether we are cross compiling... " >&6; }
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
1969 $as_echo "$cross_compiling" >&6; }
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
1972 $as_echo_n "checking for suffix of executables... " >&6; }
1973 if { { ac_try="$ac_link"
1975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1976 *) ac_try_echo=$ac_try;;
1978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1979 $as_echo "$ac_try_echo"; } >&5
1980 (eval "$ac_link") 2>&5
1982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1983 test $ac_status = 0; }; then :
1984 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
1985 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
1986 # work properly (i.e., refer to `conftest.exe
'), while it won't with
1988 for ac_file
in conftest.exe conftest conftest.
*; do
1989 test -f "$ac_file" || continue
1991 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
1992 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1998 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2000 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2001 See \`config.log' for more details." "$LINENO" 5; }
2003 rm -f conftest
$ac_cv_exeext
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2005 $as_echo "$ac_cv_exeext" >&6; }
2007 rm -f conftest.
$ac_ext
2008 EXEEXT
=$ac_cv_exeext
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2011 $as_echo_n "checking for suffix of object files... " >&6; }
2012 if test "${ac_cv_objext+set}" = set; then :
2013 $as_echo_n "(cached) " >&6
2015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2016 /* end confdefs.h. */
2026 rm -f conftest.o conftest.obj
2027 if { { ac_try
="$ac_compile"
2029 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2030 *) ac_try_echo=$ac_try;;
2032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2033 $as_echo "$ac_try_echo"; } >&5
2034 (eval "$ac_compile") 2>&5
2036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2037 test $ac_status = 0; }; then :
2038 for ac_file in conftest.o conftest.obj conftest.*; do
2039 test -f "$ac_file" || continue;
2041 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2042 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2047 $as_echo "$as_me: failed program was:" >&5
2048 sed 's/^/| /' conftest.$ac_ext >&5
2050 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2052 as_fn_error "cannot compute suffix of object files
: cannot compile
2053 See \
`config.log' for more details." "$LINENO" 5; }
2055 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2058 $as_echo "$ac_cv_objext" >&6; }
2059 OBJEXT=$ac_cv_objext
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2062 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2063 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
2064 $as_echo_n "(cached) " >&6
2066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h. */
2080 if ac_fn_cxx_try_compile "$LINENO"; then :
2085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2086 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2090 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2091 if test $ac_compiler_gnu = yes; then
2096 ac_test_CXXFLAGS=${CXXFLAGS+set}
2097 ac_save_CXXFLAGS=$CXXFLAGS
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2099 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2100 if test "${ac_cv_prog_cxx_g+set}" = set; then :
2101 $as_echo_n "(cached) " >&6
2103 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2104 ac_cxx_werror_flag=yes
2107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2118 if ac_fn_cxx_try_compile "$LINENO"; then :
2119 ac_cv_prog_cxx_g=yes
2122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2123 /* end confdefs.h. */
2133 if ac_fn_cxx_try_compile "$LINENO"; then :
2136 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2149 if ac_fn_cxx_try_compile "$LINENO"; then :
2150 ac_cv_prog_cxx_g=yes
2152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2157 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2160 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2161 if test "$ac_test_CXXFLAGS" = set; then
2162 CXXFLAGS=$ac_save_CXXFLAGS
2163 elif test $ac_cv_prog_cxx_g = yes; then
2164 if test "$GXX" = yes; then
2170 if test "$GXX" = yes; then
2177 ac_cpp='$CPP $CPPFLAGS'
2178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2180 ac_compiler_gnu=$ac_cv_c_compiler_gnu