OSDN Git Service

* public snapshot of sid simulator
[pf3gnuchains/pf3gnuchains3x.git] / sid / include / configure
1 #! /bin/sh
2
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13 
5 # Copyright (C) 1992, 93, 94, 95, 96 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:
11 ac_help=
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
14 ac_help="$ac_help
15   --enable-maintainer-mode enable make rules and dependencies not useful
16                           (and sometimes confusing) to the casual installer"
17 ac_help="$ac_help
18   --disable-assert        disable run-time assertion checking [default=enabled]"
19
20 # Initialize some variables set by options.
21 # The variables have the same names as the options, with
22 # dashes changed to underlines.
23 build=NONE
24 cache_file=./config.cache
25 exec_prefix=NONE
26 host=NONE
27 no_create=
28 nonopt=NONE
29 no_recursion=
30 prefix=NONE
31 program_prefix=NONE
32 program_suffix=NONE
33 program_transform_name=s,x,x,
34 silent=
35 site=
36 sitefile=
37 srcdir=
38 target=NONE
39 verbose=
40 x_includes=NONE
41 x_libraries=NONE
42 bindir='${exec_prefix}/bin'
43 sbindir='${exec_prefix}/sbin'
44 libexecdir='${exec_prefix}/libexec'
45 datadir='${prefix}/share'
46 sysconfdir='${prefix}/etc'
47 sharedstatedir='${prefix}/com'
48 localstatedir='${prefix}/var'
49 libdir='${exec_prefix}/lib'
50 includedir='${prefix}/include'
51 oldincludedir='/usr/include'
52 infodir='${prefix}/info'
53 mandir='${prefix}/man'
54
55 # Initialize some other variables.
56 subdirs=
57 MFLAGS= MAKEFLAGS=
58 SHELL=${CONFIG_SHELL-/bin/sh}
59 # Maximum number of lines to put in a shell here document.
60 ac_max_here_lines=12
61
62 ac_prev=
63 for ac_option
64 do
65
66   # If the previous option needs an argument, assign it.
67   if test -n "$ac_prev"; then
68     eval "$ac_prev=\$ac_option"
69     ac_prev=
70     continue
71   fi
72
73   case "$ac_option" in
74   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
75   *) ac_optarg= ;;
76   esac
77
78   # Accept the important Cygnus configure options, so we can diagnose typos.
79
80   case "$ac_option" in
81
82   -bindir | --bindir | --bindi | --bind | --bin | --bi)
83     ac_prev=bindir ;;
84   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
85     bindir="$ac_optarg" ;;
86
87   -build | --build | --buil | --bui | --bu)
88     ac_prev=build ;;
89   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
90     build="$ac_optarg" ;;
91
92   -cache-file | --cache-file | --cache-fil | --cache-fi \
93   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
94     ac_prev=cache_file ;;
95   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
96   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
97     cache_file="$ac_optarg" ;;
98
99   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
100     ac_prev=datadir ;;
101   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
102   | --da=*)
103     datadir="$ac_optarg" ;;
104
105   -disable-* | --disable-*)
106     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
107     # Reject names that are not valid shell variable names.
108     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
109       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
110     fi
111     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
112     eval "enable_${ac_feature}=no" ;;
113
114   -enable-* | --enable-*)
115     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
116     # Reject names that are not valid shell variable names.
117     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
118       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
119     fi
120     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
121     case "$ac_option" in
122       *=*) ;;
123       *) ac_optarg=yes ;;
124     esac
125     eval "enable_${ac_feature}='$ac_optarg'" ;;
126
127   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
128   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
129   | --exec | --exe | --ex)
130     ac_prev=exec_prefix ;;
131   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
132   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
133   | --exec=* | --exe=* | --ex=*)
134     exec_prefix="$ac_optarg" ;;
135
136   -gas | --gas | --ga | --g)
137     # Obsolete; use --with-gas.
138     with_gas=yes ;;
139
140   -help | --help | --hel | --he)
141     # Omit some internal or obsolete options to make the list less imposing.
142     # This message is too long to be a string in the A/UX 3.1 sh.
143     cat << EOF
144 Usage: configure [options] [host]
145 Options: [defaults in brackets after descriptions]
146 Configuration:
147   --cache-file=FILE       cache test results in FILE
148   --help                  print this message
149   --no-create             do not create output files
150   --quiet, --silent       do not print \`checking...' messages
151   --site-file=FILE        use FILE as the site file
152   --version               print the version of autoconf that created configure
153 Directory and file names:
154   --prefix=PREFIX         install architecture-independent files in PREFIX
155                           [$ac_default_prefix]
156   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
157                           [same as prefix]
158   --bindir=DIR            user executables in DIR [EPREFIX/bin]
159   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
160   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
161   --datadir=DIR           read-only architecture-independent data in DIR
162                           [PREFIX/share]
163   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
164   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
165                           [PREFIX/com]
166   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
167   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
168   --includedir=DIR        C header files in DIR [PREFIX/include]
169   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
170   --infodir=DIR           info documentation in DIR [PREFIX/info]
171   --mandir=DIR            man documentation in DIR [PREFIX/man]
172   --srcdir=DIR            find the sources in DIR [configure dir or ..]
173   --program-prefix=PREFIX prepend PREFIX to installed program names
174   --program-suffix=SUFFIX append SUFFIX to installed program names
175   --program-transform-name=PROGRAM
176                           run sed PROGRAM on installed program names
177 EOF
178     cat << EOF
179 Host type:
180   --build=BUILD           configure for building on BUILD [BUILD=HOST]
181   --host=HOST             configure for HOST [guessed]
182   --target=TARGET         configure for TARGET [TARGET=HOST]
183 Features and packages:
184   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
185   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
186   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
187   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
188   --x-includes=DIR        X include files are in DIR
189   --x-libraries=DIR       X library files are in DIR
190 EOF
191     if test -n "$ac_help"; then
192       echo "--enable and --with options recognized:$ac_help"
193     fi
194     exit 0 ;;
195
196   -host | --host | --hos | --ho)
197     ac_prev=host ;;
198   -host=* | --host=* | --hos=* | --ho=*)
199     host="$ac_optarg" ;;
200
201   -includedir | --includedir | --includedi | --included | --include \
202   | --includ | --inclu | --incl | --inc)
203     ac_prev=includedir ;;
204   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
205   | --includ=* | --inclu=* | --incl=* | --inc=*)
206     includedir="$ac_optarg" ;;
207
208   -infodir | --infodir | --infodi | --infod | --info | --inf)
209     ac_prev=infodir ;;
210   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
211     infodir="$ac_optarg" ;;
212
213   -libdir | --libdir | --libdi | --libd)
214     ac_prev=libdir ;;
215   -libdir=* | --libdir=* | --libdi=* | --libd=*)
216     libdir="$ac_optarg" ;;
217
218   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
219   | --libexe | --libex | --libe)
220     ac_prev=libexecdir ;;
221   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
222   | --libexe=* | --libex=* | --libe=*)
223     libexecdir="$ac_optarg" ;;
224
225   -localstatedir | --localstatedir | --localstatedi | --localstated \
226   | --localstate | --localstat | --localsta | --localst \
227   | --locals | --local | --loca | --loc | --lo)
228     ac_prev=localstatedir ;;
229   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
230   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
231   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
232     localstatedir="$ac_optarg" ;;
233
234   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
235     ac_prev=mandir ;;
236   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
237     mandir="$ac_optarg" ;;
238
239   -nfp | --nfp | --nf)
240     # Obsolete; use --without-fp.
241     with_fp=no ;;
242
243   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
244   | --no-cr | --no-c)
245     no_create=yes ;;
246
247   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
248   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
249     no_recursion=yes ;;
250
251   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
252   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
253   | --oldin | --oldi | --old | --ol | --o)
254     ac_prev=oldincludedir ;;
255   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
256   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
257   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
258     oldincludedir="$ac_optarg" ;;
259
260   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
261     ac_prev=prefix ;;
262   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
263     prefix="$ac_optarg" ;;
264
265   -program-prefix | --program-prefix | --program-prefi | --program-pref \
266   | --program-pre | --program-pr | --program-p)
267     ac_prev=program_prefix ;;
268   -program-prefix=* | --program-prefix=* | --program-prefi=* \
269   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
270     program_prefix="$ac_optarg" ;;
271
272   -program-suffix | --program-suffix | --program-suffi | --program-suff \
273   | --program-suf | --program-su | --program-s)
274     ac_prev=program_suffix ;;
275   -program-suffix=* | --program-suffix=* | --program-suffi=* \
276   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
277     program_suffix="$ac_optarg" ;;
278
279   -program-transform-name | --program-transform-name \
280   | --program-transform-nam | --program-transform-na \
281   | --program-transform-n | --program-transform- \
282   | --program-transform | --program-transfor \
283   | --program-transfo | --program-transf \
284   | --program-trans | --program-tran \
285   | --progr-tra | --program-tr | --program-t)
286     ac_prev=program_transform_name ;;
287   -program-transform-name=* | --program-transform-name=* \
288   | --program-transform-nam=* | --program-transform-na=* \
289   | --program-transform-n=* | --program-transform-=* \
290   | --program-transform=* | --program-transfor=* \
291   | --program-transfo=* | --program-transf=* \
292   | --program-trans=* | --program-tran=* \
293   | --progr-tra=* | --program-tr=* | --program-t=*)
294     program_transform_name="$ac_optarg" ;;
295
296   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
297   | -silent | --silent | --silen | --sile | --sil)
298     silent=yes ;;
299
300   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
301     ac_prev=sbindir ;;
302   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
303   | --sbi=* | --sb=*)
304     sbindir="$ac_optarg" ;;
305
306   -sharedstatedir | --sharedstatedir | --sharedstatedi \
307   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
308   | --sharedst | --shareds | --shared | --share | --shar \
309   | --sha | --sh)
310     ac_prev=sharedstatedir ;;
311   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
312   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
313   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
314   | --sha=* | --sh=*)
315     sharedstatedir="$ac_optarg" ;;
316
317   -site | --site | --sit)
318     ac_prev=site ;;
319   -site=* | --site=* | --sit=*)
320     site="$ac_optarg" ;;
321
322   -site-file | --site-file | --site-fil | --site-fi | --site-f)
323     ac_prev=sitefile ;;
324   -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
325     sitefile="$ac_optarg" ;;
326
327   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
328     ac_prev=srcdir ;;
329   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
330     srcdir="$ac_optarg" ;;
331
332   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
333   | --syscon | --sysco | --sysc | --sys | --sy)
334     ac_prev=sysconfdir ;;
335   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
336   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
337     sysconfdir="$ac_optarg" ;;
338
339   -target | --target | --targe | --targ | --tar | --ta | --t)
340     ac_prev=target ;;
341   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
342     target="$ac_optarg" ;;
343
344   -v | -verbose | --verbose | --verbos | --verbo | --verb)
345     verbose=yes ;;
346
347   -version | --version | --versio | --versi | --vers)
348     echo "configure generated by autoconf version 2.13"
349     exit 0 ;;
350
351   -with-* | --with-*)
352     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
353     # Reject names that are not valid shell variable names.
354     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
355       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
356     fi
357     ac_package=`echo $ac_package| sed 's/-/_/g'`
358     case "$ac_option" in
359       *=*) ;;
360       *) ac_optarg=yes ;;
361     esac
362     eval "with_${ac_package}='$ac_optarg'" ;;
363
364   -without-* | --without-*)
365     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
366     # Reject names that are not valid shell variable names.
367     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
368       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
369     fi
370     ac_package=`echo $ac_package| sed 's/-/_/g'`
371     eval "with_${ac_package}=no" ;;
372
373   --x)
374     # Obsolete; use --with-x.
375     with_x=yes ;;
376
377   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
378   | --x-incl | --x-inc | --x-in | --x-i)
379     ac_prev=x_includes ;;
380   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
381   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
382     x_includes="$ac_optarg" ;;
383
384   -x-libraries | --x-libraries | --x-librarie | --x-librari \
385   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
386     ac_prev=x_libraries ;;
387   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
388   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
389     x_libraries="$ac_optarg" ;;
390
391   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
392     ;;
393
394   *)
395     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
396       echo "configure: warning: $ac_option: invalid host type" 1>&2
397     fi
398     if test "x$nonopt" != xNONE; then
399       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
400     fi
401     nonopt="$ac_option"
402     ;;
403
404   esac
405 done
406
407 if test -n "$ac_prev"; then
408   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
409 fi
410
411 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
412
413 # File descriptor usage:
414 # 0 standard input
415 # 1 file creation
416 # 2 errors and warnings
417 # 3 some systems may open it to /dev/tty
418 # 4 used on the Kubota Titan
419 # 6 checking for... messages and results
420 # 5 compiler messages saved in config.log
421 if test "$silent" = yes; then
422   exec 6>/dev/null
423 else
424   exec 6>&1
425 fi
426 exec 5>./config.log
427
428 echo "\
429 This file contains any messages produced by compilers while
430 running configure, to aid debugging if configure makes a mistake.
431 " 1>&5
432
433 # Strip out --no-create and --no-recursion so they do not pile up.
434 # Also quote any args containing shell metacharacters.
435 ac_configure_args=
436 for ac_arg
437 do
438   case "$ac_arg" in
439   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
440   | --no-cr | --no-c) ;;
441   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
442   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
443   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
444   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
445   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
446   esac
447 done
448
449 # NLS nuisances.
450 # Only set these to C if already set.  These must not be set unconditionally
451 # because not all systems understand e.g. LANG=C (notably SCO).
452 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
453 # Non-C LC_CTYPE values break the ctype check.
454 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
455 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
456 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
457 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
458
459 # confdefs.h avoids OS command line length limits that DEFS can exceed.
460 rm -rf conftest* confdefs.h
461 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
462 echo > confdefs.h
463
464 # A filename unique to this package, relative to the directory that
465 # configure is in, which we can look for to find out if srcdir is correct.
466 ac_unique_file=Makefile.in
467
468 # Find the source files, if location was not specified.
469 if test -z "$srcdir"; then
470   ac_srcdir_defaulted=yes
471   # Try the directory containing this script, then its parent.
472   ac_prog=$0
473   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
474   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
475   srcdir=$ac_confdir
476   if test ! -r $srcdir/$ac_unique_file; then
477     srcdir=..
478   fi
479 else
480   ac_srcdir_defaulted=no
481 fi
482 if test ! -r $srcdir/$ac_unique_file; then
483   if test "$ac_srcdir_defaulted" = yes; then
484     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
485   else
486     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
487   fi
488 fi
489 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
490
491 # Prefer explicitly selected file to automatically selected ones.
492 if test -z "$sitefile"; then
493   if test -z "$CONFIG_SITE"; then
494     if test "x$prefix" != xNONE; then
495       CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
496     else
497       CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
498     fi
499   fi
500 else
501   CONFIG_SITE="$sitefile"
502 fi
503 for ac_site_file in $CONFIG_SITE; do
504   if test -r "$ac_site_file"; then
505     echo "loading site script $ac_site_file"
506     . "$ac_site_file"
507   fi
508 done
509
510 if test -r "$cache_file"; then
511   echo "loading cache $cache_file"
512   . $cache_file
513 else
514   echo "creating cache $cache_file"
515   > $cache_file
516 fi
517
518 ac_ext=c
519 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
520 ac_cpp='$CPP $CPPFLAGS'
521 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
522 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
523 cross_compiling=$ac_cv_prog_cc_cross
524
525 ac_exeext=
526 ac_objext=o
527 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
528   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
529   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
530     ac_n= ac_c='
531 ' ac_t='        '
532   else
533     ac_n=-n ac_c= ac_t=
534   fi
535 else
536   ac_n= ac_c='\c' ac_t=
537 fi
538
539
540 ac_aux_dir=
541 for ac_dir in ../config $srcdir/../config; do
542   if test -f $ac_dir/install-sh; then
543     ac_aux_dir=$ac_dir
544     ac_install_sh="$ac_aux_dir/install-sh -c"
545     break
546   elif test -f $ac_dir/install.sh; then
547     ac_aux_dir=$ac_dir
548     ac_install_sh="$ac_aux_dir/install.sh -c"
549     break
550   fi
551 done
552 if test -z "$ac_aux_dir"; then
553   { echo "configure: error: can not find install-sh or install.sh in ../config $srcdir/../config" 1>&2; exit 1; }
554 fi
555 ac_config_guess=$ac_aux_dir/config.guess
556 ac_config_sub=$ac_aux_dir/config.sub
557 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
558
559 # Find a good install program.  We prefer a C program (faster),
560 # so one script is as good as another.  But avoid the broken or
561 # incompatible versions:
562 # SysV /etc/install, /usr/sbin/install
563 # SunOS /usr/etc/install
564 # IRIX /sbin/install
565 # AIX /bin/install
566 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
567 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
568 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
569 # ./install, which can be erroneously created by make from ./install.sh.
570 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
571 echo "configure:572: checking for a BSD compatible install" >&5
572 if test -z "$INSTALL"; then
573 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
574   echo $ac_n "(cached) $ac_c" 1>&6
575 else
576     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
577   for ac_dir in $PATH; do
578     # Account for people who put trailing slashes in PATH elements.
579     case "$ac_dir/" in
580     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
581     *)
582       # OSF1 and SCO ODT 3.0 have their own names for install.
583       # Don't use installbsd from OSF since it installs stuff as root
584       # by default.
585       for ac_prog in ginstall scoinst install; do
586         if test -f $ac_dir/$ac_prog; then
587           if test $ac_prog = install &&
588             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
589             # AIX install.  It has an incompatible calling convention.
590             :
591           else
592             ac_cv_path_install="$ac_dir/$ac_prog -c"
593             break 2
594           fi
595         fi
596       done
597       ;;
598     esac
599   done
600   IFS="$ac_save_IFS"
601
602 fi
603   if test "${ac_cv_path_install+set}" = set; then
604     INSTALL="$ac_cv_path_install"
605   else
606     # As a last resort, use the slow shell script.  We don't cache a
607     # path for INSTALL within a source directory, because that will
608     # break other packages using the cache if that directory is
609     # removed, or if the path is relative.
610     INSTALL="$ac_install_sh"
611   fi
612 fi
613 echo "$ac_t""$INSTALL" 1>&6
614
615 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
616 # It thinks the first close brace ends the variable substitution.
617 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
618
619 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
620
621 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
622
623 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
624 echo "configure:625: checking whether build environment is sane" >&5
625 # Just in case
626 sleep 1
627 echo timestamp > conftestfile
628 # Do `set' in a subshell so we don't clobber the current shell's
629 # arguments.  Must try -L first in case configure is actually a
630 # symlink; some systems play weird games with the mod time of symlinks
631 # (eg FreeBSD returns the mod time of the symlink's containing
632 # directory).
633 if (
634    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
635    if test "$*" = "X"; then
636       # -L didn't work.
637       set X `ls -t $srcdir/configure conftestfile`
638    fi
639    if test "$*" != "X $srcdir/configure conftestfile" \
640       && test "$*" != "X conftestfile $srcdir/configure"; then
641
642       # If neither matched, then we have a broken ls.  This can happen
643       # if, for instance, CONFIG_SHELL is bash and it inherits a
644       # broken ls alias from the environment.  This has actually
645       # happened.  Such a system could not be considered "sane".
646       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
647 alias in your environment" 1>&2; exit 1; }
648    fi
649
650    test "$2" = conftestfile
651    )
652 then
653    # Ok.
654    :
655 else
656    { echo "configure: error: newly created file is older than distributed files!
657 Check your system clock" 1>&2; exit 1; }
658 fi
659 rm -f conftest*
660 echo "$ac_t""yes" 1>&6
661 if test "$program_transform_name" = s,x,x,; then
662   program_transform_name=
663 else
664   # Double any \ or $.  echo might interpret backslashes.
665   cat <<\EOF_SED > conftestsed
666 s,\\,\\\\,g; s,\$,$$,g
667 EOF_SED
668   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
669   rm -f conftestsed
670 fi
671 test "$program_prefix" != NONE &&
672   program_transform_name="s,^,${program_prefix},; $program_transform_name"
673 # Use a double $ so make ignores it.
674 test "$program_suffix" != NONE &&
675   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
676
677 # sed with no file args requires a program.
678 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
679
680 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
681 echo "configure:682: checking whether ${MAKE-make} sets \${MAKE}" >&5
682 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
683 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
684   echo $ac_n "(cached) $ac_c" 1>&6
685 else
686   cat > conftestmake <<\EOF
687 all:
688         @echo 'ac_maketemp="${MAKE}"'
689 EOF
690 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
691 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
692 if test -n "$ac_maketemp"; then
693   eval ac_cv_prog_make_${ac_make}_set=yes
694 else
695   eval ac_cv_prog_make_${ac_make}_set=no
696 fi
697 rm -f conftestmake
698 fi
699 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
700   echo "$ac_t""yes" 1>&6
701   SET_MAKE=
702 else
703   echo "$ac_t""no" 1>&6
704   SET_MAKE="MAKE=${MAKE-make}"
705 fi
706
707
708 PACKAGE=sid
709
710 VERSION=0.1
711
712 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
713   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
714 fi
715 cat >> confdefs.h <<EOF
716 #define PACKAGE "$PACKAGE"
717 EOF
718
719 cat >> confdefs.h <<EOF
720 #define VERSION "$VERSION"
721 EOF
722
723
724
725 missing_dir=`cd $ac_aux_dir && pwd`
726 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
727 echo "configure:728: checking for working aclocal" >&5
728 # Run test in a subshell; some versions of sh will print an error if
729 # an executable is not found, even if stderr is redirected.
730 # Redirect stdin to placate older versions of autoconf.  Sigh.
731 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
732    ACLOCAL=aclocal
733    echo "$ac_t""found" 1>&6
734 else
735    ACLOCAL="$missing_dir/missing aclocal"
736    echo "$ac_t""missing" 1>&6
737 fi
738
739 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
740 echo "configure:741: checking for working autoconf" >&5
741 # Run test in a subshell; some versions of sh will print an error if
742 # an executable is not found, even if stderr is redirected.
743 # Redirect stdin to placate older versions of autoconf.  Sigh.
744 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
745    AUTOCONF=autoconf
746    echo "$ac_t""found" 1>&6
747 else
748    AUTOCONF="$missing_dir/missing autoconf"
749    echo "$ac_t""missing" 1>&6
750 fi
751
752 echo $ac_n "checking for working automake""... $ac_c" 1>&6
753 echo "configure:754: checking for working automake" >&5
754 # Run test in a subshell; some versions of sh will print an error if
755 # an executable is not found, even if stderr is redirected.
756 # Redirect stdin to placate older versions of autoconf.  Sigh.
757 if (automake --version) < /dev/null > /dev/null 2>&1; then
758    AUTOMAKE=automake
759    echo "$ac_t""found" 1>&6
760 else
761    AUTOMAKE="$missing_dir/missing automake"
762    echo "$ac_t""missing" 1>&6
763 fi
764
765 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
766 echo "configure:767: checking for working autoheader" >&5
767 # Run test in a subshell; some versions of sh will print an error if
768 # an executable is not found, even if stderr is redirected.
769 # Redirect stdin to placate older versions of autoconf.  Sigh.
770 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
771    AUTOHEADER=autoheader
772    echo "$ac_t""found" 1>&6
773 else
774    AUTOHEADER="$missing_dir/missing autoheader"
775    echo "$ac_t""missing" 1>&6
776 fi
777
778 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
779 echo "configure:780: checking for working makeinfo" >&5
780 # Run test in a subshell; some versions of sh will print an error if
781 # an executable is not found, even if stderr is redirected.
782 # Redirect stdin to placate older versions of autoconf.  Sigh.
783 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
784    MAKEINFO=makeinfo
785    echo "$ac_t""found" 1>&6
786 else
787    MAKEINFO="$missing_dir/missing makeinfo"
788    echo "$ac_t""missing" 1>&6
789 fi
790
791
792
793
794
795
796 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
797 echo "configure:798: checking whether to enable maintainer-specific portions of Makefiles" >&5
798     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
799 if test "${enable_maintainer_mode+set}" = set; then
800   enableval="$enable_maintainer_mode"
801   USE_MAINTAINER_MODE=$enableval
802 else
803   USE_MAINTAINER_MODE=no
804 fi
805
806   echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
807   
808
809 if test $USE_MAINTAINER_MODE = yes; then
810   MAINTAINER_MODE_TRUE=
811   MAINTAINER_MODE_FALSE='#'
812 else
813   MAINTAINER_MODE_TRUE='#'
814   MAINTAINER_MODE_FALSE=
815 fi
816   MAINT=$MAINTAINER_MODE_TRUE
817   
818
819
820 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
821 echo "configure:822: checking for Cygwin environment" >&5
822 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
823   echo $ac_n "(cached) $ac_c" 1>&6
824 else
825   cat > conftest.$ac_ext <<EOF
826 #line 827 "configure"
827 #include "confdefs.h"
828
829 int main() {
830
831 #ifndef __CYGWIN__
832 #define __CYGWIN__ __CYGWIN32__
833 #endif
834 return __CYGWIN__;
835 ; return 0; }
836 EOF
837 if { (eval echo configure:838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
838   rm -rf conftest*
839   ac_cv_cygwin=yes
840 else
841   echo "configure: failed program was:" >&5
842   cat conftest.$ac_ext >&5
843   rm -rf conftest*
844   ac_cv_cygwin=no
845 fi
846 rm -f conftest*
847 rm -f conftest*
848 fi
849
850 echo "$ac_t""$ac_cv_cygwin" 1>&6
851 CYGWIN=
852 test "$ac_cv_cygwin" = yes && CYGWIN=yes
853 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
854 echo "configure:855: checking for mingw32 environment" >&5
855 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
856   echo $ac_n "(cached) $ac_c" 1>&6
857 else
858   cat > conftest.$ac_ext <<EOF
859 #line 860 "configure"
860 #include "confdefs.h"
861
862 int main() {
863 return __MINGW32__;
864 ; return 0; }
865 EOF
866 if { (eval echo configure:867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
867   rm -rf conftest*
868   ac_cv_mingw32=yes
869 else
870   echo "configure: failed program was:" >&5
871   cat conftest.$ac_ext >&5
872   rm -rf conftest*
873   ac_cv_mingw32=no
874 fi
875 rm -f conftest*
876 rm -f conftest*
877 fi
878
879 echo "$ac_t""$ac_cv_mingw32" 1>&6
880 MINGW32=
881 test "$ac_cv_mingw32" = yes && MINGW32=yes
882
883
884 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
885 echo "configure:886: checking for executable suffix" >&5
886 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
887   echo $ac_n "(cached) $ac_c" 1>&6
888 else
889   if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
890   ac_cv_exeext=.exe
891 else
892   rm -f conftest*
893   echo 'int main () { return 0; }' > conftest.$ac_ext
894   ac_cv_exeext=
895   if { (eval echo configure:896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
896     for file in conftest.*; do
897       case $file in
898       *.c | *.o | *.obj | *.ilk | *.pdb) ;;
899       *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
900       esac
901     done
902   else
903     { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
904   fi
905   rm -f conftest*
906   test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
907 fi
908 fi
909
910 EXEEXT=""
911 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
912 echo "$ac_t""${ac_cv_exeext}" 1>&6
913 ac_exeext=$EXEEXT
914
915 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
916 echo "configure:917: checking how to run the C++ preprocessor" >&5
917 if test -z "$CXXCPP"; then
918 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
919   echo $ac_n "(cached) $ac_c" 1>&6
920 else
921   ac_ext=C
922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
923 ac_cpp='$CXXCPP $CPPFLAGS'
924 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
925 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
926 cross_compiling=$ac_cv_prog_cxx_cross
927   CXXCPP="${CXX-g++} -E"
928   cat > conftest.$ac_ext <<EOF
929 #line 930 "configure"
930 #include "confdefs.h"
931 #include <stdlib.h>
932 EOF
933 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
934 { (eval echo configure:935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
935 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
936 if test -z "$ac_err"; then
937   :
938 else
939   echo "$ac_err" >&5
940   echo "configure: failed program was:" >&5
941   cat conftest.$ac_ext >&5
942   rm -rf conftest*
943   CXXCPP=/lib/cpp
944 fi
945 rm -f conftest*
946   ac_cv_prog_CXXCPP="$CXXCPP"
947 ac_ext=c
948 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
949 ac_cpp='$CPP $CPPFLAGS'
950 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
951 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
952 cross_compiling=$ac_cv_prog_cc_cross
953 fi
954 fi
955 CXXCPP="$ac_cv_prog_CXXCPP"
956 echo "$ac_t""$CXXCPP" 1>&6
957
958 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
959 echo "configure:960: checking whether ${MAKE-make} sets \${MAKE}" >&5
960 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
961 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
962   echo $ac_n "(cached) $ac_c" 1>&6
963 else
964   cat > conftestmake <<\EOF
965 all:
966         @echo 'ac_maketemp="${MAKE}"'
967 EOF
968 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
969 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
970 if test -n "$ac_maketemp"; then
971   eval ac_cv_prog_make_${ac_make}_set=yes
972 else
973   eval ac_cv_prog_make_${ac_make}_set=no
974 fi
975 rm -f conftestmake
976 fi
977 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
978   echo "$ac_t""yes" 1>&6
979   SET_MAKE=
980 else
981   echo "$ac_t""no" 1>&6
982   SET_MAKE="MAKE=${MAKE-make}"
983 fi
984
985 if test "$program_transform_name" = s,x,x,; then
986   program_transform_name=
987 else
988   # Double any \ or $.  echo might interpret backslashes.
989   cat <<\EOF_SED > conftestsed
990 s,\\,\\\\,g; s,\$,$$,g
991 EOF_SED
992   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
993   rm -f conftestsed
994 fi
995 test "$program_prefix" != NONE &&
996   program_transform_name="s,^,${program_prefix},; $program_transform_name"
997 # Use a double $ so make ignores it.
998 test "$program_suffix" != NONE &&
999   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1000
1001 # sed with no file args requires a program.
1002 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1003
1004 ac_ext=C
1005 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1006 ac_cpp='$CXXCPP $CPPFLAGS'
1007 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1008 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1009 cross_compiling=$ac_cv_prog_cxx_cross
1010
1011
1012 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1013 echo "configure:1014: checking for ANSI C header files" >&5
1014 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1015   echo $ac_n "(cached) $ac_c" 1>&6
1016 else
1017   cat > conftest.$ac_ext <<EOF
1018 #line 1019 "configure"
1019 #include "confdefs.h"
1020 #include <stdlib.h>
1021 #include <stdarg.h>
1022 #include <string.h>
1023 #include <float.h>
1024 EOF
1025 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1026 { (eval echo configure:1027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1027 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1028 if test -z "$ac_err"; then
1029   rm -rf conftest*
1030   ac_cv_header_stdc=yes
1031 else
1032   echo "$ac_err" >&5
1033   echo "configure: failed program was:" >&5
1034   cat conftest.$ac_ext >&5
1035   rm -rf conftest*
1036   ac_cv_header_stdc=no
1037 fi
1038 rm -f conftest*
1039
1040 if test $ac_cv_header_stdc = yes; then
1041   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1042 cat > conftest.$ac_ext <<EOF
1043 #line 1044 "configure"
1044 #include "confdefs.h"
1045 #include <string.h>
1046 EOF
1047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1048   egrep "memchr" >/dev/null 2>&1; then
1049   :
1050 else
1051   rm -rf conftest*
1052   ac_cv_header_stdc=no
1053 fi
1054 rm -f conftest*
1055
1056 fi
1057
1058 if test $ac_cv_header_stdc = yes; then
1059   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1060 cat > conftest.$ac_ext <<EOF
1061 #line 1062 "configure"
1062 #include "confdefs.h"
1063 #include <stdlib.h>
1064 EOF
1065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1066   egrep "free" >/dev/null 2>&1; then
1067   :
1068 else
1069   rm -rf conftest*
1070   ac_cv_header_stdc=no
1071 fi
1072 rm -f conftest*
1073
1074 fi
1075
1076 if test $ac_cv_header_stdc = yes; then
1077   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1078 if test "$cross_compiling" = yes; then
1079   :
1080 else
1081   cat > conftest.$ac_ext <<EOF
1082 #line 1083 "configure"
1083 #include "confdefs.h"
1084 #ifdef __cplusplus
1085 extern "C" void exit(int);
1086 #endif
1087 #include <ctype.h>
1088 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1089 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1090 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1091 int main () { int i; for (i = 0; i < 256; i++)
1092 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1093 exit (0); }
1094
1095 EOF
1096 if { (eval echo configure:1097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1097 then
1098   :
1099 else
1100   echo "configure: failed program was:" >&5
1101   cat conftest.$ac_ext >&5
1102   rm -fr conftest*
1103   ac_cv_header_stdc=no
1104 fi
1105 rm -fr conftest*
1106 fi
1107
1108 fi
1109 fi
1110
1111 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1112 if test $ac_cv_header_stdc = yes; then
1113   cat >> confdefs.h <<\EOF
1114 #define STDC_HEADERS 1
1115 EOF
1116
1117 fi
1118
1119
1120 for ac_hdr in sstream strstream.h ext/hash_map hash_map
1121 do
1122 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1123 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1124 echo "configure:1125: checking for $ac_hdr" >&5
1125 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1126   echo $ac_n "(cached) $ac_c" 1>&6
1127 else
1128   cat > conftest.$ac_ext <<EOF
1129 #line 1130 "configure"
1130 #include "confdefs.h"
1131 #include <$ac_hdr>
1132 EOF
1133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1134 { (eval echo configure:1135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1135 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1136 if test -z "$ac_err"; then
1137   rm -rf conftest*
1138   eval "ac_cv_header_$ac_safe=yes"
1139 else
1140   echo "$ac_err" >&5
1141   echo "configure: failed program was:" >&5
1142   cat conftest.$ac_ext >&5
1143   rm -rf conftest*
1144   eval "ac_cv_header_$ac_safe=no"
1145 fi
1146 rm -f conftest*
1147 fi
1148 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1149   echo "$ac_t""yes" 1>&6
1150     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1151   cat >> confdefs.h <<EOF
1152 #define $ac_tr_hdr 1
1153 EOF
1154  
1155 else
1156   echo "$ac_t""no" 1>&6
1157 fi
1158 done
1159
1160 for ac_func in strerror
1161 do
1162 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1163 echo "configure:1164: checking for $ac_func" >&5
1164 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1165   echo $ac_n "(cached) $ac_c" 1>&6
1166 else
1167   cat > conftest.$ac_ext <<EOF
1168 #line 1169 "configure"
1169 #include "confdefs.h"
1170 /* System header to define __stub macros and hopefully few prototypes,
1171     which can conflict with char $ac_func(); below.  */
1172 #include <assert.h>
1173 /* Override any gcc2 internal prototype to avoid an error.  */
1174 #ifdef __cplusplus
1175 extern "C"
1176 #endif
1177 /* We use char because int might match the return type of a gcc2
1178     builtin and then its argument prototype would still apply.  */
1179 char $ac_func();
1180
1181 int main() {
1182
1183 /* The GNU C library defines this for functions which it implements
1184     to always fail with ENOSYS.  Some functions are actually named
1185     something starting with __ and the normal name is an alias.  */
1186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1187 choke me
1188 #else
1189 $ac_func();
1190 #endif
1191
1192 ; return 0; }
1193 EOF
1194 if { (eval echo configure:1195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1195   rm -rf conftest*
1196   eval "ac_cv_func_$ac_func=yes"
1197 else
1198   echo "configure: failed program was:" >&5
1199   cat conftest.$ac_ext >&5
1200   rm -rf conftest*
1201   eval "ac_cv_func_$ac_func=no"
1202 fi
1203 rm -f conftest*
1204 fi
1205
1206 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1207   echo "$ac_t""yes" 1>&6
1208     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1209   cat >> confdefs.h <<EOF
1210 #define $ac_tr_func 1
1211 EOF
1212  
1213 else
1214   echo "$ac_t""no" 1>&6
1215 fi
1216 done
1217
1218
1219 # Check whether --enable-assert or --disable-assert was given.
1220 if test "${enable_assert+set}" = set; then
1221   enableval="$enable_assert"
1222   
1223   case "${enable_assert}" in
1224     yes)  ;;
1225     no)   ;;
1226     *)    { echo "configure: error: bad value ${enableval} given for assert option" 1>&2; exit 1; } ;;
1227   esac
1228
1229 fi
1230
1231 if test "${enable_assert}" = "no"; then
1232    cat >> confdefs.h <<\EOF
1233 #define NDEBUG 1
1234 EOF
1235
1236 fi
1237
1238 echo $ac_n "checking whether std:: prefix works for <cctype> functions""... $ac_c" 1>&6
1239 echo "configure:1240: checking whether std:: prefix works for <cctype> functions" >&5
1240 if eval "test \"`echo '$''{'sid_cv_cctype_std'+set}'`\" = set"; then
1241   echo $ac_n "(cached) $ac_c" 1>&6
1242 else
1243   cat > conftest.$ac_ext <<EOF
1244 #line 1245 "configure"
1245 #include "confdefs.h"
1246 #include <cctype>
1247 int main() {
1248
1249   if (std::isspace(' '))
1250     return 0; 
1251   else
1252     return 1;
1253
1254 ; return 0; }
1255 EOF
1256 if { (eval echo configure:1257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1257   rm -rf conftest*
1258   sid_cv_cctype_std="yes"
1259 else
1260   echo "configure: failed program was:" >&5
1261   cat conftest.$ac_ext >&5
1262   rm -rf conftest*
1263   sid_cv_cctype_std="no"
1264 fi
1265 rm -f conftest*
1266 fi
1267
1268 if test "${sid_cv_cctype_std}" = "yes"; then
1269         cat >> confdefs.h <<\EOF
1270 #define STD_CCTYPE 1
1271 EOF
1272
1273 fi
1274 echo "$ac_t""$sid_cv_cctype_std" 1>&6
1275                 
1276
1277
1278
1279 trap '' 1 2 15
1280 cat > confcache <<\EOF
1281 # This file is a shell script that caches the results of configure
1282 # tests run on this system so they can be shared between configure
1283 # scripts and configure runs.  It is not useful on other systems.
1284 # If it contains results you don't want to keep, you may remove or edit it.
1285 #
1286 # By default, configure uses ./config.cache as the cache file,
1287 # creating it if it does not exist already.  You can give configure
1288 # the --cache-file=FILE option to use a different cache file; that is
1289 # what configure does when it calls configure scripts in
1290 # subdirectories, so they share the cache.
1291 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1292 # config.status only pays attention to the cache file if you give it the
1293 # --recheck option to rerun configure.
1294 #
1295 EOF
1296 # The following way of writing the cache mishandles newlines in values,
1297 # but we know of no workaround that is simple, portable, and efficient.
1298 # So, don't put newlines in cache variables' values.
1299 # Ultrix sh set writes to stderr and can't be redirected directly,
1300 # and sets the high bit in the cache file unless we assign to the vars.
1301 (set) 2>&1 |
1302   case `(ac_space=' '; set | grep ac_space) 2>&1` in
1303   *ac_space=\ *)
1304     # `set' does not quote correctly, so add quotes (double-quote substitution
1305     # turns \\\\ into \\, and sed turns \\ into \).
1306     sed -n \
1307       -e "s/'/'\\\\''/g" \
1308       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1309     ;;
1310   *)
1311     # `set' quotes correctly as required by POSIX, so do not add quotes.
1312     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1313     ;;
1314   esac >> confcache
1315 if cmp -s $cache_file confcache; then
1316   :
1317 else
1318   if test -w $cache_file; then
1319     echo "updating cache $cache_file"
1320     cat confcache > $cache_file
1321   else
1322     echo "not updating unwritable cache $cache_file"
1323   fi
1324 fi
1325 rm -f confcache
1326
1327 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1328
1329 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1330 # Let make expand exec_prefix.
1331 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1332
1333 # Any assignment to VPATH causes Sun make to only execute
1334 # the first set of double-colon rules, so remove it if not needed.
1335 # If there is a colon in the path, we need to keep it.
1336 if test "x$srcdir" = x.; then
1337   ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
1338 fi
1339
1340 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1341
1342 DEFS=-DHAVE_CONFIG_H
1343
1344 # Without the "./", some shells look in PATH for config.status.
1345 : ${CONFIG_STATUS=./config.status}
1346
1347 echo creating $CONFIG_STATUS
1348 rm -f $CONFIG_STATUS
1349 cat > $CONFIG_STATUS <<EOF
1350 #! /bin/sh
1351 # Generated automatically by configure.
1352 # Run this file to recreate the current configuration.
1353 # This directory was configured as follows,
1354 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1355 #
1356 # $0 $ac_configure_args
1357 #
1358 # Compiler output produced by configure, useful for debugging
1359 # configure, is in ./config.log if it exists.
1360
1361 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1362 for ac_option
1363 do
1364   case "\$ac_option" in
1365   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1366     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1367     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1368   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1369     echo "$CONFIG_STATUS generated by autoconf version 2.13"
1370     exit 0 ;;
1371   -help | --help | --hel | --he | --h)
1372     echo "\$ac_cs_usage"; exit 0 ;;
1373   *) echo "\$ac_cs_usage"; exit 1 ;;
1374   esac
1375 done
1376
1377 ac_given_srcdir=$srcdir
1378 ac_given_INSTALL="$INSTALL"
1379
1380 trap 'rm -fr `echo "Makefile sidconfutil.h:sidconfutil.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1381 EOF
1382 cat >> $CONFIG_STATUS <<EOF
1383
1384 # Protect against being on the right side of a sed subst in config.status.
1385 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1386  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1387 $ac_vpsub
1388 $extrasub
1389 s%@SHELL@%$SHELL%g
1390 s%@CFLAGS@%$CFLAGS%g
1391 s%@CPPFLAGS@%$CPPFLAGS%g
1392 s%@CXXFLAGS@%$CXXFLAGS%g
1393 s%@FFLAGS@%$FFLAGS%g
1394 s%@DEFS@%$DEFS%g
1395 s%@LDFLAGS@%$LDFLAGS%g
1396 s%@LIBS@%$LIBS%g
1397 s%@exec_prefix@%$exec_prefix%g
1398 s%@prefix@%$prefix%g
1399 s%@program_transform_name@%$program_transform_name%g
1400 s%@bindir@%$bindir%g
1401 s%@sbindir@%$sbindir%g
1402 s%@libexecdir@%$libexecdir%g
1403 s%@datadir@%$datadir%g
1404 s%@sysconfdir@%$sysconfdir%g
1405 s%@sharedstatedir@%$sharedstatedir%g
1406 s%@localstatedir@%$localstatedir%g
1407 s%@libdir@%$libdir%g
1408 s%@includedir@%$includedir%g
1409 s%@oldincludedir@%$oldincludedir%g
1410 s%@infodir@%$infodir%g
1411 s%@mandir@%$mandir%g
1412 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1413 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1414 s%@INSTALL_DATA@%$INSTALL_DATA%g
1415 s%@PACKAGE@%$PACKAGE%g
1416 s%@VERSION@%$VERSION%g
1417 s%@ACLOCAL@%$ACLOCAL%g
1418 s%@AUTOCONF@%$AUTOCONF%g
1419 s%@AUTOMAKE@%$AUTOMAKE%g
1420 s%@AUTOHEADER@%$AUTOHEADER%g
1421 s%@MAKEINFO@%$MAKEINFO%g
1422 s%@SET_MAKE@%$SET_MAKE%g
1423 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
1424 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
1425 s%@MAINT@%$MAINT%g
1426 s%@EXEEXT@%$EXEEXT%g
1427 s%@CXXCPP@%$CXXCPP%g
1428
1429 CEOF
1430 EOF
1431
1432 cat >> $CONFIG_STATUS <<\EOF
1433
1434 # Split the substitutions into bite-sized pieces for seds with
1435 # small command number limits, like on Digital OSF/1 and HP-UX.
1436 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1437 ac_file=1 # Number of current file.
1438 ac_beg=1 # First line for current file.
1439 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1440 ac_more_lines=:
1441 ac_sed_cmds=""
1442 while $ac_more_lines; do
1443   if test $ac_beg -gt 1; then
1444     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1445   else
1446     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1447   fi
1448   if test ! -s conftest.s$ac_file; then
1449     ac_more_lines=false
1450     rm -f conftest.s$ac_file
1451   else
1452     if test -z "$ac_sed_cmds"; then
1453       ac_sed_cmds="sed -f conftest.s$ac_file"
1454     else
1455       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1456     fi
1457     ac_file=`expr $ac_file + 1`
1458     ac_beg=$ac_end
1459     ac_end=`expr $ac_end + $ac_max_sed_cmds`
1460   fi
1461 done
1462 if test -z "$ac_sed_cmds"; then
1463   ac_sed_cmds=cat
1464 fi
1465 EOF
1466
1467 cat >> $CONFIG_STATUS <<EOF
1468
1469 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1470 EOF
1471 cat >> $CONFIG_STATUS <<\EOF
1472 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1473   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1474   case "$ac_file" in
1475   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1476        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1477   *) ac_file_in="${ac_file}.in" ;;
1478   esac
1479
1480   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1481
1482   # Remove last slash and all that follows it.  Not all systems have dirname.
1483   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1484   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1485     # The file is in a subdirectory.
1486     test ! -d "$ac_dir" && mkdir "$ac_dir"
1487     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1488     # A "../" for each directory in $ac_dir_suffix.
1489     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1490   else
1491     ac_dir_suffix= ac_dots=
1492   fi
1493
1494   case "$ac_given_srcdir" in
1495   .)  srcdir=.
1496       if test -z "$ac_dots"; then top_srcdir=.
1497       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1498   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1499   *) # Relative path.
1500     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1501     top_srcdir="$ac_dots$ac_given_srcdir" ;;
1502   esac
1503
1504   case "$ac_given_INSTALL" in
1505   [/$]*) INSTALL="$ac_given_INSTALL" ;;
1506   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1507   esac
1508
1509   echo creating "$ac_file"
1510   rm -f "$ac_file"
1511   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1512   case "$ac_file" in
1513   *Makefile*) ac_comsub="1i\\
1514 # $configure_input" ;;
1515   *) ac_comsub= ;;
1516   esac
1517
1518   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1519   sed -e "$ac_comsub
1520 s%@configure_input@%$configure_input%g
1521 s%@srcdir@%$srcdir%g
1522 s%@top_srcdir@%$top_srcdir%g
1523 s%@INSTALL@%$INSTALL%g
1524 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1525 fi; done
1526 rm -f conftest.s*
1527
1528 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1529 # NAME is the cpp macro being defined and VALUE is the value it is being given.
1530 #
1531 # ac_d sets the value in "#define NAME VALUE" lines.
1532 ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'
1533 ac_dB='\([      ][      ]*\)[^  ]*%\1#\2'
1534 ac_dC='\3'
1535 ac_dD='%g'
1536 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
1537 ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
1538 ac_uB='\([      ]\)%\1#\2define\3'
1539 ac_uC=' '
1540 ac_uD='\4%g'
1541 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1542 ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
1543 ac_eB='$%\1#\2define\3'
1544 ac_eC=' '
1545 ac_eD='%g'
1546
1547 if test "${CONFIG_HEADERS+set}" != set; then
1548 EOF
1549 cat >> $CONFIG_STATUS <<EOF
1550   CONFIG_HEADERS="sidconfutil.h:sidconfutil.in"
1551 EOF
1552 cat >> $CONFIG_STATUS <<\EOF
1553 fi
1554 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
1555   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1556   case "$ac_file" in
1557   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1558        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1559   *) ac_file_in="${ac_file}.in" ;;
1560   esac
1561
1562   echo creating $ac_file
1563
1564   rm -f conftest.frag conftest.in conftest.out
1565   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1566   cat $ac_file_inputs > conftest.in
1567
1568 EOF
1569
1570 # Transform confdefs.h into a sed script conftest.vals that substitutes
1571 # the proper values into config.h.in to produce config.h.  And first:
1572 # Protect against being on the right side of a sed subst in config.status.
1573 # Protect against being in an unquoted here document in config.status.
1574 rm -f conftest.vals
1575 cat > conftest.hdr <<\EOF
1576 s/[\\&%]/\\&/g
1577 s%[\\$`]%\\&%g
1578 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
1579 s%ac_d%ac_u%gp
1580 s%ac_u%ac_e%gp
1581 EOF
1582 sed -n -f conftest.hdr confdefs.h > conftest.vals
1583 rm -f conftest.hdr
1584
1585 # This sed command replaces #undef with comments.  This is necessary, for
1586 # example, in the case of _POSIX_SOURCE, which is predefined and required
1587 # on some systems where configure will not decide to define it.
1588 cat >> conftest.vals <<\EOF
1589 s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
1590 EOF
1591
1592 # Break up conftest.vals because some shells have a limit on
1593 # the size of here documents, and old seds have small limits too.
1594
1595 rm -f conftest.tail
1596 while :
1597 do
1598   ac_lines=`grep -c . conftest.vals`
1599   # grep -c gives empty output for an empty file on some AIX systems.
1600   if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
1601   # Write a limited-size here document to conftest.frag.
1602   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
1603   sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
1604   echo 'CEOF
1605   sed -f conftest.frag conftest.in > conftest.out
1606   rm -f conftest.in
1607   mv conftest.out conftest.in
1608 ' >> $CONFIG_STATUS
1609   sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
1610   rm -f conftest.vals
1611   mv conftest.tail conftest.vals
1612 done
1613 rm -f conftest.vals
1614
1615 cat >> $CONFIG_STATUS <<\EOF
1616   rm -f conftest.frag conftest.h
1617   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
1618   cat conftest.in >> conftest.h
1619   rm -f conftest.in
1620   if cmp -s $ac_file conftest.h 2>/dev/null; then
1621     echo "$ac_file is unchanged"
1622     rm -f conftest.h
1623   else
1624     # Remove last slash and all that follows it.  Not all systems have dirname.
1625       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1626       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1627       # The file is in a subdirectory.
1628       test ! -d "$ac_dir" && mkdir "$ac_dir"
1629     fi
1630     rm -f $ac_file
1631     mv conftest.h $ac_file
1632   fi
1633 fi; done
1634
1635 EOF
1636 cat >> $CONFIG_STATUS <<EOF
1637
1638
1639 EOF
1640 cat >> $CONFIG_STATUS <<\EOF
1641 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
1642
1643 exit 0
1644 EOF
1645 chmod +x $CONFIG_STATUS
1646 rm -fr confdefs* $ac_clean_files
1647 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1648