blob: db75368bdc4f2967f0de0f1dd475219950ff4ac5 [file] [log] [blame]
Theodore Ts'o50e1e101997-04-26 13:58:21 +00001#!/bin/sh
2
3# Guess values for system-dependent variables and create Makefiles.
4# Generated automatically using autoconf version 2.1
5# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
6#
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9
10# Defaults:
11ac_help=
12ac_default_prefix=/usr/local
13# Any additions from configure.in:
14ac_help="$ac_help
15select compiler to use"
16ac_help="$ac_help
17select compiler command line options"
18ac_help="$ac_help
19select compiler preprocessor command line options"
20
21# Initialize some variables set by options.
22# The variables have the same names as the options, with
23# dashes changed to underlines.
24build=NONE
25cache_file=./config.cache
26exec_prefix=NONE
27host=NONE
28no_create=
29nonopt=NONE
30no_recursion=
31prefix=NONE
32program_prefix=NONE
33program_suffix=NONE
34program_transform_name=s,x,x,
35silent=
36site=
37srcdir=
38target=NONE
39verbose=
40x_includes=NONE
41x_libraries=NONE
42
43# Initialize some other variables.
44subdirs=
45
46ac_prev=
47for ac_option
48do
49
50 # If the previous option needs an argument, assign it.
51 if test -n "$ac_prev"; then
52 eval "$ac_prev=\$ac_option"
53 ac_prev=
54 continue
55 fi
56
57 case "$ac_option" in
58 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
59 *) ac_optarg= ;;
60 esac
61
62 # Accept the important Cygnus configure options, so we can diagnose typos.
63
64 case "$ac_option" in
65
66 -build | --build | --buil | --bui | --bu | --b)
67 ac_prev=build ;;
68 -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
69 build="$ac_optarg" ;;
70
71 -cache-file | --cache-file | --cache-fil | --cache-fi \
72 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
73 ac_prev=cache_file ;;
74 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
75 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
76 cache_file="$ac_optarg" ;;
77
78 -disable-* | --disable-*)
79 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
80 # Reject names that are not valid shell variable names.
81 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
82 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
83 fi
84 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
85 eval "enable_${ac_feature}=no" ;;
86
87 -enable-* | --enable-*)
88 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
89 # Reject names that are not valid shell variable names.
90 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
91 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
92 fi
93 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
94 case "$ac_option" in
95 *=*) ;;
96 *) ac_optarg=yes ;;
97 esac
98 eval "enable_${ac_feature}='$ac_optarg'" ;;
99
100 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
101 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
102 | --exec | --exe | --ex)
103 ac_prev=exec_prefix ;;
104 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
105 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
106 | --exec=* | --exe=* | --ex=*)
107 exec_prefix="$ac_optarg" ;;
108
109 -gas | --gas | --ga | --g)
110 # Obsolete; use --with-gas.
111 with_gas=yes ;;
112
113 -help | --help | --hel | --he)
114 # Omit some internal or obsolete options to make the list less imposing.
115 # This message is too long to be a string in the A/UX 3.1 sh.
116 cat << EOF
117Usage: configure [options] [host]
118Options: [defaults in brackets after descriptions]
119Configuration:
120 --cache-file=FILE cache test results in FILE
121 --help print this message
122 --no-create do not create output files
123 --quiet, --silent do not print \`checking...' messages
124 --version print the version of autoconf that created configure
125Directory and file names:
126 --prefix=PREFIX install architecture-independent files in PREFIX
127 [$ac_default_prefix]
128 --exec-prefix=PREFIX install architecture-dependent files in PREFIX
129 [same as prefix]
130 --srcdir=DIR find the sources in DIR [configure dir or ..]
131 --program-prefix=PREFIX prepend PREFIX to installed program names
132 --program-suffix=SUFFIX append SUFFIX to installed program names
133 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
134Host type:
135 --build=BUILD configure for building on BUILD [BUILD=HOST]
136 --host=HOST configure for HOST [guessed]
137 --target=TARGET configure for TARGET [TARGET=HOST]
138Features and packages:
139 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
140 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
141 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
142 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
143 --x-includes=DIR X include files are in DIR
144 --x-libraries=DIR X library files are in DIR
145--enable and --with options recognized:$ac_help
146EOF
147 exit 0 ;;
148
149 -host | --host | --hos | --ho)
150 ac_prev=host ;;
151 -host=* | --host=* | --hos=* | --ho=*)
152 host="$ac_optarg" ;;
153
154 -nfp | --nfp | --nf)
155 # Obsolete; use --without-fp.
156 with_fp=no ;;
157
158 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
159 | --no-cr | --no-c)
160 no_create=yes ;;
161
162 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
163 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
164 no_recursion=yes ;;
165
166 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
167 ac_prev=prefix ;;
168 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
169 prefix="$ac_optarg" ;;
170
171 -program-prefix | --program-prefix | --program-prefi | --program-pref \
172 | --program-pre | --program-pr | --program-p)
173 ac_prev=program_prefix ;;
174 -program-prefix=* | --program-prefix=* | --program-prefi=* \
175 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
176 program_prefix="$ac_optarg" ;;
177
178 -program-suffix | --program-suffix | --program-suffi | --program-suff \
179 | --program-suf | --program-su | --program-s)
180 ac_prev=program_suffix ;;
181 -program-suffix=* | --program-suffix=* | --program-suffi=* \
182 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
183 program_suffix="$ac_optarg" ;;
184
185 -program-transform-name | --program-transform-name \
186 | --program-transform-nam | --program-transform-na \
187 | --program-transform-n | --program-transform- \
188 | --program-transform | --program-transfor \
189 | --program-transfo | --program-transf \
190 | --program-trans | --program-tran \
191 | --progr-tra | --program-tr | --program-t)
192 ac_prev=program_transform_name ;;
193 -program-transform-name=* | --program-transform-name=* \
194 | --program-transform-nam=* | --program-transform-na=* \
195 | --program-transform-n=* | --program-transform-=* \
196 | --program-transform=* | --program-transfor=* \
197 | --program-transfo=* | --program-transf=* \
198 | --program-trans=* | --program-tran=* \
199 | --progr-tra=* | --program-tr=* | --program-t=*)
200 program_transform_name="$ac_optarg" ;;
201
202 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
203 | -silent | --silent | --silen | --sile | --sil)
204 silent=yes ;;
205
206 -site | --site | --sit)
207 ac_prev=site ;;
208 -site=* | --site=* | --sit=*)
209 site="$ac_optarg" ;;
210
211 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
212 ac_prev=srcdir ;;
213 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
214 srcdir="$ac_optarg" ;;
215
216 -target | --target | --targe | --targ | --tar | --ta | --t)
217 ac_prev=target ;;
218 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
219 target="$ac_optarg" ;;
220
221 -v | -verbose | --verbose | --verbos | --verbo | --verb)
222 verbose=yes ;;
223
224 -version | --version | --versio | --versi | --vers)
225 echo "configure generated by autoconf version 2.1"
226 exit 0 ;;
227
228 -with-* | --with-*)
229 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
230 # Reject names that are not valid shell variable names.
231 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
232 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
233 fi
234 ac_package=`echo $ac_package| sed 's/-/_/g'`
235 case "$ac_option" in
236 *=*) ;;
237 *) ac_optarg=yes ;;
238 esac
239 eval "with_${ac_package}='$ac_optarg'" ;;
240
241 -without-* | --without-*)
242 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
243 # Reject names that are not valid shell variable names.
244 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
245 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
246 fi
247 ac_package=`echo $ac_package| sed 's/-/_/g'`
248 eval "with_${ac_package}=no" ;;
249
250 --x)
251 # Obsolete; use --with-x.
252 with_x=yes ;;
253
254 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
255 | --x-incl | --x-inc | --x-in | --x-i)
256 ac_prev=x_includes ;;
257 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
258 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
259 x_includes="$ac_optarg" ;;
260
261 -x-libraries | --x-libraries | --x-librarie | --x-librari \
262 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
263 ac_prev=x_libraries ;;
264 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
265 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
266 x_libraries="$ac_optarg" ;;
267
268 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
269 ;;
270
271 *)
272 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
273 echo "configure: warning: $ac_option: invalid host type" 1>&2
274 fi
275 if test "x$nonopt" != xNONE; then
276 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
277 fi
278 nonopt="$ac_option"
279 ;;
280
281 esac
282done
283
284if test -n "$ac_prev"; then
285 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
286fi
287
288trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
289
290# File descriptor usage:
291# 0 unused; standard input
292# 1 file creation
293# 2 errors and warnings
294# 3 unused; some systems may open it to /dev/tty
295# 4 checking for... messages and results
296# 5 compiler messages saved in config.log
297if test "$silent" = yes; then
298 exec 4>/dev/null
299else
300 exec 4>&1
301fi
302exec 5>./config.log
303
304echo "\
305This file contains any messages produced by compilers while
306running configure, to aid debugging if configure makes a mistake.
307" 1>&5
308
309# Strip out --no-create and --no-recursion so they do not pile up.
310# Also quote any args containing shell metacharacters.
311ac_configure_args=
312for ac_arg
313do
314 case "$ac_arg" in
315 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
316 | --no-cr | --no-c) ;;
317 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
318 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
319 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
320 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
321 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
322 esac
323done
324
325# NLS nuisances.
326# Only set LANG and LC_ALL to C if already set.
327# These must not be set unconditionally because not all systems understand
328# e.g. LANG=C (notably SCO).
329if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
330if test "${LANG+set}" = set; then LANG=C; export LANG; fi
331
332# confdefs.h avoids OS command line length limits that DEFS can exceed.
333rm -rf conftest* confdefs.h
334# AIX cpp loses on an empty file, so make sure it contains at least a newline.
335echo > confdefs.h
336
337# A filename unique to this package, relative to the directory that
338# configure is in, which we can look for to find out if srcdir is correct.
339ac_unique_file=e2p.h
340
341# Find the source files, if location was not specified.
342if test -z "$srcdir"; then
343 ac_srcdir_defaulted=yes
344 # Try the directory containing this script, then its parent.
345 ac_prog=$0
346 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
347 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
348 srcdir=$ac_confdir
349 if test ! -r $srcdir/$ac_unique_file; then
350 srcdir=..
351 fi
352else
353 ac_srcdir_defaulted=no
354fi
355if test ! -r $srcdir/$ac_unique_file; then
356 if test "$ac_srcdir_defaulted" = yes; then
357 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
358 else
359 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
360 fi
361fi
362srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
363
364# Prefer explicitly selected file to automatically selected ones.
365if test -z "$CONFIG_SITE"; then
366 if test "x$prefix" != xNONE; then
367 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
368 else
369 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
370 fi
371fi
372for ac_site_file in $CONFIG_SITE; do
373 if test -r "$ac_site_file"; then
374 echo "loading site script $ac_site_file"
375 . "$ac_site_file"
376 fi
377done
378
379if test -r "$cache_file"; then
380 echo "loading cache $cache_file"
381 . $cache_file
382else
383 echo "creating cache $cache_file"
384 > $cache_file
385fi
386
387ac_ext=c
388# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
389ac_cpp='$CPP $CPPFLAGS'
390ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
391ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
392
393if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
394 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
395 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
396 ac_n= ac_c='
397' ac_t=' '
398 else
399 ac_n=-n ac_c= ac_t=
400 fi
401else
402 ac_n= ac_c='\c' ac_t=
403fi
404
405
406
407
408# Check whether --with-cc or --without-cc was given.
409withval="$with_cc"
410if test -n "$withval"; then
411 echo "$ac_t""CC=$withval" 1>&4
412CC=$withval
413else
414 if test -z "$CC" ; then CC=cc; fi
415echo "$ac_t""CC defaults to $CC" 1>&4
416fi
417
418
419# Check whether --with-ccopts or --without-ccopts was given.
420withval="$with_ccopts"
421if test -n "$withval"; then
422 echo "$ac_t""CCOPTS is $withval" 1>&4
423CCOPTS=$withval
424CFLAGS="$CFLAGS $withval"
425else
426 CCOPTS=
427fi
428
429
430# Check whether --with-cppopts or --without-cppopts was given.
431withval="$with_cppopts"
432if test -n "$withval"; then
433 echo "$ac_t""CPPOPTS=$withval" 1>&4
434CPPOPTS=$withval
435CPPFLAGS="$CPPFLAGS $withval"
436else
437 echo "$ac_t""CPPOPTS defaults to $CPPOPTS" 1>&4
438fi
439
440trap '' 1 2 15
441if test -w $cache_file; then
442echo "updating cache $cache_file"
443cat > $cache_file <<\EOF
444# This file is a shell script that caches the results of configure
445# tests run on this system so they can be shared between configure
446# scripts and configure runs. It is not useful on other systems.
447# If it contains results you don't want to keep, you may remove or edit it.
448#
449# By default, configure uses ./config.cache as the cache file,
450# creating it if it does not exist already. You can give configure
451# the --cache-file=FILE option to use a different cache file; that is
452# what configure does when it calls configure scripts in
453# subdirectories, so they share the cache.
454# Giving --cache-file=/dev/null disables caching, for debugging configure.
455# config.status only pays attention to the cache file if you give it the
456# --recheck option to rerun configure.
457#
458EOF
459# Ultrix sh set writes to stderr and can't be redirected directly.
460(set) 2>&1 |
461 sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" \
462 >> $cache_file
463else
464echo "not updating unwritable cache $cache_file"
465fi
466
467trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
468
469test "x$prefix" = xNONE && prefix=$ac_default_prefix
470# Let make expand exec_prefix.
471test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
472
473# Any assignment to VPATH causes Sun make to only execute
474# the first set of double-colon rules, so remove it if not needed.
475# If there is a colon in the path, we need to keep it.
476if test "x$srcdir" = x.; then
477 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
478fi
479
480trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
481
482# Transform confdefs.h into DEFS.
483# Protect against shell expansion while executing Makefile rules.
484# Protect against Makefile macro expansion.
485cat > conftest.defs <<\EOF
486s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%-D\1=\2%g
487s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
488s%\[%\\&%g
489s%\]%\\&%g
490s%\$%$$%g
491EOF
492DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
493rm -f conftest.defs
494
495
496# Without the "./", some shells look in PATH for config.status.
497: ${CONFIG_STATUS=./config.status}
498
499echo creating $CONFIG_STATUS
500rm -f $CONFIG_STATUS
501cat > $CONFIG_STATUS <<EOF
502#!/bin/sh
503# Generated automatically by configure.
504# Run this file to recreate the current configuration.
505# This directory was configured as follows,
506# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
507#
508# $0 $ac_configure_args
509#
510# Compiler output produced by configure, useful for debugging
511# configure, is in ./config.log if it exists.
512
513ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
514for ac_option
515do
516 case "\$ac_option" in
517 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
518 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
519 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
520 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
521 echo "$CONFIG_STATUS generated by autoconf version 2.1"
522 exit 0 ;;
523 -help | --help | --hel | --he | --h)
524 echo "\$ac_cs_usage"; exit 0 ;;
525 *) echo "\$ac_cs_usage"; exit 1 ;;
526 esac
527done
528
529ac_given_srcdir=$srcdir
530
531trap 'rm -f Makefile; exit 1' 1 2 15
532
533# Protect against being on the right side of a sed subst in config.status.
534sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g;
535 s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
536$ac_vpsub
537$extrasub
538s%@CFLAGS@%$CFLAGS%g
539s%@CPPFLAGS@%$CPPFLAGS%g
540s%@CXXFLAGS@%$CXXFLAGS%g
541s%@DEFS@%$DEFS%g
542s%@LDFLAGS@%$LDFLAGS%g
543s%@LIBS@%$LIBS%g
544s%@exec_prefix@%$exec_prefix%g
545s%@prefix@%$prefix%g
546s%@program_transform_name@%$program_transform_name%g
547s%@CC@%$CC%g
548s%@CCOPTS@%$CCOPTS%g
549s%@CPPOPTS@%$CPPOPTS%g
550
551CEOF
552EOF
553cat >> $CONFIG_STATUS <<EOF
554
555CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
556EOF
557cat >> $CONFIG_STATUS <<\EOF
558for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
559 # Support "outfile[:infile]", defaulting infile="outfile.in".
560 case "$ac_file" in
561 *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
562 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
563 *) ac_file_in="${ac_file}.in" ;;
564 esac
565
566 # Adjust relative srcdir, etc. for subdirectories.
567
568 # Remove last slash and all that follows it. Not all systems have dirname.
569 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
570 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
571 # The file is in a subdirectory.
572 test ! -d "$ac_dir" && mkdir "$ac_dir"
573 ac_dir_suffix="/$ac_dir"
574 # A "../" for each directory in $ac_dir_suffix.
575 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
576 else
577 ac_dir_suffix= ac_dots=
578 fi
579
580 case "$ac_given_srcdir" in
581 .) srcdir=.
582 if test -z "$ac_dots"; then top_srcdir=.
583 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
584 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
585 *) # Relative path.
586 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
587 top_srcdir="$ac_dots$ac_given_srcdir" ;;
588 esac
589
590 echo creating "$ac_file"
591 rm -f "$ac_file"
592 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
593 case "$ac_file" in
594 *Makefile*) ac_comsub="1i\\
595# $configure_input" ;;
596 *) ac_comsub= ;;
597 esac
598 sed -e "$ac_comsub
599s%@configure_input@%$configure_input%g
600s%@srcdir@%$srcdir%g
601s%@top_srcdir@%$top_srcdir%g
602" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
603fi; done
604rm -f conftest.subs
605
606
607
608exit 0
609EOF
610chmod +x $CONFIG_STATUS
611rm -fr confdefs* $ac_clean_files
612test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS
613