2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for jody 0.1.0.
5 # Report bugs to <jonathan dot wheelhouse at gmail.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and jonathan dot
234 $0: wheelhouse at gmail.com about your system, including
235 $0: any error possibly output before this message. Then
236 $0: install a modern shell, or manually run the script
237 $0: under such a shell if you do have one."
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
322 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status
=$?
; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir
-p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix
=/usr
/local
545 ac_config_libobj_dir
=.
552 # Identity of this package.
554 PACKAGE_TARNAME
='jody'
555 PACKAGE_VERSION
='0.1.0'
556 PACKAGE_STRING
='jody 0.1.0'
557 PACKAGE_BUGREPORT
='jonathan dot wheelhouse at gmail.com'
560 ac_unique_file
="src/main.c"
561 # Factoring default headers for most tests.
562 ac_includes_default
="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
597 ac_subst_vars
='am__EXEEXT_FALSE
631 INSTALL_STRIP_PROGRAM
673 program_transform_name
686 enable_option_checking
687 enable_dependency_tracking
692 ac_precious_vars
='build_alias
703 # Initialize some variables set by options.
705 ac_init_version
=false
706 ac_unrecognized_opts
=
708 # The variables have the same names as the options, with
709 # dashes changed to underlines.
717 program_transform_name
=s
,x
,x
,
725 # Installation directory options.
726 # These are left unexpanded so users can "make install exec_prefix=/foo"
727 # and all the variables that are supposed to be based on exec_prefix
728 # by default will actually change.
729 # Use braces instead of parens because sh, perl, etc. also accept them.
730 # (The list follows the same order as the GNU Coding Standards.)
731 bindir
='${exec_prefix}/bin'
732 sbindir
='${exec_prefix}/sbin'
733 libexecdir
='${exec_prefix}/libexec'
734 datarootdir
='${prefix}/share'
735 datadir
='${datarootdir}'
736 sysconfdir
='${prefix}/etc'
737 sharedstatedir
='${prefix}/com'
738 localstatedir
='${prefix}/var'
739 includedir
='${prefix}/include'
740 oldincludedir
='/usr/include'
741 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
742 infodir
='${datarootdir}/info'
747 libdir
='${exec_prefix}/lib'
748 localedir
='${datarootdir}/locale'
749 mandir
='${datarootdir}/man'
755 # If the previous option needs an argument, assign it.
756 if test -n "$ac_prev"; then
757 eval $ac_prev=\
$ac_option
763 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
767 # Accept the important Cygnus configure options, so we can diagnose typos.
769 case $ac_dashdash$ac_option in
773 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
775 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
778 -build |
--build |
--buil |
--bui |
--bu)
779 ac_prev
=build_alias
;;
780 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
781 build_alias
=$ac_optarg ;;
783 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
784 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
785 ac_prev
=cache_file
;;
786 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
787 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
788 cache_file
=$ac_optarg ;;
791 cache_file
=config.cache
;;
793 -datadir |
--datadir |
--datadi |
--datad)
795 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
796 datadir
=$ac_optarg ;;
798 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
799 |
--dataroo |
--dataro |
--datar)
800 ac_prev
=datarootdir
;;
801 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
802 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
803 datarootdir
=$ac_optarg ;;
805 -disable-* |
--disable-*)
806 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
807 # Reject names that are not valid shell variable names.
808 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
809 as_fn_error
"invalid feature name: $ac_useropt"
810 ac_useropt_orig
=$ac_useropt
811 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
812 case $ac_user_opts in
816 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
817 ac_unrecognized_sep
=', ';;
819 eval enable_
$ac_useropt=no
;;
821 -docdir |
--docdir |
--docdi |
--doc |
--do)
823 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
826 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
828 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
831 -enable-* |
--enable-*)
832 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
833 # Reject names that are not valid shell variable names.
834 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
835 as_fn_error
"invalid feature name: $ac_useropt"
836 ac_useropt_orig
=$ac_useropt
837 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
838 case $ac_user_opts in
842 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
843 ac_unrecognized_sep
=', ';;
845 eval enable_
$ac_useropt=\
$ac_optarg ;;
847 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
848 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
849 |
--exec |
--exe |
--ex)
850 ac_prev
=exec_prefix
;;
851 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
852 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
853 |
--exec=* |
--exe=* |
--ex=*)
854 exec_prefix
=$ac_optarg ;;
856 -gas |
--gas |
--ga |
--g)
857 # Obsolete; use --with-gas.
860 -help |
--help |
--hel |
--he |
-h)
862 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
863 ac_init_help
=recursive
;;
864 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
865 ac_init_help
=short
;;
867 -host |
--host |
--hos |
--ho)
868 ac_prev
=host_alias
;;
869 -host=* |
--host=* |
--hos=* |
--ho=*)
870 host_alias
=$ac_optarg ;;
872 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
874 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
876 htmldir
=$ac_optarg ;;
878 -includedir |
--includedir |
--includedi |
--included |
--include \
879 |
--includ |
--inclu |
--incl |
--inc)
880 ac_prev
=includedir
;;
881 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
882 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
883 includedir
=$ac_optarg ;;
885 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
887 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
888 infodir
=$ac_optarg ;;
890 -libdir |
--libdir |
--libdi |
--libd)
892 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
895 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
896 |
--libexe |
--libex |
--libe)
897 ac_prev
=libexecdir
;;
898 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
899 |
--libexe=* |
--libex=* |
--libe=*)
900 libexecdir
=$ac_optarg ;;
902 -localedir |
--localedir |
--localedi |
--localed |
--locale)
904 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
905 localedir
=$ac_optarg ;;
907 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
908 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
909 ac_prev
=localstatedir
;;
910 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
911 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
912 localstatedir
=$ac_optarg ;;
914 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
916 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
920 # Obsolete; use --without-fp.
923 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
924 |
--no-cr |
--no-c |
-n)
927 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
928 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
931 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
932 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
933 |
--oldin |
--oldi |
--old |
--ol |
--o)
934 ac_prev
=oldincludedir
;;
935 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
936 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
937 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
938 oldincludedir
=$ac_optarg ;;
940 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
942 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
945 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
946 |
--program-pre |
--program-pr |
--program-p)
947 ac_prev
=program_prefix
;;
948 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
949 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
950 program_prefix
=$ac_optarg ;;
952 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
953 |
--program-suf |
--program-su |
--program-s)
954 ac_prev
=program_suffix
;;
955 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
956 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
957 program_suffix
=$ac_optarg ;;
959 -program-transform-name |
--program-transform-name \
960 |
--program-transform-nam |
--program-transform-na \
961 |
--program-transform-n |
--program-transform- \
962 |
--program-transform |
--program-transfor \
963 |
--program-transfo |
--program-transf \
964 |
--program-trans |
--program-tran \
965 |
--progr-tra |
--program-tr |
--program-t)
966 ac_prev
=program_transform_name
;;
967 -program-transform-name=* |
--program-transform-name=* \
968 |
--program-transform-nam=* |
--program-transform-na=* \
969 |
--program-transform-n=* |
--program-transform-=* \
970 |
--program-transform=* |
--program-transfor=* \
971 |
--program-transfo=* |
--program-transf=* \
972 |
--program-trans=* |
--program-tran=* \
973 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
974 program_transform_name
=$ac_optarg ;;
976 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
978 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
981 -psdir |
--psdir |
--psdi |
--psd |
--ps)
983 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
986 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
987 |
-silent |
--silent |
--silen |
--sile |
--sil)
990 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
992 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
994 sbindir
=$ac_optarg ;;
996 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
997 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
998 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1000 ac_prev
=sharedstatedir
;;
1001 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1002 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1003 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1005 sharedstatedir
=$ac_optarg ;;
1007 -site |
--site |
--sit)
1009 -site=* |
--site=* |
--sit=*)
1012 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1014 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1015 srcdir
=$ac_optarg ;;
1017 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1018 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1019 ac_prev
=sysconfdir
;;
1020 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1021 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1022 sysconfdir
=$ac_optarg ;;
1024 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1025 ac_prev
=target_alias
;;
1026 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1027 target_alias
=$ac_optarg ;;
1029 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1032 -version |
--version |
--versio |
--versi |
--vers |
-V)
1033 ac_init_version
=: ;;
1036 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1039 as_fn_error
"invalid package name: $ac_useropt"
1040 ac_useropt_orig
=$ac_useropt
1041 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 case $ac_user_opts in
1046 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1047 ac_unrecognized_sep
=', ';;
1049 eval with_
$ac_useropt=\
$ac_optarg ;;
1051 -without-* |
--without-*)
1052 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1055 as_fn_error
"invalid package name: $ac_useropt"
1056 ac_useropt_orig
=$ac_useropt
1057 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 case $ac_user_opts in
1062 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1063 ac_unrecognized_sep
=', ';;
1065 eval with_
$ac_useropt=no
;;
1068 # Obsolete; use --with-x.
1071 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1072 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1073 ac_prev
=x_includes
;;
1074 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1075 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1076 x_includes
=$ac_optarg ;;
1078 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1079 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1080 ac_prev
=x_libraries
;;
1081 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1082 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1083 x_libraries
=$ac_optarg ;;
1085 -*) as_fn_error
"unrecognized option: \`$ac_option'
1086 Try \`$0 --help' for more information."
1090 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1091 # Reject names that are not valid shell variable names.
1092 case $ac_envvar in #(
1093 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1094 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1096 eval $ac_envvar=\
$ac_optarg
1097 export $ac_envvar ;;
1100 # FIXME: should be removed in autoconf 3.0.
1101 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1102 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1103 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1110 if test -n "$ac_prev"; then
1111 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1112 as_fn_error
"missing argument to $ac_option"
1115 if test -n "$ac_unrecognized_opts"; then
1116 case $enable_option_checking in
1118 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1119 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1123 # Check all directory arguments for consistency.
1124 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1125 datadir sysconfdir sharedstatedir localstatedir includedir \
1126 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1127 libdir localedir mandir
1129 eval ac_val
=\$
$ac_var
1130 # Remove trailing slashes.
1133 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1134 eval $ac_var=\
$ac_val;;
1136 # Be sure to have absolute directory names.
1138 [\\/$
]* | ?
:[\\/]* ) continue;;
1139 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1141 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1144 # There might be people who depend on the old broken behavior: `$host'
1145 # used to hold the argument of --host etc.
1146 # FIXME: To remove some day.
1149 target
=$target_alias
1151 # FIXME: To remove some day.
1152 if test "x$host_alias" != x
; then
1153 if test "x$build_alias" = x
; then
1154 cross_compiling
=maybe
1155 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1156 If a cross compiler is detected then cross compile mode will be used." >&2
1157 elif test "x$build_alias" != "x$host_alias"; then
1163 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1165 test "$silent" = yes && exec 6>/dev
/null
1168 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1169 ac_ls_di
=`ls -di .` &&
1170 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1171 as_fn_error
"working directory cannot be determined"
1172 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1173 as_fn_error
"pwd does not report name of working directory"
1176 # Find the source files, if location was not specified.
1177 if test -z "$srcdir"; then
1178 ac_srcdir_defaulted
=yes
1179 # Try the directory containing this script, then the parent directory.
1180 ac_confdir
=`$as_dirname -- "$as_myself" ||
1181 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1182 X"$as_myself" : 'X\(//\)[^/]' \| \
1183 X"$as_myself" : 'X\(//\)$' \| \
1184 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1185 $as_echo X"$as_myself" |
1186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1204 if test ! -r "$srcdir/$ac_unique_file"; then
1208 ac_srcdir_defaulted
=no
1210 if test ! -r "$srcdir/$ac_unique_file"; then
1211 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1212 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1214 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1216 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1218 # When building in place, set srcdir=.
1219 if test "$ac_abs_confdir" = "$ac_pwd"; then
1222 # Remove unnecessary trailing slashes from srcdir.
1223 # Double slashes in file names in object file debugging info
1224 # mess up M-x gdb in Emacs.
1226 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1228 for ac_var
in $ac_precious_vars; do
1229 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1230 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1231 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1232 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1236 # Report the --help message.
1238 if test "$ac_init_help" = "long"; then
1239 # Omit some internal or obsolete options to make the list less imposing.
1240 # This message is too long to be a string in the A/UX 3.1 sh.
1242 \`configure' configures jody 0.1.0 to adapt to many kinds of systems.
1244 Usage: $0 [OPTION]... [VAR=VALUE]...
1246 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1247 VAR=VALUE. See below for descriptions of some of the useful variables.
1249 Defaults for the options are specified in brackets.
1252 -h, --help display this help and exit
1253 --help=short display options specific to this package
1254 --help=recursive display the short help of all the included packages
1255 -V, --version display version information and exit
1256 -q, --quiet, --silent do not print \`checking...' messages
1257 --cache-file=FILE cache test results in FILE [disabled]
1258 -C, --config-cache alias for \`--cache-file=config.cache'
1259 -n, --no-create do not create output files
1260 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1262 Installation directories:
1263 --prefix=PREFIX install architecture-independent files in PREFIX
1264 [$ac_default_prefix]
1265 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1268 By default, \`make install' will install all the files in
1269 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1270 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1271 for instance \`--prefix=\$HOME'.
1273 For better control, use the options below.
1275 Fine tuning of the installation directories:
1276 --bindir=DIR user executables [EPREFIX/bin]
1277 --sbindir=DIR system admin executables [EPREFIX/sbin]
1278 --libexecdir=DIR program executables [EPREFIX/libexec]
1279 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1280 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1281 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1282 --libdir=DIR object code libraries [EPREFIX/lib]
1283 --includedir=DIR C header files [PREFIX/include]
1284 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1285 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1286 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1287 --infodir=DIR info documentation [DATAROOTDIR/info]
1288 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1289 --mandir=DIR man documentation [DATAROOTDIR/man]
1290 --docdir=DIR documentation root [DATAROOTDIR/doc/jody]
1291 --htmldir=DIR html documentation [DOCDIR]
1292 --dvidir=DIR dvi documentation [DOCDIR]
1293 --pdfdir=DIR pdf documentation [DOCDIR]
1294 --psdir=DIR ps documentation [DOCDIR]
1300 --program-prefix=PREFIX prepend PREFIX to installed program names
1301 --program-suffix=SUFFIX append SUFFIX to installed program names
1302 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1306 if test -n "$ac_init_help"; then
1307 case $ac_init_help in
1308 short | recursive
) echo "Configuration of jody 0.1.0:";;
1313 --disable-option-checking ignore unrecognized
--enable/--with options
1314 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1315 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1316 --disable-dependency-tracking speeds up one-time build
1317 --enable-dependency-tracking do not reject slow dependency extractors
1318 --disable-sdltest Do not try to compile and run a
test SDL program
1321 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1322 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1323 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1324 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1326 Some influential environment variables
:
1327 CC C compiler
command
1328 CFLAGS C compiler flags
1329 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1330 nonstandard directory
<lib dir
>
1331 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1332 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1333 you have headers
in a nonstandard directory
<include dir
>
1336 Use these variables to override the choices made by
`configure' or to help
1337 it to find libraries and programs with nonstandard names/locations.
1339 Report bugs to <jonathan dot wheelhouse at gmail.com>.
1344 if test "$ac_init_help" = "recursive"; then
1345 # If there are subdirs, report their specific --help.
1346 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1347 test -d "$ac_dir" ||
1348 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1353 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1355 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1356 # A ".." for each directory in $ac_dir_suffix.
1357 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1358 case $ac_top_builddir_sub in
1359 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1360 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1363 ac_abs_top_builddir=$ac_pwd
1364 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1365 # for backward compatibility:
1366 ac_top_builddir=$ac_top_build_prefix
1369 .) # We are building in place.
1371 ac_top_srcdir=$ac_top_builddir_sub
1372 ac_abs_top_srcdir=$ac_pwd ;;
1373 [\\/]* | ?:[\\/]* ) # Absolute name.
1374 ac_srcdir=$srcdir$ac_dir_suffix;
1375 ac_top_srcdir=$srcdir
1376 ac_abs_top_srcdir=$srcdir ;;
1378 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1379 ac_top_srcdir=$ac_top_build_prefix$srcdir
1380 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1382 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1384 cd "$ac_dir" || { ac_status=$?; continue; }
1385 # Check for guested configure.
1386 if test -f "$ac_srcdir/configure.gnu"; then
1388 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1389 elif test -f "$ac_srcdir/configure"; then
1391 $SHELL "$ac_srcdir/configure" --help=recursive
1393 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1395 cd "$ac_pwd" || { ac_status=$?; break; }
1399 test -n "$ac_init_help" && exit $ac_status
1400 if $ac_init_version; then
1402 jody configure 0.1.0
1403 generated by GNU Autoconf 2.65
1405 Copyright (C) 2009 Free Software Foundation, Inc.
1406 This configure script is free software; the Free Software Foundation
1407 gives unlimited permission to copy, distribute and modify it.
1412 ## ------------------------ ##
1413 ## Autoconf initialization. ##
1414 ## ------------------------ ##
1416 # ac_fn_c_try_compile LINENO
1417 # --------------------------
1418 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1419 ac_fn_c_try_compile ()
1421 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1422 rm -f conftest.$ac_objext
1423 if { { ac_try="$ac_compile"
1425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1426 *) ac_try_echo
=$ac_try;;
1428 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1429 $as_echo "$ac_try_echo"; } >&5
1430 (eval "$ac_compile") 2>conftest.err
1432 if test -s conftest.err
; then
1433 grep -v '^ *+' conftest.err
>conftest.er1
1434 cat conftest.er1
>&5
1435 mv -f conftest.er1 conftest.err
1437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1438 test $ac_status = 0; } && {
1439 test -z "$ac_c_werror_flag" ||
1440 test ! -s conftest.err
1441 } && test -s conftest.
$ac_objext; then :
1444 $as_echo "$as_me: failed program was:" >&5
1445 sed 's/^/| /' conftest.
$ac_ext >&5
1449 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1450 as_fn_set_status
$ac_retval
1452 } # ac_fn_c_try_compile
1454 # ac_fn_c_try_run LINENO
1455 # ----------------------
1456 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1457 # that executables *can* be run.
1460 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1461 if { { ac_try
="$ac_link"
1463 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1464 *) ac_try_echo=$ac_try;;
1466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1467 $as_echo "$ac_try_echo"; } >&5
1468 (eval "$ac_link") 2>&5
1470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1471 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1472 { { case "(($ac_try" in
1473 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1474 *) ac_try_echo
=$ac_try;;
1476 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1477 $as_echo "$ac_try_echo"; } >&5
1478 (eval "$ac_try") 2>&5
1480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1481 test $ac_status = 0; }; }; then :
1484 $as_echo "$as_me: program exited with status $ac_status" >&5
1485 $as_echo "$as_me: failed program was:" >&5
1486 sed 's/^/| /' conftest.
$ac_ext >&5
1488 ac_retval
=$ac_status
1490 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1491 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1492 as_fn_set_status
$ac_retval
1496 # ac_fn_c_try_link LINENO
1497 # -----------------------
1498 # Try to link conftest.$ac_ext, and return whether this succeeded.
1501 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1502 rm -f conftest.
$ac_objext conftest
$ac_exeext
1503 if { { ac_try
="$ac_link"
1505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1506 *) ac_try_echo=$ac_try;;
1508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1509 $as_echo "$ac_try_echo"; } >&5
1510 (eval "$ac_link") 2>conftest.err
1512 if test -s conftest.err; then
1513 grep -v '^ *+' conftest.err >conftest.er1
1514 cat conftest.er1 >&5
1515 mv -f conftest.er1 conftest.err
1517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1518 test $ac_status = 0; } && {
1519 test -z "$ac_c_werror_flag" ||
1520 test ! -s conftest.err
1521 } && test -s conftest$ac_exeext && {
1522 test "$cross_compiling" = yes ||
1523 $as_test_x conftest$ac_exeext
1527 $as_echo "$as_me: failed program was:" >&5
1528 sed 's/^/| /' conftest.$ac_ext >&5
1532 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1533 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1534 # interfere with the next link command; also delete a directory that is
1535 # left behind by Apple's compiler. We do this before executing the actions.
1536 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1537 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1538 as_fn_set_status $ac_retval
1540 } # ac_fn_c_try_link
1542 # ac_fn_c_try_cpp LINENO
1543 # ----------------------
1544 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548 if { { ac_try="$ac_cpp conftest.$ac_ext"
1550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1551 *) ac_try_echo
=$ac_try;;
1553 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1554 $as_echo "$ac_try_echo"; } >&5
1555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1557 if test -s conftest.err
; then
1558 grep -v '^ *+' conftest.err
>conftest.er1
1559 cat conftest.er1
>&5
1560 mv -f conftest.er1 conftest.err
1562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1563 test $ac_status = 0; } >/dev
/null
&& {
1564 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1565 test ! -s conftest.err
1569 $as_echo "$as_me: failed program was:" >&5
1570 sed 's/^/| /' conftest.
$ac_ext >&5
1574 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1575 as_fn_set_status
$ac_retval
1579 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1580 # -------------------------------------------------------
1581 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1582 # the include files in INCLUDES and setting the cache variable VAR
1584 ac_fn_c_check_header_mongrel
()
1586 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1587 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1589 $as_echo_n "checking for $2... " >&6; }
1590 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1591 $as_echo_n "(cached) " >&6
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1595 $as_echo "$ac_res" >&6; }
1597 # Is the header compilable?
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1599 $as_echo_n "checking $2 usability... " >&6; }
1600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1601 /* end confdefs.h. */
1605 if ac_fn_c_try_compile
"$LINENO"; then :
1606 ac_header_compiler
=yes
1608 ac_header_compiler
=no
1610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1612 $as_echo "$ac_header_compiler" >&6; }
1614 # Is the header present?
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1616 $as_echo_n "checking $2 presence... " >&6; }
1617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1618 /* end confdefs.h. */
1621 if ac_fn_c_try_cpp
"$LINENO"; then :
1622 ac_header_preproc
=yes
1624 ac_header_preproc
=no
1626 rm -f conftest.err conftest.
$ac_ext
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1628 $as_echo "$ac_header_preproc" >&6; }
1630 # So? What about this header?
1631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1634 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1636 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1640 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1642 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1644 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1646 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1648 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1650 ## --------------------------------------------------- ##
1651 ## Report this to jonathan dot wheelhouse at gmail.com ##
1652 ## --------------------------------------------------- ##
1654 ) |
sed "s/^/$as_me: WARNING: /" >&2
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1658 $as_echo_n "checking for $2... " >&6; }
1659 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1660 $as_echo_n "(cached) " >&6
1662 eval "$3=\$ac_header_compiler"
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1666 $as_echo "$ac_res" >&6; }
1668 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1670 } # ac_fn_c_check_header_mongrel
1672 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1673 # -------------------------------------------------------
1674 # Tests whether HEADER exists and can be compiled using the include files in
1675 # INCLUDES, setting the cache variable VAR accordingly.
1676 ac_fn_c_check_header_compile
()
1678 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; }
1681 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1682 $as_echo_n "(cached) " >&6
1684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1685 /* end confdefs.h. */
1689 if ac_fn_c_try_compile
"$LINENO"; then :
1694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1698 $as_echo "$ac_res" >&6; }
1699 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1701 } # ac_fn_c_check_header_compile
1703 # ac_fn_c_check_func LINENO FUNC VAR
1704 # ----------------------------------
1705 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1706 ac_fn_c_check_func
()
1708 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1710 $as_echo_n "checking for $2... " >&6; }
1711 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1712 $as_echo_n "(cached) " >&6
1714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h. */
1716 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1718 #define $2 innocuous_$2
1720 /* System header to define __stub macros and hopefully few prototypes,
1721 which can conflict with char $2 (); below.
1722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1723 <limits.h> exists even on freestanding compilers. */
1726 # include <limits.h>
1728 # include <assert.h>
1733 /* Override any GCC internal prototype to avoid an error.
1734 Use char because int might match the return type of a GCC
1735 builtin and then its argument prototype would still apply. */
1740 /* The GNU C library defines this for functions which it implements
1741 to always fail with ENOSYS. Some functions are actually named
1742 something starting with __ and the normal name is an alias. */
1743 #if defined __stub_$2 || defined __stub___$2
1755 if ac_fn_c_try_link
"$LINENO"; then :
1760 rm -f core conftest.err conftest.
$ac_objext \
1761 conftest
$ac_exeext conftest.
$ac_ext
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1765 $as_echo "$ac_res" >&6; }
1766 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1768 } # ac_fn_c_check_func
1769 cat >config.log
<<_ACEOF
1770 This file contains any messages produced by compilers while
1771 running configure, to aid debugging if configure makes a mistake.
1773 It was created by jody $as_me 0.1.0, which was
1774 generated by GNU Autoconf 2.65. Invocation command line was
1786 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1787 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1788 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1789 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1790 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1792 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1793 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1795 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1796 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1797 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1798 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1799 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1800 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1801 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1809 test -z "$as_dir" && as_dir
=.
1810 $as_echo "PATH: $as_dir"
1826 # Keep a trace of the command line.
1827 # Strip out --no-create and --no-recursion so they do not pile up.
1828 # Strip out --silent because we don't want to record it for future runs.
1829 # Also quote any args containing shell meta-characters.
1830 # Make two passes to allow for proper duplicate-argument suppression.
1834 ac_must_keep_next
=false
1840 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1841 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1842 |
-silent |
--silent |
--silen |
--sile |
--sil)
1845 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1848 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1850 as_fn_append ac_configure_args1
" '$ac_arg'"
1851 if test $ac_must_keep_next = true
; then
1852 ac_must_keep_next
=false
# Got value, back to normal.
1855 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1856 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1857 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1858 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1859 case "$ac_configure_args0 " in
1860 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1863 -* ) ac_must_keep_next
=true
;;
1866 as_fn_append ac_configure_args
" '$ac_arg'"
1871 { ac_configure_args0
=; unset ac_configure_args0
;}
1872 { ac_configure_args1
=; unset ac_configure_args1
;}
1874 # When interrupted or exit'd, cleanup temporary files, and complete
1875 # config.log. We remove comments because anyway the quotes in there
1876 # would cause problems or look ugly.
1877 # WARNING: Use '\'' to represent an apostrophe within the trap.
1878 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1879 trap 'exit_status=$?
1880 # Save into config.log some information that might help in debugging.
1885 ## ---------------- ##
1886 ## Cache variables. ##
1887 ## ---------------- ##
1890 # The following way of writing the cache mishandles newlines in values,
1892 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1893 eval ac_val=\$$ac_var
1897 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1898 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1901 _ | IFS | as_nl) ;; #(
1902 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1903 *) { eval $ac_var=; unset $ac_var;} ;;
1908 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1909 *${as_nl}ac_space=\ *)
1911 "s/'\''/'\''\\\\'\'''\''/g;
1912 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1915 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1923 ## ----------------- ##
1924 ## Output variables. ##
1925 ## ----------------- ##
1928 for ac_var in $ac_subst_vars
1930 eval ac_val=\$$ac_var
1932 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1934 $as_echo "$ac_var='\''$ac_val'\''"
1938 if test -n "$ac_subst_files"; then
1940 ## ------------------- ##
1941 ## File substitutions. ##
1942 ## ------------------- ##
1945 for ac_var
in $ac_subst_files
1947 eval ac_val
=\$
$ac_var
1949 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1951 $as_echo "$ac_var='\''$ac_val'\''"
1956 if test -s confdefs.h; then
1966 test "$ac_signal" != 0 &&
1967 $as_echo "$as_me: caught signal $ac_signal"
1968 $as_echo "$as_me: exit $exit_status"
1970 rm -f core *.core core.conftest.* &&
1971 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1974 for ac_signal
in 1 2 13 15; do
1975 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1979 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1980 rm -f -r conftest
* confdefs.h
1982 $as_echo "/* confdefs.h */" > confdefs.h
1984 # Predefined preprocessor variables.
1986 cat >>confdefs.h
<<_ACEOF
1987 #define PACKAGE_NAME "$PACKAGE_NAME"
1990 cat >>confdefs.h
<<_ACEOF
1991 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1994 cat >>confdefs.h
<<_ACEOF
1995 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1998 cat >>confdefs.h
<<_ACEOF
1999 #define PACKAGE_STRING "$PACKAGE_STRING"
2002 cat >>confdefs.h
<<_ACEOF
2003 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2006 cat >>confdefs.h
<<_ACEOF
2007 #define PACKAGE_URL "$PACKAGE_URL"
2011 # Let the site file select an alternate cache file if it wants to.
2012 # Prefer an explicitly selected file to automatically selected ones.
2015 if test -n "$CONFIG_SITE"; then
2016 ac_site_file1
=$CONFIG_SITE
2017 elif test "x$prefix" != xNONE
; then
2018 ac_site_file1
=$prefix/share
/config.site
2019 ac_site_file2
=$prefix/etc
/config.site
2021 ac_site_file1
=$ac_default_prefix/share
/config.site
2022 ac_site_file2
=$ac_default_prefix/etc
/config.site
2024 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2026 test "x$ac_site_file" = xNONE
&& continue
2027 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2029 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2030 sed 's/^/| /' "$ac_site_file" >&5
2035 if test -r "$cache_file"; then
2036 # Some versions of bash will fail to source /dev/null (special files
2037 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2038 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2040 $as_echo "$as_me: loading cache $cache_file" >&6;}
2042 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2043 *) .
"./$cache_file";;
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2048 $as_echo "$as_me: creating cache $cache_file" >&6;}
2052 # Check that the precious variables saved in the cache have kept the same
2054 ac_cache_corrupted
=false
2055 for ac_var
in $ac_precious_vars; do
2056 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2057 eval ac_new_set
=\
$ac_env_${ac_var}_set
2058 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2059 eval ac_new_val
=\
$ac_env_${ac_var}_value
2060 case $ac_old_set,$ac_new_set in
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2063 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2064 ac_cache_corrupted
=: ;;
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2067 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2068 ac_cache_corrupted
=: ;;
2071 if test "x$ac_old_val" != "x$ac_new_val"; then
2072 # differences in whitespace do not lead to failure.
2073 ac_old_val_w
=`echo x $ac_old_val`
2074 ac_new_val_w
=`echo x $ac_new_val`
2075 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2077 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2078 ac_cache_corrupted
=:
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2081 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2082 eval $ac_var=\
$ac_old_val
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2085 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2087 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2090 # Pass precious variables to config.status.
2091 if test "$ac_new_set" = set; then
2093 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2094 *) ac_arg
=$ac_var=$ac_new_val ;;
2096 case " $ac_configure_args " in
2097 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2098 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2102 if $ac_cache_corrupted; then
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2106 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2107 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2109 ## -------------------- ##
2110 ## Main body of script. ##
2111 ## -------------------- ##
2114 ac_cpp
='$CPP $CPPFLAGS'
2115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2121 am__api_version
='1.11'
2124 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2125 for ac_t
in install-sh
install.sh shtool
; do
2126 if test -f "$ac_dir/$ac_t"; then
2128 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2133 if test -z "$ac_aux_dir"; then
2134 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2137 # These three variables are undocumented and unsupported,
2138 # and are intended to be withdrawn in a future Autoconf release.
2139 # They can cause serious problems if a builder's source tree is in a directory
2140 # whose full name contains unusual characters.
2141 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2142 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2143 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2146 # Find a good install program. We prefer a C program (faster),
2147 # so one script is as good as another. But avoid the broken or
2148 # incompatible versions:
2149 # SysV /etc/install, /usr/sbin/install
2150 # SunOS /usr/etc/install
2151 # IRIX /sbin/install
2153 # AmigaOS /C/install, which installs bootblocks on floppy discs
2154 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2155 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2156 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2157 # OS/2's system install, which has a completely different semantic
2158 # ./install, which can be erroneously created by make from ./install.sh.
2159 # Reject install programs that cannot install multiple files.
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2161 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2162 if test -z "$INSTALL"; then
2163 if test "${ac_cv_path_install+set}" = set; then :
2164 $as_echo_n "(cached) " >&6
2166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2170 test -z "$as_dir" && as_dir
=.
2171 # Account for people who put trailing slashes in PATH elements.
2172 case $as_dir/ in #((
2173 .
/ | .
// |
/[cC
]/* | \
2174 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2175 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2178 # OSF1 and SCO ODT 3.0 have their own names for install.
2179 # Don't use installbsd from OSF since it installs stuff as root
2181 for ac_prog
in ginstall scoinst
install; do
2182 for ac_exec_ext
in '' $ac_executable_extensions; do
2183 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2184 if test $ac_prog = install &&
2185 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2186 # AIX install. It has an incompatible calling convention.
2188 elif test $ac_prog = install &&
2189 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2190 # program-specific install script used by HP pwplus--don't use.
2193 rm -rf conftest.one conftest.two conftest.dir
2194 echo one
> conftest.one
2195 echo two
> conftest.two
2197 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2198 test -s conftest.one
&& test -s conftest.two
&&
2199 test -s conftest.dir
/conftest.one
&&
2200 test -s conftest.dir
/conftest.two
2202 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2215 rm -rf conftest.one conftest.two conftest.dir
2218 if test "${ac_cv_path_install+set}" = set; then
2219 INSTALL
=$ac_cv_path_install
2221 # As a last resort, use the slow shell script. Don't cache a
2222 # value for INSTALL within a source directory, because that will
2223 # break other packages using the cache if that directory is
2224 # removed, or if the value is a relative name.
2225 INSTALL
=$ac_install_sh
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2229 $as_echo "$INSTALL" >&6; }
2231 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2232 # It thinks the first close brace ends the variable substitution.
2233 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2235 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2237 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2240 $as_echo_n "checking whether build environment is sane... " >&6; }
2243 echo timestamp
> conftest.
file
2244 # Reject unsafe characters in $srcdir or the absolute working directory
2245 # name. Accept space and tab only in the latter.
2249 *[\\\"\
#\$\&\'\`$am_lf]*)
2250 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2253 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2254 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2257 # Do `set' in a subshell so we don't clobber the current shell's
2258 # arguments. Must try -L first in case configure is actually a
2259 # symlink; some systems play weird games with the mod time of symlinks
2260 # (eg FreeBSD returns the mod time of the symlink's containing
2263 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2264 if test "$*" = "X"; then
2266 set X
`ls -t "$srcdir/configure" conftest.file`
2269 if test "$*" != "X $srcdir/configure conftest.file" \
2270 && test "$*" != "X conftest.file $srcdir/configure"; then
2272 # If neither matched, then we have a broken ls. This can happen
2273 # if, for instance, CONFIG_SHELL is bash and it inherits a
2274 # broken ls alias from the environment. This has actually
2275 # happened. Such a system could not be considered "sane".
2276 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2277 alias in your environment" "$LINENO" 5
2280 test "$2" = conftest.
file
2286 as_fn_error
"newly created file is older than distributed files!
2287 Check your system clock" "$LINENO" 5
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2290 $as_echo "yes" >&6; }
2291 test "$program_prefix" != NONE
&&
2292 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2293 # Use a double $ so make ignores it.
2294 test "$program_suffix" != NONE
&&
2295 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2296 # Double any \ or $.
2297 # By default was `s,x,x', remove it if useless.
2298 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2299 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2301 # expand $ac_aux_dir to an absolute path
2302 am_aux_dir
=`cd $ac_aux_dir && pwd`
2304 if test x
"${MISSING+set}" != xset
; then
2307 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2309 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2312 # Use eval to expand $SHELL
2313 if eval "$MISSING --run true"; then
2314 am_missing_run
="$MISSING --run "
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2318 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2321 if test x
"${install_sh}" != xset
; then
2324 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2326 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2330 # Installed binaries are usually stripped using `strip' when the user
2331 # run `make install-strip'. However `strip' might not be the right
2332 # tool to use in cross-compilation environments, therefore Automake
2333 # will honor the `STRIP' environment variable to overrule this program.
2334 if test "$cross_compiling" != no
; then
2335 if test -n "$ac_tool_prefix"; then
2336 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2337 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2339 $as_echo_n "checking for $ac_word... " >&6; }
2340 if test "${ac_cv_prog_STRIP+set}" = set; then :
2341 $as_echo_n "(cached) " >&6
2343 if test -n "$STRIP"; then
2344 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir
=.
2351 for ac_exec_ext
in '' $ac_executable_extensions; do
2352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2353 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 STRIP
=$ac_cv_prog_STRIP
2364 if test -n "$STRIP"; then
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2366 $as_echo "$STRIP" >&6; }
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2369 $as_echo "no" >&6; }
2374 if test -z "$ac_cv_prog_STRIP"; then
2376 # Extract the first word of "strip", so it can be a program name with args.
2377 set dummy strip
; ac_word
=$2
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2379 $as_echo_n "checking for $ac_word... " >&6; }
2380 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2381 $as_echo_n "(cached) " >&6
2383 if test -n "$ac_ct_STRIP"; then
2384 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir
=.
2391 for ac_exec_ext
in '' $ac_executable_extensions; do
2392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2393 ac_cv_prog_ac_ct_STRIP
="strip"
2394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2404 if test -n "$ac_ct_STRIP"; then
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2406 $as_echo "$ac_ct_STRIP" >&6; }
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2409 $as_echo "no" >&6; }
2412 if test "x$ac_ct_STRIP" = x
; then
2415 case $cross_compiling:$ac_tool_warned in
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2419 ac_tool_warned
=yes ;;
2424 STRIP
="$ac_cv_prog_STRIP"
2428 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2431 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2432 if test -z "$MKDIR_P"; then
2433 if test "${ac_cv_path_mkdir+set}" = set; then :
2434 $as_echo_n "(cached) " >&6
2436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2437 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2440 test -z "$as_dir" && as_dir
=.
2441 for ac_prog
in mkdir gmkdir
; do
2442 for ac_exec_ext
in '' $ac_executable_extensions; do
2443 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2444 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2445 'mkdir (GNU coreutils) '* | \
2446 'mkdir (coreutils) '* | \
2447 'mkdir (fileutils) '4.1*)
2448 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2458 test -d .
/--version && rmdir .
/--version
2459 if test "${ac_cv_path_mkdir+set}" = set; then
2460 MKDIR_P
="$ac_cv_path_mkdir -p"
2462 # As a last resort, use the slow shell script. Don't cache a
2463 # value for MKDIR_P within a source directory, because that will
2464 # break other packages using the cache if that directory is
2465 # removed, or if the value is a relative name.
2466 MKDIR_P
="$ac_install_sh -d"
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2470 $as_echo "$MKDIR_P" >&6; }
2474 [\\/$
]* | ?
:[\\/]*) ;;
2475 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2478 for ac_prog
in gawk mawk nawk
awk
2480 # Extract the first word of "$ac_prog", so it can be a program name with args.
2481 set dummy
$ac_prog; ac_word
=$2
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2483 $as_echo_n "checking for $ac_word... " >&6; }
2484 if test "${ac_cv_prog_AWK+set}" = set; then :
2485 $as_echo_n "(cached) " >&6
2487 if test -n "$AWK"; then
2488 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2494 test -z "$as_dir" && as_dir
=.
2495 for ac_exec_ext
in '' $ac_executable_extensions; do
2496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2497 ac_cv_prog_AWK
="$ac_prog"
2498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2508 if test -n "$AWK"; then
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2510 $as_echo "$AWK" >&6; }
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2513 $as_echo "no" >&6; }
2517 test -n "$AWK" && break
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2521 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2523 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2524 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2525 $as_echo_n "(cached) " >&6
2527 cat >conftest.
make <<\_ACEOF
2530 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2532 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2533 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2535 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2537 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2541 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2543 $as_echo "yes" >&6; }
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2547 $as_echo "no" >&6; }
2548 SET_MAKE
="MAKE=${MAKE-make}"
2551 rm -rf .tst
2>/dev
/null
2552 mkdir .tst
2>/dev
/null
2553 if test -d .tst
; then
2558 rmdir .tst
2>/dev
/null
2560 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2561 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2562 # is not polluted with repeated "-I."
2563 am__isrc
=' -I$(srcdir)'
2564 # test to see if srcdir already configured
2565 if test -f $srcdir/config.status
; then
2566 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2570 # test whether we have cygpath
2571 if test -z "$CYGPATH_W"; then
2572 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2573 CYGPATH_W
='cygpath -w'
2580 # Define the identity of the package.
2585 cat >>confdefs.h
<<_ACEOF
2586 #define PACKAGE "$PACKAGE"
2590 cat >>confdefs.h
<<_ACEOF
2591 #define VERSION "$VERSION"
2594 # Some tools Automake needs.
2596 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2599 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2602 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2605 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2608 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2610 # We need awk for the "check" target. The system "awk" is bad on
2612 # Always define AMTAR for backward compatibility.
2614 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2616 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2624 ac_cpp
='$CPP $CPPFLAGS'
2625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2628 if test -n "$ac_tool_prefix"; then
2629 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2630 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2632 $as_echo_n "checking for $ac_word... " >&6; }
2633 if test "${ac_cv_prog_CC+set}" = set; then :
2634 $as_echo_n "(cached) " >&6
2636 if test -n "$CC"; then
2637 ac_cv_prog_CC
="$CC" # Let the user override the test.
2639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2643 test -z "$as_dir" && as_dir
=.
2644 for ac_exec_ext
in '' $ac_executable_extensions; do
2645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2646 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2657 if test -n "$CC"; then
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2659 $as_echo "$CC" >&6; }
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2662 $as_echo "no" >&6; }
2667 if test -z "$ac_cv_prog_CC"; then
2669 # Extract the first word of "gcc", so it can be a program name with args.
2670 set dummy gcc
; ac_word
=$2
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2672 $as_echo_n "checking for $ac_word... " >&6; }
2673 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2674 $as_echo_n "(cached) " >&6
2676 if test -n "$ac_ct_CC"; then
2677 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2683 test -z "$as_dir" && as_dir
=.
2684 for ac_exec_ext
in '' $ac_executable_extensions; do
2685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2686 ac_cv_prog_ac_ct_CC
="gcc"
2687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2696 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2697 if test -n "$ac_ct_CC"; then
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2699 $as_echo "$ac_ct_CC" >&6; }
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2705 if test "x$ac_ct_CC" = x
; then
2708 case $cross_compiling:$ac_tool_warned in
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2712 ac_tool_warned
=yes ;;
2720 if test -z "$CC"; then
2721 if test -n "$ac_tool_prefix"; then
2722 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2723 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2725 $as_echo_n "checking for $ac_word... " >&6; }
2726 if test "${ac_cv_prog_CC+set}" = set; then :
2727 $as_echo_n "(cached) " >&6
2729 if test -n "$CC"; then
2730 ac_cv_prog_CC
="$CC" # Let the user override the test.
2732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2736 test -z "$as_dir" && as_dir
=.
2737 for ac_exec_ext
in '' $ac_executable_extensions; do
2738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2739 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2750 if test -n "$CC"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2752 $as_echo "$CC" >&6; }
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2755 $as_echo "no" >&6; }
2761 if test -z "$CC"; then
2762 # Extract the first word of "cc", so it can be a program name with args.
2763 set dummy cc
; ac_word
=$2
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2765 $as_echo_n "checking for $ac_word... " >&6; }
2766 if test "${ac_cv_prog_CC+set}" = set; then :
2767 $as_echo_n "(cached) " >&6
2769 if test -n "$CC"; then
2770 ac_cv_prog_CC
="$CC" # Let the user override the test.
2773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir
=.
2778 for ac_exec_ext
in '' $ac_executable_extensions; do
2779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2780 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2781 ac_prog_rejected
=yes
2785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 if test $ac_prog_rejected = yes; then
2793 # We found a bogon in the path, so make sure we never use it.
2794 set dummy
$ac_cv_prog_CC
2796 if test $# != 0; then
2797 # We chose a different compiler from the bogus one.
2798 # However, it has the same basename, so the bogon will be chosen
2799 # first if we set CC to just the basename; use the full file name.
2801 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2807 if test -n "$CC"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2809 $as_echo "$CC" >&6; }
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2812 $as_echo "no" >&6; }
2817 if test -z "$CC"; then
2818 if test -n "$ac_tool_prefix"; then
2819 for ac_prog
in cl.exe
2821 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2822 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2824 $as_echo_n "checking for $ac_word... " >&6; }
2825 if test "${ac_cv_prog_CC+set}" = set; then :
2826 $as_echo_n "(cached) " >&6
2828 if test -n "$CC"; then
2829 ac_cv_prog_CC
="$CC" # Let the user override the test.
2831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2835 test -z "$as_dir" && as_dir
=.
2836 for ac_exec_ext
in '' $ac_executable_extensions; do
2837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2838 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 if test -n "$CC"; then
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2851 $as_echo "$CC" >&6; }
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 $as_echo "no" >&6; }
2858 test -n "$CC" && break
2861 if test -z "$CC"; then
2863 for ac_prog
in cl.exe
2865 # Extract the first word of "$ac_prog", so it can be a program name with args.
2866 set dummy
$ac_prog; ac_word
=$2
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2868 $as_echo_n "checking for $ac_word... " >&6; }
2869 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2870 $as_echo_n "(cached) " >&6
2872 if test -n "$ac_ct_CC"; then
2873 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2879 test -z "$as_dir" && as_dir
=.
2880 for ac_exec_ext
in '' $ac_executable_extensions; do
2881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2882 ac_cv_prog_ac_ct_CC
="$ac_prog"
2883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2892 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2893 if test -n "$ac_ct_CC"; then
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2895 $as_echo "$ac_ct_CC" >&6; }
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2898 $as_echo "no" >&6; }
2902 test -n "$ac_ct_CC" && break
2905 if test "x$ac_ct_CC" = x
; then
2908 case $cross_compiling:$ac_tool_warned in
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2912 ac_tool_warned
=yes ;;
2921 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2923 as_fn_error
"no acceptable C compiler found in \$PATH
2924 See \`config.log' for more details." "$LINENO" 5; }
2926 # Provide some information about the compiler.
2927 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2930 for ac_option
in --version -v -V -qversion; do
2931 { { ac_try
="$ac_compiler $ac_option >&5"
2933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2934 *) ac_try_echo=$ac_try;;
2936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2937 $as_echo "$ac_try_echo"; } >&5
2938 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2940 if test -s conftest.err; then
2942 ... rest of stderr output deleted ...
2943 10q' conftest.err >conftest.er1
2944 cat conftest.er1 >&5
2946 rm -f conftest.er1 conftest.err
2947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2948 test $ac_status = 0; }
2951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2952 /* end confdefs.h. */
2962 ac_clean_files_save=$ac_clean_files
2963 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2964 # Try to create an executable without -o first, disregard a.out.
2965 # It will help us diagnose broken compilers, and finding out an intuition
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2968 $as_echo_n "checking whether the C compiler works... " >&6; }
2969 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2971 # The possible output files:
2972 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2975 for ac_file in $ac_files
2978 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2979 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2984 if { { ac_try="$ac_link_default"
2986 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2987 *) ac_try_echo
=$ac_try;;
2989 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2990 $as_echo "$ac_try_echo"; } >&5
2991 (eval "$ac_link_default") 2>&5
2993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2994 test $ac_status = 0; }; then :
2995 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2996 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2997 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2998 # so that the user can short-circuit this test for compilers unknown to
3000 for ac_file
in $ac_files ''
3002 test -f "$ac_file" ||
continue
3004 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3007 # We found the default executable, but exeext='' is most
3011 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3013 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3015 # We set ac_cv_exeext here because the later test for it is not
3016 # safe: cross compilers may not add the suffix if given an `-o'
3017 # argument, so we may need to know it at that point already.
3018 # Even if this section looks crufty: it has the advantage of
3025 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3030 if test -z "$ac_file"; then :
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3032 $as_echo "no" >&6; }
3033 $as_echo "$as_me: failed program was:" >&5
3034 sed 's/^/| /' conftest.
$ac_ext >&5
3036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3038 { as_fn_set_status
77
3039 as_fn_error
"C compiler cannot create executables
3040 See \`config.log' for more details." "$LINENO" 5; }; }
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3043 $as_echo "yes" >&6; }
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3046 $as_echo_n "checking for C compiler default output file name... " >&6; }
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3048 $as_echo "$ac_file" >&6; }
3049 ac_exeext
=$ac_cv_exeext
3051 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3052 ac_clean_files
=$ac_clean_files_save
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3054 $as_echo_n "checking for suffix of executables... " >&6; }
3055 if { { ac_try
="$ac_link"
3057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3058 *) ac_try_echo=$ac_try;;
3060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3061 $as_echo "$ac_try_echo"; } >&5
3062 (eval "$ac_link") 2>&5
3064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3065 test $ac_status = 0; }; then :
3066 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3067 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3068 # work properly (i.e., refer to `conftest.exe'), while it won't with
3070 for ac_file
in conftest.exe conftest conftest.
*; do
3071 test -f "$ac_file" ||
continue
3073 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3074 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3082 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3083 See \`config.log' for more details." "$LINENO" 5; }
3085 rm -f conftest conftest
$ac_cv_exeext
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3087 $as_echo "$ac_cv_exeext" >&6; }
3089 rm -f conftest.
$ac_ext
3090 EXEEXT
=$ac_cv_exeext
3092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3093 /* end confdefs.h. */
3098 FILE *f = fopen ("conftest.out", "w");
3099 return ferror (f) || fclose (f) != 0;
3105 ac_clean_files
="$ac_clean_files conftest.out"
3106 # Check that the compiler produces executables we can run. If not, either
3107 # the compiler is broken, or we cross compile.
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3109 $as_echo_n "checking whether we are cross compiling... " >&6; }
3110 if test "$cross_compiling" != yes; then
3111 { { ac_try
="$ac_link"
3113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3114 *) ac_try_echo=$ac_try;;
3116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3117 $as_echo "$ac_try_echo"; } >&5
3118 (eval "$ac_link") 2>&5
3120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3121 test $ac_status = 0; }
3122 if { ac_try='./conftest$ac_cv_exeext'
3123 { { case "(($ac_try" in
3124 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3125 *) ac_try_echo
=$ac_try;;
3127 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3128 $as_echo "$ac_try_echo"; } >&5
3129 (eval "$ac_try") 2>&5
3131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3132 test $ac_status = 0; }; }; then
3135 if test "$cross_compiling" = maybe
; then
3138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3140 as_fn_error
"cannot run C compiled programs.
3141 If you meant to cross compile, use \`--host'.
3142 See \`config.log' for more details." "$LINENO" 5; }
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3147 $as_echo "$cross_compiling" >&6; }
3149 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3150 ac_clean_files
=$ac_clean_files_save
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3152 $as_echo_n "checking for suffix of object files... " >&6; }
3153 if test "${ac_cv_objext+set}" = set; then :
3154 $as_echo_n "(cached) " >&6
3156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3167 rm -f conftest.o conftest.obj
3168 if { { ac_try
="$ac_compile"
3170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3171 *) ac_try_echo=$ac_try;;
3173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3174 $as_echo "$ac_try_echo"; } >&5
3175 (eval "$ac_compile") 2>&5
3177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3178 test $ac_status = 0; }; then :
3179 for ac_file in conftest.o conftest.obj conftest.*; do
3180 test -f "$ac_file" || continue;
3182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3183 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3188 $as_echo "$as_me: failed program was:" >&5
3189 sed 's/^/| /' conftest.$ac_ext >&5
3191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3193 as_fn_error "cannot compute suffix of object files
: cannot compile
3194 See \
`config.log' for more details." "$LINENO" 5; }
3196 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3199 $as_echo "$ac_cv_objext" >&6; }
3200 OBJEXT=$ac_cv_objext
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3203 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3204 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3205 $as_echo_n "(cached) " >&6
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3221 if ac_fn_c_try_compile "$LINENO"; then :
3226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3227 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3231 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3232 if test $ac_compiler_gnu = yes; then
3237 ac_test_CFLAGS=${CFLAGS+set}
3238 ac_save_CFLAGS=$CFLAGS
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3240 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3241 if test "${ac_cv_prog_cc_g+set}" = set; then :
3242 $as_echo_n "(cached) " >&6
3244 ac_save_c_werror_flag=$ac_c_werror_flag
3245 ac_c_werror_flag=yes
3248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249 /* end confdefs.h. */
3259 if ac_fn_c_try_compile "$LINENO"; then :
3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3274 if ac_fn_c_try_compile "$LINENO"; then :
3277 ac_c_werror_flag=$ac_save_c_werror_flag
3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280 /* end confdefs.h. */
3290 if ac_fn_c_try_compile "$LINENO"; then :
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 ac_c_werror_flag=$ac_save_c_werror_flag
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3301 $as_echo "$ac_cv_prog_cc_g" >&6; }
3302 if test "$ac_test_CFLAGS" = set; then
3303 CFLAGS=$ac_save_CFLAGS
3304 elif test $ac_cv_prog_cc_g = yes; then
3305 if test "$GCC" = yes; then
3311 if test "$GCC" = yes; then
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3318 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3319 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3320 $as_echo_n "(cached) " >&6
3322 ac_cv_prog_cc_c89=no
3324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3325 /* end confdefs.h. */
3328 #include <sys/types.h>
3329 #include <sys/stat.h>
3330 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3331 struct buf { int x; };
3332 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3333 static char *e (p, i)
3339 static char *f (char * (*g) (char **, int), char **p, ...)
3344 s = g (p, va_arg (v,int));
3349 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3350 function prototypes and stuff, but not '\xHH' hex character constants.
3351 These don't provoke an error unfortunately, instead are silently treated
3352 as 'x'. The following induces an error, until -std is added to get
3353 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3354 array size at least. It's necessary to write '\x00'==0 to get something
3355 that's true only with -std. */
3356 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3358 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3359 inside strings and character constants. */
3361 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3363 int test (int i, double x);
3364 struct s1 {int (*f) (int a);};
3365 struct s2 {int (*f) (double a);};
3366 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3372 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3377 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3378 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3380 CC="$ac_save_CC $ac_arg"
3381 if ac_fn_c_try_compile "$LINENO"; then :
3382 ac_cv_prog_cc_c89=$ac_arg
3384 rm -f core conftest.err conftest.$ac_objext
3385 test "x$ac_cv_prog_cc_c89" != "xno" && break
3387 rm -f conftest.$ac_ext
3392 case "x$ac_cv_prog_cc_c89" in
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3395 $as_echo "none needed" >&6; } ;;
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3398 $as_echo "unsupported" >&6; } ;;
3400 CC="$CC $ac_cv_prog_cc_c89"
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3402 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3404 if test "x$ac_cv_prog_cc_c89" != xno; then :
3409 ac_cpp='$CPP $CPPFLAGS'
3410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3413 DEPDIR="${am__leading_dot}deps"
3415 ac_config_commands="$ac_config_commands depfiles"
3418 am_make=${MAKE-make}
3419 cat > confinc << 'END'
3421 @echo this is the am__doit target
3424 # If we don't find an include directive, just comment out the code.
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3426 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3430 # First try GNU make style include.
3431 echo "include confinc" > confmf
3432 # Ignore all kinds of additional output from `make'.
3433 case `$am_make -s -f confmf 2> /dev/null` in #(
3434 *the\ am__doit\ target*)
3440 # Now try BSD make style include.
3441 if test "$am__include" = "#"; then
3442 echo '.include
"confinc"' > confmf
3443 case `$am_make -s -f confmf 2> /dev/null` in #(
3444 *the\ am__doit\ target*)
3445 am__include=.include
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3454 $as_echo "$_am_result" >&6; }
3455 rm -f confinc confmf
3457 # Check whether --enable-dependency-tracking was given.
3458 if test "${enable_dependency_tracking+set}" = set; then :
3459 enableval=$enable_dependency_tracking;
3462 if test "x$enable_dependency_tracking" != xno; then
3463 am_depcomp="$ac_aux_dir/depcomp"
3466 if test "x$enable_dependency_tracking" != xno
; then
3476 depcc
="$CC" am_compiler_list
=
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3479 $as_echo_n "checking dependency style of $depcc... " >&6; }
3480 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3481 $as_echo_n "(cached) " >&6
3483 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3484 # We make a subdir and do the tests there. Otherwise we can end up
3485 # making bogus files that we don't know about and never remove. For
3486 # instance it was reported that on HP-UX the gcc test will end up
3487 # making a dummy file named `D' -- because `-MD' means `put the output
3490 # Copy depcomp to subdir because otherwise we won't find it if we're
3491 # using a relative directory.
3492 cp "$am_depcomp" conftest.dir
3494 # We will build objects and dependencies in a subdirectory because
3495 # it helps to detect inapplicable dependency modes. For instance
3496 # both Tru64's cc and ICC support -MD to output dependencies as a
3497 # side effect of compilation, but ICC will put the dependencies in
3498 # the current directory while Tru64 will put them in the object
3502 am_cv_CC_dependencies_compiler_type
=none
3503 if test "$am_compiler_list" = ""; then
3504 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3507 case " $depcc " in #(
3508 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3511 for depmode
in $am_compiler_list; do
3512 # Setup a source with many dependencies, because some compilers
3513 # like to wrap large dependency lists on column 80 (with \), and
3514 # we should not choose a depcomp mode which is confused by this.
3516 # We need to recreate these files for each test, as the compiler may
3517 # overwrite some of them when testing with obscure command lines.
3518 # This happens at least with the AIX C compiler.
3520 for i
in 1 2 3 4 5 6; do
3521 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3522 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3523 # Solaris 8's {/usr,}/bin/sh.
3524 touch sub
/conftst
$i.h
3526 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3528 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3529 # mode. It turns out that the SunPro C++ compiler does not properly
3530 # handle `-M -o', and we need to detect this. Also, some Intel
3531 # versions had trouble with output in subdirs
3532 am__obj
=sub
/conftest.
${OBJEXT-o}
3533 am__minus_obj
="-o $am__obj"
3536 # This depmode causes a compiler race in universal mode.
3537 test "$am__universal" = false ||
continue
3540 # after this tag, mechanisms are not by side-effect, so they'll
3541 # only be used when explicitly requested
3542 if test "x$enable_dependency_tracking" = xyes
; then
3548 msvisualcpp | msvcmsys
)
3549 # This compiler won't grok `-c -o', but also, the minuso test has
3550 # not run yet. These depmodes are late enough in the game, and
3551 # so weak that their functioning should not be impacted.
3552 am__obj
=conftest.
${OBJEXT-o}
3557 if depmode
=$depmode \
3558 source=sub
/conftest.c object
=$am__obj \
3559 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3560 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3561 >/dev
/null
2>conftest.err
&&
3562 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3563 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3564 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3565 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3566 # icc doesn't choke on unknown options, it will just issue warnings
3567 # or remarks (even with -Werror). So we grep stderr for any message
3568 # that says an option was ignored or not supported.
3569 # When given -MP, icc 7.0 and 7.1 complain thusly:
3570 # icc: Command line warning: ignoring option '-M'; no argument required
3571 # The diagnosis changed in icc 8.0:
3572 # icc: Command line remark: option '-MP' not supported
3573 if (grep 'ignoring option' conftest.err ||
3574 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3575 am_cv_CC_dependencies_compiler_type
=$depmode
3584 am_cv_CC_dependencies_compiler_type
=none
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3589 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3590 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3593 test "x$enable_dependency_tracking" != xno \
3594 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3596 am__fastdepCC_FALSE
='#'
3598 am__fastdepCC_TRUE
='#'
3599 am__fastdepCC_FALSE
=
3607 # Check whether --with-sdl-prefix was given.
3608 if test "${with_sdl_prefix+set}" = set; then :
3609 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
3615 # Check whether --with-sdl-exec-prefix was given.
3616 if test "${with_sdl_exec_prefix+set}" = set; then :
3617 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
3622 # Check whether --enable-sdltest was given.
3623 if test "${enable_sdltest+set}" = set; then :
3624 enableval
=$enable_sdltest;
3630 if test x
$sdl_exec_prefix != x
; then
3631 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
3632 if test x
${SDL_CONFIG+set} != xset
; then
3633 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
3636 if test x
$sdl_prefix != x
; then
3637 sdl_args
="$sdl_args --prefix=$sdl_prefix"
3638 if test x
${SDL_CONFIG+set} != xset
; then
3639 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
3643 # Extract the first word of "sdl-config", so it can be a program name with args.
3644 set dummy sdl-config
; ac_word
=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
3648 $as_echo_n "(cached) " >&6
3652 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
3655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3659 test -z "$as_dir" && as_dir
=.
3660 for ac_exec_ext
in '' $ac_executable_extensions; do
3661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3662 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3670 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
3674 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
3675 if test -n "$SDL_CONFIG"; then
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
3677 $as_echo "$SDL_CONFIG" >&6; }
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3680 $as_echo "no" >&6; }
3684 min_sdl_version
=${SDL_VERSION}
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
3686 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
3688 if test "$SDL_CONFIG" = "no" ; then
3691 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
3692 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
3694 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
3695 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3696 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
3697 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3698 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
3699 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3700 if test "x$enable_sdltest" = "xyes" ; then
3701 ac_save_CFLAGS
="$CFLAGS"
3702 ac_save_LIBS
="$LIBS"
3703 CFLAGS
="$CFLAGS $SDL_CFLAGS"
3704 LIBS
="$LIBS $SDL_LIBS"
3706 if test "$cross_compiling" = yes; then :
3707 echo $ac_n "cross compiling; assumed OK... $ac_c"
3709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3710 /* end confdefs.h. */
3718 my_strdup (char *str)
3724 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
3725 strcpy (new_str, str);
3733 int main (int argc, char *argv[])
3735 int major, minor, micro;
3738 /* This hangs on some systems (?)
3739 system ("touch conf.sdltest");
3741 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
3743 /* HP/UX 9 (%@#!) writes to sscanf strings */
3744 tmp_version = my_strdup("$min_sdl_version");
3745 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
3746 printf("%s, bad version string\n", "$min_sdl_version");
3750 if (($sdl_major_version > major) ||
3751 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
3752 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
3758 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
3759 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
3760 printf("*** best to upgrade to the required version.\n");
3761 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
3762 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
3763 printf("*** config.cache before re-running configure\n");
3770 if ac_fn_c_try_run
"$LINENO"; then :
3775 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3776 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3779 CFLAGS
="$ac_save_CFLAGS"
3780 LIBS
="$ac_save_LIBS"
3783 if test "x$no_sdl" = x
; then
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3785 $as_echo "yes" >&6; }
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3790 if test "$SDL_CONFIG" = "no" ; then
3791 echo "*** The sdl-config script installed by SDL could not be found"
3792 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
3793 echo "*** your path, or set the SDL_CONFIG environment variable to the"
3794 echo "*** full path to sdl-config."
3796 if test -f conf.sdltest
; then
3799 echo "*** Could not run SDL test program, checking why..."
3800 CFLAGS
="$CFLAGS $SDL_CFLAGS"
3801 LIBS
="$LIBS $SDL_LIBS"
3802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h. */
3808 int main(int argc, char *argv[])
3811 #define main K_and_R_C_main
3821 if ac_fn_c_try_link
"$LINENO"; then :
3822 echo "*** The test program compiled, but did not run. This usually means"
3823 echo "*** that the run-time linker is not finding SDL or finding the wrong"
3824 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
3825 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
3826 echo "*** to the installed location Also, make sure you have run ldconfig if that"
3827 echo "*** is required on your system"
3829 echo "*** If you have an old version installed, it is best to remove it, although"
3830 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
3832 echo "*** The test program failed to compile or link. See the file config.log for the"
3833 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
3834 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
3835 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
3837 rm -f core conftest.err conftest.
$ac_objext \
3838 conftest
$ac_exeext conftest.
$ac_ext
3839 CFLAGS
="$ac_save_CFLAGS"
3840 LIBS
="$ac_save_LIBS"
3845 as_fn_error
"*** SDL version $(SDL_VERSION) not found!" "$LINENO" 5
3852 # Checks for header files.
3854 ac_cpp
='$CPP $CPPFLAGS'
3855 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3856 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3857 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3859 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3860 # On Suns, sometimes $CPP names a directory.
3861 if test -n "$CPP" && test -d "$CPP"; then
3864 if test -z "$CPP"; then
3865 if test "${ac_cv_prog_CPP+set}" = set; then :
3866 $as_echo_n "(cached) " >&6
3868 # Double quotes because CPP needs to be expanded
3869 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3872 for ac_c_preproc_warn_flag
in '' yes
3874 # Use a header file that comes with gcc, so configuring glibc
3875 # with a fresh cross-compiler works.
3876 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3877 # <limits.h> exists even on freestanding compilers.
3878 # On the NeXT, cc -E runs the code through the compiler's parser,
3879 # not just through cpp. "Syntax error" is here to catch this case.
3880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3883 # include <limits.h>
3885 # include <assert.h>
3889 if ac_fn_c_try_cpp
"$LINENO"; then :
3892 # Broken: fails on valid input.
3895 rm -f conftest.err conftest.
$ac_ext
3897 # OK, works on sane cases. Now check whether nonexistent headers
3898 # can be detected and how.
3899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3901 #include <ac_nonexistent.h>
3903 if ac_fn_c_try_cpp
"$LINENO"; then :
3904 # Broken: success on invalid input.
3907 # Passes both tests.
3911 rm -f conftest.err conftest.
$ac_ext
3914 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3915 rm -f conftest.err conftest.
$ac_ext
3916 if $ac_preproc_ok; then :
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3929 $as_echo "$CPP" >&6; }
3931 for ac_c_preproc_warn_flag
in '' yes
3933 # Use a header file that comes with gcc, so configuring glibc
3934 # with a fresh cross-compiler works.
3935 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3936 # <limits.h> exists even on freestanding compilers.
3937 # On the NeXT, cc -E runs the code through the compiler's parser,
3938 # not just through cpp. "Syntax error" is here to catch this case.
3939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3940 /* end confdefs.h. */
3942 # include <limits.h>
3944 # include <assert.h>
3948 if ac_fn_c_try_cpp
"$LINENO"; then :
3951 # Broken: fails on valid input.
3954 rm -f conftest.err conftest.
$ac_ext
3956 # OK, works on sane cases. Now check whether nonexistent headers
3957 # can be detected and how.
3958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3960 #include <ac_nonexistent.h>
3962 if ac_fn_c_try_cpp
"$LINENO"; then :
3963 # Broken: success on invalid input.
3966 # Passes both tests.
3970 rm -f conftest.err conftest.
$ac_ext
3973 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3974 rm -f conftest.err conftest.
$ac_ext
3975 if $ac_preproc_ok; then :
3978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3980 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3981 See \`config.log' for more details." "$LINENO" 5; }
3985 ac_cpp
='$CPP $CPPFLAGS'
3986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3992 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3993 if test "${ac_cv_path_GREP+set}" = set; then :
3994 $as_echo_n "(cached) " >&6
3996 if test -z "$GREP"; then
3997 ac_path_GREP_found
=false
3998 # Loop through the user's path and test for each of PROGNAME-LIST
3999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4000 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4003 test -z "$as_dir" && as_dir
=.
4004 for ac_prog
in grep ggrep
; do
4005 for ac_exec_ext
in '' $ac_executable_extensions; do
4006 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4007 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4008 # Check for GNU ac_path_GREP and select it if it is found.
4009 # Check for GNU $ac_path_GREP
4010 case `"$ac_path_GREP" --version 2>&1` in
4012 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4015 $as_echo_n 0123456789 >"conftest.in"
4018 cat "conftest.in" "conftest.in" >"conftest.tmp"
4019 mv "conftest.tmp" "conftest.in"
4020 cp "conftest.in" "conftest.nl"
4021 $as_echo 'GREP' >> "conftest.nl"
4022 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4023 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4024 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4025 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4026 # Best one so far, save it but keep looking for a better one
4027 ac_cv_path_GREP
="$ac_path_GREP"
4028 ac_path_GREP_max
=$ac_count
4030 # 10*(2^10) chars as input seems more than enough
4031 test $ac_count -gt 10 && break
4033 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4036 $ac_path_GREP_found && break 3
4041 if test -z "$ac_cv_path_GREP"; then
4042 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4045 ac_cv_path_GREP
=$GREP
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4050 $as_echo "$ac_cv_path_GREP" >&6; }
4051 GREP
="$ac_cv_path_GREP"
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4055 $as_echo_n "checking for egrep... " >&6; }
4056 if test "${ac_cv_path_EGREP+set}" = set; then :
4057 $as_echo_n "(cached) " >&6
4059 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4060 then ac_cv_path_EGREP
="$GREP -E"
4062 if test -z "$EGREP"; then
4063 ac_path_EGREP_found
=false
4064 # Loop through the user's path and test for each of PROGNAME-LIST
4065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4066 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4069 test -z "$as_dir" && as_dir
=.
4070 for ac_prog
in egrep; do
4071 for ac_exec_ext
in '' $ac_executable_extensions; do
4072 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4073 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4074 # Check for GNU ac_path_EGREP and select it if it is found.
4075 # Check for GNU $ac_path_EGREP
4076 case `"$ac_path_EGREP" --version 2>&1` in
4078 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4081 $as_echo_n 0123456789 >"conftest.in"
4084 cat "conftest.in" "conftest.in" >"conftest.tmp"
4085 mv "conftest.tmp" "conftest.in"
4086 cp "conftest.in" "conftest.nl"
4087 $as_echo 'EGREP' >> "conftest.nl"
4088 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4089 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4090 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4091 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4092 # Best one so far, save it but keep looking for a better one
4093 ac_cv_path_EGREP
="$ac_path_EGREP"
4094 ac_path_EGREP_max
=$ac_count
4096 # 10*(2^10) chars as input seems more than enough
4097 test $ac_count -gt 10 && break
4099 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4102 $ac_path_EGREP_found && break 3
4107 if test -z "$ac_cv_path_EGREP"; then
4108 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4111 ac_cv_path_EGREP
=$EGREP
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4117 $as_echo "$ac_cv_path_EGREP" >&6; }
4118 EGREP
="$ac_cv_path_EGREP"
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4122 $as_echo_n "checking for ANSI C header files... " >&6; }
4123 if test "${ac_cv_header_stdc+set}" = set; then :
4124 $as_echo_n "(cached) " >&6
4126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h. */
4141 if ac_fn_c_try_compile
"$LINENO"; then :
4142 ac_cv_header_stdc
=yes
4144 ac_cv_header_stdc
=no
4146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4148 if test $ac_cv_header_stdc = yes; then
4149 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4156 $EGREP "memchr" >/dev
/null
2>&1; then :
4159 ac_cv_header_stdc
=no
4165 if test $ac_cv_header_stdc = yes; then
4166 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4168 /* end confdefs.h. */
4172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4173 $EGREP "free" >/dev
/null
2>&1; then :
4176 ac_cv_header_stdc
=no
4182 if test $ac_cv_header_stdc = yes; then
4183 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4184 if test "$cross_compiling" = yes; then :
4187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4191 #if ((' ' & 0x0FF) == 0x020)
4192 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4193 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4195 # define ISLOWER(c) \
4196 (('a' <= (c) && (c) <= 'i') \
4197 || ('j' <= (c) && (c) <= 'r') \
4198 || ('s' <= (c) && (c) <= 'z'))
4199 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4202 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4207 for (i = 0; i < 256; i++)
4208 if (XOR (islower (i), ISLOWER (i))
4209 || toupper (i) != TOUPPER (i))
4214 if ac_fn_c_try_run
"$LINENO"; then :
4217 ac_cv_header_stdc
=no
4219 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4220 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4226 $as_echo "$ac_cv_header_stdc" >&6; }
4227 if test $ac_cv_header_stdc = yes; then
4229 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4233 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4234 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4235 inttypes.h stdint.h unistd.h
4237 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4238 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4240 eval as_val
=\$
$as_ac_Header
4241 if test "x$as_val" = x
""yes; then :
4242 cat >>confdefs.h
<<_ACEOF
4243 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4251 for ac_header
in stdlib.h string.h
4253 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4254 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4255 eval as_val
=\$
$as_ac_Header
4256 if test "x$as_val" = x
""yes; then :
4257 cat >>confdefs.h
<<_ACEOF
4258 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4266 # Checks for typedefs, structures, and compiler characteristics.
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4268 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4269 if test "${ac_cv_c_const+set}" = set; then :
4270 $as_echo_n "(cached) " >&6
4272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4278 /* FIXME: Include the comments suggested by Paul. */
4280 /* Ultrix mips cc rejects this. */
4281 typedef int charset[2];
4283 /* SunOS 4.1.1 cc rejects this. */
4284 char const *const *pcpcc;
4286 /* NEC SVR4.0.2 mips cc rejects this. */
4287 struct point {int x, y;};
4288 static struct point const zero = {0,0};
4289 /* AIX XL C 1.02.0.0 rejects this.
4290 It does not let you subtract one const X* pointer from another in
4291 an arm of an if-expression whose if-part is not a constant
4293 const char *g = "string";
4294 pcpcc = &g + (g ? g-g : 0);
4295 /* HPUX 7.0 cc rejects these. */
4297 ppc = (char**) pcpcc;
4298 pcpcc = (char const *const *) ppc;
4299 { /* SCO 3.2v4 cc rejects this. */
4301 char const *s = 0 ? (char *) 0 : (char const *) 0;
4306 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4308 const int *foo = &x[0];
4311 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4312 typedef const int *iptr;
4316 { /* AIX XL C 1.02.0.0 rejects this saying
4317 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4318 struct s { int j; const int *ap[3]; };
4319 struct s *b; b->j = 5;
4321 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4325 return !cs[0] && !zero.x;
4332 if ac_fn_c_try_compile
"$LINENO"; then :
4337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4340 $as_echo "$ac_cv_c_const" >&6; }
4341 if test $ac_cv_c_const = no
; then
4343 $as_echo "#define const /**/" >>confdefs.h
4348 # Checks for library functions.
4349 for ac_header
in stdlib.h
4351 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4352 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
4353 cat >>confdefs.h
<<_ACEOF
4354 #define HAVE_STDLIB_H 1
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4362 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4363 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
4364 $as_echo_n "(cached) " >&6
4366 if test "$cross_compiling" = yes; then :
4367 ac_cv_func_malloc_0_nonnull
=no
4369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4371 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4372 # include <stdlib.h>
4380 return ! malloc (0);
4385 if ac_fn_c_try_run
"$LINENO"; then :
4386 ac_cv_func_malloc_0_nonnull
=yes
4388 ac_cv_func_malloc_0_nonnull
=no
4390 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4391 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4396 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4397 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4399 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4402 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4404 case " $LIBOBJS " in
4405 *" malloc.$ac_objext "* ) ;;
4406 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
4411 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4416 for ac_func
in vprintf
4418 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
4419 if test "x$ac_cv_func_vprintf" = x
""yes; then :
4420 cat >>confdefs.h
<<_ACEOF
4421 #define HAVE_VPRINTF 1
4424 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
4425 if test "x$ac_cv_func__doprnt" = x
""yes; then :
4427 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
4435 for ac_func
in atexit memset
4437 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4438 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4439 eval as_val
=\$
$as_ac_var
4440 if test "x$as_val" = x
""yes; then :
4441 cat >>confdefs.h
<<_ACEOF
4442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4449 ac_config_files
="$ac_config_files Makefile src/Makefile src/img/Makefile"
4451 cat >confcache
<<\_ACEOF
4452 # This file is a shell script that caches the results of configure
4453 # tests run on this system so they can be shared between configure
4454 # scripts and configure runs, see configure's option --config-cache.
4455 # It is not useful on other systems. If it contains results you don't
4456 # want to keep, you may remove or edit it.
4458 # config.status only pays attention to the cache file if you give it
4459 # the --recheck option to rerun configure.
4461 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4462 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4467 # The following way of writing the cache mishandles newlines in values,
4468 # but we know of no workaround that is simple, portable, and efficient.
4469 # So, we kill variables containing newlines.
4470 # Ultrix sh set writes to stderr and can't be redirected directly,
4471 # and sets the high bit in the cache file unless we assign to the vars.
4473 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4474 eval ac_val
=\$
$ac_var
4478 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4479 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4482 _ | IFS | as_nl
) ;; #(
4483 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4484 *) { eval $ac_var=; unset $ac_var;} ;;
4490 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4491 *${as_nl}ac_space
=\
*)
4492 # `set' does not quote correctly, so add quotes: double-quote
4493 # substitution turns \\\\ into \\, and sed turns \\ into \.
4496 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4499 # `set' quotes correctly as required by POSIX, so do not add quotes.
4500 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4509 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4511 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4513 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4514 if test -w "$cache_file"; then
4515 test "x$cache_file" != "x/dev/null" &&
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4517 $as_echo "$as_me: updating cache $cache_file" >&6;}
4518 cat confcache
>$cache_file
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4521 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4526 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4527 # Let make expand exec_prefix.
4528 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4530 # Transform confdefs.h into DEFS.
4531 # Protect against shell expansion while executing Makefile rules.
4532 # Protect against Makefile macro expansion.
4534 # If the first sed substitution is executed (which looks for macros that
4535 # take arguments), then branch to the quote section. Otherwise,
4536 # look for a macro that doesn't take arguments.
4546 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4548 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4552 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4565 DEFS
=`sed -n "$ac_script" confdefs.h`
4570 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4571 # 1. Remove the extension, and $U if already installed.
4572 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4573 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4574 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4575 # will be set to the directory where LIBOBJS objects are built.
4576 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4577 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4581 LTLIBOBJS
=$ac_ltlibobjs
4584 if test -n "$EXEEXT"; then
4586 am__EXEEXT_FALSE
='#'
4592 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4593 as_fn_error
"conditional \"AMDEP\" was never defined.
4594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4596 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4597 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
4598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4601 : ${CONFIG_STATUS=./config.status}
4603 ac_clean_files_save
=$ac_clean_files
4604 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4606 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4608 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4610 # Generated by $as_me.
4611 # Run this file to recreate the current configuration.
4612 # Compiler output produced by configure, useful for debugging
4613 # configure, is in config.log if it exists.
4619 SHELL=\${CONFIG_SHELL-$SHELL}
4622 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4623 ## -------------------- ##
4624 ## M4sh Initialization. ##
4625 ## -------------------- ##
4627 # Be more Bourne compatible
4628 DUALCASE
=1; export DUALCASE
# for MKS sh
4629 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4632 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4633 # is contrary to our usage. Disable this feature.
4634 alias -g '${1+"$@"}'='"$@"'
4635 setopt NO_GLOB_SUBST
4637 case `(set -o) 2>/dev/null` in #(
4649 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4650 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4651 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4652 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4653 # Prefer a ksh shell builtin over an external printf program on Solaris,
4654 # but without wasting forks for bash or zsh.
4655 if test -z "$BASH_VERSION$ZSH_VERSION" \
4656 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4657 as_echo='print
-r --'
4658 as_echo_n='print
-rn --'
4659 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4660 as_echo='printf %s
\n'
4661 as_echo_n='printf %s
'
4663 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4664 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4665 as_echo_n='/usr
/ucb
/echo -n'
4667 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4668 as_echo_n_body='eval
4672 expr "X$arg" : "X\\(.*\\)$as_nl";
4673 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4675 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4677 export as_echo_n_body
4678 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4681 as_echo='sh
-c $as_echo_body as_echo
'
4684 # The user is always right.
4685 if test "${PATH_SEPARATOR+set}" != set; then
4687 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4688 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4695 # We need space, tab and new line, in precisely that order. Quoting is
4696 # there to prevent editors from complaining about space-tab.
4697 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4698 # splitting by setting IFS to empty value.)
4701 # Find who we are. Look in the path if we contain no directory separator.
4703 *[\\/]* ) as_myself=$0 ;;
4704 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4708 test -z "$as_dir" && as_dir=.
4709 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4715 # We did not find ourselves, most probably we were run as `sh COMMAND'
4716 # in which case we are not to be found in the path.
4717 if test "x$as_myself" = x
; then
4720 if test ! -f "$as_myself"; then
4721 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4725 # Unset variables that we do not need and which cause bugs (e.g. in
4726 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4727 # suppresses any "Segmentation fault" message there. '((' could
4728 # trigger a bug in pdksh 5.2.14.
4729 for as_var
in BASH_ENV ENV MAIL MAILPATH
4730 do eval test x\
${$as_var+set} = xset \
4731 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4744 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4747 # as_fn_error ERROR [LINENO LOG_FD]
4748 # ---------------------------------
4749 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4750 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4751 # script with status $?, using 1 if that was 0.
4754 as_status
=$?
; test $as_status -eq 0 && as_status
=1
4756 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4757 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4759 $as_echo "$as_me: error: $1" >&2
4760 as_fn_exit
$as_status
4764 # as_fn_set_status STATUS
4765 # -----------------------
4766 # Set $? to STATUS, without forking.
4770 } # as_fn_set_status
4774 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4784 # Portably unset VAR.
4787 { eval $1=; unset $1;}
4789 as_unset
=as_fn_unset
4790 # as_fn_append VAR VALUE
4791 # ----------------------
4792 # Append the text in VALUE to the end of the definition contained in VAR. Take
4793 # advantage of any shell optimizations that allow amortized linear growth over
4794 # repeated appends, instead of the typical quadratic growth present in naive
4796 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4797 eval 'as_fn_append ()
4808 # as_fn_arith ARG...
4809 # ------------------
4810 # Perform arithmetic evaluation on the ARGs, and store the result in the
4811 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4812 # must be portable across $(()) and expr.
4813 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4814 eval 'as_fn_arith ()
4821 as_val
=`expr "$@" || test $? -eq 1`
4826 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4827 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4833 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4834 as_basename
=basename
4839 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4845 as_me
=`$as_basename -- "$0" ||
4846 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4847 X"$0" : 'X\(//\)$' \| \
4848 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4850 sed '/^.*\/\([^/][^/]*\)\/*$/{
4864 # Avoid depending upon Character Ranges.
4865 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4866 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4867 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4868 as_cr_digits
='0123456789'
4869 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4871 ECHO_C
= ECHO_N
= ECHO_T
=
4872 case `echo -n x` in #(((((
4874 case `echo 'xy\c'` in
4875 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4877 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4884 rm -f conf$$ conf$$.exe conf$$.
file
4885 if test -d conf$$.dir
; then
4886 rm -f conf$$.dir
/conf$$.
file
4889 mkdir conf$$.dir
2>/dev
/null
4891 if (echo >conf$$.
file) 2>/dev
/null
; then
4892 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4894 # ... but there are two gotchas:
4895 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4896 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4897 # In both cases, we have to default to `cp -p'.
4898 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4900 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4908 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4909 rmdir conf$$.dir
2>/dev
/null
4914 # Create "$as_dir" as a directory, including parents if necessary.
4919 -*) as_dir
=.
/$as_dir;;
4921 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4925 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4926 *) as_qdir
=$as_dir;;
4928 as_dirs
="'$as_qdir' $as_dirs"
4929 as_dir
=`$as_dirname -- "$as_dir" ||
4930 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4931 X"$as_dir" : 'X\(//\)[^/]' \| \
4932 X"$as_dir" : 'X\(//\)$' \| \
4933 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4934 $as_echo X"$as_dir" |
4935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4952 test -d "$as_dir" && break
4954 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4955 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
4959 if mkdir
-p .
2>/dev
/null
; then
4960 as_mkdir_p
='mkdir -p "$as_dir"'
4962 test -d .
/-p && rmdir .
/-p
4966 if test -x / >/dev
/null
2>&1; then
4969 if ls -dL / >/dev
/null
2>&1; then
4976 if test -d "$1"; then
4982 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4983 ???[sx]*):;;*)false;;esac;fi
4987 as_executable_p
=$as_test_x
4989 # Sed expression to map a string onto a valid CPP name.
4990 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4992 # Sed expression to map a string onto a valid variable name.
4993 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4997 ## ----------------------------------- ##
4998 ## Main body of $CONFIG_STATUS script. ##
4999 ## ----------------------------------- ##
5001 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5004 # Save the log message, to keep $0 and so on meaningful, and to
5005 # report actual input values of CONFIG_FILES etc. instead of their
5006 # values after options handling.
5008 This file was extended by jody $as_me 0.1.0, which was
5009 generated by GNU Autoconf 2.65. Invocation command line was
5011 CONFIG_FILES = $CONFIG_FILES
5012 CONFIG_HEADERS = $CONFIG_HEADERS
5013 CONFIG_LINKS = $CONFIG_LINKS
5014 CONFIG_COMMANDS = $CONFIG_COMMANDS
5017 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5022 case $ac_config_files in *"
5023 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5029 # Files that config.status was made for.
5030 config_files="$ac_config_files"
5031 config_commands="$ac_config_commands"
5035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5037 \`$as_me' instantiates files and other configuration actions
5038 from templates according to the current configuration. Unless the files
5039 and actions are specified as TAGs, all are instantiated by default.
5041 Usage: $0 [OPTION]... [TAG]...
5043 -h, --help print this help, then exit
5044 -V, --version print version number and configuration settings, then exit
5045 --config print configuration, then exit
5046 -q, --quiet, --silent
5047 do not print progress messages
5048 -d, --debug don't remove temporary files
5049 --recheck update $as_me by reconfiguring in the same conditions
5050 --file=FILE[:TEMPLATE]
5051 instantiate the configuration file FILE
5053 Configuration files:
5056 Configuration commands:
5059 Report bugs to <jonathan dot wheelhouse at gmail.com>."
5062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5063 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5065 jody config.status 0.1.0
5066 configured by $0, generated by GNU Autoconf 2.65,
5067 with options \\"\$ac_cs_config\\"
5069 Copyright (C) 2009 Free Software Foundation, Inc.
5070 This config.status script is free software; the Free Software Foundation
5071 gives unlimited permission to copy, distribute and modify it."
5078 test -n "\$AWK" || AWK=awk
5081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5082 # The default lists apply if the user does not specify any file.
5088 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5089 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5100 # Handling of the options.
5101 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5103 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5104 $as_echo "$ac_cs_version"; exit ;;
5105 --config |
--confi |
--conf |
--con |
--co |
--c )
5106 $as_echo "$ac_cs_config"; exit ;;
5107 --debug |
--debu |
--deb |
--de |
--d |
-d )
5109 --file |
--fil |
--fi |
--f )
5112 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5114 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5115 ac_need_defaults
=false
;;
5116 --he |
--h |
--help |
--hel |
-h )
5117 $as_echo "$ac_cs_usage"; exit ;;
5118 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5119 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5123 -*) as_fn_error
"unrecognized option: \`$1'
5124 Try \`$0 --help' for more information." ;;
5126 *) as_fn_append ac_config_targets
" $1"
5127 ac_need_defaults
=false
;;
5133 ac_configure_extra_args
=
5135 if $ac_cs_silent; then
5137 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5141 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5142 if \$ac_cs_recheck; then
5143 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5145 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5146 CONFIG_SHELL='$SHELL'
5152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5156 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5157 ## Running $as_me. ##
5163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5167 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5173 # Handling of arguments.
5174 for ac_config_target
in $ac_config_targets
5176 case $ac_config_target in
5177 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5178 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5179 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
5180 "src/img/Makefile") CONFIG_FILES
="$CONFIG_FILES src/img/Makefile" ;;
5182 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5187 # If the user did not use the arguments to specify the items to instantiate,
5188 # then the envvar interface is used. Set only those that are not.
5189 # We use the long form for the default assignment because of an extremely
5190 # bizarre bug on SunOS 4.1.3.
5191 if $ac_need_defaults; then
5192 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5193 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5196 # Have a temporary directory for convenience. Make it in the build tree
5197 # simply because there is no reason against having it here, and in addition,
5198 # creating and moving files from /tmp can sometimes cause problems.
5199 # Hook for its removal unless debugging.
5200 # Note that there is a small window in which the directory will not be cleaned:
5201 # after its creation but before its name has been assigned to `$tmp'.
5205 trap 'exit_status=$?
5206 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5208 trap 'as_fn_exit 1' 1 2 13 15
5210 # Create a (secure) tmp directory for tmp files.
5213 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5214 test -n "$tmp" && test -d "$tmp"
5217 tmp
=.
/conf$$
-$RANDOM
5218 (umask 077 && mkdir
"$tmp")
5219 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
5221 # Set up the scripts for CONFIG_FILES section.
5222 # No need to generate them if there are no CONFIG_FILES.
5223 # This happens for instance with `./config.status config.h'.
5224 if test -n "$CONFIG_FILES"; then
5227 ac_cr
=`echo X | tr X '\015'`
5228 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5229 # But we know of no other shell where ac_cr would be empty at this
5230 # point, so we can use a bashism as a fallback.
5231 if test "x$ac_cr" = x
; then
5232 eval ac_cr
=\$
\'\\r
\'
5234 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5235 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5241 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5246 echo "cat >conf$$subs.awk <<_ACEOF" &&
5247 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5250 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5251 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5253 for ac_last_try in false false false false false :; do
5254 . ./conf$$subs.sh ||
5255 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5257 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5258 if test $ac_delim_n = $ac_delim_num; then
5260 elif $ac_last_try; then
5261 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5263 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5269 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
5273 s/^/S["/; s
/!.
*/"]=/
5283 s/\(.\{148\}\)..*/\1/
5285 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5290 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5297 s/\(.\{148\}\)..*/\1/
5299 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5303 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5308 ' <conf$$subs.awk | sed '
5313 ' >>$CONFIG_STATUS || ac_write_fail=1
5314 rm -f conf$$subs.awk
5315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5317 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
5318 for (key in S) S_is_set[key] = 1
5324 nfields = split(line, field, "@
")
5326 len = length(field[1])
5327 for (i = 2; i < nfields; i++) {
5329 keylen = length(key)
5330 if (S_is_set[key]) {
5332 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5333 len += length(value) + length(field[++i])
5344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5345 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5346 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5349 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
5350 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
5353 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5354 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
5355 # trailing colons and then remove the whole line if VPATH becomes empty
5356 # (actually we leave an empty line to preserve line numbers).
5357 if test "x
$srcdir" = x.; then
5358 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5362 s/^\([^=]*=[ ]*\):*/\1/
5368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5369 fi # test -n "$CONFIG_FILES"
5372 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
5377 :[FHLC]) ac_mode=$ac_tag; continue;;
5379 case $ac_mode$ac_tag in
5381 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5382 :[FH]-) ac_tag=-:-;;
5383 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5400 -) ac_f="$tmp/stdin";;
5401 *) # Look for the file first in the build tree, then in the source tree
5402 # (if the path is not absolute). The absolute path cannot be DOS-style,
5403 # because $ac_f cannot contain `:'.
5407 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5409 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5411 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5412 as_fn_append ac_file_inputs " '$ac_f'"
5415 # Let's still pretend it is `configure' which instantiates (i.e., don't
5416 # use $as_me), people would be surprised to read:
5417 # /* config.h. Generated by config.status. */
5418 configure_input='Generated from '`
5419 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5421 if test x"$ac_file" != x-; then
5422 configure_input="$ac_file.
$configure_input"
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5424 $as_echo "$as_me: creating
$ac_file" >&6;}
5426 # Neutralize special characters interpreted by sed in replacement strings.
5427 case $configure_input in #(
5428 *\&* | *\|* | *\\* )
5429 ac_sed_conf_input=`$as_echo "$configure_input" |
5430 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5431 *) ac_sed_conf_input=$configure_input;;
5435 *:-:* | *:-) cat >"$tmp/stdin
" \
5436 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
5441 ac_dir=`$as_dirname -- "$ac_file" ||
5442 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5443 X"$ac_file" : 'X\(//\)[^/]' \| \
5444 X"$ac_file" : 'X\(//\)$' \| \
5445 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5446 $as_echo X"$ac_file" |
5447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5464 as_dir="$ac_dir"; as_fn_mkdir_p
5468 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5470 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5471 # A "..
" for each directory in $ac_dir_suffix.
5472 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5473 case $ac_top_builddir_sub in
5474 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5475 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5478 ac_abs_top_builddir=$ac_pwd
5479 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5480 # for backward compatibility:
5481 ac_top_builddir=$ac_top_build_prefix
5484 .) # We are building in place.
5486 ac_top_srcdir=$ac_top_builddir_sub
5487 ac_abs_top_srcdir=$ac_pwd ;;
5488 [\\/]* | ?:[\\/]* ) # Absolute name.
5489 ac_srcdir=$srcdir$ac_dir_suffix;
5490 ac_top_srcdir=$srcdir
5491 ac_abs_top_srcdir=$srcdir ;;
5493 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5494 ac_top_srcdir=$ac_top_build_prefix$srcdir
5495 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5497 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5507 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5508 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5512 [\\/$]* | ?:[\\/]* ) ;;
5513 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5518 # If the template does not know about datarootdir, expand it.
5519 # FIXME: This hack should be removed a few years after 2.60.
5520 ac_datarootdir_hack=; ac_datarootdir_seen=
5531 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5532 *datarootdir*) ac_datarootdir_seen=yes;;
5533 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5535 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5538 ac_datarootdir_hack='
5539 s&@datadir@&$datadir&g
5540 s&@docdir@&$docdir&g
5541 s&@infodir@&$infodir&g
5542 s&@localedir@&$localedir&g
5543 s&@mandir@&$mandir&g
5544 s&\\\${datarootdir}&$datarootdir&g' ;;
5548 # Neutralize VPATH when `$srcdir' = `.'.
5549 # Shell code in configure.ac might set extrasub.
5550 # FIXME: do we really want to maintain this feature?
5551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5552 ac_sed_extra="$ac_vpsub
5555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5557 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5558 s|@configure_input@|
$ac_sed_conf_input|
;t t
5559 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5560 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5561 s
&@srcdir@
&$ac_srcdir&;t t
5562 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5563 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5564 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5565 s
&@builddir@
&$ac_builddir&;t t
5566 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5567 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5568 s
&@INSTALL@
&$ac_INSTALL&;t t
5569 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
5570 $ac_datarootdir_hack
5572 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
5573 || as_fn_error "could not create
$ac_file" "$LINENO" 5
5575 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5576 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5577 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5579 which seems to be undefined. Please make sure it is defined." >&5
5580 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5581 which seems to be undefined. Please make sure it is defined." >&2;}
5585 -) cat "$tmp/out" && rm -f "$tmp/out";;
5586 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5588 || as_fn_error "could not create $ac_file" "$LINENO" 5
5592 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5593 $as_echo "$as_me: executing $ac_file commands" >&6;}
5598 case $ac_file$ac_mode in
5599 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5600 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5601 # are listed without --file. Let's play safe and only
enable the
eval
5602 # if we detect the quoting.
5603 case $CONFIG_FILES in
5604 *\'*) eval set x
"$CONFIG_FILES" ;;
5605 *) set x
$CONFIG_FILES ;;
5610 # Strip MF so we end up with the name of the file.
5611 mf
=`echo "$mf" | sed -e 's/:.*$//'`
5612 # Check whether this is an Automake generated Makefile or not.
5613 # We used to match only the files named `Makefile.in', but
5614 # some people rename them; so instead we look at the file content.
5615 # Grep'ing the first line is not enough: some people post-process
5616 # each Makefile.in and add a new line on top of each file to say so.
5617 # Grep'ing the whole file is not good either: AIX grep has a line
5618 # limit of 2048, but all sed's we know have understand at least 4000.
5619 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
5620 dirpart
=`$as_dirname -- "$mf" ||
5621 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5622 X"$mf" : 'X\(//\)[^/]' \| \
5623 X"$mf" : 'X\(//\)$' \| \
5624 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5646 # Extract the definition of DEPDIR, am__include, and am__quote
5647 # from the Makefile without running `make'.
5648 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
5649 test -z "$DEPDIR" && continue
5650 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
5651 test -z "am__include" && continue
5652 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
5653 # When using ansi2knr, U may be empty or an underscore; expand it
5654 U
=`sed -n 's/^U = //p' < "$mf"`
5655 # Find all dependency output files, they are included files with
5656 # $(DEPDIR) in their names. We invoke sed twice because it is the
5657 # simplest approach to changing $(DEPDIR) to its actual value in the
5659 for file in `sed -n "
5660 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5661 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5662 # Make sure the directory exists.
5663 test -f "$dirpart/$file" && continue
5664 fdir
=`$as_dirname -- "$file" ||
5665 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5666 X"$file" : 'X\(//\)[^/]' \| \
5667 X"$file" : 'X\(//\)$' \| \
5668 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5687 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
5688 # echo "creating $dirpart/$file"
5689 echo '# dummy' > "$dirpart/$file"
5701 ac_clean_files
=$ac_clean_files_save
5703 test $ac_write_fail = 0 ||
5704 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
5707 # configure is writing to config.log, and then calls config.status.
5708 # config.status does its own redirection, appending to config.log.
5709 # Unfortunately, on DOS this fails, as config.log is still kept open
5710 # by configure, so config.status won't be able to write to it; its
5711 # output is simply discarded. So we exec the FD to /dev/null,
5712 # effectively closing config.log, so it can be properly (re)opened and
5713 # appended to by config.status. When coming back to configure, we
5714 # need to make the FD available again.
5715 if test "$no_create" != yes; then
5717 ac_config_status_args
=
5718 test "$silent" = yes &&
5719 ac_config_status_args
="$ac_config_status_args --quiet"
5721 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5723 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5724 # would make configure fail if this is the last instruction.
5725 $ac_cs_success || as_fn_exit $?
5727 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5729 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}