Version 2.59.
[autoconf.git] / configure
blob5584a3516062ec3845061c5a44133192260068ac
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.58a for GNU Autoconf 2.59.
5 # Report bugs to <bug-autoconf@gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(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 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
240 IFS=" $as_nl"
242 # CDPATH.
243 $as_unset CDPATH
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251 exec 6>&1
254 # Initializations.
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME='GNU Autoconf'
271 PACKAGE_TARNAME='autoconf'
272 PACKAGE_VERSION='2.59'
273 PACKAGE_STRING='GNU Autoconf 2.59'
274 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
276 ac_unique_file="ChangeLog"
277 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 TEST_EMACS EMACS EMACSLOADPATH lispdir LIBOBJS LTLIBOBJS'
278 ac_subst_files=''
280 # Initialize some variables set by options.
281 ac_init_help=
282 ac_init_version=false
283 # The variables have the same names as the options, with
284 # dashes changed to underlines.
285 cache_file=/dev/null
286 exec_prefix=NONE
287 no_create=
288 no_recursion=
289 prefix=NONE
290 program_prefix=NONE
291 program_suffix=NONE
292 program_transform_name=s,x,x,
293 silent=
294 site=
295 srcdir=
296 verbose=
297 x_includes=NONE
298 x_libraries=NONE
300 # Installation directory options.
301 # These are left unexpanded so users can "make install exec_prefix=/foo"
302 # and all the variables that are supposed to be based on exec_prefix
303 # by default will actually change.
304 # Use braces instead of parens because sh, perl, etc. also accept them.
305 bindir='${exec_prefix}/bin'
306 sbindir='${exec_prefix}/sbin'
307 libexecdir='${exec_prefix}/libexec'
308 datadir='${prefix}/share'
309 sysconfdir='${prefix}/etc'
310 sharedstatedir='${prefix}/com'
311 localstatedir='${prefix}/var'
312 libdir='${exec_prefix}/lib'
313 includedir='${prefix}/include'
314 oldincludedir='/usr/include'
315 infodir='${prefix}/info'
316 mandir='${prefix}/man'
318 ac_prev=
319 for ac_option
321 # If the previous option needs an argument, assign it.
322 if test -n "$ac_prev"; then
323 eval "$ac_prev=\$ac_option"
324 ac_prev=
325 continue
328 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
330 # Accept the important Cygnus configure options, so we can diagnose typos.
332 case $ac_option in
334 -bindir | --bindir | --bindi | --bind | --bin | --bi)
335 ac_prev=bindir ;;
336 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337 bindir=$ac_optarg ;;
339 -build | --build | --buil | --bui | --bu)
340 ac_prev=build_alias ;;
341 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
342 build_alias=$ac_optarg ;;
344 -cache-file | --cache-file | --cache-fil | --cache-fi \
345 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
346 ac_prev=cache_file ;;
347 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
348 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
349 cache_file=$ac_optarg ;;
351 --config-cache | -C)
352 cache_file=config.cache ;;
354 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355 ac_prev=datadir ;;
356 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357 | --da=*)
358 datadir=$ac_optarg ;;
360 -disable-* | --disable-*)
361 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
362 # Reject names that are not valid shell variable names.
363 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
364 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
365 { (exit 1); exit 1; }; }
366 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
367 eval "enable_$ac_feature=no" ;;
369 -enable-* | --enable-*)
370 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
371 # Reject names that are not valid shell variable names.
372 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
373 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
374 { (exit 1); exit 1; }; }
375 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376 case $ac_option in
377 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 *) ac_optarg=yes ;;
379 esac
380 eval "enable_$ac_feature='$ac_optarg'" ;;
382 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
383 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
384 | --exec | --exe | --ex)
385 ac_prev=exec_prefix ;;
386 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
387 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
388 | --exec=* | --exe=* | --ex=*)
389 exec_prefix=$ac_optarg ;;
391 -gas | --gas | --ga | --g)
392 # Obsolete; use --with-gas.
393 with_gas=yes ;;
395 -help | --help | --hel | --he | -h)
396 ac_init_help=long ;;
397 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
398 ac_init_help=recursive ;;
399 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
400 ac_init_help=short ;;
402 -host | --host | --hos | --ho)
403 ac_prev=host_alias ;;
404 -host=* | --host=* | --hos=* | --ho=*)
405 host_alias=$ac_optarg ;;
407 -includedir | --includedir | --includedi | --included | --include \
408 | --includ | --inclu | --incl | --inc)
409 ac_prev=includedir ;;
410 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
411 | --includ=* | --inclu=* | --incl=* | --inc=*)
412 includedir=$ac_optarg ;;
414 -infodir | --infodir | --infodi | --infod | --info | --inf)
415 ac_prev=infodir ;;
416 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
417 infodir=$ac_optarg ;;
419 -libdir | --libdir | --libdi | --libd)
420 ac_prev=libdir ;;
421 -libdir=* | --libdir=* | --libdi=* | --libd=*)
422 libdir=$ac_optarg ;;
424 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
425 | --libexe | --libex | --libe)
426 ac_prev=libexecdir ;;
427 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
428 | --libexe=* | --libex=* | --libe=*)
429 libexecdir=$ac_optarg ;;
431 -localstatedir | --localstatedir | --localstatedi | --localstated \
432 | --localstate | --localstat | --localsta | --localst \
433 | --locals | --local | --loca | --loc | --lo)
434 ac_prev=localstatedir ;;
435 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
436 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
437 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
438 localstatedir=$ac_optarg ;;
440 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441 ac_prev=mandir ;;
442 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
443 mandir=$ac_optarg ;;
445 -nfp | --nfp | --nf)
446 # Obsolete; use --without-fp.
447 with_fp=no ;;
449 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
450 | --no-cr | --no-c | -n)
451 no_create=yes ;;
453 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
454 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455 no_recursion=yes ;;
457 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
458 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
459 | --oldin | --oldi | --old | --ol | --o)
460 ac_prev=oldincludedir ;;
461 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
462 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
463 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
464 oldincludedir=$ac_optarg ;;
466 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467 ac_prev=prefix ;;
468 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469 prefix=$ac_optarg ;;
471 -program-prefix | --program-prefix | --program-prefi | --program-pref \
472 | --program-pre | --program-pr | --program-p)
473 ac_prev=program_prefix ;;
474 -program-prefix=* | --program-prefix=* | --program-prefi=* \
475 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
476 program_prefix=$ac_optarg ;;
478 -program-suffix | --program-suffix | --program-suffi | --program-suff \
479 | --program-suf | --program-su | --program-s)
480 ac_prev=program_suffix ;;
481 -program-suffix=* | --program-suffix=* | --program-suffi=* \
482 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
483 program_suffix=$ac_optarg ;;
485 -program-transform-name | --program-transform-name \
486 | --program-transform-nam | --program-transform-na \
487 | --program-transform-n | --program-transform- \
488 | --program-transform | --program-transfor \
489 | --program-transfo | --program-transf \
490 | --program-trans | --program-tran \
491 | --progr-tra | --program-tr | --program-t)
492 ac_prev=program_transform_name ;;
493 -program-transform-name=* | --program-transform-name=* \
494 | --program-transform-nam=* | --program-transform-na=* \
495 | --program-transform-n=* | --program-transform-=* \
496 | --program-transform=* | --program-transfor=* \
497 | --program-transfo=* | --program-transf=* \
498 | --program-trans=* | --program-tran=* \
499 | --progr-tra=* | --program-tr=* | --program-t=*)
500 program_transform_name=$ac_optarg ;;
502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
503 | -silent | --silent | --silen | --sile | --sil)
504 silent=yes ;;
506 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507 ac_prev=sbindir ;;
508 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509 | --sbi=* | --sb=*)
510 sbindir=$ac_optarg ;;
512 -sharedstatedir | --sharedstatedir | --sharedstatedi \
513 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
514 | --sharedst | --shareds | --shared | --share | --shar \
515 | --sha | --sh)
516 ac_prev=sharedstatedir ;;
517 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
518 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
519 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520 | --sha=* | --sh=*)
521 sharedstatedir=$ac_optarg ;;
523 -site | --site | --sit)
524 ac_prev=site ;;
525 -site=* | --site=* | --sit=*)
526 site=$ac_optarg ;;
528 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529 ac_prev=srcdir ;;
530 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531 srcdir=$ac_optarg ;;
533 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
534 | --syscon | --sysco | --sysc | --sys | --sy)
535 ac_prev=sysconfdir ;;
536 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
537 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
538 sysconfdir=$ac_optarg ;;
540 -target | --target | --targe | --targ | --tar | --ta | --t)
541 ac_prev=target_alias ;;
542 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
543 target_alias=$ac_optarg ;;
545 -v | -verbose | --verbose | --verbos | --verbo | --verb)
546 verbose=yes ;;
548 -version | --version | --versio | --versi | --vers | -V)
549 ac_init_version=: ;;
551 -with-* | --with-*)
552 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555 { echo "$as_me: error: invalid package name: $ac_package" >&2
556 { (exit 1); exit 1; }; }
557 ac_package=`echo $ac_package| sed 's/-/_/g'`
558 case $ac_option in
559 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 *) ac_optarg=yes ;;
561 esac
562 eval "with_$ac_package='$ac_optarg'" ;;
564 -without-* | --without-*)
565 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
566 # Reject names that are not valid shell variable names.
567 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
568 { echo "$as_me: error: invalid package name: $ac_package" >&2
569 { (exit 1); exit 1; }; }
570 ac_package=`echo $ac_package | sed 's/-/_/g'`
571 eval "with_$ac_package=no" ;;
573 --x)
574 # Obsolete; use --with-x.
575 with_x=yes ;;
577 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
578 | --x-incl | --x-inc | --x-in | --x-i)
579 ac_prev=x_includes ;;
580 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
581 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
582 x_includes=$ac_optarg ;;
584 -x-libraries | --x-libraries | --x-librarie | --x-librari \
585 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
586 ac_prev=x_libraries ;;
587 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
588 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
589 x_libraries=$ac_optarg ;;
591 -*) { echo "$as_me: error: unrecognized option: $ac_option
592 Try \`$0 --help' for more information." >&2
593 { (exit 1); exit 1; }; }
596 *=*)
597 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
598 # Reject names that are not valid shell variable names.
599 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
600 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
601 { (exit 1); exit 1; }; }
602 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
603 eval "$ac_envvar='$ac_optarg'"
604 export $ac_envvar ;;
607 # FIXME: should be removed in autoconf 3.0.
608 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
609 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
610 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
611 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
614 esac
615 done
617 if test -n "$ac_prev"; then
618 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
619 { echo "$as_me: error: missing argument to $ac_option" >&2
620 { (exit 1); exit 1; }; }
623 # Be sure to have absolute paths.
624 for ac_var in exec_prefix prefix
626 eval ac_val=$`echo $ac_var`
627 case $ac_val in
628 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
629 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
630 { (exit 1); exit 1; }; };;
631 esac
632 done
634 # Be sure to have absolute paths.
635 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
636 localstatedir libdir includedir oldincludedir infodir mandir
638 eval ac_val=$`echo $ac_var`
639 case $ac_val in
640 [\\/$]* | ?:[\\/]* ) ;;
641 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
642 { (exit 1); exit 1; }; };;
643 esac
644 done
646 # There might be people who depend on the old broken behavior: `$host'
647 # used to hold the argument of --host etc.
648 # FIXME: To remove some day.
649 build=$build_alias
650 host=$host_alias
651 target=$target_alias
653 # FIXME: To remove some day.
654 if test "x$host_alias" != x; then
655 if test "x$build_alias" = x; then
656 cross_compiling=maybe
657 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
658 If a cross compiler is detected then cross compile mode will be used." >&2
659 elif test "x$build_alias" != "x$host_alias"; then
660 cross_compiling=yes
664 ac_tool_prefix=
665 test -n "$host_alias" && ac_tool_prefix=$host_alias-
667 test "$silent" = yes && exec 6>/dev/null
670 # Find the source files, if location was not specified.
671 if test -z "$srcdir"; then
672 ac_srcdir_defaulted=yes
673 # Try the directory containing this script, then its parent.
674 ac_confdir=`(dirname "$0") 2>/dev/null ||
675 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
676 X"$0" : 'X\(//\)[^/]' \| \
677 X"$0" : 'X\(//\)$' \| \
678 X"$0" : 'X\(/\)' \| \
679 . : '\(.\)' 2>/dev/null ||
680 echo X"$0" |
681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
682 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
683 /^X\(\/\/\)$/{ s//\1/; q; }
684 /^X\(\/\).*/{ s//\1/; q; }
685 s/.*/./; q'`
686 srcdir=$ac_confdir
687 if test ! -r $srcdir/$ac_unique_file; then
688 srcdir=..
690 else
691 ac_srcdir_defaulted=no
693 if test ! -r $srcdir/$ac_unique_file; then
694 if test "$ac_srcdir_defaulted" = yes; then
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
696 { (exit 1); exit 1; }; }
697 else
698 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
699 { (exit 1); exit 1; }; }
702 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
703 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
704 { (exit 1); exit 1; }; }
705 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
706 ac_env_build_alias_set=${build_alias+set}
707 ac_env_build_alias_value=$build_alias
708 ac_cv_env_build_alias_set=${build_alias+set}
709 ac_cv_env_build_alias_value=$build_alias
710 ac_env_host_alias_set=${host_alias+set}
711 ac_env_host_alias_value=$host_alias
712 ac_cv_env_host_alias_set=${host_alias+set}
713 ac_cv_env_host_alias_value=$host_alias
714 ac_env_target_alias_set=${target_alias+set}
715 ac_env_target_alias_value=$target_alias
716 ac_cv_env_target_alias_set=${target_alias+set}
717 ac_cv_env_target_alias_value=$target_alias
718 ac_env_EMACS_set=${EMACS+set}
719 ac_env_EMACS_value=$EMACS
720 ac_cv_env_EMACS_set=${EMACS+set}
721 ac_cv_env_EMACS_value=$EMACS
722 ac_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
723 ac_env_EMACSLOADPATH_value=$EMACSLOADPATH
724 ac_cv_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
725 ac_cv_env_EMACSLOADPATH_value=$EMACSLOADPATH
728 # Report the --help message.
730 if test "$ac_init_help" = "long"; then
731 # Omit some internal or obsolete options to make the list less imposing.
732 # This message is too long to be a string in the A/UX 3.1 sh.
733 cat <<_ACEOF
734 \`configure' configures GNU Autoconf 2.59 to adapt to many kinds of systems.
736 Usage: $0 [OPTION]... [VAR=VALUE]...
738 To assign environment variables (e.g., CC, CFLAGS...), specify them as
739 VAR=VALUE. See below for descriptions of some of the useful variables.
741 Defaults for the options are specified in brackets.
743 Configuration:
744 -h, --help display this help and exit
745 --help=short display options specific to this package
746 --help=recursive display the short help of all the included packages
747 -V, --version display version information and exit
748 -q, --quiet, --silent do not print \`checking...' messages
749 --cache-file=FILE cache test results in FILE [disabled]
750 -C, --config-cache alias for \`--cache-file=config.cache'
751 -n, --no-create do not create output files
752 --srcdir=DIR find the sources in DIR [configure dir or \`..']
754 _ACEOF
756 cat <<_ACEOF
757 Installation directories:
758 --prefix=PREFIX install architecture-independent files in PREFIX
759 [$ac_default_prefix]
760 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
761 [PREFIX]
763 By default, \`make install' will install all the files in
764 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
765 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
766 for instance \`--prefix=\$HOME'.
768 For better control, use the options below.
770 Fine tuning of the installation directories:
771 --bindir=DIR user executables [EPREFIX/bin]
772 --sbindir=DIR system admin executables [EPREFIX/sbin]
773 --libexecdir=DIR program executables [EPREFIX/libexec]
774 --datadir=DIR read-only architecture-independent data [PREFIX/share]
775 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
776 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
777 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
778 --libdir=DIR object code libraries [EPREFIX/lib]
779 --includedir=DIR C header files [PREFIX/include]
780 --oldincludedir=DIR C header files for non-gcc [/usr/include]
781 --infodir=DIR info documentation [PREFIX/info]
782 --mandir=DIR man documentation [PREFIX/man]
783 _ACEOF
785 cat <<\_ACEOF
787 Program names:
788 --program-prefix=PREFIX prepend PREFIX to installed program names
789 --program-suffix=SUFFIX append SUFFIX to installed program names
790 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
791 _ACEOF
794 if test -n "$ac_init_help"; then
795 case $ac_init_help in
796 short | recursive ) echo "Configuration of GNU Autoconf 2.59:";;
797 esac
798 cat <<\_ACEOF
800 Optional Packages:
801 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
802 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
803 --with-lispdir Override the default lisp directory
805 Some influential environment variables:
806 EMACS the Emacs editor command
807 EMACSLOADPATH
808 the Emacs library search path
810 Use these variables to override the choices made by `configure' or to help
811 it to find libraries and programs with nonstandard names/locations.
813 Report bugs to <bug-autoconf@gnu.org>.
814 _ACEOF
817 if test "$ac_init_help" = "recursive"; then
818 # If there are subdirs, report their specific --help.
819 ac_popdir=`pwd`
820 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
821 test -d $ac_dir || continue
822 ac_builddir=.
824 if test "$ac_dir" != .; then
825 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
826 # A "../" for each directory in $ac_dir_suffix.
827 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
828 else
829 ac_dir_suffix= ac_top_builddir=
832 case $srcdir in
833 .) # No --srcdir option. We are building in place.
834 ac_srcdir=.
835 if test -z "$ac_top_builddir"; then
836 ac_top_srcdir=.
837 else
838 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
839 fi ;;
840 [\\/]* | ?:[\\/]* ) # Absolute path.
841 ac_srcdir=$srcdir$ac_dir_suffix;
842 ac_top_srcdir=$srcdir ;;
843 *) # Relative path.
844 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
845 ac_top_srcdir=$ac_top_builddir$srcdir ;;
846 esac
848 # Do not use `cd foo && pwd` to compute absolute paths, because
849 # the directories may not exist.
850 case `pwd` in
851 .) ac_abs_builddir="$ac_dir";;
853 case "$ac_dir" in
854 .) ac_abs_builddir=`pwd`;;
855 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
856 *) ac_abs_builddir=`pwd`/"$ac_dir";;
857 esac;;
858 esac
859 case $ac_abs_builddir in
860 .) ac_abs_top_builddir=${ac_top_builddir}.;;
862 case ${ac_top_builddir}. in
863 .) ac_abs_top_builddir=$ac_abs_builddir;;
864 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
865 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
866 esac;;
867 esac
868 case $ac_abs_builddir in
869 .) ac_abs_srcdir=$ac_srcdir;;
871 case $ac_srcdir in
872 .) ac_abs_srcdir=$ac_abs_builddir;;
873 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
874 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
875 esac;;
876 esac
877 case $ac_abs_builddir in
878 .) ac_abs_top_srcdir=$ac_top_srcdir;;
880 case $ac_top_srcdir in
881 .) ac_abs_top_srcdir=$ac_abs_builddir;;
882 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
883 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
884 esac;;
885 esac
887 cd $ac_dir
888 # Check for guested configure; otherwise get Cygnus style configure.
889 if test -f $ac_srcdir/configure.gnu; then
890 echo
891 $SHELL $ac_srcdir/configure.gnu --help=recursive
892 elif test -f $ac_srcdir/configure; then
893 echo
894 $SHELL $ac_srcdir/configure --help=recursive
895 elif test -f $ac_srcdir/configure.ac ||
896 test -f $ac_srcdir/configure.in; then
897 echo
898 $ac_configure --help
899 else
900 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
902 cd $ac_popdir
903 done
906 test -n "$ac_init_help" && exit 0
907 if $ac_init_version; then
908 cat <<\_ACEOF
909 GNU Autoconf configure 2.59
910 generated by GNU Autoconf 2.58a
912 Copyright (C) 2003 Free Software Foundation, Inc.
913 This configure script is free software; the Free Software Foundation
914 gives unlimited permission to copy, distribute and modify it.
915 _ACEOF
916 exit 0
918 exec 5>config.log
919 cat >&5 <<_ACEOF
920 This file contains any messages produced by compilers while
921 running configure, to aid debugging if configure makes a mistake.
923 It was created by GNU Autoconf $as_me 2.59, which was
924 generated by GNU Autoconf 2.58a. Invocation command line was
926 $ $0 $@
928 _ACEOF
930 cat <<_ASUNAME
931 ## --------- ##
932 ## Platform. ##
933 ## --------- ##
935 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
936 uname -m = `(uname -m) 2>/dev/null || echo unknown`
937 uname -r = `(uname -r) 2>/dev/null || echo unknown`
938 uname -s = `(uname -s) 2>/dev/null || echo unknown`
939 uname -v = `(uname -v) 2>/dev/null || echo unknown`
941 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
942 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
944 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
945 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
946 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
947 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
948 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
949 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
950 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
952 _ASUNAME
954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
955 for as_dir in $PATH
957 IFS=$as_save_IFS
958 test -z "$as_dir" && as_dir=.
959 echo "PATH: $as_dir"
960 done
962 } >&5
964 cat >&5 <<_ACEOF
967 ## ----------- ##
968 ## Core tests. ##
969 ## ----------- ##
971 _ACEOF
974 # Keep a trace of the command line.
975 # Strip out --no-create and --no-recursion so they do not pile up.
976 # Strip out --silent because we don't want to record it for future runs.
977 # Also quote any args containing shell meta-characters.
978 # Make two passes to allow for proper duplicate-argument suppression.
979 ac_configure_args=
980 ac_configure_args0=
981 ac_configure_args1=
982 ac_sep=
983 ac_must_keep_next=false
984 for ac_pass in 1 2
986 for ac_arg
988 case $ac_arg in
989 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
990 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
991 | -silent | --silent | --silen | --sile | --sil)
992 continue ;;
993 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
994 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
995 esac
996 case $ac_pass in
997 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
999 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1000 if test $ac_must_keep_next = true; then
1001 ac_must_keep_next=false # Got value, back to normal.
1002 else
1003 case $ac_arg in
1004 *=* | --config-cache | -C | -disable-* | --disable-* \
1005 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1006 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1007 | -with-* | --with-* | -without-* | --without-* | --x)
1008 case "$ac_configure_args0 " in
1009 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1010 esac
1012 -* ) ac_must_keep_next=true ;;
1013 esac
1015 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1016 # Get rid of the leading space.
1017 ac_sep=" "
1019 esac
1020 done
1021 done
1022 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1023 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1025 # When interrupted or exit'd, cleanup temporary files, and complete
1026 # config.log. We remove comments because anyway the quotes in there
1027 # would cause problems or look ugly.
1028 # WARNING: Be sure not to use single quotes in there, as some shells,
1029 # such as our DU 5.0 friend, will then `close' the trap.
1030 trap 'exit_status=$?
1031 # Save into config.log some information that might help in debugging.
1033 echo
1035 cat <<\_ASBOX
1036 ## ---------------- ##
1037 ## Cache variables. ##
1038 ## ---------------- ##
1039 _ASBOX
1040 echo
1041 # The following way of writing the cache mishandles newlines in values,
1043 (set) 2>&1 |
1044 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1045 *ac_space=\ *)
1046 sed -n \
1047 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1051 sed -n \
1052 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1054 esac;
1056 echo
1058 cat <<\_ASBOX
1059 ## ----------------- ##
1060 ## Output variables. ##
1061 ## ----------------- ##
1062 _ASBOX
1063 echo
1064 for ac_var in $ac_subst_vars
1066 eval ac_val=$`echo $ac_var`
1067 echo "$ac_var='"'"'$ac_val'"'"'"
1068 done | sort
1069 echo
1071 if test -n "$ac_subst_files"; then
1072 cat <<\_ASBOX
1073 ## ------------- ##
1074 ## Output files. ##
1075 ## ------------- ##
1076 _ASBOX
1077 echo
1078 for ac_var in $ac_subst_files
1080 eval ac_val=$`echo $ac_var`
1081 echo "$ac_var='"'"'$ac_val'"'"'"
1082 done | sort
1083 echo
1086 if test -s confdefs.h; then
1087 cat <<\_ASBOX
1088 ## ----------- ##
1089 ## confdefs.h. ##
1090 ## ----------- ##
1091 _ASBOX
1092 echo
1093 sed "/^$/d" confdefs.h | sort
1094 echo
1096 test "$ac_signal" != 0 &&
1097 echo "$as_me: caught signal $ac_signal"
1098 echo "$as_me: exit $exit_status"
1099 } >&5
1100 rm -f core *.core &&
1101 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1102 exit $exit_status
1104 for ac_signal in 1 2 13 15; do
1105 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1106 done
1107 ac_signal=0
1109 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1110 rm -rf conftest* confdefs.h
1111 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1112 echo >confdefs.h
1114 # Predefined preprocessor variables.
1116 cat >>confdefs.h <<_ACEOF
1117 #define PACKAGE_NAME "$PACKAGE_NAME"
1118 _ACEOF
1121 cat >>confdefs.h <<_ACEOF
1122 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1123 _ACEOF
1126 cat >>confdefs.h <<_ACEOF
1127 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1128 _ACEOF
1131 cat >>confdefs.h <<_ACEOF
1132 #define PACKAGE_STRING "$PACKAGE_STRING"
1133 _ACEOF
1136 cat >>confdefs.h <<_ACEOF
1137 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1138 _ACEOF
1141 # Let the site file select an alternate cache file if it wants to.
1142 # Prefer explicitly selected file to automatically selected ones.
1143 if test -z "$CONFIG_SITE"; then
1144 if test "x$prefix" != xNONE; then
1145 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1146 else
1147 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1150 for ac_site_file in $CONFIG_SITE; do
1151 if test -r "$ac_site_file"; then
1152 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1153 echo "$as_me: loading site script $ac_site_file" >&6;}
1154 sed 's/^/| /' "$ac_site_file" >&5
1155 . "$ac_site_file"
1157 done
1159 if test -r "$cache_file"; then
1160 # Some versions of bash will fail to source /dev/null (special
1161 # files actually), so we avoid doing that.
1162 if test -f "$cache_file"; then
1163 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1164 echo "$as_me: loading cache $cache_file" >&6;}
1165 case $cache_file in
1166 [\\/]* | ?:[\\/]* ) . $cache_file;;
1167 *) . ./$cache_file;;
1168 esac
1170 else
1171 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1172 echo "$as_me: creating cache $cache_file" >&6;}
1173 >$cache_file
1176 # Check that the precious variables saved in the cache have kept the same
1177 # value.
1178 ac_cache_corrupted=false
1179 for ac_var in `(set) 2>&1 |
1180 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1181 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1182 eval ac_new_set=\$ac_env_${ac_var}_set
1183 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1184 eval ac_new_val="\$ac_env_${ac_var}_value"
1185 case $ac_old_set,$ac_new_set in
1186 set,)
1187 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1188 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1189 ac_cache_corrupted=: ;;
1190 ,set)
1191 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1192 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1193 ac_cache_corrupted=: ;;
1194 ,);;
1196 if test "x$ac_old_val" != "x$ac_new_val"; then
1197 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1198 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1199 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1200 echo "$as_me: former value: $ac_old_val" >&2;}
1201 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1202 echo "$as_me: current value: $ac_new_val" >&2;}
1203 ac_cache_corrupted=:
1204 fi;;
1205 esac
1206 # Pass precious variables to config.status.
1207 if test "$ac_new_set" = set; then
1208 case $ac_new_val in
1209 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1210 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1211 *) ac_arg=$ac_var=$ac_new_val ;;
1212 esac
1213 case " $ac_configure_args " in
1214 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1215 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1216 esac
1218 done
1219 if $ac_cache_corrupted; then
1220 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1221 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1222 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1223 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1224 { (exit 1); exit 1; }; }
1227 ac_ext=c
1228 ac_cpp='$CPP $CPPFLAGS'
1229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1261 ac_aux_dir=
1262 for ac_dir in config $srcdir/config; do
1263 if test -f $ac_dir/install-sh; then
1264 ac_aux_dir=$ac_dir
1265 ac_install_sh="$ac_aux_dir/install-sh -c"
1266 break
1267 elif test -f $ac_dir/install.sh; then
1268 ac_aux_dir=$ac_dir
1269 ac_install_sh="$ac_aux_dir/install.sh -c"
1270 break
1271 elif test -f $ac_dir/shtool; then
1272 ac_aux_dir=$ac_dir
1273 ac_install_sh="$ac_aux_dir/shtool install -c"
1274 break
1276 done
1277 if test -z "$ac_aux_dir"; then
1278 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1279 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1280 { (exit 1); exit 1; }; }
1282 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1283 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1284 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1286 ac_config_files="$ac_config_files config/Makefile"
1289 am__api_version="1.7a"
1290 # Find a good install program. We prefer a C program (faster),
1291 # so one script is as good as another. But avoid the broken or
1292 # incompatible versions:
1293 # SysV /etc/install, /usr/sbin/install
1294 # SunOS /usr/etc/install
1295 # IRIX /sbin/install
1296 # AIX /bin/install
1297 # AmigaOS /C/install, which installs bootblocks on floppy discs
1298 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1299 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1300 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1301 # OS/2's system install, which has a completely different semantic
1302 # ./install, which can be erroneously created by make from ./install.sh.
1303 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1304 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1305 if test -z "$INSTALL"; then
1306 if test "${ac_cv_path_install+set}" = set; then
1307 echo $ECHO_N "(cached) $ECHO_C" >&6
1308 else
1309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1310 for as_dir in $PATH
1312 IFS=$as_save_IFS
1313 test -z "$as_dir" && as_dir=.
1314 # Account for people who put trailing slashes in PATH elements.
1315 case $as_dir/ in
1316 ./ | .// | /cC/* | \
1317 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1318 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1319 /usr/ucb/* ) ;;
1321 # OSF1 and SCO ODT 3.0 have their own names for install.
1322 # Don't use installbsd from OSF since it installs stuff as root
1323 # by default.
1324 for ac_prog in ginstall scoinst install; do
1325 for ac_exec_ext in '' $ac_executable_extensions; do
1326 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1327 if test $ac_prog = install &&
1328 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1329 # AIX install. It has an incompatible calling convention.
1331 elif test $ac_prog = install &&
1332 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1333 # program-specific install script used by HP pwplus--don't use.
1335 else
1336 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1337 break 3
1340 done
1341 done
1343 esac
1344 done
1348 if test "${ac_cv_path_install+set}" = set; then
1349 INSTALL=$ac_cv_path_install
1350 else
1351 # As a last resort, use the slow shell script. We don't cache a
1352 # path for INSTALL within a source directory, because that will
1353 # break other packages using the cache if that directory is
1354 # removed, or if the path is relative.
1355 INSTALL=$ac_install_sh
1358 echo "$as_me:$LINENO: result: $INSTALL" >&5
1359 echo "${ECHO_T}$INSTALL" >&6
1361 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1362 # It thinks the first close brace ends the variable substitution.
1363 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1365 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1367 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1369 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1370 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1371 # Just in case
1372 sleep 1
1373 echo timestamp > conftest.file
1374 # Do `set' in a subshell so we don't clobber the current shell's
1375 # arguments. Must try -L first in case configure is actually a
1376 # symlink; some systems play weird games with the mod time of symlinks
1377 # (eg FreeBSD returns the mod time of the symlink's containing
1378 # directory).
1379 if (
1380 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1381 if test "$*" = "X"; then
1382 # -L didn't work.
1383 set X `ls -t $srcdir/configure conftest.file`
1385 rm -f conftest.file
1386 if test "$*" != "X $srcdir/configure conftest.file" \
1387 && test "$*" != "X conftest.file $srcdir/configure"; then
1389 # If neither matched, then we have a broken ls. This can happen
1390 # if, for instance, CONFIG_SHELL is bash and it inherits a
1391 # broken ls alias from the environment. This has actually
1392 # happened. Such a system could not be considered "sane".
1393 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1394 alias in your environment" >&5
1395 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1396 alias in your environment" >&2;}
1397 { (exit 1); exit 1; }; }
1400 test "$2" = conftest.file
1402 then
1403 # Ok.
1405 else
1406 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1407 Check your system clock" >&5
1408 echo "$as_me: error: newly created file is older than distributed files!
1409 Check your system clock" >&2;}
1410 { (exit 1); exit 1; }; }
1412 echo "$as_me:$LINENO: result: yes" >&5
1413 echo "${ECHO_T}yes" >&6
1414 test "$program_prefix" != NONE &&
1415 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1416 # Use a double $ so make ignores it.
1417 test "$program_suffix" != NONE &&
1418 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1419 # Double any \ or $. echo might interpret backslashes.
1420 # By default was `s,x,x', remove it if useless.
1421 cat <<\_ACEOF >conftest.sed
1422 s/[\\$]/&&/g;s/;s,x,x,$//
1423 _ACEOF
1424 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1425 rm conftest.sed
1427 # expand $ac_aux_dir to an absolute path
1428 am_aux_dir=`cd $ac_aux_dir && pwd`
1430 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1431 # Use eval to expand $SHELL
1432 if eval "$MISSING --run true"; then
1433 am_missing_run="$MISSING --run "
1434 else
1435 am_missing_run=
1436 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1437 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1440 for ac_prog in gawk mawk nawk awk
1442 # Extract the first word of "$ac_prog", so it can be a program name with args.
1443 set dummy $ac_prog; ac_word=$2
1444 echo "$as_me:$LINENO: checking for $ac_word" >&5
1445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1446 if test "${ac_cv_prog_AWK+set}" = set; then
1447 echo $ECHO_N "(cached) $ECHO_C" >&6
1448 else
1449 if test -n "$AWK"; then
1450 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1451 else
1452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1453 for as_dir in $PATH
1455 IFS=$as_save_IFS
1456 test -z "$as_dir" && as_dir=.
1457 for ac_exec_ext in '' $ac_executable_extensions; do
1458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1459 ac_cv_prog_AWK="$ac_prog"
1460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1461 break 2
1463 done
1464 done
1468 AWK=$ac_cv_prog_AWK
1469 if test -n "$AWK"; then
1470 echo "$as_me:$LINENO: result: $AWK" >&5
1471 echo "${ECHO_T}$AWK" >&6
1472 else
1473 echo "$as_me:$LINENO: result: no" >&5
1474 echo "${ECHO_T}no" >&6
1477 test -n "$AWK" && break
1478 done
1480 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1481 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1482 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1483 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1484 echo $ECHO_N "(cached) $ECHO_C" >&6
1485 else
1486 cat >conftest.make <<\_ACEOF
1487 all:
1488 @echo 'ac_maketemp="$(MAKE)"'
1489 _ACEOF
1490 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1491 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1492 if test -n "$ac_maketemp"; then
1493 eval ac_cv_prog_make_${ac_make}_set=yes
1494 else
1495 eval ac_cv_prog_make_${ac_make}_set=no
1497 rm -f conftest.make
1499 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1500 echo "$as_me:$LINENO: result: yes" >&5
1501 echo "${ECHO_T}yes" >&6
1502 SET_MAKE=
1503 else
1504 echo "$as_me:$LINENO: result: no" >&5
1505 echo "${ECHO_T}no" >&6
1506 SET_MAKE="MAKE=${MAKE-make}"
1509 rm -rf .tst 2>/dev/null
1510 mkdir .tst 2>/dev/null
1511 if test -d .tst; then
1512 am__leading_dot=.
1513 else
1514 am__leading_dot=_
1516 rmdir .tst 2>/dev/null
1518 # test to see if srcdir already configured
1519 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1520 test -f $srcdir/config.status; then
1521 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1522 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1523 { (exit 1); exit 1; }; }
1526 # test whether we have cygpath
1527 if test -z "$CYGPATH_W"; then
1528 if (cygpath --version) >/dev/null 2>/dev/null; then
1529 CYGPATH_W='cygpath -w'
1530 else
1531 CYGPATH_W=echo
1536 # Define the identity of the package.
1537 PACKAGE='autoconf'
1538 VERSION='2.59'
1541 cat >>confdefs.h <<_ACEOF
1542 #define PACKAGE "$PACKAGE"
1543 _ACEOF
1546 cat >>confdefs.h <<_ACEOF
1547 #define VERSION "$VERSION"
1548 _ACEOF
1550 # Some tools Automake needs.
1552 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1555 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1558 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1561 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1564 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1567 AMTAR=${AMTAR-"${am_missing_run}tar"}
1569 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1571 # Installed binaries are usually stripped using `strip' when the user
1572 # run `make install-strip'. However `strip' might not be the right
1573 # tool to use in cross-compilation environments, therefore Automake
1574 # will honor the `STRIP' environment variable to overrule this program.
1575 if test "$cross_compiling" != no; then
1576 if test -n "$ac_tool_prefix"; then
1577 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1578 set dummy ${ac_tool_prefix}strip; ac_word=$2
1579 echo "$as_me:$LINENO: checking for $ac_word" >&5
1580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1581 if test "${ac_cv_prog_STRIP+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1583 else
1584 if test -n "$STRIP"; then
1585 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1586 else
1587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1588 for as_dir in $PATH
1590 IFS=$as_save_IFS
1591 test -z "$as_dir" && as_dir=.
1592 for ac_exec_ext in '' $ac_executable_extensions; do
1593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1594 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1596 break 2
1598 done
1599 done
1603 STRIP=$ac_cv_prog_STRIP
1604 if test -n "$STRIP"; then
1605 echo "$as_me:$LINENO: result: $STRIP" >&5
1606 echo "${ECHO_T}$STRIP" >&6
1607 else
1608 echo "$as_me:$LINENO: result: no" >&5
1609 echo "${ECHO_T}no" >&6
1613 if test -z "$ac_cv_prog_STRIP"; then
1614 ac_ct_STRIP=$STRIP
1615 # Extract the first word of "strip", so it can be a program name with args.
1616 set dummy strip; ac_word=$2
1617 echo "$as_me:$LINENO: checking for $ac_word" >&5
1618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1619 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 else
1622 if test -n "$ac_ct_STRIP"; then
1623 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1624 else
1625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1626 for as_dir in $PATH
1628 IFS=$as_save_IFS
1629 test -z "$as_dir" && as_dir=.
1630 for ac_exec_ext in '' $ac_executable_extensions; do
1631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1632 ac_cv_prog_ac_ct_STRIP="strip"
1633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1634 break 2
1636 done
1637 done
1639 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1642 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1643 if test -n "$ac_ct_STRIP"; then
1644 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1645 echo "${ECHO_T}$ac_ct_STRIP" >&6
1646 else
1647 echo "$as_me:$LINENO: result: no" >&5
1648 echo "${ECHO_T}no" >&6
1651 STRIP=$ac_ct_STRIP
1652 else
1653 STRIP="$ac_cv_prog_STRIP"
1657 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1659 # We need awk for the "check" target. The system "awk" is bad on
1660 # some platforms.
1665 # Initialize the test suite and build position independent wrappers.
1666 ac_config_commands="$ac_config_commands tests/atconfig"
1669 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
1671 ac_config_files="$ac_config_files tests/autoconf:tests/wrapper.in"
1673 ac_config_files="$ac_config_files tests/autoheader:tests/wrapper.in"
1675 ac_config_files="$ac_config_files tests/autom4te:tests/wrapper.in"
1677 ac_config_files="$ac_config_files tests/autoreconf:tests/wrapper.in"
1679 ac_config_files="$ac_config_files tests/autoscan:tests/wrapper.in"
1681 ac_config_files="$ac_config_files tests/autoupdate:tests/wrapper.in"
1683 ac_config_files="$ac_config_files tests/ifnames:tests/wrapper.in"
1685 # Extract the first word of "expr", so it can be a program name with args.
1686 set dummy expr; ac_word=$2
1687 echo "$as_me:$LINENO: checking for $ac_word" >&5
1688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1689 if test "${ac_cv_path_EXPR+set}" = set; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6
1691 else
1692 case $EXPR in
1693 [\\/]* | ?:[\\/]*)
1694 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
1697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1698 for as_dir in $PATH
1700 IFS=$as_save_IFS
1701 test -z "$as_dir" && as_dir=.
1702 for ac_exec_ext in '' $ac_executable_extensions; do
1703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1704 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
1705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1706 break 2
1708 done
1709 done
1712 esac
1714 EXPR=$ac_cv_path_EXPR
1716 if test -n "$EXPR"; then
1717 echo "$as_me:$LINENO: result: $EXPR" >&5
1718 echo "${ECHO_T}$EXPR" >&6
1719 else
1720 echo "$as_me:$LINENO: result: no" >&5
1721 echo "${ECHO_T}no" >&6
1726 ## ---- ##
1727 ## M4. ##
1728 ## ---- ##
1730 # We use a path for GNU m4 so even if users have another m4 first in
1731 # their path, the installer can configure with a path that has GNU m4
1732 # first and get that path embedded in the installed autoconf and
1733 # autoheader scripts.
1734 for ac_prog in gm4 gnum4 m4
1736 # Extract the first word of "$ac_prog", so it can be a program name with args.
1737 set dummy $ac_prog; ac_word=$2
1738 echo "$as_me:$LINENO: checking for $ac_word" >&5
1739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1740 if test "${ac_cv_path_M4+set}" = set; then
1741 echo $ECHO_N "(cached) $ECHO_C" >&6
1742 else
1743 case $M4 in
1744 [\\/]* | ?:[\\/]*)
1745 ac_cv_path_M4="$M4" # Let the user override the test with a path.
1748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1749 for as_dir in $PATH
1751 IFS=$as_save_IFS
1752 test -z "$as_dir" && as_dir=.
1753 for ac_exec_ext in '' $ac_executable_extensions; do
1754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1755 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
1756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1757 break 2
1759 done
1760 done
1763 esac
1765 M4=$ac_cv_path_M4
1767 if test -n "$M4"; then
1768 echo "$as_me:$LINENO: result: $M4" >&5
1769 echo "${ECHO_T}$M4" >&6
1770 else
1771 echo "$as_me:$LINENO: result: no" >&5
1772 echo "${ECHO_T}no" >&6
1775 test -n "$M4" && break
1776 done
1777 test -n "$M4" || M4="m4"
1779 echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
1780 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
1781 if test "${ac_cv_prog_gnu_m4+set}" = set; then
1782 echo $ECHO_N "(cached) $ECHO_C" >&6
1783 else
1784 ac_cv_prog_gnu_m4=no
1785 if test x"$M4" != x; then
1786 case `$M4 --help < /dev/null 2>&1` in
1787 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
1788 esac
1791 echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
1792 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
1793 if test x"$ac_cv_prog_gnu_m4" != xyes; then
1794 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
1795 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
1796 { (exit 1); exit 1; }; }
1799 ## ----------- ##
1800 ## Man pages. ##
1801 ## ----------- ##
1803 ac_config_files="$ac_config_files man/Makefile"
1806 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
1810 ## ------ ##
1811 ## Perl. ##
1812 ## ------ ##
1814 # We use a path for perl so the #! line in autoscan will work.
1815 # Extract the first word of "perl", so it can be a program name with args.
1816 set dummy perl; ac_word=$2
1817 echo "$as_me:$LINENO: checking for $ac_word" >&5
1818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1819 if test "${ac_cv_path_PERL+set}" = set; then
1820 echo $ECHO_N "(cached) $ECHO_C" >&6
1821 else
1822 case $PERL in
1823 [\\/]* | ?:[\\/]*)
1824 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1828 for as_dir in $PATH
1830 IFS=$as_save_IFS
1831 test -z "$as_dir" && as_dir=.
1832 for ac_exec_ext in '' $ac_executable_extensions; do
1833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1834 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1836 break 2
1838 done
1839 done
1841 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
1843 esac
1845 PERL=$ac_cv_path_PERL
1847 if test -n "$PERL"; then
1848 echo "$as_me:$LINENO: result: $PERL" >&5
1849 echo "${ECHO_T}$PERL" >&6
1850 else
1851 echo "$as_me:$LINENO: result: no" >&5
1852 echo "${ECHO_T}no" >&6
1855 if test "$PERL" = no; then
1856 { { echo "$as_me:$LINENO: error: perl is not found" >&5
1857 echo "$as_me: error: perl is not found" >&2;}
1858 { (exit 1); exit 1; }; }
1860 $PERL -e 'require 5.005_03;' || {
1861 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
1862 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
1863 { (exit 1); exit 1; }; }
1867 ## ------- ##
1868 ## Emacs. ##
1869 ## ------- ##
1871 ac_config_files="$ac_config_files lib/emacs/Makefile"
1873 TEST_EMACS=$EMACS
1874 test x"$TEST_EMACS" = xt && TEST_EMACS=
1875 for ac_prog in emacs xemacs
1877 # Extract the first word of "$ac_prog", so it can be a program name with args.
1878 set dummy $ac_prog; ac_word=$2
1879 echo "$as_me:$LINENO: checking for $ac_word" >&5
1880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1881 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
1882 echo $ECHO_N "(cached) $ECHO_C" >&6
1883 else
1884 if test -n "$TEST_EMACS"; then
1885 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
1886 else
1887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1888 for as_dir in $PATH
1890 IFS=$as_save_IFS
1891 test -z "$as_dir" && as_dir=.
1892 for ac_exec_ext in '' $ac_executable_extensions; do
1893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1894 ac_cv_prog_TEST_EMACS="$ac_prog"
1895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1896 break 2
1898 done
1899 done
1903 TEST_EMACS=$ac_cv_prog_TEST_EMACS
1904 if test -n "$TEST_EMACS"; then
1905 echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
1906 echo "${ECHO_T}$TEST_EMACS" >&6
1907 else
1908 echo "$as_me:$LINENO: result: no" >&5
1909 echo "${ECHO_T}no" >&6
1912 test -n "$TEST_EMACS" && break
1913 done
1914 test -n "$TEST_EMACS" || TEST_EMACS="no"
1917 # autoconf-mode.el and autotest-mode.el do not work with older version of
1918 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
1919 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
1920 # We detect this problem here.
1921 if test "$TEST_EMACS" != no; then
1922 echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
1923 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6
1924 if test "${ac_cv_prog_emacs_ok+set}" = set; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
1926 else
1927 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
1928 cat >conftest.el << "EOF"
1929 (defvar broken)
1930 (defun broken-mode () (setq broken-defaults `(broken nil)))
1932 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
1933 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
1934 ac_status=$?
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); }; then
1937 ac_cv_prog_emacs_ok=yes
1938 else
1939 ac_cv_prog_emacs_ok=no
1942 rm -f conftest.el conftest.elc
1944 echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
1945 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6
1946 if test $ac_cv_prog_emacs_ok = no; then
1947 TEST_EMACS=no
1953 EMACS=$TEST_EMACS
1956 for ac_prog in emacs xemacs
1958 # Extract the first word of "$ac_prog", so it can be a program name with args.
1959 set dummy $ac_prog; ac_word=$2
1960 echo "$as_me:$LINENO: checking for $ac_word" >&5
1961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1962 if test "${ac_cv_prog_EMACS+set}" = set; then
1963 echo $ECHO_N "(cached) $ECHO_C" >&6
1964 else
1965 if test -n "$EMACS"; then
1966 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
1967 else
1968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1969 for as_dir in $PATH
1971 IFS=$as_save_IFS
1972 test -z "$as_dir" && as_dir=.
1973 for ac_exec_ext in '' $ac_executable_extensions; do
1974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1975 ac_cv_prog_EMACS="$ac_prog"
1976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1977 break 2
1979 done
1980 done
1984 EMACS=$ac_cv_prog_EMACS
1985 if test -n "$EMACS"; then
1986 echo "$as_me:$LINENO: result: $EMACS" >&5
1987 echo "${ECHO_T}$EMACS" >&6
1988 else
1989 echo "$as_me:$LINENO: result: no" >&5
1990 echo "${ECHO_T}no" >&6
1993 test -n "$EMACS" && break
1994 done
1995 test -n "$EMACS" || EMACS="no"
2000 # Check whether --with-lispdir or --without-lispdir was given.
2001 if test "${with_lispdir+set}" = set; then
2002 withval="$with_lispdir"
2003 lispdir="$withval"
2004 echo "$as_me:$LINENO: checking where .elc files should go" >&5
2005 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
2006 echo "$as_me:$LINENO: result: $lispdir" >&5
2007 echo "${ECHO_T}$lispdir" >&6
2008 else
2010 # If set to t, that means we are running in a shell under Emacs.
2011 # If you have an Emacs named "t", then use the full path.
2012 test x"$EMACS" = xt && EMACS=
2013 echo "$as_me:$LINENO: checking where .elc files should go" >&5
2014 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
2015 if test "${am_cv_lispdir+set}" = set; then
2016 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 else
2019 if test $EMACS != "no"; then
2020 if test x${lispdir+set} != xset; then
2021 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2022 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2023 # which is non-obvious for non-emacs users.
2024 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2025 # emacsen earlier and avoid running this altogether.
2026 { (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
2027 ($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
2028 ac_status=$?
2029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030 (exit $ac_status); }
2031 am_cv_lispdir=`sed -n \
2032 -e 's,/$,,' \
2033 -e '/.*\/lib\/x\?emacs\/site-lisp$/{s,.*/lib/\(x\?emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2034 -e '/.*\/share\/x\?emacs\/site-lisp$/{s,.*/share/\(x\?emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2035 conftest.out`
2036 rm conftest.out
2039 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2042 echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2043 echo "${ECHO_T}$am_cv_lispdir" >&6
2044 lispdir="$am_cv_lispdir"
2051 ## ------------ ##
2052 ## Conclusion. ##
2053 ## ------------ ##
2055 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"
2058 cat >confcache <<\_ACEOF
2059 # This file is a shell script that caches the results of configure
2060 # tests run on this system so they can be shared between configure
2061 # scripts and configure runs, see configure's option --config-cache.
2062 # It is not useful on other systems. If it contains results you don't
2063 # want to keep, you may remove or edit it.
2065 # config.status only pays attention to the cache file if you give it
2066 # the --recheck option to rerun configure.
2068 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2069 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2070 # following values.
2072 _ACEOF
2074 # The following way of writing the cache mishandles newlines in values,
2075 # but we know of no workaround that is simple, portable, and efficient.
2076 # So, don't put newlines in cache variables' values.
2077 # Ultrix sh set writes to stderr and can't be redirected directly,
2078 # and sets the high bit in the cache file unless we assign to the vars.
2080 (set) 2>&1 |
2081 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2082 *ac_space=\ *)
2083 # `set' does not quote correctly, so add quotes (double-quote
2084 # substitution turns \\\\ into \\, and sed turns \\ into \).
2085 sed -n \
2086 "s/'/'\\\\''/g;
2087 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2090 # `set' quotes correctly as required by POSIX, so do not add quotes.
2091 sed -n \
2092 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2094 esac;
2096 sed '
2097 t clear
2098 : clear
2099 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2100 t end
2101 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2102 : end' >>confcache
2103 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2104 if test -w $cache_file; then
2105 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2106 cat confcache >$cache_file
2107 else
2108 echo "not updating unwritable cache $cache_file"
2111 rm -f confcache
2113 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2114 # Let make expand exec_prefix.
2115 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2117 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2118 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2119 # trailing colons and then remove the whole line if VPATH becomes empty
2120 # (actually we leave an empty line to preserve line numbers).
2121 if test "x$srcdir" = x.; then
2122 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2123 s/:*\$(srcdir):*/:/;
2124 s/:*\${srcdir}:*/:/;
2125 s/:*@srcdir@:*/:/;
2126 s/^\([^=]*=[ ]*\):*/\1/;
2127 s/:*$//;
2128 s/^[^=]*=[ ]*$//;
2132 # Transform confdefs.h into DEFS.
2133 # Protect against shell expansion while executing Makefile rules.
2134 # Protect against Makefile macro expansion.
2136 # If the first sed substitution is executed (which looks for macros that
2137 # take arguments), then we branch to the quote section. Otherwise,
2138 # look for a macro that doesn't take arguments.
2139 cat >confdef2opt.sed <<\_ACEOF
2140 t clear
2141 : clear
2142 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2143 t quote
2144 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2145 t quote
2147 : quote
2148 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2149 s,\[,\\&,g
2150 s,\],\\&,g
2151 s,\$,$$,g
2153 _ACEOF
2154 # We use echo to avoid assuming a particular line-breaking character.
2155 # The extra dot is to prevent the shell from consuming trailing
2156 # line-breaks from the sub-command output. A line-break within
2157 # single-quotes doesn't work because, if this script is created in a
2158 # platform that uses two characters for line-breaks (e.g., DOS), tr
2159 # would break.
2160 ac_LF_and_DOT=`echo; echo .`
2161 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2162 rm -f confdef2opt.sed
2165 ac_libobjs=
2166 ac_ltlibobjs=
2167 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2168 # 1. Remove the extension, and $U if already installed.
2169 ac_i=`echo "$ac_i" |
2170 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2171 # 2. Add them.
2172 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2173 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2174 done
2175 LIBOBJS=$ac_libobjs
2177 LTLIBOBJS=$ac_ltlibobjs
2181 : ${CONFIG_STATUS=./config.status}
2182 ac_clean_files_save=$ac_clean_files
2183 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2184 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2185 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2186 cat >$CONFIG_STATUS <<_ACEOF
2187 #! $SHELL
2188 # Generated by $as_me.
2189 # Run this file to recreate the current configuration.
2190 # Compiler output produced by configure, useful for debugging
2191 # configure, is in config.log if it exists.
2193 debug=false
2194 ac_cs_recheck=false
2195 ac_cs_silent=false
2196 SHELL=\${CONFIG_SHELL-$SHELL}
2197 _ACEOF
2199 cat >>$CONFIG_STATUS <<\_ACEOF
2200 ## --------------------- ##
2201 ## M4sh Initialization. ##
2202 ## --------------------- ##
2204 # Be Bourne compatible
2205 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2206 emulate sh
2207 NULLCMD=:
2208 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2209 # is contrary to our usage. Disable this feature.
2210 alias -g '${1+"$@"}'='"$@"'
2211 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2212 set -o posix
2214 DUALCASE=1; export DUALCASE # for MKS sh
2216 # Support unset when possible.
2217 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2218 as_unset=unset
2219 else
2220 as_unset=false
2224 # Work around bugs in pre-3.0 UWIN ksh.
2225 $as_unset ENV MAIL MAILPATH
2226 PS1='$ '
2227 PS2='> '
2228 PS4='+ '
2230 # NLS nuisances.
2231 for as_var in \
2232 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2233 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2234 LC_TELEPHONE LC_TIME
2236 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2237 eval $as_var=C; export $as_var
2238 else
2239 $as_unset $as_var
2241 done
2243 # Required to use basename.
2244 if expr a : '\(a\)' >/dev/null 2>&1; then
2245 as_expr=expr
2246 else
2247 as_expr=false
2250 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2251 as_basename=basename
2252 else
2253 as_basename=false
2257 # Name of the executable.
2258 as_me=`$as_basename "$0" ||
2259 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2260 X"$0" : 'X\(//\)$' \| \
2261 X"$0" : 'X\(/\)$' \| \
2262 . : '\(.\)' 2>/dev/null ||
2263 echo X/"$0" |
2264 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2265 /^X\/\(\/\/\)$/{ s//\1/; q; }
2266 /^X\/\(\/\).*/{ s//\1/; q; }
2267 s/.*/./; q'`
2270 # PATH needs CR, and LINENO needs CR and PATH.
2271 # Avoid depending upon Character Ranges.
2272 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2273 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2274 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2275 as_cr_digits='0123456789'
2276 as_cr_alnum=$as_cr_Letters$as_cr_digits
2278 # The user is always right.
2279 if test "${PATH_SEPARATOR+set}" != set; then
2280 echo "#! /bin/sh" >conf$$.sh
2281 echo "exit 0" >>conf$$.sh
2282 chmod +x conf$$.sh
2283 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2284 PATH_SEPARATOR=';'
2285 else
2286 PATH_SEPARATOR=:
2288 rm -f conf$$.sh
2292 as_lineno_1=$LINENO
2293 as_lineno_2=$LINENO
2294 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2295 test "x$as_lineno_1" != "x$as_lineno_2" &&
2296 test "x$as_lineno_3" = "x$as_lineno_2" || {
2297 # Find who we are. Look in the path if we contain no path at all
2298 # relative or not.
2299 case $0 in
2300 *[\\/]* ) as_myself=$0 ;;
2301 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 for as_dir in $PATH
2304 IFS=$as_save_IFS
2305 test -z "$as_dir" && as_dir=.
2306 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2307 done
2310 esac
2311 # We did not find ourselves, most probably we were run as `sh COMMAND'
2312 # in which case we are not to be found in the path.
2313 if test "x$as_myself" = x; then
2314 as_myself=$0
2316 if test ! -f "$as_myself"; then
2317 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2318 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2319 { (exit 1); exit 1; }; }
2321 case $CONFIG_SHELL in
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2326 IFS=$as_save_IFS
2327 test -z "$as_dir" && as_dir=.
2328 for as_base in sh bash ksh sh5; do
2329 case $as_dir in
2331 if ("$as_dir/$as_base" -c '
2332 as_lineno_1=$LINENO
2333 as_lineno_2=$LINENO
2334 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2335 test "x$as_lineno_1" != "x$as_lineno_2" &&
2336 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2337 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2338 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2339 CONFIG_SHELL=$as_dir/$as_base
2340 export CONFIG_SHELL
2341 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2342 fi;;
2343 esac
2344 done
2345 done
2347 esac
2349 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2350 # uniformly replaced by the line number. The first 'sed' inserts a
2351 # line-number line before each line; the second 'sed' does the real
2352 # work. The second script uses 'N' to pair each line-number line
2353 # with the numbered line, and appends trailing '-' during
2354 # substitution so that $LINENO is not a special case at line end.
2355 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2356 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2357 sed '=' <$as_myself |
2358 sed '
2360 s,$,-,
2361 : loop
2362 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2363 t loop
2364 s,-$,,
2365 s,^['$as_cr_digits']*\n,,
2366 ' >$as_me.lineno &&
2367 chmod +x $as_me.lineno ||
2368 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2369 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2370 { (exit 1); exit 1; }; }
2372 # Don't try to exec as it changes $[0], causing all sort of problems
2373 # (the dirname of $[0] is not the place where we might find the
2374 # original and so on. Autoconf is especially sensible to this).
2375 . ./$as_me.lineno
2376 # Exit status is that of the last command.
2377 exit
2381 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2382 *c*,-n*) ECHO_N= ECHO_C='
2383 ' ECHO_T=' ' ;;
2384 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2385 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2386 esac
2388 if expr a : '\(a\)' >/dev/null 2>&1; then
2389 as_expr=expr
2390 else
2391 as_expr=false
2394 rm -f conf$$ conf$$.exe conf$$.file
2395 echo >conf$$.file
2396 if ln -s conf$$.file conf$$ 2>/dev/null; then
2397 # We could just check for DJGPP; but this test a) works b) is more generic
2398 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2399 if test -f conf$$.exe; then
2400 # Don't use ln at all; we don't have any links
2401 as_ln_s='cp -p'
2402 else
2403 as_ln_s='ln -s'
2405 elif ln conf$$.file conf$$ 2>/dev/null; then
2406 as_ln_s=ln
2407 else
2408 as_ln_s='cp -p'
2410 rm -f conf$$ conf$$.exe conf$$.file
2412 if mkdir -p . 2>/dev/null; then
2413 as_mkdir_p=:
2414 else
2415 test -d ./-p && rmdir ./-p
2416 as_mkdir_p=false
2419 as_executable_p="test -f"
2421 # Sed expression to map a string onto a valid CPP name.
2422 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2424 # Sed expression to map a string onto a valid variable name.
2425 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2428 # IFS
2429 # We need space, tab and new line, in precisely that order.
2430 as_nl='
2432 IFS=" $as_nl"
2434 # CDPATH.
2435 $as_unset CDPATH
2437 exec 6>&1
2439 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2440 # report actual input values of CONFIG_FILES etc. instead of their
2441 # values after options handling. Logging --version etc. is OK.
2442 exec 5>>config.log
2444 echo
2445 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2446 ## Running $as_me. ##
2447 _ASBOX
2448 } >&5
2449 cat >&5 <<_CSEOF
2451 This file was extended by GNU Autoconf $as_me 2.59, which was
2452 generated by GNU Autoconf 2.58a. Invocation command line was
2454 CONFIG_FILES = $CONFIG_FILES
2455 CONFIG_HEADERS = $CONFIG_HEADERS
2456 CONFIG_LINKS = $CONFIG_LINKS
2457 CONFIG_COMMANDS = $CONFIG_COMMANDS
2458 $ $0 $@
2460 _CSEOF
2461 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2462 echo >&5
2463 _ACEOF
2465 # Files that config.status was made for.
2466 if test -n "$ac_config_files"; then
2467 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2470 if test -n "$ac_config_headers"; then
2471 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2474 if test -n "$ac_config_links"; then
2475 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2478 if test -n "$ac_config_commands"; then
2479 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2482 cat >>$CONFIG_STATUS <<\_ACEOF
2484 ac_cs_usage="\
2485 \`$as_me' instantiates files from templates according to the
2486 current configuration.
2488 Usage: $0 [OPTIONS] [FILE]...
2490 -h, --help print this help, then exit
2491 -V, --version print version number, then exit
2492 -q, --quiet do not print progress messages
2493 -d, --debug don't remove temporary files
2494 --recheck update $as_me by reconfiguring in the same conditions
2495 --file=FILE[:TEMPLATE]
2496 instantiate the configuration file FILE
2498 Configuration files:
2499 $config_files
2501 Configuration commands:
2502 $config_commands
2504 Report bugs to <bug-autoconf@gnu.org>."
2505 _ACEOF
2507 cat >>$CONFIG_STATUS <<_ACEOF
2508 ac_cs_version="\\
2509 GNU Autoconf config.status 2.59
2510 configured by $0, generated by GNU Autoconf 2.58a,
2511 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2513 Copyright (C) 2003 Free Software Foundation, Inc.
2514 This config.status script is free software; the Free Software Foundation
2515 gives unlimited permission to copy, distribute and modify it."
2516 srcdir=$srcdir
2517 INSTALL="$INSTALL"
2518 _ACEOF
2520 cat >>$CONFIG_STATUS <<\_ACEOF
2521 # If no file are specified by the user, then we need to provide default
2522 # value. By we need to know if files were specified by the user.
2523 ac_need_defaults=:
2524 while test $# != 0
2526 case $1 in
2527 --*=*)
2528 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2529 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2530 ac_shift=:
2533 ac_option=$1
2534 ac_optarg=$2
2535 ac_shift=shift
2537 *) # This is not an option, so the user has probably given explicit
2538 # arguments.
2539 ac_option=$1
2540 ac_need_defaults=false;;
2541 esac
2543 case $ac_option in
2544 # Handling of the options.
2545 _ACEOF
2546 cat >>$CONFIG_STATUS <<\_ACEOF
2547 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2548 ac_cs_recheck=: ;;
2549 --version | --vers* | -V )
2550 echo "$ac_cs_version"; exit 0 ;;
2551 --he | --h)
2552 # Conflict between --help and --header
2553 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2554 Try \`$0 --help' for more information." >&5
2555 echo "$as_me: error: ambiguous option: $1
2556 Try \`$0 --help' for more information." >&2;}
2557 { (exit 1); exit 1; }; };;
2558 --help | --hel | -h )
2559 echo "$ac_cs_usage"; exit 0 ;;
2560 --debug | --d* | -d )
2561 debug=: ;;
2562 --file | --fil | --fi | --f )
2563 $ac_shift
2564 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2565 ac_need_defaults=false;;
2566 --header | --heade | --head | --hea )
2567 $ac_shift
2568 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2569 ac_need_defaults=false;;
2570 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2571 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2572 ac_cs_silent=: ;;
2574 # This is an error.
2575 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2576 Try \`$0 --help' for more information." >&5
2577 echo "$as_me: error: unrecognized option: $1
2578 Try \`$0 --help' for more information." >&2;}
2579 { (exit 1); exit 1; }; } ;;
2581 *) ac_config_targets="$ac_config_targets $1" ;;
2583 esac
2584 shift
2585 done
2587 ac_configure_extra_args=
2589 if $ac_cs_silent; then
2590 exec 6>/dev/null
2591 ac_configure_extra_args="$ac_configure_extra_args --silent"
2594 _ACEOF
2595 cat >>$CONFIG_STATUS <<_ACEOF
2596 if \$ac_cs_recheck; then
2597 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2598 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2601 _ACEOF
2607 cat >>$CONFIG_STATUS <<\_ACEOF
2608 for ac_config_target in $ac_config_targets
2610 case "$ac_config_target" in
2611 # Handling of arguments.
2612 "config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
2613 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
2614 "tests/atlocal" ) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
2615 "tests/autoconf" ) CONFIG_FILES="$CONFIG_FILES tests/autoconf:tests/wrapper.in" ;;
2616 "tests/autoheader" ) CONFIG_FILES="$CONFIG_FILES tests/autoheader:tests/wrapper.in" ;;
2617 "tests/autom4te" ) CONFIG_FILES="$CONFIG_FILES tests/autom4te:tests/wrapper.in" ;;
2618 "tests/autoreconf" ) CONFIG_FILES="$CONFIG_FILES tests/autoreconf:tests/wrapper.in" ;;
2619 "tests/autoscan" ) CONFIG_FILES="$CONFIG_FILES tests/autoscan:tests/wrapper.in" ;;
2620 "tests/autoupdate" ) CONFIG_FILES="$CONFIG_FILES tests/autoupdate:tests/wrapper.in" ;;
2621 "tests/ifnames" ) CONFIG_FILES="$CONFIG_FILES tests/ifnames:tests/wrapper.in" ;;
2622 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
2623 "lib/emacs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
2624 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2625 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
2626 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
2627 "lib/Autom4te/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
2628 "lib/autoscan/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
2629 "lib/m4sugar/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
2630 "lib/autoconf/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
2631 "lib/autotest/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
2632 "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
2633 "tests/atconfig" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
2634 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2635 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2636 { (exit 1); exit 1; }; };;
2637 esac
2638 done
2640 # If the user did not use the arguments to specify the items to instantiate,
2641 # then the envvar interface is used. Set only those that are not.
2642 # We use the long form for the default assignment because of an extremely
2643 # bizarre bug on SunOS 4.1.3.
2644 if $ac_need_defaults; then
2645 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2646 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
2649 # Have a temporary directory for convenience. Make it in the build tree
2650 # simply because there is no reason to put it here, and in addition,
2651 # creating and moving files from /tmp can sometimes cause problems.
2652 # Create a temporary directory, and hook for its removal unless debugging.
2653 $debug ||
2655 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2656 trap '{ (exit 1); exit 1; }' 1 2 13 15
2659 # Create a (secure) tmp directory for tmp files.
2662 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2663 test -n "$tmp" && test -d "$tmp"
2664 } ||
2666 tmp=./confstat$$-$RANDOM
2667 (umask 077 && mkdir $tmp)
2668 } ||
2670 echo "$me: cannot create a temporary directory in ." >&2
2671 { (exit 1); exit 1; }
2674 _ACEOF
2676 cat >>$CONFIG_STATUS <<_ACEOF
2679 # CONFIG_FILES section.
2682 # No need to generate the scripts if there are no CONFIG_FILES.
2683 # This happens for instance when ./config.status config.h
2684 if test -n "\$CONFIG_FILES"; then
2685 # Protect against being on the right side of a sed subst in config.status.
2686 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2687 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2688 s,@SHELL@,$SHELL,;t t
2689 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2690 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2691 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2692 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2693 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2694 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2695 s,@exec_prefix@,$exec_prefix,;t t
2696 s,@prefix@,$prefix,;t t
2697 s,@program_transform_name@,$program_transform_name,;t t
2698 s,@bindir@,$bindir,;t t
2699 s,@sbindir@,$sbindir,;t t
2700 s,@libexecdir@,$libexecdir,;t t
2701 s,@datadir@,$datadir,;t t
2702 s,@sysconfdir@,$sysconfdir,;t t
2703 s,@sharedstatedir@,$sharedstatedir,;t t
2704 s,@localstatedir@,$localstatedir,;t t
2705 s,@libdir@,$libdir,;t t
2706 s,@includedir@,$includedir,;t t
2707 s,@oldincludedir@,$oldincludedir,;t t
2708 s,@infodir@,$infodir,;t t
2709 s,@mandir@,$mandir,;t t
2710 s,@build_alias@,$build_alias,;t t
2711 s,@host_alias@,$host_alias,;t t
2712 s,@target_alias@,$target_alias,;t t
2713 s,@DEFS@,$DEFS,;t t
2714 s,@ECHO_C@,$ECHO_C,;t t
2715 s,@ECHO_N@,$ECHO_N,;t t
2716 s,@ECHO_T@,$ECHO_T,;t t
2717 s,@LIBS@,$LIBS,;t t
2718 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2719 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2720 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2721 s,@CYGPATH_W@,$CYGPATH_W,;t t
2722 s,@PACKAGE@,$PACKAGE,;t t
2723 s,@VERSION@,$VERSION,;t t
2724 s,@ACLOCAL@,$ACLOCAL,;t t
2725 s,@AUTOCONF@,$AUTOCONF,;t t
2726 s,@AUTOMAKE@,$AUTOMAKE,;t t
2727 s,@AUTOHEADER@,$AUTOHEADER,;t t
2728 s,@MAKEINFO@,$MAKEINFO,;t t
2729 s,@AMTAR@,$AMTAR,;t t
2730 s,@install_sh@,$install_sh,;t t
2731 s,@STRIP@,$STRIP,;t t
2732 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2733 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2734 s,@AWK@,$AWK,;t t
2735 s,@SET_MAKE@,$SET_MAKE,;t t
2736 s,@am__leading_dot@,$am__leading_dot,;t t
2737 s,@EXPR@,$EXPR,;t t
2738 s,@M4@,$M4,;t t
2739 s,@HELP2MAN@,$HELP2MAN,;t t
2740 s,@PERL@,$PERL,;t t
2741 s,@TEST_EMACS@,$TEST_EMACS,;t t
2742 s,@EMACS@,$EMACS,;t t
2743 s,@EMACSLOADPATH@,$EMACSLOADPATH,;t t
2744 s,@lispdir@,$lispdir,;t t
2745 s,@LIBOBJS@,$LIBOBJS,;t t
2746 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2747 CEOF
2749 _ACEOF
2751 cat >>$CONFIG_STATUS <<\_ACEOF
2752 # Split the substitutions into bite-sized pieces for seds with
2753 # small command number limits, like on Digital OSF/1 and HP-UX.
2754 ac_max_sed_lines=48
2755 ac_sed_frag=1 # Number of current file.
2756 ac_beg=1 # First line for current file.
2757 ac_end=$ac_max_sed_lines # Line after last line for current file.
2758 ac_more_lines=:
2759 ac_sed_cmds=
2760 while $ac_more_lines; do
2761 if test $ac_beg -gt 1; then
2762 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2763 else
2764 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2766 if test ! -s $tmp/subs.frag; then
2767 ac_more_lines=false
2768 else
2769 # The purpose of the label and of the branching condition is to
2770 # speed up the sed processing (if there are no `@' at all, there
2771 # is no need to browse any of the substitutions).
2772 # These are the two extra sed commands mentioned above.
2773 (echo ':t
2774 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2775 if test -z "$ac_sed_cmds"; then
2776 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2777 else
2778 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2780 ac_sed_frag=`expr $ac_sed_frag + 1`
2781 ac_beg=$ac_end
2782 ac_end=`expr $ac_end + $ac_max_sed_lines`
2784 done
2785 if test -z "$ac_sed_cmds"; then
2786 ac_sed_cmds=cat
2788 fi # test -n "$CONFIG_FILES"
2790 _ACEOF
2791 cat >>$CONFIG_STATUS <<\_ACEOF
2792 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2793 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2794 case $ac_file in
2795 - | *:- | *:-:* ) # input from stdin
2796 cat >$tmp/stdin
2797 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2798 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2799 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2800 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2801 * ) ac_file_in=$ac_file.in ;;
2802 esac
2804 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2805 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2806 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2807 X"$ac_file" : 'X\(//\)[^/]' \| \
2808 X"$ac_file" : 'X\(//\)$' \| \
2809 X"$ac_file" : 'X\(/\)' \| \
2810 . : '\(.\)' 2>/dev/null ||
2811 echo X"$ac_file" |
2812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2813 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2814 /^X\(\/\/\)$/{ s//\1/; q; }
2815 /^X\(\/\).*/{ s//\1/; q; }
2816 s/.*/./; q'`
2817 { if $as_mkdir_p; then
2818 mkdir -p "$ac_dir"
2819 else
2820 as_dir="$ac_dir"
2821 as_dirs=
2822 while test ! -d "$as_dir"; do
2823 as_dirs="$as_dir $as_dirs"
2824 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2825 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2826 X"$as_dir" : 'X\(//\)[^/]' \| \
2827 X"$as_dir" : 'X\(//\)$' \| \
2828 X"$as_dir" : 'X\(/\)' \| \
2829 . : '\(.\)' 2>/dev/null ||
2830 echo X"$as_dir" |
2831 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2832 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2833 /^X\(\/\/\)$/{ s//\1/; q; }
2834 /^X\(\/\).*/{ s//\1/; q; }
2835 s/.*/./; q'`
2836 done
2837 test ! -n "$as_dirs" || mkdir $as_dirs
2838 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2839 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2840 { (exit 1); exit 1; }; }; }
2842 ac_builddir=.
2844 if test "$ac_dir" != .; then
2845 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2846 # A "../" for each directory in $ac_dir_suffix.
2847 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2848 else
2849 ac_dir_suffix= ac_top_builddir=
2852 case $srcdir in
2853 .) # No --srcdir option. We are building in place.
2854 ac_srcdir=.
2855 if test -z "$ac_top_builddir"; then
2856 ac_top_srcdir=.
2857 else
2858 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2859 fi ;;
2860 [\\/]* | ?:[\\/]* ) # Absolute path.
2861 ac_srcdir=$srcdir$ac_dir_suffix;
2862 ac_top_srcdir=$srcdir ;;
2863 *) # Relative path.
2864 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2865 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2866 esac
2868 # Do not use `cd foo && pwd` to compute absolute paths, because
2869 # the directories may not exist.
2870 case `pwd` in
2871 .) ac_abs_builddir="$ac_dir";;
2873 case "$ac_dir" in
2874 .) ac_abs_builddir=`pwd`;;
2875 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2876 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2877 esac;;
2878 esac
2879 case $ac_abs_builddir in
2880 .) ac_abs_top_builddir=${ac_top_builddir}.;;
2882 case ${ac_top_builddir}. in
2883 .) ac_abs_top_builddir=$ac_abs_builddir;;
2884 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2885 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2886 esac;;
2887 esac
2888 case $ac_abs_builddir in
2889 .) ac_abs_srcdir=$ac_srcdir;;
2891 case $ac_srcdir in
2892 .) ac_abs_srcdir=$ac_abs_builddir;;
2893 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2894 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2895 esac;;
2896 esac
2897 case $ac_abs_builddir in
2898 .) ac_abs_top_srcdir=$ac_top_srcdir;;
2900 case $ac_top_srcdir in
2901 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2902 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2903 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2904 esac;;
2905 esac
2908 case $INSTALL in
2909 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2910 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2911 esac
2913 if test x"$ac_file" != x-; then
2914 { echo "$as_me:$LINENO: creating $ac_file" >&5
2915 echo "$as_me: creating $ac_file" >&6;}
2916 rm -f "$ac_file"
2918 # Let's still pretend it is `configure' which instantiates (i.e., don't
2919 # use $as_me), people would be surprised to read:
2920 # /* config.h. Generated by config.status. */
2921 if test x"$ac_file" = x-; then
2922 configure_input=
2923 else
2924 configure_input="$ac_file. "
2926 configure_input=$configure_input"Generated from `echo $ac_file_in |
2927 sed 's,.*/,,'` by configure."
2929 # First look for the input files in the build tree, otherwise in the
2930 # src tree.
2931 ac_file_inputs=`IFS=:
2932 for f in $ac_file_in; do
2933 case $f in
2934 -) echo $tmp/stdin ;;
2935 [\\/$]*)
2936 # Absolute (can't be DOS-style, as IFS=:)
2937 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2938 echo "$as_me: error: cannot find input file: $f" >&2;}
2939 { (exit 1); exit 1; }; }
2940 echo "$f";;
2941 *) # Relative
2942 if test -f "$f"; then
2943 # Build tree
2944 echo "$f"
2945 elif test -f "$srcdir/$f"; then
2946 # Source tree
2947 echo "$srcdir/$f"
2948 else
2949 # /dev/null tree
2950 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2951 echo "$as_me: error: cannot find input file: $f" >&2;}
2952 { (exit 1); exit 1; }; }
2953 fi;;
2954 esac
2955 done` || { (exit 1); exit 1; }
2956 _ACEOF
2957 cat >>$CONFIG_STATUS <<_ACEOF
2958 sed "$ac_vpsub
2959 $extrasub
2960 _ACEOF
2961 cat >>$CONFIG_STATUS <<\_ACEOF
2963 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2964 s,@configure_input@,$configure_input,;t t
2965 s,@srcdir@,$ac_srcdir,;t t
2966 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2967 s,@top_srcdir@,$ac_top_srcdir,;t t
2968 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2969 s,@builddir@,$ac_builddir,;t t
2970 s,@abs_builddir@,$ac_abs_builddir,;t t
2971 s,@top_builddir@,$ac_top_builddir,;t t
2972 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2973 s,@INSTALL@,$ac_INSTALL,;t t
2974 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2975 rm -f $tmp/stdin
2976 if test x"$ac_file" != x-; then
2977 mv $tmp/out $ac_file
2978 else
2979 cat $tmp/out
2980 rm -f $tmp/out
2983 # Run the commands associated with the file.
2984 case $ac_file in
2985 tests/autoconf ) chmod +x tests/autoconf ;;
2986 tests/autoheader ) chmod +x tests/autoheader ;;
2987 tests/autom4te ) chmod +x tests/autom4te ;;
2988 tests/autoreconf ) chmod +x tests/autoreconf ;;
2989 tests/autoscan ) chmod +x tests/autoscan ;;
2990 tests/autoupdate ) chmod +x tests/autoupdate ;;
2991 tests/ifnames ) chmod +x tests/ifnames ;;
2992 esac
2993 done
2994 _ACEOF
2995 cat >>$CONFIG_STATUS <<\_ACEOF
2998 # CONFIG_COMMANDS section.
3000 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3001 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3002 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3003 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3004 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3005 X"$ac_dest" : 'X\(//\)[^/]' \| \
3006 X"$ac_dest" : 'X\(//\)$' \| \
3007 X"$ac_dest" : 'X\(/\)' \| \
3008 . : '\(.\)' 2>/dev/null ||
3009 echo X"$ac_dest" |
3010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3011 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3012 /^X\(\/\/\)$/{ s//\1/; q; }
3013 /^X\(\/\).*/{ s//\1/; q; }
3014 s/.*/./; q'`
3015 { if $as_mkdir_p; then
3016 mkdir -p "$ac_dir"
3017 else
3018 as_dir="$ac_dir"
3019 as_dirs=
3020 while test ! -d "$as_dir"; do
3021 as_dirs="$as_dir $as_dirs"
3022 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3023 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3024 X"$as_dir" : 'X\(//\)[^/]' \| \
3025 X"$as_dir" : 'X\(//\)$' \| \
3026 X"$as_dir" : 'X\(/\)' \| \
3027 . : '\(.\)' 2>/dev/null ||
3028 echo X"$as_dir" |
3029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3030 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3031 /^X\(\/\/\)$/{ s//\1/; q; }
3032 /^X\(\/\).*/{ s//\1/; q; }
3033 s/.*/./; q'`
3034 done
3035 test ! -n "$as_dirs" || mkdir $as_dirs
3036 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3037 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3038 { (exit 1); exit 1; }; }; }
3040 ac_builddir=.
3042 if test "$ac_dir" != .; then
3043 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3044 # A "../" for each directory in $ac_dir_suffix.
3045 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3046 else
3047 ac_dir_suffix= ac_top_builddir=
3050 case $srcdir in
3051 .) # No --srcdir option. We are building in place.
3052 ac_srcdir=.
3053 if test -z "$ac_top_builddir"; then
3054 ac_top_srcdir=.
3055 else
3056 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3057 fi ;;
3058 [\\/]* | ?:[\\/]* ) # Absolute path.
3059 ac_srcdir=$srcdir$ac_dir_suffix;
3060 ac_top_srcdir=$srcdir ;;
3061 *) # Relative path.
3062 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3063 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3064 esac
3066 # Do not use `cd foo && pwd` to compute absolute paths, because
3067 # the directories may not exist.
3068 case `pwd` in
3069 .) ac_abs_builddir="$ac_dir";;
3071 case "$ac_dir" in
3072 .) ac_abs_builddir=`pwd`;;
3073 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3074 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3075 esac;;
3076 esac
3077 case $ac_abs_builddir in
3078 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3080 case ${ac_top_builddir}. in
3081 .) ac_abs_top_builddir=$ac_abs_builddir;;
3082 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3083 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3084 esac;;
3085 esac
3086 case $ac_abs_builddir in
3087 .) ac_abs_srcdir=$ac_srcdir;;
3089 case $ac_srcdir in
3090 .) ac_abs_srcdir=$ac_abs_builddir;;
3091 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3092 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3093 esac;;
3094 esac
3095 case $ac_abs_builddir in
3096 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3098 case $ac_top_srcdir in
3099 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3100 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3101 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3102 esac;;
3103 esac
3106 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3107 echo "$as_me: executing $ac_dest commands" >&6;}
3108 case $ac_dest in
3109 tests/atconfig ) cat >tests/atconfig <<ATEOF
3110 # Configurable variable values for building test suites.
3111 # Generated by $0.
3112 # Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
3114 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3115 at_testdir='tests'
3116 abs_builddir='$ac_abs_builddir'
3117 at_srcdir='$ac_srcdir'
3118 abs_srcdir='$ac_abs_srcdir'
3119 at_top_srcdir='$ac_top_srcdir'
3120 abs_top_srcdir='$ac_abs_top_srcdir'
3121 at_top_builddir='$ac_top_builddir'
3122 abs_top_builddir='$ac_abs_top_builddir'
3124 AUTOTEST_PATH='tests'
3126 SHELL=\${CONFIG_SHELL-'$SHELL'}
3127 ATEOF
3129 esac
3130 done
3131 _ACEOF
3133 cat >>$CONFIG_STATUS <<\_ACEOF
3135 { (exit 0); exit 0; }
3136 _ACEOF
3137 chmod +x $CONFIG_STATUS
3138 ac_clean_files=$ac_clean_files_save
3141 # configure is writing to config.log, and then calls config.status.
3142 # config.status does its own redirection, appending to config.log.
3143 # Unfortunately, on DOS this fails, as config.log is still kept open
3144 # by configure, so config.status won't be able to write to it; its
3145 # output is simply discarded. So we exec the FD to /dev/null,
3146 # effectively closing config.log, so it can be properly (re)opened and
3147 # appended to by config.status. When coming back to configure, we
3148 # need to make the FD available again.
3149 if test "$no_create" != yes; then
3150 ac_cs_success=:
3151 ac_config_status_args=
3152 test "$silent" = yes &&
3153 ac_config_status_args="$ac_config_status_args --quiet"
3154 exec 5>/dev/null
3155 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3156 exec 5>>config.log
3157 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3158 # would make configure fail if this is the last instruction.
3159 $ac_cs_success || { (exit 1); exit 1; }
3162 # Report the state of this version of Autoconf if this is a beta.