source: vendor/autoconf/2.61/configure@ 3170

Last change on this file since 3170 was 3092, checked in by bird, 18 years ago

autoconf 2.61

File size: 110.1 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61 for GNU Autoconf 2.61.
4#
5# Report bugs to <bug-autoconf@gnu.org>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization. ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42# The user is always right.
43if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
51 fi
52 rm -f conf$$.sh
53fi
54
55# Support unset when possible.
56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58else
59 as_unset=false
60fi
61
62
63# IFS
64# We need space, tab and new line, in precisely that order. Quoting is
65# there to prevent editors from complaining about space-tab.
66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67# splitting by setting IFS to empty value.)
68as_nl='
69'
70IFS=" "" $as_nl"
71
72# Find who we are. Look in the path if we contain no directory separator.
73case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76for as_dir in $PATH
77do
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81done
82IFS=$as_save_IFS
83
84 ;;
85esac
86# We did not find ourselves, most probably we were run as `sh COMMAND'
87# in which case we are not to be found in the path.
88if test "x$as_myself" = x; then
89 as_myself=$0
90fi
91if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
94fi
95
96# Work around bugs in pre-3.0 UWIN ksh.
97for as_var in ENV MAIL MAILPATH
98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99done
100PS1='$ '
101PS2='> '
102PS4='+ '
103
104# NLS nuisances.
105for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
109do
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114 fi
115done
116
117# Required to use basename.
118if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121else
122 as_expr=false
123fi
124
125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127else
128 as_basename=false
129fi
130
131
132# Name of the executable.
133as_me=`$as_basename -- "$0" ||
134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
140 q
141 }
142 /^X\/\(\/\/\)$/{
143 s//\1/
144 q
145 }
146 /^X\/\(\/\).*/{
147 s//\1/
148 q
149 }
150 s/.*/./; q'`
151
152# CDPATH.
153$as_unset CDPATH
154
155
156if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159else
160 as_have_required=no
161fi
162
163 if test $as_have_required = yes && (eval ":
164(as_func_return () {
165 (exit \$1)
166}
167as_func_success () {
168 as_func_return 0
169}
170as_func_failure () {
171 as_func_return 1
172}
173as_func_ret_success () {
174 return 0
175}
176as_func_ret_failure () {
177 return 1
178}
179
180exitcode=0
181if as_func_success; then
182 :
183else
184 exitcode=1
185 echo as_func_success failed.
186fi
187
188if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
191fi
192
193if as_func_ret_success; then
194 :
195else
196 exitcode=1
197 echo as_func_ret_success failed.
198fi
199
200if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
203fi
204
205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 :
207else
208 exitcode=1
209 echo positional parameters were not saved.
210fi
211
212test \$exitcode = 0) || { (exit 1); exit 1; }
213
214(
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219") 2> /dev/null; then
220 :
221else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225do
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
229 /*)
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234done
235IFS=$as_save_IFS
236
237
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252esac
253
254fi
255
256
257:
258_ASEOF
259}; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273esac
274
275fi
276
277
278:
279(as_func_return () {
280 (exit $1)
281}
282as_func_success () {
283 as_func_return 0
284}
285as_func_failure () {
286 as_func_return 1
287}
288as_func_ret_success () {
289 return 0
290}
291as_func_ret_failure () {
292 return 1
293}
294
295exitcode=0
296if as_func_success; then
297 :
298else
299 exitcode=1
300 echo as_func_success failed.
301fi
302
303if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
306fi
307
308if as_func_ret_success; then
309 :
310else
311 exitcode=1
312 echo as_func_ret_success failed.
313fi
314
315if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
318fi
319
320if ( set x; as_func_ret_success y && test x = "$1" ); then
321 :
322else
323 exitcode=1
324 echo positional parameters were not saved.
325fi
326
327test $exitcode = 0) || { (exit 1); exit 1; }
328
329(
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335_ASEOF
336}; then
337 break
338fi
339
340fi
341
342 done
343
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350fi
351
352
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
359fi
360
361
362fi
363
364fi
365
366
367
368(eval "as_func_return () {
369 (exit \$1)
370}
371as_func_success () {
372 as_func_return 0
373}
374as_func_failure () {
375 as_func_return 1
376}
377as_func_ret_success () {
378 return 0
379}
380as_func_ret_failure () {
381 return 1
382}
383
384exitcode=0
385if as_func_success; then
386 :
387else
388 exitcode=1
389 echo as_func_success failed.
390fi
391
392if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
395fi
396
397if as_func_ret_success; then
398 :
399else
400 exitcode=1
401 echo as_func_ret_success failed.
402fi
403
404if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
407fi
408
409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410 :
411else
412 exitcode=1
413 echo positional parameters were not saved.
414fi
415
416test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
421}
422
423
424
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
441 p
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
447 b
448 :lineno
449 N
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
458
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
465}
466
467
468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470else
471 as_dirname=false
472fi
473
474ECHO_C= ECHO_N= ECHO_T=
475case `echo -n x` in
476-n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
481*)
482 ECHO_N='-n';;
483esac
484
485if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488else
489 as_expr=false
490fi
491
492rm -f conf$$ conf$$.exe conf$$.file
493if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
498fi
499echo >conf$$.file
500if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510else
511 as_ln_s='cp -p'
512fi
513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514rmdir conf$$.dir 2>/dev/null
515
516if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
521fi
522
523if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
530 fi
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
542 '
543fi
544as_executable_p=$as_test_x
545
546# Sed expression to map a string onto a valid CPP name.
547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549# Sed expression to map a string onto a valid variable name.
550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554exec 7<&0 </dev/null 6>&1
555
556# Name of the host.
557# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558# so uname gets run too.
559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561#
562# Initializations.
563#
564ac_default_prefix=/usr/local
565ac_clean_files=
566ac_config_libobj_dir=.
567LIBOBJS=
568cross_compiling=no
569subdirs=
570MFLAGS=
571MAKEFLAGS=
572SHELL=${CONFIG_SHELL-/bin/sh}
573
574# Identity of this package.
575PACKAGE_NAME='GNU Autoconf'
576PACKAGE_TARNAME='autoconf'
577PACKAGE_VERSION='2.61'
578PACKAGE_STRING='GNU Autoconf 2.61'
579PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
580
581ac_unique_file="ChangeLog"
582ac_subst_vars='SHELL
583PATH_SEPARATOR
584PACKAGE_NAME
585PACKAGE_TARNAME
586PACKAGE_VERSION
587PACKAGE_STRING
588PACKAGE_BUGREPORT
589exec_prefix
590prefix
591program_transform_name
592bindir
593sbindir
594libexecdir
595datarootdir
596datadir
597sysconfdir
598sharedstatedir
599localstatedir
600includedir
601oldincludedir
602docdir
603infodir
604htmldir
605dvidir
606pdfdir
607psdir
608libdir
609localedir
610mandir
611DEFS
612ECHO_C
613ECHO_N
614ECHO_T
615LIBS
616build_alias
617host_alias
618target_alias
619INSTALL_PROGRAM
620INSTALL_SCRIPT
621INSTALL_DATA
622am__isrc
623CYGPATH_W
624PACKAGE
625VERSION
626ACLOCAL
627AUTOCONF
628AUTOMAKE
629AUTOHEADER
630MAKEINFO
631install_sh
632STRIP
633INSTALL_STRIP_PROGRAM
634mkdir_p
635AWK
636SET_MAKE
637am__leading_dot
638AMTAR
639am__tar
640am__untar
641ac_cv_sh_n_works
642EXPR
643M4
644M4_DEBUGFILE
645HELP2MAN
646PERL
647TEST_EMACS
648EMACS
649EMACSLOADPATH
650lispdir
651GREP
652EGREP
653SED
654LIBOBJS
655LTLIBOBJS'
656ac_subst_files=''
657 ac_precious_vars='build_alias
658host_alias
659target_alias
660EMACS
661EMACSLOADPATH'
662
663
664# Initialize some variables set by options.
665ac_init_help=
666ac_init_version=false
667# The variables have the same names as the options, with
668# dashes changed to underlines.
669cache_file=/dev/null
670exec_prefix=NONE
671no_create=
672no_recursion=
673prefix=NONE
674program_prefix=NONE
675program_suffix=NONE
676program_transform_name=s,x,x,
677silent=
678site=
679srcdir=
680verbose=
681x_includes=NONE
682x_libraries=NONE
683
684# Installation directory options.
685# These are left unexpanded so users can "make install exec_prefix=/foo"
686# and all the variables that are supposed to be based on exec_prefix
687# by default will actually change.
688# Use braces instead of parens because sh, perl, etc. also accept them.
689# (The list follows the same order as the GNU Coding Standards.)
690bindir='${exec_prefix}/bin'
691sbindir='${exec_prefix}/sbin'
692libexecdir='${exec_prefix}/libexec'
693datarootdir='${prefix}/share'
694datadir='${datarootdir}'
695sysconfdir='${prefix}/etc'
696sharedstatedir='${prefix}/com'
697localstatedir='${prefix}/var'
698includedir='${prefix}/include'
699oldincludedir='/usr/include'
700docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
701infodir='${datarootdir}/info'
702htmldir='${docdir}'
703dvidir='${docdir}'
704pdfdir='${docdir}'
705psdir='${docdir}'
706libdir='${exec_prefix}/lib'
707localedir='${datarootdir}/locale'
708mandir='${datarootdir}/man'
709
710ac_prev=
711ac_dashdash=
712for ac_option
713do
714 # If the previous option needs an argument, assign it.
715 if test -n "$ac_prev"; then
716 eval $ac_prev=\$ac_option
717 ac_prev=
718 continue
719 fi
720
721 case $ac_option in
722 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
723 *) ac_optarg=yes ;;
724 esac
725
726 # Accept the important Cygnus configure options, so we can diagnose typos.
727
728 case $ac_dashdash$ac_option in
729 --)
730 ac_dashdash=yes ;;
731
732 -bindir | --bindir | --bindi | --bind | --bin | --bi)
733 ac_prev=bindir ;;
734 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
735 bindir=$ac_optarg ;;
736
737 -build | --build | --buil | --bui | --bu)
738 ac_prev=build_alias ;;
739 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
740 build_alias=$ac_optarg ;;
741
742 -cache-file | --cache-file | --cache-fil | --cache-fi \
743 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
744 ac_prev=cache_file ;;
745 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
746 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
747 cache_file=$ac_optarg ;;
748
749 --config-cache | -C)
750 cache_file=config.cache ;;
751
752 -datadir | --datadir | --datadi | --datad)
753 ac_prev=datadir ;;
754 -datadir=* | --datadir=* | --datadi=* | --datad=*)
755 datadir=$ac_optarg ;;
756
757 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
758 | --dataroo | --dataro | --datar)
759 ac_prev=datarootdir ;;
760 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
761 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
762 datarootdir=$ac_optarg ;;
763
764 -disable-* | --disable-*)
765 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
766 # Reject names that are not valid shell variable names.
767 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
768 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
769 { (exit 1); exit 1; }; }
770 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
771 eval enable_$ac_feature=no ;;
772
773 -docdir | --docdir | --docdi | --doc | --do)
774 ac_prev=docdir ;;
775 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
776 docdir=$ac_optarg ;;
777
778 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
779 ac_prev=dvidir ;;
780 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
781 dvidir=$ac_optarg ;;
782
783 -enable-* | --enable-*)
784 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
785 # Reject names that are not valid shell variable names.
786 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
787 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
788 { (exit 1); exit 1; }; }
789 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
790 eval enable_$ac_feature=\$ac_optarg ;;
791
792 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
793 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
794 | --exec | --exe | --ex)
795 ac_prev=exec_prefix ;;
796 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
797 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
798 | --exec=* | --exe=* | --ex=*)
799 exec_prefix=$ac_optarg ;;
800
801 -gas | --gas | --ga | --g)
802 # Obsolete; use --with-gas.
803 with_gas=yes ;;
804
805 -help | --help | --hel | --he | -h)
806 ac_init_help=long ;;
807 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
808 ac_init_help=recursive ;;
809 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
810 ac_init_help=short ;;
811
812 -host | --host | --hos | --ho)
813 ac_prev=host_alias ;;
814 -host=* | --host=* | --hos=* | --ho=*)
815 host_alias=$ac_optarg ;;
816
817 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
818 ac_prev=htmldir ;;
819 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
820 | --ht=*)
821 htmldir=$ac_optarg ;;
822
823 -includedir | --includedir | --includedi | --included | --include \
824 | --includ | --inclu | --incl | --inc)
825 ac_prev=includedir ;;
826 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
827 | --includ=* | --inclu=* | --incl=* | --inc=*)
828 includedir=$ac_optarg ;;
829
830 -infodir | --infodir | --infodi | --infod | --info | --inf)
831 ac_prev=infodir ;;
832 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
833 infodir=$ac_optarg ;;
834
835 -libdir | --libdir | --libdi | --libd)
836 ac_prev=libdir ;;
837 -libdir=* | --libdir=* | --libdi=* | --libd=*)
838 libdir=$ac_optarg ;;
839
840 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
841 | --libexe | --libex | --libe)
842 ac_prev=libexecdir ;;
843 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
844 | --libexe=* | --libex=* | --libe=*)
845 libexecdir=$ac_optarg ;;
846
847 -localedir | --localedir | --localedi | --localed | --locale)
848 ac_prev=localedir ;;
849 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
850 localedir=$ac_optarg ;;
851
852 -localstatedir | --localstatedir | --localstatedi | --localstated \
853 | --localstate | --localstat | --localsta | --localst | --locals)
854 ac_prev=localstatedir ;;
855 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
856 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
857 localstatedir=$ac_optarg ;;
858
859 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
860 ac_prev=mandir ;;
861 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
862 mandir=$ac_optarg ;;
863
864 -nfp | --nfp | --nf)
865 # Obsolete; use --without-fp.
866 with_fp=no ;;
867
868 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
869 | --no-cr | --no-c | -n)
870 no_create=yes ;;
871
872 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
873 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
874 no_recursion=yes ;;
875
876 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
877 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
878 | --oldin | --oldi | --old | --ol | --o)
879 ac_prev=oldincludedir ;;
880 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
881 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
882 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
883 oldincludedir=$ac_optarg ;;
884
885 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
886 ac_prev=prefix ;;
887 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
888 prefix=$ac_optarg ;;
889
890 -program-prefix | --program-prefix | --program-prefi | --program-pref \
891 | --program-pre | --program-pr | --program-p)
892 ac_prev=program_prefix ;;
893 -program-prefix=* | --program-prefix=* | --program-prefi=* \
894 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
895 program_prefix=$ac_optarg ;;
896
897 -program-suffix | --program-suffix | --program-suffi | --program-suff \
898 | --program-suf | --program-su | --program-s)
899 ac_prev=program_suffix ;;
900 -program-suffix=* | --program-suffix=* | --program-suffi=* \
901 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
902 program_suffix=$ac_optarg ;;
903
904 -program-transform-name | --program-transform-name \
905 | --program-transform-nam | --program-transform-na \
906 | --program-transform-n | --program-transform- \
907 | --program-transform | --program-transfor \
908 | --program-transfo | --program-transf \
909 | --program-trans | --program-tran \
910 | --progr-tra | --program-tr | --program-t)
911 ac_prev=program_transform_name ;;
912 -program-transform-name=* | --program-transform-name=* \
913 | --program-transform-nam=* | --program-transform-na=* \
914 | --program-transform-n=* | --program-transform-=* \
915 | --program-transform=* | --program-transfor=* \
916 | --program-transfo=* | --program-transf=* \
917 | --program-trans=* | --program-tran=* \
918 | --progr-tra=* | --program-tr=* | --program-t=*)
919 program_transform_name=$ac_optarg ;;
920
921 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
922 ac_prev=pdfdir ;;
923 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
924 pdfdir=$ac_optarg ;;
925
926 -psdir | --psdir | --psdi | --psd | --ps)
927 ac_prev=psdir ;;
928 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
929 psdir=$ac_optarg ;;
930
931 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
932 | -silent | --silent | --silen | --sile | --sil)
933 silent=yes ;;
934
935 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
936 ac_prev=sbindir ;;
937 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
938 | --sbi=* | --sb=*)
939 sbindir=$ac_optarg ;;
940
941 -sharedstatedir | --sharedstatedir | --sharedstatedi \
942 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
943 | --sharedst | --shareds | --shared | --share | --shar \
944 | --sha | --sh)
945 ac_prev=sharedstatedir ;;
946 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
947 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
948 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
949 | --sha=* | --sh=*)
950 sharedstatedir=$ac_optarg ;;
951
952 -site | --site | --sit)
953 ac_prev=site ;;
954 -site=* | --site=* | --sit=*)
955 site=$ac_optarg ;;
956
957 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
958 ac_prev=srcdir ;;
959 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
960 srcdir=$ac_optarg ;;
961
962 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
963 | --syscon | --sysco | --sysc | --sys | --sy)
964 ac_prev=sysconfdir ;;
965 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
966 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
967 sysconfdir=$ac_optarg ;;
968
969 -target | --target | --targe | --targ | --tar | --ta | --t)
970 ac_prev=target_alias ;;
971 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
972 target_alias=$ac_optarg ;;
973
974 -v | -verbose | --verbose | --verbos | --verbo | --verb)
975 verbose=yes ;;
976
977 -version | --version | --versio | --versi | --vers | -V)
978 ac_init_version=: ;;
979
980 -with-* | --with-*)
981 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
984 { echo "$as_me: error: invalid package name: $ac_package" >&2
985 { (exit 1); exit 1; }; }
986 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
987 eval with_$ac_package=\$ac_optarg ;;
988
989 -without-* | --without-*)
990 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
993 { echo "$as_me: error: invalid package name: $ac_package" >&2
994 { (exit 1); exit 1; }; }
995 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
996 eval with_$ac_package=no ;;
997
998 --x)
999 # Obsolete; use --with-x.
1000 with_x=yes ;;
1001
1002 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1003 | --x-incl | --x-inc | --x-in | --x-i)
1004 ac_prev=x_includes ;;
1005 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1006 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1007 x_includes=$ac_optarg ;;
1008
1009 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1010 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1011 ac_prev=x_libraries ;;
1012 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1013 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1014 x_libraries=$ac_optarg ;;
1015
1016 -*) { echo "$as_me: error: unrecognized option: $ac_option
1017Try \`$0 --help' for more information." >&2
1018 { (exit 1); exit 1; }; }
1019 ;;
1020
1021 *=*)
1022 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1025 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1026 { (exit 1); exit 1; }; }
1027 eval $ac_envvar=\$ac_optarg
1028 export $ac_envvar ;;
1029
1030 *)
1031 # FIXME: should be removed in autoconf 3.0.
1032 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1033 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1034 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1035 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1036 ;;
1037
1038 esac
1039done
1040
1041if test -n "$ac_prev"; then
1042 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1043 { echo "$as_me: error: missing argument to $ac_option" >&2
1044 { (exit 1); exit 1; }; }
1045fi
1046
1047# Be sure to have absolute directory names.
1048for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1049 datadir sysconfdir sharedstatedir localstatedir includedir \
1050 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1051 libdir localedir mandir
1052do
1053 eval ac_val=\$$ac_var
1054 case $ac_val in
1055 [\\/$]* | ?:[\\/]* ) continue;;
1056 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1057 esac
1058 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1059 { (exit 1); exit 1; }; }
1060done
1061
1062# There might be people who depend on the old broken behavior: `$host'
1063# used to hold the argument of --host etc.
1064# FIXME: To remove some day.
1065build=$build_alias
1066host=$host_alias
1067target=$target_alias
1068
1069# FIXME: To remove some day.
1070if test "x$host_alias" != x; then
1071 if test "x$build_alias" = x; then
1072 cross_compiling=maybe
1073 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1074 If a cross compiler is detected then cross compile mode will be used." >&2
1075 elif test "x$build_alias" != "x$host_alias"; then
1076 cross_compiling=yes
1077 fi
1078fi
1079
1080ac_tool_prefix=
1081test -n "$host_alias" && ac_tool_prefix=$host_alias-
1082
1083test "$silent" = yes && exec 6>/dev/null
1084
1085
1086ac_pwd=`pwd` && test -n "$ac_pwd" &&
1087ac_ls_di=`ls -di .` &&
1088ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1089 { echo "$as_me: error: Working directory cannot be determined" >&2
1090 { (exit 1); exit 1; }; }
1091test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1092 { echo "$as_me: error: pwd does not report name of working directory" >&2
1093 { (exit 1); exit 1; }; }
1094
1095
1096# Find the source files, if location was not specified.
1097if test -z "$srcdir"; then
1098 ac_srcdir_defaulted=yes
1099 # Try the directory containing this script, then the parent directory.
1100 ac_confdir=`$as_dirname -- "$0" ||
1101$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1102 X"$0" : 'X\(//\)[^/]' \| \
1103 X"$0" : 'X\(//\)$' \| \
1104 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1105echo X"$0" |
1106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1107 s//\1/
1108 q
1109 }
1110 /^X\(\/\/\)[^/].*/{
1111 s//\1/
1112 q
1113 }
1114 /^X\(\/\/\)$/{
1115 s//\1/
1116 q
1117 }
1118 /^X\(\/\).*/{
1119 s//\1/
1120 q
1121 }
1122 s/.*/./; q'`
1123 srcdir=$ac_confdir
1124 if test ! -r "$srcdir/$ac_unique_file"; then
1125 srcdir=..
1126 fi
1127else
1128 ac_srcdir_defaulted=no
1129fi
1130if test ! -r "$srcdir/$ac_unique_file"; then
1131 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1132 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1133 { (exit 1); exit 1; }; }
1134fi
1135ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1136ac_abs_confdir=`(
1137 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1138 { (exit 1); exit 1; }; }
1139 pwd)`
1140# When building in place, set srcdir=.
1141if test "$ac_abs_confdir" = "$ac_pwd"; then
1142 srcdir=.
1143fi
1144# Remove unnecessary trailing slashes from srcdir.
1145# Double slashes in file names in object file debugging info
1146# mess up M-x gdb in Emacs.
1147case $srcdir in
1148*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1149esac
1150for ac_var in $ac_precious_vars; do
1151 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1152 eval ac_env_${ac_var}_value=\$${ac_var}
1153 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1154 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1155done
1156
1157#
1158# Report the --help message.
1159#
1160if test "$ac_init_help" = "long"; then
1161 # Omit some internal or obsolete options to make the list less imposing.
1162 # This message is too long to be a string in the A/UX 3.1 sh.
1163 cat <<_ACEOF
1164\`configure' configures GNU Autoconf 2.61 to adapt to many kinds of systems.
1165
1166Usage: $0 [OPTION]... [VAR=VALUE]...
1167
1168To assign environment variables (e.g., CC, CFLAGS...), specify them as
1169VAR=VALUE. See below for descriptions of some of the useful variables.
1170
1171Defaults for the options are specified in brackets.
1172
1173Configuration:
1174 -h, --help display this help and exit
1175 --help=short display options specific to this package
1176 --help=recursive display the short help of all the included packages
1177 -V, --version display version information and exit
1178 -q, --quiet, --silent do not print \`checking...' messages
1179 --cache-file=FILE cache test results in FILE [disabled]
1180 -C, --config-cache alias for \`--cache-file=config.cache'
1181 -n, --no-create do not create output files
1182 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1183
1184Installation directories:
1185 --prefix=PREFIX install architecture-independent files in PREFIX
1186 [$ac_default_prefix]
1187 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1188 [PREFIX]
1189
1190By default, \`make install' will install all the files in
1191\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1192an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1193for instance \`--prefix=\$HOME'.
1194
1195For better control, use the options below.
1196
1197Fine tuning of the installation directories:
1198 --bindir=DIR user executables [EPREFIX/bin]
1199 --sbindir=DIR system admin executables [EPREFIX/sbin]
1200 --libexecdir=DIR program executables [EPREFIX/libexec]
1201 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1202 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1203 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1204 --libdir=DIR object code libraries [EPREFIX/lib]
1205 --includedir=DIR C header files [PREFIX/include]
1206 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1207 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1208 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1209 --infodir=DIR info documentation [DATAROOTDIR/info]
1210 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1211 --mandir=DIR man documentation [DATAROOTDIR/man]
1212 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1213 --htmldir=DIR html documentation [DOCDIR]
1214 --dvidir=DIR dvi documentation [DOCDIR]
1215 --pdfdir=DIR pdf documentation [DOCDIR]
1216 --psdir=DIR ps documentation [DOCDIR]
1217_ACEOF
1218
1219 cat <<\_ACEOF
1220
1221Program names:
1222 --program-prefix=PREFIX prepend PREFIX to installed program names
1223 --program-suffix=SUFFIX append SUFFIX to installed program names
1224 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1225_ACEOF
1226fi
1227
1228if test -n "$ac_init_help"; then
1229 case $ac_init_help in
1230 short | recursive ) echo "Configuration of GNU Autoconf 2.61:";;
1231 esac
1232 cat <<\_ACEOF
1233
1234Optional Packages:
1235 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1236 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1237 --with-lispdir override the default lisp directory
1238
1239Some influential environment variables:
1240 EMACS the Emacs editor command
1241 EMACSLOADPATH
1242 the Emacs library search path
1243
1244Use these variables to override the choices made by `configure' or to help
1245it to find libraries and programs with nonstandard names/locations.
1246
1247Report bugs to <bug-autoconf@gnu.org>.
1248_ACEOF
1249ac_status=$?
1250fi
1251
1252if test "$ac_init_help" = "recursive"; then
1253 # If there are subdirs, report their specific --help.
1254 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1255 test -d "$ac_dir" || continue
1256 ac_builddir=.
1257
1258case "$ac_dir" in
1259.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1260*)
1261 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1262 # A ".." for each directory in $ac_dir_suffix.
1263 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1264 case $ac_top_builddir_sub in
1265 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1266 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1267 esac ;;
1268esac
1269ac_abs_top_builddir=$ac_pwd
1270ac_abs_builddir=$ac_pwd$ac_dir_suffix
1271# for backward compatibility:
1272ac_top_builddir=$ac_top_build_prefix
1273
1274case $srcdir in
1275 .) # We are building in place.
1276 ac_srcdir=.
1277 ac_top_srcdir=$ac_top_builddir_sub
1278 ac_abs_top_srcdir=$ac_pwd ;;
1279 [\\/]* | ?:[\\/]* ) # Absolute name.
1280 ac_srcdir=$srcdir$ac_dir_suffix;
1281 ac_top_srcdir=$srcdir
1282 ac_abs_top_srcdir=$srcdir ;;
1283 *) # Relative name.
1284 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1285 ac_top_srcdir=$ac_top_build_prefix$srcdir
1286 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1287esac
1288ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1289
1290 cd "$ac_dir" || { ac_status=$?; continue; }
1291 # Check for guested configure.
1292 if test -f "$ac_srcdir/configure.gnu"; then
1293 echo &&
1294 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1295 elif test -f "$ac_srcdir/configure"; then
1296 echo &&
1297 $SHELL "$ac_srcdir/configure" --help=recursive
1298 else
1299 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1300 fi || ac_status=$?
1301 cd "$ac_pwd" || { ac_status=$?; break; }
1302 done
1303fi
1304
1305test -n "$ac_init_help" && exit $ac_status
1306if $ac_init_version; then
1307 cat <<\_ACEOF
1308GNU Autoconf configure 2.61
1309generated by GNU Autoconf 2.61
1310
1311Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13122002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1313This configure script is free software; the Free Software Foundation
1314gives unlimited permission to copy, distribute and modify it.
1315_ACEOF
1316 exit
1317fi
1318cat >config.log <<_ACEOF
1319This file contains any messages produced by compilers while
1320running configure, to aid debugging if configure makes a mistake.
1321
1322It was created by GNU Autoconf $as_me 2.61, which was
1323generated by GNU Autoconf 2.61. Invocation command line was
1324
1325 $ $0 $@
1326
1327_ACEOF
1328exec 5>>config.log
1329{
1330cat <<_ASUNAME
1331## --------- ##
1332## Platform. ##
1333## --------- ##
1334
1335hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1336uname -m = `(uname -m) 2>/dev/null || echo unknown`
1337uname -r = `(uname -r) 2>/dev/null || echo unknown`
1338uname -s = `(uname -s) 2>/dev/null || echo unknown`
1339uname -v = `(uname -v) 2>/dev/null || echo unknown`
1340
1341/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1342/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1343
1344/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1345/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1346/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1347/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1348/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1349/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1350/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1351
1352_ASUNAME
1353
1354as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1355for as_dir in $PATH
1356do
1357 IFS=$as_save_IFS
1358 test -z "$as_dir" && as_dir=.
1359 echo "PATH: $as_dir"
1360done
1361IFS=$as_save_IFS
1362
1363} >&5
1364
1365cat >&5 <<_ACEOF
1366
1367
1368## ----------- ##
1369## Core tests. ##
1370## ----------- ##
1371
1372_ACEOF
1373
1374
1375# Keep a trace of the command line.
1376# Strip out --no-create and --no-recursion so they do not pile up.
1377# Strip out --silent because we don't want to record it for future runs.
1378# Also quote any args containing shell meta-characters.
1379# Make two passes to allow for proper duplicate-argument suppression.
1380ac_configure_args=
1381ac_configure_args0=
1382ac_configure_args1=
1383ac_must_keep_next=false
1384for ac_pass in 1 2
1385do
1386 for ac_arg
1387 do
1388 case $ac_arg in
1389 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1390 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1391 | -silent | --silent | --silen | --sile | --sil)
1392 continue ;;
1393 *\'*)
1394 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1395 esac
1396 case $ac_pass in
1397 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1398 2)
1399 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1400 if test $ac_must_keep_next = true; then
1401 ac_must_keep_next=false # Got value, back to normal.
1402 else
1403 case $ac_arg in
1404 *=* | --config-cache | -C | -disable-* | --disable-* \
1405 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1406 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1407 | -with-* | --with-* | -without-* | --without-* | --x)
1408 case "$ac_configure_args0 " in
1409 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1410 esac
1411 ;;
1412 -* ) ac_must_keep_next=true ;;
1413 esac
1414 fi
1415 ac_configure_args="$ac_configure_args '$ac_arg'"
1416 ;;
1417 esac
1418 done
1419done
1420$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1421$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1422
1423# When interrupted or exit'd, cleanup temporary files, and complete
1424# config.log. We remove comments because anyway the quotes in there
1425# would cause problems or look ugly.
1426# WARNING: Use '\'' to represent an apostrophe within the trap.
1427# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1428trap 'exit_status=$?
1429 # Save into config.log some information that might help in debugging.
1430 {
1431 echo
1432
1433 cat <<\_ASBOX
1434## ---------------- ##
1435## Cache variables. ##
1436## ---------------- ##
1437_ASBOX
1438 echo
1439 # The following way of writing the cache mishandles newlines in values,
1440(
1441 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1442 eval ac_val=\$$ac_var
1443 case $ac_val in #(
1444 *${as_nl}*)
1445 case $ac_var in #(
1446 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1447echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1448 esac
1449 case $ac_var in #(
1450 _ | IFS | as_nl) ;; #(
1451 *) $as_unset $ac_var ;;
1452 esac ;;
1453 esac
1454 done
1455 (set) 2>&1 |
1456 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1457 *${as_nl}ac_space=\ *)
1458 sed -n \
1459 "s/'\''/'\''\\\\'\'''\''/g;
1460 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1461 ;; #(
1462 *)
1463 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1464 ;;
1465 esac |
1466 sort
1467)
1468 echo
1469
1470 cat <<\_ASBOX
1471## ----------------- ##
1472## Output variables. ##
1473## ----------------- ##
1474_ASBOX
1475 echo
1476 for ac_var in $ac_subst_vars
1477 do
1478 eval ac_val=\$$ac_var
1479 case $ac_val in
1480 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1481 esac
1482 echo "$ac_var='\''$ac_val'\''"
1483 done | sort
1484 echo
1485
1486 if test -n "$ac_subst_files"; then
1487 cat <<\_ASBOX
1488## ------------------- ##
1489## File substitutions. ##
1490## ------------------- ##
1491_ASBOX
1492 echo
1493 for ac_var in $ac_subst_files
1494 do
1495 eval ac_val=\$$ac_var
1496 case $ac_val in
1497 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1498 esac
1499 echo "$ac_var='\''$ac_val'\''"
1500 done | sort
1501 echo
1502 fi
1503
1504 if test -s confdefs.h; then
1505 cat <<\_ASBOX
1506## ----------- ##
1507## confdefs.h. ##
1508## ----------- ##
1509_ASBOX
1510 echo
1511 cat confdefs.h
1512 echo
1513 fi
1514 test "$ac_signal" != 0 &&
1515 echo "$as_me: caught signal $ac_signal"
1516 echo "$as_me: exit $exit_status"
1517 } >&5
1518 rm -f core *.core core.conftest.* &&
1519 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1520 exit $exit_status
1521' 0
1522for ac_signal in 1 2 13 15; do
1523 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1524done
1525ac_signal=0
1526
1527# confdefs.h avoids OS command line length limits that DEFS can exceed.
1528rm -f -r conftest* confdefs.h
1529
1530# Predefined preprocessor variables.
1531
1532cat >>confdefs.h <<_ACEOF
1533#define PACKAGE_NAME "$PACKAGE_NAME"
1534_ACEOF
1535
1536
1537cat >>confdefs.h <<_ACEOF
1538#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1539_ACEOF
1540
1541
1542cat >>confdefs.h <<_ACEOF
1543#define PACKAGE_VERSION "$PACKAGE_VERSION"
1544_ACEOF
1545
1546
1547cat >>confdefs.h <<_ACEOF
1548#define PACKAGE_STRING "$PACKAGE_STRING"
1549_ACEOF
1550
1551
1552cat >>confdefs.h <<_ACEOF
1553#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1554_ACEOF
1555
1556
1557# Let the site file select an alternate cache file if it wants to.
1558# Prefer explicitly selected file to automatically selected ones.
1559if test -n "$CONFIG_SITE"; then
1560 set x "$CONFIG_SITE"
1561elif test "x$prefix" != xNONE; then
1562 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1563else
1564 set x "$ac_default_prefix/share/config.site" \
1565 "$ac_default_prefix/etc/config.site"
1566fi
1567shift
1568for ac_site_file
1569do
1570 if test -r "$ac_site_file"; then
1571 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1572echo "$as_me: loading site script $ac_site_file" >&6;}
1573 sed 's/^/| /' "$ac_site_file" >&5
1574 . "$ac_site_file"
1575 fi
1576done
1577
1578if test -r "$cache_file"; then
1579 # Some versions of bash will fail to source /dev/null (special
1580 # files actually), so we avoid doing that.
1581 if test -f "$cache_file"; then
1582 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1583echo "$as_me: loading cache $cache_file" >&6;}
1584 case $cache_file in
1585 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1586 *) . "./$cache_file";;
1587 esac
1588 fi
1589else
1590 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1591echo "$as_me: creating cache $cache_file" >&6;}
1592 >$cache_file
1593fi
1594
1595# Check that the precious variables saved in the cache have kept the same
1596# value.
1597ac_cache_corrupted=false
1598for ac_var in $ac_precious_vars; do
1599 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1600 eval ac_new_set=\$ac_env_${ac_var}_set
1601 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1602 eval ac_new_val=\$ac_env_${ac_var}_value
1603 case $ac_old_set,$ac_new_set in
1604 set,)
1605 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1606echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1607 ac_cache_corrupted=: ;;
1608 ,set)
1609 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1610echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1611 ac_cache_corrupted=: ;;
1612 ,);;
1613 *)
1614 if test "x$ac_old_val" != "x$ac_new_val"; then
1615 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1616echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1617 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1618echo "$as_me: former value: $ac_old_val" >&2;}
1619 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1620echo "$as_me: current value: $ac_new_val" >&2;}
1621 ac_cache_corrupted=:
1622 fi;;
1623 esac
1624 # Pass precious variables to config.status.
1625 if test "$ac_new_set" = set; then
1626 case $ac_new_val in
1627 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1628 *) ac_arg=$ac_var=$ac_new_val ;;
1629 esac
1630 case " $ac_configure_args " in
1631 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1632 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1633 esac
1634 fi
1635done
1636if $ac_cache_corrupted; then
1637 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1638echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1639 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1640echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1641 { (exit 1); exit 1; }; }
1642fi
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668ac_ext=c
1669ac_cpp='$CPP $CPPFLAGS'
1670ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1671ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1672ac_compiler_gnu=$ac_cv_c_compiler_gnu
1673
1674
1675
1676
1677ac_aux_dir=
1678for ac_dir in build-aux "$srcdir"/build-aux; do
1679 if test -f "$ac_dir/install-sh"; then
1680 ac_aux_dir=$ac_dir
1681 ac_install_sh="$ac_aux_dir/install-sh -c"
1682 break
1683 elif test -f "$ac_dir/install.sh"; then
1684 ac_aux_dir=$ac_dir
1685 ac_install_sh="$ac_aux_dir/install.sh -c"
1686 break
1687 elif test -f "$ac_dir/shtool"; then
1688 ac_aux_dir=$ac_dir
1689 ac_install_sh="$ac_aux_dir/shtool install -c"
1690 break
1691 fi
1692done
1693if test -z "$ac_aux_dir"; then
1694 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1695echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1696 { (exit 1); exit 1; }; }
1697fi
1698
1699# These three variables are undocumented and unsupported,
1700# and are intended to be withdrawn in a future Autoconf release.
1701# They can cause serious problems if a builder's source tree is in a directory
1702# whose full name contains unusual characters.
1703ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1704ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1705ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1706
1707
1708
1709am__api_version='1.10'
1710
1711# Find a good install program. We prefer a C program (faster),
1712# so one script is as good as another. But avoid the broken or
1713# incompatible versions:
1714# SysV /etc/install, /usr/sbin/install
1715# SunOS /usr/etc/install
1716# IRIX /sbin/install
1717# AIX /bin/install
1718# AmigaOS /C/install, which installs bootblocks on floppy discs
1719# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1720# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1721# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1722# OS/2's system install, which has a completely different semantic
1723# ./install, which can be erroneously created by make from ./install.sh.
1724{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1725echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1726if test -z "$INSTALL"; then
1727if test "${ac_cv_path_install+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1729else
1730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1731for as_dir in $PATH
1732do
1733 IFS=$as_save_IFS
1734 test -z "$as_dir" && as_dir=.
1735 # Account for people who put trailing slashes in PATH elements.
1736case $as_dir/ in
1737 ./ | .// | /cC/* | \
1738 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1739 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1740 /usr/ucb/* ) ;;
1741 *)
1742 # OSF1 and SCO ODT 3.0 have their own names for install.
1743 # Don't use installbsd from OSF since it installs stuff as root
1744 # by default.
1745 for ac_prog in ginstall scoinst install; do
1746 for ac_exec_ext in '' $ac_executable_extensions; do
1747 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1748 if test $ac_prog = install &&
1749 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1750 # AIX install. It has an incompatible calling convention.
1751 :
1752 elif test $ac_prog = install &&
1753 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1754 # program-specific install script used by HP pwplus--don't use.
1755 :
1756 else
1757 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1758 break 3
1759 fi
1760 fi
1761 done
1762 done
1763 ;;
1764esac
1765done
1766IFS=$as_save_IFS
1767
1768
1769fi
1770 if test "${ac_cv_path_install+set}" = set; then
1771 INSTALL=$ac_cv_path_install
1772 else
1773 # As a last resort, use the slow shell script. Don't cache a
1774 # value for INSTALL within a source directory, because that will
1775 # break other packages using the cache if that directory is
1776 # removed, or if the value is a relative name.
1777 INSTALL=$ac_install_sh
1778 fi
1779fi
1780{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1781echo "${ECHO_T}$INSTALL" >&6; }
1782
1783# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1784# It thinks the first close brace ends the variable substitution.
1785test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1786
1787test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1788
1789test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1790
1791{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1792echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1793# Just in case
1794sleep 1
1795echo timestamp > conftest.file
1796# Do `set' in a subshell so we don't clobber the current shell's
1797# arguments. Must try -L first in case configure is actually a
1798# symlink; some systems play weird games with the mod time of symlinks
1799# (eg FreeBSD returns the mod time of the symlink's containing
1800# directory).
1801if (
1802 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1803 if test "$*" = "X"; then
1804 # -L didn't work.
1805 set X `ls -t $srcdir/configure conftest.file`
1806 fi
1807 rm -f conftest.file
1808 if test "$*" != "X $srcdir/configure conftest.file" \
1809 && test "$*" != "X conftest.file $srcdir/configure"; then
1810
1811 # If neither matched, then we have a broken ls. This can happen
1812 # if, for instance, CONFIG_SHELL is bash and it inherits a
1813 # broken ls alias from the environment. This has actually
1814 # happened. Such a system could not be considered "sane".
1815 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1816alias in your environment" >&5
1817echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1818alias in your environment" >&2;}
1819 { (exit 1); exit 1; }; }
1820 fi
1821
1822 test "$2" = conftest.file
1823 )
1824then
1825 # Ok.
1826 :
1827else
1828 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1829Check your system clock" >&5
1830echo "$as_me: error: newly created file is older than distributed files!
1831Check your system clock" >&2;}
1832 { (exit 1); exit 1; }; }
1833fi
1834{ echo "$as_me:$LINENO: result: yes" >&5
1835echo "${ECHO_T}yes" >&6; }
1836test "$program_prefix" != NONE &&
1837 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1838# Use a double $ so make ignores it.
1839test "$program_suffix" != NONE &&
1840 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1841# Double any \ or $. echo might interpret backslashes.
1842# By default was `s,x,x', remove it if useless.
1843cat <<\_ACEOF >conftest.sed
1844s/[\\$]/&&/g;s/;s,x,x,$//
1845_ACEOF
1846program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1847rm -f conftest.sed
1848
1849# expand $ac_aux_dir to an absolute path
1850am_aux_dir=`cd $ac_aux_dir && pwd`
1851
1852test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1853# Use eval to expand $SHELL
1854if eval "$MISSING --run true"; then
1855 am_missing_run="$MISSING --run "
1856else
1857 am_missing_run=
1858 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1859echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1860fi
1861
1862{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1863echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1864if test -z "$MKDIR_P"; then
1865 if test "${ac_cv_path_mkdir+set}" = set; then
1866 echo $ECHO_N "(cached) $ECHO_C" >&6
1867else
1868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1869for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1870do
1871 IFS=$as_save_IFS
1872 test -z "$as_dir" && as_dir=.
1873 for ac_prog in mkdir gmkdir; do
1874 for ac_exec_ext in '' $ac_executable_extensions; do
1875 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1876 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1877 'mkdir (GNU coreutils) '* | \
1878 'mkdir (coreutils) '* | \
1879 'mkdir (fileutils) '4.1*)
1880 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1881 break 3;;
1882 esac
1883 done
1884 done
1885done
1886IFS=$as_save_IFS
1887
1888fi
1889
1890 if test "${ac_cv_path_mkdir+set}" = set; then
1891 MKDIR_P="$ac_cv_path_mkdir -p"
1892 else
1893 # As a last resort, use the slow shell script. Don't cache a
1894 # value for MKDIR_P within a source directory, because that will
1895 # break other packages using the cache if that directory is
1896 # removed, or if the value is a relative name.
1897 test -d ./--version && rmdir ./--version
1898 MKDIR_P="$ac_install_sh -d"
1899 fi
1900fi
1901{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1902echo "${ECHO_T}$MKDIR_P" >&6; }
1903
1904mkdir_p="$MKDIR_P"
1905case $mkdir_p in
1906 [\\/$]* | ?:[\\/]*) ;;
1907 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1908esac
1909
1910for ac_prog in gawk mawk nawk awk
1911do
1912 # Extract the first word of "$ac_prog", so it can be a program name with args.
1913set dummy $ac_prog; ac_word=$2
1914{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1915echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1916if test "${ac_cv_prog_AWK+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1918else
1919 if test -n "$AWK"; then
1920 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1921else
1922as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1923for as_dir in $PATH
1924do
1925 IFS=$as_save_IFS
1926 test -z "$as_dir" && as_dir=.
1927 for ac_exec_ext in '' $ac_executable_extensions; do
1928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1929 ac_cv_prog_AWK="$ac_prog"
1930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1931 break 2
1932 fi
1933done
1934done
1935IFS=$as_save_IFS
1936
1937fi
1938fi
1939AWK=$ac_cv_prog_AWK
1940if test -n "$AWK"; then
1941 { echo "$as_me:$LINENO: result: $AWK" >&5
1942echo "${ECHO_T}$AWK" >&6; }
1943else
1944 { echo "$as_me:$LINENO: result: no" >&5
1945echo "${ECHO_T}no" >&6; }
1946fi
1947
1948
1949 test -n "$AWK" && break
1950done
1951
1952{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1953echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1954set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1955if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1956 echo $ECHO_N "(cached) $ECHO_C" >&6
1957else
1958 cat >conftest.make <<\_ACEOF
1959SHELL = /bin/sh
1960all:
1961 @echo '@@@%%%=$(MAKE)=@@@%%%'
1962_ACEOF
1963# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1964case `${MAKE-make} -f conftest.make 2>/dev/null` in
1965 *@@@%%%=?*=@@@%%%*)
1966 eval ac_cv_prog_make_${ac_make}_set=yes;;
1967 *)
1968 eval ac_cv_prog_make_${ac_make}_set=no;;
1969esac
1970rm -f conftest.make
1971fi
1972if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1973 { echo "$as_me:$LINENO: result: yes" >&5
1974echo "${ECHO_T}yes" >&6; }
1975 SET_MAKE=
1976else
1977 { echo "$as_me:$LINENO: result: no" >&5
1978echo "${ECHO_T}no" >&6; }
1979 SET_MAKE="MAKE=${MAKE-make}"
1980fi
1981
1982rm -rf .tst 2>/dev/null
1983mkdir .tst 2>/dev/null
1984if test -d .tst; then
1985 am__leading_dot=.
1986else
1987 am__leading_dot=_
1988fi
1989rmdir .tst 2>/dev/null
1990
1991if test "`cd $srcdir && pwd`" != "`pwd`"; then
1992 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1993 # is not polluted with repeated "-I."
1994 am__isrc=' -I$(srcdir)'
1995 # test to see if srcdir already configured
1996 if test -f $srcdir/config.status; then
1997 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1998echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1999 { (exit 1); exit 1; }; }
2000 fi
2001fi
2002
2003# test whether we have cygpath
2004if test -z "$CYGPATH_W"; then
2005 if (cygpath --version) >/dev/null 2>/dev/null; then
2006 CYGPATH_W='cygpath -w'
2007 else
2008 CYGPATH_W=echo
2009 fi
2010fi
2011
2012
2013# Define the identity of the package.
2014 PACKAGE='autoconf'
2015 VERSION='2.61'
2016
2017
2018cat >>confdefs.h <<_ACEOF
2019#define PACKAGE "$PACKAGE"
2020_ACEOF
2021
2022
2023cat >>confdefs.h <<_ACEOF
2024#define VERSION "$VERSION"
2025_ACEOF
2026
2027# Some tools Automake needs.
2028
2029ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2030
2031
2032AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2033
2034
2035AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2036
2037
2038AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2039
2040
2041MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2042
2043install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2044
2045# Installed binaries are usually stripped using `strip' when the user
2046# run `make install-strip'. However `strip' might not be the right
2047# tool to use in cross-compilation environments, therefore Automake
2048# will honor the `STRIP' environment variable to overrule this program.
2049if test "$cross_compiling" != no; then
2050 if test -n "$ac_tool_prefix"; then
2051 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2052set dummy ${ac_tool_prefix}strip; ac_word=$2
2053{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2054echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2055if test "${ac_cv_prog_STRIP+set}" = set; then
2056 echo $ECHO_N "(cached) $ECHO_C" >&6
2057else
2058 if test -n "$STRIP"; then
2059 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2060else
2061as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2062for as_dir in $PATH
2063do
2064 IFS=$as_save_IFS
2065 test -z "$as_dir" && as_dir=.
2066 for ac_exec_ext in '' $ac_executable_extensions; do
2067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2068 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2070 break 2
2071 fi
2072done
2073done
2074IFS=$as_save_IFS
2075
2076fi
2077fi
2078STRIP=$ac_cv_prog_STRIP
2079if test -n "$STRIP"; then
2080 { echo "$as_me:$LINENO: result: $STRIP" >&5
2081echo "${ECHO_T}$STRIP" >&6; }
2082else
2083 { echo "$as_me:$LINENO: result: no" >&5
2084echo "${ECHO_T}no" >&6; }
2085fi
2086
2087
2088fi
2089if test -z "$ac_cv_prog_STRIP"; then
2090 ac_ct_STRIP=$STRIP
2091 # Extract the first word of "strip", so it can be a program name with args.
2092set dummy strip; ac_word=$2
2093{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2094echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2095if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2097else
2098 if test -n "$ac_ct_STRIP"; then
2099 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2100else
2101as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102for as_dir in $PATH
2103do
2104 IFS=$as_save_IFS
2105 test -z "$as_dir" && as_dir=.
2106 for ac_exec_ext in '' $ac_executable_extensions; do
2107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2108 ac_cv_prog_ac_ct_STRIP="strip"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110 break 2
2111 fi
2112done
2113done
2114IFS=$as_save_IFS
2115
2116fi
2117fi
2118ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2119if test -n "$ac_ct_STRIP"; then
2120 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2121echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2122else
2123 { echo "$as_me:$LINENO: result: no" >&5
2124echo "${ECHO_T}no" >&6; }
2125fi
2126
2127 if test "x$ac_ct_STRIP" = x; then
2128 STRIP=":"
2129 else
2130 case $cross_compiling:$ac_tool_warned in
2131yes:)
2132{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2133whose name does not start with the host triplet. If you think this
2134configuration is useful to you, please write to autoconf@gnu.org." >&5
2135echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2136whose name does not start with the host triplet. If you think this
2137configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2138ac_tool_warned=yes ;;
2139esac
2140 STRIP=$ac_ct_STRIP
2141 fi
2142else
2143 STRIP="$ac_cv_prog_STRIP"
2144fi
2145
2146fi
2147INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2148
2149# We need awk for the "check" target. The system "awk" is bad on
2150# some platforms.
2151# Always define AMTAR for backward compatibility.
2152
2153AMTAR=${AMTAR-"${am_missing_run}tar"}
2154
2155am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2156
2157
2158
2159
2160
2161
2162# We use `/bin/sh -n script' to check that there are no syntax errors
2163# in the scripts. Although incredible, there are /bin/sh that go into
2164# endless loops with `-n', e.g., SunOS's:
2165#
2166# $ uname -a
2167# SunOS ondine 4.1.3 2 sun4m unknown
2168# $ cat endless.sh
2169# while false
2170# do
2171# :
2172# done
2173# exit 0
2174# $ time sh endless.sh
2175# sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2176# $ time sh -nx endless.sh
2177# ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2178#
2179# Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2180# that they are unusable on large scripts like our testsuite.
2181
2182# So before using `/bin/sh -n' to check our scripts, we first check
2183# that `/bin/sh -n' is known to not have these problems.
2184
2185{ echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2186echo $ECHO_N "checking whether /bin/sh -n is known to work... $ECHO_C" >&6; }
2187if test "${ac_cv_sh_n_works+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2189else
2190 if (
2191 unset BASH_VERSION ZSH_VERSION
2192 /bin/sh -c '
2193 test -n "${BASH_VERSION+set}" || # Bash
2194 test -n "${KSH_VERSION+set}" || # pdksh
2195 test -n "${ZSH_VERSION+set}" || # zsh
2196 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2197 '
2198 ) 2>/dev/null
2199then ac_cv_sh_n_works=yes
2200else ac_cv_sh_n_works=no
2201fi
2202
2203fi
2204{ echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2205echo "${ECHO_T}$ac_cv_sh_n_works" >&6; }
2206
2207
2208# Initialize the test suite.
2209ac_config_commands="$ac_config_commands tests/atconfig"
2210
2211
2212ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2213
2214# Extract the first word of "expr", so it can be a program name with args.
2215set dummy expr; ac_word=$2
2216{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2217echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2218if test "${ac_cv_path_EXPR+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2220else
2221 case $EXPR in
2222 [\\/]* | ?:[\\/]*)
2223 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2224 ;;
2225 *)
2226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227for as_dir in $PATH
2228do
2229 IFS=$as_save_IFS
2230 test -z "$as_dir" && as_dir=.
2231 for ac_exec_ext in '' $ac_executable_extensions; do
2232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2233 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2235 break 2
2236 fi
2237done
2238done
2239IFS=$as_save_IFS
2240
2241 ;;
2242esac
2243fi
2244EXPR=$ac_cv_path_EXPR
2245if test -n "$EXPR"; then
2246 { echo "$as_me:$LINENO: result: $EXPR" >&5
2247echo "${ECHO_T}$EXPR" >&6; }
2248else
2249 { echo "$as_me:$LINENO: result: no" >&5
2250echo "${ECHO_T}no" >&6; }
2251fi
2252
2253
2254
2255
2256## ---- ##
2257## M4. ##
2258## ---- ##
2259
2260# We use an absolute name for GNU m4 so even if users have another m4 first in
2261# their path, the installer can configure with a path that has GNU m4
2262# first and get that path embedded in the installed autoconf and
2263# autoheader scripts.
2264for ac_prog in gm4 gnum4 m4
2265do
2266 # Extract the first word of "$ac_prog", so it can be a program name with args.
2267set dummy $ac_prog; ac_word=$2
2268{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2269echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2270if test "${ac_cv_path_M4+set}" = set; then
2271 echo $ECHO_N "(cached) $ECHO_C" >&6
2272else
2273 case $M4 in
2274 [\\/]* | ?:[\\/]*)
2275 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2276 ;;
2277 *)
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279for as_dir in $PATH
2280do
2281 IFS=$as_save_IFS
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2285 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 break 2
2288 fi
2289done
2290done
2291IFS=$as_save_IFS
2292
2293 ;;
2294esac
2295fi
2296M4=$ac_cv_path_M4
2297if test -n "$M4"; then
2298 { echo "$as_me:$LINENO: result: $M4" >&5
2299echo "${ECHO_T}$M4" >&6; }
2300else
2301 { echo "$as_me:$LINENO: result: no" >&5
2302echo "${ECHO_T}no" >&6; }
2303fi
2304
2305
2306 test -n "$M4" && break
2307done
2308test -n "$M4" || M4="m4"
2309
2310{ echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2311echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6; }
2312if test "${ac_cv_prog_gnu_m4+set}" = set; then
2313 echo $ECHO_N "(cached) $ECHO_C" >&6
2314else
2315 ac_cv_prog_gnu_m4=no
2316if test x"$M4" != x; then
2317 case `$M4 --help < /dev/null 2>&1` in
2318 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2319 esac
2320fi
2321fi
2322{ echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2323echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6; }
2324if test $ac_cv_prog_gnu_m4 = yes ; then
2325 { echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2326echo $ECHO_N "checking how m4 supports trace files... $ECHO_C" >&6; }
2327if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2328 echo $ECHO_N "(cached) $ECHO_C" >&6
2329else
2330 case `$M4 --help < /dev/null 2>&1` in
2331 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2332 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2333 esac
2334fi
2335{ echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2336echo "${ECHO_T}$ac_cv_prog_gnu_m4_debugfile" >&6; }
2337 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2338
2339fi
2340
2341if test x"$ac_cv_prog_gnu_m4" != xyes; then
2342 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2343echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2344 { (exit 1); exit 1; }; }
2345fi
2346
2347## ----------- ##
2348## Man pages. ##
2349## ----------- ##
2350
2351ac_config_files="$ac_config_files man/Makefile"
2352
2353
2354HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2355
2356
2357
2358## ------ ##
2359## Perl. ##
2360## ------ ##
2361
2362# We use an absolute name for perl so the #! line in autoscan will work.
2363# Extract the first word of "perl", so it can be a program name with args.
2364set dummy perl; ac_word=$2
2365{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2366echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2367if test "${ac_cv_path_PERL+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
2369else
2370 case $PERL in
2371 [\\/]* | ?:[\\/]*)
2372 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2373 ;;
2374 *)
2375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2376for as_dir in $PATH
2377do
2378 IFS=$as_save_IFS
2379 test -z "$as_dir" && as_dir=.
2380 for ac_exec_ext in '' $ac_executable_extensions; do
2381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2382 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2384 break 2
2385 fi
2386done
2387done
2388IFS=$as_save_IFS
2389
2390 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2391 ;;
2392esac
2393fi
2394PERL=$ac_cv_path_PERL
2395if test -n "$PERL"; then
2396 { echo "$as_me:$LINENO: result: $PERL" >&5
2397echo "${ECHO_T}$PERL" >&6; }
2398else
2399 { echo "$as_me:$LINENO: result: no" >&5
2400echo "${ECHO_T}no" >&6; }
2401fi
2402
2403
2404if test "$PERL" = no; then
2405 { { echo "$as_me:$LINENO: error: perl is not found" >&5
2406echo "$as_me: error: perl is not found" >&2;}
2407 { (exit 1); exit 1; }; }
2408fi
2409$PERL -e 'require 5.005_03;' || {
2410 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2411echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2412 { (exit 1); exit 1; }; }
2413}
2414
2415
2416## ------- ##
2417## Emacs. ##
2418## ------- ##
2419
2420ac_config_files="$ac_config_files lib/emacs/Makefile"
2421
2422TEST_EMACS=$EMACS
2423test x"$TEST_EMACS" = xt && TEST_EMACS=
2424for ac_prog in emacs xemacs
2425do
2426 # Extract the first word of "$ac_prog", so it can be a program name with args.
2427set dummy $ac_prog; ac_word=$2
2428{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2429echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2430if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2432else
2433 if test -n "$TEST_EMACS"; then
2434 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2435else
2436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437for as_dir in $PATH
2438do
2439 IFS=$as_save_IFS
2440 test -z "$as_dir" && as_dir=.
2441 for ac_exec_ext in '' $ac_executable_extensions; do
2442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2443 ac_cv_prog_TEST_EMACS="$ac_prog"
2444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2445 break 2
2446 fi
2447done
2448done
2449IFS=$as_save_IFS
2450
2451fi
2452fi
2453TEST_EMACS=$ac_cv_prog_TEST_EMACS
2454if test -n "$TEST_EMACS"; then
2455 { echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2456echo "${ECHO_T}$TEST_EMACS" >&6; }
2457else
2458 { echo "$as_me:$LINENO: result: no" >&5
2459echo "${ECHO_T}no" >&6; }
2460fi
2461
2462
2463 test -n "$TEST_EMACS" && break
2464done
2465test -n "$TEST_EMACS" || TEST_EMACS="no"
2466
2467
2468# autoconf-mode.el and autotest-mode.el do not work with older version of
2469# Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2470# "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2471# We detect this problem here.
2472if test "$TEST_EMACS" != no; then
2473 { echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2474echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6; }
2475if test "${ac_cv_prog_emacs_ok+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2477else
2478 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2479 cat >conftest.el << "EOF"
2480 (defvar broken)
2481 (defun broken-mode () (setq broken-defaults `(broken nil)))
2482EOF
2483 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2484 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2485 ac_status=$?
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; then
2488 ac_cv_prog_emacs_ok=yes
2489else
2490 ac_cv_prog_emacs_ok=no
2491fi
2492
2493 rm -f conftest.el conftest.elc
2494fi
2495{ echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2496echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6; }
2497 if test $ac_cv_prog_emacs_ok = no; then
2498 TEST_EMACS=no
2499fi
2500
2501fi
2502
2503
2504EMACS=$TEST_EMACS
2505
2506
2507 # If set to t, that means we are running in a shell under Emacs.
2508 # If you have an Emacs named "t", then use the full path.
2509 test x"$EMACS" = xt && EMACS=
2510 for ac_prog in emacs xemacs
2511do
2512 # Extract the first word of "$ac_prog", so it can be a program name with args.
2513set dummy $ac_prog; ac_word=$2
2514{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2515echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2516if test "${ac_cv_prog_EMACS+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2518else
2519 if test -n "$EMACS"; then
2520 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2521else
2522as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2523for as_dir in $PATH
2524do
2525 IFS=$as_save_IFS
2526 test -z "$as_dir" && as_dir=.
2527 for ac_exec_ext in '' $ac_executable_extensions; do
2528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2529 ac_cv_prog_EMACS="$ac_prog"
2530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2531 break 2
2532 fi
2533done
2534done
2535IFS=$as_save_IFS
2536
2537fi
2538fi
2539EMACS=$ac_cv_prog_EMACS
2540if test -n "$EMACS"; then
2541 { echo "$as_me:$LINENO: result: $EMACS" >&5
2542echo "${ECHO_T}$EMACS" >&6; }
2543else
2544 { echo "$as_me:$LINENO: result: no" >&5
2545echo "${ECHO_T}no" >&6; }
2546fi
2547
2548
2549 test -n "$EMACS" && break
2550done
2551test -n "$EMACS" || EMACS="no"
2552
2553
2554
2555
2556# Check whether --with-lispdir was given.
2557if test "${with_lispdir+set}" = set; then
2558 withval=$with_lispdir; lispdir="$withval"
2559 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2560echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2561 { echo "$as_me:$LINENO: result: $lispdir" >&5
2562echo "${ECHO_T}$lispdir" >&6; }
2563else
2564
2565 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2566echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2567if test "${am_cv_lispdir+set}" = set; then
2568 echo $ECHO_N "(cached) $ECHO_C" >&6
2569else
2570
2571 if test $EMACS != "no"; then
2572 if test x${lispdir+set} != xset; then
2573 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2574 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2575 # which is non-obvious for non-emacs users.
2576 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2577 # emacsen earlier and avoid running this altogether.
2578 { (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
2579 ($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
2580 ac_status=$?
2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582 (exit $ac_status); }
2583 am_cv_lispdir=`sed -n \
2584 -e 's,/$,,' \
2585 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2586 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
2587 conftest.out`
2588 rm conftest.out
2589 fi
2590 fi
2591 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2592
2593fi
2594{ echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2595echo "${ECHO_T}$am_cv_lispdir" >&6; }
2596 lispdir="$am_cv_lispdir"
2597
2598fi
2599
2600
2601
2602
2603
2604## ------------ ##
2605## Grep & sed. ##
2606## ------------ ##
2607{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2608echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2609if test "${ac_cv_path_GREP+set}" = set; then
2610 echo $ECHO_N "(cached) $ECHO_C" >&6
2611else
2612 # Extract the first word of "grep ggrep" to use in msg output
2613if test -z "$GREP"; then
2614set dummy grep ggrep; ac_prog_name=$2
2615if test "${ac_cv_path_GREP+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6
2617else
2618 ac_path_GREP_found=false
2619# Loop through the user's path and test for each of PROGNAME-LIST
2620as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2622do
2623 IFS=$as_save_IFS
2624 test -z "$as_dir" && as_dir=.
2625 for ac_prog in grep ggrep; do
2626 for ac_exec_ext in '' $ac_executable_extensions; do
2627 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2628 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2629 # Check for GNU ac_path_GREP and select it if it is found.
2630 # Check for GNU $ac_path_GREP
2631case `"$ac_path_GREP" --version 2>&1` in
2632*GNU*)
2633 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2634*)
2635 ac_count=0
2636 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2637 while :
2638 do
2639 cat "conftest.in" "conftest.in" >"conftest.tmp"
2640 mv "conftest.tmp" "conftest.in"
2641 cp "conftest.in" "conftest.nl"
2642 echo 'GREP' >> "conftest.nl"
2643 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2644 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2645 ac_count=`expr $ac_count + 1`
2646 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2647 # Best one so far, save it but keep looking for a better one
2648 ac_cv_path_GREP="$ac_path_GREP"
2649 ac_path_GREP_max=$ac_count
2650 fi
2651 # 10*(2^10) chars as input seems more than enough
2652 test $ac_count -gt 10 && break
2653 done
2654 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2655esac
2656
2657
2658 $ac_path_GREP_found && break 3
2659 done
2660done
2661
2662done
2663IFS=$as_save_IFS
2664
2665
2666fi
2667
2668GREP="$ac_cv_path_GREP"
2669if test -z "$GREP"; then
2670 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2671echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2672 { (exit 1); exit 1; }; }
2673fi
2674
2675else
2676 ac_cv_path_GREP=$GREP
2677fi
2678
2679
2680fi
2681{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2682echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2683 GREP="$ac_cv_path_GREP"
2684
2685
2686{ echo "$as_me:$LINENO: checking for egrep" >&5
2687echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2688if test "${ac_cv_path_EGREP+set}" = set; then
2689 echo $ECHO_N "(cached) $ECHO_C" >&6
2690else
2691 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2692 then ac_cv_path_EGREP="$GREP -E"
2693 else
2694 # Extract the first word of "egrep" to use in msg output
2695if test -z "$EGREP"; then
2696set dummy egrep; ac_prog_name=$2
2697if test "${ac_cv_path_EGREP+set}" = set; then
2698 echo $ECHO_N "(cached) $ECHO_C" >&6
2699else
2700 ac_path_EGREP_found=false
2701# Loop through the user's path and test for each of PROGNAME-LIST
2702as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2704do
2705 IFS=$as_save_IFS
2706 test -z "$as_dir" && as_dir=.
2707 for ac_prog in egrep; do
2708 for ac_exec_ext in '' $ac_executable_extensions; do
2709 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2710 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2711 # Check for GNU ac_path_EGREP and select it if it is found.
2712 # Check for GNU $ac_path_EGREP
2713case `"$ac_path_EGREP" --version 2>&1` in
2714*GNU*)
2715 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2716*)
2717 ac_count=0
2718 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2719 while :
2720 do
2721 cat "conftest.in" "conftest.in" >"conftest.tmp"
2722 mv "conftest.tmp" "conftest.in"
2723 cp "conftest.in" "conftest.nl"
2724 echo 'EGREP' >> "conftest.nl"
2725 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2726 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2727 ac_count=`expr $ac_count + 1`
2728 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2729 # Best one so far, save it but keep looking for a better one
2730 ac_cv_path_EGREP="$ac_path_EGREP"
2731 ac_path_EGREP_max=$ac_count
2732 fi
2733 # 10*(2^10) chars as input seems more than enough
2734 test $ac_count -gt 10 && break
2735 done
2736 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2737esac
2738
2739
2740 $ac_path_EGREP_found && break 3
2741 done
2742done
2743
2744done
2745IFS=$as_save_IFS
2746
2747
2748fi
2749
2750EGREP="$ac_cv_path_EGREP"
2751if test -z "$EGREP"; then
2752 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2753echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2754 { (exit 1); exit 1; }; }
2755fi
2756
2757else
2758 ac_cv_path_EGREP=$EGREP
2759fi
2760
2761
2762 fi
2763fi
2764{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2765echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2766 EGREP="$ac_cv_path_EGREP"
2767
2768
2769{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2770echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
2771if test "${ac_cv_path_SED+set}" = set; then
2772 echo $ECHO_N "(cached) $ECHO_C" >&6
2773else
2774 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2775 for ac_i in 1 2 3 4 5 6 7; do
2776 ac_script="$ac_script$as_nl$ac_script"
2777 done
2778 echo "$ac_script" | sed 99q >conftest.sed
2779 $as_unset ac_script || ac_script=
2780 # Extract the first word of "sed gsed" to use in msg output
2781if test -z "$SED"; then
2782set dummy sed gsed; ac_prog_name=$2
2783if test "${ac_cv_path_SED+set}" = set; then
2784 echo $ECHO_N "(cached) $ECHO_C" >&6
2785else
2786 ac_path_SED_found=false
2787# Loop through the user's path and test for each of PROGNAME-LIST
2788as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789for as_dir in $PATH
2790do
2791 IFS=$as_save_IFS
2792 test -z "$as_dir" && as_dir=.
2793 for ac_prog in sed gsed; do
2794 for ac_exec_ext in '' $ac_executable_extensions; do
2795 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2796 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2797 # Check for GNU ac_path_SED and select it if it is found.
2798 # Check for GNU $ac_path_SED
2799case `"$ac_path_SED" --version 2>&1` in
2800*GNU*)
2801 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2802*)
2803 ac_count=0
2804 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2805 while :
2806 do
2807 cat "conftest.in" "conftest.in" >"conftest.tmp"
2808 mv "conftest.tmp" "conftest.in"
2809 cp "conftest.in" "conftest.nl"
2810 echo '' >> "conftest.nl"
2811 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2812 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2813 ac_count=`expr $ac_count + 1`
2814 if test $ac_count -gt ${ac_path_SED_max-0}; then
2815 # Best one so far, save it but keep looking for a better one
2816 ac_cv_path_SED="$ac_path_SED"
2817 ac_path_SED_max=$ac_count
2818 fi
2819 # 10*(2^10) chars as input seems more than enough
2820 test $ac_count -gt 10 && break
2821 done
2822 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2823esac
2824
2825
2826 $ac_path_SED_found && break 3
2827 done
2828done
2829
2830done
2831IFS=$as_save_IFS
2832
2833
2834fi
2835
2836SED="$ac_cv_path_SED"
2837if test -z "$SED"; then
2838 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2839echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2840 { (exit 1); exit 1; }; }
2841fi
2842
2843else
2844 ac_cv_path_SED=$SED
2845fi
2846
2847fi
2848{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2849echo "${ECHO_T}$ac_cv_path_SED" >&6; }
2850 SED="$ac_cv_path_SED"
2851 rm -f conftest.sed
2852
2853
2854
2855## ------------ ##
2856## Conclusion. ##
2857## ------------ ##
2858
2859ac_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"
2860
2861
2862cat >confcache <<\_ACEOF
2863# This file is a shell script that caches the results of configure
2864# tests run on this system so they can be shared between configure
2865# scripts and configure runs, see configure's option --config-cache.
2866# It is not useful on other systems. If it contains results you don't
2867# want to keep, you may remove or edit it.
2868#
2869# config.status only pays attention to the cache file if you give it
2870# the --recheck option to rerun configure.
2871#
2872# `ac_cv_env_foo' variables (set or unset) will be overridden when
2873# loading this file, other *unset* `ac_cv_foo' will be assigned the
2874# following values.
2875
2876_ACEOF
2877
2878# The following way of writing the cache mishandles newlines in values,
2879# but we know of no workaround that is simple, portable, and efficient.
2880# So, we kill variables containing newlines.
2881# Ultrix sh set writes to stderr and can't be redirected directly,
2882# and sets the high bit in the cache file unless we assign to the vars.
2883(
2884 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2885 eval ac_val=\$$ac_var
2886 case $ac_val in #(
2887 *${as_nl}*)
2888 case $ac_var in #(
2889 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2890echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2891 esac
2892 case $ac_var in #(
2893 _ | IFS | as_nl) ;; #(
2894 *) $as_unset $ac_var ;;
2895 esac ;;
2896 esac
2897 done
2898
2899 (set) 2>&1 |
2900 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2901 *${as_nl}ac_space=\ *)
2902 # `set' does not quote correctly, so add quotes (double-quote
2903 # substitution turns \\\\ into \\, and sed turns \\ into \).
2904 sed -n \
2905 "s/'/'\\\\''/g;
2906 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2907 ;; #(
2908 *)
2909 # `set' quotes correctly as required by POSIX, so do not add quotes.
2910 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2911 ;;
2912 esac |
2913 sort
2914) |
2915 sed '
2916 /^ac_cv_env_/b end
2917 t clear
2918 :clear
2919 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2920 t end
2921 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2922 :end' >>confcache
2923if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2924 if test -w "$cache_file"; then
2925 test "x$cache_file" != "x/dev/null" &&
2926 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2927echo "$as_me: updating cache $cache_file" >&6;}
2928 cat confcache >$cache_file
2929 else
2930 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2931echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2932 fi
2933fi
2934rm -f confcache
2935
2936test "x$prefix" = xNONE && prefix=$ac_default_prefix
2937# Let make expand exec_prefix.
2938test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2939
2940# Transform confdefs.h into DEFS.
2941# Protect against shell expansion while executing Makefile rules.
2942# Protect against Makefile macro expansion.
2943#
2944# If the first sed substitution is executed (which looks for macros that
2945# take arguments), then branch to the quote section. Otherwise,
2946# look for a macro that doesn't take arguments.
2947ac_script='
2948t clear
2949:clear
2950s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2951t quote
2952s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2953t quote
2954b any
2955:quote
2956s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2957s/\[/\\&/g
2958s/\]/\\&/g
2959s/\$/$$/g
2960H
2961:any
2962${
2963 g
2964 s/^\n//
2965 s/\n/ /g
2966 p
2967}
2968'
2969DEFS=`sed -n "$ac_script" confdefs.h`
2970
2971
2972ac_libobjs=
2973ac_ltlibobjs=
2974for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2975 # 1. Remove the extension, and $U if already installed.
2976 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2977 ac_i=`echo "$ac_i" | sed "$ac_script"`
2978 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2979 # will be set to the directory where LIBOBJS objects are built.
2980 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2981 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2982done
2983LIBOBJS=$ac_libobjs
2984
2985LTLIBOBJS=$ac_ltlibobjs
2986
2987
2988
2989: ${CONFIG_STATUS=./config.status}
2990ac_clean_files_save=$ac_clean_files
2991ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2992{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2993echo "$as_me: creating $CONFIG_STATUS" >&6;}
2994cat >$CONFIG_STATUS <<_ACEOF
2995#! $SHELL
2996# Generated by $as_me.
2997# Run this file to recreate the current configuration.
2998# Compiler output produced by configure, useful for debugging
2999# configure, is in config.log if it exists.
3000
3001debug=false
3002ac_cs_recheck=false
3003ac_cs_silent=false
3004SHELL=\${CONFIG_SHELL-$SHELL}
3005_ACEOF
3006
3007cat >>$CONFIG_STATUS <<\_ACEOF
3008## --------------------- ##
3009## M4sh Initialization. ##
3010## --------------------- ##
3011
3012# Be more Bourne compatible
3013DUALCASE=1; export DUALCASE # for MKS sh
3014if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3015 emulate sh
3016 NULLCMD=:
3017 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3018 # is contrary to our usage. Disable this feature.
3019 alias -g '${1+"$@"}'='"$@"'
3020 setopt NO_GLOB_SUBST
3021else
3022 case `(set -o) 2>/dev/null` in
3023 *posix*) set -o posix ;;
3024esac
3025
3026fi
3027
3028
3029
3030
3031# PATH needs CR
3032# Avoid depending upon Character Ranges.
3033as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3034as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3035as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3036as_cr_digits='0123456789'
3037as_cr_alnum=$as_cr_Letters$as_cr_digits
3038
3039# The user is always right.
3040if test "${PATH_SEPARATOR+set}" != set; then
3041 echo "#! /bin/sh" >conf$$.sh
3042 echo "exit 0" >>conf$$.sh
3043 chmod +x conf$$.sh
3044 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3045 PATH_SEPARATOR=';'
3046 else
3047 PATH_SEPARATOR=:
3048 fi
3049 rm -f conf$$.sh
3050fi
3051
3052# Support unset when possible.
3053if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3054 as_unset=unset
3055else
3056 as_unset=false
3057fi
3058
3059
3060# IFS
3061# We need space, tab and new line, in precisely that order. Quoting is
3062# there to prevent editors from complaining about space-tab.
3063# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3064# splitting by setting IFS to empty value.)
3065as_nl='
3066'
3067IFS=" "" $as_nl"
3068
3069# Find who we are. Look in the path if we contain no directory separator.
3070case $0 in
3071 *[\\/]* ) as_myself=$0 ;;
3072 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073for as_dir in $PATH
3074do
3075 IFS=$as_save_IFS
3076 test -z "$as_dir" && as_dir=.
3077 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3078done
3079IFS=$as_save_IFS
3080
3081 ;;
3082esac
3083# We did not find ourselves, most probably we were run as `sh COMMAND'
3084# in which case we are not to be found in the path.
3085if test "x$as_myself" = x; then
3086 as_myself=$0
3087fi
3088if test ! -f "$as_myself"; then
3089 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3090 { (exit 1); exit 1; }
3091fi
3092
3093# Work around bugs in pre-3.0 UWIN ksh.
3094for as_var in ENV MAIL MAILPATH
3095do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3096done
3097PS1='$ '
3098PS2='> '
3099PS4='+ '
3100
3101# NLS nuisances.
3102for as_var in \
3103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3105 LC_TELEPHONE LC_TIME
3106do
3107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3108 eval $as_var=C; export $as_var
3109 else
3110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3111 fi
3112done
3113
3114# Required to use basename.
3115if expr a : '\(a\)' >/dev/null 2>&1 &&
3116 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3117 as_expr=expr
3118else
3119 as_expr=false
3120fi
3121
3122if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3123 as_basename=basename
3124else
3125 as_basename=false
3126fi
3127
3128
3129# Name of the executable.
3130as_me=`$as_basename -- "$0" ||
3131$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3132 X"$0" : 'X\(//\)$' \| \
3133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3134echo X/"$0" |
3135 sed '/^.*\/\([^/][^/]*\)\/*$/{
3136 s//\1/
3137 q
3138 }
3139 /^X\/\(\/\/\)$/{
3140 s//\1/
3141 q
3142 }
3143 /^X\/\(\/\).*/{
3144 s//\1/
3145 q
3146 }
3147 s/.*/./; q'`
3148
3149# CDPATH.
3150$as_unset CDPATH
3151
3152
3153
3154 as_lineno_1=$LINENO
3155 as_lineno_2=$LINENO
3156 test "x$as_lineno_1" != "x$as_lineno_2" &&
3157 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3158
3159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3160 # uniformly replaced by the line number. The first 'sed' inserts a
3161 # line-number line after each line using $LINENO; the second 'sed'
3162 # does the real work. The second script uses 'N' to pair each
3163 # line-number line with the line containing $LINENO, and appends
3164 # trailing '-' during substitution so that $LINENO is not a special
3165 # case at line end.
3166 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3167 # scripts with optimization help from Paolo Bonzini. Blame Lee
3168 # E. McMahon (1931-1989) for sed's syntax. :-)
3169 sed -n '
3170 p
3171 /[$]LINENO/=
3172 ' <$as_myself |
3173 sed '
3174 s/[$]LINENO.*/&-/
3175 t lineno
3176 b
3177 :lineno
3178 N
3179 :loop
3180 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3181 t loop
3182 s/-\n.*//
3183 ' >$as_me.lineno &&
3184 chmod +x "$as_me.lineno" ||
3185 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3186 { (exit 1); exit 1; }; }
3187
3188 # Don't try to exec as it changes $[0], causing all sort of problems
3189 # (the dirname of $[0] is not the place where we might find the
3190 # original and so on. Autoconf is especially sensitive to this).
3191 . "./$as_me.lineno"
3192 # Exit status is that of the last command.
3193 exit
3194}
3195
3196
3197if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3198 as_dirname=dirname
3199else
3200 as_dirname=false
3201fi
3202
3203ECHO_C= ECHO_N= ECHO_T=
3204case `echo -n x` in
3205-n*)
3206 case `echo 'x\c'` in
3207 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3208 *) ECHO_C='\c';;
3209 esac;;
3210*)
3211 ECHO_N='-n';;
3212esac
3213
3214if expr a : '\(a\)' >/dev/null 2>&1 &&
3215 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3216 as_expr=expr
3217else
3218 as_expr=false
3219fi
3220
3221rm -f conf$$ conf$$.exe conf$$.file
3222if test -d conf$$.dir; then
3223 rm -f conf$$.dir/conf$$.file
3224else
3225 rm -f conf$$.dir
3226 mkdir conf$$.dir
3227fi
3228echo >conf$$.file
3229if ln -s conf$$.file conf$$ 2>/dev/null; then
3230 as_ln_s='ln -s'
3231 # ... but there are two gotchas:
3232 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3233 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3234 # In both cases, we have to default to `cp -p'.
3235 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3236 as_ln_s='cp -p'
3237elif ln conf$$.file conf$$ 2>/dev/null; then
3238 as_ln_s=ln
3239else
3240 as_ln_s='cp -p'
3241fi
3242rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3243rmdir conf$$.dir 2>/dev/null
3244
3245if mkdir -p . 2>/dev/null; then
3246 as_mkdir_p=:
3247else
3248 test -d ./-p && rmdir ./-p
3249 as_mkdir_p=false
3250fi
3251
3252if test -x / >/dev/null 2>&1; then
3253 as_test_x='test -x'
3254else
3255 if ls -dL / >/dev/null 2>&1; then
3256 as_ls_L_option=L
3257 else
3258 as_ls_L_option=
3259 fi
3260 as_test_x='
3261 eval sh -c '\''
3262 if test -d "$1"; then
3263 test -d "$1/.";
3264 else
3265 case $1 in
3266 -*)set "./$1";;
3267 esac;
3268 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3269 ???[sx]*):;;*)false;;esac;fi
3270 '\'' sh
3271 '
3272fi
3273as_executable_p=$as_test_x
3274
3275# Sed expression to map a string onto a valid CPP name.
3276as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3277
3278# Sed expression to map a string onto a valid variable name.
3279as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3280
3281
3282exec 6>&1
3283
3284# Save the log message, to keep $[0] and so on meaningful, and to
3285# report actual input values of CONFIG_FILES etc. instead of their
3286# values after options handling.
3287ac_log="
3288This file was extended by GNU Autoconf $as_me 2.61, which was
3289generated by GNU Autoconf 2.61. Invocation command line was
3290
3291 CONFIG_FILES = $CONFIG_FILES
3292 CONFIG_HEADERS = $CONFIG_HEADERS
3293 CONFIG_LINKS = $CONFIG_LINKS
3294 CONFIG_COMMANDS = $CONFIG_COMMANDS
3295 $ $0 $@
3296
3297on `(hostname || uname -n) 2>/dev/null | sed 1q`
3298"
3299
3300_ACEOF
3301
3302cat >>$CONFIG_STATUS <<_ACEOF
3303# Files that config.status was made for.
3304config_files="$ac_config_files"
3305config_commands="$ac_config_commands"
3306
3307_ACEOF
3308
3309cat >>$CONFIG_STATUS <<\_ACEOF
3310ac_cs_usage="\
3311\`$as_me' instantiates files from templates according to the
3312current configuration.
3313
3314Usage: $0 [OPTIONS] [FILE]...
3315
3316 -h, --help print this help, then exit
3317 -V, --version print version number and configuration settings, then exit
3318 -q, --quiet do not print progress messages
3319 -d, --debug don't remove temporary files
3320 --recheck update $as_me by reconfiguring in the same conditions
3321 --file=FILE[:TEMPLATE]
3322 instantiate the configuration file FILE
3323
3324Configuration files:
3325$config_files
3326
3327Configuration commands:
3328$config_commands
3329
3330Report bugs to <bug-autoconf@gnu.org>."
3331
3332_ACEOF
3333cat >>$CONFIG_STATUS <<_ACEOF
3334ac_cs_version="\\
3335GNU Autoconf config.status 2.61
3336configured by $0, generated by GNU Autoconf 2.61,
3337 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3338
3339Copyright (C) 2006 Free Software Foundation, Inc.
3340This config.status script is free software; the Free Software Foundation
3341gives unlimited permission to copy, distribute and modify it."
3342
3343ac_pwd='$ac_pwd'
3344srcdir='$srcdir'
3345INSTALL='$INSTALL'
3346MKDIR_P='$MKDIR_P'
3347_ACEOF
3348
3349cat >>$CONFIG_STATUS <<\_ACEOF
3350# If no file are specified by the user, then we need to provide default
3351# value. By we need to know if files were specified by the user.
3352ac_need_defaults=:
3353while test $# != 0
3354do
3355 case $1 in
3356 --*=*)
3357 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3358 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3359 ac_shift=:
3360 ;;
3361 *)
3362 ac_option=$1
3363 ac_optarg=$2
3364 ac_shift=shift
3365 ;;
3366 esac
3367
3368 case $ac_option in
3369 # Handling of the options.
3370 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3371 ac_cs_recheck=: ;;
3372 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3373 echo "$ac_cs_version"; exit ;;
3374 --debug | --debu | --deb | --de | --d | -d )
3375 debug=: ;;
3376 --file | --fil | --fi | --f )
3377 $ac_shift
3378 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3379 ac_need_defaults=false;;
3380 --he | --h | --help | --hel | -h )
3381 echo "$ac_cs_usage"; exit ;;
3382 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3383 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3384 ac_cs_silent=: ;;
3385
3386 # This is an error.
3387 -*) { echo "$as_me: error: unrecognized option: $1
3388Try \`$0 --help' for more information." >&2
3389 { (exit 1); exit 1; }; } ;;
3390
3391 *) ac_config_targets="$ac_config_targets $1"
3392 ac_need_defaults=false ;;
3393
3394 esac
3395 shift
3396done
3397
3398ac_configure_extra_args=
3399
3400if $ac_cs_silent; then
3401 exec 6>/dev/null
3402 ac_configure_extra_args="$ac_configure_extra_args --silent"
3403fi
3404
3405_ACEOF
3406cat >>$CONFIG_STATUS <<_ACEOF
3407if \$ac_cs_recheck; then
3408 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3409 CONFIG_SHELL=$SHELL
3410 export CONFIG_SHELL
3411 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3412fi
3413
3414_ACEOF
3415cat >>$CONFIG_STATUS <<\_ACEOF
3416exec 5>>config.log
3417{
3418 echo
3419 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3420## Running $as_me. ##
3421_ASBOX
3422 echo "$ac_log"
3423} >&5
3424
3425_ACEOF
3426cat >>$CONFIG_STATUS <<_ACEOF
3427_ACEOF
3428
3429cat >>$CONFIG_STATUS <<\_ACEOF
3430
3431# Handling of arguments.
3432for ac_config_target in $ac_config_targets
3433do
3434 case $ac_config_target in
3435 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3436 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3437 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3438 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3439 "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3440 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3441 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3442 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3443 "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3444 "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3445 "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3446 "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3447 "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3448 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3449
3450 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3451echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3452 { (exit 1); exit 1; }; };;
3453 esac
3454done
3455
3456
3457# If the user did not use the arguments to specify the items to instantiate,
3458# then the envvar interface is used. Set only those that are not.
3459# We use the long form for the default assignment because of an extremely
3460# bizarre bug on SunOS 4.1.3.
3461if $ac_need_defaults; then
3462 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3463 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3464fi
3465
3466# Have a temporary directory for convenience. Make it in the build tree
3467# simply because there is no reason against having it here, and in addition,
3468# creating and moving files from /tmp can sometimes cause problems.
3469# Hook for its removal unless debugging.
3470# Note that there is a small window in which the directory will not be cleaned:
3471# after its creation but before its name has been assigned to `$tmp'.
3472$debug ||
3473{
3474 tmp=
3475 trap 'exit_status=$?
3476 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3477' 0
3478 trap '{ (exit 1); exit 1; }' 1 2 13 15
3479}
3480# Create a (secure) tmp directory for tmp files.
3481
3482{
3483 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3484 test -n "$tmp" && test -d "$tmp"
3485} ||
3486{
3487 tmp=./conf$$-$RANDOM
3488 (umask 077 && mkdir "$tmp")
3489} ||
3490{
3491 echo "$me: cannot create a temporary directory in ." >&2
3492 { (exit 1); exit 1; }
3493}
3494
3495#
3496# Set up the sed scripts for CONFIG_FILES section.
3497#
3498
3499# No need to generate the scripts if there are no CONFIG_FILES.
3500# This happens for instance when ./config.status config.h
3501if test -n "$CONFIG_FILES"; then
3502
3503_ACEOF
3504
3505
3506
3507ac_delim='%!_!# '
3508for ac_last_try in false false false false false :; do
3509 cat >conf$$subs.sed <<_ACEOF
3510SHELL!$SHELL$ac_delim
3511PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3512PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3513PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3514PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3515PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3516PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3517exec_prefix!$exec_prefix$ac_delim
3518prefix!$prefix$ac_delim
3519program_transform_name!$program_transform_name$ac_delim
3520bindir!$bindir$ac_delim
3521sbindir!$sbindir$ac_delim
3522libexecdir!$libexecdir$ac_delim
3523datarootdir!$datarootdir$ac_delim
3524datadir!$datadir$ac_delim
3525sysconfdir!$sysconfdir$ac_delim
3526sharedstatedir!$sharedstatedir$ac_delim
3527localstatedir!$localstatedir$ac_delim
3528includedir!$includedir$ac_delim
3529oldincludedir!$oldincludedir$ac_delim
3530docdir!$docdir$ac_delim
3531infodir!$infodir$ac_delim
3532htmldir!$htmldir$ac_delim
3533dvidir!$dvidir$ac_delim
3534pdfdir!$pdfdir$ac_delim
3535psdir!$psdir$ac_delim
3536libdir!$libdir$ac_delim
3537localedir!$localedir$ac_delim
3538mandir!$mandir$ac_delim
3539DEFS!$DEFS$ac_delim
3540ECHO_C!$ECHO_C$ac_delim
3541ECHO_N!$ECHO_N$ac_delim
3542ECHO_T!$ECHO_T$ac_delim
3543LIBS!$LIBS$ac_delim
3544build_alias!$build_alias$ac_delim
3545host_alias!$host_alias$ac_delim
3546target_alias!$target_alias$ac_delim
3547INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3548INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3549INSTALL_DATA!$INSTALL_DATA$ac_delim
3550am__isrc!$am__isrc$ac_delim
3551CYGPATH_W!$CYGPATH_W$ac_delim
3552PACKAGE!$PACKAGE$ac_delim
3553VERSION!$VERSION$ac_delim
3554ACLOCAL!$ACLOCAL$ac_delim
3555AUTOCONF!$AUTOCONF$ac_delim
3556AUTOMAKE!$AUTOMAKE$ac_delim
3557AUTOHEADER!$AUTOHEADER$ac_delim
3558MAKEINFO!$MAKEINFO$ac_delim
3559install_sh!$install_sh$ac_delim
3560STRIP!$STRIP$ac_delim
3561INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3562mkdir_p!$mkdir_p$ac_delim
3563AWK!$AWK$ac_delim
3564SET_MAKE!$SET_MAKE$ac_delim
3565am__leading_dot!$am__leading_dot$ac_delim
3566AMTAR!$AMTAR$ac_delim
3567am__tar!$am__tar$ac_delim
3568am__untar!$am__untar$ac_delim
3569ac_cv_sh_n_works!$ac_cv_sh_n_works$ac_delim
3570EXPR!$EXPR$ac_delim
3571M4!$M4$ac_delim
3572M4_DEBUGFILE!$M4_DEBUGFILE$ac_delim
3573HELP2MAN!$HELP2MAN$ac_delim
3574PERL!$PERL$ac_delim
3575TEST_EMACS!$TEST_EMACS$ac_delim
3576EMACS!$EMACS$ac_delim
3577EMACSLOADPATH!$EMACSLOADPATH$ac_delim
3578lispdir!$lispdir$ac_delim
3579GREP!$GREP$ac_delim
3580EGREP!$EGREP$ac_delim
3581SED!$SED$ac_delim
3582LIBOBJS!$LIBOBJS$ac_delim
3583LTLIBOBJS!$LTLIBOBJS$ac_delim
3584_ACEOF
3585
3586 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
3587 break
3588 elif $ac_last_try; then
3589 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3590echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3591 { (exit 1); exit 1; }; }
3592 else
3593 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3594 fi
3595done
3596
3597ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3598if test -n "$ac_eof"; then
3599 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3600 ac_eof=`expr $ac_eof + 1`
3601fi
3602
3603cat >>$CONFIG_STATUS <<_ACEOF
3604cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3605/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3606_ACEOF
3607sed '
3608s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3609s/^/s,@/; s/!/@,|#_!!_#|/
3610:n
3611t n
3612s/'"$ac_delim"'$/,g/; t
3613s/$/\\/; p
3614N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3615' >>$CONFIG_STATUS <conf$$subs.sed
3616rm -f conf$$subs.sed
3617cat >>$CONFIG_STATUS <<_ACEOF
3618:end
3619s/|#_!!_#|//g
3620CEOF$ac_eof
3621_ACEOF
3622
3623
3624# VPATH may cause trouble with some makes, so we remove $(srcdir),
3625# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3626# trailing colons and then remove the whole line if VPATH becomes empty
3627# (actually we leave an empty line to preserve line numbers).
3628if test "x$srcdir" = x.; then
3629 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3630s/:*\$(srcdir):*/:/
3631s/:*\${srcdir}:*/:/
3632s/:*@srcdir@:*/:/
3633s/^\([^=]*=[ ]*\):*/\1/
3634s/:*$//
3635s/^[^=]*=[ ]*$//
3636}'
3637fi
3638
3639cat >>$CONFIG_STATUS <<\_ACEOF
3640fi # test -n "$CONFIG_FILES"
3641
3642
3643for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3644do
3645 case $ac_tag in
3646 :[FHLC]) ac_mode=$ac_tag; continue;;
3647 esac
3648 case $ac_mode$ac_tag in
3649 :[FHL]*:*);;
3650 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3651echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3652 { (exit 1); exit 1; }; };;
3653 :[FH]-) ac_tag=-:-;;
3654 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3655 esac
3656 ac_save_IFS=$IFS
3657 IFS=:
3658 set x $ac_tag
3659 IFS=$ac_save_IFS
3660 shift
3661 ac_file=$1
3662 shift
3663
3664 case $ac_mode in
3665 :L) ac_source=$1;;
3666 :[FH])
3667 ac_file_inputs=
3668 for ac_f
3669 do
3670 case $ac_f in
3671 -) ac_f="$tmp/stdin";;
3672 *) # Look for the file first in the build tree, then in the source tree
3673 # (if the path is not absolute). The absolute path cannot be DOS-style,
3674 # because $ac_f cannot contain `:'.
3675 test -f "$ac_f" ||
3676 case $ac_f in
3677 [\\/$]*) false;;
3678 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3679 esac ||
3680 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3681echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3682 { (exit 1); exit 1; }; };;
3683 esac
3684 ac_file_inputs="$ac_file_inputs $ac_f"
3685 done
3686
3687 # Let's still pretend it is `configure' which instantiates (i.e., don't
3688 # use $as_me), people would be surprised to read:
3689 # /* config.h. Generated by config.status. */
3690 configure_input="Generated from "`IFS=:
3691 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3692 if test x"$ac_file" != x-; then
3693 configure_input="$ac_file. $configure_input"
3694 { echo "$as_me:$LINENO: creating $ac_file" >&5
3695echo "$as_me: creating $ac_file" >&6;}
3696 fi
3697
3698 case $ac_tag in
3699 *:-:* | *:-) cat >"$tmp/stdin";;
3700 esac
3701 ;;
3702 esac
3703
3704 ac_dir=`$as_dirname -- "$ac_file" ||
3705$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3706 X"$ac_file" : 'X\(//\)[^/]' \| \
3707 X"$ac_file" : 'X\(//\)$' \| \
3708 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3709echo X"$ac_file" |
3710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3711 s//\1/
3712 q
3713 }
3714 /^X\(\/\/\)[^/].*/{
3715 s//\1/
3716 q
3717 }
3718 /^X\(\/\/\)$/{
3719 s//\1/
3720 q
3721 }
3722 /^X\(\/\).*/{
3723 s//\1/
3724 q
3725 }
3726 s/.*/./; q'`
3727 { as_dir="$ac_dir"
3728 case $as_dir in #(
3729 -*) as_dir=./$as_dir;;
3730 esac
3731 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3732 as_dirs=
3733 while :; do
3734 case $as_dir in #(
3735 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3736 *) as_qdir=$as_dir;;
3737 esac
3738 as_dirs="'$as_qdir' $as_dirs"
3739 as_dir=`$as_dirname -- "$as_dir" ||
3740$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3741 X"$as_dir" : 'X\(//\)[^/]' \| \
3742 X"$as_dir" : 'X\(//\)$' \| \
3743 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3744echo X"$as_dir" |
3745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3746 s//\1/
3747 q
3748 }
3749 /^X\(\/\/\)[^/].*/{
3750 s//\1/
3751 q
3752 }
3753 /^X\(\/\/\)$/{
3754 s//\1/
3755 q
3756 }
3757 /^X\(\/\).*/{
3758 s//\1/
3759 q
3760 }
3761 s/.*/./; q'`
3762 test -d "$as_dir" && break
3763 done
3764 test -z "$as_dirs" || eval "mkdir $as_dirs"
3765 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3766echo "$as_me: error: cannot create directory $as_dir" >&2;}
3767 { (exit 1); exit 1; }; }; }
3768 ac_builddir=.
3769
3770case "$ac_dir" in
3771.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3772*)
3773 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3774 # A ".." for each directory in $ac_dir_suffix.
3775 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3776 case $ac_top_builddir_sub in
3777 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3778 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3779 esac ;;
3780esac
3781ac_abs_top_builddir=$ac_pwd
3782ac_abs_builddir=$ac_pwd$ac_dir_suffix
3783# for backward compatibility:
3784ac_top_builddir=$ac_top_build_prefix
3785
3786case $srcdir in
3787 .) # We are building in place.
3788 ac_srcdir=.
3789 ac_top_srcdir=$ac_top_builddir_sub
3790 ac_abs_top_srcdir=$ac_pwd ;;
3791 [\\/]* | ?:[\\/]* ) # Absolute name.
3792 ac_srcdir=$srcdir$ac_dir_suffix;
3793 ac_top_srcdir=$srcdir
3794 ac_abs_top_srcdir=$srcdir ;;
3795 *) # Relative name.
3796 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3797 ac_top_srcdir=$ac_top_build_prefix$srcdir
3798 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3799esac
3800ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3801
3802
3803 case $ac_mode in
3804 :F)
3805 #
3806 # CONFIG_FILE
3807 #
3808
3809 case $INSTALL in
3810 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3811 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3812 esac
3813 ac_MKDIR_P=$MKDIR_P
3814 case $MKDIR_P in
3815 [\\/$]* | ?:[\\/]* ) ;;
3816 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3817 esac
3818_ACEOF
3819
3820cat >>$CONFIG_STATUS <<\_ACEOF
3821# If the template does not know about datarootdir, expand it.
3822# FIXME: This hack should be removed a few years after 2.60.
3823ac_datarootdir_hack=; ac_datarootdir_seen=
3824
3825case `sed -n '/datarootdir/ {
3826 p
3827 q
3828}
3829/@datadir@/p
3830/@docdir@/p
3831/@infodir@/p
3832/@localedir@/p
3833/@mandir@/p
3834' $ac_file_inputs` in
3835*datarootdir*) ac_datarootdir_seen=yes;;
3836*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3837 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3838echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3839_ACEOF
3840cat >>$CONFIG_STATUS <<_ACEOF
3841 ac_datarootdir_hack='
3842 s&@datadir@&$datadir&g
3843 s&@docdir@&$docdir&g
3844 s&@infodir@&$infodir&g
3845 s&@localedir@&$localedir&g
3846 s&@mandir@&$mandir&g
3847 s&\\\${datarootdir}&$datarootdir&g' ;;
3848esac
3849_ACEOF
3850
3851# Neutralize VPATH when `$srcdir' = `.'.
3852# Shell code in configure.ac might set extrasub.
3853# FIXME: do we really want to maintain this feature?
3854cat >>$CONFIG_STATUS <<_ACEOF
3855 sed "$ac_vpsub
3856$extrasub
3857_ACEOF
3858cat >>$CONFIG_STATUS <<\_ACEOF
3859:t
3860/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3861s&@configure_input@&$configure_input&;t t
3862s&@top_builddir@&$ac_top_builddir_sub&;t t
3863s&@srcdir@&$ac_srcdir&;t t
3864s&@abs_srcdir@&$ac_abs_srcdir&;t t
3865s&@top_srcdir@&$ac_top_srcdir&;t t
3866s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3867s&@builddir@&$ac_builddir&;t t
3868s&@abs_builddir@&$ac_abs_builddir&;t t
3869s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3870s&@INSTALL@&$ac_INSTALL&;t t
3871s&@MKDIR_P@&$ac_MKDIR_P&;t t
3872$ac_datarootdir_hack
3873" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3874
3875test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3876 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3877 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3878 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3879which seems to be undefined. Please make sure it is defined." >&5
3880echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3881which seems to be undefined. Please make sure it is defined." >&2;}
3882
3883 rm -f "$tmp/stdin"
3884 case $ac_file in
3885 -) cat "$tmp/out"; rm -f "$tmp/out";;
3886 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3887 esac
3888 ;;
3889
3890
3891 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
3892echo "$as_me: executing $ac_file commands" >&6;}
3893 ;;
3894 esac
3895
3896
3897 case $ac_file$ac_mode in
3898 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3899# Configurable variable values for building test suites.
3900# Generated by $0.
3901# Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3902
3903# The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3904at_testdir='tests'
3905abs_builddir='$ac_abs_builddir'
3906at_srcdir='$ac_srcdir'
3907abs_srcdir='$ac_abs_srcdir'
3908at_top_srcdir='$ac_top_srcdir'
3909abs_top_srcdir='$ac_abs_top_srcdir'
3910at_top_build_prefix='$ac_top_build_prefix'
3911abs_top_builddir='$ac_abs_top_builddir'
3912
3913# Backward compatibility with Autotest <= 2.59b:
3914at_top_builddir=\$at_top_build_prefix
3915
3916AUTOTEST_PATH='tests'
3917
3918SHELL=\${CONFIG_SHELL-'$SHELL'}
3919ATEOF
3920 ;;
3921
3922 esac
3923done # for ac_tag
3924
3925
3926{ (exit 0); exit 0; }
3927_ACEOF
3928chmod +x $CONFIG_STATUS
3929ac_clean_files=$ac_clean_files_save
3930
3931
3932# configure is writing to config.log, and then calls config.status.
3933# config.status does its own redirection, appending to config.log.
3934# Unfortunately, on DOS this fails, as config.log is still kept open
3935# by configure, so config.status won't be able to write to it; its
3936# output is simply discarded. So we exec the FD to /dev/null,
3937# effectively closing config.log, so it can be properly (re)opened and
3938# appended to by config.status. When coming back to configure, we
3939# need to make the FD available again.
3940if test "$no_create" != yes; then
3941 ac_cs_success=:
3942 ac_config_status_args=
3943 test "$silent" = yes &&
3944 ac_config_status_args="$ac_config_status_args --quiet"
3945 exec 5>/dev/null
3946 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3947 exec 5>>config.log
3948 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3949 # would make configure fail if this is the last instruction.
3950 $ac_cs_success || { (exit 1); exit 1; }
3951fi
3952
3953# Report the state of this version of Autoconf if this is a beta.
3954
Note: See TracBrowser for help on using the repository browser.