2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6 # 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.
10 # Avoid depending upon Character Ranges.
11 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14 as_cr_digits='0123456789'
15 as_cr_alnum=$as_cr_Letters$as_cr_digits
17 # Sed expression to map a string onto a valid variable name.
18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
20 # Sed expression to map a string onto a valid CPP name.
21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
31 # Name of the executable.
32 as_me=`echo "$0" |sed 's,.*[\\/],,'`
34 if expr a : '\(a\)' >/dev/null 2>&1; then
40 rm -f conf$$ conf$$.exe conf$$.file
42 if ln -s conf$$.file conf$$ 2>/dev/null; then
43 # We could just check for DJGPP; but this test a) works b) is more generic
44 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45 if test -f conf$$.exe; then
46 # Don't use ln at all; we don't have any links
51 elif ln conf$$.file conf$$ 2>/dev/null; then
56 rm -f conf$$ conf$$.exe conf$$.file
58 as_executable_p="test -f"
60 # Support unset when possible.
61 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
68 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
69 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
70 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
71 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
72 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
73 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
74 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
75 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
78 # We need space, tab and new line, in precisely that order.
84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
87 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
88 # so uname gets run too.
89 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
96 ac_default_prefix=/usr/local
100 SHELL=${CONFIG_SHELL-/bin/sh}
102 # Maximum number of lines to put in a shell here document.
103 # This variable seems obsolete. It should probably be removed, and
104 # only ac_max_sed_lines should be used.
105 : ${ac_max_here_lines=38}
107 ac_unique_file="gnokii/gnokii.c"
108 ac_default_prefix="/usr/local"
109 # Factoring default headers for most tests.
110 ac_includes_default="\
113 # include <sys/types.h>
116 # include <sys/stat.h>
127 # if !STDC_HEADERS && HAVE_MEMORY_H
133 # include <strings.h>
136 # include <inttypes.h>
146 # Initialize some variables set by options.
148 ac_init_version=false
149 # The variables have the same names as the options, with
150 # dashes changed to underlines.
158 program_transform_name=s,x,x,
166 # Installation directory options.
167 # These are left unexpanded so users can "make install exec_prefix=/foo"
168 # and all the variables that are supposed to be based on exec_prefix
169 # by default will actually change.
170 # Use braces instead of parens because sh, perl, etc. also accept them.
171 bindir='${exec_prefix}/bin'
172 sbindir='${exec_prefix}/sbin'
173 libexecdir='${exec_prefix}/lib'
174 datadir='${prefix}/share'
175 sysconfdir='${prefix}/etc'
176 sharedstatedir='${prefix}/com'
177 localstatedir='/var/lib'
178 libdir='${exec_prefix}/lib'
179 includedir='${prefix}/include'
180 oldincludedir='/usr/include'
181 infodir='${prefix}/share/info'
182 mandir='${prefix}/man'
184 # Identity of this package.
194 # If the previous option needs an argument, assign it.
195 if test -n "$ac_prev"; then
196 eval "$ac_prev=\$ac_option"
201 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
203 # Accept the important Cygnus configure options, so we can diagnose typos.
207 -bindir | --bindir | --bindi | --bind | --bin | --bi)
209 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
212 -build | --build | --buil | --bui | --bu)
213 ac_prev=build_alias ;;
214 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
215 build_alias=$ac_optarg ;;
217 -cache-file | --cache-file | --cache-fil | --cache-fi \
218 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
219 ac_prev=cache_file ;;
220 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
221 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
222 cache_file=$ac_optarg ;;
225 cache_file=config.cache ;;
227 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
229 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
231 datadir=$ac_optarg ;;
233 -disable-* | --disable-*)
234 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
235 # Reject names that are not valid shell variable names.
236 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
237 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
238 { (exit 1); exit 1; }; }
239 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
240 eval "enable_$ac_feature=no" ;;
242 -enable-* | --enable-*)
243 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
244 # Reject names that are not valid shell variable names.
245 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
246 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
247 { (exit 1); exit 1; }; }
248 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
250 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
253 eval "enable_$ac_feature='$ac_optarg'" ;;
255 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
256 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
257 | --exec | --exe | --ex)
258 ac_prev=exec_prefix ;;
259 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
260 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
261 | --exec=* | --exe=* | --ex=*)
262 exec_prefix=$ac_optarg ;;
264 -gas | --gas | --ga | --g)
265 # Obsolete; use --with-gas.
268 -help | --help | --hel | --he | -h)
270 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
271 ac_init_help=recursive ;;
272 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
273 ac_init_help=short ;;
275 -host | --host | --hos | --ho)
276 ac_prev=host_alias ;;
277 -host=* | --host=* | --hos=* | --ho=*)
278 host_alias=$ac_optarg ;;
280 -includedir | --includedir | --includedi | --included | --include \
281 | --includ | --inclu | --incl | --inc)
282 ac_prev=includedir ;;
283 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
284 | --includ=* | --inclu=* | --incl=* | --inc=*)
285 includedir=$ac_optarg ;;
287 -infodir | --infodir | --infodi | --infod | --info | --inf)
289 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
290 infodir=$ac_optarg ;;
292 -libdir | --libdir | --libdi | --libd)
294 -libdir=* | --libdir=* | --libdi=* | --libd=*)
297 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
298 | --libexe | --libex | --libe)
299 ac_prev=libexecdir ;;
300 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
301 | --libexe=* | --libex=* | --libe=*)
302 libexecdir=$ac_optarg ;;
304 -localstatedir | --localstatedir | --localstatedi | --localstated \
305 | --localstate | --localstat | --localsta | --localst \
306 | --locals | --local | --loca | --loc | --lo)
307 ac_prev=localstatedir ;;
308 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
309 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
310 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
311 localstatedir=$ac_optarg ;;
313 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
315 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
319 # Obsolete; use --without-fp.
322 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
326 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
327 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
330 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
331 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
332 | --oldin | --oldi | --old | --ol | --o)
333 ac_prev=oldincludedir ;;
334 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
335 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
336 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
337 oldincludedir=$ac_optarg ;;
339 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
341 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
344 -program-prefix | --program-prefix | --program-prefi | --program-pref \
345 | --program-pre | --program-pr | --program-p)
346 ac_prev=program_prefix ;;
347 -program-prefix=* | --program-prefix=* | --program-prefi=* \
348 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
349 program_prefix=$ac_optarg ;;
351 -program-suffix | --program-suffix | --program-suffi | --program-suff \
352 | --program-suf | --program-su | --program-s)
353 ac_prev=program_suffix ;;
354 -program-suffix=* | --program-suffix=* | --program-suffi=* \
355 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
356 program_suffix=$ac_optarg ;;
358 -program-transform-name | --program-transform-name \
359 | --program-transform-nam | --program-transform-na \
360 | --program-transform-n | --program-transform- \
361 | --program-transform | --program-transfor \
362 | --program-transfo | --program-transf \
363 | --program-trans | --program-tran \
364 | --progr-tra | --program-tr | --program-t)
365 ac_prev=program_transform_name ;;
366 -program-transform-name=* | --program-transform-name=* \
367 | --program-transform-nam=* | --program-transform-na=* \
368 | --program-transform-n=* | --program-transform-=* \
369 | --program-transform=* | --program-transfor=* \
370 | --program-transfo=* | --program-transf=* \
371 | --program-trans=* | --program-tran=* \
372 | --progr-tra=* | --program-tr=* | --program-t=*)
373 program_transform_name=$ac_optarg ;;
375 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
376 | -silent | --silent | --silen | --sile | --sil)
379 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
381 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
383 sbindir=$ac_optarg ;;
385 -sharedstatedir | --sharedstatedir | --sharedstatedi \
386 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
387 | --sharedst | --shareds | --shared | --share | --shar \
389 ac_prev=sharedstatedir ;;
390 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
391 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
392 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
394 sharedstatedir=$ac_optarg ;;
396 -site | --site | --sit)
398 -site=* | --site=* | --sit=*)
401 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
403 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
406 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
407 | --syscon | --sysco | --sysc | --sys | --sy)
408 ac_prev=sysconfdir ;;
409 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
410 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
411 sysconfdir=$ac_optarg ;;
413 -target | --target | --targe | --targ | --tar | --ta | --t)
414 ac_prev=target_alias ;;
415 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
416 target_alias=$ac_optarg ;;
418 -v | -verbose | --verbose | --verbos | --verbo | --verb)
421 -version | --version | --versio | --versi | --vers | -V)
425 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
426 # Reject names that are not valid shell variable names.
427 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
428 { echo "$as_me: error: invalid package name: $ac_package" >&2
429 { (exit 1); exit 1; }; }
430 ac_package=`echo $ac_package| sed 's/-/_/g'`
432 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
435 eval "with_$ac_package='$ac_optarg'" ;;
437 -without-* | --without-*)
438 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
439 # Reject names that are not valid shell variable names.
440 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
441 { echo "$as_me: error: invalid package name: $ac_package" >&2
442 { (exit 1); exit 1; }; }
443 ac_package=`echo $ac_package | sed 's/-/_/g'`
444 eval "with_$ac_package=no" ;;
447 # Obsolete; use --with-x.
450 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
451 | --x-incl | --x-inc | --x-in | --x-i)
452 ac_prev=x_includes ;;
453 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
454 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
455 x_includes=$ac_optarg ;;
457 -x-libraries | --x-libraries | --x-librarie | --x-librari \
458 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
459 ac_prev=x_libraries ;;
460 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
461 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
462 x_libraries=$ac_optarg ;;
464 -*) { echo "$as_me: error: unrecognized option: $ac_option
465 Try \`$0 --help' for more information." >&2
466 { (exit 1); exit 1; }; }
470 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
471 # Reject names that are not valid shell variable names.
472 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
473 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
474 { (exit 1); exit 1; }; }
475 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
476 eval "$ac_envvar='$ac_optarg'"
480 # FIXME: should be removed in autoconf 3.0.
481 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
482 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
483 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
484 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
490 if test -n "$ac_prev"; then
491 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
492 { echo "$as_me: error: missing argument to $ac_option" >&2
493 { (exit 1); exit 1; }; }
496 # Be sure to have absolute paths.
497 for ac_var in exec_prefix prefix
499 eval ac_val=$`echo $ac_var`
501 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
502 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
503 { (exit 1); exit 1; }; };;
507 # Be sure to have absolute paths.
508 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
509 localstatedir libdir includedir oldincludedir infodir mandir
511 eval ac_val=$`echo $ac_var`
513 [\\/$]* | ?:[\\/]* ) ;;
514 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
515 { (exit 1); exit 1; }; };;
519 # There might be people who depend on the old broken behavior: `$host'
520 # used to hold the argument of --host etc.
525 # FIXME: should be removed in autoconf 3.0.
526 if test "x$host_alias" != x; then
527 if test "x$build_alias" = x; then
528 cross_compiling=maybe
529 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
530 If a cross compiler is detected then cross compile mode will be used." >&2
531 elif test "x$build_alias" != "x$host_alias"; then
537 test -n "$host_alias" && ac_tool_prefix=$host_alias-
539 test "$silent" = yes && exec 6>/dev/null
541 # Find the source files, if location was not specified.
542 if test -z "$srcdir"; then
543 ac_srcdir_defaulted=yes
544 # Try the directory containing this script, then its parent.
546 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
547 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
549 if test ! -r $srcdir/$ac_unique_file; then
553 ac_srcdir_defaulted=no
555 if test ! -r $srcdir/$ac_unique_file; then
556 if test "$ac_srcdir_defaulted" = yes; then
557 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
558 { (exit 1); exit 1; }; }
560 { echo "$as_me: error: cannot find sources in $srcdir" >&2
561 { (exit 1); exit 1; }; }
564 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
565 ac_env_build_alias_set=${build_alias+set}
566 ac_env_build_alias_value=$build_alias
567 ac_cv_env_build_alias_set=${build_alias+set}
568 ac_cv_env_build_alias_value=$build_alias
569 ac_env_host_alias_set=${host_alias+set}
570 ac_env_host_alias_value=$host_alias
571 ac_cv_env_host_alias_set=${host_alias+set}
572 ac_cv_env_host_alias_value=$host_alias
573 ac_env_target_alias_set=${target_alias+set}
574 ac_env_target_alias_value=$target_alias
575 ac_cv_env_target_alias_set=${target_alias+set}
576 ac_cv_env_target_alias_value=$target_alias
577 ac_env_CC_set=${CC+set}
579 ac_cv_env_CC_set=${CC+set}
580 ac_cv_env_CC_value=$CC
581 ac_env_CFLAGS_set=${CFLAGS+set}
582 ac_env_CFLAGS_value=$CFLAGS
583 ac_cv_env_CFLAGS_set=${CFLAGS+set}
584 ac_cv_env_CFLAGS_value=$CFLAGS
585 ac_env_LDFLAGS_set=${LDFLAGS+set}
586 ac_env_LDFLAGS_value=$LDFLAGS
587 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
588 ac_cv_env_LDFLAGS_value=$LDFLAGS
589 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
590 ac_env_CPPFLAGS_value=$CPPFLAGS
591 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
592 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
593 ac_env_CPP_set=${CPP+set}
594 ac_env_CPP_value=$CPP
595 ac_cv_env_CPP_set=${CPP+set}
596 ac_cv_env_CPP_value=$CPP
599 # Report the --help message.
601 if test "$ac_init_help" = "long"; then
602 # Omit some internal or obsolete options to make the list less imposing.
603 # This message is too long to be a string in the A/UX 3.1 sh.
605 \`configure' configures this package to adapt to many kinds of systems.
607 Usage: $0 [OPTION]... [VAR=VALUE]...
609 To assign environment variables (e.g., CC, CFLAGS...), specify them as
610 VAR=VALUE. See below for descriptions of some of the useful variables.
612 Defaults for the options are specified in brackets.
615 -h, --help display this help and exit
616 --help=short display options specific to this package
617 --help=recursive display the short help of all the included packages
618 -V, --version display version information and exit
619 -q, --quiet, --silent do not print \`checking...' messages
620 --cache-file=FILE cache test results in FILE [disabled]
621 -C, --config-cache alias for \`--cache-file=config.cache'
622 -n, --no-create do not create output files
623 --srcdir=DIR find the sources in DIR [configure dir or \`..']
628 Installation directories:
629 --prefix=PREFIX install architecture-independent files in PREFIX
631 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
634 By default, \`make install' will install all the files in
635 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
636 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
637 for instance \`--prefix=\$HOME'.
639 For better control, use the options below.
641 Fine tuning of the installation directories:
642 --bindir=DIR user executables [EPREFIX/bin]
643 --sbindir=DIR system admin executables [EPREFIX/sbin]
644 --libexecdir=DIR program executables [EPREFIX/libexec]
645 --datadir=DIR read-only architecture-independent data [PREFIX/share]
646 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
647 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
648 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
649 --libdir=DIR object code libraries [EPREFIX/lib]
650 --includedir=DIR C header files [PREFIX/include]
651 --oldincludedir=DIR C header files for non-gcc [/usr/include]
652 --infodir=DIR info documentation [PREFIX/info]
653 --mandir=DIR man documentation [PREFIX/man]
659 --x-includes=DIR X include files are in DIR
660 --x-libraries=DIR X library files are in DIR
663 --build=BUILD configure for building on BUILD [guessed]
664 --host=HOST build programs to run on HOST [BUILD]
665 --target=TARGET configure for building compilers for TARGET [HOST]
669 if test -n "$ac_init_help"; then
674 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
675 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
676 --enable-debug compile with debug code
677 --enable-xdebug compile with xdebug code
678 --enable-rlpdebug compile with RLP debug code
679 --disable-nls do not use NLS
680 --enable-security enable all security features
681 --enable-win32 if you want win32 suport
684 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
685 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
686 --with-libintl=DIR specifies the base NLS
687 --with-locale-dir=DIR Location of the locale file(s)
689 --with-libpthread=DIR specifies the base libpthread
690 --with-getopt=DIR specifies the getopt library location directory
691 --with-x use the X Window System
692 --with-xgnokiidir=DIR specifies the base for xgnokii
694 Some influential environment variables:
695 CC C compiler command
696 CFLAGS C compiler flags
697 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
698 nonstandard directory <lib dir>
699 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
700 headers in a nonstandard directory <include dir>
703 Use these variables to override the choices made by `configure' or to help
704 it to find libraries and programs with nonstandard names/locations.
709 if test "$ac_init_help" = "recursive"; then
710 # If there are subdirs, report their specific --help.
712 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
714 # A "../" for each directory in /$ac_subdir.
715 ac_dots=`echo $ac_subdir |
716 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
719 .) # No --srcdir option. We are building in place.
720 ac_sub_srcdir=$srcdir ;;
721 [\\/]* | ?:[\\/]* ) # Absolute path.
722 ac_sub_srcdir=$srcdir/$ac_subdir ;;
724 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
727 # Check for guested configure; otherwise get Cygnus style configure.
728 if test -f $ac_sub_srcdir/configure.gnu; then
730 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
731 elif test -f $ac_sub_srcdir/configure; then
733 $SHELL $ac_sub_srcdir/configure --help=recursive
734 elif test -f $ac_sub_srcdir/configure.ac ||
735 test -f $ac_sub_srcdir/configure.in; then
739 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
745 test -n "$ac_init_help" && exit 0
746 if $ac_init_version; then
749 generated by GNU Autoconf 2.52
751 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
752 Free Software Foundation, Inc.
753 This configure script is free software; the Free Software Foundation
754 gives unlimited permission to copy, distribute and modify it.
760 This file contains any messages produced by compilers while
761 running configure, to aid debugging if configure makes a mistake.
763 It was created by $as_me, which was
764 generated by GNU Autoconf 2.52. Invocation command line was
775 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
776 uname -m = `(uname -m) 2>/dev/null || echo unknown`
777 uname -r = `(uname -r) 2>/dev/null || echo unknown`
778 uname -s = `(uname -s) 2>/dev/null || echo unknown`
779 uname -v = `(uname -v) 2>/dev/null || echo unknown`
781 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
782 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
784 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
785 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
786 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
787 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
788 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
789 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
790 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
804 # Keep a trace of the command line.
805 # Strip out --no-create and --no-recursion so they do not pile up.
806 # Also quote any args containing shell meta-characters.
812 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
813 | --no-cr | --no-c) ;;
814 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
815 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
816 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
817 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
818 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
820 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
823 # Get rid of the leading space.
826 # When interrupted or exit'd, cleanup temporary files, and complete
827 # config.log. We remove comments because anyway the quotes in there
828 # would cause problems or look ugly.
830 # Save into config.log some information that might help in debugging.
832 echo "## ----------------- ##" >&5
833 echo "## Cache variables. ##" >&5
834 echo "## ----------------- ##" >&5
836 # The following way of writing the cache mishandles newlines in values,
839 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
842 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
843 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
847 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
851 sed "/^$/d" confdefs.h >conftest.log
852 if test -s conftest.log; then
854 echo "## ------------ ##" >&5
855 echo "## confdefs.h. ##" >&5
856 echo "## ------------ ##" >&5
861 test "$ac_signal" != 0 &&
862 echo "$as_me: caught signal $ac_signal" >&5
863 echo "$as_me: exit $exit_status" >&5
864 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
867 for ac_signal in 1 2 13 15; do
868 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
872 # confdefs.h avoids OS command line length limits that DEFS can exceed.
873 rm -rf conftest* confdefs.h
874 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
877 # Let the site file select an alternate cache file if it wants to.
878 # Prefer explicitly selected file to automatically selected ones.
879 if test -z "$CONFIG_SITE"; then
880 if test "x$prefix" != xNONE; then
881 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
883 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
886 for ac_site_file in $CONFIG_SITE; do
887 if test -r "$ac_site_file"; then
888 { echo "$as_me:888: loading site script $ac_site_file" >&5
889 echo "$as_me: loading site script $ac_site_file" >&6;}
890 cat "$ac_site_file" >&5
895 if test -r "$cache_file"; then
896 # Some versions of bash will fail to source /dev/null (special
897 # files actually), so we avoid doing that.
898 if test -f "$cache_file"; then
899 { echo "$as_me:899: loading cache $cache_file" >&5
900 echo "$as_me: loading cache $cache_file" >&6;}
902 [\\/]* | ?:[\\/]* ) . $cache_file;;
907 { echo "$as_me:907: creating cache $cache_file" >&5
908 echo "$as_me: creating cache $cache_file" >&6;}
912 # Check that the precious variables saved in the cache have kept the same
914 ac_cache_corrupted=false
915 for ac_var in `(set) 2>&1 |
916 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
917 eval ac_old_set=\$ac_cv_env_${ac_var}_set
918 eval ac_new_set=\$ac_env_${ac_var}_set
919 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
920 eval ac_new_val="\$ac_env_${ac_var}_value"
921 case $ac_old_set,$ac_new_set in
923 { echo "$as_me:923: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
924 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
925 ac_cache_corrupted=: ;;
927 { echo "$as_me:927: error: \`$ac_var' was not set in the previous run" >&5
928 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
929 ac_cache_corrupted=: ;;
932 if test "x$ac_old_val" != "x$ac_new_val"; then
933 { echo "$as_me:933: error: \`$ac_var' has changed since the previous run:" >&5
934 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
935 { echo "$as_me:935: former value: $ac_old_val" >&5
936 echo "$as_me: former value: $ac_old_val" >&2;}
937 { echo "$as_me:937: current value: $ac_new_val" >&5
938 echo "$as_me: current value: $ac_new_val" >&2;}
942 # Pass precious variables to config.status. It doesn't matter if
943 # we pass some twice (in addition to the command line arguments).
944 if test "$ac_new_set" = set; then
946 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
947 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
948 ac_configure_args="$ac_configure_args '$ac_arg'"
950 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
955 if $ac_cache_corrupted; then
956 { echo "$as_me:956: error: changes in the environment can compromise the build" >&5
957 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
958 { { echo "$as_me:958: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
959 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
960 { (exit 1); exit 1; }; }
964 ac_cpp='$CPP $CPPFLAGS'
965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
969 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
970 *c*,-n*) ECHO_N= ECHO_C='
972 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
973 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
975 echo "#! $SHELL" >conftest.sh
976 echo "exit 0" >>conftest.sh
978 if { (echo "$as_me:978: PATH=\".;.\"; conftest.sh") >&5
979 (PATH=".;."; conftest.sh) 2>&5
981 echo "$as_me:981: \$? = $ac_status" >&5
982 (exit $ac_status); }; then
983 ac_path_separator=';'
987 PATH_SEPARATOR="$ac_path_separator"
991 for ac_dir in config $srcdir/config; do
992 if test -f $ac_dir/install-sh; then
994 ac_install_sh="$ac_aux_dir/install-sh -c"
996 elif test -f $ac_dir/install.sh; then
998 ac_install_sh="$ac_aux_dir/install.sh -c"
1000 elif test -f $ac_dir/shtool; then
1002 ac_install_sh="$ac_aux_dir/shtool install -c"
1006 if test -z "$ac_aux_dir"; then
1007 { { echo "$as_me:1007: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1008 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1009 { (exit 1); exit 1; }; }
1011 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1012 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1013 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1015 # Make sure we can run config.sub.
1016 $ac_config_sub sun4 >/dev/null 2>&1 ||
1017 { { echo "$as_me:1017: error: cannot run $ac_config_sub" >&5
1018 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1019 { (exit 1); exit 1; }; }
1021 echo "$as_me:1021: checking build system type" >&5
1022 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1023 if test "${ac_cv_build+set}" = set; then
1024 echo $ECHO_N "(cached) $ECHO_C" >&6
1026 ac_cv_build_alias=$build_alias
1027 test -z "$ac_cv_build_alias" &&
1028 ac_cv_build_alias=`$ac_config_guess`
1029 test -z "$ac_cv_build_alias" &&
1030 { { echo "$as_me:1030: error: cannot guess build type; you must specify one" >&5
1031 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1032 { (exit 1); exit 1; }; }
1033 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1034 { { echo "$as_me:1034: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1035 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1036 { (exit 1); exit 1; }; }
1039 echo "$as_me:1039: result: $ac_cv_build" >&5
1040 echo "${ECHO_T}$ac_cv_build" >&6
1042 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1043 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1044 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1046 echo "$as_me:1046: checking host system type" >&5
1047 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1048 if test "${ac_cv_host+set}" = set; then
1049 echo $ECHO_N "(cached) $ECHO_C" >&6
1051 ac_cv_host_alias=$host_alias
1052 test -z "$ac_cv_host_alias" &&
1053 ac_cv_host_alias=$ac_cv_build_alias
1054 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1055 { { echo "$as_me:1055: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1056 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1057 { (exit 1); exit 1; }; }
1060 echo "$as_me:1060: result: $ac_cv_host" >&5
1061 echo "${ECHO_T}$ac_cv_host" >&6
1063 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1064 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1065 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1067 echo "$as_me:1067: checking target system type" >&5
1068 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1069 if test "${ac_cv_target+set}" = set; then
1070 echo $ECHO_N "(cached) $ECHO_C" >&6
1072 ac_cv_target_alias=$target_alias
1073 test "x$ac_cv_target_alias" = "x" &&
1074 ac_cv_target_alias=$ac_cv_host_alias
1075 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1076 { { echo "$as_me:1076: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1077 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1078 { (exit 1); exit 1; }; }
1081 echo "$as_me:1081: result: $ac_cv_target" >&5
1082 echo "${ECHO_T}$ac_cv_target" >&6
1083 target=$ac_cv_target
1084 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1085 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1086 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1088 # The aliases save the names the user supplied, while $host etc.
1089 # will get canonicalized.
1090 test -n "$target_alias" &&
1091 test "$program_prefix$program_suffix$program_transform_name" = \
1093 program_prefix=${target_alias}-
1096 ALL_LINGUAS="cs de et fi nl sk pl it"
1099 ac_cpp='$CPP $CPPFLAGS'
1100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1103 if test -n "$ac_tool_prefix"; then
1104 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1105 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1106 echo "$as_me:1106: checking for $ac_word" >&5
1107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1108 if test "${ac_cv_prog_CC+set}" = set; then
1109 echo $ECHO_N "(cached) $ECHO_C" >&6
1111 if test -n "$CC"; then
1112 ac_cv_prog_CC="$CC" # Let the user override the test.
1114 ac_save_IFS=$IFS; IFS=$ac_path_separator
1116 for ac_dir in $ac_dummy; do
1118 test -z "$ac_dir" && ac_dir=.
1119 $as_executable_p "$ac_dir/$ac_word" || continue
1120 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1121 echo "$as_me:1121: found $ac_dir/$ac_word" >&5
1128 if test -n "$CC"; then
1129 echo "$as_me:1129: result: $CC" >&5
1130 echo "${ECHO_T}$CC" >&6
1132 echo "$as_me:1132: result: no" >&5
1133 echo "${ECHO_T}no" >&6
1137 if test -z "$ac_cv_prog_CC"; then
1139 # Extract the first word of "gcc", so it can be a program name with args.
1140 set dummy gcc; ac_word=$2
1141 echo "$as_me:1141: checking for $ac_word" >&5
1142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1143 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1144 echo $ECHO_N "(cached) $ECHO_C" >&6
1146 if test -n "$ac_ct_CC"; then
1147 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1149 ac_save_IFS=$IFS; IFS=$ac_path_separator
1151 for ac_dir in $ac_dummy; do
1153 test -z "$ac_dir" && ac_dir=.
1154 $as_executable_p "$ac_dir/$ac_word" || continue
1155 ac_cv_prog_ac_ct_CC="gcc"
1156 echo "$as_me:1156: found $ac_dir/$ac_word" >&5
1162 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1163 if test -n "$ac_ct_CC"; then
1164 echo "$as_me:1164: result: $ac_ct_CC" >&5
1165 echo "${ECHO_T}$ac_ct_CC" >&6
1167 echo "$as_me:1167: result: no" >&5
1168 echo "${ECHO_T}no" >&6
1176 if test -z "$CC"; then
1177 if test -n "$ac_tool_prefix"; then
1178 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1179 set dummy ${ac_tool_prefix}cc; ac_word=$2
1180 echo "$as_me:1180: checking for $ac_word" >&5
1181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1182 if test "${ac_cv_prog_CC+set}" = set; then
1183 echo $ECHO_N "(cached) $ECHO_C" >&6
1185 if test -n "$CC"; then
1186 ac_cv_prog_CC="$CC" # Let the user override the test.
1188 ac_save_IFS=$IFS; IFS=$ac_path_separator
1190 for ac_dir in $ac_dummy; do
1192 test -z "$ac_dir" && ac_dir=.
1193 $as_executable_p "$ac_dir/$ac_word" || continue
1194 ac_cv_prog_CC="${ac_tool_prefix}cc"
1195 echo "$as_me:1195: found $ac_dir/$ac_word" >&5
1202 if test -n "$CC"; then
1203 echo "$as_me:1203: result: $CC" >&5
1204 echo "${ECHO_T}$CC" >&6
1206 echo "$as_me:1206: result: no" >&5
1207 echo "${ECHO_T}no" >&6
1211 if test -z "$ac_cv_prog_CC"; then
1213 # Extract the first word of "cc", so it can be a program name with args.
1214 set dummy cc; ac_word=$2
1215 echo "$as_me:1215: checking for $ac_word" >&5
1216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1217 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1218 echo $ECHO_N "(cached) $ECHO_C" >&6
1220 if test -n "$ac_ct_CC"; then
1221 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1223 ac_save_IFS=$IFS; IFS=$ac_path_separator
1225 for ac_dir in $ac_dummy; do
1227 test -z "$ac_dir" && ac_dir=.
1228 $as_executable_p "$ac_dir/$ac_word" || continue
1229 ac_cv_prog_ac_ct_CC="cc"
1230 echo "$as_me:1230: found $ac_dir/$ac_word" >&5
1236 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1237 if test -n "$ac_ct_CC"; then
1238 echo "$as_me:1238: result: $ac_ct_CC" >&5
1239 echo "${ECHO_T}$ac_ct_CC" >&6
1241 echo "$as_me:1241: result: no" >&5
1242 echo "${ECHO_T}no" >&6
1251 if test -z "$CC"; then
1252 # Extract the first word of "cc", so it can be a program name with args.
1253 set dummy cc; ac_word=$2
1254 echo "$as_me:1254: checking for $ac_word" >&5
1255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1256 if test "${ac_cv_prog_CC+set}" = set; then
1257 echo $ECHO_N "(cached) $ECHO_C" >&6
1259 if test -n "$CC"; then
1260 ac_cv_prog_CC="$CC" # Let the user override the test.
1263 ac_save_IFS=$IFS; IFS=$ac_path_separator
1265 for ac_dir in $ac_dummy; do
1267 test -z "$ac_dir" && ac_dir=.
1268 $as_executable_p "$ac_dir/$ac_word" || continue
1269 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1270 ac_prog_rejected=yes
1274 echo "$as_me:1274: found $ac_dir/$ac_word" >&5
1278 if test $ac_prog_rejected = yes; then
1279 # We found a bogon in the path, so make sure we never use it.
1280 set dummy $ac_cv_prog_CC
1282 if test $# != 0; then
1283 # We chose a different compiler from the bogus one.
1284 # However, it has the same basename, so the bogon will be chosen
1285 # first if we set CC to just the basename; use the full file name.
1287 set dummy "$ac_dir/$ac_word" ${1+"$@"}
1295 if test -n "$CC"; then
1296 echo "$as_me:1296: result: $CC" >&5
1297 echo "${ECHO_T}$CC" >&6
1299 echo "$as_me:1299: result: no" >&5
1300 echo "${ECHO_T}no" >&6
1304 if test -z "$CC"; then
1305 if test -n "$ac_tool_prefix"; then
1308 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1309 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1310 echo "$as_me:1310: checking for $ac_word" >&5
1311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1312 if test "${ac_cv_prog_CC+set}" = set; then
1313 echo $ECHO_N "(cached) $ECHO_C" >&6
1315 if test -n "$CC"; then
1316 ac_cv_prog_CC="$CC" # Let the user override the test.
1318 ac_save_IFS=$IFS; IFS=$ac_path_separator
1320 for ac_dir in $ac_dummy; do
1322 test -z "$ac_dir" && ac_dir=.
1323 $as_executable_p "$ac_dir/$ac_word" || continue
1324 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1325 echo "$as_me:1325: found $ac_dir/$ac_word" >&5
1332 if test -n "$CC"; then
1333 echo "$as_me:1333: result: $CC" >&5
1334 echo "${ECHO_T}$CC" >&6
1336 echo "$as_me:1336: result: no" >&5
1337 echo "${ECHO_T}no" >&6
1340 test -n "$CC" && break
1343 if test -z "$CC"; then
1347 # Extract the first word of "$ac_prog", so it can be a program name with args.
1348 set dummy $ac_prog; ac_word=$2
1349 echo "$as_me:1349: checking for $ac_word" >&5
1350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1351 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1352 echo $ECHO_N "(cached) $ECHO_C" >&6
1354 if test -n "$ac_ct_CC"; then
1355 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1357 ac_save_IFS=$IFS; IFS=$ac_path_separator
1359 for ac_dir in $ac_dummy; do
1361 test -z "$ac_dir" && ac_dir=.
1362 $as_executable_p "$ac_dir/$ac_word" || continue
1363 ac_cv_prog_ac_ct_CC="$ac_prog"
1364 echo "$as_me:1364: found $ac_dir/$ac_word" >&5
1370 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1371 if test -n "$ac_ct_CC"; then
1372 echo "$as_me:1372: result: $ac_ct_CC" >&5
1373 echo "${ECHO_T}$ac_ct_CC" >&6
1375 echo "$as_me:1375: result: no" >&5
1376 echo "${ECHO_T}no" >&6
1379 test -n "$ac_ct_CC" && break
1387 test -z "$CC" && { { echo "$as_me:1387: error: no acceptable cc found in \$PATH" >&5
1388 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1389 { (exit 1); exit 1; }; }
1391 # Provide some information about the compiler.
1392 echo "$as_me:1392:" \
1393 "checking for C compiler version" >&5
1394 ac_compiler=`set X $ac_compile; echo $2`
1395 { (eval echo "$as_me:1395: \"$ac_compiler --version </dev/null >&5\"") >&5
1396 (eval $ac_compiler --version </dev/null >&5) 2>&5
1398 echo "$as_me:1398: \$? = $ac_status" >&5
1399 (exit $ac_status); }
1400 { (eval echo "$as_me:1400: \"$ac_compiler -v </dev/null >&5\"") >&5
1401 (eval $ac_compiler -v </dev/null >&5) 2>&5
1403 echo "$as_me:1403: \$? = $ac_status" >&5
1404 (exit $ac_status); }
1405 { (eval echo "$as_me:1405: \"$ac_compiler -V </dev/null >&5\"") >&5
1406 (eval $ac_compiler -V </dev/null >&5) 2>&5
1408 echo "$as_me:1408: \$? = $ac_status" >&5
1409 (exit $ac_status); }
1411 cat >conftest.$ac_ext <<_ACEOF
1412 #line 1412 "configure"
1413 #include "confdefs.h"
1423 ac_clean_files_save=$ac_clean_files
1424 ac_clean_files="$ac_clean_files a.out a.exe"
1425 # Try to create an executable without -o first, disregard a.out.
1426 # It will help us diagnose broken compilers, and finding out an intuition
1428 echo "$as_me:1428: checking for C compiler default output" >&5
1429 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1430 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1431 if { (eval echo "$as_me:1431: \"$ac_link_default\"") >&5
1432 (eval $ac_link_default) 2>&5
1434 echo "$as_me:1434: \$? = $ac_status" >&5
1435 (exit $ac_status); }; then
1436 # Find the output, starting from the most likely. This scheme is
1437 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1439 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1440 ls a.out conftest 2>/dev/null;
1441 ls a.* conftest.* 2>/dev/null`; do
1443 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1444 a.out ) # We found the default executable, but exeext='' is most
1447 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1448 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1455 echo "$as_me: failed program was:" >&5
1456 cat conftest.$ac_ext >&5
1457 { { echo "$as_me:1457: error: C compiler cannot create executables" >&5
1458 echo "$as_me: error: C compiler cannot create executables" >&2;}
1459 { (exit 77); exit 77; }; }
1462 ac_exeext=$ac_cv_exeext
1463 echo "$as_me:1463: result: $ac_file" >&5
1464 echo "${ECHO_T}$ac_file" >&6
1466 # Check the compiler produces executables we can run. If not, either
1467 # the compiler is broken, or we cross compile.
1468 echo "$as_me:1468: checking whether the C compiler works" >&5
1469 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1470 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1471 # If not cross compiling, check that we can run a simple program.
1472 if test "$cross_compiling" != yes; then
1473 if { ac_try='./$ac_file'
1474 { (eval echo "$as_me:1474: \"$ac_try\"") >&5
1477 echo "$as_me:1477: \$? = $ac_status" >&5
1478 (exit $ac_status); }; }; then
1481 if test "$cross_compiling" = maybe; then
1484 { { echo "$as_me:1484: error: cannot run C compiled programs.
1485 If you meant to cross compile, use \`--host'." >&5
1486 echo "$as_me: error: cannot run C compiled programs.
1487 If you meant to cross compile, use \`--host'." >&2;}
1488 { (exit 1); exit 1; }; }
1492 echo "$as_me:1492: result: yes" >&5
1493 echo "${ECHO_T}yes" >&6
1495 rm -f a.out a.exe conftest$ac_cv_exeext
1496 ac_clean_files=$ac_clean_files_save
1497 # Check the compiler produces executables we can run. If not, either
1498 # the compiler is broken, or we cross compile.
1499 echo "$as_me:1499: checking whether we are cross compiling" >&5
1500 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1501 echo "$as_me:1501: result: $cross_compiling" >&5
1502 echo "${ECHO_T}$cross_compiling" >&6
1504 echo "$as_me:1504: checking for executable suffix" >&5
1505 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1506 if { (eval echo "$as_me:1506: \"$ac_link\"") >&5
1507 (eval $ac_link) 2>&5
1509 echo "$as_me:1509: \$? = $ac_status" >&5
1510 (exit $ac_status); }; then
1511 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1512 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1513 # work properly (i.e., refer to `conftest.exe'), while it won't with
1515 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1517 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1518 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1525 { { echo "$as_me:1525: error: cannot compute EXEEXT: cannot compile and link" >&5
1526 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1527 { (exit 1); exit 1; }; }
1530 rm -f conftest$ac_cv_exeext
1531 echo "$as_me:1531: result: $ac_cv_exeext" >&5
1532 echo "${ECHO_T}$ac_cv_exeext" >&6
1534 rm -f conftest.$ac_ext
1535 EXEEXT=$ac_cv_exeext
1537 echo "$as_me:1537: checking for object suffix" >&5
1538 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1539 if test "${ac_cv_objext+set}" = set; then
1540 echo $ECHO_N "(cached) $ECHO_C" >&6
1542 cat >conftest.$ac_ext <<_ACEOF
1543 #line 1543 "configure"
1544 #include "confdefs.h"
1554 rm -f conftest.o conftest.obj
1555 if { (eval echo "$as_me:1555: \"$ac_compile\"") >&5
1556 (eval $ac_compile) 2>&5
1558 echo "$as_me:1558: \$? = $ac_status" >&5
1559 (exit $ac_status); }; then
1560 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1562 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1563 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1568 echo "$as_me: failed program was:" >&5
1569 cat conftest.$ac_ext >&5
1570 { { echo "$as_me:1570: error: cannot compute OBJEXT: cannot compile" >&5
1571 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1572 { (exit 1); exit 1; }; }
1575 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1577 echo "$as_me:1577: result: $ac_cv_objext" >&5
1578 echo "${ECHO_T}$ac_cv_objext" >&6
1579 OBJEXT=$ac_cv_objext
1581 echo "$as_me:1581: checking whether we are using the GNU C compiler" >&5
1582 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1583 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1584 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 cat >conftest.$ac_ext <<_ACEOF
1587 #line 1587 "configure"
1588 #include "confdefs.h"
1601 rm -f conftest.$ac_objext
1602 if { (eval echo "$as_me:1602: \"$ac_compile\"") >&5
1603 (eval $ac_compile) 2>&5
1605 echo "$as_me:1605: \$? = $ac_status" >&5
1606 (exit $ac_status); } &&
1607 { ac_try='test -s conftest.$ac_objext'
1608 { (eval echo "$as_me:1608: \"$ac_try\"") >&5
1611 echo "$as_me:1611: \$? = $ac_status" >&5
1612 (exit $ac_status); }; }; then
1615 echo "$as_me: failed program was:" >&5
1616 cat conftest.$ac_ext >&5
1619 rm -f conftest.$ac_objext conftest.$ac_ext
1620 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1623 echo "$as_me:1623: result: $ac_cv_c_compiler_gnu" >&5
1624 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1625 GCC=`test $ac_compiler_gnu = yes && echo yes`
1626 ac_test_CFLAGS=${CFLAGS+set}
1627 ac_save_CFLAGS=$CFLAGS
1629 echo "$as_me:1629: checking whether $CC accepts -g" >&5
1630 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1631 if test "${ac_cv_prog_cc_g+set}" = set; then
1632 echo $ECHO_N "(cached) $ECHO_C" >&6
1634 cat >conftest.$ac_ext <<_ACEOF
1635 #line 1635 "configure"
1636 #include "confdefs.h"
1646 rm -f conftest.$ac_objext
1647 if { (eval echo "$as_me:1647: \"$ac_compile\"") >&5
1648 (eval $ac_compile) 2>&5
1650 echo "$as_me:1650: \$? = $ac_status" >&5
1651 (exit $ac_status); } &&
1652 { ac_try='test -s conftest.$ac_objext'
1653 { (eval echo "$as_me:1653: \"$ac_try\"") >&5
1656 echo "$as_me:1656: \$? = $ac_status" >&5
1657 (exit $ac_status); }; }; then
1660 echo "$as_me: failed program was:" >&5
1661 cat conftest.$ac_ext >&5
1664 rm -f conftest.$ac_objext conftest.$ac_ext
1666 echo "$as_me:1666: result: $ac_cv_prog_cc_g" >&5
1667 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1668 if test "$ac_test_CFLAGS" = set; then
1669 CFLAGS=$ac_save_CFLAGS
1670 elif test $ac_cv_prog_cc_g = yes; then
1671 if test "$GCC" = yes; then
1677 if test "$GCC" = yes; then
1683 # Some people use a C++ compiler to compile C. Since we use `exit',
1684 # in C++ we need to declare it. In case someone uses the same compiler
1685 # for both compiling C and C++ we need to have the C++ compiler decide
1686 # the declaration of exit, since it's the most demanding environment.
1687 cat >conftest.$ac_ext <<_ACEOF
1692 rm -f conftest.$ac_objext
1693 if { (eval echo "$as_me:1693: \"$ac_compile\"") >&5
1694 (eval $ac_compile) 2>&5
1696 echo "$as_me:1696: \$? = $ac_status" >&5
1697 (exit $ac_status); } &&
1698 { ac_try='test -s conftest.$ac_objext'
1699 { (eval echo "$as_me:1699: \"$ac_try\"") >&5
1702 echo "$as_me:1702: \$? = $ac_status" >&5
1703 (exit $ac_status); }; }; then
1704 for ac_declaration in \
1706 '#include <stdlib.h>' \
1707 'extern "C" void std::exit (int) throw (); using std::exit;' \
1708 'extern "C" void std::exit (int); using std::exit;' \
1709 'extern "C" void exit (int) throw ();' \
1710 'extern "C" void exit (int);' \
1713 cat >conftest.$ac_ext <<_ACEOF
1714 #line 1714 "configure"
1715 #include "confdefs.h"
1726 rm -f conftest.$ac_objext
1727 if { (eval echo "$as_me:1727: \"$ac_compile\"") >&5
1728 (eval $ac_compile) 2>&5
1730 echo "$as_me:1730: \$? = $ac_status" >&5
1731 (exit $ac_status); } &&
1732 { ac_try='test -s conftest.$ac_objext'
1733 { (eval echo "$as_me:1733: \"$ac_try\"") >&5
1736 echo "$as_me:1736: \$? = $ac_status" >&5
1737 (exit $ac_status); }; }; then
1740 echo "$as_me: failed program was:" >&5
1741 cat conftest.$ac_ext >&5
1744 rm -f conftest.$ac_objext conftest.$ac_ext
1745 cat >conftest.$ac_ext <<_ACEOF
1746 #line 1746 "configure"
1747 #include "confdefs.h"
1757 rm -f conftest.$ac_objext
1758 if { (eval echo "$as_me:1758: \"$ac_compile\"") >&5
1759 (eval $ac_compile) 2>&5
1761 echo "$as_me:1761: \$? = $ac_status" >&5
1762 (exit $ac_status); } &&
1763 { ac_try='test -s conftest.$ac_objext'
1764 { (eval echo "$as_me:1764: \"$ac_try\"") >&5
1767 echo "$as_me:1767: \$? = $ac_status" >&5
1768 (exit $ac_status); }; }; then
1771 echo "$as_me: failed program was:" >&5
1772 cat conftest.$ac_ext >&5
1774 rm -f conftest.$ac_objext conftest.$ac_ext
1777 if test -n "$ac_declaration"; then
1778 echo '#ifdef __cplusplus' >>confdefs.h
1779 echo $ac_declaration >>confdefs.h
1780 echo '#endif' >>confdefs.h
1784 echo "$as_me: failed program was:" >&5
1785 cat conftest.$ac_ext >&5
1787 rm -f conftest.$ac_objext conftest.$ac_ext
1789 ac_cpp='$CPP $CPPFLAGS'
1790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1795 ac_cpp='$CPP $CPPFLAGS'
1796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1799 echo "$as_me:1799: checking how to run the C preprocessor" >&5
1800 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1801 # On Suns, sometimes $CPP names a directory.
1802 if test -n "$CPP" && test -d "$CPP"; then
1805 if test -z "$CPP"; then
1806 if test "${ac_cv_prog_CPP+set}" = set; then
1807 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 # Double quotes because CPP needs to be expanded
1810 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1813 for ac_c_preproc_warn_flag in '' yes
1815 # Use a header file that comes with gcc, so configuring glibc
1816 # with a fresh cross-compiler works.
1817 # On the NeXT, cc -E runs the code through the compiler's parser,
1818 # not just through cpp. "Syntax error" is here to catch this case.
1819 cat >conftest.$ac_ext <<_ACEOF
1820 #line 1820 "configure"
1821 #include "confdefs.h"
1825 if { (eval echo "$as_me:1825: \"$ac_cpp conftest.$ac_ext\"") >&5
1826 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1828 egrep -v '^ *\+' conftest.er1 >conftest.err
1830 cat conftest.err >&5
1831 echo "$as_me:1831: \$? = $ac_status" >&5
1832 (exit $ac_status); } >/dev/null; then
1833 if test -s conftest.err; then
1834 ac_cpp_err=$ac_c_preproc_warn_flag
1841 if test -z "$ac_cpp_err"; then
1844 echo "$as_me: failed program was:" >&5
1845 cat conftest.$ac_ext >&5
1846 # Broken: fails on valid input.
1849 rm -f conftest.err conftest.$ac_ext
1851 # OK, works on sane cases. Now check whether non-existent headers
1852 # can be detected and how.
1853 cat >conftest.$ac_ext <<_ACEOF
1854 #line 1854 "configure"
1855 #include "confdefs.h"
1856 #include <ac_nonexistent.h>
1858 if { (eval echo "$as_me:1858: \"$ac_cpp conftest.$ac_ext\"") >&5
1859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1861 egrep -v '^ *\+' conftest.er1 >conftest.err
1863 cat conftest.err >&5
1864 echo "$as_me:1864: \$? = $ac_status" >&5
1865 (exit $ac_status); } >/dev/null; then
1866 if test -s conftest.err; then
1867 ac_cpp_err=$ac_c_preproc_warn_flag
1874 if test -z "$ac_cpp_err"; then
1875 # Broken: success on invalid input.
1878 echo "$as_me: failed program was:" >&5
1879 cat conftest.$ac_ext >&5
1880 # Passes both tests.
1884 rm -f conftest.err conftest.$ac_ext
1887 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1888 rm -f conftest.err conftest.$ac_ext
1889 if $ac_preproc_ok; then
1901 echo "$as_me:1901: result: $CPP" >&5
1902 echo "${ECHO_T}$CPP" >&6
1904 for ac_c_preproc_warn_flag in '' yes
1906 # Use a header file that comes with gcc, so configuring glibc
1907 # with a fresh cross-compiler works.
1908 # On the NeXT, cc -E runs the code through the compiler's parser,
1909 # not just through cpp. "Syntax error" is here to catch this case.
1910 cat >conftest.$ac_ext <<_ACEOF
1911 #line 1911 "configure"
1912 #include "confdefs.h"
1916 if { (eval echo "$as_me:1916: \"$ac_cpp conftest.$ac_ext\"") >&5
1917 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1919 egrep -v '^ *\+' conftest.er1 >conftest.err
1921 cat conftest.err >&5
1922 echo "$as_me:1922: \$? = $ac_status" >&5
1923 (exit $ac_status); } >/dev/null; then
1924 if test -s conftest.err; then
1925 ac_cpp_err=$ac_c_preproc_warn_flag
1932 if test -z "$ac_cpp_err"; then
1935 echo "$as_me: failed program was:" >&5
1936 cat conftest.$ac_ext >&5
1937 # Broken: fails on valid input.
1940 rm -f conftest.err conftest.$ac_ext
1942 # OK, works on sane cases. Now check whether non-existent headers
1943 # can be detected and how.
1944 cat >conftest.$ac_ext <<_ACEOF
1945 #line 1945 "configure"
1946 #include "confdefs.h"
1947 #include <ac_nonexistent.h>
1949 if { (eval echo "$as_me:1949: \"$ac_cpp conftest.$ac_ext\"") >&5
1950 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1952 egrep -v '^ *\+' conftest.er1 >conftest.err
1954 cat conftest.err >&5
1955 echo "$as_me:1955: \$? = $ac_status" >&5
1956 (exit $ac_status); } >/dev/null; then
1957 if test -s conftest.err; then
1958 ac_cpp_err=$ac_c_preproc_warn_flag
1965 if test -z "$ac_cpp_err"; then
1966 # Broken: success on invalid input.
1969 echo "$as_me: failed program was:" >&5
1970 cat conftest.$ac_ext >&5
1971 # Passes both tests.
1975 rm -f conftest.err conftest.$ac_ext
1978 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1979 rm -f conftest.err conftest.$ac_ext
1980 if $ac_preproc_ok; then
1983 { { echo "$as_me:1983: error: C preprocessor \"$CPP\" fails sanity check" >&5
1984 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
1985 { (exit 1); exit 1; }; }
1989 ac_cpp='$CPP $CPPFLAGS'
1990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1994 for ac_prog in flex lex
1996 # Extract the first word of "$ac_prog", so it can be a program name with args.
1997 set dummy $ac_prog; ac_word=$2
1998 echo "$as_me:1998: checking for $ac_word" >&5
1999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2000 if test "${ac_cv_prog_LEX+set}" = set; then
2001 echo $ECHO_N "(cached) $ECHO_C" >&6
2003 if test -n "$LEX"; then
2004 ac_cv_prog_LEX="$LEX" # Let the user override the test.
2006 ac_save_IFS=$IFS; IFS=$ac_path_separator
2008 for ac_dir in $ac_dummy; do
2010 test -z "$ac_dir" && ac_dir=.
2011 $as_executable_p "$ac_dir/$ac_word" || continue
2012 ac_cv_prog_LEX="$ac_prog"
2013 echo "$as_me:2013: found $ac_dir/$ac_word" >&5
2020 if test -n "$LEX"; then
2021 echo "$as_me:2021: result: $LEX" >&5
2022 echo "${ECHO_T}$LEX" >&6
2024 echo "$as_me:2024: result: no" >&5
2025 echo "${ECHO_T}no" >&6
2028 test -n "$LEX" && break
2030 test -n "$LEX" || LEX=":"
2032 if test -z "$LEXLIB"
2034 echo "$as_me:2034: checking for yywrap in -lfl" >&5
2035 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
2036 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
2037 echo $ECHO_N "(cached) $ECHO_C" >&6
2039 ac_check_lib_save_LIBS=$LIBS
2041 cat >conftest.$ac_ext <<_ACEOF
2042 #line 2042 "configure"
2043 #include "confdefs.h"
2045 /* Override any gcc2 internal prototype to avoid an error. */
2049 /* We use char because int might match the return type of a gcc2
2050 builtin and then its argument prototype would still apply. */
2060 rm -f conftest.$ac_objext conftest$ac_exeext
2061 if { (eval echo "$as_me:2061: \"$ac_link\"") >&5
2062 (eval $ac_link) 2>&5
2064 echo "$as_me:2064: \$? = $ac_status" >&5
2065 (exit $ac_status); } &&
2066 { ac_try='test -s conftest$ac_exeext'
2067 { (eval echo "$as_me:2067: \"$ac_try\"") >&5
2070 echo "$as_me:2070: \$? = $ac_status" >&5
2071 (exit $ac_status); }; }; then
2072 ac_cv_lib_fl_yywrap=yes
2074 echo "$as_me: failed program was:" >&5
2075 cat conftest.$ac_ext >&5
2076 ac_cv_lib_fl_yywrap=no
2078 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2079 LIBS=$ac_check_lib_save_LIBS
2081 echo "$as_me:2081: result: $ac_cv_lib_fl_yywrap" >&5
2082 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
2083 if test $ac_cv_lib_fl_yywrap = yes; then
2086 echo "$as_me:2086: checking for yywrap in -ll" >&5
2087 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
2088 if test "${ac_cv_lib_l_yywrap+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 ac_check_lib_save_LIBS=$LIBS
2093 cat >conftest.$ac_ext <<_ACEOF
2094 #line 2094 "configure"
2095 #include "confdefs.h"
2097 /* Override any gcc2 internal prototype to avoid an error. */
2101 /* We use char because int might match the return type of a gcc2
2102 builtin and then its argument prototype would still apply. */
2112 rm -f conftest.$ac_objext conftest$ac_exeext
2113 if { (eval echo "$as_me:2113: \"$ac_link\"") >&5
2114 (eval $ac_link) 2>&5
2116 echo "$as_me:2116: \$? = $ac_status" >&5
2117 (exit $ac_status); } &&
2118 { ac_try='test -s conftest$ac_exeext'
2119 { (eval echo "$as_me:2119: \"$ac_try\"") >&5
2122 echo "$as_me:2122: \$? = $ac_status" >&5
2123 (exit $ac_status); }; }; then
2124 ac_cv_lib_l_yywrap=yes
2126 echo "$as_me: failed program was:" >&5
2127 cat conftest.$ac_ext >&5
2128 ac_cv_lib_l_yywrap=no
2130 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2131 LIBS=$ac_check_lib_save_LIBS
2133 echo "$as_me:2133: result: $ac_cv_lib_l_yywrap" >&5
2134 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
2135 if test $ac_cv_lib_l_yywrap = yes; then
2143 if test "x$LEX" != "x:"; then
2144 echo "$as_me:2144: checking lex output file root" >&5
2145 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
2146 if test "${ac_cv_prog_lex_root+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2149 # The minimal lex program is just a single line: %%. But some broken lexes
2150 # (Solaris, I think it was) want two %% lines, so accommodate them.
2153 if test -f lex.yy.c; then
2154 ac_cv_prog_lex_root=lex.yy
2155 elif test -f lexyy.c; then
2156 ac_cv_prog_lex_root=lexyy
2158 { { echo "$as_me:2158: error: cannot find output from $LEX; giving up" >&5
2159 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
2160 { (exit 1); exit 1; }; }
2163 echo "$as_me:2163: result: $ac_cv_prog_lex_root" >&5
2164 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
2165 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
2167 echo "$as_me:2167: checking whether yytext is a pointer" >&5
2168 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
2169 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 # POSIX says lex can declare yytext either as a pointer or an array; the
2173 # default is implementation-dependent. Figure out which it is, since
2174 # not all implementations provide the %pointer and %array declarations.
2175 ac_cv_prog_lex_yytext_pointer=no
2176 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
2178 LIBS="$LIBS $LEXLIB"
2179 cat >conftest.$ac_ext <<_ACEOF
2180 `cat $LEX_OUTPUT_ROOT.c`
2182 rm -f conftest.$ac_objext conftest$ac_exeext
2183 if { (eval echo "$as_me:2183: \"$ac_link\"") >&5
2184 (eval $ac_link) 2>&5
2186 echo "$as_me:2186: \$? = $ac_status" >&5
2187 (exit $ac_status); } &&
2188 { ac_try='test -s conftest$ac_exeext'
2189 { (eval echo "$as_me:2189: \"$ac_try\"") >&5
2192 echo "$as_me:2192: \$? = $ac_status" >&5
2193 (exit $ac_status); }; }; then
2194 ac_cv_prog_lex_yytext_pointer=yes
2196 echo "$as_me: failed program was:" >&5
2197 cat conftest.$ac_ext >&5
2199 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2201 rm -f "${LEX_OUTPUT_ROOT}.c"
2204 echo "$as_me:2204: result: $ac_cv_prog_lex_yytext_pointer" >&5
2205 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
2206 if test $ac_cv_prog_lex_yytext_pointer = yes; then
2208 cat >>confdefs.h <<\EOF
2209 #define YYTEXT_POINTER 1
2215 # Extract the first word of "rm", so it can be a program name with args.
2216 set dummy rm; ac_word=$2
2217 echo "$as_me:2217: checking for $ac_word" >&5
2218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2219 if test "${ac_cv_path_RM+set}" = set; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2224 ac_cv_path_RM="$RM" # Let the user override the test with a path.
2227 ac_save_IFS=$IFS; IFS=$ac_path_separator
2229 for ac_dir in $ac_dummy; do
2231 test -z "$ac_dir" && ac_dir=.
2232 if $as_executable_p "$ac_dir/$ac_word"; then
2233 ac_cv_path_RM="$ac_dir/$ac_word"
2234 echo "$as_me:2234: found $ac_dir/$ac_word" >&5
2239 test -z "$ac_cv_path_RM" && ac_cv_path_RM="no"
2245 if test -n "$RM"; then
2246 echo "$as_me:2246: result: $RM" >&5
2247 echo "${ECHO_T}$RM" >&6
2249 echo "$as_me:2249: result: no" >&5
2250 echo "${ECHO_T}no" >&6
2253 # Extract the first word of "find", so it can be a program name with args.
2254 set dummy find; ac_word=$2
2255 echo "$as_me:2255: checking for $ac_word" >&5
2256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2257 if test "${ac_cv_path_FIND+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
2265 ac_save_IFS=$IFS; IFS=$ac_path_separator
2267 for ac_dir in $ac_dummy; do
2269 test -z "$ac_dir" && ac_dir=.
2270 if $as_executable_p "$ac_dir/$ac_word"; then
2271 ac_cv_path_FIND="$ac_dir/$ac_word"
2272 echo "$as_me:2272: found $ac_dir/$ac_word" >&5
2277 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND="no"
2281 FIND=$ac_cv_path_FIND
2283 if test -n "$FIND"; then
2284 echo "$as_me:2284: result: $FIND" >&5
2285 echo "${ECHO_T}$FIND" >&6
2287 echo "$as_me:2287: result: no" >&5
2288 echo "${ECHO_T}no" >&6
2291 for ac_prog in gmake make
2293 # Extract the first word of "$ac_prog", so it can be a program name with args.
2294 set dummy $ac_prog; ac_word=$2
2295 echo "$as_me:2295: checking for $ac_word" >&5
2296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2297 if test "${ac_cv_prog_MAKE+set}" = set; then
2298 echo $ECHO_N "(cached) $ECHO_C" >&6
2300 if test -n "$MAKE"; then
2301 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
2303 ac_save_IFS=$IFS; IFS=$ac_path_separator
2305 for ac_dir in $ac_dummy; do
2307 test -z "$ac_dir" && ac_dir=.
2308 $as_executable_p "$ac_dir/$ac_word" || continue
2309 ac_cv_prog_MAKE="$ac_prog"
2310 echo "$as_me:2310: found $ac_dir/$ac_word" >&5
2316 MAKE=$ac_cv_prog_MAKE
2317 if test -n "$MAKE"; then
2318 echo "$as_me:2318: result: $MAKE" >&5
2319 echo "${ECHO_T}$MAKE" >&6
2321 echo "$as_me:2321: result: no" >&5
2322 echo "${ECHO_T}no" >&6
2325 test -n "$MAKE" && break
2328 # Find a good install program. We prefer a C program (faster),
2329 # so one script is as good as another. But avoid the broken or
2330 # incompatible versions:
2331 # SysV /etc/install, /usr/sbin/install
2332 # SunOS /usr/etc/install
2333 # IRIX /sbin/install
2335 # AmigaOS /C/install, which installs bootblocks on floppy discs
2336 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2337 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2338 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2339 # ./install, which can be erroneously created by make from ./install.sh.
2340 echo "$as_me:2340: checking for a BSD compatible install" >&5
2341 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
2342 if test -z "$INSTALL"; then
2343 if test "${ac_cv_path_install+set}" = set; then
2344 echo $ECHO_N "(cached) $ECHO_C" >&6
2346 ac_save_IFS=$IFS; IFS=$ac_path_separator
2347 for ac_dir in $PATH; do
2349 # Account for people who put trailing slashes in PATH elements.
2351 / | ./ | .// | /cC/* \
2352 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
2355 # OSF1 and SCO ODT 3.0 have their own names for install.
2356 # Don't use installbsd from OSF since it installs stuff as root
2358 for ac_prog in ginstall scoinst install; do
2359 if $as_executable_p "$ac_dir/$ac_prog"; then
2360 if test $ac_prog = install &&
2361 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2362 # AIX install. It has an incompatible calling convention.
2364 elif test $ac_prog = install &&
2365 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2366 # program-specific install script used by HP pwplus--don't use.
2369 ac_cv_path_install="$ac_dir/$ac_prog -c"
2379 if test "${ac_cv_path_install+set}" = set; then
2380 INSTALL=$ac_cv_path_install
2382 # As a last resort, use the slow shell script. We don't cache a
2383 # path for INSTALL within a source directory, because that will
2384 # break other packages using the cache if that directory is
2385 # removed, or if the path is relative.
2386 INSTALL=$ac_install_sh
2389 echo "$as_me:2389: result: $INSTALL" >&5
2390 echo "${ECHO_T}$INSTALL" >&6
2392 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2393 # It thinks the first close brace ends the variable substitution.
2394 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2396 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2398 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2400 test x"$prefix" = xNONE && prefix="$ac_default_prefix"
2402 # Check whether --enable-debug or --disable-debug was given.
2403 if test "${enable_debug+set}" = set; then
2404 enableval="$enable_debug"
2406 cat >>confdefs.h <<\EOF
2416 # Check whether --enable-xdebug or --disable-xdebug was given.
2417 if test "${enable_xdebug+set}" = set; then
2418 enableval="$enable_xdebug"
2419 cat >>confdefs.h <<\EOF
2429 # Check whether --enable-rlpdebug or --disable-rlpdebug was given.
2430 if test "${enable_rlpdebug+set}" = set; then
2431 enableval="$enable_rlpdebug"
2432 cat >>confdefs.h <<\EOF
2446 # Check whether --with-libintl or --without-libintl was given.
2447 if test "${with_libintl+set}" = set; then
2448 withval="$with_libintl"
2449 if test "x$withval" = "xyes"; then
2450 { echo "$as_me:2450: WARNING: Usage is --with-libintl=DIR" >&5
2451 echo "$as_me: WARNING: Usage is --with-libintl=DIR" >&2;}
2453 NLS_LIBS="-L$withval/lib"
2454 NLS_CFLAGS="-I$withval/include"
2459 # Check whether --enable-nls or --disable-nls was given.
2460 if test "${enable_nls+set}" = set; then
2461 enableval="$enable_nls"
2468 if test "$USE_NLS" = "yes"; then
2469 echo "$as_me:2469: checking whether ${MAKE-make} sets \${MAKE}" >&5
2470 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
2471 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
2472 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2473 echo $ECHO_N "(cached) $ECHO_C" >&6
2475 cat >conftest.make <<\EOF
2477 @echo 'ac_maketemp="${MAKE}"'
2479 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2480 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2481 if test -n "$ac_maketemp"; then
2482 eval ac_cv_prog_make_${ac_make}_set=yes
2484 eval ac_cv_prog_make_${ac_make}_set=no
2488 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2489 echo "$as_me:2489: result: yes" >&5
2490 echo "${ECHO_T}yes" >&6
2493 echo "$as_me:2493: result: no" >&5
2494 echo "${ECHO_T}no" >&6
2495 SET_MAKE="MAKE=${MAKE-make}"
2498 for ac_header in locale.h
2500 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2501 echo "$as_me:2501: checking for $ac_header" >&5
2502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2504 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 cat >conftest.$ac_ext <<_ACEOF
2507 #line 2507 "configure"
2508 #include "confdefs.h"
2509 #include <$ac_header>
2511 if { (eval echo "$as_me:2511: \"$ac_cpp conftest.$ac_ext\"") >&5
2512 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2514 egrep -v '^ *\+' conftest.er1 >conftest.err
2516 cat conftest.err >&5
2517 echo "$as_me:2517: \$? = $ac_status" >&5
2518 (exit $ac_status); } >/dev/null; then
2519 if test -s conftest.err; then
2520 ac_cpp_err=$ac_c_preproc_warn_flag
2527 if test -z "$ac_cpp_err"; then
2528 eval "$as_ac_Header=yes"
2530 echo "$as_me: failed program was:" >&5
2531 cat conftest.$ac_ext >&5
2532 eval "$as_ac_Header=no"
2534 rm -f conftest.err conftest.$ac_ext
2536 echo "$as_me:2536: result: `eval echo '${'$as_ac_Header'}'`" >&5
2537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2538 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2539 cat >>confdefs.h <<EOF
2540 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2546 for ac_func in setlocale
2548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2549 echo "$as_me:2549: checking for $ac_func" >&5
2550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2551 if eval "test \"\${$as_ac_var+set}\" = set"; then
2552 echo $ECHO_N "(cached) $ECHO_C" >&6
2554 cat >conftest.$ac_ext <<_ACEOF
2555 #line 2555 "configure"
2556 #include "confdefs.h"
2557 /* System header to define __stub macros and hopefully few prototypes,
2558 which can conflict with char $ac_func (); below. */
2560 /* Override any gcc2 internal prototype to avoid an error. */
2564 /* We use char because int might match the return type of a gcc2
2565 builtin and then its argument prototype would still apply. */
2572 /* The GNU C library defines this for functions which it implements
2573 to always fail with ENOSYS. Some functions are actually named
2574 something starting with __ and the normal name is an alias. */
2575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2585 rm -f conftest.$ac_objext conftest$ac_exeext
2586 if { (eval echo "$as_me:2586: \"$ac_link\"") >&5
2587 (eval $ac_link) 2>&5
2589 echo "$as_me:2589: \$? = $ac_status" >&5
2590 (exit $ac_status); } &&
2591 { ac_try='test -s conftest$ac_exeext'
2592 { (eval echo "$as_me:2592: \"$ac_try\"") >&5
2595 echo "$as_me:2595: \$? = $ac_status" >&5
2596 (exit $ac_status); }; }; then
2597 eval "$as_ac_var=yes"
2599 echo "$as_me: failed program was:" >&5
2600 cat conftest.$ac_ext >&5
2601 eval "$as_ac_var=no"
2603 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2605 echo "$as_me:2605: result: `eval echo '${'$as_ac_var'}'`" >&5
2606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2607 if test `eval echo '${'$as_ac_var'}'` = yes; then
2608 cat >>confdefs.h <<EOF
2609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2615 CPPFLAGS="$CPPFLAGS $NLS_CFLAGS"
2616 cat >conftest.$ac_ext <<_ACEOF
2617 #line 2617 "configure"
2618 #include "confdefs.h"
2619 #include <libintl.h>
2621 if { (eval echo "$as_me:2621: \"$ac_cpp conftest.$ac_ext\"") >&5
2622 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2624 egrep -v '^ *\+' conftest.er1 >conftest.err
2626 cat conftest.err >&5
2627 echo "$as_me:2627: \$? = $ac_status" >&5
2628 (exit $ac_status); } >/dev/null; then
2629 if test -s conftest.err; then
2630 ac_cpp_err=$ac_c_preproc_warn_flag
2637 if test -z "$ac_cpp_err"; then
2638 cat >>confdefs.h <<\EOF
2639 #define HAVE_LIBINTL_H 1
2642 echo "$as_me:2642: result: checking for libintl.h... yes" >&5
2643 echo "${ECHO_T}checking for libintl.h... yes" >&6
2645 echo "$as_me: failed program was:" >&5
2646 cat conftest.$ac_ext >&5
2647 { echo "$as_me:2647: WARNING: not found header file: libintl.h !!!" >&5
2648 echo "$as_me: WARNING: not found header file: libintl.h !!!" >&2;}
2652 rm -f conftest.err conftest.$ac_ext
2655 if test "$USE_NLS" = "yes"; then
2656 echo "$as_me:2656: checking for gettext" >&5
2657 echo $ECHO_N "checking for gettext... $ECHO_C" >&6
2658 if test "${ac_cv_func_gettext+set}" = set; then
2659 echo $ECHO_N "(cached) $ECHO_C" >&6
2661 cat >conftest.$ac_ext <<_ACEOF
2662 #line 2662 "configure"
2663 #include "confdefs.h"
2664 /* System header to define __stub macros and hopefully few prototypes,
2665 which can conflict with char gettext (); below. */
2667 /* Override any gcc2 internal prototype to avoid an error. */
2671 /* We use char because int might match the return type of a gcc2
2672 builtin and then its argument prototype would still apply. */
2679 /* The GNU C library defines this for functions which it implements
2680 to always fail with ENOSYS. Some functions are actually named
2681 something starting with __ and the normal name is an alias. */
2682 #if defined (__stub_gettext) || defined (__stub___gettext)
2692 rm -f conftest.$ac_objext conftest$ac_exeext
2693 if { (eval echo "$as_me:2693: \"$ac_link\"") >&5
2694 (eval $ac_link) 2>&5
2696 echo "$as_me:2696: \$? = $ac_status" >&5
2697 (exit $ac_status); } &&
2698 { ac_try='test -s conftest$ac_exeext'
2699 { (eval echo "$as_me:2699: \"$ac_try\"") >&5
2702 echo "$as_me:2702: \$? = $ac_status" >&5
2703 (exit $ac_status); }; }; then
2704 ac_cv_func_gettext=yes
2706 echo "$as_me: failed program was:" >&5
2707 cat conftest.$ac_ext >&5
2708 ac_cv_func_gettext=no
2710 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2712 echo "$as_me:2712: result: $ac_cv_func_gettext" >&5
2713 echo "${ECHO_T}$ac_cv_func_gettext" >&6
2714 if test $ac_cv_func_gettext = yes; then
2715 cat >>confdefs.h <<\EOF
2716 #define HAVE_LIBINTL 1
2720 echo "$as_me:2720: checking for gettext in -lintl" >&5
2721 echo $ECHO_N "checking for gettext in -lintl... $ECHO_C" >&6
2722 if test "${ac_cv_lib_intl_gettext+set}" = set; then
2723 echo $ECHO_N "(cached) $ECHO_C" >&6
2725 ac_check_lib_save_LIBS=$LIBS
2726 LIBS="-lintl $NLS_LIBS
2728 cat >conftest.$ac_ext <<_ACEOF
2729 #line 2729 "configure"
2730 #include "confdefs.h"
2732 /* Override any gcc2 internal prototype to avoid an error. */
2736 /* We use char because int might match the return type of a gcc2
2737 builtin and then its argument prototype would still apply. */
2747 rm -f conftest.$ac_objext conftest$ac_exeext
2748 if { (eval echo "$as_me:2748: \"$ac_link\"") >&5
2749 (eval $ac_link) 2>&5
2751 echo "$as_me:2751: \$? = $ac_status" >&5
2752 (exit $ac_status); } &&
2753 { ac_try='test -s conftest$ac_exeext'
2754 { (eval echo "$as_me:2754: \"$ac_try\"") >&5
2757 echo "$as_me:2757: \$? = $ac_status" >&5
2758 (exit $ac_status); }; }; then
2759 ac_cv_lib_intl_gettext=yes
2761 echo "$as_me: failed program was:" >&5
2762 cat conftest.$ac_ext >&5
2763 ac_cv_lib_intl_gettext=no
2765 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2766 LIBS=$ac_check_lib_save_LIBS
2768 echo "$as_me:2768: result: $ac_cv_lib_intl_gettext" >&5
2769 echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6
2770 if test $ac_cv_lib_intl_gettext = yes; then
2771 NLS_LIBS="$NLS_LIBS -lintl"
2772 cat >>confdefs.h <<\EOF
2773 #define HAVE_LIBINTL 1
2777 { echo "$as_me:2777: WARNING: not found library: intl !!!" >&5
2778 echo "$as_me: WARNING: not found library: intl !!!" >&2;}
2786 if test "$USE_NLS" = "yes"; then
2788 LOCALEDIR='${prefix}/share/locale'
2790 # Check whether --with-locale-dir or --without-locale-dir was given.
2791 if test "${with_locale_dir+set}" = set; then
2792 withval="$with_locale_dir"
2793 if test x$withval = xyes; then
2794 { echo "$as_me:2794: WARNING: Usage is: --with-locale-dir=basedir" >&5
2795 echo "$as_me: WARNING: Usage is: --with-locale-dir=basedir" >&2;}
2797 if test x$withval = xno; then
2798 { echo "$as_me:2798: WARNING: Usage is: --with-locale-dir=basedir" >&5
2799 echo "$as_me: WARNING: Usage is: --with-locale-dir=basedir" >&2;}
2807 # Extract the first word of "msgfmt", so it can be a program name with args.
2808 set dummy msgfmt; ac_word=$2
2809 echo "$as_me:2809: checking for $ac_word" >&5
2810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2811 if test "${ac_cv_path_MSGFMT+set}" = set; then
2812 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2819 ac_save_IFS=$IFS; IFS=$ac_path_separator
2821 for ac_dir in $ac_dummy; do
2823 test -z "$ac_dir" && ac_dir=.
2824 if $as_executable_p "$ac_dir/$ac_word"; then
2825 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
2826 echo "$as_me:2826: found $ac_dir/$ac_word" >&5
2831 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="$MSGFMT"
2835 MSGFMT=$ac_cv_path_MSGFMT
2837 if test -n "$MSGFMT"; then
2838 echo "$as_me:2838: result: $MSGFMT" >&5
2839 echo "${ECHO_T}$MSGFMT" >&6
2841 echo "$as_me:2841: result: no" >&5
2842 echo "${ECHO_T}no" >&6
2845 if test -n "$MSGFMT"; then
2847 for ac_func in dcgettext
2849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2850 echo "$as_me:2850: checking for $ac_func" >&5
2851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2852 if eval "test \"\${$as_ac_var+set}\" = set"; then
2853 echo $ECHO_N "(cached) $ECHO_C" >&6
2855 cat >conftest.$ac_ext <<_ACEOF
2856 #line 2856 "configure"
2857 #include "confdefs.h"
2858 /* System header to define __stub macros and hopefully few prototypes,
2859 which can conflict with char $ac_func (); below. */
2861 /* Override any gcc2 internal prototype to avoid an error. */
2865 /* We use char because int might match the return type of a gcc2
2866 builtin and then its argument prototype would still apply. */
2873 /* The GNU C library defines this for functions which it implements
2874 to always fail with ENOSYS. Some functions are actually named
2875 something starting with __ and the normal name is an alias. */
2876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2886 rm -f conftest.$ac_objext conftest$ac_exeext
2887 if { (eval echo "$as_me:2887: \"$ac_link\"") >&5
2888 (eval $ac_link) 2>&5
2890 echo "$as_me:2890: \$? = $ac_status" >&5
2891 (exit $ac_status); } &&
2892 { ac_try='test -s conftest$ac_exeext'
2893 { (eval echo "$as_me:2893: \"$ac_try\"") >&5
2896 echo "$as_me:2896: \$? = $ac_status" >&5
2897 (exit $ac_status); }; }; then
2898 eval "$as_ac_var=yes"
2900 echo "$as_me: failed program was:" >&5
2901 cat conftest.$ac_ext >&5
2902 eval "$as_ac_var=no"
2904 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2906 echo "$as_me:2906: result: `eval echo '${'$as_ac_var'}'`" >&5
2907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2908 if test `eval echo '${'$as_ac_var'}'` = yes; then
2909 cat >>confdefs.h <<EOF
2910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2916 # Extract the first word of "gmsgfmt", so it can be a program name with args.
2917 set dummy gmsgfmt; ac_word=$2
2918 echo "$as_me:2918: checking for $ac_word" >&5
2919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2920 if test "${ac_cv_path_GMSGFMT+set}" = set; then
2921 echo $ECHO_N "(cached) $ECHO_C" >&6
2925 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2928 ac_save_IFS=$IFS; IFS=$ac_path_separator
2930 for ac_dir in $ac_dummy; do
2932 test -z "$ac_dir" && ac_dir=.
2933 if $as_executable_p "$ac_dir/$ac_word"; then
2934 ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
2935 echo "$as_me:2935: found $ac_dir/$ac_word" >&5
2940 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2944 GMSGFMT=$ac_cv_path_GMSGFMT
2946 if test -n "$GMSGFMT"; then
2947 echo "$as_me:2947: result: $GMSGFMT" >&5
2948 echo "${ECHO_T}$GMSGFMT" >&6
2950 echo "$as_me:2950: result: no" >&5
2951 echo "${ECHO_T}no" >&6
2954 # Extract the first word of "xgettext", so it can be a program name with args.
2955 set dummy xgettext; ac_word=$2
2956 echo "$as_me:2956: checking for $ac_word" >&5
2957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2958 if test "${ac_cv_path_XGETTEXT+set}" = set; then
2959 echo $ECHO_N "(cached) $ECHO_C" >&6
2963 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
2966 ac_save_IFS=$IFS; IFS=$ac_path_separator
2968 for ac_dir in $ac_dummy; do
2970 test -z "$ac_dir" && ac_dir=.
2971 if $as_executable_p "$ac_dir/$ac_word"; then
2972 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
2973 echo "$as_me:2973: found $ac_dir/$ac_word" >&5
2978 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT="$XGETTEXT"
2982 XGETTEXT=$ac_cv_path_XGETTEXT
2984 if test -n "$XGETTEXT"; then
2985 echo "$as_me:2985: result: $XGETTEXT" >&5
2986 echo "${ECHO_T}$XGETTEXT" >&6
2988 echo "$as_me:2988: result: no" >&5
2989 echo "${ECHO_T}no" >&6
2992 # Extract the first word of "msgmerge", so it can be a program name with args.
2993 set dummy msgmerge; ac_word=$2
2994 echo "$as_me:2994: checking for $ac_word" >&5
2995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2996 if test "${ac_cv_path_MSGMERGE+set}" = set; then
2997 echo $ECHO_N "(cached) $ECHO_C" >&6
3001 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3004 ac_save_IFS=$IFS; IFS=$ac_path_separator
3006 for ac_dir in $ac_dummy; do
3008 test -z "$ac_dir" && ac_dir=.
3009 if $as_executable_p "$ac_dir/$ac_word"; then
3010 ac_cv_path_MSGMERGE="$ac_dir/$ac_word"
3011 echo "$as_me:3011: found $ac_dir/$ac_word" >&5
3016 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE="$MSGMERGE"
3020 MSGMERGE=$ac_cv_path_MSGMERGE
3022 if test -n "$MSGMERGE"; then
3023 echo "$as_me:3023: result: $MSGMERGE" >&5
3024 echo "${ECHO_T}$MSGMERGE" >&6
3026 echo "$as_me:3026: result: no" >&5
3027 echo "${ECHO_T}no" >&6
3030 if test -n "$XGETTEXT"; then
3031 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
3034 echo "$as_me:3034: result: found xgettext program is not GNU xgettext; ignore it" >&5
3035 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
3040 if test -n "$XGETTEXT"; then
3041 if $XGETTEXT --help > /dev/null 2> /dev/null; then
3044 echo "$as_me:3044: result: found xgettext program is not GNU xgettext; ignore it" >&5
3045 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
3050 if test -n "$MSGFMT"; then
3051 if $MSGFMT < /dev/null 2> /dev/null; then
3052 echo "$as_me:3052: result: found msgfmt program is not GNU msgfmt; NLS will not be installed" >&5
3053 echo "${ECHO_T}found msgfmt program is not GNU msgfmt; NLS will not be installed" >&6
3058 cat >conftest.$ac_ext <<_ACEOF
3059 #line 3059 "configure"
3060 #include "confdefs.h"
3065 extern int _nl_msg_cat_cntr;
3066 return _nl_msg_cat_cntr
3071 rm -f conftest.$ac_objext conftest$ac_exeext
3072 if { (eval echo "$as_me:3072: \"$ac_link\"") >&5
3073 (eval $ac_link) 2>&5
3075 echo "$as_me:3075: \$? = $ac_status" >&5
3076 (exit $ac_status); } &&
3077 { ac_try='test -s conftest$ac_exeext'
3078 { (eval echo "$as_me:3078: \"$ac_try\"") >&5
3081 echo "$as_me:3081: \$? = $ac_status" >&5
3082 (exit $ac_status); }; }; then
3086 echo "$as_me: failed program was:" >&5
3087 cat conftest.$ac_ext >&5
3092 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3096 if test -n "$ALL_LINGUAS"; then
3097 for lang in $ALL_LINGUAS; do
3098 CATALOGS="$CATALOGS $lang$CATOBJEXT"
3104 if test x"$MSGFMT" = x; then
3108 if test x"$USE_NLS" = xyes; then
3109 cat >>confdefs.h <<\EOF
3115 # Check whether --with-libpthread or --without-libpthread was given.
3116 if test "${with_libpthread+set}" = set; then
3117 withval="$with_libpthread"
3118 if test x$withval = xyes
3120 { echo "$as_me:3120: WARNING: Usage is: --with-libpthread=DIR" >&5
3121 echo "$as_me: WARNING: Usage is: --with-libpthread=DIR" >&2;}
3123 PTHREAD_LIBS="-L$withval/lib/"
3124 PTHREAD_CFLAGS="-I$withval/include/"
3129 PTHREAD_LIBS_SAVE="$PTHREAD_LIBS"
3131 echo "$as_me:3131: checking for pthread_attr_init in -lpthread" >&5
3132 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6
3133 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then
3134 echo $ECHO_N "(cached) $ECHO_C" >&6
3136 ac_check_lib_save_LIBS=$LIBS
3137 LIBS="-lpthread $LIBS"
3138 cat >conftest.$ac_ext <<_ACEOF
3139 #line 3139 "configure"
3140 #include "confdefs.h"
3142 /* Override any gcc2 internal prototype to avoid an error. */
3146 /* We use char because int might match the return type of a gcc2
3147 builtin and then its argument prototype would still apply. */
3148 char pthread_attr_init ();
3152 pthread_attr_init ();
3157 rm -f conftest.$ac_objext conftest$ac_exeext
3158 if { (eval echo "$as_me:3158: \"$ac_link\"") >&5
3159 (eval $ac_link) 2>&5
3161 echo "$as_me:3161: \$? = $ac_status" >&5
3162 (exit $ac_status); } &&
3163 { ac_try='test -s conftest$ac_exeext'
3164 { (eval echo "$as_me:3164: \"$ac_try\"") >&5
3167 echo "$as_me:3167: \$? = $ac_status" >&5
3168 (exit $ac_status); }; }; then
3169 ac_cv_lib_pthread_pthread_attr_init=yes
3171 echo "$as_me: failed program was:" >&5
3172 cat conftest.$ac_ext >&5
3173 ac_cv_lib_pthread_pthread_attr_init=no
3175 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3176 LIBS=$ac_check_lib_save_LIBS
3178 echo "$as_me:3178: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
3179 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6
3180 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
3182 PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_REENTRANT"
3183 PTHREAD_LIBS="$PTHREAD_LIBS_SAVE -lpthread"
3186 if test "x$PTHREAD_LIBS" = xerror; then
3187 echo "$as_me:3187: checking for pthread_attr_init in -lc_r" >&5
3188 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6
3189 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then
3190 echo $ECHO_N "(cached) $ECHO_C" >&6
3192 ac_check_lib_save_LIBS=$LIBS
3194 cat >conftest.$ac_ext <<_ACEOF
3195 #line 3195 "configure"
3196 #include "confdefs.h"
3198 /* Override any gcc2 internal prototype to avoid an error. */
3202 /* We use char because int might match the return type of a gcc2
3203 builtin and then its argument prototype would still apply. */
3204 char pthread_attr_init ();
3208 pthread_attr_init ();
3213 rm -f conftest.$ac_objext conftest$ac_exeext
3214 if { (eval echo "$as_me:3214: \"$ac_link\"") >&5
3215 (eval $ac_link) 2>&5
3217 echo "$as_me:3217: \$? = $ac_status" >&5
3218 (exit $ac_status); } &&
3219 { ac_try='test -s conftest$ac_exeext'
3220 { (eval echo "$as_me:3220: \"$ac_try\"") >&5
3223 echo "$as_me:3223: \$? = $ac_status" >&5
3224 (exit $ac_status); }; }; then
3225 ac_cv_lib_c_r_pthread_attr_init=yes
3227 echo "$as_me: failed program was:" >&5
3228 cat conftest.$ac_ext >&5
3229 ac_cv_lib_c_r_pthread_attr_init=no
3231 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3232 LIBS=$ac_check_lib_save_LIBS
3234 echo "$as_me:3234: result: $ac_cv_lib_c_r_pthread_attr_init" >&5
3235 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6
3236 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then
3238 PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_THREAD_SAFE"
3239 PTHREAD_LIBS="-pthread"
3244 if test "x$PTHREAD_LIBS" = xerror; then
3245 echo "$as_me:3245: checking for pthread_attr_init" >&5
3246 echo $ECHO_N "checking for pthread_attr_init... $ECHO_C" >&6
3247 if test "${ac_cv_func_pthread_attr_init+set}" = set; then
3248 echo $ECHO_N "(cached) $ECHO_C" >&6
3250 cat >conftest.$ac_ext <<_ACEOF
3251 #line 3251 "configure"
3252 #include "confdefs.h"
3253 /* System header to define __stub macros and hopefully few prototypes,
3254 which can conflict with char pthread_attr_init (); below. */
3256 /* Override any gcc2 internal prototype to avoid an error. */
3260 /* We use char because int might match the return type of a gcc2
3261 builtin and then its argument prototype would still apply. */
3262 char pthread_attr_init ();
3268 /* The GNU C library defines this for functions which it implements
3269 to always fail with ENOSYS. Some functions are actually named
3270 something starting with __ and the normal name is an alias. */
3271 #if defined (__stub_pthread_attr_init) || defined (__stub___pthread_attr_init)
3274 f = pthread_attr_init;
3281 rm -f conftest.$ac_objext conftest$ac_exeext
3282 if { (eval echo "$as_me:3282: \"$ac_link\"") >&5
3283 (eval $ac_link) 2>&5
3285 echo "$as_me:3285: \$? = $ac_status" >&5
3286 (exit $ac_status); } &&
3287 { ac_try='test -s conftest$ac_exeext'
3288 { (eval echo "$as_me:3288: \"$ac_try\"") >&5
3291 echo "$as_me:3291: \$? = $ac_status" >&5
3292 (exit $ac_status); }; }; then
3293 ac_cv_func_pthread_attr_init=yes
3295 echo "$as_me: failed program was:" >&5
3296 cat conftest.$ac_ext >&5
3297 ac_cv_func_pthread_attr_init=no
3299 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3301 echo "$as_me:3301: result: $ac_cv_func_pthread_attr_init" >&5
3302 echo "${ECHO_T}$ac_cv_func_pthread_attr_init" >&6
3303 if test $ac_cv_func_pthread_attr_init = yes; then
3306 { { echo "$as_me:3306: error: not found library: pthread !!!" >&5
3307 echo "$as_me: error: not found library: pthread !!!" >&2;}
3308 { (exit 1); exit 1; }; }
3313 echo "$as_me:3313: checking for tm_gmtoff in struct tm" >&5
3314 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
3315 cat >conftest.$ac_ext <<_ACEOF
3316 #line 3316 "configure"
3317 #include "confdefs.h"
3322 struct tm t; t.tm_gmtoff = 0
3327 rm -f conftest.$ac_objext conftest$ac_exeext
3328 if { (eval echo "$as_me:3328: \"$ac_link\"") >&5
3329 (eval $ac_link) 2>&5
3331 echo "$as_me:3331: \$? = $ac_status" >&5
3332 (exit $ac_status); } &&
3333 { ac_try='test -s conftest$ac_exeext'
3334 { (eval echo "$as_me:3334: \"$ac_try\"") >&5
3337 echo "$as_me:3337: \$? = $ac_status" >&5
3338 (exit $ac_status); }; }; then
3339 echo "$as_me:3339: result: yes" >&5
3340 echo "${ECHO_T}yes" >&6
3341 cat >>confdefs.h <<\EOF
3342 #define HAVE_TM_GMTON 1
3346 echo "$as_me: failed program was:" >&5
3347 cat conftest.$ac_ext >&5
3348 echo "$as_me:3348: result: no" >&5
3349 echo "${ECHO_T}no" >&6
3351 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3353 echo "$as_me:3353: checking for timersub" >&5
3354 echo $ECHO_N "checking for timersub... $ECHO_C" >&6
3355 cat >conftest.$ac_ext <<_ACEOF
3356 #line 3356 "configure"
3357 #include "confdefs.h"
3358 #include <sys/time.h>
3362 timersub(NULL, NULL, NULL)
3367 rm -f conftest.$ac_objext conftest$ac_exeext
3368 if { (eval echo "$as_me:3368: \"$ac_link\"") >&5
3369 (eval $ac_link) 2>&5
3371 echo "$as_me:3371: \$? = $ac_status" >&5
3372 (exit $ac_status); } &&
3373 { ac_try='test -s conftest$ac_exeext'
3374 { (eval echo "$as_me:3374: \"$ac_try\"") >&5
3377 echo "$as_me:3377: \$? = $ac_status" >&5
3378 (exit $ac_status); }; }; then
3379 cat >>confdefs.h <<\EOF
3380 #define HAVE_TIMEOPS 1
3383 cat >>confdefs.h <<\EOF
3384 #define HAVE_TIMEOPS 1
3387 echo "$as_me:3387: result: yes" >&5
3388 echo "${ECHO_T}yes" >&6
3390 echo "$as_me: failed program was:" >&5
3391 cat conftest.$ac_ext >&5
3392 echo "$as_me:3392: result: no" >&5
3393 echo "${ECHO_T}no" >&6
3395 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3398 echo "$as_me:3398: checking for cfsetspeed in termios.h" >&5
3399 echo $ECHO_N "checking for cfsetspeed in termios.h... $ECHO_C" >&6
3400 cat >conftest.$ac_ext <<_ACEOF
3401 #line 3401 "configure"
3402 #include "confdefs.h"
3403 #include <termios.h>
3407 struct termios t; cfsetspeed(&t, B9600);
3412 rm -f conftest.$ac_objext conftest$ac_exeext
3413 if { (eval echo "$as_me:3413: \"$ac_link\"") >&5
3414 (eval $ac_link) 2>&5
3416 echo "$as_me:3416: \$? = $ac_status" >&5
3417 (exit $ac_status); } &&
3418 { ac_try='test -s conftest$ac_exeext'
3419 { (eval echo "$as_me:3419: \"$ac_try\"") >&5
3422 echo "$as_me:3422: \$? = $ac_status" >&5
3423 (exit $ac_status); }; }; then
3424 cat >>confdefs.h <<\EOF
3425 #define HAVE_CFSETSPEED 1
3429 echo "$as_me:3429: result: yes" >&5
3430 echo "${ECHO_T}yes" >&6
3432 echo "$as_me: failed program was:" >&5
3433 cat conftest.$ac_ext >&5
3434 echo "$as_me:3434: result: no" >&5
3435 echo "${ECHO_T}no" >&6
3437 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3439 if test $have_termios = "no"; then
3440 echo "$as_me:3440: checking for cfsetispeed and cfsetospeed in termios.h" >&5
3441 echo $ECHO_N "checking for cfsetispeed and cfsetospeed in termios.h... $ECHO_C" >&6
3442 cat >conftest.$ac_ext <<_ACEOF
3443 #line 3443 "configure"
3444 #include "confdefs.h"
3445 #include <termios.h>
3449 struct termios t; cfsetispeed(&t, B9600); cfsetospeed(&t, B9600);
3454 rm -f conftest.$ac_objext conftest$ac_exeext
3455 if { (eval echo "$as_me:3455: \"$ac_link\"") >&5
3456 (eval $ac_link) 2>&5
3458 echo "$as_me:3458: \$? = $ac_status" >&5
3459 (exit $ac_status); } &&
3460 { ac_try='test -s conftest$ac_exeext'
3461 { (eval echo "$as_me:3461: \"$ac_try\"") >&5
3464 echo "$as_me:3464: \$? = $ac_status" >&5
3465 (exit $ac_status); }; }; then
3466 cat >>confdefs.h <<\EOF
3467 #define HAVE_CFSETISPEED 1
3470 cat >>confdefs.h <<\EOF
3471 #define HAVE_CFSETOSPEED 1
3475 echo "$as_me:3475: result: yes" >&5
3476 echo "${ECHO_T}yes" >&6
3478 echo "$as_me: failed program was:" >&5
3479 cat conftest.$ac_ext >&5
3480 echo "$as_me:3480: result: no" >&5
3481 echo "${ECHO_T}no" >&6
3483 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3485 if test $have_termios = "no"; then
3486 echo "$as_me:3486: checking for c_ispeed and c_ospeed in struct termios" >&5
3487 echo $ECHO_N "checking for c_ispeed and c_ospeed in struct termios... $ECHO_C" >&6
3488 cat >conftest.$ac_ext <<_ACEOF
3489 #line 3489 "configure"
3490 #include "confdefs.h"
3491 #include <termios.h>
3495 struct termios t; t.c_iflag = B9600; t.c_oflag = B9600;
3500 rm -f conftest.$ac_objext conftest$ac_exeext
3501 if { (eval echo "$as_me:3501: \"$ac_link\"") >&5
3502 (eval $ac_link) 2>&5
3504 echo "$as_me:3504: \$? = $ac_status" >&5
3505 (exit $ac_status); } &&
3506 { ac_try='test -s conftest$ac_exeext'
3507 { (eval echo "$as_me:3507: \"$ac_try\"") >&5
3510 echo "$as_me:3510: \$? = $ac_status" >&5
3511 (exit $ac_status); }; }; then
3512 cat >>confdefs.h <<\EOF
3513 #define HAVE_TERMIOS_CSPEED 1
3516 echo "$as_me:3516: result: yes" >&5
3517 echo "${ECHO_T}yes" >&6
3519 echo "$as_me: failed program was:" >&5
3520 cat conftest.$ac_ext >&5
3521 echo "$as_me:3521: result: no" >&5
3522 echo "${ECHO_T}no" >&6
3524 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3528 echo "$as_me:3528: checking for getopt.h" >&5
3529 echo $ECHO_N "checking for getopt.h... $ECHO_C" >&6
3530 if test "${ac_cv_header_getopt_h+set}" = set; then
3531 echo $ECHO_N "(cached) $ECHO_C" >&6
3533 cat >conftest.$ac_ext <<_ACEOF
3534 #line 3534 "configure"
3535 #include "confdefs.h"
3538 if { (eval echo "$as_me:3538: \"$ac_cpp conftest.$ac_ext\"") >&5
3539 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3541 egrep -v '^ *\+' conftest.er1 >conftest.err
3543 cat conftest.err >&5
3544 echo "$as_me:3544: \$? = $ac_status" >&5
3545 (exit $ac_status); } >/dev/null; then
3546 if test -s conftest.err; then
3547 ac_cpp_err=$ac_c_preproc_warn_flag
3554 if test -z "$ac_cpp_err"; then
3555 ac_cv_header_getopt_h=yes
3557 echo "$as_me: failed program was:" >&5
3558 cat conftest.$ac_ext >&5
3559 ac_cv_header_getopt_h=no
3561 rm -f conftest.err conftest.$ac_ext
3563 echo "$as_me:3563: result: $ac_cv_header_getopt_h" >&5
3564 echo "${ECHO_T}$ac_cv_header_getopt_h" >&6
3565 if test $ac_cv_header_getopt_h = yes; then
3568 CFLAGS="$CFLAGS -I../getopt"
3571 # Check whether --with-gnugetopt or --without-gnugetopt was given.
3572 if test "${with_gnugetopt+set}" = set; then
3573 withval="$with_gnugetopt"
3574 if test x$withval=yes; then
3575 { echo "$as_me:3575: WARNING: Usage is: --with-getopt=DIR" >&5
3576 echo "$as_me: WARNING: Usage is: --with-getopt=DIR" >&2;}
3578 GETOPT_LIBS="-L$withval"
3584 echo "$as_me:3584: checking for getopt_long" >&5
3585 echo $ECHO_N "checking for getopt_long... $ECHO_C" >&6
3586 if test "${ac_cv_func_getopt_long+set}" = set; then
3587 echo $ECHO_N "(cached) $ECHO_C" >&6
3589 cat >conftest.$ac_ext <<_ACEOF
3590 #line 3590 "configure"
3591 #include "confdefs.h"
3592 /* System header to define __stub macros and hopefully few prototypes,
3593 which can conflict with char getopt_long (); below. */
3595 /* Override any gcc2 internal prototype to avoid an error. */
3599 /* We use char because int might match the return type of a gcc2
3600 builtin and then its argument prototype would still apply. */
3601 char getopt_long ();
3607 /* The GNU C library defines this for functions which it implements
3608 to always fail with ENOSYS. Some functions are actually named
3609 something starting with __ and the normal name is an alias. */
3610 #if defined (__stub_getopt_long) || defined (__stub___getopt_long)
3620 rm -f conftest.$ac_objext conftest$ac_exeext
3621 if { (eval echo "$as_me:3621: \"$ac_link\"") >&5
3622 (eval $ac_link) 2>&5
3624 echo "$as_me:3624: \$? = $ac_status" >&5
3625 (exit $ac_status); } &&
3626 { ac_try='test -s conftest$ac_exeext'
3627 { (eval echo "$as_me:3627: \"$ac_try\"") >&5
3630 echo "$as_me:3630: \$? = $ac_status" >&5
3631 (exit $ac_status); }; }; then
3632 ac_cv_func_getopt_long=yes
3634 echo "$as_me: failed program was:" >&5
3635 cat conftest.$ac_ext >&5
3636 ac_cv_func_getopt_long=no
3638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3640 echo "$as_me:3640: result: $ac_cv_func_getopt_long" >&5
3641 echo "${ECHO_T}$ac_cv_func_getopt_long" >&6
3642 if test $ac_cv_func_getopt_long = yes; then
3646 LIBS="$LIBS $GETOPT_LIBS"
3647 echo "$as_me:3647: checking for getopt_long in -lgnugetopt" >&5
3648 echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
3649 if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
3650 echo $ECHO_N "(cached) $ECHO_C" >&6
3652 ac_check_lib_save_LIBS=$LIBS
3653 LIBS="-lgnugetopt $LIBS"
3654 cat >conftest.$ac_ext <<_ACEOF
3655 #line 3655 "configure"
3656 #include "confdefs.h"
3658 /* Override any gcc2 internal prototype to avoid an error. */
3662 /* We use char because int might match the return type of a gcc2
3663 builtin and then its argument prototype would still apply. */
3664 char getopt_long ();
3673 rm -f conftest.$ac_objext conftest$ac_exeext
3674 if { (eval echo "$as_me:3674: \"$ac_link\"") >&5
3675 (eval $ac_link) 2>&5
3677 echo "$as_me:3677: \$? = $ac_status" >&5
3678 (exit $ac_status); } &&
3679 { ac_try='test -s conftest$ac_exeext'
3680 { (eval echo "$as_me:3680: \"$ac_try\"") >&5
3683 echo "$as_me:3683: \$? = $ac_status" >&5
3684 (exit $ac_status); }; }; then
3685 ac_cv_lib_gnugetopt_getopt_long=yes
3687 echo "$as_me: failed program was:" >&5
3688 cat conftest.$ac_ext >&5
3689 ac_cv_lib_gnugetopt_getopt_long=no
3691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3692 LIBS=$ac_check_lib_save_LIBS
3694 echo "$as_me:3694: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
3695 echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
3696 if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
3697 LIBS="$LIBS -lgnugetopt"
3704 if test "$no_x" = yes -o "$with_x" = "no"; then
3711 echo "$as_me:3711: checking for X" >&5
3712 echo $ECHO_N "checking for X... $ECHO_C" >&6
3714 # Check whether --with-x or --without-x was given.
3715 if test "${with_x+set}" = set; then
3719 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3720 if test "x$with_x" = xno; then
3721 # The user explicitly disabled X.
3724 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
3725 # Both variables are already set.
3728 if test "${ac_cv_have_x+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 # One or both of the vars are not set, and there is no cached value.
3732 ac_x_includes=no ac_x_libraries=no
3734 if mkdir conftest.dir; then
3736 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3737 cat >Imakefile <<'EOF'
3739 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3741 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
3742 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3743 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3744 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3745 for ac_extension in a so sl; do
3746 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
3747 test -f $ac_im_libdir/libX11.$ac_extension; then
3748 ac_im_usrlibdir=$ac_im_libdir; break
3751 # Screen out bogus values from the imake configuration. They are
3752 # bogus both because they are the default anyway, and because
3753 # using them would break gcc on systems where it needs fixed includes.
3754 case $ac_im_incroot in
3756 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3758 case $ac_im_usrlibdir in
3760 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3767 # Standard set of common directories for X headers.
3768 # Check X11 before X11Rn because it is often a symlink to the current release.
3780 /usr/local/X11/include
3781 /usr/local/X11R6/include
3782 /usr/local/X11R5/include
3783 /usr/local/X11R4/include
3785 /usr/local/include/X11
3786 /usr/local/include/X11R6
3787 /usr/local/include/X11R5
3788 /usr/local/include/X11R4
3792 /usr/XFree86/include/X11
3796 /usr/unsupported/include
3798 /usr/local/x11r5/include
3799 /usr/lpp/Xamples/include
3801 /usr/openwin/include
3802 /usr/openwin/share/include'
3804 if test "$ac_x_includes" = no; then
3805 # Guess where to find include files, by looking for Intrinsic.h.
3806 # First, try using that file with no special directory specified.
3807 cat >conftest.$ac_ext <<_ACEOF
3808 #line 3808 "configure"
3809 #include "confdefs.h"
3810 #include <X11/Intrinsic.h>
3812 if { (eval echo "$as_me:3812: \"$ac_cpp conftest.$ac_ext\"") >&5
3813 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3815 egrep -v '^ *\+' conftest.er1 >conftest.err
3817 cat conftest.err >&5
3818 echo "$as_me:3818: \$? = $ac_status" >&5
3819 (exit $ac_status); } >/dev/null; then
3820 if test -s conftest.err; then
3821 ac_cpp_err=$ac_c_preproc_warn_flag
3828 if test -z "$ac_cpp_err"; then
3829 # We can compile using X headers with no special include directory.
3832 echo "$as_me: failed program was:" >&5
3833 cat conftest.$ac_ext >&5
3834 for ac_dir in $ac_x_header_dirs; do
3835 if test -r "$ac_dir/X11/Intrinsic.h"; then
3836 ac_x_includes=$ac_dir
3841 rm -f conftest.err conftest.$ac_ext
3842 fi # $ac_x_includes = no
3844 if test "$ac_x_libraries" = no; then
3845 # Check for the libraries.
3846 # See if we find them without any special options.
3847 # Don't add to $LIBS permanently.
3850 cat >conftest.$ac_ext <<_ACEOF
3851 #line 3851 "configure"
3852 #include "confdefs.h"
3853 #include <X11/Intrinsic.h>
3862 rm -f conftest.$ac_objext conftest$ac_exeext
3863 if { (eval echo "$as_me:3863: \"$ac_link\"") >&5
3864 (eval $ac_link) 2>&5
3866 echo "$as_me:3866: \$? = $ac_status" >&5
3867 (exit $ac_status); } &&
3868 { ac_try='test -s conftest$ac_exeext'
3869 { (eval echo "$as_me:3869: \"$ac_try\"") >&5
3872 echo "$as_me:3872: \$? = $ac_status" >&5
3873 (exit $ac_status); }; }; then
3875 # We can link X programs with no special library path.
3878 echo "$as_me: failed program was:" >&5
3879 cat conftest.$ac_ext >&5
3881 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3883 # Don't even attempt the hair of trying to link an X program!
3884 for ac_extension in a so sl; do
3885 if test -r $ac_dir/libXt.$ac_extension; then
3886 ac_x_libraries=$ac_dir
3892 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3893 fi # $ac_x_libraries = no
3895 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
3896 # Didn't find X anywhere. Cache the known absence of X.
3897 ac_cv_have_x="have_x=no"
3899 # Record where we found X for the cache.
3900 ac_cv_have_x="have_x=yes \
3901 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3906 eval "$ac_cv_have_x"
3909 if test "$have_x" != yes; then
3910 echo "$as_me:3910: result: $have_x" >&5
3911 echo "${ECHO_T}$have_x" >&6
3914 # If each of the values was on the command line, it overrides each guess.
3915 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3916 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3917 # Update the cache value to reflect the command line values.
3918 ac_cv_have_x="have_x=yes \
3919 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3920 echo "$as_me:3920: result: libraries $x_libraries, headers $x_includes" >&5
3921 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
3924 CPPFLAGS="$CPPFLAGS -I$x_includes"
3926 for ac_header in X11/xpm.h
3928 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3929 echo "$as_me:3929: checking for $ac_header" >&5
3930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3932 echo $ECHO_N "(cached) $ECHO_C" >&6
3934 cat >conftest.$ac_ext <<_ACEOF
3935 #line 3935 "configure"
3936 #include "confdefs.h"
3937 #include <$ac_header>
3939 if { (eval echo "$as_me:3939: \"$ac_cpp conftest.$ac_ext\"") >&5
3940 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3942 egrep -v '^ *\+' conftest.er1 >conftest.err
3944 cat conftest.err >&5
3945 echo "$as_me:3945: \$? = $ac_status" >&5
3946 (exit $ac_status); } >/dev/null; then
3947 if test -s conftest.err; then
3948 ac_cpp_err=$ac_c_preproc_warn_flag
3955 if test -z "$ac_cpp_err"; then
3956 eval "$as_ac_Header=yes"
3958 echo "$as_me: failed program was:" >&5
3959 cat conftest.$ac_ext >&5
3960 eval "$as_ac_Header=no"
3962 rm -f conftest.err conftest.$ac_ext
3964 echo "$as_me:3964: result: `eval echo '${'$as_ac_Header'}'`" >&5
3965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3966 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3967 cat >>confdefs.h <<EOF
3968 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3976 if test "x$XPMINC" = "xno"; then
3982 { echo "$as_me:3982: WARNING: Cannot find include X11/xpm.h" >&5
3983 echo "$as_me: WARNING: Cannot find include X11/xpm.h" >&2;}
3984 { echo "$as_me:3984: WARNING: Disabling xgnokii." >&5
3985 echo "$as_me: WARNING: Disabling xgnokii." >&2;}
3986 elif test "x$x_libraries" = "xNONE"; then
3992 { echo "$as_me:3992: WARNING: Cannot find library libX11." >&5
3993 echo "$as_me: WARNING: Cannot find library libX11." >&2;}
3994 { echo "$as_me:3994: WARNING: Disabling xgnokii." >&5
3995 echo "$as_me: WARNING: Disabling xgnokii." >&2;}
3997 echo "$as_me:3997: checking for XpmWriteFileFromXpmImage in -lXpm" >&5
3998 echo $ECHO_N "checking for XpmWriteFileFromXpmImage in -lXpm... $ECHO_C" >&6
3999 if test "${ac_cv_lib_Xpm_XpmWriteFileFromXpmImage+set}" = set; then
4000 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 ac_check_lib_save_LIBS=$LIBS
4003 LIBS="-lXpm -L$x_libraries -lX11
4005 cat >conftest.$ac_ext <<_ACEOF
4006 #line 4006 "configure"
4007 #include "confdefs.h"
4009 /* Override any gcc2 internal prototype to avoid an error. */
4013 /* We use char because int might match the return type of a gcc2
4014 builtin and then its argument prototype would still apply. */
4015 char XpmWriteFileFromXpmImage ();
4019 XpmWriteFileFromXpmImage ();
4024 rm -f conftest.$ac_objext conftest$ac_exeext
4025 if { (eval echo "$as_me:4025: \"$ac_link\"") >&5
4026 (eval $ac_link) 2>&5
4028 echo "$as_me:4028: \$? = $ac_status" >&5
4029 (exit $ac_status); } &&
4030 { ac_try='test -s conftest$ac_exeext'
4031 { (eval echo "$as_me:4031: \"$ac_try\"") >&5
4034 echo "$as_me:4034: \$? = $ac_status" >&5
4035 (exit $ac_status); }; }; then
4036 ac_cv_lib_Xpm_XpmWriteFileFromXpmImage=yes
4038 echo "$as_me: failed program was:" >&5
4039 cat conftest.$ac_ext >&5
4040 ac_cv_lib_Xpm_XpmWriteFileFromXpmImage=no
4042 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4043 LIBS=$ac_check_lib_save_LIBS
4045 echo "$as_me:4045: result: $ac_cv_lib_Xpm_XpmWriteFileFromXpmImage" >&5
4046 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmWriteFileFromXpmImage" >&6
4047 if test $ac_cv_lib_Xpm_XpmWriteFileFromXpmImage = yes; then
4048 XPM_CFLAGS="-I$x_includes" XPM_LIBS="-L$x_libraries -lX11 -lXpm"
4049 cat >>confdefs.h <<\EOF
4054 { echo "$as_me:4054: WARNING: Cannot found library libXpm - disabling XPM support." >&5
4055 echo "$as_me: WARNING: Cannot found library libXpm - disabling XPM support." >&2;}
4058 for ac_prog in gtk-config gtk12-config
4060 # Extract the first word of "$ac_prog", so it can be a program name with args.
4061 set dummy $ac_prog; ac_word=$2
4062 echo "$as_me:4062: checking for $ac_word" >&5
4063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4064 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4069 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
4072 ac_save_IFS=$IFS; IFS=$ac_path_separator
4074 for ac_dir in $ac_dummy; do
4076 test -z "$ac_dir" && ac_dir=.
4077 if $as_executable_p "$ac_dir/$ac_word"; then
4078 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
4079 echo "$as_me:4079: found $ac_dir/$ac_word" >&5
4087 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
4089 if test -n "$GTK_CONFIG"; then
4090 echo "$as_me:4090: result: $GTK_CONFIG" >&5
4091 echo "${ECHO_T}$GTK_CONFIG" >&6
4093 echo "$as_me:4093: result: no" >&5
4094 echo "${ECHO_T}no" >&6
4097 test -n "$GTK_CONFIG" && break
4099 test -n "$GTK_CONFIG" || GTK_CONFIG="no"
4101 if test "$GTK_CONFIG" = no; then
4105 { echo "$as_me:4105: WARNING: Cannot find gtk-config." >&5
4106 echo "$as_me: WARNING: Cannot find gtk-config." >&2;}
4107 { echo "$as_me:4107: WARNING: Disabling xgnokii." >&5
4108 echo "$as_me: WARNING: Disabling xgnokii." >&2;}
4110 GTK_CFLAGS=`$GTK_CONFIG --cflags`
4111 GTK_LIBS=`$GTK_CONFIG --libs`
4114 XGNOKIIDIR='${prefix}/share'
4115 XGNOKIIPATH=${prefix}/share
4117 # Check whether --with-xgnokiidir or --without-xgnokiidir was given.
4118 if test "${with_xgnokiidir+set}" = set; then
4119 withval="$with_xgnokiidir"
4120 if test x$withval = xyes; then
4121 { echo "$as_me:4121: WARNING: Usage is: --with-xgnokiilib=DIR" >&5
4122 echo "$as_me: WARNING: Usage is: --with-xgnokiilib=DIR" >&2;}
4124 XGNOKIIDIR="$withval"
4125 XGNOKIIPATH="$withval"
4133 echo "$as_me:4133: checking for socket in -lsocket" >&5
4134 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
4135 if test "${ac_cv_lib_socket_socket+set}" = set; then
4136 echo $ECHO_N "(cached) $ECHO_C" >&6
4138 ac_check_lib_save_LIBS=$LIBS
4139 LIBS="-lsocket $LIBS"
4140 cat >conftest.$ac_ext <<_ACEOF
4141 #line 4141 "configure"
4142 #include "confdefs.h"
4144 /* Override any gcc2 internal prototype to avoid an error. */
4148 /* We use char because int might match the return type of a gcc2
4149 builtin and then its argument prototype would still apply. */
4159 rm -f conftest.$ac_objext conftest$ac_exeext
4160 if { (eval echo "$as_me:4160: \"$ac_link\"") >&5
4161 (eval $ac_link) 2>&5
4163 echo "$as_me:4163: \$? = $ac_status" >&5
4164 (exit $ac_status); } &&
4165 { ac_try='test -s conftest$ac_exeext'
4166 { (eval echo "$as_me:4166: \"$ac_try\"") >&5
4169 echo "$as_me:4169: \$? = $ac_status" >&5
4170 (exit $ac_status); }; }; then
4171 ac_cv_lib_socket_socket=yes
4173 echo "$as_me: failed program was:" >&5
4174 cat conftest.$ac_ext >&5
4175 ac_cv_lib_socket_socket=no
4177 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4178 LIBS=$ac_check_lib_save_LIBS
4180 echo "$as_me:4180: result: $ac_cv_lib_socket_socket" >&5
4181 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
4182 if test $ac_cv_lib_socket_socket = yes; then
4183 cat >>confdefs.h <<EOF
4184 #define HAVE_LIBSOCKET 1
4187 LIBS="-lsocket $LIBS"
4191 # Check whether --enable-security or --disable-security was given.
4192 if test "${enable_security+set}" = set; then
4193 enableval="$enable_security"
4194 cat >>confdefs.h <<\EOF
4204 # Check whether --enable-win32 or --disable-win32 was given.
4205 if test "${enable_win32+set}" = set; then
4206 enableval="$enable_win32"
4207 cat >>confdefs.h <<\EOF
4217 echo "$as_me:4217: checking for grantpt" >&5
4218 echo $ECHO_N "checking for grantpt... $ECHO_C" >&6
4219 if test "${ac_cv_func_grantpt+set}" = set; then
4220 echo $ECHO_N "(cached) $ECHO_C" >&6
4222 cat >conftest.$ac_ext <<_ACEOF
4223 #line 4223 "configure"
4224 #include "confdefs.h"
4225 /* System header to define __stub macros and hopefully few prototypes,
4226 which can conflict with char grantpt (); below. */
4228 /* Override any gcc2 internal prototype to avoid an error. */
4232 /* We use char because int might match the return type of a gcc2
4233 builtin and then its argument prototype would still apply. */
4240 /* The GNU C library defines this for functions which it implements
4241 to always fail with ENOSYS. Some functions are actually named
4242 something starting with __ and the normal name is an alias. */
4243 #if defined (__stub_grantpt) || defined (__stub___grantpt)
4253 rm -f conftest.$ac_objext conftest$ac_exeext
4254 if { (eval echo "$as_me:4254: \"$ac_link\"") >&5
4255 (eval $ac_link) 2>&5
4257 echo "$as_me:4257: \$? = $ac_status" >&5
4258 (exit $ac_status); } &&
4259 { ac_try='test -s conftest$ac_exeext'
4260 { (eval echo "$as_me:4260: \"$ac_try\"") >&5
4263 echo "$as_me:4263: \$? = $ac_status" >&5
4264 (exit $ac_status); }; }; then
4265 ac_cv_func_grantpt=yes
4267 echo "$as_me: failed program was:" >&5
4268 cat conftest.$ac_ext >&5
4269 ac_cv_func_grantpt=no
4271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4273 echo "$as_me:4273: result: $ac_cv_func_grantpt" >&5
4274 echo "${ECHO_T}$ac_cv_func_grantpt" >&6
4275 if test $ac_cv_func_grantpt = yes; then
4276 if test "$cross_compiling" = yes; then
4277 { echo "$as_me:4277: WARNING: \"Ensure to disable unix98ptys when crosscompiling\"" >&5
4278 echo "$as_me: WARNING: \"Ensure to disable unix98ptys when crosscompiling\"" >&2;}
4280 cat >conftest.$ac_ext <<_ACEOF
4281 #line 4281 "configure"
4282 #include "confdefs.h"
4284 #define _XOPEN_SOURCE 500
4286 #include <features.h>
4288 #include <sys/types.h>
4289 #include <sys/stat.h>
4298 master = open("/dev/ptmx", O_RDWR | O_NOCTTY | O_NONBLOCK);
4300 err = grantpt(master);
4301 err = err || unlockpt(master);
4303 name = ptsname(master);
4315 rm -f conftest$ac_exeext
4316 if { (eval echo "$as_me:4316: \"$ac_link\"") >&5
4317 (eval $ac_link) 2>&5
4319 echo "$as_me:4319: \$? = $ac_status" >&5
4320 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4321 { (eval echo "$as_me:4321: \"$ac_try\"") >&5
4324 echo "$as_me:4324: \$? = $ac_status" >&5
4325 (exit $ac_status); }; }; then
4326 cat >>confdefs.h <<\EOF
4327 #define USE_UNIX98PTYS 1
4331 echo "$as_me: program exited with status $ac_status" >&5
4332 echo "$as_me: failed program was:" >&5
4333 cat conftest.$ac_ext >&5
4334 { echo "$as_me:4334: WARNING: \"No unix98ptys\"" >&5
4335 echo "$as_me: WARNING: \"No unix98ptys\"" >&2;}
4337 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4342 echo "$as_me:4342: checking for ANSI C header files" >&5
4343 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4344 if test "${ac_cv_header_stdc+set}" = set; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4347 cat >conftest.$ac_ext <<_ACEOF
4348 #line 4348 "configure"
4349 #include "confdefs.h"
4356 if { (eval echo "$as_me:4356: \"$ac_cpp conftest.$ac_ext\"") >&5
4357 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4359 egrep -v '^ *\+' conftest.er1 >conftest.err
4361 cat conftest.err >&5
4362 echo "$as_me:4362: \$? = $ac_status" >&5
4363 (exit $ac_status); } >/dev/null; then
4364 if test -s conftest.err; then
4365 ac_cpp_err=$ac_c_preproc_warn_flag
4372 if test -z "$ac_cpp_err"; then
4373 ac_cv_header_stdc=yes
4375 echo "$as_me: failed program was:" >&5
4376 cat conftest.$ac_ext >&5
4377 ac_cv_header_stdc=no
4379 rm -f conftest.err conftest.$ac_ext
4381 if test $ac_cv_header_stdc = yes; then
4382 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4383 cat >conftest.$ac_ext <<_ACEOF
4384 #line 4384 "configure"
4385 #include "confdefs.h"
4389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4390 egrep "memchr" >/dev/null 2>&1; then
4393 ac_cv_header_stdc=no
4399 if test $ac_cv_header_stdc = yes; then
4400 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4401 cat >conftest.$ac_ext <<_ACEOF
4402 #line 4402 "configure"
4403 #include "confdefs.h"
4407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4408 egrep "free" >/dev/null 2>&1; then
4411 ac_cv_header_stdc=no
4417 if test $ac_cv_header_stdc = yes; then
4418 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4419 if test "$cross_compiling" = yes; then
4422 cat >conftest.$ac_ext <<_ACEOF
4423 #line 4423 "configure"
4424 #include "confdefs.h"
4426 #if ((' ' & 0x0FF) == 0x020)
4427 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4428 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4430 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4431 || ('j' <= (c) && (c) <= 'r') \
4432 || ('s' <= (c) && (c) <= 'z'))
4433 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4436 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4441 for (i = 0; i < 256; i++)
4442 if (XOR (islower (i), ISLOWER (i))
4443 || toupper (i) != TOUPPER (i))
4448 rm -f conftest$ac_exeext
4449 if { (eval echo "$as_me:4449: \"$ac_link\"") >&5
4450 (eval $ac_link) 2>&5
4452 echo "$as_me:4452: \$? = $ac_status" >&5
4453 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4454 { (eval echo "$as_me:4454: \"$ac_try\"") >&5
4457 echo "$as_me:4457: \$? = $ac_status" >&5
4458 (exit $ac_status); }; }; then
4461 echo "$as_me: program exited with status $ac_status" >&5
4462 echo "$as_me: failed program was:" >&5
4463 cat conftest.$ac_ext >&5
4464 ac_cv_header_stdc=no
4466 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4470 echo "$as_me:4470: result: $ac_cv_header_stdc" >&5
4471 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4472 if test $ac_cv_header_stdc = yes; then
4474 cat >>confdefs.h <<\EOF
4475 #define STDC_HEADERS 1
4480 echo "$as_me:4480: checking for sys/wait.h that is POSIX.1 compatible" >&5
4481 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4482 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4485 cat >conftest.$ac_ext <<_ACEOF
4486 #line 4486 "configure"
4487 #include "confdefs.h"
4488 #include <sys/types.h>
4489 #include <sys/wait.h>
4491 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
4494 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4502 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4507 rm -f conftest.$ac_objext
4508 if { (eval echo "$as_me:4508: \"$ac_compile\"") >&5
4509 (eval $ac_compile) 2>&5
4511 echo "$as_me:4511: \$? = $ac_status" >&5
4512 (exit $ac_status); } &&
4513 { ac_try='test -s conftest.$ac_objext'
4514 { (eval echo "$as_me:4514: \"$ac_try\"") >&5
4517 echo "$as_me:4517: \$? = $ac_status" >&5
4518 (exit $ac_status); }; }; then
4519 ac_cv_header_sys_wait_h=yes
4521 echo "$as_me: failed program was:" >&5
4522 cat conftest.$ac_ext >&5
4523 ac_cv_header_sys_wait_h=no
4525 rm -f conftest.$ac_objext conftest.$ac_ext
4527 echo "$as_me:4527: result: $ac_cv_header_sys_wait_h" >&5
4528 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4529 if test $ac_cv_header_sys_wait_h = yes; then
4531 cat >>confdefs.h <<\EOF
4532 #define HAVE_SYS_WAIT_H 1
4537 for ac_header in fcntl.h sys/ioctl.h sys/time.h unistd.h
4539 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4540 echo "$as_me:4540: checking for $ac_header" >&5
4541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4543 echo $ECHO_N "(cached) $ECHO_C" >&6
4545 cat >conftest.$ac_ext <<_ACEOF
4546 #line 4546 "configure"
4547 #include "confdefs.h"
4548 #include <$ac_header>
4550 if { (eval echo "$as_me:4550: \"$ac_cpp conftest.$ac_ext\"") >&5
4551 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4553 egrep -v '^ *\+' conftest.er1 >conftest.err
4555 cat conftest.err >&5
4556 echo "$as_me:4556: \$? = $ac_status" >&5
4557 (exit $ac_status); } >/dev/null; then
4558 if test -s conftest.err; then
4559 ac_cpp_err=$ac_c_preproc_warn_flag
4566 if test -z "$ac_cpp_err"; then
4567 eval "$as_ac_Header=yes"
4569 echo "$as_me: failed program was:" >&5
4570 cat conftest.$ac_ext >&5
4571 eval "$as_ac_Header=no"
4573 rm -f conftest.err conftest.$ac_ext
4575 echo "$as_me:4575: result: `eval echo '${'$as_ac_Header'}'`" >&5
4576 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4578 cat >>confdefs.h <<EOF
4579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4585 echo "$as_me:4585: checking for $CC option to accept ANSI C" >&5
4586 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4587 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4590 ac_cv_prog_cc_stdc=no
4592 cat >conftest.$ac_ext <<_ACEOF
4593 #line 4593 "configure"
4594 #include "confdefs.h"
4597 #include <sys/types.h>
4598 #include <sys/stat.h>
4599 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4600 struct buf { int x; };
4601 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4602 static char *e (p, i)
4608 static char *f (char * (*g) (char **, int), char **p, ...)
4613 s = g (p, va_arg (v,int));
4617 int test (int i, double x);
4618 struct s1 {int (*f) (int a);};
4619 struct s2 {int (*f) (double a);};
4620 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4626 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4631 # Don't try gcc -ansi; that turns off useful extensions and
4632 # breaks some systems' header files.
4633 # AIX -qlanglvl=ansi
4634 # Ultrix and OSF/1 -std1
4635 # HP-UX 10.20 and later -Ae
4636 # HP-UX older versions -Aa -D_HPUX_SOURCE
4637 # SVR4 -Xc -D__EXTENSIONS__
4638 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4640 CC="$ac_save_CC $ac_arg"
4641 rm -f conftest.$ac_objext
4642 if { (eval echo "$as_me:4642: \"$ac_compile\"") >&5
4643 (eval $ac_compile) 2>&5
4645 echo "$as_me:4645: \$? = $ac_status" >&5
4646 (exit $ac_status); } &&
4647 { ac_try='test -s conftest.$ac_objext'
4648 { (eval echo "$as_me:4648: \"$ac_try\"") >&5
4651 echo "$as_me:4651: \$? = $ac_status" >&5
4652 (exit $ac_status); }; }; then
4653 ac_cv_prog_cc_stdc=$ac_arg
4656 echo "$as_me: failed program was:" >&5
4657 cat conftest.$ac_ext >&5
4659 rm -f conftest.$ac_objext
4661 rm -f conftest.$ac_ext conftest.$ac_objext
4666 case "x$ac_cv_prog_cc_stdc" in
4668 echo "$as_me:4668: result: none needed" >&5
4669 echo "${ECHO_T}none needed" >&6 ;;
4671 echo "$as_me:4671: result: $ac_cv_prog_cc_stdc" >&5
4672 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4673 CC="$CC $ac_cv_prog_cc_stdc" ;;
4676 echo "$as_me:4676: checking for an ANSI C-conforming const" >&5
4677 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4678 if test "${ac_cv_c_const+set}" = set; then
4679 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 cat >conftest.$ac_ext <<_ACEOF
4682 #line 4682 "configure"
4683 #include "confdefs.h"
4688 /* FIXME: Include the comments suggested by Paul. */
4690 /* Ultrix mips cc rejects this. */
4691 typedef int charset[2];
4693 /* SunOS 4.1.1 cc rejects this. */
4694 char const *const *ccp;
4696 /* NEC SVR4.0.2 mips cc rejects this. */
4697 struct point {int x, y;};
4698 static struct point const zero = {0,0};
4699 /* AIX XL C 1.02.0.0 rejects this.
4700 It does not let you subtract one const X* pointer from another in
4701 an arm of an if-expression whose if-part is not a constant
4703 const char *g = "string";
4704 ccp = &g + (g ? g-g : 0);
4705 /* HPUX 7.0 cc rejects these. */
4708 ccp = (char const *const *) p;
4709 { /* SCO 3.2v4 cc rejects this. */
4711 char const *s = 0 ? (char *) 0 : (char const *) 0;
4715 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4717 const int *foo = &x[0];
4720 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4721 typedef const int *iptr;
4725 { /* AIX XL C 1.02.0.0 rejects this saying
4726 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4727 struct s { int j; const int *ap[3]; };
4728 struct s *b; b->j = 5;
4730 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4739 rm -f conftest.$ac_objext
4740 if { (eval echo "$as_me:4740: \"$ac_compile\"") >&5
4741 (eval $ac_compile) 2>&5
4743 echo "$as_me:4743: \$? = $ac_status" >&5
4744 (exit $ac_status); } &&
4745 { ac_try='test -s conftest.$ac_objext'
4746 { (eval echo "$as_me:4746: \"$ac_try\"") >&5
4749 echo "$as_me:4749: \$? = $ac_status" >&5
4750 (exit $ac_status); }; }; then
4753 echo "$as_me: failed program was:" >&5
4754 cat conftest.$ac_ext >&5
4757 rm -f conftest.$ac_objext conftest.$ac_ext
4759 echo "$as_me:4759: result: $ac_cv_c_const" >&5
4760 echo "${ECHO_T}$ac_cv_c_const" >&6
4761 if test $ac_cv_c_const = no; then
4763 cat >>confdefs.h <<\EOF
4769 echo "$as_me:4769: checking for inline" >&5
4770 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4771 if test "${ac_cv_c_inline+set}" = set; then
4772 echo $ECHO_N "(cached) $ECHO_C" >&6
4775 for ac_kw in inline __inline__ __inline; do
4776 cat >conftest.$ac_ext <<_ACEOF
4777 #line 4777 "configure"
4778 #include "confdefs.h"
4780 static $ac_kw int static_foo () {return 0; }
4781 $ac_kw int foo () {return 0; }
4785 rm -f conftest.$ac_objext
4786 if { (eval echo "$as_me:4786: \"$ac_compile\"") >&5
4787 (eval $ac_compile) 2>&5
4789 echo "$as_me:4789: \$? = $ac_status" >&5
4790 (exit $ac_status); } &&
4791 { ac_try='test -s conftest.$ac_objext'
4792 { (eval echo "$as_me:4792: \"$ac_try\"") >&5
4795 echo "$as_me:4795: \$? = $ac_status" >&5
4796 (exit $ac_status); }; }; then
4797 ac_cv_c_inline=$ac_kw; break
4799 echo "$as_me: failed program was:" >&5
4800 cat conftest.$ac_ext >&5
4802 rm -f conftest.$ac_objext conftest.$ac_ext
4806 echo "$as_me:4806: result: $ac_cv_c_inline" >&5
4807 echo "${ECHO_T}$ac_cv_c_inline" >&6
4808 case $ac_cv_c_inline in
4811 cat >>confdefs.h <<\EOF
4815 *) cat >>confdefs.h <<EOF
4816 #define inline $ac_cv_c_inline
4821 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4823 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4824 inttypes.h stdint.h unistd.h
4826 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4827 echo "$as_me:4827: checking for $ac_header" >&5
4828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4830 echo $ECHO_N "(cached) $ECHO_C" >&6
4832 cat >conftest.$ac_ext <<_ACEOF
4833 #line 4833 "configure"
4834 #include "confdefs.h"
4835 $ac_includes_default
4836 #include <$ac_header>
4838 rm -f conftest.$ac_objext
4839 if { (eval echo "$as_me:4839: \"$ac_compile\"") >&5
4840 (eval $ac_compile) 2>&5
4842 echo "$as_me:4842: \$? = $ac_status" >&5
4843 (exit $ac_status); } &&
4844 { ac_try='test -s conftest.$ac_objext'
4845 { (eval echo "$as_me:4845: \"$ac_try\"") >&5
4848 echo "$as_me:4848: \$? = $ac_status" >&5
4849 (exit $ac_status); }; }; then
4850 eval "$as_ac_Header=yes"
4852 echo "$as_me: failed program was:" >&5
4853 cat conftest.$ac_ext >&5
4854 eval "$as_ac_Header=no"
4856 rm -f conftest.$ac_objext conftest.$ac_ext
4858 echo "$as_me:4858: result: `eval echo '${'$as_ac_Header'}'`" >&5
4859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4860 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4861 cat >>confdefs.h <<EOF
4862 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4868 echo "$as_me:4868: checking for pid_t" >&5
4869 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
4870 if test "${ac_cv_type_pid_t+set}" = set; then
4871 echo $ECHO_N "(cached) $ECHO_C" >&6
4873 cat >conftest.$ac_ext <<_ACEOF
4874 #line 4874 "configure"
4875 #include "confdefs.h"
4876 $ac_includes_default
4888 rm -f conftest.$ac_objext
4889 if { (eval echo "$as_me:4889: \"$ac_compile\"") >&5
4890 (eval $ac_compile) 2>&5
4892 echo "$as_me:4892: \$? = $ac_status" >&5
4893 (exit $ac_status); } &&
4894 { ac_try='test -s conftest.$ac_objext'
4895 { (eval echo "$as_me:4895: \"$ac_try\"") >&5
4898 echo "$as_me:4898: \$? = $ac_status" >&5
4899 (exit $ac_status); }; }; then
4900 ac_cv_type_pid_t=yes
4902 echo "$as_me: failed program was:" >&5
4903 cat conftest.$ac_ext >&5
4906 rm -f conftest.$ac_objext conftest.$ac_ext
4908 echo "$as_me:4908: result: $ac_cv_type_pid_t" >&5
4909 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
4910 if test $ac_cv_type_pid_t = yes; then
4914 cat >>confdefs.h <<EOF
4920 echo "$as_me:4920: checking for size_t" >&5
4921 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4922 if test "${ac_cv_type_size_t+set}" = set; then
4923 echo $ECHO_N "(cached) $ECHO_C" >&6
4925 cat >conftest.$ac_ext <<_ACEOF
4926 #line 4926 "configure"
4927 #include "confdefs.h"
4928 $ac_includes_default
4934 if (sizeof (size_t))
4940 rm -f conftest.$ac_objext
4941 if { (eval echo "$as_me:4941: \"$ac_compile\"") >&5
4942 (eval $ac_compile) 2>&5
4944 echo "$as_me:4944: \$? = $ac_status" >&5
4945 (exit $ac_status); } &&
4946 { ac_try='test -s conftest.$ac_objext'
4947 { (eval echo "$as_me:4947: \"$ac_try\"") >&5
4950 echo "$as_me:4950: \$? = $ac_status" >&5
4951 (exit $ac_status); }; }; then
4952 ac_cv_type_size_t=yes
4954 echo "$as_me: failed program was:" >&5
4955 cat conftest.$ac_ext >&5
4956 ac_cv_type_size_t=no
4958 rm -f conftest.$ac_objext conftest.$ac_ext
4960 echo "$as_me:4960: result: $ac_cv_type_size_t" >&5
4961 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4962 if test $ac_cv_type_size_t = yes; then
4966 cat >>confdefs.h <<EOF
4967 #define size_t unsigned
4972 echo "$as_me:4972: checking whether time.h and sys/time.h may both be included" >&5
4973 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4974 if test "${ac_cv_header_time+set}" = set; then
4975 echo $ECHO_N "(cached) $ECHO_C" >&6
4977 cat >conftest.$ac_ext <<_ACEOF
4978 #line 4978 "configure"
4979 #include "confdefs.h"
4980 #include <sys/types.h>
4981 #include <sys/time.h>
4987 if ((struct tm *) 0)
4993 rm -f conftest.$ac_objext
4994 if { (eval echo "$as_me:4994: \"$ac_compile\"") >&5
4995 (eval $ac_compile) 2>&5
4997 echo "$as_me:4997: \$? = $ac_status" >&5
4998 (exit $ac_status); } &&
4999 { ac_try='test -s conftest.$ac_objext'
5000 { (eval echo "$as_me:5000: \"$ac_try\"") >&5
5003 echo "$as_me:5003: \$? = $ac_status" >&5
5004 (exit $ac_status); }; }; then
5005 ac_cv_header_time=yes
5007 echo "$as_me: failed program was:" >&5
5008 cat conftest.$ac_ext >&5
5009 ac_cv_header_time=no
5011 rm -f conftest.$ac_objext conftest.$ac_ext
5013 echo "$as_me:5013: result: $ac_cv_header_time" >&5
5014 echo "${ECHO_T}$ac_cv_header_time" >&6
5015 if test $ac_cv_header_time = yes; then
5017 cat >>confdefs.h <<\EOF
5018 #define TIME_WITH_SYS_TIME 1
5023 echo "$as_me:5023: checking whether struct tm is in sys/time.h or time.h" >&5
5024 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
5025 if test "${ac_cv_struct_tm+set}" = set; then
5026 echo $ECHO_N "(cached) $ECHO_C" >&6
5028 cat >conftest.$ac_ext <<_ACEOF
5029 #line 5029 "configure"
5030 #include "confdefs.h"
5031 #include <sys/types.h>
5037 struct tm *tp; tp->tm_sec;
5042 rm -f conftest.$ac_objext
5043 if { (eval echo "$as_me:5043: \"$ac_compile\"") >&5
5044 (eval $ac_compile) 2>&5
5046 echo "$as_me:5046: \$? = $ac_status" >&5
5047 (exit $ac_status); } &&
5048 { ac_try='test -s conftest.$ac_objext'
5049 { (eval echo "$as_me:5049: \"$ac_try\"") >&5
5052 echo "$as_me:5052: \$? = $ac_status" >&5
5053 (exit $ac_status); }; }; then
5054 ac_cv_struct_tm=time.h
5056 echo "$as_me: failed program was:" >&5
5057 cat conftest.$ac_ext >&5
5058 ac_cv_struct_tm=sys/time.h
5060 rm -f conftest.$ac_objext conftest.$ac_ext
5062 echo "$as_me:5062: result: $ac_cv_struct_tm" >&5
5063 echo "${ECHO_T}$ac_cv_struct_tm" >&6
5064 if test $ac_cv_struct_tm = sys/time.h; then
5066 cat >>confdefs.h <<\EOF
5067 #define TM_IN_SYS_TIME 1
5072 if test $ac_cv_c_compiler_gnu = yes; then
5073 echo "$as_me:5073: checking whether $CC needs -traditional" >&5
5074 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
5075 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5076 echo $ECHO_N "(cached) $ECHO_C" >&6
5078 ac_pattern="Autoconf.*'x'"
5079 cat >conftest.$ac_ext <<_ACEOF
5080 #line 5080 "configure"
5081 #include "confdefs.h"
5085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5086 egrep "$ac_pattern" >/dev/null 2>&1; then
5087 ac_cv_prog_gcc_traditional=yes
5089 ac_cv_prog_gcc_traditional=no
5093 if test $ac_cv_prog_gcc_traditional = no; then
5094 cat >conftest.$ac_ext <<_ACEOF
5095 #line 5095 "configure"
5096 #include "confdefs.h"
5100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5101 egrep "$ac_pattern" >/dev/null 2>&1; then
5102 ac_cv_prog_gcc_traditional=yes
5108 echo "$as_me:5108: result: $ac_cv_prog_gcc_traditional" >&5
5109 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
5110 if test $ac_cv_prog_gcc_traditional = yes; then
5111 CC="$CC -traditional"
5115 echo "$as_me:5115: checking for working memcmp" >&5
5116 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
5117 if test "${ac_cv_func_memcmp_working+set}" = set; then
5118 echo $ECHO_N "(cached) $ECHO_C" >&6
5120 if test "$cross_compiling" = yes; then
5121 ac_cv_func_memcmp_working=no
5123 cat >conftest.$ac_ext <<_ACEOF
5124 #line 5124 "configure"
5125 #include "confdefs.h"
5131 /* Some versions of memcmp are not 8-bit clean. */
5132 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
5133 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
5136 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
5137 or more and with at least one buffer not starting on a 4-byte boundary.
5138 William Lewis provided this test program. */
5143 for (i = 0; i < 4; i++)
5147 strcpy (a, "--------01111111");
5148 strcpy (b, "--------10000000");
5149 if (memcmp (a, b, 16) >= 0)
5159 rm -f conftest$ac_exeext
5160 if { (eval echo "$as_me:5160: \"$ac_link\"") >&5
5161 (eval $ac_link) 2>&5
5163 echo "$as_me:5163: \$? = $ac_status" >&5
5164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5165 { (eval echo "$as_me:5165: \"$ac_try\"") >&5
5168 echo "$as_me:5168: \$? = $ac_status" >&5
5169 (exit $ac_status); }; }; then
5170 ac_cv_func_memcmp_working=yes
5172 echo "$as_me: program exited with status $ac_status" >&5
5173 echo "$as_me: failed program was:" >&5
5174 cat conftest.$ac_ext >&5
5175 ac_cv_func_memcmp_working=no
5177 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5180 echo "$as_me:5180: result: $ac_cv_func_memcmp_working" >&5
5181 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
5182 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
5184 echo "$as_me:5184: checking return type of signal handlers" >&5
5185 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
5186 if test "${ac_cv_type_signal+set}" = set; then
5187 echo $ECHO_N "(cached) $ECHO_C" >&6
5189 cat >conftest.$ac_ext <<_ACEOF
5190 #line 5190 "configure"
5191 #include "confdefs.h"
5192 #include <sys/types.h>
5198 extern "C" void (*signal (int, void (*)(int)))(int);
5200 void (*signal ()) ();
5211 rm -f conftest.$ac_objext
5212 if { (eval echo "$as_me:5212: \"$ac_compile\"") >&5
5213 (eval $ac_compile) 2>&5
5215 echo "$as_me:5215: \$? = $ac_status" >&5
5216 (exit $ac_status); } &&
5217 { ac_try='test -s conftest.$ac_objext'
5218 { (eval echo "$as_me:5218: \"$ac_try\"") >&5
5221 echo "$as_me:5221: \$? = $ac_status" >&5
5222 (exit $ac_status); }; }; then
5223 ac_cv_type_signal=void
5225 echo "$as_me: failed program was:" >&5
5226 cat conftest.$ac_ext >&5
5227 ac_cv_type_signal=int
5229 rm -f conftest.$ac_objext conftest.$ac_ext
5231 echo "$as_me:5231: result: $ac_cv_type_signal" >&5
5232 echo "${ECHO_T}$ac_cv_type_signal" >&6
5234 cat >>confdefs.h <<EOF
5235 #define RETSIGTYPE $ac_cv_type_signal
5238 for ac_func in strftime
5240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5241 echo "$as_me:5241: checking for $ac_func" >&5
5242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5243 if eval "test \"\${$as_ac_var+set}\" = set"; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 cat >conftest.$ac_ext <<_ACEOF
5247 #line 5247 "configure"
5248 #include "confdefs.h"
5249 /* System header to define __stub macros and hopefully few prototypes,
5250 which can conflict with char $ac_func (); below. */
5252 /* Override any gcc2 internal prototype to avoid an error. */
5256 /* We use char because int might match the return type of a gcc2
5257 builtin and then its argument prototype would still apply. */
5264 /* The GNU C library defines this for functions which it implements
5265 to always fail with ENOSYS. Some functions are actually named
5266 something starting with __ and the normal name is an alias. */
5267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5277 rm -f conftest.$ac_objext conftest$ac_exeext
5278 if { (eval echo "$as_me:5278: \"$ac_link\"") >&5
5279 (eval $ac_link) 2>&5
5281 echo "$as_me:5281: \$? = $ac_status" >&5
5282 (exit $ac_status); } &&
5283 { ac_try='test -s conftest$ac_exeext'
5284 { (eval echo "$as_me:5284: \"$ac_try\"") >&5
5287 echo "$as_me:5287: \$? = $ac_status" >&5
5288 (exit $ac_status); }; }; then
5289 eval "$as_ac_var=yes"
5291 echo "$as_me: failed program was:" >&5
5292 cat conftest.$ac_ext >&5
5293 eval "$as_ac_var=no"
5295 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5297 echo "$as_me:5297: result: `eval echo '${'$as_ac_var'}'`" >&5
5298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5299 if test `eval echo '${'$as_ac_var'}'` = yes; then
5300 cat >>confdefs.h <<EOF
5301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5305 # strftime is in -lintl on SCO UNIX.
5306 echo "$as_me:5306: checking for strftime in -lintl" >&5
5307 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
5308 if test "${ac_cv_lib_intl_strftime+set}" = set; then
5309 echo $ECHO_N "(cached) $ECHO_C" >&6
5311 ac_check_lib_save_LIBS=$LIBS
5313 cat >conftest.$ac_ext <<_ACEOF
5314 #line 5314 "configure"
5315 #include "confdefs.h"
5317 /* Override any gcc2 internal prototype to avoid an error. */
5321 /* We use char because int might match the return type of a gcc2
5322 builtin and then its argument prototype would still apply. */
5332 rm -f conftest.$ac_objext conftest$ac_exeext
5333 if { (eval echo "$as_me:5333: \"$ac_link\"") >&5
5334 (eval $ac_link) 2>&5
5336 echo "$as_me:5336: \$? = $ac_status" >&5
5337 (exit $ac_status); } &&
5338 { ac_try='test -s conftest$ac_exeext'
5339 { (eval echo "$as_me:5339: \"$ac_try\"") >&5
5342 echo "$as_me:5342: \$? = $ac_status" >&5
5343 (exit $ac_status); }; }; then
5344 ac_cv_lib_intl_strftime=yes
5346 echo "$as_me: failed program was:" >&5
5347 cat conftest.$ac_ext >&5
5348 ac_cv_lib_intl_strftime=no
5350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5351 LIBS=$ac_check_lib_save_LIBS
5353 echo "$as_me:5353: result: $ac_cv_lib_intl_strftime" >&5
5354 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
5355 if test $ac_cv_lib_intl_strftime = yes; then
5356 cat >>confdefs.h <<\EOF
5357 #define HAVE_STRFTIME 1
5366 for ac_func in mktime select strdup strstr strtol strtok strsep snprintf
5368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5369 echo "$as_me:5369: checking for $ac_func" >&5
5370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5371 if eval "test \"\${$as_ac_var+set}\" = set"; then
5372 echo $ECHO_N "(cached) $ECHO_C" >&6
5374 cat >conftest.$ac_ext <<_ACEOF
5375 #line 5375 "configure"
5376 #include "confdefs.h"
5377 /* System header to define __stub macros and hopefully few prototypes,
5378 which can conflict with char $ac_func (); below. */
5380 /* Override any gcc2 internal prototype to avoid an error. */
5384 /* We use char because int might match the return type of a gcc2
5385 builtin and then its argument prototype would still apply. */
5392 /* The GNU C library defines this for functions which it implements
5393 to always fail with ENOSYS. Some functions are actually named
5394 something starting with __ and the normal name is an alias. */
5395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5405 rm -f conftest.$ac_objext conftest$ac_exeext
5406 if { (eval echo "$as_me:5406: \"$ac_link\"") >&5
5407 (eval $ac_link) 2>&5
5409 echo "$as_me:5409: \$? = $ac_status" >&5
5410 (exit $ac_status); } &&
5411 { ac_try='test -s conftest$ac_exeext'
5412 { (eval echo "$as_me:5412: \"$ac_try\"") >&5
5415 echo "$as_me:5415: \$? = $ac_status" >&5
5416 (exit $ac_status); }; }; then
5417 eval "$as_ac_var=yes"
5419 echo "$as_me: failed program was:" >&5
5420 cat conftest.$ac_ext >&5
5421 eval "$as_ac_var=no"
5423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5425 echo "$as_me:5425: result: `eval echo '${'$as_ac_var'}'`" >&5
5426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5427 if test `eval echo '${'$as_ac_var'}'` = yes; then
5428 cat >>confdefs.h <<EOF
5429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5435 CFLAGS="$CFLAGS $NLS_CFLAGS"
5436 LIBS="$LIBS $NLS_LIBS"
5440 VERSION=`cat VERSION`
5441 XVERSION=`cat xgnokii/VERSION`
5442 HAVE_XGNOKII=$x_support
5445 'config/install-sh -c') INSTALL=`pwd`/$INSTALL
5449 SHELL=${CONFIG_SHELL-/bin/sh}
5452 solaris*) SHELL=/bin/ksh
5456 ac_config_headers="$ac_config_headers include/config.h"
5458 ac_config_files="$ac_config_files include/config.h.in Makefile.global po/Makefile.in packaging/RedHat/gnokii.spec packaging/Slackware/SlackBuild"
5459 ac_config_commands="$ac_config_commands default"
5460 cat >confcache <<\_ACEOF
5461 # This file is a shell script that caches the results of configure
5462 # tests run on this system so they can be shared between configure
5463 # scripts and configure runs, see configure's option --config-cache.
5464 # It is not useful on other systems. If it contains results you don't
5465 # want to keep, you may remove or edit it.
5467 # config.status only pays attention to the cache file if you give it
5468 # the --recheck option to rerun configure.
5470 # `ac_cv_env_foo' variables (set or unset) will be overriden when
5471 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5476 # The following way of writing the cache mishandles newlines in values,
5477 # but we know of no workaround that is simple, portable, and efficient.
5478 # So, don't put newlines in cache variables' values.
5479 # Ultrix sh set writes to stderr and can't be redirected directly,
5480 # and sets the high bit in the cache file unless we assign to the vars.
5483 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5485 # `set' does not quote correctly, so add quotes (double-quote
5486 # substitution turns \\\\ into \\, and sed turns \\ into \).
5489 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5492 # `set' quotes correctly as required by POSIX, so do not add quotes.
5494 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5501 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5503 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5505 if cmp -s $cache_file confcache; then :; else
5506 if test -w $cache_file; then
5507 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5508 cat confcache >$cache_file
5510 echo "not updating unwritable cache $cache_file"
5515 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5516 # Let make expand exec_prefix.
5517 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5519 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5520 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5521 # trailing colons and then remove the whole line if VPATH becomes empty
5522 # (actually we leave an empty line to preserve line numbers).
5523 if test "x$srcdir" = x.; then
5524 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5525 s/:*\$(srcdir):*/:/;
5526 s/:*\${srcdir}:*/:/;
5528 s/^\([^=]*=[ ]*\):*/\1/;
5534 DEFS=-DHAVE_CONFIG_H
5536 : ${CONFIG_STATUS=./config.status}
5537 ac_clean_files_save=$ac_clean_files
5538 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5539 { echo "$as_me:5539: creating $CONFIG_STATUS" >&5
5540 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5541 cat >$CONFIG_STATUS <<_ACEOF
5543 # Generated automatically by configure.
5544 # Run this file to recreate the current configuration.
5545 # Compiler output produced by configure, useful for debugging
5546 # configure, is in config.log if it exists.
5549 SHELL=\${CONFIG_SHELL-$SHELL}
5550 ac_cs_invocation="\$0 \$@"
5554 cat >>$CONFIG_STATUS <<\_ACEOF
5555 # Be Bourne compatible
5556 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5559 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5563 # Name of the executable.
5564 as_me=`echo "$0" |sed 's,.*[\\/],,'`
5566 if expr a : '\(a\)' >/dev/null 2>&1; then
5572 rm -f conf$$ conf$$.exe conf$$.file
5574 if ln -s conf$$.file conf$$ 2>/dev/null; then
5575 # We could just check for DJGPP; but this test a) works b) is more generic
5576 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5577 if test -f conf$$.exe; then
5578 # Don't use ln at all; we don't have any links
5583 elif ln conf$$.file conf$$ 2>/dev/null; then
5588 rm -f conf$$ conf$$.exe conf$$.file
5590 as_executable_p="test -f"
5592 # Support unset when possible.
5593 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5600 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
5601 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
5602 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
5603 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
5604 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
5605 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
5606 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
5607 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
5610 # We need space, tab and new line, in precisely that order.
5616 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
5622 # Files that config.status was made for.
5623 if test -n "$ac_config_files"; then
5624 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5627 if test -n "$ac_config_headers"; then
5628 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5631 if test -n "$ac_config_links"; then
5632 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5635 if test -n "$ac_config_commands"; then
5636 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5639 cat >>$CONFIG_STATUS <<\EOF
5642 \`$as_me' instantiates files from templates according to the
5643 current configuration.
5645 Usage: $0 [OPTIONS] [FILE]...
5647 -h, --help print this help, then exit
5648 -V, --version print version number, then exit
5649 -d, --debug don't remove temporary files
5650 --recheck update $as_me by reconfiguring in the same conditions
5651 --file=FILE[:TEMPLATE]
5652 instantiate the configuration file FILE
5653 --header=FILE[:TEMPLATE]
5654 instantiate the configuration header FILE
5656 Configuration files:
5659 Configuration headers:
5662 Configuration commands:
5665 Report bugs to <bug-autoconf@gnu.org>."
5668 cat >>$CONFIG_STATUS <<EOF
5671 configured by $0, generated by GNU Autoconf 2.52,
5672 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5674 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5675 Free Software Foundation, Inc.
5676 This config.status script is free software; the Free Software Foundation
5677 gives unlimited permission to copy, distribute and modify it."
5682 cat >>$CONFIG_STATUS <<\EOF
5683 # If no file are specified by the user, then we need to provide default
5684 # value. By we need to know if files were specified by the user.
5690 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5691 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5693 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
5697 *) # This is not an option, so the user has probably given explicit
5699 ac_need_defaults=false;;
5703 # Handling of the options.
5705 cat >>$CONFIG_STATUS <<EOF
5706 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5707 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5708 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5710 cat >>$CONFIG_STATUS <<\EOF
5711 --version | --vers* | -V )
5712 echo "$ac_cs_version"; exit 0 ;;
5714 # Conflict between --help and --header
5715 { { echo "$as_me:5715: error: ambiguous option: $1
5716 Try \`$0 --help' for more information." >&5
5717 echo "$as_me: error: ambiguous option: $1
5718 Try \`$0 --help' for more information." >&2;}
5719 { (exit 1); exit 1; }; };;
5720 --help | --hel | -h )
5721 echo "$ac_cs_usage"; exit 0 ;;
5722 --debug | --d* | -d )
5724 --file | --fil | --fi | --f )
5726 CONFIG_FILES="$CONFIG_FILES $1"
5727 ac_need_defaults=false;;
5728 --header | --heade | --head | --hea )
5730 CONFIG_HEADERS="$CONFIG_HEADERS $1"
5731 ac_need_defaults=false;;
5734 -*) { { echo "$as_me:5734: error: unrecognized option: $1
5735 Try \`$0 --help' for more information." >&5
5736 echo "$as_me: error: unrecognized option: $1
5737 Try \`$0 --help' for more information." >&2;}
5738 { (exit 1); exit 1; }; } ;;
5740 *) ac_config_targets="$ac_config_targets $1" ;;
5749 ## ----------------------- ##
5750 ## Running config.status. ##
5751 ## ----------------------- ##
5753 This file was extended by $as_me 2.52, executed with
5754 CONFIG_FILES = $CONFIG_FILES
5755 CONFIG_HEADERS = $CONFIG_HEADERS
5756 CONFIG_LINKS = $CONFIG_LINKS
5757 CONFIG_COMMANDS = $CONFIG_COMMANDS
5759 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5764 cat >>$CONFIG_STATUS <<\EOF
5765 for ac_config_target in $ac_config_targets
5767 case "$ac_config_target" in
5768 # Handling of arguments.
5769 "include/config.h.in" ) CONFIG_FILES="$CONFIG_FILES include/config.h.in" ;;
5770 "Makefile.global" ) CONFIG_FILES="$CONFIG_FILES Makefile.global" ;;
5771 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
5772 "packaging/RedHat/gnokii.spec" ) CONFIG_FILES="$CONFIG_FILES packaging/RedHat/gnokii.spec" ;;
5773 "packaging/Slackware/SlackBuild" ) CONFIG_FILES="$CONFIG_FILES packaging/Slackware/SlackBuild" ;;
5774 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5775 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
5776 *) { { echo "$as_me:5776: error: invalid argument: $ac_config_target" >&5
5777 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5778 { (exit 1); exit 1; }; };;
5782 # If the user did not use the arguments to specify the items to instantiate,
5783 # then the envvar interface is used. Set only those that are not.
5784 # We use the long form for the default assignment because of an extremely
5785 # bizarre bug on SunOS 4.1.3.
5786 if $ac_need_defaults; then
5787 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5788 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5789 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5792 # Create a temporary directory, and hook for its removal unless debugging.
5795 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5796 trap '{ (exit 1); exit 1; }' 1 2 13 15
5799 # Create a (secure) tmp directory for tmp files.
5802 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
5803 test -n "$tmp" && test -d "$tmp"
5806 tmp=$TMPDIR/cs$$-$RANDOM
5807 (umask 077 && mkdir $tmp)
5810 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5811 { (exit 1); exit 1; }
5816 cat >>$CONFIG_STATUS <<EOF
5819 # CONFIG_FILES section.
5822 # No need to generate the scripts if there are no CONFIG_FILES.
5823 # This happens for instance when ./config.status config.h
5824 if test -n "\$CONFIG_FILES"; then
5825 # Protect against being on the right side of a sed subst in config.status.
5826 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5827 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5828 s,@SHELL@,$SHELL,;t t
5829 s,@exec_prefix@,$exec_prefix,;t t
5830 s,@prefix@,$prefix,;t t
5831 s,@program_transform_name@,$program_transform_name,;t t
5832 s,@bindir@,$bindir,;t t
5833 s,@sbindir@,$sbindir,;t t
5834 s,@libexecdir@,$libexecdir,;t t
5835 s,@datadir@,$datadir,;t t
5836 s,@sysconfdir@,$sysconfdir,;t t
5837 s,@sharedstatedir@,$sharedstatedir,;t t
5838 s,@localstatedir@,$localstatedir,;t t
5839 s,@libdir@,$libdir,;t t
5840 s,@includedir@,$includedir,;t t
5841 s,@oldincludedir@,$oldincludedir,;t t
5842 s,@infodir@,$infodir,;t t
5843 s,@mandir@,$mandir,;t t
5844 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5845 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5846 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5847 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5848 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5849 s,@build_alias@,$build_alias,;t t
5850 s,@host_alias@,$host_alias,;t t
5851 s,@target_alias@,$target_alias,;t t
5852 s,@ECHO_C@,$ECHO_C,;t t
5853 s,@ECHO_N@,$ECHO_N,;t t
5854 s,@ECHO_T@,$ECHO_T,;t t
5855 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5858 s,@build@,$build,;t t
5859 s,@build_cpu@,$build_cpu,;t t
5860 s,@build_vendor@,$build_vendor,;t t
5861 s,@build_os@,$build_os,;t t
5863 s,@host_cpu@,$host_cpu,;t t
5864 s,@host_vendor@,$host_vendor,;t t
5865 s,@host_os@,$host_os,;t t
5866 s,@target@,$target,;t t
5867 s,@target_cpu@,$target_cpu,;t t
5868 s,@target_vendor@,$target_vendor,;t t
5869 s,@target_os@,$target_os,;t t
5871 s,@CFLAGS@,$CFLAGS,;t t
5872 s,@LDFLAGS@,$LDFLAGS,;t t
5873 s,@CPPFLAGS@,$CPPFLAGS,;t t
5874 s,@ac_ct_CC@,$ac_ct_CC,;t t
5875 s,@EXEEXT@,$EXEEXT,;t t
5876 s,@OBJEXT@,$OBJEXT,;t t
5879 s,@LEXLIB@,$LEXLIB,;t t
5880 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
5884 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5885 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5886 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5887 s,@SET_MAKE@,$SET_MAKE,;t t
5888 s,@HAVE_LOCALE_H@,$HAVE_LOCALE_H,;t t
5889 s,@HAVE_LIBINTL_H@,$HAVE_LIBINTL_H,;t t
5890 s,@HAVE_LIBINTL@,$HAVE_LIBINTL,;t t
5891 s,@LOCALEDIR@,$LOCALEDIR,;t t
5892 s,@MSGFMT@,$MSGFMT,;t t
5893 s,@GMSGFMT@,$GMSGFMT,;t t
5894 s,@XGETTEXT@,$XGETTEXT,;t t
5895 s,@MSGMERGE@,$MSGMERGE,;t t
5896 s,@CATALOGS@,$CATALOGS,;t t
5897 s,@CATOBJEXT@,$CATOBJEXT,;t t
5898 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
5899 s,@DATADIRNAME@,$DATADIRNAME,;t t
5900 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
5901 s,@LIBOBJS@,$LIBOBJS,;t t
5902 s,@PACKAGE@,$PACKAGE,;t t
5903 s,@VERSION@,$VERSION,;t t
5904 s,@XVERSION@,$XVERSION,;t t
5905 s,@XPACKAGE@,$XPACKAGE,;t t
5906 s,@XGNOKIIDIR@,$XGNOKIIDIR,;t t
5907 s,@XGNOKIIPATH@,$XGNOKIIPATH,;t t
5908 s,@USE_NLS@,$USE_NLS,;t t
5909 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
5910 s,@GTK_LIBS@,$GTK_LIBS,;t t
5911 s,@PTHREAD_CFLAGS@,$PTHREAD_CFLAGS,;t t
5912 s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t
5913 s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t
5914 s,@XPM_LIBS@,$XPM_LIBS,;t t
5915 s,@OWN_GETOPT@,$OWN_GETOPT,;t t
5916 s,@USE_UNIX98PTYS@,$USE_UNIX98PTYS,;t t
5917 s,@HAVE_XGNOKII@,$HAVE_XGNOKII,;t t
5922 cat >>$CONFIG_STATUS <<\EOF
5923 # Split the substitutions into bite-sized pieces for seds with
5924 # small command number limits, like on Digital OSF/1 and HP-UX.
5926 ac_sed_frag=1 # Number of current file.
5927 ac_beg=1 # First line for current file.
5928 ac_end=$ac_max_sed_lines # Line after last line for current file.
5931 while $ac_more_lines; do
5932 if test $ac_beg -gt 1; then
5933 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5935 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5937 if test ! -s $tmp/subs.frag; then
5940 # The purpose of the label and of the branching condition is to
5941 # speed up the sed processing (if there are no `@' at all, there
5942 # is no need to browse any of the substitutions).
5943 # These are the two extra sed commands mentioned above.
5945 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5946 if test -z "$ac_sed_cmds"; then
5947 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5949 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5951 ac_sed_frag=`expr $ac_sed_frag + 1`
5953 ac_end=`expr $ac_end + $ac_max_sed_lines`
5956 if test -z "$ac_sed_cmds"; then
5959 fi # test -n "$CONFIG_FILES"
5962 cat >>$CONFIG_STATUS <<\EOF
5963 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5964 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5966 - | *:- | *:-:* ) # input from stdin
5968 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5969 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5970 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5971 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5972 * ) ac_file_in=$ac_file.in ;;
5975 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5976 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5977 X"$ac_file" : 'X\(//\)[^/]' \| \
5978 X"$ac_file" : 'X\(//\)$' \| \
5979 X"$ac_file" : 'X\(/\)' \| \
5980 . : '\(.\)' 2>/dev/null ||
5982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5983 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5984 /^X\(\/\/\)$/{ s//\1/; q; }
5985 /^X\(\/\).*/{ s//\1/; q; }
5987 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5989 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5993 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5994 case $as_mkdir_dir in
5995 # Skip DOS drivespec
5996 ?:) as_incr_dir=$as_mkdir_dir ;;
5998 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5999 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
6004 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
6005 # A "../" for each directory in $ac_dir_suffix.
6006 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
6008 ac_dir_suffix= ac_dots=
6013 if test -z "$ac_dots"; then
6016 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
6019 ac_srcdir=$srcdir$ac_dir_suffix;
6020 ac_top_srcdir=$srcdir ;;
6022 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
6023 ac_top_srcdir=$ac_dots$srcdir ;;
6027 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6028 *) ac_INSTALL=$ac_dots$INSTALL ;;
6031 if test x"$ac_file" != x-; then
6032 { echo "$as_me:6032: creating $ac_file" >&5
6033 echo "$as_me: creating $ac_file" >&6;}
6036 # Let's still pretend it is `configure' which instantiates (i.e., don't
6037 # use $as_me), people would be surprised to read:
6038 # /* config.h. Generated automatically by config.status. */
6039 configure_input="Generated automatically from `echo $ac_file_in |
6040 sed 's,.*/,,'` by configure."
6042 # First look for the input files in the build tree, otherwise in the
6044 ac_file_inputs=`IFS=:
6045 for f in $ac_file_in; do
6047 -) echo $tmp/stdin ;;
6049 # Absolute (can't be DOS-style, as IFS=:)
6050 test -f "$f" || { { echo "$as_me:6050: error: cannot find input file: $f" >&5
6051 echo "$as_me: error: cannot find input file: $f" >&2;}
6052 { (exit 1); exit 1; }; }
6055 if test -f "$f"; then
6058 elif test -f "$srcdir/$f"; then
6063 { { echo "$as_me:6063: error: cannot find input file: $f" >&5
6064 echo "$as_me: error: cannot find input file: $f" >&2;}
6065 { (exit 1); exit 1; }; }
6068 done` || { (exit 1); exit 1; }
6070 cat >>$CONFIG_STATUS <<EOF
6074 cat >>$CONFIG_STATUS <<\EOF
6076 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6077 s,@configure_input@,$configure_input,;t t
6078 s,@srcdir@,$ac_srcdir,;t t
6079 s,@top_srcdir@,$ac_top_srcdir,;t t
6080 s,@INSTALL@,$ac_INSTALL,;t t
6081 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6083 if test x"$ac_file" != x-; then
6084 mv $tmp/out $ac_file
6092 cat >>$CONFIG_STATUS <<\EOF
6095 # CONFIG_HEADER section.
6098 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6099 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6101 # ac_d sets the value in "#define NAME VALUE" lines.
6102 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6103 ac_dB='[ ].*$,\1#\2'
6106 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6107 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6108 ac_uB='$,\1#\2define\3'
6112 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6113 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6115 - | *:- | *:-:* ) # input from stdin
6117 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6118 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6119 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6120 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6121 * ) ac_file_in=$ac_file.in ;;
6124 test x"$ac_file" != x- && { echo "$as_me:6124: creating $ac_file" >&5
6125 echo "$as_me: creating $ac_file" >&6;}
6127 # First look for the input files in the build tree, otherwise in the
6129 ac_file_inputs=`IFS=:
6130 for f in $ac_file_in; do
6132 -) echo $tmp/stdin ;;
6134 # Absolute (can't be DOS-style, as IFS=:)
6135 test -f "$f" || { { echo "$as_me:6135: error: cannot find input file: $f" >&5
6136 echo "$as_me: error: cannot find input file: $f" >&2;}
6137 { (exit 1); exit 1; }; }
6140 if test -f "$f"; then
6143 elif test -f "$srcdir/$f"; then
6148 { { echo "$as_me:6148: error: cannot find input file: $f" >&5
6149 echo "$as_me: error: cannot find input file: $f" >&2;}
6150 { (exit 1); exit 1; }; }
6153 done` || { (exit 1); exit 1; }
6154 # Remove the trailing spaces.
6155 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6159 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6160 # `conftest.undefs', that substitutes the proper values into
6161 # config.h.in to produce config.h. The first handles `#define'
6162 # templates, and the second `#undef' templates.
6163 # And first: Protect against being on the right side of a sed subst in
6164 # config.status. Protect against being in an unquoted here document
6166 rm -f conftest.defines conftest.undefs
6167 # Using a here document instead of a string reduces the quoting nightmare.
6168 # Putting comments in sed scripts is not portable.
6170 # `end' is used to avoid that the second main sed command (meant for
6171 # 0-ary CPP macros) applies to n-ary macro definitions.
6172 # See the Autoconf documentation for `clear'.
6173 cat >confdef2sed.sed <<\EOF
6178 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
6180 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6183 # If some macros were called several times there might be several times
6184 # the same #defines, which is useless. Nevertheless, we may not want to
6185 # sort them, since we want the *last* AC-DEFINE to be honored.
6186 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6187 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6188 rm -f confdef2sed.sed
6190 # This sed command replaces #undef with comments. This is necessary, for
6191 # example, in the case of _POSIX_SOURCE, which is predefined and required
6192 # on some systems where configure will not decide to define it.
6193 cat >>conftest.undefs <<\EOF
6194 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6197 # Break up conftest.defines because some shells have a limit on the size
6198 # of here documents, and old seds have small limits too (100 cmds).
6199 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6200 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6201 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6202 echo ' :' >>$CONFIG_STATUS
6204 while grep . conftest.defines >/dev/null
6206 # Write a limited-size here document to $tmp/defines.sed.
6207 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6208 # Speed up: don't consider the non `#define' lines.
6209 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6210 # Work around the forget-to-reset-the-flag bug.
6211 echo 't clr' >>$CONFIG_STATUS
6212 echo ': clr' >>$CONFIG_STATUS
6213 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6215 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6219 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6220 rm -f conftest.defines
6221 mv conftest.tail conftest.defines
6223 rm -f conftest.defines
6224 echo ' fi # egrep' >>$CONFIG_STATUS
6225 echo >>$CONFIG_STATUS
6227 # Break up conftest.undefs because some shells have a limit on the size
6228 # of here documents, and old seds have small limits too (100 cmds).
6229 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6231 while grep . conftest.undefs >/dev/null
6233 # Write a limited-size here document to $tmp/undefs.sed.
6234 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6235 # Speed up: don't consider the non `#undef'
6236 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6237 # Work around the forget-to-reset-the-flag bug.
6238 echo 't clr' >>$CONFIG_STATUS
6239 echo ': clr' >>$CONFIG_STATUS
6240 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6242 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6246 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6247 rm -f conftest.undefs
6248 mv conftest.tail conftest.undefs
6250 rm -f conftest.undefs
6252 cat >>$CONFIG_STATUS <<\EOF
6253 # Let's still pretend it is `configure' which instantiates (i.e., don't
6254 # use $as_me), people would be surprised to read:
6255 # /* config.h. Generated automatically by config.status. */
6256 if test x"$ac_file" = x-; then
6257 echo "/* Generated automatically by configure. */" >$tmp/config.h
6259 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
6261 cat $tmp/in >>$tmp/config.h
6263 if test x"$ac_file" != x-; then
6264 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
6265 { echo "$as_me:6265: $ac_file is unchanged" >&5
6266 echo "$as_me: $ac_file is unchanged" >&6;}
6268 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6269 X"$ac_file" : 'X\(//\)[^/]' \| \
6270 X"$ac_file" : 'X\(//\)$' \| \
6271 X"$ac_file" : 'X\(/\)' \| \
6272 . : '\(.\)' 2>/dev/null ||
6274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6275 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6276 /^X\(\/\/\)$/{ s//\1/; q; }
6277 /^X\(\/\).*/{ s//\1/; q; }
6279 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
6281 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
6285 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6286 case $as_mkdir_dir in
6287 # Skip DOS drivespec
6288 ?:) as_incr_dir=$as_mkdir_dir ;;
6290 as_incr_dir=$as_incr_dir/$as_mkdir_dir
6291 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
6298 mv $tmp/config.h $ac_file
6306 cat >>$CONFIG_STATUS <<\EOF
6309 # CONFIG_COMMANDS section.
6311 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6312 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6313 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6316 default ) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
6322 cat >>$CONFIG_STATUS <<\EOF
6324 { (exit 0); exit 0; }
6326 chmod +x $CONFIG_STATUS
6327 ac_clean_files=$ac_clean_files_save
6329 # configure is writing to config.log, and then calls config.status.
6330 # config.status does its own redirection, appending to config.log.
6331 # Unfortunately, on DOS this fails, as config.log is still kept open
6332 # by configure, so config.status won't be able to write to it; its
6333 # output is simply discarded. So we exec the FD to /dev/null,
6334 # effectively closing config.log, so it can be properly (re)opened and
6335 # appended to by config.status. When coming back to configure, we
6336 # need to make the FD available again.
6337 if test "$no_create" != yes; then
6340 $SHELL $CONFIG_STATUS || ac_cs_success=false
6342 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6343 # would make configure fail if this is the last instruction.
6344 $ac_cs_success || { (exit 1); exit 1; }
6351 A Linux/Unix toolset and driver for Nokia mobile phones.
6353 Copyright (C) 1999-2000 The Gnokii Development Team.
6355 This program is free software; you can redistribute it and/or modify
6356 it under the terms of the GNU General Public License as published by
6357 the Free Software Foundation; either version 2 of the License, or
6358 (at your option) any later version.
6360 See file COPYING for more details.
6362 Host system: $host_os
6363 Gnokii version: $VERSION
6364 Xgnokii version: $XVERSION
6365 X (GTK) support: $x_support
6374 Type '${MAKE}' for compilation or '${MAKE} makelib' when want to compile
6375 all binaries with one shared library
6377 After it '${MAKE} install', '${MAKE} install-suid', '${MAKE} install-strip'
6378 or '${MAKE} install-ss' to install gnokii.