3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.12.1
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --enable-maintainer-mode enable make rules and dependencies not useful
16 (and sometimes confusing) to the casual installer"
18 --disable-nls do not use Native Language Support"
20 --with-included-gettext use the GNU gettext library included here"
22 --with-catgets use catgets functions if available"
24 # Initialize some variables set by options.
25 # The variables have the same names as the options, with
26 # dashes changed to underlines.
28 cache_file
=.
/config.cache
37 program_transform_name
=s
,x
,x
,
45 bindir
='${exec_prefix}/bin'
46 sbindir
='${exec_prefix}/sbin'
47 libexecdir
='${exec_prefix}/libexec'
48 datadir
='${prefix}/share'
49 sysconfdir
='${prefix}/etc'
50 sharedstatedir
='${prefix}/com'
51 localstatedir
='${prefix}/var'
52 libdir
='${exec_prefix}/lib'
53 includedir
='${prefix}/include'
54 oldincludedir
='/usr/include'
55 infodir
='${prefix}/info'
56 mandir
='${prefix}/man'
58 # Initialize some other variables.
61 SHELL
=${CONFIG_SHELL-/bin/sh}
62 # Maximum number of lines to put in a shell here document.
69 # If the previous option needs an argument, assign it.
70 if test -n "$ac_prev"; then
71 eval "$ac_prev=\$ac_option"
77 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
81 # Accept the important Cygnus configure options, so we can diagnose typos.
85 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
87 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
88 bindir
="$ac_optarg" ;;
90 -build |
--build |
--buil |
--bui |
--bu)
92 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
95 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
96 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
98 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
99 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
100 cache_file
="$ac_optarg" ;;
102 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
104 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
106 datadir
="$ac_optarg" ;;
108 -disable-* |
--disable-*)
109 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
110 # Reject names that are not valid shell variable names.
111 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
112 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
114 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
115 eval "enable_${ac_feature}=no" ;;
117 -enable-* |
--enable-*)
118 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
119 # Reject names that are not valid shell variable names.
120 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
121 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
123 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
128 eval "enable_${ac_feature}='$ac_optarg'" ;;
130 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
131 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
132 |
--exec |
--exe |
--ex)
133 ac_prev
=exec_prefix
;;
134 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
135 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
136 |
--exec=* |
--exe=* |
--ex=*)
137 exec_prefix
="$ac_optarg" ;;
139 -gas |
--gas |
--ga |
--g)
140 # Obsolete; use --with-gas.
143 -help |
--help |
--hel |
--he)
144 # Omit some internal or obsolete options to make the list less imposing.
145 # This message is too long to be a string in the A/UX 3.1 sh.
147 Usage: configure [options] [host]
148 Options: [defaults in brackets after descriptions]
150 --cache-file=FILE cache test results in FILE
151 --help print this message
152 --no-create do not create output files
153 --quiet, --silent do not print \`checking...' messages
154 --version print the version of autoconf that created configure
155 Directory and file names:
156 --prefix=PREFIX install architecture-independent files in PREFIX
158 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
160 --bindir=DIR user executables in DIR [EPREFIX/bin]
161 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
162 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
163 --datadir=DIR read-only architecture-independent data in DIR
165 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
166 --sharedstatedir=DIR modifiable architecture-independent data in DIR
168 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
169 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
170 --includedir=DIR C header files in DIR [PREFIX/include]
171 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
172 --infodir=DIR info documentation in DIR [PREFIX/info]
173 --mandir=DIR man documentation in DIR [PREFIX/man]
174 --srcdir=DIR find the sources in DIR [configure dir or ..]
175 --program-prefix=PREFIX prepend PREFIX to installed program names
176 --program-suffix=SUFFIX append SUFFIX to installed program names
177 --program-transform-name=PROGRAM
178 run sed PROGRAM on installed program names
182 --build=BUILD configure for building on BUILD [BUILD=HOST]
183 --host=HOST configure for HOST [guessed]
184 --target=TARGET configure for TARGET [TARGET=HOST]
185 Features and packages:
186 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
187 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
188 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
189 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
190 --x-includes=DIR X include files are in DIR
191 --x-libraries=DIR X library files are in DIR
193 if test -n "$ac_help"; then
194 echo "--enable and --with options recognized:$ac_help"
198 -host |
--host |
--hos |
--ho)
200 -host=* |
--host=* |
--hos=* |
--ho=*)
203 -includedir |
--includedir |
--includedi |
--included |
--include \
204 |
--includ |
--inclu |
--incl |
--inc)
205 ac_prev
=includedir
;;
206 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
207 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
208 includedir
="$ac_optarg" ;;
210 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
212 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
213 infodir
="$ac_optarg" ;;
215 -libdir |
--libdir |
--libdi |
--libd)
217 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
218 libdir
="$ac_optarg" ;;
220 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
221 |
--libexe |
--libex |
--libe)
222 ac_prev
=libexecdir
;;
223 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
224 |
--libexe=* |
--libex=* |
--libe=*)
225 libexecdir
="$ac_optarg" ;;
227 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
228 |
--localstate |
--localstat |
--localsta |
--localst \
229 |
--locals |
--local |
--loca |
--loc |
--lo)
230 ac_prev
=localstatedir
;;
231 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
232 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
233 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
234 localstatedir
="$ac_optarg" ;;
236 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
238 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
239 mandir
="$ac_optarg" ;;
242 # Obsolete; use --without-fp.
245 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
249 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
250 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
253 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
254 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
255 |
--oldin |
--oldi |
--old |
--ol |
--o)
256 ac_prev
=oldincludedir
;;
257 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
258 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
259 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
260 oldincludedir
="$ac_optarg" ;;
262 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
264 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
265 prefix
="$ac_optarg" ;;
267 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
268 |
--program-pre |
--program-pr |
--program-p)
269 ac_prev
=program_prefix
;;
270 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
271 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
272 program_prefix
="$ac_optarg" ;;
274 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
275 |
--program-suf |
--program-su |
--program-s)
276 ac_prev
=program_suffix
;;
277 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
278 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
279 program_suffix
="$ac_optarg" ;;
281 -program-transform-name |
--program-transform-name \
282 |
--program-transform-nam |
--program-transform-na \
283 |
--program-transform-n |
--program-transform- \
284 |
--program-transform |
--program-transfor \
285 |
--program-transfo |
--program-transf \
286 |
--program-trans |
--program-tran \
287 |
--progr-tra |
--program-tr |
--program-t)
288 ac_prev
=program_transform_name
;;
289 -program-transform-name=* |
--program-transform-name=* \
290 |
--program-transform-nam=* |
--program-transform-na=* \
291 |
--program-transform-n=* |
--program-transform-=* \
292 |
--program-transform=* |
--program-transfor=* \
293 |
--program-transfo=* |
--program-transf=* \
294 |
--program-trans=* |
--program-tran=* \
295 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
296 program_transform_name
="$ac_optarg" ;;
298 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
299 |
-silent |
--silent |
--silen |
--sile |
--sil)
302 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
304 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
306 sbindir
="$ac_optarg" ;;
308 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
309 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
310 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
312 ac_prev
=sharedstatedir
;;
313 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
314 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
315 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
317 sharedstatedir
="$ac_optarg" ;;
319 -site |
--site |
--sit)
321 -site=* |
--site=* |
--sit=*)
324 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
326 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
327 srcdir
="$ac_optarg" ;;
329 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
330 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
331 ac_prev
=sysconfdir
;;
332 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
333 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
334 sysconfdir
="$ac_optarg" ;;
336 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
338 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
339 target
="$ac_optarg" ;;
341 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
344 -version |
--version |
--versio |
--versi |
--vers)
345 echo "configure generated by autoconf version 2.12.1"
349 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
350 # Reject names that are not valid shell variable names.
351 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
352 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
354 ac_package
=`echo $ac_package| sed 's/-/_/g'`
359 eval "with_${ac_package}='$ac_optarg'" ;;
361 -without-* |
--without-*)
362 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
363 # Reject names that are not valid shell variable names.
364 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
365 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
367 ac_package
=`echo $ac_package| sed 's/-/_/g'`
368 eval "with_${ac_package}=no" ;;
371 # Obsolete; use --with-x.
374 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
375 |
--x-incl |
--x-inc |
--x-in |
--x-i)
376 ac_prev
=x_includes
;;
377 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
378 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
379 x_includes
="$ac_optarg" ;;
381 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
382 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
383 ac_prev
=x_libraries
;;
384 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
385 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
386 x_libraries
="$ac_optarg" ;;
388 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
392 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
393 echo "configure: warning: $ac_option: invalid host type" 1>&2
395 if test "x$nonopt" != xNONE
; then
396 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
404 if test -n "$ac_prev"; then
405 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
408 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
410 # File descriptor usage:
413 # 2 errors and warnings
414 # 3 some systems may open it to /dev/tty
415 # 4 used on the Kubota Titan
416 # 6 checking for... messages and results
417 # 5 compiler messages saved in config.log
418 if test "$silent" = yes; then
426 This file contains any messages produced by compilers while
427 running configure, to aid debugging if configure makes a mistake.
430 # Strip out --no-create and --no-recursion so they do not pile up.
431 # Also quote any args containing shell metacharacters.
436 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
437 |
--no-cr |
--no-c) ;;
438 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
439 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
440 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
441 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
442 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
447 # Only set these to C if already set. These must not be set unconditionally
448 # because not all systems understand e.g. LANG=C (notably SCO).
449 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
450 # Non-C LC_CTYPE values break the ctype check.
451 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
452 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
453 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
454 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
456 # confdefs.h avoids OS command line length limits that DEFS can exceed.
457 rm -rf conftest
* confdefs.h
458 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
461 # A filename unique to this package, relative to the directory that
462 # configure is in, which we can look for to find out if srcdir is correct.
463 ac_unique_file
=makeinfo
/makeinfo.c
465 # Find the source files, if location was not specified.
466 if test -z "$srcdir"; then
467 ac_srcdir_defaulted
=yes
468 # Try the directory containing this script, then its parent.
470 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
471 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
473 if test ! -r $srcdir/$ac_unique_file; then
477 ac_srcdir_defaulted
=no
479 if test ! -r $srcdir/$ac_unique_file; then
480 if test "$ac_srcdir_defaulted" = yes; then
481 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
483 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
486 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
488 # Prefer explicitly selected file to automatically selected ones.
489 if test -z "$CONFIG_SITE"; then
490 if test "x$prefix" != xNONE
; then
491 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
493 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
496 for ac_site_file
in $CONFIG_SITE; do
497 if test -r "$ac_site_file"; then
498 echo "loading site script $ac_site_file"
503 if test -r "$cache_file"; then
504 echo "loading cache $cache_file"
507 echo "creating cache $cache_file"
512 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
513 ac_cpp
='$CPP $CPPFLAGS'
514 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
515 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
516 cross_compiling
=$ac_cv_prog_cc_cross
518 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
519 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
520 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
527 ac_n
= ac_c
='\c' ac_t
=
536 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
537 if test -f $ac_dir/install-sh
; then
539 ac_install_sh
="$ac_aux_dir/install-sh -c"
541 elif test -f $ac_dir/install.sh
; then
543 ac_install_sh
="$ac_aux_dir/install.sh -c"
547 if test -z "$ac_aux_dir"; then
548 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
550 ac_config_guess
=$ac_aux_dir/config.guess
551 ac_config_sub
=$ac_aux_dir/config.sub
552 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
554 # Find a good install program. We prefer a C program (faster),
555 # so one script is as good as another. But avoid the broken or
556 # incompatible versions:
557 # SysV /etc/install, /usr/sbin/install
558 # SunOS /usr/etc/install
561 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
562 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
563 # ./install, which can be erroneously created by make from ./install.sh.
564 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
565 echo "configure:566: checking for a BSD compatible install" >&5
566 if test -z "$INSTALL"; then
567 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
568 echo $ac_n "(cached) $ac_c" 1>&6
570 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
571 for ac_dir
in $PATH; do
572 # Account for people who put trailing slashes in PATH elements.
574 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
576 # OSF1 and SCO ODT 3.0 have their own names for install.
577 for ac_prog
in ginstall installbsd scoinst
install; do
578 if test -f $ac_dir/$ac_prog; then
579 if test $ac_prog = install &&
580 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
581 # AIX install. It has an incompatible calling convention.
582 # OSF/1 installbsd also uses dspmsg, but is usable.
585 ac_cv_path_install
="$ac_dir/$ac_prog -c"
596 if test "${ac_cv_path_install+set}" = set; then
597 INSTALL
="$ac_cv_path_install"
599 # As a last resort, use the slow shell script. We don't cache a
600 # path for INSTALL within a source directory, because that will
601 # break other packages using the cache if that directory is
602 # removed, or if the path is relative.
603 INSTALL
="$ac_install_sh"
606 echo "$ac_t""$INSTALL" 1>&6
608 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
609 # It thinks the first close brace ends the variable substitution.
610 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
612 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
615 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
622 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
623 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
625 cat >> confdefs.h
<<EOF
626 #define PACKAGE "$PACKAGE"
629 cat >> confdefs.h
<<EOF
630 #define VERSION "$VERSION"
633 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
634 echo "configure:635: checking whether build environment is sane" >&5
637 echo timestamp
> conftestfile
638 # Do `set' in a subshell so we don't clobber the current shell's
639 # arguments. Must try -L first in case configure is actually a
640 # symlink; some systems play weird games with the mod time of symlinks
641 # (eg FreeBSD returns the mod time of the symlink's containing
644 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
645 if test "" = "X"; then
647 set X
`ls -t $srcdir/configure conftestfile`
649 test "$2" = conftestfile
655 { echo "configure: error: newly created file is older than distributed files!
656 Check your system clock" 1>&2; exit 1; }
659 echo "$ac_t""yes" 1>&6
660 if test "$program_transform_name" = s
,x
,x
,; then
661 program_transform_name
=
663 # Double any \ or $. echo might interpret backslashes.
664 cat <<\EOF_SED
> conftestsed
665 s
,\\,\\\\,g
; s
,\$
,$$
,g
667 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
670 test "$program_prefix" != NONE
&&
671 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
672 # Use a double $ so make ignores it.
673 test "$program_suffix" != NONE
&&
674 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
676 # sed with no file args requires a program.
677 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
679 missing_dir
=`cd $ac_aux_dir && pwd`
680 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
681 echo "configure:682: checking for working aclocal" >&5
682 # Run test in a subshell; some versions of sh will print an error if
683 # an executable is not found, even if stderr is redirected.
684 # Redirect stdin to placate older versions of autoconf. Sigh.
685 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
687 echo "$ac_t""found" 1>&6
689 ACLOCAL
="$missing_dir/missing aclocal"
690 echo "$ac_t""missing" 1>&6
693 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
694 echo "configure:695: checking for working autoconf" >&5
695 # Run test in a subshell; some versions of sh will print an error if
696 # an executable is not found, even if stderr is redirected.
697 # Redirect stdin to placate older versions of autoconf. Sigh.
698 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
700 echo "$ac_t""found" 1>&6
702 AUTOCONF
="$missing_dir/missing autoconf"
703 echo "$ac_t""missing" 1>&6
706 echo $ac_n "checking for working automake""... $ac_c" 1>&6
707 echo "configure:708: checking for working automake" >&5
708 # Run test in a subshell; some versions of sh will print an error if
709 # an executable is not found, even if stderr is redirected.
710 # Redirect stdin to placate older versions of autoconf. Sigh.
711 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
713 echo "$ac_t""found" 1>&6
715 AUTOMAKE
="$missing_dir/missing automake"
716 echo "$ac_t""missing" 1>&6
719 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
720 echo "configure:721: checking for working autoheader" >&5
721 # Run test in a subshell; some versions of sh will print an error if
722 # an executable is not found, even if stderr is redirected.
723 # Redirect stdin to placate older versions of autoconf. Sigh.
724 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
725 AUTOHEADER
=autoheader
726 echo "$ac_t""found" 1>&6
728 AUTOHEADER
="$missing_dir/missing autoheader"
729 echo "$ac_t""missing" 1>&6
732 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
733 echo "configure:734: checking for working makeinfo" >&5
734 # Run test in a subshell; some versions of sh will print an error if
735 # an executable is not found, even if stderr is redirected.
736 # Redirect stdin to placate older versions of autoconf. Sigh.
737 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
739 echo "$ac_t""found" 1>&6
741 MAKEINFO
="$missing_dir/missing makeinfo"
742 echo "$ac_t""missing" 1>&6
745 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
746 echo "configure:747: checking whether ${MAKE-make} sets \${MAKE}" >&5
747 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
748 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
749 echo $ac_n "(cached) $ac_c" 1>&6
751 cat > conftestmake
<<\EOF
753 @
echo 'ac_maketemp="${MAKE}"'
755 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
756 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
757 if test -n "$ac_maketemp"; then
758 eval ac_cv_prog_make_
${ac_make}_set
=yes
760 eval ac_cv_prog_make_
${ac_make}_set
=no
764 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
765 echo "$ac_t""yes" 1>&6
768 echo "$ac_t""no" 1>&6
769 SET_MAKE
="MAKE=${MAKE-make}"
773 # Extract the first word of "gcc", so it can be a program name with args.
774 set dummy gcc
; ac_word
=$2
775 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
776 echo "configure:777: checking for $ac_word" >&5
777 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
778 echo $ac_n "(cached) $ac_c" 1>&6
780 if test -n "$CC"; then
781 ac_cv_prog_CC
="$CC" # Let the user override the test.
783 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
784 for ac_dir
in $PATH; do
785 test -z "$ac_dir" && ac_dir
=.
786 if test -f $ac_dir/$ac_word; then
795 if test -n "$CC"; then
796 echo "$ac_t""$CC" 1>&6
798 echo "$ac_t""no" 1>&6
801 if test -z "$CC"; then
802 # Extract the first word of "cc", so it can be a program name with args.
803 set dummy cc
; ac_word
=$2
804 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
805 echo "configure:806: checking for $ac_word" >&5
806 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
807 echo $ac_n "(cached) $ac_c" 1>&6
809 if test -n "$CC"; then
810 ac_cv_prog_CC
="$CC" # Let the user override the test.
812 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
814 for ac_dir
in $PATH; do
815 test -z "$ac_dir" && ac_dir
=.
816 if test -f $ac_dir/$ac_word; then
817 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
826 if test $ac_prog_rejected = yes; then
827 # We found a bogon in the path, so make sure we never use it.
828 set dummy
$ac_cv_prog_CC
830 if test $# -gt 0; then
831 # We chose a different compiler from the bogus one.
832 # However, it has the same basename, so the bogon will be chosen
833 # first if we set CC to just the basename; use the full file name.
835 set dummy
"$ac_dir/$ac_word" "$@"
843 if test -n "$CC"; then
844 echo "$ac_t""$CC" 1>&6
846 echo "$ac_t""no" 1>&6
849 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
852 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
853 echo "configure:854: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
856 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
857 ac_cpp
='$CPP $CPPFLAGS'
858 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
859 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
860 cross_compiling
=$ac_cv_prog_cc_cross
862 cat > conftest.
$ac_ext <<EOF
863 #line 864 "configure"
864 #include "confdefs.h"
867 if { (eval echo configure
:868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
868 ac_cv_prog_cc_works
=yes
869 # If we can't run a trivial program, we are probably using a cross compiler.
870 if (.
/conftest
; exit) 2>/dev
/null
; then
871 ac_cv_prog_cc_cross
=no
873 ac_cv_prog_cc_cross
=yes
876 echo "configure: failed program was:" >&5
877 cat conftest.
$ac_ext >&5
878 ac_cv_prog_cc_works
=no
882 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
883 if test $ac_cv_prog_cc_works = no
; then
884 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
886 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
887 echo "configure:888: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
888 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
889 cross_compiling
=$ac_cv_prog_cc_cross
891 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
892 echo "configure:893: checking whether we are using GNU C" >&5
893 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
894 echo $ac_n "(cached) $ac_c" 1>&6
896 cat > conftest.c
<<EOF
901 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
908 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
910 if test $ac_cv_prog_gcc = yes; then
912 ac_test_CFLAGS
="${CFLAGS+set}"
913 ac_save_CFLAGS
="$CFLAGS"
915 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
916 echo "configure:917: checking whether ${CC-cc} accepts -g" >&5
917 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
918 echo $ac_n "(cached) $ac_c" 1>&6
920 echo 'void f(){}' > conftest.c
921 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
930 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
931 if test "$ac_test_CFLAGS" = set; then
932 CFLAGS
="$ac_save_CFLAGS"
933 elif test $ac_cv_prog_cc_g = yes; then
940 test "${CFLAGS+set}" = set || CFLAGS
="-g"
943 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
944 echo "configure:945: checking how to run the C preprocessor" >&5
945 # On Suns, sometimes $CPP names a directory.
946 if test -n "$CPP" && test -d "$CPP"; then
949 if test -z "$CPP"; then
950 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
951 echo $ac_n "(cached) $ac_c" 1>&6
953 # This must be in double quotes, not single quotes, because CPP may get
954 # substituted into the Makefile and "${CC-cc}" will confuse make.
956 # On the NeXT, cc -E runs the code through the compiler's parser,
957 # not just through cpp.
958 cat > conftest.
$ac_ext <<EOF
959 #line 960 "configure"
960 #include "confdefs.h"
964 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
965 { (eval echo configure
:966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
966 ac_err
=`grep -v '^ *+' conftest.out`
967 if test -z "$ac_err"; then
971 echo "configure: failed program was:" >&5
972 cat conftest.
$ac_ext >&5
974 CPP
="${CC-cc} -E -traditional-cpp"
975 cat > conftest.
$ac_ext <<EOF
976 #line 977 "configure"
977 #include "confdefs.h"
981 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
982 { (eval echo configure
:983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
983 ac_err
=`grep -v '^ *+' conftest.out`
984 if test -z "$ac_err"; then
988 echo "configure: failed program was:" >&5
989 cat conftest.
$ac_ext >&5
996 ac_cv_prog_CPP
="$CPP"
998 CPP
="$ac_cv_prog_CPP"
1000 ac_cv_prog_CPP
="$CPP"
1002 echo "$ac_t""$CPP" 1>&6
1004 if test $ac_cv_prog_gcc = yes; then
1005 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
1006 echo "configure:1007: checking whether ${CC-cc} needs -traditional" >&5
1007 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
1008 echo $ac_n "(cached) $ac_c" 1>&6
1010 ac_pattern
="Autoconf.*'x'"
1011 cat > conftest.
$ac_ext <<EOF
1012 #line 1013 "configure"
1013 #include "confdefs.h"
1017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1018 egrep "$ac_pattern" >/dev
/null
2>&1; then
1020 ac_cv_prog_gcc_traditional
=yes
1023 ac_cv_prog_gcc_traditional
=no
1028 if test $ac_cv_prog_gcc_traditional = no
; then
1029 cat > conftest.
$ac_ext <<EOF
1030 #line 1031 "configure"
1031 #include "confdefs.h"
1035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1036 egrep "$ac_pattern" >/dev
/null
2>&1; then
1038 ac_cv_prog_gcc_traditional
=yes
1045 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
1046 if test $ac_cv_prog_gcc_traditional = yes; then
1047 CC
="$CC -traditional"
1051 # Find a good install program. We prefer a C program (faster),
1052 # so one script is as good as another. But avoid the broken or
1053 # incompatible versions:
1054 # SysV /etc/install, /usr/sbin/install
1055 # SunOS /usr/etc/install
1056 # IRIX /sbin/install
1058 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1059 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1060 # ./install, which can be erroneously created by make from ./install.sh.
1061 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1062 echo "configure:1063: checking for a BSD compatible install" >&5
1063 if test -z "$INSTALL"; then
1064 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1065 echo $ac_n "(cached) $ac_c" 1>&6
1067 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1068 for ac_dir
in $PATH; do
1069 # Account for people who put trailing slashes in PATH elements.
1071 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1073 # OSF1 and SCO ODT 3.0 have their own names for install.
1074 for ac_prog
in ginstall scoinst
install; do
1075 if test -f $ac_dir/$ac_prog; then
1076 if test $ac_prog = install &&
1077 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1078 # AIX install. It has an incompatible calling convention.
1079 # OSF/1 installbsd also uses dspmsg, but is usable.
1082 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1093 if test "${ac_cv_path_install+set}" = set; then
1094 INSTALL
="$ac_cv_path_install"
1096 # As a last resort, use the slow shell script. We don't cache a
1097 # path for INSTALL within a source directory, because that will
1098 # break other packages using the cache if that directory is
1099 # removed, or if the path is relative.
1100 INSTALL
="$ac_install_sh"
1103 echo "$ac_t""$INSTALL" 1>&6
1105 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1106 # It thinks the first close brace ends the variable substitution.
1107 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1109 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1111 # Extract the first word of "ranlib", so it can be a program name with args.
1112 set dummy ranlib
; ac_word
=$2
1113 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1114 echo "configure:1115: checking for $ac_word" >&5
1115 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1116 echo $ac_n "(cached) $ac_c" 1>&6
1118 if test -n "$RANLIB"; then
1119 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1121 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1122 for ac_dir
in $PATH; do
1123 test -z "$ac_dir" && ac_dir
=.
1124 if test -f $ac_dir/$ac_word; then
1125 ac_cv_prog_RANLIB
="ranlib"
1130 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1133 RANLIB
="$ac_cv_prog_RANLIB"
1134 if test -n "$RANLIB"; then
1135 echo "$ac_t""$RANLIB" 1>&6
1137 echo "$ac_t""no" 1>&6
1141 # We do this for the sake of a more helpful warning in doc/Makefile.
1142 TEXMF
='$(datadir)/texmf'
1143 # Extract the first word of "texconfig", so it can be a program name with args.
1144 set dummy texconfig
; ac_word
=$2
1145 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1146 echo "configure:1147: checking for $ac_word" >&5
1147 if eval "test \"`echo '$''{'ac_cv_prog_TEXCONFIG'+set}'`\" = set"; then
1148 echo $ac_n "(cached) $ac_c" 1>&6
1150 if test -n "$TEXCONFIG"; then
1151 ac_cv_prog_TEXCONFIG
="$TEXCONFIG" # Let the user override the test.
1153 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1154 for ac_dir
in $PATH; do
1155 test -z "$ac_dir" && ac_dir
=.
1156 if test -f $ac_dir/$ac_word; then
1157 ac_cv_prog_TEXCONFIG
="true"
1162 test -z "$ac_cv_prog_TEXCONFIG" && ac_cv_prog_TEXCONFIG
="false"
1165 TEXCONFIG
="$ac_cv_prog_TEXCONFIG"
1166 if test -n "$TEXCONFIG"; then
1167 echo "$ac_t""$TEXCONFIG" 1>&6
1169 echo "$ac_t""no" 1>&6
1172 $TEXCONFIG && eval `texconfig confall | grep '^TEXMF='`
1175 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1176 echo "configure:1177: checking for POSIXized ISC" >&5
1177 if test -d /etc
/conf
/kconfig.d
&&
1178 grep _POSIX_VERSION
/usr
/include
/sys
/unistd.h
>/dev
/null
2>&1
1180 echo "$ac_t""yes" 1>&6
1181 ISC
=yes # If later tests want to check for ISC.
1182 cat >> confdefs.h
<<\EOF
1183 #define _POSIX_SOURCE 1
1186 if test "$GCC" = yes; then
1192 echo "$ac_t""no" 1>&6
1196 ac_safe
=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
1197 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
1198 echo "configure:1199: checking for minix/config.h" >&5
1199 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1200 echo $ac_n "(cached) $ac_c" 1>&6
1202 cat > conftest.
$ac_ext <<EOF
1203 #line 1204 "configure"
1204 #include "confdefs.h"
1205 #include <minix/config.h>
1207 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1208 { (eval echo configure
:1209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1209 ac_err
=`grep -v '^ *+' conftest.out`
1210 if test -z "$ac_err"; then
1212 eval "ac_cv_header_$ac_safe=yes"
1215 echo "configure: failed program was:" >&5
1216 cat conftest.
$ac_ext >&5
1218 eval "ac_cv_header_$ac_safe=no"
1222 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1223 echo "$ac_t""yes" 1>&6
1226 echo "$ac_t""no" 1>&6
1230 if test "$MINIX" = yes; then
1231 cat >> confdefs.h
<<\EOF
1232 #define _POSIX_SOURCE 1
1235 cat >> confdefs.h
<<\EOF
1236 #define _POSIX_1_SOURCE 2
1239 cat >> confdefs.h
<<\EOF
1246 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1247 echo "configure:1248: checking whether to enable maintainer-specific portions of Makefiles" >&5
1248 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1249 if test "${enable_maintainer_mode+set}" = set; then
1250 enableval
="$enable_maintainer_mode"
1251 USE_MAINTAINER_MODE
=$enableval
1253 USE_MAINTAINER_MODE
=no
1256 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1257 if test $USE_MAINTAINER_MODE = yes; then
1264 echo $ac_n "checking for Cygwin32 environment""... $ac_c" 1>&6
1265 echo "configure:1266: checking for Cygwin32 environment" >&5
1266 if eval "test \"`echo '$''{'am_cv_cygwin32'+set}'`\" = set"; then
1267 echo $ac_n "(cached) $ac_c" 1>&6
1269 cat > conftest.
$ac_ext <<EOF
1270 #line 1271 "configure"
1271 #include "confdefs.h"
1274 int main () { return __CYGWIN32__; }
1277 if { (eval echo configure
:1278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1281 echo "configure: failed program was:" >&5
1282 cat conftest.
$ac_ext >&5
1290 echo "$ac_t""$am_cv_cygwin32" 1>&6
1292 test "$am_cv_cygwin32" = yes && CYGWIN32
=yes
1294 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1295 echo "configure:1296: checking for executable suffix" >&5
1296 if eval "test \"`echo '$''{'am_cv_exeext'+set}'`\" = set"; then
1297 echo $ac_n "(cached) $ac_c" 1>&6
1299 if test "$CYGWIN32" = yes; then
1302 cat > am_c_test.c
<< 'EOF'
1304 /* Nothing needed here
*/
1307 ${CC-cc} -o am_c_test
$CFLAGS $CPPFLAGS $LDFLAGS am_c_test.c
$LIBS 1>&5
1308 am_cv_exeext
=`echo am_c_test.* | grep -v am_c_test.c | sed -e s/am_c_test//`
1312 test x
"${am_cv_exeext}" = x
&& am_cv_exeext
=no
1315 test x
"${am_cv_exeext}" != xno
&& EXEEXT
=${am_cv_exeext}
1316 echo "$ac_t""${am_cv_exeext}" 1>&6
1319 # Needed on sysV68 for sigblock, sigsetmask.
1320 echo $ac_n "checking for sigblock in -lbsd""... $ac_c" 1>&6
1321 echo "configure:1322: checking for sigblock in -lbsd" >&5
1322 ac_lib_var
=`echo bsd'_'sigblock | sed 'y%./+-%__p_%'`
1323 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1324 echo $ac_n "(cached) $ac_c" 1>&6
1326 ac_save_LIBS
="$LIBS"
1328 cat > conftest.
$ac_ext <<EOF
1329 #line 1330 "configure"
1330 #include "confdefs.h"
1331 /* Override any gcc2 internal prototype to avoid an error. */
1332 /* We use char because int might match the return type of a gcc2
1333 builtin and then its argument prototype would still apply. */
1340 if { (eval echo configure
:1341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1342 eval "ac_cv_lib_$ac_lib_var=yes"
1344 echo "configure: failed program was:" >&5
1345 cat conftest.
$ac_ext >&5
1347 eval "ac_cv_lib_$ac_lib_var=no"
1350 LIBS
="$ac_save_LIBS"
1353 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1354 echo "$ac_t""yes" 1>&6
1355 ac_tr_lib
=HAVE_LIB
`echo bsd | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1356 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1357 cat >> confdefs.h
<<EOF
1358 #define $ac_tr_lib 1
1364 echo "$ac_t""no" 1>&6
1368 # Some GNU/Linux systems (e.g., SuSE 4.3, 1996) don't have curses, but
1369 # rather ncurses. So we check for it.
1371 for termlib
in ncurses curses termcap terminfo termlib
; do
1372 echo $ac_n "checking for tputs in -l${termlib}""... $ac_c" 1>&6
1373 echo "configure:1374: checking for tputs in -l${termlib}" >&5
1374 ac_lib_var
=`echo ${termlib}'_'tputs | sed 'y%./+-%__p_%'`
1375 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1376 echo $ac_n "(cached) $ac_c" 1>&6
1378 ac_save_LIBS
="$LIBS"
1379 LIBS
="-l${termlib} $LIBS"
1380 cat > conftest.
$ac_ext <<EOF
1381 #line 1382 "configure"
1382 #include "confdefs.h"
1383 /* Override any gcc2 internal prototype to avoid an error. */
1384 /* We use char because int might match the return type of a gcc2
1385 builtin and then its argument prototype would still apply. */
1392 if { (eval echo configure
:1393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1394 eval "ac_cv_lib_$ac_lib_var=yes"
1396 echo "configure: failed program was:" >&5
1397 cat conftest.
$ac_ext >&5
1399 eval "ac_cv_lib_$ac_lib_var=no"
1402 LIBS
="$ac_save_LIBS"
1405 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1406 echo "$ac_t""yes" 1>&6
1407 TERMLIBS
="${TERMLIBS} -l${termlib}"; break
1409 echo "$ac_t""no" 1>&6
1415 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1416 echo "configure:1417: checking for ANSI C header files" >&5
1417 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1418 echo $ac_n "(cached) $ac_c" 1>&6
1420 cat > conftest.
$ac_ext <<EOF
1421 #line 1422 "configure"
1422 #include "confdefs.h"
1428 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1429 { (eval echo configure
:1430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1430 ac_err
=`grep -v '^ *+' conftest.out`
1431 if test -z "$ac_err"; then
1433 ac_cv_header_stdc
=yes
1436 echo "configure: failed program was:" >&5
1437 cat conftest.
$ac_ext >&5
1439 ac_cv_header_stdc
=no
1443 if test $ac_cv_header_stdc = yes; then
1444 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1445 cat > conftest.
$ac_ext <<EOF
1446 #line 1447 "configure"
1447 #include "confdefs.h"
1450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1451 egrep "memchr" >/dev
/null
2>&1; then
1455 ac_cv_header_stdc
=no
1461 if test $ac_cv_header_stdc = yes; then
1462 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1463 cat > conftest.
$ac_ext <<EOF
1464 #line 1465 "configure"
1465 #include "confdefs.h"
1468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1469 egrep "free" >/dev
/null
2>&1; then
1473 ac_cv_header_stdc
=no
1479 if test $ac_cv_header_stdc = yes; then
1480 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1481 if test "$cross_compiling" = yes; then
1484 cat > conftest.
$ac_ext <<EOF
1485 #line 1486 "configure"
1486 #include "confdefs.h"
1488 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1489 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1490 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1491 int main () { int i; for (i = 0; i < 256; i++)
1492 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1496 if { (eval echo configure
:1497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
1500 echo "configure: failed program was:" >&5
1501 cat conftest.
$ac_ext >&5
1503 ac_cv_header_stdc
=no
1511 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1512 if test $ac_cv_header_stdc = yes; then
1513 cat >> confdefs.h
<<\EOF
1514 #define STDC_HEADERS 1
1519 for ac_hdr
in fcntl.h
pwd.h string.h
strings.h termcap.h termio.h \
1520 termios.h unistd.h \
1521 sys
/fcntl.h sys
/file.h sys
/ptem.h sys
/time.h sys
/ttold.h sys
/wait.h
1523 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1524 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1525 echo "configure:1526: checking for $ac_hdr" >&5
1526 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1527 echo $ac_n "(cached) $ac_c" 1>&6
1529 cat > conftest.
$ac_ext <<EOF
1530 #line 1531 "configure"
1531 #include "confdefs.h"
1534 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1535 { (eval echo configure
:1536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1536 ac_err
=`grep -v '^ *+' conftest.out`
1537 if test -z "$ac_err"; then
1539 eval "ac_cv_header_$ac_safe=yes"
1542 echo "configure: failed program was:" >&5
1543 cat conftest.
$ac_ext >&5
1545 eval "ac_cv_header_$ac_safe=no"
1549 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1550 echo "$ac_t""yes" 1>&6
1551 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1552 cat >> confdefs.h
<<EOF
1553 #define $ac_tr_hdr 1
1557 echo "$ac_t""no" 1>&6
1562 if test "x$termlib" = xncurses
; then
1563 ac_safe
=`echo "ncurses/termcap.h" | sed 'y%./+-%__p_%'`
1564 echo $ac_n "checking for ncurses/termcap.h""... $ac_c" 1>&6
1565 echo "configure:1566: checking for ncurses/termcap.h" >&5
1566 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1567 echo $ac_n "(cached) $ac_c" 1>&6
1569 cat > conftest.
$ac_ext <<EOF
1570 #line 1571 "configure"
1571 #include "confdefs.h"
1572 #include <ncurses/termcap.h>
1574 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1575 { (eval echo configure
:1576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1576 ac_err
=`grep -v '^ *+' conftest.out`
1577 if test -z "$ac_err"; then
1579 eval "ac_cv_header_$ac_safe=yes"
1582 echo "configure: failed program was:" >&5
1583 cat conftest.
$ac_ext >&5
1585 eval "ac_cv_header_$ac_safe=no"
1589 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1590 echo "$ac_t""yes" 1>&6
1593 echo "$ac_t""no" 1>&6
1598 echo $ac_n "checking for off_t""... $ac_c" 1>&6
1599 echo "configure:1600: checking for off_t" >&5
1600 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
1601 echo $ac_n "(cached) $ac_c" 1>&6
1603 cat > conftest.
$ac_ext <<EOF
1604 #line 1605 "configure"
1605 #include "confdefs.h"
1606 #include <sys/types.h>
1612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1613 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
1615 ac_cv_type_off_t
=yes
1623 echo "$ac_t""$ac_cv_type_off_t" 1>&6
1624 if test $ac_cv_type_off_t = no
; then
1625 cat >> confdefs.h
<<\EOF
1631 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
1632 echo "configure:1633: checking return type of signal handlers" >&5
1633 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
1634 echo $ac_n "(cached) $ac_c" 1>&6
1636 cat > conftest.
$ac_ext <<EOF
1637 #line 1638 "configure"
1638 #include "confdefs.h"
1639 #include <sys/types.h>
1645 extern "C" void (*signal (int, void (*)(int)))(int);
1647 void (*signal ()) ();
1654 if { (eval echo configure
:1655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1656 ac_cv_type_signal
=void
1658 echo "configure: failed program was:" >&5
1659 cat conftest.
$ac_ext >&5
1661 ac_cv_type_signal
=int
1666 echo "$ac_t""$ac_cv_type_signal" 1>&6
1667 cat >> confdefs.h
<<EOF
1668 #define RETSIGTYPE $ac_cv_type_signal
1672 echo $ac_n "checking for working const""... $ac_c" 1>&6
1673 echo "configure:1674: checking for working const" >&5
1674 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1675 echo $ac_n "(cached) $ac_c" 1>&6
1677 cat > conftest.
$ac_ext <<EOF
1678 #line 1679 "configure"
1679 #include "confdefs.h"
1683 /* Ultrix mips cc rejects this. */
1684 typedef int charset[2]; const charset x;
1685 /* SunOS 4.1.1 cc rejects this. */
1686 char const *const *ccp;
1688 /* NEC SVR4.0.2 mips cc rejects this. */
1689 struct point {int x, y;};
1690 static struct point const zero = {0,0};
1691 /* AIX XL C 1.02.0.0 rejects this.
1692 It does not let you subtract one const X* pointer from another in an arm
1693 of an if-expression whose if-part is not a constant expression */
1694 const char *g = "string";
1695 ccp = &g + (g ? g-g : 0);
1696 /* HPUX 7.0 cc rejects these. */
1699 ccp = (char const *const *) p;
1700 { /* SCO 3.2v4 cc rejects this. */
1702 char const *s = 0 ? (char *) 0 : (char const *) 0;
1706 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
1708 const int *foo = &x[0];
1711 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1712 typedef const int *iptr;
1716 { /* AIX XL C 1.02.0.0 rejects this saying
1717 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1718 struct s { int j; const int *ap[3]; };
1719 struct s *b; b->j = 5;
1721 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1727 if { (eval echo configure
:1728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1731 echo "configure: failed program was:" >&5
1732 cat conftest.
$ac_ext >&5
1739 echo "$ac_t""$ac_cv_c_const" 1>&6
1740 if test $ac_cv_c_const = no
; then
1741 cat >> confdefs.h
<<\EOF
1747 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
1748 echo "configure:1749: checking whether struct tm is in sys/time.h or time.h" >&5
1749 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
1750 echo $ac_n "(cached) $ac_c" 1>&6
1752 cat > conftest.
$ac_ext <<EOF
1753 #line 1754 "configure"
1754 #include "confdefs.h"
1755 #include <sys/types.h>
1758 struct tm *tp; tp->tm_sec;
1761 if { (eval echo configure
:1762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1763 ac_cv_struct_tm
=time.h
1765 echo "configure: failed program was:" >&5
1766 cat conftest.
$ac_ext >&5
1768 ac_cv_struct_tm
=sys
/time.h
1773 echo "$ac_t""$ac_cv_struct_tm" 1>&6
1774 if test $ac_cv_struct_tm = sys
/time.h
; then
1775 cat >> confdefs.h
<<\EOF
1776 #define TM_IN_SYS_TIME 1
1782 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
1783 # for constant arguments. Useless!
1784 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
1785 echo "configure:1786: checking for working alloca.h" >&5
1786 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
1787 echo $ac_n "(cached) $ac_c" 1>&6
1789 cat > conftest.
$ac_ext <<EOF
1790 #line 1791 "configure"
1791 #include "confdefs.h"
1794 char *p = alloca(2 * sizeof(int));
1797 if { (eval echo configure
:1798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1799 ac_cv_header_alloca_h
=yes
1801 echo "configure: failed program was:" >&5
1802 cat conftest.
$ac_ext >&5
1804 ac_cv_header_alloca_h
=no
1809 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
1810 if test $ac_cv_header_alloca_h = yes; then
1811 cat >> confdefs.h
<<\EOF
1812 #define HAVE_ALLOCA_H 1
1817 echo $ac_n "checking for alloca""... $ac_c" 1>&6
1818 echo "configure:1819: checking for alloca" >&5
1819 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
1820 echo $ac_n "(cached) $ac_c" 1>&6
1822 cat > conftest.
$ac_ext <<EOF
1823 #line 1824 "configure"
1824 #include "confdefs.h"
1827 # define alloca __builtin_alloca
1830 # include <alloca.h>
1835 # ifndef alloca /* predefined by HP cc +Olibcalls */
1843 char *p = (char *) alloca(1);
1846 if { (eval echo configure
:1847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1848 ac_cv_func_alloca_works
=yes
1850 echo "configure: failed program was:" >&5
1851 cat conftest.
$ac_ext >&5
1853 ac_cv_func_alloca_works
=no
1858 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
1859 if test $ac_cv_func_alloca_works = yes; then
1860 cat >> confdefs.h
<<\EOF
1861 #define HAVE_ALLOCA 1
1866 if test $ac_cv_func_alloca_works = no
; then
1867 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
1868 # that cause trouble. Some versions do not even contain alloca or
1869 # contain a buggy version. If you still want to use their alloca,
1870 # use ar to extract alloca.o from them instead of compiling alloca.c.
1872 cat >> confdefs.h
<<\EOF
1877 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
1878 echo "configure:1879: checking whether alloca needs Cray hooks" >&5
1879 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
1880 echo $ac_n "(cached) $ac_c" 1>&6
1882 cat > conftest.
$ac_ext <<EOF
1883 #line 1884 "configure"
1884 #include "confdefs.h"
1885 #if defined(CRAY) && ! defined(CRAY2)
1892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1893 egrep "webecray" >/dev
/null
2>&1; then
1904 echo "$ac_t""$ac_cv_os_cray" 1>&6
1905 if test $ac_cv_os_cray = yes; then
1906 for ac_func
in _getb67 GETB67 getb67
; do
1907 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1908 echo "configure:1909: checking for $ac_func" >&5
1909 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1910 echo $ac_n "(cached) $ac_c" 1>&6
1912 cat > conftest.
$ac_ext <<EOF
1913 #line 1914 "configure"
1914 #include "confdefs.h"
1915 /* System header to define __stub macros and hopefully few prototypes,
1916 which can conflict with char $ac_func(); below. */
1918 /* Override any gcc2 internal prototype to avoid an error. */
1919 /* We use char because int might match the return type of a gcc2
1920 builtin and then its argument prototype would still apply. */
1925 /* The GNU C library defines this for functions which it implements
1926 to always fail with ENOSYS. Some functions are actually named
1927 something starting with __ and the normal name is an alias. */
1928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1936 if { (eval echo configure
:1937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1938 eval "ac_cv_func_$ac_func=yes"
1940 echo "configure: failed program was:" >&5
1941 cat conftest.
$ac_ext >&5
1943 eval "ac_cv_func_$ac_func=no"
1948 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1949 echo "$ac_t""yes" 1>&6
1950 cat >> confdefs.h
<<EOF
1951 #define CRAY_STACKSEG_END $ac_func
1956 echo "$ac_t""no" 1>&6
1962 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
1963 echo "configure:1964: checking stack direction for C alloca" >&5
1964 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
1965 echo $ac_n "(cached) $ac_c" 1>&6
1967 if test "$cross_compiling" = yes; then
1968 ac_cv_c_stack_direction
=0
1970 cat > conftest.
$ac_ext <<EOF
1971 #line 1972 "configure"
1972 #include "confdefs.h"
1973 find_stack_direction ()
1975 static char *addr = 0;
1980 return find_stack_direction ();
1983 return (&dummy > addr) ? 1 : -1;
1987 exit (find_stack_direction() < 0);
1990 if { (eval echo configure
:1991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
1992 ac_cv_c_stack_direction
=1
1994 echo "configure: failed program was:" >&5
1995 cat conftest.
$ac_ext >&5
1997 ac_cv_c_stack_direction
=-1
2004 echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
2005 cat >> confdefs.h
<<EOF
2006 #define STACK_DIRECTION $ac_cv_c_stack_direction
2011 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
2012 echo "configure:2013: checking for vprintf" >&5
2013 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
2014 echo $ac_n "(cached) $ac_c" 1>&6
2016 cat > conftest.
$ac_ext <<EOF
2017 #line 2018 "configure"
2018 #include "confdefs.h"
2019 /* System header to define __stub macros and hopefully few prototypes,
2020 which can conflict with char vprintf(); below. */
2022 /* Override any gcc2 internal prototype to avoid an error. */
2023 /* We use char because int might match the return type of a gcc2
2024 builtin and then its argument prototype would still apply. */
2029 /* The GNU C library defines this for functions which it implements
2030 to always fail with ENOSYS. Some functions are actually named
2031 something starting with __ and the normal name is an alias. */
2032 #if defined (__stub_vprintf) || defined (__stub___vprintf)
2040 if { (eval echo configure
:2041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2042 eval "ac_cv_func_vprintf=yes"
2044 echo "configure: failed program was:" >&5
2045 cat conftest.
$ac_ext >&5
2047 eval "ac_cv_func_vprintf=no"
2052 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
2053 echo "$ac_t""yes" 1>&6
2054 cat >> confdefs.h
<<\EOF
2055 #define HAVE_VPRINTF 1
2059 echo "$ac_t""no" 1>&6
2062 if test "$ac_cv_func_vprintf" != yes; then
2063 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
2064 echo "configure:2065: checking for _doprnt" >&5
2065 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
2066 echo $ac_n "(cached) $ac_c" 1>&6
2068 cat > conftest.
$ac_ext <<EOF
2069 #line 2070 "configure"
2070 #include "confdefs.h"
2071 /* System header to define __stub macros and hopefully few prototypes,
2072 which can conflict with char _doprnt(); below. */
2074 /* Override any gcc2 internal prototype to avoid an error. */
2075 /* We use char because int might match the return type of a gcc2
2076 builtin and then its argument prototype would still apply. */
2081 /* The GNU C library defines this for functions which it implements
2082 to always fail with ENOSYS. Some functions are actually named
2083 something starting with __ and the normal name is an alias. */
2084 #if defined (__stub__doprnt) || defined (__stub____doprnt)
2092 if { (eval echo configure
:2093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2094 eval "ac_cv_func__doprnt=yes"
2096 echo "configure: failed program was:" >&5
2097 cat conftest.
$ac_ext >&5
2099 eval "ac_cv_func__doprnt=no"
2104 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
2105 echo "$ac_t""yes" 1>&6
2106 cat >> confdefs.h
<<\EOF
2107 #define HAVE_DOPRNT 1
2111 echo "$ac_t""no" 1>&6
2116 if test "$ac_cv_c_cross" = no
; then
2117 echo $ac_n "checking whether setvbuf arguments are reversed""... $ac_c" 1>&6
2118 echo "configure:2119: checking whether setvbuf arguments are reversed" >&5
2119 if eval "test \"`echo '$''{'ac_cv_func_setvbuf_reversed'+set}'`\" = set"; then
2120 echo $ac_n "(cached) $ac_c" 1>&6
2122 if test "$cross_compiling" = yes; then
2123 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
2125 cat > conftest.
$ac_ext <<EOF
2126 #line 2127 "configure"
2127 #include "confdefs.h"
2129 /* If setvbuf has the reversed format, exit 0. */
2131 /* This call has the arguments reversed.
2132 A reversed system may check and see that the address of main
2133 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
2134 if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
2137 exit(0); /* Non-reversed systems segv here. */
2140 if { (eval echo configure
:2141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2142 ac_cv_func_setvbuf_reversed
=yes
2144 echo "configure: failed program was:" >&5
2145 cat conftest.
$ac_ext >&5
2147 ac_cv_func_setvbuf_reversed
=no
2152 rm -f core core.
* *.core
2155 echo "$ac_t""$ac_cv_func_setvbuf_reversed" 1>&6
2156 if test $ac_cv_func_setvbuf_reversed = yes; then
2157 cat >> confdefs.h
<<\EOF
2158 #define SETVBUF_REVERSED 1
2164 for ac_func
in setvbuf getcwd memset bzero strchr strcasecmp \
2165 sigprocmask sigsetmask
2167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2168 echo "configure:2169: checking for $ac_func" >&5
2169 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2170 echo $ac_n "(cached) $ac_c" 1>&6
2172 cat > conftest.
$ac_ext <<EOF
2173 #line 2174 "configure"
2174 #include "confdefs.h"
2175 /* System header to define __stub macros and hopefully few prototypes,
2176 which can conflict with char $ac_func(); below. */
2178 /* Override any gcc2 internal prototype to avoid an error. */
2179 /* We use char because int might match the return type of a gcc2
2180 builtin and then its argument prototype would still apply. */
2185 /* The GNU C library defines this for functions which it implements
2186 to always fail with ENOSYS. Some functions are actually named
2187 something starting with __ and the normal name is an alias. */
2188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2196 if { (eval echo configure
:2197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2198 eval "ac_cv_func_$ac_func=yes"
2200 echo "configure: failed program was:" >&5
2201 cat conftest.
$ac_ext >&5
2203 eval "ac_cv_func_$ac_func=no"
2208 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2209 echo "$ac_t""yes" 1>&6
2210 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2211 cat >> confdefs.h
<<EOF
2212 #define $ac_tr_func 1
2216 echo "$ac_t""no" 1>&6
2220 for ac_func
in memcpy memmove strdup strerror
2222 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2223 echo "configure:2224: checking for $ac_func" >&5
2224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2225 echo $ac_n "(cached) $ac_c" 1>&6
2227 cat > conftest.
$ac_ext <<EOF
2228 #line 2229 "configure"
2229 #include "confdefs.h"
2230 /* System header to define __stub macros and hopefully few prototypes,
2231 which can conflict with char $ac_func(); below. */
2233 /* Override any gcc2 internal prototype to avoid an error. */
2234 /* We use char because int might match the return type of a gcc2
2235 builtin and then its argument prototype would still apply. */
2240 /* The GNU C library defines this for functions which it implements
2241 to always fail with ENOSYS. Some functions are actually named
2242 something starting with __ and the normal name is an alias. */
2243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2251 if { (eval echo configure
:2252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2253 eval "ac_cv_func_$ac_func=yes"
2255 echo "configure: failed program was:" >&5
2256 cat conftest.
$ac_ext >&5
2258 eval "ac_cv_func_$ac_func=no"
2263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2264 echo "$ac_t""yes" 1>&6
2265 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2266 cat >> confdefs.h
<<EOF
2267 #define $ac_tr_func 1
2271 echo "$ac_t""no" 1>&6
2272 LIBOBJS
="$LIBOBJS ${ac_func}.o"
2279 echo $ac_n "checking for inline""... $ac_c" 1>&6
2280 echo "configure:2281: checking for inline" >&5
2281 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
2282 echo $ac_n "(cached) $ac_c" 1>&6
2285 for ac_kw
in inline __inline__ __inline
; do
2286 cat > conftest.
$ac_ext <<EOF
2287 #line 2288 "configure"
2288 #include "confdefs.h"
2294 if { (eval echo configure
:2295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2296 ac_cv_c_inline
=$ac_kw; break
2298 echo "configure: failed program was:" >&5
2299 cat conftest.
$ac_ext >&5
2306 echo "$ac_t""$ac_cv_c_inline" 1>&6
2307 case "$ac_cv_c_inline" in
2309 no
) cat >> confdefs.h
<<\EOF
2313 *) cat >> confdefs.h
<<EOF
2314 #define inline $ac_cv_c_inline
2319 echo $ac_n "checking for size_t""... $ac_c" 1>&6
2320 echo "configure:2321: checking for size_t" >&5
2321 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
2322 echo $ac_n "(cached) $ac_c" 1>&6
2324 cat > conftest.
$ac_ext <<EOF
2325 #line 2326 "configure"
2326 #include "confdefs.h"
2327 #include <sys/types.h>
2333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2334 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2336 ac_cv_type_size_t
=yes
2339 ac_cv_type_size_t
=no
2344 echo "$ac_t""$ac_cv_type_size_t" 1>&6
2345 if test $ac_cv_type_size_t = no
; then
2346 cat >> confdefs.h
<<\EOF
2347 #define size_t unsigned
2352 for ac_hdr
in unistd.h
2354 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2355 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2356 echo "configure:2357: checking for $ac_hdr" >&5
2357 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2358 echo $ac_n "(cached) $ac_c" 1>&6
2360 cat > conftest.
$ac_ext <<EOF
2361 #line 2362 "configure"
2362 #include "confdefs.h"
2365 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2366 { (eval echo configure
:2367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2367 ac_err
=`grep -v '^ *+' conftest.out`
2368 if test -z "$ac_err"; then
2370 eval "ac_cv_header_$ac_safe=yes"
2373 echo "configure: failed program was:" >&5
2374 cat conftest.
$ac_ext >&5
2376 eval "ac_cv_header_$ac_safe=no"
2380 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2381 echo "$ac_t""yes" 1>&6
2382 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2383 cat >> confdefs.h
<<EOF
2384 #define $ac_tr_hdr 1
2388 echo "$ac_t""no" 1>&6
2392 for ac_func
in getpagesize
2394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2395 echo "configure:2396: checking for $ac_func" >&5
2396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2397 echo $ac_n "(cached) $ac_c" 1>&6
2399 cat > conftest.
$ac_ext <<EOF
2400 #line 2401 "configure"
2401 #include "confdefs.h"
2402 /* System header to define __stub macros and hopefully few prototypes,
2403 which can conflict with char $ac_func(); below. */
2405 /* Override any gcc2 internal prototype to avoid an error. */
2406 /* We use char because int might match the return type of a gcc2
2407 builtin and then its argument prototype would still apply. */
2412 /* The GNU C library defines this for functions which it implements
2413 to always fail with ENOSYS. Some functions are actually named
2414 something starting with __ and the normal name is an alias. */
2415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2423 if { (eval echo configure
:2424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2425 eval "ac_cv_func_$ac_func=yes"
2427 echo "configure: failed program was:" >&5
2428 cat conftest.
$ac_ext >&5
2430 eval "ac_cv_func_$ac_func=no"
2435 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2436 echo "$ac_t""yes" 1>&6
2437 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2438 cat >> confdefs.h
<<EOF
2439 #define $ac_tr_func 1
2443 echo "$ac_t""no" 1>&6
2447 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
2448 echo "configure:2449: checking for working mmap" >&5
2449 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
2450 echo $ac_n "(cached) $ac_c" 1>&6
2452 if test "$cross_compiling" = yes; then
2453 ac_cv_func_mmap_fixed_mapped
=no
2455 cat > conftest.
$ac_ext <<EOF
2456 #line 2457 "configure"
2457 #include "confdefs.h"
2459 /* Thanks to Mike Haertel and Jim Avera for this test.
2460 Here is a matrix of mmap possibilities:
2461 mmap private not fixed
2462 mmap private fixed at somewhere currently unmapped
2463 mmap private fixed at somewhere already mapped
2464 mmap shared not fixed
2465 mmap shared fixed at somewhere currently unmapped
2466 mmap shared fixed at somewhere already mapped
2467 For private mappings, we should verify that changes cannot be read()
2468 back from the file, nor mmap's back from the file at a different
2469 address. (There have been systems where private was not correctly
2470 implemented like the infamous i386 svr4.0, and systems where the
2471 VM page cache was not coherent with the filesystem buffer cache
2472 like early versions of FreeBSD and possibly contemporary NetBSD.)
2473 For shared mappings, we should conversely verify that changes get
2474 propogated back to all the places they're supposed to be.
2476 Grep wants private fixed already mapped.
2477 The main things grep needs to know about mmap are:
2478 * does it exist and is it safe to write into the mmap'd area
2479 * how to use it (BSD variants) */
2480 #include <sys/types.h>
2482 #include <sys/mman.h>
2484 /* This mess was copied from the GNU getpagesize.h. */
2485 #ifndef HAVE_GETPAGESIZE
2486 # ifdef HAVE_UNISTD_H
2487 # include <unistd.h>
2490 /* Assume that all systems that can run configure have sys/param.h. */
2491 # ifndef HAVE_SYS_PARAM_H
2492 # define HAVE_SYS_PARAM_H 1
2495 # ifdef _SC_PAGESIZE
2496 # define getpagesize() sysconf(_SC_PAGESIZE)
2497 # else /* no _SC_PAGESIZE */
2498 # ifdef HAVE_SYS_PARAM_H
2499 # include <sys/param.h>
2500 # ifdef EXEC_PAGESIZE
2501 # define getpagesize() EXEC_PAGESIZE
2502 # else /* no EXEC_PAGESIZE */
2504 # define getpagesize() NBPG * CLSIZE
2507 # endif /* no CLSIZE */
2508 # else /* no NBPG */
2510 # define getpagesize() NBPC
2511 # else /* no NBPC */
2513 # define getpagesize() PAGESIZE
2514 # endif /* PAGESIZE */
2515 # endif /* no NBPC */
2516 # endif /* no NBPG */
2517 # endif /* no EXEC_PAGESIZE */
2518 # else /* no HAVE_SYS_PARAM_H */
2519 # define getpagesize() 8192 /* punt totally */
2520 # endif /* no HAVE_SYS_PARAM_H */
2521 # endif /* no _SC_PAGESIZE */
2523 #endif /* no HAVE_GETPAGESIZE */
2526 extern "C" { void *malloc(unsigned); }
2534 char *data, *data2, *data3;
2538 pagesize = getpagesize();
2541 * First, make a file with some known garbage in it.
2543 data = malloc(pagesize);
2546 for (i = 0; i < pagesize; ++i)
2547 *(data + i) = rand();
2549 fd = creat("conftestmmap", 0600);
2552 if (write(fd, data, pagesize) != pagesize)
2557 * Next, try to mmap the file at a fixed address which
2558 * already has something else allocated at it. If we can,
2559 * also make sure that we see the same garbage.
2561 fd = open("conftestmmap", O_RDWR);
2564 data2 = malloc(2 * pagesize);
2567 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
2568 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
2569 MAP_PRIVATE | MAP_FIXED, fd, 0L))
2571 for (i = 0; i < pagesize; ++i)
2572 if (*(data + i) != *(data2 + i))
2576 * Finally, make sure that changes to the mapped area
2577 * do not percolate back to the file as seen by read().
2578 * (This is a bug on some variants of i386 svr4.0.)
2580 for (i = 0; i < pagesize; ++i)
2581 *(data2 + i) = *(data2 + i) + 1;
2582 data3 = malloc(pagesize);
2585 if (read(fd, data3, pagesize) != pagesize)
2587 for (i = 0; i < pagesize; ++i)
2588 if (*(data + i) != *(data3 + i))
2591 unlink("conftestmmap");
2596 if { (eval echo configure
:2597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2598 ac_cv_func_mmap_fixed_mapped
=yes
2600 echo "configure: failed program was:" >&5
2601 cat conftest.
$ac_ext >&5
2603 ac_cv_func_mmap_fixed_mapped
=no
2610 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
2611 if test $ac_cv_func_mmap_fixed_mapped = yes; then
2612 cat >> confdefs.h
<<\EOF
2619 for ac_hdr
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
2622 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2623 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2624 echo "configure:2625: checking for $ac_hdr" >&5
2625 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2626 echo $ac_n "(cached) $ac_c" 1>&6
2628 cat > conftest.
$ac_ext <<EOF
2629 #line 2630 "configure"
2630 #include "confdefs.h"
2633 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2634 { (eval echo configure
:2635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2635 ac_err
=`grep -v '^ *+' conftest.out`
2636 if test -z "$ac_err"; then
2638 eval "ac_cv_header_$ac_safe=yes"
2641 echo "configure: failed program was:" >&5
2642 cat conftest.
$ac_ext >&5
2644 eval "ac_cv_header_$ac_safe=no"
2648 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2649 echo "$ac_t""yes" 1>&6
2650 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2651 cat >> confdefs.h
<<EOF
2652 #define $ac_tr_hdr 1
2656 echo "$ac_t""no" 1>&6
2660 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
2661 __argz_count __argz_stringify __argz_next
2663 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2664 echo "configure:2665: checking for $ac_func" >&5
2665 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2666 echo $ac_n "(cached) $ac_c" 1>&6
2668 cat > conftest.
$ac_ext <<EOF
2669 #line 2670 "configure"
2670 #include "confdefs.h"
2671 /* System header to define __stub macros and hopefully few prototypes,
2672 which can conflict with char $ac_func(); below. */
2674 /* Override any gcc2 internal prototype to avoid an error. */
2675 /* We use char because int might match the return type of a gcc2
2676 builtin and then its argument prototype would still apply. */
2681 /* The GNU C library defines this for functions which it implements
2682 to always fail with ENOSYS. Some functions are actually named
2683 something starting with __ and the normal name is an alias. */
2684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2692 if { (eval echo configure
:2693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2694 eval "ac_cv_func_$ac_func=yes"
2696 echo "configure: failed program was:" >&5
2697 cat conftest.
$ac_ext >&5
2699 eval "ac_cv_func_$ac_func=no"
2704 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2705 echo "$ac_t""yes" 1>&6
2706 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2707 cat >> confdefs.h
<<EOF
2708 #define $ac_tr_func 1
2712 echo "$ac_t""no" 1>&6
2717 if test "${ac_cv_func_stpcpy+set}" != "set"; then
2718 for ac_func
in stpcpy
2720 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2721 echo "configure:2722: checking for $ac_func" >&5
2722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2723 echo $ac_n "(cached) $ac_c" 1>&6
2725 cat > conftest.
$ac_ext <<EOF
2726 #line 2727 "configure"
2727 #include "confdefs.h"
2728 /* System header to define __stub macros and hopefully few prototypes,
2729 which can conflict with char $ac_func(); below. */
2731 /* Override any gcc2 internal prototype to avoid an error. */
2732 /* We use char because int might match the return type of a gcc2
2733 builtin and then its argument prototype would still apply. */
2738 /* The GNU C library defines this for functions which it implements
2739 to always fail with ENOSYS. Some functions are actually named
2740 something starting with __ and the normal name is an alias. */
2741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2749 if { (eval echo configure
:2750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2751 eval "ac_cv_func_$ac_func=yes"
2753 echo "configure: failed program was:" >&5
2754 cat conftest.
$ac_ext >&5
2756 eval "ac_cv_func_$ac_func=no"
2761 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2762 echo "$ac_t""yes" 1>&6
2763 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2764 cat >> confdefs.h
<<EOF
2765 #define $ac_tr_func 1
2769 echo "$ac_t""no" 1>&6
2774 if test "${ac_cv_func_stpcpy}" = "yes"; then
2775 cat >> confdefs.h
<<\EOF
2776 #define HAVE_STPCPY 1
2781 if test $ac_cv_header_locale_h = yes; then
2782 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
2783 echo "configure:2784: checking for LC_MESSAGES" >&5
2784 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
2785 echo $ac_n "(cached) $ac_c" 1>&6
2787 cat > conftest.
$ac_ext <<EOF
2788 #line 2789 "configure"
2789 #include "confdefs.h"
2795 if { (eval echo configure
:2796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2797 am_cv_val_LC_MESSAGES
=yes
2799 echo "configure: failed program was:" >&5
2800 cat conftest.
$ac_ext >&5
2802 am_cv_val_LC_MESSAGES
=no
2807 echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6
2808 if test $am_cv_val_LC_MESSAGES = yes; then
2809 cat >> confdefs.h
<<\EOF
2810 #define HAVE_LC_MESSAGES 1
2815 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
2816 echo "configure:2817: checking whether NLS is requested" >&5
2817 # Check whether --enable-nls or --disable-nls was given.
2818 if test "${enable_nls+set}" = set; then
2819 enableval
="$enable_nls"
2825 echo "$ac_t""$USE_NLS" 1>&6
2828 USE_INCLUDED_LIBINTL
=no
2830 if test "$USE_NLS" = "yes"; then
2831 cat >> confdefs.h
<<\EOF
2832 #define ENABLE_NLS 1
2835 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
2836 echo "configure:2837: checking whether included gettext is requested" >&5
2837 # Check whether --with-included-gettext or --without-included-gettext was given.
2838 if test "${with_included_gettext+set}" = set; then
2839 withval
="$with_included_gettext"
2840 nls_cv_force_use_gnu_gettext
=$withval
2842 nls_cv_force_use_gnu_gettext
=no
2845 echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6
2847 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
2848 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
2850 nls_cv_header_libgt
=
2853 ac_safe
=`echo "libintl.h" | sed 'y%./+-%__p_%'`
2854 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
2855 echo "configure:2856: checking for libintl.h" >&5
2856 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2857 echo $ac_n "(cached) $ac_c" 1>&6
2859 cat > conftest.
$ac_ext <<EOF
2860 #line 2861 "configure"
2861 #include "confdefs.h"
2862 #include <libintl.h>
2864 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2865 { (eval echo configure
:2866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2866 ac_err
=`grep -v '^ *+' conftest.out`
2867 if test -z "$ac_err"; then
2869 eval "ac_cv_header_$ac_safe=yes"
2872 echo "configure: failed program was:" >&5
2873 cat conftest.
$ac_ext >&5
2875 eval "ac_cv_header_$ac_safe=no"
2879 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2880 echo "$ac_t""yes" 1>&6
2881 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
2882 echo "configure:2883: checking for gettext in libc" >&5
2883 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
2884 echo $ac_n "(cached) $ac_c" 1>&6
2886 cat > conftest.
$ac_ext <<EOF
2887 #line 2888 "configure"
2888 #include "confdefs.h"
2889 #include <libintl.h>
2891 return (int) gettext ("")
2894 if { (eval echo configure
:2895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2896 gt_cv_func_gettext_libc
=yes
2898 echo "configure: failed program was:" >&5
2899 cat conftest.
$ac_ext >&5
2901 gt_cv_func_gettext_libc
=no
2906 echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6
2908 if test "$gt_cv_func_gettext_libc" != "yes"; then
2909 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
2910 echo "configure:2911: checking for bindtextdomain in -lintl" >&5
2911 ac_lib_var
=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
2912 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2913 echo $ac_n "(cached) $ac_c" 1>&6
2915 ac_save_LIBS
="$LIBS"
2917 cat > conftest.
$ac_ext <<EOF
2918 #line 2919 "configure"
2919 #include "confdefs.h"
2920 /* Override any gcc2 internal prototype to avoid an error. */
2921 /* We use char because int might match the return type of a gcc2
2922 builtin and then its argument prototype would still apply. */
2923 char bindtextdomain();
2929 if { (eval echo configure
:2930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2931 eval "ac_cv_lib_$ac_lib_var=yes"
2933 echo "configure: failed program was:" >&5
2934 cat conftest.
$ac_ext >&5
2936 eval "ac_cv_lib_$ac_lib_var=no"
2939 LIBS
="$ac_save_LIBS"
2942 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2943 echo "$ac_t""yes" 1>&6
2944 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
2945 echo "configure:2946: checking for gettext in libintl" >&5
2946 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
2947 echo $ac_n "(cached) $ac_c" 1>&6
2949 cat > conftest.
$ac_ext <<EOF
2950 #line 2951 "configure"
2951 #include "confdefs.h"
2954 return (int) gettext ("")
2957 if { (eval echo configure
:2958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2959 gt_cv_func_gettext_libintl
=yes
2961 echo "configure: failed program was:" >&5
2962 cat conftest.
$ac_ext >&5
2964 gt_cv_func_gettext_libintl
=no
2969 echo "$ac_t""$gt_cv_func_gettext_libintl" 1>&6
2971 echo "$ac_t""no" 1>&6
2976 if test "$gt_cv_func_gettext_libc" = "yes" \
2977 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
2978 cat >> confdefs.h
<<\EOF
2979 #define HAVE_GETTEXT 1
2982 # Extract the first word of "msgfmt", so it can be a program name with args.
2983 set dummy msgfmt
; ac_word
=$2
2984 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2985 echo "configure:2986: checking for $ac_word" >&5
2986 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
2987 echo $ac_n "(cached) $ac_c" 1>&6
2991 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
2994 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2995 for ac_dir
in $PATH; do
2996 test -z "$ac_dir" && ac_dir
=.
2997 if test -f $ac_dir/$ac_word; then
2998 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
2999 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
3005 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
3009 MSGFMT
="$ac_cv_path_MSGFMT"
3010 if test -n "$MSGFMT"; then
3011 echo "$ac_t""$MSGFMT" 1>&6
3013 echo "$ac_t""no" 1>&6
3015 if test "$MSGFMT" != "no"; then
3016 for ac_func
in dcgettext
3018 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3019 echo "configure:3020: checking for $ac_func" >&5
3020 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3021 echo $ac_n "(cached) $ac_c" 1>&6
3023 cat > conftest.
$ac_ext <<EOF
3024 #line 3025 "configure"
3025 #include "confdefs.h"
3026 /* System header to define __stub macros and hopefully few prototypes,
3027 which can conflict with char $ac_func(); below. */
3029 /* Override any gcc2 internal prototype to avoid an error. */
3030 /* We use char because int might match the return type of a gcc2
3031 builtin and then its argument prototype would still apply. */
3036 /* The GNU C library defines this for functions which it implements
3037 to always fail with ENOSYS. Some functions are actually named
3038 something starting with __ and the normal name is an alias. */
3039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3047 if { (eval echo configure
:3048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3049 eval "ac_cv_func_$ac_func=yes"
3051 echo "configure: failed program was:" >&5
3052 cat conftest.
$ac_ext >&5
3054 eval "ac_cv_func_$ac_func=no"
3059 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3060 echo "$ac_t""yes" 1>&6
3061 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3062 cat >> confdefs.h
<<EOF
3063 #define $ac_tr_func 1
3067 echo "$ac_t""no" 1>&6
3071 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3072 set dummy gmsgfmt
; ac_word
=$2
3073 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3074 echo "configure:3075: checking for $ac_word" >&5
3075 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
3076 echo $ac_n "(cached) $ac_c" 1>&6
3080 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
3083 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a dos path.
3086 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3087 for ac_dir
in $PATH; do
3088 test -z "$ac_dir" && ac_dir
=.
3089 if test -f $ac_dir/$ac_word; then
3090 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
3095 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
3099 GMSGFMT
="$ac_cv_path_GMSGFMT"
3100 if test -n "$GMSGFMT"; then
3101 echo "$ac_t""$GMSGFMT" 1>&6
3103 echo "$ac_t""no" 1>&6
3106 # Extract the first word of "xgettext", so it can be a program name with args.
3107 set dummy xgettext
; ac_word
=$2
3108 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3109 echo "configure:3110: checking for $ac_word" >&5
3110 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
3111 echo $ac_n "(cached) $ac_c" 1>&6
3115 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
3118 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3119 for ac_dir
in $PATH; do
3120 test -z "$ac_dir" && ac_dir
=.
3121 if test -f $ac_dir/$ac_word; then
3122 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
3123 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
3129 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
3133 XGETTEXT
="$ac_cv_path_XGETTEXT"
3134 if test -n "$XGETTEXT"; then
3135 echo "$ac_t""$XGETTEXT" 1>&6
3137 echo "$ac_t""no" 1>&6
3140 cat > conftest.
$ac_ext <<EOF
3141 #line 3142 "configure"
3142 #include "confdefs.h"
3145 extern int _nl_msg_cat_cntr;
3146 return _nl_msg_cat_cntr
3149 if { (eval echo configure
:3150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3154 echo "configure: failed program was:" >&5
3155 cat conftest.
$ac_ext >&5
3166 echo "$ac_t""no" 1>&6
3170 if test "$CATOBJEXT" = "NONE"; then
3171 echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6
3172 echo "configure:3173: checking whether catgets can be used" >&5
3173 # Check whether --with-catgets or --without-catgets was given.
3174 if test "${with_catgets+set}" = set; then
3175 withval
="$with_catgets"
3176 nls_cv_use_catgets
=$withval
3178 nls_cv_use_catgets
=no
3181 echo "$ac_t""$nls_cv_use_catgets" 1>&6
3183 if test "$nls_cv_use_catgets" = "yes"; then
3184 echo $ac_n "checking for main in -li""... $ac_c" 1>&6
3185 echo "configure:3186: checking for main in -li" >&5
3186 ac_lib_var
=`echo i'_'main | sed 'y%./+-%__p_%'`
3187 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3188 echo $ac_n "(cached) $ac_c" 1>&6
3190 ac_save_LIBS
="$LIBS"
3192 cat > conftest.
$ac_ext <<EOF
3193 #line 3194 "configure"
3194 #include "confdefs.h"
3200 if { (eval echo configure
:3201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3202 eval "ac_cv_lib_$ac_lib_var=yes"
3204 echo "configure: failed program was:" >&5
3205 cat conftest.
$ac_ext >&5
3207 eval "ac_cv_lib_$ac_lib_var=no"
3210 LIBS
="$ac_save_LIBS"
3213 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3214 echo "$ac_t""yes" 1>&6
3215 ac_tr_lib
=HAVE_LIB
`echo i | sed -e 's/[^a-zA-Z0-9_]/_/g' \
3216 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
3217 cat >> confdefs.h
<<EOF
3218 #define $ac_tr_lib 1
3224 echo "$ac_t""no" 1>&6
3227 echo $ac_n "checking for catgets""... $ac_c" 1>&6
3228 echo "configure:3229: checking for catgets" >&5
3229 if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
3230 echo $ac_n "(cached) $ac_c" 1>&6
3232 cat > conftest.
$ac_ext <<EOF
3233 #line 3234 "configure"
3234 #include "confdefs.h"
3235 /* System header to define __stub macros and hopefully few prototypes,
3236 which can conflict with char catgets(); below. */
3238 /* Override any gcc2 internal prototype to avoid an error. */
3239 /* We use char because int might match the return type of a gcc2
3240 builtin and then its argument prototype would still apply. */
3245 /* The GNU C library defines this for functions which it implements
3246 to always fail with ENOSYS. Some functions are actually named
3247 something starting with __ and the normal name is an alias. */
3248 #if defined (__stub_catgets) || defined (__stub___catgets)
3256 if { (eval echo configure
:3257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3258 eval "ac_cv_func_catgets=yes"
3260 echo "configure: failed program was:" >&5
3261 cat conftest.
$ac_ext >&5
3263 eval "ac_cv_func_catgets=no"
3268 if eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then
3269 echo "$ac_t""yes" 1>&6
3270 cat >> confdefs.h
<<\EOF
3271 #define HAVE_CATGETS 1
3274 INTLOBJS
="\$(CATOBJS)"
3275 # Extract the first word of "gencat", so it can be a program name with args.
3276 set dummy gencat
; ac_word
=$2
3277 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3278 echo "configure:3279: checking for $ac_word" >&5
3279 if eval "test \"`echo '$''{'ac_cv_path_GENCAT'+set}'`\" = set"; then
3280 echo $ac_n "(cached) $ac_c" 1>&6
3284 ac_cv_path_GENCAT
="$GENCAT" # Let the user override the test with a path.
3287 ac_cv_path_GENCAT
="$GENCAT" # Let the user override the test with a dos path.
3290 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3291 for ac_dir
in $PATH; do
3292 test -z "$ac_dir" && ac_dir
=.
3293 if test -f $ac_dir/$ac_word; then
3294 ac_cv_path_GENCAT
="$ac_dir/$ac_word"
3299 test -z "$ac_cv_path_GENCAT" && ac_cv_path_GENCAT
="no"
3303 GENCAT
="$ac_cv_path_GENCAT"
3304 if test -n "$GENCAT"; then
3305 echo "$ac_t""$GENCAT" 1>&6
3307 echo "$ac_t""no" 1>&6
3309 if test "$GENCAT" != "no"; then
3310 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3311 set dummy gmsgfmt
; ac_word
=$2
3312 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3313 echo "configure:3314: checking for $ac_word" >&5
3314 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
3315 echo $ac_n "(cached) $ac_c" 1>&6
3319 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
3322 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a dos path.
3325 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3326 for ac_dir
in $PATH; do
3327 test -z "$ac_dir" && ac_dir
=.
3328 if test -f $ac_dir/$ac_word; then
3329 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
3334 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="no"
3338 GMSGFMT
="$ac_cv_path_GMSGFMT"
3339 if test -n "$GMSGFMT"; then
3340 echo "$ac_t""$GMSGFMT" 1>&6
3342 echo "$ac_t""no" 1>&6
3345 if test "$GMSGFMT" = "no"; then
3346 # Extract the first word of "msgfmt", so it can be a program name with args.
3347 set dummy msgfmt
; ac_word
=$2
3348 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3349 echo "configure:3350: checking for $ac_word" >&5
3350 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
3351 echo $ac_n "(cached) $ac_c" 1>&6
3355 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
3358 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3359 for ac_dir
in $PATH; do
3360 test -z "$ac_dir" && ac_dir
=.
3361 if test -f $ac_dir/$ac_word; then
3362 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
3363 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
3369 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="no"
3373 GMSGFMT
="$ac_cv_path_GMSGFMT"
3374 if test -n "$GMSGFMT"; then
3375 echo "$ac_t""$GMSGFMT" 1>&6
3377 echo "$ac_t""no" 1>&6
3381 # Extract the first word of "xgettext", so it can be a program name with args.
3382 set dummy xgettext
; ac_word
=$2
3383 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3384 echo "configure:3385: checking for $ac_word" >&5
3385 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
3386 echo $ac_n "(cached) $ac_c" 1>&6
3390 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
3393 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3394 for ac_dir
in $PATH; do
3395 test -z "$ac_dir" && ac_dir
=.
3396 if test -f $ac_dir/$ac_word; then
3397 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
3398 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
3404 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
3408 XGETTEXT
="$ac_cv_path_XGETTEXT"
3409 if test -n "$XGETTEXT"; then
3410 echo "$ac_t""$XGETTEXT" 1>&6
3412 echo "$ac_t""no" 1>&6
3415 USE_INCLUDED_LIBINTL
=yes
3419 INTLDEPS
="../intl/libintl.a"
3421 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
3422 nls_cv_header_intl
=intl
/libintl.h
3423 nls_cv_header_libgt
=intl
/libgettext.h
3426 echo "$ac_t""no" 1>&6
3432 if test "$CATOBJEXT" = "NONE"; then
3433 nls_cv_use_gnu_gettext
=yes
3437 if test "$nls_cv_use_gnu_gettext" = "yes"; then
3438 INTLOBJS
="\$(GETTOBJS)"
3439 # Extract the first word of "msgfmt", so it can be a program name with args.
3440 set dummy msgfmt
; ac_word
=$2
3441 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3442 echo "configure:3443: checking for $ac_word" >&5
3443 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
3444 echo $ac_n "(cached) $ac_c" 1>&6
3448 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
3451 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3452 for ac_dir
in $PATH; do
3453 test -z "$ac_dir" && ac_dir
=.
3454 if test -f $ac_dir/$ac_word; then
3455 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
3456 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
3462 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
3466 MSGFMT
="$ac_cv_path_MSGFMT"
3467 if test -n "$MSGFMT"; then
3468 echo "$ac_t""$MSGFMT" 1>&6
3470 echo "$ac_t""no" 1>&6
3473 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3474 set dummy gmsgfmt
; ac_word
=$2
3475 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3476 echo "configure:3477: checking for $ac_word" >&5
3477 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
3478 echo $ac_n "(cached) $ac_c" 1>&6
3482 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
3485 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a dos path.
3488 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3489 for ac_dir
in $PATH; do
3490 test -z "$ac_dir" && ac_dir
=.
3491 if test -f $ac_dir/$ac_word; then
3492 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
3497 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
3501 GMSGFMT
="$ac_cv_path_GMSGFMT"
3502 if test -n "$GMSGFMT"; then
3503 echo "$ac_t""$GMSGFMT" 1>&6
3505 echo "$ac_t""no" 1>&6
3508 # Extract the first word of "xgettext", so it can be a program name with args.
3509 set dummy xgettext
; ac_word
=$2
3510 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3511 echo "configure:3512: checking for $ac_word" >&5
3512 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
3513 echo $ac_n "(cached) $ac_c" 1>&6
3517 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
3520 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3521 for ac_dir
in $PATH; do
3522 test -z "$ac_dir" && ac_dir
=.
3523 if test -f $ac_dir/$ac_word; then
3524 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
3525 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
3531 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
3535 XGETTEXT
="$ac_cv_path_XGETTEXT"
3536 if test -n "$XGETTEXT"; then
3537 echo "$ac_t""$XGETTEXT" 1>&6
3539 echo "$ac_t""no" 1>&6
3543 USE_INCLUDED_LIBINTL
=yes
3547 INTLDEPS
="../intl/libintl.a"
3549 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
3550 nls_cv_header_intl
=intl
/libintl.h
3551 nls_cv_header_libgt
=intl
/libgettext.h
3554 if test "$XGETTEXT" != ":"; then
3555 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
3558 echo "$ac_t""found xgettext programs is not GNU xgettext; ignore it" 1>&6
3563 # We need to process the po/ directory.
3567 nls_cv_header_intl
=intl
/libintl.h
3568 nls_cv_header_libgt
=intl
/libgettext.h
3571 # If this is used in GNU gettext we have to set USE_NLS to `yes'
3572 # because some of the sources are only built for this goal.
3573 if test "$PACKAGE" = gettext; then
3575 USE_INCLUDED_LIBINTL
=yes
3578 for lang
in $ALL_LINGUAS; do
3579 GMOFILES
="$GMOFILES $lang.gmo"
3580 POFILES
="$POFILES $lang.po"
3596 if test "x$CATOBJEXT" != "x"; then
3597 if test "x$ALL_LINGUAS" = "x"; then
3600 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
3601 echo "configure:3602: checking for catalogs to be installed" >&5
3603 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
3604 case "$ALL_LINGUAS" in
3605 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
3608 LINGUAS
=$NEW_LINGUAS
3609 echo "$ac_t""$LINGUAS" 1>&6
3612 if test -n "$LINGUAS"; then
3613 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
3617 test -d intl || mkdir intl
3618 if test "$CATOBJEXT" = ".cat"; then
3619 ac_safe
=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
3620 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
3621 echo "configure:3622: checking for linux/version.h" >&5
3622 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3623 echo $ac_n "(cached) $ac_c" 1>&6
3625 cat > conftest.
$ac_ext <<EOF
3626 #line 3627 "configure"
3627 #include "confdefs.h"
3628 #include <linux/version.h>
3630 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3631 { (eval echo configure
:3632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3632 ac_err
=`grep -v '^ *+' conftest.out`
3633 if test -z "$ac_err"; then
3635 eval "ac_cv_header_$ac_safe=yes"
3638 echo "configure: failed program was:" >&5
3639 cat conftest.
$ac_ext >&5
3641 eval "ac_cv_header_$ac_safe=no"
3645 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3646 echo "$ac_t""yes" 1>&6
3649 echo "$ac_t""no" 1>&6
3654 sed -e '/^#/d' $srcdir/intl
/$msgformat-msg.
sed > intl
/po2msg.
sed
3656 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
3657 $srcdir/intl
/po2tbl.
sed.
in > intl
/po2tbl.
sed
3659 if test "$PACKAGE" = "gettext"; then
3670 if test $ac_aux_dir; then
3671 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
3673 if test -z $MKINSTALLDIRS; then
3674 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
3681 test -d po || mkdir po
3682 if test "x$srcdir" != "x."; then
3683 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
3684 posrcprefix
="$srcdir/"
3686 posrcprefix
="../$srcdir/"
3691 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
3692 < $srcdir/po
/POTFILES.
in > po
/POTFILES
3697 cat > confcache
<<\EOF
3698 # This file is a shell script that caches the results of configure
3699 # tests run on this system so they can be shared between configure
3700 # scripts and configure runs. It is not useful on other systems.
3701 # If it contains results you don't want to keep, you may remove or edit it.
3703 # By default, configure uses ./config.cache as the cache file,
3704 # creating it if it does not exist already. You can give configure
3705 # the --cache-file=FILE option to use a different cache file; that is
3706 # what configure does when it calls configure scripts in
3707 # subdirectories, so they share the cache.
3708 # Giving --cache-file=/dev/null disables caching, for debugging configure.
3709 # config.status only pays attention to the cache file if you give it the
3710 # --recheck option to rerun configure.
3713 # The following way of writing the cache mishandles newlines in values,
3714 # but we know of no workaround that is simple, portable, and efficient.
3715 # So, don't put newlines in cache variables' values.
3716 # Ultrix sh set writes to stderr and can't be redirected directly,
3717 # and sets the high bit in the cache file unless we assign to the vars.
3719 case `(ac_space=' '; set) 2>&1 | grep ac_space` in
3721 # `set' does not quote correctly, so add quotes (double-quote substitution
3722 # turns \\\\ into \\, and sed turns \\ into \).
3724 -e "s/'/'\\\\''/g" \
3725 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
3728 # `set' quotes correctly as required by POSIX, so do not add quotes.
3729 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
3732 if cmp -s $cache_file confcache
; then
3735 if test -w $cache_file; then
3736 echo "updating cache $cache_file"
3737 cat confcache
> $cache_file
3739 echo "not updating unwritable cache $cache_file"
3744 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
3746 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3747 # Let make expand exec_prefix.
3748 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3750 # Any assignment to VPATH causes Sun make to only execute
3751 # the first set of double-colon rules, so remove it if not needed.
3752 # If there is a colon in the path, we need to keep it.
3753 if test "x$srcdir" = x.
; then
3754 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
3757 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
3759 DEFS
=-DHAVE_CONFIG_H
3761 # Without the "./", some shells look in PATH for config.status.
3762 : ${CONFIG_STATUS=./config.status}
3764 echo creating
$CONFIG_STATUS
3765 rm -f $CONFIG_STATUS
3766 cat > $CONFIG_STATUS <<EOF
3768 # Generated automatically by configure.
3769 # Run this file to recreate the current configuration.
3770 # This directory was configured as follows,
3771 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3773 # $0 $ac_configure_args
3775 # Compiler output produced by configure, useful for debugging
3776 # configure, is in ./config.log if it exists.
3778 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
3781 case "\$ac_option" in
3782 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3783 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3784 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3785 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3786 echo "$CONFIG_STATUS generated by autoconf version 2.12.1"
3788 -help | --help | --hel | --he | --h)
3789 echo "\$ac_cs_usage"; exit 0 ;;
3790 *) echo "\$ac_cs_usage"; exit 1 ;;
3794 ac_given_srcdir=$srcdir
3795 ac_given_INSTALL="$INSTALL"
3797 trap 'rm -fr `echo "Makefile \
3806 config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3808 cat >> $CONFIG_STATUS <<EOF
3810 # Protect against being on the right side of a sed subst in config.status.
3811 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3812 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3816 s%@CFLAGS@%$CFLAGS%g
3817 s%@CPPFLAGS@%$CPPFLAGS%g
3818 s%@CXXFLAGS@%$CXXFLAGS%g
3820 s%@LDFLAGS@%$LDFLAGS%g
3822 s%@exec_prefix@%$exec_prefix%g
3823 s%@prefix@%$prefix%g
3824 s%@program_transform_name@%$program_transform_name%g
3825 s%@bindir@%$bindir%g
3826 s%@sbindir@%$sbindir%g
3827 s%@libexecdir@%$libexecdir%g
3828 s%@datadir@%$datadir%g
3829 s%@sysconfdir@%$sysconfdir%g
3830 s%@sharedstatedir@%$sharedstatedir%g
3831 s%@localstatedir@%$localstatedir%g
3832 s%@libdir@%$libdir%g
3833 s%@includedir@%$includedir%g
3834 s%@oldincludedir@%$oldincludedir%g
3835 s%@infodir@%$infodir%g
3836 s%@mandir@%$mandir%g
3837 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
3838 s%@INSTALL_DATA@%$INSTALL_DATA%g
3839 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
3840 s%@PACKAGE@%$PACKAGE%g
3841 s%@VERSION@%$VERSION%g
3842 s%@ACLOCAL@%$ACLOCAL%g
3843 s%@AUTOCONF@%$AUTOCONF%g
3844 s%@AUTOMAKE@%$AUTOMAKE%g
3845 s%@AUTOHEADER@%$AUTOHEADER%g
3846 s%@MAKEINFO@%$MAKEINFO%g
3847 s%@SET_MAKE@%$SET_MAKE%g
3850 s%@INSTALL@%$INSTALL%g
3851 s%@RANLIB@%$RANLIB%g
3852 s%@TEXCONFIG@%$TEXCONFIG%g
3855 s%@EXEEXT@%$EXEEXT%g
3856 s%@TERMLIBS@%$TERMLIBS%g
3857 s%@ALLOCA@%$ALLOCA%g
3858 s%@LIBOBJS@%$LIBOBJS%g
3859 s%@USE_NLS@%$USE_NLS%g
3860 s%@MSGFMT@%$MSGFMT%g
3861 s%@GMSGFMT@%$GMSGFMT%g
3862 s%@XGETTEXT@%$XGETTEXT%g
3863 s%@GENCAT@%$GENCAT%g
3864 s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g
3865 s%@CATALOGS@%$CATALOGS%g
3866 s%@CATOBJEXT@%$CATOBJEXT%g
3867 s%@DATADIRNAME@%$DATADIRNAME%g
3868 s%@GMOFILES@%$GMOFILES%g
3869 s%@INSTOBJEXT@%$INSTOBJEXT%g
3870 s%@INTLDEPS@%$INTLDEPS%g
3871 s%@INTLLIBS@%$INTLLIBS%g
3872 s%@INTLOBJS@%$INTLOBJS%g
3873 s%@POFILES@%$POFILES%g
3876 s%@GT_YES@%$GT_YES%g
3877 s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g
3883 cat >> $CONFIG_STATUS <<\EOF
3885 # Split the substitutions into bite-sized pieces for seds with
3886 # small command number limits, like on Digital OSF/1 and HP-UX.
3887 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
3888 ac_file
=1 # Number of current file.
3889 ac_beg
=1 # First line for current file.
3890 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
3893 while $ac_more_lines; do
3894 if test $ac_beg -gt 1; then
3895 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
3897 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
3899 if test ! -s conftest.s
$ac_file; then
3901 rm -f conftest.s
$ac_file
3903 if test -z "$ac_sed_cmds"; then
3904 ac_sed_cmds
="sed -f conftest.s$ac_file"
3906 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
3908 ac_file
=`expr $ac_file + 1`
3910 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
3913 if test -z "$ac_sed_cmds"; then
3918 cat >> $CONFIG_STATUS <<EOF
3920 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
3931 cat >> $CONFIG_STATUS <<\EOF
3932 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
3933 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3935 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
3936 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
3937 *) ac_file_in
="${ac_file}.in" ;;
3940 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3942 # Remove last slash and all that follows it. Not all systems have dirname.
3943 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3944 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
3945 # The file is in a subdirectory.
3946 test ! -d "$ac_dir" && mkdir
"$ac_dir"
3947 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
3948 # A "../" for each directory in $ac_dir_suffix.
3949 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
3951 ac_dir_suffix
= ac_dots
=
3954 case "$ac_given_srcdir" in
3956 if test -z "$ac_dots"; then top_srcdir
=.
3957 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3958 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
3960 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3961 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
3964 case "$ac_given_INSTALL" in
3965 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
3966 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
3969 echo creating
"$ac_file"
3971 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3973 *Makefile
*) ac_comsub
="1i\\
3974 # $configure_input" ;;
3978 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3980 s%@configure_input@%$configure_input%g
3981 s%@srcdir@%$srcdir%g
3982 s%@top_srcdir@%$top_srcdir%g
3983 s%@INSTALL@%$INSTALL%g
3984 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
3988 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3989 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3991 # ac_d sets the value in "#define NAME VALUE" lines.
3992 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3993 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
3996 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
3997 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3998 ac_uB
='\([ ]\)%\1#\2define\3'
4001 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4002 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4003 ac_eB
='$%\1#\2define\3'
4007 if test "${CONFIG_HEADERS+set}" != set; then
4009 cat >> $CONFIG_STATUS <<EOF
4010 CONFIG_HEADERS="config.h"
4012 cat >> $CONFIG_STATUS <<\EOF
4014 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
4015 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4017 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
4018 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
4019 *) ac_file_in
="${ac_file}.in" ;;
4022 echo creating
$ac_file
4024 rm -f conftest.frag conftest.
in conftest.out
4025 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
4026 cat $ac_file_inputs > conftest.
in
4030 # Transform confdefs.h into a sed script conftest.vals that substitutes
4031 # the proper values into config.h.in to produce config.h. And first:
4032 # Protect against being on the right side of a sed subst in config.status.
4033 # Protect against being in an unquoted here document in config.status.
4035 cat > conftest.hdr
<<\EOF
4038 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
4042 sed -n -f conftest.hdr confdefs.h > conftest.vals
4045 # This sed command replaces #undef with comments. This is necessary, for
4046 # example, in the case of _POSIX_SOURCE, which is predefined and required
4047 # on some systems where configure will not decide to define it.
4048 cat >> conftest.vals <<\EOF
4049 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
4052 # Break up conftest.vals because some shells have a limit on
4053 # the size of here documents, and old seds have small limits too.
4058 ac_lines=`grep -c . conftest.vals
`
4059 # grep -c gives empty output for an empty file on some AIX systems.
4060 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
4061 # Write a limited-size here document to conftest.frag.
4062 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
4063 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
4065 sed -f conftest.frag conftest.in > conftest.out
4067 mv conftest.out conftest.in
4069 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
4071 mv conftest.tail conftest.vals
4075 cat >> $CONFIG_STATUS <<\EOF
4076 rm -f conftest.frag conftest.h
4077 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
4078 cat conftest.in >> conftest.h
4080 if cmp -s $ac_file conftest.h 2>/dev/null; then
4081 echo "$ac_file is unchanged"
4084 # Remove last slash and all that follows it. Not all systems have dirname.
4085 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
4086 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
4087 # The file is in a subdirectory.
4088 test ! -d "$ac_dir" && mkdir "$ac_dir"
4091 mv conftest.h $ac_file
4097 cat >> $CONFIG_STATUS <<EOF
4098 ac_sources="$nls_cv_header_libgt"
4099 ac_dests="$nls_cv_header_intl"
4102 cat >> $CONFIG_STATUS <<\EOF
4103 srcdir=$ac_given_srcdir
4104 while test -n "$ac_sources"; do
4105 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
4106 set $ac_sources; ac_source=$1; shift; ac_sources=$*
4108 echo "linking $srcdir/$ac_source to $ac_dest"
4110 if test ! -r $srcdir/$ac_source; then
4111 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
4115 # Make relative symlinks.
4116 # Remove last slash and all that follows it. Not all systems have dirname.
4117 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
4118 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
4119 # The dest file is in a subdirectory.
4120 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
4121 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
4122 # A "../" for each directory in $ac_dest_dir_suffix.
4123 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
4125 ac_dest_dir_suffix= ac_dots=
4129 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
4130 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
4133 # Make a symlink if possible; otherwise try a hard link.
4134 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
4135 ln $srcdir/$ac_source $ac_dest; then :
4137 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
4141 cat >> $CONFIG_STATUS <<EOF
4145 cat >> $CONFIG_STATUS <<\EOF
4146 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
4147 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in >po/Makefile
4150 chmod +x $CONFIG_STATUS
4151 rm -fr confdefs* $ac_clean_files
4152 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1