summary refs log tree commit diff stats
path: root/configure
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2009-06-19 10:57:53 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2009-06-19 10:57:53 -0400
commit684a27ce13a9a08f4f1d94621cdab1232d2d33cf (patch)
tree4b85d42802b588767b6ac7b6972f2093154c7196 /configure
parent1e3808b3338ff3b1499e000ce1f23e87d6050b8c (diff)
downloadmazeoflife-684a27ce13a9a08f4f1d94621cdab1232d2d33cf.tar.gz
mazeoflife-684a27ce13a9a08f4f1d94621cdab1232d2d33cf.tar.bz2
mazeoflife-684a27ce13a9a08f4f1d94621cdab1232d2d33cf.zip
Added GNU configure stuff
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6575
1 files changed, 6575 insertions, 0 deletions
diff --git a/configure b/configure new file mode 100755 index 0000000..97bd53e --- /dev/null +++ b/configure
@@ -0,0 +1,6575 @@
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.63 for Maze Of Life 2.0.
4#
5# Report bugs to <BUG-REPORT-ADDRESS>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization. ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42as_nl='
43'
44export as_nl
45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81fi
82
83# Support unset when possible.
84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
86else
87 as_unset=false
88fi
89
90
91# IFS
92# We need space, tab and new line, in precisely that order. Quoting is
93# there to prevent editors from complaining about space-tab.
94# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95# splitting by setting IFS to empty value.)
96IFS=" "" $as_nl"
97
98# Find who we are. Look in the path if we contain no directory separator.
99case $0 in
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH
103do
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107done
108IFS=$as_save_IFS
109
110 ;;
111esac
112# We did not find ourselves, most probably we were run as `sh COMMAND'
113# in which case we are not to be found in the path.
114if test "x$as_myself" = x; then
115 as_myself=$0
116fi
117if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
120fi
121
122# Work around bugs in pre-3.0 UWIN ksh.
123for as_var in ENV MAIL MAILPATH
124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# Required to use basename.
137if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr
140else
141 as_expr=false
142fi
143
144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145 as_basename=basename
146else
147 as_basename=false
148fi
149
150
151# Name of the executable.
152as_me=`$as_basename -- "$0" ||
153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156$as_echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
159 q
160 }
161 /^X\/\(\/\/\)$/{
162 s//\1/
163 q
164 }
165 /^X\/\(\/\).*/{
166 s//\1/
167 q
168 }
169 s/.*/./; q'`
170
171# CDPATH.
172$as_unset CDPATH
173
174
175if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
177 as_have_required=yes
178else
179 as_have_required=no
180fi
181
182 if test $as_have_required = yes && (eval ":
183(as_func_return () {
184 (exit \$1)
185}
186as_func_success () {
187 as_func_return 0
188}
189as_func_failure () {
190 as_func_return 1
191}
192as_func_ret_success () {
193 return 0
194}
195as_func_ret_failure () {
196 return 1
197}
198
199exitcode=0
200if as_func_success; then
201 :
202else
203 exitcode=1
204 echo as_func_success failed.
205fi
206
207if as_func_failure; then
208 exitcode=1
209 echo as_func_failure succeeded.
210fi
211
212if as_func_ret_success; then
213 :
214else
215 exitcode=1
216 echo as_func_ret_success failed.
217fi
218
219if as_func_ret_failure; then
220 exitcode=1
221 echo as_func_ret_failure succeeded.
222fi
223
224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225 :
226else
227 exitcode=1
228 echo positional parameters were not saved.
229fi
230
231test \$exitcode = 0) || { (exit 1); exit 1; }
232
233(
234 as_lineno_1=\$LINENO
235 as_lineno_2=\$LINENO
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238") 2> /dev/null; then
239 :
240else
241 as_candidate_shells=
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244do
245 IFS=$as_save_IFS
246 test -z "$as_dir" && as_dir=.
247 case $as_dir in
248 /*)
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251 done;;
252 esac
253done
254IFS=$as_save_IFS
255
256
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277_ASEOF
278}; then
279 CONFIG_SHELL=$as_shell
280 as_have_required=yes
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 emulate sh
284 NULLCMD=:
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
288 setopt NO_GLOB_SUBST
289else
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
292esac
293
294fi
295
296
297:
298(as_func_return () {
299 (exit $1)
300}
301as_func_success () {
302 as_func_return 0
303}
304as_func_failure () {
305 as_func_return 1
306}
307as_func_ret_success () {
308 return 0
309}
310as_func_ret_failure () {
311 return 1
312}
313
314exitcode=0
315if as_func_success; then
316 :
317else
318 exitcode=1
319 echo as_func_success failed.
320fi
321
322if as_func_failure; then
323 exitcode=1
324 echo as_func_failure succeeded.
325fi
326
327if as_func_ret_success; then
328 :
329else
330 exitcode=1
331 echo as_func_ret_success failed.
332fi
333
334if as_func_ret_failure; then
335 exitcode=1
336 echo as_func_ret_failure succeeded.
337fi
338
339if ( set x; as_func_ret_success y && test x = "$1" ); then
340 :
341else
342 exitcode=1
343 echo positional parameters were not saved.
344fi
345
346test $exitcode = 0) || { (exit 1); exit 1; }
347
348(
349 as_lineno_1=$LINENO
350 as_lineno_2=$LINENO
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
354_ASEOF
355}; then
356 break
357fi
358
359fi
360
361 done
362
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 done
367 export CONFIG_SHELL
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369fi
370
371
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
378fi
379
380
381fi
382
383fi
384
385
386
387(eval "as_func_return () {
388 (exit \$1)
389}
390as_func_success () {
391 as_func_return 0
392}
393as_func_failure () {
394 as_func_return 1
395}
396as_func_ret_success () {
397 return 0
398}
399as_func_ret_failure () {
400 return 1
401}
402
403exitcode=0
404if as_func_success; then
405 :
406else
407 exitcode=1
408 echo as_func_success failed.
409fi
410
411if as_func_failure; then
412 exitcode=1
413 echo as_func_failure succeeded.
414fi
415
416if as_func_ret_success; then
417 :
418else
419 exitcode=1
420 echo as_func_ret_success failed.
421fi
422
423if as_func_ret_failure; then
424 exitcode=1
425 echo as_func_ret_failure succeeded.
426fi
427
428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429 :
430else
431 exitcode=1
432 echo positional parameters were not saved.
433fi
434
435test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
441}
442
443
444
445 as_lineno_1=$LINENO
446 as_lineno_2=$LINENO
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
456 # case at line end.
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
460 sed -n '
461 p
462 /[$]LINENO/=
463 ' <$as_myself |
464 sed '
465 s/[$]LINENO.*/&-/
466 t lineno
467 b
468 :lineno
469 N
470 :loop
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472 t loop
473 s/-\n.*//
474 ' >$as_me.lineno &&
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
478
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
482 . "./$as_me.lineno"
483 # Exit status is that of the last command.
484 exit
485}
486
487
488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489 as_dirname=dirname
490else
491 as_dirname=false
492fi
493
494ECHO_C= ECHO_N= ECHO_T=
495case `echo -n x` in
496-n*)
497 case `echo 'x\c'` in
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
499 *) ECHO_C='\c';;
500 esac;;
501*)
502 ECHO_N='-n';;
503esac
504if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
506 as_expr=expr
507else
508 as_expr=false
509fi
510
511rm -f conf$$ conf$$.exe conf$$.file
512if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
514else
515 rm -f conf$$.dir
516 mkdir conf$$.dir 2>/dev/null
517fi
518if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
520 as_ln_s='ln -s'
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526 as_ln_s='cp -p'
527 elif ln conf$$.file conf$$ 2>/dev/null; then
528 as_ln_s=ln
529 else
530 as_ln_s='cp -p'
531 fi
532else
533 as_ln_s='cp -p'
534fi
535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536rmdir conf$$.dir 2>/dev/null
537
538if mkdir -p . 2>/dev/null; then
539 as_mkdir_p=:
540else
541 test -d ./-p && rmdir ./-p
542 as_mkdir_p=false
543fi
544
545if test -x / >/dev/null 2>&1; then
546 as_test_x='test -x'
547else
548 if ls -dL / >/dev/null 2>&1; then
549 as_ls_L_option=L
550 else
551 as_ls_L_option=
552 fi
553 as_test_x='
554 eval sh -c '\''
555 if test -d "$1"; then
556 test -d "$1/.";
557 else
558 case $1 in
559 -*)set "./$1";;
560 esac;
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
563 '\'' sh
564 '
565fi
566as_executable_p=$as_test_x
567
568# Sed expression to map a string onto a valid CPP name.
569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
571# Sed expression to map a string onto a valid variable name.
572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
574
575
576exec 7<&0 </dev/null 6>&1
577
578# Name of the host.
579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580# so uname gets run too.
581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
583#
584# Initializations.
585#
586ac_default_prefix=/usr/local
587ac_clean_files=
588ac_config_libobj_dir=.
589LIBOBJS=
590cross_compiling=no
591subdirs=
592MFLAGS=
593MAKEFLAGS=
594SHELL=${CONFIG_SHELL-/bin/sh}
595
596# Identity of this package.
597PACKAGE_NAME='Maze Of Life'
598PACKAGE_TARNAME='maze-of-life'
599PACKAGE_VERSION='2.0'
600PACKAGE_STRING='Maze Of Life 2.0'
601PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
602
603ac_unique_file="src/mazeoflife.cpp"
604# Factoring default headers for most tests.
605ac_includes_default="\
606#include <stdio.h>
607#ifdef HAVE_SYS_TYPES_H
608# include <sys/types.h>
609#endif
610#ifdef HAVE_SYS_STAT_H
611# include <sys/stat.h>
612#endif
613#ifdef STDC_HEADERS
614# include <stdlib.h>
615# include <stddef.h>
616#else
617# ifdef HAVE_STDLIB_H
618# include <stdlib.h>
619# endif
620#endif
621#ifdef HAVE_STRING_H
622# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623# include <memory.h>
624# endif
625# include <string.h>
626#endif
627#ifdef HAVE_STRINGS_H
628# include <strings.h>
629#endif
630#ifdef HAVE_INTTYPES_H
631# include <inttypes.h>
632#endif
633#ifdef HAVE_STDINT_H
634# include <stdint.h>
635#endif
636#ifdef HAVE_UNISTD_H
637# include <unistd.h>
638#endif"
639
640ac_subst_vars='LTLIBOBJS
641LIBOBJS
642EGREP
643GREP
644CPP
645SDL_LIBS
646SDL_CFLAGS
647PKG_CONFIG
648am__fastdepCC_FALSE
649am__fastdepCC_TRUE
650CCDEPMODE
651ac_ct_CC
652CFLAGS
653CC
654am__fastdepCXX_FALSE
655am__fastdepCXX_TRUE
656CXXDEPMODE
657AMDEPBACKSLASH
658AMDEP_FALSE
659AMDEP_TRUE
660am__quote
661am__include
662DEPDIR
663OBJEXT
664EXEEXT
665ac_ct_CXX
666CPPFLAGS
667LDFLAGS
668CXXFLAGS
669CXX
670am__untar
671am__tar
672AMTAR
673am__leading_dot
674SET_MAKE
675AWK
676mkdir_p
677MKDIR_P
678INSTALL_STRIP_PROGRAM
679STRIP
680install_sh
681MAKEINFO
682AUTOHEADER
683AUTOMAKE
684AUTOCONF
685ACLOCAL
686VERSION
687PACKAGE
688CYGPATH_W
689am__isrc
690INSTALL_DATA
691INSTALL_SCRIPT
692INSTALL_PROGRAM
693target_alias
694host_alias
695build_alias
696LIBS
697ECHO_T
698ECHO_N
699ECHO_C
700DEFS
701mandir
702localedir
703libdir
704psdir
705pdfdir
706dvidir
707htmldir
708infodir
709docdir
710oldincludedir
711includedir
712localstatedir
713sharedstatedir
714sysconfdir
715datadir
716datarootdir
717libexecdir
718sbindir
719bindir
720program_transform_name
721prefix
722exec_prefix
723PACKAGE_BUGREPORT
724PACKAGE_STRING
725PACKAGE_VERSION
726PACKAGE_TARNAME
727PACKAGE_NAME
728PATH_SEPARATOR
729SHELL'
730ac_subst_files=''
731ac_user_opts='
732enable_option_checking
733enable_dependency_tracking
734'
735 ac_precious_vars='build_alias
736host_alias
737target_alias
738CXX
739CXXFLAGS
740LDFLAGS
741LIBS
742CPPFLAGS
743CCC
744CC
745CFLAGS
746PKG_CONFIG
747SDL_CFLAGS
748SDL_LIBS
749CPP'
750
751
752# Initialize some variables set by options.
753ac_init_help=
754ac_init_version=false
755ac_unrecognized_opts=
756ac_unrecognized_sep=
757# The variables have the same names as the options, with
758# dashes changed to underlines.
759cache_file=/dev/null
760exec_prefix=NONE
761no_create=
762no_recursion=
763prefix=NONE
764program_prefix=NONE
765program_suffix=NONE
766program_transform_name=s,x,x,
767silent=
768site=
769srcdir=
770verbose=
771x_includes=NONE
772x_libraries=NONE
773
774# Installation directory options.
775# These are left unexpanded so users can "make install exec_prefix=/foo"
776# and all the variables that are supposed to be based on exec_prefix
777# by default will actually change.
778# Use braces instead of parens because sh, perl, etc. also accept them.
779# (The list follows the same order as the GNU Coding Standards.)
780bindir='${exec_prefix}/bin'
781sbindir='${exec_prefix}/sbin'
782libexecdir='${exec_prefix}/libexec'
783datarootdir='${prefix}/share'
784datadir='${datarootdir}'
785sysconfdir='${prefix}/etc'
786sharedstatedir='${prefix}/com'
787localstatedir='${prefix}/var'
788includedir='${prefix}/include'
789oldincludedir='/usr/include'
790docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
791infodir='${datarootdir}/info'
792htmldir='${docdir}'
793dvidir='${docdir}'
794pdfdir='${docdir}'
795psdir='${docdir}'
796libdir='${exec_prefix}/lib'
797localedir='${datarootdir}/locale'
798mandir='${datarootdir}/man'
799
800ac_prev=
801ac_dashdash=
802for ac_option
803do
804 # If the previous option needs an argument, assign it.
805 if test -n "$ac_prev"; then
806 eval $ac_prev=\$ac_option
807 ac_prev=
808 continue
809 fi
810
811 case $ac_option in
812 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
813 *) ac_optarg=yes ;;
814 esac
815
816 # Accept the important Cygnus configure options, so we can diagnose typos.
817
818 case $ac_dashdash$ac_option in
819 --)
820 ac_dashdash=yes ;;
821
822 -bindir | --bindir | --bindi | --bind | --bin | --bi)
823 ac_prev=bindir ;;
824 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
825 bindir=$ac_optarg ;;
826
827 -build | --build | --buil | --bui | --bu)
828 ac_prev=build_alias ;;
829 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
830 build_alias=$ac_optarg ;;
831
832 -cache-file | --cache-file | --cache-fil | --cache-fi \
833 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
834 ac_prev=cache_file ;;
835 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
836 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
837 cache_file=$ac_optarg ;;
838
839 --config-cache | -C)
840 cache_file=config.cache ;;
841
842 -datadir | --datadir | --datadi | --datad)
843 ac_prev=datadir ;;
844 -datadir=* | --datadir=* | --datadi=* | --datad=*)
845 datadir=$ac_optarg ;;
846
847 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
848 | --dataroo | --dataro | --datar)
849 ac_prev=datarootdir ;;
850 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
851 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
852 datarootdir=$ac_optarg ;;
853
854 -disable-* | --disable-*)
855 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
859 { (exit 1); exit 1; }; }
860 ac_useropt_orig=$ac_useropt
861 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
862 case $ac_user_opts in
863 *"
864"enable_$ac_useropt"
865"*) ;;
866 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
867 ac_unrecognized_sep=', ';;
868 esac
869 eval enable_$ac_useropt=no ;;
870
871 -docdir | --docdir | --docdi | --doc | --do)
872 ac_prev=docdir ;;
873 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
874 docdir=$ac_optarg ;;
875
876 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
877 ac_prev=dvidir ;;
878 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
879 dvidir=$ac_optarg ;;
880
881 -enable-* | --enable-*)
882 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
885 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
886 { (exit 1); exit 1; }; }
887 ac_useropt_orig=$ac_useropt
888 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
890 *"
891"enable_$ac_useropt"
892"*) ;;
893 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
894 ac_unrecognized_sep=', ';;
895 esac
896 eval enable_$ac_useropt=\$ac_optarg ;;
897
898 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
899 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
900 | --exec | --exe | --ex)
901 ac_prev=exec_prefix ;;
902 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
903 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
904 | --exec=* | --exe=* | --ex=*)
905 exec_prefix=$ac_optarg ;;
906
907 -gas | --gas | --ga | --g)
908 # Obsolete; use --with-gas.
909 with_gas=yes ;;
910
911 -help | --help | --hel | --he | -h)
912 ac_init_help=long ;;
913 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
914 ac_init_help=recursive ;;
915 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
916 ac_init_help=short ;;
917
918 -host | --host | --hos | --ho)
919 ac_prev=host_alias ;;
920 -host=* | --host=* | --hos=* | --ho=*)
921 host_alias=$ac_optarg ;;
922
923 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
924 ac_prev=htmldir ;;
925 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
926 | --ht=*)
927 htmldir=$ac_optarg ;;
928
929 -includedir | --includedir | --includedi | --included | --include \
930 | --includ | --inclu | --incl | --inc)
931 ac_prev=includedir ;;
932 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
933 | --includ=* | --inclu=* | --incl=* | --inc=*)
934 includedir=$ac_optarg ;;
935
936 -infodir | --infodir | --infodi | --infod | --info | --inf)
937 ac_prev=infodir ;;
938 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
939 infodir=$ac_optarg ;;
940
941 -libdir | --libdir | --libdi | --libd)
942 ac_prev=libdir ;;
943 -libdir=* | --libdir=* | --libdi=* | --libd=*)
944 libdir=$ac_optarg ;;
945
946 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
947 | --libexe | --libex | --libe)
948 ac_prev=libexecdir ;;
949 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
950 | --libexe=* | --libex=* | --libe=*)
951 libexecdir=$ac_optarg ;;
952
953 -localedir | --localedir | --localedi | --localed | --locale)
954 ac_prev=localedir ;;
955 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
956 localedir=$ac_optarg ;;
957
958 -localstatedir | --localstatedir | --localstatedi | --localstated \
959 | --localstate | --localstat | --localsta | --localst | --locals)
960 ac_prev=localstatedir ;;
961 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
962 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
963 localstatedir=$ac_optarg ;;
964
965 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
966 ac_prev=mandir ;;
967 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
968 mandir=$ac_optarg ;;
969
970 -nfp | --nfp | --nf)
971 # Obsolete; use --without-fp.
972 with_fp=no ;;
973
974 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
975 | --no-cr | --no-c | -n)
976 no_create=yes ;;
977
978 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
979 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
980 no_recursion=yes ;;
981
982 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
983 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
984 | --oldin | --oldi | --old | --ol | --o)
985 ac_prev=oldincludedir ;;
986 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
987 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
988 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
989 oldincludedir=$ac_optarg ;;
990
991 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
992 ac_prev=prefix ;;
993 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
994 prefix=$ac_optarg ;;
995
996 -program-prefix | --program-prefix | --program-prefi | --program-pref \
997 | --program-pre | --program-pr | --program-p)
998 ac_prev=program_prefix ;;
999 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1000 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1001 program_prefix=$ac_optarg ;;
1002
1003 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1004 | --program-suf | --program-su | --program-s)
1005 ac_prev=program_suffix ;;
1006 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1007 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1008 program_suffix=$ac_optarg ;;
1009
1010 -program-transform-name | --program-transform-name \
1011 | --program-transform-nam | --program-transform-na \
1012 | --program-transform-n | --program-transform- \
1013 | --program-transform | --program-transfor \
1014 | --program-transfo | --program-transf \
1015 | --program-trans | --program-tran \
1016 | --progr-tra | --program-tr | --program-t)
1017 ac_prev=program_transform_name ;;
1018 -program-transform-name=* | --program-transform-name=* \
1019 | --program-transform-nam=* | --program-transform-na=* \
1020 | --program-transform-n=* | --program-transform-=* \
1021 | --program-transform=* | --program-transfor=* \
1022 | --program-transfo=* | --program-transf=* \
1023 | --program-trans=* | --program-tran=* \
1024 | --progr-tra=* | --program-tr=* | --program-t=*)
1025 program_transform_name=$ac_optarg ;;
1026
1027 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1028 ac_prev=pdfdir ;;
1029 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1030 pdfdir=$ac_optarg ;;
1031
1032 -psdir | --psdir | --psdi | --psd | --ps)
1033 ac_prev=psdir ;;
1034 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1035 psdir=$ac_optarg ;;
1036
1037 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038 | -silent | --silent | --silen | --sile | --sil)
1039 silent=yes ;;
1040
1041 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1042 ac_prev=sbindir ;;
1043 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1044 | --sbi=* | --sb=*)
1045 sbindir=$ac_optarg ;;
1046
1047 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1048 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1049 | --sharedst | --shareds | --shared | --share | --shar \
1050 | --sha | --sh)
1051 ac_prev=sharedstatedir ;;
1052 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1053 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1054 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1055 | --sha=* | --sh=*)
1056 sharedstatedir=$ac_optarg ;;
1057
1058 -site | --site | --sit)
1059 ac_prev=site ;;
1060 -site=* | --site=* | --sit=*)
1061 site=$ac_optarg ;;
1062
1063 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1064 ac_prev=srcdir ;;
1065 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1066 srcdir=$ac_optarg ;;
1067
1068 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1069 | --syscon | --sysco | --sysc | --sys | --sy)
1070 ac_prev=sysconfdir ;;
1071 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1072 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1073 sysconfdir=$ac_optarg ;;
1074
1075 -target | --target | --targe | --targ | --tar | --ta | --t)
1076 ac_prev=target_alias ;;
1077 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1078 target_alias=$ac_optarg ;;
1079
1080 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1081 verbose=yes ;;
1082
1083 -version | --version | --versio | --versi | --vers | -V)
1084 ac_init_version=: ;;
1085
1086 -with-* | --with-*)
1087 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1091 { (exit 1); exit 1; }; }
1092 ac_useropt_orig=$ac_useropt
1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1095 *"
1096"with_$ac_useropt"
1097"*) ;;
1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1099 ac_unrecognized_sep=', ';;
1100 esac
1101 eval with_$ac_useropt=\$ac_optarg ;;
1102
1103 -without-* | --without-*)
1104 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1105 # Reject names that are not valid shell variable names.
1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1108 { (exit 1); exit 1; }; }
1109 ac_useropt_orig=$ac_useropt
1110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1112 *"
1113"with_$ac_useropt"
1114"*) ;;
1115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1116 ac_unrecognized_sep=', ';;
1117 esac
1118 eval with_$ac_useropt=no ;;
1119
1120 --x)
1121 # Obsolete; use --with-x.
1122 with_x=yes ;;
1123
1124 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1125 | --x-incl | --x-inc | --x-in | --x-i)
1126 ac_prev=x_includes ;;
1127 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1128 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1129 x_includes=$ac_optarg ;;
1130
1131 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1132 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1133 ac_prev=x_libraries ;;
1134 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1135 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1136 x_libraries=$ac_optarg ;;
1137
1138 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1139Try \`$0 --help' for more information." >&2
1140 { (exit 1); exit 1; }; }
1141 ;;
1142
1143 *=*)
1144 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1147 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1148 { (exit 1); exit 1; }; }
1149 eval $ac_envvar=\$ac_optarg
1150 export $ac_envvar ;;
1151
1152 *)
1153 # FIXME: should be removed in autoconf 3.0.
1154 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1155 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1156 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1157 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1158 ;;
1159
1160 esac
1161done
1162
1163if test -n "$ac_prev"; then
1164 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1165 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1166 { (exit 1); exit 1; }; }
1167fi
1168
1169if test -n "$ac_unrecognized_opts"; then
1170 case $enable_option_checking in
1171 no) ;;
1172 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1173 { (exit 1); exit 1; }; } ;;
1174 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1175 esac
1176fi
1177
1178# Check all directory arguments for consistency.
1179for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1180 datadir sysconfdir sharedstatedir localstatedir includedir \
1181 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1182 libdir localedir mandir
1183do
1184 eval ac_val=\$$ac_var
1185 # Remove trailing slashes.
1186 case $ac_val in
1187 */ )
1188 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1189 eval $ac_var=\$ac_val;;
1190 esac
1191 # Be sure to have absolute directory names.
1192 case $ac_val in
1193 [\\/$]* | ?:[\\/]* ) continue;;
1194 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1195 esac
1196 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1197 { (exit 1); exit 1; }; }
1198done
1199
1200# There might be people who depend on the old broken behavior: `$host'
1201# used to hold the argument of --host etc.
1202# FIXME: To remove some day.
1203build=$build_alias
1204host=$host_alias
1205target=$target_alias
1206
1207# FIXME: To remove some day.
1208if test "x$host_alias" != x; then
1209 if test "x$build_alias" = x; then
1210 cross_compiling=maybe
1211 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1212 If a cross compiler is detected then cross compile mode will be used." >&2
1213 elif test "x$build_alias" != "x$host_alias"; then
1214 cross_compiling=yes
1215 fi
1216fi
1217
1218ac_tool_prefix=
1219test -n "$host_alias" && ac_tool_prefix=$host_alias-
1220
1221test "$silent" = yes && exec 6>/dev/null
1222
1223
1224ac_pwd=`pwd` && test -n "$ac_pwd" &&
1225ac_ls_di=`ls -di .` &&
1226ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1227 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1228 { (exit 1); exit 1; }; }
1229test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1230 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1231 { (exit 1); exit 1; }; }
1232
1233
1234# Find the source files, if location was not specified.
1235if test -z "$srcdir"; then
1236 ac_srcdir_defaulted=yes
1237 # Try the directory containing this script, then the parent directory.
1238 ac_confdir=`$as_dirname -- "$as_myself" ||
1239$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1240 X"$as_myself" : 'X\(//\)[^/]' \| \
1241 X"$as_myself" : 'X\(//\)$' \| \
1242 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1243$as_echo X"$as_myself" |
1244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1245 s//\1/
1246 q
1247 }
1248 /^X\(\/\/\)[^/].*/{
1249 s//\1/
1250 q
1251 }
1252 /^X\(\/\/\)$/{
1253 s//\1/
1254 q
1255 }
1256 /^X\(\/\).*/{
1257 s//\1/
1258 q
1259 }
1260 s/.*/./; q'`
1261 srcdir=$ac_confdir
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 srcdir=..
1264 fi
1265else
1266 ac_srcdir_defaulted=no
1267fi
1268if test ! -r "$srcdir/$ac_unique_file"; then
1269 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1270 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1271 { (exit 1); exit 1; }; }
1272fi
1273ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1274ac_abs_confdir=`(
1275 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1276 { (exit 1); exit 1; }; }
1277 pwd)`
1278# When building in place, set srcdir=.
1279if test "$ac_abs_confdir" = "$ac_pwd"; then
1280 srcdir=.
1281fi
1282# Remove unnecessary trailing slashes from srcdir.
1283# Double slashes in file names in object file debugging info
1284# mess up M-x gdb in Emacs.
1285case $srcdir in
1286*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287esac
1288for ac_var in $ac_precious_vars; do
1289 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1290 eval ac_env_${ac_var}_value=\$${ac_var}
1291 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1292 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1293done
1294
1295#
1296# Report the --help message.
1297#
1298if test "$ac_init_help" = "long"; then
1299 # Omit some internal or obsolete options to make the list less imposing.
1300 # This message is too long to be a string in the A/UX 3.1 sh.
1301 cat <<_ACEOF
1302\`configure' configures Maze Of Life 2.0 to adapt to many kinds of systems.
1303
1304Usage: $0 [OPTION]... [VAR=VALUE]...
1305
1306To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307VAR=VALUE. See below for descriptions of some of the useful variables.
1308
1309Defaults for the options are specified in brackets.
1310
1311Configuration:
1312 -h, --help display this help and exit
1313 --help=short display options specific to this package
1314 --help=recursive display the short help of all the included packages
1315 -V, --version display version information and exit
1316 -q, --quiet, --silent do not print \`checking...' messages
1317 --cache-file=FILE cache test results in FILE [disabled]
1318 -C, --config-cache alias for \`--cache-file=config.cache'
1319 -n, --no-create do not create output files
1320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1321
1322Installation directories:
1323 --prefix=PREFIX install architecture-independent files in PREFIX
1324 [$ac_default_prefix]
1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1326 [PREFIX]
1327
1328By default, \`make install' will install all the files in
1329\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1330an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331for instance \`--prefix=\$HOME'.
1332
1333For better control, use the options below.
1334
1335Fine tuning of the installation directories:
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root [DATAROOTDIR/doc/maze-of-life]
1351 --htmldir=DIR html documentation [DOCDIR]
1352 --dvidir=DIR dvi documentation [DOCDIR]
1353 --pdfdir=DIR pdf documentation [DOCDIR]
1354 --psdir=DIR ps documentation [DOCDIR]
1355_ACEOF
1356
1357 cat <<\_ACEOF
1358
1359Program names:
1360 --program-prefix=PREFIX prepend PREFIX to installed program names
1361 --program-suffix=SUFFIX append SUFFIX to installed program names
1362 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1363_ACEOF
1364fi
1365
1366if test -n "$ac_init_help"; then
1367 case $ac_init_help in
1368 short | recursive ) echo "Configuration of Maze Of Life 2.0:";;
1369 esac
1370 cat <<\_ACEOF
1371
1372Optional Features:
1373 --disable-option-checking ignore unrecognized --enable/--with options
1374 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1375 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1376 --disable-dependency-tracking speeds up one-time build
1377 --enable-dependency-tracking do not reject slow dependency extractors
1378
1379Some influential environment variables:
1380 CXX C++ compiler command
1381 CXXFLAGS C++ compiler flags
1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1383 nonstandard directory <lib dir>
1384 LIBS libraries to pass to the linker, e.g. -l<library>
1385 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1386 you have headers in a nonstandard directory <include dir>
1387 CC C compiler command
1388 CFLAGS C compiler flags
1389 PKG_CONFIG path to pkg-config utility
1390 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
1391 SDL_LIBS linker flags for SDL, overriding pkg-config
1392 CPP C preprocessor
1393
1394Use these variables to override the choices made by `configure' or to help
1395it to find libraries and programs with nonstandard names/locations.
1396
1397Report bugs to <BUG-REPORT-ADDRESS>.
1398_ACEOF
1399ac_status=$?
1400fi
1401
1402if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405 test -d "$ac_dir" ||
1406 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1407 continue
1408 ac_builddir=.
1409
1410case "$ac_dir" in
1411.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1412*)
1413 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1414 # A ".." for each directory in $ac_dir_suffix.
1415 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1416 case $ac_top_builddir_sub in
1417 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1418 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1419 esac ;;
1420esac
1421ac_abs_top_builddir=$ac_pwd
1422ac_abs_builddir=$ac_pwd$ac_dir_suffix
1423# for backward compatibility:
1424ac_top_builddir=$ac_top_build_prefix
1425
1426case $srcdir in
1427 .) # We are building in place.
1428 ac_srcdir=.
1429 ac_top_srcdir=$ac_top_builddir_sub
1430 ac_abs_top_srcdir=$ac_pwd ;;
1431 [\\/]* | ?:[\\/]* ) # Absolute name.
1432 ac_srcdir=$srcdir$ac_dir_suffix;
1433 ac_top_srcdir=$srcdir
1434 ac_abs_top_srcdir=$srcdir ;;
1435 *) # Relative name.
1436 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1437 ac_top_srcdir=$ac_top_build_prefix$srcdir
1438 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1439esac
1440ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1441
1442 cd "$ac_dir" || { ac_status=$?; continue; }
1443 # Check for guested configure.
1444 if test -f "$ac_srcdir/configure.gnu"; then
1445 echo &&
1446 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1447 elif test -f "$ac_srcdir/configure"; then
1448 echo &&
1449 $SHELL "$ac_srcdir/configure" --help=recursive
1450 else
1451 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1452 fi || ac_status=$?
1453 cd "$ac_pwd" || { ac_status=$?; break; }
1454 done
1455fi
1456
1457test -n "$ac_init_help" && exit $ac_status
1458if $ac_init_version; then
1459 cat <<\_ACEOF
1460Maze Of Life configure 2.0
1461generated by GNU Autoconf 2.63
1462
1463Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14642002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1465This configure script is free software; the Free Software Foundation
1466gives unlimited permission to copy, distribute and modify it.
1467_ACEOF
1468 exit
1469fi
1470cat >config.log <<_ACEOF
1471This file contains any messages produced by compilers while
1472running configure, to aid debugging if configure makes a mistake.
1473
1474It was created by Maze Of Life $as_me 2.0, which was
1475generated by GNU Autoconf 2.63. Invocation command line was
1476
1477 $ $0 $@
1478
1479_ACEOF
1480exec 5>>config.log
1481{
1482cat <<_ASUNAME
1483## --------- ##
1484## Platform. ##
1485## --------- ##
1486
1487hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1488uname -m = `(uname -m) 2>/dev/null || echo unknown`
1489uname -r = `(uname -r) 2>/dev/null || echo unknown`
1490uname -s = `(uname -s) 2>/dev/null || echo unknown`
1491uname -v = `(uname -v) 2>/dev/null || echo unknown`
1492
1493/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1494/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1495
1496/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1497/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1498/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1499/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1500/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1501/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1502/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1503
1504_ASUNAME
1505
1506as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1507for as_dir in $PATH
1508do
1509 IFS=$as_save_IFS
1510 test -z "$as_dir" && as_dir=.
1511 $as_echo "PATH: $as_dir"
1512done
1513IFS=$as_save_IFS
1514
1515} >&5
1516
1517cat >&5 <<_ACEOF
1518
1519
1520## ----------- ##
1521## Core tests. ##
1522## ----------- ##
1523
1524_ACEOF
1525
1526
1527# Keep a trace of the command line.
1528# Strip out --no-create and --no-recursion so they do not pile up.
1529# Strip out --silent because we don't want to record it for future runs.
1530# Also quote any args containing shell meta-characters.
1531# Make two passes to allow for proper duplicate-argument suppression.
1532ac_configure_args=
1533ac_configure_args0=
1534ac_configure_args1=
1535ac_must_keep_next=false
1536for ac_pass in 1 2
1537do
1538 for ac_arg
1539 do
1540 case $ac_arg in
1541 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1542 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1543 | -silent | --silent | --silen | --sile | --sil)
1544 continue ;;
1545 *\'*)
1546 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1547 esac
1548 case $ac_pass in
1549 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1550 2)
1551 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1552 if test $ac_must_keep_next = true; then
1553 ac_must_keep_next=false # Got value, back to normal.
1554 else
1555 case $ac_arg in
1556 *=* | --config-cache | -C | -disable-* | --disable-* \
1557 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1558 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1559 | -with-* | --with-* | -without-* | --without-* | --x)
1560 case "$ac_configure_args0 " in
1561 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1562 esac
1563 ;;
1564 -* ) ac_must_keep_next=true ;;
1565 esac
1566 fi
1567 ac_configure_args="$ac_configure_args '$ac_arg'"
1568 ;;
1569 esac
1570 done
1571done
1572$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1573$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1574
1575# When interrupted or exit'd, cleanup temporary files, and complete
1576# config.log. We remove comments because anyway the quotes in there
1577# would cause problems or look ugly.
1578# WARNING: Use '\'' to represent an apostrophe within the trap.
1579# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1580trap 'exit_status=$?
1581 # Save into config.log some information that might help in debugging.
1582 {
1583 echo
1584
1585 cat <<\_ASBOX
1586## ---------------- ##
1587## Cache variables. ##
1588## ---------------- ##
1589_ASBOX
1590 echo
1591 # The following way of writing the cache mishandles newlines in values,
1592(
1593 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1594 eval ac_val=\$$ac_var
1595 case $ac_val in #(
1596 *${as_nl}*)
1597 case $ac_var in #(
1598 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1599$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1600 esac
1601 case $ac_var in #(
1602 _ | IFS | as_nl) ;; #(
1603 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1604 *) $as_unset $ac_var ;;
1605 esac ;;
1606 esac
1607 done
1608 (set) 2>&1 |
1609 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1610 *${as_nl}ac_space=\ *)
1611 sed -n \
1612 "s/'\''/'\''\\\\'\'''\''/g;
1613 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1614 ;; #(
1615 *)
1616 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1617 ;;
1618 esac |
1619 sort
1620)
1621 echo
1622
1623 cat <<\_ASBOX
1624## ----------------- ##
1625## Output variables. ##
1626## ----------------- ##
1627_ASBOX
1628 echo
1629 for ac_var in $ac_subst_vars
1630 do
1631 eval ac_val=\$$ac_var
1632 case $ac_val in
1633 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1634 esac
1635 $as_echo "$ac_var='\''$ac_val'\''"
1636 done | sort
1637 echo
1638
1639 if test -n "$ac_subst_files"; then
1640 cat <<\_ASBOX
1641## ------------------- ##
1642## File substitutions. ##
1643## ------------------- ##
1644_ASBOX
1645 echo
1646 for ac_var in $ac_subst_files
1647 do
1648 eval ac_val=\$$ac_var
1649 case $ac_val in
1650 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1651 esac
1652 $as_echo "$ac_var='\''$ac_val'\''"
1653 done | sort
1654 echo
1655 fi
1656
1657 if test -s confdefs.h; then
1658 cat <<\_ASBOX
1659## ----------- ##
1660## confdefs.h. ##
1661## ----------- ##
1662_ASBOX
1663 echo
1664 cat confdefs.h
1665 echo
1666 fi
1667 test "$ac_signal" != 0 &&
1668 $as_echo "$as_me: caught signal $ac_signal"
1669 $as_echo "$as_me: exit $exit_status"
1670 } >&5
1671 rm -f core *.core core.conftest.* &&
1672 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1673 exit $exit_status
1674' 0
1675for ac_signal in 1 2 13 15; do
1676 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1677done
1678ac_signal=0
1679
1680# confdefs.h avoids OS command line length limits that DEFS can exceed.
1681rm -f -r conftest* confdefs.h
1682
1683# Predefined preprocessor variables.
1684
1685cat >>confdefs.h <<_ACEOF
1686#define PACKAGE_NAME "$PACKAGE_NAME"
1687_ACEOF
1688
1689
1690cat >>confdefs.h <<_ACEOF
1691#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1692_ACEOF
1693
1694
1695cat >>confdefs.h <<_ACEOF
1696#define PACKAGE_VERSION "$PACKAGE_VERSION"
1697_ACEOF
1698
1699
1700cat >>confdefs.h <<_ACEOF
1701#define PACKAGE_STRING "$PACKAGE_STRING"
1702_ACEOF
1703
1704
1705cat >>confdefs.h <<_ACEOF
1706#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1707_ACEOF
1708
1709
1710# Let the site file select an alternate cache file if it wants to.
1711# Prefer an explicitly selected file to automatically selected ones.
1712ac_site_file1=NONE
1713ac_site_file2=NONE
1714if test -n "$CONFIG_SITE"; then
1715 ac_site_file1=$CONFIG_SITE
1716elif test "x$prefix" != xNONE; then
1717 ac_site_file1=$prefix/share/config.site
1718 ac_site_file2=$prefix/etc/config.site
1719else
1720 ac_site_file1=$ac_default_prefix/share/config.site
1721 ac_site_file2=$ac_default_prefix/etc/config.site
1722fi
1723for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1724do
1725 test "x$ac_site_file" = xNONE && continue
1726 if test -r "$ac_site_file"; then
1727 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1728$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1729 sed 's/^/| /' "$ac_site_file" >&5
1730 . "$ac_site_file"
1731 fi
1732done
1733
1734if test -r "$cache_file"; then
1735 # Some versions of bash will fail to source /dev/null (special
1736 # files actually), so we avoid doing that.
1737 if test -f "$cache_file"; then
1738 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1739$as_echo "$as_me: loading cache $cache_file" >&6;}
1740 case $cache_file in
1741 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1742 *) . "./$cache_file";;
1743 esac
1744 fi
1745else
1746 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1747$as_echo "$as_me: creating cache $cache_file" >&6;}
1748 >$cache_file
1749fi
1750
1751# Check that the precious variables saved in the cache have kept the same
1752# value.
1753ac_cache_corrupted=false
1754for ac_var in $ac_precious_vars; do
1755 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1756 eval ac_new_set=\$ac_env_${ac_var}_set
1757 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1758 eval ac_new_val=\$ac_env_${ac_var}_value
1759 case $ac_old_set,$ac_new_set in
1760 set,)
1761 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1762$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1763 ac_cache_corrupted=: ;;
1764 ,set)
1765 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1766$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1767 ac_cache_corrupted=: ;;
1768 ,);;
1769 *)
1770 if test "x$ac_old_val" != "x$ac_new_val"; then
1771 # differences in whitespace do not lead to failure.
1772 ac_old_val_w=`echo x $ac_old_val`
1773 ac_new_val_w=`echo x $ac_new_val`
1774 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1775 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1776$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1777 ac_cache_corrupted=:
1778 else
1779 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1780$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1781 eval $ac_var=\$ac_old_val
1782 fi
1783 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1784$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1785 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1786$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1787 fi;;
1788 esac
1789 # Pass precious variables to config.status.
1790 if test "$ac_new_set" = set; then
1791 case $ac_new_val in
1792 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1793 *) ac_arg=$ac_var=$ac_new_val ;;
1794 esac
1795 case " $ac_configure_args " in
1796 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1797 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1798 esac
1799 fi
1800done
1801if $ac_cache_corrupted; then
1802 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1803$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1804 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1805$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1806 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1807$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1808 { (exit 1); exit 1; }; }
1809fi
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835ac_ext=c
1836ac_cpp='$CPP $CPPFLAGS'
1837ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1838ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1839ac_compiler_gnu=$ac_cv_c_compiler_gnu
1840
1841
1842am__api_version='1.10'
1843
1844ac_aux_dir=
1845for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1846 if test -f "$ac_dir/install-sh"; then
1847 ac_aux_dir=$ac_dir
1848 ac_install_sh="$ac_aux_dir/install-sh -c"
1849 break
1850 elif test -f "$ac_dir/install.sh"; then
1851 ac_aux_dir=$ac_dir
1852 ac_install_sh="$ac_aux_dir/install.sh -c"
1853 break
1854 elif test -f "$ac_dir/shtool"; then
1855 ac_aux_dir=$ac_dir
1856 ac_install_sh="$ac_aux_dir/shtool install -c"
1857 break
1858 fi
1859done
1860if test -z "$ac_aux_dir"; then
1861 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1862$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1863 { (exit 1); exit 1; }; }
1864fi
1865
1866# These three variables are undocumented and unsupported,
1867# and are intended to be withdrawn in a future Autoconf release.
1868# They can cause serious problems if a builder's source tree is in a directory
1869# whose full name contains unusual characters.
1870ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1871ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1872ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1873
1874
1875# Find a good install program. We prefer a C program (faster),
1876# so one script is as good as another. But avoid the broken or
1877# incompatible versions:
1878# SysV /etc/install, /usr/sbin/install
1879# SunOS /usr/etc/install
1880# IRIX /sbin/install
1881# AIX /bin/install
1882# AmigaOS /C/install, which installs bootblocks on floppy discs
1883# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1884# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1885# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1886# OS/2's system install, which has a completely different semantic
1887# ./install, which can be erroneously created by make from ./install.sh.
1888# Reject install programs that cannot install multiple files.
1889{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1890$as_echo_n "checking for a BSD-compatible install... " >&6; }
1891if test -z "$INSTALL"; then
1892if test "${ac_cv_path_install+set}" = set; then
1893 $as_echo_n "(cached) " >&6
1894else
1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896for as_dir in $PATH
1897do
1898 IFS=$as_save_IFS
1899 test -z "$as_dir" && as_dir=.
1900 # Account for people who put trailing slashes in PATH elements.
1901case $as_dir/ in
1902 ./ | .// | /cC/* | \
1903 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1904 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1905 /usr/ucb/* ) ;;
1906 *)
1907 # OSF1 and SCO ODT 3.0 have their own names for install.
1908 # Don't use installbsd from OSF since it installs stuff as root
1909 # by default.
1910 for ac_prog in ginstall scoinst install; do
1911 for ac_exec_ext in '' $ac_executable_extensions; do
1912 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1913 if test $ac_prog = install &&
1914 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1915 # AIX install. It has an incompatible calling convention.
1916 :
1917 elif test $ac_prog = install &&
1918 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1919 # program-specific install script used by HP pwplus--don't use.
1920 :
1921 else
1922 rm -rf conftest.one conftest.two conftest.dir
1923 echo one > conftest.one
1924 echo two > conftest.two
1925 mkdir conftest.dir
1926 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1927 test -s conftest.one && test -s conftest.two &&
1928 test -s conftest.dir/conftest.one &&
1929 test -s conftest.dir/conftest.two
1930 then
1931 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1932 break 3
1933 fi
1934 fi
1935 fi
1936 done
1937 done
1938 ;;
1939esac
1940
1941done
1942IFS=$as_save_IFS
1943
1944rm -rf conftest.one conftest.two conftest.dir
1945
1946fi
1947 if test "${ac_cv_path_install+set}" = set; then
1948 INSTALL=$ac_cv_path_install
1949 else
1950 # As a last resort, use the slow shell script. Don't cache a
1951 # value for INSTALL within a source directory, because that will
1952 # break other packages using the cache if that directory is
1953 # removed, or if the value is a relative name.
1954 INSTALL=$ac_install_sh
1955 fi
1956fi
1957{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1958$as_echo "$INSTALL" >&6; }
1959
1960# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1961# It thinks the first close brace ends the variable substitution.
1962test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1963
1964test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1965
1966test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1967
1968{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1969$as_echo_n "checking whether build environment is sane... " >&6; }
1970# Just in case
1971sleep 1
1972echo timestamp > conftest.file
1973# Do `set' in a subshell so we don't clobber the current shell's
1974# arguments. Must try -L first in case configure is actually a
1975# symlink; some systems play weird games with the mod time of symlinks
1976# (eg FreeBSD returns the mod time of the symlink's containing
1977# directory).
1978if (
1979 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1980 if test "$*" = "X"; then
1981 # -L didn't work.
1982 set X `ls -t $srcdir/configure conftest.file`
1983 fi
1984 rm -f conftest.file
1985 if test "$*" != "X $srcdir/configure conftest.file" \
1986 && test "$*" != "X conftest.file $srcdir/configure"; then
1987
1988 # If neither matched, then we have a broken ls. This can happen
1989 # if, for instance, CONFIG_SHELL is bash and it inherits a
1990 # broken ls alias from the environment. This has actually
1991 # happened. Such a system could not be considered "sane".
1992 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1993alias in your environment" >&5
1994$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1995alias in your environment" >&2;}
1996 { (exit 1); exit 1; }; }
1997 fi
1998
1999 test "$2" = conftest.file
2000 )
2001then
2002 # Ok.
2003 :
2004else
2005 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2006Check your system clock" >&5
2007$as_echo "$as_me: error: newly created file is older than distributed files!
2008Check your system clock" >&2;}
2009 { (exit 1); exit 1; }; }
2010fi
2011{ $as_echo "$as_me:$LINENO: result: yes" >&5
2012$as_echo "yes" >&6; }
2013test "$program_prefix" != NONE &&
2014 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2015# Use a double $ so make ignores it.
2016test "$program_suffix" != NONE &&
2017 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2018# Double any \ or $.
2019# By default was `s,x,x', remove it if useless.
2020ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2021program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2022
2023# expand $ac_aux_dir to an absolute path
2024am_aux_dir=`cd $ac_aux_dir && pwd`
2025
2026test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2027# Use eval to expand $SHELL
2028if eval "$MISSING --run true"; then
2029 am_missing_run="$MISSING --run "
2030else
2031 am_missing_run=
2032 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2033$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2034fi
2035
2036{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2037$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2038if test -z "$MKDIR_P"; then
2039 if test "${ac_cv_path_mkdir+set}" = set; then
2040 $as_echo_n "(cached) " >&6
2041else
2042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2044do
2045 IFS=$as_save_IFS
2046 test -z "$as_dir" && as_dir=.
2047 for ac_prog in mkdir gmkdir; do
2048 for ac_exec_ext in '' $ac_executable_extensions; do
2049 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2050 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2051 'mkdir (GNU coreutils) '* | \
2052 'mkdir (coreutils) '* | \
2053 'mkdir (fileutils) '4.1*)
2054 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2055 break 3;;
2056 esac
2057 done
2058 done
2059done
2060IFS=$as_save_IFS
2061
2062fi
2063
2064 if test "${ac_cv_path_mkdir+set}" = set; then
2065 MKDIR_P="$ac_cv_path_mkdir -p"
2066 else
2067 # As a last resort, use the slow shell script. Don't cache a
2068 # value for MKDIR_P within a source directory, because that will
2069 # break other packages using the cache if that directory is
2070 # removed, or if the value is a relative name.
2071 test -d ./--version && rmdir ./--version
2072 MKDIR_P="$ac_install_sh -d"
2073 fi
2074fi
2075{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2076$as_echo "$MKDIR_P" >&6; }
2077
2078mkdir_p="$MKDIR_P"
2079case $mkdir_p in
2080 [\\/$]* | ?:[\\/]*) ;;
2081 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2082esac
2083
2084for ac_prog in gawk mawk nawk awk
2085do
2086 # Extract the first word of "$ac_prog", so it can be a program name with args.
2087set dummy $ac_prog; ac_word=$2
2088{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2089$as_echo_n "checking for $ac_word... " >&6; }
2090if test "${ac_cv_prog_AWK+set}" = set; then
2091 $as_echo_n "(cached) " >&6
2092else
2093 if test -n "$AWK"; then
2094 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2095else
2096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097for as_dir in $PATH
2098do
2099 IFS=$as_save_IFS
2100 test -z "$as_dir" && as_dir=.
2101 for ac_exec_ext in '' $ac_executable_extensions; do
2102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2103 ac_cv_prog_AWK="$ac_prog"
2104 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105 break 2
2106 fi
2107done
2108done
2109IFS=$as_save_IFS
2110
2111fi
2112fi
2113AWK=$ac_cv_prog_AWK
2114if test -n "$AWK"; then
2115 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2116$as_echo "$AWK" >&6; }
2117else
2118 { $as_echo "$as_me:$LINENO: result: no" >&5
2119$as_echo "no" >&6; }
2120fi
2121
2122
2123 test -n "$AWK" && break
2124done
2125
2126{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2127$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2128set x ${MAKE-make}
2129ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2130if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2131 $as_echo_n "(cached) " >&6
2132else
2133 cat >conftest.make <<\_ACEOF
2134SHELL = /bin/sh
2135all:
2136 @echo '@@@%%%=$(MAKE)=@@@%%%'
2137_ACEOF
2138# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2139case `${MAKE-make} -f conftest.make 2>/dev/null` in
2140 *@@@%%%=?*=@@@%%%*)
2141 eval ac_cv_prog_make_${ac_make}_set=yes;;
2142 *)
2143 eval ac_cv_prog_make_${ac_make}_set=no;;
2144esac
2145rm -f conftest.make
2146fi
2147if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2148 { $as_echo "$as_me:$LINENO: result: yes" >&5
2149$as_echo "yes" >&6; }
2150 SET_MAKE=
2151else
2152 { $as_echo "$as_me:$LINENO: result: no" >&5
2153$as_echo "no" >&6; }
2154 SET_MAKE="MAKE=${MAKE-make}"
2155fi
2156
2157rm -rf .tst 2>/dev/null
2158mkdir .tst 2>/dev/null
2159if test -d .tst; then
2160 am__leading_dot=.
2161else
2162 am__leading_dot=_
2163fi
2164rmdir .tst 2>/dev/null
2165
2166if test "`cd $srcdir && pwd`" != "`pwd`"; then
2167 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2168 # is not polluted with repeated "-I."
2169 am__isrc=' -I$(srcdir)'
2170 # test to see if srcdir already configured
2171 if test -f $srcdir/config.status; then
2172 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2173$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2174 { (exit 1); exit 1; }; }
2175 fi
2176fi
2177
2178# test whether we have cygpath
2179if test -z "$CYGPATH_W"; then
2180 if (cygpath --version) >/dev/null 2>/dev/null; then
2181 CYGPATH_W='cygpath -w'
2182 else
2183 CYGPATH_W=echo
2184 fi
2185fi
2186
2187
2188# Define the identity of the package.
2189 PACKAGE='maze-of-life'
2190 VERSION='2.0'
2191
2192
2193cat >>confdefs.h <<_ACEOF
2194#define PACKAGE "$PACKAGE"
2195_ACEOF
2196
2197
2198cat >>confdefs.h <<_ACEOF
2199#define VERSION "$VERSION"
2200_ACEOF
2201
2202# Some tools Automake needs.
2203
2204ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2205
2206
2207AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2208
2209
2210AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2211
2212
2213AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2214
2215
2216MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2217
2218install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2219
2220# Installed binaries are usually stripped using `strip' when the user
2221# run `make install-strip'. However `strip' might not be the right
2222# tool to use in cross-compilation environments, therefore Automake
2223# will honor the `STRIP' environment variable to overrule this program.
2224if test "$cross_compiling" != no; then
2225 if test -n "$ac_tool_prefix"; then
2226 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2227set dummy ${ac_tool_prefix}strip; ac_word=$2
2228{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2229$as_echo_n "checking for $ac_word... " >&6; }
2230if test "${ac_cv_prog_STRIP+set}" = set; then
2231 $as_echo_n "(cached) " >&6
2232else
2233 if test -n "$STRIP"; then
2234 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2235else
2236as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237for as_dir in $PATH
2238do
2239 IFS=$as_save_IFS
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2243 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2244 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 break 2
2246 fi
2247done
2248done
2249IFS=$as_save_IFS
2250
2251fi
2252fi
2253STRIP=$ac_cv_prog_STRIP
2254if test -n "$STRIP"; then
2255 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2256$as_echo "$STRIP" >&6; }
2257else
2258 { $as_echo "$as_me:$LINENO: result: no" >&5
2259$as_echo "no" >&6; }
2260fi
2261
2262
2263fi
2264if test -z "$ac_cv_prog_STRIP"; then
2265 ac_ct_STRIP=$STRIP
2266 # Extract the first word of "strip", so it can be a program name with args.
2267set dummy strip; ac_word=$2
2268{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2269$as_echo_n "checking for $ac_word... " >&6; }
2270if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2271 $as_echo_n "(cached) " >&6
2272else
2273 if test -n "$ac_ct_STRIP"; then
2274 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2275else
2276as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277for as_dir in $PATH
2278do
2279 IFS=$as_save_IFS
2280 test -z "$as_dir" && as_dir=.
2281 for ac_exec_ext in '' $ac_executable_extensions; do
2282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2283 ac_cv_prog_ac_ct_STRIP="strip"
2284 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2285 break 2
2286 fi
2287done
2288done
2289IFS=$as_save_IFS
2290
2291fi
2292fi
2293ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2294if test -n "$ac_ct_STRIP"; then
2295 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2296$as_echo "$ac_ct_STRIP" >&6; }
2297else
2298 { $as_echo "$as_me:$LINENO: result: no" >&5
2299$as_echo "no" >&6; }
2300fi
2301
2302 if test "x$ac_ct_STRIP" = x; then
2303 STRIP=":"
2304 else
2305 case $cross_compiling:$ac_tool_warned in
2306yes:)
2307{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2308$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2309ac_tool_warned=yes ;;
2310esac
2311 STRIP=$ac_ct_STRIP
2312 fi
2313else
2314 STRIP="$ac_cv_prog_STRIP"
2315fi
2316
2317fi
2318INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2319
2320# We need awk for the "check" target. The system "awk" is bad on
2321# some platforms.
2322# Always define AMTAR for backward compatibility.
2323
2324AMTAR=${AMTAR-"${am_missing_run}tar"}
2325
2326am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2327
2328
2329
2330
2331
2332
2333ac_config_headers="$ac_config_headers config.h"
2334
2335
2336# Checks for programs.
2337ac_ext=cpp
2338ac_cpp='$CXXCPP $CPPFLAGS'
2339ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2340ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2341ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2342if test -z "$CXX"; then
2343 if test -n "$CCC"; then
2344 CXX=$CCC
2345 else
2346 if test -n "$ac_tool_prefix"; then
2347 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2348 do
2349 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2350set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2351{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2352$as_echo_n "checking for $ac_word... " >&6; }
2353if test "${ac_cv_prog_CXX+set}" = set; then
2354 $as_echo_n "(cached) " >&6
2355else
2356 if test -n "$CXX"; then
2357 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2358else
2359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360for as_dir in $PATH
2361do
2362 IFS=$as_save_IFS
2363 test -z "$as_dir" && as_dir=.
2364 for ac_exec_ext in '' $ac_executable_extensions; do
2365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2366 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2367 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 break 2
2369 fi
2370done
2371done
2372IFS=$as_save_IFS
2373
2374fi
2375fi
2376CXX=$ac_cv_prog_CXX
2377if test -n "$CXX"; then
2378 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2379$as_echo "$CXX" >&6; }
2380else
2381 { $as_echo "$as_me:$LINENO: result: no" >&5
2382$as_echo "no" >&6; }
2383fi
2384
2385
2386 test -n "$CXX" && break
2387 done
2388fi
2389if test -z "$CXX"; then
2390 ac_ct_CXX=$CXX
2391 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2392do
2393 # Extract the first word of "$ac_prog", so it can be a program name with args.
2394set dummy $ac_prog; ac_word=$2
2395{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2396$as_echo_n "checking for $ac_word... " >&6; }
2397if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2398 $as_echo_n "(cached) " >&6
2399else
2400 if test -n "$ac_ct_CXX"; then
2401 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2402else
2403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404for as_dir in $PATH
2405do
2406 IFS=$as_save_IFS
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2410 ac_cv_prog_ac_ct_CXX="$ac_prog"
2411 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2412 break 2
2413 fi
2414done
2415done
2416IFS=$as_save_IFS
2417
2418fi
2419fi
2420ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2421if test -n "$ac_ct_CXX"; then
2422 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2423$as_echo "$ac_ct_CXX" >&6; }
2424else
2425 { $as_echo "$as_me:$LINENO: result: no" >&5
2426$as_echo "no" >&6; }
2427fi
2428
2429
2430 test -n "$ac_ct_CXX" && break
2431done
2432
2433 if test "x$ac_ct_CXX" = x; then
2434 CXX="g++"
2435 else
2436 case $cross_compiling:$ac_tool_warned in
2437yes:)
2438{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2439$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2440ac_tool_warned=yes ;;
2441esac
2442 CXX=$ac_ct_CXX
2443 fi
2444fi
2445
2446 fi
2447fi
2448# Provide some information about the compiler.
2449$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2450set X $ac_compile
2451ac_compiler=$2
2452{ (ac_try="$ac_compiler --version >&5"
2453case "(($ac_try" in
2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2455 *) ac_try_echo=$ac_try;;
2456esac
2457eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2458$as_echo "$ac_try_echo") >&5
2459 (eval "$ac_compiler --version >&5") 2>&5
2460 ac_status=$?
2461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }
2463{ (ac_try="$ac_compiler -v >&5"
2464case "(($ac_try" in
2465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2466 *) ac_try_echo=$ac_try;;
2467esac
2468eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2469$as_echo "$ac_try_echo") >&5
2470 (eval "$ac_compiler -v >&5") 2>&5
2471 ac_status=$?
2472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473 (exit $ac_status); }
2474{ (ac_try="$ac_compiler -V >&5"
2475case "(($ac_try" in
2476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2478esac
2479eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2480$as_echo "$ac_try_echo") >&5
2481 (eval "$ac_compiler -V >&5") 2>&5
2482 ac_status=$?
2483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }
2485
2486cat >conftest.$ac_ext <<_ACEOF
2487/* confdefs.h. */
2488_ACEOF
2489cat confdefs.h >>conftest.$ac_ext
2490cat >>conftest.$ac_ext <<_ACEOF
2491/* end confdefs.h. */
2492
2493int
2494main ()
2495{
2496
2497 ;
2498 return 0;
2499}
2500_ACEOF
2501ac_clean_files_save=$ac_clean_files
2502ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2503# Try to create an executable without -o first, disregard a.out.
2504# It will help us diagnose broken compilers, and finding out an intuition
2505# of exeext.
2506{ $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2507$as_echo_n "checking for C++ compiler default output file name... " >&6; }
2508ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2509
2510# The possible output files:
2511ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2512
2513ac_rmfiles=
2514for ac_file in $ac_files
2515do
2516 case $ac_file in
2517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2518 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2519 esac
2520done
2521rm -f $ac_rmfiles
2522
2523if { (ac_try="$ac_link_default"
2524case "(($ac_try" in
2525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2526 *) ac_try_echo=$ac_try;;
2527esac
2528eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2529$as_echo "$ac_try_echo") >&5
2530 (eval "$ac_link_default") 2>&5
2531 ac_status=$?
2532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }; then
2534 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2535# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2536# in a Makefile. We should not override ac_cv_exeext if it was cached,
2537# so that the user can short-circuit this test for compilers unknown to
2538# Autoconf.
2539for ac_file in $ac_files ''
2540do
2541 test -f "$ac_file" || continue
2542 case $ac_file in
2543 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2544 ;;
2545 [ab].out )
2546 # We found the default executable, but exeext='' is most
2547 # certainly right.
2548 break;;
2549 *.* )
2550 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2551 then :; else
2552 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2553 fi
2554 # We set ac_cv_exeext here because the later test for it is not
2555 # safe: cross compilers may not add the suffix if given an `-o'
2556 # argument, so we may need to know it at that point already.
2557 # Even if this section looks crufty: it has the advantage of
2558 # actually working.
2559 break;;
2560 * )
2561 break;;
2562 esac
2563done
2564test "$ac_cv_exeext" = no && ac_cv_exeext=
2565
2566else
2567 ac_file=''
2568fi
2569
2570{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2571$as_echo "$ac_file" >&6; }
2572if test -z "$ac_file"; then
2573 $as_echo "$as_me: failed program was:" >&5
2574sed 's/^/| /' conftest.$ac_ext >&5
2575
2576{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2577$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2578{ { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2579See \`config.log' for more details." >&5
2580$as_echo "$as_me: error: C++ compiler cannot create executables
2581See \`config.log' for more details." >&2;}
2582 { (exit 77); exit 77; }; }; }
2583fi
2584
2585ac_exeext=$ac_cv_exeext
2586
2587# Check that the compiler produces executables we can run. If not, either
2588# the compiler is broken, or we cross compile.
2589{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2590$as_echo_n "checking whether the C++ compiler works... " >&6; }
2591# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2592# If not cross compiling, check that we can run a simple program.
2593if test "$cross_compiling" != yes; then
2594 if { ac_try='./$ac_file'
2595 { (case "(($ac_try" in
2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2598esac
2599eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2600$as_echo "$ac_try_echo") >&5
2601 (eval "$ac_try") 2>&5
2602 ac_status=$?
2603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; }; then
2605 cross_compiling=no
2606 else
2607 if test "$cross_compiling" = maybe; then
2608 cross_compiling=yes
2609 else
2610 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2611$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2612{ { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2613If you meant to cross compile, use \`--host'.
2614See \`config.log' for more details." >&5
2615$as_echo "$as_me: error: cannot run C++ compiled programs.
2616If you meant to cross compile, use \`--host'.
2617See \`config.log' for more details." >&2;}
2618 { (exit 1); exit 1; }; }; }
2619 fi
2620 fi
2621fi
2622{ $as_echo "$as_me:$LINENO: result: yes" >&5
2623$as_echo "yes" >&6; }
2624
2625rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2626ac_clean_files=$ac_clean_files_save
2627# Check that the compiler produces executables we can run. If not, either
2628# the compiler is broken, or we cross compile.
2629{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2630$as_echo_n "checking whether we are cross compiling... " >&6; }
2631{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2632$as_echo "$cross_compiling" >&6; }
2633
2634{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2635$as_echo_n "checking for suffix of executables... " >&6; }
2636if { (ac_try="$ac_link"
2637case "(($ac_try" in
2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2639 *) ac_try_echo=$ac_try;;
2640esac
2641eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2642$as_echo "$ac_try_echo") >&5
2643 (eval "$ac_link") 2>&5
2644 ac_status=$?
2645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; then
2647 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2648# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2649# work properly (i.e., refer to `conftest.exe'), while it won't with
2650# `rm'.
2651for ac_file in conftest.exe conftest conftest.*; do
2652 test -f "$ac_file" || continue
2653 case $ac_file in
2654 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2655 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2656 break;;
2657 * ) break;;
2658 esac
2659done
2660else
2661 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2662$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2663{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2664See \`config.log' for more details." >&5
2665$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2666See \`config.log' for more details." >&2;}
2667 { (exit 1); exit 1; }; }; }
2668fi
2669
2670rm -f conftest$ac_cv_exeext
2671{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2672$as_echo "$ac_cv_exeext" >&6; }
2673
2674rm -f conftest.$ac_ext
2675EXEEXT=$ac_cv_exeext
2676ac_exeext=$EXEEXT
2677{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2678$as_echo_n "checking for suffix of object files... " >&6; }
2679if test "${ac_cv_objext+set}" = set; then
2680 $as_echo_n "(cached) " >&6
2681else
2682 cat >conftest.$ac_ext <<_ACEOF
2683/* confdefs.h. */
2684_ACEOF
2685cat confdefs.h >>conftest.$ac_ext
2686cat >>conftest.$ac_ext <<_ACEOF
2687/* end confdefs.h. */
2688
2689int
2690main ()
2691{
2692
2693 ;
2694 return 0;
2695}
2696_ACEOF
2697rm -f conftest.o conftest.obj
2698if { (ac_try="$ac_compile"
2699case "(($ac_try" in
2700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2701 *) ac_try_echo=$ac_try;;
2702esac
2703eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2704$as_echo "$ac_try_echo") >&5
2705 (eval "$ac_compile") 2>&5
2706 ac_status=$?
2707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); }; then
2709 for ac_file in conftest.o conftest.obj conftest.*; do
2710 test -f "$ac_file" || continue;
2711 case $ac_file in
2712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2713 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2714 break;;
2715 esac
2716done
2717else
2718 $as_echo "$as_me: failed program was:" >&5
2719sed 's/^/| /' conftest.$ac_ext >&5
2720
2721{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2722$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2723{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2724See \`config.log' for more details." >&5
2725$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2726See \`config.log' for more details." >&2;}
2727 { (exit 1); exit 1; }; }; }
2728fi
2729
2730rm -f conftest.$ac_cv_objext conftest.$ac_ext
2731fi
2732{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2733$as_echo "$ac_cv_objext" >&6; }
2734OBJEXT=$ac_cv_objext
2735ac_objext=$OBJEXT
2736{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2737$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2738if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2739 $as_echo_n "(cached) " >&6
2740else
2741 cat >conftest.$ac_ext <<_ACEOF
2742/* confdefs.h. */
2743_ACEOF
2744cat confdefs.h >>conftest.$ac_ext
2745cat >>conftest.$ac_ext <<_ACEOF
2746/* end confdefs.h. */
2747
2748int
2749main ()
2750{
2751#ifndef __GNUC__
2752 choke me
2753#endif
2754
2755 ;
2756 return 0;
2757}
2758_ACEOF
2759rm -f conftest.$ac_objext
2760if { (ac_try="$ac_compile"
2761case "(($ac_try" in
2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2764esac
2765eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2766$as_echo "$ac_try_echo") >&5
2767 (eval "$ac_compile") 2>conftest.er1
2768 ac_status=$?
2769 grep -v '^ *+' conftest.er1 >conftest.err
2770 rm -f conftest.er1
2771 cat conftest.err >&5
2772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); } && {
2774 test -z "$ac_cxx_werror_flag" ||
2775 test ! -s conftest.err
2776 } && test -s conftest.$ac_objext; then
2777 ac_compiler_gnu=yes
2778else
2779 $as_echo "$as_me: failed program was:" >&5
2780sed 's/^/| /' conftest.$ac_ext >&5
2781
2782 ac_compiler_gnu=no
2783fi
2784
2785rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2786ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2787
2788fi
2789{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2790$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2791if test $ac_compiler_gnu = yes; then
2792 GXX=yes
2793else
2794 GXX=
2795fi
2796ac_test_CXXFLAGS=${CXXFLAGS+set}
2797ac_save_CXXFLAGS=$CXXFLAGS
2798{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2799$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2800if test "${ac_cv_prog_cxx_g+set}" = set; then
2801 $as_echo_n "(cached) " >&6
2802else
2803 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2804 ac_cxx_werror_flag=yes
2805 ac_cv_prog_cxx_g=no
2806 CXXFLAGS="-g"
2807 cat >conftest.$ac_ext <<_ACEOF
2808/* confdefs.h. */
2809_ACEOF
2810cat confdefs.h >>conftest.$ac_ext
2811cat >>conftest.$ac_ext <<_ACEOF
2812/* end confdefs.h. */
2813
2814int
2815main ()
2816{
2817
2818 ;
2819 return 0;
2820}
2821_ACEOF
2822rm -f conftest.$ac_objext
2823if { (ac_try="$ac_compile"
2824case "(($ac_try" in
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2827esac
2828eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2829$as_echo "$ac_try_echo") >&5
2830 (eval "$ac_compile") 2>conftest.er1
2831 ac_status=$?
2832 grep -v '^ *+' conftest.er1 >conftest.err
2833 rm -f conftest.er1
2834 cat conftest.err >&5
2835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } && {
2837 test -z "$ac_cxx_werror_flag" ||
2838 test ! -s conftest.err
2839 } && test -s conftest.$ac_objext; then
2840 ac_cv_prog_cxx_g=yes
2841else
2842 $as_echo "$as_me: failed program was:" >&5
2843sed 's/^/| /' conftest.$ac_ext >&5
2844
2845 CXXFLAGS=""
2846 cat >conftest.$ac_ext <<_ACEOF
2847/* confdefs.h. */
2848_ACEOF
2849cat confdefs.h >>conftest.$ac_ext
2850cat >>conftest.$ac_ext <<_ACEOF
2851/* end confdefs.h. */
2852
2853int
2854main ()
2855{
2856
2857 ;
2858 return 0;
2859}
2860_ACEOF
2861rm -f conftest.$ac_objext
2862if { (ac_try="$ac_compile"
2863case "(($ac_try" in
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2866esac
2867eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2868$as_echo "$ac_try_echo") >&5
2869 (eval "$ac_compile") 2>conftest.er1
2870 ac_status=$?
2871 grep -v '^ *+' conftest.er1 >conftest.err
2872 rm -f conftest.er1
2873 cat conftest.err >&5
2874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); } && {
2876 test -z "$ac_cxx_werror_flag" ||
2877 test ! -s conftest.err
2878 } && test -s conftest.$ac_objext; then
2879 :
2880else
2881 $as_echo "$as_me: failed program was:" >&5
2882sed 's/^/| /' conftest.$ac_ext >&5
2883
2884 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2885 CXXFLAGS="-g"
2886 cat >conftest.$ac_ext <<_ACEOF
2887/* confdefs.h. */
2888_ACEOF
2889cat confdefs.h >>conftest.$ac_ext
2890cat >>conftest.$ac_ext <<_ACEOF
2891/* end confdefs.h. */
2892
2893int
2894main ()
2895{
2896
2897 ;
2898 return 0;
2899}
2900_ACEOF
2901rm -f conftest.$ac_objext
2902if { (ac_try="$ac_compile"
2903case "(($ac_try" in
2904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2905 *) ac_try_echo=$ac_try;;
2906esac
2907eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2908$as_echo "$ac_try_echo") >&5
2909 (eval "$ac_compile") 2>conftest.er1
2910 ac_status=$?
2911 grep -v '^ *+' conftest.er1 >conftest.err
2912 rm -f conftest.er1
2913 cat conftest.err >&5
2914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); } && {
2916 test -z "$ac_cxx_werror_flag" ||
2917 test ! -s conftest.err
2918 } && test -s conftest.$ac_objext; then
2919 ac_cv_prog_cxx_g=yes
2920else
2921 $as_echo "$as_me: failed program was:" >&5
2922sed 's/^/| /' conftest.$ac_ext >&5
2923
2924
2925fi
2926
2927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928fi
2929
2930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2931fi
2932
2933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2934 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2935fi
2936{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2937$as_echo "$ac_cv_prog_cxx_g" >&6; }
2938if test "$ac_test_CXXFLAGS" = set; then
2939 CXXFLAGS=$ac_save_CXXFLAGS
2940elif test $ac_cv_prog_cxx_g = yes; then
2941 if test "$GXX" = yes; then
2942 CXXFLAGS="-g -O2"
2943 else
2944 CXXFLAGS="-g"
2945 fi
2946else
2947 if test "$GXX" = yes; then
2948 CXXFLAGS="-O2"
2949 else
2950 CXXFLAGS=
2951 fi
2952fi
2953ac_ext=c
2954ac_cpp='$CPP $CPPFLAGS'
2955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2957ac_compiler_gnu=$ac_cv_c_compiler_gnu
2958DEPDIR="${am__leading_dot}deps"
2959
2960ac_config_commands="$ac_config_commands depfiles"
2961
2962
2963am_make=${MAKE-make}
2964cat > confinc << 'END'
2965am__doit:
2966 @echo done
2967.PHONY: am__doit
2968END
2969# If we don't find an include directive, just comment out the code.
2970{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2971$as_echo_n "checking for style of include used by $am_make... " >&6; }
2972am__include="#"
2973am__quote=
2974_am_result=none
2975# First try GNU make style include.
2976echo "include confinc" > confmf
2977# We grep out `Entering directory' and `Leaving directory'
2978# messages which can occur if `w' ends up in MAKEFLAGS.
2979# In particular we don't look at `^make:' because GNU make might
2980# be invoked under some other name (usually "gmake"), in which
2981# case it prints its new name instead of `make'.
2982if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2983 am__include=include
2984 am__quote=
2985 _am_result=GNU
2986fi
2987# Now try BSD make style include.
2988if test "$am__include" = "#"; then
2989 echo '.include "confinc"' > confmf
2990 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2991 am__include=.include
2992 am__quote="\""
2993 _am_result=BSD
2994 fi
2995fi
2996
2997
2998{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2999$as_echo "$_am_result" >&6; }
3000rm -f confinc confmf
3001
3002# Check whether --enable-dependency-tracking was given.
3003if test "${enable_dependency_tracking+set}" = set; then
3004 enableval=$enable_dependency_tracking;
3005fi
3006
3007if test "x$enable_dependency_tracking" != xno; then
3008 am_depcomp="$ac_aux_dir/depcomp"
3009 AMDEPBACKSLASH='\'
3010fi
3011 if test "x$enable_dependency_tracking" != xno; then
3012 AMDEP_TRUE=
3013 AMDEP_FALSE='#'
3014else
3015 AMDEP_TRUE='#'
3016 AMDEP_FALSE=
3017fi
3018
3019
3020
3021depcc="$CXX" am_compiler_list=
3022
3023{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3024$as_echo_n "checking dependency style of $depcc... " >&6; }
3025if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3026 $as_echo_n "(cached) " >&6
3027else
3028 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3029 # We make a subdir and do the tests there. Otherwise we can end up
3030 # making bogus files that we don't know about and never remove. For
3031 # instance it was reported that on HP-UX the gcc test will end up
3032 # making a dummy file named `D' -- because `-MD' means `put the output
3033 # in D'.
3034 mkdir conftest.dir
3035 # Copy depcomp to subdir because otherwise we won't find it if we're
3036 # using a relative directory.
3037 cp "$am_depcomp" conftest.dir
3038 cd conftest.dir
3039 # We will build objects and dependencies in a subdirectory because
3040 # it helps to detect inapplicable dependency modes. For instance
3041 # both Tru64's cc and ICC support -MD to output dependencies as a
3042 # side effect of compilation, but ICC will put the dependencies in
3043 # the current directory while Tru64 will put them in the object
3044 # directory.
3045 mkdir sub
3046
3047 am_cv_CXX_dependencies_compiler_type=none
3048 if test "$am_compiler_list" = ""; then
3049 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3050 fi
3051 for depmode in $am_compiler_list; do
3052 # Setup a source with many dependencies, because some compilers
3053 # like to wrap large dependency lists on column 80 (with \), and
3054 # we should not choose a depcomp mode which is confused by this.
3055 #
3056 # We need to recreate these files for each test, as the compiler may
3057 # overwrite some of them when testing with obscure command lines.
3058 # This happens at least with the AIX C compiler.
3059 : > sub/conftest.c
3060 for i in 1 2 3 4 5 6; do
3061 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3062 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3063 # Solaris 8's {/usr,}/bin/sh.
3064 touch sub/conftst$i.h
3065 done
3066 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3067
3068 case $depmode in
3069 nosideeffect)
3070 # after this tag, mechanisms are not by side-effect, so they'll
3071 # only be used when explicitly requested
3072 if test "x$enable_dependency_tracking" = xyes; then
3073 continue
3074 else
3075 break
3076 fi
3077 ;;
3078 none) break ;;
3079 esac
3080 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3081 # mode. It turns out that the SunPro C++ compiler does not properly
3082 # handle `-M -o', and we need to detect this.
3083 if depmode=$depmode \
3084 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3085 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3086 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3087 >/dev/null 2>conftest.err &&
3088 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3089 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3090 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3091 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3092 # icc doesn't choke on unknown options, it will just issue warnings
3093 # or remarks (even with -Werror). So we grep stderr for any message
3094 # that says an option was ignored or not supported.
3095 # When given -MP, icc 7.0 and 7.1 complain thusly:
3096 # icc: Command line warning: ignoring option '-M'; no argument required
3097 # The diagnosis changed in icc 8.0:
3098 # icc: Command line remark: option '-MP' not supported
3099 if (grep 'ignoring option' conftest.err ||
3100 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3101 am_cv_CXX_dependencies_compiler_type=$depmode
3102 break
3103 fi
3104 fi
3105 done
3106
3107 cd ..
3108 rm -rf conftest.dir
3109else
3110 am_cv_CXX_dependencies_compiler_type=none
3111fi
3112
3113fi
3114{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3115$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3116CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3117
3118 if
3119 test "x$enable_dependency_tracking" != xno \
3120 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3121 am__fastdepCXX_TRUE=
3122 am__fastdepCXX_FALSE='#'
3123else
3124 am__fastdepCXX_TRUE='#'
3125 am__fastdepCXX_FALSE=
3126fi
3127
3128
3129ac_ext=c
3130ac_cpp='$CPP $CPPFLAGS'
3131ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3132ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3133ac_compiler_gnu=$ac_cv_c_compiler_gnu
3134if test -n "$ac_tool_prefix"; then
3135 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3136set dummy ${ac_tool_prefix}gcc; ac_word=$2
3137{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3138$as_echo_n "checking for $ac_word... " >&6; }
3139if test "${ac_cv_prog_CC+set}" = set; then
3140 $as_echo_n "(cached) " >&6
3141else
3142 if test -n "$CC"; then
3143 ac_cv_prog_CC="$CC" # Let the user override the test.
3144else
3145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146for as_dir in $PATH
3147do
3148 IFS=$as_save_IFS
3149 test -z "$as_dir" && as_dir=.
3150 for ac_exec_ext in '' $ac_executable_extensions; do
3151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3152 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3153 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3154 break 2
3155 fi
3156done
3157done
3158IFS=$as_save_IFS
3159
3160fi
3161fi
3162CC=$ac_cv_prog_CC
3163if test -n "$CC"; then
3164 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3165$as_echo "$CC" >&6; }
3166else
3167 { $as_echo "$as_me:$LINENO: result: no" >&5
3168$as_echo "no" >&6; }
3169fi
3170
3171
3172fi
3173if test -z "$ac_cv_prog_CC"; then
3174 ac_ct_CC=$CC
3175 # Extract the first word of "gcc", so it can be a program name with args.
3176set dummy gcc; ac_word=$2
3177{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3178$as_echo_n "checking for $ac_word... " >&6; }
3179if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3180 $as_echo_n "(cached) " >&6
3181else
3182 if test -n "$ac_ct_CC"; then
3183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3184else
3185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186for as_dir in $PATH
3187do
3188 IFS=$as_save_IFS
3189 test -z "$as_dir" && as_dir=.
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3192 ac_cv_prog_ac_ct_CC="gcc"
3193 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3194 break 2
3195 fi
3196done
3197done
3198IFS=$as_save_IFS
3199
3200fi
3201fi
3202ac_ct_CC=$ac_cv_prog_ac_ct_CC
3203if test -n "$ac_ct_CC"; then
3204 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3205$as_echo "$ac_ct_CC" >&6; }
3206else
3207 { $as_echo "$as_me:$LINENO: result: no" >&5
3208$as_echo "no" >&6; }
3209fi
3210
3211 if test "x$ac_ct_CC" = x; then
3212 CC=""
3213 else
3214 case $cross_compiling:$ac_tool_warned in
3215yes:)
3216{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3217$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3218ac_tool_warned=yes ;;
3219esac
3220 CC=$ac_ct_CC
3221 fi
3222else
3223 CC="$ac_cv_prog_CC"
3224fi
3225
3226if test -z "$CC"; then
3227 if test -n "$ac_tool_prefix"; then
3228 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3229set dummy ${ac_tool_prefix}cc; ac_word=$2
3230{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3231$as_echo_n "checking for $ac_word... " >&6; }
3232if test "${ac_cv_prog_CC+set}" = set; then
3233 $as_echo_n "(cached) " >&6
3234else
3235 if test -n "$CC"; then
3236 ac_cv_prog_CC="$CC" # Let the user override the test.
3237else
3238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239for as_dir in $PATH
3240do
3241 IFS=$as_save_IFS
3242 test -z "$as_dir" && as_dir=.
3243 for ac_exec_ext in '' $ac_executable_extensions; do
3244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3245 ac_cv_prog_CC="${ac_tool_prefix}cc"
3246 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3247 break 2
3248 fi
3249done
3250done
3251IFS=$as_save_IFS
3252
3253fi
3254fi
3255CC=$ac_cv_prog_CC
3256if test -n "$CC"; then
3257 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3258$as_echo "$CC" >&6; }
3259else
3260 { $as_echo "$as_me:$LINENO: result: no" >&5
3261$as_echo "no" >&6; }
3262fi
3263
3264
3265 fi
3266fi
3267if test -z "$CC"; then
3268 # Extract the first word of "cc", so it can be a program name with args.
3269set dummy cc; ac_word=$2
3270{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3271$as_echo_n "checking for $ac_word... " >&6; }
3272if test "${ac_cv_prog_CC+set}" = set; then
3273 $as_echo_n "(cached) " >&6
3274else
3275 if test -n "$CC"; then
3276 ac_cv_prog_CC="$CC" # Let the user override the test.
3277else
3278 ac_prog_rejected=no
3279as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3280for as_dir in $PATH
3281do
3282 IFS=$as_save_IFS
3283 test -z "$as_dir" && as_dir=.
3284 for ac_exec_ext in '' $ac_executable_extensions; do
3285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3286 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3287 ac_prog_rejected=yes
3288 continue
3289 fi
3290 ac_cv_prog_CC="cc"
3291 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 break 2
3293 fi
3294done
3295done
3296IFS=$as_save_IFS
3297
3298if test $ac_prog_rejected = yes; then
3299 # We found a bogon in the path, so make sure we never use it.
3300 set dummy $ac_cv_prog_CC
3301 shift
3302 if test $# != 0; then
3303 # We chose a different compiler from the bogus one.
3304 # However, it has the same basename, so the bogon will be chosen
3305 # first if we set CC to just the basename; use the full file name.
3306 shift
3307 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3308 fi
3309fi
3310fi
3311fi
3312CC=$ac_cv_prog_CC
3313if test -n "$CC"; then
3314 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3315$as_echo "$CC" >&6; }
3316else
3317 { $as_echo "$as_me:$LINENO: result: no" >&5
3318$as_echo "no" >&6; }
3319fi
3320
3321
3322fi
3323if test -z "$CC"; then
3324 if test -n "$ac_tool_prefix"; then
3325 for ac_prog in cl.exe
3326 do
3327 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3328set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3329{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3330$as_echo_n "checking for $ac_word... " >&6; }
3331if test "${ac_cv_prog_CC+set}" = set; then
3332 $as_echo_n "(cached) " >&6
3333else
3334 if test -n "$CC"; then
3335 ac_cv_prog_CC="$CC" # Let the user override the test.
3336else
3337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338for as_dir in $PATH
3339do
3340 IFS=$as_save_IFS
3341 test -z "$as_dir" && as_dir=.
3342 for ac_exec_ext in '' $ac_executable_extensions; do
3343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3344 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3345 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3346 break 2
3347 fi
3348done
3349done
3350IFS=$as_save_IFS
3351
3352fi
3353fi
3354CC=$ac_cv_prog_CC
3355if test -n "$CC"; then
3356 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3357$as_echo "$CC" >&6; }
3358else
3359 { $as_echo "$as_me:$LINENO: result: no" >&5
3360$as_echo "no" >&6; }
3361fi
3362
3363
3364 test -n "$CC" && break
3365 done
3366fi
3367if test -z "$CC"; then
3368 ac_ct_CC=$CC
3369 for ac_prog in cl.exe
3370do
3371 # Extract the first word of "$ac_prog", so it can be a program name with args.
3372set dummy $ac_prog; ac_word=$2
3373{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3374$as_echo_n "checking for $ac_word... " >&6; }
3375if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3376 $as_echo_n "(cached) " >&6
3377else
3378 if test -n "$ac_ct_CC"; then
3379 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3380else
3381as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3382for as_dir in $PATH
3383do
3384 IFS=$as_save_IFS
3385 test -z "$as_dir" && as_dir=.
3386 for ac_exec_ext in '' $ac_executable_extensions; do
3387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3388 ac_cv_prog_ac_ct_CC="$ac_prog"
3389 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 break 2
3391 fi
3392done
3393done
3394IFS=$as_save_IFS
3395
3396fi
3397fi
3398ac_ct_CC=$ac_cv_prog_ac_ct_CC
3399if test -n "$ac_ct_CC"; then
3400 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3401$as_echo "$ac_ct_CC" >&6; }
3402else
3403 { $as_echo "$as_me:$LINENO: result: no" >&5
3404$as_echo "no" >&6; }
3405fi
3406
3407
3408 test -n "$ac_ct_CC" && break
3409done
3410
3411 if test "x$ac_ct_CC" = x; then
3412 CC=""
3413 else
3414 case $cross_compiling:$ac_tool_warned in
3415yes:)
3416{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3417$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3418ac_tool_warned=yes ;;
3419esac
3420 CC=$ac_ct_CC
3421 fi
3422fi
3423
3424fi
3425
3426
3427test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3428$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3429{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3430See \`config.log' for more details." >&5
3431$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3432See \`config.log' for more details." >&2;}
3433 { (exit 1); exit 1; }; }; }
3434
3435# Provide some information about the compiler.
3436$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3437set X $ac_compile
3438ac_compiler=$2
3439{ (ac_try="$ac_compiler --version >&5"
3440case "(($ac_try" in
3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3443esac
3444eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3445$as_echo "$ac_try_echo") >&5
3446 (eval "$ac_compiler --version >&5") 2>&5
3447 ac_status=$?
3448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); }
3450{ (ac_try="$ac_compiler -v >&5"
3451case "(($ac_try" in
3452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3453 *) ac_try_echo=$ac_try;;
3454esac
3455eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3456$as_echo "$ac_try_echo") >&5
3457 (eval "$ac_compiler -v >&5") 2>&5
3458 ac_status=$?
3459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460 (exit $ac_status); }
3461{ (ac_try="$ac_compiler -V >&5"
3462case "(($ac_try" in
3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464 *) ac_try_echo=$ac_try;;
3465esac
3466eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3467$as_echo "$ac_try_echo") >&5
3468 (eval "$ac_compiler -V >&5") 2>&5
3469 ac_status=$?
3470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); }
3472
3473{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3474$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3475if test "${ac_cv_c_compiler_gnu+set}" = set; then
3476 $as_echo_n "(cached) " >&6
3477else
3478 cat >conftest.$ac_ext <<_ACEOF
3479/* confdefs.h. */
3480_ACEOF
3481cat confdefs.h >>conftest.$ac_ext
3482cat >>conftest.$ac_ext <<_ACEOF
3483/* end confdefs.h. */
3484
3485int
3486main ()
3487{
3488#ifndef __GNUC__
3489 choke me
3490#endif
3491
3492 ;
3493 return 0;
3494}
3495_ACEOF
3496rm -f conftest.$ac_objext
3497if { (ac_try="$ac_compile"
3498case "(($ac_try" in
3499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3500 *) ac_try_echo=$ac_try;;
3501esac
3502eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3503$as_echo "$ac_try_echo") >&5
3504 (eval "$ac_compile") 2>conftest.er1
3505 ac_status=$?
3506 grep -v '^ *+' conftest.er1 >conftest.err
3507 rm -f conftest.er1
3508 cat conftest.err >&5
3509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510 (exit $ac_status); } && {
3511 test -z "$ac_c_werror_flag" ||
3512 test ! -s conftest.err
3513 } && test -s conftest.$ac_objext; then
3514 ac_compiler_gnu=yes
3515else
3516 $as_echo "$as_me: failed program was:" >&5
3517sed 's/^/| /' conftest.$ac_ext >&5
3518
3519 ac_compiler_gnu=no
3520fi
3521
3522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523ac_cv_c_compiler_gnu=$ac_compiler_gnu
3524
3525fi
3526{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3527$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3528if test $ac_compiler_gnu = yes; then
3529 GCC=yes
3530else
3531 GCC=
3532fi
3533ac_test_CFLAGS=${CFLAGS+set}
3534ac_save_CFLAGS=$CFLAGS
3535{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3536$as_echo_n "checking whether $CC accepts -g... " >&6; }
3537if test "${ac_cv_prog_cc_g+set}" = set; then
3538 $as_echo_n "(cached) " >&6
3539else
3540 ac_save_c_werror_flag=$ac_c_werror_flag
3541 ac_c_werror_flag=yes
3542 ac_cv_prog_cc_g=no
3543 CFLAGS="-g"
3544 cat >conftest.$ac_ext <<_ACEOF
3545/* confdefs.h. */
3546_ACEOF
3547cat confdefs.h >>conftest.$ac_ext
3548cat >>conftest.$ac_ext <<_ACEOF
3549/* end confdefs.h. */
3550
3551int
3552main ()
3553{
3554
3555 ;
3556 return 0;
3557}
3558_ACEOF
3559rm -f conftest.$ac_objext
3560if { (ac_try="$ac_compile"
3561case "(($ac_try" in
3562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3563 *) ac_try_echo=$ac_try;;
3564esac
3565eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3566$as_echo "$ac_try_echo") >&5
3567 (eval "$ac_compile") 2>conftest.er1
3568 ac_status=$?
3569 grep -v '^ *+' conftest.er1 >conftest.err
3570 rm -f conftest.er1
3571 cat conftest.err >&5
3572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); } && {
3574 test -z "$ac_c_werror_flag" ||
3575 test ! -s conftest.err
3576 } && test -s conftest.$ac_objext; then
3577 ac_cv_prog_cc_g=yes
3578else
3579 $as_echo "$as_me: failed program was:" >&5
3580sed 's/^/| /' conftest.$ac_ext >&5
3581
3582 CFLAGS=""
3583 cat >conftest.$ac_ext <<_ACEOF
3584/* confdefs.h. */
3585_ACEOF
3586cat confdefs.h >>conftest.$ac_ext
3587cat >>conftest.$ac_ext <<_ACEOF
3588/* end confdefs.h. */
3589
3590int
3591main ()
3592{
3593
3594 ;
3595 return 0;
3596}
3597_ACEOF
3598rm -f conftest.$ac_objext
3599if { (ac_try="$ac_compile"
3600case "(($ac_try" in
3601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3603esac
3604eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3605$as_echo "$ac_try_echo") >&5
3606 (eval "$ac_compile") 2>conftest.er1
3607 ac_status=$?
3608 grep -v '^ *+' conftest.er1 >conftest.err
3609 rm -f conftest.er1
3610 cat conftest.err >&5
3611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); } && {
3613 test -z "$ac_c_werror_flag" ||
3614 test ! -s conftest.err
3615 } && test -s conftest.$ac_objext; then
3616 :
3617else
3618 $as_echo "$as_me: failed program was:" >&5
3619sed 's/^/| /' conftest.$ac_ext >&5
3620
3621 ac_c_werror_flag=$ac_save_c_werror_flag
3622 CFLAGS="-g"
3623 cat >conftest.$ac_ext <<_ACEOF
3624/* confdefs.h. */
3625_ACEOF
3626cat confdefs.h >>conftest.$ac_ext
3627cat >>conftest.$ac_ext <<_ACEOF
3628/* end confdefs.h. */
3629
3630int
3631main ()
3632{
3633
3634 ;
3635 return 0;
3636}
3637_ACEOF
3638rm -f conftest.$ac_objext
3639if { (ac_try="$ac_compile"
3640case "(($ac_try" in
3641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642 *) ac_try_echo=$ac_try;;
3643esac
3644eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3645$as_echo "$ac_try_echo") >&5
3646 (eval "$ac_compile") 2>conftest.er1
3647 ac_status=$?
3648 grep -v '^ *+' conftest.er1 >conftest.err
3649 rm -f conftest.er1
3650 cat conftest.err >&5
3651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); } && {
3653 test -z "$ac_c_werror_flag" ||
3654 test ! -s conftest.err
3655 } && test -s conftest.$ac_objext; then
3656 ac_cv_prog_cc_g=yes
3657else
3658 $as_echo "$as_me: failed program was:" >&5
3659sed 's/^/| /' conftest.$ac_ext >&5
3660
3661
3662fi
3663
3664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665fi
3666
3667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3668fi
3669
3670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3671 ac_c_werror_flag=$ac_save_c_werror_flag
3672fi
3673{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3674$as_echo "$ac_cv_prog_cc_g" >&6; }
3675if test "$ac_test_CFLAGS" = set; then
3676 CFLAGS=$ac_save_CFLAGS
3677elif test $ac_cv_prog_cc_g = yes; then
3678 if test "$GCC" = yes; then
3679 CFLAGS="-g -O2"
3680 else
3681 CFLAGS="-g"
3682 fi
3683else
3684 if test "$GCC" = yes; then
3685 CFLAGS="-O2"
3686 else
3687 CFLAGS=
3688 fi
3689fi
3690{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3691$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3692if test "${ac_cv_prog_cc_c89+set}" = set; then
3693 $as_echo_n "(cached) " >&6
3694else
3695 ac_cv_prog_cc_c89=no
3696ac_save_CC=$CC
3697cat >conftest.$ac_ext <<_ACEOF
3698/* confdefs.h. */
3699_ACEOF
3700cat confdefs.h >>conftest.$ac_ext
3701cat >>conftest.$ac_ext <<_ACEOF
3702/* end confdefs.h. */
3703#include <stdarg.h>
3704#include <stdio.h>
3705#include <sys/types.h>
3706#include <sys/stat.h>
3707/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3708struct buf { int x; };
3709FILE * (*rcsopen) (struct buf *, struct stat *, int);
3710static char *e (p, i)
3711 char **p;
3712 int i;
3713{
3714 return p[i];
3715}
3716static char *f (char * (*g) (char **, int), char **p, ...)
3717{
3718 char *s;
3719 va_list v;
3720 va_start (v,p);
3721 s = g (p, va_arg (v,int));
3722 va_end (v);
3723 return s;
3724}
3725
3726/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3727 function prototypes and stuff, but not '\xHH' hex character constants.
3728 These don't provoke an error unfortunately, instead are silently treated
3729 as 'x'. The following induces an error, until -std is added to get
3730 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3731 array size at least. It's necessary to write '\x00'==0 to get something
3732 that's true only with -std. */
3733int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3734
3735/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3736 inside strings and character constants. */
3737#define FOO(x) 'x'
3738int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3739
3740int test (int i, double x);
3741struct s1 {int (*f) (int a);};
3742struct s2 {int (*f) (double a);};
3743int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3744int argc;
3745char **argv;
3746int
3747main ()
3748{
3749return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3750 ;
3751 return 0;
3752}
3753_ACEOF
3754for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3755 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3756do
3757 CC="$ac_save_CC $ac_arg"
3758 rm -f conftest.$ac_objext
3759if { (ac_try="$ac_compile"
3760case "(($ac_try" in
3761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762 *) ac_try_echo=$ac_try;;
3763esac
3764eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3765$as_echo "$ac_try_echo") >&5
3766 (eval "$ac_compile") 2>conftest.er1
3767 ac_status=$?
3768 grep -v '^ *+' conftest.er1 >conftest.err
3769 rm -f conftest.er1
3770 cat conftest.err >&5
3771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); } && {
3773 test -z "$ac_c_werror_flag" ||
3774 test ! -s conftest.err
3775 } && test -s conftest.$ac_objext; then
3776 ac_cv_prog_cc_c89=$ac_arg
3777else
3778 $as_echo "$as_me: failed program was:" >&5
3779sed 's/^/| /' conftest.$ac_ext >&5
3780
3781
3782fi
3783
3784rm -f core conftest.err conftest.$ac_objext
3785 test "x$ac_cv_prog_cc_c89" != "xno" && break
3786done
3787rm -f conftest.$ac_ext
3788CC=$ac_save_CC
3789
3790fi
3791# AC_CACHE_VAL
3792case "x$ac_cv_prog_cc_c89" in
3793 x)
3794 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3795$as_echo "none needed" >&6; } ;;
3796 xno)
3797 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3798$as_echo "unsupported" >&6; } ;;
3799 *)
3800 CC="$CC $ac_cv_prog_cc_c89"
3801 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3802$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3803esac
3804
3805
3806ac_ext=c
3807ac_cpp='$CPP $CPPFLAGS'
3808ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3809ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3810ac_compiler_gnu=$ac_cv_c_compiler_gnu
3811
3812depcc="$CC" am_compiler_list=
3813
3814{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3815$as_echo_n "checking dependency style of $depcc... " >&6; }
3816if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3817 $as_echo_n "(cached) " >&6
3818else
3819 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3820 # We make a subdir and do the tests there. Otherwise we can end up
3821 # making bogus files that we don't know about and never remove. For
3822 # instance it was reported that on HP-UX the gcc test will end up
3823 # making a dummy file named `D' -- because `-MD' means `put the output
3824 # in D'.
3825 mkdir conftest.dir
3826 # Copy depcomp to subdir because otherwise we won't find it if we're
3827 # using a relative directory.
3828 cp "$am_depcomp" conftest.dir
3829 cd conftest.dir
3830 # We will build objects and dependencies in a subdirectory because
3831 # it helps to detect inapplicable dependency modes. For instance
3832 # both Tru64's cc and ICC support -MD to output dependencies as a
3833 # side effect of compilation, but ICC will put the dependencies in
3834 # the current directory while Tru64 will put them in the object
3835 # directory.
3836 mkdir sub
3837
3838 am_cv_CC_dependencies_compiler_type=none
3839 if test "$am_compiler_list" = ""; then
3840 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3841 fi
3842 for depmode in $am_compiler_list; do
3843 # Setup a source with many dependencies, because some compilers
3844 # like to wrap large dependency lists on column 80 (with \), and
3845 # we should not choose a depcomp mode which is confused by this.
3846 #
3847 # We need to recreate these files for each test, as the compiler may
3848 # overwrite some of them when testing with obscure command lines.
3849 # This happens at least with the AIX C compiler.
3850 : > sub/conftest.c
3851 for i in 1 2 3 4 5 6; do
3852 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3853 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3854 # Solaris 8's {/usr,}/bin/sh.
3855 touch sub/conftst$i.h
3856 done
3857 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3858
3859 case $depmode in
3860 nosideeffect)
3861 # after this tag, mechanisms are not by side-effect, so they'll
3862 # only be used when explicitly requested
3863 if test "x$enable_dependency_tracking" = xyes; then
3864 continue
3865 else
3866 break
3867 fi
3868 ;;
3869 none) break ;;
3870 esac
3871 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3872 # mode. It turns out that the SunPro C++ compiler does not properly
3873 # handle `-M -o', and we need to detect this.
3874 if depmode=$depmode \
3875 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3876 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3877 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3878 >/dev/null 2>conftest.err &&
3879 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3880 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3881 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3882 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3883 # icc doesn't choke on unknown options, it will just issue warnings
3884 # or remarks (even with -Werror). So we grep stderr for any message
3885 # that says an option was ignored or not supported.
3886 # When given -MP, icc 7.0 and 7.1 complain thusly:
3887 # icc: Command line warning: ignoring option '-M'; no argument required
3888 # The diagnosis changed in icc 8.0:
3889 # icc: Command line remark: option '-MP' not supported
3890 if (grep 'ignoring option' conftest.err ||
3891 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3892 am_cv_CC_dependencies_compiler_type=$depmode
3893 break
3894 fi
3895 fi
3896 done
3897
3898 cd ..
3899 rm -rf conftest.dir
3900else
3901 am_cv_CC_dependencies_compiler_type=none
3902fi
3903
3904fi
3905{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3906$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3907CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3908
3909 if
3910 test "x$enable_dependency_tracking" != xno \
3911 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3912 am__fastdepCC_TRUE=
3913 am__fastdepCC_FALSE='#'
3914else
3915 am__fastdepCC_TRUE='#'
3916 am__fastdepCC_FALSE=
3917fi
3918
3919
3920
3921# Checks for libraries.
3922
3923
3924if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3925 if test -n "$ac_tool_prefix"; then
3926 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3927set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3928{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3929$as_echo_n "checking for $ac_word... " >&6; }
3930if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3931 $as_echo_n "(cached) " >&6
3932else
3933 case $PKG_CONFIG in
3934 [\\/]* | ?:[\\/]*)
3935 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3936 ;;
3937 *)
3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939for as_dir in $PATH
3940do
3941 IFS=$as_save_IFS
3942 test -z "$as_dir" && as_dir=.
3943 for ac_exec_ext in '' $ac_executable_extensions; do
3944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3945 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3946 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3947 break 2
3948 fi
3949done
3950done
3951IFS=$as_save_IFS
3952
3953 ;;
3954esac
3955fi
3956PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3957if test -n "$PKG_CONFIG"; then
3958 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3959$as_echo "$PKG_CONFIG" >&6; }
3960else
3961 { $as_echo "$as_me:$LINENO: result: no" >&5
3962$as_echo "no" >&6; }
3963fi
3964
3965
3966fi
3967if test -z "$ac_cv_path_PKG_CONFIG"; then
3968 ac_pt_PKG_CONFIG=$PKG_CONFIG
3969 # Extract the first word of "pkg-config", so it can be a program name with args.
3970set dummy pkg-config; ac_word=$2
3971{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3972$as_echo_n "checking for $ac_word... " >&6; }
3973if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3974 $as_echo_n "(cached) " >&6
3975else
3976 case $ac_pt_PKG_CONFIG in
3977 [\\/]* | ?:[\\/]*)
3978 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3979 ;;
3980 *)
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982for as_dir in $PATH
3983do
3984 IFS=$as_save_IFS
3985 test -z "$as_dir" && as_dir=.
3986 for ac_exec_ext in '' $ac_executable_extensions; do
3987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3988 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3989 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 break 2
3991 fi
3992done
3993done
3994IFS=$as_save_IFS
3995
3996 ;;
3997esac
3998fi
3999ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4000if test -n "$ac_pt_PKG_CONFIG"; then
4001 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4002$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4003else
4004 { $as_echo "$as_me:$LINENO: result: no" >&5
4005$as_echo "no" >&6; }
4006fi
4007
4008 if test "x$ac_pt_PKG_CONFIG" = x; then
4009 PKG_CONFIG=""
4010 else
4011 case $cross_compiling:$ac_tool_warned in
4012yes:)
4013{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4014$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4015ac_tool_warned=yes ;;
4016esac
4017 PKG_CONFIG=$ac_pt_PKG_CONFIG
4018 fi
4019else
4020 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4021fi
4022
4023fi
4024if test -n "$PKG_CONFIG"; then
4025 _pkg_min_version=0.9.0
4026 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4027$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4028 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4029 { $as_echo "$as_me:$LINENO: result: yes" >&5
4030$as_echo "yes" >&6; }
4031 else
4032 { $as_echo "$as_me:$LINENO: result: no" >&5
4033$as_echo "no" >&6; }
4034 PKG_CONFIG=""
4035 fi
4036
4037fi
4038
4039pkg_failed=no
4040{ $as_echo "$as_me:$LINENO: checking for SDL" >&5
4041$as_echo_n "checking for SDL... " >&6; }
4042
4043if test -n "$PKG_CONFIG"; then
4044 if test -n "$SDL_CFLAGS"; then
4045 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
4046 else
4047 if test -n "$PKG_CONFIG" && \
4048 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2\"") >&5
4049 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2") 2>&5
4050 ac_status=$?
4051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); }; then
4053 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2" 2>/dev/null`
4054else
4055 pkg_failed=yes
4056fi
4057 fi
4058else
4059 pkg_failed=untried
4060fi
4061if test -n "$PKG_CONFIG"; then
4062 if test -n "$SDL_LIBS"; then
4063 pkg_cv_SDL_LIBS="$SDL_LIBS"
4064 else
4065 if test -n "$PKG_CONFIG" && \
4066 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2\"") >&5
4067 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2") 2>&5
4068 ac_status=$?
4069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 (exit $ac_status); }; then
4071 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2" 2>/dev/null`
4072else
4073 pkg_failed=yes
4074fi
4075 fi
4076else
4077 pkg_failed=untried
4078fi
4079
4080
4081
4082if test $pkg_failed = yes; then
4083
4084if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4085 _pkg_short_errors_supported=yes
4086else
4087 _pkg_short_errors_supported=no
4088fi
4089 if test $_pkg_short_errors_supported = yes; then
4090 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sdl >= 1.2"`
4091 else
4092 SDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sdl >= 1.2"`
4093 fi
4094 # Put the nasty error message in config.log where it belongs
4095 echo "$SDL_PKG_ERRORS" >&5
4096
4097 { { $as_echo "$as_me:$LINENO: error: Package requirements (sdl >= 1.2) were not met:
4098
4099$SDL_PKG_ERRORS
4100
4101Consider adjusting the PKG_CONFIG_PATH environment variable if you
4102installed software in a non-standard prefix.
4103
4104Alternatively, you may set the environment variables SDL_CFLAGS
4105and SDL_LIBS to avoid the need to call pkg-config.
4106See the pkg-config man page for more details.
4107" >&5
4108$as_echo "$as_me: error: Package requirements (sdl >= 1.2) were not met:
4109
4110$SDL_PKG_ERRORS
4111
4112Consider adjusting the PKG_CONFIG_PATH environment variable if you
4113installed software in a non-standard prefix.
4114
4115Alternatively, you may set the environment variables SDL_CFLAGS
4116and SDL_LIBS to avoid the need to call pkg-config.
4117See the pkg-config man page for more details.
4118" >&2;}
4119 { (exit 1); exit 1; }; }
4120elif test $pkg_failed = untried; then
4121 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4122$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4123{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4124is in your PATH or set the PKG_CONFIG environment variable to the full
4125path to pkg-config.
4126
4127Alternatively, you may set the environment variables SDL_CFLAGS
4128and SDL_LIBS to avoid the need to call pkg-config.
4129See the pkg-config man page for more details.
4130
4131To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4132See \`config.log' for more details." >&5
4133$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4134is in your PATH or set the PKG_CONFIG environment variable to the full
4135path to pkg-config.
4136
4137Alternatively, you may set the environment variables SDL_CFLAGS
4138and SDL_LIBS to avoid the need to call pkg-config.
4139See the pkg-config man page for more details.
4140
4141To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4142See \`config.log' for more details." >&2;}
4143 { (exit 1); exit 1; }; }; }
4144else
4145 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
4146 SDL_LIBS=$pkg_cv_SDL_LIBS
4147 { $as_echo "$as_me:$LINENO: result: yes" >&5
4148$as_echo "yes" >&6; }
4149 :
4150fi
4151CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
4152LDFLAGS="$SDL_LIBS"
4153
4154# Checks for header files.
4155
4156# Checks for typedefs, structures, and compiler characteristics.
4157
4158ac_ext=c
4159ac_cpp='$CPP $CPPFLAGS'
4160ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4161ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4162ac_compiler_gnu=$ac_cv_c_compiler_gnu
4163{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4164$as_echo_n "checking how to run the C preprocessor... " >&6; }
4165# On Suns, sometimes $CPP names a directory.
4166if test -n "$CPP" && test -d "$CPP"; then
4167 CPP=
4168fi
4169if test -z "$CPP"; then
4170 if test "${ac_cv_prog_CPP+set}" = set; then
4171 $as_echo_n "(cached) " >&6
4172else
4173 # Double quotes because CPP needs to be expanded
4174 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4175 do
4176 ac_preproc_ok=false
4177for ac_c_preproc_warn_flag in '' yes
4178do
4179 # Use a header file that comes with gcc, so configuring glibc
4180 # with a fresh cross-compiler works.
4181 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4182 # <limits.h> exists even on freestanding compilers.
4183 # On the NeXT, cc -E runs the code through the compiler's parser,
4184 # not just through cpp. "Syntax error" is here to catch this case.
4185 cat >conftest.$ac_ext <<_ACEOF
4186/* confdefs.h. */
4187_ACEOF
4188cat confdefs.h >>conftest.$ac_ext
4189cat >>conftest.$ac_ext <<_ACEOF
4190/* end confdefs.h. */
4191#ifdef __STDC__
4192# include <limits.h>
4193#else
4194# include <assert.h>
4195#endif
4196 Syntax error
4197_ACEOF
4198if { (ac_try="$ac_cpp conftest.$ac_ext"
4199case "(($ac_try" in
4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4202esac
4203eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4204$as_echo "$ac_try_echo") >&5
4205 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4206 ac_status=$?
4207 grep -v '^ *+' conftest.er1 >conftest.err
4208 rm -f conftest.er1
4209 cat conftest.err >&5
4210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211 (exit $ac_status); } >/dev/null && {
4212 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4213 test ! -s conftest.err
4214 }; then
4215 :
4216else
4217 $as_echo "$as_me: failed program was:" >&5
4218sed 's/^/| /' conftest.$ac_ext >&5
4219
4220 # Broken: fails on valid input.
4221continue
4222fi
4223
4224rm -f conftest.err conftest.$ac_ext
4225
4226 # OK, works on sane cases. Now check whether nonexistent headers
4227 # can be detected and how.
4228 cat >conftest.$ac_ext <<_ACEOF
4229/* confdefs.h. */
4230_ACEOF
4231cat confdefs.h >>conftest.$ac_ext
4232cat >>conftest.$ac_ext <<_ACEOF
4233/* end confdefs.h. */
4234#include <ac_nonexistent.h>
4235_ACEOF
4236if { (ac_try="$ac_cpp conftest.$ac_ext"
4237case "(($ac_try" in
4238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4239 *) ac_try_echo=$ac_try;;
4240esac
4241eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4242$as_echo "$ac_try_echo") >&5
4243 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4244 ac_status=$?
4245 grep -v '^ *+' conftest.er1 >conftest.err
4246 rm -f conftest.er1
4247 cat conftest.err >&5
4248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); } >/dev/null && {
4250 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4251 test ! -s conftest.err
4252 }; then
4253 # Broken: success on invalid input.
4254continue
4255else
4256 $as_echo "$as_me: failed program was:" >&5
4257sed 's/^/| /' conftest.$ac_ext >&5
4258
4259 # Passes both tests.
4260ac_preproc_ok=:
4261break
4262fi
4263
4264rm -f conftest.err conftest.$ac_ext
4265
4266done
4267# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4268rm -f conftest.err conftest.$ac_ext
4269if $ac_preproc_ok; then
4270 break
4271fi
4272
4273 done
4274 ac_cv_prog_CPP=$CPP
4275
4276fi
4277 CPP=$ac_cv_prog_CPP
4278else
4279 ac_cv_prog_CPP=$CPP
4280fi
4281{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
4282$as_echo "$CPP" >&6; }
4283ac_preproc_ok=false
4284for ac_c_preproc_warn_flag in '' yes
4285do
4286 # Use a header file that comes with gcc, so configuring glibc
4287 # with a fresh cross-compiler works.
4288 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4289 # <limits.h> exists even on freestanding compilers.
4290 # On the NeXT, cc -E runs the code through the compiler's parser,
4291 # not just through cpp. "Syntax error" is here to catch this case.
4292 cat >conftest.$ac_ext <<_ACEOF
4293/* confdefs.h. */
4294_ACEOF
4295cat confdefs.h >>conftest.$ac_ext
4296cat >>conftest.$ac_ext <<_ACEOF
4297/* end confdefs.h. */
4298#ifdef __STDC__
4299# include <limits.h>
4300#else
4301# include <assert.h>
4302#endif
4303 Syntax error
4304_ACEOF
4305if { (ac_try="$ac_cpp conftest.$ac_ext"
4306case "(($ac_try" in
4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4309esac
4310eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4311$as_echo "$ac_try_echo") >&5
4312 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4313 ac_status=$?
4314 grep -v '^ *+' conftest.er1 >conftest.err
4315 rm -f conftest.er1
4316 cat conftest.err >&5
4317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); } >/dev/null && {
4319 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4320 test ! -s conftest.err
4321 }; then
4322 :
4323else
4324 $as_echo "$as_me: failed program was:" >&5
4325sed 's/^/| /' conftest.$ac_ext >&5
4326
4327 # Broken: fails on valid input.
4328continue
4329fi
4330
4331rm -f conftest.err conftest.$ac_ext
4332
4333 # OK, works on sane cases. Now check whether nonexistent headers
4334 # can be detected and how.
4335 cat >conftest.$ac_ext <<_ACEOF
4336/* confdefs.h. */
4337_ACEOF
4338cat confdefs.h >>conftest.$ac_ext
4339cat >>conftest.$ac_ext <<_ACEOF
4340/* end confdefs.h. */
4341#include <ac_nonexistent.h>
4342_ACEOF
4343if { (ac_try="$ac_cpp conftest.$ac_ext"
4344case "(($ac_try" in
4345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4346 *) ac_try_echo=$ac_try;;
4347esac
4348eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4349$as_echo "$ac_try_echo") >&5
4350 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4351 ac_status=$?
4352 grep -v '^ *+' conftest.er1 >conftest.err
4353 rm -f conftest.er1
4354 cat conftest.err >&5
4355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); } >/dev/null && {
4357 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4358 test ! -s conftest.err
4359 }; then
4360 # Broken: success on invalid input.
4361continue
4362else
4363 $as_echo "$as_me: failed program was:" >&5
4364sed 's/^/| /' conftest.$ac_ext >&5
4365
4366 # Passes both tests.
4367ac_preproc_ok=:
4368break
4369fi
4370
4371rm -f conftest.err conftest.$ac_ext
4372
4373done
4374# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4375rm -f conftest.err conftest.$ac_ext
4376if $ac_preproc_ok; then
4377 :
4378else
4379 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4380$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4381{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4382See \`config.log' for more details." >&5
4383$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4384See \`config.log' for more details." >&2;}
4385 { (exit 1); exit 1; }; }; }
4386fi
4387
4388ac_ext=c
4389ac_cpp='$CPP $CPPFLAGS'
4390ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4391ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4392ac_compiler_gnu=$ac_cv_c_compiler_gnu
4393
4394
4395{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4396$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4397if test "${ac_cv_path_GREP+set}" = set; then
4398 $as_echo_n "(cached) " >&6
4399else
4400 if test -z "$GREP"; then
4401 ac_path_GREP_found=false
4402 # Loop through the user's path and test for each of PROGNAME-LIST
4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4404for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4405do
4406 IFS=$as_save_IFS
4407 test -z "$as_dir" && as_dir=.
4408 for ac_prog in grep ggrep; do
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4411 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4412# Check for GNU ac_path_GREP and select it if it is found.
4413 # Check for GNU $ac_path_GREP
4414case `"$ac_path_GREP" --version 2>&1` in
4415*GNU*)
4416 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4417*)
4418 ac_count=0
4419 $as_echo_n 0123456789 >"conftest.in"
4420 while :
4421 do
4422 cat "conftest.in" "conftest.in" >"conftest.tmp"
4423 mv "conftest.tmp" "conftest.in"
4424 cp "conftest.in" "conftest.nl"
4425 $as_echo 'GREP' >> "conftest.nl"
4426 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4427 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4428 ac_count=`expr $ac_count + 1`
4429 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4430 # Best one so far, save it but keep looking for a better one
4431 ac_cv_path_GREP="$ac_path_GREP"
4432 ac_path_GREP_max=$ac_count
4433 fi
4434 # 10*(2^10) chars as input seems more than enough
4435 test $ac_count -gt 10 && break
4436 done
4437 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4438esac
4439
4440 $ac_path_GREP_found && break 3
4441 done
4442 done
4443done
4444IFS=$as_save_IFS
4445 if test -z "$ac_cv_path_GREP"; then
4446 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4447$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4448 { (exit 1); exit 1; }; }
4449 fi
4450else
4451 ac_cv_path_GREP=$GREP
4452fi
4453
4454fi
4455{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4456$as_echo "$ac_cv_path_GREP" >&6; }
4457 GREP="$ac_cv_path_GREP"
4458
4459
4460{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4461$as_echo_n "checking for egrep... " >&6; }
4462if test "${ac_cv_path_EGREP+set}" = set; then
4463 $as_echo_n "(cached) " >&6
4464else
4465 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4466 then ac_cv_path_EGREP="$GREP -E"
4467 else
4468 if test -z "$EGREP"; then
4469 ac_path_EGREP_found=false
4470 # Loop through the user's path and test for each of PROGNAME-LIST
4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4472for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4473do
4474 IFS=$as_save_IFS
4475 test -z "$as_dir" && as_dir=.
4476 for ac_prog in egrep; do
4477 for ac_exec_ext in '' $ac_executable_extensions; do
4478 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4479 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4480# Check for GNU ac_path_EGREP and select it if it is found.
4481 # Check for GNU $ac_path_EGREP
4482case `"$ac_path_EGREP" --version 2>&1` in
4483*GNU*)
4484 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4485*)
4486 ac_count=0
4487 $as_echo_n 0123456789 >"conftest.in"
4488 while :
4489 do
4490 cat "conftest.in" "conftest.in" >"conftest.tmp"
4491 mv "conftest.tmp" "conftest.in"
4492 cp "conftest.in" "conftest.nl"
4493 $as_echo 'EGREP' >> "conftest.nl"
4494 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4495 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4496 ac_count=`expr $ac_count + 1`
4497 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4498 # Best one so far, save it but keep looking for a better one
4499 ac_cv_path_EGREP="$ac_path_EGREP"
4500 ac_path_EGREP_max=$ac_count
4501 fi
4502 # 10*(2^10) chars as input seems more than enough
4503 test $ac_count -gt 10 && break
4504 done
4505 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4506esac
4507
4508 $ac_path_EGREP_found && break 3
4509 done
4510 done
4511done
4512IFS=$as_save_IFS
4513 if test -z "$ac_cv_path_EGREP"; then
4514 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4515$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4516 { (exit 1); exit 1; }; }
4517 fi
4518else
4519 ac_cv_path_EGREP=$EGREP
4520fi
4521
4522 fi
4523fi
4524{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4525$as_echo "$ac_cv_path_EGREP" >&6; }
4526 EGREP="$ac_cv_path_EGREP"
4527
4528
4529{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4530$as_echo_n "checking for ANSI C header files... " >&6; }
4531if test "${ac_cv_header_stdc+set}" = set; then
4532 $as_echo_n "(cached) " >&6
4533else
4534 cat >conftest.$ac_ext <<_ACEOF
4535/* confdefs.h. */
4536_ACEOF
4537cat confdefs.h >>conftest.$ac_ext
4538cat >>conftest.$ac_ext <<_ACEOF
4539/* end confdefs.h. */
4540#include <stdlib.h>
4541#include <stdarg.h>
4542#include <string.h>
4543#include <float.h>
4544
4545int
4546main ()
4547{
4548
4549 ;
4550 return 0;
4551}
4552_ACEOF
4553rm -f conftest.$ac_objext
4554if { (ac_try="$ac_compile"
4555case "(($ac_try" in
4556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4557 *) ac_try_echo=$ac_try;;
4558esac
4559eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4560$as_echo "$ac_try_echo") >&5
4561 (eval "$ac_compile") 2>conftest.er1
4562 ac_status=$?
4563 grep -v '^ *+' conftest.er1 >conftest.err
4564 rm -f conftest.er1
4565 cat conftest.err >&5
4566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); } && {
4568 test -z "$ac_c_werror_flag" ||
4569 test ! -s conftest.err
4570 } && test -s conftest.$ac_objext; then
4571 ac_cv_header_stdc=yes
4572else
4573 $as_echo "$as_me: failed program was:" >&5
4574sed 's/^/| /' conftest.$ac_ext >&5
4575
4576 ac_cv_header_stdc=no
4577fi
4578
4579rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4580
4581if test $ac_cv_header_stdc = yes; then
4582 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4583 cat >conftest.$ac_ext <<_ACEOF
4584/* confdefs.h. */
4585_ACEOF
4586cat confdefs.h >>conftest.$ac_ext
4587cat >>conftest.$ac_ext <<_ACEOF
4588/* end confdefs.h. */
4589#include <string.h>
4590
4591_ACEOF
4592if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4593 $EGREP "memchr" >/dev/null 2>&1; then
4594 :
4595else
4596 ac_cv_header_stdc=no
4597fi
4598rm -f conftest*
4599
4600fi
4601
4602if test $ac_cv_header_stdc = yes; then
4603 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4604 cat >conftest.$ac_ext <<_ACEOF
4605/* confdefs.h. */
4606_ACEOF
4607cat confdefs.h >>conftest.$ac_ext
4608cat >>conftest.$ac_ext <<_ACEOF
4609/* end confdefs.h. */
4610#include <stdlib.h>
4611
4612_ACEOF
4613if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4614 $EGREP "free" >/dev/null 2>&1; then
4615 :
4616else
4617 ac_cv_header_stdc=no
4618fi
4619rm -f conftest*
4620
4621fi
4622
4623if test $ac_cv_header_stdc = yes; then
4624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4625 if test "$cross_compiling" = yes; then
4626 :
4627else
4628 cat >conftest.$ac_ext <<_ACEOF
4629/* confdefs.h. */
4630_ACEOF
4631cat confdefs.h >>conftest.$ac_ext
4632cat >>conftest.$ac_ext <<_ACEOF
4633/* end confdefs.h. */
4634#include <ctype.h>
4635#include <stdlib.h>
4636#if ((' ' & 0x0FF) == 0x020)
4637# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4638# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4639#else
4640# define ISLOWER(c) \
4641 (('a' <= (c) && (c) <= 'i') \
4642 || ('j' <= (c) && (c) <= 'r') \
4643 || ('s' <= (c) && (c) <= 'z'))
4644# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4645#endif
4646
4647#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4648int
4649main ()
4650{
4651 int i;
4652 for (i = 0; i < 256; i++)
4653 if (XOR (islower (i), ISLOWER (i))
4654 || toupper (i) != TOUPPER (i))
4655 return 2;
4656 return 0;
4657}
4658_ACEOF
4659rm -f conftest$ac_exeext
4660if { (ac_try="$ac_link"
4661case "(($ac_try" in
4662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663 *) ac_try_echo=$ac_try;;
4664esac
4665eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4666$as_echo "$ac_try_echo") >&5
4667 (eval "$ac_link") 2>&5
4668 ac_status=$?
4669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4671 { (case "(($ac_try" in
4672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4673 *) ac_try_echo=$ac_try;;
4674esac
4675eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4676$as_echo "$ac_try_echo") >&5
4677 (eval "$ac_try") 2>&5
4678 ac_status=$?
4679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); }; }; then
4681 :
4682else
4683 $as_echo "$as_me: program exited with status $ac_status" >&5
4684$as_echo "$as_me: failed program was:" >&5
4685sed 's/^/| /' conftest.$ac_ext >&5
4686
4687( exit $ac_status )
4688ac_cv_header_stdc=no
4689fi
4690rm -rf conftest.dSYM
4691rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4692fi
4693
4694
4695fi
4696fi
4697{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4698$as_echo "$ac_cv_header_stdc" >&6; }
4699if test $ac_cv_header_stdc = yes; then
4700
4701cat >>confdefs.h <<\_ACEOF
4702#define STDC_HEADERS 1
4703_ACEOF
4704
4705fi
4706
4707# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4718 inttypes.h stdint.h unistd.h
4719do
4720as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4721{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4722$as_echo_n "checking for $ac_header... " >&6; }
4723if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4724 $as_echo_n "(cached) " >&6
4725else
4726 cat >conftest.$ac_ext <<_ACEOF
4727/* confdefs.h. */
4728_ACEOF
4729cat confdefs.h >>conftest.$ac_ext
4730cat >>conftest.$ac_ext <<_ACEOF
4731/* end confdefs.h. */
4732$ac_includes_default
4733
4734#include <$ac_header>
4735_ACEOF
4736rm -f conftest.$ac_objext
4737if { (ac_try="$ac_compile"
4738case "(($ac_try" in
4739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4740 *) ac_try_echo=$ac_try;;
4741esac
4742eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4743$as_echo "$ac_try_echo") >&5
4744 (eval "$ac_compile") 2>conftest.er1
4745 ac_status=$?
4746 grep -v '^ *+' conftest.er1 >conftest.err
4747 rm -f conftest.er1
4748 cat conftest.err >&5
4749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); } && {
4751 test -z "$ac_c_werror_flag" ||
4752 test ! -s conftest.err
4753 } && test -s conftest.$ac_objext; then
4754 eval "$as_ac_Header=yes"
4755else
4756 $as_echo "$as_me: failed program was:" >&5
4757sed 's/^/| /' conftest.$ac_ext >&5
4758
4759 eval "$as_ac_Header=no"
4760fi
4761
4762rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4763fi
4764ac_res=`eval 'as_val=${'$as_ac_Header'}
4765 $as_echo "$as_val"'`
4766 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4767$as_echo "$ac_res" >&6; }
4768as_val=`eval 'as_val=${'$as_ac_Header'}
4769 $as_echo "$as_val"'`
4770 if test "x$as_val" = x""yes; then
4771 cat >>confdefs.h <<_ACEOF
4772#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4773_ACEOF
4774
4775fi
4776
4777done
4778
4779
4780{ $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4781$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4782if test "${ac_cv_header_stdbool_h+set}" = set; then
4783 $as_echo_n "(cached) " >&6
4784else
4785 cat >conftest.$ac_ext <<_ACEOF
4786/* confdefs.h. */
4787_ACEOF
4788cat confdefs.h >>conftest.$ac_ext
4789cat >>conftest.$ac_ext <<_ACEOF
4790/* end confdefs.h. */
4791
4792#include <stdbool.h>
4793#ifndef bool
4794 "error: bool is not defined"
4795#endif
4796#ifndef false
4797 "error: false is not defined"
4798#endif
4799#if false
4800 "error: false is not 0"
4801#endif
4802#ifndef true
4803 "error: true is not defined"
4804#endif
4805#if true != 1
4806 "error: true is not 1"
4807#endif
4808#ifndef __bool_true_false_are_defined
4809 "error: __bool_true_false_are_defined is not defined"
4810#endif
4811
4812 struct s { _Bool s: 1; _Bool t; } s;
4813
4814 char a[true == 1 ? 1 : -1];
4815 char b[false == 0 ? 1 : -1];
4816 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4817 char d[(bool) 0.5 == true ? 1 : -1];
4818 bool e = &s;
4819 char f[(_Bool) 0.0 == false ? 1 : -1];
4820 char g[true];
4821 char h[sizeof (_Bool)];
4822 char i[sizeof s.t];
4823 enum { j = false, k = true, l = false * true, m = true * 256 };
4824 /* The following fails for
4825 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4826 _Bool n[m];
4827 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4828 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4829# if defined __xlc__ || defined __GNUC__
4830 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4831 reported by James Lemley on 2005-10-05; see
4832 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4833 This test is not quite right, since xlc is allowed to
4834 reject this program, as the initializer for xlcbug is
4835 not one of the forms that C requires support for.
4836 However, doing the test right would require a runtime
4837 test, and that would make cross-compilation harder.
4838 Let us hope that IBM fixes the xlc bug, and also adds
4839 support for this kind of constant expression. In the
4840 meantime, this test will reject xlc, which is OK, since
4841 our stdbool.h substitute should suffice. We also test
4842 this with GCC, where it should work, to detect more
4843 quickly whether someone messes up the test in the
4844 future. */
4845 char digs[] = "0123456789";
4846 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4847# endif
4848 /* Catch a bug in an HP-UX C compiler. See
4849 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4850 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4851 */
4852 _Bool q = true;
4853 _Bool *pq = &q;
4854
4855int
4856main ()
4857{
4858
4859 *pq |= q;
4860 *pq |= ! q;
4861 /* Refer to every declared value, to avoid compiler optimizations. */
4862 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4863 + !m + !n + !o + !p + !q + !pq);
4864
4865 ;
4866 return 0;
4867}
4868_ACEOF
4869rm -f conftest.$ac_objext
4870if { (ac_try="$ac_compile"
4871case "(($ac_try" in
4872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4873 *) ac_try_echo=$ac_try;;
4874esac
4875eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4876$as_echo "$ac_try_echo") >&5
4877 (eval "$ac_compile") 2>conftest.er1
4878 ac_status=$?
4879 grep -v '^ *+' conftest.er1 >conftest.err
4880 rm -f conftest.er1
4881 cat conftest.err >&5
4882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); } && {
4884 test -z "$ac_c_werror_flag" ||
4885 test ! -s conftest.err
4886 } && test -s conftest.$ac_objext; then
4887 ac_cv_header_stdbool_h=yes
4888else
4889 $as_echo "$as_me: failed program was:" >&5
4890sed 's/^/| /' conftest.$ac_ext >&5
4891
4892 ac_cv_header_stdbool_h=no
4893fi
4894
4895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4896fi
4897{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4898$as_echo "$ac_cv_header_stdbool_h" >&6; }
4899{ $as_echo "$as_me:$LINENO: checking for _Bool" >&5
4900$as_echo_n "checking for _Bool... " >&6; }
4901if test "${ac_cv_type__Bool+set}" = set; then
4902 $as_echo_n "(cached) " >&6
4903else
4904 ac_cv_type__Bool=no
4905cat >conftest.$ac_ext <<_ACEOF
4906/* confdefs.h. */
4907_ACEOF
4908cat confdefs.h >>conftest.$ac_ext
4909cat >>conftest.$ac_ext <<_ACEOF
4910/* end confdefs.h. */
4911$ac_includes_default
4912int
4913main ()
4914{
4915if (sizeof (_Bool))
4916 return 0;
4917 ;
4918 return 0;
4919}
4920_ACEOF
4921rm -f conftest.$ac_objext
4922if { (ac_try="$ac_compile"
4923case "(($ac_try" in
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4926esac
4927eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4928$as_echo "$ac_try_echo") >&5
4929 (eval "$ac_compile") 2>conftest.er1
4930 ac_status=$?
4931 grep -v '^ *+' conftest.er1 >conftest.err
4932 rm -f conftest.er1
4933 cat conftest.err >&5
4934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } && {
4936 test -z "$ac_c_werror_flag" ||
4937 test ! -s conftest.err
4938 } && test -s conftest.$ac_objext; then
4939 cat >conftest.$ac_ext <<_ACEOF
4940/* confdefs.h. */
4941_ACEOF
4942cat confdefs.h >>conftest.$ac_ext
4943cat >>conftest.$ac_ext <<_ACEOF
4944/* end confdefs.h. */
4945$ac_includes_default
4946int
4947main ()
4948{
4949if (sizeof ((_Bool)))
4950 return 0;
4951 ;
4952 return 0;
4953}
4954_ACEOF
4955rm -f conftest.$ac_objext
4956if { (ac_try="$ac_compile"
4957case "(($ac_try" in
4958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4959 *) ac_try_echo=$ac_try;;
4960esac
4961eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4962$as_echo "$ac_try_echo") >&5
4963 (eval "$ac_compile") 2>conftest.er1
4964 ac_status=$?
4965 grep -v '^ *+' conftest.er1 >conftest.err
4966 rm -f conftest.er1
4967 cat conftest.err >&5
4968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } && {
4970 test -z "$ac_c_werror_flag" ||
4971 test ! -s conftest.err
4972 } && test -s conftest.$ac_objext; then
4973 :
4974else
4975 $as_echo "$as_me: failed program was:" >&5
4976sed 's/^/| /' conftest.$ac_ext >&5
4977
4978 ac_cv_type__Bool=yes
4979fi
4980
4981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4982else
4983 $as_echo "$as_me: failed program was:" >&5
4984sed 's/^/| /' conftest.$ac_ext >&5
4985
4986
4987fi
4988
4989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4990fi
4991{ $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
4992$as_echo "$ac_cv_type__Bool" >&6; }
4993if test "x$ac_cv_type__Bool" = x""yes; then
4994
4995cat >>confdefs.h <<_ACEOF
4996#define HAVE__BOOL 1
4997_ACEOF
4998
4999
5000fi
5001
5002if test $ac_cv_header_stdbool_h = yes; then
5003
5004cat >>confdefs.h <<\_ACEOF
5005#define HAVE_STDBOOL_H 1
5006_ACEOF
5007
5008fi
5009
5010
5011# Checks for library functions.
5012
5013for ac_func in atexit
5014do
5015as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5016{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5017$as_echo_n "checking for $ac_func... " >&6; }
5018if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5019 $as_echo_n "(cached) " >&6
5020else
5021 cat >conftest.$ac_ext <<_ACEOF
5022/* confdefs.h. */
5023_ACEOF
5024cat confdefs.h >>conftest.$ac_ext
5025cat >>conftest.$ac_ext <<_ACEOF
5026/* end confdefs.h. */
5027/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5029#define $ac_func innocuous_$ac_func
5030
5031/* System header to define __stub macros and hopefully few prototypes,
5032 which can conflict with char $ac_func (); below.
5033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5034 <limits.h> exists even on freestanding compilers. */
5035
5036#ifdef __STDC__
5037# include <limits.h>
5038#else
5039# include <assert.h>
5040#endif
5041
5042#undef $ac_func
5043
5044/* Override any GCC internal prototype to avoid an error.
5045 Use char because int might match the return type of a GCC
5046 builtin and then its argument prototype would still apply. */
5047#ifdef __cplusplus
5048extern "C"
5049#endif
5050char $ac_func ();
5051/* The GNU C library defines this for functions which it implements
5052 to always fail with ENOSYS. Some functions are actually named
5053 something starting with __ and the normal name is an alias. */
5054#if defined __stub_$ac_func || defined __stub___$ac_func
5055choke me
5056#endif
5057
5058int
5059main ()
5060{
5061return $ac_func ();
5062 ;
5063 return 0;
5064}
5065_ACEOF
5066rm -f conftest.$ac_objext conftest$ac_exeext
5067if { (ac_try="$ac_link"
5068case "(($ac_try" in
5069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5070 *) ac_try_echo=$ac_try;;
5071esac
5072eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5073$as_echo "$ac_try_echo") >&5
5074 (eval "$ac_link") 2>conftest.er1
5075 ac_status=$?
5076 grep -v '^ *+' conftest.er1 >conftest.err
5077 rm -f conftest.er1
5078 cat conftest.err >&5
5079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); } && {
5081 test -z "$ac_c_werror_flag" ||
5082 test ! -s conftest.err
5083 } && test -s conftest$ac_exeext && {
5084 test "$cross_compiling" = yes ||
5085 $as_test_x conftest$ac_exeext
5086 }; then
5087 eval "$as_ac_var=yes"
5088else
5089 $as_echo "$as_me: failed program was:" >&5
5090sed 's/^/| /' conftest.$ac_ext >&5
5091
5092 eval "$as_ac_var=no"
5093fi
5094
5095rm -rf conftest.dSYM
5096rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5097 conftest$ac_exeext conftest.$ac_ext
5098fi
5099ac_res=`eval 'as_val=${'$as_ac_var'}
5100 $as_echo "$as_val"'`
5101 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5102$as_echo "$ac_res" >&6; }
5103as_val=`eval 'as_val=${'$as_ac_var'}
5104 $as_echo "$as_val"'`
5105 if test "x$as_val" = x""yes; then
5106 cat >>confdefs.h <<_ACEOF
5107#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5108_ACEOF
5109
5110fi
5111done
5112
5113
5114ac_config_files="$ac_config_files Makefile src/Makefile"
5115
5116cat >confcache <<\_ACEOF
5117# This file is a shell script that caches the results of configure
5118# tests run on this system so they can be shared between configure
5119# scripts and configure runs, see configure's option --config-cache.
5120# It is not useful on other systems. If it contains results you don't
5121# want to keep, you may remove or edit it.
5122#
5123# config.status only pays attention to the cache file if you give it
5124# the --recheck option to rerun configure.
5125#
5126# `ac_cv_env_foo' variables (set or unset) will be overridden when
5127# loading this file, other *unset* `ac_cv_foo' will be assigned the
5128# following values.
5129
5130_ACEOF
5131
5132# The following way of writing the cache mishandles newlines in values,
5133# but we know of no workaround that is simple, portable, and efficient.
5134# So, we kill variables containing newlines.
5135# Ultrix sh set writes to stderr and can't be redirected directly,
5136# and sets the high bit in the cache file unless we assign to the vars.
5137(
5138 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5139 eval ac_val=\$$ac_var
5140 case $ac_val in #(
5141 *${as_nl}*)
5142 case $ac_var in #(
5143 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5144$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5145 esac
5146 case $ac_var in #(
5147 _ | IFS | as_nl) ;; #(
5148 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5149 *) $as_unset $ac_var ;;
5150 esac ;;
5151 esac
5152 done
5153
5154 (set) 2>&1 |
5155 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5156 *${as_nl}ac_space=\ *)
5157 # `set' does not quote correctly, so add quotes (double-quote
5158 # substitution turns \\\\ into \\, and sed turns \\ into \).
5159 sed -n \
5160 "s/'/'\\\\''/g;
5161 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5162 ;; #(
5163 *)
5164 # `set' quotes correctly as required by POSIX, so do not add quotes.
5165 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5166 ;;
5167 esac |
5168 sort
5169) |
5170 sed '
5171 /^ac_cv_env_/b end
5172 t clear
5173 :clear
5174 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5175 t end
5176 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5177 :end' >>confcache
5178if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5179 if test -w "$cache_file"; then
5180 test "x$cache_file" != "x/dev/null" &&
5181 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5182$as_echo "$as_me: updating cache $cache_file" >&6;}
5183 cat confcache >$cache_file
5184 else
5185 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5186$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5187 fi
5188fi
5189rm -f confcache
5190
5191test "x$prefix" = xNONE && prefix=$ac_default_prefix
5192# Let make expand exec_prefix.
5193test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5194
5195DEFS=-DHAVE_CONFIG_H
5196
5197ac_libobjs=
5198ac_ltlibobjs=
5199for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5200 # 1. Remove the extension, and $U if already installed.
5201 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5202 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5203 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5204 # will be set to the directory where LIBOBJS objects are built.
5205 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5206 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5207done
5208LIBOBJS=$ac_libobjs
5209
5210LTLIBOBJS=$ac_ltlibobjs
5211
5212
5213if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5214 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5215Usually this means the macro was only invoked conditionally." >&5
5216$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5217Usually this means the macro was only invoked conditionally." >&2;}
5218 { (exit 1); exit 1; }; }
5219fi
5220if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5221 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5222Usually this means the macro was only invoked conditionally." >&5
5223$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5224Usually this means the macro was only invoked conditionally." >&2;}
5225 { (exit 1); exit 1; }; }
5226fi
5227if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5228 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5229Usually this means the macro was only invoked conditionally." >&5
5230$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5231Usually this means the macro was only invoked conditionally." >&2;}
5232 { (exit 1); exit 1; }; }
5233fi
5234
5235: ${CONFIG_STATUS=./config.status}
5236ac_write_fail=0
5237ac_clean_files_save=$ac_clean_files
5238ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5239{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5240$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5241cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5242#! $SHELL
5243# Generated by $as_me.
5244# Run this file to recreate the current configuration.
5245# Compiler output produced by configure, useful for debugging
5246# configure, is in config.log if it exists.
5247
5248debug=false
5249ac_cs_recheck=false
5250ac_cs_silent=false
5251SHELL=\${CONFIG_SHELL-$SHELL}
5252_ACEOF
5253
5254cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5255## --------------------- ##
5256## M4sh Initialization. ##
5257## --------------------- ##
5258
5259# Be more Bourne compatible
5260DUALCASE=1; export DUALCASE # for MKS sh
5261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5262 emulate sh
5263 NULLCMD=:
5264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5265 # is contrary to our usage. Disable this feature.
5266 alias -g '${1+"$@"}'='"$@"'
5267 setopt NO_GLOB_SUBST
5268else
5269 case `(set -o) 2>/dev/null` in
5270 *posix*) set -o posix ;;
5271esac
5272
5273fi
5274
5275
5276
5277
5278# PATH needs CR
5279# Avoid depending upon Character Ranges.
5280as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5281as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5282as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5283as_cr_digits='0123456789'
5284as_cr_alnum=$as_cr_Letters$as_cr_digits
5285
5286as_nl='
5287'
5288export as_nl
5289# Printing a long string crashes Solaris 7 /usr/bin/printf.
5290as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5291as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5292as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5293if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5294 as_echo='printf %s\n'
5295 as_echo_n='printf %s'
5296else
5297 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5298 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5299 as_echo_n='/usr/ucb/echo -n'
5300 else
5301 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5302 as_echo_n_body='eval
5303 arg=$1;
5304 case $arg in
5305 *"$as_nl"*)
5306 expr "X$arg" : "X\\(.*\\)$as_nl";
5307 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5308 esac;
5309 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5310 '
5311 export as_echo_n_body
5312 as_echo_n='sh -c $as_echo_n_body as_echo'
5313 fi
5314 export as_echo_body
5315 as_echo='sh -c $as_echo_body as_echo'
5316fi
5317
5318# The user is always right.
5319if test "${PATH_SEPARATOR+set}" != set; then
5320 PATH_SEPARATOR=:
5321 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5322 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5323 PATH_SEPARATOR=';'
5324 }
5325fi
5326
5327# Support unset when possible.
5328if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5329 as_unset=unset
5330else
5331 as_unset=false
5332fi
5333
5334
5335# IFS
5336# We need space, tab and new line, in precisely that order. Quoting is
5337# there to prevent editors from complaining about space-tab.
5338# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5339# splitting by setting IFS to empty value.)
5340IFS=" "" $as_nl"
5341
5342# Find who we are. Look in the path if we contain no directory separator.
5343case $0 in
5344 *[\\/]* ) as_myself=$0 ;;
5345 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346for as_dir in $PATH
5347do
5348 IFS=$as_save_IFS
5349 test -z "$as_dir" && as_dir=.
5350 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5351done
5352IFS=$as_save_IFS
5353
5354 ;;
5355esac
5356# We did not find ourselves, most probably we were run as `sh COMMAND'
5357# in which case we are not to be found in the path.
5358if test "x$as_myself" = x; then
5359 as_myself=$0
5360fi
5361if test ! -f "$as_myself"; then
5362 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5363 { (exit 1); exit 1; }
5364fi
5365
5366# Work around bugs in pre-3.0 UWIN ksh.
5367for as_var in ENV MAIL MAILPATH
5368do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5369done
5370PS1='$ '
5371PS2='> '
5372PS4='+ '
5373
5374# NLS nuisances.
5375LC_ALL=C
5376export LC_ALL
5377LANGUAGE=C
5378export LANGUAGE
5379
5380# Required to use basename.
5381if expr a : '\(a\)' >/dev/null 2>&1 &&
5382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5383 as_expr=expr
5384else
5385 as_expr=false
5386fi
5387
5388if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5389 as_basename=basename
5390else
5391 as_basename=false
5392fi
5393
5394
5395# Name of the executable.
5396as_me=`$as_basename -- "$0" ||
5397$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5398 X"$0" : 'X\(//\)$' \| \
5399 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5400$as_echo X/"$0" |
5401 sed '/^.*\/\([^/][^/]*\)\/*$/{
5402 s//\1/
5403 q
5404 }
5405 /^X\/\(\/\/\)$/{
5406 s//\1/
5407 q
5408 }
5409 /^X\/\(\/\).*/{
5410 s//\1/
5411 q
5412 }
5413 s/.*/./; q'`
5414
5415# CDPATH.
5416$as_unset CDPATH
5417
5418
5419
5420 as_lineno_1=$LINENO
5421 as_lineno_2=$LINENO
5422 test "x$as_lineno_1" != "x$as_lineno_2" &&
5423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5424
5425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5426 # uniformly replaced by the line number. The first 'sed' inserts a
5427 # line-number line after each line using $LINENO; the second 'sed'
5428 # does the real work. The second script uses 'N' to pair each
5429 # line-number line with the line containing $LINENO, and appends
5430 # trailing '-' during substitution so that $LINENO is not a special
5431 # case at line end.
5432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5433 # scripts with optimization help from Paolo Bonzini. Blame Lee
5434 # E. McMahon (1931-1989) for sed's syntax. :-)
5435 sed -n '
5436 p
5437 /[$]LINENO/=
5438 ' <$as_myself |
5439 sed '
5440 s/[$]LINENO.*/&-/
5441 t lineno
5442 b
5443 :lineno
5444 N
5445 :loop
5446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5447 t loop
5448 s/-\n.*//
5449 ' >$as_me.lineno &&
5450 chmod +x "$as_me.lineno" ||
5451 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5452 { (exit 1); exit 1; }; }
5453
5454 # Don't try to exec as it changes $[0], causing all sort of problems
5455 # (the dirname of $[0] is not the place where we might find the
5456 # original and so on. Autoconf is especially sensitive to this).
5457 . "./$as_me.lineno"
5458 # Exit status is that of the last command.
5459 exit
5460}
5461
5462
5463if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5464 as_dirname=dirname
5465else
5466 as_dirname=false
5467fi
5468
5469ECHO_C= ECHO_N= ECHO_T=
5470case `echo -n x` in
5471-n*)
5472 case `echo 'x\c'` in
5473 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5474 *) ECHO_C='\c';;
5475 esac;;
5476*)
5477 ECHO_N='-n';;
5478esac
5479if expr a : '\(a\)' >/dev/null 2>&1 &&
5480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5481 as_expr=expr
5482else
5483 as_expr=false
5484fi
5485
5486rm -f conf$$ conf$$.exe conf$$.file
5487if test -d conf$$.dir; then
5488 rm -f conf$$.dir/conf$$.file
5489else
5490 rm -f conf$$.dir
5491 mkdir conf$$.dir 2>/dev/null
5492fi
5493if (echo >conf$$.file) 2>/dev/null; then
5494 if ln -s conf$$.file conf$$ 2>/dev/null; then
5495 as_ln_s='ln -s'
5496 # ... but there are two gotchas:
5497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5499 # In both cases, we have to default to `cp -p'.
5500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5501 as_ln_s='cp -p'
5502 elif ln conf$$.file conf$$ 2>/dev/null; then
5503 as_ln_s=ln
5504 else
5505 as_ln_s='cp -p'
5506 fi
5507else
5508 as_ln_s='cp -p'
5509fi
5510rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5511rmdir conf$$.dir 2>/dev/null
5512
5513if mkdir -p . 2>/dev/null; then
5514 as_mkdir_p=:
5515else
5516 test -d ./-p && rmdir ./-p
5517 as_mkdir_p=false
5518fi
5519
5520if test -x / >/dev/null 2>&1; then
5521 as_test_x='test -x'
5522else
5523 if ls -dL / >/dev/null 2>&1; then
5524 as_ls_L_option=L
5525 else
5526 as_ls_L_option=
5527 fi
5528 as_test_x='
5529 eval sh -c '\''
5530 if test -d "$1"; then
5531 test -d "$1/.";
5532 else
5533 case $1 in
5534 -*)set "./$1";;
5535 esac;
5536 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5537 ???[sx]*):;;*)false;;esac;fi
5538 '\'' sh
5539 '
5540fi
5541as_executable_p=$as_test_x
5542
5543# Sed expression to map a string onto a valid CPP name.
5544as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5545
5546# Sed expression to map a string onto a valid variable name.
5547as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5548
5549
5550exec 6>&1
5551
5552# Save the log message, to keep $[0] and so on meaningful, and to
5553# report actual input values of CONFIG_FILES etc. instead of their
5554# values after options handling.
5555ac_log="
5556This file was extended by Maze Of Life $as_me 2.0, which was
5557generated by GNU Autoconf 2.63. Invocation command line was
5558
5559 CONFIG_FILES = $CONFIG_FILES
5560 CONFIG_HEADERS = $CONFIG_HEADERS
5561 CONFIG_LINKS = $CONFIG_LINKS
5562 CONFIG_COMMANDS = $CONFIG_COMMANDS
5563 $ $0 $@
5564
5565on `(hostname || uname -n) 2>/dev/null | sed 1q`
5566"
5567
5568_ACEOF
5569
5570case $ac_config_files in *"
5571"*) set x $ac_config_files; shift; ac_config_files=$*;;
5572esac
5573
5574case $ac_config_headers in *"
5575"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5576esac
5577
5578
5579cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5580# Files that config.status was made for.
5581config_files="$ac_config_files"
5582config_headers="$ac_config_headers"
5583config_commands="$ac_config_commands"
5584
5585_ACEOF
5586
5587cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5588ac_cs_usage="\
5589\`$as_me' instantiates files from templates according to the
5590current configuration.
5591
5592Usage: $0 [OPTION]... [FILE]...
5593
5594 -h, --help print this help, then exit
5595 -V, --version print version number and configuration settings, then exit
5596 -q, --quiet, --silent
5597 do not print progress messages
5598 -d, --debug don't remove temporary files
5599 --recheck update $as_me by reconfiguring in the same conditions
5600 --file=FILE[:TEMPLATE]
5601 instantiate the configuration file FILE
5602 --header=FILE[:TEMPLATE]
5603 instantiate the configuration header FILE
5604
5605Configuration files:
5606$config_files
5607
5608Configuration headers:
5609$config_headers
5610
5611Configuration commands:
5612$config_commands
5613
5614Report bugs to <bug-autoconf@gnu.org>."
5615
5616_ACEOF
5617cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5618ac_cs_version="\\
5619Maze Of Life config.status 2.0
5620configured by $0, generated by GNU Autoconf 2.63,
5621 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5622
5623Copyright (C) 2008 Free Software Foundation, Inc.
5624This config.status script is free software; the Free Software Foundation
5625gives unlimited permission to copy, distribute and modify it."
5626
5627ac_pwd='$ac_pwd'
5628srcdir='$srcdir'
5629INSTALL='$INSTALL'
5630MKDIR_P='$MKDIR_P'
5631AWK='$AWK'
5632test -n "\$AWK" || AWK=awk
5633_ACEOF
5634
5635cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5636# The default lists apply if the user does not specify any file.
5637ac_need_defaults=:
5638while test $# != 0
5639do
5640 case $1 in
5641 --*=*)
5642 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5643 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5644 ac_shift=:
5645 ;;
5646 *)
5647 ac_option=$1
5648 ac_optarg=$2
5649 ac_shift=shift
5650 ;;
5651 esac
5652
5653 case $ac_option in
5654 # Handling of the options.
5655 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5656 ac_cs_recheck=: ;;
5657 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5658 $as_echo "$ac_cs_version"; exit ;;
5659 --debug | --debu | --deb | --de | --d | -d )
5660 debug=: ;;
5661 --file | --fil | --fi | --f )
5662 $ac_shift
5663 case $ac_optarg in
5664 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5665 esac
5666 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5667 ac_need_defaults=false;;
5668 --header | --heade | --head | --hea )
5669 $ac_shift
5670 case $ac_optarg in
5671 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5672 esac
5673 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5674 ac_need_defaults=false;;
5675 --he | --h)
5676 # Conflict between --help and --header
5677 { $as_echo "$as_me: error: ambiguous option: $1
5678Try \`$0 --help' for more information." >&2
5679 { (exit 1); exit 1; }; };;
5680 --help | --hel | -h )
5681 $as_echo "$ac_cs_usage"; exit ;;
5682 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5683 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5684 ac_cs_silent=: ;;
5685
5686 # This is an error.
5687 -*) { $as_echo "$as_me: error: unrecognized option: $1
5688Try \`$0 --help' for more information." >&2
5689 { (exit 1); exit 1; }; } ;;
5690
5691 *) ac_config_targets="$ac_config_targets $1"
5692 ac_need_defaults=false ;;
5693
5694 esac
5695 shift
5696done
5697
5698ac_configure_extra_args=
5699
5700if $ac_cs_silent; then
5701 exec 6>/dev/null
5702 ac_configure_extra_args="$ac_configure_extra_args --silent"
5703fi
5704
5705_ACEOF
5706cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5707if \$ac_cs_recheck; then
5708 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5709 shift
5710 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5711 CONFIG_SHELL='$SHELL'
5712 export CONFIG_SHELL
5713 exec "\$@"
5714fi
5715
5716_ACEOF
5717cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5718exec 5>>config.log
5719{
5720 echo
5721 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5722## Running $as_me. ##
5723_ASBOX
5724 $as_echo "$ac_log"
5725} >&5
5726
5727_ACEOF
5728cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5729#
5730# INIT-COMMANDS
5731#
5732AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5733
5734_ACEOF
5735
5736cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5737
5738# Handling of arguments.
5739for ac_config_target in $ac_config_targets
5740do
5741 case $ac_config_target in
5742 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5743 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5744 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5745 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5746
5747 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5748$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5749 { (exit 1); exit 1; }; };;
5750 esac
5751done
5752
5753
5754# If the user did not use the arguments to specify the items to instantiate,
5755# then the envvar interface is used. Set only those that are not.
5756# We use the long form for the default assignment because of an extremely
5757# bizarre bug on SunOS 4.1.3.
5758if $ac_need_defaults; then
5759 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5760 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5761 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5762fi
5763
5764# Have a temporary directory for convenience. Make it in the build tree
5765# simply because there is no reason against having it here, and in addition,
5766# creating and moving files from /tmp can sometimes cause problems.
5767# Hook for its removal unless debugging.
5768# Note that there is a small window in which the directory will not be cleaned:
5769# after its creation but before its name has been assigned to `$tmp'.
5770$debug ||
5771{
5772 tmp=
5773 trap 'exit_status=$?
5774 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5775' 0
5776 trap '{ (exit 1); exit 1; }' 1 2 13 15
5777}
5778# Create a (secure) tmp directory for tmp files.
5779
5780{
5781 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5782 test -n "$tmp" && test -d "$tmp"
5783} ||
5784{
5785 tmp=./conf$$-$RANDOM
5786 (umask 077 && mkdir "$tmp")
5787} ||
5788{
5789 $as_echo "$as_me: cannot create a temporary directory in ." >&2
5790 { (exit 1); exit 1; }
5791}
5792
5793# Set up the scripts for CONFIG_FILES section.
5794# No need to generate them if there are no CONFIG_FILES.
5795# This happens for instance with `./config.status config.h'.
5796if test -n "$CONFIG_FILES"; then
5797
5798
5799ac_cr=' '
5800ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5801if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5802 ac_cs_awk_cr='\\r'
5803else
5804 ac_cs_awk_cr=$ac_cr
5805fi
5806
5807echo 'BEGIN {' >"$tmp/subs1.awk" &&
5808_ACEOF
5809
5810
5811{
5812 echo "cat >conf$$subs.awk <<_ACEOF" &&
5813 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5814 echo "_ACEOF"
5815} >conf$$subs.sh ||
5816 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5817$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5818 { (exit 1); exit 1; }; }
5819ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5820ac_delim='%!_!# '
5821for ac_last_try in false false false false false :; do
5822 . ./conf$$subs.sh ||
5823 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5824$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5825 { (exit 1); exit 1; }; }
5826
5827 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5828 if test $ac_delim_n = $ac_delim_num; then
5829 break
5830 elif $ac_last_try; then
5831 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5832$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5833 { (exit 1); exit 1; }; }
5834 else
5835 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5836 fi
5837done
5838rm -f conf$$subs.sh
5839
5840cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5841cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5842_ACEOF
5843sed -n '
5844h
5845s/^/S["/; s/!.*/"]=/
5846p
5847g
5848s/^[^!]*!//
5849:repl
5850t repl
5851s/'"$ac_delim"'$//
5852t delim
5853:nl
5854h
5855s/\(.\{148\}\).*/\1/
5856t more1
5857s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5858p
5859n
5860b repl
5861:more1
5862s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5863p
5864g
5865s/.\{148\}//
5866t nl
5867:delim
5868h
5869s/\(.\{148\}\).*/\1/
5870t more2
5871s/["\\]/\\&/g; s/^/"/; s/$/"/
5872p
5873b
5874:more2
5875s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5876p
5877g
5878s/.\{148\}//
5879t delim
5880' <conf$$subs.awk | sed '
5881/^[^""]/{
5882 N
5883 s/\n//
5884}
5885' >>$CONFIG_STATUS || ac_write_fail=1
5886rm -f conf$$subs.awk
5887cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5888_ACAWK
5889cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5890 for (key in S) S_is_set[key] = 1
5891 FS = ""
5892
5893}
5894{
5895 line = $ 0
5896 nfields = split(line, field, "@")
5897 substed = 0
5898 len = length(field[1])
5899 for (i = 2; i < nfields; i++) {
5900 key = field[i]
5901 keylen = length(key)
5902 if (S_is_set[key]) {
5903 value = S[key]
5904 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5905 len += length(value) + length(field[++i])
5906 substed = 1
5907 } else
5908 len += 1 + keylen
5909 }
5910
5911 print line
5912}
5913
5914_ACAWK
5915_ACEOF
5916cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5917if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5918 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5919else
5920 cat
5921fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5922 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5923$as_echo "$as_me: error: could not setup config files machinery" >&2;}
5924 { (exit 1); exit 1; }; }
5925_ACEOF
5926
5927# VPATH may cause trouble with some makes, so we remove $(srcdir),
5928# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5929# trailing colons and then remove the whole line if VPATH becomes empty
5930# (actually we leave an empty line to preserve line numbers).
5931if test "x$srcdir" = x.; then
5932 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5933s/:*\$(srcdir):*/:/
5934s/:*\${srcdir}:*/:/
5935s/:*@srcdir@:*/:/
5936s/^\([^=]*=[ ]*\):*/\1/
5937s/:*$//
5938s/^[^=]*=[ ]*$//
5939}'
5940fi
5941
5942cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5943fi # test -n "$CONFIG_FILES"
5944
5945# Set up the scripts for CONFIG_HEADERS section.
5946# No need to generate them if there are no CONFIG_HEADERS.
5947# This happens for instance with `./config.status Makefile'.
5948if test -n "$CONFIG_HEADERS"; then
5949cat >"$tmp/defines.awk" <<\_ACAWK ||
5950BEGIN {
5951_ACEOF
5952
5953# Transform confdefs.h into an awk script `defines.awk', embedded as
5954# here-document in config.status, that substitutes the proper values into
5955# config.h.in to produce config.h.
5956
5957# Create a delimiter string that does not exist in confdefs.h, to ease
5958# handling of long lines.
5959ac_delim='%!_!# '
5960for ac_last_try in false false :; do
5961 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5962 if test -z "$ac_t"; then
5963 break
5964 elif $ac_last_try; then
5965 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
5966$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
5967 { (exit 1); exit 1; }; }
5968 else
5969 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5970 fi
5971done
5972
5973# For the awk script, D is an array of macro values keyed by name,
5974# likewise P contains macro parameters if any. Preserve backslash
5975# newline sequences.
5976
5977ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5978sed -n '
5979s/.\{148\}/&'"$ac_delim"'/g
5980t rset
5981:rset
5982s/^[ ]*#[ ]*define[ ][ ]*/ /
5983t def
5984d
5985:def
5986s/\\$//
5987t bsnl
5988s/["\\]/\\&/g
5989s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5990D["\1"]=" \3"/p
5991s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5992d
5993:bsnl
5994s/["\\]/\\&/g
5995s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5996D["\1"]=" \3\\\\\\n"\\/p
5997t cont
5998s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5999t cont
6000d
6001:cont
6002n
6003s/.\{148\}/&'"$ac_delim"'/g
6004t clear
6005:clear
6006s/\\$//
6007t bsnlc
6008s/["\\]/\\&/g; s/^/"/; s/$/"/p
6009d
6010:bsnlc
6011s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6012b cont
6013' <confdefs.h | sed '
6014s/'"$ac_delim"'/"\\\
6015"/g' >>$CONFIG_STATUS || ac_write_fail=1
6016
6017cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6018 for (key in D) D_is_set[key] = 1
6019 FS = ""
6020}
6021/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6022 line = \$ 0
6023 split(line, arg, " ")
6024 if (arg[1] == "#") {
6025 defundef = arg[2]
6026 mac1 = arg[3]
6027 } else {
6028 defundef = substr(arg[1], 2)
6029 mac1 = arg[2]
6030 }
6031 split(mac1, mac2, "(") #)
6032 macro = mac2[1]
6033 prefix = substr(line, 1, index(line, defundef) - 1)
6034 if (D_is_set[macro]) {
6035 # Preserve the white space surrounding the "#".
6036 print prefix "define", macro P[macro] D[macro]
6037 next
6038 } else {
6039 # Replace #undef with comments. This is necessary, for example,
6040 # in the case of _POSIX_SOURCE, which is predefined and required
6041 # on some systems where configure will not decide to define it.
6042 if (defundef == "undef") {
6043 print "/*", prefix defundef, macro, "*/"
6044 next
6045 }
6046 }
6047}
6048{ print }
6049_ACAWK
6050_ACEOF
6051cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6052 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6053$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6054 { (exit 1); exit 1; }; }
6055fi # test -n "$CONFIG_HEADERS"
6056
6057
6058eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6059shift
6060for ac_tag
6061do
6062 case $ac_tag in
6063 :[FHLC]) ac_mode=$ac_tag; continue;;
6064 esac
6065 case $ac_mode$ac_tag in
6066 :[FHL]*:*);;
6067 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6068$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6069 { (exit 1); exit 1; }; };;
6070 :[FH]-) ac_tag=-:-;;
6071 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6072 esac
6073 ac_save_IFS=$IFS
6074 IFS=:
6075 set x $ac_tag
6076 IFS=$ac_save_IFS
6077 shift
6078 ac_file=$1
6079 shift
6080
6081 case $ac_mode in
6082 :L) ac_source=$1;;
6083 :[FH])
6084 ac_file_inputs=
6085 for ac_f
6086 do
6087 case $ac_f in
6088 -) ac_f="$tmp/stdin";;
6089 *) # Look for the file first in the build tree, then in the source tree
6090 # (if the path is not absolute). The absolute path cannot be DOS-style,
6091 # because $ac_f cannot contain `:'.
6092 test -f "$ac_f" ||
6093 case $ac_f in
6094 [\\/$]*) false;;
6095 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6096 esac ||
6097 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6098$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6099 { (exit 1); exit 1; }; };;
6100 esac
6101 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6102 ac_file_inputs="$ac_file_inputs '$ac_f'"
6103 done
6104
6105 # Let's still pretend it is `configure' which instantiates (i.e., don't
6106 # use $as_me), people would be surprised to read:
6107 # /* config.h. Generated by config.status. */
6108 configure_input='Generated from '`
6109 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6110 `' by configure.'
6111 if test x"$ac_file" != x-; then
6112 configure_input="$ac_file. $configure_input"
6113 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6114$as_echo "$as_me: creating $ac_file" >&6;}
6115 fi
6116 # Neutralize special characters interpreted by sed in replacement strings.
6117 case $configure_input in #(
6118 *\&* | *\|* | *\\* )
6119 ac_sed_conf_input=`$as_echo "$configure_input" |
6120 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6121 *) ac_sed_conf_input=$configure_input;;
6122 esac
6123
6124 case $ac_tag in
6125 *:-:* | *:-) cat >"$tmp/stdin" \
6126 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6127$as_echo "$as_me: error: could not create $ac_file" >&2;}
6128 { (exit 1); exit 1; }; } ;;
6129 esac
6130 ;;
6131 esac
6132
6133 ac_dir=`$as_dirname -- "$ac_file" ||
6134$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6135 X"$ac_file" : 'X\(//\)[^/]' \| \
6136 X"$ac_file" : 'X\(//\)$' \| \
6137 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6138$as_echo X"$ac_file" |
6139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6140 s//\1/
6141 q
6142 }
6143 /^X\(\/\/\)[^/].*/{
6144 s//\1/
6145 q
6146 }
6147 /^X\(\/\/\)$/{
6148 s//\1/
6149 q
6150 }
6151 /^X\(\/\).*/{
6152 s//\1/
6153 q
6154 }
6155 s/.*/./; q'`
6156 { as_dir="$ac_dir"
6157 case $as_dir in #(
6158 -*) as_dir=./$as_dir;;
6159 esac
6160 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6161 as_dirs=
6162 while :; do
6163 case $as_dir in #(
6164 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6165 *) as_qdir=$as_dir;;
6166 esac
6167 as_dirs="'$as_qdir' $as_dirs"
6168 as_dir=`$as_dirname -- "$as_dir" ||
6169$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6170 X"$as_dir" : 'X\(//\)[^/]' \| \
6171 X"$as_dir" : 'X\(//\)$' \| \
6172 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6173$as_echo X"$as_dir" |
6174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6175 s//\1/
6176 q
6177 }
6178 /^X\(\/\/\)[^/].*/{
6179 s//\1/
6180 q
6181 }
6182 /^X\(\/\/\)$/{
6183 s//\1/
6184 q
6185 }
6186 /^X\(\/\).*/{
6187 s//\1/
6188 q
6189 }
6190 s/.*/./; q'`
6191 test -d "$as_dir" && break
6192 done
6193 test -z "$as_dirs" || eval "mkdir $as_dirs"
6194 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6195$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6196 { (exit 1); exit 1; }; }; }
6197 ac_builddir=.
6198
6199case "$ac_dir" in
6200.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6201*)
6202 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6203 # A ".." for each directory in $ac_dir_suffix.
6204 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6205 case $ac_top_builddir_sub in
6206 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6207 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6208 esac ;;
6209esac
6210ac_abs_top_builddir=$ac_pwd
6211ac_abs_builddir=$ac_pwd$ac_dir_suffix
6212# for backward compatibility:
6213ac_top_builddir=$ac_top_build_prefix
6214
6215case $srcdir in
6216 .) # We are building in place.
6217 ac_srcdir=.
6218 ac_top_srcdir=$ac_top_builddir_sub
6219 ac_abs_top_srcdir=$ac_pwd ;;
6220 [\\/]* | ?:[\\/]* ) # Absolute name.
6221 ac_srcdir=$srcdir$ac_dir_suffix;
6222 ac_top_srcdir=$srcdir
6223 ac_abs_top_srcdir=$srcdir ;;
6224 *) # Relative name.
6225 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6226 ac_top_srcdir=$ac_top_build_prefix$srcdir
6227 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6228esac
6229ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6230
6231
6232 case $ac_mode in
6233 :F)
6234 #
6235 # CONFIG_FILE
6236 #
6237
6238 case $INSTALL in
6239 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6240 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6241 esac
6242 ac_MKDIR_P=$MKDIR_P
6243 case $MKDIR_P in
6244 [\\/$]* | ?:[\\/]* ) ;;
6245 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6246 esac
6247_ACEOF
6248
6249cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6250# If the template does not know about datarootdir, expand it.
6251# FIXME: This hack should be removed a few years after 2.60.
6252ac_datarootdir_hack=; ac_datarootdir_seen=
6253
6254ac_sed_dataroot='
6255/datarootdir/ {
6256 p
6257 q
6258}
6259/@datadir@/p
6260/@docdir@/p
6261/@infodir@/p
6262/@localedir@/p
6263/@mandir@/p
6264'
6265case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6266*datarootdir*) ac_datarootdir_seen=yes;;
6267*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6268 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6269$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6270_ACEOF
6271cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6272 ac_datarootdir_hack='
6273 s&@datadir@&$datadir&g
6274 s&@docdir@&$docdir&g
6275 s&@infodir@&$infodir&g
6276 s&@localedir@&$localedir&g
6277 s&@mandir@&$mandir&g
6278 s&\\\${datarootdir}&$datarootdir&g' ;;
6279esac
6280_ACEOF
6281
6282# Neutralize VPATH when `$srcdir' = `.'.
6283# Shell code in configure.ac might set extrasub.
6284# FIXME: do we really want to maintain this feature?
6285cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6286ac_sed_extra="$ac_vpsub
6287$extrasub
6288_ACEOF
6289cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6290:t
6291/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6292s|@configure_input@|$ac_sed_conf_input|;t t
6293s&@top_builddir@&$ac_top_builddir_sub&;t t
6294s&@top_build_prefix@&$ac_top_build_prefix&;t t
6295s&@srcdir@&$ac_srcdir&;t t
6296s&@abs_srcdir@&$ac_abs_srcdir&;t t
6297s&@top_srcdir@&$ac_top_srcdir&;t t
6298s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6299s&@builddir@&$ac_builddir&;t t
6300s&@abs_builddir@&$ac_abs_builddir&;t t
6301s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6302s&@INSTALL@&$ac_INSTALL&;t t
6303s&@MKDIR_P@&$ac_MKDIR_P&;t t
6304$ac_datarootdir_hack
6305"
6306eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6307 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6308$as_echo "$as_me: error: could not create $ac_file" >&2;}
6309 { (exit 1); exit 1; }; }
6310
6311test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6312 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6313 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6314 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6315which seems to be undefined. Please make sure it is defined." >&5
6316$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6317which seems to be undefined. Please make sure it is defined." >&2;}
6318
6319 rm -f "$tmp/stdin"
6320 case $ac_file in
6321 -) cat "$tmp/out" && rm -f "$tmp/out";;
6322 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6323 esac \
6324 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6325$as_echo "$as_me: error: could not create $ac_file" >&2;}
6326 { (exit 1); exit 1; }; }
6327 ;;
6328 :H)
6329 #
6330 # CONFIG_HEADER
6331 #
6332 if test x"$ac_file" != x-; then
6333 {
6334 $as_echo "/* $configure_input */" \
6335 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6336 } >"$tmp/config.h" \
6337 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6338$as_echo "$as_me: error: could not create $ac_file" >&2;}
6339 { (exit 1); exit 1; }; }
6340 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6341 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6342$as_echo "$as_me: $ac_file is unchanged" >&6;}
6343 else
6344 rm -f "$ac_file"
6345 mv "$tmp/config.h" "$ac_file" \
6346 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6347$as_echo "$as_me: error: could not create $ac_file" >&2;}
6348 { (exit 1); exit 1; }; }
6349 fi
6350 else
6351 $as_echo "/* $configure_input */" \
6352 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6353 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6354$as_echo "$as_me: error: could not create -" >&2;}
6355 { (exit 1); exit 1; }; }
6356 fi
6357# Compute "$ac_file"'s index in $config_headers.
6358_am_arg="$ac_file"
6359_am_stamp_count=1
6360for _am_header in $config_headers :; do
6361 case $_am_header in
6362 $_am_arg | $_am_arg:* )
6363 break ;;
6364 * )
6365 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6366 esac
6367done
6368echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6369$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6370 X"$_am_arg" : 'X\(//\)[^/]' \| \
6371 X"$_am_arg" : 'X\(//\)$' \| \
6372 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6373$as_echo X"$_am_arg" |
6374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6375 s//\1/
6376 q
6377 }
6378 /^X\(\/\/\)[^/].*/{
6379 s//\1/
6380 q
6381 }
6382 /^X\(\/\/\)$/{
6383 s//\1/
6384 q
6385 }
6386 /^X\(\/\).*/{
6387 s//\1/
6388 q
6389 }
6390 s/.*/./; q'`/stamp-h$_am_stamp_count
6391 ;;
6392
6393 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6394$as_echo "$as_me: executing $ac_file commands" >&6;}
6395 ;;
6396 esac
6397
6398
6399 case $ac_file$ac_mode in
6400 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6401 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6402 # are listed without --file. Let's play safe and only enable the eval
6403 # if we detect the quoting.
6404 case $CONFIG_FILES in
6405 *\'*) eval set x "$CONFIG_FILES" ;;
6406 *) set x $CONFIG_FILES ;;
6407 esac
6408 shift
6409 for mf
6410 do
6411 # Strip MF so we end up with the name of the file.
6412 mf=`echo "$mf" | sed -e 's/:.*$//'`
6413 # Check whether this is an Automake generated Makefile or not.
6414 # We used to match only the files named `Makefile.in', but
6415 # some people rename them; so instead we look at the file content.
6416 # Grep'ing the first line is not enough: some people post-process
6417 # each Makefile.in and add a new line on top of each file to say so.
6418 # Grep'ing the whole file is not good either: AIX grep has a line
6419 # limit of 2048, but all sed's we know have understand at least 4000.
6420 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6421 dirpart=`$as_dirname -- "$mf" ||
6422$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6423 X"$mf" : 'X\(//\)[^/]' \| \
6424 X"$mf" : 'X\(//\)$' \| \
6425 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6426$as_echo X"$mf" |
6427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6428 s//\1/
6429 q
6430 }
6431 /^X\(\/\/\)[^/].*/{
6432 s//\1/
6433 q
6434 }
6435 /^X\(\/\/\)$/{
6436 s//\1/
6437 q
6438 }
6439 /^X\(\/\).*/{
6440 s//\1/
6441 q
6442 }
6443 s/.*/./; q'`
6444 else
6445 continue
6446 fi
6447 # Extract the definition of DEPDIR, am__include, and am__quote
6448 # from the Makefile without running `make'.
6449 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6450 test -z "$DEPDIR" && continue
6451 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6452 test -z "am__include" && continue
6453 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6454 # When using ansi2knr, U may be empty or an underscore; expand it
6455 U=`sed -n 's/^U = //p' < "$mf"`
6456 # Find all dependency output files, they are included files with
6457 # $(DEPDIR) in their names. We invoke sed twice because it is the
6458 # simplest approach to changing $(DEPDIR) to its actual value in the
6459 # expansion.
6460 for file in `sed -n "
6461 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6462 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6463 # Make sure the directory exists.
6464 test -f "$dirpart/$file" && continue
6465 fdir=`$as_dirname -- "$file" ||
6466$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6467 X"$file" : 'X\(//\)[^/]' \| \
6468 X"$file" : 'X\(//\)$' \| \
6469 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6470$as_echo X"$file" |
6471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6472 s//\1/
6473 q
6474 }
6475 /^X\(\/\/\)[^/].*/{
6476 s//\1/
6477 q
6478 }
6479 /^X\(\/\/\)$/{
6480 s//\1/
6481 q
6482 }
6483 /^X\(\/\).*/{
6484 s//\1/
6485 q
6486 }
6487 s/.*/./; q'`
6488 { as_dir=$dirpart/$fdir
6489 case $as_dir in #(
6490 -*) as_dir=./$as_dir;;
6491 esac
6492 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6493 as_dirs=
6494 while :; do
6495 case $as_dir in #(
6496 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6497 *) as_qdir=$as_dir;;
6498 esac
6499 as_dirs="'$as_qdir' $as_dirs"
6500 as_dir=`$as_dirname -- "$as_dir" ||
6501$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6502 X"$as_dir" : 'X\(//\)[^/]' \| \
6503 X"$as_dir" : 'X\(//\)$' \| \
6504 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6505$as_echo X"$as_dir" |
6506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6507 s//\1/
6508 q
6509 }
6510 /^X\(\/\/\)[^/].*/{
6511 s//\1/
6512 q
6513 }
6514 /^X\(\/\/\)$/{
6515 s//\1/
6516 q
6517 }
6518 /^X\(\/\).*/{
6519 s//\1/
6520 q
6521 }
6522 s/.*/./; q'`
6523 test -d "$as_dir" && break
6524 done
6525 test -z "$as_dirs" || eval "mkdir $as_dirs"
6526 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6527$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6528 { (exit 1); exit 1; }; }; }
6529 # echo "creating $dirpart/$file"
6530 echo '# dummy' > "$dirpart/$file"
6531 done
6532 done
6533}
6534 ;;
6535
6536 esac
6537done # for ac_tag
6538
6539
6540{ (exit 0); exit 0; }
6541_ACEOF
6542chmod +x $CONFIG_STATUS
6543ac_clean_files=$ac_clean_files_save
6544
6545test $ac_write_fail = 0 ||
6546 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6547$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6548 { (exit 1); exit 1; }; }
6549
6550
6551# configure is writing to config.log, and then calls config.status.
6552# config.status does its own redirection, appending to config.log.
6553# Unfortunately, on DOS this fails, as config.log is still kept open
6554# by configure, so config.status won't be able to write to it; its
6555# output is simply discarded. So we exec the FD to /dev/null,
6556# effectively closing config.log, so it can be properly (re)opened and
6557# appended to by config.status. When coming back to configure, we
6558# need to make the FD available again.
6559if test "$no_create" != yes; then
6560 ac_cs_success=:
6561 ac_config_status_args=
6562 test "$silent" = yes &&
6563 ac_config_status_args="$ac_config_status_args --quiet"
6564 exec 5>/dev/null
6565 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6566 exec 5>>config.log
6567 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6568 # would make configure fail if this is the last instruction.
6569 $ac_cs_success || { (exit 1); exit 1; }
6570fi
6571if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6572 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6573$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6574fi
6575