]> git.saurik.com Git - cycript.git/blame - configure
Very very very... very early autoconf stuff.
[cycript.git] / configure
CommitLineData
c7aa54aa
DWT
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.64 for Cycript 0.9.
4#
5# Report bugs to <saurik@saurik.com>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9# Foundation, Inc.
10#
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## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
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+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_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.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52else
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'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81fi
82
83
84# IFS
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.)
89IFS=" "" $as_nl"
90
91# Find who we are. Look in the path if we contain no directory separator.
92case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95for as_dir in $PATH
96do
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101IFS=$as_save_IFS
102
103 ;;
104esac
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.
107if test "x$as_myself" = x; then
108 as_myself=$0
109fi
110if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
113fi
114
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.
119for as_var in BASH_ENV ENV MAIL MAILPATH
120do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122done
123PS1='$ '
124PS2='> '
125PS4='+ '
126
127# NLS nuisances.
128LC_ALL=C
129export LC_ALL
130LANGUAGE=C
131export LANGUAGE
132
133# CDPATH.
134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh
139 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
144else
145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
149 ;;
150esac
151fi
152"
153 as_required="as_fn_return () { (exit \$1); }
154as_fn_success () { as_fn_return 0; }
155as_fn_failure () { as_fn_return 1; }
156as_fn_ret_success () { return 0; }
157as_fn_ret_failure () { return 1; }
158
159exitcode=0
160as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166else
167 exitcode=1; echo positional parameters were not saved.
168fi
169test 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 :
175 as_have_required=yes
176else
177 as_have_required=no
178fi
179 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180
181else
182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183as_found=false
184for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
185do
186 IFS=$as_save_IFS
187 test -z "$as_dir" && as_dir=.
188 as_found=:
189 case $as_dir in #(
190 /*)
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 :
198 break 2
199fi
200fi
201 done;;
202 esac
203 as_found=false
204done
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
208fi; }
209IFS=$as_save_IFS
210
211
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.
216 BASH_ENV=/dev/null
217 ENV=/dev/null
218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 export CONFIG_SHELL
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221fi
222
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."
229 else
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
234$0: have one."
235 fi
236 exit 1
237fi
238fi
239fi
240SHELL=${CONFIG_SHELL-/bin/sh}
241export SHELL
242# Unset more variables known to interfere with behavior of common tools.
243CLICOLOR_FORCE= GREP_OPTIONS=
244unset CLICOLOR_FORCE GREP_OPTIONS
245
246## --------------------- ##
247## M4sh Shell Functions. ##
248## --------------------- ##
249# as_fn_unset VAR
250# ---------------
251# Portably unset VAR.
252as_fn_unset ()
253{
254 { eval $1=; unset $1;}
255}
256as_unset=as_fn_unset
257
258# as_fn_set_status STATUS
259# -----------------------
260# Set $? to STATUS, without forking.
261as_fn_set_status ()
262{
263 return $1
264} # as_fn_set_status
265
266# as_fn_exit STATUS
267# -----------------
268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269as_fn_exit ()
270{
271 set +e
272 as_fn_set_status $1
273 exit $1
274} # as_fn_exit
275
276# as_fn_mkdir_p
277# -------------
278# Create "$as_dir" as a directory, including parents if necessary.
279as_fn_mkdir_p ()
280{
281
282 case $as_dir in #(
283 -*) as_dir=./$as_dir;;
284 esac
285 test -d "$as_dir" || eval $as_mkdir_p || {
286 as_dirs=
287 while :; do
288 case $as_dir in #(
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 *) as_qdir=$as_dir;;
291 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300 s//\1/
301 q
302 }
303 /^X\(\/\/\)[^/].*/{
304 s//\1/
305 q
306 }
307 /^X\(\/\/\)$/{
308 s//\1/
309 q
310 }
311 /^X\(\/\).*/{
312 s//\1/
313 q
314 }
315 s/.*/./; q'`
316 test -d "$as_dir" && break
317 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
321
322} # as_fn_mkdir_p
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
328# implementations.
329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
331 {
332 eval $1+=\$2
333 }'
334else
335 as_fn_append ()
336 {
337 eval $1=\$$1\$2
338 }
339fi # as_fn_append
340
341# as_fn_arith ARG...
342# ------------------
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.
346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347 eval 'as_fn_arith ()
348 {
349 as_val=$(( $* ))
350 }'
351else
352 as_fn_arith ()
353 {
354 as_val=`expr "$@" || test $? -eq 1`
355 }
356fi # as_fn_arith
357
358
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.
364as_fn_error ()
365{
366 as_status=$?; test $as_status -eq 0 && as_status=1
367 if test "$3"; then
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
370 fi
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
373} # as_fn_error
374
375if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
377 as_expr=expr
378else
379 as_expr=false
380fi
381
382if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383 as_basename=basename
384else
385 as_basename=false
386fi
387
388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389 as_dirname=dirname
390else
391 as_dirname=false
392fi
393
394as_me=`$as_basename -- "$0" ||
395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398$as_echo X/"$0" |
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
400 s//\1/
401 q
402 }
403 /^X\/\(\/\/\)$/{
404 s//\1/
405 q
406 }
407 /^X\/\(\/\).*/{
408 s//\1/
409 q
410 }
411 s/.*/./; q'`
412
413# Avoid depending upon Character Ranges.
414as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417as_cr_digits='0123456789'
418as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
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. :-)
426 sed -n '
427 p
428 /[$]LINENO/=
429 ' <$as_myself |
430 sed '
431 s/[$]LINENO.*/&-/
432 t lineno
433 b
434 :lineno
435 N
436 :loop
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 t loop
439 s/-\n.*//
440 ' >$as_me.lineno &&
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; }
443
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).
447 . "./$as_me.lineno"
448 # Exit status is that of the last command.
449 exit
450}
451
452ECHO_C= ECHO_N= ECHO_T=
453case `echo -n x` in #(((((
454-n*)
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457 xy) ECHO_C='\c';;
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
459 ECHO_T=' ';;
460 esac;;
461*)
462 ECHO_N='-n';;
463esac
464
465rm -f conf$$ conf$$.exe conf$$.file
466if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
468else
469 rm -f conf$$.dir
470 mkdir conf$$.dir 2>/dev/null
471fi
472if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 as_ln_s='ln -s'
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 ||
480 as_ln_s='cp -p'
481 elif ln conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s=ln
483 else
484 as_ln_s='cp -p'
485 fi
486else
487 as_ln_s='cp -p'
488fi
489rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490rmdir conf$$.dir 2>/dev/null
491
492if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
494else
495 test -d ./-p && rmdir ./-p
496 as_mkdir_p=false
497fi
498
499if test -x / >/dev/null 2>&1; then
500 as_test_x='test -x'
501else
502 if ls -dL / >/dev/null 2>&1; then
503 as_ls_L_option=L
504 else
505 as_ls_L_option=
506 fi
507 as_test_x='
508 eval sh -c '\''
509 if test -d "$1"; then
510 test -d "$1/.";
511 else
512 case $1 in #(
513 -*)set "./$1";;
514 esac;
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
517 '\'' sh
518 '
519fi
520as_executable_p=$as_test_x
521
522# Sed expression to map a string onto a valid CPP name.
523as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525# Sed expression to map a string onto a valid variable name.
526as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529exec 7<&0 </dev/null 6>&1
530
531# Name of the host.
532# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533# so uname gets run too.
534ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
535
536#
537# Initializations.
538#
539ac_default_prefix=/usr/local
540ac_clean_files=
541ac_config_libobj_dir=.
542LIBOBJS=
543cross_compiling=no
544subdirs=
545MFLAGS=
546MAKEFLAGS=
547
548# Identity of this package.
549PACKAGE_NAME='Cycript'
550PACKAGE_TARNAME='cycript'
551PACKAGE_VERSION='0.9'
552PACKAGE_STRING='Cycript 0.9'
553PACKAGE_BUGREPORT='saurik@saurik.com'
554PACKAGE_URL='http://www.cycript.org/'
555
556ac_subst_vars='target_alias
557host_alias
558build_alias
559LIBS
560ECHO_T
561ECHO_N
562ECHO_C
563DEFS
564mandir
565localedir
566libdir
567psdir
568pdfdir
569dvidir
570htmldir
571infodir
572docdir
573oldincludedir
574includedir
575localstatedir
576sharedstatedir
577sysconfdir
578datadir
579datarootdir
580libexecdir
581sbindir
582bindir
583program_transform_name
584prefix
585exec_prefix
586PACKAGE_URL
587PACKAGE_BUGREPORT
588PACKAGE_STRING
589PACKAGE_VERSION
590PACKAGE_TARNAME
591PACKAGE_NAME
592PATH_SEPARATOR
593SHELL'
594ac_subst_files=''
595ac_user_opts='
596enable_option_checking
597'
598 ac_precious_vars='build_alias
599host_alias
600target_alias'
601
602
603# Initialize some variables set by options.
604ac_init_help=
605ac_init_version=false
606ac_unrecognized_opts=
607ac_unrecognized_sep=
608# The variables have the same names as the options, with
609# dashes changed to underlines.
610cache_file=/dev/null
611exec_prefix=NONE
612no_create=
613no_recursion=
614prefix=NONE
615program_prefix=NONE
616program_suffix=NONE
617program_transform_name=s,x,x,
618silent=
619site=
620srcdir=
621verbose=
622x_includes=NONE
623x_libraries=NONE
624
625# Installation directory options.
626# These are left unexpanded so users can "make install exec_prefix=/foo"
627# and all the variables that are supposed to be based on exec_prefix
628# by default will actually change.
629# Use braces instead of parens because sh, perl, etc. also accept them.
630# (The list follows the same order as the GNU Coding Standards.)
631bindir='${exec_prefix}/bin'
632sbindir='${exec_prefix}/sbin'
633libexecdir='${exec_prefix}/libexec'
634datarootdir='${prefix}/share'
635datadir='${datarootdir}'
636sysconfdir='${prefix}/etc'
637sharedstatedir='${prefix}/com'
638localstatedir='${prefix}/var'
639includedir='${prefix}/include'
640oldincludedir='/usr/include'
641docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
642infodir='${datarootdir}/info'
643htmldir='${docdir}'
644dvidir='${docdir}'
645pdfdir='${docdir}'
646psdir='${docdir}'
647libdir='${exec_prefix}/lib'
648localedir='${datarootdir}/locale'
649mandir='${datarootdir}/man'
650
651ac_prev=
652ac_dashdash=
653for ac_option
654do
655 # If the previous option needs an argument, assign it.
656 if test -n "$ac_prev"; then
657 eval $ac_prev=\$ac_option
658 ac_prev=
659 continue
660 fi
661
662 case $ac_option in
663 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
664 *) ac_optarg=yes ;;
665 esac
666
667 # Accept the important Cygnus configure options, so we can diagnose typos.
668
669 case $ac_dashdash$ac_option in
670 --)
671 ac_dashdash=yes ;;
672
673 -bindir | --bindir | --bindi | --bind | --bin | --bi)
674 ac_prev=bindir ;;
675 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
676 bindir=$ac_optarg ;;
677
678 -build | --build | --buil | --bui | --bu)
679 ac_prev=build_alias ;;
680 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
681 build_alias=$ac_optarg ;;
682
683 -cache-file | --cache-file | --cache-fil | --cache-fi \
684 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
685 ac_prev=cache_file ;;
686 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
687 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
688 cache_file=$ac_optarg ;;
689
690 --config-cache | -C)
691 cache_file=config.cache ;;
692
693 -datadir | --datadir | --datadi | --datad)
694 ac_prev=datadir ;;
695 -datadir=* | --datadir=* | --datadi=* | --datad=*)
696 datadir=$ac_optarg ;;
697
698 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
699 | --dataroo | --dataro | --datar)
700 ac_prev=datarootdir ;;
701 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
702 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
703 datarootdir=$ac_optarg ;;
704
705 -disable-* | --disable-*)
706 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
707 # Reject names that are not valid shell variable names.
708 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
709 as_fn_error "invalid feature name: $ac_useropt"
710 ac_useropt_orig=$ac_useropt
711 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
712 case $ac_user_opts in
713 *"
714"enable_$ac_useropt"
715"*) ;;
716 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
717 ac_unrecognized_sep=', ';;
718 esac
719 eval enable_$ac_useropt=no ;;
720
721 -docdir | --docdir | --docdi | --doc | --do)
722 ac_prev=docdir ;;
723 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
724 docdir=$ac_optarg ;;
725
726 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
727 ac_prev=dvidir ;;
728 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
729 dvidir=$ac_optarg ;;
730
731 -enable-* | --enable-*)
732 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
733 # Reject names that are not valid shell variable names.
734 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
735 as_fn_error "invalid feature name: $ac_useropt"
736 ac_useropt_orig=$ac_useropt
737 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
738 case $ac_user_opts in
739 *"
740"enable_$ac_useropt"
741"*) ;;
742 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
743 ac_unrecognized_sep=', ';;
744 esac
745 eval enable_$ac_useropt=\$ac_optarg ;;
746
747 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
748 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
749 | --exec | --exe | --ex)
750 ac_prev=exec_prefix ;;
751 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
752 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
753 | --exec=* | --exe=* | --ex=*)
754 exec_prefix=$ac_optarg ;;
755
756 -gas | --gas | --ga | --g)
757 # Obsolete; use --with-gas.
758 with_gas=yes ;;
759
760 -help | --help | --hel | --he | -h)
761 ac_init_help=long ;;
762 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
763 ac_init_help=recursive ;;
764 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
765 ac_init_help=short ;;
766
767 -host | --host | --hos | --ho)
768 ac_prev=host_alias ;;
769 -host=* | --host=* | --hos=* | --ho=*)
770 host_alias=$ac_optarg ;;
771
772 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
773 ac_prev=htmldir ;;
774 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
775 | --ht=*)
776 htmldir=$ac_optarg ;;
777
778 -includedir | --includedir | --includedi | --included | --include \
779 | --includ | --inclu | --incl | --inc)
780 ac_prev=includedir ;;
781 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
782 | --includ=* | --inclu=* | --incl=* | --inc=*)
783 includedir=$ac_optarg ;;
784
785 -infodir | --infodir | --infodi | --infod | --info | --inf)
786 ac_prev=infodir ;;
787 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
788 infodir=$ac_optarg ;;
789
790 -libdir | --libdir | --libdi | --libd)
791 ac_prev=libdir ;;
792 -libdir=* | --libdir=* | --libdi=* | --libd=*)
793 libdir=$ac_optarg ;;
794
795 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
796 | --libexe | --libex | --libe)
797 ac_prev=libexecdir ;;
798 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
799 | --libexe=* | --libex=* | --libe=*)
800 libexecdir=$ac_optarg ;;
801
802 -localedir | --localedir | --localedi | --localed | --locale)
803 ac_prev=localedir ;;
804 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
805 localedir=$ac_optarg ;;
806
807 -localstatedir | --localstatedir | --localstatedi | --localstated \
808 | --localstate | --localstat | --localsta | --localst | --locals)
809 ac_prev=localstatedir ;;
810 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
811 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
812 localstatedir=$ac_optarg ;;
813
814 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
815 ac_prev=mandir ;;
816 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
817 mandir=$ac_optarg ;;
818
819 -nfp | --nfp | --nf)
820 # Obsolete; use --without-fp.
821 with_fp=no ;;
822
823 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
824 | --no-cr | --no-c | -n)
825 no_create=yes ;;
826
827 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
828 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
829 no_recursion=yes ;;
830
831 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
832 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
833 | --oldin | --oldi | --old | --ol | --o)
834 ac_prev=oldincludedir ;;
835 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
836 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
837 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
838 oldincludedir=$ac_optarg ;;
839
840 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
841 ac_prev=prefix ;;
842 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
843 prefix=$ac_optarg ;;
844
845 -program-prefix | --program-prefix | --program-prefi | --program-pref \
846 | --program-pre | --program-pr | --program-p)
847 ac_prev=program_prefix ;;
848 -program-prefix=* | --program-prefix=* | --program-prefi=* \
849 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
850 program_prefix=$ac_optarg ;;
851
852 -program-suffix | --program-suffix | --program-suffi | --program-suff \
853 | --program-suf | --program-su | --program-s)
854 ac_prev=program_suffix ;;
855 -program-suffix=* | --program-suffix=* | --program-suffi=* \
856 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
857 program_suffix=$ac_optarg ;;
858
859 -program-transform-name | --program-transform-name \
860 | --program-transform-nam | --program-transform-na \
861 | --program-transform-n | --program-transform- \
862 | --program-transform | --program-transfor \
863 | --program-transfo | --program-transf \
864 | --program-trans | --program-tran \
865 | --progr-tra | --program-tr | --program-t)
866 ac_prev=program_transform_name ;;
867 -program-transform-name=* | --program-transform-name=* \
868 | --program-transform-nam=* | --program-transform-na=* \
869 | --program-transform-n=* | --program-transform-=* \
870 | --program-transform=* | --program-transfor=* \
871 | --program-transfo=* | --program-transf=* \
872 | --program-trans=* | --program-tran=* \
873 | --progr-tra=* | --program-tr=* | --program-t=*)
874 program_transform_name=$ac_optarg ;;
875
876 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
877 ac_prev=pdfdir ;;
878 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
879 pdfdir=$ac_optarg ;;
880
881 -psdir | --psdir | --psdi | --psd | --ps)
882 ac_prev=psdir ;;
883 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
884 psdir=$ac_optarg ;;
885
886 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
887 | -silent | --silent | --silen | --sile | --sil)
888 silent=yes ;;
889
890 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
891 ac_prev=sbindir ;;
892 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
893 | --sbi=* | --sb=*)
894 sbindir=$ac_optarg ;;
895
896 -sharedstatedir | --sharedstatedir | --sharedstatedi \
897 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
898 | --sharedst | --shareds | --shared | --share | --shar \
899 | --sha | --sh)
900 ac_prev=sharedstatedir ;;
901 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
902 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
903 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
904 | --sha=* | --sh=*)
905 sharedstatedir=$ac_optarg ;;
906
907 -site | --site | --sit)
908 ac_prev=site ;;
909 -site=* | --site=* | --sit=*)
910 site=$ac_optarg ;;
911
912 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
913 ac_prev=srcdir ;;
914 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
915 srcdir=$ac_optarg ;;
916
917 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
918 | --syscon | --sysco | --sysc | --sys | --sy)
919 ac_prev=sysconfdir ;;
920 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
921 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
922 sysconfdir=$ac_optarg ;;
923
924 -target | --target | --targe | --targ | --tar | --ta | --t)
925 ac_prev=target_alias ;;
926 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
927 target_alias=$ac_optarg ;;
928
929 -v | -verbose | --verbose | --verbos | --verbo | --verb)
930 verbose=yes ;;
931
932 -version | --version | --versio | --versi | --vers | -V)
933 ac_init_version=: ;;
934
935 -with-* | --with-*)
936 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
937 # Reject names that are not valid shell variable names.
938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
939 as_fn_error "invalid package name: $ac_useropt"
940 ac_useropt_orig=$ac_useropt
941 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942 case $ac_user_opts in
943 *"
944"with_$ac_useropt"
945"*) ;;
946 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
947 ac_unrecognized_sep=', ';;
948 esac
949 eval with_$ac_useropt=\$ac_optarg ;;
950
951 -without-* | --without-*)
952 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
955 as_fn_error "invalid package name: $ac_useropt"
956 ac_useropt_orig=$ac_useropt
957 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958 case $ac_user_opts in
959 *"
960"with_$ac_useropt"
961"*) ;;
962 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
963 ac_unrecognized_sep=', ';;
964 esac
965 eval with_$ac_useropt=no ;;
966
967 --x)
968 # Obsolete; use --with-x.
969 with_x=yes ;;
970
971 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
972 | --x-incl | --x-inc | --x-in | --x-i)
973 ac_prev=x_includes ;;
974 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
975 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
976 x_includes=$ac_optarg ;;
977
978 -x-libraries | --x-libraries | --x-librarie | --x-librari \
979 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
980 ac_prev=x_libraries ;;
981 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
982 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
983 x_libraries=$ac_optarg ;;
984
985 -*) as_fn_error "unrecognized option: \`$ac_option'
986Try \`$0 --help' for more information."
987 ;;
988
989 *=*)
990 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
991 # Reject names that are not valid shell variable names.
992 case $ac_envvar in #(
993 '' | [0-9]* | *[!_$as_cr_alnum]* )
994 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
995 esac
996 eval $ac_envvar=\$ac_optarg
997 export $ac_envvar ;;
998
999 *)
1000 # FIXME: should be removed in autoconf 3.0.
1001 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1002 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1003 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1004 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1005 ;;
1006
1007 esac
1008done
1009
1010if test -n "$ac_prev"; then
1011 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1012 as_fn_error "missing argument to $ac_option"
1013fi
1014
1015if test -n "$ac_unrecognized_opts"; then
1016 case $enable_option_checking in
1017 no) ;;
1018 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1019 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1020 esac
1021fi
1022
1023# Check all directory arguments for consistency.
1024for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1025 datadir sysconfdir sharedstatedir localstatedir includedir \
1026 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1027 libdir localedir mandir
1028do
1029 eval ac_val=\$$ac_var
1030 # Remove trailing slashes.
1031 case $ac_val in
1032 */ )
1033 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1034 eval $ac_var=\$ac_val;;
1035 esac
1036 # Be sure to have absolute directory names.
1037 case $ac_val in
1038 [\\/$]* | ?:[\\/]* ) continue;;
1039 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1040 esac
1041 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1042done
1043
1044# There might be people who depend on the old broken behavior: `$host'
1045# used to hold the argument of --host etc.
1046# FIXME: To remove some day.
1047build=$build_alias
1048host=$host_alias
1049target=$target_alias
1050
1051# FIXME: To remove some day.
1052if test "x$host_alias" != x; then
1053 if test "x$build_alias" = x; then
1054 cross_compiling=maybe
1055 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1056 If a cross compiler is detected then cross compile mode will be used." >&2
1057 elif test "x$build_alias" != "x$host_alias"; then
1058 cross_compiling=yes
1059 fi
1060fi
1061
1062ac_tool_prefix=
1063test -n "$host_alias" && ac_tool_prefix=$host_alias-
1064
1065test "$silent" = yes && exec 6>/dev/null
1066
1067
1068ac_pwd=`pwd` && test -n "$ac_pwd" &&
1069ac_ls_di=`ls -di .` &&
1070ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1071 as_fn_error "working directory cannot be determined"
1072test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1073 as_fn_error "pwd does not report name of working directory"
1074
1075
1076# Find the source files, if location was not specified.
1077if test -z "$srcdir"; then
1078 ac_srcdir_defaulted=yes
1079 # Try the directory containing this script, then the parent directory.
1080 ac_confdir=`$as_dirname -- "$as_myself" ||
1081$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1082 X"$as_myself" : 'X\(//\)[^/]' \| \
1083 X"$as_myself" : 'X\(//\)$' \| \
1084 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1085$as_echo X"$as_myself" |
1086 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1087 s//\1/
1088 q
1089 }
1090 /^X\(\/\/\)[^/].*/{
1091 s//\1/
1092 q
1093 }
1094 /^X\(\/\/\)$/{
1095 s//\1/
1096 q
1097 }
1098 /^X\(\/\).*/{
1099 s//\1/
1100 q
1101 }
1102 s/.*/./; q'`
1103 srcdir=$ac_confdir
1104 if test ! -r "$srcdir/$ac_unique_file"; then
1105 srcdir=..
1106 fi
1107else
1108 ac_srcdir_defaulted=no
1109fi
1110if test ! -r "$srcdir/$ac_unique_file"; then
1111 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1112 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1113fi
1114ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1115ac_abs_confdir=`(
1116 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1117 pwd)`
1118# When building in place, set srcdir=.
1119if test "$ac_abs_confdir" = "$ac_pwd"; then
1120 srcdir=.
1121fi
1122# Remove unnecessary trailing slashes from srcdir.
1123# Double slashes in file names in object file debugging info
1124# mess up M-x gdb in Emacs.
1125case $srcdir in
1126*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1127esac
1128for ac_var in $ac_precious_vars; do
1129 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1130 eval ac_env_${ac_var}_value=\$${ac_var}
1131 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1132 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1133done
1134
1135#
1136# Report the --help message.
1137#
1138if test "$ac_init_help" = "long"; then
1139 # Omit some internal or obsolete options to make the list less imposing.
1140 # This message is too long to be a string in the A/UX 3.1 sh.
1141 cat <<_ACEOF
1142\`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1143
1144Usage: $0 [OPTION]... [VAR=VALUE]...
1145
1146To assign environment variables (e.g., CC, CFLAGS...), specify them as
1147VAR=VALUE. See below for descriptions of some of the useful variables.
1148
1149Defaults for the options are specified in brackets.
1150
1151Configuration:
1152 -h, --help display this help and exit
1153 --help=short display options specific to this package
1154 --help=recursive display the short help of all the included packages
1155 -V, --version display version information and exit
1156 -q, --quiet, --silent do not print \`checking...' messages
1157 --cache-file=FILE cache test results in FILE [disabled]
1158 -C, --config-cache alias for \`--cache-file=config.cache'
1159 -n, --no-create do not create output files
1160 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1161
1162Installation directories:
1163 --prefix=PREFIX install architecture-independent files in PREFIX
1164 [$ac_default_prefix]
1165 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1166 [PREFIX]
1167
1168By default, \`make install' will install all the files in
1169\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1170an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1171for instance \`--prefix=\$HOME'.
1172
1173For better control, use the options below.
1174
1175Fine tuning of the installation directories:
1176 --bindir=DIR user executables [EPREFIX/bin]
1177 --sbindir=DIR system admin executables [EPREFIX/sbin]
1178 --libexecdir=DIR program executables [EPREFIX/libexec]
1179 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1180 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1181 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1182 --libdir=DIR object code libraries [EPREFIX/lib]
1183 --includedir=DIR C header files [PREFIX/include]
1184 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1185 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1186 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1187 --infodir=DIR info documentation [DATAROOTDIR/info]
1188 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1189 --mandir=DIR man documentation [DATAROOTDIR/man]
1190 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1191 --htmldir=DIR html documentation [DOCDIR]
1192 --dvidir=DIR dvi documentation [DOCDIR]
1193 --pdfdir=DIR pdf documentation [DOCDIR]
1194 --psdir=DIR ps documentation [DOCDIR]
1195_ACEOF
1196
1197 cat <<\_ACEOF
1198_ACEOF
1199fi
1200
1201if test -n "$ac_init_help"; then
1202 case $ac_init_help in
1203 short | recursive ) echo "Configuration of Cycript 0.9:";;
1204 esac
1205 cat <<\_ACEOF
1206
1207Report bugs to <saurik@saurik.com>.
1208Cycript home page: <http://www.cycript.org/>.
1209_ACEOF
1210ac_status=$?
1211fi
1212
1213if test "$ac_init_help" = "recursive"; then
1214 # If there are subdirs, report their specific --help.
1215 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1216 test -d "$ac_dir" ||
1217 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1218 continue
1219 ac_builddir=.
1220
1221case "$ac_dir" in
1222.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1223*)
1224 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1225 # A ".." for each directory in $ac_dir_suffix.
1226 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1227 case $ac_top_builddir_sub in
1228 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1229 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1230 esac ;;
1231esac
1232ac_abs_top_builddir=$ac_pwd
1233ac_abs_builddir=$ac_pwd$ac_dir_suffix
1234# for backward compatibility:
1235ac_top_builddir=$ac_top_build_prefix
1236
1237case $srcdir in
1238 .) # We are building in place.
1239 ac_srcdir=.
1240 ac_top_srcdir=$ac_top_builddir_sub
1241 ac_abs_top_srcdir=$ac_pwd ;;
1242 [\\/]* | ?:[\\/]* ) # Absolute name.
1243 ac_srcdir=$srcdir$ac_dir_suffix;
1244 ac_top_srcdir=$srcdir
1245 ac_abs_top_srcdir=$srcdir ;;
1246 *) # Relative name.
1247 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1248 ac_top_srcdir=$ac_top_build_prefix$srcdir
1249 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1250esac
1251ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1252
1253 cd "$ac_dir" || { ac_status=$?; continue; }
1254 # Check for guested configure.
1255 if test -f "$ac_srcdir/configure.gnu"; then
1256 echo &&
1257 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1258 elif test -f "$ac_srcdir/configure"; then
1259 echo &&
1260 $SHELL "$ac_srcdir/configure" --help=recursive
1261 else
1262 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1263 fi || ac_status=$?
1264 cd "$ac_pwd" || { ac_status=$?; break; }
1265 done
1266fi
1267
1268test -n "$ac_init_help" && exit $ac_status
1269if $ac_init_version; then
1270 cat <<\_ACEOF
1271Cycript configure 0.9
1272generated by GNU Autoconf 2.64
1273
1274Copyright (C) 2009 Free Software Foundation, Inc.
1275This configure script is free software; the Free Software Foundation
1276gives unlimited permission to copy, distribute and modify it.
1277_ACEOF
1278 exit
1279fi
1280
1281## ------------------------ ##
1282## Autoconf initialization. ##
1283## ------------------------ ##
1284cat >config.log <<_ACEOF
1285This file contains any messages produced by compilers while
1286running configure, to aid debugging if configure makes a mistake.
1287
1288It was created by Cycript $as_me 0.9, which was
1289generated by GNU Autoconf 2.64. Invocation command line was
1290
1291 $ $0 $@
1292
1293_ACEOF
1294exec 5>>config.log
1295{
1296cat <<_ASUNAME
1297## --------- ##
1298## Platform. ##
1299## --------- ##
1300
1301hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1302uname -m = `(uname -m) 2>/dev/null || echo unknown`
1303uname -r = `(uname -r) 2>/dev/null || echo unknown`
1304uname -s = `(uname -s) 2>/dev/null || echo unknown`
1305uname -v = `(uname -v) 2>/dev/null || echo unknown`
1306
1307/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1308/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1309
1310/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1311/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1312/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1313/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1314/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1315/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1316/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1317
1318_ASUNAME
1319
1320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1321for as_dir in $PATH
1322do
1323 IFS=$as_save_IFS
1324 test -z "$as_dir" && as_dir=.
1325 $as_echo "PATH: $as_dir"
1326 done
1327IFS=$as_save_IFS
1328
1329} >&5
1330
1331cat >&5 <<_ACEOF
1332
1333
1334## ----------- ##
1335## Core tests. ##
1336## ----------- ##
1337
1338_ACEOF
1339
1340
1341# Keep a trace of the command line.
1342# Strip out --no-create and --no-recursion so they do not pile up.
1343# Strip out --silent because we don't want to record it for future runs.
1344# Also quote any args containing shell meta-characters.
1345# Make two passes to allow for proper duplicate-argument suppression.
1346ac_configure_args=
1347ac_configure_args0=
1348ac_configure_args1=
1349ac_must_keep_next=false
1350for ac_pass in 1 2
1351do
1352 for ac_arg
1353 do
1354 case $ac_arg in
1355 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1356 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1357 | -silent | --silent | --silen | --sile | --sil)
1358 continue ;;
1359 *\'*)
1360 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1361 esac
1362 case $ac_pass in
1363 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1364 2)
1365 as_fn_append ac_configure_args1 " '$ac_arg'"
1366 if test $ac_must_keep_next = true; then
1367 ac_must_keep_next=false # Got value, back to normal.
1368 else
1369 case $ac_arg in
1370 *=* | --config-cache | -C | -disable-* | --disable-* \
1371 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1372 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1373 | -with-* | --with-* | -without-* | --without-* | --x)
1374 case "$ac_configure_args0 " in
1375 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1376 esac
1377 ;;
1378 -* ) ac_must_keep_next=true ;;
1379 esac
1380 fi
1381 as_fn_append ac_configure_args " '$ac_arg'"
1382 ;;
1383 esac
1384 done
1385done
1386{ ac_configure_args0=; unset ac_configure_args0;}
1387{ ac_configure_args1=; unset ac_configure_args1;}
1388
1389# When interrupted or exit'd, cleanup temporary files, and complete
1390# config.log. We remove comments because anyway the quotes in there
1391# would cause problems or look ugly.
1392# WARNING: Use '\'' to represent an apostrophe within the trap.
1393# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1394trap 'exit_status=$?
1395 # Save into config.log some information that might help in debugging.
1396 {
1397 echo
1398
1399 cat <<\_ASBOX
1400## ---------------- ##
1401## Cache variables. ##
1402## ---------------- ##
1403_ASBOX
1404 echo
1405 # The following way of writing the cache mishandles newlines in values,
1406(
1407 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1408 eval ac_val=\$$ac_var
1409 case $ac_val in #(
1410 *${as_nl}*)
1411 case $ac_var in #(
1412 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1413$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1414 esac
1415 case $ac_var in #(
1416 _ | IFS | as_nl) ;; #(
1417 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1418 *) { eval $ac_var=; unset $ac_var;} ;;
1419 esac ;;
1420 esac
1421 done
1422 (set) 2>&1 |
1423 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1424 *${as_nl}ac_space=\ *)
1425 sed -n \
1426 "s/'\''/'\''\\\\'\'''\''/g;
1427 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1428 ;; #(
1429 *)
1430 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1431 ;;
1432 esac |
1433 sort
1434)
1435 echo
1436
1437 cat <<\_ASBOX
1438## ----------------- ##
1439## Output variables. ##
1440## ----------------- ##
1441_ASBOX
1442 echo
1443 for ac_var in $ac_subst_vars
1444 do
1445 eval ac_val=\$$ac_var
1446 case $ac_val in
1447 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1448 esac
1449 $as_echo "$ac_var='\''$ac_val'\''"
1450 done | sort
1451 echo
1452
1453 if test -n "$ac_subst_files"; then
1454 cat <<\_ASBOX
1455## ------------------- ##
1456## File substitutions. ##
1457## ------------------- ##
1458_ASBOX
1459 echo
1460 for ac_var in $ac_subst_files
1461 do
1462 eval ac_val=\$$ac_var
1463 case $ac_val in
1464 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1465 esac
1466 $as_echo "$ac_var='\''$ac_val'\''"
1467 done | sort
1468 echo
1469 fi
1470
1471 if test -s confdefs.h; then
1472 cat <<\_ASBOX
1473## ----------- ##
1474## confdefs.h. ##
1475## ----------- ##
1476_ASBOX
1477 echo
1478 cat confdefs.h
1479 echo
1480 fi
1481 test "$ac_signal" != 0 &&
1482 $as_echo "$as_me: caught signal $ac_signal"
1483 $as_echo "$as_me: exit $exit_status"
1484 } >&5
1485 rm -f core *.core core.conftest.* &&
1486 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1487 exit $exit_status
1488' 0
1489for ac_signal in 1 2 13 15; do
1490 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1491done
1492ac_signal=0
1493
1494# confdefs.h avoids OS command line length limits that DEFS can exceed.
1495rm -f -r conftest* confdefs.h
1496
1497$as_echo "/* confdefs.h */" > confdefs.h
1498
1499# Predefined preprocessor variables.
1500
1501cat >>confdefs.h <<_ACEOF
1502#define PACKAGE_NAME "$PACKAGE_NAME"
1503_ACEOF
1504
1505cat >>confdefs.h <<_ACEOF
1506#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1507_ACEOF
1508
1509cat >>confdefs.h <<_ACEOF
1510#define PACKAGE_VERSION "$PACKAGE_VERSION"
1511_ACEOF
1512
1513cat >>confdefs.h <<_ACEOF
1514#define PACKAGE_STRING "$PACKAGE_STRING"
1515_ACEOF
1516
1517cat >>confdefs.h <<_ACEOF
1518#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1519_ACEOF
1520
1521cat >>confdefs.h <<_ACEOF
1522#define PACKAGE_URL "$PACKAGE_URL"
1523_ACEOF
1524
1525
1526# Let the site file select an alternate cache file if it wants to.
1527# Prefer an explicitly selected file to automatically selected ones.
1528ac_site_file1=NONE
1529ac_site_file2=NONE
1530if test -n "$CONFIG_SITE"; then
1531 ac_site_file1=$CONFIG_SITE
1532elif test "x$prefix" != xNONE; then
1533 ac_site_file1=$prefix/share/config.site
1534 ac_site_file2=$prefix/etc/config.site
1535else
1536 ac_site_file1=$ac_default_prefix/share/config.site
1537 ac_site_file2=$ac_default_prefix/etc/config.site
1538fi
1539for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1540do
1541 test "x$ac_site_file" = xNONE && continue
1542 if test -r "$ac_site_file"; then
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1544$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1545 sed 's/^/| /' "$ac_site_file" >&5
1546 . "$ac_site_file"
1547 fi
1548done
1549
1550if test -r "$cache_file"; then
1551 # Some versions of bash will fail to source /dev/null (special
1552 # files actually), so we avoid doing that.
1553 if test -f "$cache_file"; then
1554 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1555$as_echo "$as_me: loading cache $cache_file" >&6;}
1556 case $cache_file in
1557 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1558 *) . "./$cache_file";;
1559 esac
1560 fi
1561else
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1563$as_echo "$as_me: creating cache $cache_file" >&6;}
1564 >$cache_file
1565fi
1566
1567# Check that the precious variables saved in the cache have kept the same
1568# value.
1569ac_cache_corrupted=false
1570for ac_var in $ac_precious_vars; do
1571 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1572 eval ac_new_set=\$ac_env_${ac_var}_set
1573 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1574 eval ac_new_val=\$ac_env_${ac_var}_value
1575 case $ac_old_set,$ac_new_set in
1576 set,)
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1578$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1579 ac_cache_corrupted=: ;;
1580 ,set)
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1582$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1583 ac_cache_corrupted=: ;;
1584 ,);;
1585 *)
1586 if test "x$ac_old_val" != "x$ac_new_val"; then
1587 # differences in whitespace do not lead to failure.
1588 ac_old_val_w=`echo x $ac_old_val`
1589 ac_new_val_w=`echo x $ac_new_val`
1590 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1592$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1593 ac_cache_corrupted=:
1594 else
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1596$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1597 eval $ac_var=\$ac_old_val
1598 fi
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1600$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1602$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1603 fi;;
1604 esac
1605 # Pass precious variables to config.status.
1606 if test "$ac_new_set" = set; then
1607 case $ac_new_val in
1608 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1609 *) ac_arg=$ac_var=$ac_new_val ;;
1610 esac
1611 case " $ac_configure_args " in
1612 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1613 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1614 esac
1615 fi
1616done
1617if $ac_cache_corrupted; then
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1619$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1621$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1622 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1623fi
1624## -------------------- ##
1625## Main body of script. ##
1626## -------------------- ##
1627
1628ac_ext=c
1629ac_cpp='$CPP $CPPFLAGS'
1630ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1631ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1632ac_compiler_gnu=$ac_cv_c_compiler_gnu
1633
1634