2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
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.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file="src/fparser.cpp"
274 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA FIND MAKEDEPEND X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS EGREP LIBOBJS LTLIBOBJS'
277 # Initialize some variables set by options.
279 ac_init_version=false
280 # The variables have the same names as the options, with
281 # dashes changed to underlines.
289 program_transform_name=s,x,x,
297 # Installation directory options.
298 # These are left unexpanded so users can "make install exec_prefix=/foo"
299 # and all the variables that are supposed to be based on exec_prefix
300 # by default will actually change.
301 # Use braces instead of parens because sh, perl, etc. also accept them.
302 bindir='${exec_prefix}/bin'
303 sbindir='${exec_prefix}/sbin'
304 libexecdir='${exec_prefix}/libexec'
305 datadir='${prefix}/share'
306 sysconfdir='${prefix}/etc'
307 sharedstatedir='${prefix}/com'
308 localstatedir='${prefix}/var'
309 libdir='${exec_prefix}/lib'
310 includedir='${prefix}/include'
311 oldincludedir='/usr/include'
312 infodir='${prefix}/info'
313 mandir='${prefix}/man'
318 # If the previous option needs an argument, assign it.
319 if test -n "$ac_prev"; then
320 eval "$ac_prev=\$ac_option"
325 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327 # Accept the important Cygnus configure options, so we can diagnose typos.
331 -bindir | --bindir | --bindi | --bind | --bin | --bi)
333 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336 -build | --build | --buil | --bui | --bu)
337 ac_prev=build_alias ;;
338 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
339 build_alias=$ac_optarg ;;
341 -cache-file | --cache-file | --cache-fil | --cache-fi \
342 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
343 ac_prev=cache_file ;;
344 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
345 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
346 cache_file=$ac_optarg ;;
349 cache_file=config.cache ;;
351 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355 datadir=$ac_optarg ;;
357 -disable-* | --disable-*)
358 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
359 # Reject names that are not valid shell variable names.
360 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
361 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
362 { (exit 1); exit 1; }; }
363 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
364 eval "enable_$ac_feature=no" ;;
366 -enable-* | --enable-*)
367 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
368 # Reject names that are not valid shell variable names.
369 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
370 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
371 { (exit 1); exit 1; }; }
372 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377 eval "enable_$ac_feature='$ac_optarg'" ;;
379 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
380 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
381 | --exec | --exe | --ex)
382 ac_prev=exec_prefix ;;
383 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
384 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
385 | --exec=* | --exe=* | --ex=*)
386 exec_prefix=$ac_optarg ;;
388 -gas | --gas | --ga | --g)
389 # Obsolete; use --with-gas.
392 -help | --help | --hel | --he | -h)
394 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
395 ac_init_help=recursive ;;
396 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
397 ac_init_help=short ;;
399 -host | --host | --hos | --ho)
400 ac_prev=host_alias ;;
401 -host=* | --host=* | --hos=* | --ho=*)
402 host_alias=$ac_optarg ;;
404 -includedir | --includedir | --includedi | --included | --include \
405 | --includ | --inclu | --incl | --inc)
406 ac_prev=includedir ;;
407 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
408 | --includ=* | --inclu=* | --incl=* | --inc=*)
409 includedir=$ac_optarg ;;
411 -infodir | --infodir | --infodi | --infod | --info | --inf)
413 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
414 infodir=$ac_optarg ;;
416 -libdir | --libdir | --libdi | --libd)
418 -libdir=* | --libdir=* | --libdi=* | --libd=*)
421 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
422 | --libexe | --libex | --libe)
423 ac_prev=libexecdir ;;
424 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
425 | --libexe=* | --libex=* | --libe=*)
426 libexecdir=$ac_optarg ;;
428 -localstatedir | --localstatedir | --localstatedi | --localstated \
429 | --localstate | --localstat | --localsta | --localst \
430 | --locals | --local | --loca | --loc | --lo)
431 ac_prev=localstatedir ;;
432 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
433 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
434 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
435 localstatedir=$ac_optarg ;;
437 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
443 # Obsolete; use --without-fp.
446 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
447 | --no-cr | --no-c | -n)
450 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
451 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
455 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
456 | --oldin | --oldi | --old | --ol | --o)
457 ac_prev=oldincludedir ;;
458 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
459 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
460 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
461 oldincludedir=$ac_optarg ;;
463 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468 -program-prefix | --program-prefix | --program-prefi | --program-pref \
469 | --program-pre | --program-pr | --program-p)
470 ac_prev=program_prefix ;;
471 -program-prefix=* | --program-prefix=* | --program-prefi=* \
472 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
473 program_prefix=$ac_optarg ;;
475 -program-suffix | --program-suffix | --program-suffi | --program-suff \
476 | --program-suf | --program-su | --program-s)
477 ac_prev=program_suffix ;;
478 -program-suffix=* | --program-suffix=* | --program-suffi=* \
479 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
480 program_suffix=$ac_optarg ;;
482 -program-transform-name | --program-transform-name \
483 | --program-transform-nam | --program-transform-na \
484 | --program-transform-n | --program-transform- \
485 | --program-transform | --program-transfor \
486 | --program-transfo | --program-transf \
487 | --program-trans | --program-tran \
488 | --progr-tra | --program-tr | --program-t)
489 ac_prev=program_transform_name ;;
490 -program-transform-name=* | --program-transform-name=* \
491 | --program-transform-nam=* | --program-transform-na=* \
492 | --program-transform-n=* | --program-transform-=* \
493 | --program-transform=* | --program-transfor=* \
494 | --program-transfo=* | --program-transf=* \
495 | --program-trans=* | --program-tran=* \
496 | --progr-tra=* | --program-tr=* | --program-t=*)
497 program_transform_name=$ac_optarg ;;
499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
500 | -silent | --silent | --silen | --sile | --sil)
503 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507 sbindir=$ac_optarg ;;
509 -sharedstatedir | --sharedstatedir | --sharedstatedi \
510 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
511 | --sharedst | --shareds | --shared | --share | --shar \
513 ac_prev=sharedstatedir ;;
514 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
515 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
516 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518 sharedstatedir=$ac_optarg ;;
520 -site | --site | --sit)
522 -site=* | --site=* | --sit=*)
525 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
531 | --syscon | --sysco | --sysc | --sys | --sy)
532 ac_prev=sysconfdir ;;
533 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
534 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
535 sysconfdir=$ac_optarg ;;
537 -target | --target | --targe | --targ | --tar | --ta | --t)
538 ac_prev=target_alias ;;
539 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
540 target_alias=$ac_optarg ;;
542 -v | -verbose | --verbose | --verbos | --verbo | --verb)
545 -version | --version | --versio | --versi | --vers | -V)
549 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
550 # Reject names that are not valid shell variable names.
551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
552 { echo "$as_me: error: invalid package name: $ac_package" >&2
553 { (exit 1); exit 1; }; }
554 ac_package=`echo $ac_package| sed 's/-/_/g'`
556 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559 eval "with_$ac_package='$ac_optarg'" ;;
561 -without-* | --without-*)
562 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565 { echo "$as_me: error: invalid package name: $ac_package" >&2
566 { (exit 1); exit 1; }; }
567 ac_package=`echo $ac_package | sed 's/-/_/g'`
568 eval "with_$ac_package=no" ;;
571 # Obsolete; use --with-x.
574 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
575 | --x-incl | --x-inc | --x-in | --x-i)
576 ac_prev=x_includes ;;
577 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
578 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
579 x_includes=$ac_optarg ;;
581 -x-libraries | --x-libraries | --x-librarie | --x-librari \
582 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
583 ac_prev=x_libraries ;;
584 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
585 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
586 x_libraries=$ac_optarg ;;
588 -*) { echo "$as_me: error: unrecognized option: $ac_option
589 Try \`$0 --help' for more information." >&2
590 { (exit 1); exit 1; }; }
594 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
595 # Reject names that are not valid shell variable names.
596 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
597 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
598 { (exit 1); exit 1; }; }
599 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
600 eval "$ac_envvar='$ac_optarg'"
604 # FIXME: should be removed in autoconf 3.0.
605 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
606 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
607 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
608 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
614 if test -n "$ac_prev"; then
615 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
616 { echo "$as_me: error: missing argument to $ac_option" >&2
617 { (exit 1); exit 1; }; }
620 # Be sure to have absolute paths.
621 for ac_var in exec_prefix prefix
623 eval ac_val=$`echo $ac_var`
625 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
627 { (exit 1); exit 1; }; };;
631 # Be sure to have absolute paths.
632 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633 localstatedir libdir includedir oldincludedir infodir mandir
635 eval ac_val=$`echo $ac_var`
637 [\\/$]* | ?:[\\/]* ) ;;
638 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639 { (exit 1); exit 1; }; };;
643 # There might be people who depend on the old broken behavior: `$host'
644 # used to hold the argument of --host etc.
645 # FIXME: To remove some day.
650 # FIXME: To remove some day.
651 if test "x$host_alias" != x; then
652 if test "x$build_alias" = x; then
653 cross_compiling=maybe
654 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
655 If a cross compiler is detected then cross compile mode will be used." >&2
656 elif test "x$build_alias" != "x$host_alias"; then
662 test -n "$host_alias" && ac_tool_prefix=$host_alias-
664 test "$silent" = yes && exec 6>/dev/null
667 # Find the source files, if location was not specified.
668 if test -z "$srcdir"; then
669 ac_srcdir_defaulted=yes
670 # Try the directory containing this script, then its parent.
671 ac_confdir=`(dirname "$0") 2>/dev/null ||
672 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673 X"$0" : 'X\(//\)[^/]' \| \
674 X"$0" : 'X\(//\)$' \| \
675 X"$0" : 'X\(/\)' \| \
676 . : '\(.\)' 2>/dev/null ||
678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
680 /^X\(\/\/\)$/{ s//\1/; q; }
681 /^X\(\/\).*/{ s//\1/; q; }
684 if test ! -r $srcdir/$ac_unique_file; then
688 ac_srcdir_defaulted=no
690 if test ! -r $srcdir/$ac_unique_file; then
691 if test "$ac_srcdir_defaulted" = yes; then
692 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
693 { (exit 1); exit 1; }; }
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
696 { (exit 1); exit 1; }; }
699 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
700 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
701 { (exit 1); exit 1; }; }
702 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703 ac_env_build_alias_set=${build_alias+set}
704 ac_env_build_alias_value=$build_alias
705 ac_cv_env_build_alias_set=${build_alias+set}
706 ac_cv_env_build_alias_value=$build_alias
707 ac_env_host_alias_set=${host_alias+set}
708 ac_env_host_alias_value=$host_alias
709 ac_cv_env_host_alias_set=${host_alias+set}
710 ac_cv_env_host_alias_value=$host_alias
711 ac_env_target_alias_set=${target_alias+set}
712 ac_env_target_alias_value=$target_alias
713 ac_cv_env_target_alias_set=${target_alias+set}
714 ac_cv_env_target_alias_value=$target_alias
715 ac_env_CC_set=${CC+set}
717 ac_cv_env_CC_set=${CC+set}
718 ac_cv_env_CC_value=$CC
719 ac_env_CFLAGS_set=${CFLAGS+set}
720 ac_env_CFLAGS_value=$CFLAGS
721 ac_cv_env_CFLAGS_set=${CFLAGS+set}
722 ac_cv_env_CFLAGS_value=$CFLAGS
723 ac_env_LDFLAGS_set=${LDFLAGS+set}
724 ac_env_LDFLAGS_value=$LDFLAGS
725 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_cv_env_LDFLAGS_value=$LDFLAGS
727 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
728 ac_env_CPPFLAGS_value=$CPPFLAGS
729 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
731 ac_env_CPP_set=${CPP+set}
732 ac_env_CPP_value=$CPP
733 ac_cv_env_CPP_set=${CPP+set}
734 ac_cv_env_CPP_value=$CPP
737 # Report the --help message.
739 if test "$ac_init_help" = "long"; then
740 # Omit some internal or obsolete options to make the list less imposing.
741 # This message is too long to be a string in the A/UX 3.1 sh.
743 \`configure' configures this package to adapt to many kinds of systems.
745 Usage: $0 [OPTION]... [VAR=VALUE]...
747 To assign environment variables (e.g., CC, CFLAGS...), specify them as
748 VAR=VALUE. See below for descriptions of some of the useful variables.
750 Defaults for the options are specified in brackets.
753 -h, --help display this help and exit
754 --help=short display options specific to this package
755 --help=recursive display the short help of all the included packages
756 -V, --version display version information and exit
757 -q, --quiet, --silent do not print \`checking...' messages
758 --cache-file=FILE cache test results in FILE [disabled]
759 -C, --config-cache alias for \`--cache-file=config.cache'
760 -n, --no-create do not create output files
761 --srcdir=DIR find the sources in DIR [configure dir or \`..']
766 Installation directories:
767 --prefix=PREFIX install architecture-independent files in PREFIX
769 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
772 By default, \`make install' will install all the files in
773 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
774 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
775 for instance \`--prefix=\$HOME'.
777 For better control, use the options below.
779 Fine tuning of the installation directories:
780 --bindir=DIR user executables [EPREFIX/bin]
781 --sbindir=DIR system admin executables [EPREFIX/sbin]
782 --libexecdir=DIR program executables [EPREFIX/libexec]
783 --datadir=DIR read-only architecture-independent data [PREFIX/share]
784 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
785 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
786 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
787 --libdir=DIR object code libraries [EPREFIX/lib]
788 --includedir=DIR C header files [PREFIX/include]
789 --oldincludedir=DIR C header files for non-gcc [/usr/include]
790 --infodir=DIR info documentation [PREFIX/info]
791 --mandir=DIR man documentation [PREFIX/man]
797 --x-includes=DIR X include files are in DIR
798 --x-libraries=DIR X library files are in DIR
801 --build=BUILD configure for building on BUILD [guessed]
802 --host=HOST cross-compile to build programs to run on HOST [BUILD]
806 if test -n "$ac_init_help"; then
811 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
812 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
813 --with-x use the X Window System
815 Some influential environment variables:
816 CC C compiler command
817 CFLAGS C compiler flags
818 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
819 nonstandard directory <lib dir>
820 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
821 headers in a nonstandard directory <include dir>
824 Use these variables to override the choices made by `configure' or to help
825 it to find libraries and programs with nonstandard names/locations.
830 if test "$ac_init_help" = "recursive"; then
831 # If there are subdirs, report their specific --help.
833 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
834 test -d $ac_dir || continue
837 if test "$ac_dir" != .; then
838 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
839 # A "../" for each directory in $ac_dir_suffix.
840 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
842 ac_dir_suffix= ac_top_builddir=
846 .) # No --srcdir option. We are building in place.
848 if test -z "$ac_top_builddir"; then
851 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
853 [\\/]* | ?:[\\/]* ) # Absolute path.
854 ac_srcdir=$srcdir$ac_dir_suffix;
855 ac_top_srcdir=$srcdir ;;
857 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
858 ac_top_srcdir=$ac_top_builddir$srcdir ;;
860 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
862 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
863 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
864 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
865 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
868 # Check for guested configure; otherwise get Cygnus style configure.
869 if test -f $ac_srcdir/configure.gnu; then
871 $SHELL $ac_srcdir/configure.gnu --help=recursive
872 elif test -f $ac_srcdir/configure; then
874 $SHELL $ac_srcdir/configure --help=recursive
875 elif test -f $ac_srcdir/configure.ac ||
876 test -f $ac_srcdir/configure.in; then
880 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
886 test -n "$ac_init_help" && exit 0
887 if $ac_init_version; then
890 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
891 Free Software Foundation, Inc.
892 This configure script is free software; the Free Software Foundation
893 gives unlimited permission to copy, distribute and modify it.
899 This file contains any messages produced by compilers while
900 running configure, to aid debugging if configure makes a mistake.
902 It was created by $as_me, which was
903 generated by GNU Autoconf 2.57. Invocation command line was
914 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
915 uname -m = `(uname -m) 2>/dev/null || echo unknown`
916 uname -r = `(uname -r) 2>/dev/null || echo unknown`
917 uname -s = `(uname -s) 2>/dev/null || echo unknown`
918 uname -v = `(uname -v) 2>/dev/null || echo unknown`
920 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
921 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
923 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
924 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
925 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
926 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
927 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
928 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
929 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
937 test -z "$as_dir" && as_dir=.
953 # Keep a trace of the command line.
954 # Strip out --no-create and --no-recursion so they do not pile up.
955 # Strip out --silent because we don't want to record it for future runs.
956 # Also quote any args containing shell meta-characters.
957 # Make two passes to allow for proper duplicate-argument suppression.
962 ac_must_keep_next=false
968 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
969 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
970 | -silent | --silent | --silen | --sile | --sil)
972 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
973 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
976 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
978 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
979 if test $ac_must_keep_next = true; then
980 ac_must_keep_next=false # Got value, back to normal.
983 *=* | --config-cache | -C | -disable-* | --disable-* \
984 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
985 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
986 | -with-* | --with-* | -without-* | --without-* | --x)
987 case "$ac_configure_args0 " in
988 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
991 -* ) ac_must_keep_next=true ;;
994 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
995 # Get rid of the leading space.
1001 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1002 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1004 # When interrupted or exit'd, cleanup temporary files, and complete
1005 # config.log. We remove comments because anyway the quotes in there
1006 # would cause problems or look ugly.
1007 # WARNING: Be sure not to use single quotes in there, as some shells,
1008 # such as our DU 5.0 friend, will then `close' the trap.
1009 trap 'exit_status=$?
1010 # Save into config.log some information that might help in debugging.
1015 ## ---------------- ##
1016 ## Cache variables. ##
1017 ## ---------------- ##
1020 # The following way of writing the cache mishandles newlines in values,
1023 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1026 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1027 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1031 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1038 ## ----------------- ##
1039 ## Output variables. ##
1040 ## ----------------- ##
1043 for ac_var in $ac_subst_vars
1045 eval ac_val=$`echo $ac_var`
1046 echo "$ac_var='"'"'$ac_val'"'"'"
1050 if test -n "$ac_subst_files"; then
1057 for ac_var in $ac_subst_files
1059 eval ac_val=$`echo $ac_var`
1060 echo "$ac_var='"'"'$ac_val'"'"'"
1065 if test -s confdefs.h; then
1072 sed "/^$/d" confdefs.h | sort
1075 test "$ac_signal" != 0 &&
1076 echo "$as_me: caught signal $ac_signal"
1077 echo "$as_me: exit $exit_status"
1079 rm -f core core.* *.core &&
1080 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1083 for ac_signal in 1 2 13 15; do
1084 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1088 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1089 rm -rf conftest* confdefs.h
1090 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1093 # Predefined preprocessor variables.
1095 cat >>confdefs.h <<_ACEOF
1096 #define PACKAGE_NAME "$PACKAGE_NAME"
1100 cat >>confdefs.h <<_ACEOF
1101 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1105 cat >>confdefs.h <<_ACEOF
1106 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1110 cat >>confdefs.h <<_ACEOF
1111 #define PACKAGE_STRING "$PACKAGE_STRING"
1115 cat >>confdefs.h <<_ACEOF
1116 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1120 # Let the site file select an alternate cache file if it wants to.
1121 # Prefer explicitly selected file to automatically selected ones.
1122 if test -z "$CONFIG_SITE"; then
1123 if test "x$prefix" != xNONE; then
1124 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1126 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1129 for ac_site_file in $CONFIG_SITE; do
1130 if test -r "$ac_site_file"; then
1131 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1132 echo "$as_me: loading site script $ac_site_file" >&6;}
1133 sed 's/^/| /' "$ac_site_file" >&5
1138 if test -r "$cache_file"; then
1139 # Some versions of bash will fail to source /dev/null (special
1140 # files actually), so we avoid doing that.
1141 if test -f "$cache_file"; then
1142 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1143 echo "$as_me: loading cache $cache_file" >&6;}
1145 [\\/]* | ?:[\\/]* ) . $cache_file;;
1146 *) . ./$cache_file;;
1150 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1151 echo "$as_me: creating cache $cache_file" >&6;}
1155 # Check that the precious variables saved in the cache have kept the same
1157 ac_cache_corrupted=false
1158 for ac_var in `(set) 2>&1 |
1159 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1160 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1161 eval ac_new_set=\$ac_env_${ac_var}_set
1162 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1163 eval ac_new_val="\$ac_env_${ac_var}_value"
1164 case $ac_old_set,$ac_new_set in
1166 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1167 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1168 ac_cache_corrupted=: ;;
1170 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1171 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1172 ac_cache_corrupted=: ;;
1175 if test "x$ac_old_val" != "x$ac_new_val"; then
1176 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1177 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1178 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1179 echo "$as_me: former value: $ac_old_val" >&2;}
1180 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1181 echo "$as_me: current value: $ac_new_val" >&2;}
1182 ac_cache_corrupted=:
1185 # Pass precious variables to config.status.
1186 if test "$ac_new_set" = set; then
1188 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1189 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1190 *) ac_arg=$ac_var=$ac_new_val ;;
1192 case " $ac_configure_args " in
1193 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1194 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1198 if $ac_cache_corrupted; then
1199 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1200 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1201 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1202 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1203 { (exit 1); exit 1; }; }
1207 ac_cpp='$CPP $CPPFLAGS'
1208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1234 # check cannonical system name
1237 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1238 if test -f $ac_dir/install-sh; then
1240 ac_install_sh="$ac_aux_dir/install-sh -c"
1242 elif test -f $ac_dir/install.sh; then
1244 ac_install_sh="$ac_aux_dir/install.sh -c"
1246 elif test -f $ac_dir/shtool; then
1248 ac_install_sh="$ac_aux_dir/shtool install -c"
1252 if test -z "$ac_aux_dir"; then
1253 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1254 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1255 { (exit 1); exit 1; }; }
1257 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1258 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1259 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1261 # Make sure we can run config.sub.
1262 $ac_config_sub sun4 >/dev/null 2>&1 ||
1263 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1264 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1265 { (exit 1); exit 1; }; }
1267 echo "$as_me:$LINENO: checking build system type" >&5
1268 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1269 if test "${ac_cv_build+set}" = set; then
1270 echo $ECHO_N "(cached) $ECHO_C" >&6
1272 ac_cv_build_alias=$build_alias
1273 test -z "$ac_cv_build_alias" &&
1274 ac_cv_build_alias=`$ac_config_guess`
1275 test -z "$ac_cv_build_alias" &&
1276 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1277 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1278 { (exit 1); exit 1; }; }
1279 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1280 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1281 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1282 { (exit 1); exit 1; }; }
1285 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1286 echo "${ECHO_T}$ac_cv_build" >&6
1288 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1289 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1290 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1293 echo "$as_me:$LINENO: checking host system type" >&5
1294 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1295 if test "${ac_cv_host+set}" = set; then
1296 echo $ECHO_N "(cached) $ECHO_C" >&6
1298 ac_cv_host_alias=$host_alias
1299 test -z "$ac_cv_host_alias" &&
1300 ac_cv_host_alias=$ac_cv_build_alias
1301 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1302 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1303 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1304 { (exit 1); exit 1; }; }
1307 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1308 echo "${ECHO_T}$ac_cv_host" >&6
1310 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1311 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1312 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1316 *-linux-gnu ) cat >>confdefs.h <<\_ACEOF
1320 *-aix* ) cat >>confdefs.h <<\_ACEOF
1324 * ) cat >>confdefs.h <<\_ACEOF
1331 # check C compiler, preprocesor, etc.
1334 ac_cpp='$CPP $CPPFLAGS'
1335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1338 if test -n "$ac_tool_prefix"; then
1339 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1340 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1341 echo "$as_me:$LINENO: checking for $ac_word" >&5
1342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1343 if test "${ac_cv_prog_CC+set}" = set; then
1344 echo $ECHO_N "(cached) $ECHO_C" >&6
1346 if test -n "$CC"; then
1347 ac_cv_prog_CC="$CC" # Let the user override the test.
1349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1353 test -z "$as_dir" && as_dir=.
1354 for ac_exec_ext in '' $ac_executable_extensions; do
1355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1356 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1366 if test -n "$CC"; then
1367 echo "$as_me:$LINENO: result: $CC" >&5
1368 echo "${ECHO_T}$CC" >&6
1370 echo "$as_me:$LINENO: result: no" >&5
1371 echo "${ECHO_T}no" >&6
1375 if test -z "$ac_cv_prog_CC"; then
1377 # Extract the first word of "gcc", so it can be a program name with args.
1378 set dummy gcc; ac_word=$2
1379 echo "$as_me:$LINENO: checking for $ac_word" >&5
1380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1381 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1382 echo $ECHO_N "(cached) $ECHO_C" >&6
1384 if test -n "$ac_ct_CC"; then
1385 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1391 test -z "$as_dir" && as_dir=.
1392 for ac_exec_ext in '' $ac_executable_extensions; do
1393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1394 ac_cv_prog_ac_ct_CC="gcc"
1395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1403 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1404 if test -n "$ac_ct_CC"; then
1405 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1406 echo "${ECHO_T}$ac_ct_CC" >&6
1408 echo "$as_me:$LINENO: result: no" >&5
1409 echo "${ECHO_T}no" >&6
1417 if test -z "$CC"; then
1418 if test -n "$ac_tool_prefix"; then
1419 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1420 set dummy ${ac_tool_prefix}cc; ac_word=$2
1421 echo "$as_me:$LINENO: checking for $ac_word" >&5
1422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1423 if test "${ac_cv_prog_CC+set}" = set; then
1424 echo $ECHO_N "(cached) $ECHO_C" >&6
1426 if test -n "$CC"; then
1427 ac_cv_prog_CC="$CC" # Let the user override the test.
1429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1433 test -z "$as_dir" && as_dir=.
1434 for ac_exec_ext in '' $ac_executable_extensions; do
1435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1436 ac_cv_prog_CC="${ac_tool_prefix}cc"
1437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1446 if test -n "$CC"; then
1447 echo "$as_me:$LINENO: result: $CC" >&5
1448 echo "${ECHO_T}$CC" >&6
1450 echo "$as_me:$LINENO: result: no" >&5
1451 echo "${ECHO_T}no" >&6
1455 if test -z "$ac_cv_prog_CC"; then
1457 # Extract the first word of "cc", so it can be a program name with args.
1458 set dummy cc; ac_word=$2
1459 echo "$as_me:$LINENO: checking for $ac_word" >&5
1460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1461 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1462 echo $ECHO_N "(cached) $ECHO_C" >&6
1464 if test -n "$ac_ct_CC"; then
1465 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1471 test -z "$as_dir" && as_dir=.
1472 for ac_exec_ext in '' $ac_executable_extensions; do
1473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1474 ac_cv_prog_ac_ct_CC="cc"
1475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1483 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1484 if test -n "$ac_ct_CC"; then
1485 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1486 echo "${ECHO_T}$ac_ct_CC" >&6
1488 echo "$as_me:$LINENO: result: no" >&5
1489 echo "${ECHO_T}no" >&6
1498 if test -z "$CC"; then
1499 # Extract the first word of "cc", so it can be a program name with args.
1500 set dummy cc; ac_word=$2
1501 echo "$as_me:$LINENO: checking for $ac_word" >&5
1502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1503 if test "${ac_cv_prog_CC+set}" = set; then
1504 echo $ECHO_N "(cached) $ECHO_C" >&6
1506 if test -n "$CC"; then
1507 ac_cv_prog_CC="$CC" # Let the user override the test.
1510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1514 test -z "$as_dir" && as_dir=.
1515 for ac_exec_ext in '' $ac_executable_extensions; do
1516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1517 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1518 ac_prog_rejected=yes
1522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1528 if test $ac_prog_rejected = yes; then
1529 # We found a bogon in the path, so make sure we never use it.
1530 set dummy $ac_cv_prog_CC
1532 if test $# != 0; then
1533 # We chose a different compiler from the bogus one.
1534 # However, it has the same basename, so the bogon will be chosen
1535 # first if we set CC to just the basename; use the full file name.
1537 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1543 if test -n "$CC"; then
1544 echo "$as_me:$LINENO: result: $CC" >&5
1545 echo "${ECHO_T}$CC" >&6
1547 echo "$as_me:$LINENO: result: no" >&5
1548 echo "${ECHO_T}no" >&6
1552 if test -z "$CC"; then
1553 if test -n "$ac_tool_prefix"; then
1556 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1557 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1558 echo "$as_me:$LINENO: checking for $ac_word" >&5
1559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1560 if test "${ac_cv_prog_CC+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1563 if test -n "$CC"; then
1564 ac_cv_prog_CC="$CC" # Let the user override the test.
1566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1570 test -z "$as_dir" && as_dir=.
1571 for ac_exec_ext in '' $ac_executable_extensions; do
1572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1573 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1583 if test -n "$CC"; then
1584 echo "$as_me:$LINENO: result: $CC" >&5
1585 echo "${ECHO_T}$CC" >&6
1587 echo "$as_me:$LINENO: result: no" >&5
1588 echo "${ECHO_T}no" >&6
1591 test -n "$CC" && break
1594 if test -z "$CC"; then
1598 # Extract the first word of "$ac_prog", so it can be a program name with args.
1599 set dummy $ac_prog; ac_word=$2
1600 echo "$as_me:$LINENO: checking for $ac_word" >&5
1601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1602 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1603 echo $ECHO_N "(cached) $ECHO_C" >&6
1605 if test -n "$ac_ct_CC"; then
1606 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1612 test -z "$as_dir" && as_dir=.
1613 for ac_exec_ext in '' $ac_executable_extensions; do
1614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1615 ac_cv_prog_ac_ct_CC="$ac_prog"
1616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1625 if test -n "$ac_ct_CC"; then
1626 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1627 echo "${ECHO_T}$ac_ct_CC" >&6
1629 echo "$as_me:$LINENO: result: no" >&5
1630 echo "${ECHO_T}no" >&6
1633 test -n "$ac_ct_CC" && break
1642 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1643 See \`config.log' for more details." >&5
1644 echo "$as_me: error: no acceptable C compiler found in \$PATH
1645 See \`config.log' for more details." >&2;}
1646 { (exit 1); exit 1; }; }
1648 # Provide some information about the compiler.
1649 echo "$as_me:$LINENO:" \
1650 "checking for C compiler version" >&5
1651 ac_compiler=`set X $ac_compile; echo $2`
1652 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1653 (eval $ac_compiler --version </dev/null >&5) 2>&5
1655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1656 (exit $ac_status); }
1657 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1658 (eval $ac_compiler -v </dev/null >&5) 2>&5
1660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1661 (exit $ac_status); }
1662 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1663 (eval $ac_compiler -V </dev/null >&5) 2>&5
1665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1666 (exit $ac_status); }
1668 cat >conftest.$ac_ext <<_ACEOF
1669 #line $LINENO "configure"
1672 cat confdefs.h >>conftest.$ac_ext
1673 cat >>conftest.$ac_ext <<_ACEOF
1674 /* end confdefs.h. */
1684 ac_clean_files_save=$ac_clean_files
1685 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1686 # Try to create an executable without -o first, disregard a.out.
1687 # It will help us diagnose broken compilers, and finding out an intuition
1689 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1690 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1691 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1692 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1693 (eval $ac_link_default) 2>&5
1695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1696 (exit $ac_status); }; then
1697 # Find the output, starting from the most likely. This scheme is
1698 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1701 # Be careful to initialize this variable, since it used to be cached.
1702 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1704 # b.out is created by i960 compilers.
1705 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1707 test -f "$ac_file" || continue
1709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1712 # This is the source file.
1715 # We found the default executable, but exeext='' is most
1719 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1720 # FIXME: I believe we export ac_cv_exeext for Libtool,
1721 # but it would be cool to find out if it's true. Does anybody
1722 # maintain Libtool? --akim.
1730 echo "$as_me: failed program was:" >&5
1731 sed 's/^/| /' conftest.$ac_ext >&5
1733 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1734 See \`config.log' for more details." >&5
1735 echo "$as_me: error: C compiler cannot create executables
1736 See \`config.log' for more details." >&2;}
1737 { (exit 77); exit 77; }; }
1740 ac_exeext=$ac_cv_exeext
1741 echo "$as_me:$LINENO: result: $ac_file" >&5
1742 echo "${ECHO_T}$ac_file" >&6
1744 # Check the compiler produces executables we can run. If not, either
1745 # the compiler is broken, or we cross compile.
1746 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1747 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1748 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1749 # If not cross compiling, check that we can run a simple program.
1750 if test "$cross_compiling" != yes; then
1751 if { ac_try='./$ac_file'
1752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1756 (exit $ac_status); }; }; then
1759 if test "$cross_compiling" = maybe; then
1762 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1763 If you meant to cross compile, use \`--host'.
1764 See \`config.log' for more details." >&5
1765 echo "$as_me: error: cannot run C compiled programs.
1766 If you meant to cross compile, use \`--host'.
1767 See \`config.log' for more details." >&2;}
1768 { (exit 1); exit 1; }; }
1772 echo "$as_me:$LINENO: result: yes" >&5
1773 echo "${ECHO_T}yes" >&6
1775 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1776 ac_clean_files=$ac_clean_files_save
1777 # Check the compiler produces executables we can run. If not, either
1778 # the compiler is broken, or we cross compile.
1779 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1780 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1781 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1782 echo "${ECHO_T}$cross_compiling" >&6
1784 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1785 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1787 (eval $ac_link) 2>&5
1789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1790 (exit $ac_status); }; then
1791 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1792 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1793 # work properly (i.e., refer to `conftest.exe'), while it won't with
1795 for ac_file in conftest.exe conftest conftest.*; do
1796 test -f "$ac_file" || continue
1798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1799 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1806 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1807 See \`config.log' for more details." >&5
1808 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1809 See \`config.log' for more details." >&2;}
1810 { (exit 1); exit 1; }; }
1813 rm -f conftest$ac_cv_exeext
1814 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1815 echo "${ECHO_T}$ac_cv_exeext" >&6
1817 rm -f conftest.$ac_ext
1818 EXEEXT=$ac_cv_exeext
1820 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1821 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1822 if test "${ac_cv_objext+set}" = set; then
1823 echo $ECHO_N "(cached) $ECHO_C" >&6
1825 cat >conftest.$ac_ext <<_ACEOF
1826 #line $LINENO "configure"
1829 cat confdefs.h >>conftest.$ac_ext
1830 cat >>conftest.$ac_ext <<_ACEOF
1831 /* end confdefs.h. */
1841 rm -f conftest.o conftest.obj
1842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1843 (eval $ac_compile) 2>&5
1845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1846 (exit $ac_status); }; then
1847 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1849 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1850 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1855 echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1858 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1859 See \`config.log' for more details." >&5
1860 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1861 See \`config.log' for more details." >&2;}
1862 { (exit 1); exit 1; }; }
1865 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1867 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1868 echo "${ECHO_T}$ac_cv_objext" >&6
1869 OBJEXT=$ac_cv_objext
1871 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1872 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1873 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1874 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 cat >conftest.$ac_ext <<_ACEOF
1877 #line $LINENO "configure"
1880 cat confdefs.h >>conftest.$ac_ext
1881 cat >>conftest.$ac_ext <<_ACEOF
1882 /* end confdefs.h. */
1895 rm -f conftest.$ac_objext
1896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1897 (eval $ac_compile) 2>&5
1899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1900 (exit $ac_status); } &&
1901 { ac_try='test -s conftest.$ac_objext'
1902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1906 (exit $ac_status); }; }; then
1909 echo "$as_me: failed program was:" >&5
1910 sed 's/^/| /' conftest.$ac_ext >&5
1914 rm -f conftest.$ac_objext conftest.$ac_ext
1915 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1918 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1919 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1920 GCC=`test $ac_compiler_gnu = yes && echo yes`
1921 ac_test_CFLAGS=${CFLAGS+set}
1922 ac_save_CFLAGS=$CFLAGS
1924 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1925 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1926 if test "${ac_cv_prog_cc_g+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 cat >conftest.$ac_ext <<_ACEOF
1930 #line $LINENO "configure"
1933 cat confdefs.h >>conftest.$ac_ext
1934 cat >>conftest.$ac_ext <<_ACEOF
1935 /* end confdefs.h. */
1945 rm -f conftest.$ac_objext
1946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1947 (eval $ac_compile) 2>&5
1949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1950 (exit $ac_status); } &&
1951 { ac_try='test -s conftest.$ac_objext'
1952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1956 (exit $ac_status); }; }; then
1959 echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1964 rm -f conftest.$ac_objext conftest.$ac_ext
1966 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1967 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1968 if test "$ac_test_CFLAGS" = set; then
1969 CFLAGS=$ac_save_CFLAGS
1970 elif test $ac_cv_prog_cc_g = yes; then
1971 if test "$GCC" = yes; then
1977 if test "$GCC" = yes; then
1983 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1984 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1985 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1986 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 ac_cv_prog_cc_stdc=no
1990 cat >conftest.$ac_ext <<_ACEOF
1991 #line $LINENO "configure"
1994 cat confdefs.h >>conftest.$ac_ext
1995 cat >>conftest.$ac_ext <<_ACEOF
1996 /* end confdefs.h. */
1999 #include <sys/types.h>
2000 #include <sys/stat.h>
2001 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2002 struct buf { int x; };
2003 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2004 static char *e (p, i)
2010 static char *f (char * (*g) (char **, int), char **p, ...)
2015 s = g (p, va_arg (v,int));
2019 int test (int i, double x);
2020 struct s1 {int (*f) (int a);};
2021 struct s2 {int (*f) (double a);};
2022 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2028 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2033 # Don't try gcc -ansi; that turns off useful extensions and
2034 # breaks some systems' header files.
2035 # AIX -qlanglvl=ansi
2036 # Ultrix and OSF/1 -std1
2037 # HP-UX 10.20 and later -Ae
2038 # HP-UX older versions -Aa -D_HPUX_SOURCE
2039 # SVR4 -Xc -D__EXTENSIONS__
2040 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2042 CC="$ac_save_CC $ac_arg"
2043 rm -f conftest.$ac_objext
2044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2045 (eval $ac_compile) 2>&5
2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048 (exit $ac_status); } &&
2049 { ac_try='test -s conftest.$ac_objext'
2050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); }; }; then
2055 ac_cv_prog_cc_stdc=$ac_arg
2058 echo "$as_me: failed program was:" >&5
2059 sed 's/^/| /' conftest.$ac_ext >&5
2062 rm -f conftest.$ac_objext
2064 rm -f conftest.$ac_ext conftest.$ac_objext
2069 case "x$ac_cv_prog_cc_stdc" in
2071 echo "$as_me:$LINENO: result: none needed" >&5
2072 echo "${ECHO_T}none needed" >&6 ;;
2074 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2075 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2076 CC="$CC $ac_cv_prog_cc_stdc" ;;
2079 # Some people use a C++ compiler to compile C. Since we use `exit',
2080 # in C++ we need to declare it. In case someone uses the same compiler
2081 # for both compiling C and C++ we need to have the C++ compiler decide
2082 # the declaration of exit, since it's the most demanding environment.
2083 cat >conftest.$ac_ext <<_ACEOF
2088 rm -f conftest.$ac_objext
2089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2090 (eval $ac_compile) 2>&5
2092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2093 (exit $ac_status); } &&
2094 { ac_try='test -s conftest.$ac_objext'
2095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099 (exit $ac_status); }; }; then
2100 for ac_declaration in \
2102 '#include <stdlib.h>' \
2103 'extern "C" void std::exit (int) throw (); using std::exit;' \
2104 'extern "C" void std::exit (int); using std::exit;' \
2105 'extern "C" void exit (int) throw ();' \
2106 'extern "C" void exit (int);' \
2109 cat >conftest.$ac_ext <<_ACEOF
2110 #line $LINENO "configure"
2113 cat confdefs.h >>conftest.$ac_ext
2114 cat >>conftest.$ac_ext <<_ACEOF
2115 /* end confdefs.h. */
2126 rm -f conftest.$ac_objext
2127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2128 (eval $ac_compile) 2>&5
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); } &&
2132 { ac_try='test -s conftest.$ac_objext'
2133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2137 (exit $ac_status); }; }; then
2140 echo "$as_me: failed program was:" >&5
2141 sed 's/^/| /' conftest.$ac_ext >&5
2145 rm -f conftest.$ac_objext conftest.$ac_ext
2146 cat >conftest.$ac_ext <<_ACEOF
2147 #line $LINENO "configure"
2150 cat confdefs.h >>conftest.$ac_ext
2151 cat >>conftest.$ac_ext <<_ACEOF
2152 /* end confdefs.h. */
2162 rm -f conftest.$ac_objext
2163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2164 (eval $ac_compile) 2>&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); } &&
2168 { ac_try='test -s conftest.$ac_objext'
2169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173 (exit $ac_status); }; }; then
2176 echo "$as_me: failed program was:" >&5
2177 sed 's/^/| /' conftest.$ac_ext >&5
2180 rm -f conftest.$ac_objext conftest.$ac_ext
2183 if test -n "$ac_declaration"; then
2184 echo '#ifdef __cplusplus' >>confdefs.h
2185 echo $ac_declaration >>confdefs.h
2186 echo '#endif' >>confdefs.h
2190 echo "$as_me: failed program was:" >&5
2191 sed 's/^/| /' conftest.$ac_ext >&5
2194 rm -f conftest.$ac_objext conftest.$ac_ext
2196 ac_cpp='$CPP $CPPFLAGS'
2197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2202 ac_cpp='$CPP $CPPFLAGS'
2203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2206 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2207 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2208 # On Suns, sometimes $CPP names a directory.
2209 if test -n "$CPP" && test -d "$CPP"; then
2212 if test -z "$CPP"; then
2213 if test "${ac_cv_prog_CPP+set}" = set; then
2214 echo $ECHO_N "(cached) $ECHO_C" >&6
2216 # Double quotes because CPP needs to be expanded
2217 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2220 for ac_c_preproc_warn_flag in '' yes
2222 # Use a header file that comes with gcc, so configuring glibc
2223 # with a fresh cross-compiler works.
2224 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2225 # <limits.h> exists even on freestanding compilers.
2226 # On the NeXT, cc -E runs the code through the compiler's parser,
2227 # not just through cpp. "Syntax error" is here to catch this case.
2228 cat >conftest.$ac_ext <<_ACEOF
2229 #line $LINENO "configure"
2232 cat confdefs.h >>conftest.$ac_ext
2233 cat >>conftest.$ac_ext <<_ACEOF
2234 /* end confdefs.h. */
2236 # include <limits.h>
2238 # include <assert.h>
2242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2243 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2245 grep -v '^ *+' conftest.er1 >conftest.err
2247 cat conftest.err >&5
2248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2249 (exit $ac_status); } >/dev/null; then
2250 if test -s conftest.err; then
2251 ac_cpp_err=$ac_c_preproc_warn_flag
2258 if test -z "$ac_cpp_err"; then
2261 echo "$as_me: failed program was:" >&5
2262 sed 's/^/| /' conftest.$ac_ext >&5
2264 # Broken: fails on valid input.
2267 rm -f conftest.err conftest.$ac_ext
2269 # OK, works on sane cases. Now check whether non-existent headers
2270 # can be detected and how.
2271 cat >conftest.$ac_ext <<_ACEOF
2272 #line $LINENO "configure"
2275 cat confdefs.h >>conftest.$ac_ext
2276 cat >>conftest.$ac_ext <<_ACEOF
2277 /* end confdefs.h. */
2278 #include <ac_nonexistent.h>
2280 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2281 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2283 grep -v '^ *+' conftest.er1 >conftest.err
2285 cat conftest.err >&5
2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287 (exit $ac_status); } >/dev/null; then
2288 if test -s conftest.err; then
2289 ac_cpp_err=$ac_c_preproc_warn_flag
2296 if test -z "$ac_cpp_err"; then
2297 # Broken: success on invalid input.
2300 echo "$as_me: failed program was:" >&5
2301 sed 's/^/| /' conftest.$ac_ext >&5
2303 # Passes both tests.
2307 rm -f conftest.err conftest.$ac_ext
2310 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2311 rm -f conftest.err conftest.$ac_ext
2312 if $ac_preproc_ok; then
2324 echo "$as_me:$LINENO: result: $CPP" >&5
2325 echo "${ECHO_T}$CPP" >&6
2327 for ac_c_preproc_warn_flag in '' yes
2329 # Use a header file that comes with gcc, so configuring glibc
2330 # with a fresh cross-compiler works.
2331 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2332 # <limits.h> exists even on freestanding compilers.
2333 # On the NeXT, cc -E runs the code through the compiler's parser,
2334 # not just through cpp. "Syntax error" is here to catch this case.
2335 cat >conftest.$ac_ext <<_ACEOF
2336 #line $LINENO "configure"
2339 cat confdefs.h >>conftest.$ac_ext
2340 cat >>conftest.$ac_ext <<_ACEOF
2341 /* end confdefs.h. */
2343 # include <limits.h>
2345 # include <assert.h>
2349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2350 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2352 grep -v '^ *+' conftest.er1 >conftest.err
2354 cat conftest.err >&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); } >/dev/null; then
2357 if test -s conftest.err; then
2358 ac_cpp_err=$ac_c_preproc_warn_flag
2365 if test -z "$ac_cpp_err"; then
2368 echo "$as_me: failed program was:" >&5
2369 sed 's/^/| /' conftest.$ac_ext >&5
2371 # Broken: fails on valid input.
2374 rm -f conftest.err conftest.$ac_ext
2376 # OK, works on sane cases. Now check whether non-existent headers
2377 # can be detected and how.
2378 cat >conftest.$ac_ext <<_ACEOF
2379 #line $LINENO "configure"
2382 cat confdefs.h >>conftest.$ac_ext
2383 cat >>conftest.$ac_ext <<_ACEOF
2384 /* end confdefs.h. */
2385 #include <ac_nonexistent.h>
2387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2388 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2390 grep -v '^ *+' conftest.er1 >conftest.err
2392 cat conftest.err >&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); } >/dev/null; then
2395 if test -s conftest.err; then
2396 ac_cpp_err=$ac_c_preproc_warn_flag
2403 if test -z "$ac_cpp_err"; then
2404 # Broken: success on invalid input.
2407 echo "$as_me: failed program was:" >&5
2408 sed 's/^/| /' conftest.$ac_ext >&5
2410 # Passes both tests.
2414 rm -f conftest.err conftest.$ac_ext
2417 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2418 rm -f conftest.err conftest.$ac_ext
2419 if $ac_preproc_ok; then
2422 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2423 See \`config.log' for more details." >&5
2424 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2425 See \`config.log' for more details." >&2;}
2426 { (exit 1); exit 1; }; }
2430 ac_cpp='$CPP $CPPFLAGS'
2431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2435 # Find a good install program. We prefer a C program (faster),
2436 # so one script is as good as another. But avoid the broken or
2437 # incompatible versions:
2438 # SysV /etc/install, /usr/sbin/install
2439 # SunOS /usr/etc/install
2440 # IRIX /sbin/install
2442 # AmigaOS /C/install, which installs bootblocks on floppy discs
2443 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2444 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2445 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2446 # ./install, which can be erroneously created by make from ./install.sh.
2447 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2448 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2449 if test -z "$INSTALL"; then
2450 if test "${ac_cv_path_install+set}" = set; then
2451 echo $ECHO_N "(cached) $ECHO_C" >&6
2453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457 test -z "$as_dir" && as_dir=.
2458 # Account for people who put trailing slashes in PATH elements.
2460 ./ | .// | /cC/* | \
2461 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2464 # OSF1 and SCO ODT 3.0 have their own names for install.
2465 # Don't use installbsd from OSF since it installs stuff as root
2467 for ac_prog in ginstall scoinst install; do
2468 for ac_exec_ext in '' $ac_executable_extensions; do
2469 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2470 if test $ac_prog = install &&
2471 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2472 # AIX install. It has an incompatible calling convention.
2474 elif test $ac_prog = install &&
2475 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2476 # program-specific install script used by HP pwplus--don't use.
2479 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2491 if test "${ac_cv_path_install+set}" = set; then
2492 INSTALL=$ac_cv_path_install
2494 # As a last resort, use the slow shell script. We don't cache a
2495 # path for INSTALL within a source directory, because that will
2496 # break other packages using the cache if that directory is
2497 # removed, or if the path is relative.
2498 INSTALL=$ac_install_sh
2501 echo "$as_me:$LINENO: result: $INSTALL" >&5
2502 echo "${ECHO_T}$INSTALL" >&6
2504 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2505 # It thinks the first close brace ends the variable substitution.
2506 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2508 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2510 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2512 # Extract the first word of "find", so it can be a program name with args.
2513 set dummy find; ac_word=$2
2514 echo "$as_me:$LINENO: checking for $ac_word" >&5
2515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2516 if test "${ac_cv_prog_FIND+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 if test -n "$FIND"; then
2520 ac_cv_prog_FIND="$FIND" # Let the user override the test.
2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2526 test -z "$as_dir" && as_dir=.
2527 for ac_exec_ext in '' $ac_executable_extensions; do
2528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2529 ac_cv_prog_FIND="find"
2530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2536 test -z "$ac_cv_prog_FIND" && ac_cv_prog_FIND=":"
2539 FIND=$ac_cv_prog_FIND
2540 if test -n "$FIND"; then
2541 echo "$as_me:$LINENO: result: $FIND" >&5
2542 echo "${ECHO_T}$FIND" >&6
2544 echo "$as_me:$LINENO: result: no" >&5
2545 echo "${ECHO_T}no" >&6
2548 # Extract the first word of "makedepend", so it can be a program name with args.
2549 set dummy makedepend; ac_word=$2
2550 echo "$as_me:$LINENO: checking for $ac_word" >&5
2551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2552 if test "${ac_cv_prog_MAKEDEPEND+set}" = set; then
2553 echo $ECHO_N "(cached) $ECHO_C" >&6
2555 if test -n "$MAKEDEPEND"; then
2556 ac_cv_prog_MAKEDEPEND="$MAKEDEPEND" # Let the user override the test.
2558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562 test -z "$as_dir" && as_dir=.
2563 for ac_exec_ext in '' $ac_executable_extensions; do
2564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2565 ac_cv_prog_MAKEDEPEND="makedepend"
2566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2572 test -z "$ac_cv_prog_MAKEDEPEND" && ac_cv_prog_MAKEDEPEND=":"
2575 MAKEDEPEND=$ac_cv_prog_MAKEDEPEND
2576 if test -n "$MAKEDEPEND"; then
2577 echo "$as_me:$LINENO: result: $MAKEDEPEND" >&5
2578 echo "${ECHO_T}$MAKEDEPEND" >&6
2580 echo "$as_me:$LINENO: result: no" >&5
2581 echo "${ECHO_T}no" >&6
2586 # Try to locate the X Window System include files and libraries
2587 # and add /usr/local to include and lib path and add -lm (for testing)
2591 echo "$as_me:$LINENO: checking for X" >&5
2592 echo $ECHO_N "checking for X... $ECHO_C" >&6
2595 # Check whether --with-x or --without-x was given.
2596 if test "${with_x+set}" = set; then
2600 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2601 if test "x$with_x" = xno; then
2602 # The user explicitly disabled X.
2605 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
2606 # Both variables are already set.
2609 if test "${ac_cv_have_x+set}" = set; then
2610 echo $ECHO_N "(cached) $ECHO_C" >&6
2612 # One or both of the vars are not set, and there is no cached value.
2613 ac_x_includes=no ac_x_libraries=no
2615 if mkdir conftest.dir; then
2617 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2618 cat >Imakefile <<'_ACEOF'
2620 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2622 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
2623 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2624 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2625 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2626 for ac_extension in a so sl; do
2627 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
2628 test -f $ac_im_libdir/libX11.$ac_extension; then
2629 ac_im_usrlibdir=$ac_im_libdir; break
2632 # Screen out bogus values from the imake configuration. They are
2633 # bogus both because they are the default anyway, and because
2634 # using them would break gcc on systems where it needs fixed includes.
2635 case $ac_im_incroot in
2637 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
2639 case $ac_im_usrlibdir in
2641 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
2648 # Standard set of common directories for X headers.
2649 # Check X11 before X11Rn because it is often a symlink to the current release.
2661 /usr/local/X11/include
2662 /usr/local/X11R6/include
2663 /usr/local/X11R5/include
2664 /usr/local/X11R4/include
2666 /usr/local/include/X11
2667 /usr/local/include/X11R6
2668 /usr/local/include/X11R5
2669 /usr/local/include/X11R4
2673 /usr/XFree86/include/X11
2677 /usr/unsupported/include
2679 /usr/local/x11r5/include
2680 /usr/lpp/Xamples/include
2682 /usr/openwin/include
2683 /usr/openwin/share/include'
2685 if test "$ac_x_includes" = no; then
2686 # Guess where to find include files, by looking for Intrinsic.h.
2687 # First, try using that file with no special directory specified.
2688 cat >conftest.$ac_ext <<_ACEOF
2689 #line $LINENO "configure"
2692 cat confdefs.h >>conftest.$ac_ext
2693 cat >>conftest.$ac_ext <<_ACEOF
2694 /* end confdefs.h. */
2695 #include <X11/Intrinsic.h>
2697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2700 grep -v '^ *+' conftest.er1 >conftest.err
2702 cat conftest.err >&5
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); } >/dev/null; then
2705 if test -s conftest.err; then
2706 ac_cpp_err=$ac_c_preproc_warn_flag
2713 if test -z "$ac_cpp_err"; then
2714 # We can compile using X headers with no special include directory.
2717 echo "$as_me: failed program was:" >&5
2718 sed 's/^/| /' conftest.$ac_ext >&5
2720 for ac_dir in $ac_x_header_dirs; do
2721 if test -r "$ac_dir/X11/Intrinsic.h"; then
2722 ac_x_includes=$ac_dir
2727 rm -f conftest.err conftest.$ac_ext
2728 fi # $ac_x_includes = no
2730 if test "$ac_x_libraries" = no; then
2731 # Check for the libraries.
2732 # See if we find them without any special options.
2733 # Don't add to $LIBS permanently.
2736 cat >conftest.$ac_ext <<_ACEOF
2737 #line $LINENO "configure"
2740 cat confdefs.h >>conftest.$ac_ext
2741 cat >>conftest.$ac_ext <<_ACEOF
2742 /* end confdefs.h. */
2743 #include <X11/Intrinsic.h>
2752 rm -f conftest.$ac_objext conftest$ac_exeext
2753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2754 (eval $ac_link) 2>&5
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); } &&
2758 { ac_try='test -s conftest$ac_exeext'
2759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); }; }; then
2765 # We can link X programs with no special library path.
2768 echo "$as_me: failed program was:" >&5
2769 sed 's/^/| /' conftest.$ac_ext >&5
2772 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2774 # Don't even attempt the hair of trying to link an X program!
2775 for ac_extension in a so sl; do
2776 if test -r $ac_dir/libXt.$ac_extension; then
2777 ac_x_libraries=$ac_dir
2783 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2784 fi # $ac_x_libraries = no
2786 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
2787 # Didn't find X anywhere. Cache the known absence of X.
2788 ac_cv_have_x="have_x=no"
2790 # Record where we found X for the cache.
2791 ac_cv_have_x="have_x=yes \
2792 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2797 eval "$ac_cv_have_x"
2800 if test "$have_x" != yes; then
2801 echo "$as_me:$LINENO: result: $have_x" >&5
2802 echo "${ECHO_T}$have_x" >&6
2805 # If each of the values was on the command line, it overrides each guess.
2806 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
2807 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
2808 # Update the cache value to reflect the command line values.
2809 ac_cv_have_x="have_x=yes \
2810 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2811 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2812 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2815 if test "$no_x" = yes; then
2816 # Not all programs may use this symbol, but it does not hurt to define it.
2818 cat >>confdefs.h <<\_ACEOF
2819 #define X_DISPLAY_MISSING 1
2822 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
2824 if test -n "$x_includes"; then
2825 X_CFLAGS="$X_CFLAGS -I$x_includes"
2828 # It would also be nice to do this for all -L options, not just this one.
2829 if test -n "$x_libraries"; then
2830 X_LIBS="$X_LIBS -L$x_libraries"
2831 # For Solaris; some versions of Sun CC require a space after -R and
2832 # others require no space. Words are not sufficient . . . .
2833 case `(uname -sr) 2>/dev/null` in
2835 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2836 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2837 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
2838 cat >conftest.$ac_ext <<_ACEOF
2839 #line $LINENO "configure"
2842 cat confdefs.h >>conftest.$ac_ext
2843 cat >>conftest.$ac_ext <<_ACEOF
2844 /* end confdefs.h. */
2854 rm -f conftest.$ac_objext conftest$ac_exeext
2855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2856 (eval $ac_link) 2>&5
2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); } &&
2860 { ac_try='test -s conftest$ac_exeext'
2861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); }; }; then
2868 echo "$as_me: failed program was:" >&5
2869 sed 's/^/| /' conftest.$ac_ext >&5
2873 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2874 if test $ac_R_nospace = yes; then
2875 echo "$as_me:$LINENO: result: no" >&5
2876 echo "${ECHO_T}no" >&6
2877 X_LIBS="$X_LIBS -R$x_libraries"
2879 LIBS="$ac_xsave_LIBS -R $x_libraries"
2880 cat >conftest.$ac_ext <<_ACEOF
2881 #line $LINENO "configure"
2884 cat confdefs.h >>conftest.$ac_ext
2885 cat >>conftest.$ac_ext <<_ACEOF
2886 /* end confdefs.h. */
2896 rm -f conftest.$ac_objext conftest$ac_exeext
2897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2898 (eval $ac_link) 2>&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); } &&
2902 { ac_try='test -s conftest$ac_exeext'
2903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); }; }; then
2910 echo "$as_me: failed program was:" >&5
2911 sed 's/^/| /' conftest.$ac_ext >&5
2915 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2916 if test $ac_R_space = yes; then
2917 echo "$as_me:$LINENO: result: yes" >&5
2918 echo "${ECHO_T}yes" >&6
2919 X_LIBS="$X_LIBS -R $x_libraries"
2921 echo "$as_me:$LINENO: result: neither works" >&5
2922 echo "${ECHO_T}neither works" >&6
2929 # Check for system-dependent libraries X programs must link with.
2930 # Do this before checking for the system-independent R6 libraries
2931 # (-lICE), since we may need -lsocket or whatever for X linking.
2933 if test "$ISC" = yes; then
2934 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
2936 # Martyn Johnson says this is needed for Ultrix, if the X
2937 # libraries were built with DECnet support. And Karl Berry says
2938 # the Alpha needs dnet_stub (dnet does not exist).
2939 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
2940 cat >conftest.$ac_ext <<_ACEOF
2941 #line $LINENO "configure"
2944 cat confdefs.h >>conftest.$ac_ext
2945 cat >>conftest.$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2948 /* Override any gcc2 internal prototype to avoid an error. */
2952 /* We use char because int might match the return type of a gcc2
2953 builtin and then its argument prototype would still apply. */
2954 char XOpenDisplay ();
2963 rm -f conftest.$ac_objext conftest$ac_exeext
2964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2965 (eval $ac_link) 2>&5
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); } &&
2969 { ac_try='test -s conftest$ac_exeext'
2970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); }; }; then
2977 echo "$as_me: failed program was:" >&5
2978 sed 's/^/| /' conftest.$ac_ext >&5
2980 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
2981 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
2982 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
2983 echo $ECHO_N "(cached) $ECHO_C" >&6
2985 ac_check_lib_save_LIBS=$LIBS
2987 cat >conftest.$ac_ext <<_ACEOF
2988 #line $LINENO "configure"
2991 cat confdefs.h >>conftest.$ac_ext
2992 cat >>conftest.$ac_ext <<_ACEOF
2993 /* end confdefs.h. */
2995 /* Override any gcc2 internal prototype to avoid an error. */
2999 /* We use char because int might match the return type of a gcc2
3000 builtin and then its argument prototype would still apply. */
3010 rm -f conftest.$ac_objext conftest$ac_exeext
3011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3012 (eval $ac_link) 2>&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); } &&
3016 { ac_try='test -s conftest$ac_exeext'
3017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); }; }; then
3022 ac_cv_lib_dnet_dnet_ntoa=yes
3024 echo "$as_me: failed program was:" >&5
3025 sed 's/^/| /' conftest.$ac_ext >&5
3027 ac_cv_lib_dnet_dnet_ntoa=no
3029 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3030 LIBS=$ac_check_lib_save_LIBS
3032 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3033 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3034 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3035 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
3038 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3039 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3040 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3041 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3042 echo $ECHO_N "(cached) $ECHO_C" >&6
3044 ac_check_lib_save_LIBS=$LIBS
3045 LIBS="-ldnet_stub $LIBS"
3046 cat >conftest.$ac_ext <<_ACEOF
3047 #line $LINENO "configure"
3050 cat confdefs.h >>conftest.$ac_ext
3051 cat >>conftest.$ac_ext <<_ACEOF
3052 /* end confdefs.h. */
3054 /* Override any gcc2 internal prototype to avoid an error. */
3058 /* We use char because int might match the return type of a gcc2
3059 builtin and then its argument prototype would still apply. */
3069 rm -f conftest.$ac_objext conftest$ac_exeext
3070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3071 (eval $ac_link) 2>&5
3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); } &&
3075 { ac_try='test -s conftest$ac_exeext'
3076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); }; }; then
3081 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3083 echo "$as_me: failed program was:" >&5
3084 sed 's/^/| /' conftest.$ac_ext >&5
3086 ac_cv_lib_dnet_stub_dnet_ntoa=no
3088 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3089 LIBS=$ac_check_lib_save_LIBS
3091 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3092 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3093 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3094 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
3099 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3100 LIBS="$ac_xsave_LIBS"
3102 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3103 # to get the SysV transport functions.
3104 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3106 # The nsl library prevents programs from opening the X display
3107 # on Irix 5.2, according to T.E. Dickey.
3108 # The functions gethostbyname, getservbyname, and inet_addr are
3109 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3110 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3111 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3112 if test "${ac_cv_func_gethostbyname+set}" = set; then
3113 echo $ECHO_N "(cached) $ECHO_C" >&6
3115 cat >conftest.$ac_ext <<_ACEOF
3116 #line $LINENO "configure"
3119 cat confdefs.h >>conftest.$ac_ext
3120 cat >>conftest.$ac_ext <<_ACEOF
3121 /* end confdefs.h. */
3122 /* System header to define __stub macros and hopefully few prototypes,
3123 which can conflict with char gethostbyname (); below.
3124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3125 <limits.h> exists even on freestanding compilers. */
3127 # include <limits.h>
3129 # include <assert.h>
3131 /* Override any gcc2 internal prototype to avoid an error. */
3136 /* We use char because int might match the return type of a gcc2
3137 builtin and then its argument prototype would still apply. */
3138 char gethostbyname ();
3139 /* The GNU C library defines this for functions which it implements
3140 to always fail with ENOSYS. Some functions are actually named
3141 something starting with __ and the normal name is an alias. */
3142 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3145 char (*f) () = gethostbyname;
3154 return f != gethostbyname;
3159 rm -f conftest.$ac_objext conftest$ac_exeext
3160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3161 (eval $ac_link) 2>&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } &&
3165 { ac_try='test -s conftest$ac_exeext'
3166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); }; }; then
3171 ac_cv_func_gethostbyname=yes
3173 echo "$as_me: failed program was:" >&5
3174 sed 's/^/| /' conftest.$ac_ext >&5
3176 ac_cv_func_gethostbyname=no
3178 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3180 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3181 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3183 if test $ac_cv_func_gethostbyname = no; then
3184 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3185 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3186 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3187 echo $ECHO_N "(cached) $ECHO_C" >&6
3189 ac_check_lib_save_LIBS=$LIBS
3191 cat >conftest.$ac_ext <<_ACEOF
3192 #line $LINENO "configure"
3195 cat confdefs.h >>conftest.$ac_ext
3196 cat >>conftest.$ac_ext <<_ACEOF
3197 /* end confdefs.h. */
3199 /* Override any gcc2 internal prototype to avoid an error. */
3203 /* We use char because int might match the return type of a gcc2
3204 builtin and then its argument prototype would still apply. */
3205 char gethostbyname ();
3214 rm -f conftest.$ac_objext conftest$ac_exeext
3215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3216 (eval $ac_link) 2>&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); } &&
3220 { ac_try='test -s conftest$ac_exeext'
3221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); }; }; then
3226 ac_cv_lib_nsl_gethostbyname=yes
3228 echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3231 ac_cv_lib_nsl_gethostbyname=no
3233 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3234 LIBS=$ac_check_lib_save_LIBS
3236 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3237 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3238 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3239 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3242 if test $ac_cv_lib_nsl_gethostbyname = no; then
3243 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3244 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3245 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3246 echo $ECHO_N "(cached) $ECHO_C" >&6
3248 ac_check_lib_save_LIBS=$LIBS
3250 cat >conftest.$ac_ext <<_ACEOF
3251 #line $LINENO "configure"
3254 cat confdefs.h >>conftest.$ac_ext
3255 cat >>conftest.$ac_ext <<_ACEOF
3256 /* end confdefs.h. */
3258 /* Override any gcc2 internal prototype to avoid an error. */
3262 /* We use char because int might match the return type of a gcc2
3263 builtin and then its argument prototype would still apply. */
3264 char gethostbyname ();
3273 rm -f conftest.$ac_objext conftest$ac_exeext
3274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3275 (eval $ac_link) 2>&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); } &&
3279 { ac_try='test -s conftest$ac_exeext'
3280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); }; }; then
3285 ac_cv_lib_bsd_gethostbyname=yes
3287 echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3290 ac_cv_lib_bsd_gethostbyname=no
3292 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3293 LIBS=$ac_check_lib_save_LIBS
3295 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3296 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3297 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3298 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3304 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3305 # socket/setsockopt and other routines are undefined under SCO ODT
3306 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3307 # on later versions), says Simon Leinen: it contains gethostby*
3308 # variants that don't use the name server (or something). -lsocket
3309 # must be given before -lnsl if both are needed. We assume that
3310 # if connect needs -lnsl, so does gethostbyname.
3311 echo "$as_me:$LINENO: checking for connect" >&5
3312 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3313 if test "${ac_cv_func_connect+set}" = set; then
3314 echo $ECHO_N "(cached) $ECHO_C" >&6
3316 cat >conftest.$ac_ext <<_ACEOF
3317 #line $LINENO "configure"
3320 cat confdefs.h >>conftest.$ac_ext
3321 cat >>conftest.$ac_ext <<_ACEOF
3322 /* end confdefs.h. */
3323 /* System header to define __stub macros and hopefully few prototypes,
3324 which can conflict with char connect (); below.
3325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3326 <limits.h> exists even on freestanding compilers. */
3328 # include <limits.h>
3330 # include <assert.h>
3332 /* Override any gcc2 internal prototype to avoid an error. */
3337 /* We use char because int might match the return type of a gcc2
3338 builtin and then its argument prototype would still apply. */
3340 /* The GNU C library defines this for functions which it implements
3341 to always fail with ENOSYS. Some functions are actually named
3342 something starting with __ and the normal name is an alias. */
3343 #if defined (__stub_connect) || defined (__stub___connect)
3346 char (*f) () = connect;
3355 return f != connect;
3360 rm -f conftest.$ac_objext conftest$ac_exeext
3361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3362 (eval $ac_link) 2>&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); } &&
3366 { ac_try='test -s conftest$ac_exeext'
3367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); }; }; then
3372 ac_cv_func_connect=yes
3374 echo "$as_me: failed program was:" >&5
3375 sed 's/^/| /' conftest.$ac_ext >&5
3377 ac_cv_func_connect=no
3379 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3381 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3382 echo "${ECHO_T}$ac_cv_func_connect" >&6
3384 if test $ac_cv_func_connect = no; then
3385 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3386 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3387 if test "${ac_cv_lib_socket_connect+set}" = set; then
3388 echo $ECHO_N "(cached) $ECHO_C" >&6
3390 ac_check_lib_save_LIBS=$LIBS
3391 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
3392 cat >conftest.$ac_ext <<_ACEOF
3393 #line $LINENO "configure"
3396 cat confdefs.h >>conftest.$ac_ext
3397 cat >>conftest.$ac_ext <<_ACEOF
3398 /* end confdefs.h. */
3400 /* Override any gcc2 internal prototype to avoid an error. */
3404 /* We use char because int might match the return type of a gcc2
3405 builtin and then its argument prototype would still apply. */
3415 rm -f conftest.$ac_objext conftest$ac_exeext
3416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3417 (eval $ac_link) 2>&5
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); } &&
3421 { ac_try='test -s conftest$ac_exeext'
3422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); }; }; then
3427 ac_cv_lib_socket_connect=yes
3429 echo "$as_me: failed program was:" >&5
3430 sed 's/^/| /' conftest.$ac_ext >&5
3432 ac_cv_lib_socket_connect=no
3434 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3435 LIBS=$ac_check_lib_save_LIBS
3437 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3438 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3439 if test $ac_cv_lib_socket_connect = yes; then
3440 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
3445 # Guillermo Gomez says -lposix is necessary on A/UX.
3446 echo "$as_me:$LINENO: checking for remove" >&5
3447 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3448 if test "${ac_cv_func_remove+set}" = set; then
3449 echo $ECHO_N "(cached) $ECHO_C" >&6
3451 cat >conftest.$ac_ext <<_ACEOF
3452 #line $LINENO "configure"
3455 cat confdefs.h >>conftest.$ac_ext
3456 cat >>conftest.$ac_ext <<_ACEOF
3457 /* end confdefs.h. */
3458 /* System header to define __stub macros and hopefully few prototypes,
3459 which can conflict with char remove (); below.
3460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3461 <limits.h> exists even on freestanding compilers. */
3463 # include <limits.h>
3465 # include <assert.h>
3467 /* Override any gcc2 internal prototype to avoid an error. */
3472 /* We use char because int might match the return type of a gcc2
3473 builtin and then its argument prototype would still apply. */
3475 /* The GNU C library defines this for functions which it implements
3476 to always fail with ENOSYS. Some functions are actually named
3477 something starting with __ and the normal name is an alias. */
3478 #if defined (__stub_remove) || defined (__stub___remove)
3481 char (*f) () = remove;
3495 rm -f conftest.$ac_objext conftest$ac_exeext
3496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3497 (eval $ac_link) 2>&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } &&
3501 { ac_try='test -s conftest$ac_exeext'
3502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506 (exit $ac_status); }; }; then
3507 ac_cv_func_remove=yes
3509 echo "$as_me: failed program was:" >&5
3510 sed 's/^/| /' conftest.$ac_ext >&5
3512 ac_cv_func_remove=no
3514 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3516 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3517 echo "${ECHO_T}$ac_cv_func_remove" >&6
3519 if test $ac_cv_func_remove = no; then
3520 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3521 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3522 if test "${ac_cv_lib_posix_remove+set}" = set; then
3523 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 ac_check_lib_save_LIBS=$LIBS
3526 LIBS="-lposix $LIBS"
3527 cat >conftest.$ac_ext <<_ACEOF
3528 #line $LINENO "configure"
3531 cat confdefs.h >>conftest.$ac_ext
3532 cat >>conftest.$ac_ext <<_ACEOF
3533 /* end confdefs.h. */
3535 /* Override any gcc2 internal prototype to avoid an error. */
3539 /* We use char because int might match the return type of a gcc2
3540 builtin and then its argument prototype would still apply. */
3550 rm -f conftest.$ac_objext conftest$ac_exeext
3551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3552 (eval $ac_link) 2>&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); } &&
3556 { ac_try='test -s conftest$ac_exeext'
3557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561 (exit $ac_status); }; }; then
3562 ac_cv_lib_posix_remove=yes
3564 echo "$as_me: failed program was:" >&5
3565 sed 's/^/| /' conftest.$ac_ext >&5
3567 ac_cv_lib_posix_remove=no
3569 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3570 LIBS=$ac_check_lib_save_LIBS
3572 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3573 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3574 if test $ac_cv_lib_posix_remove = yes; then
3575 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
3580 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3581 echo "$as_me:$LINENO: checking for shmat" >&5
3582 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3583 if test "${ac_cv_func_shmat+set}" = set; then
3584 echo $ECHO_N "(cached) $ECHO_C" >&6
3586 cat >conftest.$ac_ext <<_ACEOF
3587 #line $LINENO "configure"
3590 cat confdefs.h >>conftest.$ac_ext
3591 cat >>conftest.$ac_ext <<_ACEOF
3592 /* end confdefs.h. */
3593 /* System header to define __stub macros and hopefully few prototypes,
3594 which can conflict with char shmat (); below.
3595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3596 <limits.h> exists even on freestanding compilers. */
3598 # include <limits.h>
3600 # include <assert.h>
3602 /* Override any gcc2 internal prototype to avoid an error. */
3607 /* We use char because int might match the return type of a gcc2
3608 builtin and then its argument prototype would still apply. */
3610 /* The GNU C library defines this for functions which it implements
3611 to always fail with ENOSYS. Some functions are actually named
3612 something starting with __ and the normal name is an alias. */
3613 #if defined (__stub_shmat) || defined (__stub___shmat)
3616 char (*f) () = shmat;
3630 rm -f conftest.$ac_objext conftest$ac_exeext
3631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3632 (eval $ac_link) 2>&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); } &&
3636 { ac_try='test -s conftest$ac_exeext'
3637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; }; then
3642 ac_cv_func_shmat=yes
3644 echo "$as_me: failed program was:" >&5
3645 sed 's/^/| /' conftest.$ac_ext >&5
3649 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3651 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3652 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3654 if test $ac_cv_func_shmat = no; then
3655 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3656 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3657 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3658 echo $ECHO_N "(cached) $ECHO_C" >&6
3660 ac_check_lib_save_LIBS=$LIBS
3662 cat >conftest.$ac_ext <<_ACEOF
3663 #line $LINENO "configure"
3666 cat confdefs.h >>conftest.$ac_ext
3667 cat >>conftest.$ac_ext <<_ACEOF
3668 /* end confdefs.h. */
3670 /* Override any gcc2 internal prototype to avoid an error. */
3674 /* We use char because int might match the return type of a gcc2
3675 builtin and then its argument prototype would still apply. */
3685 rm -f conftest.$ac_objext conftest$ac_exeext
3686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3687 (eval $ac_link) 2>&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); } &&
3691 { ac_try='test -s conftest$ac_exeext'
3692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); }; }; then
3697 ac_cv_lib_ipc_shmat=yes
3699 echo "$as_me: failed program was:" >&5
3700 sed 's/^/| /' conftest.$ac_ext >&5
3702 ac_cv_lib_ipc_shmat=no
3704 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3705 LIBS=$ac_check_lib_save_LIBS
3707 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3708 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3709 if test $ac_cv_lib_ipc_shmat = yes; then
3710 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
3716 # Check for libraries that X11R6 Xt/Xaw programs need.
3717 ac_save_LDFLAGS=$LDFLAGS
3718 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
3719 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3720 # check for ICE first), but we must link in the order -lSM -lICE or
3721 # we get undefined symbols. So assume we have SM if we have ICE.
3722 # These have to be linked with before -lX11, unlike the other
3723 # libraries we check for below, so use a different variable.
3724 # John Interrante, Karl Berry
3725 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3726 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3727 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 ac_check_lib_save_LIBS=$LIBS
3731 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
3732 cat >conftest.$ac_ext <<_ACEOF
3733 #line $LINENO "configure"
3736 cat confdefs.h >>conftest.$ac_ext
3737 cat >>conftest.$ac_ext <<_ACEOF
3738 /* end confdefs.h. */
3740 /* Override any gcc2 internal prototype to avoid an error. */
3744 /* We use char because int might match the return type of a gcc2
3745 builtin and then its argument prototype would still apply. */
3746 char IceConnectionNumber ();
3750 IceConnectionNumber ();
3755 rm -f conftest.$ac_objext conftest$ac_exeext
3756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3757 (eval $ac_link) 2>&5
3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760 (exit $ac_status); } &&
3761 { ac_try='test -s conftest$ac_exeext'
3762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); }; }; then
3767 ac_cv_lib_ICE_IceConnectionNumber=yes
3769 echo "$as_me: failed program was:" >&5
3770 sed 's/^/| /' conftest.$ac_ext >&5
3772 ac_cv_lib_ICE_IceConnectionNumber=no
3774 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3775 LIBS=$ac_check_lib_save_LIBS
3777 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3778 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3779 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3780 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
3783 LDFLAGS=$ac_save_LDFLAGS
3787 #CFLAGS="$CFLAGS $X_CFLAGS -I/usr/local/include"
3788 CFLAGS="$CFLAGS $X_CFLAGS"
3789 LDFLAGS="$LDFLAGS $X_LIBS -L/usr/local/lib"
3793 # Declare variables which we want substituted in the Makefile.in's
3795 echo "$as_me:$LINENO: checking for egrep" >&5
3796 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3797 if test "${ac_cv_prog_egrep+set}" = set; then
3798 echo $ECHO_N "(cached) $ECHO_C" >&6
3800 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3801 then ac_cv_prog_egrep='grep -E'
3802 else ac_cv_prog_egrep='egrep'
3805 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3806 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3807 EGREP=$ac_cv_prog_egrep
3810 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3811 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3812 if test "${ac_cv_header_stdc+set}" = set; then
3813 echo $ECHO_N "(cached) $ECHO_C" >&6
3815 cat >conftest.$ac_ext <<_ACEOF
3816 #line $LINENO "configure"
3819 cat confdefs.h >>conftest.$ac_ext
3820 cat >>conftest.$ac_ext <<_ACEOF
3821 /* end confdefs.h. */
3835 rm -f conftest.$ac_objext
3836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3837 (eval $ac_compile) 2>&5
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); } &&
3841 { ac_try='test -s conftest.$ac_objext'
3842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); }; }; then
3847 ac_cv_header_stdc=yes
3849 echo "$as_me: failed program was:" >&5
3850 sed 's/^/| /' conftest.$ac_ext >&5
3852 ac_cv_header_stdc=no
3854 rm -f conftest.$ac_objext conftest.$ac_ext
3856 if test $ac_cv_header_stdc = yes; then
3857 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3858 cat >conftest.$ac_ext <<_ACEOF
3859 #line $LINENO "configure"
3862 cat confdefs.h >>conftest.$ac_ext
3863 cat >>conftest.$ac_ext <<_ACEOF
3864 /* end confdefs.h. */
3868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3869 $EGREP "memchr" >/dev/null 2>&1; then
3872 ac_cv_header_stdc=no
3878 if test $ac_cv_header_stdc = yes; then
3879 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3880 cat >conftest.$ac_ext <<_ACEOF
3881 #line $LINENO "configure"
3884 cat confdefs.h >>conftest.$ac_ext
3885 cat >>conftest.$ac_ext <<_ACEOF
3886 /* end confdefs.h. */
3890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3891 $EGREP "free" >/dev/null 2>&1; then
3894 ac_cv_header_stdc=no
3900 if test $ac_cv_header_stdc = yes; then
3901 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3902 if test "$cross_compiling" = yes; then
3905 cat >conftest.$ac_ext <<_ACEOF
3906 #line $LINENO "configure"
3909 cat confdefs.h >>conftest.$ac_ext
3910 cat >>conftest.$ac_ext <<_ACEOF
3911 /* end confdefs.h. */
3913 #if ((' ' & 0x0FF) == 0x020)
3914 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3915 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3917 # define ISLOWER(c) \
3918 (('a' <= (c) && (c) <= 'i') \
3919 || ('j' <= (c) && (c) <= 'r') \
3920 || ('s' <= (c) && (c) <= 'z'))
3921 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3924 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3929 for (i = 0; i < 256; i++)
3930 if (XOR (islower (i), ISLOWER (i))
3931 || toupper (i) != TOUPPER (i))
3936 rm -f conftest$ac_exeext
3937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3938 (eval $ac_link) 2>&5
3940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3941 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 (exit $ac_status); }; }; then
3949 echo "$as_me: program exited with status $ac_status" >&5
3950 echo "$as_me: failed program was:" >&5
3951 sed 's/^/| /' conftest.$ac_ext >&5
3954 ac_cv_header_stdc=no
3956 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3960 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3961 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3962 if test $ac_cv_header_stdc = yes; then
3964 cat >>confdefs.h <<\_ACEOF
3965 #define STDC_HEADERS 1
3972 # finally create makefiles using Makefile.in
3975 ac_config_files="$ac_config_files Makefile"
3976 cat >confcache <<\_ACEOF
3977 # This file is a shell script that caches the results of configure
3978 # tests run on this system so they can be shared between configure
3979 # scripts and configure runs, see configure's option --config-cache.
3980 # It is not useful on other systems. If it contains results you don't
3981 # want to keep, you may remove or edit it.
3983 # config.status only pays attention to the cache file if you give it
3984 # the --recheck option to rerun configure.
3986 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3987 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3992 # The following way of writing the cache mishandles newlines in values,
3993 # but we know of no workaround that is simple, portable, and efficient.
3994 # So, don't put newlines in cache variables' values.
3995 # Ultrix sh set writes to stderr and can't be redirected directly,
3996 # and sets the high bit in the cache file unless we assign to the vars.
3999 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4001 # `set' does not quote correctly, so add quotes (double-quote
4002 # substitution turns \\\\ into \\, and sed turns \\ into \).
4005 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4008 # `set' quotes correctly as required by POSIX, so do not add quotes.
4010 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4017 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4019 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4021 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4022 if test -w $cache_file; then
4023 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4024 cat confcache >$cache_file
4026 echo "not updating unwritable cache $cache_file"
4031 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4032 # Let make expand exec_prefix.
4033 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4035 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4036 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4037 # trailing colons and then remove the whole line if VPATH becomes empty
4038 # (actually we leave an empty line to preserve line numbers).
4039 if test "x$srcdir" = x.; then
4040 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4041 s/:*\$(srcdir):*/:/;
4042 s/:*\${srcdir}:*/:/;
4044 s/^\([^=]*=[ ]*\):*/\1/;
4050 # Transform confdefs.h into DEFS.
4051 # Protect against shell expansion while executing Makefile rules.
4052 # Protect against Makefile macro expansion.
4054 # If the first sed substitution is executed (which looks for macros that
4055 # take arguments), then we branch to the quote section. Otherwise,
4056 # look for a macro that doesn't take arguments.
4057 cat >confdef2opt.sed <<\_ACEOF
4060 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4062 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4066 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4072 # We use echo to avoid assuming a particular line-breaking character.
4073 # The extra dot is to prevent the shell from consuming trailing
4074 # line-breaks from the sub-command output. A line-break within
4075 # single-quotes doesn't work because, if this script is created in a
4076 # platform that uses two characters for line-breaks (e.g., DOS), tr
4078 ac_LF_and_DOT=`echo; echo .`
4079 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4080 rm -f confdef2opt.sed
4085 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4086 # 1. Remove the extension, and $U if already installed.
4087 ac_i=`echo "$ac_i" |
4088 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4090 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4091 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4095 LTLIBOBJS=$ac_ltlibobjs
4099 : ${CONFIG_STATUS=./config.status}
4100 ac_clean_files_save=$ac_clean_files
4101 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4102 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4103 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4104 cat >$CONFIG_STATUS <<_ACEOF
4106 # Generated by $as_me.
4107 # Run this file to recreate the current configuration.
4108 # Compiler output produced by configure, useful for debugging
4109 # configure, is in config.log if it exists.
4114 SHELL=\${CONFIG_SHELL-$SHELL}
4117 cat >>$CONFIG_STATUS <<\_ACEOF
4118 ## --------------------- ##
4119 ## M4sh Initialization. ##
4120 ## --------------------- ##
4122 # Be Bourne compatible
4123 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4126 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4127 # is contrary to our usage. Disable this feature.
4128 alias -g '${1+"$@"}'='"$@"'
4129 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4133 # Support unset when possible.
4134 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4141 # Work around bugs in pre-3.0 UWIN ksh.
4142 $as_unset ENV MAIL MAILPATH
4149 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4150 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4151 LC_TELEPHONE LC_TIME
4153 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
4154 eval $as_var=C; export $as_var
4160 # Required to use basename.
4161 if expr a : '\(a\)' >/dev/null 2>&1; then
4167 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4168 as_basename=basename
4174 # Name of the executable.
4175 as_me=`$as_basename "$0" ||
4176 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4177 X"$0" : 'X\(//\)$' \| \
4178 X"$0" : 'X\(/\)$' \| \
4179 . : '\(.\)' 2>/dev/null ||
4181 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4182 /^X\/\(\/\/\)$/{ s//\1/; q; }
4183 /^X\/\(\/\).*/{ s//\1/; q; }
4187 # PATH needs CR, and LINENO needs CR and PATH.
4188 # Avoid depending upon Character Ranges.
4189 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4190 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4191 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4192 as_cr_digits='0123456789'
4193 as_cr_alnum=$as_cr_Letters$as_cr_digits
4195 # The user is always right.
4196 if test "${PATH_SEPARATOR+set}" != set; then
4197 echo "#! /bin/sh" >conf$$.sh
4198 echo "exit 0" >>conf$$.sh
4200 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4211 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4212 test "x$as_lineno_1" != "x$as_lineno_2" &&
4213 test "x$as_lineno_3" = "x$as_lineno_2" || {
4214 # Find who we are. Look in the path if we contain no path at all
4217 *[\\/]* ) as_myself=$0 ;;
4218 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4222 test -z "$as_dir" && as_dir=.
4223 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4228 # We did not find ourselves, most probably we were run as `sh COMMAND'
4229 # in which case we are not to be found in the path.
4230 if test "x$as_myself" = x; then
4233 if test ! -f "$as_myself"; then
4234 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4235 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4236 { (exit 1); exit 1; }; }
4238 case $CONFIG_SHELL in
4240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4244 test -z "$as_dir" && as_dir=.
4245 for as_base in sh bash ksh sh5; do
4248 if ("$as_dir/$as_base" -c '
4251 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4252 test "x$as_lineno_1" != "x$as_lineno_2" &&
4253 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4254 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4255 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4256 CONFIG_SHELL=$as_dir/$as_base
4258 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4266 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4267 # uniformly replaced by the line number. The first 'sed' inserts a
4268 # line-number line before each line; the second 'sed' does the real
4269 # work. The second script uses 'N' to pair each line-number line
4270 # with the numbered line, and appends trailing '-' during
4271 # substitution so that $LINENO is not a special case at line end.
4272 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4273 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4274 sed '=' <$as_myself |
4279 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4282 s,^['$as_cr_digits']*\n,,
4284 chmod +x $as_me.lineno ||
4285 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4286 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4287 { (exit 1); exit 1; }; }
4289 # Don't try to exec as it changes $[0], causing all sort of problems
4290 # (the dirname of $[0] is not the place where we might find the
4291 # original and so on. Autoconf is especially sensible to this).
4293 # Exit status is that of the last command.
4298 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4299 *c*,-n*) ECHO_N= ECHO_C='
4301 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4302 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4305 if expr a : '\(a\)' >/dev/null 2>&1; then
4311 rm -f conf$$ conf$$.exe conf$$.file
4313 if ln -s conf$$.file conf$$ 2>/dev/null; then
4314 # We could just check for DJGPP; but this test a) works b) is more generic
4315 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4316 if test -f conf$$.exe; then
4317 # Don't use ln at all; we don't have any links
4322 elif ln conf$$.file conf$$ 2>/dev/null; then
4327 rm -f conf$$ conf$$.exe conf$$.file
4329 if mkdir -p . 2>/dev/null; then
4335 as_executable_p="test -f"
4337 # Sed expression to map a string onto a valid CPP name.
4338 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4340 # Sed expression to map a string onto a valid variable name.
4341 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4345 # We need space, tab and new line, in precisely that order.
4355 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4356 # report actual input values of CONFIG_FILES etc. instead of their
4357 # values after options handling. Logging --version etc. is OK.
4361 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4362 ## Running $as_me. ##
4367 This file was extended by $as_me, which was
4368 generated by GNU Autoconf 2.57. Invocation command line was
4370 CONFIG_FILES = $CONFIG_FILES
4371 CONFIG_HEADERS = $CONFIG_HEADERS
4372 CONFIG_LINKS = $CONFIG_LINKS
4373 CONFIG_COMMANDS = $CONFIG_COMMANDS
4377 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4381 # Files that config.status was made for.
4382 if test -n "$ac_config_files"; then
4383 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4386 if test -n "$ac_config_headers"; then
4387 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4390 if test -n "$ac_config_links"; then
4391 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4394 if test -n "$ac_config_commands"; then
4395 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4398 cat >>$CONFIG_STATUS <<\_ACEOF
4401 \`$as_me' instantiates files from templates according to the
4402 current configuration.
4404 Usage: $0 [OPTIONS] [FILE]...
4406 -h, --help print this help, then exit
4407 -V, --version print version number, then exit
4408 -q, --quiet do not print progress messages
4409 -d, --debug don't remove temporary files
4410 --recheck update $as_me by reconfiguring in the same conditions
4411 --file=FILE[:TEMPLATE]
4412 instantiate the configuration file FILE
4414 Configuration files:
4417 Report bugs to <bug-autoconf@gnu.org>."
4420 cat >>$CONFIG_STATUS <<_ACEOF
4423 configured by $0, generated by GNU Autoconf 2.57,
4424 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4426 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4427 Free Software Foundation, Inc.
4428 This config.status script is free software; the Free Software Foundation
4429 gives unlimited permission to copy, distribute and modify it."
4434 cat >>$CONFIG_STATUS <<\_ACEOF
4435 # If no file are specified by the user, then we need to provide default
4436 # value. By we need to know if files were specified by the user.
4442 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4443 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4451 *) # This is not an option, so the user has probably given explicit
4454 ac_need_defaults=false;;
4458 # Handling of the options.
4460 cat >>$CONFIG_STATUS <<\_ACEOF
4461 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4463 --version | --vers* | -V )
4464 echo "$ac_cs_version"; exit 0 ;;
4466 # Conflict between --help and --header
4467 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4468 Try \`$0 --help' for more information." >&5
4469 echo "$as_me: error: ambiguous option: $1
4470 Try \`$0 --help' for more information." >&2;}
4471 { (exit 1); exit 1; }; };;
4472 --help | --hel | -h )
4473 echo "$ac_cs_usage"; exit 0 ;;
4474 --debug | --d* | -d )
4476 --file | --fil | --fi | --f )
4478 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4479 ac_need_defaults=false;;
4480 --header | --heade | --head | --hea )
4482 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4483 ac_need_defaults=false;;
4484 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4485 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4489 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4490 Try \`$0 --help' for more information." >&5
4491 echo "$as_me: error: unrecognized option: $1
4492 Try \`$0 --help' for more information." >&2;}
4493 { (exit 1); exit 1; }; } ;;
4495 *) ac_config_targets="$ac_config_targets $1" ;;
4501 ac_configure_extra_args=
4503 if $ac_cs_silent; then
4505 ac_configure_extra_args="$ac_configure_extra_args --silent"
4509 cat >>$CONFIG_STATUS <<_ACEOF
4510 if \$ac_cs_recheck; then
4511 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4512 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4521 cat >>$CONFIG_STATUS <<\_ACEOF
4522 for ac_config_target in $ac_config_targets
4524 case "$ac_config_target" in
4525 # Handling of arguments.
4526 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4527 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4528 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4529 { (exit 1); exit 1; }; };;
4533 # If the user did not use the arguments to specify the items to instantiate,
4534 # then the envvar interface is used. Set only those that are not.
4535 # We use the long form for the default assignment because of an extremely
4536 # bizarre bug on SunOS 4.1.3.
4537 if $ac_need_defaults; then
4538 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4541 # Have a temporary directory for convenience. Make it in the build tree
4542 # simply because there is no reason to put it here, and in addition,
4543 # creating and moving files from /tmp can sometimes cause problems.
4544 # Create a temporary directory, and hook for its removal unless debugging.
4547 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4548 trap '{ (exit 1); exit 1; }' 1 2 13 15
4551 # Create a (secure) tmp directory for tmp files.
4554 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4555 test -n "$tmp" && test -d "$tmp"
4558 tmp=./confstat$$-$RANDOM
4559 (umask 077 && mkdir $tmp)
4562 echo "$me: cannot create a temporary directory in ." >&2
4563 { (exit 1); exit 1; }
4568 cat >>$CONFIG_STATUS <<_ACEOF
4571 # CONFIG_FILES section.
4574 # No need to generate the scripts if there are no CONFIG_FILES.
4575 # This happens for instance when ./config.status config.h
4576 if test -n "\$CONFIG_FILES"; then
4577 # Protect against being on the right side of a sed subst in config.status.
4578 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4579 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4580 s,@SHELL@,$SHELL,;t t
4581 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4582 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4583 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4584 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4585 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4586 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4587 s,@exec_prefix@,$exec_prefix,;t t
4588 s,@prefix@,$prefix,;t t
4589 s,@program_transform_name@,$program_transform_name,;t t
4590 s,@bindir@,$bindir,;t t
4591 s,@sbindir@,$sbindir,;t t
4592 s,@libexecdir@,$libexecdir,;t t
4593 s,@datadir@,$datadir,;t t
4594 s,@sysconfdir@,$sysconfdir,;t t
4595 s,@sharedstatedir@,$sharedstatedir,;t t
4596 s,@localstatedir@,$localstatedir,;t t
4597 s,@libdir@,$libdir,;t t
4598 s,@includedir@,$includedir,;t t
4599 s,@oldincludedir@,$oldincludedir,;t t
4600 s,@infodir@,$infodir,;t t
4601 s,@mandir@,$mandir,;t t
4602 s,@build_alias@,$build_alias,;t t
4603 s,@host_alias@,$host_alias,;t t
4604 s,@target_alias@,$target_alias,;t t
4606 s,@ECHO_C@,$ECHO_C,;t t
4607 s,@ECHO_N@,$ECHO_N,;t t
4608 s,@ECHO_T@,$ECHO_T,;t t
4610 s,@build@,$build,;t t
4611 s,@build_cpu@,$build_cpu,;t t
4612 s,@build_vendor@,$build_vendor,;t t
4613 s,@build_os@,$build_os,;t t
4615 s,@host_cpu@,$host_cpu,;t t
4616 s,@host_vendor@,$host_vendor,;t t
4617 s,@host_os@,$host_os,;t t
4619 s,@CFLAGS@,$CFLAGS,;t t
4620 s,@LDFLAGS@,$LDFLAGS,;t t
4621 s,@CPPFLAGS@,$CPPFLAGS,;t t
4622 s,@ac_ct_CC@,$ac_ct_CC,;t t
4623 s,@EXEEXT@,$EXEEXT,;t t
4624 s,@OBJEXT@,$OBJEXT,;t t
4626 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4627 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4628 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4630 s,@MAKEDEPEND@,$MAKEDEPEND,;t t
4631 s,@X_CFLAGS@,$X_CFLAGS,;t t
4632 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
4633 s,@X_LIBS@,$X_LIBS,;t t
4634 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
4635 s,@EGREP@,$EGREP,;t t
4636 s,@LIBOBJS@,$LIBOBJS,;t t
4637 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4642 cat >>$CONFIG_STATUS <<\_ACEOF
4643 # Split the substitutions into bite-sized pieces for seds with
4644 # small command number limits, like on Digital OSF/1 and HP-UX.
4646 ac_sed_frag=1 # Number of current file.
4647 ac_beg=1 # First line for current file.
4648 ac_end=$ac_max_sed_lines # Line after last line for current file.
4651 while $ac_more_lines; do
4652 if test $ac_beg -gt 1; then
4653 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4655 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4657 if test ! -s $tmp/subs.frag; then
4660 # The purpose of the label and of the branching condition is to
4661 # speed up the sed processing (if there are no `@' at all, there
4662 # is no need to browse any of the substitutions).
4663 # These are the two extra sed commands mentioned above.
4665 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4666 if test -z "$ac_sed_cmds"; then
4667 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4669 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4671 ac_sed_frag=`expr $ac_sed_frag + 1`
4673 ac_end=`expr $ac_end + $ac_max_sed_lines`
4676 if test -z "$ac_sed_cmds"; then
4679 fi # test -n "$CONFIG_FILES"
4682 cat >>$CONFIG_STATUS <<\_ACEOF
4683 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4684 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4686 - | *:- | *:-:* ) # input from stdin
4688 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4689 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4690 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4691 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4692 * ) ac_file_in=$ac_file.in ;;
4695 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4696 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4697 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4698 X"$ac_file" : 'X\(//\)[^/]' \| \
4699 X"$ac_file" : 'X\(//\)$' \| \
4700 X"$ac_file" : 'X\(/\)' \| \
4701 . : '\(.\)' 2>/dev/null ||
4703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4704 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4705 /^X\(\/\/\)$/{ s//\1/; q; }
4706 /^X\(\/\).*/{ s//\1/; q; }
4708 { if $as_mkdir_p; then
4713 while test ! -d "$as_dir"; do
4714 as_dirs="$as_dir $as_dirs"
4715 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4716 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4717 X"$as_dir" : 'X\(//\)[^/]' \| \
4718 X"$as_dir" : 'X\(//\)$' \| \
4719 X"$as_dir" : 'X\(/\)' \| \
4720 . : '\(.\)' 2>/dev/null ||
4722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4723 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4724 /^X\(\/\/\)$/{ s//\1/; q; }
4725 /^X\(\/\).*/{ s//\1/; q; }
4728 test ! -n "$as_dirs" || mkdir $as_dirs
4729 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4730 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4731 { (exit 1); exit 1; }; }; }
4735 if test "$ac_dir" != .; then
4736 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4737 # A "../" for each directory in $ac_dir_suffix.
4738 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4740 ac_dir_suffix= ac_top_builddir=
4744 .) # No --srcdir option. We are building in place.
4746 if test -z "$ac_top_builddir"; then
4749 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4751 [\\/]* | ?:[\\/]* ) # Absolute path.
4752 ac_srcdir=$srcdir$ac_dir_suffix;
4753 ac_top_srcdir=$srcdir ;;
4755 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4756 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4758 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4760 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4761 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4762 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4763 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4767 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4768 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4771 if test x"$ac_file" != x-; then
4772 { echo "$as_me:$LINENO: creating $ac_file" >&5
4773 echo "$as_me: creating $ac_file" >&6;}
4776 # Let's still pretend it is `configure' which instantiates (i.e., don't
4777 # use $as_me), people would be surprised to read:
4778 # /* config.h. Generated by config.status. */
4779 if test x"$ac_file" = x-; then
4782 configure_input="$ac_file. "
4784 configure_input=$configure_input"Generated from `echo $ac_file_in |
4785 sed 's,.*/,,'` by configure."
4787 # First look for the input files in the build tree, otherwise in the
4789 ac_file_inputs=`IFS=:
4790 for f in $ac_file_in; do
4792 -) echo $tmp/stdin ;;
4794 # Absolute (can't be DOS-style, as IFS=:)
4795 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4796 echo "$as_me: error: cannot find input file: $f" >&2;}
4797 { (exit 1); exit 1; }; }
4800 if test -f "$f"; then
4803 elif test -f "$srcdir/$f"; then
4808 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4809 echo "$as_me: error: cannot find input file: $f" >&2;}
4810 { (exit 1); exit 1; }; }
4813 done` || { (exit 1); exit 1; }
4815 cat >>$CONFIG_STATUS <<_ACEOF
4819 cat >>$CONFIG_STATUS <<\_ACEOF
4821 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4822 s,@configure_input@,$configure_input,;t t
4823 s,@srcdir@,$ac_srcdir,;t t
4824 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4825 s,@top_srcdir@,$ac_top_srcdir,;t t
4826 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4827 s,@builddir@,$ac_builddir,;t t
4828 s,@abs_builddir@,$ac_abs_builddir,;t t
4829 s,@top_builddir@,$ac_top_builddir,;t t
4830 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4831 s,@INSTALL@,$ac_INSTALL,;t t
4832 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4834 if test x"$ac_file" != x-; then
4835 mv $tmp/out $ac_file
4844 cat >>$CONFIG_STATUS <<\_ACEOF
4846 { (exit 0); exit 0; }
4848 chmod +x $CONFIG_STATUS
4849 ac_clean_files=$ac_clean_files_save
4852 # configure is writing to config.log, and then calls config.status.
4853 # config.status does its own redirection, appending to config.log.
4854 # Unfortunately, on DOS this fails, as config.log is still kept open
4855 # by configure, so config.status won't be able to write to it; its
4856 # output is simply discarded. So we exec the FD to /dev/null,
4857 # effectively closing config.log, so it can be properly (re)opened and
4858 # appended to by config.status. When coming back to configure, we
4859 # need to make the FD available again.
4860 if test "$no_create" != yes; then
4862 ac_config_status_args=
4863 test "$silent" = yes &&
4864 ac_config_status_args="$ac_config_status_args --quiet"
4866 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4868 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4869 # would make configure fail if this is the last instruction.
4870 $ac_cs_success || { (exit 1); exit 1; }
4875 echo "Run 'make depend' to create dependencies."