/[MITgcm]/mitgcm.org/devel/buildweb/pkg/swish-e/config.status
ViewVC logotype

Annotation of /mitgcm.org/devel/buildweb/pkg/swish-e/config.status

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Fri Sep 20 19:47:29 2002 UTC (22 years, 10 months ago) by adcroft
Branch: Import, MAIN
CVS Tags: baseline, HEAD
Changes since 1.1: +0 -0 lines
Importing web-site building process.

1 adcroft 1.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    
7     debug=false
8     SHELL=${CONFIG_SHELL-/bin/sh}
9    
10     ## --------------------- ##
11     ## M4sh Initialization. ##
12     ## --------------------- ##
13    
14     # Be Bourne compatible
15     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16     emulate sh
17     NULLCMD=:
18     elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19     set -o posix
20     fi
21    
22     # NLS nuisances.
23     # Support unset when possible.
24     if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
25     as_unset=unset
26     else
27     as_unset=false
28     fi
29    
30     (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
31     { $as_unset LANG || test "${LANG+set}" != set; } ||
32     { LANG=C; export LANG; }
33     (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
34     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
35     { LC_ALL=C; export LC_ALL; }
36     (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
37     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
38     { LC_TIME=C; export LC_TIME; }
39     (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
40     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
41     { LC_CTYPE=C; export LC_CTYPE; }
42     (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
43     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
44     { LANGUAGE=C; export LANGUAGE; }
45     (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
46     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
47     { LC_COLLATE=C; export LC_COLLATE; }
48     (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
49     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
50     { LC_NUMERIC=C; export LC_NUMERIC; }
51     (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
52     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
53     { LC_MESSAGES=C; export LC_MESSAGES; }
54    
55    
56     # Name of the executable.
57     as_me=`(basename "$0") 2>/dev/null ||
58     $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59     X"$0" : 'X\(//\)$' \| \
60     X"$0" : 'X\(/\)$' \| \
61     . : '\(.\)' 2>/dev/null ||
62     echo X/"$0" |
63     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
64     /^X\/\(\/\/\)$/{ s//\1/; q; }
65     /^X\/\(\/\).*/{ s//\1/; q; }
66     s/.*/./; q'`
67    
68     # PATH needs CR, and LINENO needs CR and PATH.
69     # Avoid depending upon Character Ranges.
70     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
71     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73     as_cr_digits='0123456789'
74     as_cr_alnum=$as_cr_Letters$as_cr_digits
75    
76     # The user is always right.
77     if test "${PATH_SEPARATOR+set}" != set; then
78     echo "#! /bin/sh" >conftest.sh
79     echo "exit 0" >>conftest.sh
80     chmod +x conftest.sh
81     if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
82     PATH_SEPARATOR=';'
83     else
84     PATH_SEPARATOR=:
85     fi
86     rm -f conftest.sh
87     fi
88    
89    
90     as_lineno_1=$LINENO
91     as_lineno_2=$LINENO
92     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
93     test "x$as_lineno_1" != "x$as_lineno_2" &&
94     test "x$as_lineno_3" = "x$as_lineno_2" || {
95     # Find who we are. Look in the path if we contain no path at all
96     # relative or not.
97     case $0 in
98     *[\\/]* ) as_myself=$0 ;;
99     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100     for as_dir in $PATH
101     do
102     IFS=$as_save_IFS
103     test -z "$as_dir" && as_dir=.
104     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105     done
106    
107     ;;
108     esac
109     # We did not find ourselves, most probably we were run as `sh COMMAND'
110     # in which case we are not to be found in the path.
111     if test "x$as_myself" = x; then
112     as_myself=$0
113     fi
114     if test ! -f "$as_myself"; then
115     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
116     echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
117     { (exit 1); exit 1; }; }
118     fi
119     case $CONFIG_SHELL in
120     '')
121     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
122     for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
123     do
124     IFS=$as_save_IFS
125     test -z "$as_dir" && as_dir=.
126     for as_base in sh bash ksh sh5; do
127     case $as_dir in
128     /*)
129     if ("$as_dir/$as_base" -c '
130     as_lineno_1=$LINENO
131     as_lineno_2=$LINENO
132     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
133     test "x$as_lineno_1" != "x$as_lineno_2" &&
134     test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
135     CONFIG_SHELL=$as_dir/$as_base
136     export CONFIG_SHELL
137     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
138     fi;;
139     esac
140     done
141     done
142     ;;
143     esac
144    
145     # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
146     # uniformly replaced by the line number. The first 'sed' inserts a
147     # line-number line before each line; the second 'sed' does the real
148     # work. The second script uses 'N' to pair each line-number line
149     # with the numbered line, and appends trailing '-' during
150     # substitution so that $LINENO is not a special case at line end.
151     # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
152     # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
153     sed '=' <$as_myself |
154     sed '
155     N
156     s,$,-,
157     : loop
158     s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
159     t loop
160     s,-$,,
161     s,^['$as_cr_digits']*\n,,
162     ' >$as_me.lineno &&
163     chmod +x $as_me.lineno ||
164     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
165     echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
166     { (exit 1); exit 1; }; }
167    
168     # Don't try to exec as it changes $[0], causing all sort of problems
169     # (the dirname of $[0] is not the place where we might find the
170     # original and so on. Autoconf is especially sensible to this).
171     . ./$as_me.lineno
172     # Exit status is that of the last command.
173     exit
174     }
175    
176    
177     case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
178     *c*,-n*) ECHO_N= ECHO_C='
179     ' ECHO_T=' ' ;;
180     *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
181     *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
182     esac
183    
184     if expr a : '\(a\)' >/dev/null 2>&1; then
185     as_expr=expr
186     else
187     as_expr=false
188     fi
189    
190     rm -f conf$$ conf$$.exe conf$$.file
191     echo >conf$$.file
192     if ln -s conf$$.file conf$$ 2>/dev/null; then
193     # We could just check for DJGPP; but this test a) works b) is more generic
194     # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
195     if test -f conf$$.exe; then
196     # Don't use ln at all; we don't have any links
197     as_ln_s='cp -p'
198     else
199     as_ln_s='ln -s'
200     fi
201     elif ln conf$$.file conf$$ 2>/dev/null; then
202     as_ln_s=ln
203     else
204     as_ln_s='cp -p'
205     fi
206     rm -f conf$$ conf$$.exe conf$$.file
207    
208     as_executable_p="test -f"
209    
210     # Sed expression to map a string onto a valid CPP name.
211     as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
212    
213     # Sed expression to map a string onto a valid variable name.
214     as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
215    
216    
217     # IFS
218     # We need space, tab and new line, in precisely that order.
219     as_nl='
220     '
221     IFS=" $as_nl"
222    
223     # CDPATH.
224     $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
225    
226     exec 6>&1
227    
228     # Open the log real soon, to keep \$[0] and so on meaningful, and to
229     # report actual input values of CONFIG_FILES etc. instead of their
230     # values after options handling. Logging --version etc. is OK.
231     exec 5>>config.log
232     {
233     echo
234     sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
235     ## Running $as_me. ##
236     _ASBOX
237     } >&5
238     cat >&5 <<_CSEOF
239    
240     This file was extended by $as_me, which was
241     generated by GNU Autoconf 2.53. Invocation command line was
242    
243     CONFIG_FILES = $CONFIG_FILES
244     CONFIG_HEADERS = $CONFIG_HEADERS
245     CONFIG_LINKS = $CONFIG_LINKS
246     CONFIG_COMMANDS = $CONFIG_COMMANDS
247     $ $0 $@
248    
249     _CSEOF
250     echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
251     echo >&5
252     config_files=" Makefile doc/Makefile src/Makefile"
253     config_headers=" src/acconfig.h"
254    
255     ac_cs_usage="\
256     \`$as_me' instantiates files from templates according to the
257     current configuration.
258    
259     Usage: $0 [OPTIONS] [FILE]...
260    
261     -h, --help print this help, then exit
262     -V, --version print version number, then exit
263     -d, --debug don't remove temporary files
264     --recheck update $as_me by reconfiguring in the same conditions
265     --file=FILE[:TEMPLATE]
266     instantiate the configuration file FILE
267     --header=FILE[:TEMPLATE]
268     instantiate the configuration header FILE
269    
270     Configuration files:
271     $config_files
272    
273     Configuration headers:
274     $config_headers
275    
276     Report bugs to <bug-autoconf@gnu.org>."
277     ac_cs_version="\
278     config.status
279     configured by ./configure, generated by GNU Autoconf 2.53,
280     with options \"'--prefix=/u/httpd/html/devel/buildweb'\"
281    
282     Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
283     Free Software Foundation, Inc.
284     This config.status script is free software; the Free Software Foundation
285     gives unlimited permission to copy, distribute and modify it."
286     srcdir=.
287     # If no file are specified by the user, then we need to provide default
288     # value. By we need to know if files were specified by the user.
289     ac_need_defaults=:
290     while test $# != 0
291     do
292     case $1 in
293     --*=*)
294     ac_option=`expr "x$1" : 'x\([^=]*\)='`
295     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
296     shift
297     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
298     shift
299     ;;
300     -*);;
301     *) # This is not an option, so the user has probably given explicit
302     # arguments.
303     ac_need_defaults=false;;
304     esac
305    
306     case $1 in
307     # Handling of the options.
308     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
309     echo "running /bin/sh ./configure " '--prefix=/u/httpd/html/devel/buildweb' " --no-create --no-recursion"
310     exec /bin/sh ./configure '--prefix=/u/httpd/html/devel/buildweb' --no-create --no-recursion ;;
311     --version | --vers* | -V )
312     echo "$ac_cs_version"; exit 0 ;;
313     --he | --h)
314     # Conflict between --help and --header
315     { { echo "$as_me:$LINENO: error: ambiguous option: $1
316     Try \`$0 --help' for more information." >&5
317     echo "$as_me: error: ambiguous option: $1
318     Try \`$0 --help' for more information." >&2;}
319     { (exit 1); exit 1; }; };;
320     --help | --hel | -h )
321     echo "$ac_cs_usage"; exit 0 ;;
322     --debug | --d* | -d )
323     debug=: ;;
324     --file | --fil | --fi | --f )
325     shift
326     CONFIG_FILES="$CONFIG_FILES $1"
327     ac_need_defaults=false;;
328     --header | --heade | --head | --hea )
329     shift
330     CONFIG_HEADERS="$CONFIG_HEADERS $1"
331     ac_need_defaults=false;;
332    
333     # This is an error.
334     -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
335     Try \`$0 --help' for more information." >&5
336     echo "$as_me: error: unrecognized option: $1
337     Try \`$0 --help' for more information." >&2;}
338     { (exit 1); exit 1; }; } ;;
339    
340     *) ac_config_targets="$ac_config_targets $1" ;;
341    
342     esac
343     shift
344     done
345    
346     for ac_config_target in $ac_config_targets
347     do
348     case "$ac_config_target" in
349     # Handling of arguments.
350     "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
351     "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
352     "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
353     "src/acconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/acconfig.h" ;;
354     *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
355     echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
356     { (exit 1); exit 1; }; };;
357     esac
358     done
359    
360     # If the user did not use the arguments to specify the items to instantiate,
361     # then the envvar interface is used. Set only those that are not.
362     # We use the long form for the default assignment because of an extremely
363     # bizarre bug on SunOS 4.1.3.
364     if $ac_need_defaults; then
365     test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
366     test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
367     fi
368    
369     # Create a temporary directory, and hook for its removal unless debugging.
370     $debug ||
371     {
372     trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
373     trap '{ (exit 1); exit 1; }' 1 2 13 15
374     }
375    
376     # Create a (secure) tmp directory for tmp files.
377     : ${TMPDIR=/tmp}
378     {
379     tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
380     test -n "$tmp" && test -d "$tmp"
381     } ||
382     {
383     tmp=$TMPDIR/cs$$-$RANDOM
384     (umask 077 && mkdir $tmp)
385     } ||
386     {
387     echo "$me: cannot create a temporary directory in $TMPDIR" >&2
388     { (exit 1); exit 1; }
389     }
390    
391    
392     #
393     # CONFIG_FILES section.
394     #
395    
396     # No need to generate the scripts if there are no CONFIG_FILES.
397     # This happens for instance when ./config.status config.h
398     if test -n "$CONFIG_FILES"; then
399     # Protect against being on the right side of a sed subst in config.status.
400     sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g;
401     s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF
402     s,@SHELL@,/bin/sh,;t t
403     s,@PATH_SEPARATOR@,:,;t t
404     s,@PACKAGE_NAME@,,;t t
405     s,@PACKAGE_TARNAME@,,;t t
406     s,@PACKAGE_VERSION@,,;t t
407     s,@PACKAGE_STRING@,,;t t
408     s,@PACKAGE_BUGREPORT@,,;t t
409     s,@exec_prefix@,${prefix},;t t
410     s,@prefix@,/u/httpd/html/devel/buildweb,;t t
411     s,@program_transform_name@,s,x,x,,;t t
412     s,@bindir@,${exec_prefix}/bin,;t t
413     s,@sbindir@,${exec_prefix}/sbin,;t t
414     s,@libexecdir@,${exec_prefix}/libexec,;t t
415     s,@datadir@,${prefix}/share,;t t
416     s,@sysconfdir@,${prefix}/etc,;t t
417     s,@sharedstatedir@,${prefix}/com,;t t
418     s,@localstatedir@,${prefix}/var,;t t
419     s,@libdir@,${exec_prefix}/lib,;t t
420     s,@includedir@,${prefix}/include,;t t
421     s,@oldincludedir@,/usr/include,;t t
422     s,@infodir@,${prefix}/info,;t t
423     s,@mandir@,${prefix}/man,;t t
424     s,@build_alias@,,;t t
425     s,@host_alias@,,;t t
426     s,@target_alias@,,;t t
427     s,@DEFS@,-DHAVE_CONFIG_H,;t t
428     s,@ECHO_C@,,;t t
429     s,@ECHO_N@,-n,;t t
430     s,@ECHO_T@,,;t t
431     s,@LIBS@,-lm -lm ,;t t
432     s,@VERSION@,2.2rc1,;t t
433     s,@PROJECT@,swish-e,;t t
434     s,@CC@,gcc,;t t
435     s,@CFLAGS@,-g -O2,;t t
436     s,@LDFLAGS@,,;t t
437     s,@CPPFLAGS@,,;t t
438     s,@ac_ct_CC@,gcc,;t t
439     s,@EXEEXT@,,;t t
440     s,@OBJEXT@,o,;t t
441     s,@SET_MAKE@,,;t t
442     s,@PERL@,/usr/bin/perl,;t t
443     s,@RANLIB@,ranlib,;t t
444     s,@ac_ct_RANLIB@,ranlib,;t t
445     s,@CPP@,gcc -E,;t t
446     s,@ALLOCA@,,;t t
447     s,@LIBOBJS@,,;t t
448     s,@XML2_CONFIG@,/usr/bin/xml2-config,;t t
449     s,@LIBXML_REQUIRED_VERSION@,2.4.3,;t t
450     s,@LIBXML2_OBJS@,parser.o,;t t
451     s,@LIBXML2_LIB@,-L/usr/lib -lxml2 -lz -lm,;t t
452     s,@LIBXML2_CFLAGS@,-I/usr/include/libxml2,;t t
453     s,@Z_CFLAGS@,,;t t
454     s,@Z_LIBS@,-lz,;t t
455     CEOF
456    
457     # Split the substitutions into bite-sized pieces for seds with
458     # small command number limits, like on Digital OSF/1 and HP-UX.
459     ac_max_sed_lines=48
460     ac_sed_frag=1 # Number of current file.
461     ac_beg=1 # First line for current file.
462     ac_end=$ac_max_sed_lines # Line after last line for current file.
463     ac_more_lines=:
464     ac_sed_cmds=
465     while $ac_more_lines; do
466     if test $ac_beg -gt 1; then
467     sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
468     else
469     sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
470     fi
471     if test ! -s $tmp/subs.frag; then
472     ac_more_lines=false
473     else
474     # The purpose of the label and of the branching condition is to
475     # speed up the sed processing (if there are no `@' at all, there
476     # is no need to browse any of the substitutions).
477     # These are the two extra sed commands mentioned above.
478     (echo ':t
479     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
480     if test -z "$ac_sed_cmds"; then
481     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
482     else
483     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
484     fi
485     ac_sed_frag=`expr $ac_sed_frag + 1`
486     ac_beg=$ac_end
487     ac_end=`expr $ac_end + $ac_max_sed_lines`
488     fi
489     done
490     if test -z "$ac_sed_cmds"; then
491     ac_sed_cmds=cat
492     fi
493     fi # test -n "$CONFIG_FILES"
494    
495     for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
496     # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
497     case $ac_file in
498     - | *:- | *:-:* ) # input from stdin
499     cat >$tmp/stdin
500     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
501     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
502     *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
503     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
504     * ) ac_file_in=$ac_file.in ;;
505     esac
506    
507     # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
508     ac_dir=`(dirname "$ac_file") 2>/dev/null ||
509     $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
510     X"$ac_file" : 'X\(//\)[^/]' \| \
511     X"$ac_file" : 'X\(//\)$' \| \
512     X"$ac_file" : 'X\(/\)' \| \
513     . : '\(.\)' 2>/dev/null ||
514     echo X"$ac_file" |
515     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
516     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
517     /^X\(\/\/\)$/{ s//\1/; q; }
518     /^X\(\/\).*/{ s//\1/; q; }
519     s/.*/./; q'`
520     { case "$ac_dir" in
521     [\\/]* | ?:[\\/]* ) as_incr_dir=;;
522     *) as_incr_dir=.;;
523     esac
524     as_dummy="$ac_dir"
525     for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
526     case $as_mkdir_dir in
527     # Skip DOS drivespec
528     ?:) as_incr_dir=$as_mkdir_dir ;;
529     *)
530     as_incr_dir=$as_incr_dir/$as_mkdir_dir
531     test -d "$as_incr_dir" ||
532     mkdir "$as_incr_dir" ||
533     { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
534     echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
535     { (exit 1); exit 1; }; }
536     ;;
537     esac
538     done; }
539    
540     ac_builddir=.
541    
542     if test "$ac_dir" != .; then
543     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
544     # A "../" for each directory in $ac_dir_suffix.
545     ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
546     else
547     ac_dir_suffix= ac_top_builddir=
548     fi
549    
550     case $srcdir in
551     .) # No --srcdir option. We are building in place.
552     ac_srcdir=.
553     if test -z "$ac_top_builddir"; then
554     ac_top_srcdir=.
555     else
556     ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
557     fi ;;
558     [\\/]* | ?:[\\/]* ) # Absolute path.
559     ac_srcdir=$srcdir$ac_dir_suffix;
560     ac_top_srcdir=$srcdir ;;
561     *) # Relative path.
562     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
563     ac_top_srcdir=$ac_top_builddir$srcdir ;;
564     esac
565     # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
566     # absolute.
567     ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
568     ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
569     ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
570     ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
571    
572    
573    
574     if test x"$ac_file" != x-; then
575     { echo "$as_me:$LINENO: creating $ac_file" >&5
576     echo "$as_me: creating $ac_file" >&6;}
577     rm -f "$ac_file"
578     fi
579     # Let's still pretend it is `configure' which instantiates (i.e., don't
580     # use $as_me), people would be surprised to read:
581     # /* config.h. Generated by config.status. */
582     if test x"$ac_file" = x-; then
583     configure_input=
584     else
585     configure_input="$ac_file. "
586     fi
587     configure_input=$configure_input"Generated from `echo $ac_file_in |
588     sed 's,.*/,,'` by configure."
589    
590     # First look for the input files in the build tree, otherwise in the
591     # src tree.
592     ac_file_inputs=`IFS=:
593     for f in $ac_file_in; do
594     case $f in
595     -) echo $tmp/stdin ;;
596     [\\/$]*)
597     # Absolute (can't be DOS-style, as IFS=:)
598     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
599     echo "$as_me: error: cannot find input file: $f" >&2;}
600     { (exit 1); exit 1; }; }
601     echo $f;;
602     *) # Relative
603     if test -f "$f"; then
604     # Build tree
605     echo $f
606     elif test -f "$srcdir/$f"; then
607     # Source tree
608     echo $srcdir/$f
609     else
610     # /dev/null tree
611     { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
612     echo "$as_me: error: cannot find input file: $f" >&2;}
613     { (exit 1); exit 1; }; }
614     fi;;
615     esac
616     done` || { (exit 1); exit 1; }
617     sed "/^[ ]*VPATH[ ]*=/{
618     s/:*\$(srcdir):*/:/;
619     s/:*\${srcdir}:*/:/;
620     s/:*@srcdir@:*/:/;
621     s/^\([^=]*=[ ]*\):*/\1/;
622     s/:*$//;
623     s/^[^=]*=[ ]*$//;
624     }
625    
626     :t
627     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
628     s,@configure_input@,$configure_input,;t t
629     s,@srcdir@,$ac_srcdir,;t t
630     s,@abs_srcdir@,$ac_abs_srcdir,;t t
631     s,@top_srcdir@,$ac_top_srcdir,;t t
632     s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
633     s,@builddir@,$ac_builddir,;t t
634     s,@abs_builddir@,$ac_abs_builddir,;t t
635     s,@top_builddir@,$ac_top_builddir,;t t
636     s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
637     " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
638     rm -f $tmp/stdin
639     if test x"$ac_file" != x-; then
640     mv $tmp/out $ac_file
641     else
642     cat $tmp/out
643     rm -f $tmp/out
644     fi
645    
646     done
647    
648     #
649     # CONFIG_HEADER section.
650     #
651    
652     # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
653     # NAME is the cpp macro being defined and VALUE is the value it is being given.
654     #
655     # ac_d sets the value in "#define NAME VALUE" lines.
656     ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
657     ac_dB='[ ].*$,\1#\2'
658     ac_dC=' '
659     ac_dD=',;t'
660     # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
661     ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
662     ac_uB='$,\1#\2define\3'
663     ac_uC=' '
664     ac_uD=',;t'
665    
666     for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
667     # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
668     case $ac_file in
669     - | *:- | *:-:* ) # input from stdin
670     cat >$tmp/stdin
671     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
672     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
673     *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
674     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
675     * ) ac_file_in=$ac_file.in ;;
676     esac
677    
678     test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
679     echo "$as_me: creating $ac_file" >&6;}
680    
681     # First look for the input files in the build tree, otherwise in the
682     # src tree.
683     ac_file_inputs=`IFS=:
684     for f in $ac_file_in; do
685     case $f in
686     -) echo $tmp/stdin ;;
687     [\\/$]*)
688     # Absolute (can't be DOS-style, as IFS=:)
689     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
690     echo "$as_me: error: cannot find input file: $f" >&2;}
691     { (exit 1); exit 1; }; }
692     echo $f;;
693     *) # Relative
694     if test -f "$f"; then
695     # Build tree
696     echo $f
697     elif test -f "$srcdir/$f"; then
698     # Source tree
699     echo $srcdir/$f
700     else
701     # /dev/null tree
702     { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
703     echo "$as_me: error: cannot find input file: $f" >&2;}
704     { (exit 1); exit 1; }; }
705     fi;;
706     esac
707     done` || { (exit 1); exit 1; }
708     # Remove the trailing spaces.
709     sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
710    
711     # Handle all the #define templates only if necessary.
712     if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then
713     # If there are no defines, we may have an empty if/fi
714     :
715     cat >$tmp/defines.sed <<CEOF
716     /^[ ]*#[ ]*define/!b
717     t clr
718     : clr
719     ${ac_dA}PACKAGE_NAME${ac_dB}PACKAGE_NAME${ac_dC}""${ac_dD}
720     ${ac_dA}PACKAGE_TARNAME${ac_dB}PACKAGE_TARNAME${ac_dC}""${ac_dD}
721     ${ac_dA}PACKAGE_VERSION${ac_dB}PACKAGE_VERSION${ac_dC}""${ac_dD}
722     ${ac_dA}PACKAGE_STRING${ac_dB}PACKAGE_STRING${ac_dC}""${ac_dD}
723     ${ac_dA}PACKAGE_BUGREPORT${ac_dB}PACKAGE_BUGREPORT${ac_dC}""${ac_dD}
724     ${ac_dA}HAVE_LIBM${ac_dB}HAVE_LIBM${ac_dC}1${ac_dD}
725     ${ac_dA}HAVE_DIRENT_H${ac_dB}HAVE_DIRENT_H${ac_dC}1${ac_dD}
726     ${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
727     ${ac_dA}HAVE_SYS_TYPES_H${ac_dB}HAVE_SYS_TYPES_H${ac_dC}1${ac_dD}
728     ${ac_dA}HAVE_SYS_STAT_H${ac_dB}HAVE_SYS_STAT_H${ac_dC}1${ac_dD}
729     ${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
730     ${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
731     ${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD}
732     ${ac_dA}HAVE_STRINGS_H${ac_dB}HAVE_STRINGS_H${ac_dC}1${ac_dD}
733     ${ac_dA}HAVE_INTTYPES_H${ac_dB}HAVE_INTTYPES_H${ac_dC}1${ac_dD}
734     ${ac_dA}HAVE_STDINT_H${ac_dB}HAVE_STDINT_H${ac_dC}1${ac_dD}
735     ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
736     ${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
737     ${ac_dA}HAVE_ALLOCA_H${ac_dB}HAVE_ALLOCA_H${ac_dC}1${ac_dD}
738     ${ac_dA}HAVE_ALLOCA${ac_dB}HAVE_ALLOCA${ac_dC}1${ac_dD}
739     ${ac_dA}HAVE_STRFTIME${ac_dB}HAVE_STRFTIME${ac_dC}1${ac_dD}
740     ${ac_dA}HAVE_VPRINTF${ac_dB}HAVE_VPRINTF${ac_dC}1${ac_dD}
741     ${ac_dA}HAVE_RE_COMP${ac_dB}HAVE_RE_COMP${ac_dC}1${ac_dD}
742     ${ac_dA}HAVE_REGCOMP${ac_dB}HAVE_REGCOMP${ac_dC}1${ac_dD}
743     ${ac_dA}HAVE_STRDUP${ac_dB}HAVE_STRDUP${ac_dC}1${ac_dD}
744     ${ac_dA}HAVE_STRSTR${ac_dB}HAVE_STRSTR${ac_dC}1${ac_dD}
745     ${ac_dA}HAVE_LIBM${ac_dB}HAVE_LIBM${ac_dC}1${ac_dD}
746     ${ac_dA}HAVE_VSNPRINTF${ac_dB}HAVE_VSNPRINTF${ac_dC}1${ac_dD}
747     ${ac_dA}HAVE_LIBXML2${ac_dB}HAVE_LIBXML2${ac_dC}1${ac_dD}
748     ${ac_dA}HAVE_ZLIB_H${ac_dB}HAVE_ZLIB_H${ac_dC}1${ac_dD}
749     ${ac_dA}HAVE_LIBZ${ac_dB}HAVE_LIBZ${ac_dC}1${ac_dD}
750     ${ac_dA}HAVE_ZLIB${ac_dB}HAVE_ZLIB${ac_dC}1${ac_dD}
751     CEOF
752     sed -f $tmp/defines.sed $tmp/in >$tmp/out
753     rm -f $tmp/in
754     mv $tmp/out $tmp/in
755    
756     fi # egrep
757    
758     # Handle all the #undef templates
759     cat >$tmp/undefs.sed <<CEOF
760     /^[ ]*#[ ]*undef/!b
761     t clr
762     : clr
763     ${ac_uA}PACKAGE_NAME${ac_uB}PACKAGE_NAME${ac_uC}""${ac_uD}
764     ${ac_uA}PACKAGE_TARNAME${ac_uB}PACKAGE_TARNAME${ac_uC}""${ac_uD}
765     ${ac_uA}PACKAGE_VERSION${ac_uB}PACKAGE_VERSION${ac_uC}""${ac_uD}
766     ${ac_uA}PACKAGE_STRING${ac_uB}PACKAGE_STRING${ac_uC}""${ac_uD}
767     ${ac_uA}PACKAGE_BUGREPORT${ac_uB}PACKAGE_BUGREPORT${ac_uC}""${ac_uD}
768     ${ac_uA}HAVE_LIBM${ac_uB}HAVE_LIBM${ac_uC}1${ac_uD}
769     ${ac_uA}HAVE_DIRENT_H${ac_uB}HAVE_DIRENT_H${ac_uC}1${ac_uD}
770     ${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
771     ${ac_uA}HAVE_SYS_TYPES_H${ac_uB}HAVE_SYS_TYPES_H${ac_uC}1${ac_uD}
772     ${ac_uA}HAVE_SYS_STAT_H${ac_uB}HAVE_SYS_STAT_H${ac_uC}1${ac_uD}
773     ${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
774     ${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
775     ${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD}
776     ${ac_uA}HAVE_STRINGS_H${ac_uB}HAVE_STRINGS_H${ac_uC}1${ac_uD}
777     ${ac_uA}HAVE_INTTYPES_H${ac_uB}HAVE_INTTYPES_H${ac_uC}1${ac_uD}
778     ${ac_uA}HAVE_STDINT_H${ac_uB}HAVE_STDINT_H${ac_uC}1${ac_uD}
779     ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
780     ${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
781     ${ac_uA}HAVE_ALLOCA_H${ac_uB}HAVE_ALLOCA_H${ac_uC}1${ac_uD}
782     ${ac_uA}HAVE_ALLOCA${ac_uB}HAVE_ALLOCA${ac_uC}1${ac_uD}
783     ${ac_uA}HAVE_STRFTIME${ac_uB}HAVE_STRFTIME${ac_uC}1${ac_uD}
784     ${ac_uA}HAVE_VPRINTF${ac_uB}HAVE_VPRINTF${ac_uC}1${ac_uD}
785     ${ac_uA}HAVE_RE_COMP${ac_uB}HAVE_RE_COMP${ac_uC}1${ac_uD}
786     ${ac_uA}HAVE_REGCOMP${ac_uB}HAVE_REGCOMP${ac_uC}1${ac_uD}
787     ${ac_uA}HAVE_STRDUP${ac_uB}HAVE_STRDUP${ac_uC}1${ac_uD}
788     ${ac_uA}HAVE_STRSTR${ac_uB}HAVE_STRSTR${ac_uC}1${ac_uD}
789     ${ac_uA}HAVE_LIBM${ac_uB}HAVE_LIBM${ac_uC}1${ac_uD}
790     ${ac_uA}HAVE_VSNPRINTF${ac_uB}HAVE_VSNPRINTF${ac_uC}1${ac_uD}
791     ${ac_uA}HAVE_LIBXML2${ac_uB}HAVE_LIBXML2${ac_uC}1${ac_uD}
792     ${ac_uA}HAVE_ZLIB_H${ac_uB}HAVE_ZLIB_H${ac_uC}1${ac_uD}
793     ${ac_uA}HAVE_LIBZ${ac_uB}HAVE_LIBZ${ac_uC}1${ac_uD}
794     ${ac_uA}HAVE_ZLIB${ac_uB}HAVE_ZLIB${ac_uC}1${ac_uD}
795     s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
796     CEOF
797     sed -f $tmp/undefs.sed $tmp/in >$tmp/out
798     rm -f $tmp/in
799     mv $tmp/out $tmp/in
800    
801     # Let's still pretend it is `configure' which instantiates (i.e., don't
802     # use $as_me), people would be surprised to read:
803     # /* config.h. Generated by config.status. */
804     if test x"$ac_file" = x-; then
805     echo "/* Generated by configure. */" >$tmp/config.h
806     else
807     echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
808     fi
809     cat $tmp/in >>$tmp/config.h
810     rm -f $tmp/in
811     if test x"$ac_file" != x-; then
812     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
813     { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
814     echo "$as_me: $ac_file is unchanged" >&6;}
815     else
816     ac_dir=`(dirname "$ac_file") 2>/dev/null ||
817     $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
818     X"$ac_file" : 'X\(//\)[^/]' \| \
819     X"$ac_file" : 'X\(//\)$' \| \
820     X"$ac_file" : 'X\(/\)' \| \
821     . : '\(.\)' 2>/dev/null ||
822     echo X"$ac_file" |
823     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
824     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
825     /^X\(\/\/\)$/{ s//\1/; q; }
826     /^X\(\/\).*/{ s//\1/; q; }
827     s/.*/./; q'`
828     { case "$ac_dir" in
829     [\\/]* | ?:[\\/]* ) as_incr_dir=;;
830     *) as_incr_dir=.;;
831     esac
832     as_dummy="$ac_dir"
833     for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
834     case $as_mkdir_dir in
835     # Skip DOS drivespec
836     ?:) as_incr_dir=$as_mkdir_dir ;;
837     *)
838     as_incr_dir=$as_incr_dir/$as_mkdir_dir
839     test -d "$as_incr_dir" ||
840     mkdir "$as_incr_dir" ||
841     { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
842     echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
843     { (exit 1); exit 1; }; }
844     ;;
845     esac
846     done; }
847    
848     rm -f $ac_file
849     mv $tmp/config.h $ac_file
850     fi
851     else
852     cat $tmp/config.h
853     rm -f $tmp/config.h
854     fi
855     done
856    
857     { (exit 0); exit 0; }

  ViewVC Help
Powered by ViewVC 1.1.22