(C Compiler): Describe AC_C_RESTRICT.
[autoconf.git] / configure
blob47c11e7fee2843fb3c1bf927ce6b26ba755cd21e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57a for GNU Autoconf 2.57a.
5 # Report bugs to <bug-autoconf@gnu.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
28 as_unset=unset
29 else
30 as_unset=false
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
40 # NLS nuisances.
41 for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
51 done
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
98 rm -f conf$$.sh
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154 done
156 esac
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 as_mkdir_p=false
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
235 # IFS
236 # We need space, tab and new line, in precisely that order.
237 as_nl='
239 IFS=" $as_nl"
241 # CDPATH.
242 $as_unset CDPATH
245 # Name of the host.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250 exec 6>&1
253 # Initializations.
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
257 cross_compiling=no
258 subdirs=
259 MFLAGS=
260 MAKEFLAGS=
261 SHELL=${CONFIG_SHELL-/bin/sh}
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
268 # Identity of this package.
269 PACKAGE_NAME='GNU Autoconf'
270 PACKAGE_TARNAME='autoconf'
271 PACKAGE_VERSION='2.57a'
272 PACKAGE_STRING='GNU Autoconf 2.57a'
273 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
275 ac_unique_file="ChangeLog"
276 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot EXPR M4 HELP2MAN PERL EMACS EMACSLOADPATH lispdir LIBOBJS LTLIBOBJS'
277 ac_subst_files=''
279 # Initialize some variables set by options.
280 ac_init_help=
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
284 cache_file=/dev/null
285 exec_prefix=NONE
286 no_create=
287 no_recursion=
288 prefix=NONE
289 program_prefix=NONE
290 program_suffix=NONE
291 program_transform_name=s,x,x,
292 silent=
293 site=
294 srcdir=
295 verbose=
296 x_includes=NONE
297 x_libraries=NONE
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
317 ac_prev=
318 for ac_option
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
323 ac_prev=
324 continue
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
331 case $ac_option in
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 ac_prev=bindir ;;
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336 bindir=$ac_optarg ;;
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
343 -cache-file | --cache-file | --cache-fil | --cache-fi \
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345 ac_prev=cache_file ;;
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348 cache_file=$ac_optarg ;;
350 --config-cache | -C)
351 cache_file=config.cache ;;
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354 ac_prev=datadir ;;
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 | --da=*)
357 datadir=$ac_optarg ;;
359 -disable-* | --disable-*)
360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* | --enable-*)
369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375 case $ac_option in
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377 *) ac_optarg=yes ;;
378 esac
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383 | --exec | --exe | --ex)
384 ac_prev=exec_prefix ;;
385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387 | --exec=* | --exe=* | --ex=*)
388 exec_prefix=$ac_optarg ;;
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
392 with_gas=yes ;;
394 -help | --help | --hel | --he | -h)
395 ac_init_help=long ;;
396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397 ac_init_help=recursive ;;
398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399 ac_init_help=short ;;
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
406 -includedir | --includedir | --includedi | --included | --include \
407 | --includ | --inclu | --incl | --inc)
408 ac_prev=includedir ;;
409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410 | --includ=* | --inclu=* | --incl=* | --inc=*)
411 includedir=$ac_optarg ;;
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 ac_prev=infodir ;;
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
418 -libdir | --libdir | --libdi | --libd)
419 ac_prev=libdir ;;
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
421 libdir=$ac_optarg ;;
423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424 | --libexe | --libex | --libe)
425 ac_prev=libexecdir ;;
426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427 | --libexe=* | --libex=* | --libe=*)
428 libexecdir=$ac_optarg ;;
430 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
433 ac_prev=localstatedir ;;
434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437 localstatedir=$ac_optarg ;;
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 ac_prev=mandir ;;
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442 mandir=$ac_optarg ;;
444 -nfp | --nfp | --nf)
445 # Obsolete; use --without-fp.
446 with_fp=no ;;
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
450 no_create=yes ;;
452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454 no_recursion=yes ;;
456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458 | --oldin | --oldi | --old | --ol | --o)
459 ac_prev=oldincludedir ;;
460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463 oldincludedir=$ac_optarg ;;
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 ac_prev=prefix ;;
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468 prefix=$ac_optarg ;;
470 -program-prefix | --program-prefix | --program-prefi | --program-pref \
471 | --program-pre | --program-pr | --program-p)
472 ac_prev=program_prefix ;;
473 -program-prefix=* | --program-prefix=* | --program-prefi=* \
474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475 program_prefix=$ac_optarg ;;
477 -program-suffix | --program-suffix | --program-suffi | --program-suff \
478 | --program-suf | --program-su | --program-s)
479 ac_prev=program_suffix ;;
480 -program-suffix=* | --program-suffix=* | --program-suffi=* \
481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482 program_suffix=$ac_optarg ;;
484 -program-transform-name | --program-transform-name \
485 | --program-transform-nam | --program-transform-na \
486 | --program-transform-n | --program-transform- \
487 | --program-transform | --program-transfor \
488 | --program-transfo | --program-transf \
489 | --program-trans | --program-tran \
490 | --progr-tra | --program-tr | --program-t)
491 ac_prev=program_transform_name ;;
492 -program-transform-name=* | --program-transform-name=* \
493 | --program-transform-nam=* | --program-transform-na=* \
494 | --program-transform-n=* | --program-transform-=* \
495 | --program-transform=* | --program-transfor=* \
496 | --program-transfo=* | --program-transf=* \
497 | --program-trans=* | --program-tran=* \
498 | --progr-tra=* | --program-tr=* | --program-t=*)
499 program_transform_name=$ac_optarg ;;
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
503 silent=yes ;;
505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506 ac_prev=sbindir ;;
507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508 | --sbi=* | --sb=*)
509 sbindir=$ac_optarg ;;
511 -sharedstatedir | --sharedstatedir | --sharedstatedi \
512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513 | --sharedst | --shareds | --shared | --share | --shar \
514 | --sha | --sh)
515 ac_prev=sharedstatedir ;;
516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519 | --sha=* | --sh=*)
520 sharedstatedir=$ac_optarg ;;
522 -site | --site | --sit)
523 ac_prev=site ;;
524 -site=* | --site=* | --sit=*)
525 site=$ac_optarg ;;
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 ac_prev=srcdir ;;
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530 srcdir=$ac_optarg ;;
532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533 | --syscon | --sysco | --sysc | --sys | --sy)
534 ac_prev=sysconfdir ;;
535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537 sysconfdir=$ac_optarg ;;
539 -target | --target | --targe | --targ | --tar | --ta | --t)
540 ac_prev=target_alias ;;
541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542 target_alias=$ac_optarg ;;
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
545 verbose=yes ;;
547 -version | --version | --versio | --versi | --vers | -V)
548 ac_init_version=: ;;
550 -with-* | --with-*)
551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package=`echo $ac_package| sed 's/-/_/g'`
557 case $ac_option in
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559 *) ac_optarg=yes ;;
560 esac
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* | --without-*)
564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
572 --x)
573 # Obsolete; use --with-x.
574 with_x=yes ;;
576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577 | --x-incl | --x-inc | --x-in | --x-i)
578 ac_prev=x_includes ;;
579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581 x_includes=$ac_optarg ;;
583 -x-libraries | --x-libraries | --x-librarie | --x-librari \
584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585 ac_prev=x_libraries ;;
586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588 x_libraries=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
595 *=*)
596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
603 export $ac_envvar ;;
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
613 esac
614 done
616 if test -n "$ac_prev"; then
617 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
625 eval ac_val=$`echo $ac_var`
626 case $ac_val in
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
630 esac
631 done
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val=$`echo $ac_var`
638 case $ac_val in
639 [\\/$]* | ?:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
642 esac
643 done
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
648 build=$build_alias
649 host=$host_alias
650 target=$target_alias
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x; then
654 if test "x$build_alias" = x; then
655 cross_compiling=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
659 cross_compiling=yes
663 ac_tool_prefix=
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666 test "$silent" = yes && exec 6>/dev/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
679 echo X"$0" |
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
684 s/.*/./; q'`
685 srcdir=$ac_confdir
686 if test ! -r $srcdir/$ac_unique_file; then
687 srcdir=..
689 else
690 ac_srcdir_defaulted=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
696 else
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_EMACS_set=${EMACS+set}
718 ac_env_EMACS_value=$EMACS
719 ac_cv_env_EMACS_set=${EMACS+set}
720 ac_cv_env_EMACS_value=$EMACS
721 ac_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
722 ac_env_EMACSLOADPATH_value=$EMACSLOADPATH
723 ac_cv_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
724 ac_cv_env_EMACSLOADPATH_value=$EMACSLOADPATH
727 # Report the --help message.
729 if test "$ac_init_help" = "long"; then
730 # Omit some internal or obsolete options to make the list less imposing.
731 # This message is too long to be a string in the A/UX 3.1 sh.
732 cat <<_ACEOF
733 \`configure' configures GNU Autoconf 2.57a to adapt to many kinds of systems.
735 Usage: $0 [OPTION]... [VAR=VALUE]...
737 To assign environment variables (e.g., CC, CFLAGS...), specify them as
738 VAR=VALUE. See below for descriptions of some of the useful variables.
740 Defaults for the options are specified in brackets.
742 Configuration:
743 -h, --help display this help and exit
744 --help=short display options specific to this package
745 --help=recursive display the short help of all the included packages
746 -V, --version display version information and exit
747 -q, --quiet, --silent do not print \`checking...' messages
748 --cache-file=FILE cache test results in FILE [disabled]
749 -C, --config-cache alias for \`--cache-file=config.cache'
750 -n, --no-create do not create output files
751 --srcdir=DIR find the sources in DIR [configure dir or \`..']
753 _ACEOF
755 cat <<_ACEOF
756 Installation directories:
757 --prefix=PREFIX install architecture-independent files in PREFIX
758 [$ac_default_prefix]
759 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
760 [PREFIX]
762 By default, \`make install' will install all the files in
763 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
764 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
765 for instance \`--prefix=\$HOME'.
767 For better control, use the options below.
769 Fine tuning of the installation directories:
770 --bindir=DIR user executables [EPREFIX/bin]
771 --sbindir=DIR system admin executables [EPREFIX/sbin]
772 --libexecdir=DIR program executables [EPREFIX/libexec]
773 --datadir=DIR read-only architecture-independent data [PREFIX/share]
774 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
775 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
776 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
777 --libdir=DIR object code libraries [EPREFIX/lib]
778 --includedir=DIR C header files [PREFIX/include]
779 --oldincludedir=DIR C header files for non-gcc [/usr/include]
780 --infodir=DIR info documentation [PREFIX/info]
781 --mandir=DIR man documentation [PREFIX/man]
782 _ACEOF
784 cat <<\_ACEOF
786 Program names:
787 --program-prefix=PREFIX prepend PREFIX to installed program names
788 --program-suffix=SUFFIX append SUFFIX to installed program names
789 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
790 _ACEOF
793 if test -n "$ac_init_help"; then
794 case $ac_init_help in
795 short | recursive ) echo "Configuration of GNU Autoconf 2.57a:";;
796 esac
797 cat <<\_ACEOF
799 Optional Packages:
800 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
801 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
802 --with-lispdir Override the default lisp directory
804 Some influential environment variables:
805 EMACS the Emacs editor command
806 EMACSLOADPATH
807 the Emacs library search path
809 Use these variables to override the choices made by `configure' or to help
810 it to find libraries and programs with nonstandard names/locations.
812 Report bugs to <bug-autoconf@gnu.org>.
813 _ACEOF
816 if test "$ac_init_help" = "recursive"; then
817 # If there are subdirs, report their specific --help.
818 ac_popdir=`pwd`
819 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
820 test -d $ac_dir || continue
821 ac_builddir=.
823 if test "$ac_dir" != .; then
824 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
825 # A "../" for each directory in $ac_dir_suffix.
826 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
827 else
828 ac_dir_suffix= ac_top_builddir=
831 case $srcdir in
832 .) # No --srcdir option. We are building in place.
833 ac_srcdir=.
834 if test -z "$ac_top_builddir"; then
835 ac_top_srcdir=.
836 else
837 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
838 fi ;;
839 [\\/]* | ?:[\\/]* ) # Absolute path.
840 ac_srcdir=$srcdir$ac_dir_suffix;
841 ac_top_srcdir=$srcdir ;;
842 *) # Relative path.
843 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
844 ac_top_srcdir=$ac_top_builddir$srcdir ;;
845 esac
846 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
847 # absolute.
848 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
849 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
850 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
851 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
853 cd $ac_dir
854 # Check for guested configure; otherwise get Cygnus style configure.
855 if test -f $ac_srcdir/configure.gnu; then
856 echo
857 $SHELL $ac_srcdir/configure.gnu --help=recursive
858 elif test -f $ac_srcdir/configure; then
859 echo
860 $SHELL $ac_srcdir/configure --help=recursive
861 elif test -f $ac_srcdir/configure.ac ||
862 test -f $ac_srcdir/configure.in; then
863 echo
864 $ac_configure --help
865 else
866 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
868 cd $ac_popdir
869 done
872 test -n "$ac_init_help" && exit 0
873 if $ac_init_version; then
874 cat <<\_ACEOF
875 GNU Autoconf configure 2.57a
876 generated by GNU Autoconf 2.57a
878 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
879 Free Software Foundation, Inc.
880 This configure script is free software; the Free Software Foundation
881 gives unlimited permission to copy, distribute and modify it.
882 _ACEOF
883 exit 0
885 exec 5>config.log
886 cat >&5 <<_ACEOF
887 This file contains any messages produced by compilers while
888 running configure, to aid debugging if configure makes a mistake.
890 It was created by GNU Autoconf $as_me 2.57a, which was
891 generated by GNU Autoconf 2.57a. Invocation command line was
893 $ $0 $@
895 _ACEOF
897 cat <<_ASUNAME
898 ## --------- ##
899 ## Platform. ##
900 ## --------- ##
902 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
903 uname -m = `(uname -m) 2>/dev/null || echo unknown`
904 uname -r = `(uname -r) 2>/dev/null || echo unknown`
905 uname -s = `(uname -s) 2>/dev/null || echo unknown`
906 uname -v = `(uname -v) 2>/dev/null || echo unknown`
908 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
909 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
911 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
912 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
913 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
914 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
915 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
916 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
917 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
919 _ASUNAME
921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
922 for as_dir in $PATH
924 IFS=$as_save_IFS
925 test -z "$as_dir" && as_dir=.
926 echo "PATH: $as_dir"
927 done
929 } >&5
931 cat >&5 <<_ACEOF
934 ## ----------- ##
935 ## Core tests. ##
936 ## ----------- ##
938 _ACEOF
941 # Keep a trace of the command line.
942 # Strip out --no-create and --no-recursion so they do not pile up.
943 # Strip out --silent because we don't want to record it for future runs.
944 # Also quote any args containing shell meta-characters.
945 # Make two passes to allow for proper duplicate-argument suppression.
946 ac_configure_args=
947 ac_configure_args0=
948 ac_configure_args1=
949 ac_sep=
950 ac_must_keep_next=false
951 for ac_pass in 1 2
953 for ac_arg
955 case $ac_arg in
956 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
957 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
958 | -silent | --silent | --silen | --sile | --sil)
959 continue ;;
960 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
961 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
962 esac
963 case $ac_pass in
964 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
966 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
967 if test $ac_must_keep_next = true; then
968 ac_must_keep_next=false # Got value, back to normal.
969 else
970 case $ac_arg in
971 *=* | --config-cache | -C | -disable-* | --disable-* \
972 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
973 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
974 | -with-* | --with-* | -without-* | --without-* | --x)
975 case "$ac_configure_args0 " in
976 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
977 esac
979 -* ) ac_must_keep_next=true ;;
980 esac
982 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
983 # Get rid of the leading space.
984 ac_sep=" "
986 esac
987 done
988 done
989 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
990 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
992 # When interrupted or exit'd, cleanup temporary files, and complete
993 # config.log. We remove comments because anyway the quotes in there
994 # would cause problems or look ugly.
995 # WARNING: Be sure not to use single quotes in there, as some shells,
996 # such as our DU 5.0 friend, will then `close' the trap.
997 trap 'exit_status=$?
998 # Save into config.log some information that might help in debugging.
1000 echo
1002 cat <<\_ASBOX
1003 ## ---------------- ##
1004 ## Cache variables. ##
1005 ## ---------------- ##
1006 _ASBOX
1007 echo
1008 # The following way of writing the cache mishandles newlines in values,
1010 (set) 2>&1 |
1011 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1012 *ac_space=\ *)
1013 sed -n \
1014 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1015 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1018 sed -n \
1019 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1021 esac;
1023 echo
1025 cat <<\_ASBOX
1026 ## ----------------- ##
1027 ## Output variables. ##
1028 ## ----------------- ##
1029 _ASBOX
1030 echo
1031 for ac_var in $ac_subst_vars
1033 eval ac_val=$`echo $ac_var`
1034 echo "$ac_var='"'"'$ac_val'"'"'"
1035 done | sort
1036 echo
1038 if test -n "$ac_subst_files"; then
1039 cat <<\_ASBOX
1040 ## ------------- ##
1041 ## Output files. ##
1042 ## ------------- ##
1043 _ASBOX
1044 echo
1045 for ac_var in $ac_subst_files
1047 eval ac_val=$`echo $ac_var`
1048 echo "$ac_var='"'"'$ac_val'"'"'"
1049 done | sort
1050 echo
1053 if test -s confdefs.h; then
1054 cat <<\_ASBOX
1055 ## ----------- ##
1056 ## confdefs.h. ##
1057 ## ----------- ##
1058 _ASBOX
1059 echo
1060 sed "/^$/d" confdefs.h | sort
1061 echo
1063 test "$ac_signal" != 0 &&
1064 echo "$as_me: caught signal $ac_signal"
1065 echo "$as_me: exit $exit_status"
1066 } >&5
1067 rm -f core core.* *.core &&
1068 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1069 exit $exit_status
1071 for ac_signal in 1 2 13 15; do
1072 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1073 done
1074 ac_signal=0
1076 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1077 rm -rf conftest* confdefs.h
1078 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1079 echo >confdefs.h
1081 # Predefined preprocessor variables.
1083 cat >>confdefs.h <<_ACEOF
1084 #define PACKAGE_NAME "$PACKAGE_NAME"
1085 _ACEOF
1088 cat >>confdefs.h <<_ACEOF
1089 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1090 _ACEOF
1093 cat >>confdefs.h <<_ACEOF
1094 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1095 _ACEOF
1098 cat >>confdefs.h <<_ACEOF
1099 #define PACKAGE_STRING "$PACKAGE_STRING"
1100 _ACEOF
1103 cat >>confdefs.h <<_ACEOF
1104 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1105 _ACEOF
1108 # Let the site file select an alternate cache file if it wants to.
1109 # Prefer explicitly selected file to automatically selected ones.
1110 if test -z "$CONFIG_SITE"; then
1111 if test "x$prefix" != xNONE; then
1112 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1113 else
1114 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1117 for ac_site_file in $CONFIG_SITE; do
1118 if test -r "$ac_site_file"; then
1119 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1120 echo "$as_me: loading site script $ac_site_file" >&6;}
1121 sed 's/^/| /' "$ac_site_file" >&5
1122 . "$ac_site_file"
1124 done
1126 if test -r "$cache_file"; then
1127 # Some versions of bash will fail to source /dev/null (special
1128 # files actually), so we avoid doing that.
1129 if test -f "$cache_file"; then
1130 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1131 echo "$as_me: loading cache $cache_file" >&6;}
1132 case $cache_file in
1133 [\\/]* | ?:[\\/]* ) . $cache_file;;
1134 *) . ./$cache_file;;
1135 esac
1137 else
1138 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1139 echo "$as_me: creating cache $cache_file" >&6;}
1140 >$cache_file
1143 # Check that the precious variables saved in the cache have kept the same
1144 # value.
1145 ac_cache_corrupted=false
1146 for ac_var in `(set) 2>&1 |
1147 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1148 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1149 eval ac_new_set=\$ac_env_${ac_var}_set
1150 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1151 eval ac_new_val="\$ac_env_${ac_var}_value"
1152 case $ac_old_set,$ac_new_set in
1153 set,)
1154 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1155 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1156 ac_cache_corrupted=: ;;
1157 ,set)
1158 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1159 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1160 ac_cache_corrupted=: ;;
1161 ,);;
1163 if test "x$ac_old_val" != "x$ac_new_val"; then
1164 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1165 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1166 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1167 echo "$as_me: former value: $ac_old_val" >&2;}
1168 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1169 echo "$as_me: current value: $ac_new_val" >&2;}
1170 ac_cache_corrupted=:
1171 fi;;
1172 esac
1173 # Pass precious variables to config.status.
1174 if test "$ac_new_set" = set; then
1175 case $ac_new_val in
1176 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1177 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1178 *) ac_arg=$ac_var=$ac_new_val ;;
1179 esac
1180 case " $ac_configure_args " in
1181 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1182 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1183 esac
1185 done
1186 if $ac_cache_corrupted; then
1187 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1188 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1189 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1190 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1191 { (exit 1); exit 1; }; }
1194 ac_ext=c
1195 ac_cpp='$CPP $CPPFLAGS'
1196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1228 ac_aux_dir=
1229 for ac_dir in config $srcdir/config; do
1230 if test -f $ac_dir/install-sh; then
1231 ac_aux_dir=$ac_dir
1232 ac_install_sh="$ac_aux_dir/install-sh -c"
1233 break
1234 elif test -f $ac_dir/install.sh; then
1235 ac_aux_dir=$ac_dir
1236 ac_install_sh="$ac_aux_dir/install.sh -c"
1237 break
1238 elif test -f $ac_dir/shtool; then
1239 ac_aux_dir=$ac_dir
1240 ac_install_sh="$ac_aux_dir/shtool install -c"
1241 break
1243 done
1244 if test -z "$ac_aux_dir"; then
1245 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1246 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1247 { (exit 1); exit 1; }; }
1249 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1250 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1251 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1253 ac_config_files="$ac_config_files config/Makefile"
1256 am__api_version="1.7a"
1257 # Find a good install program. We prefer a C program (faster),
1258 # so one script is as good as another. But avoid the broken or
1259 # incompatible versions:
1260 # SysV /etc/install, /usr/sbin/install
1261 # SunOS /usr/etc/install
1262 # IRIX /sbin/install
1263 # AIX /bin/install
1264 # AmigaOS /C/install, which installs bootblocks on floppy discs
1265 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1266 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1267 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1268 # ./install, which can be erroneously created by make from ./install.sh.
1269 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1270 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1271 if test -z "$INSTALL"; then
1272 if test "${ac_cv_path_install+set}" = set; then
1273 echo $ECHO_N "(cached) $ECHO_C" >&6
1274 else
1275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1276 for as_dir in $PATH
1278 IFS=$as_save_IFS
1279 test -z "$as_dir" && as_dir=.
1280 # Account for people who put trailing slashes in PATH elements.
1281 case $as_dir/ in
1282 ./ | .// | /cC/* | \
1283 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1284 /usr/ucb/* ) ;;
1286 # OSF1 and SCO ODT 3.0 have their own names for install.
1287 # Don't use installbsd from OSF since it installs stuff as root
1288 # by default.
1289 for ac_prog in ginstall scoinst install; do
1290 for ac_exec_ext in '' $ac_executable_extensions; do
1291 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1292 if test $ac_prog = install &&
1293 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1294 # AIX install. It has an incompatible calling convention.
1296 elif test $ac_prog = install &&
1297 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1298 # program-specific install script used by HP pwplus--don't use.
1300 else
1301 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1302 break 3
1305 done
1306 done
1308 esac
1309 done
1313 if test "${ac_cv_path_install+set}" = set; then
1314 INSTALL=$ac_cv_path_install
1315 else
1316 # As a last resort, use the slow shell script. We don't cache a
1317 # path for INSTALL within a source directory, because that will
1318 # break other packages using the cache if that directory is
1319 # removed, or if the path is relative.
1320 INSTALL=$ac_install_sh
1323 echo "$as_me:$LINENO: result: $INSTALL" >&5
1324 echo "${ECHO_T}$INSTALL" >&6
1326 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1327 # It thinks the first close brace ends the variable substitution.
1328 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1330 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1332 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1334 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1335 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1336 # Just in case
1337 sleep 1
1338 echo timestamp > conftest.file
1339 # Do `set' in a subshell so we don't clobber the current shell's
1340 # arguments. Must try -L first in case configure is actually a
1341 # symlink; some systems play weird games with the mod time of symlinks
1342 # (eg FreeBSD returns the mod time of the symlink's containing
1343 # directory).
1344 if (
1345 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1346 if test "$*" = "X"; then
1347 # -L didn't work.
1348 set X `ls -t $srcdir/configure conftest.file`
1350 rm -f conftest.file
1351 if test "$*" != "X $srcdir/configure conftest.file" \
1352 && test "$*" != "X conftest.file $srcdir/configure"; then
1354 # If neither matched, then we have a broken ls. This can happen
1355 # if, for instance, CONFIG_SHELL is bash and it inherits a
1356 # broken ls alias from the environment. This has actually
1357 # happened. Such a system could not be considered "sane".
1358 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1359 alias in your environment" >&5
1360 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1361 alias in your environment" >&2;}
1362 { (exit 1); exit 1; }; }
1365 test "$2" = conftest.file
1367 then
1368 # Ok.
1370 else
1371 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1372 Check your system clock" >&5
1373 echo "$as_me: error: newly created file is older than distributed files!
1374 Check your system clock" >&2;}
1375 { (exit 1); exit 1; }; }
1377 echo "$as_me:$LINENO: result: yes" >&5
1378 echo "${ECHO_T}yes" >&6
1379 test "$program_prefix" != NONE &&
1380 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1381 # Use a double $ so make ignores it.
1382 test "$program_suffix" != NONE &&
1383 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1384 # Double any \ or $. echo might interpret backslashes.
1385 # By default was `s,x,x', remove it if useless.
1386 cat <<\_ACEOF >conftest.sed
1387 s/[\\$]/&&/g;s/;s,x,x,$//
1388 _ACEOF
1389 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1390 rm conftest.sed
1393 # expand $ac_aux_dir to an absolute path
1394 am_aux_dir=`cd $ac_aux_dir && pwd`
1396 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1397 # Use eval to expand $SHELL
1398 if eval "$MISSING --run true"; then
1399 am_missing_run="$MISSING --run "
1400 else
1401 am_missing_run=
1402 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1403 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1406 for ac_prog in gawk mawk nawk awk
1408 # Extract the first word of "$ac_prog", so it can be a program name with args.
1409 set dummy $ac_prog; ac_word=$2
1410 echo "$as_me:$LINENO: checking for $ac_word" >&5
1411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1412 if test "${ac_cv_prog_AWK+set}" = set; then
1413 echo $ECHO_N "(cached) $ECHO_C" >&6
1414 else
1415 if test -n "$AWK"; then
1416 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1417 else
1418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1419 for as_dir in $PATH
1421 IFS=$as_save_IFS
1422 test -z "$as_dir" && as_dir=.
1423 for ac_exec_ext in '' $ac_executable_extensions; do
1424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1425 ac_cv_prog_AWK="$ac_prog"
1426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1427 break 2
1429 done
1430 done
1434 AWK=$ac_cv_prog_AWK
1435 if test -n "$AWK"; then
1436 echo "$as_me:$LINENO: result: $AWK" >&5
1437 echo "${ECHO_T}$AWK" >&6
1438 else
1439 echo "$as_me:$LINENO: result: no" >&5
1440 echo "${ECHO_T}no" >&6
1443 test -n "$AWK" && break
1444 done
1446 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1447 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1448 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1449 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1450 echo $ECHO_N "(cached) $ECHO_C" >&6
1451 else
1452 cat >conftest.make <<\_ACEOF
1453 all:
1454 @echo 'ac_maketemp="$(MAKE)"'
1455 _ACEOF
1456 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1457 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1458 if test -n "$ac_maketemp"; then
1459 eval ac_cv_prog_make_${ac_make}_set=yes
1460 else
1461 eval ac_cv_prog_make_${ac_make}_set=no
1463 rm -f conftest.make
1465 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1466 echo "$as_me:$LINENO: result: yes" >&5
1467 echo "${ECHO_T}yes" >&6
1468 SET_MAKE=
1469 else
1470 echo "$as_me:$LINENO: result: no" >&5
1471 echo "${ECHO_T}no" >&6
1472 SET_MAKE="MAKE=${MAKE-make}"
1475 rm -rf .tst 2>/dev/null
1476 mkdir .tst 2>/dev/null
1477 if test -d .tst; then
1478 am__leading_dot=.
1479 else
1480 am__leading_dot=_
1482 rmdir .tst 2>/dev/null
1484 # test to see if srcdir already configured
1485 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1486 test -f $srcdir/config.status; then
1487 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1488 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1489 { (exit 1); exit 1; }; }
1492 # test whether we have cygpath
1493 if test -z "$CYGPATH_W"; then
1494 if (cygpath --version) >/dev/null 2>/dev/null; then
1495 CYGPATH_W='cygpath -w'
1496 else
1497 CYGPATH_W=echo
1502 # Define the identity of the package.
1503 PACKAGE='autoconf'
1504 VERSION='2.57a'
1507 cat >>confdefs.h <<_ACEOF
1508 #define PACKAGE "$PACKAGE"
1509 _ACEOF
1512 cat >>confdefs.h <<_ACEOF
1513 #define VERSION "$VERSION"
1514 _ACEOF
1516 # Some tools Automake needs.
1518 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1521 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1524 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1527 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1530 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1533 AMTAR=${AMTAR-"${am_missing_run}tar"}
1535 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1537 # Installed binaries are usually stripped using `strip' when the user
1538 # run `make install-strip'. However `strip' might not be the right
1539 # tool to use in cross-compilation environments, therefore Automake
1540 # will honor the `STRIP' environment variable to overrule this program.
1541 if test "$cross_compiling" != no; then
1542 if test -n "$ac_tool_prefix"; then
1543 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1544 set dummy ${ac_tool_prefix}strip; ac_word=$2
1545 echo "$as_me:$LINENO: checking for $ac_word" >&5
1546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1547 if test "${ac_cv_prog_STRIP+set}" = set; then
1548 echo $ECHO_N "(cached) $ECHO_C" >&6
1549 else
1550 if test -n "$STRIP"; then
1551 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1552 else
1553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1554 for as_dir in $PATH
1556 IFS=$as_save_IFS
1557 test -z "$as_dir" && as_dir=.
1558 for ac_exec_ext in '' $ac_executable_extensions; do
1559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1560 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1562 break 2
1564 done
1565 done
1569 STRIP=$ac_cv_prog_STRIP
1570 if test -n "$STRIP"; then
1571 echo "$as_me:$LINENO: result: $STRIP" >&5
1572 echo "${ECHO_T}$STRIP" >&6
1573 else
1574 echo "$as_me:$LINENO: result: no" >&5
1575 echo "${ECHO_T}no" >&6
1579 if test -z "$ac_cv_prog_STRIP"; then
1580 ac_ct_STRIP=$STRIP
1581 # Extract the first word of "strip", so it can be a program name with args.
1582 set dummy strip; ac_word=$2
1583 echo "$as_me:$LINENO: checking for $ac_word" >&5
1584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1585 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1586 echo $ECHO_N "(cached) $ECHO_C" >&6
1587 else
1588 if test -n "$ac_ct_STRIP"; then
1589 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1590 else
1591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1592 for as_dir in $PATH
1594 IFS=$as_save_IFS
1595 test -z "$as_dir" && as_dir=.
1596 for ac_exec_ext in '' $ac_executable_extensions; do
1597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1598 ac_cv_prog_ac_ct_STRIP="strip"
1599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1600 break 2
1602 done
1603 done
1605 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1608 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1609 if test -n "$ac_ct_STRIP"; then
1610 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1611 echo "${ECHO_T}$ac_ct_STRIP" >&6
1612 else
1613 echo "$as_me:$LINENO: result: no" >&5
1614 echo "${ECHO_T}no" >&6
1617 STRIP=$ac_ct_STRIP
1618 else
1619 STRIP="$ac_cv_prog_STRIP"
1623 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1625 # We need awk for the "check" target. The system "awk" is bad on
1626 # some platforms.
1631 # Initialize the test suite and build position independent wrappers.
1632 ac_config_commands="$ac_config_commands tests/atconfig"
1635 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
1637 ac_config_files="$ac_config_files tests/autoconf:tests/wrapper.in"
1639 ac_config_files="$ac_config_files tests/autoheader:tests/wrapper.in"
1641 ac_config_files="$ac_config_files tests/autom4te:tests/wrapper.in"
1643 ac_config_files="$ac_config_files tests/autoreconf:tests/wrapper.in"
1645 ac_config_files="$ac_config_files tests/autoscan:tests/wrapper.in"
1647 ac_config_files="$ac_config_files tests/autoupdate:tests/wrapper.in"
1649 ac_config_files="$ac_config_files tests/ifnames:tests/wrapper.in"
1651 # Extract the first word of "expr", so it can be a program name with args.
1652 set dummy expr; ac_word=$2
1653 echo "$as_me:$LINENO: checking for $ac_word" >&5
1654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1655 if test "${ac_cv_path_EXPR+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1657 else
1658 case $EXPR in
1659 [\\/]* | ?:[\\/]*)
1660 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
1663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1664 for as_dir in $PATH
1666 IFS=$as_save_IFS
1667 test -z "$as_dir" && as_dir=.
1668 for ac_exec_ext in '' $ac_executable_extensions; do
1669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1670 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
1671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1672 break 2
1674 done
1675 done
1678 esac
1680 EXPR=$ac_cv_path_EXPR
1682 if test -n "$EXPR"; then
1683 echo "$as_me:$LINENO: result: $EXPR" >&5
1684 echo "${ECHO_T}$EXPR" >&6
1685 else
1686 echo "$as_me:$LINENO: result: no" >&5
1687 echo "${ECHO_T}no" >&6
1692 # We use a path for GNU m4 so even if users have another m4 first in
1693 # their path, the installer can configure with a path that has GNU m4
1694 # first and get that path embedded in the installed autoconf and
1695 # autoheader scripts.
1696 for ac_prog in gm4 gnum4 m4
1698 # Extract the first word of "$ac_prog", so it can be a program name with args.
1699 set dummy $ac_prog; ac_word=$2
1700 echo "$as_me:$LINENO: checking for $ac_word" >&5
1701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1702 if test "${ac_cv_path_M4+set}" = set; then
1703 echo $ECHO_N "(cached) $ECHO_C" >&6
1704 else
1705 case $M4 in
1706 [\\/]* | ?:[\\/]*)
1707 ac_cv_path_M4="$M4" # Let the user override the test with a path.
1710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 for as_dir in $PATH
1713 IFS=$as_save_IFS
1714 test -z "$as_dir" && as_dir=.
1715 for ac_exec_ext in '' $ac_executable_extensions; do
1716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1717 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
1718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1719 break 2
1721 done
1722 done
1725 esac
1727 M4=$ac_cv_path_M4
1729 if test -n "$M4"; then
1730 echo "$as_me:$LINENO: result: $M4" >&5
1731 echo "${ECHO_T}$M4" >&6
1732 else
1733 echo "$as_me:$LINENO: result: no" >&5
1734 echo "${ECHO_T}no" >&6
1737 test -n "$M4" && break
1738 done
1739 test -n "$M4" || M4="m4"
1741 echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
1742 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
1743 if test "${ac_cv_prog_gnu_m4+set}" = set; then
1744 echo $ECHO_N "(cached) $ECHO_C" >&6
1745 else
1746 ac_cv_prog_gnu_m4=no
1747 if test x"$M4" != x; then
1748 case `$M4 --help < /dev/null 2>&1` in
1749 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
1750 esac
1753 echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
1754 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
1755 if test x"$ac_cv_prog_gnu_m4" != xyes; then
1756 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
1757 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
1758 { (exit 1); exit 1; }; }
1761 # Man pages.
1762 ac_config_files="$ac_config_files man/Makefile"
1765 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
1768 # We use a path for perl so the #! line in autoscan will work.
1769 # Extract the first word of "perl", so it can be a program name with args.
1770 set dummy perl; ac_word=$2
1771 echo "$as_me:$LINENO: checking for $ac_word" >&5
1772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1773 if test "${ac_cv_path_PERL+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 else
1776 case $PERL in
1777 [\\/]* | ?:[\\/]*)
1778 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1782 for as_dir in $PATH
1784 IFS=$as_save_IFS
1785 test -z "$as_dir" && as_dir=.
1786 for ac_exec_ext in '' $ac_executable_extensions; do
1787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1788 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1790 break 2
1792 done
1793 done
1795 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
1797 esac
1799 PERL=$ac_cv_path_PERL
1801 if test -n "$PERL"; then
1802 echo "$as_me:$LINENO: result: $PERL" >&5
1803 echo "${ECHO_T}$PERL" >&6
1804 else
1805 echo "$as_me:$LINENO: result: no" >&5
1806 echo "${ECHO_T}no" >&6
1809 if test "$PERL" = no; then
1810 { { echo "$as_me:$LINENO: error: perl is not found" >&5
1811 echo "$as_me: error: perl is not found" >&2;}
1812 { (exit 1); exit 1; }; }
1814 $PERL -e 'require 5.005_03;' || {
1815 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
1816 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
1817 { (exit 1); exit 1; }; }
1820 # Emacs modes.
1821 ac_config_files="$ac_config_files lib/emacs/Makefile"
1823 test x"$EMACS" = xt && EMACS=
1824 for ac_prog in emacs xemacs
1826 # Extract the first word of "$ac_prog", so it can be a program name with args.
1827 set dummy $ac_prog; ac_word=$2
1828 echo "$as_me:$LINENO: checking for $ac_word" >&5
1829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1830 if test "${ac_cv_prog_EMACS+set}" = set; then
1831 echo $ECHO_N "(cached) $ECHO_C" >&6
1832 else
1833 if test -n "$EMACS"; then
1834 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
1835 else
1836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1837 for as_dir in $PATH
1839 IFS=$as_save_IFS
1840 test -z "$as_dir" && as_dir=.
1841 for ac_exec_ext in '' $ac_executable_extensions; do
1842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1843 ac_cv_prog_EMACS="$ac_prog"
1844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1845 break 2
1847 done
1848 done
1852 EMACS=$ac_cv_prog_EMACS
1853 if test -n "$EMACS"; then
1854 echo "$as_me:$LINENO: result: $EMACS" >&5
1855 echo "${ECHO_T}$EMACS" >&6
1856 else
1857 echo "$as_me:$LINENO: result: no" >&5
1858 echo "${ECHO_T}no" >&6
1861 test -n "$EMACS" && break
1862 done
1863 test -n "$EMACS" || EMACS="no"
1866 # Check whether --with-lispdir or --without-lispdir was given.
1867 if test "${with_lispdir+set}" = set; then
1868 withval="$with_lispdir"
1869 lispdir="$withval"
1870 echo "$as_me:$LINENO: checking where .elc files should go" >&5
1871 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
1872 echo "$as_me:$LINENO: result: $lispdir" >&5
1873 echo "${ECHO_T}$lispdir" >&6
1874 else
1876 # If set to t, that means we are running in a shell under Emacs.
1877 # If you have an Emacs named "t", then use the full path.
1878 test x"$EMACS" = xt && EMACS=
1879 for ac_prog in emacs xemacs
1881 # Extract the first word of "$ac_prog", so it can be a program name with args.
1882 set dummy $ac_prog; ac_word=$2
1883 echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1885 if test "${ac_cv_prog_EMACS+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 else
1888 if test -n "$EMACS"; then
1889 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
1890 else
1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1892 for as_dir in $PATH
1894 IFS=$as_save_IFS
1895 test -z "$as_dir" && as_dir=.
1896 for ac_exec_ext in '' $ac_executable_extensions; do
1897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1898 ac_cv_prog_EMACS="$ac_prog"
1899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1900 break 2
1902 done
1903 done
1907 EMACS=$ac_cv_prog_EMACS
1908 if test -n "$EMACS"; then
1909 echo "$as_me:$LINENO: result: $EMACS" >&5
1910 echo "${ECHO_T}$EMACS" >&6
1911 else
1912 echo "$as_me:$LINENO: result: no" >&5
1913 echo "${ECHO_T}no" >&6
1916 test -n "$EMACS" && break
1917 done
1918 test -n "$EMACS" || EMACS="no"
1922 if test $EMACS != "no"; then
1923 if test x${lispdir+set} != xset; then
1924 echo "$as_me:$LINENO: checking where .elc files should go" >&5
1925 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
1926 if test "${am_cv_lispdir+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1928 else
1929 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
1930 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
1931 # which is non-obvious for non-emacs users.
1932 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
1933 # emacsen earlier and avoid running this altogether.
1934 { (echo "$as_me:$LINENO: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out") >&5
1935 ($EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out) 2>&5
1936 ac_status=$?
1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); }
1939 am_cv_lispdir=`sed -n \
1940 -e 's,/$,,' \
1941 -e '/.*\/lib\/\(x\?emacs\/site-lisp\)$/{s,,${libdir}/\1,;p;q;}' \
1942 -e '/.*\/share\/\(x\?emacs\/site-lisp\)$/{s,,${datadir}/\1,;p;q;}' \
1943 conftest.out`
1944 rm conftest.out
1945 if test -z "$am_cv_lispdir"; then
1946 am_cv_lispdir='${datadir}/emacs/site-lisp'
1950 echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
1951 echo "${ECHO_T}$am_cv_lispdir" >&6
1952 lispdir="$am_cv_lispdir"
1960 ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile lib/Autom4te/Makefile lib/autoscan/Makefile lib/m4sugar/Makefile lib/autoconf/Makefile lib/autotest/Makefile bin/Makefile"
1963 cat >confcache <<\_ACEOF
1964 # This file is a shell script that caches the results of configure
1965 # tests run on this system so they can be shared between configure
1966 # scripts and configure runs, see configure's option --config-cache.
1967 # It is not useful on other systems. If it contains results you don't
1968 # want to keep, you may remove or edit it.
1970 # config.status only pays attention to the cache file if you give it
1971 # the --recheck option to rerun configure.
1973 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1974 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1975 # following values.
1977 _ACEOF
1979 # The following way of writing the cache mishandles newlines in values,
1980 # but we know of no workaround that is simple, portable, and efficient.
1981 # So, don't put newlines in cache variables' values.
1982 # Ultrix sh set writes to stderr and can't be redirected directly,
1983 # and sets the high bit in the cache file unless we assign to the vars.
1985 (set) 2>&1 |
1986 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1987 *ac_space=\ *)
1988 # `set' does not quote correctly, so add quotes (double-quote
1989 # substitution turns \\\\ into \\, and sed turns \\ into \).
1990 sed -n \
1991 "s/'/'\\\\''/g;
1992 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1995 # `set' quotes correctly as required by POSIX, so do not add quotes.
1996 sed -n \
1997 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1999 esac;
2001 sed '
2002 t clear
2003 : clear
2004 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2005 t end
2006 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2007 : end' >>confcache
2008 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2009 if test -w $cache_file; then
2010 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2011 cat confcache >$cache_file
2012 else
2013 echo "not updating unwritable cache $cache_file"
2016 rm -f confcache
2018 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2019 # Let make expand exec_prefix.
2020 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2022 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2023 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2024 # trailing colons and then remove the whole line if VPATH becomes empty
2025 # (actually we leave an empty line to preserve line numbers).
2026 if test "x$srcdir" = x.; then
2027 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2028 s/:*\$(srcdir):*/:/;
2029 s/:*\${srcdir}:*/:/;
2030 s/:*@srcdir@:*/:/;
2031 s/^\([^=]*=[ ]*\):*/\1/;
2032 s/:*$//;
2033 s/^[^=]*=[ ]*$//;
2037 # Transform confdefs.h into DEFS.
2038 # Protect against shell expansion while executing Makefile rules.
2039 # Protect against Makefile macro expansion.
2041 # If the first sed substitution is executed (which looks for macros that
2042 # take arguments), then we branch to the quote section. Otherwise,
2043 # look for a macro that doesn't take arguments.
2044 cat >confdef2opt.sed <<\_ACEOF
2045 t clear
2046 : clear
2047 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2048 t quote
2049 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2050 t quote
2052 : quote
2053 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2054 s,\[,\\&,g
2055 s,\],\\&,g
2056 s,\$,$$,g
2058 _ACEOF
2059 # We use echo to avoid assuming a particular line-breaking character.
2060 # The extra dot is to prevent the shell from consuming trailing
2061 # line-breaks from the sub-command output. A line-break within
2062 # single-quotes doesn't work because, if this script is created in a
2063 # platform that uses two characters for line-breaks (e.g., DOS), tr
2064 # would break.
2065 ac_LF_and_DOT=`echo; echo .`
2066 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2067 rm -f confdef2opt.sed
2070 ac_libobjs=
2071 ac_ltlibobjs=
2072 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2073 # 1. Remove the extension, and $U if already installed.
2074 ac_i=`echo "$ac_i" |
2075 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2076 # 2. Add them.
2077 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2078 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2079 done
2080 LIBOBJS=$ac_libobjs
2082 LTLIBOBJS=$ac_ltlibobjs
2086 : ${CONFIG_STATUS=./config.status}
2087 ac_clean_files_save=$ac_clean_files
2088 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2089 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2090 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2091 cat >$CONFIG_STATUS <<_ACEOF
2092 #! $SHELL
2093 # Generated by $as_me.
2094 # Run this file to recreate the current configuration.
2095 # Compiler output produced by configure, useful for debugging
2096 # configure, is in config.log if it exists.
2098 debug=false
2099 ac_cs_recheck=false
2100 ac_cs_silent=false
2101 SHELL=\${CONFIG_SHELL-$SHELL}
2102 _ACEOF
2104 cat >>$CONFIG_STATUS <<\_ACEOF
2105 ## --------------------- ##
2106 ## M4sh Initialization. ##
2107 ## --------------------- ##
2109 # Be Bourne compatible
2110 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2111 emulate sh
2112 NULLCMD=:
2113 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2114 # is contrary to our usage. Disable this feature.
2115 alias -g '${1+"$@"}'='"$@"'
2116 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2117 set -o posix
2120 # Support unset when possible.
2121 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2122 as_unset=unset
2123 else
2124 as_unset=false
2128 # Work around bugs in pre-3.0 UWIN ksh.
2129 $as_unset ENV MAIL MAILPATH
2130 PS1='$ '
2131 PS2='> '
2132 PS4='+ '
2134 # NLS nuisances.
2135 for as_var in \
2136 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2137 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2138 LC_TELEPHONE LC_TIME
2140 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
2141 eval $as_var=C; export $as_var
2142 else
2143 $as_unset $as_var
2145 done
2147 # Required to use basename.
2148 if expr a : '\(a\)' >/dev/null 2>&1; then
2149 as_expr=expr
2150 else
2151 as_expr=false
2154 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2155 as_basename=basename
2156 else
2157 as_basename=false
2161 # Name of the executable.
2162 as_me=`$as_basename "$0" ||
2163 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2164 X"$0" : 'X\(//\)$' \| \
2165 X"$0" : 'X\(/\)$' \| \
2166 . : '\(.\)' 2>/dev/null ||
2167 echo X/"$0" |
2168 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2169 /^X\/\(\/\/\)$/{ s//\1/; q; }
2170 /^X\/\(\/\).*/{ s//\1/; q; }
2171 s/.*/./; q'`
2174 # PATH needs CR, and LINENO needs CR and PATH.
2175 # Avoid depending upon Character Ranges.
2176 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2177 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2178 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2179 as_cr_digits='0123456789'
2180 as_cr_alnum=$as_cr_Letters$as_cr_digits
2182 # The user is always right.
2183 if test "${PATH_SEPARATOR+set}" != set; then
2184 echo "#! /bin/sh" >conf$$.sh
2185 echo "exit 0" >>conf$$.sh
2186 chmod +x conf$$.sh
2187 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2188 PATH_SEPARATOR=';'
2189 else
2190 PATH_SEPARATOR=:
2192 rm -f conf$$.sh
2196 as_lineno_1=$LINENO
2197 as_lineno_2=$LINENO
2198 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2199 test "x$as_lineno_1" != "x$as_lineno_2" &&
2200 test "x$as_lineno_3" = "x$as_lineno_2" || {
2201 # Find who we are. Look in the path if we contain no path at all
2202 # relative or not.
2203 case $0 in
2204 *[\\/]* ) as_myself=$0 ;;
2205 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2206 for as_dir in $PATH
2208 IFS=$as_save_IFS
2209 test -z "$as_dir" && as_dir=.
2210 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2211 done
2214 esac
2215 # We did not find ourselves, most probably we were run as `sh COMMAND'
2216 # in which case we are not to be found in the path.
2217 if test "x$as_myself" = x; then
2218 as_myself=$0
2220 if test ! -f "$as_myself"; then
2221 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2222 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2223 { (exit 1); exit 1; }; }
2225 case $CONFIG_SHELL in
2227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2228 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2230 IFS=$as_save_IFS
2231 test -z "$as_dir" && as_dir=.
2232 for as_base in sh bash ksh sh5; do
2233 case $as_dir in
2235 if ("$as_dir/$as_base" -c '
2236 as_lineno_1=$LINENO
2237 as_lineno_2=$LINENO
2238 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2239 test "x$as_lineno_1" != "x$as_lineno_2" &&
2240 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2241 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2242 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2243 CONFIG_SHELL=$as_dir/$as_base
2244 export CONFIG_SHELL
2245 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2246 fi;;
2247 esac
2248 done
2249 done
2251 esac
2253 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2254 # uniformly replaced by the line number. The first 'sed' inserts a
2255 # line-number line before each line; the second 'sed' does the real
2256 # work. The second script uses 'N' to pair each line-number line
2257 # with the numbered line, and appends trailing '-' during
2258 # substitution so that $LINENO is not a special case at line end.
2259 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2260 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2261 sed '=' <$as_myself |
2262 sed '
2264 s,$,-,
2265 : loop
2266 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2267 t loop
2268 s,-$,,
2269 s,^['$as_cr_digits']*\n,,
2270 ' >$as_me.lineno &&
2271 chmod +x $as_me.lineno ||
2272 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2273 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2274 { (exit 1); exit 1; }; }
2276 # Don't try to exec as it changes $[0], causing all sort of problems
2277 # (the dirname of $[0] is not the place where we might find the
2278 # original and so on. Autoconf is especially sensible to this).
2279 . ./$as_me.lineno
2280 # Exit status is that of the last command.
2281 exit
2285 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2286 *c*,-n*) ECHO_N= ECHO_C='
2287 ' ECHO_T=' ' ;;
2288 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2289 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2290 esac
2292 if expr a : '\(a\)' >/dev/null 2>&1; then
2293 as_expr=expr
2294 else
2295 as_expr=false
2298 rm -f conf$$ conf$$.exe conf$$.file
2299 echo >conf$$.file
2300 if ln -s conf$$.file conf$$ 2>/dev/null; then
2301 # We could just check for DJGPP; but this test a) works b) is more generic
2302 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2303 if test -f conf$$.exe; then
2304 # Don't use ln at all; we don't have any links
2305 as_ln_s='cp -p'
2306 else
2307 as_ln_s='ln -s'
2309 elif ln conf$$.file conf$$ 2>/dev/null; then
2310 as_ln_s=ln
2311 else
2312 as_ln_s='cp -p'
2314 rm -f conf$$ conf$$.exe conf$$.file
2316 if mkdir -p . 2>/dev/null; then
2317 as_mkdir_p=:
2318 else
2319 as_mkdir_p=false
2322 as_executable_p="test -f"
2324 # Sed expression to map a string onto a valid CPP name.
2325 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2327 # Sed expression to map a string onto a valid variable name.
2328 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2331 # IFS
2332 # We need space, tab and new line, in precisely that order.
2333 as_nl='
2335 IFS=" $as_nl"
2337 # CDPATH.
2338 $as_unset CDPATH
2340 exec 6>&1
2342 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2343 # report actual input values of CONFIG_FILES etc. instead of their
2344 # values after options handling. Logging --version etc. is OK.
2345 exec 5>>config.log
2347 echo
2348 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2349 ## Running $as_me. ##
2350 _ASBOX
2351 } >&5
2352 cat >&5 <<_CSEOF
2354 This file was extended by GNU Autoconf $as_me 2.57a, which was
2355 generated by GNU Autoconf 2.57a. Invocation command line was
2357 CONFIG_FILES = $CONFIG_FILES
2358 CONFIG_HEADERS = $CONFIG_HEADERS
2359 CONFIG_LINKS = $CONFIG_LINKS
2360 CONFIG_COMMANDS = $CONFIG_COMMANDS
2361 $ $0 $@
2363 _CSEOF
2364 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2365 echo >&5
2366 _ACEOF
2368 # Files that config.status was made for.
2369 if test -n "$ac_config_files"; then
2370 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2373 if test -n "$ac_config_headers"; then
2374 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2377 if test -n "$ac_config_links"; then
2378 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2381 if test -n "$ac_config_commands"; then
2382 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2385 cat >>$CONFIG_STATUS <<\_ACEOF
2387 ac_cs_usage="\
2388 \`$as_me' instantiates files from templates according to the
2389 current configuration.
2391 Usage: $0 [OPTIONS] [FILE]...
2393 -h, --help print this help, then exit
2394 -V, --version print version number, then exit
2395 -q, --quiet do not print progress messages
2396 -d, --debug don't remove temporary files
2397 --recheck update $as_me by reconfiguring in the same conditions
2398 --file=FILE[:TEMPLATE]
2399 instantiate the configuration file FILE
2401 Configuration files:
2402 $config_files
2404 Configuration commands:
2405 $config_commands
2407 Report bugs to <bug-autoconf@gnu.org>."
2408 _ACEOF
2410 cat >>$CONFIG_STATUS <<_ACEOF
2411 ac_cs_version="\\
2412 GNU Autoconf config.status 2.57a
2413 configured by $0, generated by GNU Autoconf 2.57a,
2414 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2416 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2417 Free Software Foundation, Inc.
2418 This config.status script is free software; the Free Software Foundation
2419 gives unlimited permission to copy, distribute and modify it."
2420 srcdir=$srcdir
2421 INSTALL="$INSTALL"
2422 _ACEOF
2424 cat >>$CONFIG_STATUS <<\_ACEOF
2425 # If no file are specified by the user, then we need to provide default
2426 # value. By we need to know if files were specified by the user.
2427 ac_need_defaults=:
2428 while test $# != 0
2430 case $1 in
2431 --*=*)
2432 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2433 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2434 ac_shift=:
2437 ac_option=$1
2438 ac_optarg=$2
2439 ac_shift=shift
2441 *) # This is not an option, so the user has probably given explicit
2442 # arguments.
2443 ac_option=$1
2444 ac_need_defaults=false;;
2445 esac
2447 case $ac_option in
2448 # Handling of the options.
2449 _ACEOF
2450 cat >>$CONFIG_STATUS <<\_ACEOF
2451 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2452 ac_cs_recheck=: ;;
2453 --version | --vers* | -V )
2454 echo "$ac_cs_version"; exit 0 ;;
2455 --he | --h)
2456 # Conflict between --help and --header
2457 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2458 Try \`$0 --help' for more information." >&5
2459 echo "$as_me: error: ambiguous option: $1
2460 Try \`$0 --help' for more information." >&2;}
2461 { (exit 1); exit 1; }; };;
2462 --help | --hel | -h )
2463 echo "$ac_cs_usage"; exit 0 ;;
2464 --debug | --d* | -d )
2465 debug=: ;;
2466 --file | --fil | --fi | --f )
2467 $ac_shift
2468 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2469 ac_need_defaults=false;;
2470 --header | --heade | --head | --hea )
2471 $ac_shift
2472 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2473 ac_need_defaults=false;;
2474 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2475 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2476 ac_cs_silent=: ;;
2478 # This is an error.
2479 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2480 Try \`$0 --help' for more information." >&5
2481 echo "$as_me: error: unrecognized option: $1
2482 Try \`$0 --help' for more information." >&2;}
2483 { (exit 1); exit 1; }; } ;;
2485 *) ac_config_targets="$ac_config_targets $1" ;;
2487 esac
2488 shift
2489 done
2491 ac_configure_extra_args=
2493 if $ac_cs_silent; then
2494 exec 6>/dev/null
2495 ac_configure_extra_args="$ac_configure_extra_args --silent"
2498 _ACEOF
2499 cat >>$CONFIG_STATUS <<_ACEOF
2500 if \$ac_cs_recheck; then
2501 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2502 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2505 _ACEOF
2511 cat >>$CONFIG_STATUS <<\_ACEOF
2512 for ac_config_target in $ac_config_targets
2514 case "$ac_config_target" in
2515 # Handling of arguments.
2516 "config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
2517 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
2518 "tests/atlocal" ) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
2519 "tests/autoconf" ) CONFIG_FILES="$CONFIG_FILES tests/autoconf:tests/wrapper.in" ;;
2520 "tests/autoheader" ) CONFIG_FILES="$CONFIG_FILES tests/autoheader:tests/wrapper.in" ;;
2521 "tests/autom4te" ) CONFIG_FILES="$CONFIG_FILES tests/autom4te:tests/wrapper.in" ;;
2522 "tests/autoreconf" ) CONFIG_FILES="$CONFIG_FILES tests/autoreconf:tests/wrapper.in" ;;
2523 "tests/autoscan" ) CONFIG_FILES="$CONFIG_FILES tests/autoscan:tests/wrapper.in" ;;
2524 "tests/autoupdate" ) CONFIG_FILES="$CONFIG_FILES tests/autoupdate:tests/wrapper.in" ;;
2525 "tests/ifnames" ) CONFIG_FILES="$CONFIG_FILES tests/ifnames:tests/wrapper.in" ;;
2526 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
2527 "lib/emacs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
2528 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2529 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
2530 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
2531 "lib/Autom4te/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
2532 "lib/autoscan/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
2533 "lib/m4sugar/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
2534 "lib/autoconf/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
2535 "lib/autotest/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
2536 "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
2537 "tests/atconfig" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
2538 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2539 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2540 { (exit 1); exit 1; }; };;
2541 esac
2542 done
2544 # If the user did not use the arguments to specify the items to instantiate,
2545 # then the envvar interface is used. Set only those that are not.
2546 # We use the long form for the default assignment because of an extremely
2547 # bizarre bug on SunOS 4.1.3.
2548 if $ac_need_defaults; then
2549 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2550 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
2553 # Have a temporary directory for convenience. Make it in the build tree
2554 # simply because there is no reason to put it here, and in addition,
2555 # creating and moving files from /tmp can sometimes cause problems.
2556 # Create a temporary directory, and hook for its removal unless debugging.
2557 $debug ||
2559 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2560 trap '{ (exit 1); exit 1; }' 1 2 13 15
2563 # Create a (secure) tmp directory for tmp files.
2566 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2567 test -n "$tmp" && test -d "$tmp"
2568 } ||
2570 tmp=./confstat$$-$RANDOM
2571 (umask 077 && mkdir $tmp)
2572 } ||
2574 echo "$me: cannot create a temporary directory in ." >&2
2575 { (exit 1); exit 1; }
2578 _ACEOF
2580 cat >>$CONFIG_STATUS <<_ACEOF
2583 # CONFIG_FILES section.
2586 # No need to generate the scripts if there are no CONFIG_FILES.
2587 # This happens for instance when ./config.status config.h
2588 if test -n "\$CONFIG_FILES"; then
2589 # Protect against being on the right side of a sed subst in config.status.
2590 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2591 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2592 s,@SHELL@,$SHELL,;t t
2593 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2594 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2595 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2596 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2597 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2598 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2599 s,@exec_prefix@,$exec_prefix,;t t
2600 s,@prefix@,$prefix,;t t
2601 s,@program_transform_name@,$program_transform_name,;t t
2602 s,@bindir@,$bindir,;t t
2603 s,@sbindir@,$sbindir,;t t
2604 s,@libexecdir@,$libexecdir,;t t
2605 s,@datadir@,$datadir,;t t
2606 s,@sysconfdir@,$sysconfdir,;t t
2607 s,@sharedstatedir@,$sharedstatedir,;t t
2608 s,@localstatedir@,$localstatedir,;t t
2609 s,@libdir@,$libdir,;t t
2610 s,@includedir@,$includedir,;t t
2611 s,@oldincludedir@,$oldincludedir,;t t
2612 s,@infodir@,$infodir,;t t
2613 s,@mandir@,$mandir,;t t
2614 s,@build_alias@,$build_alias,;t t
2615 s,@host_alias@,$host_alias,;t t
2616 s,@target_alias@,$target_alias,;t t
2617 s,@DEFS@,$DEFS,;t t
2618 s,@ECHO_C@,$ECHO_C,;t t
2619 s,@ECHO_N@,$ECHO_N,;t t
2620 s,@ECHO_T@,$ECHO_T,;t t
2621 s,@LIBS@,$LIBS,;t t
2622 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2623 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2624 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2625 s,@CYGPATH_W@,$CYGPATH_W,;t t
2626 s,@PACKAGE@,$PACKAGE,;t t
2627 s,@VERSION@,$VERSION,;t t
2628 s,@ACLOCAL@,$ACLOCAL,;t t
2629 s,@AUTOCONF@,$AUTOCONF,;t t
2630 s,@AUTOMAKE@,$AUTOMAKE,;t t
2631 s,@AUTOHEADER@,$AUTOHEADER,;t t
2632 s,@MAKEINFO@,$MAKEINFO,;t t
2633 s,@AMTAR@,$AMTAR,;t t
2634 s,@install_sh@,$install_sh,;t t
2635 s,@STRIP@,$STRIP,;t t
2636 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2637 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2638 s,@AWK@,$AWK,;t t
2639 s,@SET_MAKE@,$SET_MAKE,;t t
2640 s,@am__leading_dot@,$am__leading_dot,;t t
2641 s,@EXPR@,$EXPR,;t t
2642 s,@M4@,$M4,;t t
2643 s,@HELP2MAN@,$HELP2MAN,;t t
2644 s,@PERL@,$PERL,;t t
2645 s,@EMACS@,$EMACS,;t t
2646 s,@EMACSLOADPATH@,$EMACSLOADPATH,;t t
2647 s,@lispdir@,$lispdir,;t t
2648 s,@LIBOBJS@,$LIBOBJS,;t t
2649 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2650 CEOF
2652 _ACEOF
2654 cat >>$CONFIG_STATUS <<\_ACEOF
2655 # Split the substitutions into bite-sized pieces for seds with
2656 # small command number limits, like on Digital OSF/1 and HP-UX.
2657 ac_max_sed_lines=48
2658 ac_sed_frag=1 # Number of current file.
2659 ac_beg=1 # First line for current file.
2660 ac_end=$ac_max_sed_lines # Line after last line for current file.
2661 ac_more_lines=:
2662 ac_sed_cmds=
2663 while $ac_more_lines; do
2664 if test $ac_beg -gt 1; then
2665 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2666 else
2667 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2669 if test ! -s $tmp/subs.frag; then
2670 ac_more_lines=false
2671 else
2672 # The purpose of the label and of the branching condition is to
2673 # speed up the sed processing (if there are no `@' at all, there
2674 # is no need to browse any of the substitutions).
2675 # These are the two extra sed commands mentioned above.
2676 (echo ':t
2677 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2678 if test -z "$ac_sed_cmds"; then
2679 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2680 else
2681 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2683 ac_sed_frag=`expr $ac_sed_frag + 1`
2684 ac_beg=$ac_end
2685 ac_end=`expr $ac_end + $ac_max_sed_lines`
2687 done
2688 if test -z "$ac_sed_cmds"; then
2689 ac_sed_cmds=cat
2691 fi # test -n "$CONFIG_FILES"
2693 _ACEOF
2694 cat >>$CONFIG_STATUS <<\_ACEOF
2695 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2696 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2697 case $ac_file in
2698 - | *:- | *:-:* ) # input from stdin
2699 cat >$tmp/stdin
2700 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2701 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2702 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2703 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2704 * ) ac_file_in=$ac_file.in ;;
2705 esac
2707 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2708 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2709 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2710 X"$ac_file" : 'X\(//\)[^/]' \| \
2711 X"$ac_file" : 'X\(//\)$' \| \
2712 X"$ac_file" : 'X\(/\)' \| \
2713 . : '\(.\)' 2>/dev/null ||
2714 echo X"$ac_file" |
2715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2717 /^X\(\/\/\)$/{ s//\1/; q; }
2718 /^X\(\/\).*/{ s//\1/; q; }
2719 s/.*/./; q'`
2720 { if $as_mkdir_p; then
2721 mkdir -p "$ac_dir"
2722 else
2723 as_dir="$ac_dir"
2724 as_dirs=
2725 while test ! -d "$as_dir"; do
2726 as_dirs="$as_dir $as_dirs"
2727 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2728 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2729 X"$as_dir" : 'X\(//\)[^/]' \| \
2730 X"$as_dir" : 'X\(//\)$' \| \
2731 X"$as_dir" : 'X\(/\)' \| \
2732 . : '\(.\)' 2>/dev/null ||
2733 echo X"$as_dir" |
2734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2735 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2736 /^X\(\/\/\)$/{ s//\1/; q; }
2737 /^X\(\/\).*/{ s//\1/; q; }
2738 s/.*/./; q'`
2739 done
2740 test ! -n "$as_dirs" || mkdir $as_dirs
2741 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2742 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2743 { (exit 1); exit 1; }; }; }
2745 ac_builddir=.
2747 if test "$ac_dir" != .; then
2748 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2749 # A "../" for each directory in $ac_dir_suffix.
2750 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2751 else
2752 ac_dir_suffix= ac_top_builddir=
2755 case $srcdir in
2756 .) # No --srcdir option. We are building in place.
2757 ac_srcdir=.
2758 if test -z "$ac_top_builddir"; then
2759 ac_top_srcdir=.
2760 else
2761 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2762 fi ;;
2763 [\\/]* | ?:[\\/]* ) # Absolute path.
2764 ac_srcdir=$srcdir$ac_dir_suffix;
2765 ac_top_srcdir=$srcdir ;;
2766 *) # Relative path.
2767 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2768 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2769 esac
2770 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2771 # absolute.
2772 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2773 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
2774 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2775 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2778 case $INSTALL in
2779 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2780 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2781 esac
2783 if test x"$ac_file" != x-; then
2784 { echo "$as_me:$LINENO: creating $ac_file" >&5
2785 echo "$as_me: creating $ac_file" >&6;}
2786 rm -f "$ac_file"
2788 # Let's still pretend it is `configure' which instantiates (i.e., don't
2789 # use $as_me), people would be surprised to read:
2790 # /* config.h. Generated by config.status. */
2791 if test x"$ac_file" = x-; then
2792 configure_input=
2793 else
2794 configure_input="$ac_file. "
2796 configure_input=$configure_input"Generated from `echo $ac_file_in |
2797 sed 's,.*/,,'` by configure."
2799 # First look for the input files in the build tree, otherwise in the
2800 # src tree.
2801 ac_file_inputs=`IFS=:
2802 for f in $ac_file_in; do
2803 case $f in
2804 -) echo $tmp/stdin ;;
2805 [\\/$]*)
2806 # Absolute (can't be DOS-style, as IFS=:)
2807 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2808 echo "$as_me: error: cannot find input file: $f" >&2;}
2809 { (exit 1); exit 1; }; }
2810 echo $f;;
2811 *) # Relative
2812 if test -f "$f"; then
2813 # Build tree
2814 echo $f
2815 elif test -f "$srcdir/$f"; then
2816 # Source tree
2817 echo $srcdir/$f
2818 else
2819 # /dev/null tree
2820 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2821 echo "$as_me: error: cannot find input file: $f" >&2;}
2822 { (exit 1); exit 1; }; }
2823 fi;;
2824 esac
2825 done` || { (exit 1); exit 1; }
2826 _ACEOF
2827 cat >>$CONFIG_STATUS <<_ACEOF
2828 sed "$ac_vpsub
2829 $extrasub
2830 _ACEOF
2831 cat >>$CONFIG_STATUS <<\_ACEOF
2833 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2834 s,@configure_input@,$configure_input,;t t
2835 s,@srcdir@,$ac_srcdir,;t t
2836 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2837 s,@top_srcdir@,$ac_top_srcdir,;t t
2838 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2839 s,@builddir@,$ac_builddir,;t t
2840 s,@abs_builddir@,$ac_abs_builddir,;t t
2841 s,@top_builddir@,$ac_top_builddir,;t t
2842 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2843 s,@INSTALL@,$ac_INSTALL,;t t
2844 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2845 rm -f $tmp/stdin
2846 if test x"$ac_file" != x-; then
2847 mv $tmp/out $ac_file
2848 else
2849 cat $tmp/out
2850 rm -f $tmp/out
2853 # Run the commands associated with the file.
2854 case $ac_file in
2855 tests/autoconf ) chmod +x tests/autoconf ;;
2856 tests/autoheader ) chmod +x tests/autoheader ;;
2857 tests/autom4te ) chmod +x tests/autom4te ;;
2858 tests/autoreconf ) chmod +x tests/autoreconf ;;
2859 tests/autoscan ) chmod +x tests/autoscan ;;
2860 tests/autoupdate ) chmod +x tests/autoupdate ;;
2861 tests/ifnames ) chmod +x tests/ifnames ;;
2862 esac
2863 done
2864 _ACEOF
2865 cat >>$CONFIG_STATUS <<\_ACEOF
2868 # CONFIG_COMMANDS section.
2870 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
2871 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
2872 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
2873 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
2874 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2875 X"$ac_dest" : 'X\(//\)[^/]' \| \
2876 X"$ac_dest" : 'X\(//\)$' \| \
2877 X"$ac_dest" : 'X\(/\)' \| \
2878 . : '\(.\)' 2>/dev/null ||
2879 echo X"$ac_dest" |
2880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2881 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2882 /^X\(\/\/\)$/{ s//\1/; q; }
2883 /^X\(\/\).*/{ s//\1/; q; }
2884 s/.*/./; q'`
2885 ac_builddir=.
2887 if test "$ac_dir" != .; then
2888 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2889 # A "../" for each directory in $ac_dir_suffix.
2890 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2891 else
2892 ac_dir_suffix= ac_top_builddir=
2895 case $srcdir in
2896 .) # No --srcdir option. We are building in place.
2897 ac_srcdir=.
2898 if test -z "$ac_top_builddir"; then
2899 ac_top_srcdir=.
2900 else
2901 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2902 fi ;;
2903 [\\/]* | ?:[\\/]* ) # Absolute path.
2904 ac_srcdir=$srcdir$ac_dir_suffix;
2905 ac_top_srcdir=$srcdir ;;
2906 *) # Relative path.
2907 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2908 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2909 esac
2910 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2911 # absolute.
2912 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2913 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
2914 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2915 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2918 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
2919 echo "$as_me: executing $ac_dest commands" >&6;}
2920 case $ac_dest in
2921 tests/atconfig ) cat >tests/atconfig <<ATEOF
2922 # Configurable variable values for building test suites.
2923 # Generated by $0.
2924 # Copyright 2000, 2001 Free Software Foundation, Inc.
2926 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
2927 at_testdir='tests'
2928 abs_builddir='$ac_abs_builddir'
2929 at_srcdir='$ac_srcdir'
2930 abs_srcdir='$ac_abs_srcdir'
2931 at_top_srcdir='$ac_top_srcdir'
2932 abs_top_srcdir='$ac_abs_top_srcdir'
2933 at_top_builddir='$ac_top_builddir'
2934 abs_top_builddir='$ac_abs_top_builddir'
2936 AUTOTEST_PATH='tests'
2938 SHELL=\${CONFIG_SHELL-'$SHELL'}
2939 ATEOF
2941 esac
2942 done
2943 _ACEOF
2945 cat >>$CONFIG_STATUS <<\_ACEOF
2947 { (exit 0); exit 0; }
2948 _ACEOF
2949 chmod +x $CONFIG_STATUS
2950 ac_clean_files=$ac_clean_files_save
2953 # configure is writing to config.log, and then calls config.status.
2954 # config.status does its own redirection, appending to config.log.
2955 # Unfortunately, on DOS this fails, as config.log is still kept open
2956 # by configure, so config.status won't be able to write to it; its
2957 # output is simply discarded. So we exec the FD to /dev/null,
2958 # effectively closing config.log, so it can be properly (re)opened and
2959 # appended to by config.status. When coming back to configure, we
2960 # need to make the FD available again.
2961 if test "$no_create" != yes; then
2962 ac_cs_success=:
2963 ac_config_status_args=
2964 test "$silent" = yes &&
2965 ac_config_status_args="$ac_config_status_args --quiet"
2966 exec 5>/dev/null
2967 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2968 exec 5>>config.log
2969 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2970 # would make configure fail if this is the last instruction.
2971 $ac_cs_success || { (exit 1); exit 1; }
2974 # Report the state of this version of Autoconf if this is a beta.
2975 cat <<EOF
2977 You are about to use an experimental version of Autoconf. Be sure to
2978 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
2980 Below you will find information on the status of this version of Autoconf.
2984 sed -n '/^\* Status/,$p' $srcdir/BUGS