1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61 for asteroids3D 0.5.1.
4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ##
10## M4sh Initialization.  ##
11## --------------------- ##
12
13# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16  emulate sh
17  NULLCMD=:
18  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19  # is contrary to our usage.  Disable this feature.
20  alias -g '${1+"$@"}'='"$@"'
21  setopt NO_GLOB_SUBST
22else
23  case `(set -o) 2>/dev/null` in
24  *posix*) set -o posix ;;
25esac
26
27fi
28
29
30
31
32# PATH needs CR
33# Avoid depending upon Character Ranges.
34as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37as_cr_digits='0123456789'
38as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40# The user is always right.
41if test "${PATH_SEPARATOR+set}" != set; then
42  echo "#! /bin/sh" >conf$$.sh
43  echo  "exit 0"   >>conf$$.sh
44  chmod +x conf$$.sh
45  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46    PATH_SEPARATOR=';'
47  else
48    PATH_SEPARATOR=:
49  fi
50  rm -f conf$$.sh
51fi
52
53# Support unset when possible.
54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55  as_unset=unset
56else
57  as_unset=false
58fi
59
60
61# IFS
62# We need space, tab and new line, in precisely that order.  Quoting is
63# there to prevent editors from complaining about space-tab.
64# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65# splitting by setting IFS to empty value.)
66as_nl='
67'
68IFS=" ""	$as_nl"
69
70# Find who we are.  Look in the path if we contain no directory separator.
71case $0 in
72  *[\\/]* ) as_myself=$0 ;;
73  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74for as_dir in $PATH
75do
76  IFS=$as_save_IFS
77  test -z "$as_dir" && as_dir=.
78  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79done
80IFS=$as_save_IFS
81
82     ;;
83esac
84# We did not find ourselves, most probably we were run as `sh COMMAND'
85# in which case we are not to be found in the path.
86if test "x$as_myself" = x; then
87  as_myself=$0
88fi
89if test ! -f "$as_myself"; then
90  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91  { (exit 1); exit 1; }
92fi
93
94# Work around bugs in pre-3.0 UWIN ksh.
95for as_var in ENV MAIL MAILPATH
96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97done
98PS1='$ '
99PS2='> '
100PS4='+ '
101
102# NLS nuisances.
103for as_var in \
104  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106  LC_TELEPHONE LC_TIME
107do
108  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109    eval $as_var=C; export $as_var
110  else
111    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112  fi
113done
114
115# Required to use basename.
116if expr a : '\(a\)' >/dev/null 2>&1 &&
117   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118  as_expr=expr
119else
120  as_expr=false
121fi
122
123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124  as_basename=basename
125else
126  as_basename=false
127fi
128
129
130# Name of the executable.
131as_me=`$as_basename -- "$0" ||
132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133	 X"$0" : 'X\(//\)$' \| \
134	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135echo X/"$0" |
136    sed '/^.*\/\([^/][^/]*\)\/*$/{
137	    s//\1/
138	    q
139	  }
140	  /^X\/\(\/\/\)$/{
141	    s//\1/
142	    q
143	  }
144	  /^X\/\(\/\).*/{
145	    s//\1/
146	    q
147	  }
148	  s/.*/./; q'`
149
150# CDPATH.
151$as_unset CDPATH
152
153
154if test "x$CONFIG_SHELL" = x; then
155  if (eval ":") 2>/dev/null; then
156  as_have_required=yes
157else
158  as_have_required=no
159fi
160
161  if test $as_have_required = yes && 	 (eval ":
162(as_func_return () {
163  (exit \$1)
164}
165as_func_success () {
166  as_func_return 0
167}
168as_func_failure () {
169  as_func_return 1
170}
171as_func_ret_success () {
172  return 0
173}
174as_func_ret_failure () {
175  return 1
176}
177
178exitcode=0
179if as_func_success; then
180  :
181else
182  exitcode=1
183  echo as_func_success failed.
184fi
185
186if as_func_failure; then
187  exitcode=1
188  echo as_func_failure succeeded.
189fi
190
191if as_func_ret_success; then
192  :
193else
194  exitcode=1
195  echo as_func_ret_success failed.
196fi
197
198if as_func_ret_failure; then
199  exitcode=1
200  echo as_func_ret_failure succeeded.
201fi
202
203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204  :
205else
206  exitcode=1
207  echo positional parameters were not saved.
208fi
209
210test \$exitcode = 0) || { (exit 1); exit 1; }
211
212(
213  as_lineno_1=\$LINENO
214  as_lineno_2=\$LINENO
215  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217") 2> /dev/null; then
218  :
219else
220  as_candidate_shells=
221    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223do
224  IFS=$as_save_IFS
225  test -z "$as_dir" && as_dir=.
226  case $as_dir in
227	 /*)
228	   for as_base in sh bash ksh sh5; do
229	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230	   done;;
231       esac
232done
233IFS=$as_save_IFS
234
235
236      for as_shell in $as_candidate_shells $SHELL; do
237	 # Try only shells that exist, to save several forks.
238	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239		{ ("$as_shell") 2> /dev/null <<\_ASEOF
240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241  emulate sh
242  NULLCMD=:
243  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244  # is contrary to our usage.  Disable this feature.
245  alias -g '${1+"$@"}'='"$@"'
246  setopt NO_GLOB_SUBST
247else
248  case `(set -o) 2>/dev/null` in
249  *posix*) set -o posix ;;
250esac
251
252fi
253
254
255:
256_ASEOF
257}; then
258  CONFIG_SHELL=$as_shell
259	       as_have_required=yes
260	       if { "$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  # Zsh 3.x and 4.x performs 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(as_func_return () {
278  (exit $1)
279}
280as_func_success () {
281  as_func_return 0
282}
283as_func_failure () {
284  as_func_return 1
285}
286as_func_ret_success () {
287  return 0
288}
289as_func_ret_failure () {
290  return 1
291}
292
293exitcode=0
294if as_func_success; then
295  :
296else
297  exitcode=1
298  echo as_func_success failed.
299fi
300
301if as_func_failure; then
302  exitcode=1
303  echo as_func_failure succeeded.
304fi
305
306if as_func_ret_success; then
307  :
308else
309  exitcode=1
310  echo as_func_ret_success failed.
311fi
312
313if as_func_ret_failure; then
314  exitcode=1
315  echo as_func_ret_failure succeeded.
316fi
317
318if ( set x; as_func_ret_success y && test x = "$1" ); then
319  :
320else
321  exitcode=1
322  echo positional parameters were not saved.
323fi
324
325test $exitcode = 0) || { (exit 1); exit 1; }
326
327(
328  as_lineno_1=$LINENO
329  as_lineno_2=$LINENO
330  test "x$as_lineno_1" != "x$as_lineno_2" &&
331  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333_ASEOF
334}; then
335  break
336fi
337
338fi
339
340      done
341
342      if test "x$CONFIG_SHELL" != x; then
343  for as_var in BASH_ENV ENV
344        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345        done
346        export CONFIG_SHELL
347        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348fi
349
350
351    if test $as_have_required = no; then
352  echo This script requires a shell more modern than all the
353      echo shells that I found on your system.  Please install a
354      echo modern shell, or manually run the script under such a
355      echo shell if you do have one.
356      { (exit 1); exit 1; }
357fi
358
359
360fi
361
362fi
363
364
365
366(eval "as_func_return () {
367  (exit \$1)
368}
369as_func_success () {
370  as_func_return 0
371}
372as_func_failure () {
373  as_func_return 1
374}
375as_func_ret_success () {
376  return 0
377}
378as_func_ret_failure () {
379  return 1
380}
381
382exitcode=0
383if as_func_success; then
384  :
385else
386  exitcode=1
387  echo as_func_success failed.
388fi
389
390if as_func_failure; then
391  exitcode=1
392  echo as_func_failure succeeded.
393fi
394
395if as_func_ret_success; then
396  :
397else
398  exitcode=1
399  echo as_func_ret_success failed.
400fi
401
402if as_func_ret_failure; then
403  exitcode=1
404  echo as_func_ret_failure succeeded.
405fi
406
407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408  :
409else
410  exitcode=1
411  echo positional parameters were not saved.
412fi
413
414test \$exitcode = 0") || {
415  echo No shell found that supports shell functions.
416  echo Please tell autoconf@gnu.org about your system,
417  echo including any error possibly output before this
418  echo message
419}
420
421
422
423  as_lineno_1=$LINENO
424  as_lineno_2=$LINENO
425  test "x$as_lineno_1" != "x$as_lineno_2" &&
426  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
428  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429  # uniformly replaced by the line number.  The first 'sed' inserts a
430  # line-number line after each line using $LINENO; the second 'sed'
431  # does the real work.  The second script uses 'N' to pair each
432  # line-number line with the line containing $LINENO, and appends
433  # trailing '-' during substitution so that $LINENO is not a special
434  # case at line end.
435  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437  # E. McMahon (1931-1989) for sed's syntax.  :-)
438  sed -n '
439    p
440    /[$]LINENO/=
441  ' <$as_myself |
442    sed '
443      s/[$]LINENO.*/&-/
444      t lineno
445      b
446      :lineno
447      N
448      :loop
449      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450      t loop
451      s/-\n.*//
452    ' >$as_me.lineno &&
453  chmod +x "$as_me.lineno" ||
454    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455   { (exit 1); exit 1; }; }
456
457  # Don't try to exec as it changes $[0], causing all sort of problems
458  # (the dirname of $[0] is not the place where we might find the
459  # original and so on.  Autoconf is especially sensitive to this).
460  . "./$as_me.lineno"
461  # Exit status is that of the last command.
462  exit
463}
464
465
466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467  as_dirname=dirname
468else
469  as_dirname=false
470fi
471
472ECHO_C= ECHO_N= ECHO_T=
473case `echo -n x` in
474-n*)
475  case `echo 'x\c'` in
476  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
477  *)   ECHO_C='\c';;
478  esac;;
479*)
480  ECHO_N='-n';;
481esac
482
483if expr a : '\(a\)' >/dev/null 2>&1 &&
484   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485  as_expr=expr
486else
487  as_expr=false
488fi
489
490rm -f conf$$ conf$$.exe conf$$.file
491if test -d conf$$.dir; then
492  rm -f conf$$.dir/conf$$.file
493else
494  rm -f conf$$.dir
495  mkdir conf$$.dir
496fi
497echo >conf$$.file
498if ln -s conf$$.file conf$$ 2>/dev/null; then
499  as_ln_s='ln -s'
500  # ... but there are two gotchas:
501  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503  # In both cases, we have to default to `cp -p'.
504  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505    as_ln_s='cp -p'
506elif ln conf$$.file conf$$ 2>/dev/null; then
507  as_ln_s=ln
508else
509  as_ln_s='cp -p'
510fi
511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512rmdir conf$$.dir 2>/dev/null
513
514if mkdir -p . 2>/dev/null; then
515  as_mkdir_p=:
516else
517  test -d ./-p && rmdir ./-p
518  as_mkdir_p=false
519fi
520
521if test -x / >/dev/null 2>&1; then
522  as_test_x='test -x'
523else
524  if ls -dL / >/dev/null 2>&1; then
525    as_ls_L_option=L
526  else
527    as_ls_L_option=
528  fi
529  as_test_x='
530    eval sh -c '\''
531      if test -d "$1"; then
532        test -d "$1/.";
533      else
534	case $1 in
535        -*)set "./$1";;
536	esac;
537	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538	???[sx]*):;;*)false;;esac;fi
539    '\'' sh
540  '
541fi
542as_executable_p=$as_test_x
543
544# Sed expression to map a string onto a valid CPP name.
545as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
547# Sed expression to map a string onto a valid variable name.
548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
551
552exec 7<&0 </dev/null 6>&1
553
554# Name of the host.
555# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556# so uname gets run too.
557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559#
560# Initializations.
561#
562ac_default_prefix=/usr/local
563ac_clean_files=
564ac_config_libobj_dir=.
565LIBOBJS=
566cross_compiling=no
567subdirs=
568MFLAGS=
569MAKEFLAGS=
570SHELL=${CONFIG_SHELL-/bin/sh}
571
572# Identity of this package.
573PACKAGE_NAME='asteroids3D'
574PACKAGE_TARNAME='asteroids3d'
575PACKAGE_VERSION='0.5.1'
576PACKAGE_STRING='asteroids3D 0.5.1'
577PACKAGE_BUGREPORT=''
578
579ac_subst_vars='SHELL
580PATH_SEPARATOR
581PACKAGE_NAME
582PACKAGE_TARNAME
583PACKAGE_VERSION
584PACKAGE_STRING
585PACKAGE_BUGREPORT
586exec_prefix
587prefix
588program_transform_name
589bindir
590sbindir
591libexecdir
592datarootdir
593datadir
594sysconfdir
595sharedstatedir
596localstatedir
597includedir
598oldincludedir
599docdir
600infodir
601htmldir
602dvidir
603pdfdir
604psdir
605libdir
606localedir
607mandir
608DEFS
609ECHO_C
610ECHO_N
611ECHO_T
612LIBS
613build_alias
614host_alias
615target_alias
616INSTALL_PROGRAM
617INSTALL_SCRIPT
618INSTALL_DATA
619am__isrc
620CYGPATH_W
621PACKAGE
622VERSION
623ACLOCAL
624AUTOCONF
625AUTOMAKE
626AUTOHEADER
627MAKEINFO
628install_sh
629STRIP
630INSTALL_STRIP_PROGRAM
631mkdir_p
632AWK
633SET_MAKE
634am__leading_dot
635AMTAR
636am__tar
637am__untar
638CC
639CFLAGS
640LDFLAGS
641CPPFLAGS
642ac_ct_CC
643EXEEXT
644OBJEXT
645DEPDIR
646am__include
647am__quote
648AMDEP_TRUE
649AMDEP_FALSE
650AMDEPBACKSLASH
651CCDEPMODE
652am__fastdepCC_TRUE
653am__fastdepCC_FALSE
654gamesdir
655gamedatadir
656regular_CFLAGS
657LIBOBJS
658LTLIBOBJS'
659ac_subst_files=''
660      ac_precious_vars='build_alias
661host_alias
662target_alias
663CC
664CFLAGS
665LDFLAGS
666LIBS
667CPPFLAGS'
668
669
670# Initialize some variables set by options.
671ac_init_help=
672ac_init_version=false
673# The variables have the same names as the options, with
674# dashes changed to underlines.
675cache_file=/dev/null
676exec_prefix=NONE
677no_create=
678no_recursion=
679prefix=NONE
680program_prefix=NONE
681program_suffix=NONE
682program_transform_name=s,x,x,
683silent=
684site=
685srcdir=
686verbose=
687x_includes=NONE
688x_libraries=NONE
689
690# Installation directory options.
691# These are left unexpanded so users can "make install exec_prefix=/foo"
692# and all the variables that are supposed to be based on exec_prefix
693# by default will actually change.
694# Use braces instead of parens because sh, perl, etc. also accept them.
695# (The list follows the same order as the GNU Coding Standards.)
696bindir='${exec_prefix}/bin'
697sbindir='${exec_prefix}/sbin'
698libexecdir='${exec_prefix}/libexec'
699datarootdir='${prefix}/share'
700datadir='${datarootdir}'
701sysconfdir='${prefix}/etc'
702sharedstatedir='${prefix}/com'
703localstatedir='${prefix}/var'
704includedir='${prefix}/include'
705oldincludedir='/usr/include'
706docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
707infodir='${datarootdir}/info'
708htmldir='${docdir}'
709dvidir='${docdir}'
710pdfdir='${docdir}'
711psdir='${docdir}'
712libdir='${exec_prefix}/lib'
713localedir='${datarootdir}/locale'
714mandir='${datarootdir}/man'
715
716ac_prev=
717ac_dashdash=
718for ac_option
719do
720  # If the previous option needs an argument, assign it.
721  if test -n "$ac_prev"; then
722    eval $ac_prev=\$ac_option
723    ac_prev=
724    continue
725  fi
726
727  case $ac_option in
728  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
729  *)	ac_optarg=yes ;;
730  esac
731
732  # Accept the important Cygnus configure options, so we can diagnose typos.
733
734  case $ac_dashdash$ac_option in
735  --)
736    ac_dashdash=yes ;;
737
738  -bindir | --bindir | --bindi | --bind | --bin | --bi)
739    ac_prev=bindir ;;
740  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
741    bindir=$ac_optarg ;;
742
743  -build | --build | --buil | --bui | --bu)
744    ac_prev=build_alias ;;
745  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
746    build_alias=$ac_optarg ;;
747
748  -cache-file | --cache-file | --cache-fil | --cache-fi \
749  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
750    ac_prev=cache_file ;;
751  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
752  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
753    cache_file=$ac_optarg ;;
754
755  --config-cache | -C)
756    cache_file=config.cache ;;
757
758  -datadir | --datadir | --datadi | --datad)
759    ac_prev=datadir ;;
760  -datadir=* | --datadir=* | --datadi=* | --datad=*)
761    datadir=$ac_optarg ;;
762
763  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
764  | --dataroo | --dataro | --datar)
765    ac_prev=datarootdir ;;
766  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
767  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
768    datarootdir=$ac_optarg ;;
769
770  -disable-* | --disable-*)
771    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
772    # Reject names that are not valid shell variable names.
773    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
774      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
775   { (exit 1); exit 1; }; }
776    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
777    eval enable_$ac_feature=no ;;
778
779  -docdir | --docdir | --docdi | --doc | --do)
780    ac_prev=docdir ;;
781  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
782    docdir=$ac_optarg ;;
783
784  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
785    ac_prev=dvidir ;;
786  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
787    dvidir=$ac_optarg ;;
788
789  -enable-* | --enable-*)
790    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
791    # Reject names that are not valid shell variable names.
792    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
793      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
794   { (exit 1); exit 1; }; }
795    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
796    eval enable_$ac_feature=\$ac_optarg ;;
797
798  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
799  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
800  | --exec | --exe | --ex)
801    ac_prev=exec_prefix ;;
802  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
803  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
804  | --exec=* | --exe=* | --ex=*)
805    exec_prefix=$ac_optarg ;;
806
807  -gas | --gas | --ga | --g)
808    # Obsolete; use --with-gas.
809    with_gas=yes ;;
810
811  -help | --help | --hel | --he | -h)
812    ac_init_help=long ;;
813  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
814    ac_init_help=recursive ;;
815  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
816    ac_init_help=short ;;
817
818  -host | --host | --hos | --ho)
819    ac_prev=host_alias ;;
820  -host=* | --host=* | --hos=* | --ho=*)
821    host_alias=$ac_optarg ;;
822
823  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
824    ac_prev=htmldir ;;
825  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
826  | --ht=*)
827    htmldir=$ac_optarg ;;
828
829  -includedir | --includedir | --includedi | --included | --include \
830  | --includ | --inclu | --incl | --inc)
831    ac_prev=includedir ;;
832  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
833  | --includ=* | --inclu=* | --incl=* | --inc=*)
834    includedir=$ac_optarg ;;
835
836  -infodir | --infodir | --infodi | --infod | --info | --inf)
837    ac_prev=infodir ;;
838  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
839    infodir=$ac_optarg ;;
840
841  -libdir | --libdir | --libdi | --libd)
842    ac_prev=libdir ;;
843  -libdir=* | --libdir=* | --libdi=* | --libd=*)
844    libdir=$ac_optarg ;;
845
846  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
847  | --libexe | --libex | --libe)
848    ac_prev=libexecdir ;;
849  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
850  | --libexe=* | --libex=* | --libe=*)
851    libexecdir=$ac_optarg ;;
852
853  -localedir | --localedir | --localedi | --localed | --locale)
854    ac_prev=localedir ;;
855  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
856    localedir=$ac_optarg ;;
857
858  -localstatedir | --localstatedir | --localstatedi | --localstated \
859  | --localstate | --localstat | --localsta | --localst | --locals)
860    ac_prev=localstatedir ;;
861  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
862  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
863    localstatedir=$ac_optarg ;;
864
865  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
866    ac_prev=mandir ;;
867  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
868    mandir=$ac_optarg ;;
869
870  -nfp | --nfp | --nf)
871    # Obsolete; use --without-fp.
872    with_fp=no ;;
873
874  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
875  | --no-cr | --no-c | -n)
876    no_create=yes ;;
877
878  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
879  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
880    no_recursion=yes ;;
881
882  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
883  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
884  | --oldin | --oldi | --old | --ol | --o)
885    ac_prev=oldincludedir ;;
886  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
887  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
888  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
889    oldincludedir=$ac_optarg ;;
890
891  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
892    ac_prev=prefix ;;
893  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
894    prefix=$ac_optarg ;;
895
896  -program-prefix | --program-prefix | --program-prefi | --program-pref \
897  | --program-pre | --program-pr | --program-p)
898    ac_prev=program_prefix ;;
899  -program-prefix=* | --program-prefix=* | --program-prefi=* \
900  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
901    program_prefix=$ac_optarg ;;
902
903  -program-suffix | --program-suffix | --program-suffi | --program-suff \
904  | --program-suf | --program-su | --program-s)
905    ac_prev=program_suffix ;;
906  -program-suffix=* | --program-suffix=* | --program-suffi=* \
907  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
908    program_suffix=$ac_optarg ;;
909
910  -program-transform-name | --program-transform-name \
911  | --program-transform-nam | --program-transform-na \
912  | --program-transform-n | --program-transform- \
913  | --program-transform | --program-transfor \
914  | --program-transfo | --program-transf \
915  | --program-trans | --program-tran \
916  | --progr-tra | --program-tr | --program-t)
917    ac_prev=program_transform_name ;;
918  -program-transform-name=* | --program-transform-name=* \
919  | --program-transform-nam=* | --program-transform-na=* \
920  | --program-transform-n=* | --program-transform-=* \
921  | --program-transform=* | --program-transfor=* \
922  | --program-transfo=* | --program-transf=* \
923  | --program-trans=* | --program-tran=* \
924  | --progr-tra=* | --program-tr=* | --program-t=*)
925    program_transform_name=$ac_optarg ;;
926
927  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
928    ac_prev=pdfdir ;;
929  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
930    pdfdir=$ac_optarg ;;
931
932  -psdir | --psdir | --psdi | --psd | --ps)
933    ac_prev=psdir ;;
934  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
935    psdir=$ac_optarg ;;
936
937  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
938  | -silent | --silent | --silen | --sile | --sil)
939    silent=yes ;;
940
941  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
942    ac_prev=sbindir ;;
943  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
944  | --sbi=* | --sb=*)
945    sbindir=$ac_optarg ;;
946
947  -sharedstatedir | --sharedstatedir | --sharedstatedi \
948  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
949  | --sharedst | --shareds | --shared | --share | --shar \
950  | --sha | --sh)
951    ac_prev=sharedstatedir ;;
952  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
953  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
954  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
955  | --sha=* | --sh=*)
956    sharedstatedir=$ac_optarg ;;
957
958  -site | --site | --sit)
959    ac_prev=site ;;
960  -site=* | --site=* | --sit=*)
961    site=$ac_optarg ;;
962
963  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
964    ac_prev=srcdir ;;
965  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
966    srcdir=$ac_optarg ;;
967
968  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
969  | --syscon | --sysco | --sysc | --sys | --sy)
970    ac_prev=sysconfdir ;;
971  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
972  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
973    sysconfdir=$ac_optarg ;;
974
975  -target | --target | --targe | --targ | --tar | --ta | --t)
976    ac_prev=target_alias ;;
977  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
978    target_alias=$ac_optarg ;;
979
980  -v | -verbose | --verbose | --verbos | --verbo | --verb)
981    verbose=yes ;;
982
983  -version | --version | --versio | --versi | --vers | -V)
984    ac_init_version=: ;;
985
986  -with-* | --with-*)
987    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
988    # Reject names that are not valid shell variable names.
989    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
990      { echo "$as_me: error: invalid package name: $ac_package" >&2
991   { (exit 1); exit 1; }; }
992    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
993    eval with_$ac_package=\$ac_optarg ;;
994
995  -without-* | --without-*)
996    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
997    # Reject names that are not valid shell variable names.
998    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
999      { echo "$as_me: error: invalid package name: $ac_package" >&2
1000   { (exit 1); exit 1; }; }
1001    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1002    eval with_$ac_package=no ;;
1003
1004  --x)
1005    # Obsolete; use --with-x.
1006    with_x=yes ;;
1007
1008  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1009  | --x-incl | --x-inc | --x-in | --x-i)
1010    ac_prev=x_includes ;;
1011  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1012  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1013    x_includes=$ac_optarg ;;
1014
1015  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1016  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1017    ac_prev=x_libraries ;;
1018  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1019  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1020    x_libraries=$ac_optarg ;;
1021
1022  -*) { echo "$as_me: error: unrecognized option: $ac_option
1023Try \`$0 --help' for more information." >&2
1024   { (exit 1); exit 1; }; }
1025    ;;
1026
1027  *=*)
1028    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1029    # Reject names that are not valid shell variable names.
1030    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1031      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1032   { (exit 1); exit 1; }; }
1033    eval $ac_envvar=\$ac_optarg
1034    export $ac_envvar ;;
1035
1036  *)
1037    # FIXME: should be removed in autoconf 3.0.
1038    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1039    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1040      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1041    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1042    ;;
1043
1044  esac
1045done
1046
1047if test -n "$ac_prev"; then
1048  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1049  { echo "$as_me: error: missing argument to $ac_option" >&2
1050   { (exit 1); exit 1; }; }
1051fi
1052
1053# Be sure to have absolute directory names.
1054for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1055		datadir sysconfdir sharedstatedir localstatedir includedir \
1056		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1057		libdir localedir mandir
1058do
1059  eval ac_val=\$$ac_var
1060  case $ac_val in
1061    [\\/$]* | ?:[\\/]* )  continue;;
1062    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1063  esac
1064  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1065   { (exit 1); exit 1; }; }
1066done
1067
1068# There might be people who depend on the old broken behavior: `$host'
1069# used to hold the argument of --host etc.
1070# FIXME: To remove some day.
1071build=$build_alias
1072host=$host_alias
1073target=$target_alias
1074
1075# FIXME: To remove some day.
1076if test "x$host_alias" != x; then
1077  if test "x$build_alias" = x; then
1078    cross_compiling=maybe
1079    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1080    If a cross compiler is detected then cross compile mode will be used." >&2
1081  elif test "x$build_alias" != "x$host_alias"; then
1082    cross_compiling=yes
1083  fi
1084fi
1085
1086ac_tool_prefix=
1087test -n "$host_alias" && ac_tool_prefix=$host_alias-
1088
1089test "$silent" = yes && exec 6>/dev/null
1090
1091
1092ac_pwd=`pwd` && test -n "$ac_pwd" &&
1093ac_ls_di=`ls -di .` &&
1094ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1095  { echo "$as_me: error: Working directory cannot be determined" >&2
1096   { (exit 1); exit 1; }; }
1097test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1098  { echo "$as_me: error: pwd does not report name of working directory" >&2
1099   { (exit 1); exit 1; }; }
1100
1101
1102# Find the source files, if location was not specified.
1103if test -z "$srcdir"; then
1104  ac_srcdir_defaulted=yes
1105  # Try the directory containing this script, then the parent directory.
1106  ac_confdir=`$as_dirname -- "$0" ||
1107$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1108	 X"$0" : 'X\(//\)[^/]' \| \
1109	 X"$0" : 'X\(//\)$' \| \
1110	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1111echo X"$0" |
1112    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1113	    s//\1/
1114	    q
1115	  }
1116	  /^X\(\/\/\)[^/].*/{
1117	    s//\1/
1118	    q
1119	  }
1120	  /^X\(\/\/\)$/{
1121	    s//\1/
1122	    q
1123	  }
1124	  /^X\(\/\).*/{
1125	    s//\1/
1126	    q
1127	  }
1128	  s/.*/./; q'`
1129  srcdir=$ac_confdir
1130  if test ! -r "$srcdir/$ac_unique_file"; then
1131    srcdir=..
1132  fi
1133else
1134  ac_srcdir_defaulted=no
1135fi
1136if test ! -r "$srcdir/$ac_unique_file"; then
1137  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1138  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1139   { (exit 1); exit 1; }; }
1140fi
1141ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1142ac_abs_confdir=`(
1143	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1144   { (exit 1); exit 1; }; }
1145	pwd)`
1146# When building in place, set srcdir=.
1147if test "$ac_abs_confdir" = "$ac_pwd"; then
1148  srcdir=.
1149fi
1150# Remove unnecessary trailing slashes from srcdir.
1151# Double slashes in file names in object file debugging info
1152# mess up M-x gdb in Emacs.
1153case $srcdir in
1154*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1155esac
1156for ac_var in $ac_precious_vars; do
1157  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1158  eval ac_env_${ac_var}_value=\$${ac_var}
1159  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1160  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1161done
1162
1163#
1164# Report the --help message.
1165#
1166if test "$ac_init_help" = "long"; then
1167  # Omit some internal or obsolete options to make the list less imposing.
1168  # This message is too long to be a string in the A/UX 3.1 sh.
1169  cat <<_ACEOF
1170\`configure' configures asteroids3D 0.5.1 to adapt to many kinds of systems.
1171
1172Usage: $0 [OPTION]... [VAR=VALUE]...
1173
1174To assign environment variables (e.g., CC, CFLAGS...), specify them as
1175VAR=VALUE.  See below for descriptions of some of the useful variables.
1176
1177Defaults for the options are specified in brackets.
1178
1179Configuration:
1180  -h, --help              display this help and exit
1181      --help=short        display options specific to this package
1182      --help=recursive    display the short help of all the included packages
1183  -V, --version           display version information and exit
1184  -q, --quiet, --silent   do not print \`checking...' messages
1185      --cache-file=FILE   cache test results in FILE [disabled]
1186  -C, --config-cache      alias for \`--cache-file=config.cache'
1187  -n, --no-create         do not create output files
1188      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1189
1190Installation directories:
1191  --prefix=PREFIX         install architecture-independent files in PREFIX
1192			  [$ac_default_prefix]
1193  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1194			  [PREFIX]
1195
1196By default, \`make install' will install all the files in
1197\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1198an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1199for instance \`--prefix=\$HOME'.
1200
1201For better control, use the options below.
1202
1203Fine tuning of the installation directories:
1204  --bindir=DIR           user executables [EPREFIX/bin]
1205  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1206  --libexecdir=DIR       program executables [EPREFIX/libexec]
1207  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1208  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1209  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1210  --libdir=DIR           object code libraries [EPREFIX/lib]
1211  --includedir=DIR       C header files [PREFIX/include]
1212  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1213  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1214  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1215  --infodir=DIR          info documentation [DATAROOTDIR/info]
1216  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1217  --mandir=DIR           man documentation [DATAROOTDIR/man]
1218  --docdir=DIR           documentation root [DATAROOTDIR/doc/asteroids3d]
1219  --htmldir=DIR          html documentation [DOCDIR]
1220  --dvidir=DIR           dvi documentation [DOCDIR]
1221  --pdfdir=DIR           pdf documentation [DOCDIR]
1222  --psdir=DIR            ps documentation [DOCDIR]
1223_ACEOF
1224
1225  cat <<\_ACEOF
1226
1227Program names:
1228  --program-prefix=PREFIX            prepend PREFIX to installed program names
1229  --program-suffix=SUFFIX            append SUFFIX to installed program names
1230  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1231_ACEOF
1232fi
1233
1234if test -n "$ac_init_help"; then
1235  case $ac_init_help in
1236     short | recursive ) echo "Configuration of asteroids3D 0.5.1:";;
1237   esac
1238  cat <<\_ACEOF
1239
1240Optional Features:
1241  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1242  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1243  --disable-dependency-tracking  speeds up one-time build
1244  --enable-dependency-tracking   do not reject slow dependency extractors
1245
1246Optional Packages:
1247  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1248  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1249  --with-gamesdir=PATH    Path to game binary directory [EPREFIX/games]
1250  --with-gamedatadir=PATH Path to textures and sounds [DATADIR/games]
1251
1252Some influential environment variables:
1253  CC          C compiler command
1254  CFLAGS      C compiler flags
1255  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1256              nonstandard directory <lib dir>
1257  LIBS        libraries to pass to the linker, e.g. -l<library>
1258  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1259              you have headers in a nonstandard directory <include dir>
1260
1261Use these variables to override the choices made by `configure' or to help
1262it to find libraries and programs with nonstandard names/locations.
1263
1264_ACEOF
1265ac_status=$?
1266fi
1267
1268if test "$ac_init_help" = "recursive"; then
1269  # If there are subdirs, report their specific --help.
1270  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1271    test -d "$ac_dir" || continue
1272    ac_builddir=.
1273
1274case "$ac_dir" in
1275.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1276*)
1277  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1278  # A ".." for each directory in $ac_dir_suffix.
1279  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1280  case $ac_top_builddir_sub in
1281  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1282  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1283  esac ;;
1284esac
1285ac_abs_top_builddir=$ac_pwd
1286ac_abs_builddir=$ac_pwd$ac_dir_suffix
1287# for backward compatibility:
1288ac_top_builddir=$ac_top_build_prefix
1289
1290case $srcdir in
1291  .)  # We are building in place.
1292    ac_srcdir=.
1293    ac_top_srcdir=$ac_top_builddir_sub
1294    ac_abs_top_srcdir=$ac_pwd ;;
1295  [\\/]* | ?:[\\/]* )  # Absolute name.
1296    ac_srcdir=$srcdir$ac_dir_suffix;
1297    ac_top_srcdir=$srcdir
1298    ac_abs_top_srcdir=$srcdir ;;
1299  *) # Relative name.
1300    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1301    ac_top_srcdir=$ac_top_build_prefix$srcdir
1302    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1303esac
1304ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1305
1306    cd "$ac_dir" || { ac_status=$?; continue; }
1307    # Check for guested configure.
1308    if test -f "$ac_srcdir/configure.gnu"; then
1309      echo &&
1310      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1311    elif test -f "$ac_srcdir/configure"; then
1312      echo &&
1313      $SHELL "$ac_srcdir/configure" --help=recursive
1314    else
1315      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1316    fi || ac_status=$?
1317    cd "$ac_pwd" || { ac_status=$?; break; }
1318  done
1319fi
1320
1321test -n "$ac_init_help" && exit $ac_status
1322if $ac_init_version; then
1323  cat <<\_ACEOF
1324asteroids3D configure 0.5.1
1325generated by GNU Autoconf 2.61
1326
1327Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13282002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1329This configure script is free software; the Free Software Foundation
1330gives unlimited permission to copy, distribute and modify it.
1331_ACEOF
1332  exit
1333fi
1334cat >config.log <<_ACEOF
1335This file contains any messages produced by compilers while
1336running configure, to aid debugging if configure makes a mistake.
1337
1338It was created by asteroids3D $as_me 0.5.1, which was
1339generated by GNU Autoconf 2.61.  Invocation command line was
1340
1341  $ $0 $@
1342
1343_ACEOF
1344exec 5>>config.log
1345{
1346cat <<_ASUNAME
1347## --------- ##
1348## Platform. ##
1349## --------- ##
1350
1351hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1352uname -m = `(uname -m) 2>/dev/null || echo unknown`
1353uname -r = `(uname -r) 2>/dev/null || echo unknown`
1354uname -s = `(uname -s) 2>/dev/null || echo unknown`
1355uname -v = `(uname -v) 2>/dev/null || echo unknown`
1356
1357/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1358/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1359
1360/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1361/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1362/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1363/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1364/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1365/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1366/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1367
1368_ASUNAME
1369
1370as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1371for as_dir in $PATH
1372do
1373  IFS=$as_save_IFS
1374  test -z "$as_dir" && as_dir=.
1375  echo "PATH: $as_dir"
1376done
1377IFS=$as_save_IFS
1378
1379} >&5
1380
1381cat >&5 <<_ACEOF
1382
1383
1384## ----------- ##
1385## Core tests. ##
1386## ----------- ##
1387
1388_ACEOF
1389
1390
1391# Keep a trace of the command line.
1392# Strip out --no-create and --no-recursion so they do not pile up.
1393# Strip out --silent because we don't want to record it for future runs.
1394# Also quote any args containing shell meta-characters.
1395# Make two passes to allow for proper duplicate-argument suppression.
1396ac_configure_args=
1397ac_configure_args0=
1398ac_configure_args1=
1399ac_must_keep_next=false
1400for ac_pass in 1 2
1401do
1402  for ac_arg
1403  do
1404    case $ac_arg in
1405    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1406    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1407    | -silent | --silent | --silen | --sile | --sil)
1408      continue ;;
1409    *\'*)
1410      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1411    esac
1412    case $ac_pass in
1413    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1414    2)
1415      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1416      if test $ac_must_keep_next = true; then
1417	ac_must_keep_next=false # Got value, back to normal.
1418      else
1419	case $ac_arg in
1420	  *=* | --config-cache | -C | -disable-* | --disable-* \
1421	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1422	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1423	  | -with-* | --with-* | -without-* | --without-* | --x)
1424	    case "$ac_configure_args0 " in
1425	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1426	    esac
1427	    ;;
1428	  -* ) ac_must_keep_next=true ;;
1429	esac
1430      fi
1431      ac_configure_args="$ac_configure_args '$ac_arg'"
1432      ;;
1433    esac
1434  done
1435done
1436$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1437$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1438
1439# When interrupted or exit'd, cleanup temporary files, and complete
1440# config.log.  We remove comments because anyway the quotes in there
1441# would cause problems or look ugly.
1442# WARNING: Use '\'' to represent an apostrophe within the trap.
1443# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1444trap 'exit_status=$?
1445  # Save into config.log some information that might help in debugging.
1446  {
1447    echo
1448
1449    cat <<\_ASBOX
1450## ---------------- ##
1451## Cache variables. ##
1452## ---------------- ##
1453_ASBOX
1454    echo
1455    # The following way of writing the cache mishandles newlines in values,
1456(
1457  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1458    eval ac_val=\$$ac_var
1459    case $ac_val in #(
1460    *${as_nl}*)
1461      case $ac_var in #(
1462      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1463echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1464      esac
1465      case $ac_var in #(
1466      _ | IFS | as_nl) ;; #(
1467      *) $as_unset $ac_var ;;
1468      esac ;;
1469    esac
1470  done
1471  (set) 2>&1 |
1472    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1473    *${as_nl}ac_space=\ *)
1474      sed -n \
1475	"s/'\''/'\''\\\\'\'''\''/g;
1476	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1477      ;; #(
1478    *)
1479      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1480      ;;
1481    esac |
1482    sort
1483)
1484    echo
1485
1486    cat <<\_ASBOX
1487## ----------------- ##
1488## Output variables. ##
1489## ----------------- ##
1490_ASBOX
1491    echo
1492    for ac_var in $ac_subst_vars
1493    do
1494      eval ac_val=\$$ac_var
1495      case $ac_val in
1496      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1497      esac
1498      echo "$ac_var='\''$ac_val'\''"
1499    done | sort
1500    echo
1501
1502    if test -n "$ac_subst_files"; then
1503      cat <<\_ASBOX
1504## ------------------- ##
1505## File substitutions. ##
1506## ------------------- ##
1507_ASBOX
1508      echo
1509      for ac_var in $ac_subst_files
1510      do
1511	eval ac_val=\$$ac_var
1512	case $ac_val in
1513	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1514	esac
1515	echo "$ac_var='\''$ac_val'\''"
1516      done | sort
1517      echo
1518    fi
1519
1520    if test -s confdefs.h; then
1521      cat <<\_ASBOX
1522## ----------- ##
1523## confdefs.h. ##
1524## ----------- ##
1525_ASBOX
1526      echo
1527      cat confdefs.h
1528      echo
1529    fi
1530    test "$ac_signal" != 0 &&
1531      echo "$as_me: caught signal $ac_signal"
1532    echo "$as_me: exit $exit_status"
1533  } >&5
1534  rm -f core *.core core.conftest.* &&
1535    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1536    exit $exit_status
1537' 0
1538for ac_signal in 1 2 13 15; do
1539  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1540done
1541ac_signal=0
1542
1543# confdefs.h avoids OS command line length limits that DEFS can exceed.
1544rm -f -r conftest* confdefs.h
1545
1546# Predefined preprocessor variables.
1547
1548cat >>confdefs.h <<_ACEOF
1549#define PACKAGE_NAME "$PACKAGE_NAME"
1550_ACEOF
1551
1552
1553cat >>confdefs.h <<_ACEOF
1554#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1555_ACEOF
1556
1557
1558cat >>confdefs.h <<_ACEOF
1559#define PACKAGE_VERSION "$PACKAGE_VERSION"
1560_ACEOF
1561
1562
1563cat >>confdefs.h <<_ACEOF
1564#define PACKAGE_STRING "$PACKAGE_STRING"
1565_ACEOF
1566
1567
1568cat >>confdefs.h <<_ACEOF
1569#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1570_ACEOF
1571
1572
1573# Let the site file select an alternate cache file if it wants to.
1574# Prefer explicitly selected file to automatically selected ones.
1575if test -n "$CONFIG_SITE"; then
1576  set x "$CONFIG_SITE"
1577elif test "x$prefix" != xNONE; then
1578  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1579else
1580  set x "$ac_default_prefix/share/config.site" \
1581	"$ac_default_prefix/etc/config.site"
1582fi
1583shift
1584for ac_site_file
1585do
1586  if test -r "$ac_site_file"; then
1587    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1588echo "$as_me: loading site script $ac_site_file" >&6;}
1589    sed 's/^/| /' "$ac_site_file" >&5
1590    . "$ac_site_file"
1591  fi
1592done
1593
1594if test -r "$cache_file"; then
1595  # Some versions of bash will fail to source /dev/null (special
1596  # files actually), so we avoid doing that.
1597  if test -f "$cache_file"; then
1598    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1599echo "$as_me: loading cache $cache_file" >&6;}
1600    case $cache_file in
1601      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1602      *)                      . "./$cache_file";;
1603    esac
1604  fi
1605else
1606  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1607echo "$as_me: creating cache $cache_file" >&6;}
1608  >$cache_file
1609fi
1610
1611# Check that the precious variables saved in the cache have kept the same
1612# value.
1613ac_cache_corrupted=false
1614for ac_var in $ac_precious_vars; do
1615  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1616  eval ac_new_set=\$ac_env_${ac_var}_set
1617  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1618  eval ac_new_val=\$ac_env_${ac_var}_value
1619  case $ac_old_set,$ac_new_set in
1620    set,)
1621      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1622echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1623      ac_cache_corrupted=: ;;
1624    ,set)
1625      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1626echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1627      ac_cache_corrupted=: ;;
1628    ,);;
1629    *)
1630      if test "x$ac_old_val" != "x$ac_new_val"; then
1631	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1632echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1633	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1634echo "$as_me:   former value:  $ac_old_val" >&2;}
1635	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1636echo "$as_me:   current value: $ac_new_val" >&2;}
1637	ac_cache_corrupted=:
1638      fi;;
1639  esac
1640  # Pass precious variables to config.status.
1641  if test "$ac_new_set" = set; then
1642    case $ac_new_val in
1643    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1644    *) ac_arg=$ac_var=$ac_new_val ;;
1645    esac
1646    case " $ac_configure_args " in
1647      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1648      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1649    esac
1650  fi
1651done
1652if $ac_cache_corrupted; then
1653  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1654echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1655  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1656echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1657   { (exit 1); exit 1; }; }
1658fi
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684ac_ext=c
1685ac_cpp='$CPP $CPPFLAGS'
1686ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1687ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1688ac_compiler_gnu=$ac_cv_c_compiler_gnu
1689
1690
1691ac_config_headers="$ac_config_headers config.h"
1692
1693ac_aux_dir=
1694for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1695  if test -f "$ac_dir/install-sh"; then
1696    ac_aux_dir=$ac_dir
1697    ac_install_sh="$ac_aux_dir/install-sh -c"
1698    break
1699  elif test -f "$ac_dir/install.sh"; then
1700    ac_aux_dir=$ac_dir
1701    ac_install_sh="$ac_aux_dir/install.sh -c"
1702    break
1703  elif test -f "$ac_dir/shtool"; then
1704    ac_aux_dir=$ac_dir
1705    ac_install_sh="$ac_aux_dir/shtool install -c"
1706    break
1707  fi
1708done
1709if test -z "$ac_aux_dir"; then
1710  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1711echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1712   { (exit 1); exit 1; }; }
1713fi
1714
1715# These three variables are undocumented and unsupported,
1716# and are intended to be withdrawn in a future Autoconf release.
1717# They can cause serious problems if a builder's source tree is in a directory
1718# whose full name contains unusual characters.
1719ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1720ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1721ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1722
1723
1724# Find a good install program.  We prefer a C program (faster),
1725# so one script is as good as another.  But avoid the broken or
1726# incompatible versions:
1727# SysV /etc/install, /usr/sbin/install
1728# SunOS /usr/etc/install
1729# IRIX /sbin/install
1730# AIX /bin/install
1731# AmigaOS /C/install, which installs bootblocks on floppy discs
1732# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1733# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1734# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1735# OS/2's system install, which has a completely different semantic
1736# ./install, which can be erroneously created by make from ./install.sh.
1737{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1738echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1739if test -z "$INSTALL"; then
1740if test "${ac_cv_path_install+set}" = set; then
1741  echo $ECHO_N "(cached) $ECHO_C" >&6
1742else
1743  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1744for as_dir in $PATH
1745do
1746  IFS=$as_save_IFS
1747  test -z "$as_dir" && as_dir=.
1748  # Account for people who put trailing slashes in PATH elements.
1749case $as_dir/ in
1750  ./ | .// | /cC/* | \
1751  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1752  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1753  /usr/ucb/* ) ;;
1754  *)
1755    # OSF1 and SCO ODT 3.0 have their own names for install.
1756    # Don't use installbsd from OSF since it installs stuff as root
1757    # by default.
1758    for ac_prog in ginstall scoinst install; do
1759      for ac_exec_ext in '' $ac_executable_extensions; do
1760	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1761	  if test $ac_prog = install &&
1762	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1763	    # AIX install.  It has an incompatible calling convention.
1764	    :
1765	  elif test $ac_prog = install &&
1766	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1767	    # program-specific install script used by HP pwplus--don't use.
1768	    :
1769	  else
1770	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1771	    break 3
1772	  fi
1773	fi
1774      done
1775    done
1776    ;;
1777esac
1778done
1779IFS=$as_save_IFS
1780
1781
1782fi
1783  if test "${ac_cv_path_install+set}" = set; then
1784    INSTALL=$ac_cv_path_install
1785  else
1786    # As a last resort, use the slow shell script.  Don't cache a
1787    # value for INSTALL within a source directory, because that will
1788    # break other packages using the cache if that directory is
1789    # removed, or if the value is a relative name.
1790    INSTALL=$ac_install_sh
1791  fi
1792fi
1793{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1794echo "${ECHO_T}$INSTALL" >&6; }
1795
1796# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1797# It thinks the first close brace ends the variable substitution.
1798test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1799
1800test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1801
1802test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1803
1804am__api_version='1.10'
1805
1806{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1807echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1808# Just in case
1809sleep 1
1810echo timestamp > conftest.file
1811# Do `set' in a subshell so we don't clobber the current shell's
1812# arguments.  Must try -L first in case configure is actually a
1813# symlink; some systems play weird games with the mod time of symlinks
1814# (eg FreeBSD returns the mod time of the symlink's containing
1815# directory).
1816if (
1817   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1818   if test "$*" = "X"; then
1819      # -L didn't work.
1820      set X `ls -t $srcdir/configure conftest.file`
1821   fi
1822   rm -f conftest.file
1823   if test "$*" != "X $srcdir/configure conftest.file" \
1824      && test "$*" != "X conftest.file $srcdir/configure"; then
1825
1826      # If neither matched, then we have a broken ls.  This can happen
1827      # if, for instance, CONFIG_SHELL is bash and it inherits a
1828      # broken ls alias from the environment.  This has actually
1829      # happened.  Such a system could not be considered "sane".
1830      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1831alias in your environment" >&5
1832echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1833alias in your environment" >&2;}
1834   { (exit 1); exit 1; }; }
1835   fi
1836
1837   test "$2" = conftest.file
1838   )
1839then
1840   # Ok.
1841   :
1842else
1843   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1844Check your system clock" >&5
1845echo "$as_me: error: newly created file is older than distributed files!
1846Check your system clock" >&2;}
1847   { (exit 1); exit 1; }; }
1848fi
1849{ echo "$as_me:$LINENO: result: yes" >&5
1850echo "${ECHO_T}yes" >&6; }
1851test "$program_prefix" != NONE &&
1852  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1853# Use a double $ so make ignores it.
1854test "$program_suffix" != NONE &&
1855  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1856# Double any \ or $.  echo might interpret backslashes.
1857# By default was `s,x,x', remove it if useless.
1858cat <<\_ACEOF >conftest.sed
1859s/[\\$]/&&/g;s/;s,x,x,$//
1860_ACEOF
1861program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1862rm -f conftest.sed
1863
1864# expand $ac_aux_dir to an absolute path
1865am_aux_dir=`cd $ac_aux_dir && pwd`
1866
1867test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1868# Use eval to expand $SHELL
1869if eval "$MISSING --run true"; then
1870  am_missing_run="$MISSING --run "
1871else
1872  am_missing_run=
1873  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1874echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1875fi
1876
1877{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1878echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1879if test -z "$MKDIR_P"; then
1880  if test "${ac_cv_path_mkdir+set}" = set; then
1881  echo $ECHO_N "(cached) $ECHO_C" >&6
1882else
1883  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1884for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1885do
1886  IFS=$as_save_IFS
1887  test -z "$as_dir" && as_dir=.
1888  for ac_prog in mkdir gmkdir; do
1889	 for ac_exec_ext in '' $ac_executable_extensions; do
1890	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1891	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1892	     'mkdir (GNU coreutils) '* | \
1893	     'mkdir (coreutils) '* | \
1894	     'mkdir (fileutils) '4.1*)
1895	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1896	       break 3;;
1897	   esac
1898	 done
1899       done
1900done
1901IFS=$as_save_IFS
1902
1903fi
1904
1905  if test "${ac_cv_path_mkdir+set}" = set; then
1906    MKDIR_P="$ac_cv_path_mkdir -p"
1907  else
1908    # As a last resort, use the slow shell script.  Don't cache a
1909    # value for MKDIR_P within a source directory, because that will
1910    # break other packages using the cache if that directory is
1911    # removed, or if the value is a relative name.
1912    test -d ./--version && rmdir ./--version
1913    MKDIR_P="$ac_install_sh -d"
1914  fi
1915fi
1916{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1917echo "${ECHO_T}$MKDIR_P" >&6; }
1918
1919mkdir_p="$MKDIR_P"
1920case $mkdir_p in
1921  [\\/$]* | ?:[\\/]*) ;;
1922  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1923esac
1924
1925for ac_prog in gawk mawk nawk awk
1926do
1927  # Extract the first word of "$ac_prog", so it can be a program name with args.
1928set dummy $ac_prog; ac_word=$2
1929{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1930echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1931if test "${ac_cv_prog_AWK+set}" = set; then
1932  echo $ECHO_N "(cached) $ECHO_C" >&6
1933else
1934  if test -n "$AWK"; then
1935  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1936else
1937as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938for as_dir in $PATH
1939do
1940  IFS=$as_save_IFS
1941  test -z "$as_dir" && as_dir=.
1942  for ac_exec_ext in '' $ac_executable_extensions; do
1943  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1944    ac_cv_prog_AWK="$ac_prog"
1945    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946    break 2
1947  fi
1948done
1949done
1950IFS=$as_save_IFS
1951
1952fi
1953fi
1954AWK=$ac_cv_prog_AWK
1955if test -n "$AWK"; then
1956  { echo "$as_me:$LINENO: result: $AWK" >&5
1957echo "${ECHO_T}$AWK" >&6; }
1958else
1959  { echo "$as_me:$LINENO: result: no" >&5
1960echo "${ECHO_T}no" >&6; }
1961fi
1962
1963
1964  test -n "$AWK" && break
1965done
1966
1967{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1968echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1969set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1970if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1971  echo $ECHO_N "(cached) $ECHO_C" >&6
1972else
1973  cat >conftest.make <<\_ACEOF
1974SHELL = /bin/sh
1975all:
1976	@echo '@@@%%%=$(MAKE)=@@@%%%'
1977_ACEOF
1978# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1979case `${MAKE-make} -f conftest.make 2>/dev/null` in
1980  *@@@%%%=?*=@@@%%%*)
1981    eval ac_cv_prog_make_${ac_make}_set=yes;;
1982  *)
1983    eval ac_cv_prog_make_${ac_make}_set=no;;
1984esac
1985rm -f conftest.make
1986fi
1987if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1988  { echo "$as_me:$LINENO: result: yes" >&5
1989echo "${ECHO_T}yes" >&6; }
1990  SET_MAKE=
1991else
1992  { echo "$as_me:$LINENO: result: no" >&5
1993echo "${ECHO_T}no" >&6; }
1994  SET_MAKE="MAKE=${MAKE-make}"
1995fi
1996
1997rm -rf .tst 2>/dev/null
1998mkdir .tst 2>/dev/null
1999if test -d .tst; then
2000  am__leading_dot=.
2001else
2002  am__leading_dot=_
2003fi
2004rmdir .tst 2>/dev/null
2005
2006if test "`cd $srcdir && pwd`" != "`pwd`"; then
2007  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2008  # is not polluted with repeated "-I."
2009  am__isrc=' -I$(srcdir)'
2010  # test to see if srcdir already configured
2011  if test -f $srcdir/config.status; then
2012    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2013echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2014   { (exit 1); exit 1; }; }
2015  fi
2016fi
2017
2018# test whether we have cygpath
2019if test -z "$CYGPATH_W"; then
2020  if (cygpath --version) >/dev/null 2>/dev/null; then
2021    CYGPATH_W='cygpath -w'
2022  else
2023    CYGPATH_W=echo
2024  fi
2025fi
2026
2027
2028# Define the identity of the package.
2029 PACKAGE='asteroids3d'
2030 VERSION='0.5.1'
2031
2032
2033cat >>confdefs.h <<_ACEOF
2034#define PACKAGE "$PACKAGE"
2035_ACEOF
2036
2037
2038cat >>confdefs.h <<_ACEOF
2039#define VERSION "$VERSION"
2040_ACEOF
2041
2042# Some tools Automake needs.
2043
2044ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2045
2046
2047AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2048
2049
2050AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2051
2052
2053AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2054
2055
2056MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2057
2058install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2059
2060# Installed binaries are usually stripped using `strip' when the user
2061# run `make install-strip'.  However `strip' might not be the right
2062# tool to use in cross-compilation environments, therefore Automake
2063# will honor the `STRIP' environment variable to overrule this program.
2064if test "$cross_compiling" != no; then
2065  if test -n "$ac_tool_prefix"; then
2066  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2067set dummy ${ac_tool_prefix}strip; ac_word=$2
2068{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2069echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2070if test "${ac_cv_prog_STRIP+set}" = set; then
2071  echo $ECHO_N "(cached) $ECHO_C" >&6
2072else
2073  if test -n "$STRIP"; then
2074  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2075else
2076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077for as_dir in $PATH
2078do
2079  IFS=$as_save_IFS
2080  test -z "$as_dir" && as_dir=.
2081  for ac_exec_ext in '' $ac_executable_extensions; do
2082  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2083    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2084    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2085    break 2
2086  fi
2087done
2088done
2089IFS=$as_save_IFS
2090
2091fi
2092fi
2093STRIP=$ac_cv_prog_STRIP
2094if test -n "$STRIP"; then
2095  { echo "$as_me:$LINENO: result: $STRIP" >&5
2096echo "${ECHO_T}$STRIP" >&6; }
2097else
2098  { echo "$as_me:$LINENO: result: no" >&5
2099echo "${ECHO_T}no" >&6; }
2100fi
2101
2102
2103fi
2104if test -z "$ac_cv_prog_STRIP"; then
2105  ac_ct_STRIP=$STRIP
2106  # Extract the first word of "strip", so it can be a program name with args.
2107set dummy strip; ac_word=$2
2108{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2109echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2110if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2111  echo $ECHO_N "(cached) $ECHO_C" >&6
2112else
2113  if test -n "$ac_ct_STRIP"; then
2114  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2115else
2116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117for as_dir in $PATH
2118do
2119  IFS=$as_save_IFS
2120  test -z "$as_dir" && as_dir=.
2121  for ac_exec_ext in '' $ac_executable_extensions; do
2122  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2123    ac_cv_prog_ac_ct_STRIP="strip"
2124    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2125    break 2
2126  fi
2127done
2128done
2129IFS=$as_save_IFS
2130
2131fi
2132fi
2133ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2134if test -n "$ac_ct_STRIP"; then
2135  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2136echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2137else
2138  { echo "$as_me:$LINENO: result: no" >&5
2139echo "${ECHO_T}no" >&6; }
2140fi
2141
2142  if test "x$ac_ct_STRIP" = x; then
2143    STRIP=":"
2144  else
2145    case $cross_compiling:$ac_tool_warned in
2146yes:)
2147{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2148whose name does not start with the host triplet.  If you think this
2149configuration is useful to you, please write to autoconf@gnu.org." >&5
2150echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2151whose name does not start with the host triplet.  If you think this
2152configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2153ac_tool_warned=yes ;;
2154esac
2155    STRIP=$ac_ct_STRIP
2156  fi
2157else
2158  STRIP="$ac_cv_prog_STRIP"
2159fi
2160
2161fi
2162INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2163
2164# We need awk for the "check" target.  The system "awk" is bad on
2165# some platforms.
2166# Always define AMTAR for backward compatibility.
2167
2168AMTAR=${AMTAR-"${am_missing_run}tar"}
2169
2170am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2171
2172
2173
2174
2175
2176ac_ext=c
2177ac_cpp='$CPP $CPPFLAGS'
2178ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2179ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2180ac_compiler_gnu=$ac_cv_c_compiler_gnu
2181if test -n "$ac_tool_prefix"; then
2182  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2183set dummy ${ac_tool_prefix}gcc; ac_word=$2
2184{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2185echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2186if test "${ac_cv_prog_CC+set}" = set; then
2187  echo $ECHO_N "(cached) $ECHO_C" >&6
2188else
2189  if test -n "$CC"; then
2190  ac_cv_prog_CC="$CC" # Let the user override the test.
2191else
2192as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193for as_dir in $PATH
2194do
2195  IFS=$as_save_IFS
2196  test -z "$as_dir" && as_dir=.
2197  for ac_exec_ext in '' $ac_executable_extensions; do
2198  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2199    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2200    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2201    break 2
2202  fi
2203done
2204done
2205IFS=$as_save_IFS
2206
2207fi
2208fi
2209CC=$ac_cv_prog_CC
2210if test -n "$CC"; then
2211  { echo "$as_me:$LINENO: result: $CC" >&5
2212echo "${ECHO_T}$CC" >&6; }
2213else
2214  { echo "$as_me:$LINENO: result: no" >&5
2215echo "${ECHO_T}no" >&6; }
2216fi
2217
2218
2219fi
2220if test -z "$ac_cv_prog_CC"; then
2221  ac_ct_CC=$CC
2222  # Extract the first word of "gcc", so it can be a program name with args.
2223set dummy gcc; ac_word=$2
2224{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2225echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2226if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2227  echo $ECHO_N "(cached) $ECHO_C" >&6
2228else
2229  if test -n "$ac_ct_CC"; then
2230  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2231else
2232as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233for as_dir in $PATH
2234do
2235  IFS=$as_save_IFS
2236  test -z "$as_dir" && as_dir=.
2237  for ac_exec_ext in '' $ac_executable_extensions; do
2238  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2239    ac_cv_prog_ac_ct_CC="gcc"
2240    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2241    break 2
2242  fi
2243done
2244done
2245IFS=$as_save_IFS
2246
2247fi
2248fi
2249ac_ct_CC=$ac_cv_prog_ac_ct_CC
2250if test -n "$ac_ct_CC"; then
2251  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2252echo "${ECHO_T}$ac_ct_CC" >&6; }
2253else
2254  { echo "$as_me:$LINENO: result: no" >&5
2255echo "${ECHO_T}no" >&6; }
2256fi
2257
2258  if test "x$ac_ct_CC" = x; then
2259    CC=""
2260  else
2261    case $cross_compiling:$ac_tool_warned in
2262yes:)
2263{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2264whose name does not start with the host triplet.  If you think this
2265configuration is useful to you, please write to autoconf@gnu.org." >&5
2266echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2267whose name does not start with the host triplet.  If you think this
2268configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2269ac_tool_warned=yes ;;
2270esac
2271    CC=$ac_ct_CC
2272  fi
2273else
2274  CC="$ac_cv_prog_CC"
2275fi
2276
2277if test -z "$CC"; then
2278          if test -n "$ac_tool_prefix"; then
2279    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2280set dummy ${ac_tool_prefix}cc; ac_word=$2
2281{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2282echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2283if test "${ac_cv_prog_CC+set}" = set; then
2284  echo $ECHO_N "(cached) $ECHO_C" >&6
2285else
2286  if test -n "$CC"; then
2287  ac_cv_prog_CC="$CC" # Let the user override the test.
2288else
2289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290for as_dir in $PATH
2291do
2292  IFS=$as_save_IFS
2293  test -z "$as_dir" && as_dir=.
2294  for ac_exec_ext in '' $ac_executable_extensions; do
2295  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2296    ac_cv_prog_CC="${ac_tool_prefix}cc"
2297    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2298    break 2
2299  fi
2300done
2301done
2302IFS=$as_save_IFS
2303
2304fi
2305fi
2306CC=$ac_cv_prog_CC
2307if test -n "$CC"; then
2308  { echo "$as_me:$LINENO: result: $CC" >&5
2309echo "${ECHO_T}$CC" >&6; }
2310else
2311  { echo "$as_me:$LINENO: result: no" >&5
2312echo "${ECHO_T}no" >&6; }
2313fi
2314
2315
2316  fi
2317fi
2318if test -z "$CC"; then
2319  # Extract the first word of "cc", so it can be a program name with args.
2320set dummy cc; ac_word=$2
2321{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2322echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2323if test "${ac_cv_prog_CC+set}" = set; then
2324  echo $ECHO_N "(cached) $ECHO_C" >&6
2325else
2326  if test -n "$CC"; then
2327  ac_cv_prog_CC="$CC" # Let the user override the test.
2328else
2329  ac_prog_rejected=no
2330as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331for as_dir in $PATH
2332do
2333  IFS=$as_save_IFS
2334  test -z "$as_dir" && as_dir=.
2335  for ac_exec_ext in '' $ac_executable_extensions; do
2336  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2337    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2338       ac_prog_rejected=yes
2339       continue
2340     fi
2341    ac_cv_prog_CC="cc"
2342    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2343    break 2
2344  fi
2345done
2346done
2347IFS=$as_save_IFS
2348
2349if test $ac_prog_rejected = yes; then
2350  # We found a bogon in the path, so make sure we never use it.
2351  set dummy $ac_cv_prog_CC
2352  shift
2353  if test $# != 0; then
2354    # We chose a different compiler from the bogus one.
2355    # However, it has the same basename, so the bogon will be chosen
2356    # first if we set CC to just the basename; use the full file name.
2357    shift
2358    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2359  fi
2360fi
2361fi
2362fi
2363CC=$ac_cv_prog_CC
2364if test -n "$CC"; then
2365  { echo "$as_me:$LINENO: result: $CC" >&5
2366echo "${ECHO_T}$CC" >&6; }
2367else
2368  { echo "$as_me:$LINENO: result: no" >&5
2369echo "${ECHO_T}no" >&6; }
2370fi
2371
2372
2373fi
2374if test -z "$CC"; then
2375  if test -n "$ac_tool_prefix"; then
2376  for ac_prog in cl.exe
2377  do
2378    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2379set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2380{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2381echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2382if test "${ac_cv_prog_CC+set}" = set; then
2383  echo $ECHO_N "(cached) $ECHO_C" >&6
2384else
2385  if test -n "$CC"; then
2386  ac_cv_prog_CC="$CC" # Let the user override the test.
2387else
2388as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2389for as_dir in $PATH
2390do
2391  IFS=$as_save_IFS
2392  test -z "$as_dir" && as_dir=.
2393  for ac_exec_ext in '' $ac_executable_extensions; do
2394  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2395    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2396    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2397    break 2
2398  fi
2399done
2400done
2401IFS=$as_save_IFS
2402
2403fi
2404fi
2405CC=$ac_cv_prog_CC
2406if test -n "$CC"; then
2407  { echo "$as_me:$LINENO: result: $CC" >&5
2408echo "${ECHO_T}$CC" >&6; }
2409else
2410  { echo "$as_me:$LINENO: result: no" >&5
2411echo "${ECHO_T}no" >&6; }
2412fi
2413
2414
2415    test -n "$CC" && break
2416  done
2417fi
2418if test -z "$CC"; then
2419  ac_ct_CC=$CC
2420  for ac_prog in cl.exe
2421do
2422  # Extract the first word of "$ac_prog", so it can be a program name with args.
2423set dummy $ac_prog; ac_word=$2
2424{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2425echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2426if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2427  echo $ECHO_N "(cached) $ECHO_C" >&6
2428else
2429  if test -n "$ac_ct_CC"; then
2430  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2431else
2432as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2433for as_dir in $PATH
2434do
2435  IFS=$as_save_IFS
2436  test -z "$as_dir" && as_dir=.
2437  for ac_exec_ext in '' $ac_executable_extensions; do
2438  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2439    ac_cv_prog_ac_ct_CC="$ac_prog"
2440    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2441    break 2
2442  fi
2443done
2444done
2445IFS=$as_save_IFS
2446
2447fi
2448fi
2449ac_ct_CC=$ac_cv_prog_ac_ct_CC
2450if test -n "$ac_ct_CC"; then
2451  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2452echo "${ECHO_T}$ac_ct_CC" >&6; }
2453else
2454  { echo "$as_me:$LINENO: result: no" >&5
2455echo "${ECHO_T}no" >&6; }
2456fi
2457
2458
2459  test -n "$ac_ct_CC" && break
2460done
2461
2462  if test "x$ac_ct_CC" = x; then
2463    CC=""
2464  else
2465    case $cross_compiling:$ac_tool_warned in
2466yes:)
2467{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2468whose name does not start with the host triplet.  If you think this
2469configuration is useful to you, please write to autoconf@gnu.org." >&5
2470echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2471whose name does not start with the host triplet.  If you think this
2472configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2473ac_tool_warned=yes ;;
2474esac
2475    CC=$ac_ct_CC
2476  fi
2477fi
2478
2479fi
2480
2481
2482test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2483See \`config.log' for more details." >&5
2484echo "$as_me: error: no acceptable C compiler found in \$PATH
2485See \`config.log' for more details." >&2;}
2486   { (exit 1); exit 1; }; }
2487
2488# Provide some information about the compiler.
2489echo "$as_me:$LINENO: checking for C compiler version" >&5
2490ac_compiler=`set X $ac_compile; echo $2`
2491{ (ac_try="$ac_compiler --version >&5"
2492case "(($ac_try" in
2493  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2494  *) ac_try_echo=$ac_try;;
2495esac
2496eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2497  (eval "$ac_compiler --version >&5") 2>&5
2498  ac_status=$?
2499  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500  (exit $ac_status); }
2501{ (ac_try="$ac_compiler -v >&5"
2502case "(($ac_try" in
2503  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2504  *) ac_try_echo=$ac_try;;
2505esac
2506eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2507  (eval "$ac_compiler -v >&5") 2>&5
2508  ac_status=$?
2509  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510  (exit $ac_status); }
2511{ (ac_try="$ac_compiler -V >&5"
2512case "(($ac_try" in
2513  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2514  *) ac_try_echo=$ac_try;;
2515esac
2516eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2517  (eval "$ac_compiler -V >&5") 2>&5
2518  ac_status=$?
2519  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520  (exit $ac_status); }
2521
2522cat >conftest.$ac_ext <<_ACEOF
2523/* confdefs.h.  */
2524_ACEOF
2525cat confdefs.h >>conftest.$ac_ext
2526cat >>conftest.$ac_ext <<_ACEOF
2527/* end confdefs.h.  */
2528
2529int
2530main ()
2531{
2532
2533  ;
2534  return 0;
2535}
2536_ACEOF
2537ac_clean_files_save=$ac_clean_files
2538ac_clean_files="$ac_clean_files a.out a.exe b.out"
2539# Try to create an executable without -o first, disregard a.out.
2540# It will help us diagnose broken compilers, and finding out an intuition
2541# of exeext.
2542{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2543echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2544ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2545#
2546# List of possible output files, starting from the most likely.
2547# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2548# only as a last resort.  b.out is created by i960 compilers.
2549ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2550#
2551# The IRIX 6 linker writes into existing files which may not be
2552# executable, retaining their permissions.  Remove them first so a
2553# subsequent execution test works.
2554ac_rmfiles=
2555for ac_file in $ac_files
2556do
2557  case $ac_file in
2558    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2559    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2560  esac
2561done
2562rm -f $ac_rmfiles
2563
2564if { (ac_try="$ac_link_default"
2565case "(($ac_try" in
2566  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567  *) ac_try_echo=$ac_try;;
2568esac
2569eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2570  (eval "$ac_link_default") 2>&5
2571  ac_status=$?
2572  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573  (exit $ac_status); }; then
2574  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2575# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2576# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2577# so that the user can short-circuit this test for compilers unknown to
2578# Autoconf.
2579for ac_file in $ac_files ''
2580do
2581  test -f "$ac_file" || continue
2582  case $ac_file in
2583    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2584	;;
2585    [ab].out )
2586	# We found the default executable, but exeext='' is most
2587	# certainly right.
2588	break;;
2589    *.* )
2590        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2591	then :; else
2592	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2593	fi
2594	# We set ac_cv_exeext here because the later test for it is not
2595	# safe: cross compilers may not add the suffix if given an `-o'
2596	# argument, so we may need to know it at that point already.
2597	# Even if this section looks crufty: it has the advantage of
2598	# actually working.
2599	break;;
2600    * )
2601	break;;
2602  esac
2603done
2604test "$ac_cv_exeext" = no && ac_cv_exeext=
2605
2606else
2607  ac_file=''
2608fi
2609
2610{ echo "$as_me:$LINENO: result: $ac_file" >&5
2611echo "${ECHO_T}$ac_file" >&6; }
2612if test -z "$ac_file"; then
2613  echo "$as_me: failed program was:" >&5
2614sed 's/^/| /' conftest.$ac_ext >&5
2615
2616{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2617See \`config.log' for more details." >&5
2618echo "$as_me: error: C compiler cannot create executables
2619See \`config.log' for more details." >&2;}
2620   { (exit 77); exit 77; }; }
2621fi
2622
2623ac_exeext=$ac_cv_exeext
2624
2625# Check that the compiler produces executables we can run.  If not, either
2626# the compiler is broken, or we cross compile.
2627{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2628echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2629# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2630# If not cross compiling, check that we can run a simple program.
2631if test "$cross_compiling" != yes; then
2632  if { ac_try='./$ac_file'
2633  { (case "(($ac_try" in
2634  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2635  *) ac_try_echo=$ac_try;;
2636esac
2637eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2638  (eval "$ac_try") 2>&5
2639  ac_status=$?
2640  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641  (exit $ac_status); }; }; then
2642    cross_compiling=no
2643  else
2644    if test "$cross_compiling" = maybe; then
2645	cross_compiling=yes
2646    else
2647	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2648If you meant to cross compile, use \`--host'.
2649See \`config.log' for more details." >&5
2650echo "$as_me: error: cannot run C compiled programs.
2651If you meant to cross compile, use \`--host'.
2652See \`config.log' for more details." >&2;}
2653   { (exit 1); exit 1; }; }
2654    fi
2655  fi
2656fi
2657{ echo "$as_me:$LINENO: result: yes" >&5
2658echo "${ECHO_T}yes" >&6; }
2659
2660rm -f a.out a.exe conftest$ac_cv_exeext b.out
2661ac_clean_files=$ac_clean_files_save
2662# Check that the compiler produces executables we can run.  If not, either
2663# the compiler is broken, or we cross compile.
2664{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2665echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2666{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2667echo "${ECHO_T}$cross_compiling" >&6; }
2668
2669{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2670echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2671if { (ac_try="$ac_link"
2672case "(($ac_try" in
2673  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674  *) ac_try_echo=$ac_try;;
2675esac
2676eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2677  (eval "$ac_link") 2>&5
2678  ac_status=$?
2679  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680  (exit $ac_status); }; then
2681  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2682# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2683# work properly (i.e., refer to `conftest.exe'), while it won't with
2684# `rm'.
2685for ac_file in conftest.exe conftest conftest.*; do
2686  test -f "$ac_file" || continue
2687  case $ac_file in
2688    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2689    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2690	  break;;
2691    * ) break;;
2692  esac
2693done
2694else
2695  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2696See \`config.log' for more details." >&5
2697echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2698See \`config.log' for more details." >&2;}
2699   { (exit 1); exit 1; }; }
2700fi
2701
2702rm -f conftest$ac_cv_exeext
2703{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2704echo "${ECHO_T}$ac_cv_exeext" >&6; }
2705
2706rm -f conftest.$ac_ext
2707EXEEXT=$ac_cv_exeext
2708ac_exeext=$EXEEXT
2709{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2710echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2711if test "${ac_cv_objext+set}" = set; then
2712  echo $ECHO_N "(cached) $ECHO_C" >&6
2713else
2714  cat >conftest.$ac_ext <<_ACEOF
2715/* confdefs.h.  */
2716_ACEOF
2717cat confdefs.h >>conftest.$ac_ext
2718cat >>conftest.$ac_ext <<_ACEOF
2719/* end confdefs.h.  */
2720
2721int
2722main ()
2723{
2724
2725  ;
2726  return 0;
2727}
2728_ACEOF
2729rm -f conftest.o conftest.obj
2730if { (ac_try="$ac_compile"
2731case "(($ac_try" in
2732  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733  *) ac_try_echo=$ac_try;;
2734esac
2735eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2736  (eval "$ac_compile") 2>&5
2737  ac_status=$?
2738  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739  (exit $ac_status); }; then
2740  for ac_file in conftest.o conftest.obj conftest.*; do
2741  test -f "$ac_file" || continue;
2742  case $ac_file in
2743    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2744    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2745       break;;
2746  esac
2747done
2748else
2749  echo "$as_me: failed program was:" >&5
2750sed 's/^/| /' conftest.$ac_ext >&5
2751
2752{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2753See \`config.log' for more details." >&5
2754echo "$as_me: error: cannot compute suffix of object files: cannot compile
2755See \`config.log' for more details." >&2;}
2756   { (exit 1); exit 1; }; }
2757fi
2758
2759rm -f conftest.$ac_cv_objext conftest.$ac_ext
2760fi
2761{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2762echo "${ECHO_T}$ac_cv_objext" >&6; }
2763OBJEXT=$ac_cv_objext
2764ac_objext=$OBJEXT
2765{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2766echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2767if test "${ac_cv_c_compiler_gnu+set}" = set; then
2768  echo $ECHO_N "(cached) $ECHO_C" >&6
2769else
2770  cat >conftest.$ac_ext <<_ACEOF
2771/* confdefs.h.  */
2772_ACEOF
2773cat confdefs.h >>conftest.$ac_ext
2774cat >>conftest.$ac_ext <<_ACEOF
2775/* end confdefs.h.  */
2776
2777int
2778main ()
2779{
2780#ifndef __GNUC__
2781       choke me
2782#endif
2783
2784  ;
2785  return 0;
2786}
2787_ACEOF
2788rm -f conftest.$ac_objext
2789if { (ac_try="$ac_compile"
2790case "(($ac_try" in
2791  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792  *) ac_try_echo=$ac_try;;
2793esac
2794eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2795  (eval "$ac_compile") 2>conftest.er1
2796  ac_status=$?
2797  grep -v '^ *+' conftest.er1 >conftest.err
2798  rm -f conftest.er1
2799  cat conftest.err >&5
2800  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801  (exit $ac_status); } && {
2802	 test -z "$ac_c_werror_flag" ||
2803	 test ! -s conftest.err
2804       } && test -s conftest.$ac_objext; then
2805  ac_compiler_gnu=yes
2806else
2807  echo "$as_me: failed program was:" >&5
2808sed 's/^/| /' conftest.$ac_ext >&5
2809
2810	ac_compiler_gnu=no
2811fi
2812
2813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814ac_cv_c_compiler_gnu=$ac_compiler_gnu
2815
2816fi
2817{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2818echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2819GCC=`test $ac_compiler_gnu = yes && echo yes`
2820ac_test_CFLAGS=${CFLAGS+set}
2821ac_save_CFLAGS=$CFLAGS
2822{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2823echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2824if test "${ac_cv_prog_cc_g+set}" = set; then
2825  echo $ECHO_N "(cached) $ECHO_C" >&6
2826else
2827  ac_save_c_werror_flag=$ac_c_werror_flag
2828   ac_c_werror_flag=yes
2829   ac_cv_prog_cc_g=no
2830   CFLAGS="-g"
2831   cat >conftest.$ac_ext <<_ACEOF
2832/* confdefs.h.  */
2833_ACEOF
2834cat confdefs.h >>conftest.$ac_ext
2835cat >>conftest.$ac_ext <<_ACEOF
2836/* end confdefs.h.  */
2837
2838int
2839main ()
2840{
2841
2842  ;
2843  return 0;
2844}
2845_ACEOF
2846rm -f conftest.$ac_objext
2847if { (ac_try="$ac_compile"
2848case "(($ac_try" in
2849  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2850  *) ac_try_echo=$ac_try;;
2851esac
2852eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2853  (eval "$ac_compile") 2>conftest.er1
2854  ac_status=$?
2855  grep -v '^ *+' conftest.er1 >conftest.err
2856  rm -f conftest.er1
2857  cat conftest.err >&5
2858  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859  (exit $ac_status); } && {
2860	 test -z "$ac_c_werror_flag" ||
2861	 test ! -s conftest.err
2862       } && test -s conftest.$ac_objext; then
2863  ac_cv_prog_cc_g=yes
2864else
2865  echo "$as_me: failed program was:" >&5
2866sed 's/^/| /' conftest.$ac_ext >&5
2867
2868	CFLAGS=""
2869      cat >conftest.$ac_ext <<_ACEOF
2870/* confdefs.h.  */
2871_ACEOF
2872cat confdefs.h >>conftest.$ac_ext
2873cat >>conftest.$ac_ext <<_ACEOF
2874/* end confdefs.h.  */
2875
2876int
2877main ()
2878{
2879
2880  ;
2881  return 0;
2882}
2883_ACEOF
2884rm -f conftest.$ac_objext
2885if { (ac_try="$ac_compile"
2886case "(($ac_try" in
2887  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2888  *) ac_try_echo=$ac_try;;
2889esac
2890eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2891  (eval "$ac_compile") 2>conftest.er1
2892  ac_status=$?
2893  grep -v '^ *+' conftest.er1 >conftest.err
2894  rm -f conftest.er1
2895  cat conftest.err >&5
2896  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897  (exit $ac_status); } && {
2898	 test -z "$ac_c_werror_flag" ||
2899	 test ! -s conftest.err
2900       } && test -s conftest.$ac_objext; then
2901  :
2902else
2903  echo "$as_me: failed program was:" >&5
2904sed 's/^/| /' conftest.$ac_ext >&5
2905
2906	ac_c_werror_flag=$ac_save_c_werror_flag
2907	 CFLAGS="-g"
2908	 cat >conftest.$ac_ext <<_ACEOF
2909/* confdefs.h.  */
2910_ACEOF
2911cat confdefs.h >>conftest.$ac_ext
2912cat >>conftest.$ac_ext <<_ACEOF
2913/* end confdefs.h.  */
2914
2915int
2916main ()
2917{
2918
2919  ;
2920  return 0;
2921}
2922_ACEOF
2923rm -f conftest.$ac_objext
2924if { (ac_try="$ac_compile"
2925case "(($ac_try" in
2926  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927  *) ac_try_echo=$ac_try;;
2928esac
2929eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2930  (eval "$ac_compile") 2>conftest.er1
2931  ac_status=$?
2932  grep -v '^ *+' conftest.er1 >conftest.err
2933  rm -f conftest.er1
2934  cat conftest.err >&5
2935  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936  (exit $ac_status); } && {
2937	 test -z "$ac_c_werror_flag" ||
2938	 test ! -s conftest.err
2939       } && test -s conftest.$ac_objext; then
2940  ac_cv_prog_cc_g=yes
2941else
2942  echo "$as_me: failed program was:" >&5
2943sed 's/^/| /' conftest.$ac_ext >&5
2944
2945
2946fi
2947
2948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2949fi
2950
2951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2952fi
2953
2954rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2955   ac_c_werror_flag=$ac_save_c_werror_flag
2956fi
2957{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2958echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2959if test "$ac_test_CFLAGS" = set; then
2960  CFLAGS=$ac_save_CFLAGS
2961elif test $ac_cv_prog_cc_g = yes; then
2962  if test "$GCC" = yes; then
2963    CFLAGS="-g -O2"
2964  else
2965    CFLAGS="-g"
2966  fi
2967else
2968  if test "$GCC" = yes; then
2969    CFLAGS="-O2"
2970  else
2971    CFLAGS=
2972  fi
2973fi
2974{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2975echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2976if test "${ac_cv_prog_cc_c89+set}" = set; then
2977  echo $ECHO_N "(cached) $ECHO_C" >&6
2978else
2979  ac_cv_prog_cc_c89=no
2980ac_save_CC=$CC
2981cat >conftest.$ac_ext <<_ACEOF
2982/* confdefs.h.  */
2983_ACEOF
2984cat confdefs.h >>conftest.$ac_ext
2985cat >>conftest.$ac_ext <<_ACEOF
2986/* end confdefs.h.  */
2987#include <stdarg.h>
2988#include <stdio.h>
2989#include <sys/types.h>
2990#include <sys/stat.h>
2991/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2992struct buf { int x; };
2993FILE * (*rcsopen) (struct buf *, struct stat *, int);
2994static char *e (p, i)
2995     char **p;
2996     int i;
2997{
2998  return p[i];
2999}
3000static char *f (char * (*g) (char **, int), char **p, ...)
3001{
3002  char *s;
3003  va_list v;
3004  va_start (v,p);
3005  s = g (p, va_arg (v,int));
3006  va_end (v);
3007  return s;
3008}
3009
3010/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3011   function prototypes and stuff, but not '\xHH' hex character constants.
3012   These don't provoke an error unfortunately, instead are silently treated
3013   as 'x'.  The following induces an error, until -std is added to get
3014   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3015   array size at least.  It's necessary to write '\x00'==0 to get something
3016   that's true only with -std.  */
3017int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3018
3019/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3020   inside strings and character constants.  */
3021#define FOO(x) 'x'
3022int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3023
3024int test (int i, double x);
3025struct s1 {int (*f) (int a);};
3026struct s2 {int (*f) (double a);};
3027int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3028int argc;
3029char **argv;
3030int
3031main ()
3032{
3033return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3034  ;
3035  return 0;
3036}
3037_ACEOF
3038for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3039	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3040do
3041  CC="$ac_save_CC $ac_arg"
3042  rm -f conftest.$ac_objext
3043if { (ac_try="$ac_compile"
3044case "(($ac_try" in
3045  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3046  *) ac_try_echo=$ac_try;;
3047esac
3048eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3049  (eval "$ac_compile") 2>conftest.er1
3050  ac_status=$?
3051  grep -v '^ *+' conftest.er1 >conftest.err
3052  rm -f conftest.er1
3053  cat conftest.err >&5
3054  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055  (exit $ac_status); } && {
3056	 test -z "$ac_c_werror_flag" ||
3057	 test ! -s conftest.err
3058       } && test -s conftest.$ac_objext; then
3059  ac_cv_prog_cc_c89=$ac_arg
3060else
3061  echo "$as_me: failed program was:" >&5
3062sed 's/^/| /' conftest.$ac_ext >&5
3063
3064
3065fi
3066
3067rm -f core conftest.err conftest.$ac_objext
3068  test "x$ac_cv_prog_cc_c89" != "xno" && break
3069done
3070rm -f conftest.$ac_ext
3071CC=$ac_save_CC
3072
3073fi
3074# AC_CACHE_VAL
3075case "x$ac_cv_prog_cc_c89" in
3076  x)
3077    { echo "$as_me:$LINENO: result: none needed" >&5
3078echo "${ECHO_T}none needed" >&6; } ;;
3079  xno)
3080    { echo "$as_me:$LINENO: result: unsupported" >&5
3081echo "${ECHO_T}unsupported" >&6; } ;;
3082  *)
3083    CC="$CC $ac_cv_prog_cc_c89"
3084    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3085echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3086esac
3087
3088
3089ac_ext=c
3090ac_cpp='$CPP $CPPFLAGS'
3091ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3092ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3093ac_compiler_gnu=$ac_cv_c_compiler_gnu
3094DEPDIR="${am__leading_dot}deps"
3095
3096ac_config_commands="$ac_config_commands depfiles"
3097
3098
3099am_make=${MAKE-make}
3100cat > confinc << 'END'
3101am__doit:
3102	@echo done
3103.PHONY: am__doit
3104END
3105# If we don't find an include directive, just comment out the code.
3106{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3107echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3108am__include="#"
3109am__quote=
3110_am_result=none
3111# First try GNU make style include.
3112echo "include confinc" > confmf
3113# We grep out `Entering directory' and `Leaving directory'
3114# messages which can occur if `w' ends up in MAKEFLAGS.
3115# In particular we don't look at `^make:' because GNU make might
3116# be invoked under some other name (usually "gmake"), in which
3117# case it prints its new name instead of `make'.
3118if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3119   am__include=include
3120   am__quote=
3121   _am_result=GNU
3122fi
3123# Now try BSD make style include.
3124if test "$am__include" = "#"; then
3125   echo '.include "confinc"' > confmf
3126   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3127      am__include=.include
3128      am__quote="\""
3129      _am_result=BSD
3130   fi
3131fi
3132
3133
3134{ echo "$as_me:$LINENO: result: $_am_result" >&5
3135echo "${ECHO_T}$_am_result" >&6; }
3136rm -f confinc confmf
3137
3138# Check whether --enable-dependency-tracking was given.
3139if test "${enable_dependency_tracking+set}" = set; then
3140  enableval=$enable_dependency_tracking;
3141fi
3142
3143if test "x$enable_dependency_tracking" != xno; then
3144  am_depcomp="$ac_aux_dir/depcomp"
3145  AMDEPBACKSLASH='\'
3146fi
3147 if test "x$enable_dependency_tracking" != xno; then
3148  AMDEP_TRUE=
3149  AMDEP_FALSE='#'
3150else
3151  AMDEP_TRUE='#'
3152  AMDEP_FALSE=
3153fi
3154
3155
3156
3157depcc="$CC"   am_compiler_list=
3158
3159{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3160echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3161if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3162  echo $ECHO_N "(cached) $ECHO_C" >&6
3163else
3164  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3165  # We make a subdir and do the tests there.  Otherwise we can end up
3166  # making bogus files that we don't know about and never remove.  For
3167  # instance it was reported that on HP-UX the gcc test will end up
3168  # making a dummy file named `D' -- because `-MD' means `put the output
3169  # in D'.
3170  mkdir conftest.dir
3171  # Copy depcomp to subdir because otherwise we won't find it if we're
3172  # using a relative directory.
3173  cp "$am_depcomp" conftest.dir
3174  cd conftest.dir
3175  # We will build objects and dependencies in a subdirectory because
3176  # it helps to detect inapplicable dependency modes.  For instance
3177  # both Tru64's cc and ICC support -MD to output dependencies as a
3178  # side effect of compilation, but ICC will put the dependencies in
3179  # the current directory while Tru64 will put them in the object
3180  # directory.
3181  mkdir sub
3182
3183  am_cv_CC_dependencies_compiler_type=none
3184  if test "$am_compiler_list" = ""; then
3185     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3186  fi
3187  for depmode in $am_compiler_list; do
3188    # Setup a source with many dependencies, because some compilers
3189    # like to wrap large dependency lists on column 80 (with \), and
3190    # we should not choose a depcomp mode which is confused by this.
3191    #
3192    # We need to recreate these files for each test, as the compiler may
3193    # overwrite some of them when testing with obscure command lines.
3194    # This happens at least with the AIX C compiler.
3195    : > sub/conftest.c
3196    for i in 1 2 3 4 5 6; do
3197      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3198      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3199      # Solaris 8's {/usr,}/bin/sh.
3200      touch sub/conftst$i.h
3201    done
3202    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3203
3204    case $depmode in
3205    nosideeffect)
3206      # after this tag, mechanisms are not by side-effect, so they'll
3207      # only be used when explicitly requested
3208      if test "x$enable_dependency_tracking" = xyes; then
3209	continue
3210      else
3211	break
3212      fi
3213      ;;
3214    none) break ;;
3215    esac
3216    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3217    # mode.  It turns out that the SunPro C++ compiler does not properly
3218    # handle `-M -o', and we need to detect this.
3219    if depmode=$depmode \
3220       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3221       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3222       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3223         >/dev/null 2>conftest.err &&
3224       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3225       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3226       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3227       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3228      # icc doesn't choke on unknown options, it will just issue warnings
3229      # or remarks (even with -Werror).  So we grep stderr for any message
3230      # that says an option was ignored or not supported.
3231      # When given -MP, icc 7.0 and 7.1 complain thusly:
3232      #   icc: Command line warning: ignoring option '-M'; no argument required
3233      # The diagnosis changed in icc 8.0:
3234      #   icc: Command line remark: option '-MP' not supported
3235      if (grep 'ignoring option' conftest.err ||
3236          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3237        am_cv_CC_dependencies_compiler_type=$depmode
3238        break
3239      fi
3240    fi
3241  done
3242
3243  cd ..
3244  rm -rf conftest.dir
3245else
3246  am_cv_CC_dependencies_compiler_type=none
3247fi
3248
3249fi
3250{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3251echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3252CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3253
3254 if
3255  test "x$enable_dependency_tracking" != xno \
3256  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3257  am__fastdepCC_TRUE=
3258  am__fastdepCC_FALSE='#'
3259else
3260  am__fastdepCC_TRUE='#'
3261  am__fastdepCC_FALSE=
3262fi
3263
3264
3265if test "x$CC" != xcc; then
3266  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3267echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
3268else
3269  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3270echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
3271fi
3272set dummy $CC; ac_cc=`echo $2 |
3273		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3274if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3275  echo $ECHO_N "(cached) $ECHO_C" >&6
3276else
3277  cat >conftest.$ac_ext <<_ACEOF
3278/* confdefs.h.  */
3279_ACEOF
3280cat confdefs.h >>conftest.$ac_ext
3281cat >>conftest.$ac_ext <<_ACEOF
3282/* end confdefs.h.  */
3283
3284int
3285main ()
3286{
3287
3288  ;
3289  return 0;
3290}
3291_ACEOF
3292# Make sure it works both with $CC and with simple cc.
3293# We do the test twice because some compilers refuse to overwrite an
3294# existing .o file with -o, though they will create one.
3295ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3296rm -f conftest2.*
3297if { (case "(($ac_try" in
3298  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3299  *) ac_try_echo=$ac_try;;
3300esac
3301eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3302  (eval "$ac_try") 2>&5
3303  ac_status=$?
3304  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305  (exit $ac_status); } &&
3306   test -f conftest2.$ac_objext && { (case "(($ac_try" in
3307  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308  *) ac_try_echo=$ac_try;;
3309esac
3310eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3311  (eval "$ac_try") 2>&5
3312  ac_status=$?
3313  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314  (exit $ac_status); };
3315then
3316  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3317  if test "x$CC" != xcc; then
3318    # Test first that cc exists at all.
3319    if { ac_try='cc -c conftest.$ac_ext >&5'
3320  { (case "(($ac_try" in
3321  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3322  *) ac_try_echo=$ac_try;;
3323esac
3324eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3325  (eval "$ac_try") 2>&5
3326  ac_status=$?
3327  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328  (exit $ac_status); }; }; then
3329      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3330      rm -f conftest2.*
3331      if { (case "(($ac_try" in
3332  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333  *) ac_try_echo=$ac_try;;
3334esac
3335eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3336  (eval "$ac_try") 2>&5
3337  ac_status=$?
3338  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339  (exit $ac_status); } &&
3340	 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3341  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342  *) ac_try_echo=$ac_try;;
3343esac
3344eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3345  (eval "$ac_try") 2>&5
3346  ac_status=$?
3347  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348  (exit $ac_status); };
3349      then
3350	# cc works too.
3351	:
3352      else
3353	# cc exists but doesn't like -o.
3354	eval ac_cv_prog_cc_${ac_cc}_c_o=no
3355      fi
3356    fi
3357  fi
3358else
3359  eval ac_cv_prog_cc_${ac_cc}_c_o=no
3360fi
3361rm -f core conftest*
3362
3363fi
3364if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3365  { echo "$as_me:$LINENO: result: yes" >&5
3366echo "${ECHO_T}yes" >&6; }
3367else
3368  { echo "$as_me:$LINENO: result: no" >&5
3369echo "${ECHO_T}no" >&6; }
3370
3371cat >>confdefs.h <<\_ACEOF
3372#define NO_MINUS_C_MINUS_O 1
3373_ACEOF
3374
3375fi
3376
3377# FIXME: we rely on the cache variable name because
3378# there is no other way.
3379set dummy $CC
3380ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3381if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3382   # Losing compiler, so override with the script.
3383   # FIXME: It is wrong to rewrite CC.
3384   # But if we don't then we get into trouble of one sort or another.
3385   # A longer-term fix would be to have automake use am__CC in this case,
3386   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3387   CC="$am_aux_dir/compile $CC"
3388fi
3389
3390
3391
3392
3393# Check whether --with-gamesdir was given.
3394if test "${with_gamesdir+set}" = set; then
3395  withval=$with_gamesdir; gamesdir="$withval"
3396else
3397  gamesdir='${exec_prefix}/games'
3398fi
3399
3400
3401# Check whether --with-gamedatadir was given.
3402if test "${with_gamedatadir+set}" = set; then
3403  withval=$with_gamedatadir; gamedatadir="$withval"
3404else
3405  gamedatadir='${exec_prefix}/games'
3406fi
3407
3408
3409
3410
3411regular_CFLAGS="-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 \
3412	-D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \
3413	-Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \
3414	-Winline -pipe"
3415
3416ac_config_files="$ac_config_files Makefile"
3417
3418cat >confcache <<\_ACEOF
3419# This file is a shell script that caches the results of configure
3420# tests run on this system so they can be shared between configure
3421# scripts and configure runs, see configure's option --config-cache.
3422# It is not useful on other systems.  If it contains results you don't
3423# want to keep, you may remove or edit it.
3424#
3425# config.status only pays attention to the cache file if you give it
3426# the --recheck option to rerun configure.
3427#
3428# `ac_cv_env_foo' variables (set or unset) will be overridden when
3429# loading this file, other *unset* `ac_cv_foo' will be assigned the
3430# following values.
3431
3432_ACEOF
3433
3434# The following way of writing the cache mishandles newlines in values,
3435# but we know of no workaround that is simple, portable, and efficient.
3436# So, we kill variables containing newlines.
3437# Ultrix sh set writes to stderr and can't be redirected directly,
3438# and sets the high bit in the cache file unless we assign to the vars.
3439(
3440  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3441    eval ac_val=\$$ac_var
3442    case $ac_val in #(
3443    *${as_nl}*)
3444      case $ac_var in #(
3445      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3446echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3447      esac
3448      case $ac_var in #(
3449      _ | IFS | as_nl) ;; #(
3450      *) $as_unset $ac_var ;;
3451      esac ;;
3452    esac
3453  done
3454
3455  (set) 2>&1 |
3456    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3457    *${as_nl}ac_space=\ *)
3458      # `set' does not quote correctly, so add quotes (double-quote
3459      # substitution turns \\\\ into \\, and sed turns \\ into \).
3460      sed -n \
3461	"s/'/'\\\\''/g;
3462	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3463      ;; #(
3464    *)
3465      # `set' quotes correctly as required by POSIX, so do not add quotes.
3466      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3467      ;;
3468    esac |
3469    sort
3470) |
3471  sed '
3472     /^ac_cv_env_/b end
3473     t clear
3474     :clear
3475     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3476     t end
3477     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3478     :end' >>confcache
3479if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3480  if test -w "$cache_file"; then
3481    test "x$cache_file" != "x/dev/null" &&
3482      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3483echo "$as_me: updating cache $cache_file" >&6;}
3484    cat confcache >$cache_file
3485  else
3486    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3487echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3488  fi
3489fi
3490rm -f confcache
3491
3492test "x$prefix" = xNONE && prefix=$ac_default_prefix
3493# Let make expand exec_prefix.
3494test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3495
3496DEFS=-DHAVE_CONFIG_H
3497
3498ac_libobjs=
3499ac_ltlibobjs=
3500for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3501  # 1. Remove the extension, and $U if already installed.
3502  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3503  ac_i=`echo "$ac_i" | sed "$ac_script"`
3504  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3505  #    will be set to the directory where LIBOBJS objects are built.
3506  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3507  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3508done
3509LIBOBJS=$ac_libobjs
3510
3511LTLIBOBJS=$ac_ltlibobjs
3512
3513
3514if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3515  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3516Usually this means the macro was only invoked conditionally." >&5
3517echo "$as_me: error: conditional \"AMDEP\" was never defined.
3518Usually this means the macro was only invoked conditionally." >&2;}
3519   { (exit 1); exit 1; }; }
3520fi
3521if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3522  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3523Usually this means the macro was only invoked conditionally." >&5
3524echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3525Usually this means the macro was only invoked conditionally." >&2;}
3526   { (exit 1); exit 1; }; }
3527fi
3528
3529: ${CONFIG_STATUS=./config.status}
3530ac_clean_files_save=$ac_clean_files
3531ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3532{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3533echo "$as_me: creating $CONFIG_STATUS" >&6;}
3534cat >$CONFIG_STATUS <<_ACEOF
3535#! $SHELL
3536# Generated by $as_me.
3537# Run this file to recreate the current configuration.
3538# Compiler output produced by configure, useful for debugging
3539# configure, is in config.log if it exists.
3540
3541debug=false
3542ac_cs_recheck=false
3543ac_cs_silent=false
3544SHELL=\${CONFIG_SHELL-$SHELL}
3545_ACEOF
3546
3547cat >>$CONFIG_STATUS <<\_ACEOF
3548## --------------------- ##
3549## M4sh Initialization.  ##
3550## --------------------- ##
3551
3552# Be more Bourne compatible
3553DUALCASE=1; export DUALCASE # for MKS sh
3554if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3555  emulate sh
3556  NULLCMD=:
3557  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3558  # is contrary to our usage.  Disable this feature.
3559  alias -g '${1+"$@"}'='"$@"'
3560  setopt NO_GLOB_SUBST
3561else
3562  case `(set -o) 2>/dev/null` in
3563  *posix*) set -o posix ;;
3564esac
3565
3566fi
3567
3568
3569
3570
3571# PATH needs CR
3572# Avoid depending upon Character Ranges.
3573as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3574as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3575as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3576as_cr_digits='0123456789'
3577as_cr_alnum=$as_cr_Letters$as_cr_digits
3578
3579# The user is always right.
3580if test "${PATH_SEPARATOR+set}" != set; then
3581  echo "#! /bin/sh" >conf$$.sh
3582  echo  "exit 0"   >>conf$$.sh
3583  chmod +x conf$$.sh
3584  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3585    PATH_SEPARATOR=';'
3586  else
3587    PATH_SEPARATOR=:
3588  fi
3589  rm -f conf$$.sh
3590fi
3591
3592# Support unset when possible.
3593if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3594  as_unset=unset
3595else
3596  as_unset=false
3597fi
3598
3599
3600# IFS
3601# We need space, tab and new line, in precisely that order.  Quoting is
3602# there to prevent editors from complaining about space-tab.
3603# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3604# splitting by setting IFS to empty value.)
3605as_nl='
3606'
3607IFS=" ""	$as_nl"
3608
3609# Find who we are.  Look in the path if we contain no directory separator.
3610case $0 in
3611  *[\\/]* ) as_myself=$0 ;;
3612  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3613for as_dir in $PATH
3614do
3615  IFS=$as_save_IFS
3616  test -z "$as_dir" && as_dir=.
3617  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3618done
3619IFS=$as_save_IFS
3620
3621     ;;
3622esac
3623# We did not find ourselves, most probably we were run as `sh COMMAND'
3624# in which case we are not to be found in the path.
3625if test "x$as_myself" = x; then
3626  as_myself=$0
3627fi
3628if test ! -f "$as_myself"; then
3629  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3630  { (exit 1); exit 1; }
3631fi
3632
3633# Work around bugs in pre-3.0 UWIN ksh.
3634for as_var in ENV MAIL MAILPATH
3635do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3636done
3637PS1='$ '
3638PS2='> '
3639PS4='+ '
3640
3641# NLS nuisances.
3642for as_var in \
3643  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3644  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3645  LC_TELEPHONE LC_TIME
3646do
3647  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3648    eval $as_var=C; export $as_var
3649  else
3650    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3651  fi
3652done
3653
3654# Required to use basename.
3655if expr a : '\(a\)' >/dev/null 2>&1 &&
3656   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3657  as_expr=expr
3658else
3659  as_expr=false
3660fi
3661
3662if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3663  as_basename=basename
3664else
3665  as_basename=false
3666fi
3667
3668
3669# Name of the executable.
3670as_me=`$as_basename -- "$0" ||
3671$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3672	 X"$0" : 'X\(//\)$' \| \
3673	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3674echo X/"$0" |
3675    sed '/^.*\/\([^/][^/]*\)\/*$/{
3676	    s//\1/
3677	    q
3678	  }
3679	  /^X\/\(\/\/\)$/{
3680	    s//\1/
3681	    q
3682	  }
3683	  /^X\/\(\/\).*/{
3684	    s//\1/
3685	    q
3686	  }
3687	  s/.*/./; q'`
3688
3689# CDPATH.
3690$as_unset CDPATH
3691
3692
3693
3694  as_lineno_1=$LINENO
3695  as_lineno_2=$LINENO
3696  test "x$as_lineno_1" != "x$as_lineno_2" &&
3697  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3698
3699  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3700  # uniformly replaced by the line number.  The first 'sed' inserts a
3701  # line-number line after each line using $LINENO; the second 'sed'
3702  # does the real work.  The second script uses 'N' to pair each
3703  # line-number line with the line containing $LINENO, and appends
3704  # trailing '-' during substitution so that $LINENO is not a special
3705  # case at line end.
3706  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3707  # scripts with optimization help from Paolo Bonzini.  Blame Lee
3708  # E. McMahon (1931-1989) for sed's syntax.  :-)
3709  sed -n '
3710    p
3711    /[$]LINENO/=
3712  ' <$as_myself |
3713    sed '
3714      s/[$]LINENO.*/&-/
3715      t lineno
3716      b
3717      :lineno
3718      N
3719      :loop
3720      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3721      t loop
3722      s/-\n.*//
3723    ' >$as_me.lineno &&
3724  chmod +x "$as_me.lineno" ||
3725    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3726   { (exit 1); exit 1; }; }
3727
3728  # Don't try to exec as it changes $[0], causing all sort of problems
3729  # (the dirname of $[0] is not the place where we might find the
3730  # original and so on.  Autoconf is especially sensitive to this).
3731  . "./$as_me.lineno"
3732  # Exit status is that of the last command.
3733  exit
3734}
3735
3736
3737if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3738  as_dirname=dirname
3739else
3740  as_dirname=false
3741fi
3742
3743ECHO_C= ECHO_N= ECHO_T=
3744case `echo -n x` in
3745-n*)
3746  case `echo 'x\c'` in
3747  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
3748  *)   ECHO_C='\c';;
3749  esac;;
3750*)
3751  ECHO_N='-n';;
3752esac
3753
3754if expr a : '\(a\)' >/dev/null 2>&1 &&
3755   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3756  as_expr=expr
3757else
3758  as_expr=false
3759fi
3760
3761rm -f conf$$ conf$$.exe conf$$.file
3762if test -d conf$$.dir; then
3763  rm -f conf$$.dir/conf$$.file
3764else
3765  rm -f conf$$.dir
3766  mkdir conf$$.dir
3767fi
3768echo >conf$$.file
3769if ln -s conf$$.file conf$$ 2>/dev/null; then
3770  as_ln_s='ln -s'
3771  # ... but there are two gotchas:
3772  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3773  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3774  # In both cases, we have to default to `cp -p'.
3775  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3776    as_ln_s='cp -p'
3777elif ln conf$$.file conf$$ 2>/dev/null; then
3778  as_ln_s=ln
3779else
3780  as_ln_s='cp -p'
3781fi
3782rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3783rmdir conf$$.dir 2>/dev/null
3784
3785if mkdir -p . 2>/dev/null; then
3786  as_mkdir_p=:
3787else
3788  test -d ./-p && rmdir ./-p
3789  as_mkdir_p=false
3790fi
3791
3792if test -x / >/dev/null 2>&1; then
3793  as_test_x='test -x'
3794else
3795  if ls -dL / >/dev/null 2>&1; then
3796    as_ls_L_option=L
3797  else
3798    as_ls_L_option=
3799  fi
3800  as_test_x='
3801    eval sh -c '\''
3802      if test -d "$1"; then
3803        test -d "$1/.";
3804      else
3805	case $1 in
3806        -*)set "./$1";;
3807	esac;
3808	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3809	???[sx]*):;;*)false;;esac;fi
3810    '\'' sh
3811  '
3812fi
3813as_executable_p=$as_test_x
3814
3815# Sed expression to map a string onto a valid CPP name.
3816as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3817
3818# Sed expression to map a string onto a valid variable name.
3819as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3820
3821
3822exec 6>&1
3823
3824# Save the log message, to keep $[0] and so on meaningful, and to
3825# report actual input values of CONFIG_FILES etc. instead of their
3826# values after options handling.
3827ac_log="
3828This file was extended by asteroids3D $as_me 0.5.1, which was
3829generated by GNU Autoconf 2.61.  Invocation command line was
3830
3831  CONFIG_FILES    = $CONFIG_FILES
3832  CONFIG_HEADERS  = $CONFIG_HEADERS
3833  CONFIG_LINKS    = $CONFIG_LINKS
3834  CONFIG_COMMANDS = $CONFIG_COMMANDS
3835  $ $0 $@
3836
3837on `(hostname || uname -n) 2>/dev/null | sed 1q`
3838"
3839
3840_ACEOF
3841
3842cat >>$CONFIG_STATUS <<_ACEOF
3843# Files that config.status was made for.
3844config_files="$ac_config_files"
3845config_headers="$ac_config_headers"
3846config_commands="$ac_config_commands"
3847
3848_ACEOF
3849
3850cat >>$CONFIG_STATUS <<\_ACEOF
3851ac_cs_usage="\
3852\`$as_me' instantiates files from templates according to the
3853current configuration.
3854
3855Usage: $0 [OPTIONS] [FILE]...
3856
3857  -h, --help       print this help, then exit
3858  -V, --version    print version number and configuration settings, then exit
3859  -q, --quiet      do not print progress messages
3860  -d, --debug      don't remove temporary files
3861      --recheck    update $as_me by reconfiguring in the same conditions
3862  --file=FILE[:TEMPLATE]
3863		   instantiate the configuration file FILE
3864  --header=FILE[:TEMPLATE]
3865		   instantiate the configuration header FILE
3866
3867Configuration files:
3868$config_files
3869
3870Configuration headers:
3871$config_headers
3872
3873Configuration commands:
3874$config_commands
3875
3876Report bugs to <bug-autoconf@gnu.org>."
3877
3878_ACEOF
3879cat >>$CONFIG_STATUS <<_ACEOF
3880ac_cs_version="\\
3881asteroids3D config.status 0.5.1
3882configured by $0, generated by GNU Autoconf 2.61,
3883  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3884
3885Copyright (C) 2006 Free Software Foundation, Inc.
3886This config.status script is free software; the Free Software Foundation
3887gives unlimited permission to copy, distribute and modify it."
3888
3889ac_pwd='$ac_pwd'
3890srcdir='$srcdir'
3891INSTALL='$INSTALL'
3892MKDIR_P='$MKDIR_P'
3893_ACEOF
3894
3895cat >>$CONFIG_STATUS <<\_ACEOF
3896# If no file are specified by the user, then we need to provide default
3897# value.  By we need to know if files were specified by the user.
3898ac_need_defaults=:
3899while test $# != 0
3900do
3901  case $1 in
3902  --*=*)
3903    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3904    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3905    ac_shift=:
3906    ;;
3907  *)
3908    ac_option=$1
3909    ac_optarg=$2
3910    ac_shift=shift
3911    ;;
3912  esac
3913
3914  case $ac_option in
3915  # Handling of the options.
3916  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3917    ac_cs_recheck=: ;;
3918  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3919    echo "$ac_cs_version"; exit ;;
3920  --debug | --debu | --deb | --de | --d | -d )
3921    debug=: ;;
3922  --file | --fil | --fi | --f )
3923    $ac_shift
3924    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3925    ac_need_defaults=false;;
3926  --header | --heade | --head | --hea )
3927    $ac_shift
3928    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3929    ac_need_defaults=false;;
3930  --he | --h)
3931    # Conflict between --help and --header
3932    { echo "$as_me: error: ambiguous option: $1
3933Try \`$0 --help' for more information." >&2
3934   { (exit 1); exit 1; }; };;
3935  --help | --hel | -h )
3936    echo "$ac_cs_usage"; exit ;;
3937  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3938  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3939    ac_cs_silent=: ;;
3940
3941  # This is an error.
3942  -*) { echo "$as_me: error: unrecognized option: $1
3943Try \`$0 --help' for more information." >&2
3944   { (exit 1); exit 1; }; } ;;
3945
3946  *) ac_config_targets="$ac_config_targets $1"
3947     ac_need_defaults=false ;;
3948
3949  esac
3950  shift
3951done
3952
3953ac_configure_extra_args=
3954
3955if $ac_cs_silent; then
3956  exec 6>/dev/null
3957  ac_configure_extra_args="$ac_configure_extra_args --silent"
3958fi
3959
3960_ACEOF
3961cat >>$CONFIG_STATUS <<_ACEOF
3962if \$ac_cs_recheck; then
3963  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3964  CONFIG_SHELL=$SHELL
3965  export CONFIG_SHELL
3966  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3967fi
3968
3969_ACEOF
3970cat >>$CONFIG_STATUS <<\_ACEOF
3971exec 5>>config.log
3972{
3973  echo
3974  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3975## Running $as_me. ##
3976_ASBOX
3977  echo "$ac_log"
3978} >&5
3979
3980_ACEOF
3981cat >>$CONFIG_STATUS <<_ACEOF
3982#
3983# INIT-COMMANDS
3984#
3985AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3986
3987_ACEOF
3988
3989cat >>$CONFIG_STATUS <<\_ACEOF
3990
3991# Handling of arguments.
3992for ac_config_target in $ac_config_targets
3993do
3994  case $ac_config_target in
3995    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3996    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3997    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3998
3999  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4000echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4001   { (exit 1); exit 1; }; };;
4002  esac
4003done
4004
4005
4006# If the user did not use the arguments to specify the items to instantiate,
4007# then the envvar interface is used.  Set only those that are not.
4008# We use the long form for the default assignment because of an extremely
4009# bizarre bug on SunOS 4.1.3.
4010if $ac_need_defaults; then
4011  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4012  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4013  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4014fi
4015
4016# Have a temporary directory for convenience.  Make it in the build tree
4017# simply because there is no reason against having it here, and in addition,
4018# creating and moving files from /tmp can sometimes cause problems.
4019# Hook for its removal unless debugging.
4020# Note that there is a small window in which the directory will not be cleaned:
4021# after its creation but before its name has been assigned to `$tmp'.
4022$debug ||
4023{
4024  tmp=
4025  trap 'exit_status=$?
4026  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4027' 0
4028  trap '{ (exit 1); exit 1; }' 1 2 13 15
4029}
4030# Create a (secure) tmp directory for tmp files.
4031
4032{
4033  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4034  test -n "$tmp" && test -d "$tmp"
4035}  ||
4036{
4037  tmp=./conf$$-$RANDOM
4038  (umask 077 && mkdir "$tmp")
4039} ||
4040{
4041   echo "$me: cannot create a temporary directory in ." >&2
4042   { (exit 1); exit 1; }
4043}
4044
4045#
4046# Set up the sed scripts for CONFIG_FILES section.
4047#
4048
4049# No need to generate the scripts if there are no CONFIG_FILES.
4050# This happens for instance when ./config.status config.h
4051if test -n "$CONFIG_FILES"; then
4052
4053_ACEOF
4054
4055
4056
4057ac_delim='%!_!# '
4058for ac_last_try in false false false false false :; do
4059  cat >conf$$subs.sed <<_ACEOF
4060SHELL!$SHELL$ac_delim
4061PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4062PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4063PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4064PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4065PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4066PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4067exec_prefix!$exec_prefix$ac_delim
4068prefix!$prefix$ac_delim
4069program_transform_name!$program_transform_name$ac_delim
4070bindir!$bindir$ac_delim
4071sbindir!$sbindir$ac_delim
4072libexecdir!$libexecdir$ac_delim
4073datarootdir!$datarootdir$ac_delim
4074datadir!$datadir$ac_delim
4075sysconfdir!$sysconfdir$ac_delim
4076sharedstatedir!$sharedstatedir$ac_delim
4077localstatedir!$localstatedir$ac_delim
4078includedir!$includedir$ac_delim
4079oldincludedir!$oldincludedir$ac_delim
4080docdir!$docdir$ac_delim
4081infodir!$infodir$ac_delim
4082htmldir!$htmldir$ac_delim
4083dvidir!$dvidir$ac_delim
4084pdfdir!$pdfdir$ac_delim
4085psdir!$psdir$ac_delim
4086libdir!$libdir$ac_delim
4087localedir!$localedir$ac_delim
4088mandir!$mandir$ac_delim
4089DEFS!$DEFS$ac_delim
4090ECHO_C!$ECHO_C$ac_delim
4091ECHO_N!$ECHO_N$ac_delim
4092ECHO_T!$ECHO_T$ac_delim
4093LIBS!$LIBS$ac_delim
4094build_alias!$build_alias$ac_delim
4095host_alias!$host_alias$ac_delim
4096target_alias!$target_alias$ac_delim
4097INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4098INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4099INSTALL_DATA!$INSTALL_DATA$ac_delim
4100am__isrc!$am__isrc$ac_delim
4101CYGPATH_W!$CYGPATH_W$ac_delim
4102PACKAGE!$PACKAGE$ac_delim
4103VERSION!$VERSION$ac_delim
4104ACLOCAL!$ACLOCAL$ac_delim
4105AUTOCONF!$AUTOCONF$ac_delim
4106AUTOMAKE!$AUTOMAKE$ac_delim
4107AUTOHEADER!$AUTOHEADER$ac_delim
4108MAKEINFO!$MAKEINFO$ac_delim
4109install_sh!$install_sh$ac_delim
4110STRIP!$STRIP$ac_delim
4111INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4112mkdir_p!$mkdir_p$ac_delim
4113AWK!$AWK$ac_delim
4114SET_MAKE!$SET_MAKE$ac_delim
4115am__leading_dot!$am__leading_dot$ac_delim
4116AMTAR!$AMTAR$ac_delim
4117am__tar!$am__tar$ac_delim
4118am__untar!$am__untar$ac_delim
4119CC!$CC$ac_delim
4120CFLAGS!$CFLAGS$ac_delim
4121LDFLAGS!$LDFLAGS$ac_delim
4122CPPFLAGS!$CPPFLAGS$ac_delim
4123ac_ct_CC!$ac_ct_CC$ac_delim
4124EXEEXT!$EXEEXT$ac_delim
4125OBJEXT!$OBJEXT$ac_delim
4126DEPDIR!$DEPDIR$ac_delim
4127am__include!$am__include$ac_delim
4128am__quote!$am__quote$ac_delim
4129AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4130AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4131AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4132CCDEPMODE!$CCDEPMODE$ac_delim
4133am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4134am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4135gamesdir!$gamesdir$ac_delim
4136gamedatadir!$gamedatadir$ac_delim
4137regular_CFLAGS!$regular_CFLAGS$ac_delim
4138LIBOBJS!$LIBOBJS$ac_delim
4139LTLIBOBJS!$LTLIBOBJS$ac_delim
4140_ACEOF
4141
4142  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 80; then
4143    break
4144  elif $ac_last_try; then
4145    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4146echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4147   { (exit 1); exit 1; }; }
4148  else
4149    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4150  fi
4151done
4152
4153ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4154if test -n "$ac_eof"; then
4155  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4156  ac_eof=`expr $ac_eof + 1`
4157fi
4158
4159cat >>$CONFIG_STATUS <<_ACEOF
4160cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4161/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4162_ACEOF
4163sed '
4164s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4165s/^/s,@/; s/!/@,|#_!!_#|/
4166:n
4167t n
4168s/'"$ac_delim"'$/,g/; t
4169s/$/\\/; p
4170N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4171' >>$CONFIG_STATUS <conf$$subs.sed
4172rm -f conf$$subs.sed
4173cat >>$CONFIG_STATUS <<_ACEOF
4174:end
4175s/|#_!!_#|//g
4176CEOF$ac_eof
4177_ACEOF
4178
4179
4180# VPATH may cause trouble with some makes, so we remove $(srcdir),
4181# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4182# trailing colons and then remove the whole line if VPATH becomes empty
4183# (actually we leave an empty line to preserve line numbers).
4184if test "x$srcdir" = x.; then
4185  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
4186s/:*\$(srcdir):*/:/
4187s/:*\${srcdir}:*/:/
4188s/:*@srcdir@:*/:/
4189s/^\([^=]*=[	 ]*\):*/\1/
4190s/:*$//
4191s/^[^=]*=[	 ]*$//
4192}'
4193fi
4194
4195cat >>$CONFIG_STATUS <<\_ACEOF
4196fi # test -n "$CONFIG_FILES"
4197
4198
4199for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
4200do
4201  case $ac_tag in
4202  :[FHLC]) ac_mode=$ac_tag; continue;;
4203  esac
4204  case $ac_mode$ac_tag in
4205  :[FHL]*:*);;
4206  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4207echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4208   { (exit 1); exit 1; }; };;
4209  :[FH]-) ac_tag=-:-;;
4210  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4211  esac
4212  ac_save_IFS=$IFS
4213  IFS=:
4214  set x $ac_tag
4215  IFS=$ac_save_IFS
4216  shift
4217  ac_file=$1
4218  shift
4219
4220  case $ac_mode in
4221  :L) ac_source=$1;;
4222  :[FH])
4223    ac_file_inputs=
4224    for ac_f
4225    do
4226      case $ac_f in
4227      -) ac_f="$tmp/stdin";;
4228      *) # Look for the file first in the build tree, then in the source tree
4229	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4230	 # because $ac_f cannot contain `:'.
4231	 test -f "$ac_f" ||
4232	   case $ac_f in
4233	   [\\/$]*) false;;
4234	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4235	   esac ||
4236	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4237echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4238   { (exit 1); exit 1; }; };;
4239      esac
4240      ac_file_inputs="$ac_file_inputs $ac_f"
4241    done
4242
4243    # Let's still pretend it is `configure' which instantiates (i.e., don't
4244    # use $as_me), people would be surprised to read:
4245    #    /* config.h.  Generated by config.status.  */
4246    configure_input="Generated from "`IFS=:
4247	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4248    if test x"$ac_file" != x-; then
4249      configure_input="$ac_file.  $configure_input"
4250      { echo "$as_me:$LINENO: creating $ac_file" >&5
4251echo "$as_me: creating $ac_file" >&6;}
4252    fi
4253
4254    case $ac_tag in
4255    *:-:* | *:-) cat >"$tmp/stdin";;
4256    esac
4257    ;;
4258  esac
4259
4260  ac_dir=`$as_dirname -- "$ac_file" ||
4261$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4262	 X"$ac_file" : 'X\(//\)[^/]' \| \
4263	 X"$ac_file" : 'X\(//\)$' \| \
4264	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4265echo X"$ac_file" |
4266    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4267	    s//\1/
4268	    q
4269	  }
4270	  /^X\(\/\/\)[^/].*/{
4271	    s//\1/
4272	    q
4273	  }
4274	  /^X\(\/\/\)$/{
4275	    s//\1/
4276	    q
4277	  }
4278	  /^X\(\/\).*/{
4279	    s//\1/
4280	    q
4281	  }
4282	  s/.*/./; q'`
4283  { as_dir="$ac_dir"
4284  case $as_dir in #(
4285  -*) as_dir=./$as_dir;;
4286  esac
4287  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4288    as_dirs=
4289    while :; do
4290      case $as_dir in #(
4291      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4292      *) as_qdir=$as_dir;;
4293      esac
4294      as_dirs="'$as_qdir' $as_dirs"
4295      as_dir=`$as_dirname -- "$as_dir" ||
4296$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4297	 X"$as_dir" : 'X\(//\)[^/]' \| \
4298	 X"$as_dir" : 'X\(//\)$' \| \
4299	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4300echo X"$as_dir" |
4301    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4302	    s//\1/
4303	    q
4304	  }
4305	  /^X\(\/\/\)[^/].*/{
4306	    s//\1/
4307	    q
4308	  }
4309	  /^X\(\/\/\)$/{
4310	    s//\1/
4311	    q
4312	  }
4313	  /^X\(\/\).*/{
4314	    s//\1/
4315	    q
4316	  }
4317	  s/.*/./; q'`
4318      test -d "$as_dir" && break
4319    done
4320    test -z "$as_dirs" || eval "mkdir $as_dirs"
4321  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4322echo "$as_me: error: cannot create directory $as_dir" >&2;}
4323   { (exit 1); exit 1; }; }; }
4324  ac_builddir=.
4325
4326case "$ac_dir" in
4327.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4328*)
4329  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4330  # A ".." for each directory in $ac_dir_suffix.
4331  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4332  case $ac_top_builddir_sub in
4333  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4334  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4335  esac ;;
4336esac
4337ac_abs_top_builddir=$ac_pwd
4338ac_abs_builddir=$ac_pwd$ac_dir_suffix
4339# for backward compatibility:
4340ac_top_builddir=$ac_top_build_prefix
4341
4342case $srcdir in
4343  .)  # We are building in place.
4344    ac_srcdir=.
4345    ac_top_srcdir=$ac_top_builddir_sub
4346    ac_abs_top_srcdir=$ac_pwd ;;
4347  [\\/]* | ?:[\\/]* )  # Absolute name.
4348    ac_srcdir=$srcdir$ac_dir_suffix;
4349    ac_top_srcdir=$srcdir
4350    ac_abs_top_srcdir=$srcdir ;;
4351  *) # Relative name.
4352    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4353    ac_top_srcdir=$ac_top_build_prefix$srcdir
4354    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4355esac
4356ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4357
4358
4359  case $ac_mode in
4360  :F)
4361  #
4362  # CONFIG_FILE
4363  #
4364
4365  case $INSTALL in
4366  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4367  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4368  esac
4369  ac_MKDIR_P=$MKDIR_P
4370  case $MKDIR_P in
4371  [\\/$]* | ?:[\\/]* ) ;;
4372  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4373  esac
4374_ACEOF
4375
4376cat >>$CONFIG_STATUS <<\_ACEOF
4377# If the template does not know about datarootdir, expand it.
4378# FIXME: This hack should be removed a few years after 2.60.
4379ac_datarootdir_hack=; ac_datarootdir_seen=
4380
4381case `sed -n '/datarootdir/ {
4382  p
4383  q
4384}
4385/@datadir@/p
4386/@docdir@/p
4387/@infodir@/p
4388/@localedir@/p
4389/@mandir@/p
4390' $ac_file_inputs` in
4391*datarootdir*) ac_datarootdir_seen=yes;;
4392*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4393  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4394echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4395_ACEOF
4396cat >>$CONFIG_STATUS <<_ACEOF
4397  ac_datarootdir_hack='
4398  s&@datadir@&$datadir&g
4399  s&@docdir@&$docdir&g
4400  s&@infodir@&$infodir&g
4401  s&@localedir@&$localedir&g
4402  s&@mandir@&$mandir&g
4403    s&\\\${datarootdir}&$datarootdir&g' ;;
4404esac
4405_ACEOF
4406
4407# Neutralize VPATH when `$srcdir' = `.'.
4408# Shell code in configure.ac might set extrasub.
4409# FIXME: do we really want to maintain this feature?
4410cat >>$CONFIG_STATUS <<_ACEOF
4411  sed "$ac_vpsub
4412$extrasub
4413_ACEOF
4414cat >>$CONFIG_STATUS <<\_ACEOF
4415:t
4416/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4417s&@configure_input@&$configure_input&;t t
4418s&@top_builddir@&$ac_top_builddir_sub&;t t
4419s&@srcdir@&$ac_srcdir&;t t
4420s&@abs_srcdir@&$ac_abs_srcdir&;t t
4421s&@top_srcdir@&$ac_top_srcdir&;t t
4422s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4423s&@builddir@&$ac_builddir&;t t
4424s&@abs_builddir@&$ac_abs_builddir&;t t
4425s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4426s&@INSTALL@&$ac_INSTALL&;t t
4427s&@MKDIR_P@&$ac_MKDIR_P&;t t
4428$ac_datarootdir_hack
4429" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4430
4431test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4432  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4433  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4434  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4435which seems to be undefined.  Please make sure it is defined." >&5
4436echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4437which seems to be undefined.  Please make sure it is defined." >&2;}
4438
4439  rm -f "$tmp/stdin"
4440  case $ac_file in
4441  -) cat "$tmp/out"; rm -f "$tmp/out";;
4442  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4443  esac
4444 ;;
4445  :H)
4446  #
4447  # CONFIG_HEADER
4448  #
4449_ACEOF
4450
4451# Transform confdefs.h into a sed script `conftest.defines', that
4452# substitutes the proper values into config.h.in to produce config.h.
4453rm -f conftest.defines conftest.tail
4454# First, append a space to every undef/define line, to ease matching.
4455echo 's/$/ /' >conftest.defines
4456# Then, protect against being on the right side of a sed subst, or in
4457# an unquoted here document, in config.status.  If some macros were
4458# called several times there might be several #defines for the same
4459# symbol, which is useless.  But do not sort them, since the last
4460# AC_DEFINE must be honored.
4461ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4462# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
4463# NAME is the cpp macro being defined, VALUE is the value it is being given.
4464# PARAMS is the parameter list in the macro definition--in most cases, it's
4465# just an empty string.
4466ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
4467ac_dB='\\)[	 (].*,\\1define\\2'
4468ac_dC=' '
4469ac_dD=' ,'
4470
4471uniq confdefs.h |
4472  sed -n '
4473	t rset
4474	:rset
4475	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
4476	t ok
4477	d
4478	:ok
4479	s/[\\&,]/\\&/g
4480	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
4481	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
4482  ' >>conftest.defines
4483
4484# Remove the space that was appended to ease matching.
4485# Then replace #undef with comments.  This is necessary, for
4486# example, in the case of _POSIX_SOURCE, which is predefined and required
4487# on some systems where configure will not decide to define it.
4488# (The regexp can be short, since the line contains either #define or #undef.)
4489echo 's/ $//
4490s,^[	 #]*u.*,/* & */,' >>conftest.defines
4491
4492# Break up conftest.defines:
4493ac_max_sed_lines=50
4494
4495# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
4496# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
4497# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
4498# et cetera.
4499ac_in='$ac_file_inputs'
4500ac_out='"$tmp/out1"'
4501ac_nxt='"$tmp/out2"'
4502
4503while :
4504do
4505  # Write a here document:
4506    cat >>$CONFIG_STATUS <<_ACEOF
4507    # First, check the format of the line:
4508    cat >"\$tmp/defines.sed" <<\\CEOF
4509/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
4510/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
4511b
4512:def
4513_ACEOF
4514  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
4515  echo 'CEOF
4516    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
4517  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
4518  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
4519  grep . conftest.tail >/dev/null || break
4520  rm -f conftest.defines
4521  mv conftest.tail conftest.defines
4522done
4523rm -f conftest.defines conftest.tail
4524
4525echo "ac_result=$ac_in" >>$CONFIG_STATUS
4526cat >>$CONFIG_STATUS <<\_ACEOF
4527  if test x"$ac_file" != x-; then
4528    echo "/* $configure_input  */" >"$tmp/config.h"
4529    cat "$ac_result" >>"$tmp/config.h"
4530    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
4531      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4532echo "$as_me: $ac_file is unchanged" >&6;}
4533    else
4534      rm -f $ac_file
4535      mv "$tmp/config.h" $ac_file
4536    fi
4537  else
4538    echo "/* $configure_input  */"
4539    cat "$ac_result"
4540  fi
4541  rm -f "$tmp/out12"
4542# Compute $ac_file's index in $config_headers.
4543_am_stamp_count=1
4544for _am_header in $config_headers :; do
4545  case $_am_header in
4546    $ac_file | $ac_file:* )
4547      break ;;
4548    * )
4549      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4550  esac
4551done
4552echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
4553$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4554	 X$ac_file : 'X\(//\)[^/]' \| \
4555	 X$ac_file : 'X\(//\)$' \| \
4556	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
4557echo X$ac_file |
4558    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4559	    s//\1/
4560	    q
4561	  }
4562	  /^X\(\/\/\)[^/].*/{
4563	    s//\1/
4564	    q
4565	  }
4566	  /^X\(\/\/\)$/{
4567	    s//\1/
4568	    q
4569	  }
4570	  /^X\(\/\).*/{
4571	    s//\1/
4572	    q
4573	  }
4574	  s/.*/./; q'`/stamp-h$_am_stamp_count
4575 ;;
4576
4577  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
4578echo "$as_me: executing $ac_file commands" >&6;}
4579 ;;
4580  esac
4581
4582
4583  case $ac_file$ac_mode in
4584    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4585  # Strip MF so we end up with the name of the file.
4586  mf=`echo "$mf" | sed -e 's/:.*$//'`
4587  # Check whether this is an Automake generated Makefile or not.
4588  # We used to match only the files named `Makefile.in', but
4589  # some people rename them; so instead we look at the file content.
4590  # Grep'ing the first line is not enough: some people post-process
4591  # each Makefile.in and add a new line on top of each file to say so.
4592  # Grep'ing the whole file is not good either: AIX grep has a line
4593  # limit of 2048, but all sed's we know have understand at least 4000.
4594  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
4595    dirpart=`$as_dirname -- "$mf" ||
4596$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4597	 X"$mf" : 'X\(//\)[^/]' \| \
4598	 X"$mf" : 'X\(//\)$' \| \
4599	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4600echo X"$mf" |
4601    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4602	    s//\1/
4603	    q
4604	  }
4605	  /^X\(\/\/\)[^/].*/{
4606	    s//\1/
4607	    q
4608	  }
4609	  /^X\(\/\/\)$/{
4610	    s//\1/
4611	    q
4612	  }
4613	  /^X\(\/\).*/{
4614	    s//\1/
4615	    q
4616	  }
4617	  s/.*/./; q'`
4618  else
4619    continue
4620  fi
4621  # Extract the definition of DEPDIR, am__include, and am__quote
4622  # from the Makefile without running `make'.
4623  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4624  test -z "$DEPDIR" && continue
4625  am__include=`sed -n 's/^am__include = //p' < "$mf"`
4626  test -z "am__include" && continue
4627  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4628  # When using ansi2knr, U may be empty or an underscore; expand it
4629  U=`sed -n 's/^U = //p' < "$mf"`
4630  # Find all dependency output files, they are included files with
4631  # $(DEPDIR) in their names.  We invoke sed twice because it is the
4632  # simplest approach to changing $(DEPDIR) to its actual value in the
4633  # expansion.
4634  for file in `sed -n "
4635    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4636       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4637    # Make sure the directory exists.
4638    test -f "$dirpart/$file" && continue
4639    fdir=`$as_dirname -- "$file" ||
4640$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4641	 X"$file" : 'X\(//\)[^/]' \| \
4642	 X"$file" : 'X\(//\)$' \| \
4643	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4644echo X"$file" |
4645    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4646	    s//\1/
4647	    q
4648	  }
4649	  /^X\(\/\/\)[^/].*/{
4650	    s//\1/
4651	    q
4652	  }
4653	  /^X\(\/\/\)$/{
4654	    s//\1/
4655	    q
4656	  }
4657	  /^X\(\/\).*/{
4658	    s//\1/
4659	    q
4660	  }
4661	  s/.*/./; q'`
4662    { as_dir=$dirpart/$fdir
4663  case $as_dir in #(
4664  -*) as_dir=./$as_dir;;
4665  esac
4666  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4667    as_dirs=
4668    while :; do
4669      case $as_dir in #(
4670      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4671      *) as_qdir=$as_dir;;
4672      esac
4673      as_dirs="'$as_qdir' $as_dirs"
4674      as_dir=`$as_dirname -- "$as_dir" ||
4675$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4676	 X"$as_dir" : 'X\(//\)[^/]' \| \
4677	 X"$as_dir" : 'X\(//\)$' \| \
4678	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4679echo X"$as_dir" |
4680    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4681	    s//\1/
4682	    q
4683	  }
4684	  /^X\(\/\/\)[^/].*/{
4685	    s//\1/
4686	    q
4687	  }
4688	  /^X\(\/\/\)$/{
4689	    s//\1/
4690	    q
4691	  }
4692	  /^X\(\/\).*/{
4693	    s//\1/
4694	    q
4695	  }
4696	  s/.*/./; q'`
4697      test -d "$as_dir" && break
4698    done
4699    test -z "$as_dirs" || eval "mkdir $as_dirs"
4700  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4701echo "$as_me: error: cannot create directory $as_dir" >&2;}
4702   { (exit 1); exit 1; }; }; }
4703    # echo "creating $dirpart/$file"
4704    echo '# dummy' > "$dirpart/$file"
4705  done
4706done
4707 ;;
4708
4709  esac
4710done # for ac_tag
4711
4712
4713{ (exit 0); exit 0; }
4714_ACEOF
4715chmod +x $CONFIG_STATUS
4716ac_clean_files=$ac_clean_files_save
4717
4718
4719# configure is writing to config.log, and then calls config.status.
4720# config.status does its own redirection, appending to config.log.
4721# Unfortunately, on DOS this fails, as config.log is still kept open
4722# by configure, so config.status won't be able to write to it; its
4723# output is simply discarded.  So we exec the FD to /dev/null,
4724# effectively closing config.log, so it can be properly (re)opened and
4725# appended to by config.status.  When coming back to configure, we
4726# need to make the FD available again.
4727if test "$no_create" != yes; then
4728  ac_cs_success=:
4729  ac_config_status_args=
4730  test "$silent" = yes &&
4731    ac_config_status_args="$ac_config_status_args --quiet"
4732  exec 5>/dev/null
4733  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4734  exec 5>>config.log
4735  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4736  # would make configure fail if this is the last instruction.
4737  $ac_cs_success || { (exit 1); exit 1; }
4738fi
4739
4740