1#! /bin/sh
2# Generated by configure.
3# Run this file to recreate the current configuration.
4# Compiler output produced by configure, useful for debugging
5# configure, is in config.log if it exists.
6
7debug=false
8ac_cs_recheck=false
9ac_cs_silent=false
10SHELL=${CONFIG_SHELL-/bin/sh}
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be Bourne compatible
16if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17  emulate sh
18  NULLCMD=:
19  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20  # is contrary to our usage.  Disable this feature.
21  alias -g '${1+"$@"}'='"$@"'
22elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23  set -o posix
24fi
25DUALCASE=1; export DUALCASE # for MKS sh
26
27# Support unset when possible.
28if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29  as_unset=unset
30else
31  as_unset=false
32fi
33
34
35# Work around bugs in pre-3.0 UWIN ksh.
36$as_unset ENV MAIL MAILPATH
37PS1='$ '
38PS2='> '
39PS4='+ '
40
41# NLS nuisances.
42for as_var in \
43  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45  LC_TELEPHONE LC_TIME
46do
47  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48    eval $as_var=C; export $as_var
49  else
50    $as_unset $as_var
51  fi
52done
53
54# Required to use basename.
55if expr a : '\(a\)' >/dev/null 2>&1; then
56  as_expr=expr
57else
58  as_expr=false
59fi
60
61if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62  as_basename=basename
63else
64  as_basename=false
65fi
66
67
68# Name of the executable.
69as_me=`$as_basename "$0" ||
70$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71	 X"$0" : 'X\(//\)$' \| \
72	 X"$0" : 'X\(/\)$' \| \
73	 .     : '\(.\)' 2>/dev/null ||
74echo X/"$0" |
75    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
77  	  /^X\/\(\/\).*/{ s//\1/; q; }
78  	  s/.*/./; q'`
79
80
81# PATH needs CR, and LINENO needs CR and PATH.
82# Avoid depending upon Character Ranges.
83as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86as_cr_digits='0123456789'
87as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89# The user is always right.
90if test "${PATH_SEPARATOR+set}" != set; then
91  echo "#! /bin/sh" >conf$$.sh
92  echo  "exit 0"   >>conf$$.sh
93  chmod +x conf$$.sh
94  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95    PATH_SEPARATOR=';'
96  else
97    PATH_SEPARATOR=:
98  fi
99  rm -f conf$$.sh
100fi
101
102
103  as_lineno_1=$LINENO
104  as_lineno_2=$LINENO
105  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106  test "x$as_lineno_1" != "x$as_lineno_2" &&
107  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
108  # Find who we are.  Look in the path if we contain no path at all
109  # relative or not.
110  case $0 in
111    *[\\/]* ) as_myself=$0 ;;
112    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113for as_dir in $PATH
114do
115  IFS=$as_save_IFS
116  test -z "$as_dir" && as_dir=.
117  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118done
119
120       ;;
121  esac
122  # We did not find ourselves, most probably we were run as `sh COMMAND'
123  # in which case we are not to be found in the path.
124  if test "x$as_myself" = x; then
125    as_myself=$0
126  fi
127  if test ! -f "$as_myself"; then
128    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
129echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
130   { (exit 1); exit 1; }; }
131  fi
132  case $CONFIG_SHELL in
133  '')
134    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
135for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136do
137  IFS=$as_save_IFS
138  test -z "$as_dir" && as_dir=.
139  for as_base in sh bash ksh sh5; do
140	 case $as_dir in
141	 /*)
142	   if ("$as_dir/$as_base" -c '
143  as_lineno_1=$LINENO
144  as_lineno_2=$LINENO
145  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
146  test "x$as_lineno_1" != "x$as_lineno_2" &&
147  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
148	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
149	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
150	     CONFIG_SHELL=$as_dir/$as_base
151	     export CONFIG_SHELL
152	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
153	   fi;;
154	 esac
155       done
156done
157;;
158  esac
159
160  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
161  # uniformly replaced by the line number.  The first 'sed' inserts a
162  # line-number line before each line; the second 'sed' does the real
163  # work.  The second script uses 'N' to pair each line-number line
164  # with the numbered line, and appends trailing '-' during
165  # substitution so that $LINENO is not a special case at line end.
166  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
167  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
168  sed '=' <$as_myself |
169    sed '
170      N
171      s,$,-,
172      : loop
173      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174      t loop
175      s,-$,,
176      s,^['$as_cr_digits']*\n,,
177    ' >$as_me.lineno &&
178  chmod +x $as_me.lineno ||
179    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
180echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
181   { (exit 1); exit 1; }; }
182
183  # Don't try to exec as it changes $[0], causing all sort of problems
184  # (the dirname of $[0] is not the place where we might find the
185  # original and so on.  Autoconf is especially sensible to this).
186  . ./$as_me.lineno
187  # Exit status is that of the last command.
188  exit
189}
190
191
192case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
193  *c*,-n*) ECHO_N= ECHO_C='
194' ECHO_T='	' ;;
195  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
196  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
197esac
198
199if expr a : '\(a\)' >/dev/null 2>&1; then
200  as_expr=expr
201else
202  as_expr=false
203fi
204
205rm -f conf$$ conf$$.exe conf$$.file
206echo >conf$$.file
207if ln -s conf$$.file conf$$ 2>/dev/null; then
208  # We could just check for DJGPP; but this test a) works b) is more generic
209  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
210  if test -f conf$$.exe; then
211    # Don't use ln at all; we don't have any links
212    as_ln_s='cp -p'
213  else
214    as_ln_s='ln -s'
215  fi
216elif ln conf$$.file conf$$ 2>/dev/null; then
217  as_ln_s=ln
218else
219  as_ln_s='cp -p'
220fi
221rm -f conf$$ conf$$.exe conf$$.file
222
223if mkdir -p . 2>/dev/null; then
224  as_mkdir_p=:
225else
226  test -d ./-p && rmdir ./-p
227  as_mkdir_p=false
228fi
229
230as_executable_p="test -f"
231
232# Sed expression to map a string onto a valid CPP name.
233as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
234
235# Sed expression to map a string onto a valid variable name.
236as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237
238
239# IFS
240# We need space, tab and new line, in precisely that order.
241as_nl='
242'
243IFS=" 	$as_nl"
244
245# CDPATH.
246$as_unset CDPATH
247
248exec 6>&1
249
250# Open the log real soon, to keep \$[0] and so on meaningful, and to
251# report actual input values of CONFIG_FILES etc. instead of their
252# values after options handling.  Logging --version etc. is OK.
253exec 5>>config.log
254{
255  echo
256  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
257## Running $as_me. ##
258_ASBOX
259} >&5
260cat >&5 <<_CSEOF
261
262This file was extended by $as_me, which was
263generated by GNU Autoconf 2.58.  Invocation command line was
264
265  CONFIG_FILES    = $CONFIG_FILES
266  CONFIG_HEADERS  = $CONFIG_HEADERS
267  CONFIG_LINKS    = $CONFIG_LINKS
268  CONFIG_COMMANDS = $CONFIG_COMMANDS
269  $ $0 $@
270
271_CSEOF
272echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
273echo >&5
274config_files=" Makefile src/Makefile src/libDazzle/Makefile"
275config_headers=" config.h"
276config_commands=" depfiles"
277
278ac_cs_usage="\
279\`$as_me' instantiates files from templates according to the
280current configuration.
281
282Usage: $0 [OPTIONS] [FILE]...
283
284  -h, --help       print this help, then exit
285  -V, --version    print version number, then exit
286  -q, --quiet      do not print progress messages
287  -d, --debug      don't remove temporary files
288      --recheck    update $as_me by reconfiguring in the same conditions
289  --file=FILE[:TEMPLATE]
290		   instantiate the configuration file FILE
291  --header=FILE[:TEMPLATE]
292		   instantiate the configuration header FILE
293
294Configuration files:
295$config_files
296
297Configuration headers:
298$config_headers
299
300Configuration commands:
301$config_commands
302
303Report bugs to <bug-autoconf@gnu.org>."
304ac_cs_version="\
305config.status
306configured by /home/sir03me/duel/configure, generated by GNU Autoconf 2.58,
307  with options \"'--enable-debug=full' 'CC=gcc' 'CXXFLAGS=-O0 -g3' 'CXX=g++'\"
308
309Copyright (C) 2003 Free Software Foundation, Inc.
310This config.status script is free software; the Free Software Foundation
311gives unlimited permission to copy, distribute and modify it."
312srcdir=/home/sir03me/duel
313INSTALL="/bin/install -c"
314# If no file are specified by the user, then we need to provide default
315# value.  By we need to know if files were specified by the user.
316ac_need_defaults=:
317while test $# != 0
318do
319  case $1 in
320  --*=*)
321    ac_option=`expr "x$1" : 'x\([^=]*\)='`
322    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
323    ac_shift=:
324    ;;
325  -*)
326    ac_option=$1
327    ac_optarg=$2
328    ac_shift=shift
329    ;;
330  *) # This is not an option, so the user has probably given explicit
331     # arguments.
332     ac_option=$1
333     ac_need_defaults=false;;
334  esac
335
336  case $ac_option in
337  # Handling of the options.
338  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
339    ac_cs_recheck=: ;;
340  --version | --vers* | -V )
341    echo "$ac_cs_version"; exit 0 ;;
342  --he | --h)
343    # Conflict between --help and --header
344    { { echo "$as_me:$LINENO: error: ambiguous option: $1
345Try \`$0 --help' for more information." >&5
346echo "$as_me: error: ambiguous option: $1
347Try \`$0 --help' for more information." >&2;}
348   { (exit 1); exit 1; }; };;
349  --help | --hel | -h )
350    echo "$ac_cs_usage"; exit 0 ;;
351  --debug | --d* | -d )
352    debug=: ;;
353  --file | --fil | --fi | --f )
354    $ac_shift
355    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
356    ac_need_defaults=false;;
357  --header | --heade | --head | --hea )
358    $ac_shift
359    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
360    ac_need_defaults=false;;
361  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
362  | -silent | --silent | --silen | --sile | --sil | --si | --s)
363    ac_cs_silent=: ;;
364
365  # This is an error.
366  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
367Try \`$0 --help' for more information." >&5
368echo "$as_me: error: unrecognized option: $1
369Try \`$0 --help' for more information." >&2;}
370   { (exit 1); exit 1; }; } ;;
371
372  *) ac_config_targets="$ac_config_targets $1" ;;
373
374  esac
375  shift
376done
377
378ac_configure_extra_args=
379
380if $ac_cs_silent; then
381  exec 6>/dev/null
382  ac_configure_extra_args="$ac_configure_extra_args --silent"
383fi
384
385if $ac_cs_recheck; then
386  echo "running /bin/sh /home/sir03me/duel/configure " '--enable-debug=full' 'CC=gcc' 'CXXFLAGS=-O0 -g3' 'CXX=g++' $ac_configure_extra_args " --no-create --no-recursion" >&6
387  exec /bin/sh /home/sir03me/duel/configure '--enable-debug=full' 'CC=gcc' 'CXXFLAGS=-O0 -g3' 'CXX=g++' $ac_configure_extra_args --no-create --no-recursion
388fi
389
390#
391# INIT-COMMANDS section.
392#
393
394AMDEP_TRUE="" ac_aux_dir="/home/sir03me/duel"
395
396for ac_config_target in $ac_config_targets
397do
398  case "$ac_config_target" in
399  # Handling of arguments.
400  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
401  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
402  "src/libDazzle/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libDazzle/Makefile" ;;
403  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
404  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
405  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
406echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
407   { (exit 1); exit 1; }; };;
408  esac
409done
410
411# If the user did not use the arguments to specify the items to instantiate,
412# then the envvar interface is used.  Set only those that are not.
413# We use the long form for the default assignment because of an extremely
414# bizarre bug on SunOS 4.1.3.
415if $ac_need_defaults; then
416  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
417  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
418  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
419fi
420
421# Have a temporary directory for convenience.  Make it in the build tree
422# simply because there is no reason to put it here, and in addition,
423# creating and moving files from /tmp can sometimes cause problems.
424# Create a temporary directory, and hook for its removal unless debugging.
425$debug ||
426{
427  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
428  trap '{ (exit 1); exit 1; }' 1 2 13 15
429}
430
431# Create a (secure) tmp directory for tmp files.
432
433{
434  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
435  test -n "$tmp" && test -d "$tmp"
436}  ||
437{
438  tmp=./confstat$$-$RANDOM
439  (umask 077 && mkdir $tmp)
440} ||
441{
442   echo "$me: cannot create a temporary directory in ." >&2
443   { (exit 1); exit 1; }
444}
445
446
447#
448# CONFIG_FILES section.
449#
450
451# No need to generate the scripts if there are no CONFIG_FILES.
452# This happens for instance when ./config.status config.h
453if test -n "$CONFIG_FILES"; then
454  # Protect against being on the right side of a sed subst in config.status.
455  sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g;
456   s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF
457s,@SHELL@,/bin/sh,;t t
458s,@PATH_SEPARATOR@,:,;t t
459s,@PACKAGE_NAME@,,;t t
460s,@PACKAGE_TARNAME@,,;t t
461s,@PACKAGE_VERSION@,,;t t
462s,@PACKAGE_STRING@,,;t t
463s,@PACKAGE_BUGREPORT@,,;t t
464s,@exec_prefix@,${prefix},;t t
465s,@prefix@,/usr/local,;t t
466s,@program_transform_name@,s,x,x,,;t t
467s,@bindir@,${exec_prefix}/bin,;t t
468s,@sbindir@,${exec_prefix}/sbin,;t t
469s,@libexecdir@,${exec_prefix}/libexec,;t t
470s,@datadir@,${prefix}/share,;t t
471s,@sysconfdir@,${prefix}/etc,;t t
472s,@sharedstatedir@,${prefix}/com,;t t
473s,@localstatedir@,${prefix}/var,;t t
474s,@libdir@,${exec_prefix}/lib,;t t
475s,@includedir@,${prefix}/include,;t t
476s,@oldincludedir@,/usr/include,;t t
477s,@infodir@,${prefix}/info,;t t
478s,@mandir@,${prefix}/man,;t t
479s,@build_alias@,,;t t
480s,@host_alias@,,;t t
481s,@target_alias@,,;t t
482s,@DEFS@,-DHAVE_CONFIG_H,;t t
483s,@ECHO_C@,,;t t
484s,@ECHO_N@,-n,;t t
485s,@ECHO_T@,,;t t
486s,@LIBS@,,;t t
487s,@INSTALL_PROGRAM@,${INSTALL},;t t
488s,@INSTALL_SCRIPT@,${INSTALL},;t t
489s,@INSTALL_DATA@,${INSTALL} -m 644,;t t
490s,@PACKAGE@,duel,;t t
491s,@VERSION@,0.98,;t t
492s,@ACLOCAL@,${SHELL} /home/sir03me/duel/missing --run aclocal-1.6,;t t
493s,@AUTOCONF@,${SHELL} /home/sir03me/duel/missing --run autoconf,;t t
494s,@AUTOMAKE@,${SHELL} /home/sir03me/duel/missing --run automake-1.6,;t t
495s,@AUTOHEADER@,${SHELL} /home/sir03me/duel/missing --run autoheader,;t t
496s,@MAKEINFO@,${SHELL} /home/sir03me/duel/missing --run makeinfo,;t t
497s,@AMTAR@,${SHELL} /home/sir03me/duel/missing --run tar,;t t
498s,@install_sh@,/home/sir03me/duel/install-sh,;t t
499s,@STRIP@,strip,;t t
500s,@ac_ct_STRIP@,strip,;t t
501s,@INSTALL_STRIP_PROGRAM@,${SHELL} $(install_sh) -c -s,;t t
502s,@AWK@,gawk,;t t
503s,@SET_MAKE@,,;t t
504s,@CXX@,g++,;t t
505s,@CXXFLAGS@,-O0 -g3,;t t
506s,@LDFLAGS@,,;t t
507s,@CPPFLAGS@,,;t t
508s,@ac_ct_CXX@,,;t t
509s,@EXEEXT@,,;t t
510s,@OBJEXT@,o,;t t
511s,@DEPDIR@,.deps,;t t
512s,@am__include@,include,;t t
513s,@am__quote@,,;t t
514s,@AMDEP_TRUE@,,;t t
515s,@AMDEP_FALSE@,#,;t t
516s,@AMDEPBACKSLASH@,\,;t t
517s,@CXXDEPMODE@,depmode=gcc3,;t t
518s,@build@,i686-pc-linux-gnu,;t t
519s,@build_cpu@,i686,;t t
520s,@build_vendor@,pc,;t t
521s,@build_os@,linux-gnu,;t t
522s,@host@,i686-pc-linux-gnu,;t t
523s,@host_cpu@,i686,;t t
524s,@host_vendor@,pc,;t t
525s,@host_os@,linux-gnu,;t t
526s,@CC@,gcc,;t t
527s,@CFLAGS@,-g -O2,;t t
528s,@ac_ct_CC@,gcc,;t t
529s,@CCDEPMODE@,depmode=gcc3,;t t
530s,@LN_S@,ln -s,;t t
531s,@ECHO@,echo,;t t
532s,@RANLIB@,ranlib,;t t
533s,@ac_ct_RANLIB@,ranlib,;t t
534s,@CXXCPP@,g++ -E,;t t
535s,@EGREP@,grep -E,;t t
536s,@LIBTOOL@,$(SHELL) $(top_builddir)/libtool,;t t
537s,@LIBSDL_LIBS@,-L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread,;t t
538s,@LIBSDL_CFLAGS@,-I/usr/include/SDL -D_REENTRANT,;t t
539s,@LIBSDL_RPATH@,-R/usr/lib,;t t
540s,@LIBOBJS@,,;t t
541s,@LTLIBOBJS@,,;t t
542CEOF
543
544  # Split the substitutions into bite-sized pieces for seds with
545  # small command number limits, like on Digital OSF/1 and HP-UX.
546  ac_max_sed_lines=48
547  ac_sed_frag=1 # Number of current file.
548  ac_beg=1 # First line for current file.
549  ac_end=$ac_max_sed_lines # Line after last line for current file.
550  ac_more_lines=:
551  ac_sed_cmds=
552  while $ac_more_lines; do
553    if test $ac_beg -gt 1; then
554      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
555    else
556      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
557    fi
558    if test ! -s $tmp/subs.frag; then
559      ac_more_lines=false
560    else
561      # The purpose of the label and of the branching condition is to
562      # speed up the sed processing (if there are no `@' at all, there
563      # is no need to browse any of the substitutions).
564      # These are the two extra sed commands mentioned above.
565      (echo ':t
566  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
567      if test -z "$ac_sed_cmds"; then
568	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
569      else
570	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
571      fi
572      ac_sed_frag=`expr $ac_sed_frag + 1`
573      ac_beg=$ac_end
574      ac_end=`expr $ac_end + $ac_max_sed_lines`
575    fi
576  done
577  if test -z "$ac_sed_cmds"; then
578    ac_sed_cmds=cat
579  fi
580fi # test -n "$CONFIG_FILES"
581
582for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
583  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
584  case $ac_file in
585  - | *:- | *:-:* ) # input from stdin
586	cat >$tmp/stdin
587	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
588	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
589  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
590	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
591  * )   ac_file_in=$ac_file.in ;;
592  esac
593
594  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
595  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
596$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
597	 X"$ac_file" : 'X\(//\)[^/]' \| \
598	 X"$ac_file" : 'X\(//\)$' \| \
599	 X"$ac_file" : 'X\(/\)' \| \
600	 .     : '\(.\)' 2>/dev/null ||
601echo X"$ac_file" |
602    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
603  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
604  	  /^X\(\/\/\)$/{ s//\1/; q; }
605  	  /^X\(\/\).*/{ s//\1/; q; }
606  	  s/.*/./; q'`
607  { if $as_mkdir_p; then
608    mkdir -p "$ac_dir"
609  else
610    as_dir="$ac_dir"
611    as_dirs=
612    while test ! -d "$as_dir"; do
613      as_dirs="$as_dir $as_dirs"
614      as_dir=`(dirname "$as_dir") 2>/dev/null ||
615$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
616	 X"$as_dir" : 'X\(//\)[^/]' \| \
617	 X"$as_dir" : 'X\(//\)$' \| \
618	 X"$as_dir" : 'X\(/\)' \| \
619	 .     : '\(.\)' 2>/dev/null ||
620echo X"$as_dir" |
621    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
622  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
623  	  /^X\(\/\/\)$/{ s//\1/; q; }
624  	  /^X\(\/\).*/{ s//\1/; q; }
625  	  s/.*/./; q'`
626    done
627    test ! -n "$as_dirs" || mkdir $as_dirs
628  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
629echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
630   { (exit 1); exit 1; }; }; }
631
632  ac_builddir=.
633
634if test "$ac_dir" != .; then
635  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
636  # A "../" for each directory in $ac_dir_suffix.
637  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
638else
639  ac_dir_suffix= ac_top_builddir=
640fi
641
642case $srcdir in
643  .)  # No --srcdir option.  We are building in place.
644    ac_srcdir=.
645    if test -z "$ac_top_builddir"; then
646       ac_top_srcdir=.
647    else
648       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
649    fi ;;
650  [\\/]* | ?:[\\/]* )  # Absolute path.
651    ac_srcdir=$srcdir$ac_dir_suffix;
652    ac_top_srcdir=$srcdir ;;
653  *) # Relative path.
654    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
655    ac_top_srcdir=$ac_top_builddir$srcdir ;;
656esac
657case "$ac_dir" in
658.) ac_abs_builddir=$ac_builddir;;
659*)
660  case $ac_builddir in
661  .) ac_abs_builddir="$ac_dir";;
662  [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;;
663  *) ac_abs_builddir="$ac_dir"/$ac_builddir;;
664  esac;;
665esac
666case "$ac_dir" in
667.) ac_abs_top_builddir=${ac_top_builddir}.;;
668*)
669  case ${ac_top_builddir}. in
670  .) ac_abs_top_builddir="$ac_dir";;
671  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
672  *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;;
673  esac;;
674esac
675case "$ac_dir" in
676.) ac_abs_srcdir=$ac_srcdir;;
677*)
678  case $ac_srcdir in
679  .) ac_abs_srcdir="$ac_dir";;
680  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
681  *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;;
682  esac;;
683esac
684case "$ac_dir" in
685.) ac_abs_top_srcdir=$ac_top_srcdir;;
686*)
687  case $ac_top_srcdir in
688  .) ac_abs_top_srcdir="$ac_dir";;
689  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
690  *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;;
691  esac;;
692esac
693
694
695  case $INSTALL in
696  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
697  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
698  esac
699
700  if test x"$ac_file" != x-; then
701    { echo "$as_me:$LINENO: creating $ac_file" >&5
702echo "$as_me: creating $ac_file" >&6;}
703    rm -f "$ac_file"
704  fi
705  # Let's still pretend it is `configure' which instantiates (i.e., don't
706  # use $as_me), people would be surprised to read:
707  #    /* config.h.  Generated by config.status.  */
708  if test x"$ac_file" = x-; then
709    configure_input=
710  else
711    configure_input="$ac_file.  "
712  fi
713  configure_input=$configure_input"Generated from `echo $ac_file_in |
714				     sed 's,.*/,,'` by configure."
715
716  # First look for the input files in the build tree, otherwise in the
717  # src tree.
718  ac_file_inputs=`IFS=:
719    for f in $ac_file_in; do
720      case $f in
721      -) echo $tmp/stdin ;;
722      [\\/$]*)
723	 # Absolute (can't be DOS-style, as IFS=:)
724	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
725echo "$as_me: error: cannot find input file: $f" >&2;}
726   { (exit 1); exit 1; }; }
727	 echo "$f";;
728      *) # Relative
729	 if test -f "$f"; then
730	   # Build tree
731	   echo "$f"
732	 elif test -f "$srcdir/$f"; then
733	   # Source tree
734	   echo "$srcdir/$f"
735	 else
736	   # /dev/null tree
737	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
738echo "$as_me: error: cannot find input file: $f" >&2;}
739   { (exit 1); exit 1; }; }
740	 fi;;
741      esac
742    done` || { (exit 1); exit 1; }
743  sed "
744
745:t
746/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
747s,@configure_input@,$configure_input,;t t
748s,@srcdir@,$ac_srcdir,;t t
749s,@abs_srcdir@,$ac_abs_srcdir,;t t
750s,@top_srcdir@,$ac_top_srcdir,;t t
751s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
752s,@builddir@,$ac_builddir,;t t
753s,@abs_builddir@,$ac_abs_builddir,;t t
754s,@top_builddir@,$ac_top_builddir,;t t
755s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
756s,@INSTALL@,$ac_INSTALL,;t t
757" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
758  rm -f $tmp/stdin
759  if test x"$ac_file" != x-; then
760    mv $tmp/out $ac_file
761  else
762    cat $tmp/out
763    rm -f $tmp/out
764  fi
765
766done
767
768#
769# CONFIG_HEADER section.
770#
771
772# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
773# NAME is the cpp macro being defined and VALUE is the value it is being given.
774#
775# ac_d sets the value in "#define NAME VALUE" lines.
776ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
777ac_dB='[	 ].*$,\1#\2'
778ac_dC=' '
779ac_dD=',;t'
780# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
781ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
782ac_uB='$,\1#\2define\3'
783ac_uC=' '
784ac_uD=',;t'
785
786for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
787  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
788  case $ac_file in
789  - | *:- | *:-:* ) # input from stdin
790	cat >$tmp/stdin
791	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
792	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
793  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
794	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
795  * )   ac_file_in=$ac_file.in ;;
796  esac
797
798  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
799echo "$as_me: creating $ac_file" >&6;}
800
801  # First look for the input files in the build tree, otherwise in the
802  # src tree.
803  ac_file_inputs=`IFS=:
804    for f in $ac_file_in; do
805      case $f in
806      -) echo $tmp/stdin ;;
807      [\\/$]*)
808	 # Absolute (can't be DOS-style, as IFS=:)
809	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
810echo "$as_me: error: cannot find input file: $f" >&2;}
811   { (exit 1); exit 1; }; }
812	 # Do quote $f, to prevent DOS paths from being IFS'd.
813	 echo "$f";;
814      *) # Relative
815	 if test -f "$f"; then
816	   # Build tree
817	   echo "$f"
818	 elif test -f "$srcdir/$f"; then
819	   # Source tree
820	   echo "$srcdir/$f"
821	 else
822	   # /dev/null tree
823	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
824echo "$as_me: error: cannot find input file: $f" >&2;}
825   { (exit 1); exit 1; }; }
826	 fi;;
827      esac
828    done` || { (exit 1); exit 1; }
829  # Remove the trailing spaces.
830  sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
831
832  # Handle all the #define templates only if necessary.
833  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then
834  # If there are no defines, we may have an empty if/fi
835  :
836  cat >$tmp/defines.sed <<CEOF
837/^[	 ]*#[	 ]*define/!b
838t clr
839: clr
840${ac_dA}PACKAGE_NAME${ac_dB}PACKAGE_NAME${ac_dC}""${ac_dD}
841${ac_dA}PACKAGE_TARNAME${ac_dB}PACKAGE_TARNAME${ac_dC}""${ac_dD}
842${ac_dA}PACKAGE_VERSION${ac_dB}PACKAGE_VERSION${ac_dC}""${ac_dD}
843${ac_dA}PACKAGE_STRING${ac_dB}PACKAGE_STRING${ac_dC}""${ac_dD}
844${ac_dA}PACKAGE_BUGREPORT${ac_dB}PACKAGE_BUGREPORT${ac_dC}""${ac_dD}
845${ac_dA}PACKAGE${ac_dB}PACKAGE${ac_dC}"duel"${ac_dD}
846${ac_dA}VERSION${ac_dB}VERSION${ac_dC}"0.98"${ac_dD}
847${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
848${ac_dA}HAVE_SYS_TYPES_H${ac_dB}HAVE_SYS_TYPES_H${ac_dC}1${ac_dD}
849${ac_dA}HAVE_SYS_STAT_H${ac_dB}HAVE_SYS_STAT_H${ac_dC}1${ac_dD}
850${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
851${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
852${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD}
853${ac_dA}HAVE_STRINGS_H${ac_dB}HAVE_STRINGS_H${ac_dC}1${ac_dD}
854${ac_dA}HAVE_INTTYPES_H${ac_dB}HAVE_INTTYPES_H${ac_dC}1${ac_dD}
855${ac_dA}HAVE_STDINT_H${ac_dB}HAVE_STDINT_H${ac_dC}1${ac_dD}
856${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
857${ac_dA}HAVE_DLFCN_H${ac_dB}HAVE_DLFCN_H${ac_dC}1${ac_dD}
858${ac_dA}HAVE_LIBSDL${ac_dB}HAVE_LIBSDL${ac_dC}1${ac_dD}
859CEOF
860  sed -f $tmp/defines.sed $tmp/in >$tmp/out
861  rm -f $tmp/in
862  mv $tmp/out $tmp/in
863
864  fi # grep
865
866  # Handle all the #undef templates
867  cat >$tmp/undefs.sed <<CEOF
868/^[	 ]*#[	 ]*undef/!b
869t clr
870: clr
871${ac_uA}PACKAGE_NAME${ac_uB}PACKAGE_NAME${ac_uC}""${ac_uD}
872${ac_uA}PACKAGE_TARNAME${ac_uB}PACKAGE_TARNAME${ac_uC}""${ac_uD}
873${ac_uA}PACKAGE_VERSION${ac_uB}PACKAGE_VERSION${ac_uC}""${ac_uD}
874${ac_uA}PACKAGE_STRING${ac_uB}PACKAGE_STRING${ac_uC}""${ac_uD}
875${ac_uA}PACKAGE_BUGREPORT${ac_uB}PACKAGE_BUGREPORT${ac_uC}""${ac_uD}
876${ac_uA}PACKAGE${ac_uB}PACKAGE${ac_uC}"duel"${ac_uD}
877${ac_uA}VERSION${ac_uB}VERSION${ac_uC}"0.98"${ac_uD}
878${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
879${ac_uA}HAVE_SYS_TYPES_H${ac_uB}HAVE_SYS_TYPES_H${ac_uC}1${ac_uD}
880${ac_uA}HAVE_SYS_STAT_H${ac_uB}HAVE_SYS_STAT_H${ac_uC}1${ac_uD}
881${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
882${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
883${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD}
884${ac_uA}HAVE_STRINGS_H${ac_uB}HAVE_STRINGS_H${ac_uC}1${ac_uD}
885${ac_uA}HAVE_INTTYPES_H${ac_uB}HAVE_INTTYPES_H${ac_uC}1${ac_uD}
886${ac_uA}HAVE_STDINT_H${ac_uB}HAVE_STDINT_H${ac_uC}1${ac_uD}
887${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
888${ac_uA}HAVE_DLFCN_H${ac_uB}HAVE_DLFCN_H${ac_uC}1${ac_uD}
889${ac_uA}HAVE_LIBSDL${ac_uB}HAVE_LIBSDL${ac_uC}1${ac_uD}
890s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
891CEOF
892  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
893  rm -f $tmp/in
894  mv $tmp/out $tmp/in
895
896  # Let's still pretend it is `configure' which instantiates (i.e., don't
897  # use $as_me), people would be surprised to read:
898  #    /* config.h.  Generated by config.status.  */
899  if test x"$ac_file" = x-; then
900    echo "/* Generated by configure.  */" >$tmp/config.h
901  else
902    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
903  fi
904  cat $tmp/in >>$tmp/config.h
905  rm -f $tmp/in
906  if test x"$ac_file" != x-; then
907    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
908      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
909echo "$as_me: $ac_file is unchanged" >&6;}
910    else
911      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
912$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
913	 X"$ac_file" : 'X\(//\)[^/]' \| \
914	 X"$ac_file" : 'X\(//\)$' \| \
915	 X"$ac_file" : 'X\(/\)' \| \
916	 .     : '\(.\)' 2>/dev/null ||
917echo X"$ac_file" |
918    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
919  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
920  	  /^X\(\/\/\)$/{ s//\1/; q; }
921  	  /^X\(\/\).*/{ s//\1/; q; }
922  	  s/.*/./; q'`
923      { if $as_mkdir_p; then
924    mkdir -p "$ac_dir"
925  else
926    as_dir="$ac_dir"
927    as_dirs=
928    while test ! -d "$as_dir"; do
929      as_dirs="$as_dir $as_dirs"
930      as_dir=`(dirname "$as_dir") 2>/dev/null ||
931$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
932	 X"$as_dir" : 'X\(//\)[^/]' \| \
933	 X"$as_dir" : 'X\(//\)$' \| \
934	 X"$as_dir" : 'X\(/\)' \| \
935	 .     : '\(.\)' 2>/dev/null ||
936echo X"$as_dir" |
937    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
938  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
939  	  /^X\(\/\/\)$/{ s//\1/; q; }
940  	  /^X\(\/\).*/{ s//\1/; q; }
941  	  s/.*/./; q'`
942    done
943    test ! -n "$as_dirs" || mkdir $as_dirs
944  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
945echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
946   { (exit 1); exit 1; }; }; }
947
948      rm -f $ac_file
949      mv $tmp/config.h $ac_file
950    fi
951  else
952    cat $tmp/config.h
953    rm -f $tmp/config.h
954  fi
955  # Run the commands associated with the file.
956  case $ac_file in
957    config.h ) # update the timestamp
958echo 'timestamp for config.h' >"./stamp-h1"
959 ;;
960  esac
961done
962
963#
964# CONFIG_COMMANDS section.
965#
966for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
967  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
968  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
969  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
970$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
971	 X"$ac_dest" : 'X\(//\)[^/]' \| \
972	 X"$ac_dest" : 'X\(//\)$' \| \
973	 X"$ac_dest" : 'X\(/\)' \| \
974	 .     : '\(.\)' 2>/dev/null ||
975echo X"$ac_dest" |
976    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
977  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
978  	  /^X\(\/\/\)$/{ s//\1/; q; }
979  	  /^X\(\/\).*/{ s//\1/; q; }
980  	  s/.*/./; q'`
981  { if $as_mkdir_p; then
982    mkdir -p "$ac_dir"
983  else
984    as_dir="$ac_dir"
985    as_dirs=
986    while test ! -d "$as_dir"; do
987      as_dirs="$as_dir $as_dirs"
988      as_dir=`(dirname "$as_dir") 2>/dev/null ||
989$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
990	 X"$as_dir" : 'X\(//\)[^/]' \| \
991	 X"$as_dir" : 'X\(//\)$' \| \
992	 X"$as_dir" : 'X\(/\)' \| \
993	 .     : '\(.\)' 2>/dev/null ||
994echo X"$as_dir" |
995    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
996  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
997  	  /^X\(\/\/\)$/{ s//\1/; q; }
998  	  /^X\(\/\).*/{ s//\1/; q; }
999  	  s/.*/./; q'`
1000    done
1001    test ! -n "$as_dirs" || mkdir $as_dirs
1002  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
1003echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
1004   { (exit 1); exit 1; }; }; }
1005
1006  ac_builddir=.
1007
1008if test "$ac_dir" != .; then
1009  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1010  # A "../" for each directory in $ac_dir_suffix.
1011  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1012else
1013  ac_dir_suffix= ac_top_builddir=
1014fi
1015
1016case $srcdir in
1017  .)  # No --srcdir option.  We are building in place.
1018    ac_srcdir=.
1019    if test -z "$ac_top_builddir"; then
1020       ac_top_srcdir=.
1021    else
1022       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1023    fi ;;
1024  [\\/]* | ?:[\\/]* )  # Absolute path.
1025    ac_srcdir=$srcdir$ac_dir_suffix;
1026    ac_top_srcdir=$srcdir ;;
1027  *) # Relative path.
1028    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1029    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1030esac
1031case "$ac_dir" in
1032.) ac_abs_builddir=$ac_builddir;;
1033*)
1034  case $ac_builddir in
1035  .) ac_abs_builddir="$ac_dir";;
1036  [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;;
1037  *) ac_abs_builddir="$ac_dir"/$ac_builddir;;
1038  esac;;
1039esac
1040case "$ac_dir" in
1041.) ac_abs_top_builddir=${ac_top_builddir}.;;
1042*)
1043  case ${ac_top_builddir}. in
1044  .) ac_abs_top_builddir="$ac_dir";;
1045  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1046  *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;;
1047  esac;;
1048esac
1049case "$ac_dir" in
1050.) ac_abs_srcdir=$ac_srcdir;;
1051*)
1052  case $ac_srcdir in
1053  .) ac_abs_srcdir="$ac_dir";;
1054  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1055  *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;;
1056  esac;;
1057esac
1058case "$ac_dir" in
1059.) ac_abs_top_srcdir=$ac_top_srcdir;;
1060*)
1061  case $ac_top_srcdir in
1062  .) ac_abs_top_srcdir="$ac_dir";;
1063  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1064  *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;;
1065  esac;;
1066esac
1067
1068
1069  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
1070echo "$as_me: executing $ac_dest commands" >&6;}
1071  case $ac_dest in
1072    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
1073  # Strip MF so we end up with the name of the file.
1074  mf=`echo "$mf" | sed -e 's/:.*$//'`
1075  # Check whether this is an Automake generated Makefile or not.
1076  # We used to match only the files named `Makefile.in', but
1077  # some people rename them; so instead we look at the file content.
1078  # Grep'ing the first line is not enough: some people post-process
1079  # each Makefile.in and add a new line on top of each file to say so.
1080  # So let's grep whole file.
1081  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
1082    dirpart=`(dirname "$mf") 2>/dev/null ||
1083$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1084	 X"$mf" : 'X\(//\)[^/]' \| \
1085	 X"$mf" : 'X\(//\)$' \| \
1086	 X"$mf" : 'X\(/\)' \| \
1087	 .     : '\(.\)' 2>/dev/null ||
1088echo X"$mf" |
1089    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1090  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1091  	  /^X\(\/\/\)$/{ s//\1/; q; }
1092  	  /^X\(\/\).*/{ s//\1/; q; }
1093  	  s/.*/./; q'`
1094  else
1095    continue
1096  fi
1097  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
1098  # Extract the definition of DEP_FILES from the Makefile without
1099  # running `make'.
1100  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
1101  test -z "$DEPDIR" && continue
1102  # When using ansi2knr, U may be empty or an underscore; expand it
1103  U=`sed -n -e '/^U = / s///p' < "$mf"`
1104  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
1105  # We invoke sed twice because it is the simplest approach to
1106  # changing $(DEPDIR) to its actual value in the expansion.
1107  for file in `sed -n -e '
1108    /^DEP_FILES = .*\\\\$/ {
1109      s/^DEP_FILES = //
1110      :loop
1111	s/\\\\$//
1112	p
1113	n
1114	/\\\\$/ b loop
1115      p
1116    }
1117    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
1118       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1119    # Make sure the directory exists.
1120    test -f "$dirpart/$file" && continue
1121    fdir=`(dirname "$file") 2>/dev/null ||
1122$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1123	 X"$file" : 'X\(//\)[^/]' \| \
1124	 X"$file" : 'X\(//\)$' \| \
1125	 X"$file" : 'X\(/\)' \| \
1126	 .     : '\(.\)' 2>/dev/null ||
1127echo X"$file" |
1128    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1129  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1130  	  /^X\(\/\/\)$/{ s//\1/; q; }
1131  	  /^X\(\/\).*/{ s//\1/; q; }
1132  	  s/.*/./; q'`
1133    { if $as_mkdir_p; then
1134    mkdir -p $dirpart/$fdir
1135  else
1136    as_dir=$dirpart/$fdir
1137    as_dirs=
1138    while test ! -d "$as_dir"; do
1139      as_dirs="$as_dir $as_dirs"
1140      as_dir=`(dirname "$as_dir") 2>/dev/null ||
1141$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1142	 X"$as_dir" : 'X\(//\)[^/]' \| \
1143	 X"$as_dir" : 'X\(//\)$' \| \
1144	 X"$as_dir" : 'X\(/\)' \| \
1145	 .     : '\(.\)' 2>/dev/null ||
1146echo X"$as_dir" |
1147    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1148  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1149  	  /^X\(\/\/\)$/{ s//\1/; q; }
1150  	  /^X\(\/\).*/{ s//\1/; q; }
1151  	  s/.*/./; q'`
1152    done
1153    test ! -n "$as_dirs" || mkdir $as_dirs
1154  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
1155echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
1156   { (exit 1); exit 1; }; }; }
1157
1158    # echo "creating $dirpart/$file"
1159    echo '# dummy' > "$dirpart/$file"
1160  done
1161done
1162 ;;
1163  esac
1164done
1165
1166{ (exit 0); exit 0; }
1167