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