2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53.
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.
10 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
25 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
30 # Support unset when possible.
31 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
37 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG
|| test "${LANG+set}" != set; } ||
39 { LANG
=C
; export LANG
; }
40 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL
|| test "${LC_ALL+set}" != set; } ||
42 { LC_ALL
=C
; export LC_ALL
; }
43 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME
|| test "${LC_TIME+set}" != set; } ||
45 { LC_TIME
=C
; export LC_TIME
; }
46 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE
=C
; export LC_CTYPE
; }
49 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE
=C
; export LANGUAGE
; }
52 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE
=C
; export LC_COLLATE
; }
55 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
58 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
63 # Name of the executable.
64 as_me
=`(basename "$0") 2>/dev/null ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits
='0123456789'
81 as_cr_alnum
=$as_cr_Letters$as_cr_digits
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
88 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
99 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
105 *[\\/]* ) as_myself
=$0 ;;
106 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
110 test -z "$as_dir" && as_dir
=.
111 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x
; then
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
128 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
131 test -z "$as_dir" && as_dir
=.
132 for as_base
in sh bash ksh sh5
; do
135 if ("$as_dir/$as_base" -c '
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
141 CONFIG_SHELL
=$as_dir/$as_base
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167 s,^['$as_cr_digits']*\n,,
169 chmod +x
$as_me.lineno
||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
177 # Exit status is that of the last command.
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c
*,-n*) ECHO_N
= ECHO_C
='
185 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
186 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
189 if expr a
: '\(a\)' >/dev
/null
2>&1; then
195 rm -f conf$$ conf$$.exe conf$$.
file
197 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
198 # We could just check for DJGPP; but this test a) works b) is more generic
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 if test -f conf$$.exe
; then
201 # Don't use ln at all; we don't have any links
206 elif ln conf$$.
file conf$$
2>/dev
/null
; then
211 rm -f conf$$ conf$$.exe conf$$.
file
213 as_executable_p
="test -f"
215 # Sed expression to map a string onto a valid CPP name.
216 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
218 # Sed expression to map a string onto a valid variable name.
219 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
223 # We need space, tab and new line, in precisely that order.
229 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 # so uname gets run too.
235 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
242 ac_default_prefix
=/usr
/local
247 SHELL
=${CONFIG_SHELL-/bin/sh}
249 # Maximum number of lines to put in a shell here document.
250 # This variable seems obsolete. It should probably be removed, and
251 # only ac_max_sed_lines should be used.
252 : ${ac_max_here_lines=38}
254 # Identity of this package.
261 ac_unique_file
="src/openbox.cc"
262 # Factoring default headers for most tests.
263 ac_includes_default
="\
266 # include <sys/types.h>
269 # include <sys/stat.h>
280 # if !STDC_HEADERS && HAVE_MEMORY_H
286 # include <strings.h>
289 # include <inttypes.h>
300 # Initialize some variables set by options.
302 ac_init_version
=false
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
312 program_transform_name
=s
,x
,x
,
320 # Installation directory options.
321 # These are left unexpanded so users can "make install exec_prefix=/foo"
322 # and all the variables that are supposed to be based on exec_prefix
323 # by default will actually change.
324 # Use braces instead of parens because sh, perl, etc. also accept them.
325 bindir
='${exec_prefix}/bin'
326 sbindir
='${exec_prefix}/sbin'
327 libexecdir
='${exec_prefix}/libexec'
328 datadir
='${prefix}/share'
329 sysconfdir
='${prefix}/etc'
330 sharedstatedir
='${prefix}/com'
331 localstatedir
='${prefix}/var'
332 libdir
='${exec_prefix}/lib'
333 includedir
='${prefix}/include'
334 oldincludedir
='/usr/include'
335 infodir
='${prefix}/info'
336 mandir
='${prefix}/man'
341 # If the previous option needs an argument, assign it.
342 if test -n "$ac_prev"; then
343 eval "$ac_prev=\$ac_option"
348 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
350 # Accept the important Cygnus configure options, so we can diagnose typos.
354 -bindir | --bindir | --bindi | --bind | --bin | --bi)
356 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
359 -build | --build | --buil | --bui | --bu)
360 ac_prev
=build_alias
;;
361 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
362 build_alias
=$ac_optarg ;;
364 -cache-file | --cache-file | --cache-fil | --cache-fi \
365 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
366 ac_prev
=cache_file
;;
367 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
368 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
369 cache_file
=$ac_optarg ;;
372 cache_file
=config.cache
;;
374 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
376 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
378 datadir
=$ac_optarg ;;
380 -disable-* | --disable-*)
381 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382 # Reject names that are not valid shell variable names.
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385 { (exit 1); exit 1; }; }
386 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
387 eval "enable_$ac_feature=no" ;;
389 -enable-* | --enable-*)
390 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394 { (exit 1); exit 1; }; }
395 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
397 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 eval "enable_$ac_feature='$ac_optarg'" ;;
402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
404 | --exec | --exe | --ex)
405 ac_prev
=exec_prefix
;;
406 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
407 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
408 | --exec=* | --exe=* | --ex=*)
409 exec_prefix
=$ac_optarg ;;
411 -gas | --gas | --ga | --g)
412 # Obsolete; use --with-gas.
415 -help | --help | --hel | --he | -h)
417 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
418 ac_init_help
=recursive
;;
419 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
420 ac_init_help
=short
;;
422 -host | --host | --hos | --ho)
423 ac_prev
=host_alias
;;
424 -host=* | --host=* | --hos=* | --ho=*)
425 host_alias
=$ac_optarg ;;
427 -includedir | --includedir | --includedi | --included | --include \
428 | --includ | --inclu | --incl | --inc)
429 ac_prev
=includedir
;;
430 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
431 | --includ=* | --inclu=* | --incl=* | --inc=*)
432 includedir
=$ac_optarg ;;
434 -infodir | --infodir | --infodi | --infod | --info | --inf)
436 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
437 infodir
=$ac_optarg ;;
439 -libdir | --libdir | --libdi | --libd)
441 -libdir=* | --libdir=* | --libdi=* | --libd=*)
444 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
445 | --libexe | --libex | --libe)
446 ac_prev
=libexecdir
;;
447 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
448 | --libexe=* | --libex=* | --libe=*)
449 libexecdir
=$ac_optarg ;;
451 -localstatedir | --localstatedir | --localstatedi | --localstated \
452 | --localstate | --localstat | --localsta | --localst \
453 | --locals | --local | --loca | --loc | --lo)
454 ac_prev
=localstatedir
;;
455 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
456 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
457 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
458 localstatedir
=$ac_optarg ;;
460 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
462 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
466 # Obsolete; use --without-fp.
469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470 | --no-cr | --no-c | -n)
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
477 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
478 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
479 | --oldin | --oldi | --old | --ol | --o)
480 ac_prev
=oldincludedir
;;
481 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
482 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
483 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
484 oldincludedir
=$ac_optarg ;;
486 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
488 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
491 -program-prefix | --program-prefix | --program-prefi | --program-pref \
492 | --program-pre | --program-pr | --program-p)
493 ac_prev
=program_prefix
;;
494 -program-prefix=* | --program-prefix=* | --program-prefi=* \
495 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
496 program_prefix
=$ac_optarg ;;
498 -program-suffix | --program-suffix | --program-suffi | --program-suff \
499 | --program-suf | --program-su | --program-s)
500 ac_prev
=program_suffix
;;
501 -program-suffix=* | --program-suffix=* | --program-suffi=* \
502 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
503 program_suffix
=$ac_optarg ;;
505 -program-transform-name | --program-transform-name \
506 | --program-transform-nam | --program-transform-na \
507 | --program-transform-n | --program-transform- \
508 | --program-transform | --program-transfor \
509 | --program-transfo | --program-transf \
510 | --program-trans | --program-tran \
511 | --progr-tra | --program-tr | --program-t)
512 ac_prev
=program_transform_name
;;
513 -program-transform-name=* | --program-transform-name=* \
514 | --program-transform-nam=* | --program-transform-na=* \
515 | --program-transform-n=* | --program-transform-=* \
516 | --program-transform=* | --program-transfor=* \
517 | --program-transfo=* | --program-transf=* \
518 | --program-trans=* | --program-tran=* \
519 | --progr-tra=* | --program-tr=* | --program-t=*)
520 program_transform_name
=$ac_optarg ;;
522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
523 | -silent | --silent | --silen | --sile | --sil)
526 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
528 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
530 sbindir
=$ac_optarg ;;
532 -sharedstatedir | --sharedstatedir | --sharedstatedi \
533 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
534 | --sharedst | --shareds | --shared | --share | --shar \
536 ac_prev
=sharedstatedir
;;
537 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
538 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
539 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
541 sharedstatedir
=$ac_optarg ;;
543 -site | --site | --sit)
545 -site=* | --site=* | --sit=*)
548 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
550 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
553 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
554 | --syscon | --sysco | --sysc | --sys | --sy)
555 ac_prev
=sysconfdir
;;
556 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
557 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
558 sysconfdir
=$ac_optarg ;;
560 -target | --target | --targe | --targ | --tar | --ta | --t)
561 ac_prev
=target_alias
;;
562 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
563 target_alias
=$ac_optarg ;;
565 -v | -verbose | --verbose | --verbos | --verbo | --verb)
568 -version | --version | --versio | --versi | --vers | -V)
572 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573 # Reject names that are not valid shell variable names.
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
576 { (exit 1); exit 1; }; }
577 ac_package
=`echo $ac_package| sed 's/-/_/g'`
579 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 eval "with_$ac_package='$ac_optarg'" ;;
584 -without-* | --without-*)
585 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586 # Reject names that are not valid shell variable names.
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
589 { (exit 1); exit 1; }; }
590 ac_package
=`echo $ac_package | sed 's/-/_/g'`
591 eval "with_$ac_package=no" ;;
594 # Obsolete; use --with-x.
597 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
598 | --x-incl | --x-inc | --x-in | --x-i)
599 ac_prev
=x_includes
;;
600 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
601 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
602 x_includes
=$ac_optarg ;;
604 -x-libraries | --x-libraries | --x-librarie | --x-librari \
605 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
606 ac_prev
=x_libraries
;;
607 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
608 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
609 x_libraries
=$ac_optarg ;;
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
612 Try \`$0 --help' for more information." >&2
613 { (exit 1); exit 1; }; }
617 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
618 # Reject names that are not valid shell variable names.
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621 { (exit 1); exit 1; }; }
622 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623 eval "$ac_envvar='$ac_optarg'"
627 # FIXME: should be removed in autoconf 3.0.
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
637 if test -n "$ac_prev"; then
638 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
639 { echo "$as_me: error: missing argument to $ac_option" >&2
640 { (exit 1); exit 1; }; }
643 # Be sure to have absolute paths.
644 for ac_var
in exec_prefix prefix
646 eval ac_val
=$
`echo $ac_var`
648 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650 { (exit 1); exit 1; }; };;
654 # Be sure to have absolute paths.
655 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656 localstatedir libdir includedir oldincludedir infodir mandir
658 eval ac_val
=$
`echo $ac_var`
660 [\\/$
]* | ?
:[\\/]* ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };;
666 # There might be people who depend on the old broken behavior: `$host'
667 # used to hold the argument of --host etc.
668 # FIXME: To remove some day.
673 # FIXME: To remove some day.
674 if test "x$host_alias" != x
; then
675 if test "x$build_alias" = x
; then
676 cross_compiling
=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
685 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
687 test "$silent" = yes && exec 6>/dev
/null
690 # Find the source files, if location was not specified.
691 if test -z "$srcdir"; then
692 ac_srcdir_defaulted
=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir
=`(dirname "$0") 2>/dev/null ||
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted
=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
722 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set
=${build_alias+set}
724 ac_env_build_alias_value
=$build_alias
725 ac_cv_env_build_alias_set
=${build_alias+set}
726 ac_cv_env_build_alias_value
=$build_alias
727 ac_env_host_alias_set
=${host_alias+set}
728 ac_env_host_alias_value
=$host_alias
729 ac_cv_env_host_alias_set
=${host_alias+set}
730 ac_cv_env_host_alias_value
=$host_alias
731 ac_env_target_alias_set
=${target_alias+set}
732 ac_env_target_alias_value
=$target_alias
733 ac_cv_env_target_alias_set
=${target_alias+set}
734 ac_cv_env_target_alias_value
=$target_alias
735 ac_env_CC_set
=${CC+set}
737 ac_cv_env_CC_set
=${CC+set}
738 ac_cv_env_CC_value
=$CC
739 ac_env_CFLAGS_set
=${CFLAGS+set}
740 ac_env_CFLAGS_value
=$CFLAGS
741 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value
=$CFLAGS
743 ac_env_LDFLAGS_set
=${LDFLAGS+set}
744 ac_env_LDFLAGS_value
=$LDFLAGS
745 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value
=$LDFLAGS
747 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value
=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
751 ac_env_CXX_set
=${CXX+set}
752 ac_env_CXX_value
=$CXX
753 ac_cv_env_CXX_set
=${CXX+set}
754 ac_cv_env_CXX_value
=$CXX
755 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
756 ac_env_CXXFLAGS_value
=$CXXFLAGS
757 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
758 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
759 ac_env_CPP_set
=${CPP+set}
760 ac_env_CPP_value
=$CPP
761 ac_cv_env_CPP_set
=${CPP+set}
762 ac_cv_env_CPP_value
=$CPP
765 # Report the --help message.
767 if test "$ac_init_help" = "long"; then
768 # Omit some internal or obsolete options to make the list less imposing.
769 # This message is too long to be a string in the A/UX 3.1 sh.
771 \`configure' configures this package to adapt to many kinds of systems.
773 Usage: $0 [OPTION]... [VAR=VALUE]...
775 To assign environment variables (e.g., CC, CFLAGS...), specify them as
776 VAR=VALUE. See below for descriptions of some of the useful variables.
778 Defaults for the options are specified in brackets.
781 -h, --help display this help and exit
782 --help=short display options specific to this package
783 --help=recursive display the short help of all the included packages
784 -V, --version display version information and exit
785 -q, --quiet, --silent do not print \`checking...' messages
786 --cache-file=FILE cache test results in FILE [disabled]
787 -C, --config-cache alias for \`--cache-file=config.cache'
788 -n, --no-create do not create output files
789 --srcdir=DIR find the sources in DIR [configure dir or \`..']
794 Installation directories:
795 --prefix=PREFIX install architecture-independent files in PREFIX
797 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 By default, \`make install' will install all the files in
801 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
802 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
803 for instance \`--prefix=\$HOME'.
805 For better control, use the options below.
807 Fine tuning of the installation directories:
808 --bindir=DIR user executables [EPREFIX/bin]
809 --sbindir=DIR system admin executables [EPREFIX/sbin]
810 --libexecdir=DIR program executables [EPREFIX/libexec]
811 --datadir=DIR read-only architecture-independent data [PREFIX/share]
812 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
813 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
814 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
815 --libdir=DIR object code libraries [EPREFIX/lib]
816 --includedir=DIR C header files [PREFIX/include]
817 --oldincludedir=DIR C header files for non-gcc [/usr/include]
818 --infodir=DIR info documentation [PREFIX/info]
819 --mandir=DIR man documentation [PREFIX/man]
825 --program-prefix=PREFIX prepend PREFIX to installed program names
826 --program-suffix=SUFFIX append SUFFIX to installed program names
827 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
830 --x-includes=DIR X include files are
in DIR
831 --x-libraries=DIR X library files are
in DIR
835 if test -n "$ac_init_help"; then
840 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
841 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
842 --enable-shape enable support of the XShape extension default
=yes
843 --enable-slit include code
for the Slit default
=yes
844 --enable-newspec include code
for the new WM Spec
(DOES NOTHING
)
846 --enable-interlace include code
for image interlacing default
=yes
847 --enable-ordered-pseudo include code
for ordered pseudocolor
(8bpp
)
849 --enable-clobber intercept mouse events to clients when num lock
850 or scroll lock are on default
=yes
851 --enable-debug include verbose debugging code default
=no
852 --enable-nls include natural language support default
=yes
853 --enable-timed-cache use new timed pixmap cache default
=yes
854 --enable-maintainer-mode enable make rules and dependencies not useful
855 (and sometimes confusing
) to the casual installer
858 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
859 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
860 --with-x use the X Window System
862 Some influential environment variables
:
863 CC C compiler
command
864 CFLAGS C compiler flags
865 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
866 nonstandard directory
<lib dir
>
867 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
868 headers
in a nonstandard directory
<include dir
>
869 CXX C
++ compiler
command
870 CXXFLAGS C
++ compiler flags
873 Use these variables to override the choices made by
`configure' or to help
874 it to find libraries and programs with nonstandard names/locations.
879 if test "$ac_init_help" = "recursive"; then
880 # If there are subdirs, report their specific --help.
882 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
883 test -d $ac_dir || continue
886 if test "$ac_dir" != .; then
887 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
888 # A "../" for each directory in $ac_dir_suffix.
889 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
891 ac_dir_suffix= ac_top_builddir=
895 .) # No --srcdir option. We are building in place.
897 if test -z "$ac_top_builddir"; then
900 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
902 [\\/]* | ?:[\\/]* ) # Absolute path.
903 ac_srcdir=$srcdir$ac_dir_suffix;
904 ac_top_srcdir=$srcdir ;;
906 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
907 ac_top_srcdir=$ac_top_builddir$srcdir ;;
909 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
911 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
912 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
913 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
914 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
917 # Check for guested configure; otherwise get Cygnus style configure.
918 if test -f $ac_srcdir/configure.gnu; then
920 $SHELL $ac_srcdir/configure.gnu --help=recursive
921 elif test -f $ac_srcdir/configure; then
923 $SHELL $ac_srcdir/configure --help=recursive
924 elif test -f $ac_srcdir/configure.ac ||
925 test -f $ac_srcdir/configure.in; then
929 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
935 test -n "$ac_init_help" && exit 0
936 if $ac_init_version; then
939 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
940 Free Software Foundation, Inc.
941 This configure script is free software; the Free Software Foundation
942 gives unlimited permission to copy, distribute and modify it.
948 This file contains any messages produced by compilers while
949 running configure, to aid debugging if configure makes a mistake.
951 It was created by $as_me, which was
952 generated by GNU Autoconf 2.53. Invocation command line was
963 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
964 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
965 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
966 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
967 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
969 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
970 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
972 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
973 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
974 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
975 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
976 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
977 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
978 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
986 test -z "$as_dir" && as_dir=.
1002 # Keep a trace of the command line.
1003 # Strip out --no-create and --no-recursion so they do not pile up.
1004 # Also quote any args containing shell meta-characters.
1010 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1011 | --no-cr | --no-c | -n ) continue ;;
1012 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1013 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1015 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1016 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1018 case " $ac_configure_args " in
1019 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1020 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1023 # Get rid of the leading space.
1026 # When interrupted or exit'd, cleanup temporary files, and complete
1027 # config.log. We remove comments because anyway the quotes in there
1028 # would cause problems or look ugly.
1029 # WARNING: Be sure not to use single quotes in there, as some shells,
1030 # such as our DU 5.0 friend, will then `close
' the trap.
1031 trap 'exit_status
=$?
1032 # Save into config.log some information that might help in debugging.
1036 ## ---------------- ##
1037 ## Cache variables. ##
1038 ## ---------------- ##
1041 # The following way of writing the cache mishandles newlines in values,
1044 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1047 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1052 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1057 if test -s confdefs.h
; then
1064 sed "/^$/d" confdefs.h
1067 test "$ac_signal" != 0 &&
1068 echo "$as_me: caught signal $ac_signal"
1069 echo "$as_me: exit $exit_status"
1071 rm -f core core.
* *.core
&&
1072 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1075 for ac_signal in 1 2 13 15; do
1076 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1080 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1081 rm -rf conftest* confdefs.h
1082 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1085 # Predefined preprocessor variables.
1087 cat >>confdefs.h <<_ACEOF
1088 #define PACKAGE_NAME "$PACKAGE_NAME"
1092 cat >>confdefs.h <<_ACEOF
1093 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1097 cat >>confdefs.h <<_ACEOF
1098 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1102 cat >>confdefs.h <<_ACEOF
1103 #define PACKAGE_STRING "$PACKAGE_STRING"
1107 cat >>confdefs.h <<_ACEOF
1108 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1112 # Let the site file select an alternate cache file if it wants to.
1113 # Prefer explicitly selected file to automatically selected ones.
1114 if test -z "$CONFIG_SITE"; then
1115 if test "x$prefix" != xNONE; then
1116 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1118 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1121 for ac_site_file in $CONFIG_SITE; do
1122 if test -r "$ac_site_file"; then
1123 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1124 echo "$as_me: loading site script $ac_site_file" >&6;}
1125 sed 's
/^
/| /' "$ac_site_file" >&5
1130 if test -r "$cache_file"; then
1131 # Some versions of bash will fail to source /dev/null (special
1132 # files actually), so we avoid doing that.
1133 if test -f "$cache_file"; then
1134 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1135 echo "$as_me: loading cache $cache_file" >&6;}
1137 [\\/]* | ?:[\\/]* ) . $cache_file;;
1138 *) . ./$cache_file;;
1142 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1143 echo "$as_me: creating cache $cache_file" >&6;}
1147 # Check that the precious variables saved in the cache have kept the same
1149 ac_cache_corrupted=false
1150 for ac_var in `(set) 2>&1 |
1151 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1152 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1153 eval ac_new_set=\$ac_env_${ac_var}_set
1154 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1155 eval ac_new_val="\$ac_env_${ac_var}_value"
1156 case $ac_old_set,$ac_new_set in
1158 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1159 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1160 ac_cache_corrupted=: ;;
1162 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1163 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1164 ac_cache_corrupted=: ;;
1167 if test "x$ac_old_val" != "x$ac_new_val"; then
1168 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1169 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1170 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1171 echo "$as_me: former value: $ac_old_val" >&2;}
1172 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1173 echo "$as_me: current value: $ac_new_val" >&2;}
1174 ac_cache_corrupted=:
1177 # Pass precious variables to config.status.
1178 if test "$ac_new_set" = set; then
1180 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1181 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1182 *) ac_arg=$ac_var=$ac_new_val ;;
1184 case " $ac_configure_args " in
1185 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1186 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1190 if $ac_cache_corrupted; then
1191 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1192 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1193 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1194 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1195 { (exit 1); exit 1; }; }
1199 ac_cpp='$CPP $CPPFLAGS'
1200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1201 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1222 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1223 if test -f $ac_dir/install-sh; then
1225 ac_install_sh="$ac_aux_dir/install-sh -c"
1227 elif test -f $ac_dir/install.sh; then
1229 ac_install_sh="$ac_aux_dir/install.sh -c"
1231 elif test -f $ac_dir/shtool; then
1233 ac_install_sh="$ac_aux_dir/shtool install -c"
1237 if test -z "$ac_aux_dir"; then
1238 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1239 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1240 { (exit 1); exit 1; }; }
1242 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1243 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1244 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1246 # Find a good install program. We prefer a C program (faster),
1247 # so one script is as good as another. But avoid the broken or
1248 # incompatible versions:
1249 # SysV /etc/install, /usr/sbin/install
1250 # SunOS /usr/etc/install
1251 # IRIX /sbin/install
1253 # AmigaOS /C/install, which installs bootblocks on floppy discs
1254 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1255 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1256 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1257 # ./install, which can be erroneously created by make from ./install.sh.
1258 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1259 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1260 if test -z "$INSTALL"; then
1261 if test "${ac_cv_path_install+set}" = set; then
1262 echo $ECHO_N "(cached) $ECHO_C" >&6
1264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1268 test -z "$as_dir" && as_dir
=.
1269 # Account for people who put trailing slashes in PATH elements.
1271 .
/ | .
// | /cC
/* | \
1272 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
1275 # OSF1 and SCO ODT 3.0 have their own names for install.
1276 # Don't use installbsd from OSF since it installs stuff as root
1278 for ac_prog
in ginstall scoinst
install; do
1279 for ac_exec_ext
in '' $ac_executable_extensions; do
1280 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1281 if test $ac_prog = install &&
1282 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1283 # AIX install. It has an incompatible calling convention.
1285 elif test $ac_prog = install &&
1286 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1287 # program-specific install script used by HP pwplus--don't use.
1290 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1302 if test "${ac_cv_path_install+set}" = set; then
1303 INSTALL
=$ac_cv_path_install
1305 # As a last resort, use the slow shell script. We don't cache a
1306 # path for INSTALL within a source directory, because that will
1307 # break other packages using the cache if that directory is
1308 # removed, or if the path is relative.
1309 INSTALL
=$ac_install_sh
1312 echo "$as_me:$LINENO: result: $INSTALL" >&5
1313 echo "${ECHO_T}$INSTALL" >&6
1315 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1316 # It thinks the first close brace ends the variable substitution.
1317 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1319 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1321 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1323 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1324 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1327 echo timestamp
> conftestfile
1328 # Do `set' in a subshell so we don't clobber the current shell's
1329 # arguments. Must try -L first in case configure is actually a
1330 # symlink; some systems play weird games with the mod time of symlinks
1331 # (eg FreeBSD returns the mod time of the symlink's containing
1334 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1335 if test "$*" = "X"; then
1337 set X
`ls -t $srcdir/configure conftestfile`
1339 if test "$*" != "X $srcdir/configure conftestfile" \
1340 && test "$*" != "X conftestfile $srcdir/configure"; then
1342 # If neither matched, then we have a broken ls. This can happen
1343 # if, for instance, CONFIG_SHELL is bash and it inherits a
1344 # broken ls alias from the environment. This has actually
1345 # happened. Such a system could not be considered "sane".
1346 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1347 alias in your environment" >&5
1348 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1349 alias in your environment" >&2;}
1350 { (exit 1); exit 1; }; }
1353 test "$2" = conftestfile
1359 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1360 Check your system clock" >&5
1361 echo "$as_me: error: newly created file is older than distributed files!
1362 Check your system clock" >&2;}
1363 { (exit 1); exit 1; }; }
1366 echo "$as_me:$LINENO: result: yes" >&5
1367 echo "${ECHO_T}yes" >&6
1368 test "$program_prefix" != NONE
&&
1369 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1370 # Use a double $ so make ignores it.
1371 test "$program_suffix" != NONE
&&
1372 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1373 # Double any \ or $. echo might interpret backslashes.
1374 # By default was `s,x,x', remove it if useless.
1375 cat <<\_ACEOF
>conftest.
sed
1376 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1378 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1381 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1382 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1383 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1384 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1385 echo $ECHO_N "(cached) $ECHO_C" >&6
1387 cat >conftest.
make <<\_ACEOF
1389 @
echo 'ac_maketemp="${MAKE}"'
1391 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1392 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1393 if test -n "$ac_maketemp"; then
1394 eval ac_cv_prog_make_
${ac_make}_set
=yes
1396 eval ac_cv_prog_make_
${ac_make}_set
=no
1400 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1401 echo "$as_me:$LINENO: result: yes" >&5
1402 echo "${ECHO_T}yes" >&6
1405 echo "$as_me:$LINENO: result: no" >&5
1406 echo "${ECHO_T}no" >&6
1407 SET_MAKE
="MAKE=${MAKE-make}"
1415 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
1416 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1417 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1418 { (exit 1); exit 1; }; }
1423 missing_dir
=`cd $ac_aux_dir && pwd`
1424 echo "$as_me:$LINENO: checking for working aclocal" >&5
1425 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
1426 # Run test in a subshell; some versions of sh will print an error if
1427 # an executable is not found, even if stderr is redirected.
1428 # Redirect stdin to placate older versions of autoconf. Sigh.
1429 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
1431 echo "$as_me:$LINENO: result: found" >&5
1432 echo "${ECHO_T}found" >&6
1434 ACLOCAL
="$missing_dir/missing aclocal"
1435 echo "$as_me:$LINENO: result: missing" >&5
1436 echo "${ECHO_T}missing" >&6
1439 echo "$as_me:$LINENO: checking for working autoconf" >&5
1440 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1441 # Run test in a subshell; some versions of sh will print an error if
1442 # an executable is not found, even if stderr is redirected.
1443 # Redirect stdin to placate older versions of autoconf. Sigh.
1444 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
1446 echo "$as_me:$LINENO: result: found" >&5
1447 echo "${ECHO_T}found" >&6
1449 AUTOCONF
="$missing_dir/missing autoconf"
1450 echo "$as_me:$LINENO: result: missing" >&5
1451 echo "${ECHO_T}missing" >&6
1454 echo "$as_me:$LINENO: checking for working automake" >&5
1455 echo $ECHO_N "checking for working automake... $ECHO_C" >&6
1456 # Run test in a subshell; some versions of sh will print an error if
1457 # an executable is not found, even if stderr is redirected.
1458 # Redirect stdin to placate older versions of autoconf. Sigh.
1459 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
1461 echo "$as_me:$LINENO: result: found" >&5
1462 echo "${ECHO_T}found" >&6
1464 AUTOMAKE
="$missing_dir/missing automake"
1465 echo "$as_me:$LINENO: result: missing" >&5
1466 echo "${ECHO_T}missing" >&6
1469 echo "$as_me:$LINENO: checking for working autoheader" >&5
1470 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1471 # Run test in a subshell; some versions of sh will print an error if
1472 # an executable is not found, even if stderr is redirected.
1473 # Redirect stdin to placate older versions of autoconf. Sigh.
1474 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
1475 AUTOHEADER
=autoheader
1476 echo "$as_me:$LINENO: result: found" >&5
1477 echo "${ECHO_T}found" >&6
1479 AUTOHEADER
="$missing_dir/missing autoheader"
1480 echo "$as_me:$LINENO: result: missing" >&5
1481 echo "${ECHO_T}missing" >&6
1484 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1485 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1486 # Run test in a subshell; some versions of sh will print an error if
1487 # an executable is not found, even if stderr is redirected.
1488 # Redirect stdin to placate older versions of autoconf. Sigh.
1489 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
1491 echo "$as_me:$LINENO: result: found" >&5
1492 echo "${ECHO_T}found" >&6
1494 MAKEINFO
="$missing_dir/missing makeinfo"
1495 echo "$as_me:$LINENO: result: missing" >&5
1496 echo "${ECHO_T}missing" >&6
1501 test x
$prefix = "xNONE" && prefix
="$ac_default_prefix"
1505 ac_cpp
='$CPP $CPPFLAGS'
1506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1509 if test -n "$ac_tool_prefix"; then
1510 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1511 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1512 echo "$as_me:$LINENO: checking for $ac_word" >&5
1513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1514 if test "${ac_cv_prog_CC+set}" = set; then
1515 echo $ECHO_N "(cached) $ECHO_C" >&6
1517 if test -n "$CC"; then
1518 ac_cv_prog_CC
="$CC" # Let the user override the test.
1520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1524 test -z "$as_dir" && as_dir
=.
1525 for ac_exec_ext
in '' $ac_executable_extensions; do
1526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1527 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1537 if test -n "$CC"; then
1538 echo "$as_me:$LINENO: result: $CC" >&5
1539 echo "${ECHO_T}$CC" >&6
1541 echo "$as_me:$LINENO: result: no" >&5
1542 echo "${ECHO_T}no" >&6
1546 if test -z "$ac_cv_prog_CC"; then
1548 # Extract the first word of "gcc", so it can be a program name with args.
1549 set dummy gcc
; ac_word
=$2
1550 echo "$as_me:$LINENO: checking for $ac_word" >&5
1551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1552 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 if test -n "$ac_ct_CC"; then
1556 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1562 test -z "$as_dir" && as_dir
=.
1563 for ac_exec_ext
in '' $ac_executable_extensions; do
1564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1565 ac_cv_prog_ac_ct_CC
="gcc"
1566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1574 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1575 if test -n "$ac_ct_CC"; then
1576 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1577 echo "${ECHO_T}$ac_ct_CC" >&6
1579 echo "$as_me:$LINENO: result: no" >&5
1580 echo "${ECHO_T}no" >&6
1588 if test -z "$CC"; then
1589 if test -n "$ac_tool_prefix"; then
1590 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1591 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1592 echo "$as_me:$LINENO: checking for $ac_word" >&5
1593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1594 if test "${ac_cv_prog_CC+set}" = set; then
1595 echo $ECHO_N "(cached) $ECHO_C" >&6
1597 if test -n "$CC"; then
1598 ac_cv_prog_CC
="$CC" # Let the user override the test.
1600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1604 test -z "$as_dir" && as_dir
=.
1605 for ac_exec_ext
in '' $ac_executable_extensions; do
1606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1607 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1617 if test -n "$CC"; then
1618 echo "$as_me:$LINENO: result: $CC" >&5
1619 echo "${ECHO_T}$CC" >&6
1621 echo "$as_me:$LINENO: result: no" >&5
1622 echo "${ECHO_T}no" >&6
1626 if test -z "$ac_cv_prog_CC"; then
1628 # Extract the first word of "cc", so it can be a program name with args.
1629 set dummy cc
; ac_word
=$2
1630 echo "$as_me:$LINENO: checking for $ac_word" >&5
1631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1632 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1633 echo $ECHO_N "(cached) $ECHO_C" >&6
1635 if test -n "$ac_ct_CC"; then
1636 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1642 test -z "$as_dir" && as_dir
=.
1643 for ac_exec_ext
in '' $ac_executable_extensions; do
1644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1645 ac_cv_prog_ac_ct_CC
="cc"
1646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1654 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1655 if test -n "$ac_ct_CC"; then
1656 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1657 echo "${ECHO_T}$ac_ct_CC" >&6
1659 echo "$as_me:$LINENO: result: no" >&5
1660 echo "${ECHO_T}no" >&6
1669 if test -z "$CC"; then
1670 # Extract the first word of "cc", so it can be a program name with args.
1671 set dummy cc
; ac_word
=$2
1672 echo "$as_me:$LINENO: checking for $ac_word" >&5
1673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1674 if test "${ac_cv_prog_CC+set}" = set; then
1675 echo $ECHO_N "(cached) $ECHO_C" >&6
1677 if test -n "$CC"; then
1678 ac_cv_prog_CC
="$CC" # Let the user override the test.
1681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1685 test -z "$as_dir" && as_dir
=.
1686 for ac_exec_ext
in '' $ac_executable_extensions; do
1687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1688 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1689 ac_prog_rejected
=yes
1693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1699 if test $ac_prog_rejected = yes; then
1700 # We found a bogon in the path, so make sure we never use it.
1701 set dummy
$ac_cv_prog_CC
1703 if test $# != 0; then
1704 # We chose a different compiler from the bogus one.
1705 # However, it has the same basename, so the bogon will be chosen
1706 # first if we set CC to just the basename; use the full file name.
1708 set dummy
"$as_dir/$ac_word" ${1+"$@"}
1716 if test -n "$CC"; then
1717 echo "$as_me:$LINENO: result: $CC" >&5
1718 echo "${ECHO_T}$CC" >&6
1720 echo "$as_me:$LINENO: result: no" >&5
1721 echo "${ECHO_T}no" >&6
1725 if test -z "$CC"; then
1726 if test -n "$ac_tool_prefix"; then
1729 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1730 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1731 echo "$as_me:$LINENO: checking for $ac_word" >&5
1732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1733 if test "${ac_cv_prog_CC+set}" = set; then
1734 echo $ECHO_N "(cached) $ECHO_C" >&6
1736 if test -n "$CC"; then
1737 ac_cv_prog_CC
="$CC" # Let the user override the test.
1739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1743 test -z "$as_dir" && as_dir
=.
1744 for ac_exec_ext
in '' $ac_executable_extensions; do
1745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1746 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1756 if test -n "$CC"; then
1757 echo "$as_me:$LINENO: result: $CC" >&5
1758 echo "${ECHO_T}$CC" >&6
1760 echo "$as_me:$LINENO: result: no" >&5
1761 echo "${ECHO_T}no" >&6
1764 test -n "$CC" && break
1767 if test -z "$CC"; then
1771 # Extract the first word of "$ac_prog", so it can be a program name with args.
1772 set dummy
$ac_prog; ac_word
=$2
1773 echo "$as_me:$LINENO: checking for $ac_word" >&5
1774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1775 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1776 echo $ECHO_N "(cached) $ECHO_C" >&6
1778 if test -n "$ac_ct_CC"; then
1779 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1785 test -z "$as_dir" && as_dir
=.
1786 for ac_exec_ext
in '' $ac_executable_extensions; do
1787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1788 ac_cv_prog_ac_ct_CC
="$ac_prog"
1789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1797 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1798 if test -n "$ac_ct_CC"; then
1799 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1800 echo "${ECHO_T}$ac_ct_CC" >&6
1802 echo "$as_me:$LINENO: result: no" >&5
1803 echo "${ECHO_T}no" >&6
1806 test -n "$ac_ct_CC" && break
1815 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1816 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1817 { (exit 1); exit 1; }; }
1819 # Provide some information about the compiler.
1820 echo "$as_me:$LINENO:" \
1821 "checking for C compiler version" >&5
1822 ac_compiler
=`set X $ac_compile; echo $2`
1823 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1824 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1827 (exit $ac_status); }
1828 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1829 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1832 (exit $ac_status); }
1833 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1834 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1837 (exit $ac_status); }
1839 cat >conftest.
$ac_ext <<_ACEOF
1840 #line $LINENO "configure"
1841 #include "confdefs.h"
1843 #ifdef F77_DUMMY_MAIN
1847 int F77_DUMMY_MAIN() { return 1; }
1857 ac_clean_files_save
=$ac_clean_files
1858 ac_clean_files
="$ac_clean_files a.out a.exe"
1859 # Try to create an executable without -o first, disregard a.out.
1860 # It will help us diagnose broken compilers, and finding out an intuition
1862 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1863 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1864 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1865 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1866 (eval $ac_link_default) 2>&5
1868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1869 (exit $ac_status); }; then
1870 # Find the output, starting from the most likely. This scheme is
1871 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1874 # Be careful to initialize this variable, since it used to be cached.
1875 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1877 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1878 ls a.out conftest 2>/dev/null;
1879 ls a.* conftest.* 2>/dev/null`; do
1881 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
) ;;
1882 a.out
) # We found the default executable, but exeext='' is most
1885 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1886 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1893 echo "$as_me: failed program was:" >&5
1894 cat conftest.
$ac_ext >&5
1895 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1896 echo "$as_me: error: C compiler cannot create executables" >&2;}
1897 { (exit 77); exit 77; }; }
1900 ac_exeext
=$ac_cv_exeext
1901 echo "$as_me:$LINENO: result: $ac_file" >&5
1902 echo "${ECHO_T}$ac_file" >&6
1904 # Check the compiler produces executables we can run. If not, either
1905 # the compiler is broken, or we cross compile.
1906 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1907 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1908 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1909 # If not cross compiling, check that we can run a simple program.
1910 if test "$cross_compiling" != yes; then
1911 if { ac_try
='./$ac_file'
1912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1916 (exit $ac_status); }; }; then
1919 if test "$cross_compiling" = maybe
; then
1922 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1923 If you meant to cross compile, use \`--host'." >&5
1924 echo "$as_me: error: cannot run C compiled programs.
1925 If you meant to cross compile, use \`--host'." >&2;}
1926 { (exit 1); exit 1; }; }
1930 echo "$as_me:$LINENO: result: yes" >&5
1931 echo "${ECHO_T}yes" >&6
1933 rm -f a.out a.exe conftest
$ac_cv_exeext
1934 ac_clean_files
=$ac_clean_files_save
1935 # Check the compiler produces executables we can run. If not, either
1936 # the compiler is broken, or we cross compile.
1937 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1938 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1939 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1940 echo "${ECHO_T}$cross_compiling" >&6
1942 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1943 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1945 (eval $ac_link) 2>&5
1947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1948 (exit $ac_status); }; then
1949 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1950 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1951 # work properly (i.e., refer to `conftest.exe'), while it won't with
1953 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1955 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
1956 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1963 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1964 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1965 { (exit 1); exit 1; }; }
1968 rm -f conftest
$ac_cv_exeext
1969 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1970 echo "${ECHO_T}$ac_cv_exeext" >&6
1972 rm -f conftest.
$ac_ext
1973 EXEEXT
=$ac_cv_exeext
1975 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1976 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1977 if test "${ac_cv_objext+set}" = set; then
1978 echo $ECHO_N "(cached) $ECHO_C" >&6
1980 cat >conftest.
$ac_ext <<_ACEOF
1981 #line $LINENO "configure"
1982 #include "confdefs.h"
1984 #ifdef F77_DUMMY_MAIN
1988 int F77_DUMMY_MAIN() { return 1; }
1998 rm -f conftest.o conftest.obj
1999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2000 (eval $ac_compile) 2>&5
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 (exit $ac_status); }; then
2004 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2006 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
2007 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2012 echo "$as_me: failed program was:" >&5
2013 cat conftest.
$ac_ext >&5
2014 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2015 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2016 { (exit 1); exit 1; }; }
2019 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2021 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2022 echo "${ECHO_T}$ac_cv_objext" >&6
2023 OBJEXT
=$ac_cv_objext
2025 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2026 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2027 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2028 echo $ECHO_N "(cached) $ECHO_C" >&6
2030 cat >conftest.
$ac_ext <<_ACEOF
2031 #line $LINENO "configure"
2032 #include "confdefs.h"
2034 #ifdef F77_DUMMY_MAIN
2038 int F77_DUMMY_MAIN() { return 1; }
2051 rm -f conftest.
$ac_objext
2052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2053 (eval $ac_compile) 2>&5
2055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056 (exit $ac_status); } &&
2057 { ac_try
='test -s conftest.$ac_objext'
2058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062 (exit $ac_status); }; }; then
2065 echo "$as_me: failed program was:" >&5
2066 cat conftest.
$ac_ext >&5
2069 rm -f conftest.
$ac_objext conftest.
$ac_ext
2070 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2073 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2074 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2075 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2076 ac_test_CFLAGS
=${CFLAGS+set}
2077 ac_save_CFLAGS
=$CFLAGS
2079 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2080 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2081 if test "${ac_cv_prog_cc_g+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
2084 cat >conftest.
$ac_ext <<_ACEOF
2085 #line $LINENO "configure"
2086 #include "confdefs.h"
2088 #ifdef F77_DUMMY_MAIN
2092 int F77_DUMMY_MAIN() { return 1; }
2102 rm -f conftest.
$ac_objext
2103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2104 (eval $ac_compile) 2>&5
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107 (exit $ac_status); } &&
2108 { ac_try
='test -s conftest.$ac_objext'
2109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); }; }; then
2116 echo "$as_me: failed program was:" >&5
2117 cat conftest.
$ac_ext >&5
2120 rm -f conftest.
$ac_objext conftest.
$ac_ext
2122 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2123 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2124 if test "$ac_test_CFLAGS" = set; then
2125 CFLAGS
=$ac_save_CFLAGS
2126 elif test $ac_cv_prog_cc_g = yes; then
2127 if test "$GCC" = yes; then
2133 if test "$GCC" = yes; then
2139 # Some people use a C++ compiler to compile C. Since we use `exit',
2140 # in C++ we need to declare it. In case someone uses the same compiler
2141 # for both compiling C and C++ we need to have the C++ compiler decide
2142 # the declaration of exit, since it's the most demanding environment.
2143 cat >conftest.
$ac_ext <<_ACEOF
2148 rm -f conftest.
$ac_objext
2149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2150 (eval $ac_compile) 2>&5
2152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153 (exit $ac_status); } &&
2154 { ac_try
='test -s conftest.$ac_objext'
2155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2159 (exit $ac_status); }; }; then
2160 for ac_declaration
in \
2162 '#include <stdlib.h>' \
2163 'extern "C" void std::exit (int) throw (); using std::exit;' \
2164 'extern "C" void std::exit (int); using std::exit;' \
2165 'extern "C" void exit (int) throw ();' \
2166 'extern "C" void exit (int);' \
2169 cat >conftest.
$ac_ext <<_ACEOF
2170 #line $LINENO "configure"
2171 #include "confdefs.h"
2174 #ifdef F77_DUMMY_MAIN
2178 int F77_DUMMY_MAIN() { return 1; }
2188 rm -f conftest.
$ac_objext
2189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2190 (eval $ac_compile) 2>&5
2192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193 (exit $ac_status); } &&
2194 { ac_try
='test -s conftest.$ac_objext'
2195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199 (exit $ac_status); }; }; then
2202 echo "$as_me: failed program was:" >&5
2203 cat conftest.
$ac_ext >&5
2206 rm -f conftest.
$ac_objext conftest.
$ac_ext
2207 cat >conftest.
$ac_ext <<_ACEOF
2208 #line $LINENO "configure"
2209 #include "confdefs.h"
2211 #ifdef F77_DUMMY_MAIN
2215 int F77_DUMMY_MAIN() { return 1; }
2225 rm -f conftest.
$ac_objext
2226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2227 (eval $ac_compile) 2>&5
2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2230 (exit $ac_status); } &&
2231 { ac_try
='test -s conftest.$ac_objext'
2232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2236 (exit $ac_status); }; }; then
2239 echo "$as_me: failed program was:" >&5
2240 cat conftest.
$ac_ext >&5
2242 rm -f conftest.
$ac_objext conftest.
$ac_ext
2245 if test -n "$ac_declaration"; then
2246 echo '#ifdef __cplusplus' >>confdefs.h
2247 echo $ac_declaration >>confdefs.h
2248 echo '#endif' >>confdefs.h
2252 echo "$as_me: failed program was:" >&5
2253 cat conftest.
$ac_ext >&5
2255 rm -f conftest.
$ac_objext conftest.
$ac_ext
2257 ac_cpp
='$CPP $CPPFLAGS'
2258 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2259 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2260 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2263 ac_cpp
='$CXXCPP $CPPFLAGS'
2264 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2265 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2266 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2267 if test -n "$ac_tool_prefix"; then
2268 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2270 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2271 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2272 echo "$as_me:$LINENO: checking for $ac_word" >&5
2273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2274 if test "${ac_cv_prog_CXX+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 if test -n "$CXX"; then
2278 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2284 test -z "$as_dir" && as_dir
=.
2285 for ac_exec_ext
in '' $ac_executable_extensions; do
2286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2287 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 if test -n "$CXX"; then
2298 echo "$as_me:$LINENO: result: $CXX" >&5
2299 echo "${ECHO_T}$CXX" >&6
2301 echo "$as_me:$LINENO: result: no" >&5
2302 echo "${ECHO_T}no" >&6
2305 test -n "$CXX" && break
2308 if test -z "$CXX"; then
2310 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2312 # Extract the first word of "$ac_prog", so it can be a program name with args.
2313 set dummy
$ac_prog; ac_word
=$2
2314 echo "$as_me:$LINENO: checking for $ac_word" >&5
2315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2316 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2317 echo $ECHO_N "(cached) $ECHO_C" >&6
2319 if test -n "$ac_ct_CXX"; then
2320 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2326 test -z "$as_dir" && as_dir
=.
2327 for ac_exec_ext
in '' $ac_executable_extensions; do
2328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2329 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2338 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2339 if test -n "$ac_ct_CXX"; then
2340 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2341 echo "${ECHO_T}$ac_ct_CXX" >&6
2343 echo "$as_me:$LINENO: result: no" >&5
2344 echo "${ECHO_T}no" >&6
2347 test -n "$ac_ct_CXX" && break
2349 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2355 # Provide some information about the compiler.
2356 echo "$as_me:$LINENO:" \
2357 "checking for C++ compiler version" >&5
2358 ac_compiler
=`set X $ac_compile; echo $2`
2359 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2360 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }
2364 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2365 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }
2369 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2370 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); }
2375 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2376 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2377 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2378 echo $ECHO_N "(cached) $ECHO_C" >&6
2380 cat >conftest.
$ac_ext <<_ACEOF
2381 #line $LINENO "configure"
2382 #include "confdefs.h"
2384 #ifdef F77_DUMMY_MAIN
2388 int F77_DUMMY_MAIN() { return 1; }
2401 rm -f conftest.
$ac_objext
2402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2403 (eval $ac_compile) 2>&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); } &&
2407 { ac_try
='test -s conftest.$ac_objext'
2408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }; }; then
2415 echo "$as_me: failed program was:" >&5
2416 cat conftest.
$ac_ext >&5
2419 rm -f conftest.
$ac_objext conftest.
$ac_ext
2420 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2423 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2424 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2425 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2426 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2427 ac_save_CXXFLAGS
=$CXXFLAGS
2429 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2430 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2431 if test "${ac_cv_prog_cxx_g+set}" = set; then
2432 echo $ECHO_N "(cached) $ECHO_C" >&6
2434 cat >conftest.
$ac_ext <<_ACEOF
2435 #line $LINENO "configure"
2436 #include "confdefs.h"
2438 #ifdef F77_DUMMY_MAIN
2442 int F77_DUMMY_MAIN() { return 1; }
2452 rm -f conftest.
$ac_objext
2453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2454 (eval $ac_compile) 2>&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); } &&
2458 { ac_try
='test -s conftest.$ac_objext'
2459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); }; }; then
2464 ac_cv_prog_cxx_g
=yes
2466 echo "$as_me: failed program was:" >&5
2467 cat conftest.
$ac_ext >&5
2470 rm -f conftest.
$ac_objext conftest.
$ac_ext
2472 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2473 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2474 if test "$ac_test_CXXFLAGS" = set; then
2475 CXXFLAGS
=$ac_save_CXXFLAGS
2476 elif test $ac_cv_prog_cxx_g = yes; then
2477 if test "$GXX" = yes; then
2483 if test "$GXX" = yes; then
2489 for ac_declaration
in \
2491 '#include <stdlib.h>' \
2492 'extern "C" void std::exit (int) throw (); using std::exit;' \
2493 'extern "C" void std::exit (int); using std::exit;' \
2494 'extern "C" void exit (int) throw ();' \
2495 'extern "C" void exit (int);' \
2498 cat >conftest.
$ac_ext <<_ACEOF
2499 #line $LINENO "configure"
2500 #include "confdefs.h"
2503 #ifdef F77_DUMMY_MAIN
2507 int F77_DUMMY_MAIN() { return 1; }
2517 rm -f conftest.
$ac_objext
2518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2519 (eval $ac_compile) 2>&5
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); } &&
2523 { ac_try
='test -s conftest.$ac_objext'
2524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); }; }; then
2531 echo "$as_me: failed program was:" >&5
2532 cat conftest.
$ac_ext >&5
2535 rm -f conftest.
$ac_objext conftest.
$ac_ext
2536 cat >conftest.
$ac_ext <<_ACEOF
2537 #line $LINENO "configure"
2538 #include "confdefs.h"
2540 #ifdef F77_DUMMY_MAIN
2544 int F77_DUMMY_MAIN() { return 1; }
2554 rm -f conftest.
$ac_objext
2555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2556 (eval $ac_compile) 2>&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); } &&
2560 { ac_try
='test -s conftest.$ac_objext'
2561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }; }; then
2568 echo "$as_me: failed program was:" >&5
2569 cat conftest.
$ac_ext >&5
2571 rm -f conftest.
$ac_objext conftest.
$ac_ext
2574 if test -n "$ac_declaration"; then
2575 echo '#ifdef __cplusplus' >>confdefs.h
2576 echo $ac_declaration >>confdefs.h
2577 echo '#endif' >>confdefs.h
2581 ac_cpp
='$CPP $CPPFLAGS'
2582 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2583 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2586 # Find a good install program. We prefer a C program (faster),
2587 # so one script is as good as another. But avoid the broken or
2588 # incompatible versions:
2589 # SysV /etc/install, /usr/sbin/install
2590 # SunOS /usr/etc/install
2591 # IRIX /sbin/install
2593 # AmigaOS /C/install, which installs bootblocks on floppy discs
2594 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2595 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2596 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2597 # ./install, which can be erroneously created by make from ./install.sh.
2598 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2599 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2600 if test -z "$INSTALL"; then
2601 if test "${ac_cv_path_install+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2608 test -z "$as_dir" && as_dir
=.
2609 # Account for people who put trailing slashes in PATH elements.
2611 .
/ | .
// | /cC
/* | \
2612 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2615 # OSF1 and SCO ODT 3.0 have their own names for install.
2616 # Don't use installbsd from OSF since it installs stuff as root
2618 for ac_prog
in ginstall scoinst
install; do
2619 for ac_exec_ext
in '' $ac_executable_extensions; do
2620 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2621 if test $ac_prog = install &&
2622 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2623 # AIX install. It has an incompatible calling convention.
2625 elif test $ac_prog = install &&
2626 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2627 # program-specific install script used by HP pwplus--don't use.
2630 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2642 if test "${ac_cv_path_install+set}" = set; then
2643 INSTALL
=$ac_cv_path_install
2645 # As a last resort, use the slow shell script. We don't cache a
2646 # path for INSTALL within a source directory, because that will
2647 # break other packages using the cache if that directory is
2648 # removed, or if the path is relative.
2649 INSTALL
=$ac_install_sh
2652 echo "$as_me:$LINENO: result: $INSTALL" >&5
2653 echo "${ECHO_T}$INSTALL" >&6
2655 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2656 # It thinks the first close brace ends the variable substitution.
2657 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2659 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2661 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2666 # Extract the first word of "$ac_prog", so it can be a program name with args.
2667 set dummy
$ac_prog; ac_word
=$2
2668 echo "$as_me:$LINENO: checking for $ac_word" >&5
2669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2670 if test "${ac_cv_prog_regex_cmd+set}" = set; then
2671 echo $ECHO_N "(cached) $ECHO_C" >&6
2673 if test -n "$regex_cmd"; then
2674 ac_cv_prog_regex_cmd
="$regex_cmd" # Let the user override the test.
2676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2680 test -z "$as_dir" && as_dir
=.
2681 for ac_exec_ext
in '' $ac_executable_extensions; do
2682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2683 ac_cv_prog_regex_cmd
="$ac_prog"
2684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2692 regex_cmd
=$ac_cv_prog_regex_cmd
2693 if test -n "$regex_cmd"; then
2694 echo "$as_me:$LINENO: result: $regex_cmd" >&5
2695 echo "${ECHO_T}$regex_cmd" >&6
2697 echo "$as_me:$LINENO: result: no" >&5
2698 echo "${ECHO_T}no" >&6
2701 test -n "$regex_cmd" && break
2704 if test x
$regex_cmd = "x"; then
2705 { { echo "$as_me:$LINENO: error: error. sed is required to build the default menu file." >&5
2706 echo "$as_me: error: error. sed is required to build the default menu file." >&2;}
2707 { (exit 1); exit 1; }; }
2712 ac_cpp
='$CPP $CPPFLAGS'
2713 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2714 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2715 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2716 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2717 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2718 # On Suns, sometimes $CPP names a directory.
2719 if test -n "$CPP" && test -d "$CPP"; then
2722 if test -z "$CPP"; then
2723 if test "${ac_cv_prog_CPP+set}" = set; then
2724 echo $ECHO_N "(cached) $ECHO_C" >&6
2726 # Double quotes because CPP needs to be expanded
2727 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2730 for ac_c_preproc_warn_flag
in '' yes
2732 # Use a header file that comes with gcc, so configuring glibc
2733 # with a fresh cross-compiler works.
2734 # On the NeXT, cc -E runs the code through the compiler's parser,
2735 # not just through cpp. "Syntax error" is here to catch this case.
2736 cat >conftest.
$ac_ext <<_ACEOF
2737 #line $LINENO "configure"
2738 #include "confdefs.h"
2742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2743 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2745 egrep -v '^ *\+' conftest.er1
>conftest.err
2747 cat conftest.err
>&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); } >/dev
/null
; then
2750 if test -s conftest.err
; then
2751 ac_cpp_err
=$ac_c_preproc_warn_flag
2758 if test -z "$ac_cpp_err"; then
2761 echo "$as_me: failed program was:" >&5
2762 cat conftest.
$ac_ext >&5
2763 # Broken: fails on valid input.
2766 rm -f conftest.err conftest.
$ac_ext
2768 # OK, works on sane cases. Now check whether non-existent headers
2769 # can be detected and how.
2770 cat >conftest.
$ac_ext <<_ACEOF
2771 #line $LINENO "configure"
2772 #include "confdefs.h"
2773 #include <ac_nonexistent.h>
2775 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2776 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2778 egrep -v '^ *\+' conftest.er1
>conftest.err
2780 cat conftest.err
>&5
2781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 (exit $ac_status); } >/dev
/null
; then
2783 if test -s conftest.err
; then
2784 ac_cpp_err
=$ac_c_preproc_warn_flag
2791 if test -z "$ac_cpp_err"; then
2792 # Broken: success on invalid input.
2795 echo "$as_me: failed program was:" >&5
2796 cat conftest.
$ac_ext >&5
2797 # Passes both tests.
2801 rm -f conftest.err conftest.
$ac_ext
2804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2805 rm -f conftest.err conftest.
$ac_ext
2806 if $ac_preproc_ok; then
2818 echo "$as_me:$LINENO: result: $CPP" >&5
2819 echo "${ECHO_T}$CPP" >&6
2821 for ac_c_preproc_warn_flag
in '' yes
2823 # Use a header file that comes with gcc, so configuring glibc
2824 # with a fresh cross-compiler works.
2825 # On the NeXT, cc -E runs the code through the compiler's parser,
2826 # not just through cpp. "Syntax error" is here to catch this case.
2827 cat >conftest.
$ac_ext <<_ACEOF
2828 #line $LINENO "configure"
2829 #include "confdefs.h"
2833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2834 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2836 egrep -v '^ *\+' conftest.er1
>conftest.err
2838 cat conftest.err
>&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); } >/dev
/null
; then
2841 if test -s conftest.err
; then
2842 ac_cpp_err
=$ac_c_preproc_warn_flag
2849 if test -z "$ac_cpp_err"; then
2852 echo "$as_me: failed program was:" >&5
2853 cat conftest.
$ac_ext >&5
2854 # Broken: fails on valid input.
2857 rm -f conftest.err conftest.
$ac_ext
2859 # OK, works on sane cases. Now check whether non-existent headers
2860 # can be detected and how.
2861 cat >conftest.
$ac_ext <<_ACEOF
2862 #line $LINENO "configure"
2863 #include "confdefs.h"
2864 #include <ac_nonexistent.h>
2866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2867 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2869 egrep -v '^ *\+' conftest.er1
>conftest.err
2871 cat conftest.err
>&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); } >/dev
/null
; then
2874 if test -s conftest.err
; then
2875 ac_cpp_err
=$ac_c_preproc_warn_flag
2882 if test -z "$ac_cpp_err"; then
2883 # Broken: success on invalid input.
2886 echo "$as_me: failed program was:" >&5
2887 cat conftest.
$ac_ext >&5
2888 # Passes both tests.
2892 rm -f conftest.err conftest.
$ac_ext
2895 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2896 rm -f conftest.err conftest.
$ac_ext
2897 if $ac_preproc_ok; then
2900 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2901 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2902 { (exit 1); exit 1; }; }
2906 ac_cpp
='$CPP $CPPFLAGS'
2907 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2908 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2909 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2912 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2913 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2914 if test "${ac_cv_header_stdc+set}" = set; then
2915 echo $ECHO_N "(cached) $ECHO_C" >&6
2917 cat >conftest.
$ac_ext <<_ACEOF
2918 #line $LINENO "configure"
2919 #include "confdefs.h"
2926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2927 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2929 egrep -v '^ *\+' conftest.er1
>conftest.err
2931 cat conftest.err
>&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } >/dev
/null
; then
2934 if test -s conftest.err
; then
2935 ac_cpp_err
=$ac_c_preproc_warn_flag
2942 if test -z "$ac_cpp_err"; then
2943 ac_cv_header_stdc
=yes
2945 echo "$as_me: failed program was:" >&5
2946 cat conftest.
$ac_ext >&5
2947 ac_cv_header_stdc
=no
2949 rm -f conftest.err conftest.
$ac_ext
2951 if test $ac_cv_header_stdc = yes; then
2952 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2953 cat >conftest.
$ac_ext <<_ACEOF
2954 #line $LINENO "configure"
2955 #include "confdefs.h"
2959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2960 egrep "memchr" >/dev
/null
2>&1; then
2963 ac_cv_header_stdc
=no
2969 if test $ac_cv_header_stdc = yes; then
2970 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2971 cat >conftest.
$ac_ext <<_ACEOF
2972 #line $LINENO "configure"
2973 #include "confdefs.h"
2977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2978 egrep "free" >/dev
/null
2>&1; then
2981 ac_cv_header_stdc
=no
2987 if test $ac_cv_header_stdc = yes; then
2988 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2989 if test "$cross_compiling" = yes; then
2992 cat >conftest.
$ac_ext <<_ACEOF
2993 #line $LINENO "configure"
2994 #include "confdefs.h"
2996 #if ((' ' & 0x0FF) == 0x020)
2997 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2998 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3000 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3001 || ('j' <= (c) && (c) <= 'r') \
3002 || ('s' <= (c) && (c) <= 'z'))
3003 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3006 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3011 for (i = 0; i < 256; i++)
3012 if (XOR (islower (i), ISLOWER (i))
3013 || toupper (i) != TOUPPER (i))
3018 rm -f conftest
$ac_exeext
3019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3020 (eval $ac_link) 2>&5
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); }; }; then
3031 echo "$as_me: program exited with status $ac_status" >&5
3032 echo "$as_me: failed program was:" >&5
3033 cat conftest.
$ac_ext >&5
3035 ac_cv_header_stdc
=no
3037 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3041 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3042 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3043 if test $ac_cv_header_stdc = yes; then
3045 cat >>confdefs.h
<<\_ACEOF
3046 #define STDC_HEADERS 1
3051 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3061 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3062 inttypes.h stdint.h unistd.h
3064 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3065 echo "$as_me:$LINENO: checking for $ac_header" >&5
3066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3068 echo $ECHO_N "(cached) $ECHO_C" >&6
3070 cat >conftest.
$ac_ext <<_ACEOF
3071 #line $LINENO "configure"
3072 #include "confdefs.h"
3073 $ac_includes_default
3075 #include <$ac_header>
3077 rm -f conftest.
$ac_objext
3078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3079 (eval $ac_compile) 2>&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); } &&
3083 { ac_try
='test -s conftest.$ac_objext'
3084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }; }; then
3089 eval "$as_ac_Header=yes"
3091 echo "$as_me: failed program was:" >&5
3092 cat conftest.
$ac_ext >&5
3093 eval "$as_ac_Header=no"
3095 rm -f conftest.
$ac_objext conftest.
$ac_ext
3097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3100 cat >>confdefs.h
<<_ACEOF
3101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3128 for ac_header
in ctype.h dirent.h fcntl.h libgen.h locale.h nl_types.h process.h signal.h stdarg.h stdio.h
time.h unistd.h sys
/param.h sys
/select.h sys
/signal.h sys
/stat.h sys
/time.h sys
/types.h sys
/wait.h
3130 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3132 echo "$as_me:$LINENO: checking for $ac_header" >&5
3133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3135 echo $ECHO_N "(cached) $ECHO_C" >&6
3137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3140 # Is the header compilable?
3141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3143 cat >conftest.
$ac_ext <<_ACEOF
3144 #line $LINENO "configure"
3145 #include "confdefs.h"
3146 $ac_includes_default
3147 #include <$ac_header>
3149 rm -f conftest.
$ac_objext
3150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3151 (eval $ac_compile) 2>&5
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); } &&
3155 { ac_try
='test -s conftest.$ac_objext'
3156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160 (exit $ac_status); }; }; then
3161 ac_header_compiler
=yes
3163 echo "$as_me: failed program was:" >&5
3164 cat conftest.
$ac_ext >&5
3165 ac_header_compiler
=no
3167 rm -f conftest.
$ac_objext conftest.
$ac_ext
3168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3169 echo "${ECHO_T}$ac_header_compiler" >&6
3171 # Is the header present?
3172 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3174 cat >conftest.
$ac_ext <<_ACEOF
3175 #line $LINENO "configure"
3176 #include "confdefs.h"
3177 #include <$ac_header>
3179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3180 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3182 egrep -v '^ *\+' conftest.er1
>conftest.err
3184 cat conftest.err
>&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); } >/dev
/null
; then
3187 if test -s conftest.err
; then
3188 ac_cpp_err
=$ac_c_preproc_warn_flag
3195 if test -z "$ac_cpp_err"; then
3196 ac_header_preproc
=yes
3198 echo "$as_me: failed program was:" >&5
3199 cat conftest.
$ac_ext >&5
3200 ac_header_preproc
=no
3202 rm -f conftest.err conftest.
$ac_ext
3203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3204 echo "${ECHO_T}$ac_header_preproc" >&6
3206 # So? What about this header?
3207 case $ac_header_compiler:$ac_header_preproc in
3209 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3210 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3212 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3214 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3215 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3216 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3217 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3219 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3221 echo "$as_me:$LINENO: checking for $ac_header" >&5
3222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3224 echo $ECHO_N "(cached) $ECHO_C" >&6
3226 eval "$as_ac_Header=$ac_header_preproc"
3228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3233 cat >>confdefs.h
<<_ACEOF
3234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3241 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
3242 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
3243 if test "${ac_cv_header_time+set}" = set; then
3244 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 cat >conftest.
$ac_ext <<_ACEOF
3247 #line $LINENO "configure"
3248 #include "confdefs.h"
3249 #include <sys/types.h>
3250 #include <sys/time.h>
3253 #ifdef F77_DUMMY_MAIN
3257 int F77_DUMMY_MAIN() { return 1; }
3262 if ((struct tm *) 0)
3268 rm -f conftest.
$ac_objext
3269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3270 (eval $ac_compile) 2>&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); } &&
3274 { ac_try
='test -s conftest.$ac_objext'
3275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); }; }; then
3280 ac_cv_header_time
=yes
3282 echo "$as_me: failed program was:" >&5
3283 cat conftest.
$ac_ext >&5
3284 ac_cv_header_time
=no
3286 rm -f conftest.
$ac_objext conftest.
$ac_ext
3288 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3289 echo "${ECHO_T}$ac_cv_header_time" >&6
3290 if test $ac_cv_header_time = yes; then
3292 cat >>confdefs.h
<<\_ACEOF
3293 #define TIME_WITH_SYS_TIME 1
3300 for ac_func
in basename
3302 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3303 echo "$as_me:$LINENO: checking for $ac_func" >&5
3304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3305 if eval "test \"\${$as_ac_var+set}\" = set"; then
3306 echo $ECHO_N "(cached) $ECHO_C" >&6
3308 cat >conftest.
$ac_ext <<_ACEOF
3309 #line $LINENO "configure"
3310 #include "confdefs.h"
3311 /* System header to define __stub macros and hopefully few prototypes,
3312 which can conflict with char $ac_func (); below. */
3314 /* Override any gcc2 internal prototype to avoid an error. */
3318 /* We use char because int might match the return type of a gcc2
3319 builtin and then its argument prototype would still apply. */
3323 #ifdef F77_DUMMY_MAIN
3327 int F77_DUMMY_MAIN() { return 1; }
3332 /* The GNU C library defines this for functions which it implements
3333 to always fail with ENOSYS. Some functions are actually named
3334 something starting with __ and the normal name is an alias. */
3335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3345 rm -f conftest.
$ac_objext conftest
$ac_exeext
3346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3347 (eval $ac_link) 2>&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); } &&
3351 { ac_try
='test -s conftest$ac_exeext'
3352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); }; }; then
3357 eval "$as_ac_var=yes"
3359 echo "$as_me: failed program was:" >&5
3360 cat conftest.
$ac_ext >&5
3361 eval "$as_ac_var=no"
3363 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3367 if test `eval echo '${'$as_ac_var'}'` = yes; then
3368 cat >>confdefs.h
<<_ACEOF
3369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3373 echo "$as_me:$LINENO: checking for basename in -lgen" >&5
3374 echo $ECHO_N "checking for basename in -lgen... $ECHO_C" >&6
3375 if test "${ac_cv_lib_gen_basename+set}" = set; then
3376 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 ac_check_lib_save_LIBS
=$LIBS
3380 cat >conftest.
$ac_ext <<_ACEOF
3381 #line $LINENO "configure"
3382 #include "confdefs.h"
3384 /* Override any gcc2 internal prototype to avoid an error. */
3388 /* We use char because int might match the return type of a gcc2
3389 builtin and then its argument prototype would still apply. */
3391 #ifdef F77_DUMMY_MAIN
3395 int F77_DUMMY_MAIN() { return 1; }
3405 rm -f conftest.
$ac_objext conftest
$ac_exeext
3406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3407 (eval $ac_link) 2>&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); } &&
3411 { ac_try
='test -s conftest$ac_exeext'
3412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); }; }; then
3417 ac_cv_lib_gen_basename
=yes
3419 echo "$as_me: failed program was:" >&5
3420 cat conftest.
$ac_ext >&5
3421 ac_cv_lib_gen_basename
=no
3423 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3424 LIBS
=$ac_check_lib_save_LIBS
3426 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_basename" >&5
3427 echo "${ECHO_T}$ac_cv_lib_gen_basename" >&6
3428 if test $ac_cv_lib_gen_basename = yes; then
3429 cat >>confdefs.h
<<\_ACEOF
3430 #define HAVE_BASENAME 1
3448 for ac_func
in getpid setlocale sigaction strftime strcasestr snprintf vsnprintf catopen catgets catclose
3450 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3451 echo "$as_me:$LINENO: checking for $ac_func" >&5
3452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3453 if eval "test \"\${$as_ac_var+set}\" = set"; then
3454 echo $ECHO_N "(cached) $ECHO_C" >&6
3456 cat >conftest.
$ac_ext <<_ACEOF
3457 #line $LINENO "configure"
3458 #include "confdefs.h"
3459 /* System header to define __stub macros and hopefully few prototypes,
3460 which can conflict with char $ac_func (); below. */
3462 /* Override any gcc2 internal prototype to avoid an error. */
3466 /* We use char because int might match the return type of a gcc2
3467 builtin and then its argument prototype would still apply. */
3471 #ifdef F77_DUMMY_MAIN
3475 int F77_DUMMY_MAIN() { return 1; }
3480 /* The GNU C library defines this for functions which it implements
3481 to always fail with ENOSYS. Some functions are actually named
3482 something starting with __ and the normal name is an alias. */
3483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3493 rm -f conftest.
$ac_objext conftest
$ac_exeext
3494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3495 (eval $ac_link) 2>&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); } &&
3499 { ac_try
='test -s conftest$ac_exeext'
3500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); }; }; then
3505 eval "$as_ac_var=yes"
3507 echo "$as_me: failed program was:" >&5
3508 cat conftest.
$ac_ext >&5
3509 eval "$as_ac_var=no"
3511 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3515 if test `eval echo '${'$as_ac_var'}'` = yes; then
3516 cat >>confdefs.h
<<_ACEOF
3517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3523 echo "$as_me:$LINENO: checking for t_open in -lnsl" >&5
3524 echo $ECHO_N "checking for t_open in -lnsl... $ECHO_C" >&6
3525 if test "${ac_cv_lib_nsl_t_open+set}" = set; then
3526 echo $ECHO_N "(cached) $ECHO_C" >&6
3528 ac_check_lib_save_LIBS
=$LIBS
3530 cat >conftest.
$ac_ext <<_ACEOF
3531 #line $LINENO "configure"
3532 #include "confdefs.h"
3534 /* Override any gcc2 internal prototype to avoid an error. */
3538 /* We use char because int might match the return type of a gcc2
3539 builtin and then its argument prototype would still apply. */
3541 #ifdef F77_DUMMY_MAIN
3545 int F77_DUMMY_MAIN() { return 1; }
3555 rm -f conftest.
$ac_objext conftest
$ac_exeext
3556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3557 (eval $ac_link) 2>&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); } &&
3561 { ac_try
='test -s conftest$ac_exeext'
3562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); }; }; then
3567 ac_cv_lib_nsl_t_open
=yes
3569 echo "$as_me: failed program was:" >&5
3570 cat conftest.
$ac_ext >&5
3571 ac_cv_lib_nsl_t_open
=no
3573 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3574 LIBS
=$ac_check_lib_save_LIBS
3576 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_t_open" >&5
3577 echo "${ECHO_T}$ac_cv_lib_nsl_t_open" >&6
3578 if test $ac_cv_lib_nsl_t_open = yes; then
3582 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3583 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3584 if test "${ac_cv_lib_socket_socket+set}" = set; then
3585 echo $ECHO_N "(cached) $ECHO_C" >&6
3587 ac_check_lib_save_LIBS
=$LIBS
3588 LIBS
="-lsocket $LIBS"
3589 cat >conftest.
$ac_ext <<_ACEOF
3590 #line $LINENO "configure"
3591 #include "confdefs.h"
3593 /* Override any gcc2 internal prototype to avoid an error. */
3597 /* We use char because int might match the return type of a gcc2
3598 builtin and then its argument prototype would still apply. */
3600 #ifdef F77_DUMMY_MAIN
3604 int F77_DUMMY_MAIN() { return 1; }
3614 rm -f conftest.
$ac_objext conftest
$ac_exeext
3615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3616 (eval $ac_link) 2>&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); } &&
3620 { ac_try
='test -s conftest$ac_exeext'
3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); }; }; then
3626 ac_cv_lib_socket_socket
=yes
3628 echo "$as_me: failed program was:" >&5
3629 cat conftest.
$ac_ext >&5
3630 ac_cv_lib_socket_socket
=no
3632 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3633 LIBS
=$ac_check_lib_save_LIBS
3635 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3636 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3637 if test $ac_cv_lib_socket_socket = yes; then
3638 LIBS
="$LIBS -lsocket"
3642 echo "$as_me:$LINENO: checking for X" >&5
3643 echo $ECHO_N "checking for X... $ECHO_C" >&6
3646 # Check whether --with-x or --without-x was given.
3647 if test "${with_x+set}" = set; then
3651 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3652 if test "x$with_x" = xno
; then
3653 # The user explicitly disabled X.
3656 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
3657 # Both variables are already set.
3660 if test "${ac_cv_have_x+set}" = set; then
3661 echo $ECHO_N "(cached) $ECHO_C" >&6
3663 # One or both of the vars are not set, and there is no cached value.
3664 ac_x_includes
=no ac_x_libraries
=no
3666 if mkdir conftest.dir
; then
3668 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3669 cat >Imakefile
<<'_ACEOF'
3671 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3673 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
3674 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3675 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3676 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3677 for ac_extension
in a so sl
; do
3678 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
3679 test -f $ac_im_libdir/libX11.
$ac_extension; then
3680 ac_im_usrlibdir
=$ac_im_libdir; break
3683 # Screen out bogus values from the imake configuration. They are
3684 # bogus both because they are the default anyway, and because
3685 # using them would break gcc on systems where it needs fixed includes.
3686 case $ac_im_incroot in
3688 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
3690 case $ac_im_usrlibdir in
3692 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
3699 # Standard set of common directories for X headers.
3700 # Check X11 before X11Rn because it is often a symlink to the current release.
3712 /usr/local/X11/include
3713 /usr/local/X11R6/include
3714 /usr/local/X11R5/include
3715 /usr/local/X11R4/include
3717 /usr/local/include/X11
3718 /usr/local/include/X11R6
3719 /usr/local/include/X11R5
3720 /usr/local/include/X11R4
3724 /usr/XFree86/include/X11
3728 /usr/unsupported/include
3730 /usr/local/x11r5/include
3731 /usr/lpp/Xamples/include
3733 /usr/openwin/include
3734 /usr/openwin/share/include'
3736 if test "$ac_x_includes" = no
; then
3737 # Guess where to find include files, by looking for Intrinsic.h.
3738 # First, try using that file with no special directory specified.
3739 cat >conftest.
$ac_ext <<_ACEOF
3740 #line $LINENO "configure"
3741 #include "confdefs.h"
3742 #include <X11/Intrinsic.h>
3744 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3745 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3747 egrep -v '^ *\+' conftest.er1
>conftest.err
3749 cat conftest.err
>&5
3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); } >/dev
/null
; then
3752 if test -s conftest.err
; then
3753 ac_cpp_err
=$ac_c_preproc_warn_flag
3760 if test -z "$ac_cpp_err"; then
3761 # We can compile using X headers with no special include directory.
3764 echo "$as_me: failed program was:" >&5
3765 cat conftest.
$ac_ext >&5
3766 for ac_dir
in $ac_x_header_dirs; do
3767 if test -r "$ac_dir/X11/Intrinsic.h"; then
3768 ac_x_includes
=$ac_dir
3773 rm -f conftest.err conftest.
$ac_ext
3774 fi # $ac_x_includes = no
3776 if test "$ac_x_libraries" = no
; then
3777 # Check for the libraries.
3778 # See if we find them without any special options.
3779 # Don't add to $LIBS permanently.
3782 cat >conftest.
$ac_ext <<_ACEOF
3783 #line $LINENO "configure"
3784 #include "confdefs.h"
3785 #include <X11/Intrinsic.h>
3786 #ifdef F77_DUMMY_MAIN
3790 int F77_DUMMY_MAIN() { return 1; }
3800 rm -f conftest.
$ac_objext conftest
$ac_exeext
3801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3802 (eval $ac_link) 2>&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); } &&
3806 { ac_try
='test -s conftest$ac_exeext'
3807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); }; }; then
3813 # We can link X programs with no special library path.
3816 echo "$as_me: failed program was:" >&5
3817 cat conftest.
$ac_ext >&5
3819 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3821 # Don't even attempt the hair of trying to link an X program!
3822 for ac_extension
in a so sl
; do
3823 if test -r $ac_dir/libXt.
$ac_extension; then
3824 ac_x_libraries
=$ac_dir
3830 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3831 fi # $ac_x_libraries = no
3833 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
3834 # Didn't find X anywhere. Cache the known absence of X.
3835 ac_cv_have_x
="have_x=no"
3837 # Record where we found X for the cache.
3838 ac_cv_have_x
="have_x=yes \
3839 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3844 eval "$ac_cv_have_x"
3847 if test "$have_x" != yes; then
3848 echo "$as_me:$LINENO: result: $have_x" >&5
3849 echo "${ECHO_T}$have_x" >&6
3852 # If each of the values was on the command line, it overrides each guess.
3853 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
3854 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
3855 # Update the cache value to reflect the command line values.
3856 ac_cv_have_x
="have_x=yes \
3857 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3858 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3859 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
3862 if test "$no_x" = yes; then
3863 # Not all programs may use this symbol, but it does not hurt to define it.
3865 cat >>confdefs.h
<<\_ACEOF
3866 #define X_DISPLAY_MISSING 1
3869 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
3871 if test -n "$x_includes"; then
3872 X_CFLAGS
="$X_CFLAGS -I$x_includes"
3875 # It would also be nice to do this for all -L options, not just this one.
3876 if test -n "$x_libraries"; then
3877 X_LIBS
="$X_LIBS -L$x_libraries"
3878 # For Solaris; some versions of Sun CC require a space after -R and
3879 # others require no space. Words are not sufficient . . . .
3880 case `(uname -sr) 2>/dev/null` in
3882 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3883 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3884 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
3885 cat >conftest.
$ac_ext <<_ACEOF
3886 #line $LINENO "configure"
3887 #include "confdefs.h"
3889 #ifdef F77_DUMMY_MAIN
3893 int F77_DUMMY_MAIN() { return 1; }
3903 rm -f conftest.
$ac_objext conftest
$ac_exeext
3904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3905 (eval $ac_link) 2>&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } &&
3909 { ac_try
='test -s conftest$ac_exeext'
3910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); }; }; then
3917 echo "$as_me: failed program was:" >&5
3918 cat conftest.
$ac_ext >&5
3921 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3922 if test $ac_R_nospace = yes; then
3923 echo "$as_me:$LINENO: result: no" >&5
3924 echo "${ECHO_T}no" >&6
3925 X_LIBS
="$X_LIBS -R$x_libraries"
3927 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3928 cat >conftest.
$ac_ext <<_ACEOF
3929 #line $LINENO "configure"
3930 #include "confdefs.h"
3932 #ifdef F77_DUMMY_MAIN
3936 int F77_DUMMY_MAIN() { return 1; }
3946 rm -f conftest.
$ac_objext conftest
$ac_exeext
3947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3948 (eval $ac_link) 2>&5
3950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951 (exit $ac_status); } &&
3952 { ac_try
='test -s conftest$ac_exeext'
3953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); }; }; then
3960 echo "$as_me: failed program was:" >&5
3961 cat conftest.
$ac_ext >&5
3964 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3965 if test $ac_R_space = yes; then
3966 echo "$as_me:$LINENO: result: yes" >&5
3967 echo "${ECHO_T}yes" >&6
3968 X_LIBS
="$X_LIBS -R $x_libraries"
3970 echo "$as_me:$LINENO: result: neither works" >&5
3971 echo "${ECHO_T}neither works" >&6
3978 # Check for system-dependent libraries X programs must link with.
3979 # Do this before checking for the system-independent R6 libraries
3980 # (-lICE), since we may need -lsocket or whatever for X linking.
3982 if test "$ISC" = yes; then
3983 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3985 # Martyn Johnson says this is needed for Ultrix, if the X
3986 # libraries were built with DECnet support. And Karl Berry says
3987 # the Alpha needs dnet_stub (dnet does not exist).
3988 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3989 cat >conftest.
$ac_ext <<_ACEOF
3990 #line $LINENO "configure"
3991 #include "confdefs.h"
3993 /* Override any gcc2 internal prototype to avoid an error. */
3997 /* We use char because int might match the return type of a gcc2
3998 builtin and then its argument prototype would still apply. */
3999 char XOpenDisplay ();
4000 #ifdef F77_DUMMY_MAIN
4004 int F77_DUMMY_MAIN() { return 1; }
4014 rm -f conftest.
$ac_objext conftest
$ac_exeext
4015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4016 (eval $ac_link) 2>&5
4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); } &&
4020 { ac_try
='test -s conftest$ac_exeext'
4021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); }; }; then
4028 echo "$as_me: failed program was:" >&5
4029 cat conftest.
$ac_ext >&5
4030 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4031 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
4032 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4033 echo $ECHO_N "(cached) $ECHO_C" >&6
4035 ac_check_lib_save_LIBS
=$LIBS
4037 cat >conftest.
$ac_ext <<_ACEOF
4038 #line $LINENO "configure"
4039 #include "confdefs.h"
4041 /* Override any gcc2 internal prototype to avoid an error. */
4045 /* We use char because int might match the return type of a gcc2
4046 builtin and then its argument prototype would still apply. */
4048 #ifdef F77_DUMMY_MAIN
4052 int F77_DUMMY_MAIN() { return 1; }
4062 rm -f conftest.
$ac_objext conftest
$ac_exeext
4063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4064 (eval $ac_link) 2>&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); } &&
4068 { ac_try
='test -s conftest$ac_exeext'
4069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073 (exit $ac_status); }; }; then
4074 ac_cv_lib_dnet_dnet_ntoa
=yes
4076 echo "$as_me: failed program was:" >&5
4077 cat conftest.
$ac_ext >&5
4078 ac_cv_lib_dnet_dnet_ntoa
=no
4080 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4081 LIBS
=$ac_check_lib_save_LIBS
4083 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4084 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
4085 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4086 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
4089 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
4090 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4091 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
4092 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4093 echo $ECHO_N "(cached) $ECHO_C" >&6
4095 ac_check_lib_save_LIBS
=$LIBS
4096 LIBS
="-ldnet_stub $LIBS"
4097 cat >conftest.
$ac_ext <<_ACEOF
4098 #line $LINENO "configure"
4099 #include "confdefs.h"
4101 /* Override any gcc2 internal prototype to avoid an error. */
4105 /* We use char because int might match the return type of a gcc2
4106 builtin and then its argument prototype would still apply. */
4108 #ifdef F77_DUMMY_MAIN
4112 int F77_DUMMY_MAIN() { return 1; }
4122 rm -f conftest.
$ac_objext conftest
$ac_exeext
4123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4124 (eval $ac_link) 2>&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); } &&
4128 { ac_try
='test -s conftest$ac_exeext'
4129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4133 (exit $ac_status); }; }; then
4134 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4136 echo "$as_me: failed program was:" >&5
4137 cat conftest.
$ac_ext >&5
4138 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4140 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4141 LIBS
=$ac_check_lib_save_LIBS
4143 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4144 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
4145 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4146 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4151 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4152 LIBS
="$ac_xsave_LIBS"
4154 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4155 # to get the SysV transport functions.
4156 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4158 # The nsl library prevents programs from opening the X display
4159 # on Irix 5.2, according to T.E. Dickey.
4160 # The functions gethostbyname, getservbyname, and inet_addr are
4161 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4162 echo "$as_me:$LINENO: checking for gethostbyname" >&5
4163 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
4164 if test "${ac_cv_func_gethostbyname+set}" = set; then
4165 echo $ECHO_N "(cached) $ECHO_C" >&6
4167 cat >conftest.
$ac_ext <<_ACEOF
4168 #line $LINENO "configure"
4169 #include "confdefs.h"
4170 /* System header to define __stub macros and hopefully few prototypes,
4171 which can conflict with char gethostbyname (); below. */
4173 /* Override any gcc2 internal prototype to avoid an error. */
4177 /* We use char because int might match the return type of a gcc2
4178 builtin and then its argument prototype would still apply. */
4179 char gethostbyname ();
4182 #ifdef F77_DUMMY_MAIN
4186 int F77_DUMMY_MAIN() { return 1; }
4191 /* The GNU C library defines this for functions which it implements
4192 to always fail with ENOSYS. Some functions are actually named
4193 something starting with __ and the normal name is an alias. */
4194 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
4204 rm -f conftest.
$ac_objext conftest
$ac_exeext
4205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4206 (eval $ac_link) 2>&5
4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4209 (exit $ac_status); } &&
4210 { ac_try
='test -s conftest$ac_exeext'
4211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); }; }; then
4216 ac_cv_func_gethostbyname
=yes
4218 echo "$as_me: failed program was:" >&5
4219 cat conftest.
$ac_ext >&5
4220 ac_cv_func_gethostbyname
=no
4222 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4224 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4225 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
4227 if test $ac_cv_func_gethostbyname = no
; then
4228 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4229 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4230 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4231 echo $ECHO_N "(cached) $ECHO_C" >&6
4233 ac_check_lib_save_LIBS
=$LIBS
4235 cat >conftest.
$ac_ext <<_ACEOF
4236 #line $LINENO "configure"
4237 #include "confdefs.h"
4239 /* Override any gcc2 internal prototype to avoid an error. */
4243 /* We use char because int might match the return type of a gcc2
4244 builtin and then its argument prototype would still apply. */
4245 char gethostbyname ();
4246 #ifdef F77_DUMMY_MAIN
4250 int F77_DUMMY_MAIN() { return 1; }
4260 rm -f conftest.
$ac_objext conftest
$ac_exeext
4261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4262 (eval $ac_link) 2>&5
4264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265 (exit $ac_status); } &&
4266 { ac_try
='test -s conftest$ac_exeext'
4267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); }; }; then
4272 ac_cv_lib_nsl_gethostbyname
=yes
4274 echo "$as_me: failed program was:" >&5
4275 cat conftest.
$ac_ext >&5
4276 ac_cv_lib_nsl_gethostbyname
=no
4278 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4279 LIBS
=$ac_check_lib_save_LIBS
4281 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4282 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4283 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4284 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4287 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4288 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4289 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
4290 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4291 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 ac_check_lib_save_LIBS
=$LIBS
4295 cat >conftest.
$ac_ext <<_ACEOF
4296 #line $LINENO "configure"
4297 #include "confdefs.h"
4299 /* Override any gcc2 internal prototype to avoid an error. */
4303 /* We use char because int might match the return type of a gcc2
4304 builtin and then its argument prototype would still apply. */
4305 char gethostbyname ();
4306 #ifdef F77_DUMMY_MAIN
4310 int F77_DUMMY_MAIN() { return 1; }
4320 rm -f conftest.
$ac_objext conftest
$ac_exeext
4321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4322 (eval $ac_link) 2>&5
4324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325 (exit $ac_status); } &&
4326 { ac_try
='test -s conftest$ac_exeext'
4327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); }; }; then
4332 ac_cv_lib_bsd_gethostbyname
=yes
4334 echo "$as_me: failed program was:" >&5
4335 cat conftest.
$ac_ext >&5
4336 ac_cv_lib_bsd_gethostbyname
=no
4338 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4339 LIBS
=$ac_check_lib_save_LIBS
4341 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4342 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
4343 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4344 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
4350 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4351 # socket/setsockopt and other routines are undefined under SCO ODT
4352 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4353 # on later versions), says Simon Leinen: it contains gethostby*
4354 # variants that don't use the nameserver (or something). -lsocket
4355 # must be given before -lnsl if both are needed. We assume that
4356 # if connect needs -lnsl, so does gethostbyname.
4357 echo "$as_me:$LINENO: checking for connect" >&5
4358 echo $ECHO_N "checking for connect... $ECHO_C" >&6
4359 if test "${ac_cv_func_connect+set}" = set; then
4360 echo $ECHO_N "(cached) $ECHO_C" >&6
4362 cat >conftest.
$ac_ext <<_ACEOF
4363 #line $LINENO "configure"
4364 #include "confdefs.h"
4365 /* System header to define __stub macros and hopefully few prototypes,
4366 which can conflict with char connect (); below. */
4368 /* Override any gcc2 internal prototype to avoid an error. */
4372 /* We use char because int might match the return type of a gcc2
4373 builtin and then its argument prototype would still apply. */
4377 #ifdef F77_DUMMY_MAIN
4381 int F77_DUMMY_MAIN() { return 1; }
4386 /* The GNU C library defines this for functions which it implements
4387 to always fail with ENOSYS. Some functions are actually named
4388 something starting with __ and the normal name is an alias. */
4389 #if defined (__stub_connect) || defined (__stub___connect)
4399 rm -f conftest.
$ac_objext conftest
$ac_exeext
4400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4401 (eval $ac_link) 2>&5
4403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); } &&
4405 { ac_try
='test -s conftest$ac_exeext'
4406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); }; }; then
4411 ac_cv_func_connect
=yes
4413 echo "$as_me: failed program was:" >&5
4414 cat conftest.
$ac_ext >&5
4415 ac_cv_func_connect
=no
4417 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4419 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4420 echo "${ECHO_T}$ac_cv_func_connect" >&6
4422 if test $ac_cv_func_connect = no
; then
4423 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4424 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4425 if test "${ac_cv_lib_socket_connect+set}" = set; then
4426 echo $ECHO_N "(cached) $ECHO_C" >&6
4428 ac_check_lib_save_LIBS
=$LIBS
4429 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4430 cat >conftest.
$ac_ext <<_ACEOF
4431 #line $LINENO "configure"
4432 #include "confdefs.h"
4434 /* Override any gcc2 internal prototype to avoid an error. */
4438 /* We use char because int might match the return type of a gcc2
4439 builtin and then its argument prototype would still apply. */
4441 #ifdef F77_DUMMY_MAIN
4445 int F77_DUMMY_MAIN() { return 1; }
4455 rm -f conftest.
$ac_objext conftest
$ac_exeext
4456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4457 (eval $ac_link) 2>&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); } &&
4461 { ac_try
='test -s conftest$ac_exeext'
4462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); }; }; then
4467 ac_cv_lib_socket_connect
=yes
4469 echo "$as_me: failed program was:" >&5
4470 cat conftest.
$ac_ext >&5
4471 ac_cv_lib_socket_connect
=no
4473 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4474 LIBS
=$ac_check_lib_save_LIBS
4476 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4477 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4478 if test $ac_cv_lib_socket_connect = yes; then
4479 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
4484 # Guillermo Gomez says -lposix is necessary on A/UX.
4485 echo "$as_me:$LINENO: checking for remove" >&5
4486 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4487 if test "${ac_cv_func_remove+set}" = set; then
4488 echo $ECHO_N "(cached) $ECHO_C" >&6
4490 cat >conftest.
$ac_ext <<_ACEOF
4491 #line $LINENO "configure"
4492 #include "confdefs.h"
4493 /* System header to define __stub macros and hopefully few prototypes,
4494 which can conflict with char remove (); below. */
4496 /* Override any gcc2 internal prototype to avoid an error. */
4500 /* We use char because int might match the return type of a gcc2
4501 builtin and then its argument prototype would still apply. */
4505 #ifdef F77_DUMMY_MAIN
4509 int F77_DUMMY_MAIN() { return 1; }
4514 /* The GNU C library defines this for functions which it implements
4515 to always fail with ENOSYS. Some functions are actually named
4516 something starting with __ and the normal name is an alias. */
4517 #if defined (__stub_remove) || defined (__stub___remove)
4527 rm -f conftest.
$ac_objext conftest
$ac_exeext
4528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4529 (eval $ac_link) 2>&5
4531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532 (exit $ac_status); } &&
4533 { ac_try
='test -s conftest$ac_exeext'
4534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538 (exit $ac_status); }; }; then
4539 ac_cv_func_remove
=yes
4541 echo "$as_me: failed program was:" >&5
4542 cat conftest.
$ac_ext >&5
4543 ac_cv_func_remove
=no
4545 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4547 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4548 echo "${ECHO_T}$ac_cv_func_remove" >&6
4550 if test $ac_cv_func_remove = no
; then
4551 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4552 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4553 if test "${ac_cv_lib_posix_remove+set}" = set; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4556 ac_check_lib_save_LIBS
=$LIBS
4557 LIBS
="-lposix $LIBS"
4558 cat >conftest.
$ac_ext <<_ACEOF
4559 #line $LINENO "configure"
4560 #include "confdefs.h"
4562 /* Override any gcc2 internal prototype to avoid an error. */
4566 /* We use char because int might match the return type of a gcc2
4567 builtin and then its argument prototype would still apply. */
4569 #ifdef F77_DUMMY_MAIN
4573 int F77_DUMMY_MAIN() { return 1; }
4583 rm -f conftest.
$ac_objext conftest
$ac_exeext
4584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4585 (eval $ac_link) 2>&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } &&
4589 { ac_try
='test -s conftest$ac_exeext'
4590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); }; }; then
4595 ac_cv_lib_posix_remove
=yes
4597 echo "$as_me: failed program was:" >&5
4598 cat conftest.
$ac_ext >&5
4599 ac_cv_lib_posix_remove
=no
4601 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4602 LIBS
=$ac_check_lib_save_LIBS
4604 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4605 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4606 if test $ac_cv_lib_posix_remove = yes; then
4607 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
4612 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4613 echo "$as_me:$LINENO: checking for shmat" >&5
4614 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4615 if test "${ac_cv_func_shmat+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 cat >conftest.
$ac_ext <<_ACEOF
4619 #line $LINENO "configure"
4620 #include "confdefs.h"
4621 /* System header to define __stub macros and hopefully few prototypes,
4622 which can conflict with char shmat (); below. */
4624 /* Override any gcc2 internal prototype to avoid an error. */
4628 /* We use char because int might match the return type of a gcc2
4629 builtin and then its argument prototype would still apply. */
4633 #ifdef F77_DUMMY_MAIN
4637 int F77_DUMMY_MAIN() { return 1; }
4642 /* The GNU C library defines this for functions which it implements
4643 to always fail with ENOSYS. Some functions are actually named
4644 something starting with __ and the normal name is an alias. */
4645 #if defined (__stub_shmat) || defined (__stub___shmat)
4655 rm -f conftest.
$ac_objext conftest
$ac_exeext
4656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4657 (eval $ac_link) 2>&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); } &&
4661 { ac_try
='test -s conftest$ac_exeext'
4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); }; }; then
4667 ac_cv_func_shmat
=yes
4669 echo "$as_me: failed program was:" >&5
4670 cat conftest.
$ac_ext >&5
4673 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4675 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4676 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4678 if test $ac_cv_func_shmat = no
; then
4679 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4680 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4681 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4682 echo $ECHO_N "(cached) $ECHO_C" >&6
4684 ac_check_lib_save_LIBS
=$LIBS
4686 cat >conftest.
$ac_ext <<_ACEOF
4687 #line $LINENO "configure"
4688 #include "confdefs.h"
4690 /* Override any gcc2 internal prototype to avoid an error. */
4694 /* We use char because int might match the return type of a gcc2
4695 builtin and then its argument prototype would still apply. */
4697 #ifdef F77_DUMMY_MAIN
4701 int F77_DUMMY_MAIN() { return 1; }
4711 rm -f conftest.
$ac_objext conftest
$ac_exeext
4712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4713 (eval $ac_link) 2>&5
4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); } &&
4717 { ac_try
='test -s conftest$ac_exeext'
4718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); }; }; then
4723 ac_cv_lib_ipc_shmat
=yes
4725 echo "$as_me: failed program was:" >&5
4726 cat conftest.
$ac_ext >&5
4727 ac_cv_lib_ipc_shmat
=no
4729 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4730 LIBS
=$ac_check_lib_save_LIBS
4732 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4733 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4734 if test $ac_cv_lib_ipc_shmat = yes; then
4735 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
4741 # Check for libraries that X11R6 Xt/Xaw programs need.
4742 ac_save_LDFLAGS
=$LDFLAGS
4743 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
4744 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4745 # check for ICE first), but we must link in the order -lSM -lICE or
4746 # we get undefined symbols. So assume we have SM if we have ICE.
4747 # These have to be linked with before -lX11, unlike the other
4748 # libraries we check for below, so use a different variable.
4749 # John Interrante, Karl Berry
4750 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4751 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4752 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4753 echo $ECHO_N "(cached) $ECHO_C" >&6
4755 ac_check_lib_save_LIBS
=$LIBS
4756 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4757 cat >conftest.
$ac_ext <<_ACEOF
4758 #line $LINENO "configure"
4759 #include "confdefs.h"
4761 /* Override any gcc2 internal prototype to avoid an error. */
4765 /* We use char because int might match the return type of a gcc2
4766 builtin and then its argument prototype would still apply. */
4767 char IceConnectionNumber ();
4768 #ifdef F77_DUMMY_MAIN
4772 int F77_DUMMY_MAIN() { return 1; }
4777 IceConnectionNumber ();
4782 rm -f conftest.
$ac_objext conftest
$ac_exeext
4783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4784 (eval $ac_link) 2>&5
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); } &&
4788 { ac_try
='test -s conftest$ac_exeext'
4789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); }; }; then
4794 ac_cv_lib_ICE_IceConnectionNumber
=yes
4796 echo "$as_me: failed program was:" >&5
4797 cat conftest.
$ac_ext >&5
4798 ac_cv_lib_ICE_IceConnectionNumber
=no
4800 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4801 LIBS
=$ac_check_lib_save_LIBS
4803 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4804 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4805 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4806 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4809 LDFLAGS
=$ac_save_LDFLAGS
4814 test x
$no_x = "xyes" && { { echo "$as_me:$LINENO: error: Openbox requires the X Window System libraries and headers." >&5
4815 echo "$as_me: error: Openbox requires the X Window System libraries and headers." >&2;}
4816 { (exit 1); exit 1; }; }
4818 test x
$x_includes = "x" && x_includes
="/usr/include"
4819 test x
$x_libraries = "x" && x_libraries
="/usr/lib"
4821 CFLAGS
="$CFLAGS $X_CFLAGS"
4822 CXXFLAGS
="$CXXFLAGS $X_CFLAGS"
4823 LIBS
="$LIBS $X_LIBS"
4824 LDFLAGS
="$LDFLAGS $LIBS $X_PRE_LIBS"
4826 echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5
4827 echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6
4828 if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4831 ac_check_lib_save_LIBS
=$LIBS
4833 cat >conftest.
$ac_ext <<_ACEOF
4834 #line $LINENO "configure"
4835 #include "confdefs.h"
4837 /* Override any gcc2 internal prototype to avoid an error. */
4841 /* We use char because int might match the return type of a gcc2
4842 builtin and then its argument prototype would still apply. */
4843 char XOpenDisplay ();
4844 #ifdef F77_DUMMY_MAIN
4848 int F77_DUMMY_MAIN() { return 1; }
4858 rm -f conftest.
$ac_objext conftest
$ac_exeext
4859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4860 (eval $ac_link) 2>&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); } &&
4864 { ac_try
='test -s conftest$ac_exeext'
4865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869 (exit $ac_status); }; }; then
4870 ac_cv_lib_X11_XOpenDisplay
=yes
4872 echo "$as_me: failed program was:" >&5
4873 cat conftest.
$ac_ext >&5
4874 ac_cv_lib_X11_XOpenDisplay
=no
4876 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4877 LIBS
=$ac_check_lib_save_LIBS
4879 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XOpenDisplay" >&5
4880 echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6
4881 if test $ac_cv_lib_X11_XOpenDisplay = yes; then
4884 { { echo "$as_me:$LINENO: error: Could not find XOpenDisplay in -lX11." >&5
4885 echo "$as_me: error: Could not find XOpenDisplay in -lX11." >&2;}
4886 { (exit 1); exit 1; }; }
4891 LIBS
="$LIBS $X_EXTRA_LIBS"
4896 echo "$as_me:$LINENO: checking whether to build support for the XShape extension" >&5
4897 echo $ECHO_N "checking whether to build support for the XShape extension... $ECHO_C" >&6
4898 # Check whether --enable-shape or --disable-shape was given.
4899 if test "${enable_shape+set}" = set; then
4900 enableval
="$enable_shape"
4904 : ${enableval="yes"}
4905 if test x
$enableval = "xyes"; then
4906 echo "$as_me:$LINENO: result: yes" >&5
4907 echo "${ECHO_T}yes" >&6
4908 echo "$as_me:$LINENO: checking for XShapeCombineShape in -lXext" >&5
4909 echo $ECHO_N "checking for XShapeCombineShape in -lXext... $ECHO_C" >&6
4910 if test "${ac_cv_lib_Xext_XShapeCombineShape+set}" = set; then
4911 echo $ECHO_N "(cached) $ECHO_C" >&6
4913 ac_check_lib_save_LIBS
=$LIBS
4915 cat >conftest.
$ac_ext <<_ACEOF
4916 #line $LINENO "configure"
4917 #include "confdefs.h"
4919 /* Override any gcc2 internal prototype to avoid an error. */
4923 /* We use char because int might match the return type of a gcc2
4924 builtin and then its argument prototype would still apply. */
4925 char XShapeCombineShape ();
4926 #ifdef F77_DUMMY_MAIN
4930 int F77_DUMMY_MAIN() { return 1; }
4935 XShapeCombineShape ();
4940 rm -f conftest.
$ac_objext conftest
$ac_exeext
4941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4942 (eval $ac_link) 2>&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); } &&
4946 { ac_try
='test -s conftest$ac_exeext'
4947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 (exit $ac_status); }; }; then
4952 ac_cv_lib_Xext_XShapeCombineShape
=yes
4954 echo "$as_me: failed program was:" >&5
4955 cat conftest.
$ac_ext >&5
4956 ac_cv_lib_Xext_XShapeCombineShape
=no
4958 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4959 LIBS
=$ac_check_lib_save_LIBS
4961 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeCombineShape" >&5
4962 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeCombineShape" >&6
4963 if test $ac_cv_lib_Xext_XShapeCombineShape = yes; then
4964 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
4965 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
4966 cat >conftest.
$ac_ext <<_ACEOF
4967 #line $LINENO "configure"
4968 #include "confdefs.h"
4969 #include <X11/Xlib.h>
4970 #include <X11/Xutil.h>
4971 #include <X11/extensions/shape.h>
4973 #ifdef F77_DUMMY_MAIN
4977 int F77_DUMMY_MAIN() { return 1; }
4987 rm -f conftest.
$ac_objext conftest
$ac_exeext
4988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4989 (eval $ac_link) 2>&5
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); } &&
4993 { ac_try
='test -s conftest$ac_exeext'
4994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); }; }; then
4999 echo "$as_me:$LINENO: result: yes" >&5
5000 echo "${ECHO_T}yes" >&6
5001 SHAPE
="-DSHAPE"; Xext_lib
="-lXext"
5003 echo "$as_me: failed program was:" >&5
5004 cat conftest.
$ac_ext >&5
5005 echo "$as_me:$LINENO: result: no" >&5
5006 echo "${ECHO_T}no" >&6
5009 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5014 echo "$as_me:$LINENO: result: no" >&5
5015 echo "${ECHO_T}no" >&6
5019 LIBS
="$LIBS $Xext_lib"
5022 echo "$as_me:$LINENO: checking whether to include the Slit" >&5
5023 echo $ECHO_N "checking whether to include the Slit... $ECHO_C" >&6
5024 # Check whether --enable-slit or --disable-slit was given.
5025 if test "${enable_slit+set}" = set; then
5026 enableval
="$enable_slit"
5027 if test x
$enableval = "xyes"; then
5028 echo "$as_me:$LINENO: result: yes" >&5
5029 echo "${ECHO_T}yes" >&6
5032 echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6
5036 echo "$as_me:$LINENO: result: yes" >&5
5037 echo "${ECHO_T}yes" >&6
5044 echo "$as_me:$LINENO: checking whether to include the new WM Spec (DOES NOTHING)" >&5
5045 echo $ECHO_N "checking whether to include the new WM Spec (DOES NOTHING)... $ECHO_C" >&6
5046 # Check whether --enable-newspec or --disable-newspec was given.
5047 if test "${enable_newspec+set}" = set; then
5048 enableval
="$enable_newspec"
5049 if test x
$enableval = "xyes"; then
5050 echo "$as_me:$LINENO: result: yes" >&5
5051 echo "${ECHO_T}yes" >&6
5052 NEWWMSPEC
="-DNEWWMSPEC"
5054 echo "$as_me:$LINENO: result: no" >&5
5055 echo "${ECHO_T}no" >&6
5058 echo "$as_me:$LINENO: result: no" >&5
5059 echo "${ECHO_T}no" >&6
5066 echo "$as_me:$LINENO: checking whether to include interlacing image code" >&5
5067 echo $ECHO_N "checking whether to include interlacing image code... $ECHO_C" >&6
5068 # Check whether --enable-interlace or --disable-interlace was given.
5069 if test "${enable_interlace+set}" = set; then
5070 enableval
="$enable_interlace"
5071 if test x
$enableval = "xyes"; then
5072 echo "$as_me:$LINENO: result: yes" >&5
5073 echo "${ECHO_T}yes" >&6
5074 INTERLACE
="-DINTERLACE"
5076 echo "$as_me:$LINENO: result: no" >&5
5077 echo "${ECHO_T}no" >&6
5080 echo "$as_me:$LINENO: result: yes" >&5
5081 echo "${ECHO_T}yes" >&6
5082 INTERLACE
="-DINTERLACE"
5088 echo "$as_me:$LINENO: checking whether to include Pseudocolor ordered dithering code" >&5
5089 echo $ECHO_N "checking whether to include Pseudocolor ordered dithering code... $ECHO_C" >&6
5090 # Check whether --enable-ordered-pseudo or --disable-ordered-pseudo was given.
5091 if test "${enable_ordered_pseudo+set}" = set; then
5092 enableval
="$enable_ordered_pseudo"
5093 if test x
$enableval = "xyes"; then
5094 echo "$as_me:$LINENO: result: yes" >&5
5095 echo "${ECHO_T}yes" >&6
5096 ORDEREDPSEUDO
="-DORDEREDPSEUDO"
5098 echo "$as_me:$LINENO: result: no" >&5
5099 echo "${ECHO_T}no" >&6
5102 echo "$as_me:$LINENO: result: no" >&5
5103 echo "${ECHO_T}no" >&6
5109 echo "$as_me:$LINENO: checking whether to intercept mouse events to clients" >&5
5110 echo $ECHO_N "checking whether to intercept mouse events to clients... $ECHO_C" >&6
5111 # Check whether --enable-clobber or --disable-clobber was given.
5112 if test "${enable_clobber+set}" = set; then
5113 enableval
="$enable_clobber"
5114 if test x
$enableval = "xno"; then
5115 echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6
5117 CLOBBER
="-DNOCLOBBER"
5119 echo "$as_me:$LINENO: result: yes" >&5
5120 echo "${ECHO_T}yes" >&6
5123 echo "$as_me:$LINENO: result: no" >&5
5124 echo "${ECHO_T}no" >&6
5130 echo "$as_me:$LINENO: checking whether to include verbose debugging code" >&5
5131 echo $ECHO_N "checking whether to include verbose debugging code... $ECHO_C" >&6
5132 # Check whether --enable-debug or --disable-debug was given.
5133 if test "${enable_debug+set}" = set; then
5134 enableval
="$enable_debug"
5135 if test x
$enableval = "xyes"; then
5136 echo "$as_me:$LINENO: result: yes" >&5
5137 echo "${ECHO_T}yes" >&6
5140 echo "$as_me:$LINENO: result: no" >&5
5141 echo "${ECHO_T}no" >&6
5144 echo "$as_me:$LINENO: result: no" >&5
5145 echo "${ECHO_T}no" >&6
5151 echo "$as_me:$LINENO: checking whether to include NLS support" >&5
5152 echo $ECHO_N "checking whether to include NLS support... $ECHO_C" >&6
5153 # Check whether --enable-nls or --disable-nls was given.
5154 if test "${enable_nls+set}" = set; then
5155 enableval
="$enable_nls"
5156 if test x
$enableval = "xyes"; then
5157 echo "$as_me:$LINENO: result: yes" >&5
5158 echo "${ECHO_T}yes" >&6
5161 echo "$as_me:$LINENO: result: no" >&5
5162 echo "${ECHO_T}no" >&6
5165 echo "$as_me:$LINENO: result: yes" >&5
5166 echo "${ECHO_T}yes" >&6
5172 echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
5173 echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
5174 if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
5175 echo $ECHO_N "(cached) $ECHO_C" >&6
5177 ac_check_lib_save_LIBS
=$LIBS
5179 cat >conftest.
$ac_ext <<_ACEOF
5180 #line $LINENO "configure"
5181 #include "confdefs.h"
5183 /* Override any gcc2 internal prototype to avoid an error. */
5187 /* We use char because int might match the return type of a gcc2
5188 builtin and then its argument prototype would still apply. */
5190 #ifdef F77_DUMMY_MAIN
5194 int F77_DUMMY_MAIN() { return 1; }
5204 rm -f conftest.
$ac_objext conftest
$ac_exeext
5205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5206 (eval $ac_link) 2>&5
5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); } &&
5210 { ac_try
='test -s conftest$ac_exeext'
5211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215 (exit $ac_status); }; }; then
5216 ac_cv_lib_xpg4_setlocale
=yes
5218 echo "$as_me: failed program was:" >&5
5219 cat conftest.
$ac_ext >&5
5220 ac_cv_lib_xpg4_setlocale
=no
5222 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5223 LIBS
=$ac_check_lib_save_LIBS
5225 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
5226 echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
5227 if test $ac_cv_lib_xpg4_setlocale = yes; then
5232 for ac_prog
in gencat
5234 # Extract the first word of "$ac_prog", so it can be a program name with args.
5235 set dummy
$ac_prog; ac_word
=$2
5236 echo "$as_me:$LINENO: checking for $ac_word" >&5
5237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5238 if test "${ac_cv_prog_gencat_cmd+set}" = set; then
5239 echo $ECHO_N "(cached) $ECHO_C" >&6
5241 if test -n "$gencat_cmd"; then
5242 ac_cv_prog_gencat_cmd
="$gencat_cmd" # Let the user override the test.
5244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5248 test -z "$as_dir" && as_dir
=.
5249 for ac_exec_ext
in '' $ac_executable_extensions; do
5250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5251 ac_cv_prog_gencat_cmd
="$ac_prog"
5252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5260 gencat_cmd
=$ac_cv_prog_gencat_cmd
5261 if test -n "$gencat_cmd"; then
5262 echo "$as_me:$LINENO: result: $gencat_cmd" >&5
5263 echo "${ECHO_T}$gencat_cmd" >&6
5265 echo "$as_me:$LINENO: result: no" >&5
5266 echo "${ECHO_T}no" >&6
5269 test -n "$gencat_cmd" && break
5272 if test x
$gencat_cmd = "x"; then
5278 echo "$as_me:$LINENO: checking whether to use the new timed pixmap cache" >&5
5279 echo $ECHO_N "checking whether to use the new timed pixmap cache... $ECHO_C" >&6
5280 # Check whether --enable-timed-cache or --disable-timed-cache was given.
5281 if test "${enable_timed_cache+set}" = set; then
5282 enableval
="$enable_timed_cache"
5283 if test x
$enableval = "xyes"; then
5284 echo "$as_me:$LINENO: result: yes" >&5
5285 echo "${ECHO_T}yes" >&6
5286 TIMEDCACHE
="-DTIMEDCACHE"
5288 echo "$as_me:$LINENO: result: no" >&5
5289 echo "${ECHO_T}no" >&6
5292 echo "$as_me:$LINENO: result: yes" >&5
5293 echo "${ECHO_T}yes" >&6
5294 TIMEDCACHE
="-DTIMEDCACHE"
5299 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5300 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
5301 if test "${ac_cv_type_signal+set}" = set; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 cat >conftest.
$ac_ext <<_ACEOF
5305 #line $LINENO "configure"
5306 #include "confdefs.h"
5307 #include <sys/types.h>
5313 extern "C" void (*signal (int, void (*)(int)))(int);
5315 void (*signal ()) ();
5318 #ifdef F77_DUMMY_MAIN
5322 int F77_DUMMY_MAIN() { return 1; }
5332 rm -f conftest.
$ac_objext
5333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5334 (eval $ac_compile) 2>&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); } &&
5338 { ac_try
='test -s conftest.$ac_objext'
5339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); }; }; then
5344 ac_cv_type_signal
=void
5346 echo "$as_me: failed program was:" >&5
5347 cat conftest.
$ac_ext >&5
5348 ac_cv_type_signal
=int
5350 rm -f conftest.
$ac_objext conftest.
$ac_ext
5352 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5353 echo "${ECHO_T}$ac_cv_type_signal" >&6
5355 cat >>confdefs.h
<<_ACEOF
5356 #define RETSIGTYPE $ac_cv_type_signal
5361 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5362 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
5363 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
5364 if test "${enable_maintainer_mode+set}" = set; then
5365 enableval
="$enable_maintainer_mode"
5366 USE_MAINTAINER_MODE
=$enableval
5368 USE_MAINTAINER_MODE
=no
5370 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5371 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
5374 if test $USE_MAINTAINER_MODE = yes; then
5375 MAINTAINER_MODE_TRUE
=
5376 MAINTAINER_MODE_FALSE
='#'
5378 MAINTAINER_MODE_TRUE
='#'
5379 MAINTAINER_MODE_FALSE
=
5381 MAINT
=$MAINTAINER_MODE_TRUE
5385 echo "$as_me:$LINENO: result: " >&5
5386 echo "${ECHO_T}" >&6
5387 echo "$as_me:$LINENO: result: $PACKAGE version $VERSION configured successfully." >&5
5388 echo "${ECHO_T} $PACKAGE version $VERSION configured successfully." >&6
5389 echo "$as_me:$LINENO: result: " >&5
5390 echo "${ECHO_T}" >&6
5391 echo "$as_me:$LINENO: result: Using '$prefix' for installation." >&5
5392 echo "${ECHO_T}Using '$prefix' for installation." >&6
5393 echo "$as_me:$LINENO: result: Using '$CXX' for C++ compiler." >&5
5394 echo "${ECHO_T}Using '$CXX' for C++ compiler." >&6
5395 echo "$as_me:$LINENO: result: Building with '$CXXFLAGS' for C++ compiler flags." >&5
5396 echo "${ECHO_T}Building with '$CXXFLAGS' for C++ compiler flags." >&6
5397 echo "$as_me:$LINENO: result: Building with '$LIBS' for linker flags." >&5
5398 echo "${ECHO_T}Building with '$LIBS' for linker flags." >&6
5399 echo "$as_me:$LINENO: result: " >&5
5400 echo "${ECHO_T}" >&6
5403 ac_config_headers
="$ac_config_headers config.h"
5405 ac_config_commands
="$ac_config_commands default-1"
5407 ac_config_files
="$ac_config_files Makefile src/Makefile util/Makefile data/Makefile data/styles/Makefile doc/Makefile nls/Makefile nls/C/Makefile nls/da_DK/Makefile nls/de_DE/Makefile nls/es_ES/Makefile nls/et_EE/Makefile nls/fr_FR/Makefile nls/it_IT/Makefile nls/ja_JP/Makefile nls/nl_NL/Makefile nls/pt_BR/Makefile nls/ru_RU/Makefile nls/sl_SI/Makefile nls/sv_SE/Makefile nls/tr_TR/Makefile nls/zh_CN/Makefile version.h"
5408 cat >confcache
<<\_ACEOF
5409 # This file is a shell script that caches the results of configure
5410 # tests run on this system so they can be shared between configure
5411 # scripts and configure runs, see configure's option --config-cache.
5412 # It is not useful on other systems. If it contains results you don't
5413 # want to keep, you may remove or edit it.
5415 # config.status only pays attention to the cache file if you give it
5416 # the --recheck option to rerun configure.
5418 # `ac_cv_env_foo' variables (set or unset) will be overriden when
5419 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5424 # The following way of writing the cache mishandles newlines in values,
5425 # but we know of no workaround that is simple, portable, and efficient.
5426 # So, don't put newlines in cache variables' values.
5427 # Ultrix sh set writes to stderr and can't be redirected directly,
5428 # and sets the high bit in the cache file unless we assign to the vars.
5431 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5433 # `set' does not quote correctly, so add quotes (double-quote
5434 # substitution turns \\\\ into \\, and sed turns \\ into \).
5437 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5440 # `set' quotes correctly as required by POSIX, so do not add quotes.
5442 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5449 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5451 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5453 if cmp -s $cache_file confcache
; then :; else
5454 if test -w $cache_file; then
5455 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5456 cat confcache
>$cache_file
5458 echo "not updating unwritable cache $cache_file"
5463 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5464 # Let make expand exec_prefix.
5465 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5467 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5468 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5469 # trailing colons and then remove the whole line if VPATH becomes empty
5470 # (actually we leave an empty line to preserve line numbers).
5471 if test "x$srcdir" = x.
; then
5472 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5473 s/:*\$(srcdir):*/:/;
5474 s/:*\${srcdir}:*/:/;
5476 s/^\([^=]*=[ ]*\):*/\1/;
5482 DEFS
=-DHAVE_CONFIG_H
5485 : ${CONFIG_STATUS=./config.status}
5486 ac_clean_files_save
=$ac_clean_files
5487 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5488 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5489 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5490 cat >$CONFIG_STATUS <<_ACEOF
5492 # Generated by $as_me.
5493 # Run this file to recreate the current configuration.
5494 # Compiler output produced by configure, useful for debugging
5495 # configure, is in config.log if it exists.
5498 SHELL=\${CONFIG_SHELL-$SHELL}
5501 cat >>$CONFIG_STATUS <<\_ACEOF
5503 ## --------------------- ##
5504 ## M4sh Initialization. ##
5505 ## --------------------- ##
5507 # Be Bourne compatible
5508 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5511 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5516 # Support unset when possible.
5517 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
5523 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
5524 { $as_unset LANG
|| test "${LANG+set}" != set; } ||
5525 { LANG
=C
; export LANG
; }
5526 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
5527 { $as_unset LC_ALL
|| test "${LC_ALL+set}" != set; } ||
5528 { LC_ALL
=C
; export LC_ALL
; }
5529 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
5530 { $as_unset LC_TIME
|| test "${LC_TIME+set}" != set; } ||
5531 { LC_TIME
=C
; export LC_TIME
; }
5532 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
5533 { $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set; } ||
5534 { LC_CTYPE
=C
; export LC_CTYPE
; }
5535 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
5536 { $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set; } ||
5537 { LANGUAGE
=C
; export LANGUAGE
; }
5538 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
5539 { $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set; } ||
5540 { LC_COLLATE
=C
; export LC_COLLATE
; }
5541 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
5542 { $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set; } ||
5543 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
5544 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
5545 { $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set; } ||
5546 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
5549 # Name of the executable.
5550 as_me
=`(basename "$0") 2>/dev/null ||
5551 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5552 X"$0" : 'X\(//\)$' \| \
5553 X"$0" : 'X\(/\)$' \| \
5554 . : '\(.\)' 2>/dev/null ||
5556 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5557 /^X\/\(\/\/\)$/{ s//\1/; q; }
5558 /^X\/\(\/\).*/{ s//\1/; q; }
5561 # PATH needs CR, and LINENO needs CR and PATH.
5562 # Avoid depending upon Character Ranges.
5563 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5564 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5565 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5566 as_cr_digits
='0123456789'
5567 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5569 # The user is always right.
5570 if test "${PATH_SEPARATOR+set}" != set; then
5571 echo "#! /bin/sh" >conftest.sh
5572 echo "exit 0" >>conftest.sh
5573 chmod +x conftest.sh
5574 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
5585 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5586 test "x$as_lineno_1" != "x$as_lineno_2" &&
5587 test "x$as_lineno_3" = "x$as_lineno_2" || {
5588 # Find who we are. Look in the path if we contain no path at all
5591 *[\\/]* ) as_myself
=$0 ;;
5592 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5596 test -z "$as_dir" && as_dir
=.
5597 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5602 # We did not find ourselves, most probably we were run as `sh COMMAND'
5603 # in which case we are not to be found in the path.
5604 if test "x$as_myself" = x
; then
5607 if test ! -f "$as_myself"; then
5608 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5609 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5610 { (exit 1); exit 1; }; }
5612 case $CONFIG_SHELL in
5614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5615 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5618 test -z "$as_dir" && as_dir
=.
5619 for as_base
in sh bash ksh sh5
; do
5622 if ("$as_dir/$as_base" -c '
5625 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5626 test "x$as_lineno_1" != "x$as_lineno_2" &&
5627 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5628 CONFIG_SHELL
=$as_dir/$as_base
5630 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5638 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5639 # uniformly replaced by the line number. The first 'sed' inserts a
5640 # line-number line before each line; the second 'sed' does the real
5641 # work. The second script uses 'N' to pair each line-number line
5642 # with the numbered line, and appends trailing '-' during
5643 # substitution so that $LINENO is not a special case at line end.
5644 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5645 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5646 sed '=' <$as_myself |
5651 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5654 s,^['$as_cr_digits']*\n,,
5656 chmod +x
$as_me.lineno
||
5657 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5658 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5659 { (exit 1); exit 1; }; }
5661 # Don't try to exec as it changes $[0], causing all sort of problems
5662 # (the dirname of $[0] is not the place where we might find the
5663 # original and so on. Autoconf is especially sensible to this).
5665 # Exit status is that of the last command.
5670 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5671 *c
*,-n*) ECHO_N
= ECHO_C
='
5673 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5674 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5677 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5683 rm -f conf$$ conf$$.exe conf$$.
file
5685 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5686 # We could just check for DJGPP; but this test a) works b) is more generic
5687 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5688 if test -f conf$$.exe
; then
5689 # Don't use ln at all; we don't have any links
5694 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5699 rm -f conf$$ conf$$.exe conf$$.
file
5701 as_executable_p
="test -f"
5703 # Sed expression to map a string onto a valid CPP name.
5704 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5706 # Sed expression to map a string onto a valid variable name.
5707 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5711 # We need space, tab and new line, in precisely that order.
5717 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
5721 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5722 # report actual input values of CONFIG_FILES etc. instead of their
5723 # values after options handling. Logging --version etc. is OK.
5727 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5728 ## Running $as_me. ##
5733 This file was extended by $as_me, which was
5734 generated by GNU Autoconf 2.53. Invocation command line was
5736 CONFIG_FILES = $CONFIG_FILES
5737 CONFIG_HEADERS = $CONFIG_HEADERS
5738 CONFIG_LINKS = $CONFIG_LINKS
5739 CONFIG_COMMANDS = $CONFIG_COMMANDS
5743 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5747 # Files that config.status was made for.
5748 if test -n "$ac_config_files"; then
5749 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5752 if test -n "$ac_config_headers"; then
5753 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5756 if test -n "$ac_config_links"; then
5757 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5760 if test -n "$ac_config_commands"; then
5761 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5764 cat >>$CONFIG_STATUS <<\_ACEOF
5767 \`$as_me' instantiates files from templates according to the
5768 current configuration.
5770 Usage: $0 [OPTIONS] [FILE]...
5772 -h, --help print this help, then exit
5773 -V, --version print version number, then exit
5774 -d, --debug don't remove temporary files
5775 --recheck update $as_me by reconfiguring in the same conditions
5776 --file=FILE[:TEMPLATE]
5777 instantiate the configuration file FILE
5778 --header=FILE[:TEMPLATE]
5779 instantiate the configuration header FILE
5781 Configuration files:
5784 Configuration headers:
5787 Configuration commands:
5790 Report bugs to <bug-autoconf@gnu.org>."
5793 cat >>$CONFIG_STATUS <<_ACEOF
5796 configured by $0, generated by GNU Autoconf 2.53,
5797 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5799 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5800 Free Software Foundation, Inc.
5801 This config.status script is free software; the Free Software Foundation
5802 gives unlimited permission to copy, distribute and modify it."
5807 cat >>$CONFIG_STATUS <<\_ACEOF
5808 # If no file are specified by the user, then we need to provide default
5809 # value. By we need to know if files were specified by the user.
5815 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5816 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5818 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
5822 *) # This is not an option, so the user has probably given explicit
5824 ac_need_defaults
=false
;;
5828 # Handling of the options.
5830 cat >>$CONFIG_STATUS <<_ACEOF
5831 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5832 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5833 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5835 cat >>$CONFIG_STATUS <<\_ACEOF
5836 --version | --vers* | -V )
5837 echo "$ac_cs_version"; exit 0 ;;
5839 # Conflict between --help and --header
5840 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5841 Try \`$0 --help' for more information." >&5
5842 echo "$as_me: error: ambiguous option: $1
5843 Try \`$0 --help' for more information." >&2;}
5844 { (exit 1); exit 1; }; };;
5845 --help | --hel | -h )
5846 echo "$ac_cs_usage"; exit 0 ;;
5847 --debug | --d* | -d )
5849 --file | --fil | --fi | --f )
5851 CONFIG_FILES
="$CONFIG_FILES $1"
5852 ac_need_defaults
=false
;;
5853 --header | --heade | --head | --hea )
5855 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
5856 ac_need_defaults
=false
;;
5859 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5860 Try \`$0 --help' for more information." >&5
5861 echo "$as_me: error: unrecognized option: $1
5862 Try \`$0 --help' for more information." >&2;}
5863 { (exit 1); exit 1; }; } ;;
5865 *) ac_config_targets
="$ac_config_targets $1" ;;
5873 cat >>$CONFIG_STATUS <<_ACEOF
5875 # INIT-COMMANDS section.
5884 cat >>$CONFIG_STATUS <<\_ACEOF
5885 for ac_config_target
in $ac_config_targets
5887 case "$ac_config_target" in
5888 # Handling of arguments.
5889 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5890 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
5891 "util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES util/Makefile" ;;
5892 "data/Makefile" ) CONFIG_FILES
="$CONFIG_FILES data/Makefile" ;;
5893 "data/styles/Makefile" ) CONFIG_FILES
="$CONFIG_FILES data/styles/Makefile" ;;
5894 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
5895 "nls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES nls/Makefile" ;;
5896 "nls/C/Makefile" ) CONFIG_FILES
="$CONFIG_FILES nls/C/Makefile" ;;
5897 "nls/da_DK/Makefile" ) CONFIG_FILES
="$CONFIG_FILES nls/da_DK/Makefile" ;;
5898 "nls/de_DE/Makefile" ) CONFIG_FILES
="$CONFIG_FILES nls/de_DE/Makefile" ;;
5899 "nls/es_ES/Makefile" ) CONFIG_FILES
="$CONFIG_FILES nls/es_ES/Makefile" ;;
5900 "nls/et_EE/Makefile" ) CONFIG_FILES
="$CONFIG_FILES nls/et_EE/Makefile" ;;
5901 "nls/fr_FR/Makefile" ) CONFIG_FILES
="$CONFIG_FILES nls/fr_FR/Makefile" ;;
5902 "nls/it_IT/Makefile" ) CONFIG_FILES
="$CONFIG_FILES nls/it_IT/Makefile" ;;
5903 "nls/ja_JP/Makefile" ) CONFIG_FILES
="$CONFIG_FILES nls/ja_JP/Makefile" ;;
5904 "nls/nl_NL/Makefile" ) CONFIG_FILES
="$CONFIG_FILES nls/nl_NL/Makefile" ;;
5905 "nls/pt_BR/Makefile" ) CONFIG_FILES
="$CONFIG_FILES nls/pt_BR/Makefile" ;;
5906 "nls/ru_RU/Makefile" ) CONFIG_FILES
="$CONFIG_FILES nls/ru_RU/Makefile" ;;
5907 "nls/sl_SI/Makefile" ) CONFIG_FILES
="$CONFIG_FILES nls/sl_SI/Makefile" ;;
5908 "nls/sv_SE/Makefile" ) CONFIG_FILES
="$CONFIG_FILES nls/sv_SE/Makefile" ;;
5909 "nls/tr_TR/Makefile" ) CONFIG_FILES
="$CONFIG_FILES nls/tr_TR/Makefile" ;;
5910 "nls/zh_CN/Makefile" ) CONFIG_FILES
="$CONFIG_FILES nls/zh_CN/Makefile" ;;
5911 "version.h" ) CONFIG_FILES
="$CONFIG_FILES version.h" ;;
5912 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
5913 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5914 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5915 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5916 { (exit 1); exit 1; }; };;
5920 # If the user did not use the arguments to specify the items to instantiate,
5921 # then the envvar interface is used. Set only those that are not.
5922 # We use the long form for the default assignment because of an extremely
5923 # bizarre bug on SunOS 4.1.3.
5924 if $ac_need_defaults; then
5925 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5926 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5927 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5930 # Create a temporary directory, and hook for its removal unless debugging.
5933 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5934 trap '{ (exit 1); exit 1; }' 1 2 13 15
5937 # Create a (secure) tmp directory for tmp files.
5940 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
5941 test -n "$tmp" && test -d "$tmp"
5944 tmp
=$TMPDIR/cs$$
-$RANDOM
5945 (umask 077 && mkdir $tmp)
5948 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5949 { (exit 1); exit 1; }
5954 cat >>$CONFIG_STATUS <<_ACEOF
5957 # CONFIG_FILES section.
5960 # No need to generate the scripts if there are no CONFIG_FILES.
5961 # This happens for instance when ./config.status config.h
5962 if test -n "\$CONFIG_FILES"; then
5963 # Protect against being on the right side of a sed subst in config.status.
5964 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5965 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5966 s,@SHELL@,$SHELL,;t t
5967 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5968 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5969 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5970 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5971 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5972 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5973 s,@exec_prefix@,$exec_prefix,;t t
5974 s,@prefix@,$prefix,;t t
5975 s,@program_transform_name@,$program_transform_name,;t t
5976 s,@bindir@,$bindir,;t t
5977 s,@sbindir@,$sbindir,;t t
5978 s,@libexecdir@,$libexecdir,;t t
5979 s,@datadir@,$datadir,;t t
5980 s,@sysconfdir@,$sysconfdir,;t t
5981 s,@sharedstatedir@,$sharedstatedir,;t t
5982 s,@localstatedir@,$localstatedir,;t t
5983 s,@libdir@,$libdir,;t t
5984 s,@includedir@,$includedir,;t t
5985 s,@oldincludedir@,$oldincludedir,;t t
5986 s,@infodir@,$infodir,;t t
5987 s,@mandir@,$mandir,;t t
5988 s,@build_alias@,$build_alias,;t t
5989 s,@host_alias@,$host_alias,;t t
5990 s,@target_alias@,$target_alias,;t t
5992 s,@ECHO_C@,$ECHO_C,;t t
5993 s,@ECHO_N@,$ECHO_N,;t t
5994 s,@ECHO_T@,$ECHO_T,;t t
5996 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5997 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5998 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5999 s,@PACKAGE@,$PACKAGE,;t t
6000 s,@VERSION@,$VERSION,;t t
6001 s,@ACLOCAL@,$ACLOCAL,;t t
6002 s,@AUTOCONF@,$AUTOCONF,;t t
6003 s,@AUTOMAKE@,$AUTOMAKE,;t t
6004 s,@AUTOHEADER@,$AUTOHEADER,;t t
6005 s,@MAKEINFO@,$MAKEINFO,;t t
6006 s,@SET_MAKE@,$SET_MAKE,;t t
6008 s,@CFLAGS@,$CFLAGS,;t t
6009 s,@LDFLAGS@,$LDFLAGS,;t t
6010 s,@CPPFLAGS@,$CPPFLAGS,;t t
6011 s,@ac_ct_CC@,$ac_ct_CC,;t t
6012 s,@EXEEXT@,$EXEEXT,;t t
6013 s,@OBJEXT@,$OBJEXT,;t t
6015 s,@CXXFLAGS@,$CXXFLAGS,;t t
6016 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6017 s,@regex_cmd@,$regex_cmd,;t t
6019 s,@X_CFLAGS@,$X_CFLAGS,;t t
6020 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
6021 s,@X_LIBS@,$X_LIBS,;t t
6022 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
6023 s,@SHAPE@,$SHAPE,;t t
6025 s,@NEWWMSPEC@,$NEWWMSPEC,;t t
6026 s,@INTERLACE@,$INTERLACE,;t t
6027 s,@ORDEREDPSEUDO@,$ORDEREDPSEUDO,;t t
6028 s,@CLOBBER@,$CLOBBER,;t t
6029 s,@DEBUG@,$DEBUG,;t t
6031 s,@gencat_cmd@,$gencat_cmd,;t t
6032 s,@TIMEDCACHE@,$TIMEDCACHE,;t t
6033 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6034 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6035 s,@MAINT@,$MAINT,;t t
6040 cat >>$CONFIG_STATUS <<\_ACEOF
6041 # Split the substitutions into bite-sized pieces for seds with
6042 # small command number limits, like on Digital OSF/1 and HP-UX.
6044 ac_sed_frag
=1 # Number of current file.
6045 ac_beg
=1 # First line for current file.
6046 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6049 while $ac_more_lines; do
6050 if test $ac_beg -gt 1; then
6051 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6053 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6055 if test ! -s $tmp/subs.frag
; then
6058 # The purpose of the label and of the branching condition is to
6059 # speed up the sed processing (if there are no `@' at all, there
6060 # is no need to browse any of the substitutions).
6061 # These are the two extra sed commands mentioned above.
6063 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
6064 if test -z "$ac_sed_cmds"; then
6065 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6067 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6069 ac_sed_frag
=`expr $ac_sed_frag + 1`
6071 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6074 if test -z "$ac_sed_cmds"; then
6077 fi # test -n "$CONFIG_FILES"
6080 cat >>$CONFIG_STATUS <<\_ACEOF
6081 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6082 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6084 - | *:- | *:-:* ) # input from stdin
6086 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6087 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6088 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6089 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6090 * ) ac_file_in
=$ac_file.
in ;;
6093 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6094 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6095 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6096 X"$ac_file" : 'X\(//\)[^/]' \| \
6097 X"$ac_file" : 'X\(//\)$' \| \
6098 X"$ac_file" : 'X\(/\)' \| \
6099 . : '\(.\)' 2>/dev/null ||
6101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6102 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6103 /^X\(\/\/\)$/{ s//\1/; q; }
6104 /^X\(\/\).*/{ s//\1/; q; }
6107 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
6111 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6112 case $as_mkdir_dir in
6113 # Skip DOS drivespec
6114 ?
:) as_incr_dir
=$as_mkdir_dir ;;
6116 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
6117 test -d "$as_incr_dir" ||
6118 mkdir "$as_incr_dir" ||
6119 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
6120 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
6121 { (exit 1); exit 1; }; }
6128 if test "$ac_dir" != .
; then
6129 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6130 # A "../" for each directory in $ac_dir_suffix.
6131 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6133 ac_dir_suffix
= ac_top_builddir
=
6137 .
) # No --srcdir option. We are building in place.
6139 if test -z "$ac_top_builddir"; then
6142 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6144 [\\/]* | ?
:[\\/]* ) # Absolute path.
6145 ac_srcdir
=$srcdir$ac_dir_suffix;
6146 ac_top_srcdir
=$srcdir ;;
6148 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6149 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6151 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6153 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
6154 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
6155 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6156 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6160 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6161 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6164 if test x
"$ac_file" != x
-; then
6165 { echo "$as_me:$LINENO: creating $ac_file" >&5
6166 echo "$as_me: creating $ac_file" >&6;}
6169 # Let's still pretend it is `configure' which instantiates (i.e., don't
6170 # use $as_me), people would be surprised to read:
6171 # /* config.h. Generated by config.status. */
6172 if test x
"$ac_file" = x
-; then
6175 configure_input
="$ac_file. "
6177 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6178 sed 's,.*/,,'` by configure."
6180 # First look for the input files in the build tree, otherwise in the
6182 ac_file_inputs
=`IFS=:
6183 for f in $ac_file_in; do
6185 -) echo $tmp/stdin ;;
6187 # Absolute (can't be DOS-style, as IFS=:)
6188 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6189 echo "$as_me: error: cannot find input file: $f" >&2;}
6190 { (exit 1); exit 1; }; }
6193 if test -f "$f"; then
6196 elif test -f "$srcdir/$f"; then
6201 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6202 echo "$as_me: error: cannot find input file: $f" >&2;}
6203 { (exit 1); exit 1; }; }
6206 done` || { (exit 1); exit 1; }
6208 cat >>$CONFIG_STATUS <<_ACEOF
6212 cat >>$CONFIG_STATUS <<\_ACEOF
6214 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
6215 s
,@configure_input@
,$configure_input,;t t
6216 s
,@srcdir@
,$ac_srcdir,;t t
6217 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6218 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6219 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6220 s
,@builddir@
,$ac_builddir,;t t
6221 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6222 s
,@top_builddir@
,$ac_top_builddir,;t t
6223 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6224 s
,@INSTALL@
,$ac_INSTALL,;t t
6225 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6227 if test x"$ac_file" != x-; then
6228 mv $tmp/out $ac_file
6236 cat >>$CONFIG_STATUS <<\_ACEOF
6239 # CONFIG_HEADER section.
6242 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6243 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6245 # ac_d sets the value in "#define NAME VALUE" lines.
6246 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6247 ac_dB
='[ ].*$,\1#\2'
6250 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6251 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6252 ac_uB
='$,\1#\2define\3'
6256 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6257 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6259 - | *:- | *:-:* ) # input from stdin
6261 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6262 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6263 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6264 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6265 * ) ac_file_in
=$ac_file.
in ;;
6268 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6269 echo "$as_me: creating $ac_file" >&6;}
6271 # First look for the input files in the build tree, otherwise in the
6273 ac_file_inputs
=`IFS=:
6274 for f in $ac_file_in; do
6276 -) echo $tmp/stdin ;;
6278 # Absolute (can't be DOS-style, as IFS=:)
6279 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6280 echo "$as_me: error: cannot find input file: $f" >&2;}
6281 { (exit 1); exit 1; }; }
6284 if test -f "$f"; then
6287 elif test -f "$srcdir/$f"; then
6292 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6293 echo "$as_me: error: cannot find input file: $f" >&2;}
6294 { (exit 1); exit 1; }; }
6297 done` || { (exit 1); exit 1; }
6298 # Remove the trailing spaces.
6299 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6303 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6304 # `conftest.undefs', that substitutes the proper values into
6305 # config.h.in to produce config.h. The first handles `#define'
6306 # templates, and the second `#undef' templates.
6307 # And first: Protect against being on the right side of a sed subst in
6308 # config.status. Protect against being in an unquoted here document
6310 rm -f conftest.defines conftest.undefs
6311 # Using a here document instead of a string reduces the quoting nightmare.
6312 # Putting comments in sed scripts is not portable.
6314 # `end' is used to avoid that the second main sed command (meant for
6315 # 0-ary CPP macros) applies to n-ary macro definitions.
6316 # See the Autoconf documentation for `clear'.
6317 cat >confdef2sed.
sed <<\_ACEOF
6322 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6324 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6327 # If some macros were called several times there might be several times
6328 # the same #defines, which is useless. Nevertheless, we may not want to
6329 # sort them, since we want the *last* AC-DEFINE to be honored.
6330 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6331 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6332 rm -f confdef2sed.sed
6334 # This sed command replaces #undef with comments. This is necessary, for
6335 # example, in the case of _POSIX_SOURCE, which is predefined and required
6336 # on some systems where configure will not decide to define it.
6337 cat >>conftest.undefs <<\_ACEOF
6338 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6341 # Break up conftest.defines because some shells have a limit on the size
6342 # of here documents, and old seds have small limits too (100 cmds).
6343 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6344 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6345 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6346 echo ' :' >>$CONFIG_STATUS
6348 while grep . conftest.defines >/dev/null
6350 # Write a limited-size here document to $tmp/defines.sed.
6351 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6352 # Speed up: don't consider the non `#define' lines.
6353 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6354 # Work around the forget-to-reset-the-flag bug.
6355 echo 't clr' >>$CONFIG_STATUS
6356 echo ': clr' >>$CONFIG_STATUS
6357 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6359 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6363 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6364 rm -f conftest.defines
6365 mv conftest.
tail conftest.defines
6367 rm -f conftest.defines
6368 echo ' fi # egrep' >>$CONFIG_STATUS
6369 echo >>$CONFIG_STATUS
6371 # Break up conftest.undefs because some shells have a limit on the size
6372 # of here documents, and old seds have small limits too (100 cmds).
6373 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6375 while grep . conftest.undefs
>/dev
/null
6377 # Write a limited-size here document to $tmp/undefs.sed.
6378 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6379 # Speed up: don't consider the non
`#undef'
6380 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6381 # Work around the forget-to-reset-the-flag bug.
6382 echo 't clr' >>$CONFIG_STATUS
6383 echo ': clr' >>$CONFIG_STATUS
6384 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6386 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6390 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6391 rm -f conftest.undefs
6392 mv conftest.tail conftest.undefs
6394 rm -f conftest.undefs
6396 cat >>$CONFIG_STATUS <<\_ACEOF
6397 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6398 # use $as_me), people would be surprised to read:
6399 # /* config.h. Generated by config.status. */
6400 if test x
"$ac_file" = x
-; then
6401 echo "/* Generated by configure. */" >$tmp/config.h
6403 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6405 cat $tmp/in >>$tmp/config.h
6407 if test x
"$ac_file" != x
-; then
6408 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
6409 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6410 echo "$as_me: $ac_file is unchanged" >&6;}
6412 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6413 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6414 X"$ac_file" : 'X\(//\)[^/]' \| \
6415 X"$ac_file" : 'X\(//\)$' \| \
6416 X"$ac_file" : 'X\(/\)' \| \
6417 . : '\(.\)' 2>/dev/null ||
6419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6420 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6421 /^X\(\/\/\)$/{ s//\1/; q; }
6422 /^X\(\/\).*/{ s//\1/; q; }
6425 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
6429 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6430 case $as_mkdir_dir in
6431 # Skip DOS drivespec
6432 ?
:) as_incr_dir
=$as_mkdir_dir ;;
6434 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
6435 test -d "$as_incr_dir" ||
6436 mkdir "$as_incr_dir" ||
6437 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
6438 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
6439 { (exit 1); exit 1; }; }
6445 mv $tmp/config.h
$ac_file
6453 cat >>$CONFIG_STATUS <<\_ACEOF
6456 # CONFIG_COMMANDS section.
6458 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6459 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6460 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6461 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6462 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6463 X"$ac_dest" : 'X\(//\)[^/]' \| \
6464 X"$ac_dest" : 'X\(//\)$' \| \
6465 X"$ac_dest" : 'X\(/\)' \| \
6466 . : '\(.\)' 2>/dev/null ||
6468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6469 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6470 /^X\(\/\/\)$/{ s//\1/; q; }
6471 /^X\(\/\).*/{ s//\1/; q; }
6475 if test "$ac_dir" != .
; then
6476 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6477 # A "../" for each directory in $ac_dir_suffix.
6478 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6480 ac_dir_suffix
= ac_top_builddir
=
6484 .
) # No --srcdir option. We are building in place.
6486 if test -z "$ac_top_builddir"; then
6489 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6491 [\\/]* | ?
:[\\/]* ) # Absolute path.
6492 ac_srcdir
=$srcdir$ac_dir_suffix;
6493 ac_top_srcdir
=$srcdir ;;
6495 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6496 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6498 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6500 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
6501 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
6502 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6503 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6506 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6507 echo "$as_me: executing $ac_dest commands" >&6;}
6509 default
-1 ) test -z "$CONFIG_HEADERS" || echo timestamp
> stamp
-h ;;
6514 cat >>$CONFIG_STATUS <<\_ACEOF
6516 { (exit 0); exit 0; }
6518 chmod +x
$CONFIG_STATUS
6519 ac_clean_files
=$ac_clean_files_save
6522 # configure is writing to config.log, and then calls config.status.
6523 # config.status does its own redirection, appending to config.log.
6524 # Unfortunately, on DOS this fails, as config.log is still kept open
6525 # by configure, so config.status won't be able to write to it; its
6526 # output is simply discarded. So we exec the FD to /dev/null,
6527 # effectively closing config.log, so it can be properly (re)opened and
6528 # appended to by config.status. When coming back to configure, we
6529 # need to make the FD available again.
6530 if test "$no_create" != yes; then
6533 $SHELL $CONFIG_STATUS || ac_cs_success
=false
6535 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6536 # would make configure fail if this is the last instruction.
6537 $ac_cs_success || { (exit 1); exit 1; }