Add branding.
[jody.git] / configure
bloba31e8f4b90129d6d7bce36bb95524cb9470e88cc
1 #! /bin/sh
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,
10 # Inc.
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 :
22 emulate sh
23 NULLCMD=:
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+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
34 esac
38 as_nl='
40 export as_nl
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
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
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'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
86 # IFS
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.)
91 IFS=" "" $as_nl"
93 # Find who we are. Look in the path if we contain no directory separator.
94 case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103 IFS=$as_save_IFS
106 esac
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
110 as_myself=$0
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
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 || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
135 # CDPATH.
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 :
140 emulate sh
141 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
145 setopt NO_GLOB_SUBST
146 else
147 case \`(set -o) 2>/dev/null\` in #(
148 *posix*) :
149 set -o posix ;; #(
150 *) :
152 esac
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; }
161 exitcode=0
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 :
168 else
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 :
178 as_have_required=yes
179 else
180 as_have_required=no
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184 else
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 as_found=false
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 IFS=$as_save_IFS
190 test -z "$as_dir" && as_dir=.
191 as_found=:
192 case $as_dir in #(
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 :
201 break 2
204 done;;
205 esac
206 as_found=false
207 done
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
211 fi; }
212 IFS=$as_save_IFS
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.
219 BASH_ENV=/dev/null
220 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL
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."
232 else
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."
239 exit 1
243 SHELL=${CONFIG_SHELL-/bin/sh}
244 export SHELL
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 ## --------------------- ##
252 # as_fn_unset VAR
253 # ---------------
254 # Portably unset VAR.
255 as_fn_unset ()
257 { eval $1=; unset $1;}
259 as_unset=as_fn_unset
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
264 as_fn_set_status ()
266 return $1
267 } # as_fn_set_status
269 # as_fn_exit STATUS
270 # -----------------
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272 as_fn_exit ()
274 set +e
275 as_fn_set_status $1
276 exit $1
277 } # as_fn_exit
279 # as_fn_mkdir_p
280 # -------------
281 # Create "$as_dir" as a directory, including parents if necessary.
282 as_fn_mkdir_p ()
285 case $as_dir in #(
286 -*) as_dir=./$as_dir;;
287 esac
288 test -d "$as_dir" || eval $as_mkdir_p || {
289 as_dirs=
290 while :; do
291 case $as_dir in #(
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 *) as_qdir=$as_dir;;
294 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303 s//\1/
306 /^X\(\/\/\)[^/].*/{
307 s//\1/
310 /^X\(\/\/\)$/{
311 s//\1/
314 /^X\(\/\).*/{
315 s//\1/
318 s/.*/./; q'`
319 test -d "$as_dir" && break
320 done
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
325 } # as_fn_mkdir_p
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
331 # implementations.
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
335 eval $1+=\$2
337 else
338 as_fn_append ()
340 eval $1=\$$1\$2
342 fi # as_fn_append
344 # as_fn_arith ARG...
345 # ------------------
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 :
350 eval 'as_fn_arith ()
352 as_val=$(( $* ))
354 else
355 as_fn_arith ()
357 as_val=`expr "$@" || test $? -eq 1`
359 fi # as_fn_arith
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.
367 as_fn_error ()
369 as_status=$?; test $as_status -eq 0 && as_status=1
370 if test "$3"; then
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
376 } # as_fn_error
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 as_expr=expr
381 else
382 as_expr=false
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 as_basename=basename
387 else
388 as_basename=false
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_dirname=dirname
393 else
394 as_dirname=false
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 $as_echo X/"$0" |
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
403 s//\1/
406 /^X\/\(\/\/\)$/{
407 s//\1/
410 /^X\/\(\/\).*/{
411 s//\1/
414 s/.*/./; q'`
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. :-)
429 sed -n '
431 /[$]LINENO/=
432 ' <$as_myself |
433 sed '
434 s/[$]LINENO.*/&-/
435 t lineno
437 :lineno
439 :loop
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 t loop
442 s/-\n.*//
443 ' >$as_me.lineno &&
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).
450 . "./$as_me.lineno"
451 # Exit status is that of the last command.
452 exit
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
457 -n*)
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
460 xy) ECHO_C='\c';;
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
462 ECHO_T=' ';;
463 esac;;
465 ECHO_N='-n';;
466 esac
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
471 else
472 rm -f conf$$.dir
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
477 as_ln_s='ln -s'
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 ||
483 as_ln_s='cp -p'
484 elif ln conf$$.file conf$$ 2>/dev/null; then
485 as_ln_s=ln
486 else
487 as_ln_s='cp -p'
489 else
490 as_ln_s='cp -p'
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"'
497 else
498 test -d ./-p && rmdir ./-p
499 as_mkdir_p=false
502 if test -x / >/dev/null 2>&1; then
503 as_test_x='test -x'
504 else
505 if ls -dL / >/dev/null 2>&1; then
506 as_ls_L_option=L
507 else
508 as_ls_L_option=
510 as_test_x='
511 eval sh -c '\''
512 if test -d "$1"; then
513 test -d "$1/.";
514 else
515 case $1 in #(
516 -*)set "./$1";;
517 esac;
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
520 '\'' sh
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
533 exec 6>&1
535 # Name of the host.
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`
541 # Initializations.
543 ac_default_prefix=/usr/local
544 ac_clean_files=
545 ac_config_libobj_dir=.
546 LIBOBJS=
547 cross_compiling=no
548 subdirs=
549 MFLAGS=
550 MAKEFLAGS=
552 # Identity of this package.
553 PACKAGE_NAME='jody'
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'
558 PACKAGE_URL=''
560 ac_unique_file="src/main.c"
561 # Factoring default headers for most tests.
562 ac_includes_default="\
563 #include <stdio.h>
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
566 #endif
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
569 #endif
570 #ifdef STDC_HEADERS
571 # include <stdlib.h>
572 # include <stddef.h>
573 #else
574 # ifdef HAVE_STDLIB_H
575 # include <stdlib.h>
576 # endif
577 #endif
578 #ifdef HAVE_STRING_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
580 # include <memory.h>
581 # endif
582 # include <string.h>
583 #endif
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
586 #endif
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
589 #endif
590 #ifdef HAVE_STDINT_H
591 # include <stdint.h>
592 #endif
593 #ifdef HAVE_UNISTD_H
594 # include <unistd.h>
595 #endif"
597 ac_subst_vars='am__EXEEXT_FALSE
598 am__EXEEXT_TRUE
599 LTLIBOBJS
600 LIBOBJS
601 EGREP
602 GREP
604 SDL_LIBS
605 SDL_CFLAGS
606 SDL_CONFIG
607 am__fastdepCC_FALSE
608 am__fastdepCC_TRUE
609 CCDEPMODE
610 AMDEPBACKSLASH
611 AMDEP_FALSE
612 AMDEP_TRUE
613 am__quote
614 am__include
615 DEPDIR
616 OBJEXT
617 EXEEXT
618 ac_ct_CC
619 CPPFLAGS
620 LDFLAGS
621 CFLAGS
623 am__untar
624 am__tar
625 AMTAR
626 am__leading_dot
627 SET_MAKE
629 mkdir_p
630 MKDIR_P
631 INSTALL_STRIP_PROGRAM
632 STRIP
633 install_sh
634 MAKEINFO
635 AUTOHEADER
636 AUTOMAKE
637 AUTOCONF
638 ACLOCAL
639 VERSION
640 PACKAGE
641 CYGPATH_W
642 am__isrc
643 INSTALL_DATA
644 INSTALL_SCRIPT
645 INSTALL_PROGRAM
646 target_alias
647 host_alias
648 build_alias
649 LIBS
650 ECHO_T
651 ECHO_N
652 ECHO_C
653 DEFS
654 mandir
655 localedir
656 libdir
657 psdir
658 pdfdir
659 dvidir
660 htmldir
661 infodir
662 docdir
663 oldincludedir
664 includedir
665 localstatedir
666 sharedstatedir
667 sysconfdir
668 datadir
669 datarootdir
670 libexecdir
671 sbindir
672 bindir
673 program_transform_name
674 prefix
675 exec_prefix
676 PACKAGE_URL
677 PACKAGE_BUGREPORT
678 PACKAGE_STRING
679 PACKAGE_VERSION
680 PACKAGE_TARNAME
681 PACKAGE_NAME
682 PATH_SEPARATOR
683 SHELL'
684 ac_subst_files=''
685 ac_user_opts='
686 enable_option_checking
687 enable_dependency_tracking
688 with_sdl_prefix
689 with_sdl_exec_prefix
690 enable_sdltest
692 ac_precious_vars='build_alias
693 host_alias
694 target_alias
696 CFLAGS
697 LDFLAGS
698 LIBS
699 CPPFLAGS
700 CPP'
703 # Initialize some variables set by options.
704 ac_init_help=
705 ac_init_version=false
706 ac_unrecognized_opts=
707 ac_unrecognized_sep=
708 # The variables have the same names as the options, with
709 # dashes changed to underlines.
710 cache_file=/dev/null
711 exec_prefix=NONE
712 no_create=
713 no_recursion=
714 prefix=NONE
715 program_prefix=NONE
716 program_suffix=NONE
717 program_transform_name=s,x,x,
718 silent=
719 site=
720 srcdir=
721 verbose=
722 x_includes=NONE
723 x_libraries=NONE
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'
743 htmldir='${docdir}'
744 dvidir='${docdir}'
745 pdfdir='${docdir}'
746 psdir='${docdir}'
747 libdir='${exec_prefix}/lib'
748 localedir='${datarootdir}/locale'
749 mandir='${datarootdir}/man'
751 ac_prev=
752 ac_dashdash=
753 for ac_option
755 # If the previous option needs an argument, assign it.
756 if test -n "$ac_prev"; then
757 eval $ac_prev=\$ac_option
758 ac_prev=
759 continue
762 case $ac_option in
763 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
764 *) ac_optarg=yes ;;
765 esac
767 # Accept the important Cygnus configure options, so we can diagnose typos.
769 case $ac_dashdash$ac_option in
771 ac_dashdash=yes ;;
773 -bindir | --bindir | --bindi | --bind | --bin | --bi)
774 ac_prev=bindir ;;
775 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
776 bindir=$ac_optarg ;;
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 ;;
790 --config-cache | -C)
791 cache_file=config.cache ;;
793 -datadir | --datadir | --datadi | --datad)
794 ac_prev=datadir ;;
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
814 "enable_$ac_useropt"
815 "*) ;;
816 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
817 ac_unrecognized_sep=', ';;
818 esac
819 eval enable_$ac_useropt=no ;;
821 -docdir | --docdir | --docdi | --doc | --do)
822 ac_prev=docdir ;;
823 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
824 docdir=$ac_optarg ;;
826 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
827 ac_prev=dvidir ;;
828 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
829 dvidir=$ac_optarg ;;
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
840 "enable_$ac_useropt"
841 "*) ;;
842 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
843 ac_unrecognized_sep=', ';;
844 esac
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.
858 with_gas=yes ;;
860 -help | --help | --hel | --he | -h)
861 ac_init_help=long ;;
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)
873 ac_prev=htmldir ;;
874 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
875 | --ht=*)
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)
886 ac_prev=infodir ;;
887 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
888 infodir=$ac_optarg ;;
890 -libdir | --libdir | --libdi | --libd)
891 ac_prev=libdir ;;
892 -libdir=* | --libdir=* | --libdi=* | --libd=*)
893 libdir=$ac_optarg ;;
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)
903 ac_prev=localedir ;;
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)
915 ac_prev=mandir ;;
916 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
917 mandir=$ac_optarg ;;
919 -nfp | --nfp | --nf)
920 # Obsolete; use --without-fp.
921 with_fp=no ;;
923 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
924 | --no-cr | --no-c | -n)
925 no_create=yes ;;
927 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
928 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
929 no_recursion=yes ;;
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)
941 ac_prev=prefix ;;
942 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
943 prefix=$ac_optarg ;;
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)
977 ac_prev=pdfdir ;;
978 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
979 pdfdir=$ac_optarg ;;
981 -psdir | --psdir | --psdi | --psd | --ps)
982 ac_prev=psdir ;;
983 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
984 psdir=$ac_optarg ;;
986 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
987 | -silent | --silent | --silen | --sile | --sil)
988 silent=yes ;;
990 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
991 ac_prev=sbindir ;;
992 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
993 | --sbi=* | --sb=*)
994 sbindir=$ac_optarg ;;
996 -sharedstatedir | --sharedstatedir | --sharedstatedi \
997 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
998 | --sharedst | --shareds | --shared | --share | --shar \
999 | --sha | --sh)
1000 ac_prev=sharedstatedir ;;
1001 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1002 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1003 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1004 | --sha=* | --sh=*)
1005 sharedstatedir=$ac_optarg ;;
1007 -site | --site | --sit)
1008 ac_prev=site ;;
1009 -site=* | --site=* | --sit=*)
1010 site=$ac_optarg ;;
1012 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1013 ac_prev=srcdir ;;
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)
1030 verbose=yes ;;
1032 -version | --version | --versio | --versi | --vers | -V)
1033 ac_init_version=: ;;
1035 -with-* | --with-*)
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
1044 "with_$ac_useropt"
1045 "*) ;;
1046 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1047 ac_unrecognized_sep=', ';;
1048 esac
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
1060 "with_$ac_useropt"
1061 "*) ;;
1062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1063 ac_unrecognized_sep=', ';;
1064 esac
1065 eval with_$ac_useropt=no ;;
1067 --x)
1068 # Obsolete; use --with-x.
1069 with_x=yes ;;
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."
1089 *=*)
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'" ;;
1095 esac
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}
1107 esac
1108 done
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
1117 no) ;;
1118 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1119 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1120 esac
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.
1131 case $ac_val in
1132 */ )
1133 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1134 eval $ac_var=\$ac_val;;
1135 esac
1136 # Be sure to have absolute directory names.
1137 case $ac_val in
1138 [\\/$]* | ?:[\\/]* ) continue;;
1139 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1140 esac
1141 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1142 done
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.
1147 build=$build_alias
1148 host=$host_alias
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
1158 cross_compiling=yes
1162 ac_tool_prefix=
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1187 s//\1/
1190 /^X\(\/\/\)[^/].*/{
1191 s//\1/
1194 /^X\(\/\/\)$/{
1195 s//\1/
1198 /^X\(\/\).*/{
1199 s//\1/
1202 s/.*/./; q'`
1203 srcdir=$ac_confdir
1204 if test ! -r "$srcdir/$ac_unique_file"; then
1205 srcdir=..
1207 else
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"
1215 ac_abs_confdir=`(
1216 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1217 pwd)`
1218 # When building in place, set srcdir=.
1219 if test "$ac_abs_confdir" = "$ac_pwd"; then
1220 srcdir=.
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.
1225 case $srcdir in
1226 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1227 esac
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}
1233 done
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.
1241 cat <<_ACEOF
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.
1251 Configuration:
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
1266 [PREFIX]
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]
1295 _ACEOF
1297 cat <<\_ACEOF
1299 Program names:
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
1303 _ACEOF
1306 if test -n "$ac_init_help"; then
1307 case $ac_init_help in
1308 short | recursive ) echo "Configuration of jody 0.1.0:";;
1309 esac
1310 cat <<\_ACEOF
1312 Optional Features:
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
1320 Optional Packages:
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>
1334 CPP C preprocessor
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>.
1340 _ACEOF
1341 ac_status=$?
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"; } ||
1349 continue
1350 ac_builddir=.
1352 case "$ac_dir" in
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/ ;;
1361 esac ;;
1362 esac
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
1368 case $srcdir in
1369 .) # We are building in place.
1370 ac_srcdir=.
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 ;;
1377 *) # Relative name.
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 ;;
1381 esac
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
1387 echo &&
1388 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1389 elif test -f "$ac_srcdir/configure"; then
1390 echo &&
1391 $SHELL "$ac_srcdir/configure" --help=recursive
1392 else
1393 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1394 fi || ac_status=$?
1395 cd "$ac_pwd" || { ac_status=$?; break; }
1396 done
1399 test -n "$ac_init_help" && exit $ac_status
1400 if $ac_init_version; then
1401 cat <<\_ACEOF
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.
1408 _ACEOF
1409 exit
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"
1424 case "(($ac_try" in
1425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1426 *) ac_try_echo=$ac_try;;
1427 esac
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
1431 ac_status=$?
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 :
1442 ac_retval=0
1443 else
1444 $as_echo "$as_me: failed program was:" >&5
1445 sed 's/^/| /' conftest.$ac_ext >&5
1447 ac_retval=1
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.
1458 ac_fn_c_try_run ()
1460 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1461 if { { ac_try="$ac_link"
1462 case "(($ac_try" in
1463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1464 *) ac_try_echo=$ac_try;;
1465 esac
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
1469 ac_status=$?
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;;
1475 esac
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
1479 ac_status=$?
1480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1481 test $ac_status = 0; }; }; then :
1482 ac_retval=0
1483 else
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
1494 } # ac_fn_c_try_run
1496 # ac_fn_c_try_link LINENO
1497 # -----------------------
1498 # Try to link conftest.$ac_ext, and return whether this succeeded.
1499 ac_fn_c_try_link ()
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"
1504 case "(($ac_try" in
1505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1506 *) ac_try_echo=$ac_try;;
1507 esac
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
1511 ac_status=$?
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
1524 }; then :
1525 ac_retval=0
1526 else
1527 $as_echo "$as_me: failed program was:" >&5
1528 sed 's/^/| /' conftest.$ac_ext >&5
1530 ac_retval=1
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.
1545 ac_fn_c_try_cpp ()
1547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548 if { { ac_try="$ac_cpp conftest.$ac_ext"
1549 case "(($ac_try" in
1550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1551 *) ac_try_echo=$ac_try;;
1552 esac
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
1556 ac_status=$?
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
1566 }; then :
1567 ac_retval=0
1568 else
1569 $as_echo "$as_me: failed program was:" >&5
1570 sed 's/^/| /' conftest.$ac_ext >&5
1572 ac_retval=1
1574 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1575 as_fn_set_status $ac_retval
1577 } # ac_fn_c_try_cpp
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
1583 # accordingly.
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
1593 eval ac_res=\$$3
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1595 $as_echo "$ac_res" >&6; }
1596 else
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. */
1603 #include <$2>
1604 _ACEOF
1605 if ac_fn_c_try_compile "$LINENO"; then :
1606 ac_header_compiler=yes
1607 else
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. */
1619 #include <$2>
1620 _ACEOF
1621 if ac_fn_c_try_cpp "$LINENO"; then :
1622 ac_header_preproc=yes
1623 else
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 #((
1632 yes:no: )
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;}
1638 no:yes:* )
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;}
1649 ( cat <<\_ASBOX
1650 ## --------------------------------------------------- ##
1651 ## Report this to jonathan dot wheelhouse at gmail.com ##
1652 ## --------------------------------------------------- ##
1653 _ASBOX
1654 ) | sed "s/^/$as_me: WARNING: /" >&2
1656 esac
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
1661 else
1662 eval "$3=\$ac_header_compiler"
1664 eval ac_res=\$$3
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
1683 else
1684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1685 /* end confdefs.h. */
1687 #include <$2>
1688 _ACEOF
1689 if ac_fn_c_try_compile "$LINENO"; then :
1690 eval "$3=yes"
1691 else
1692 eval "$3=no"
1694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1696 eval ac_res=\$$3
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
1713 else
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. */
1725 #ifdef __STDC__
1726 # include <limits.h>
1727 #else
1728 # include <assert.h>
1729 #endif
1731 #undef $2
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. */
1736 #ifdef __cplusplus
1737 extern "C"
1738 #endif
1739 char $2 ();
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
1744 choke me
1745 #endif
1748 main ()
1750 return $2 ();
1752 return 0;
1754 _ACEOF
1755 if ac_fn_c_try_link "$LINENO"; then :
1756 eval "$3=yes"
1757 else
1758 eval "$3=no"
1760 rm -f core conftest.err conftest.$ac_objext \
1761 conftest$ac_exeext conftest.$ac_ext
1763 eval ac_res=\$$3
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
1776 $ $0 $@
1778 _ACEOF
1779 exec 5>>config.log
1781 cat <<_ASUNAME
1782 ## --------- ##
1783 ## Platform. ##
1784 ## --------- ##
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`
1803 _ASUNAME
1805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1806 for as_dir in $PATH
1808 IFS=$as_save_IFS
1809 test -z "$as_dir" && as_dir=.
1810 $as_echo "PATH: $as_dir"
1811 done
1812 IFS=$as_save_IFS
1814 } >&5
1816 cat >&5 <<_ACEOF
1819 ## ----------- ##
1820 ## Core tests. ##
1821 ## ----------- ##
1823 _ACEOF
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.
1831 ac_configure_args=
1832 ac_configure_args0=
1833 ac_configure_args1=
1834 ac_must_keep_next=false
1835 for ac_pass in 1 2
1837 for ac_arg
1839 case $ac_arg in
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)
1843 continue ;;
1844 *\'*)
1845 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1846 esac
1847 case $ac_pass in
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.
1853 else
1854 case $ac_arg in
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 ;;
1861 esac
1863 -* ) ac_must_keep_next=true ;;
1864 esac
1866 as_fn_append ac_configure_args " '$ac_arg'"
1868 esac
1869 done
1870 done
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.
1882 echo
1884 cat <<\_ASBOX
1885 ## ---------------- ##
1886 ## Cache variables. ##
1887 ## ---------------- ##
1888 _ASBOX
1889 echo
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
1894 case $ac_val in #(
1895 *${as_nl}*)
1896 case $ac_var in #(
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;} ;;
1899 esac
1900 case $ac_var in #(
1901 _ | IFS | as_nl) ;; #(
1902 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1903 *) { eval $ac_var=; unset $ac_var;} ;;
1904 esac ;;
1905 esac
1906 done
1907 (set) 2>&1 |
1908 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1909 *${as_nl}ac_space=\ *)
1910 sed -n \
1911 "s/'\''/'\''\\\\'\'''\''/g;
1912 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1913 ;; #(
1915 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1917 esac |
1918 sort
1920 echo
1922 cat <<\_ASBOX
1923 ## ----------------- ##
1924 ## Output variables. ##
1925 ## ----------------- ##
1926 _ASBOX
1927 echo
1928 for ac_var in $ac_subst_vars
1930 eval ac_val=\$$ac_var
1931 case $ac_val in
1932 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1933 esac
1934 $as_echo "$ac_var='\''$ac_val'\''"
1935 done | sort
1936 echo
1938 if test -n "$ac_subst_files"; then
1939 cat <<\_ASBOX
1940 ## ------------------- ##
1941 ## File substitutions. ##
1942 ## ------------------- ##
1943 _ASBOX
1944 echo
1945 for ac_var in $ac_subst_files
1947 eval ac_val=\$$ac_var
1948 case $ac_val in
1949 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1950 esac
1951 $as_echo "$ac_var='\''$ac_val'\''"
1952 done | sort
1953 echo
1956 if test -s confdefs.h; then
1957 cat <<\_ASBOX
1958 ## ----------- ##
1959 ## confdefs.h. ##
1960 ## ----------- ##
1961 _ASBOX
1962 echo
1963 cat confdefs.h
1964 echo
1966 test "$ac_signal" != 0 &&
1967 $as_echo "$as_me: caught signal $ac_signal"
1968 $as_echo "$as_me: exit $exit_status"
1969 } >&5
1970 rm -f core *.core core.conftest.* &&
1971 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1972 exit $exit_status
1974 for ac_signal in 1 2 13 15; do
1975 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1976 done
1977 ac_signal=0
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"
1988 _ACEOF
1990 cat >>confdefs.h <<_ACEOF
1991 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1992 _ACEOF
1994 cat >>confdefs.h <<_ACEOF
1995 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1996 _ACEOF
1998 cat >>confdefs.h <<_ACEOF
1999 #define PACKAGE_STRING "$PACKAGE_STRING"
2000 _ACEOF
2002 cat >>confdefs.h <<_ACEOF
2003 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2004 _ACEOF
2006 cat >>confdefs.h <<_ACEOF
2007 #define PACKAGE_URL "$PACKAGE_URL"
2008 _ACEOF
2011 # Let the site file select an alternate cache file if it wants to.
2012 # Prefer an explicitly selected file to automatically selected ones.
2013 ac_site_file1=NONE
2014 ac_site_file2=NONE
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
2020 else
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
2031 . "$ac_site_file"
2033 done
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;}
2041 case $cache_file in
2042 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2043 *) . "./$cache_file";;
2044 esac
2046 else
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2048 $as_echo "$as_me: creating cache $cache_file" >&6;}
2049 >$cache_file
2052 # Check that the precious variables saved in the cache have kept the same
2053 # value.
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
2061 set,)
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=: ;;
2065 ,set)
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=: ;;
2069 ,);;
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=:
2079 else
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;}
2088 fi;;
2089 esac
2090 # Pass precious variables to config.status.
2091 if test "$ac_new_set" = set; then
2092 case $ac_new_val in
2093 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2094 *) ac_arg=$ac_var=$ac_new_val ;;
2095 esac
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'" ;;
2099 esac
2101 done
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 ## -------------------- ##
2113 ac_ext=c
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'
2123 ac_aux_dir=
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
2127 ac_aux_dir=$ac_dir
2128 ac_install_sh="$ac_aux_dir/$ac_t -c"
2129 break 2
2131 done
2132 done
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
2152 # AIX /bin/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
2165 else
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 for as_dir in $PATH
2169 IFS=$as_save_IFS
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[\\/]* | \
2176 /usr/ucb/* ) ;;
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
2180 # by default.
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.
2192 else
2193 rm -rf conftest.one conftest.two conftest.dir
2194 echo one > conftest.one
2195 echo two > conftest.two
2196 mkdir conftest.dir
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
2201 then
2202 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2203 break 3
2207 done
2208 done
2210 esac
2212 done
2213 IFS=$as_save_IFS
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
2220 else
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; }
2241 # Just in case
2242 sleep 1
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.
2246 am_lf='
2248 case `pwd` in
2249 *[\\\"\#\$\&\'\`$am_lf]*)
2250 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2251 esac
2252 case $srcdir in
2253 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2254 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2255 esac
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
2261 # directory).
2262 if (
2263 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2264 if test "$*" = "X"; then
2265 # -L didn't work.
2266 set X `ls -t "$srcdir/configure" conftest.file`
2268 rm -f 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
2282 then
2283 # Ok.
2285 else
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
2305 case $am_aux_dir in
2306 *\ * | *\ *)
2307 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2309 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2310 esac
2312 # Use eval to expand $SHELL
2313 if eval "$MISSING --run true"; then
2314 am_missing_run="$MISSING --run "
2315 else
2316 am_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
2322 case $am_aux_dir in
2323 *\ * | *\ *)
2324 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2326 install_sh="\${SHELL} $am_aux_dir/install-sh"
2327 esac
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
2342 else
2343 if test -n "$STRIP"; then
2344 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2345 else
2346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2347 for as_dir in $PATH
2349 IFS=$as_save_IFS
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
2355 break 2
2357 done
2358 done
2359 IFS=$as_save_IFS
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; }
2367 else
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
2375 ac_ct_STRIP=$STRIP
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
2382 else
2383 if test -n "$ac_ct_STRIP"; then
2384 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2385 else
2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2387 for as_dir in $PATH
2389 IFS=$as_save_IFS
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
2395 break 2
2397 done
2398 done
2399 IFS=$as_save_IFS
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; }
2407 else
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
2413 STRIP=":"
2414 else
2415 case $cross_compiling:$ac_tool_warned in
2416 yes:)
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 ;;
2420 esac
2421 STRIP=$ac_ct_STRIP
2423 else
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
2435 else
2436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2439 IFS=$as_save_IFS
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
2449 break 3;;
2450 esac
2451 done
2452 done
2453 done
2454 IFS=$as_save_IFS
2458 test -d ./--version && rmdir ./--version
2459 if test "${ac_cv_path_mkdir+set}" = set; then
2460 MKDIR_P="$ac_cv_path_mkdir -p"
2461 else
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; }
2472 mkdir_p="$MKDIR_P"
2473 case $mkdir_p in
2474 [\\/$]* | ?:[\\/]*) ;;
2475 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2476 esac
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
2486 else
2487 if test -n "$AWK"; then
2488 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2489 else
2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491 for as_dir in $PATH
2493 IFS=$as_save_IFS
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
2499 break 2
2501 done
2502 done
2503 IFS=$as_save_IFS
2507 AWK=$ac_cv_prog_AWK
2508 if test -n "$AWK"; then
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2510 $as_echo "$AWK" >&6; }
2511 else
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2513 $as_echo "no" >&6; }
2517 test -n "$AWK" && break
2518 done
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; }
2522 set x ${MAKE-make}
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
2526 else
2527 cat >conftest.make <<\_ACEOF
2528 SHELL = /bin/sh
2529 all:
2530 @echo '@@@%%%=$(MAKE)=@@@%%%'
2531 _ACEOF
2532 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2533 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2534 *@@@%%%=?*=@@@%%%*)
2535 eval ac_cv_prog_make_${ac_make}_set=yes;;
2537 eval ac_cv_prog_make_${ac_make}_set=no;;
2538 esac
2539 rm -f conftest.make
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; }
2544 SET_MAKE=
2545 else
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
2554 am__leading_dot=.
2555 else
2556 am__leading_dot=_
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'
2574 else
2575 CYGPATH_W=echo
2580 # Define the identity of the package.
2581 PACKAGE='jody'
2582 VERSION='0.1.0'
2585 cat >>confdefs.h <<_ACEOF
2586 #define PACKAGE "$PACKAGE"
2587 _ACEOF
2590 cat >>confdefs.h <<_ACEOF
2591 #define VERSION "$VERSION"
2592 _ACEOF
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
2611 # some platforms.
2612 # Always define AMTAR for backward compatibility.
2614 AMTAR=${AMTAR-"${am_missing_run}tar"}
2616 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2623 ac_ext=c
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
2635 else
2636 if test -n "$CC"; then
2637 ac_cv_prog_CC="$CC" # Let the user override the test.
2638 else
2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2640 for as_dir in $PATH
2642 IFS=$as_save_IFS
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
2648 break 2
2650 done
2651 done
2652 IFS=$as_save_IFS
2656 CC=$ac_cv_prog_CC
2657 if test -n "$CC"; then
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2659 $as_echo "$CC" >&6; }
2660 else
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
2668 ac_ct_CC=$CC
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
2675 else
2676 if test -n "$ac_ct_CC"; then
2677 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2678 else
2679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2680 for as_dir in $PATH
2682 IFS=$as_save_IFS
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
2688 break 2
2690 done
2691 done
2692 IFS=$as_save_IFS
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; }
2700 else
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
2706 CC=""
2707 else
2708 case $cross_compiling:$ac_tool_warned in
2709 yes:)
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 ;;
2713 esac
2714 CC=$ac_ct_CC
2716 else
2717 CC="$ac_cv_prog_CC"
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
2728 else
2729 if test -n "$CC"; then
2730 ac_cv_prog_CC="$CC" # Let the user override the test.
2731 else
2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733 for as_dir in $PATH
2735 IFS=$as_save_IFS
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
2741 break 2
2743 done
2744 done
2745 IFS=$as_save_IFS
2749 CC=$ac_cv_prog_CC
2750 if test -n "$CC"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2752 $as_echo "$CC" >&6; }
2753 else
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
2768 else
2769 if test -n "$CC"; then
2770 ac_cv_prog_CC="$CC" # Let the user override the test.
2771 else
2772 ac_prog_rejected=no
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774 for as_dir in $PATH
2776 IFS=$as_save_IFS
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
2782 continue
2784 ac_cv_prog_CC="cc"
2785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 break 2
2788 done
2789 done
2790 IFS=$as_save_IFS
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
2795 shift
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.
2800 shift
2801 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2806 CC=$ac_cv_prog_CC
2807 if test -n "$CC"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2809 $as_echo "$CC" >&6; }
2810 else
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
2827 else
2828 if test -n "$CC"; then
2829 ac_cv_prog_CC="$CC" # Let the user override the test.
2830 else
2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832 for as_dir in $PATH
2834 IFS=$as_save_IFS
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
2840 break 2
2842 done
2843 done
2844 IFS=$as_save_IFS
2848 CC=$ac_cv_prog_CC
2849 if test -n "$CC"; then
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2851 $as_echo "$CC" >&6; }
2852 else
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 $as_echo "no" >&6; }
2858 test -n "$CC" && break
2859 done
2861 if test -z "$CC"; then
2862 ac_ct_CC=$CC
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
2871 else
2872 if test -n "$ac_ct_CC"; then
2873 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2874 else
2875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2876 for as_dir in $PATH
2878 IFS=$as_save_IFS
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
2884 break 2
2886 done
2887 done
2888 IFS=$as_save_IFS
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; }
2896 else
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2898 $as_echo "no" >&6; }
2902 test -n "$ac_ct_CC" && break
2903 done
2905 if test "x$ac_ct_CC" = x; then
2906 CC=""
2907 else
2908 case $cross_compiling:$ac_tool_warned in
2909 yes:)
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 ;;
2913 esac
2914 CC=$ac_ct_CC
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
2928 set X $ac_compile
2929 ac_compiler=$2
2930 for ac_option in --version -v -V -qversion; do
2931 { { ac_try="$ac_compiler $ac_option >&5"
2932 case "(($ac_try" in
2933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934 *) ac_try_echo=$ac_try;;
2935 esac
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
2939 ac_status=$?
2940 if test -s conftest.err; then
2941 sed '10a\
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; }
2949 done
2951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2952 /* end confdefs.h. */
2955 main ()
2959 return 0;
2961 _ACEOF
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
2966 # of exeext.
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.*"
2974 ac_rmfiles=
2975 for ac_file in $ac_files
2977 case $ac_file in
2978 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2979 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2980 esac
2981 done
2982 rm -f $ac_rmfiles
2984 if { { ac_try="$ac_link_default"
2985 case "(($ac_try" in
2986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2988 esac
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
2992 ac_status=$?
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
2999 # Autoconf.
3000 for ac_file in $ac_files ''
3002 test -f "$ac_file" || continue
3003 case $ac_file in
3004 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3006 [ab].out )
3007 # We found the default executable, but exeext='' is most
3008 # certainly right.
3009 break;;
3010 *.* )
3011 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3012 then :; else
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
3019 # actually working.
3020 break;;
3022 break;;
3023 esac
3024 done
3025 test "$ac_cv_exeext" = no && ac_cv_exeext=
3027 else
3028 ac_file=''
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; }; }
3041 else
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"
3056 case "(($ac_try" in
3057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3058 *) ac_try_echo=$ac_try;;
3059 esac
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
3063 ac_status=$?
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
3069 # `rm'.
3070 for ac_file in conftest.exe conftest conftest.*; do
3071 test -f "$ac_file" || continue
3072 case $ac_file in
3073 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3074 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3075 break;;
3076 * ) break;;
3077 esac
3078 done
3079 else
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
3091 ac_exeext=$EXEEXT
3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3093 /* end confdefs.h. */
3094 #include <stdio.h>
3096 main ()
3098 FILE *f = fopen ("conftest.out", "w");
3099 return ferror (f) || fclose (f) != 0;
3102 return 0;
3104 _ACEOF
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"
3112 case "(($ac_try" in
3113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3114 *) ac_try_echo=$ac_try;;
3115 esac
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
3119 ac_status=$?
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;;
3126 esac
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
3130 ac_status=$?
3131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3132 test $ac_status = 0; }; }; then
3133 cross_compiling=no
3134 else
3135 if test "$cross_compiling" = maybe; then
3136 cross_compiling=yes
3137 else
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
3155 else
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3160 main ()
3164 return 0;
3166 _ACEOF
3167 rm -f conftest.o conftest.obj
3168 if { { ac_try="$ac_compile"
3169 case "(($ac_try" in
3170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3171 *) ac_try_echo=$ac_try;;
3172 esac
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
3176 ac_status=$?
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;
3181 case $ac_file in
3182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3183 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3184 break;;
3185 esac
3186 done
3187 else
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
3201 ac_objext=$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
3206 else
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3211 main ()
3213 #ifndef __GNUC__
3214 choke me
3215 #endif
3218 return 0;
3220 _ACEOF
3221 if ac_fn_c_try_compile "$LINENO"; then :
3222 ac_compiler_gnu=yes
3223 else
3224 ac_compiler_gnu=no
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
3233 GCC=yes
3234 else
3235 GCC=
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
3243 else
3244 ac_save_c_werror_flag=$ac_c_werror_flag
3245 ac_c_werror_flag=yes
3246 ac_cv_prog_cc_g=no
3247 CFLAGS="-g"
3248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249 /* end confdefs.h. */
3252 main ()
3256 return 0;
3258 _ACEOF
3259 if ac_fn_c_try_compile "$LINENO"; then :
3260 ac_cv_prog_cc_g=yes
3261 else
3262 CFLAGS=""
3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3267 main ()
3271 return 0;
3273 _ACEOF
3274 if ac_fn_c_try_compile "$LINENO"; then :
3276 else
3277 ac_c_werror_flag=$ac_save_c_werror_flag
3278 CFLAGS="-g"
3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280 /* end confdefs.h. */
3283 main ()
3287 return 0;
3289 _ACEOF
3290 if ac_fn_c_try_compile "$LINENO"; then :
3291 ac_cv_prog_cc_g=yes
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
3306 CFLAGS="-g -O2"
3307 else
3308 CFLAGS="-g"
3310 else
3311 if test "$GCC" = yes; then
3312 CFLAGS="-O2"
3313 else
3314 CFLAGS=
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
3321 else
3322 ac_cv_prog_cc_c89=no
3323 ac_save_CC=$CC
3324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3325 /* end confdefs.h. */
3326 #include <stdarg.h>
3327 #include <stdio.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)
3334 char **p;
3335 int i;
3337 return p[i];
3339 static char *f (char * (*g) (char **, int), char **p, ...)
3341 char *s;
3342 va_list v;
3343 va_start (v,p);
3344 s = g (p, va_arg (v,int));
3345 va_end (v);
3346 return s;
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. */
3360 #define FOO(x) 'x'
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);
3367 int argc;
3368 char **argv;
3370 main ()
3372 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3374 return 0;
3376 _ACEOF
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
3386 done
3387 rm -f conftest.$ac_ext
3388 CC=$ac_save_CC
3391 # AC_CACHE_VAL
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; } ;;
3396 xno)
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; } ;;
3403 esac
3404 if test "x$ac_cv_prog_cc_c89" != xno; then :
3408 ac_ext=c
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'
3420 am__doit:
3421 @echo this is the am__doit target
3422 .PHONY: am__doit
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; }
3427 am__include="#"
3428 am__quote=
3429 _am_result=none
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*)
3435 am__include=include
3436 am__quote=
3437 _am_result=GNU
3439 esac
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
3446 am__quote="\""
3447 _am_result=BSD
3449 esac
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"
3464 AMDEPBACKSLASH='\'
3466 if test "x$enable_dependency_tracking" != xno; then
3467 AMDEP_TRUE=
3468 AMDEP_FALSE='#'
3469 else
3470 AMDEP_TRUE='#'
3471 AMDEP_FALSE=
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
3482 else
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
3488 # in D'.
3489 mkdir conftest.dir
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
3493 cd 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
3499 # directory.
3500 mkdir sub
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`
3506 am__universal=false
3507 case " $depcc " in #(
3508 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3509 esac
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.
3519 : > sub/conftest.c
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
3525 done
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"
3534 case $depmode in
3535 gcc)
3536 # This depmode causes a compiler race in universal mode.
3537 test "$am__universal" = false || continue
3539 nosideeffect)
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
3543 continue
3544 else
3545 break
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}
3553 am__minus_obj=
3555 none) break ;;
3556 esac
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
3576 break
3579 done
3581 cd ..
3582 rm -rf conftest.dir
3583 else
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
3595 am__fastdepCC_TRUE=
3596 am__fastdepCC_FALSE='#'
3597 else
3598 am__fastdepCC_TRUE='#'
3599 am__fastdepCC_FALSE=
3604 SDL_VERSION=1.2.0
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"
3610 else
3611 sdl_prefix=""
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"
3618 else
3619 sdl_exec_prefix=""
3622 # Check whether --enable-sdltest was given.
3623 if test "${enable_sdltest+set}" = set; then :
3624 enableval=$enable_sdltest;
3625 else
3626 enable_sdltest=yes
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
3649 else
3650 case $SDL_CONFIG in
3651 [\\/]* | ?:[\\/]*)
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
3656 for as_dir in $PATH
3658 IFS=$as_save_IFS
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
3664 break 2
3666 done
3667 done
3668 IFS=$as_save_IFS
3670 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
3672 esac
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; }
3678 else
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; }
3687 no_sdl=""
3688 if test "$SDL_CONFIG" = "no" ; then
3689 no_sdl=yes
3690 else
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"
3705 rm -f conf.sdltest
3706 if test "$cross_compiling" = yes; then :
3707 echo $ac_n "cross compiling; assumed OK... $ac_c"
3708 else
3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3710 /* end confdefs.h. */
3712 #include <stdio.h>
3713 #include <stdlib.h>
3714 #include <string.h>
3715 #include "SDL.h"
3717 char*
3718 my_strdup (char *str)
3720 char *new_str;
3722 if (str)
3724 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
3725 strcpy (new_str, str);
3727 else
3728 new_str = NULL;
3730 return new_str;
3733 int main (int argc, char *argv[])
3735 int major, minor, micro;
3736 char *tmp_version;
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, &micro) != 3) {
3746 printf("%s, bad version string\n", "$min_sdl_version");
3747 exit(1);
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)))
3754 return 0;
3756 else
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");
3764 return 1;
3769 _ACEOF
3770 if ac_fn_c_try_run "$LINENO"; then :
3772 else
3773 no_sdl=yes
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; }
3787 else
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."
3795 else
3796 if test -f conf.sdltest ; then
3798 else
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. */
3805 #include <stdio.h>
3806 #include "SDL.h"
3808 int main(int argc, char *argv[])
3809 { return 0; }
3810 #undef main
3811 #define main K_and_R_C_main
3814 main ()
3816 return 0;
3818 return 0;
3820 _ACEOF
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"
3828 echo "***"
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"
3831 else
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"
3843 SDL_CFLAGS=""
3844 SDL_LIBS=""
3845 as_fn_error "*** SDL version $(SDL_VERSION) not found!" "$LINENO" 5
3849 rm -f conf.sdltest
3852 # Checks for header files.
3853 ac_ext=c
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
3862 CPP=
3864 if test -z "$CPP"; then
3865 if test "${ac_cv_prog_CPP+set}" = set; then :
3866 $as_echo_n "(cached) " >&6
3867 else
3868 # Double quotes because CPP needs to be expanded
3869 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3871 ac_preproc_ok=false
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. */
3882 #ifdef __STDC__
3883 # include <limits.h>
3884 #else
3885 # include <assert.h>
3886 #endif
3887 Syntax error
3888 _ACEOF
3889 if ac_fn_c_try_cpp "$LINENO"; then :
3891 else
3892 # Broken: fails on valid input.
3893 continue
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>
3902 _ACEOF
3903 if ac_fn_c_try_cpp "$LINENO"; then :
3904 # Broken: success on invalid input.
3905 continue
3906 else
3907 # Passes both tests.
3908 ac_preproc_ok=:
3909 break
3911 rm -f conftest.err conftest.$ac_ext
3913 done
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 :
3917 break
3920 done
3921 ac_cv_prog_CPP=$CPP
3924 CPP=$ac_cv_prog_CPP
3925 else
3926 ac_cv_prog_CPP=$CPP
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3929 $as_echo "$CPP" >&6; }
3930 ac_preproc_ok=false
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. */
3941 #ifdef __STDC__
3942 # include <limits.h>
3943 #else
3944 # include <assert.h>
3945 #endif
3946 Syntax error
3947 _ACEOF
3948 if ac_fn_c_try_cpp "$LINENO"; then :
3950 else
3951 # Broken: fails on valid input.
3952 continue
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>
3961 _ACEOF
3962 if ac_fn_c_try_cpp "$LINENO"; then :
3963 # Broken: success on invalid input.
3964 continue
3965 else
3966 # Passes both tests.
3967 ac_preproc_ok=:
3968 break
3970 rm -f conftest.err conftest.$ac_ext
3972 done
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 :
3977 else
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; }
3984 ac_ext=c
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
3995 else
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/xpg4/bin
4002 IFS=$as_save_IFS
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
4011 *GNU*)
4012 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4014 ac_count=0
4015 $as_echo_n 0123456789 >"conftest.in"
4016 while :
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
4032 done
4033 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4034 esac
4036 $ac_path_GREP_found && break 3
4037 done
4038 done
4039 done
4040 IFS=$as_save_IFS
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
4044 else
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
4058 else
4059 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4060 then ac_cv_path_EGREP="$GREP -E"
4061 else
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/xpg4/bin
4068 IFS=$as_save_IFS
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
4077 *GNU*)
4078 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4080 ac_count=0
4081 $as_echo_n 0123456789 >"conftest.in"
4082 while :
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
4098 done
4099 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4100 esac
4102 $ac_path_EGREP_found && break 3
4103 done
4104 done
4105 done
4106 IFS=$as_save_IFS
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
4110 else
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
4125 else
4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h. */
4128 #include <stdlib.h>
4129 #include <stdarg.h>
4130 #include <string.h>
4131 #include <float.h>
4134 main ()
4138 return 0;
4140 _ACEOF
4141 if ac_fn_c_try_compile "$LINENO"; then :
4142 ac_cv_header_stdc=yes
4143 else
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. */
4152 #include <string.h>
4154 _ACEOF
4155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4156 $EGREP "memchr" >/dev/null 2>&1; then :
4158 else
4159 ac_cv_header_stdc=no
4161 rm -f conftest*
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. */
4169 #include <stdlib.h>
4171 _ACEOF
4172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4173 $EGREP "free" >/dev/null 2>&1; then :
4175 else
4176 ac_cv_header_stdc=no
4178 rm -f conftest*
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 :
4186 else
4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4189 #include <ctype.h>
4190 #include <stdlib.h>
4191 #if ((' ' & 0x0FF) == 0x020)
4192 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4193 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4194 #else
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))
4200 #endif
4202 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4204 main ()
4206 int i;
4207 for (i = 0; i < 256; i++)
4208 if (XOR (islower (i), ISLOWER (i))
4209 || toupper (i) != TOUPPER (i))
4210 return 2;
4211 return 0;
4213 _ACEOF
4214 if ac_fn_c_try_run "$LINENO"; then :
4216 else
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
4236 do :
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
4244 _ACEOF
4248 done
4251 for ac_header in stdlib.h string.h
4252 do :
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
4259 _ACEOF
4263 done
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
4271 else
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4276 main ()
4278 /* FIXME: Include the comments suggested by Paul. */
4279 #ifndef __cplusplus
4280 /* Ultrix mips cc rejects this. */
4281 typedef int charset[2];
4282 const charset cs;
4283 /* SunOS 4.1.1 cc rejects this. */
4284 char const *const *pcpcc;
4285 char **ppc;
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
4292 expression */
4293 const char *g = "string";
4294 pcpcc = &g + (g ? g-g : 0);
4295 /* HPUX 7.0 cc rejects these. */
4296 ++pcpcc;
4297 ppc = (char**) pcpcc;
4298 pcpcc = (char const *const *) ppc;
4299 { /* SCO 3.2v4 cc rejects this. */
4300 char *t;
4301 char const *s = 0 ? (char *) 0 : (char const *) 0;
4303 *t++ = 0;
4304 if (s) return 0;
4306 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4307 int x[] = {25, 17};
4308 const int *foo = &x[0];
4309 ++foo;
4311 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4312 typedef const int *iptr;
4313 iptr p = 0;
4314 ++p;
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 */
4322 const int foo = 10;
4323 if (!foo) return 0;
4325 return !cs[0] && !zero.x;
4326 #endif
4329 return 0;
4331 _ACEOF
4332 if ac_fn_c_try_compile "$LINENO"; then :
4333 ac_cv_c_const=yes
4334 else
4335 ac_cv_c_const=no
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
4350 do :
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
4355 _ACEOF
4359 done
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
4365 else
4366 if test "$cross_compiling" = yes; then :
4367 ac_cv_func_malloc_0_nonnull=no
4368 else
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>
4373 #else
4374 char *malloc ();
4375 #endif
4378 main ()
4380 return ! malloc (0);
4382 return 0;
4384 _ACEOF
4385 if ac_fn_c_try_run "$LINENO"; then :
4386 ac_cv_func_malloc_0_nonnull=yes
4387 else
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
4401 else
4402 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4404 case " $LIBOBJS " in
4405 *" malloc.$ac_objext "* ) ;;
4406 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4408 esac
4411 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4416 for ac_func in vprintf
4417 do :
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
4422 _ACEOF
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
4432 done
4435 for ac_func in atexit memset
4436 do :
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
4443 _ACEOF
4446 done
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
4463 # following values.
4465 _ACEOF
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
4475 case $ac_val in #(
4476 *${as_nl}*)
4477 case $ac_var in #(
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;} ;;
4480 esac
4481 case $ac_var in #(
4482 _ | IFS | as_nl) ;; #(
4483 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4484 *) { eval $ac_var=; unset $ac_var;} ;;
4485 esac ;;
4486 esac
4487 done
4489 (set) 2>&1 |
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 \.
4494 sed -n \
4495 "s/'/'\\\\''/g;
4496 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4497 ;; #(
4499 # `set' quotes correctly as required by POSIX, so do not add quotes.
4500 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4502 esac |
4503 sort
4505 sed '
4506 /^ac_cv_env_/b end
4507 t clear
4508 :clear
4509 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4510 t end
4511 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4512 :end' >>confcache
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
4519 else
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;}
4524 rm -f confcache
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.
4537 ac_script='
4538 :mline
4539 /\\$/{
4541 s,\\\n,,
4542 b mline
4544 t clear
4545 :clear
4546 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4547 t quote
4548 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4549 t quote
4550 b any
4551 :quote
4552 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4553 s/\[/\\&/g
4554 s/\]/\\&/g
4555 s/\$/$$/g
4557 :any
4560 s/^\n//
4561 s/\n/ /g
4565 DEFS=`sed -n "$ac_script" confdefs.h`
4568 ac_libobjs=
4569 ac_ltlibobjs=
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'
4578 done
4579 LIBOBJS=$ac_libobjs
4581 LTLIBOBJS=$ac_ltlibobjs
4584 if test -n "$EXEEXT"; then
4585 am__EXEEXT_TRUE=
4586 am__EXEEXT_FALSE='#'
4587 else
4588 am__EXEEXT_TRUE='#'
4589 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}
4602 ac_write_fail=0
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;}
4607 as_write_fail=0
4608 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4609 #! $SHELL
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.
4615 debug=false
4616 ac_cs_recheck=false
4617 ac_cs_silent=false
4619 SHELL=\${CONFIG_SHELL-$SHELL}
4620 export SHELL
4621 _ASEOF
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 :
4630 emulate sh
4631 NULLCMD=:
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
4636 else
4637 case `(set -o) 2>/dev/null` in #(
4638 *posix*) :
4639 set -o posix ;; #(
4640 *) :
4642 esac
4646 as_nl='
4648 export as_nl
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'
4662 else
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'
4666 else
4667 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4668 as_echo_n_body='eval
4669 arg=$1;
4670 case $arg in #(
4671 *"$as_nl"*)
4672 expr "X$arg" : "X\\(.*\\)$as_nl";
4673 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4674 esac;
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'
4680 export as_echo_body
4681 as_echo='sh -c $as_echo_body as_echo'
4684 # The user is always right.
4685 if test "${PATH_SEPARATOR+set}" != set; then
4686 PATH_SEPARATOR=:
4687 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4688 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4689 PATH_SEPARATOR=';'
4694 # IFS
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.)
4699 IFS=" "" $as_nl"
4701 # Find who we are. Look in the path if we contain no directory separator.
4702 case $0 in #((
4703 *[\\/]* ) as_myself=$0 ;;
4704 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4705 for as_dir in $PATH
4707 IFS=$as_save_IFS
4708 test -z "$as_dir" && as_dir=.
4709 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4710 done
4711 IFS=$as_save_IFS
4714 esac
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
4718 as_myself=$0
4720 if test ! -f "$as_myself"; then
4721 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4722 exit 1
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 || :
4732 done
4733 PS1='$ '
4734 PS2='> '
4735 PS4='+ '
4737 # NLS nuisances.
4738 LC_ALL=C
4739 export LC_ALL
4740 LANGUAGE=C
4741 export LANGUAGE
4743 # CDPATH.
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.
4752 as_fn_error ()
4754 as_status=$?; test $as_status -eq 0 && as_status=1
4755 if test "$3"; then
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
4761 } # as_fn_error
4764 # as_fn_set_status STATUS
4765 # -----------------------
4766 # Set $? to STATUS, without forking.
4767 as_fn_set_status ()
4769 return $1
4770 } # as_fn_set_status
4772 # as_fn_exit STATUS
4773 # -----------------
4774 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4775 as_fn_exit ()
4777 set +e
4778 as_fn_set_status $1
4779 exit $1
4780 } # as_fn_exit
4782 # as_fn_unset VAR
4783 # ---------------
4784 # Portably unset VAR.
4785 as_fn_unset ()
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
4795 # implementations.
4796 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4797 eval 'as_fn_append ()
4799 eval $1+=\$2
4801 else
4802 as_fn_append ()
4804 eval $1=\$$1\$2
4806 fi # 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 ()
4816 as_val=$(( $* ))
4818 else
4819 as_fn_arith ()
4821 as_val=`expr "$@" || test $? -eq 1`
4823 fi # as_fn_arith
4826 if expr a : '\(a\)' >/dev/null 2>&1 &&
4827 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4828 as_expr=expr
4829 else
4830 as_expr=false
4833 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4834 as_basename=basename
4835 else
4836 as_basename=false
4839 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4840 as_dirname=dirname
4841 else
4842 as_dirname=false
4845 as_me=`$as_basename -- "$0" ||
4846 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4847 X"$0" : 'X\(//\)$' \| \
4848 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4849 $as_echo X/"$0" |
4850 sed '/^.*\/\([^/][^/]*\)\/*$/{
4851 s//\1/
4854 /^X\/\(\/\/\)$/{
4855 s//\1/
4858 /^X\/\(\/\).*/{
4859 s//\1/
4862 s/.*/./; q'`
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 #(((((
4873 -n*)
4874 case `echo 'xy\c'` in
4875 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4876 xy) ECHO_C='\c';;
4877 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4878 ECHO_T=' ';;
4879 esac;;
4881 ECHO_N='-n';;
4882 esac
4884 rm -f conf$$ conf$$.exe conf$$.file
4885 if test -d conf$$.dir; then
4886 rm -f conf$$.dir/conf$$.file
4887 else
4888 rm -f conf$$.dir
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
4893 as_ln_s='ln -s'
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 ||
4899 as_ln_s='cp -p'
4900 elif ln conf$$.file conf$$ 2>/dev/null; then
4901 as_ln_s=ln
4902 else
4903 as_ln_s='cp -p'
4905 else
4906 as_ln_s='cp -p'
4908 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4909 rmdir conf$$.dir 2>/dev/null
4912 # as_fn_mkdir_p
4913 # -------------
4914 # Create "$as_dir" as a directory, including parents if necessary.
4915 as_fn_mkdir_p ()
4918 case $as_dir in #(
4919 -*) as_dir=./$as_dir;;
4920 esac
4921 test -d "$as_dir" || eval $as_mkdir_p || {
4922 as_dirs=
4923 while :; do
4924 case $as_dir in #(
4925 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4926 *) as_qdir=$as_dir;;
4927 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4936 s//\1/
4939 /^X\(\/\/\)[^/].*/{
4940 s//\1/
4943 /^X\(\/\/\)$/{
4944 s//\1/
4947 /^X\(\/\).*/{
4948 s//\1/
4951 s/.*/./; q'`
4952 test -d "$as_dir" && break
4953 done
4954 test -z "$as_dirs" || eval "mkdir $as_dirs"
4955 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4958 } # as_fn_mkdir_p
4959 if mkdir -p . 2>/dev/null; then
4960 as_mkdir_p='mkdir -p "$as_dir"'
4961 else
4962 test -d ./-p && rmdir ./-p
4963 as_mkdir_p=false
4966 if test -x / >/dev/null 2>&1; then
4967 as_test_x='test -x'
4968 else
4969 if ls -dL / >/dev/null 2>&1; then
4970 as_ls_L_option=L
4971 else
4972 as_ls_L_option=
4974 as_test_x='
4975 eval sh -c '\''
4976 if test -d "$1"; then
4977 test -d "$1/.";
4978 else
4979 case $1 in #(
4980 -*)set "./$1";;
4981 esac;
4982 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4983 ???[sx]*):;;*)false;;esac;fi
4984 '\'' sh
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'"
4996 exec 6>&1
4997 ## ----------------------------------- ##
4998 ## Main body of $CONFIG_STATUS script. ##
4999 ## ----------------------------------- ##
5000 _ASEOF
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.
5007 ac_log="
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
5015 $ $0 $@
5017 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5020 _ACEOF
5022 case $ac_config_files in *"
5023 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5024 esac
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"
5033 _ACEOF
5035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5036 ac_cs_usage="\
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:
5054 $config_files
5056 Configuration commands:
5057 $config_commands
5059 Report bugs to <jonathan dot wheelhouse at gmail.com>."
5061 _ACEOF
5062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5063 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5064 ac_cs_version="\\
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."
5073 ac_pwd='$ac_pwd'
5074 srcdir='$srcdir'
5075 INSTALL='$INSTALL'
5076 MKDIR_P='$MKDIR_P'
5077 AWK='$AWK'
5078 test -n "\$AWK" || AWK=awk
5079 _ACEOF
5081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5082 # The default lists apply if the user does not specify any file.
5083 ac_need_defaults=:
5084 while test $# != 0
5086 case $1 in
5087 --*=*)
5088 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5089 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5090 ac_shift=:
5093 ac_option=$1
5094 ac_optarg=$2
5095 ac_shift=shift
5097 esac
5099 case $ac_option in
5100 # Handling of the options.
5101 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5102 ac_cs_recheck=: ;;
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 )
5108 debug=: ;;
5109 --file | --fil | --fi | --f )
5110 $ac_shift
5111 case $ac_optarg in
5112 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5113 esac
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)
5120 ac_cs_silent=: ;;
5122 # This is an error.
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 ;;
5129 esac
5130 shift
5131 done
5133 ac_configure_extra_args=
5135 if $ac_cs_silent; then
5136 exec 6>/dev/null
5137 ac_configure_extra_args="$ac_configure_extra_args --silent"
5140 _ACEOF
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
5144 shift
5145 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5146 CONFIG_SHELL='$SHELL'
5147 export CONFIG_SHELL
5148 exec "\$@"
5151 _ACEOF
5152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5153 exec 5>>config.log
5155 echo
5156 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5157 ## Running $as_me. ##
5158 _ASBOX
5159 $as_echo "$ac_log"
5160 } >&5
5162 _ACEOF
5163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5165 # INIT-COMMANDS
5167 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5169 _ACEOF
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;;
5183 esac
5184 done
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'.
5202 $debug ||
5204 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"
5215 } ||
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
5236 ac_cs_awk_cr='\r'
5237 else
5238 ac_cs_awk_cr=$ac_cr
5241 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5242 _ACEOF
5246 echo "cat >conf$$subs.awk <<_ACEOF" &&
5247 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5248 echo "_ACEOF"
5249 } >conf$$subs.sh ||
5250 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5251 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5252 ac_delim='%!_!# '
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
5259 break
5260 elif $ac_last_try; then
5261 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5262 else
5263 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5265 done
5266 rm -f conf$$subs.sh
5268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5269 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5270 _ACEOF
5271 sed -n '
5273 s/^/S["/; s/!.*/"]=/
5276 s/^[^!]*!//
5277 :repl
5278 t repl
5279 s/'"$ac_delim"'$//
5280 t delim
5283 s/\(.\{148\}\)..*/\1/
5284 t more1
5285 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5288 b repl
5289 :more1
5290 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5293 s/.\{148\}//
5294 t nl
5295 :delim
5297 s/\(.\{148\}\)..*/\1/
5298 t more2
5299 s/["\\]/\\&/g; s/^/"/; s/$/"/
5302 :more2
5303 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5306 s/.\{148\}//
5307 t delim
5308 ' <conf$$subs.awk | sed '
5309 /^[^""]/{
5311 s/\n//
5313 ' >>$CONFIG_STATUS || ac_write_fail=1
5314 rm -f conf$$subs.awk
5315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5316 _ACAWK
5317 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5318 for (key in S) S_is_set[key] = 1
5319 FS = "\a"
5323 line = $ 0
5324 nfields = split(line, field, "@")
5325 substed = 0
5326 len = length(field[1])
5327 for (i = 2; i < nfields; i++) {
5328 key = field[i]
5329 keylen = length(key)
5330 if (S_is_set[key]) {
5331 value = S[key]
5332 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5333 len += length(value) + length(field[++i])
5334 substed = 1
5335 } else
5336 len += 1 + keylen
5339 print line
5342 _ACAWK
5343 _ACEOF
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"
5347 else
5349 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5350 || as_fn_error "could not setup config files machinery" "$LINENO" 5
5351 _ACEOF
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[ ]*=/{
5359 s/:*\$(srcdir):*/:/
5360 s/:*\${srcdir}:*/:/
5361 s/:*@srcdir@:*/:/
5362 s/^\([^=]*=[ ]*\):*/\1/
5363 s/:*$//
5364 s/^[^=]*=[ ]*$//
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"
5373 shift
5374 for ac_tag
5376 case $ac_tag in
5377 :[FHLC]) ac_mode=$ac_tag; continue;;
5378 esac
5379 case $ac_mode$ac_tag in
5380 :[FHL]*:*);;
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;;
5384 esac
5385 ac_save_IFS=$IFS
5386 IFS=:
5387 set x $ac_tag
5388 IFS=$ac_save_IFS
5389 shift
5390 ac_file=$1
5391 shift
5393 case $ac_mode in
5394 :L) ac_source=$1;;
5395 :[FH])
5396 ac_file_inputs=
5397 for ac_f
5399 case $ac_f 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 `:'.
5404 test -f "$ac_f" ||
5405 case $ac_f in
5406 [\\/$]*) false;;
5407 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5408 esac ||
5409 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5410 esac
5411 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5412 as_fn_append ac_file_inputs " '$ac_f'"
5413 done
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'
5420 `' by configure.'
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;;
5432 esac
5434 case $ac_tag in
5435 *:-:* | *:-) cat >"$tmp/stdin" \
5436 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5437 esac
5439 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5448 s//\1/
5451 /^X\(\/\/\)[^/].*/{
5452 s//\1/
5455 /^X\(\/\/\)$/{
5456 s//\1/
5459 /^X\(\/\).*/{
5460 s//\1/
5463 s/.*/./; q'`
5464 as_dir="$ac_dir"; as_fn_mkdir_p
5465 ac_builddir=.
5467 case "$ac_dir" in
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/ ;;
5476 esac ;;
5477 esac
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
5483 case $srcdir in
5484 .) # We are building in place.
5485 ac_srcdir=.
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 ;;
5492 *) # Relative name.
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 ;;
5496 esac
5497 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5500 case $ac_mode in
5503 # CONFIG_FILE
5506 case $INSTALL in
5507 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5508 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5509 esac
5510 ac_MKDIR_P=$MKDIR_P
5511 case $MKDIR_P in
5512 [\\/$]* | ?:[\\/]* ) ;;
5513 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5514 esac
5515 _ACEOF
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=
5521 ac_sed_dataroot='
5522 /datarootdir/ {
5526 /@datadir@/p
5527 /@docdir@/p
5528 /@infodir@/p
5529 /@localedir@/p
5530 /@mandir@/p'
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;}
5536 _ACEOF
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' ;;
5545 esac
5546 _ACEOF
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
5553 $extrasub
5554 _ACEOF
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;}
5583 rm -f "$tmp/stdin"
5584 case $ac_file in
5585 -) cat "$tmp/out" && rm -f "$tmp/out";;
5586 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5587 esac \
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;}
5595 esac
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 ;;
5606 esac
5607 shift
5608 for mf
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 ||
5625 $as_echo X"$mf" |
5626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5627 s//\1/
5630 /^X\(\/\/\)[^/].*/{
5631 s//\1/
5634 /^X\(\/\/\)$/{
5635 s//\1/
5638 /^X\(\/\).*/{
5639 s//\1/
5642 s/.*/./; q'`
5643 else
5644 continue
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
5658 # expansion.
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 ||
5669 $as_echo X"$file" |
5670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5671 s//\1/
5674 /^X\(\/\/\)[^/].*/{
5675 s//\1/
5678 /^X\(\/\/\)$/{
5679 s//\1/
5682 /^X\(\/\).*/{
5683 s//\1/
5686 s/.*/./; q'`
5687 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5688 # echo "creating $dirpart/$file"
5689 echo '# dummy' > "$dirpart/$file"
5690 done
5691 done
5695 esac
5696 done # for ac_tag
5699 as_fn_exit 0
5700 _ACEOF
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
5716 ac_cs_success=:
5717 ac_config_status_args=
5718 test "$silent" = yes &&
5719 ac_config_status_args="$ac_config_status_args --quiet"
5720 exec 5>/dev/null
5721 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5722 exec 5>>config.log
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;}