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
="configure.in"
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_CPP_set
=${CPP+set}
752 ac_env_CPP_value
=$CPP
753 ac_cv_env_CPP_set
=${CPP+set}
754 ac_cv_env_CPP_value
=$CPP
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures this package to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
817 --program-prefix=PREFIX prepend PREFIX to installed program names
818 --program-suffix=SUFFIX append SUFFIX to installed program names
819 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
823 if test -n "$ac_init_help"; then
828 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
829 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
830 --enable-maintainer-mode enable make rules and dependencies not useful
831 (and sometimes confusing
) to the casual installer
833 Some influential environment variables
:
834 CC C compiler
command
835 CFLAGS C compiler flags
836 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
837 nonstandard directory
<lib dir
>
838 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
839 headers
in a nonstandard directory
<include dir
>
842 Use these variables to override the choices made by
`configure' or to help
843 it to find libraries and programs with nonstandard names/locations.
848 if test "$ac_init_help" = "recursive"; then
849 # If there are subdirs, report their specific --help.
851 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
852 test -d $ac_dir || continue
855 if test "$ac_dir" != .; then
856 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
857 # A "../" for each directory in $ac_dir_suffix.
858 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
860 ac_dir_suffix= ac_top_builddir=
864 .) # No --srcdir option. We are building in place.
866 if test -z "$ac_top_builddir"; then
869 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
871 [\\/]* | ?:[\\/]* ) # Absolute path.
872 ac_srcdir=$srcdir$ac_dir_suffix;
873 ac_top_srcdir=$srcdir ;;
875 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
876 ac_top_srcdir=$ac_top_builddir$srcdir ;;
878 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
880 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
881 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
882 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
883 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
886 # Check for guested configure; otherwise get Cygnus style configure.
887 if test -f $ac_srcdir/configure.gnu; then
889 $SHELL $ac_srcdir/configure.gnu --help=recursive
890 elif test -f $ac_srcdir/configure; then
892 $SHELL $ac_srcdir/configure --help=recursive
893 elif test -f $ac_srcdir/configure.ac ||
894 test -f $ac_srcdir/configure.in; then
898 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
904 test -n "$ac_init_help" && exit 0
905 if $ac_init_version; then
908 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
909 Free Software Foundation, Inc.
910 This configure script is free software; the Free Software Foundation
911 gives unlimited permission to copy, distribute and modify it.
917 This file contains any messages produced by compilers while
918 running configure, to aid debugging if configure makes a mistake.
920 It was created by $as_me, which was
921 generated by GNU Autoconf 2.53. Invocation command line was
932 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
933 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
934 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
935 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
936 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
938 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
939 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
941 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
942 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
943 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
944 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
945 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
946 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
947 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
955 test -z "$as_dir" && as_dir=.
971 # Keep a trace of the command line.
972 # Strip out --no-create and --no-recursion so they do not pile up.
973 # Also quote any args containing shell meta-characters.
979 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
980 | --no-cr | --no-c | -n ) continue ;;
981 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
982 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
984 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
985 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
987 case " $ac_configure_args " in
988 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
989 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
992 # Get rid of the leading space.
995 # When interrupted or exit'd, cleanup temporary files, and complete
996 # config.log. We remove comments because anyway the quotes in there
997 # would cause problems or look ugly.
998 # WARNING: Be sure not to use single quotes in there, as some shells,
999 # such as our DU 5.0 friend, will then `close
' the trap.
1000 trap 'exit_status
=$?
1001 # Save into config.log some information that might help in debugging.
1005 ## ---------------- ##
1006 ## Cache variables. ##
1007 ## ---------------- ##
1010 # The following way of writing the cache mishandles newlines in values,
1013 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1016 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1017 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1021 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1026 if test -s confdefs.h
; then
1033 sed "/^$/d" confdefs.h
1036 test "$ac_signal" != 0 &&
1037 echo "$as_me: caught signal $ac_signal"
1038 echo "$as_me: exit $exit_status"
1040 rm -f core core.
* *.core
&&
1041 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1044 for ac_signal in 1 2 13 15; do
1045 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1049 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1050 rm -rf conftest* confdefs.h
1051 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1054 # Predefined preprocessor variables.
1056 cat >>confdefs.h <<_ACEOF
1057 #define PACKAGE_NAME "$PACKAGE_NAME"
1061 cat >>confdefs.h <<_ACEOF
1062 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1066 cat >>confdefs.h <<_ACEOF
1067 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1071 cat >>confdefs.h <<_ACEOF
1072 #define PACKAGE_STRING "$PACKAGE_STRING"
1076 cat >>confdefs.h <<_ACEOF
1077 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1081 # Let the site file select an alternate cache file if it wants to.
1082 # Prefer explicitly selected file to automatically selected ones.
1083 if test -z "$CONFIG_SITE"; then
1084 if test "x$prefix" != xNONE; then
1085 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1087 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1090 for ac_site_file in $CONFIG_SITE; do
1091 if test -r "$ac_site_file"; then
1092 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1093 echo "$as_me: loading site script $ac_site_file" >&6;}
1094 sed 's
/^
/|
/' "$ac_site_file" >&5
1099 if test -r "$cache_file"; then
1100 # Some versions of bash will fail to source /dev/null (special
1101 # files actually), so we avoid doing that.
1102 if test -f "$cache_file"; then
1103 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1104 echo "$as_me: loading cache $cache_file" >&6;}
1106 [\\/]* | ?:[\\/]* ) . $cache_file;;
1107 *) . ./$cache_file;;
1111 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1112 echo "$as_me: creating cache $cache_file" >&6;}
1116 # Check that the precious variables saved in the cache have kept the same
1118 ac_cache_corrupted=false
1119 for ac_var in `(set) 2>&1 |
1120 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1121 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1122 eval ac_new_set=\$ac_env_${ac_var}_set
1123 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1124 eval ac_new_val="\$ac_env_${ac_var}_value"
1125 case $ac_old_set,$ac_new_set in
1127 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1128 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1129 ac_cache_corrupted=: ;;
1131 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1132 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1133 ac_cache_corrupted=: ;;
1136 if test "x$ac_old_val" != "x$ac_new_val"; then
1137 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1138 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1139 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1140 echo "$as_me: former value: $ac_old_val" >&2;}
1141 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1142 echo "$as_me: current value: $ac_new_val" >&2;}
1143 ac_cache_corrupted=:
1146 # Pass precious variables to config.status.
1147 if test "$ac_new_set" = set; then
1149 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1150 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1151 *) ac_arg=$ac_var=$ac_new_val ;;
1153 case " $ac_configure_args " in
1154 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1155 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1159 if $ac_cache_corrupted; then
1160 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1161 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1162 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1163 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1164 { (exit 1); exit 1; }; }
1168 ac_cpp='$CPP $CPPFLAGS'
1169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1170 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1190 am__api_version="1.4"
1192 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1193 if test -f $ac_dir/install-sh; then
1195 ac_install_sh="$ac_aux_dir/install-sh -c"
1197 elif test -f $ac_dir/install.sh; then
1199 ac_install_sh="$ac_aux_dir/install.sh -c"
1201 elif test -f $ac_dir/shtool; then
1203 ac_install_sh="$ac_aux_dir/shtool install -c"
1207 if test -z "$ac_aux_dir"; then
1208 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1209 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1210 { (exit 1); exit 1; }; }
1212 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1213 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1214 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1216 # Find a good install program. We prefer a C program (faster),
1217 # so one script is as good as another. But avoid the broken or
1218 # incompatible versions:
1219 # SysV /etc/install, /usr/sbin/install
1220 # SunOS /usr/etc/install
1221 # IRIX /sbin/install
1223 # AmigaOS /C/install, which installs bootblocks on floppy discs
1224 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1225 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1226 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1227 # ./install, which can be erroneously created by make from ./install.sh.
1228 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1229 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1230 if test -z "$INSTALL"; then
1231 if test "${ac_cv_path_install+set}" = set; then
1232 echo $ECHO_N "(cached) $ECHO_C" >&6
1234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1238 test -z "$as_dir" && as_dir
=.
1239 # Account for people who put trailing slashes in PATH elements.
1241 .
/ | .
// |
/cC
/* | \
1242 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1245 # OSF1 and SCO ODT 3.0 have their own names for install.
1246 # Don't use installbsd from OSF since it installs stuff as root
1248 for ac_prog
in ginstall scoinst
install; do
1249 for ac_exec_ext
in '' $ac_executable_extensions; do
1250 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1251 if test $ac_prog = install &&
1252 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1253 # AIX install. It has an incompatible calling convention.
1255 elif test $ac_prog = install &&
1256 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1257 # program-specific install script used by HP pwplus--don't use.
1260 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1272 if test "${ac_cv_path_install+set}" = set; then
1273 INSTALL
=$ac_cv_path_install
1275 # As a last resort, use the slow shell script. We don't cache a
1276 # path for INSTALL within a source directory, because that will
1277 # break other packages using the cache if that directory is
1278 # removed, or if the path is relative.
1279 INSTALL
=$ac_install_sh
1282 echo "$as_me:$LINENO: result: $INSTALL" >&5
1283 echo "${ECHO_T}$INSTALL" >&6
1285 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1286 # It thinks the first close brace ends the variable substitution.
1287 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1289 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1291 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1293 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1294 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1297 echo timestamp
> conftestfile
1298 # Do `set' in a subshell so we don't clobber the current shell's
1299 # arguments. Must try -L first in case configure is actually a
1300 # symlink; some systems play weird games with the mod time of symlinks
1301 # (eg FreeBSD returns the mod time of the symlink's containing
1304 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1305 if test "$*" = "X"; then
1307 set X
`ls -t $srcdir/configure conftestfile`
1309 if test "$*" != "X $srcdir/configure conftestfile" \
1310 && test "$*" != "X conftestfile $srcdir/configure"; then
1312 # If neither matched, then we have a broken ls. This can happen
1313 # if, for instance, CONFIG_SHELL is bash and it inherits a
1314 # broken ls alias from the environment. This has actually
1315 # happened. Such a system could not be considered "sane".
1316 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1317 alias in your environment" >&5
1318 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1319 alias in your environment" >&2;}
1320 { (exit 1); exit 1; }; }
1323 test "$2" = conftestfile
1329 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1330 Check your system clock" >&5
1331 echo "$as_me: error: newly created file is older than distributed files!
1332 Check your system clock" >&2;}
1333 { (exit 1); exit 1; }; }
1336 echo "$as_me:$LINENO: result: yes" >&5
1337 echo "${ECHO_T}yes" >&6
1338 test "$program_prefix" != NONE
&&
1339 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1340 # Use a double $ so make ignores it.
1341 test "$program_suffix" != NONE
&&
1342 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1343 # Double any \ or $. echo might interpret backslashes.
1344 # By default was `s,x,x', remove it if useless.
1345 cat <<\_ACEOF
>conftest.
sed
1346 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1348 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1351 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1352 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1353 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1354 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1355 echo $ECHO_N "(cached) $ECHO_C" >&6
1357 cat >conftest.
make <<\_ACEOF
1359 @
echo 'ac_maketemp="${MAKE}"'
1361 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1362 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1363 if test -n "$ac_maketemp"; then
1364 eval ac_cv_prog_make_
${ac_make}_set
=yes
1366 eval ac_cv_prog_make_
${ac_make}_set
=no
1370 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1371 echo "$as_me:$LINENO: result: yes" >&5
1372 echo "${ECHO_T}yes" >&6
1375 echo "$as_me:$LINENO: result: no" >&5
1376 echo "${ECHO_T}no" >&6
1377 SET_MAKE
="MAKE=${MAKE-make}"
1385 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
1386 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1387 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1388 { (exit 1); exit 1; }; }
1391 cat >>confdefs.h
<<_ACEOF
1392 #define PACKAGE "$PACKAGE"
1396 cat >>confdefs.h
<<_ACEOF
1397 #define VERSION "$VERSION"
1402 missing_dir
=`cd $ac_aux_dir && pwd`
1403 echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1404 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1405 # Run test in a subshell; some versions of sh will print an error if
1406 # an executable is not found, even if stderr is redirected.
1407 # Redirect stdin to placate older versions of autoconf. Sigh.
1408 if (aclocal-
${am__api_version} --version) < /dev
/null
> /dev
/null
2>&1; then
1409 ACLOCAL
=aclocal-
${am__api_version}
1410 echo "$as_me:$LINENO: result: found" >&5
1411 echo "${ECHO_T}found" >&6
1413 ACLOCAL
="$missing_dir/missing aclocal-${am__api_version}"
1414 echo "$as_me:$LINENO: result: missing" >&5
1415 echo "${ECHO_T}missing" >&6
1418 echo "$as_me:$LINENO: checking for working autoconf" >&5
1419 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1420 # Run test in a subshell; some versions of sh will print an error if
1421 # an executable is not found, even if stderr is redirected.
1422 # Redirect stdin to placate older versions of autoconf. Sigh.
1423 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
1425 echo "$as_me:$LINENO: result: found" >&5
1426 echo "${ECHO_T}found" >&6
1428 AUTOCONF
="$missing_dir/missing autoconf"
1429 echo "$as_me:$LINENO: result: missing" >&5
1430 echo "${ECHO_T}missing" >&6
1433 echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1434 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1435 # Run test in a subshell; some versions of sh will print an error if
1436 # an executable is not found, even if stderr is redirected.
1437 # Redirect stdin to placate older versions of autoconf. Sigh.
1438 if (automake-
${am__api_version} --version) < /dev
/null
> /dev
/null
2>&1; then
1439 AUTOMAKE
=automake-
${am__api_version}
1440 echo "$as_me:$LINENO: result: found" >&5
1441 echo "${ECHO_T}found" >&6
1443 AUTOMAKE
="$missing_dir/missing automake-${am__api_version}"
1444 echo "$as_me:$LINENO: result: missing" >&5
1445 echo "${ECHO_T}missing" >&6
1448 echo "$as_me:$LINENO: checking for working autoheader" >&5
1449 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1450 # Run test in a subshell; some versions of sh will print an error if
1451 # an executable is not found, even if stderr is redirected.
1452 # Redirect stdin to placate older versions of autoconf. Sigh.
1453 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
1454 AUTOHEADER
=autoheader
1455 echo "$as_me:$LINENO: result: found" >&5
1456 echo "${ECHO_T}found" >&6
1458 AUTOHEADER
="$missing_dir/missing autoheader"
1459 echo "$as_me:$LINENO: result: missing" >&5
1460 echo "${ECHO_T}missing" >&6
1463 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1464 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1465 # Run test in a subshell; some versions of sh will print an error if
1466 # an executable is not found, even if stderr is redirected.
1467 # Redirect stdin to placate older versions of autoconf. Sigh.
1468 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
1470 echo "$as_me:$LINENO: result: found" >&5
1471 echo "${ECHO_T}found" >&6
1473 MAKEINFO
="$missing_dir/missing makeinfo"
1474 echo "$as_me:$LINENO: result: missing" >&5
1475 echo "${ECHO_T}missing" >&6
1479 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1480 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1481 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1482 if test "${enable_maintainer_mode+set}" = set; then
1483 enableval
="$enable_maintainer_mode"
1484 USE_MAINTAINER_MODE
=$enableval
1486 USE_MAINTAINER_MODE
=no
1488 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1489 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1492 if test $USE_MAINTAINER_MODE = yes; then
1493 MAINTAINER_MODE_TRUE
=
1494 MAINTAINER_MODE_FALSE
='#'
1496 MAINTAINER_MODE_TRUE
='#'
1497 MAINTAINER_MODE_FALSE
=
1499 MAINT
=$MAINTAINER_MODE_TRUE
1503 ac_config_headers
="$ac_config_headers config.h"
1505 ac_config_commands
="$ac_config_commands default-1"
1509 ac_cpp
='$CPP $CPPFLAGS'
1510 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1511 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1512 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1513 if test -n "$ac_tool_prefix"; then
1514 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1515 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1516 echo "$as_me:$LINENO: checking for $ac_word" >&5
1517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1518 if test "${ac_cv_prog_CC+set}" = set; then
1519 echo $ECHO_N "(cached) $ECHO_C" >&6
1521 if test -n "$CC"; then
1522 ac_cv_prog_CC
="$CC" # Let the user override the test.
1524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1528 test -z "$as_dir" && as_dir
=.
1529 for ac_exec_ext
in '' $ac_executable_extensions; do
1530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1531 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1541 if test -n "$CC"; then
1542 echo "$as_me:$LINENO: result: $CC" >&5
1543 echo "${ECHO_T}$CC" >&6
1545 echo "$as_me:$LINENO: result: no" >&5
1546 echo "${ECHO_T}no" >&6
1550 if test -z "$ac_cv_prog_CC"; then
1552 # Extract the first word of "gcc", so it can be a program name with args.
1553 set dummy gcc
; ac_word
=$2
1554 echo "$as_me:$LINENO: checking for $ac_word" >&5
1555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1556 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1557 echo $ECHO_N "(cached) $ECHO_C" >&6
1559 if test -n "$ac_ct_CC"; then
1560 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1566 test -z "$as_dir" && as_dir
=.
1567 for ac_exec_ext
in '' $ac_executable_extensions; do
1568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1569 ac_cv_prog_ac_ct_CC
="gcc"
1570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1578 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1579 if test -n "$ac_ct_CC"; then
1580 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1581 echo "${ECHO_T}$ac_ct_CC" >&6
1583 echo "$as_me:$LINENO: result: no" >&5
1584 echo "${ECHO_T}no" >&6
1592 if test -z "$CC"; then
1593 if test -n "$ac_tool_prefix"; then
1594 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1595 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1596 echo "$as_me:$LINENO: checking for $ac_word" >&5
1597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1598 if test "${ac_cv_prog_CC+set}" = set; then
1599 echo $ECHO_N "(cached) $ECHO_C" >&6
1601 if test -n "$CC"; then
1602 ac_cv_prog_CC
="$CC" # Let the user override the test.
1604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1608 test -z "$as_dir" && as_dir
=.
1609 for ac_exec_ext
in '' $ac_executable_extensions; do
1610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1611 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1621 if test -n "$CC"; then
1622 echo "$as_me:$LINENO: result: $CC" >&5
1623 echo "${ECHO_T}$CC" >&6
1625 echo "$as_me:$LINENO: result: no" >&5
1626 echo "${ECHO_T}no" >&6
1630 if test -z "$ac_cv_prog_CC"; then
1632 # Extract the first word of "cc", so it can be a program name with args.
1633 set dummy cc
; ac_word
=$2
1634 echo "$as_me:$LINENO: checking for $ac_word" >&5
1635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1636 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1637 echo $ECHO_N "(cached) $ECHO_C" >&6
1639 if test -n "$ac_ct_CC"; then
1640 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1646 test -z "$as_dir" && as_dir
=.
1647 for ac_exec_ext
in '' $ac_executable_extensions; do
1648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1649 ac_cv_prog_ac_ct_CC
="cc"
1650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1658 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1659 if test -n "$ac_ct_CC"; then
1660 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1661 echo "${ECHO_T}$ac_ct_CC" >&6
1663 echo "$as_me:$LINENO: result: no" >&5
1664 echo "${ECHO_T}no" >&6
1673 if test -z "$CC"; then
1674 # Extract the first word of "cc", so it can be a program name with args.
1675 set dummy cc
; ac_word
=$2
1676 echo "$as_me:$LINENO: checking for $ac_word" >&5
1677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1678 if test "${ac_cv_prog_CC+set}" = set; then
1679 echo $ECHO_N "(cached) $ECHO_C" >&6
1681 if test -n "$CC"; then
1682 ac_cv_prog_CC
="$CC" # Let the user override the test.
1685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1689 test -z "$as_dir" && as_dir
=.
1690 for ac_exec_ext
in '' $ac_executable_extensions; do
1691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1692 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1693 ac_prog_rejected
=yes
1697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1703 if test $ac_prog_rejected = yes; then
1704 # We found a bogon in the path, so make sure we never use it.
1705 set dummy
$ac_cv_prog_CC
1707 if test $# != 0; then
1708 # We chose a different compiler from the bogus one.
1709 # However, it has the same basename, so the bogon will be chosen
1710 # first if we set CC to just the basename; use the full file name.
1712 set dummy
"$as_dir/$ac_word" ${1+"$@"}
1720 if test -n "$CC"; then
1721 echo "$as_me:$LINENO: result: $CC" >&5
1722 echo "${ECHO_T}$CC" >&6
1724 echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6
1729 if test -z "$CC"; then
1730 if test -n "$ac_tool_prefix"; then
1733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1734 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1735 echo "$as_me:$LINENO: checking for $ac_word" >&5
1736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1737 if test "${ac_cv_prog_CC+set}" = set; then
1738 echo $ECHO_N "(cached) $ECHO_C" >&6
1740 if test -n "$CC"; then
1741 ac_cv_prog_CC
="$CC" # Let the user override the test.
1743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1747 test -z "$as_dir" && as_dir
=.
1748 for ac_exec_ext
in '' $ac_executable_extensions; do
1749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1750 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1760 if test -n "$CC"; then
1761 echo "$as_me:$LINENO: result: $CC" >&5
1762 echo "${ECHO_T}$CC" >&6
1764 echo "$as_me:$LINENO: result: no" >&5
1765 echo "${ECHO_T}no" >&6
1768 test -n "$CC" && break
1771 if test -z "$CC"; then
1775 # Extract the first word of "$ac_prog", so it can be a program name with args.
1776 set dummy
$ac_prog; ac_word
=$2
1777 echo "$as_me:$LINENO: checking for $ac_word" >&5
1778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1779 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1780 echo $ECHO_N "(cached) $ECHO_C" >&6
1782 if test -n "$ac_ct_CC"; then
1783 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1789 test -z "$as_dir" && as_dir
=.
1790 for ac_exec_ext
in '' $ac_executable_extensions; do
1791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1792 ac_cv_prog_ac_ct_CC
="$ac_prog"
1793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1802 if test -n "$ac_ct_CC"; then
1803 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1804 echo "${ECHO_T}$ac_ct_CC" >&6
1806 echo "$as_me:$LINENO: result: no" >&5
1807 echo "${ECHO_T}no" >&6
1810 test -n "$ac_ct_CC" && break
1819 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1820 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1821 { (exit 1); exit 1; }; }
1823 # Provide some information about the compiler.
1824 echo "$as_me:$LINENO:" \
1825 "checking for C compiler version" >&5
1826 ac_compiler
=`set X $ac_compile; echo $2`
1827 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1828 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1831 (exit $ac_status); }
1832 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1833 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1836 (exit $ac_status); }
1837 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1838 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1841 (exit $ac_status); }
1843 cat >conftest.
$ac_ext <<_ACEOF
1844 #line $LINENO "configure"
1845 #include "confdefs.h"
1847 #ifdef F77_DUMMY_MAIN
1851 int F77_DUMMY_MAIN() { return 1; }
1861 ac_clean_files_save
=$ac_clean_files
1862 ac_clean_files
="$ac_clean_files a.out a.exe"
1863 # Try to create an executable without -o first, disregard a.out.
1864 # It will help us diagnose broken compilers, and finding out an intuition
1866 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1867 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1868 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1869 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1870 (eval $ac_link_default) 2>&5
1872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1873 (exit $ac_status); }; then
1874 # Find the output, starting from the most likely. This scheme is
1875 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1878 # Be careful to initialize this variable, since it used to be cached.
1879 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1881 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1882 ls a.out conftest 2>/dev/null;
1883 ls a.* conftest.* 2>/dev/null`; do
1885 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM
) ;;
1886 a.out
) # We found the default executable, but exeext='' is most
1889 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1890 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1897 echo "$as_me: failed program was:" >&5
1898 cat conftest.
$ac_ext >&5
1899 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1900 echo "$as_me: error: C compiler cannot create executables" >&2;}
1901 { (exit 77); exit 77; }; }
1904 ac_exeext
=$ac_cv_exeext
1905 echo "$as_me:$LINENO: result: $ac_file" >&5
1906 echo "${ECHO_T}$ac_file" >&6
1908 # Check the compiler produces executables we can run. If not, either
1909 # the compiler is broken, or we cross compile.
1910 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1911 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1912 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1913 # If not cross compiling, check that we can run a simple program.
1914 if test "$cross_compiling" != yes; then
1915 if { ac_try
='./$ac_file'
1916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1920 (exit $ac_status); }; }; then
1923 if test "$cross_compiling" = maybe
; then
1926 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1927 If you meant to cross compile, use \`--host'." >&5
1928 echo "$as_me: error: cannot run C compiled programs.
1929 If you meant to cross compile, use \`--host'." >&2;}
1930 { (exit 1); exit 1; }; }
1934 echo "$as_me:$LINENO: result: yes" >&5
1935 echo "${ECHO_T}yes" >&6
1937 rm -f a.out a.exe conftest
$ac_cv_exeext
1938 ac_clean_files
=$ac_clean_files_save
1939 # Check the compiler produces executables we can run. If not, either
1940 # the compiler is broken, or we cross compile.
1941 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1942 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1943 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1944 echo "${ECHO_T}$cross_compiling" >&6
1946 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1947 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1949 (eval $ac_link) 2>&5
1951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1952 (exit $ac_status); }; then
1953 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1954 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1955 # work properly (i.e., refer to `conftest.exe'), while it won't with
1957 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1959 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1960 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1967 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1968 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1969 { (exit 1); exit 1; }; }
1972 rm -f conftest
$ac_cv_exeext
1973 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1974 echo "${ECHO_T}$ac_cv_exeext" >&6
1976 rm -f conftest.
$ac_ext
1977 EXEEXT
=$ac_cv_exeext
1979 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1980 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1981 if test "${ac_cv_objext+set}" = set; then
1982 echo $ECHO_N "(cached) $ECHO_C" >&6
1984 cat >conftest.
$ac_ext <<_ACEOF
1985 #line $LINENO "configure"
1986 #include "confdefs.h"
1988 #ifdef F77_DUMMY_MAIN
1992 int F77_DUMMY_MAIN() { return 1; }
2002 rm -f conftest.o conftest.obj
2003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2004 (eval $ac_compile) 2>&5
2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007 (exit $ac_status); }; then
2008 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2010 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
2011 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2016 echo "$as_me: failed program was:" >&5
2017 cat conftest.
$ac_ext >&5
2018 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2019 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2020 { (exit 1); exit 1; }; }
2023 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2025 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2026 echo "${ECHO_T}$ac_cv_objext" >&6
2027 OBJEXT
=$ac_cv_objext
2029 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2030 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2031 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2032 echo $ECHO_N "(cached) $ECHO_C" >&6
2034 cat >conftest.
$ac_ext <<_ACEOF
2035 #line $LINENO "configure"
2036 #include "confdefs.h"
2038 #ifdef F77_DUMMY_MAIN
2042 int F77_DUMMY_MAIN() { return 1; }
2055 rm -f conftest.
$ac_objext
2056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2057 (eval $ac_compile) 2>&5
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060 (exit $ac_status); } &&
2061 { ac_try
='test -s conftest.$ac_objext'
2062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }; }; then
2069 echo "$as_me: failed program was:" >&5
2070 cat conftest.
$ac_ext >&5
2073 rm -f conftest.
$ac_objext conftest.
$ac_ext
2074 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2077 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2078 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2079 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2080 ac_test_CFLAGS
=${CFLAGS+set}
2081 ac_save_CFLAGS
=$CFLAGS
2083 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2084 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2085 if test "${ac_cv_prog_cc_g+set}" = set; then
2086 echo $ECHO_N "(cached) $ECHO_C" >&6
2088 cat >conftest.
$ac_ext <<_ACEOF
2089 #line $LINENO "configure"
2090 #include "confdefs.h"
2092 #ifdef F77_DUMMY_MAIN
2096 int F77_DUMMY_MAIN() { return 1; }
2106 rm -f conftest.
$ac_objext
2107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2108 (eval $ac_compile) 2>&5
2110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2111 (exit $ac_status); } &&
2112 { ac_try
='test -s conftest.$ac_objext'
2113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2117 (exit $ac_status); }; }; then
2120 echo "$as_me: failed program was:" >&5
2121 cat conftest.
$ac_ext >&5
2124 rm -f conftest.
$ac_objext conftest.
$ac_ext
2126 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2127 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2128 if test "$ac_test_CFLAGS" = set; then
2129 CFLAGS
=$ac_save_CFLAGS
2130 elif test $ac_cv_prog_cc_g = yes; then
2131 if test "$GCC" = yes; then
2137 if test "$GCC" = yes; then
2143 # Some people use a C++ compiler to compile C. Since we use `exit',
2144 # in C++ we need to declare it. In case someone uses the same compiler
2145 # for both compiling C and C++ we need to have the C++ compiler decide
2146 # the declaration of exit, since it's the most demanding environment.
2147 cat >conftest.
$ac_ext <<_ACEOF
2152 rm -f conftest.
$ac_objext
2153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2154 (eval $ac_compile) 2>&5
2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157 (exit $ac_status); } &&
2158 { ac_try
='test -s conftest.$ac_objext'
2159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2163 (exit $ac_status); }; }; then
2164 for ac_declaration
in \
2166 '#include <stdlib.h>' \
2167 'extern "C" void std::exit (int) throw (); using std::exit;' \
2168 'extern "C" void std::exit (int); using std::exit;' \
2169 'extern "C" void exit (int) throw ();' \
2170 'extern "C" void exit (int);' \
2173 cat >conftest.
$ac_ext <<_ACEOF
2174 #line $LINENO "configure"
2175 #include "confdefs.h"
2178 #ifdef F77_DUMMY_MAIN
2182 int F77_DUMMY_MAIN() { return 1; }
2192 rm -f conftest.
$ac_objext
2193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2194 (eval $ac_compile) 2>&5
2196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2197 (exit $ac_status); } &&
2198 { ac_try
='test -s conftest.$ac_objext'
2199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203 (exit $ac_status); }; }; then
2206 echo "$as_me: failed program was:" >&5
2207 cat conftest.
$ac_ext >&5
2210 rm -f conftest.
$ac_objext conftest.
$ac_ext
2211 cat >conftest.
$ac_ext <<_ACEOF
2212 #line $LINENO "configure"
2213 #include "confdefs.h"
2215 #ifdef F77_DUMMY_MAIN
2219 int F77_DUMMY_MAIN() { return 1; }
2229 rm -f conftest.
$ac_objext
2230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2231 (eval $ac_compile) 2>&5
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); } &&
2235 { ac_try
='test -s conftest.$ac_objext'
2236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240 (exit $ac_status); }; }; then
2243 echo "$as_me: failed program was:" >&5
2244 cat conftest.
$ac_ext >&5
2246 rm -f conftest.
$ac_objext conftest.
$ac_ext
2249 if test -n "$ac_declaration"; then
2250 echo '#ifdef __cplusplus' >>confdefs.h
2251 echo $ac_declaration >>confdefs.h
2252 echo '#endif' >>confdefs.h
2256 echo "$as_me: failed program was:" >&5
2257 cat conftest.
$ac_ext >&5
2259 rm -f conftest.
$ac_objext conftest.
$ac_ext
2261 ac_cpp
='$CPP $CPPFLAGS'
2262 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2263 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2264 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2268 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2269 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2270 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2271 echo $ECHO_N "(cached) $ECHO_C" >&6
2273 ac_check_lib_save_LIBS
=$LIBS
2274 LIBS
="-lcposix $LIBS"
2275 cat >conftest.
$ac_ext <<_ACEOF
2276 #line $LINENO "configure"
2277 #include "confdefs.h"
2279 /* Override any gcc2 internal prototype to avoid an error. */
2283 /* We use char because int might match the return type of a gcc2
2284 builtin and then its argument prototype would still apply. */
2286 #ifdef F77_DUMMY_MAIN
2290 int F77_DUMMY_MAIN() { return 1; }
2300 rm -f conftest.
$ac_objext conftest
$ac_exeext
2301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2302 (eval $ac_link) 2>&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); } &&
2306 { ac_try
='test -s conftest$ac_exeext'
2307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); }; }; then
2312 ac_cv_lib_cposix_strerror
=yes
2314 echo "$as_me: failed program was:" >&5
2315 cat conftest.
$ac_ext >&5
2316 ac_cv_lib_cposix_strerror
=no
2318 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2319 LIBS
=$ac_check_lib_save_LIBS
2321 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2322 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2323 if test $ac_cv_lib_cposix_strerror = yes; then
2324 LIBS
="$LIBS -lcposix"
2330 ac_cpp
='$CPP $CPPFLAGS'
2331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2334 if test -n "$ac_tool_prefix"; then
2335 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2336 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2337 echo "$as_me:$LINENO: checking for $ac_word" >&5
2338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2339 if test "${ac_cv_prog_CC+set}" = set; then
2340 echo $ECHO_N "(cached) $ECHO_C" >&6
2342 if test -n "$CC"; then
2343 ac_cv_prog_CC
="$CC" # Let the user override the test.
2345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2349 test -z "$as_dir" && as_dir
=.
2350 for ac_exec_ext
in '' $ac_executable_extensions; do
2351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2352 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 if test -n "$CC"; then
2363 echo "$as_me:$LINENO: result: $CC" >&5
2364 echo "${ECHO_T}$CC" >&6
2366 echo "$as_me:$LINENO: result: no" >&5
2367 echo "${ECHO_T}no" >&6
2371 if test -z "$ac_cv_prog_CC"; then
2373 # Extract the first word of "gcc", so it can be a program name with args.
2374 set dummy gcc
; ac_word
=$2
2375 echo "$as_me:$LINENO: checking for $ac_word" >&5
2376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2377 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2378 echo $ECHO_N "(cached) $ECHO_C" >&6
2380 if test -n "$ac_ct_CC"; then
2381 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2387 test -z "$as_dir" && as_dir
=.
2388 for ac_exec_ext
in '' $ac_executable_extensions; do
2389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2390 ac_cv_prog_ac_ct_CC
="gcc"
2391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2400 if test -n "$ac_ct_CC"; then
2401 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2402 echo "${ECHO_T}$ac_ct_CC" >&6
2404 echo "$as_me:$LINENO: result: no" >&5
2405 echo "${ECHO_T}no" >&6
2413 if test -z "$CC"; then
2414 if test -n "$ac_tool_prefix"; then
2415 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2416 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2417 echo "$as_me:$LINENO: checking for $ac_word" >&5
2418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2419 if test "${ac_cv_prog_CC+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 if test -n "$CC"; then
2423 ac_cv_prog_CC
="$CC" # Let the user override the test.
2425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2429 test -z "$as_dir" && as_dir
=.
2430 for ac_exec_ext
in '' $ac_executable_extensions; do
2431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2432 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 if test -n "$CC"; then
2443 echo "$as_me:$LINENO: result: $CC" >&5
2444 echo "${ECHO_T}$CC" >&6
2446 echo "$as_me:$LINENO: result: no" >&5
2447 echo "${ECHO_T}no" >&6
2451 if test -z "$ac_cv_prog_CC"; then
2453 # Extract the first word of "cc", so it can be a program name with args.
2454 set dummy cc
; ac_word
=$2
2455 echo "$as_me:$LINENO: checking for $ac_word" >&5
2456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2457 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2458 echo $ECHO_N "(cached) $ECHO_C" >&6
2460 if test -n "$ac_ct_CC"; then
2461 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2467 test -z "$as_dir" && as_dir
=.
2468 for ac_exec_ext
in '' $ac_executable_extensions; do
2469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2470 ac_cv_prog_ac_ct_CC
="cc"
2471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2479 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2480 if test -n "$ac_ct_CC"; then
2481 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2482 echo "${ECHO_T}$ac_ct_CC" >&6
2484 echo "$as_me:$LINENO: result: no" >&5
2485 echo "${ECHO_T}no" >&6
2494 if test -z "$CC"; then
2495 # Extract the first word of "cc", so it can be a program name with args.
2496 set dummy cc
; ac_word
=$2
2497 echo "$as_me:$LINENO: checking for $ac_word" >&5
2498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2499 if test "${ac_cv_prog_CC+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 if test -n "$CC"; then
2503 ac_cv_prog_CC
="$CC" # Let the user override the test.
2506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2510 test -z "$as_dir" && as_dir
=.
2511 for ac_exec_ext
in '' $ac_executable_extensions; do
2512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2513 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2514 ac_prog_rejected
=yes
2518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 if test $ac_prog_rejected = yes; then
2525 # We found a bogon in the path, so make sure we never use it.
2526 set dummy
$ac_cv_prog_CC
2528 if test $# != 0; then
2529 # We chose a different compiler from the bogus one.
2530 # However, it has the same basename, so the bogon will be chosen
2531 # first if we set CC to just the basename; use the full file name.
2533 set dummy
"$as_dir/$ac_word" ${1+"$@"}
2541 if test -n "$CC"; then
2542 echo "$as_me:$LINENO: result: $CC" >&5
2543 echo "${ECHO_T}$CC" >&6
2545 echo "$as_me:$LINENO: result: no" >&5
2546 echo "${ECHO_T}no" >&6
2550 if test -z "$CC"; then
2551 if test -n "$ac_tool_prefix"; then
2554 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2555 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2556 echo "$as_me:$LINENO: checking for $ac_word" >&5
2557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2558 if test "${ac_cv_prog_CC+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2561 if test -n "$CC"; then
2562 ac_cv_prog_CC
="$CC" # Let the user override the test.
2564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2568 test -z "$as_dir" && as_dir
=.
2569 for ac_exec_ext
in '' $ac_executable_extensions; do
2570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2571 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 if test -n "$CC"; then
2582 echo "$as_me:$LINENO: result: $CC" >&5
2583 echo "${ECHO_T}$CC" >&6
2585 echo "$as_me:$LINENO: result: no" >&5
2586 echo "${ECHO_T}no" >&6
2589 test -n "$CC" && break
2592 if test -z "$CC"; then
2596 # Extract the first word of "$ac_prog", so it can be a program name with args.
2597 set dummy
$ac_prog; ac_word
=$2
2598 echo "$as_me:$LINENO: checking for $ac_word" >&5
2599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2600 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2601 echo $ECHO_N "(cached) $ECHO_C" >&6
2603 if test -n "$ac_ct_CC"; then
2604 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2610 test -z "$as_dir" && as_dir
=.
2611 for ac_exec_ext
in '' $ac_executable_extensions; do
2612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2613 ac_cv_prog_ac_ct_CC
="$ac_prog"
2614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2622 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2623 if test -n "$ac_ct_CC"; then
2624 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2625 echo "${ECHO_T}$ac_ct_CC" >&6
2627 echo "$as_me:$LINENO: result: no" >&5
2628 echo "${ECHO_T}no" >&6
2631 test -n "$ac_ct_CC" && break
2640 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
2641 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
2642 { (exit 1); exit 1; }; }
2644 # Provide some information about the compiler.
2645 echo "$as_me:$LINENO:" \
2646 "checking for C compiler version" >&5
2647 ac_compiler
=`set X $ac_compile; echo $2`
2648 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2649 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); }
2653 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2654 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }
2658 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2659 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }
2664 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2665 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2666 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2667 echo $ECHO_N "(cached) $ECHO_C" >&6
2669 cat >conftest.
$ac_ext <<_ACEOF
2670 #line $LINENO "configure"
2671 #include "confdefs.h"
2673 #ifdef F77_DUMMY_MAIN
2677 int F77_DUMMY_MAIN() { return 1; }
2690 rm -f conftest.
$ac_objext
2691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2692 (eval $ac_compile) 2>&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); } &&
2696 { ac_try
='test -s conftest.$ac_objext'
2697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }; }; then
2704 echo "$as_me: failed program was:" >&5
2705 cat conftest.
$ac_ext >&5
2708 rm -f conftest.
$ac_objext conftest.
$ac_ext
2709 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2712 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2713 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2714 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2715 ac_test_CFLAGS
=${CFLAGS+set}
2716 ac_save_CFLAGS
=$CFLAGS
2718 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2719 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2720 if test "${ac_cv_prog_cc_g+set}" = set; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 cat >conftest.
$ac_ext <<_ACEOF
2724 #line $LINENO "configure"
2725 #include "confdefs.h"
2727 #ifdef F77_DUMMY_MAIN
2731 int F77_DUMMY_MAIN() { return 1; }
2741 rm -f conftest.
$ac_objext
2742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2743 (eval $ac_compile) 2>&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); } &&
2747 { ac_try
='test -s conftest.$ac_objext'
2748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); }; }; then
2755 echo "$as_me: failed program was:" >&5
2756 cat conftest.
$ac_ext >&5
2759 rm -f conftest.
$ac_objext conftest.
$ac_ext
2761 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2762 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2763 if test "$ac_test_CFLAGS" = set; then
2764 CFLAGS
=$ac_save_CFLAGS
2765 elif test $ac_cv_prog_cc_g = yes; then
2766 if test "$GCC" = yes; then
2772 if test "$GCC" = yes; then
2778 # Some people use a C++ compiler to compile C. Since we use `exit',
2779 # in C++ we need to declare it. In case someone uses the same compiler
2780 # for both compiling C and C++ we need to have the C++ compiler decide
2781 # the declaration of exit, since it's the most demanding environment.
2782 cat >conftest.
$ac_ext <<_ACEOF
2787 rm -f conftest.
$ac_objext
2788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2789 (eval $ac_compile) 2>&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); } &&
2793 { ac_try
='test -s conftest.$ac_objext'
2794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); }; }; then
2799 for ac_declaration
in \
2801 '#include <stdlib.h>' \
2802 'extern "C" void std::exit (int) throw (); using std::exit;' \
2803 'extern "C" void std::exit (int); using std::exit;' \
2804 'extern "C" void exit (int) throw ();' \
2805 'extern "C" void exit (int);' \
2808 cat >conftest.
$ac_ext <<_ACEOF
2809 #line $LINENO "configure"
2810 #include "confdefs.h"
2813 #ifdef F77_DUMMY_MAIN
2817 int F77_DUMMY_MAIN() { return 1; }
2827 rm -f conftest.
$ac_objext
2828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2829 (eval $ac_compile) 2>&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } &&
2833 { ac_try
='test -s conftest.$ac_objext'
2834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }; }; then
2841 echo "$as_me: failed program was:" >&5
2842 cat conftest.
$ac_ext >&5
2845 rm -f conftest.
$ac_objext conftest.
$ac_ext
2846 cat >conftest.
$ac_ext <<_ACEOF
2847 #line $LINENO "configure"
2848 #include "confdefs.h"
2850 #ifdef F77_DUMMY_MAIN
2854 int F77_DUMMY_MAIN() { return 1; }
2864 rm -f conftest.
$ac_objext
2865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2866 (eval $ac_compile) 2>&5
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); } &&
2870 { ac_try
='test -s conftest.$ac_objext'
2871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); }; }; then
2878 echo "$as_me: failed program was:" >&5
2879 cat conftest.
$ac_ext >&5
2881 rm -f conftest.
$ac_objext conftest.
$ac_ext
2884 if test -n "$ac_declaration"; then
2885 echo '#ifdef __cplusplus' >>confdefs.h
2886 echo $ac_declaration >>confdefs.h
2887 echo '#endif' >>confdefs.h
2891 echo "$as_me: failed program was:" >&5
2892 cat conftest.
$ac_ext >&5
2894 rm -f conftest.
$ac_objext conftest.
$ac_ext
2896 ac_cpp
='$CPP $CPPFLAGS'
2897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2904 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2905 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2906 if test "${am_cv_prog_cc_stdc+set}" = set; then
2907 echo $ECHO_N "(cached) $ECHO_C" >&6
2909 am_cv_prog_cc_stdc
=no
2911 # Don't try gcc -ansi; that turns off useful extensions and
2912 # breaks some systems' header files.
2913 # AIX -qlanglvl=ansi
2914 # Ultrix and OSF/1 -std1
2915 # HP-UX -Aa -D_HPUX_SOURCE
2916 # SVR4 -Xc -D__EXTENSIONS__
2917 for ac_arg
in "" -qlanglvl=ansi
-std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2919 CC
="$ac_save_CC $ac_arg"
2920 cat >conftest.
$ac_ext <<_ACEOF
2921 #line $LINENO "configure"
2922 #include "confdefs.h"
2925 #include <sys/types.h>
2926 #include <sys/stat.h>
2927 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2928 struct buf { int x; };
2929 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2930 static char *e (p, i)
2936 static char *f (char * (*g) (char **, int), char **p, ...)
2941 s = g (p, va_arg (v,int));
2945 int test (int i, double x);
2946 struct s1 {int (*f) (int a);};
2947 struct s2 {int (*f) (double a);};
2948 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2952 #ifdef F77_DUMMY_MAIN
2956 int F77_DUMMY_MAIN() { return 1; }
2962 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2968 rm -f conftest.
$ac_objext
2969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2970 (eval $ac_compile) 2>&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); } &&
2974 { ac_try
='test -s conftest.$ac_objext'
2975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); }; }; then
2980 am_cv_prog_cc_stdc
="$ac_arg"; break
2982 echo "$as_me: failed program was:" >&5
2983 cat conftest.
$ac_ext >&5
2985 rm -f conftest.
$ac_objext conftest.
$ac_ext
2991 if test -z "$am_cv_prog_cc_stdc"; then
2992 echo "$as_me:$LINENO: result: none needed" >&5
2993 echo "${ECHO_T}none needed" >&6
2995 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
2996 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2998 case "x$am_cv_prog_cc_stdc" in
3000 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
3004 ac_cpp
='$CPP $CPPFLAGS'
3005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3008 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3009 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3010 # On Suns, sometimes $CPP names a directory.
3011 if test -n "$CPP" && test -d "$CPP"; then
3014 if test -z "$CPP"; then
3015 if test "${ac_cv_prog_CPP+set}" = set; then
3016 echo $ECHO_N "(cached) $ECHO_C" >&6
3018 # Double quotes because CPP needs to be expanded
3019 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3022 for ac_c_preproc_warn_flag
in '' yes
3024 # Use a header file that comes with gcc, so configuring glibc
3025 # with a fresh cross-compiler works.
3026 # On the NeXT, cc -E runs the code through the compiler's parser,
3027 # not just through cpp. "Syntax error" is here to catch this case.
3028 cat >conftest.
$ac_ext <<_ACEOF
3029 #line $LINENO "configure"
3030 #include "confdefs.h"
3034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3035 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3037 egrep -v '^ *\+' conftest.er1
>conftest.err
3039 cat conftest.err
>&5
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); } >/dev
/null
; then
3042 if test -s conftest.err
; then
3043 ac_cpp_err
=$ac_c_preproc_warn_flag
3050 if test -z "$ac_cpp_err"; then
3053 echo "$as_me: failed program was:" >&5
3054 cat conftest.
$ac_ext >&5
3055 # Broken: fails on valid input.
3058 rm -f conftest.err conftest.
$ac_ext
3060 # OK, works on sane cases. Now check whether non-existent headers
3061 # can be detected and how.
3062 cat >conftest.
$ac_ext <<_ACEOF
3063 #line $LINENO "configure"
3064 #include "confdefs.h"
3065 #include <ac_nonexistent.h>
3067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3068 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3070 egrep -v '^ *\+' conftest.er1
>conftest.err
3072 cat conftest.err
>&5
3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); } >/dev
/null
; then
3075 if test -s conftest.err
; then
3076 ac_cpp_err
=$ac_c_preproc_warn_flag
3083 if test -z "$ac_cpp_err"; then
3084 # Broken: success on invalid input.
3087 echo "$as_me: failed program was:" >&5
3088 cat conftest.
$ac_ext >&5
3089 # Passes both tests.
3093 rm -f conftest.err conftest.
$ac_ext
3096 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3097 rm -f conftest.err conftest.
$ac_ext
3098 if $ac_preproc_ok; then
3110 echo "$as_me:$LINENO: result: $CPP" >&5
3111 echo "${ECHO_T}$CPP" >&6
3113 for ac_c_preproc_warn_flag
in '' yes
3115 # Use a header file that comes with gcc, so configuring glibc
3116 # with a fresh cross-compiler works.
3117 # On the NeXT, cc -E runs the code through the compiler's parser,
3118 # not just through cpp. "Syntax error" is here to catch this case.
3119 cat >conftest.
$ac_ext <<_ACEOF
3120 #line $LINENO "configure"
3121 #include "confdefs.h"
3125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3126 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3128 egrep -v '^ *\+' conftest.er1
>conftest.err
3130 cat conftest.err
>&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); } >/dev
/null
; then
3133 if test -s conftest.err
; then
3134 ac_cpp_err
=$ac_c_preproc_warn_flag
3141 if test -z "$ac_cpp_err"; then
3144 echo "$as_me: failed program was:" >&5
3145 cat conftest.
$ac_ext >&5
3146 # Broken: fails on valid input.
3149 rm -f conftest.err conftest.
$ac_ext
3151 # OK, works on sane cases. Now check whether non-existent headers
3152 # can be detected and how.
3153 cat >conftest.
$ac_ext <<_ACEOF
3154 #line $LINENO "configure"
3155 #include "confdefs.h"
3156 #include <ac_nonexistent.h>
3158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3159 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3161 egrep -v '^ *\+' conftest.er1
>conftest.err
3163 cat conftest.err
>&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); } >/dev
/null
; then
3166 if test -s conftest.err
; then
3167 ac_cpp_err
=$ac_c_preproc_warn_flag
3174 if test -z "$ac_cpp_err"; then
3175 # Broken: success on invalid input.
3178 echo "$as_me: failed program was:" >&5
3179 cat conftest.
$ac_ext >&5
3180 # Passes both tests.
3184 rm -f conftest.err conftest.
$ac_ext
3187 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3188 rm -f conftest.err conftest.
$ac_ext
3189 if $ac_preproc_ok; then
3192 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
3193 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3194 { (exit 1); exit 1; }; }
3198 ac_cpp
='$CPP $CPPFLAGS'
3199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3204 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3205 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3206 if test "${ac_cv_header_stdc+set}" = set; then
3207 echo $ECHO_N "(cached) $ECHO_C" >&6
3209 cat >conftest.
$ac_ext <<_ACEOF
3210 #line $LINENO "configure"
3211 #include "confdefs.h"
3218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3219 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3221 egrep -v '^ *\+' conftest.er1
>conftest.err
3223 cat conftest.err
>&5
3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); } >/dev
/null
; then
3226 if test -s conftest.err
; then
3227 ac_cpp_err
=$ac_c_preproc_warn_flag
3234 if test -z "$ac_cpp_err"; then
3235 ac_cv_header_stdc
=yes
3237 echo "$as_me: failed program was:" >&5
3238 cat conftest.
$ac_ext >&5
3239 ac_cv_header_stdc
=no
3241 rm -f conftest.err conftest.
$ac_ext
3243 if test $ac_cv_header_stdc = yes; then
3244 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3245 cat >conftest.
$ac_ext <<_ACEOF
3246 #line $LINENO "configure"
3247 #include "confdefs.h"
3251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3252 egrep "memchr" >/dev
/null
2>&1; then
3255 ac_cv_header_stdc
=no
3261 if test $ac_cv_header_stdc = yes; then
3262 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3263 cat >conftest.
$ac_ext <<_ACEOF
3264 #line $LINENO "configure"
3265 #include "confdefs.h"
3269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3270 egrep "free" >/dev
/null
2>&1; then
3273 ac_cv_header_stdc
=no
3279 if test $ac_cv_header_stdc = yes; then
3280 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3281 if test "$cross_compiling" = yes; then
3284 cat >conftest.
$ac_ext <<_ACEOF
3285 #line $LINENO "configure"
3286 #include "confdefs.h"
3288 #if ((' ' & 0x0FF) == 0x020)
3289 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3290 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3292 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3293 || ('j' <= (c) && (c) <= 'r') \
3294 || ('s' <= (c) && (c) <= 'z'))
3295 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3298 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3303 for (i = 0; i < 256; i++)
3304 if (XOR (islower (i), ISLOWER (i))
3305 || toupper (i) != TOUPPER (i))
3310 rm -f conftest
$ac_exeext
3311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3312 (eval $ac_link) 2>&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); }; }; then
3323 echo "$as_me: program exited with status $ac_status" >&5
3324 echo "$as_me: failed program was:" >&5
3325 cat conftest.
$ac_ext >&5
3327 ac_cv_header_stdc
=no
3329 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3333 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3334 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3335 if test $ac_cv_header_stdc = yes; then
3337 cat >>confdefs.h
<<\_ACEOF
3338 #define STDC_HEADERS 1
3344 GNOME_COMPILE_WARNINGS
3346 pkg_modules
="libgnomeui-2.0"
3350 if test -z "$PKG_CONFIG"; then
3351 # Extract the first word of "pkg-config", so it can be a program name with args.
3352 set dummy pkg-config
; ac_word
=$2
3353 echo "$as_me:$LINENO: checking for $ac_word" >&5
3354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3355 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3356 echo $ECHO_N "(cached) $ECHO_C" >&6
3360 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
3363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3367 test -z "$as_dir" && as_dir
=.
3368 for ac_exec_ext
in '' $ac_executable_extensions; do
3369 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3370 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3377 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
3381 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
3383 if test -n "$PKG_CONFIG"; then
3384 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3385 echo "${ECHO_T}$PKG_CONFIG" >&6
3387 echo "$as_me:$LINENO: result: no" >&5
3388 echo "${ECHO_T}no" >&6
3393 if test "$PKG_CONFIG" = "no" ; then
3394 echo "*** The pkg-config script could not be found. Make sure it is"
3395 echo "*** in your path, or set the PKG_CONFIG environment variable"
3396 echo "*** to the full path to pkg-config."
3397 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
3399 PKG_CONFIG_MIN_VERSION
=0.9.0
3400 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
3401 echo "$as_me:$LINENO: checking for $pkg_modules" >&5
3402 echo $ECHO_N "checking for $pkg_modules... $ECHO_C" >&6
3404 if $PKG_CONFIG --exists "$pkg_modules" ; then
3405 echo "$as_me:$LINENO: result: yes" >&5
3406 echo "${ECHO_T}yes" >&6
3409 echo "$as_me:$LINENO: checking PACKAGE_CFLAGS" >&5
3410 echo $ECHO_N "checking PACKAGE_CFLAGS... $ECHO_C" >&6
3411 PACKAGE_CFLAGS
=`$PKG_CONFIG --cflags "$pkg_modules"`
3412 echo "$as_me:$LINENO: result: $PACKAGE_CFLAGS" >&5
3413 echo "${ECHO_T}$PACKAGE_CFLAGS" >&6
3415 echo "$as_me:$LINENO: checking PACKAGE_LIBS" >&5
3416 echo $ECHO_N "checking PACKAGE_LIBS... $ECHO_C" >&6
3417 PACKAGE_LIBS
=`$PKG_CONFIG --libs "$pkg_modules"`
3418 echo "$as_me:$LINENO: result: $PACKAGE_LIBS" >&5
3419 echo "${ECHO_T}$PACKAGE_LIBS" >&6
3423 ## If we have a custom action on failure, don't print errors, but
3424 ## do set a variable so people can do so.
3425 PACKAGE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"`
3426 echo $PACKAGE_PKG_ERRORS
3432 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
3433 echo "*** See http://www.freedesktop.org/software/pkgconfig"
3437 if test $succeeded = yes; then
3440 { { echo "$as_me:$LINENO: error: Library requirements ($pkg_modules) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
3441 echo "$as_me: error: Library requirements ($pkg_modules) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
3442 { (exit 1); exit 1; }; }
3448 GETTEXT_PACKAGE
=gamazons
3450 cat >>confdefs.h
<<_ACEOF
3451 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
3456 if test -n "$ac_tool_prefix"; then
3457 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3458 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3459 echo "$as_me:$LINENO: checking for $ac_word" >&5
3460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3461 if test "${ac_cv_prog_RANLIB+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 if test -n "$RANLIB"; then
3465 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3471 test -z "$as_dir" && as_dir
=.
3472 for ac_exec_ext
in '' $ac_executable_extensions; do
3473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3474 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3483 RANLIB
=$ac_cv_prog_RANLIB
3484 if test -n "$RANLIB"; then
3485 echo "$as_me:$LINENO: result: $RANLIB" >&5
3486 echo "${ECHO_T}$RANLIB" >&6
3488 echo "$as_me:$LINENO: result: no" >&5
3489 echo "${ECHO_T}no" >&6
3493 if test -z "$ac_cv_prog_RANLIB"; then
3494 ac_ct_RANLIB
=$RANLIB
3495 # Extract the first word of "ranlib", so it can be a program name with args.
3496 set dummy ranlib
; ac_word
=$2
3497 echo "$as_me:$LINENO: checking for $ac_word" >&5
3498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3499 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3500 echo $ECHO_N "(cached) $ECHO_C" >&6
3502 if test -n "$ac_ct_RANLIB"; then
3503 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3509 test -z "$as_dir" && as_dir
=.
3510 for ac_exec_ext
in '' $ac_executable_extensions; do
3511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3512 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3519 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3522 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3523 if test -n "$ac_ct_RANLIB"; then
3524 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3525 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3531 RANLIB
=$ac_ct_RANLIB
3533 RANLIB
="$ac_cv_prog_RANLIB"
3536 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3537 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3538 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3539 echo $ECHO_N "(cached) $ECHO_C" >&6
3541 ac_cv_prog_cc_stdc
=no
3543 cat >conftest.
$ac_ext <<_ACEOF
3544 #line $LINENO "configure"
3545 #include "confdefs.h"
3548 #include <sys/types.h>
3549 #include <sys/stat.h>
3550 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3551 struct buf { int x; };
3552 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3553 static char *e (p, i)
3559 static char *f (char * (*g) (char **, int), char **p, ...)
3564 s = g (p, va_arg (v,int));
3568 int test (int i, double x);
3569 struct s1 {int (*f) (int a);};
3570 struct s2 {int (*f) (double a);};
3571 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3574 #ifdef F77_DUMMY_MAIN
3578 int F77_DUMMY_MAIN() { return 1; }
3583 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3588 # Don't try gcc -ansi; that turns off useful extensions and
3589 # breaks some systems' header files.
3590 # AIX -qlanglvl=ansi
3591 # Ultrix and OSF/1 -std1
3592 # HP-UX 10.20 and later -Ae
3593 # HP-UX older versions -Aa -D_HPUX_SOURCE
3594 # SVR4 -Xc -D__EXTENSIONS__
3595 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3597 CC
="$ac_save_CC $ac_arg"
3598 rm -f conftest.
$ac_objext
3599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3600 (eval $ac_compile) 2>&5
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); } &&
3604 { ac_try
='test -s conftest.$ac_objext'
3605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); }; }; then
3610 ac_cv_prog_cc_stdc
=$ac_arg
3613 echo "$as_me: failed program was:" >&5
3614 cat conftest.
$ac_ext >&5
3616 rm -f conftest.
$ac_objext
3618 rm -f conftest.
$ac_ext conftest.
$ac_objext
3623 case "x$ac_cv_prog_cc_stdc" in
3625 echo "$as_me:$LINENO: result: none needed" >&5
3626 echo "${ECHO_T}none needed" >&6 ;;
3628 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3629 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3630 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3633 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3634 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3635 if test "${ac_cv_c_const+set}" = set; then
3636 echo $ECHO_N "(cached) $ECHO_C" >&6
3638 cat >conftest.
$ac_ext <<_ACEOF
3639 #line $LINENO "configure"
3640 #include "confdefs.h"
3642 #ifdef F77_DUMMY_MAIN
3646 int F77_DUMMY_MAIN() { return 1; }
3651 /* FIXME: Include the comments suggested by Paul. */
3653 /* Ultrix mips cc rejects this. */
3654 typedef int charset[2];
3656 /* SunOS 4.1.1 cc rejects this. */
3657 char const *const *ccp;
3659 /* NEC SVR4.0.2 mips cc rejects this. */
3660 struct point {int x, y;};
3661 static struct point const zero = {0,0};
3662 /* AIX XL C 1.02.0.0 rejects this.
3663 It does not let you subtract one const X* pointer from another in
3664 an arm of an if-expression whose if-part is not a constant
3666 const char *g = "string";
3667 ccp = &g + (g ? g-g : 0);
3668 /* HPUX 7.0 cc rejects these. */
3671 ccp = (char const *const *) p;
3672 { /* SCO 3.2v4 cc rejects this. */
3674 char const *s = 0 ? (char *) 0 : (char const *) 0;
3678 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3680 const int *foo = &x[0];
3683 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3684 typedef const int *iptr;
3688 { /* AIX XL C 1.02.0.0 rejects this saying
3689 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3690 struct s { int j; const int *ap[3]; };
3691 struct s *b; b->j = 5;
3693 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3702 rm -f conftest.
$ac_objext
3703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3704 (eval $ac_compile) 2>&5
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); } &&
3708 { ac_try
='test -s conftest.$ac_objext'
3709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); }; }; then
3716 echo "$as_me: failed program was:" >&5
3717 cat conftest.
$ac_ext >&5
3720 rm -f conftest.
$ac_objext conftest.
$ac_ext
3722 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3723 echo "${ECHO_T}$ac_cv_c_const" >&6
3724 if test $ac_cv_c_const = no
; then
3726 cat >>confdefs.h
<<\_ACEOF
3732 echo "$as_me:$LINENO: checking for inline" >&5
3733 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3734 if test "${ac_cv_c_inline+set}" = set; then
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
3738 for ac_kw
in inline __inline__ __inline
; do
3739 cat >conftest.
$ac_ext <<_ACEOF
3740 #line $LINENO "configure"
3741 #include "confdefs.h"
3743 static $ac_kw int static_foo () {return 0; }
3744 $ac_kw int foo () {return 0; }
3748 rm -f conftest.
$ac_objext
3749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3750 (eval $ac_compile) 2>&5
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); } &&
3754 { ac_try
='test -s conftest.$ac_objext'
3755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3759 (exit $ac_status); }; }; then
3760 ac_cv_c_inline
=$ac_kw; break
3762 echo "$as_me: failed program was:" >&5
3763 cat conftest.
$ac_ext >&5
3765 rm -f conftest.
$ac_objext conftest.
$ac_ext
3769 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3770 echo "${ECHO_T}$ac_cv_c_inline" >&6
3771 case $ac_cv_c_inline in
3774 cat >>confdefs.h
<<\_ACEOF
3778 *) cat >>confdefs.h
<<_ACEOF
3779 #define inline $ac_cv_c_inline
3784 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3794 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3795 inttypes.h stdint.h unistd.h
3797 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3798 echo "$as_me:$LINENO: checking for $ac_header" >&5
3799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3801 echo $ECHO_N "(cached) $ECHO_C" >&6
3803 cat >conftest.
$ac_ext <<_ACEOF
3804 #line $LINENO "configure"
3805 #include "confdefs.h"
3806 $ac_includes_default
3808 #include <$ac_header>
3810 rm -f conftest.
$ac_objext
3811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3812 (eval $ac_compile) 2>&5
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); } &&
3816 { ac_try
='test -s conftest.$ac_objext'
3817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); }; }; then
3822 eval "$as_ac_Header=yes"
3824 echo "$as_me: failed program was:" >&5
3825 cat conftest.
$ac_ext >&5
3826 eval "$as_ac_Header=no"
3828 rm -f conftest.
$ac_objext conftest.
$ac_ext
3830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3833 cat >>confdefs.h
<<_ACEOF
3834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3842 echo "$as_me:$LINENO: checking for off_t" >&5
3843 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3844 if test "${ac_cv_type_off_t+set}" = set; then
3845 echo $ECHO_N "(cached) $ECHO_C" >&6
3847 cat >conftest.
$ac_ext <<_ACEOF
3848 #line $LINENO "configure"
3849 #include "confdefs.h"
3850 $ac_includes_default
3851 #ifdef F77_DUMMY_MAIN
3855 int F77_DUMMY_MAIN() { return 1; }
3868 rm -f conftest.
$ac_objext
3869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3870 (eval $ac_compile) 2>&5
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); } &&
3874 { ac_try
='test -s conftest.$ac_objext'
3875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); }; }; then
3880 ac_cv_type_off_t
=yes
3882 echo "$as_me: failed program was:" >&5
3883 cat conftest.
$ac_ext >&5
3886 rm -f conftest.
$ac_objext conftest.
$ac_ext
3888 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3889 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3890 if test $ac_cv_type_off_t = yes; then
3894 cat >>confdefs.h
<<_ACEOF
3900 echo "$as_me:$LINENO: checking for size_t" >&5
3901 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3902 if test "${ac_cv_type_size_t+set}" = set; then
3903 echo $ECHO_N "(cached) $ECHO_C" >&6
3905 cat >conftest.
$ac_ext <<_ACEOF
3906 #line $LINENO "configure"
3907 #include "confdefs.h"
3908 $ac_includes_default
3909 #ifdef F77_DUMMY_MAIN
3913 int F77_DUMMY_MAIN() { return 1; }
3920 if (sizeof (size_t))
3926 rm -f conftest.
$ac_objext
3927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3928 (eval $ac_compile) 2>&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } &&
3932 { ac_try
='test -s conftest.$ac_objext'
3933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); }; }; then
3938 ac_cv_type_size_t
=yes
3940 echo "$as_me: failed program was:" >&5
3941 cat conftest.
$ac_ext >&5
3942 ac_cv_type_size_t
=no
3944 rm -f conftest.
$ac_objext conftest.
$ac_ext
3946 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3947 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3948 if test $ac_cv_type_size_t = yes; then
3952 cat >>confdefs.h
<<_ACEOF
3953 #define size_t unsigned
3958 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3959 # for constant arguments. Useless!
3960 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3961 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3962 if test "${ac_cv_working_alloca_h+set}" = set; then
3963 echo $ECHO_N "(cached) $ECHO_C" >&6
3965 cat >conftest.
$ac_ext <<_ACEOF
3966 #line $LINENO "configure"
3967 #include "confdefs.h"
3969 #ifdef F77_DUMMY_MAIN
3973 int F77_DUMMY_MAIN() { return 1; }
3978 char *p = (char *) alloca (2 * sizeof (int));
3983 rm -f conftest.
$ac_objext conftest
$ac_exeext
3984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3985 (eval $ac_link) 2>&5
3987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988 (exit $ac_status); } &&
3989 { ac_try
='test -s conftest$ac_exeext'
3990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994 (exit $ac_status); }; }; then
3995 ac_cv_working_alloca_h
=yes
3997 echo "$as_me: failed program was:" >&5
3998 cat conftest.
$ac_ext >&5
3999 ac_cv_working_alloca_h
=no
4001 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4003 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
4004 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
4005 if test $ac_cv_working_alloca_h = yes; then
4007 cat >>confdefs.h
<<\_ACEOF
4008 #define HAVE_ALLOCA_H 1
4013 echo "$as_me:$LINENO: checking for alloca" >&5
4014 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
4015 if test "${ac_cv_func_alloca_works+set}" = set; then
4016 echo $ECHO_N "(cached) $ECHO_C" >&6
4018 cat >conftest.
$ac_ext <<_ACEOF
4019 #line $LINENO "configure"
4020 #include "confdefs.h"
4022 # define alloca __builtin_alloca
4025 # include <malloc.h>
4026 # define alloca _alloca
4029 # include <alloca.h>
4034 # ifndef alloca /* predefined by HP cc +Olibcalls */
4042 #ifdef F77_DUMMY_MAIN
4046 int F77_DUMMY_MAIN() { return 1; }
4051 char *p = (char *) alloca (1);
4056 rm -f conftest.
$ac_objext conftest
$ac_exeext
4057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4058 (eval $ac_link) 2>&5
4060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061 (exit $ac_status); } &&
4062 { ac_try
='test -s conftest$ac_exeext'
4063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); }; }; then
4068 ac_cv_func_alloca_works
=yes
4070 echo "$as_me: failed program was:" >&5
4071 cat conftest.
$ac_ext >&5
4072 ac_cv_func_alloca_works
=no
4074 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4076 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
4077 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
4079 if test $ac_cv_func_alloca_works = yes; then
4081 cat >>confdefs.h
<<\_ACEOF
4082 #define HAVE_ALLOCA 1
4086 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4087 # that cause trouble. Some versions do not even contain alloca or
4088 # contain a buggy version. If you still want to use their alloca,
4089 # use ar to extract alloca.o from them instead of compiling alloca.c.
4091 ALLOCA
=alloca.
$ac_objext
4093 cat >>confdefs.h
<<\_ACEOF
4098 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
4099 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
4100 if test "${ac_cv_os_cray+set}" = set; then
4101 echo $ECHO_N "(cached) $ECHO_C" >&6
4103 cat >conftest.
$ac_ext <<_ACEOF
4104 #line $LINENO "configure"
4105 #include "confdefs.h"
4106 #if defined(CRAY) && ! defined(CRAY2)
4113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4114 egrep "webecray" >/dev
/null
2>&1; then
4122 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
4123 echo "${ECHO_T}$ac_cv_os_cray" >&6
4124 if test $ac_cv_os_cray = yes; then
4125 for ac_func
in _getb67 GETB67 getb67
; do
4126 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4127 echo "$as_me:$LINENO: checking for $ac_func" >&5
4128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4129 if eval "test \"\${$as_ac_var+set}\" = set"; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 cat >conftest.
$ac_ext <<_ACEOF
4133 #line $LINENO "configure"
4134 #include "confdefs.h"
4135 /* System header to define __stub macros and hopefully few prototypes,
4136 which can conflict with char $ac_func (); below. */
4138 /* Override any gcc2 internal prototype to avoid an error. */
4142 /* We use char because int might match the return type of a gcc2
4143 builtin and then its argument prototype would still apply. */
4147 #ifdef F77_DUMMY_MAIN
4151 int F77_DUMMY_MAIN() { return 1; }
4156 /* The GNU C library defines this for functions which it implements
4157 to always fail with ENOSYS. Some functions are actually named
4158 something starting with __ and the normal name is an alias. */
4159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4169 rm -f conftest.
$ac_objext conftest
$ac_exeext
4170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4171 (eval $ac_link) 2>&5
4173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4174 (exit $ac_status); } &&
4175 { ac_try
='test -s conftest$ac_exeext'
4176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); }; }; then
4181 eval "$as_ac_var=yes"
4183 echo "$as_me: failed program was:" >&5
4184 cat conftest.
$ac_ext >&5
4185 eval "$as_ac_var=no"
4187 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4191 if test `eval echo '${'$as_ac_var'}'` = yes; then
4193 cat >>confdefs.h
<<_ACEOF
4194 #define CRAY_STACKSEG_END $ac_func
4203 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
4204 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4205 if test "${ac_cv_c_stack_direction+set}" = set; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4208 if test "$cross_compiling" = yes; then
4209 ac_cv_c_stack_direction
=0
4211 cat >conftest.
$ac_ext <<_ACEOF
4212 #line $LINENO "configure"
4213 #include "confdefs.h"
4215 find_stack_direction ()
4217 static char *addr = 0;
4222 return find_stack_direction ();
4225 return (&dummy > addr) ? 1 : -1;
4231 exit (find_stack_direction () < 0);
4234 rm -f conftest
$ac_exeext
4235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4236 (eval $ac_link) 2>&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); }; }; then
4245 ac_cv_c_stack_direction
=1
4247 echo "$as_me: program exited with status $ac_status" >&5
4248 echo "$as_me: failed program was:" >&5
4249 cat conftest.
$ac_ext >&5
4251 ac_cv_c_stack_direction
=-1
4253 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4256 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
4257 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4259 cat >>confdefs.h
<<_ACEOF
4260 #define STACK_DIRECTION $ac_cv_c_stack_direction
4268 for ac_header
in stdlib.h unistd.h
4270 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4272 echo "$as_me:$LINENO: checking for $ac_header" >&5
4273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4275 echo $ECHO_N "(cached) $ECHO_C" >&6
4277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4280 # Is the header compilable?
4281 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4282 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4283 cat >conftest.
$ac_ext <<_ACEOF
4284 #line $LINENO "configure"
4285 #include "confdefs.h"
4286 $ac_includes_default
4287 #include <$ac_header>
4289 rm -f conftest.
$ac_objext
4290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4291 (eval $ac_compile) 2>&5
4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294 (exit $ac_status); } &&
4295 { ac_try
='test -s conftest.$ac_objext'
4296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300 (exit $ac_status); }; }; then
4301 ac_header_compiler
=yes
4303 echo "$as_me: failed program was:" >&5
4304 cat conftest.
$ac_ext >&5
4305 ac_header_compiler
=no
4307 rm -f conftest.
$ac_objext conftest.
$ac_ext
4308 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4309 echo "${ECHO_T}$ac_header_compiler" >&6
4311 # Is the header present?
4312 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4313 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4314 cat >conftest.
$ac_ext <<_ACEOF
4315 #line $LINENO "configure"
4316 #include "confdefs.h"
4317 #include <$ac_header>
4319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4320 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4322 egrep -v '^ *\+' conftest.er1
>conftest.err
4324 cat conftest.err
>&5
4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); } >/dev
/null
; then
4327 if test -s conftest.err
; then
4328 ac_cpp_err
=$ac_c_preproc_warn_flag
4335 if test -z "$ac_cpp_err"; then
4336 ac_header_preproc
=yes
4338 echo "$as_me: failed program was:" >&5
4339 cat conftest.
$ac_ext >&5
4340 ac_header_preproc
=no
4342 rm -f conftest.err conftest.
$ac_ext
4343 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4344 echo "${ECHO_T}$ac_header_preproc" >&6
4346 # So? What about this header?
4347 case $ac_header_compiler:$ac_header_preproc in
4349 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4350 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4352 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4354 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4355 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4356 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4357 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4361 echo "$as_me:$LINENO: checking for $ac_header" >&5
4362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4364 echo $ECHO_N "(cached) $ECHO_C" >&6
4366 eval "$as_ac_Header=$ac_header_preproc"
4368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4372 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4373 cat >>confdefs.h
<<_ACEOF
4374 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4382 for ac_func
in getpagesize
4384 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4385 echo "$as_me:$LINENO: checking for $ac_func" >&5
4386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4387 if eval "test \"\${$as_ac_var+set}\" = set"; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 cat >conftest.
$ac_ext <<_ACEOF
4391 #line $LINENO "configure"
4392 #include "confdefs.h"
4393 /* System header to define __stub macros and hopefully few prototypes,
4394 which can conflict with char $ac_func (); below. */
4396 /* Override any gcc2 internal prototype to avoid an error. */
4400 /* We use char because int might match the return type of a gcc2
4401 builtin and then its argument prototype would still apply. */
4405 #ifdef F77_DUMMY_MAIN
4409 int F77_DUMMY_MAIN() { return 1; }
4414 /* The GNU C library defines this for functions which it implements
4415 to always fail with ENOSYS. Some functions are actually named
4416 something starting with __ and the normal name is an alias. */
4417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4427 rm -f conftest.
$ac_objext conftest
$ac_exeext
4428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4429 (eval $ac_link) 2>&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); } &&
4433 { ac_try
='test -s conftest$ac_exeext'
4434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4438 (exit $ac_status); }; }; then
4439 eval "$as_ac_var=yes"
4441 echo "$as_me: failed program was:" >&5
4442 cat conftest.
$ac_ext >&5
4443 eval "$as_ac_var=no"
4445 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4449 if test `eval echo '${'$as_ac_var'}'` = yes; then
4450 cat >>confdefs.h
<<_ACEOF
4451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4457 echo "$as_me:$LINENO: checking for working mmap" >&5
4458 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4459 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4462 if test "$cross_compiling" = yes; then
4463 ac_cv_func_mmap_fixed_mapped
=no
4465 cat >conftest.
$ac_ext <<_ACEOF
4466 #line $LINENO "configure"
4467 #include "confdefs.h"
4468 $ac_includes_default
4469 /* malloc might have been renamed as rpl_malloc. */
4472 /* Thanks to Mike Haertel and Jim Avera for this test.
4473 Here is a matrix of mmap possibilities:
4474 mmap private not fixed
4475 mmap private fixed at somewhere currently unmapped
4476 mmap private fixed at somewhere already mapped
4477 mmap shared not fixed
4478 mmap shared fixed at somewhere currently unmapped
4479 mmap shared fixed at somewhere already mapped
4480 For private mappings, we should verify that changes cannot be read()
4481 back from the file, nor mmap's back from the file at a different
4482 address. (There have been systems where private was not correctly
4483 implemented like the infamous i386 svr4.0, and systems where the
4484 VM page cache was not coherent with the file system buffer cache
4485 like early versions of FreeBSD and possibly contemporary NetBSD.)
4486 For shared mappings, we should conversely verify that changes get
4487 propagated back to all the places they're supposed to be.
4489 Grep wants private fixed already mapped.
4490 The main things grep needs to know about mmap are:
4491 * does it exist and is it safe to write into the mmap'd area
4492 * how to use it (BSD variants) */
4495 #include <sys/mman.h>
4497 #if !STDC_HEADERS && !HAVE_STDLIB_H
4501 /* This mess was copied from the GNU getpagesize.h. */
4502 #if !HAVE_GETPAGESIZE
4503 /* Assume that all systems that can run configure have sys/param.h. */
4504 # if !HAVE_SYS_PARAM_H
4505 # define HAVE_SYS_PARAM_H 1
4508 # ifdef _SC_PAGESIZE
4509 # define getpagesize() sysconf(_SC_PAGESIZE)
4510 # else /* no _SC_PAGESIZE */
4511 # if HAVE_SYS_PARAM_H
4512 # include <sys/param.h>
4513 # ifdef EXEC_PAGESIZE
4514 # define getpagesize() EXEC_PAGESIZE
4515 # else /* no EXEC_PAGESIZE */
4517 # define getpagesize() NBPG * CLSIZE
4520 # endif /* no CLSIZE */
4521 # else /* no NBPG */
4523 # define getpagesize() NBPC
4524 # else /* no NBPC */
4526 # define getpagesize() PAGESIZE
4527 # endif /* PAGESIZE */
4528 # endif /* no NBPC */
4529 # endif /* no NBPG */
4530 # endif /* no EXEC_PAGESIZE */
4531 # else /* no HAVE_SYS_PARAM_H */
4532 # define getpagesize() 8192 /* punt totally */
4533 # endif /* no HAVE_SYS_PARAM_H */
4534 # endif /* no _SC_PAGESIZE */
4536 #endif /* no HAVE_GETPAGESIZE */
4541 char *data, *data2, *data3;
4545 pagesize = getpagesize ();
4547 /* First, make a file with some known garbage in it. */
4548 data = (char *) malloc (pagesize);
4551 for (i = 0; i < pagesize; ++i)
4552 *(data + i) = rand ();
4554 fd = creat ("conftest.mmap", 0600);
4557 if (write (fd, data, pagesize) != pagesize)
4561 /* Next, try to mmap the file at a fixed address which already has
4562 something else allocated at it. If we can, also make sure that
4563 we see the same garbage. */
4564 fd = open ("conftest.mmap", O_RDWR);
4567 data2 = (char *) malloc (2 * pagesize);
4570 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
4571 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4572 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4574 for (i = 0; i < pagesize; ++i)
4575 if (*(data + i) != *(data2 + i))
4578 /* Finally, make sure that changes to the mapped area do not
4579 percolate back to the file as seen by read(). (This is a bug on
4580 some variants of i386 svr4.0.) */
4581 for (i = 0; i < pagesize; ++i)
4582 *(data2 + i) = *(data2 + i) + 1;
4583 data3 = (char *) malloc (pagesize);
4586 if (read (fd, data3, pagesize) != pagesize)
4588 for (i = 0; i < pagesize; ++i)
4589 if (*(data + i) != *(data3 + i))
4595 rm -f conftest
$ac_exeext
4596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4597 (eval $ac_link) 2>&5
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); }; }; then
4606 ac_cv_func_mmap_fixed_mapped
=yes
4608 echo "$as_me: program exited with status $ac_status" >&5
4609 echo "$as_me: failed program was:" >&5
4610 cat conftest.
$ac_ext >&5
4612 ac_cv_func_mmap_fixed_mapped
=no
4614 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4617 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4618 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4619 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4621 cat >>confdefs.h
<<\_ACEOF
4637 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
4638 unistd.h sys
/param.h
4640 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4642 echo "$as_me:$LINENO: checking for $ac_header" >&5
4643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4645 echo $ECHO_N "(cached) $ECHO_C" >&6
4647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4650 # Is the header compilable?
4651 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4652 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4653 cat >conftest.
$ac_ext <<_ACEOF
4654 #line $LINENO "configure"
4655 #include "confdefs.h"
4656 $ac_includes_default
4657 #include <$ac_header>
4659 rm -f conftest.
$ac_objext
4660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4661 (eval $ac_compile) 2>&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); } &&
4665 { ac_try
='test -s conftest.$ac_objext'
4666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); }; }; then
4671 ac_header_compiler
=yes
4673 echo "$as_me: failed program was:" >&5
4674 cat conftest.
$ac_ext >&5
4675 ac_header_compiler
=no
4677 rm -f conftest.
$ac_objext conftest.
$ac_ext
4678 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4679 echo "${ECHO_T}$ac_header_compiler" >&6
4681 # Is the header present?
4682 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4683 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4684 cat >conftest.
$ac_ext <<_ACEOF
4685 #line $LINENO "configure"
4686 #include "confdefs.h"
4687 #include <$ac_header>
4689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4690 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4692 egrep -v '^ *\+' conftest.er1
>conftest.err
4694 cat conftest.err
>&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); } >/dev
/null
; then
4697 if test -s conftest.err
; then
4698 ac_cpp_err
=$ac_c_preproc_warn_flag
4705 if test -z "$ac_cpp_err"; then
4706 ac_header_preproc
=yes
4708 echo "$as_me: failed program was:" >&5
4709 cat conftest.
$ac_ext >&5
4710 ac_header_preproc
=no
4712 rm -f conftest.err conftest.
$ac_ext
4713 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4714 echo "${ECHO_T}$ac_header_preproc" >&6
4716 # So? What about this header?
4717 case $ac_header_compiler:$ac_header_preproc in
4719 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4720 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4724 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4725 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4726 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4727 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4729 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4731 echo "$as_me:$LINENO: checking for $ac_header" >&5
4732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4734 echo $ECHO_N "(cached) $ECHO_C" >&6
4736 eval "$as_ac_Header=$ac_header_preproc"
4738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4742 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4743 cat >>confdefs.h
<<_ACEOF
4744 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4762 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
4763 strdup __argz_count __argz_stringify __argz_next
4765 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4766 echo "$as_me:$LINENO: checking for $ac_func" >&5
4767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4768 if eval "test \"\${$as_ac_var+set}\" = set"; then
4769 echo $ECHO_N "(cached) $ECHO_C" >&6
4771 cat >conftest.
$ac_ext <<_ACEOF
4772 #line $LINENO "configure"
4773 #include "confdefs.h"
4774 /* System header to define __stub macros and hopefully few prototypes,
4775 which can conflict with char $ac_func (); below. */
4777 /* Override any gcc2 internal prototype to avoid an error. */
4781 /* We use char because int might match the return type of a gcc2
4782 builtin and then its argument prototype would still apply. */
4786 #ifdef F77_DUMMY_MAIN
4790 int F77_DUMMY_MAIN() { return 1; }
4795 /* The GNU C library defines this for functions which it implements
4796 to always fail with ENOSYS. Some functions are actually named
4797 something starting with __ and the normal name is an alias. */
4798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4808 rm -f conftest.
$ac_objext conftest
$ac_exeext
4809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4810 (eval $ac_link) 2>&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); } &&
4814 { ac_try
='test -s conftest$ac_exeext'
4815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4819 (exit $ac_status); }; }; then
4820 eval "$as_ac_var=yes"
4822 echo "$as_me: failed program was:" >&5
4823 cat conftest.
$ac_ext >&5
4824 eval "$as_ac_var=no"
4826 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4830 if test `eval echo '${'$as_ac_var'}'` = yes; then
4831 cat >>confdefs.h
<<_ACEOF
4832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4839 if test $ac_cv_header_locale_h = yes; then
4840 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4841 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4842 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4843 echo $ECHO_N "(cached) $ECHO_C" >&6
4845 cat >conftest.
$ac_ext <<_ACEOF
4846 #line $LINENO "configure"
4847 #include "confdefs.h"
4849 #ifdef F77_DUMMY_MAIN
4853 int F77_DUMMY_MAIN() { return 1; }
4863 rm -f conftest.
$ac_objext conftest
$ac_exeext
4864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4865 (eval $ac_link) 2>&5
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); } &&
4869 { ac_try
='test -s conftest$ac_exeext'
4870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); }; }; then
4875 am_cv_val_LC_MESSAGES
=yes
4877 echo "$as_me: failed program was:" >&5
4878 cat conftest.
$ac_ext >&5
4879 am_cv_val_LC_MESSAGES
=no
4881 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4883 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4884 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4885 if test $am_cv_val_LC_MESSAGES = yes; then
4887 cat >>confdefs.h
<<\_ACEOF
4888 #define HAVE_LC_MESSAGES 1
4896 nls_cv_force_use_gnu_gettext
="no"
4898 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
4899 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4901 nls_cv_header_libgt
=
4905 if test "${ac_cv_header_libintl_h+set}" = set; then
4906 echo "$as_me:$LINENO: checking for libintl.h" >&5
4907 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4908 if test "${ac_cv_header_libintl_h+set}" = set; then
4909 echo $ECHO_N "(cached) $ECHO_C" >&6
4911 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4912 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4914 # Is the header compilable?
4915 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4916 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4917 cat >conftest.
$ac_ext <<_ACEOF
4918 #line $LINENO "configure"
4919 #include "confdefs.h"
4920 $ac_includes_default
4921 #include <libintl.h>
4923 rm -f conftest.
$ac_objext
4924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4925 (eval $ac_compile) 2>&5
4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928 (exit $ac_status); } &&
4929 { ac_try
='test -s conftest.$ac_objext'
4930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); }; }; then
4935 ac_header_compiler
=yes
4937 echo "$as_me: failed program was:" >&5
4938 cat conftest.
$ac_ext >&5
4939 ac_header_compiler
=no
4941 rm -f conftest.
$ac_objext conftest.
$ac_ext
4942 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4943 echo "${ECHO_T}$ac_header_compiler" >&6
4945 # Is the header present?
4946 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4947 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4948 cat >conftest.
$ac_ext <<_ACEOF
4949 #line $LINENO "configure"
4950 #include "confdefs.h"
4951 #include <libintl.h>
4953 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4954 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4956 egrep -v '^ *\+' conftest.er1
>conftest.err
4958 cat conftest.err
>&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); } >/dev
/null
; then
4961 if test -s conftest.err
; then
4962 ac_cpp_err
=$ac_c_preproc_warn_flag
4969 if test -z "$ac_cpp_err"; then
4970 ac_header_preproc
=yes
4972 echo "$as_me: failed program was:" >&5
4973 cat conftest.
$ac_ext >&5
4974 ac_header_preproc
=no
4976 rm -f conftest.err conftest.
$ac_ext
4977 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4978 echo "${ECHO_T}$ac_header_preproc" >&6
4980 # So? What about this header?
4981 case $ac_header_compiler:$ac_header_preproc in
4983 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4984 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4985 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4986 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
4988 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4989 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4990 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4991 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4992 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4993 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
4995 echo "$as_me:$LINENO: checking for libintl.h" >&5
4996 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4997 if test "${ac_cv_header_libintl_h+set}" = set; then
4998 echo $ECHO_N "(cached) $ECHO_C" >&6
5000 ac_cv_header_libintl_h
=$ac_header_preproc
5002 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5003 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
5006 if test $ac_cv_header_libintl_h = yes; then
5007 echo "$as_me:$LINENO: checking for dgettext in libc" >&5
5008 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
5009 if test "${gt_cv_func_dgettext_libc+set}" = set; then
5010 echo $ECHO_N "(cached) $ECHO_C" >&6
5012 cat >conftest.
$ac_ext <<_ACEOF
5013 #line $LINENO "configure"
5014 #include "confdefs.h"
5015 #include <libintl.h>
5016 #ifdef F77_DUMMY_MAIN
5020 int F77_DUMMY_MAIN() { return 1; }
5025 return (int) dgettext ("","")
5030 rm -f conftest.
$ac_objext conftest
$ac_exeext
5031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5032 (eval $ac_link) 2>&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); } &&
5036 { ac_try
='test -s conftest$ac_exeext'
5037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); }; }; then
5042 gt_cv_func_dgettext_libc
=yes
5044 echo "$as_me: failed program was:" >&5
5045 cat conftest.
$ac_ext >&5
5046 gt_cv_func_dgettext_libc
=no
5048 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5050 echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
5051 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
5053 gt_cv_func_dgettext_libintl
="no"
5054 libintl_extra_libs
=""
5056 if test "$gt_cv_func_dgettext_libc" != "yes" ; then
5057 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
5058 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
5059 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5060 echo $ECHO_N "(cached) $ECHO_C" >&6
5062 ac_check_lib_save_LIBS
=$LIBS
5064 cat >conftest.
$ac_ext <<_ACEOF
5065 #line $LINENO "configure"
5066 #include "confdefs.h"
5068 /* Override any gcc2 internal prototype to avoid an error. */
5072 /* We use char because int might match the return type of a gcc2
5073 builtin and then its argument prototype would still apply. */
5074 char bindtextdomain ();
5075 #ifdef F77_DUMMY_MAIN
5079 int F77_DUMMY_MAIN() { return 1; }
5089 rm -f conftest.
$ac_objext conftest
$ac_exeext
5090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5091 (eval $ac_link) 2>&5
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); } &&
5095 { ac_try
='test -s conftest$ac_exeext'
5096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); }; }; then
5101 ac_cv_lib_intl_bindtextdomain
=yes
5103 echo "$as_me: failed program was:" >&5
5104 cat conftest.
$ac_ext >&5
5105 ac_cv_lib_intl_bindtextdomain
=no
5107 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5108 LIBS
=$ac_check_lib_save_LIBS
5110 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5111 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
5112 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5113 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
5114 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
5115 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
5116 echo $ECHO_N "(cached) $ECHO_C" >&6
5118 ac_check_lib_save_LIBS
=$LIBS
5120 cat >conftest.
$ac_ext <<_ACEOF
5121 #line $LINENO "configure"
5122 #include "confdefs.h"
5124 /* Override any gcc2 internal prototype to avoid an error. */
5128 /* We use char because int might match the return type of a gcc2
5129 builtin and then its argument prototype would still apply. */
5131 #ifdef F77_DUMMY_MAIN
5135 int F77_DUMMY_MAIN() { return 1; }
5145 rm -f conftest.
$ac_objext conftest
$ac_exeext
5146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5147 (eval $ac_link) 2>&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); } &&
5151 { ac_try
='test -s conftest$ac_exeext'
5152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156 (exit $ac_status); }; }; then
5157 ac_cv_lib_intl_dgettext
=yes
5159 echo "$as_me: failed program was:" >&5
5160 cat conftest.
$ac_ext >&5
5161 ac_cv_lib_intl_dgettext
=no
5163 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5164 LIBS
=$ac_check_lib_save_LIBS
5166 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
5167 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
5168 if test $ac_cv_lib_intl_dgettext = yes; then
5169 gt_cv_func_dgettext_libintl
=yes
5175 if test "$gt_cv_func_dgettext_libc" != "yes" ; then
5176 echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
5177 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
5178 echo "$as_me:$LINENO: result: " >&5
5179 echo "${ECHO_T}" >&6
5180 echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
5181 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
5182 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
5183 echo $ECHO_N "(cached) $ECHO_C" >&6
5185 ac_check_lib_save_LIBS
=$LIBS
5186 LIBS
="-lintl -liconv $LIBS"
5187 cat >conftest.
$ac_ext <<_ACEOF
5188 #line $LINENO "configure"
5189 #include "confdefs.h"
5191 /* Override any gcc2 internal prototype to avoid an error. */
5195 /* We use char because int might match the return type of a gcc2
5196 builtin and then its argument prototype would still apply. */
5198 #ifdef F77_DUMMY_MAIN
5202 int F77_DUMMY_MAIN() { return 1; }
5212 rm -f conftest.
$ac_objext conftest
$ac_exeext
5213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5214 (eval $ac_link) 2>&5
5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); } &&
5218 { ac_try
='test -s conftest$ac_exeext'
5219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); }; }; then
5224 ac_cv_lib_intl_dcgettext
=yes
5226 echo "$as_me: failed program was:" >&5
5227 cat conftest.
$ac_ext >&5
5228 ac_cv_lib_intl_dcgettext
=no
5230 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5231 LIBS
=$ac_check_lib_save_LIBS
5233 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
5234 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
5235 if test $ac_cv_lib_intl_dcgettext = yes; then
5236 gt_cv_func_dgettext_libintl
=yes
5237 libintl_extra_libs
=-liconv
5245 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5246 LIBS
="$LIBS -lintl $libintl_extra_libs";
5249 if test "$gt_cv_func_dgettext_libc" = "yes" \
5250 ||
test "$gt_cv_func_dgettext_libintl" = "yes"; then
5252 cat >>confdefs.h
<<\_ACEOF
5253 #define HAVE_GETTEXT 1
5256 # Extract the first word of "msgfmt", so it can be a program name with args.
5257 set dummy msgfmt
; ac_word
=$2
5258 echo "$as_me:$LINENO: checking for $ac_word" >&5
5259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5260 if test "${ac_cv_path_MSGFMT+set}" = set; then
5261 echo $ECHO_N "(cached) $ECHO_C" >&6
5265 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5268 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5269 for ac_dir
in $PATH; do
5270 test -z "$ac_dir" && ac_dir
=.
5271 if test -f $ac_dir/$ac_word; then
5272 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5273 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5279 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
5283 MSGFMT
="$ac_cv_path_MSGFMT"
5284 if test "$MSGFMT" != "no"; then
5285 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5286 echo "${ECHO_T}$MSGFMT" >&6
5288 echo "$as_me:$LINENO: result: no" >&5
5289 echo "${ECHO_T}no" >&6
5291 if test "$MSGFMT" != "no"; then
5293 for ac_func
in dcgettext
5295 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5296 echo "$as_me:$LINENO: checking for $ac_func" >&5
5297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5298 if eval "test \"\${$as_ac_var+set}\" = set"; then
5299 echo $ECHO_N "(cached) $ECHO_C" >&6
5301 cat >conftest.
$ac_ext <<_ACEOF
5302 #line $LINENO "configure"
5303 #include "confdefs.h"
5304 /* System header to define __stub macros and hopefully few prototypes,
5305 which can conflict with char $ac_func (); below. */
5307 /* Override any gcc2 internal prototype to avoid an error. */
5311 /* We use char because int might match the return type of a gcc2
5312 builtin and then its argument prototype would still apply. */
5316 #ifdef F77_DUMMY_MAIN
5320 int F77_DUMMY_MAIN() { return 1; }
5325 /* The GNU C library defines this for functions which it implements
5326 to always fail with ENOSYS. Some functions are actually named
5327 something starting with __ and the normal name is an alias. */
5328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5338 rm -f conftest.
$ac_objext conftest
$ac_exeext
5339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5340 (eval $ac_link) 2>&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); } &&
5344 { ac_try
='test -s conftest$ac_exeext'
5345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); }; }; then
5350 eval "$as_ac_var=yes"
5352 echo "$as_me: failed program was:" >&5
5353 cat conftest.
$ac_ext >&5
5354 eval "$as_ac_var=no"
5356 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5360 if test `eval echo '${'$as_ac_var'}'` = yes; then
5361 cat >>confdefs.h
<<_ACEOF
5362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5368 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5369 set dummy gmsgfmt
; ac_word
=$2
5370 echo "$as_me:$LINENO: checking for $ac_word" >&5
5371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5372 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5373 echo $ECHO_N "(cached) $ECHO_C" >&6
5377 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5384 test -z "$as_dir" && as_dir
=.
5385 for ac_exec_ext
in '' $ac_executable_extensions; do
5386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5387 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5398 GMSGFMT
=$ac_cv_path_GMSGFMT
5400 if test -n "$GMSGFMT"; then
5401 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5402 echo "${ECHO_T}$GMSGFMT" >&6
5404 echo "$as_me:$LINENO: result: no" >&5
5405 echo "${ECHO_T}no" >&6
5408 # Extract the first word of "xgettext", so it can be a program name with args.
5409 set dummy xgettext
; ac_word
=$2
5410 echo "$as_me:$LINENO: checking for $ac_word" >&5
5411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5412 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5413 echo $ECHO_N "(cached) $ECHO_C" >&6
5417 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5420 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5421 for ac_dir
in $PATH; do
5422 test -z "$ac_dir" && ac_dir
=.
5423 if test -f $ac_dir/$ac_word; then
5424 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5425 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5431 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5435 XGETTEXT
="$ac_cv_path_XGETTEXT"
5436 if test "$XGETTEXT" != ":"; then
5437 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5438 echo "${ECHO_T}$XGETTEXT" >&6
5440 echo "$as_me:$LINENO: result: no" >&5
5441 echo "${ECHO_T}no" >&6
5444 cat >conftest.
$ac_ext <<_ACEOF
5445 #line $LINENO "configure"
5446 #include "confdefs.h"
5448 #ifdef F77_DUMMY_MAIN
5452 int F77_DUMMY_MAIN() { return 1; }
5457 extern int _nl_msg_cat_cntr;
5458 return _nl_msg_cat_cntr
5463 rm -f conftest.
$ac_objext conftest
$ac_exeext
5464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5465 (eval $ac_link) 2>&5
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); } &&
5469 { ac_try
='test -s conftest$ac_exeext'
5470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5474 (exit $ac_status); }; }; then
5478 echo "$as_me: failed program was:" >&5
5479 cat conftest.
$ac_ext >&5
5483 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5488 # Added by Martin Baulig 12/15/98 for libc5 systems
5489 if test "$gt_cv_func_dgettext_libc" != "yes" \
5490 && test "$gt_cv_func_dgettext_libintl" = "yes"; then
5491 INTLLIBS
="-lintl $libintl_extra_libs"
5492 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
5499 if test "$CATOBJEXT" = "NONE"; then
5500 nls_cv_use_gnu_gettext
=yes
5504 if test "$nls_cv_use_gnu_gettext" != "yes"; then
5506 cat >>confdefs.h
<<\_ACEOF
5507 #define ENABLE_NLS 1
5514 if test "$XGETTEXT" != ":"; then
5515 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
5518 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5519 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5524 # We need to process the po/ directory.
5527 ac_config_commands
="$ac_config_commands default-2"
5530 for lang
in $ALL_LINGUAS; do
5531 GMOFILES
="$GMOFILES $lang.gmo"
5532 POFILES
="$POFILES $lang.po"
5547 if test "x$CATOBJEXT" != "x"; then
5548 if test "x$ALL_LINGUAS" = "x"; then
5551 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5552 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5554 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
5555 case "$ALL_LINGUAS" in
5556 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
5559 LINGUAS
=$NEW_LINGUAS
5560 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5561 echo "${ECHO_T}$LINGUAS" >&6
5564 if test -n "$LINGUAS"; then
5565 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
5569 test -d po || mkdir po
5570 if test "$CATOBJEXT" = ".cat"; then
5571 if test "${ac_cv_header_linux_version_h+set}" = set; then
5572 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5573 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5574 if test "${ac_cv_header_linux_version_h+set}" = set; then
5575 echo $ECHO_N "(cached) $ECHO_C" >&6
5577 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5578 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5580 # Is the header compilable?
5581 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
5582 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
5583 cat >conftest.
$ac_ext <<_ACEOF
5584 #line $LINENO "configure"
5585 #include "confdefs.h"
5586 $ac_includes_default
5587 #include <linux/version.h>
5589 rm -f conftest.
$ac_objext
5590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5591 (eval $ac_compile) 2>&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); } &&
5595 { ac_try
='test -s conftest.$ac_objext'
5596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; }; then
5601 ac_header_compiler
=yes
5603 echo "$as_me: failed program was:" >&5
5604 cat conftest.
$ac_ext >&5
5605 ac_header_compiler
=no
5607 rm -f conftest.
$ac_objext conftest.
$ac_ext
5608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5609 echo "${ECHO_T}$ac_header_compiler" >&6
5611 # Is the header present?
5612 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
5613 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
5614 cat >conftest.
$ac_ext <<_ACEOF
5615 #line $LINENO "configure"
5616 #include "confdefs.h"
5617 #include <linux/version.h>
5619 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5620 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5622 egrep -v '^ *\+' conftest.er1
>conftest.err
5624 cat conftest.err
>&5
5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626 (exit $ac_status); } >/dev
/null
; then
5627 if test -s conftest.err
; then
5628 ac_cpp_err
=$ac_c_preproc_warn_flag
5635 if test -z "$ac_cpp_err"; then
5636 ac_header_preproc
=yes
5638 echo "$as_me: failed program was:" >&5
5639 cat conftest.
$ac_ext >&5
5640 ac_header_preproc
=no
5642 rm -f conftest.err conftest.
$ac_ext
5643 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5644 echo "${ECHO_T}$ac_header_preproc" >&6
5646 # So? What about this header?
5647 case $ac_header_compiler:$ac_header_preproc in
5649 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
5650 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5651 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
5652 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;};;
5654 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
5655 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
5656 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
5657 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
5658 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
5659 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;};;
5661 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5662 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5663 if test "${ac_cv_header_linux_version_h+set}" = set; then
5664 echo $ECHO_N "(cached) $ECHO_C" >&6
5666 ac_cv_header_linux_version_h
=$ac_header_preproc
5668 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5669 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5672 if test $ac_cv_header_linux_version_h = yes; then
5680 sed -e '/^#/d' $srcdir/po
/$msgformat-msg.
sed > po
/po2msg.
sed
5684 if test -n "$ac_aux_dir"; then
5685 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
5687 if test -z "$MKINSTALLDIRS"; then
5688 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
5692 test -d po || mkdir po
5693 if test "x$srcdir" != "x."; then
5694 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5695 posrcprefix
="$srcdir/"
5697 posrcprefix
="../$srcdir/"
5703 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5704 < $srcdir/po
/POTFILES.
in > po
/POTFILES
5707 ac_config_files
="$ac_config_files Makefile src/Makefile pixmaps/Makefile po/Makefile.in"
5708 cat >confcache
<<\_ACEOF
5709 # This file is a shell script that caches the results of configure
5710 # tests run on this system so they can be shared between configure
5711 # scripts and configure runs, see configure's option --config-cache.
5712 # It is not useful on other systems. If it contains results you don't
5713 # want to keep, you may remove or edit it.
5715 # config.status only pays attention to the cache file if you give it
5716 # the --recheck option to rerun configure.
5718 # `ac_cv_env_foo' variables (set or unset) will be overriden when
5719 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5724 # The following way of writing the cache mishandles newlines in values,
5725 # but we know of no workaround that is simple, portable, and efficient.
5726 # So, don't put newlines in cache variables' values.
5727 # Ultrix sh set writes to stderr and can't be redirected directly,
5728 # and sets the high bit in the cache file unless we assign to the vars.
5731 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5733 # `set' does not quote correctly, so add quotes (double-quote
5734 # substitution turns \\\\ into \\, and sed turns \\ into \).
5737 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5740 # `set' quotes correctly as required by POSIX, so do not add quotes.
5742 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5749 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5751 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5753 if cmp -s $cache_file confcache
; then :; else
5754 if test -w $cache_file; then
5755 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5756 cat confcache
>$cache_file
5758 echo "not updating unwritable cache $cache_file"
5763 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5764 # Let make expand exec_prefix.
5765 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5767 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5768 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5769 # trailing colons and then remove the whole line if VPATH becomes empty
5770 # (actually we leave an empty line to preserve line numbers).
5771 if test "x$srcdir" = x.
; then
5772 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5773 s/:*\$(srcdir):*/:/;
5774 s/:*\${srcdir}:*/:/;
5776 s/^\([^=]*=[ ]*\):*/\1/;
5782 DEFS
=-DHAVE_CONFIG_H
5785 : ${CONFIG_STATUS=./config.status}
5786 ac_clean_files_save
=$ac_clean_files
5787 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5788 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5789 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5790 cat >$CONFIG_STATUS <<_ACEOF
5792 # Generated by $as_me.
5793 # Run this file to recreate the current configuration.
5794 # Compiler output produced by configure, useful for debugging
5795 # configure, is in config.log if it exists.
5798 SHELL=\${CONFIG_SHELL-$SHELL}
5801 cat >>$CONFIG_STATUS <<\_ACEOF
5803 ## --------------------- ##
5804 ## M4sh Initialization. ##
5805 ## --------------------- ##
5807 # Be Bourne compatible
5808 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5811 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5816 # Support unset when possible.
5817 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
5823 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
5824 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
5825 { LANG
=C
; export LANG
; }
5826 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
5827 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
5828 { LC_ALL
=C
; export LC_ALL
; }
5829 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
5830 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
5831 { LC_TIME
=C
; export LC_TIME
; }
5832 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
5833 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
5834 { LC_CTYPE
=C
; export LC_CTYPE
; }
5835 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
5836 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
5837 { LANGUAGE
=C
; export LANGUAGE
; }
5838 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
5839 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
5840 { LC_COLLATE
=C
; export LC_COLLATE
; }
5841 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
5842 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
5843 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
5844 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
5845 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
5846 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
5849 # Name of the executable.
5850 as_me
=`(basename "$0") 2>/dev/null ||
5851 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5852 X"$0" : 'X\(//\)$' \| \
5853 X"$0" : 'X\(/\)$' \| \
5854 . : '\(.\)' 2>/dev/null ||
5856 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5857 /^X\/\(\/\/\)$/{ s//\1/; q; }
5858 /^X\/\(\/\).*/{ s//\1/; q; }
5861 # PATH needs CR, and LINENO needs CR and PATH.
5862 # Avoid depending upon Character Ranges.
5863 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5864 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5865 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5866 as_cr_digits
='0123456789'
5867 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5869 # The user is always right.
5870 if test "${PATH_SEPARATOR+set}" != set; then
5871 echo "#! /bin/sh" >conftest.sh
5872 echo "exit 0" >>conftest.sh
5873 chmod +x conftest.sh
5874 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
5885 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5886 test "x$as_lineno_1" != "x$as_lineno_2" &&
5887 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5888 # Find who we are. Look in the path if we contain no path at all
5891 *[\\/]* ) as_myself
=$0 ;;
5892 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5896 test -z "$as_dir" && as_dir
=.
5897 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5902 # We did not find ourselves, most probably we were run as `sh COMMAND'
5903 # in which case we are not to be found in the path.
5904 if test "x$as_myself" = x
; then
5907 if test ! -f "$as_myself"; then
5908 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5909 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5910 { (exit 1); exit 1; }; }
5912 case $CONFIG_SHELL in
5914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5915 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5918 test -z "$as_dir" && as_dir
=.
5919 for as_base
in sh bash ksh sh5
; do
5922 if ("$as_dir/$as_base" -c '
5925 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5926 test "x$as_lineno_1" != "x$as_lineno_2" &&
5927 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5928 CONFIG_SHELL
=$as_dir/$as_base
5930 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5938 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5939 # uniformly replaced by the line number. The first 'sed' inserts a
5940 # line-number line before each line; the second 'sed' does the real
5941 # work. The second script uses 'N' to pair each line-number line
5942 # with the numbered line, and appends trailing '-' during
5943 # substitution so that $LINENO is not a special case at line end.
5944 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5945 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5946 sed '=' <$as_myself |
5951 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5954 s,^['$as_cr_digits']*\n,,
5956 chmod +x
$as_me.lineno ||
5957 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5958 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5959 { (exit 1); exit 1; }; }
5961 # Don't try to exec as it changes $[0], causing all sort of problems
5962 # (the dirname of $[0] is not the place where we might find the
5963 # original and so on. Autoconf is especially sensible to this).
5965 # Exit status is that of the last command.
5970 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5971 *c
*,-n*) ECHO_N
= ECHO_C
='
5973 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5974 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5977 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5983 rm -f conf$$ conf$$.exe conf$$.
file
5985 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5986 # We could just check for DJGPP; but this test a) works b) is more generic
5987 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5988 if test -f conf$$.exe
; then
5989 # Don't use ln at all; we don't have any links
5994 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5999 rm -f conf$$ conf$$.exe conf$$.
file
6001 as_executable_p
="test -f"
6003 # Sed expression to map a string onto a valid CPP name.
6004 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6006 # Sed expression to map a string onto a valid variable name.
6007 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6011 # We need space, tab and new line, in precisely that order.
6017 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
6021 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6022 # report actual input values of CONFIG_FILES etc. instead of their
6023 # values after options handling. Logging --version etc. is OK.
6027 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6028 ## Running $as_me. ##
6033 This file was extended by $as_me, which was
6034 generated by GNU Autoconf 2.53. Invocation command line was
6036 CONFIG_FILES = $CONFIG_FILES
6037 CONFIG_HEADERS = $CONFIG_HEADERS
6038 CONFIG_LINKS = $CONFIG_LINKS
6039 CONFIG_COMMANDS = $CONFIG_COMMANDS
6043 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6047 # Files that config.status was made for.
6048 if test -n "$ac_config_files"; then
6049 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6052 if test -n "$ac_config_headers"; then
6053 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6056 if test -n "$ac_config_links"; then
6057 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6060 if test -n "$ac_config_commands"; then
6061 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6064 cat >>$CONFIG_STATUS <<\_ACEOF
6067 \`$as_me' instantiates files from templates according to the
6068 current configuration.
6070 Usage: $0 [OPTIONS] [FILE]...
6072 -h, --help print this help, then exit
6073 -V, --version print version number, then exit
6074 -d, --debug don't remove temporary files
6075 --recheck update $as_me by reconfiguring in the same conditions
6076 --file=FILE[:TEMPLATE]
6077 instantiate the configuration file FILE
6078 --header=FILE[:TEMPLATE]
6079 instantiate the configuration header FILE
6081 Configuration files:
6084 Configuration headers:
6087 Configuration commands:
6090 Report bugs to <bug-autoconf@gnu.org>."
6093 cat >>$CONFIG_STATUS <<_ACEOF
6096 configured by $0, generated by GNU Autoconf 2.53,
6097 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6099 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6100 Free Software Foundation, Inc.
6101 This config.status script is free software; the Free Software Foundation
6102 gives unlimited permission to copy, distribute and modify it."
6107 cat >>$CONFIG_STATUS <<\_ACEOF
6108 # If no file are specified by the user, then we need to provide default
6109 # value. By we need to know if files were specified by the user.
6115 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6116 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6118 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
6122 *) # This is not an option, so the user has probably given explicit
6124 ac_need_defaults
=false
;;
6128 # Handling of the options.
6130 cat >>$CONFIG_STATUS <<_ACEOF
6131 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6132 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
6133 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
6135 cat >>$CONFIG_STATUS <<\_ACEOF
6136 --version |
--vers* |
-V )
6137 echo "$ac_cs_version"; exit 0 ;;
6139 # Conflict between --help and --header
6140 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6141 Try \`$0 --help' for more information." >&5
6142 echo "$as_me: error: ambiguous option: $1
6143 Try \`$0 --help' for more information." >&2;}
6144 { (exit 1); exit 1; }; };;
6145 --help |
--hel |
-h )
6146 echo "$ac_cs_usage"; exit 0 ;;
6147 --debug |
--d* |
-d )
6149 --file |
--fil |
--fi |
--f )
6151 CONFIG_FILES
="$CONFIG_FILES $1"
6152 ac_need_defaults
=false
;;
6153 --header |
--heade |
--head |
--hea )
6155 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
6156 ac_need_defaults
=false
;;
6159 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6160 Try \`$0 --help' for more information." >&5
6161 echo "$as_me: error: unrecognized option: $1
6162 Try \`$0 --help' for more information." >&2;}
6163 { (exit 1); exit 1; }; } ;;
6165 *) ac_config_targets
="$ac_config_targets $1" ;;
6173 cat >>$CONFIG_STATUS <<_ACEOF
6175 # INIT-COMMANDS section.
6185 cat >>$CONFIG_STATUS <<\_ACEOF
6186 for ac_config_target
in $ac_config_targets
6188 case "$ac_config_target" in
6189 # Handling of arguments.
6190 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6191 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
6192 "pixmaps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES pixmaps/Makefile" ;;
6193 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
6194 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
6195 "default-2" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-2" ;;
6196 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6197 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6198 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6199 { (exit 1); exit 1; }; };;
6203 # If the user did not use the arguments to specify the items to instantiate,
6204 # then the envvar interface is used. Set only those that are not.
6205 # We use the long form for the default assignment because of an extremely
6206 # bizarre bug on SunOS 4.1.3.
6207 if $ac_need_defaults; then
6208 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6209 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6210 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6213 # Create a temporary directory, and hook for its removal unless debugging.
6216 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6217 trap '{ (exit 1); exit 1; }' 1 2 13 15
6220 # Create a (secure) tmp directory for tmp files.
6223 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
6224 test -n "$tmp" && test -d "$tmp"
6227 tmp
=$TMPDIR/cs$$
-$RANDOM
6228 (umask 077 && mkdir
$tmp)
6231 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
6232 { (exit 1); exit 1; }
6237 cat >>$CONFIG_STATUS <<_ACEOF
6240 # CONFIG_FILES section.
6243 # No need to generate the scripts if there are no CONFIG_FILES.
6244 # This happens for instance when ./config.status config.h
6245 if test -n "\$CONFIG_FILES"; then
6246 # Protect against being on the right side of a sed subst in config.status.
6247 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6248 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6249 s,@SHELL@,$SHELL,;t t
6250 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6251 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6252 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6253 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6254 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6255 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6256 s,@exec_prefix@,$exec_prefix,;t t
6257 s,@prefix@,$prefix,;t t
6258 s,@program_transform_name@,$program_transform_name,;t t
6259 s,@bindir@,$bindir,;t t
6260 s,@sbindir@,$sbindir,;t t
6261 s,@libexecdir@,$libexecdir,;t t
6262 s,@datadir@,$datadir,;t t
6263 s,@sysconfdir@,$sysconfdir,;t t
6264 s,@sharedstatedir@,$sharedstatedir,;t t
6265 s,@localstatedir@,$localstatedir,;t t
6266 s,@libdir@,$libdir,;t t
6267 s,@includedir@,$includedir,;t t
6268 s,@oldincludedir@,$oldincludedir,;t t
6269 s,@infodir@,$infodir,;t t
6270 s,@mandir@,$mandir,;t t
6271 s,@build_alias@,$build_alias,;t t
6272 s,@host_alias@,$host_alias,;t t
6273 s,@target_alias@,$target_alias,;t t
6275 s,@ECHO_C@,$ECHO_C,;t t
6276 s,@ECHO_N@,$ECHO_N,;t t
6277 s,@ECHO_T@,$ECHO_T,;t t
6279 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6280 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6281 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6282 s,@PACKAGE@,$PACKAGE,;t t
6283 s,@VERSION@,$VERSION,;t t
6284 s,@ACLOCAL@,$ACLOCAL,;t t
6285 s,@AUTOCONF@,$AUTOCONF,;t t
6286 s,@AUTOMAKE@,$AUTOMAKE,;t t
6287 s,@AUTOHEADER@,$AUTOHEADER,;t t
6288 s,@MAKEINFO@,$MAKEINFO,;t t
6289 s,@SET_MAKE@,$SET_MAKE,;t t
6290 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6291 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6292 s,@MAINT@,$MAINT,;t t
6294 s,@CFLAGS@,$CFLAGS,;t t
6295 s,@LDFLAGS@,$LDFLAGS,;t t
6296 s,@CPPFLAGS@,$CPPFLAGS,;t t
6297 s,@ac_ct_CC@,$ac_ct_CC,;t t
6298 s,@EXEEXT@,$EXEEXT,;t t
6299 s,@OBJEXT@,$OBJEXT,;t t
6301 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
6302 s,@PACKAGE_CFLAGS@,$PACKAGE_CFLAGS,;t t
6303 s,@PACKAGE_LIBS@,$PACKAGE_LIBS,;t t
6304 s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
6305 s,@RANLIB@,$RANLIB,;t t
6306 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6307 s,@ALLOCA@,$ALLOCA,;t t
6308 s,@USE_NLS@,$USE_NLS,;t t
6309 s,@MSGFMT@,$MSGFMT,;t t
6310 s,@GMSGFMT@,$GMSGFMT,;t t
6311 s,@XGETTEXT@,$XGETTEXT,;t t
6312 s,@CATALOGS@,$CATALOGS,;t t
6313 s,@CATOBJEXT@,$CATOBJEXT,;t t
6314 s,@DATADIRNAME@,$DATADIRNAME,;t t
6315 s,@GMOFILES@,$GMOFILES,;t t
6316 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
6317 s,@INTLDEPS@,$INTLDEPS,;t t
6318 s,@INTLLIBS@,$INTLLIBS,;t t
6319 s,@INTLOBJS@,$INTLOBJS,;t t
6320 s,@POFILES@,$POFILES,;t t
6321 s,@POSUB@,$POSUB,;t t
6322 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
6327 cat >>$CONFIG_STATUS <<\_ACEOF
6328 # Split the substitutions into bite-sized pieces for seds with
6329 # small command number limits, like on Digital OSF/1 and HP-UX.
6331 ac_sed_frag
=1 # Number of current file.
6332 ac_beg
=1 # First line for current file.
6333 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6336 while $ac_more_lines; do
6337 if test $ac_beg -gt 1; then
6338 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6340 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6342 if test ! -s $tmp/subs.frag
; then
6345 # The purpose of the label and of the branching condition is to
6346 # speed up the sed processing (if there are no `@' at all, there
6347 # is no need to browse any of the substitutions).
6348 # These are the two extra sed commands mentioned above.
6350 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6351 if test -z "$ac_sed_cmds"; then
6352 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6354 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6356 ac_sed_frag
=`expr $ac_sed_frag + 1`
6358 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6361 if test -z "$ac_sed_cmds"; then
6364 fi # test -n "$CONFIG_FILES"
6367 cat >>$CONFIG_STATUS <<\_ACEOF
6368 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6369 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6371 - |
*:- |
*:-:* ) # input from stdin
6373 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6374 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6375 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6376 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6377 * ) ac_file_in
=$ac_file.
in ;;
6380 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6381 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6382 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6383 X"$ac_file" : 'X\(//\)[^/]' \| \
6384 X"$ac_file" : 'X\(//\)$' \| \
6385 X"$ac_file" : 'X\(/\)' \| \
6386 . : '\(.\)' 2>/dev/null ||
6388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6389 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6390 /^X\(\/\/\)$/{ s//\1/; q; }
6391 /^X\(\/\).*/{ s//\1/; q; }
6394 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
6398 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6399 case $as_mkdir_dir in
6400 # Skip DOS drivespec
6401 ?
:) as_incr_dir
=$as_mkdir_dir ;;
6403 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
6404 test -d "$as_incr_dir" ||
6405 mkdir
"$as_incr_dir" ||
6406 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
6407 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
6408 { (exit 1); exit 1; }; }
6415 if test "$ac_dir" != .
; then
6416 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6417 # A "../" for each directory in $ac_dir_suffix.
6418 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6420 ac_dir_suffix
= ac_top_builddir
=
6424 .
) # No --srcdir option. We are building in place.
6426 if test -z "$ac_top_builddir"; then
6429 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6431 [\\/]* | ?
:[\\/]* ) # Absolute path.
6432 ac_srcdir
=$srcdir$ac_dir_suffix;
6433 ac_top_srcdir
=$srcdir ;;
6435 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6436 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6438 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6440 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
6441 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
6442 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6443 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6447 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6448 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6451 if test x
"$ac_file" != x-
; then
6452 { echo "$as_me:$LINENO: creating $ac_file" >&5
6453 echo "$as_me: creating $ac_file" >&6;}
6456 # Let's still pretend it is `configure' which instantiates (i.e., don't
6457 # use $as_me), people would be surprised to read:
6458 # /* config.h. Generated by config.status. */
6459 if test x
"$ac_file" = x-
; then
6462 configure_input
="$ac_file. "
6464 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6465 sed 's,.*/,,'` by configure."
6467 # First look for the input files in the build tree, otherwise in the
6469 ac_file_inputs
=`IFS=:
6470 for f in $ac_file_in; do
6472 -) echo $tmp/stdin ;;
6474 # Absolute (can't be DOS-style, as IFS=:)
6475 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6476 echo "$as_me: error: cannot find input file: $f" >&2;}
6477 { (exit 1); exit 1; }; }
6480 if test -f "$f"; then
6483 elif test -f "$srcdir/$f"; then
6488 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6489 echo "$as_me: error: cannot find input file: $f" >&2;}
6490 { (exit 1); exit 1; }; }
6493 done` ||
{ (exit 1); exit 1; }
6495 cat >>$CONFIG_STATUS <<_ACEOF
6499 cat >>$CONFIG_STATUS <<\_ACEOF
6501 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6502 s
,@configure_input@
,$configure_input,;t t
6503 s
,@srcdir@
,$ac_srcdir,;t t
6504 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6505 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6506 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6507 s
,@builddir@
,$ac_builddir,;t t
6508 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6509 s
,@top_builddir@
,$ac_top_builddir,;t t
6510 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6511 s
,@INSTALL@
,$ac_INSTALL,;t t
6512 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6514 if test x"$ac_file" != x-; then
6515 mv $tmp/out $ac_file
6523 cat >>$CONFIG_STATUS <<\_ACEOF
6526 # CONFIG_HEADER section.
6529 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6530 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6532 # ac_d sets the value in "#define NAME VALUE" lines.
6533 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6534 ac_dB
='[ ].*$,\1#\2'
6537 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6538 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6539 ac_uB
='$,\1#\2define\3'
6543 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6544 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6546 - |
*:- |
*:-:* ) # input from stdin
6548 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6549 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6550 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6551 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6552 * ) ac_file_in
=$ac_file.
in ;;
6555 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6556 echo "$as_me: creating $ac_file" >&6;}
6558 # First look for the input files in the build tree, otherwise in the
6560 ac_file_inputs
=`IFS=:
6561 for f in $ac_file_in; do
6563 -) echo $tmp/stdin ;;
6565 # Absolute (can't be DOS-style, as IFS=:)
6566 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6567 echo "$as_me: error: cannot find input file: $f" >&2;}
6568 { (exit 1); exit 1; }; }
6571 if test -f "$f"; then
6574 elif test -f "$srcdir/$f"; then
6579 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6580 echo "$as_me: error: cannot find input file: $f" >&2;}
6581 { (exit 1); exit 1; }; }
6584 done` ||
{ (exit 1); exit 1; }
6585 # Remove the trailing spaces.
6586 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6590 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6591 # `conftest.undefs', that substitutes the proper values into
6592 # config.h.in to produce config.h. The first handles `#define'
6593 # templates, and the second `#undef' templates.
6594 # And first: Protect against being on the right side of a sed subst in
6595 # config.status. Protect against being in an unquoted here document
6597 rm -f conftest.defines conftest.undefs
6598 # Using a here document instead of a string reduces the quoting nightmare.
6599 # Putting comments in sed scripts is not portable.
6601 # `end' is used to avoid that the second main sed command (meant for
6602 # 0-ary CPP macros) applies to n-ary macro definitions.
6603 # See the Autoconf documentation for `clear'.
6604 cat >confdef2sed.
sed <<\_ACEOF
6609 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6611 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6614 # If some macros were called several times there might be several times
6615 # the same #defines, which is useless. Nevertheless, we may not want to
6616 # sort them, since we want the *last* AC-DEFINE to be honored.
6617 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6618 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6619 rm -f confdef2sed.sed
6621 # This sed command replaces #undef with comments. This is necessary, for
6622 # example, in the case of _POSIX_SOURCE, which is predefined and required
6623 # on some systems where configure will not decide to define it.
6624 cat >>conftest.undefs <<\_ACEOF
6625 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6628 # Break up conftest.defines because some shells have a limit on the size
6629 # of here documents, and old seds have small limits too (100 cmds).
6630 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6631 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6632 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6633 echo ' :' >>$CONFIG_STATUS
6635 while grep . conftest.defines >/dev/null
6637 # Write a limited-size here document to $tmp/defines.sed.
6638 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6639 # Speed up: don't consider the non `#define' lines.
6640 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6641 # Work around the forget-to-reset-the-flag bug.
6642 echo 't clr' >>$CONFIG_STATUS
6643 echo ': clr' >>$CONFIG_STATUS
6644 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6646 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6650 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6651 rm -f conftest.defines
6652 mv conftest.
tail conftest.defines
6654 rm -f conftest.defines
6655 echo ' fi # egrep' >>$CONFIG_STATUS
6656 echo >>$CONFIG_STATUS
6658 # Break up conftest.undefs because some shells have a limit on the size
6659 # of here documents, and old seds have small limits too (100 cmds).
6660 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6662 while grep . conftest.undefs
>/dev
/null
6664 # Write a limited-size here document to $tmp/undefs.sed.
6665 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6666 # Speed up: don't consider the non
`#undef'
6667 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6668 # Work around the forget-to-reset-the-flag bug.
6669 echo 't clr' >>$CONFIG_STATUS
6670 echo ': clr' >>$CONFIG_STATUS
6671 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6673 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6677 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6678 rm -f conftest.undefs
6679 mv conftest.tail conftest.undefs
6681 rm -f conftest.undefs
6683 cat >>$CONFIG_STATUS <<\_ACEOF
6684 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6685 # use $as_me), people would be surprised to read:
6686 # /* config.h. Generated by config.status. */
6687 if test x
"$ac_file" = x-
; then
6688 echo "/* Generated by configure. */" >$tmp/config.h
6690 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6692 cat $tmp/in >>$tmp/config.h
6694 if test x
"$ac_file" != x-
; then
6695 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
6696 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6697 echo "$as_me: $ac_file is unchanged" >&6;}
6699 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6700 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6701 X"$ac_file" : 'X\(//\)[^/]' \| \
6702 X"$ac_file" : 'X\(//\)$' \| \
6703 X"$ac_file" : 'X\(/\)' \| \
6704 . : '\(.\)' 2>/dev/null ||
6706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6707 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6708 /^X\(\/\/\)$/{ s//\1/; q; }
6709 /^X\(\/\).*/{ s//\1/; q; }
6712 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
6716 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6717 case $as_mkdir_dir in
6718 # Skip DOS drivespec
6719 ?
:) as_incr_dir
=$as_mkdir_dir ;;
6721 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
6722 test -d "$as_incr_dir" ||
6723 mkdir
"$as_incr_dir" ||
6724 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
6725 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
6726 { (exit 1); exit 1; }; }
6732 mv $tmp/config.h
$ac_file
6740 cat >>$CONFIG_STATUS <<\_ACEOF
6743 # CONFIG_COMMANDS section.
6745 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6746 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6747 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6748 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6749 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6750 X"$ac_dest" : 'X\(//\)[^/]' \| \
6751 X"$ac_dest" : 'X\(//\)$' \| \
6752 X"$ac_dest" : 'X\(/\)' \| \
6753 . : '\(.\)' 2>/dev/null ||
6755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6756 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6757 /^X\(\/\/\)$/{ s//\1/; q; }
6758 /^X\(\/\).*/{ s//\1/; q; }
6762 if test "$ac_dir" != .
; then
6763 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6764 # A "../" for each directory in $ac_dir_suffix.
6765 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6767 ac_dir_suffix
= ac_top_builddir
=
6771 .
) # No --srcdir option. We are building in place.
6773 if test -z "$ac_top_builddir"; then
6776 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6778 [\\/]* | ?
:[\\/]* ) # Absolute path.
6779 ac_srcdir
=$srcdir$ac_dir_suffix;
6780 ac_top_srcdir
=$srcdir ;;
6782 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6783 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6785 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6787 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
6788 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
6789 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6790 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6793 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6794 echo "$as_me: executing $ac_dest commands" >&6;}
6796 default-1
) test -z "$CONFIG_HEADERS" ||
echo timestamp
> stamp-h
;;
6797 default-2
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
6798 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
6804 cat >>$CONFIG_STATUS <<\_ACEOF
6806 { (exit 0); exit 0; }
6808 chmod +x
$CONFIG_STATUS
6809 ac_clean_files
=$ac_clean_files_save
6812 # configure is writing to config.log, and then calls config.status.
6813 # config.status does its own redirection, appending to config.log.
6814 # Unfortunately, on DOS this fails, as config.log is still kept open
6815 # by configure, so config.status won't be able to write to it; its
6816 # output is simply discarded. So we exec the FD to /dev/null,
6817 # effectively closing config.log, so it can be properly (re)opened and
6818 # appended to by config.status. When coming back to configure, we
6819 # need to make the FD available again.
6820 if test "$no_create" != yes; then
6823 $SHELL $CONFIG_STATUS || ac_cs_success
=false
6825 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6826 # would make configure fail if this is the last instruction.
6827 $ac_cs_success ||
{ (exit 1); exit 1; }