1
# Update the autotools infrastructure.
2
# Patch by Zak B. Elep <zakame@spunge.org>
3
diff -Nur xshisen-1.51-1/configure xshisen-1.51-1.new/configure
4
--- xshisen-1.51-1/configure 2002-09-03 14:38:52.000000000 +0800
5
+++ xshisen-1.51-1.new/configure 2006-05-21 14:36:54.000000000 +0800
9
# Guess values for system-dependent variables and create Makefiles.
10
-# Generated automatically using autoconf version 2.13
11
-# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
12
+# Generated by GNU Autoconf 2.59d.
14
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
15
+# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
16
# This configure script is free software; the Free Software Foundation
17
# gives unlimited permission to copy, distribute and modify it.
18
+## --------------------- ##
19
+## M4sh Initialization. ##
20
+## --------------------- ##
22
+# Be Bourne compatible
23
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
27
+ # is contrary to our usage. Disable this feature.
28
+ alias -g '${1+"$@"}'='"$@"'
29
+ setopt NO_GLOB_SUBST
31
+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
33
+BIN_SH=xpg4; export BIN_SH # for Tru64
34
+DUALCASE=1; export DUALCASE # for MKS sh
38
+# Avoid depending upon Character Ranges.
39
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
40
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42
+as_cr_digits='0123456789'
43
+as_cr_alnum=$as_cr_Letters$as_cr_digits
45
+# The user is always right.
46
+if test "${PATH_SEPARATOR+set}" != set; then
47
+ echo "#! /bin/sh" >conf$$.sh
48
+ echo "exit 0" >>conf$$.sh
50
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
58
+# Support unset when possible.
59
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
67
+# We need space, tab and new line, in precisely that order. Quoting is
68
+# there to prevent editors from complaining about space-tab.
69
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
70
+# splitting by setting IFS to empty value.)
75
+# Find who we are. Look in the path if we contain no directory separator.
77
+ *[\\/]* ) as_myself=$0 ;;
78
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82
+ test -z "$as_dir" && as_dir=.
83
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
89
+# We did not find ourselves, most probably we were run as `sh COMMAND'
90
+# in which case we are not to be found in the path.
91
+if test "x$as_myself" = x; then
94
+if test ! -f "$as_myself"; then
95
+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96
+ { (exit 1); exit 1; }
99
+# Work around bugs in pre-3.0 UWIN ksh.
100
+for as_var in ENV MAIL MAILPATH
101
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
109
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
110
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111
+ LC_TELEPHONE LC_TIME
113
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
114
+ eval $as_var=C; export $as_var
116
+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
120
+# Required to use basename.
121
+if expr a : '\(a\)' >/dev/null 2>&1 &&
122
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
128
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
129
+ as_basename=basename
135
+# Name of the executable.
136
+as_me=`$as_basename -- "$0" ||
137
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
138
+ X"$0" : 'X\(//\)$' \| \
139
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
141
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
159
+if test "x$CONFIG_SHELL" = x; then
160
+ if (eval ":") 2>/dev/null; then
161
+ as_have_required=yes
163
+ as_have_required=no
166
+ if test $as_have_required = yes && (eval ":
167
+(as_func_return () {
170
+as_func_success () {
173
+as_func_failure () {
176
+as_func_ret_success () {
179
+as_func_ret_failure () {
184
+if as_func_success; then
188
+ echo as_func_success failed.
191
+if as_func_failure; then
193
+ echo as_func_failure succeeded.
196
+if as_func_ret_success; then
200
+ echo as_func_ret_success failed.
203
+if as_func_ret_failure; then
205
+ echo as_func_ret_failure succeeded.
208
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
212
+ echo positional parameters were not saved.
215
+test \$exitcode = 0) || { (exit 1); exit 1; }
218
+ as_lineno_1=\$LINENO
219
+ as_lineno_2=\$LINENO
220
+ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
221
+ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
222
+") 2> /dev/null; then
225
+ as_candidate_shells=
226
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
227
+for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
230
+ test -z "$as_dir" && as_dir=.
233
+ for as_base in sh bash ksh sh5; do
234
+ as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
241
+ for as_shell in $as_candidate_shells $SHELL; do
242
+ # Try only shells which exist, to save several forks.
243
+ if test -f $as_shell &&
244
+ { ($as_shell) 2> /dev/null <<\_ASEOF
245
+# Be Bourne compatible
246
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
249
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
250
+ # is contrary to our usage. Disable this feature.
251
+ alias -g '${1+"$@"}'='"$@"'
252
+ setopt NO_GLOB_SUBST
254
+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
256
+BIN_SH=xpg4; export BIN_SH # for Tru64
257
+DUALCASE=1; export DUALCASE # for MKS sh
262
+ CONFIG_SHELL=$as_shell
263
+ as_have_required=yes
264
+ if { $as_shell 2> /dev/null <<\_ASEOF
265
+# Be Bourne compatible
266
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
269
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
270
+ # is contrary to our usage. Disable this feature.
271
+ alias -g '${1+"$@"}'='"$@"'
272
+ setopt NO_GLOB_SUBST
274
+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
276
+BIN_SH=xpg4; export BIN_SH # for Tru64
277
+DUALCASE=1; export DUALCASE # for MKS sh
280
+(as_func_return () {
283
+as_func_success () {
286
+as_func_failure () {
289
+as_func_ret_success () {
292
+as_func_ret_failure () {
297
+if as_func_success; then
301
+ echo as_func_success failed.
304
+if as_func_failure; then
306
+ echo as_func_failure succeeded.
309
+if as_func_ret_success; then
313
+ echo as_func_ret_success failed.
316
+if as_func_ret_failure; then
318
+ echo as_func_ret_failure succeeded.
321
+if ( set x; as_func_ret_success y && test x = "$1" ); then
325
+ echo positional parameters were not saved.
330
+test $exitcode = 0) || { (exit 1); exit 1; }
333
+ as_lineno_1=$LINENO
334
+ as_lineno_2=$LINENO
335
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
336
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
347
+ if test "x$CONFIG_SHELL" != x; then
348
+ for as_var in BASH_ENV ENV
349
+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
351
+ export CONFIG_SHELL
352
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
356
+ if test $as_have_required = no; then
357
+ echo This script requires a shell more modern than all the
358
+ echo shells that I found on your system. Please install a
359
+ echo modern shell, or manually run the script under such a
360
+ echo shell if you do have one.
361
+ { (exit 1); exit 1; }
371
+(eval "as_func_return () {
374
+as_func_success () {
377
+as_func_failure () {
380
+as_func_ret_success () {
383
+as_func_ret_failure () {
388
+if as_func_success; then
392
+ echo as_func_success failed.
395
+if as_func_failure; then
397
+ echo as_func_failure succeeded.
400
+if as_func_ret_success; then
404
+ echo as_func_ret_success failed.
407
+if as_func_ret_failure; then
409
+ echo as_func_ret_failure succeeded.
412
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
416
+ echo positional parameters were not saved.
419
+test \$exitcode = 0") || {
420
+ echo No shell found that supports shell functions.
421
+ echo Please tell autoconf@gnu.org about your system,
422
+ echo including any error possibly output before this
428
+ as_lineno_1=$LINENO
429
+ as_lineno_2=$LINENO
430
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
431
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
433
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
434
+ # uniformly replaced by the line number. The first 'sed' inserts a
435
+ # line-number line after each line using $LINENO; the second 'sed'
436
+ # does the real work. The second script uses 'N' to pair each
437
+ # line-number line with the line containing $LINENO, and appends
438
+ # trailing '-' during substitution so that $LINENO is not a special
439
+ # case at line end.
440
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
441
+ # scripts with optimization help from Paolo Bonzini. Blame Lee
442
+ # E. McMahon (1931-1989) for sed's syntax. :-)
454
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457
+ ' >$as_me.lineno &&
458
+ chmod +x "$as_me.lineno" ||
459
+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
460
+ { (exit 1); exit 1; }; }
462
+ # Don't try to exec as it changes $[0], causing all sort of problems
463
+ # (the dirname of $[0] is not the place where we might find the
464
+ # original and so on. Autoconf is especially sensitive to this).
465
+ . "./$as_me.lineno"
466
+ # Exit status is that of the last command.
471
+if (dirname -- /) >/dev/null 2>&1; then
477
+ECHO_C= ECHO_N= ECHO_T=
480
+ case `echo 'x\c'` in
481
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
488
+if expr a : '\(a\)' >/dev/null 2>&1 &&
489
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
495
+rm -f conf$$ conf$$.exe conf$$.file
496
+if test -d conf$$.dir; then
497
+ rm -f conf$$.dir/conf$$.file
503
+if ln -s conf$$.file conf$$ 2>/dev/null; then
505
+ # ... but there are two gotchas:
506
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
507
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
508
+ # In both cases, we have to default to `cp -p'.
509
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
511
+elif ln conf$$.file conf$$ 2>/dev/null; then
516
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
517
+rmdir conf$$.dir 2>/dev/null
519
+if mkdir -p . 2>/dev/null; then
522
+ test -d ./-p && rmdir ./-p
526
+# Find out whether ``test -x'' works. Don't use a zero-byte file, as
527
+# systems may use methods other than mode bits to determine executability.
528
+cat >conf$$.file <<_ASEOF
532
+chmod +x conf$$.file
533
+if test -x conf$$.file >/dev/null 2>&1; then
534
+ as_executable_p="test -x"
540
+# Sed expression to map a string onto a valid CPP name.
541
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
+# Sed expression to map a string onto a valid variable name.
544
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548
+exec 7<&0 </dev/null 6>&1
551
+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
552
+# so uname gets run too.
553
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
ac_default_prefix=/usr/local
559
-# Any additions from configure.in:
561
+ac_config_libobj_dir=.
567
+SHELL=${CONFIG_SHELL-/bin/sh}
569
+# Identity of this package.
576
+ac_unique_file="body.h"
577
ac_default_prefix=/usr/local
579
- --with-x use the X Window System"
581
- --with-xpm-include=DIR XPM include files are in DIR"
583
- --with-xpm-lib=DIR XPM library file is in DIR"
585
- --with-motif-include=DIR Motif include files are in DIR"
587
- --with-motif-lib=DIR Motif library files are in DIR"
589
- --with-motif Use Motif Tool kit"
591
- --with-x11-resource=DIR The root of X11 resource files
592
- (Default \${x_libraries}/X11)"
594
- --enable-dupscore Allow one user to register multiple high score"
595
+# Factoring default headers for most tests.
596
+ac_includes_default="\
598
+#if HAVE_SYS_TYPES_H
599
+# include <sys/types.h>
602
+# include <sys/stat.h>
605
+# include <stdlib.h>
606
+# include <stddef.h>
609
+# include <stdlib.h>
613
+# if !STDC_HEADERS && HAVE_MEMORY_H
614
+# include <memory.h>
616
+# include <string.h>
619
+# include <strings.h>
622
+# include <inttypes.h>
625
+# include <stdint.h>
628
+# include <unistd.h>
631
+ac_subst_vars='SHELL
640
+program_transform_name
707
+ ac_precious_vars='build_alias
721
# Initialize some variables set by options.
723
+ac_init_version=false
724
# The variables have the same names as the options, with
725
# dashes changed to underlines.
727
-cache_file=./config.cache
728
+cache_file=/dev/null
736
@@ -47,94 +705,117 @@
745
+# Installation directory options.
746
+# These are left unexpanded so users can "make install exec_prefix=/foo"
747
+# and all the variables that are supposed to be based on exec_prefix
748
+# by default will actually change.
749
+# Use braces instead of parens because sh, perl, etc. also accept them.
750
+# (The list follows the same order as the GNU Coding Standards.)
751
bindir='${exec_prefix}/bin'
752
sbindir='${exec_prefix}/sbin'
753
libexecdir='${exec_prefix}/libexec'
754
-datadir='${prefix}/share'
755
+datarootdir='${prefix}/share'
756
+datadir='${datarootdir}'
757
sysconfdir='${prefix}/etc'
758
sharedstatedir='${prefix}/com'
759
localstatedir='${prefix}/var'
760
-libdir='${exec_prefix}/lib'
761
includedir='${prefix}/include'
762
oldincludedir='/usr/include'
763
-infodir='${prefix}/info'
764
-mandir='${prefix}/man'
766
-# Initialize some other variables.
769
-SHELL=${CONFIG_SHELL-/bin/sh}
770
-# Maximum number of lines to put in a shell here document.
771
-ac_max_here_lines=12
772
+docdir='${datarootdir}/doc/${PACKAGE}'
773
+infodir='${datarootdir}/info'
778
+libdir='${exec_prefix}/lib'
779
+localedir='${datarootdir}/locale'
780
+mandir='${datarootdir}/man'
787
# If the previous option needs an argument, assign it.
788
if test -n "$ac_prev"; then
789
- eval "$ac_prev=\$ac_option"
790
+ eval $ac_prev=\$ac_option
795
- case "$ac_option" in
796
- -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
799
+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
800
+ *) ac_optarg=yes ;;
803
# Accept the important Cygnus configure options, so we can diagnose typos.
805
- case "$ac_option" in
806
+ case $ac_dashdash$ac_option in
810
-bindir | --bindir | --bindi | --bind | --bin | --bi)
812
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
813
- bindir="$ac_optarg" ;;
814
+ bindir=$ac_optarg ;;
816
-build | --build | --buil | --bui | --bu)
818
+ ac_prev=build_alias ;;
819
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
820
- build="$ac_optarg" ;;
821
+ build_alias=$ac_optarg ;;
823
-cache-file | --cache-file | --cache-fil | --cache-fi \
824
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
825
ac_prev=cache_file ;;
826
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
827
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
828
- cache_file="$ac_optarg" ;;
829
+ cache_file=$ac_optarg ;;
831
+ --config-cache | -C)
832
+ cache_file=config.cache ;;
834
- -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
835
+ -datadir | --datadir | --datadi | --datad)
837
- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
839
- datadir="$ac_optarg" ;;
840
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
841
+ datadir=$ac_optarg ;;
843
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
844
+ | --dataroo | --dataro | --datar)
845
+ ac_prev=datarootdir ;;
846
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
847
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
848
+ datarootdir=$ac_optarg ;;
850
-disable-* | --disable-*)
851
- ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
852
+ ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
853
# Reject names that are not valid shell variable names.
854
- if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
855
- { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
857
- ac_feature=`echo $ac_feature| sed 's/-/_/g'`
858
- eval "enable_${ac_feature}=no" ;;
859
+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
860
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
861
+ { (exit 1); exit 1; }; }
862
+ ac_feature=`echo $ac_feature | sed 's/-/_/g'`
863
+ eval enable_$ac_feature=no ;;
865
+ -docdir | --docdir | --docdi | --doc | --do)
867
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
868
+ docdir=$ac_optarg ;;
870
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
872
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
873
+ dvidir=$ac_optarg ;;
875
-enable-* | --enable-*)
876
- ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
877
+ ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
878
# Reject names that are not valid shell variable names.
879
- if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
880
- { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
882
- ac_feature=`echo $ac_feature| sed 's/-/_/g'`
883
- case "$ac_option" in
885
- *) ac_optarg=yes ;;
887
- eval "enable_${ac_feature}='$ac_optarg'" ;;
888
+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
889
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
890
+ { (exit 1); exit 1; }; }
891
+ ac_feature=`echo $ac_feature | sed 's/-/_/g'`
892
+ eval enable_$ac_feature=\$ac_optarg ;;
894
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
895
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
896
@@ -143,116 +824,77 @@
897
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
898
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
899
| --exec=* | --exe=* | --ex=*)
900
- exec_prefix="$ac_optarg" ;;
901
+ exec_prefix=$ac_optarg ;;
903
-gas | --gas | --ga | --g)
904
# Obsolete; use --with-gas.
907
- -help | --help | --hel | --he)
908
- # Omit some internal or obsolete options to make the list less imposing.
909
- # This message is too long to be a string in the A/UX 3.1 sh.
911
-Usage: configure [options] [host]
912
-Options: [defaults in brackets after descriptions]
914
- --cache-file=FILE cache test results in FILE
915
- --help print this message
916
- --no-create do not create output files
917
- --quiet, --silent do not print \`checking...' messages
918
- --version print the version of autoconf that created configure
919
-Directory and file names:
920
- --prefix=PREFIX install architecture-independent files in PREFIX
921
- [$ac_default_prefix]
922
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
924
- --bindir=DIR user executables in DIR [EPREFIX/bin]
925
- --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
926
- --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
927
- --datadir=DIR read-only architecture-independent data in DIR
929
- --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
930
- --sharedstatedir=DIR modifiable architecture-independent data in DIR
932
- --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
933
- --libdir=DIR object code libraries in DIR [EPREFIX/lib]
934
- --includedir=DIR C header files in DIR [PREFIX/include]
935
- --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
936
- --infodir=DIR info documentation in DIR [PREFIX/info]
937
- --mandir=DIR man documentation in DIR [PREFIX/man]
938
- --srcdir=DIR find the sources in DIR [configure dir or ..]
939
- --program-prefix=PREFIX prepend PREFIX to installed program names
940
- --program-suffix=SUFFIX append SUFFIX to installed program names
941
- --program-transform-name=PROGRAM
942
- run sed PROGRAM on installed program names
946
- --build=BUILD configure for building on BUILD [BUILD=HOST]
947
- --host=HOST configure for HOST [guessed]
948
- --target=TARGET configure for TARGET [TARGET=HOST]
949
-Features and packages:
950
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
951
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
952
- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
953
- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
954
- --x-includes=DIR X include files are in DIR
955
- --x-libraries=DIR X library files are in DIR
957
- if test -n "$ac_help"; then
958
- echo "--enable and --with options recognized:$ac_help"
961
+ -help | --help | --hel | --he | -h)
962
+ ac_init_help=long ;;
963
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
964
+ ac_init_help=recursive ;;
965
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
966
+ ac_init_help=short ;;
968
-host | --host | --hos | --ho)
970
+ ac_prev=host_alias ;;
971
-host=* | --host=* | --hos=* | --ho=*)
972
- host="$ac_optarg" ;;
973
+ host_alias=$ac_optarg ;;
975
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
977
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
979
+ htmldir=$ac_optarg ;;
981
-includedir | --includedir | --includedi | --included | --include \
982
| --includ | --inclu | --incl | --inc)
983
ac_prev=includedir ;;
984
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
985
| --includ=* | --inclu=* | --incl=* | --inc=*)
986
- includedir="$ac_optarg" ;;
987
+ includedir=$ac_optarg ;;
989
-infodir | --infodir | --infodi | --infod | --info | --inf)
991
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
992
- infodir="$ac_optarg" ;;
993
+ infodir=$ac_optarg ;;
995
-libdir | --libdir | --libdi | --libd)
997
-libdir=* | --libdir=* | --libdi=* | --libd=*)
998
- libdir="$ac_optarg" ;;
999
+ libdir=$ac_optarg ;;
1001
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1002
| --libexe | --libex | --libe)
1003
ac_prev=libexecdir ;;
1004
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1005
| --libexe=* | --libex=* | --libe=*)
1006
- libexecdir="$ac_optarg" ;;
1007
+ libexecdir=$ac_optarg ;;
1009
+ -localedir | --localedir | --localedi | --localed | --locale)
1010
+ ac_prev=localedir ;;
1011
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1012
+ localedir=$ac_optarg ;;
1014
-localstatedir | --localstatedir | --localstatedi | --localstated \
1015
- | --localstate | --localstat | --localsta | --localst \
1016
- | --locals | --local | --loca | --loc | --lo)
1017
+ | --localstate | --localstat | --localsta | --localst | --locals)
1018
ac_prev=localstatedir ;;
1019
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1020
- | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1021
- | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1022
- localstatedir="$ac_optarg" ;;
1023
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1024
+ localstatedir=$ac_optarg ;;
1026
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1028
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1029
- mandir="$ac_optarg" ;;
1030
+ mandir=$ac_optarg ;;
1032
-nfp | --nfp | --nf)
1033
# Obsolete; use --without-fp.
1036
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1037
- | --no-cr | --no-c)
1038
+ | --no-cr | --no-c | -n)
1041
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1042
@@ -266,26 +908,26 @@
1043
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1044
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1045
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1046
- oldincludedir="$ac_optarg" ;;
1047
+ oldincludedir=$ac_optarg ;;
1049
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1051
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1052
- prefix="$ac_optarg" ;;
1053
+ prefix=$ac_optarg ;;
1055
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1056
| --program-pre | --program-pr | --program-p)
1057
ac_prev=program_prefix ;;
1058
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1059
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1060
- program_prefix="$ac_optarg" ;;
1061
+ program_prefix=$ac_optarg ;;
1063
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1064
| --program-suf | --program-su | --program-s)
1065
ac_prev=program_suffix ;;
1066
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1067
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1068
- program_suffix="$ac_optarg" ;;
1069
+ program_suffix=$ac_optarg ;;
1071
-program-transform-name | --program-transform-name \
1072
| --program-transform-nam | --program-transform-na \
1073
@@ -302,7 +944,17 @@
1074
| --program-transfo=* | --program-transf=* \
1075
| --program-trans=* | --program-tran=* \
1076
| --progr-tra=* | --program-tr=* | --program-t=*)
1077
- program_transform_name="$ac_optarg" ;;
1078
+ program_transform_name=$ac_optarg ;;
1080
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1082
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1083
+ pdfdir=$ac_optarg ;;
1085
+ -psdir | --psdir | --psdi | --psd | --ps)
1087
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1088
+ psdir=$ac_optarg ;;
1090
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1091
| -silent | --silent | --silen | --sile | --sil)
1094
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1096
- sbindir="$ac_optarg" ;;
1097
+ sbindir=$ac_optarg ;;
1099
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1100
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1101
@@ -323,58 +975,53 @@
1102
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1103
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1105
- sharedstatedir="$ac_optarg" ;;
1106
+ sharedstatedir=$ac_optarg ;;
1108
-site | --site | --sit)
1110
-site=* | --site=* | --sit=*)
1111
- site="$ac_optarg" ;;
1112
+ site=$ac_optarg ;;
1114
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1116
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1117
- srcdir="$ac_optarg" ;;
1118
+ srcdir=$ac_optarg ;;
1120
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1121
| --syscon | --sysco | --sysc | --sys | --sy)
1122
ac_prev=sysconfdir ;;
1123
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1124
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1125
- sysconfdir="$ac_optarg" ;;
1126
+ sysconfdir=$ac_optarg ;;
1128
-target | --target | --targe | --targ | --tar | --ta | --t)
1130
+ ac_prev=target_alias ;;
1131
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1132
- target="$ac_optarg" ;;
1133
+ target_alias=$ac_optarg ;;
1135
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1138
- -version | --version | --versio | --versi | --vers)
1139
- echo "configure generated by autoconf version 2.13"
1141
+ -version | --version | --versio | --versi | --vers | -V)
1142
+ ac_init_version=: ;;
1145
- ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
1146
+ ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1147
# Reject names that are not valid shell variable names.
1148
- if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
1149
- { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
1151
+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1152
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
1153
+ { (exit 1); exit 1; }; }
1154
ac_package=`echo $ac_package| sed 's/-/_/g'`
1155
- case "$ac_option" in
1157
- *) ac_optarg=yes ;;
1159
- eval "with_${ac_package}='$ac_optarg'" ;;
1160
+ eval with_$ac_package=\$ac_optarg ;;
1162
-without-* | --without-*)
1163
- ac_package=`echo $ac_option|sed -e 's/-*without-//'`
1164
+ ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1165
# Reject names that are not valid shell variable names.
1166
- if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
1167
- { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
1169
- ac_package=`echo $ac_package| sed 's/-/_/g'`
1170
- eval "with_${ac_package}=no" ;;
1171
+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1172
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
1173
+ { (exit 1); exit 1; }; }
1174
+ ac_package=`echo $ac_package | sed 's/-/_/g'`
1175
+ eval with_$ac_package=no ;;
1178
# Obsolete; use --with-x.
1179
@@ -385,369 +1032,1583 @@
1180
ac_prev=x_includes ;;
1181
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1182
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1183
- x_includes="$ac_optarg" ;;
1184
+ x_includes=$ac_optarg ;;
1186
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1187
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1188
ac_prev=x_libraries ;;
1189
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1190
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1191
- x_libraries="$ac_optarg" ;;
1192
+ x_libraries=$ac_optarg ;;
1194
- -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
1195
+ -*) { echo "$as_me: error: unrecognized option: $ac_option
1196
+Try \`$0 --help' for more information." >&2
1197
+ { (exit 1); exit 1; }; }
1201
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1202
+ # Reject names that are not valid shell variable names.
1203
+ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1204
+ { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1205
+ { (exit 1); exit 1; }; }
1206
+ eval $ac_envvar=\$ac_optarg
1207
+ export $ac_envvar ;;
1210
- if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
1211
- echo "configure: warning: $ac_option: invalid host type" 1>&2
1213
- if test "x$nonopt" != xNONE; then
1214
- { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
1216
- nonopt="$ac_option"
1217
+ # FIXME: should be removed in autoconf 3.0.
1218
+ echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1219
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1220
+ echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1221
+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1227
if test -n "$ac_prev"; then
1228
- { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
1229
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1230
+ { echo "$as_me: error: missing argument to $ac_option" >&2
1231
+ { (exit 1); exit 1; }; }
1234
-trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1235
+# Be sure to have absolute directory names.
1236
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1237
+ datadir sysconfdir sharedstatedir localstatedir includedir \
1238
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1239
+ libdir localedir mandir
1241
+ eval ac_val=\$$ac_var
1243
+ [\\/$]* | ?:[\\/]* ) continue;;
1244
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1246
+ { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1247
+ { (exit 1); exit 1; }; }
1250
-# File descriptor usage:
1253
-# 2 errors and warnings
1254
-# 3 some systems may open it to /dev/tty
1255
-# 4 used on the Kubota Titan
1256
-# 6 checking for... messages and results
1257
-# 5 compiler messages saved in config.log
1258
-if test "$silent" = yes; then
1262
+# There might be people who depend on the old broken behavior: `$host'
1263
+# used to hold the argument of --host etc.
1264
+# FIXME: To remove some day.
1267
+target=$target_alias
1269
+# FIXME: To remove some day.
1270
+if test "x$host_alias" != x; then
1271
+ if test "x$build_alias" = x; then
1272
+ cross_compiling=maybe
1273
+ echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1274
+ If a cross compiler is detected then cross compile mode will be used." >&2
1275
+ elif test "x$build_alias" != "x$host_alias"; then
1276
+ cross_compiling=yes
1279
-exec 5>./config.log
1282
-This file contains any messages produced by compilers while
1283
-running configure, to aid debugging if configure makes a mistake.
1286
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
1288
-# Strip out --no-create and --no-recursion so they do not pile up.
1289
-# Also quote any args containing shell metacharacters.
1294
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1295
- | --no-cr | --no-c) ;;
1296
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1297
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
1298
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
1299
- ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1300
- *) ac_configure_args="$ac_configure_args $ac_arg" ;;
1303
+test "$silent" = yes && exec 6>/dev/null
1306
-# Only set these to C if already set. These must not be set unconditionally
1307
-# because not all systems understand e.g. LANG=C (notably SCO).
1308
-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
1309
-# Non-C LC_CTYPE values break the ctype check.
1310
-if test "${LANG+set}" = set; then LANG=C; export LANG; fi
1311
-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
1312
-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
1313
-if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
1315
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
1316
-rm -rf conftest* confdefs.h
1317
-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1320
-# A filename unique to this package, relative to the directory that
1321
-# configure is in, which we can look for to find out if srcdir is correct.
1322
-ac_unique_file=body.h
1323
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
1324
+ac_ls_di=`ls -di .` &&
1325
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1326
+ { echo "$as_me: error: Working directory cannot be determined" >&2
1327
+ { (exit 1); exit 1; }; }
1328
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1329
+ { echo "$as_me: error: pwd does not report name of working directory" >&2
1330
+ { (exit 1); exit 1; }; }
1333
# Find the source files, if location was not specified.
1334
if test -z "$srcdir"; then
1335
ac_srcdir_defaulted=yes
1336
- # Try the directory containing this script, then its parent.
1338
- ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
1339
- test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
1340
+ # Try the directory containing this script, then the parent directory.
1341
+ ac_confdir=`$as_dirname -- "$0" ||
1342
+$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1343
+ X"$0" : 'X\(//\)[^/]' \| \
1344
+ X"$0" : 'X\(//\)$' \| \
1345
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1347
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1351
+ /^X\(\/\/\)[^/].*/{
1365
- if test ! -r $srcdir/$ac_unique_file; then
1366
+ if test ! -r "$srcdir/$ac_unique_file"; then
1370
ac_srcdir_defaulted=no
1372
-if test ! -r $srcdir/$ac_unique_file; then
1373
- if test "$ac_srcdir_defaulted" = yes; then
1374
- { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
1376
- { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
1379
-srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
1381
-# Prefer explicitly selected file to automatically selected ones.
1382
-if test -z "$CONFIG_SITE"; then
1383
- if test "x$prefix" != xNONE; then
1384
- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1386
- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1389
-for ac_site_file in $CONFIG_SITE; do
1390
- if test -r "$ac_site_file"; then
1391
- echo "loading site script $ac_site_file"
1394
+if test ! -r "$srcdir/$ac_unique_file"; then
1395
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1396
+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1397
+ { (exit 1); exit 1; }; }
1399
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1401
+ cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1402
+ { (exit 1); exit 1; }; }
1404
+# When building in place, set srcdir=.
1405
+if test "$ac_abs_confdir" = "$ac_pwd"; then
1408
+# Remove unnecessary trailing slashes from srcdir.
1409
+# Double slashes in file names in object file debugging info
1410
+# mess up M-x gdb in Emacs.
1412
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1414
+for ac_var in $ac_precious_vars; do
1415
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
1416
+ eval ac_env_${ac_var}_value=\$${ac_var}
1417
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1418
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
1421
-if test -r "$cache_file"; then
1422
- echo "loading cache $cache_file"
1425
- echo "creating cache $cache_file"
1429
+# Report the --help message.
1431
+if test "$ac_init_help" = "long"; then
1432
+ # Omit some internal or obsolete options to make the list less imposing.
1433
+ # This message is too long to be a string in the A/UX 3.1 sh.
1435
+\`configure' configures this package to adapt to many kinds of systems.
1438
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1439
-ac_cpp='$CPP $CPPFLAGS'
1440
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1441
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1442
-cross_compiling=$ac_cv_prog_cc_cross
1443
+Usage: $0 [OPTION]... [VAR=VALUE]...
1447
-if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
1448
- # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
1449
- if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
1453
- ac_n=-n ac_c= ac_t=
1456
- ac_n= ac_c='\c' ac_t=
1457
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
1458
+VAR=VALUE. See below for descriptions of some of the useful variables.
1460
+Defaults for the options are specified in brackets.
1463
+ -h, --help display this help and exit
1464
+ --help=short display options specific to this package
1465
+ --help=recursive display the short help of all the included packages
1466
+ -V, --version display version information and exit
1467
+ -q, --quiet, --silent do not print \`checking...' messages
1468
+ --cache-file=FILE cache test results in FILE [disabled]
1469
+ -C, --config-cache alias for \`--cache-file=config.cache'
1470
+ -n, --no-create do not create output files
1471
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
1473
+Installation directories:
1474
+ --prefix=PREFIX install architecture-independent files in PREFIX
1475
+ [$ac_default_prefix]
1476
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1479
+By default, \`make install' will install all the files in
1480
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1481
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1482
+for instance \`--prefix=\$HOME'.
1484
+For better control, use the options below.
1486
+Fine tuning of the installation directories:
1487
+ --bindir=DIR user executables [EPREFIX/bin]
1488
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
1489
+ --libexecdir=DIR program executables [EPREFIX/libexec]
1490
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1491
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1492
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1493
+ --libdir=DIR object code libraries [EPREFIX/lib]
1494
+ --includedir=DIR C header files [PREFIX/include]
1495
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
1496
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1497
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1498
+ --infodir=DIR info documentation [DATAROOTDIR/info]
1499
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1500
+ --mandir=DIR man documentation [DATAROOTDIR/man]
1501
+ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1502
+ --htmldir=DIR html documentation [DOCDIR]
1503
+ --dvidir=DIR dvi documentation [DOCDIR]
1504
+ --pdfdir=DIR pdf documentation [DOCDIR]
1505
+ --psdir=DIR ps documentation [DOCDIR]
1511
+ --x-includes=DIR X include files are in DIR
1512
+ --x-libraries=DIR X library files are in DIR
1515
+ --build=BUILD configure for building on BUILD [guessed]
1516
+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
1517
+ --target=TARGET configure for building compilers for TARGET [HOST]
1521
+if test -n "$ac_init_help"; then
1525
-# Extract the first word of "gcc", so it can be a program name with args.
1526
-set dummy gcc; ac_word=$2
1527
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1528
-echo "configure:547: checking for $ac_word" >&5
1529
-if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1530
- echo $ac_n "(cached) $ac_c" 1>&6
1532
- if test -n "$CC"; then
1533
- ac_cv_prog_CC="$CC" # Let the user override the test.
1535
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1537
- for ac_dir in $ac_dummy; do
1538
- test -z "$ac_dir" && ac_dir=.
1539
- if test -f $ac_dir/$ac_word; then
1540
- ac_cv_prog_CC="gcc"
1544
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1545
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1546
+ --enable-dupscore Allow one user to register multiple high score
1549
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1550
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1551
+ --with-x use the X Window System
1552
+ --with-xpm-include=DIR XPM include files are in DIR
1553
+ --with-xpm-lib=DIR XPM library file is in DIR
1554
+ --with-motif-include=DIR Motif include files are in DIR
1555
+ --with-motif-lib=DIR Motif library files are in DIR
1556
+ --with-motif Use Motif Tool kit
1557
+ --with-x11-resource=DIR The root of X11 resource files
1558
+ (Default \${x_libraries}/X11)
1560
+Some influential environment variables:
1561
+ CC C compiler command
1562
+ CFLAGS C compiler flags
1563
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1564
+ nonstandard directory <lib dir>
1565
+ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1566
+ you have headers in a nonstandard directory <include dir>
1567
+ CXX C++ compiler command
1568
+ CXXFLAGS C++ compiler flags
1569
+ CPP C preprocessor
1570
+ XMKMF Path to xmkmf, Makefile generator for X Window System
1572
+Use these variables to override the choices made by `configure' or to help
1573
+it to find libraries and programs with nonstandard names/locations.
1579
+if test "$ac_init_help" = "recursive"; then
1580
+ # If there are subdirs, report their specific --help.
1581
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1582
+ test -d $ac_dir || continue
1586
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1588
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1589
+ # A ".." for each directory in $ac_dir_suffix.
1590
+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1591
+ case $ac_top_builddir_sub in
1592
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1593
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1596
+ac_abs_top_builddir=$ac_pwd
1597
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
1598
+# for backward compatibility:
1599
+ac_top_builddir=$ac_top_build_prefix
1602
+ .) # We are building in place.
1604
+ ac_top_srcdir=$ac_top_builddir_sub
1605
+ ac_abs_top_srcdir=$ac_pwd ;;
1606
+ [\\/]* | ?:[\\/]* ) # Absolute name.
1607
+ ac_srcdir=$srcdir$ac_dir_suffix;
1608
+ ac_top_srcdir=$srcdir
1609
+ ac_abs_top_srcdir=$srcdir ;;
1610
+ *) # Relative name.
1611
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1612
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
1613
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1615
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1617
+ cd "$ac_dir" || { ac_status=$?; continue; }
1618
+ # Check for guested configure.
1619
+ if test -f $ac_srcdir/configure.gnu; then
1621
+ $SHELL $ac_srcdir/configure.gnu --help=recursive
1622
+ elif test -f $ac_srcdir/configure; then
1624
+ $SHELL $ac_srcdir/configure --help=recursive
1626
+ echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1627
+ fi || ac_status=$?
1628
+ cd "$ac_pwd" || { ac_status=$?; break; }
1630
- IFS="$ac_save_ifs"
1633
-CC="$ac_cv_prog_CC"
1634
-if test -n "$CC"; then
1635
- echo "$ac_t""$CC" 1>&6
1637
- echo "$ac_t""no" 1>&6
1639
+test -n "$ac_init_help" && exit $ac_status
1640
+if $ac_init_version; then
1643
+generated by GNU Autoconf 2.59d
1645
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1646
+2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1647
+This configure script is free software; the Free Software Foundation
1648
+gives unlimited permission to copy, distribute and modify it.
1652
+cat >config.log <<_ACEOF
1653
+This file contains any messages produced by compilers while
1654
+running configure, to aid debugging if configure makes a mistake.
1656
-if test -z "$CC"; then
1657
- # Extract the first word of "cc", so it can be a program name with args.
1658
-set dummy cc; ac_word=$2
1659
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1660
-echo "configure:577: checking for $ac_word" >&5
1661
-if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1662
- echo $ac_n "(cached) $ac_c" 1>&6
1664
- if test -n "$CC"; then
1665
- ac_cv_prog_CC="$CC" # Let the user override the test.
1667
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1668
- ac_prog_rejected=no
1670
- for ac_dir in $ac_dummy; do
1671
- test -z "$ac_dir" && ac_dir=.
1672
- if test -f $ac_dir/$ac_word; then
1673
- if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1674
- ac_prog_rejected=yes
1677
- ac_cv_prog_CC="cc"
1681
- IFS="$ac_save_ifs"
1682
-if test $ac_prog_rejected = yes; then
1683
- # We found a bogon in the path, so make sure we never use it.
1684
+It was created by $as_me, which was
1685
+generated by GNU Autoconf 2.59d. Invocation command line was
1697
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1698
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
1699
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
1700
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
1701
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
1703
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1704
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1706
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1707
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1708
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1709
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1710
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1711
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1712
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1716
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1717
+for as_dir in $PATH
1720
+ test -z "$as_dir" && as_dir=.
1721
+ echo "PATH: $as_dir"
1737
+# Keep a trace of the command line.
1738
+# Strip out --no-create and --no-recursion so they do not pile up.
1739
+# Strip out --silent because we don't want to record it for future runs.
1740
+# Also quote any args containing shell meta-characters.
1741
+# Make two passes to allow for proper duplicate-argument suppression.
1743
+ac_configure_args0=
1744
+ac_configure_args1=
1746
+ac_must_keep_next=false
1752
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1753
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1754
+ | -silent | --silent | --silen | --sile | --sil)
1757
+ ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1760
+ 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1762
+ ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1763
+ if test $ac_must_keep_next = true; then
1764
+ ac_must_keep_next=false # Got value, back to normal.
1767
+ *=* | --config-cache | -C | -disable-* | --disable-* \
1768
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1769
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1770
+ | -with-* | --with-* | -without-* | --without-* | --x)
1771
+ case "$ac_configure_args0 " in
1772
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1775
+ -* ) ac_must_keep_next=true ;;
1778
+ ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1779
+ # Get rid of the leading space.
1785
+$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1786
+$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1788
+# When interrupted or exit'd, cleanup temporary files, and complete
1789
+# config.log. We remove comments because anyway the quotes in there
1790
+# would cause problems or look ugly.
1791
+# WARNING: Use '\'' to represent an apostrophe within the trap.
1792
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1793
+trap 'exit_status=$?
1794
+ # Save into config.log some information that might help in debugging.
1799
+## ---------------- ##
1800
+## Cache variables. ##
1801
+## ---------------- ##
1804
+ # The following way of writing the cache mishandles newlines in values,
1806
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1807
+ eval ac_val=\$$ac_var
1808
+ case $ac_val in #(
1810
+ case $ac_var in #(
1811
+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1812
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1814
+ case $ac_var in #(
1815
+ _ | IFS | as_nl) ;; #(
1816
+ *) $as_unset $ac_var ;;
1821
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1822
+ *${as_nl}ac_space=\ *)
1824
+ "s/'\''/'\''\\\\'\'''\''/g;
1825
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1828
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1836
+## ----------------- ##
1837
+## Output variables. ##
1838
+## ----------------- ##
1841
+ for ac_var in $ac_subst_vars
1843
+ eval ac_val=\$$ac_var
1844
+ echo "$ac_var='\''$ac_val'\''"
1848
+ if test -n "$ac_subst_files"; then
1850
+## ------------------- ##
1851
+## File substitutions. ##
1852
+## ------------------- ##
1855
+ for ac_var in $ac_subst_files
1857
+ eval ac_val=\$$ac_var
1858
+ echo "$ac_var='\''$ac_val'\''"
1863
+ if test -s confdefs.h; then
1873
+ test "$ac_signal" != 0 &&
1874
+ echo "$as_me: caught signal $ac_signal"
1875
+ echo "$as_me: exit $exit_status"
1877
+ rm -f core *.core core.conftest.* &&
1878
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1881
+for ac_signal in 1 2 13 15; do
1882
+ trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1886
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
1887
+rm -f -r conftest* confdefs.h
1889
+# Predefined preprocessor variables.
1891
+cat >>confdefs.h <<_ACEOF
1892
+#define PACKAGE_NAME "$PACKAGE_NAME"
1896
+cat >>confdefs.h <<_ACEOF
1897
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1901
+cat >>confdefs.h <<_ACEOF
1902
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
1906
+cat >>confdefs.h <<_ACEOF
1907
+#define PACKAGE_STRING "$PACKAGE_STRING"
1911
+cat >>confdefs.h <<_ACEOF
1912
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1916
+# Let the site file select an alternate cache file if it wants to.
1917
+# Prefer explicitly selected file to automatically selected ones.
1918
+if test -n "$CONFIG_SITE"; then
1919
+ set x "$CONFIG_SITE"
1920
+elif test "x$prefix" != xNONE; then
1921
+ set x "$prefix/share/config.site" "$prefix/etc/config.site"
1923
+ set x "$ac_default_prefix/share/config.site" \
1924
+ "$ac_default_prefix/etc/config.site"
1929
+ if test -r "$ac_site_file"; then
1930
+ { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1931
+echo "$as_me: loading site script $ac_site_file" >&6;}
1932
+ sed 's/^/| /' "$ac_site_file" >&5
1937
+if test -r "$cache_file"; then
1938
+ # Some versions of bash will fail to source /dev/null (special
1939
+ # files actually), so we avoid doing that.
1940
+ if test -f "$cache_file"; then
1941
+ { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1942
+echo "$as_me: loading cache $cache_file" >&6;}
1943
+ case $cache_file in
1944
+ [\\/]* | ?:[\\/]* ) . $cache_file;;
1945
+ *) . ./$cache_file;;
1949
+ { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1950
+echo "$as_me: creating cache $cache_file" >&6;}
1954
+# Check that the precious variables saved in the cache have kept the same
1956
+ac_cache_corrupted=false
1957
+for ac_var in $ac_precious_vars; do
1958
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
1959
+ eval ac_new_set=\$ac_env_${ac_var}_set
1960
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
1961
+ eval ac_new_val=\$ac_env_${ac_var}_value
1962
+ case $ac_old_set,$ac_new_set in
1964
+ { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1965
+echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1966
+ ac_cache_corrupted=: ;;
1968
+ { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1969
+echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1970
+ ac_cache_corrupted=: ;;
1973
+ if test "x$ac_old_val" != "x$ac_new_val"; then
1974
+ { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1975
+echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1976
+ { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1977
+echo "$as_me: former value: $ac_old_val" >&2;}
1978
+ { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1979
+echo "$as_me: current value: $ac_new_val" >&2;}
1980
+ ac_cache_corrupted=:
1983
+ # Pass precious variables to config.status.
1984
+ if test "$ac_new_set" = set; then
1985
+ case $ac_new_val in
1986
+ *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1987
+ *) ac_arg=$ac_var=$ac_new_val ;;
1989
+ case " $ac_configure_args " in
1990
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1991
+ *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1995
+if $ac_cache_corrupted; then
1996
+ { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1997
+echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1998
+ { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1999
+echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2000
+ { (exit 1); exit 1; }; }
2020
+ac_cpp='$CPP $CPPFLAGS'
2021
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2022
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2023
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2027
+for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2028
+ if test -f $ac_dir/install-sh; then
2029
+ ac_aux_dir=$ac_dir
2030
+ ac_install_sh="$ac_aux_dir/install-sh -c"
2032
+ elif test -f $ac_dir/install.sh; then
2033
+ ac_aux_dir=$ac_dir
2034
+ ac_install_sh="$ac_aux_dir/install.sh -c"
2036
+ elif test -f $ac_dir/shtool; then
2037
+ ac_aux_dir=$ac_dir
2038
+ ac_install_sh="$ac_aux_dir/shtool install -c"
2042
+if test -z "$ac_aux_dir"; then
2043
+ { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2044
+echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2045
+ { (exit 1); exit 1; }; }
2047
+ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2048
+ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2049
+ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2051
+# Make sure we can run config.sub.
2052
+$ac_config_sub sun4 >/dev/null 2>&1 ||
2053
+ { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2054
+echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2055
+ { (exit 1); exit 1; }; }
2057
+{ echo "$as_me:$LINENO: checking build system type" >&5
2058
+echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2059
+if test "${ac_cv_build+set}" = set; then
2060
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2062
+ ac_build_alias=$build_alias
2063
+test "x$ac_build_alias" = x &&
2064
+ ac_build_alias=`$ac_config_guess`
2065
+test "x$ac_build_alias" = x &&
2066
+ { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2067
+echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2068
+ { (exit 1); exit 1; }; }
2069
+ac_cv_build=`$ac_config_sub $ac_build_alias` ||
2070
+ { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_build_alias failed" >&5
2071
+echo "$as_me: error: $ac_config_sub $ac_build_alias failed" >&2;}
2072
+ { (exit 1); exit 1; }; }
2075
+{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2076
+echo "${ECHO_T}$ac_cv_build" >&6; }
2077
+case $ac_cv_build in
2079
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2080
+echo "$as_me: error: invalid value of canonical build" >&2;}
2081
+ { (exit 1); exit 1; }; };;
2084
+ac_save_IFS=$IFS; IFS='-'
2090
+# Remember, the first character of IFS is used to create $*,
2091
+# except with old shells:
2094
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2097
+{ echo "$as_me:$LINENO: checking host system type" >&5
2098
+echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2099
+if test "${ac_cv_host+set}" = set; then
2100
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2102
+ if test "x$host_alias" = x; then
2103
+ ac_cv_host=$ac_cv_build
2105
+ ac_cv_host=`$ac_config_sub $host_alias` ||
2106
+ { { echo "$as_me:$LINENO: error: $ac_config_sub $host_alias failed" >&5
2107
+echo "$as_me: error: $ac_config_sub $host_alias failed" >&2;}
2108
+ { (exit 1); exit 1; }; }
2112
+{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2113
+echo "${ECHO_T}$ac_cv_host" >&6; }
2114
+case $ac_cv_host in
2116
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2117
+echo "$as_me: error: invalid value of canonical host" >&2;}
2118
+ { (exit 1); exit 1; }; };;
2121
+ac_save_IFS=$IFS; IFS='-'
2127
+# Remember, the first character of IFS is used to create $*,
2128
+# except with old shells:
2131
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2134
+{ echo "$as_me:$LINENO: checking target system type" >&5
2135
+echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2136
+if test "${ac_cv_target+set}" = set; then
2137
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2139
+ if test "x$target_alias" = x; then
2140
+ ac_cv_target=$ac_cv_host
2142
+ ac_cv_target=`$ac_config_sub $target_alias` ||
2143
+ { { echo "$as_me:$LINENO: error: $ac_config_sub $target_alias failed" >&5
2144
+echo "$as_me: error: $ac_config_sub $target_alias failed" >&2;}
2145
+ { (exit 1); exit 1; }; }
2149
+{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2150
+echo "${ECHO_T}$ac_cv_target" >&6; }
2151
+case $ac_cv_target in
2153
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2154
+echo "$as_me: error: invalid value of canonical target" >&2;}
2155
+ { (exit 1); exit 1; }; };;
2157
+target=$ac_cv_target
2158
+ac_save_IFS=$IFS; IFS='-'
2159
+set x $ac_cv_target
2164
+# Remember, the first character of IFS is used to create $*,
2165
+# except with old shells:
2168
+case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2171
+# The aliases save the names the user supplied, while $host etc.
2172
+# will get canonicalized.
2173
+test -n "$target_alias" &&
2174
+ test "$program_prefix$program_suffix$program_transform_name" = \
2176
+ program_prefix=${target_alias}-
2179
+ac_cpp='$CPP $CPPFLAGS'
2180
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2181
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2182
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2183
+if test -n "$ac_tool_prefix"; then
2184
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2185
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
2186
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2187
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2188
+if test "${ac_cv_prog_CC+set}" = set; then
2189
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2191
+ if test -n "$CC"; then
2192
+ ac_cv_prog_CC="$CC" # Let the user override the test.
2194
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195
+for as_dir in $PATH
2198
+ test -z "$as_dir" && as_dir=.
2199
+ for ac_exec_ext in '' $ac_executable_extensions; do
2200
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2201
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
2202
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212
+if test -n "$CC"; then
2213
+ { echo "$as_me:$LINENO: result: $CC" >&5
2214
+echo "${ECHO_T}$CC" >&6; }
2216
+ { echo "$as_me:$LINENO: result: no" >&5
2217
+echo "${ECHO_T}no" >&6; }
2222
+if test -z "$ac_cv_prog_CC"; then
2224
+ # Extract the first word of "gcc", so it can be a program name with args.
2225
+set dummy gcc; ac_word=$2
2226
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2227
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2228
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2229
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2231
+ if test -n "$ac_ct_CC"; then
2232
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2234
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235
+for as_dir in $PATH
2238
+ test -z "$as_dir" && as_dir=.
2239
+ for ac_exec_ext in '' $ac_executable_extensions; do
2240
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2241
+ ac_cv_prog_ac_ct_CC="gcc"
2242
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2251
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
2252
+if test -n "$ac_ct_CC"; then
2253
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2254
+echo "${ECHO_T}$ac_ct_CC" >&6; }
2256
+ { echo "$as_me:$LINENO: result: no" >&5
2257
+echo "${ECHO_T}no" >&6; }
2260
+ if test "x$ac_ct_CC" = x; then
2263
+ case $cross_compiling:$ac_tool_warned in
2265
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2266
+whose name does not start with the host triplet. If you think this
2267
+configuration is useful to you, please write to autoconf@gnu.org." >&5
2268
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2269
+whose name does not start with the host triplet. If you think this
2270
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2271
+ac_tool_warned=yes ;;
2276
+ CC="$ac_cv_prog_CC"
2279
+if test -z "$CC"; then
2280
+ if test -n "$ac_tool_prefix"; then
2281
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2282
+set dummy ${ac_tool_prefix}cc; ac_word=$2
2283
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2284
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2285
+if test "${ac_cv_prog_CC+set}" = set; then
2286
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2288
+ if test -n "$CC"; then
2289
+ ac_cv_prog_CC="$CC" # Let the user override the test.
2291
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2292
+for as_dir in $PATH
2295
+ test -z "$as_dir" && as_dir=.
2296
+ for ac_exec_ext in '' $ac_executable_extensions; do
2297
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2298
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
2299
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2309
+if test -n "$CC"; then
2310
+ { echo "$as_me:$LINENO: result: $CC" >&5
2311
+echo "${ECHO_T}$CC" >&6; }
2313
+ { echo "$as_me:$LINENO: result: no" >&5
2314
+echo "${ECHO_T}no" >&6; }
2320
+if test -z "$CC"; then
2321
+ # Extract the first word of "cc", so it can be a program name with args.
2322
+set dummy cc; ac_word=$2
2323
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2324
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2325
+if test "${ac_cv_prog_CC+set}" = set; then
2326
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2328
+ if test -n "$CC"; then
2329
+ ac_cv_prog_CC="$CC" # Let the user override the test.
2331
+ ac_prog_rejected=no
2332
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333
+for as_dir in $PATH
2336
+ test -z "$as_dir" && as_dir=.
2337
+ for ac_exec_ext in '' $ac_executable_extensions; do
2338
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2339
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2340
+ ac_prog_rejected=yes
2343
+ ac_cv_prog_CC="cc"
2344
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351
+if test $ac_prog_rejected = yes; then
2352
+ # We found a bogon in the path, so make sure we never use it.
2353
set dummy $ac_cv_prog_CC
2355
- if test $# -gt 0; then
2356
+ if test $# != 0; then
2357
# We chose a different compiler from the bogus one.
2358
# However, it has the same basename, so the bogon will be chosen
2359
# first if we set CC to just the basename; use the full file name.
2361
- set dummy "$ac_dir/$ac_word" "$@"
2363
- ac_cv_prog_CC="$@"
2364
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2369
-CC="$ac_cv_prog_CC"
2371
if test -n "$CC"; then
2372
- echo "$ac_t""$CC" 1>&6
2373
+ { echo "$as_me:$LINENO: result: $CC" >&5
2374
+echo "${ECHO_T}$CC" >&6; }
2376
- echo "$ac_t""no" 1>&6
2377
+ { echo "$as_me:$LINENO: result: no" >&5
2378
+echo "${ECHO_T}no" >&6; }
2381
- if test -z "$CC"; then
2382
- case "`uname -s`" in
2383
- *win32* | *WIN32*)
2384
- # Extract the first word of "cl", so it can be a program name with args.
2385
-set dummy cl; ac_word=$2
2386
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2387
-echo "configure:628: checking for $ac_word" >&5
2388
-if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
2389
- echo $ac_n "(cached) $ac_c" 1>&6
2392
+if test -z "$CC"; then
2393
+ if test -n "$ac_tool_prefix"; then
2394
+ for ac_prog in cl.exe
2396
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2397
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2398
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2399
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2400
+if test "${ac_cv_prog_CC+set}" = set; then
2401
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2403
if test -n "$CC"; then
2404
ac_cv_prog_CC="$CC" # Let the user override the test.
2406
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2408
- for ac_dir in $ac_dummy; do
2409
- test -z "$ac_dir" && ac_dir=.
2410
- if test -f $ac_dir/$ac_word; then
2411
- ac_cv_prog_CC="cl"
2415
- IFS="$ac_save_ifs"
2416
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417
+for as_dir in $PATH
2420
+ test -z "$as_dir" && as_dir=.
2421
+ for ac_exec_ext in '' $ac_executable_extensions; do
2422
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2423
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2424
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2433
-CC="$ac_cv_prog_CC"
2435
if test -n "$CC"; then
2436
- echo "$ac_t""$CC" 1>&6
2437
+ { echo "$as_me:$LINENO: result: $CC" >&5
2438
+echo "${ECHO_T}$CC" >&6; }
2440
- echo "$ac_t""no" 1>&6
2441
+ { echo "$as_me:$LINENO: result: no" >&5
2442
+echo "${ECHO_T}no" >&6; }
2448
+ test -n "$CC" && break
2451
+if test -z "$CC"; then
2453
+ for ac_prog in cl.exe
2455
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
2456
+set dummy $ac_prog; ac_word=$2
2457
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2458
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2459
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2460
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2462
+ if test -n "$ac_ct_CC"; then
2463
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2465
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2466
+for as_dir in $PATH
2469
+ test -z "$as_dir" && as_dir=.
2470
+ for ac_exec_ext in '' $ac_executable_extensions; do
2471
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2472
+ ac_cv_prog_ac_ct_CC="$ac_prog"
2473
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2476
- test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
2483
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
2484
+if test -n "$ac_ct_CC"; then
2485
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2486
+echo "${ECHO_T}$ac_ct_CC" >&6; }
2488
+ { echo "$as_me:$LINENO: result: no" >&5
2489
+echo "${ECHO_T}no" >&6; }
2492
-echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
2493
-echo "configure:660: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
2496
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2497
-ac_cpp='$CPP $CPPFLAGS'
2498
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2499
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2500
-cross_compiling=$ac_cv_prog_cc_cross
2501
+ test -n "$ac_ct_CC" && break
2504
-cat > conftest.$ac_ext << EOF
2505
+ if test "x$ac_ct_CC" = x; then
2508
+ case $cross_compiling:$ac_tool_warned in
2510
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2511
+whose name does not start with the host triplet. If you think this
2512
+configuration is useful to you, please write to autoconf@gnu.org." >&5
2513
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2514
+whose name does not start with the host triplet. If you think this
2515
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2516
+ac_tool_warned=yes ;;
2525
+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2526
+See \`config.log' for more details." >&5
2527
+echo "$as_me: error: no acceptable C compiler found in \$PATH
2528
+See \`config.log' for more details." >&2;}
2529
+ { (exit 1); exit 1; }; }
2531
+# Provide some information about the compiler.
2532
+echo "$as_me:$LINENO: checking for C compiler version" >&5
2533
+ac_compiler=`set X $ac_compile; echo $2`
2534
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
2535
+ (eval $ac_compiler --version >&5) 2>&5
2537
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538
+ (exit $ac_status); }
2539
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
2540
+ (eval $ac_compiler -v >&5) 2>&5
2542
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543
+ (exit $ac_status); }
2544
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
2545
+ (eval $ac_compiler -V >&5) 2>&5
2547
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548
+ (exit $ac_status); }
2551
+# List of possible output files. We want to start from the most likely,
2552
+# but we have to check foo.exe before foo, because Cygwin `test -f' looks
2553
+# also for foo.exe. b.out is created by i960 compilers.
2554
+# As a last resort, we also try wildcards: `conftest.*' and `a.*'.
2555
+# But we are not allowed to rm a.*, and we do not want always remove
2556
+# conftest.*, so we will list them literally, when appropriate.
2557
+ac_outfiles="a_out.exe a.out conftest.exe conftest a.exe b.out"
2559
+# The IRIX 6 linker writes into existing files which may not be
2560
+# executable, retaining their permissions. Remove them first so a
2561
+# subsequent execution test works.
2562
+rm -f $ac_outfiles conftest.*
2564
+cat >conftest.$ac_ext <<_ACEOF
2567
+cat confdefs.h >>conftest.$ac_ext
2568
+cat >>conftest.$ac_ext <<_ACEOF
2569
+/* end confdefs.h. */
2580
+ac_clean_files_save=$ac_clean_files
2581
+ac_clean_files="$ac_clean_files $ac_outfiles"
2583
+# The following tests should remove their output except files matching conftest.*.
2584
+# Try to create an executable without -o first, disregard a.out.
2585
+# It will help us diagnose broken compilers, and finding out an intuition
2587
+{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2588
+echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2589
+ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2591
+if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2592
+ (eval $ac_link_default) 2>&5
2594
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595
+ (exit $ac_status); }; then
2596
+ for ac_file in $ac_outfiles a.* conftest.* NO
2598
+ test -f "$ac_file" || continue
2600
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2604
+if test "$ac_file" = NO; then
2605
+ { { echo "$as_me:$LINENO: error: no output file found
2606
+See \`config.log' for more details." >&5
2607
+echo "$as_me: error: no output file found
2608
+See \`config.log' for more details." >&2;}
2609
+ { (exit 1); exit 1; }; }
2612
-#line 671 "configure"
2613
-#include "confdefs.h"
2617
-if { (eval echo configure:676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2618
- ac_cv_prog_cc_works=yes
2619
- # If we can't run a trivial program, we are probably using a cross compiler.
2620
- if (./conftest; exit) 2>/dev/null; then
2621
- ac_cv_prog_cc_cross=no
2623
+ echo "$as_me: failed program was:" >&5
2624
+sed 's/^/| /' conftest.$ac_ext >&5
2626
+{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2627
+See \`config.log' for more details." >&5
2628
+echo "$as_me: error: C compiler cannot create executables
2629
+See \`config.log' for more details." >&2;}
2630
+ { (exit 77); exit 77; }; }
2633
+{ echo "$as_me:$LINENO: result: $ac_file" >&5
2634
+echo "${ECHO_T}$ac_file" >&6; }
2635
+# Check that the compiler produces executables we can run. If not, either
2636
+# the compiler is broken, or we cross compile.
2637
+{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2638
+echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2639
+# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2640
+# If not cross compiling, check that we can run a simple program.
2641
+if test "$cross_compiling" != yes; then
2642
+ if { ac_try='./$ac_file'
2643
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2644
+ (eval $ac_try) 2>&5
2646
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647
+ (exit $ac_status); }; }; then
2648
+ cross_compiling=no
2650
- ac_cv_prog_cc_cross=yes
2651
+ if test "$cross_compiling" = maybe; then
2652
+ cross_compiling=yes
2654
+ { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2655
+If you meant to cross compile, use \`--host'.
2656
+See \`config.log' for more details." >&5
2657
+echo "$as_me: error: cannot run C compiled programs.
2658
+If you meant to cross compile, use \`--host'.
2659
+See \`config.log' for more details." >&2;}
2660
+ { (exit 1); exit 1; }; }
2664
- echo "configure: failed program was:" >&5
2665
- cat conftest.$ac_ext >&5
2666
- ac_cv_prog_cc_works=no
2670
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2671
-ac_cpp='$CPP $CPPFLAGS'
2672
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2673
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2674
-cross_compiling=$ac_cv_prog_cc_cross
2675
+{ echo "$as_me:$LINENO: result: yes" >&5
2676
+echo "${ECHO_T}yes" >&6; }
2678
-echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
2679
-if test $ac_cv_prog_cc_works = no; then
2680
- { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
2681
+# Clean up; list also $ac_file, in case it matched a wildcard entry.
2682
+rm -f $ac_outfiles $ac_file
2684
+{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2685
+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2686
+{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2687
+echo "${ECHO_T}$cross_compiling" >&6; }
2689
+{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2690
+echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2691
+if test "${ac_cv_exeext+set}" = set; then
2692
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2694
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2695
+ (eval $ac_link) 2>&5
2697
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698
+ (exit $ac_status); }; then
2699
+ # If both `conftest.exe' and `conftest' are `present' (well, observable),
2700
+ # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2701
+ # work properly (i.e., refer to `conftest.exe'), while it won't with `rm'.
2702
+ for ac_file in conftest.exe conftest conftest.* NO; do
2703
+ test -f "$ac_file" || continue
2705
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2706
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2711
+ if test "$ac_file" = NO; then
2712
+ { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: no output file found
2713
+See \`config.log' for more details." >&5
2714
+echo "$as_me: error: cannot compute suffix of executables: no output file found
2715
+See \`config.log' for more details." >&2;}
2716
+ { (exit 1); exit 1; }; }
2718
-echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
2719
-echo "configure:702: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
2720
-echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
2721
-cross_compiling=$ac_cv_prog_cc_cross
2723
-echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
2724
-echo "configure:707: checking whether we are using GNU C" >&5
2725
-if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
2726
- echo $ac_n "(cached) $ac_c" 1>&6
2728
- cat > conftest.c <<EOF
2733
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
2734
- ac_cv_prog_gcc=yes
2735
+ # Clean up; list also $ac_file, in case it matched conftest.*.
2736
+ rm -f $ac_outfiles $ac_file
2740
+ { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2741
+See \`config.log' for more details." >&5
2742
+echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2743
+See \`config.log' for more details." >&2;}
2744
+ { (exit 1); exit 1; }; }
2750
+{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2751
+echo "${ECHO_T}$ac_cv_exeext" >&6; }
2752
+EXEEXT=$ac_cv_exeext
2755
-echo "$ac_t""$ac_cv_prog_gcc" 1>&6
2757
-if test $ac_cv_prog_gcc = yes; then
2759
+ac_clean_files=$ac_clean_files_save
2761
+{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2762
+echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2763
+if test "${ac_cv_objext+set}" = set; then
2764
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2767
+ rm -f conftest.o conftest.obj
2768
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2769
+ (eval $ac_compile) 2>&5
2771
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772
+ (exit $ac_status); }; then
2773
+ for ac_file in conftest.o conftest.obj conftest.*; do
2774
+ test -f "$ac_file" || continue;
2776
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2777
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2782
+ echo "$as_me: failed program was:" >&5
2783
+sed 's/^/| /' conftest.$ac_ext >&5
2785
+{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2786
+See \`config.log' for more details." >&5
2787
+echo "$as_me: error: cannot compute suffix of object files: cannot compile
2788
+See \`config.log' for more details." >&2;}
2789
+ { (exit 1); exit 1; }; }
2792
-ac_test_CFLAGS="${CFLAGS+set}"
2793
-ac_save_CFLAGS="$CFLAGS"
2795
-echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
2796
-echo "configure:735: checking whether ${CC-cc} accepts -g" >&5
2797
-if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
2798
- echo $ac_n "(cached) $ac_c" 1>&6
2800
+{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2801
+echo "${ECHO_T}$ac_cv_objext" >&6; }
2802
+OBJEXT=$ac_cv_objext
2807
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2808
+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2809
+if test "${ac_cv_c_compiler_gnu+set}" = set; then
2810
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2812
+ cat >conftest.$ac_ext <<_ACEOF
2815
+cat confdefs.h >>conftest.$ac_ext
2816
+cat >>conftest.$ac_ext <<_ACEOF
2817
+/* end confdefs.h. */
2830
+rm -f conftest.$ac_objext
2831
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2832
+ (eval $ac_compile) 2>conftest.er1
2834
+ grep -v '^ *+' conftest.er1 >conftest.err
2835
+ rm -f conftest.er1
2836
+ cat conftest.err >&5
2837
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838
+ (exit $ac_status); } &&
2839
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2840
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2841
+ (eval $ac_try) 2>&5
2843
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844
+ (exit $ac_status); }; } &&
2845
+ { ac_try='test -s conftest.$ac_objext'
2846
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2847
+ (eval $ac_try) 2>&5
2849
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850
+ (exit $ac_status); }; }; then
2851
+ ac_compiler_gnu=yes
2853
+ echo "$as_me: failed program was:" >&5
2854
+sed 's/^/| /' conftest.$ac_ext >&5
2856
+ ac_compiler_gnu=no
2859
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2860
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
2863
+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2864
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2865
+GCC=`test $ac_compiler_gnu = yes && echo yes`
2866
+ac_test_CFLAGS=${CFLAGS+set}
2867
+ac_save_CFLAGS=$CFLAGS
2868
+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2869
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2870
+if test "${ac_cv_prog_cc_g+set}" = set; then
2871
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2873
+ ac_save_c_werror_flag=$ac_c_werror_flag
2874
+ ac_c_werror_flag=yes
2875
+ ac_cv_prog_cc_g=no
2877
+ cat >conftest.$ac_ext <<_ACEOF
2880
+cat confdefs.h >>conftest.$ac_ext
2881
+cat >>conftest.$ac_ext <<_ACEOF
2882
+/* end confdefs.h. */
2892
+rm -f conftest.$ac_objext
2893
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2894
+ (eval $ac_compile) 2>conftest.er1
2896
+ grep -v '^ *+' conftest.er1 >conftest.err
2897
+ rm -f conftest.er1
2898
+ cat conftest.err >&5
2899
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900
+ (exit $ac_status); } &&
2901
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2902
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2903
+ (eval $ac_try) 2>&5
2905
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906
+ (exit $ac_status); }; } &&
2907
+ { ac_try='test -s conftest.$ac_objext'
2908
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2909
+ (eval $ac_try) 2>&5
2911
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912
+ (exit $ac_status); }; }; then
2913
+ ac_cv_prog_cc_g=yes
2915
- echo 'void f(){}' > conftest.c
2916
-if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
2917
+ echo "$as_me: failed program was:" >&5
2918
+sed 's/^/| /' conftest.$ac_ext >&5
2921
+ cat >conftest.$ac_ext <<_ACEOF
2924
+cat confdefs.h >>conftest.$ac_ext
2925
+cat >>conftest.$ac_ext <<_ACEOF
2926
+/* end confdefs.h. */
2936
+rm -f conftest.$ac_objext
2937
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2938
+ (eval $ac_compile) 2>conftest.er1
2940
+ grep -v '^ *+' conftest.er1 >conftest.err
2941
+ rm -f conftest.er1
2942
+ cat conftest.err >&5
2943
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944
+ (exit $ac_status); } &&
2945
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2946
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2947
+ (eval $ac_try) 2>&5
2949
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950
+ (exit $ac_status); }; } &&
2951
+ { ac_try='test -s conftest.$ac_objext'
2952
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2953
+ (eval $ac_try) 2>&5
2955
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956
+ (exit $ac_status); }; }; then
2959
+ echo "$as_me: failed program was:" >&5
2960
+sed 's/^/| /' conftest.$ac_ext >&5
2962
+ ac_c_werror_flag=$ac_save_c_werror_flag
2964
+ cat >conftest.$ac_ext <<_ACEOF
2967
+cat confdefs.h >>conftest.$ac_ext
2968
+cat >>conftest.$ac_ext <<_ACEOF
2969
+/* end confdefs.h. */
2979
+rm -f conftest.$ac_objext
2980
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2981
+ (eval $ac_compile) 2>conftest.er1
2983
+ grep -v '^ *+' conftest.er1 >conftest.err
2984
+ rm -f conftest.er1
2985
+ cat conftest.err >&5
2986
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987
+ (exit $ac_status); } &&
2988
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2989
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2990
+ (eval $ac_try) 2>&5
2992
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993
+ (exit $ac_status); }; } &&
2994
+ { ac_try='test -s conftest.$ac_objext'
2995
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2996
+ (eval $ac_try) 2>&5
2998
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999
+ (exit $ac_status); }; }; then
3002
- ac_cv_prog_cc_g=no
3003
+ echo "$as_me: failed program was:" >&5
3004
+sed 's/^/| /' conftest.$ac_ext >&5
3010
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3013
-echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
3014
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3017
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3018
+ ac_c_werror_flag=$ac_save_c_werror_flag
3020
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3021
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3022
if test "$ac_test_CFLAGS" = set; then
3023
- CFLAGS="$ac_save_CFLAGS"
3024
+ CFLAGS=$ac_save_CFLAGS
3025
elif test $ac_cv_prog_cc_g = yes; then
3026
if test "$GCC" = yes; then
3028
@@ -761,136 +2622,472 @@
3033
-for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
3034
+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3035
+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3036
+if test "${ac_cv_prog_cc_c89+set}" = set; then
3037
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3039
+ ac_cv_prog_cc_c89=no
3041
+cat >conftest.$ac_ext <<_ACEOF
3044
+cat confdefs.h >>conftest.$ac_ext
3045
+cat >>conftest.$ac_ext <<_ACEOF
3046
+/* end confdefs.h. */
3047
+#include <stdarg.h>
3049
+#include <sys/types.h>
3050
+#include <sys/stat.h>
3051
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3052
+struct buf { int x; };
3053
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
3054
+static char *e (p, i)
3060
+static char *f (char * (*g) (char **, int), char **p, ...)
3065
+ s = g (p, va_arg (v,int));
3070
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3071
+ function prototypes and stuff, but not '\xHH' hex character constants.
3072
+ These don't provoke an error unfortunately, instead are silently treated
3073
+ as 'x'. The following induces an error, until -std is added to get
3074
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3075
+ array size at least. It's necessary to write '\x00'==0 to get something
3076
+ that's true only with -std. */
3077
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3079
+int test (int i, double x);
3080
+struct s1 {int (*f) (int a);};
3081
+struct s2 {int (*f) (double a);};
3082
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3088
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3093
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3094
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3096
-# Extract the first word of "$ac_prog", so it can be a program name with args.
3097
-set dummy $ac_prog; ac_word=$2
3098
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3099
-echo "configure:771: checking for $ac_word" >&5
3100
-if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
3101
- echo $ac_n "(cached) $ac_c" 1>&6
3102
+ CC="$ac_save_CC $ac_arg"
3103
+ rm -f conftest.$ac_objext
3104
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3105
+ (eval $ac_compile) 2>conftest.er1
3107
+ grep -v '^ *+' conftest.er1 >conftest.err
3108
+ rm -f conftest.er1
3109
+ cat conftest.err >&5
3110
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111
+ (exit $ac_status); } &&
3112
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3113
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3114
+ (eval $ac_try) 2>&5
3116
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117
+ (exit $ac_status); }; } &&
3118
+ { ac_try='test -s conftest.$ac_objext'
3119
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3120
+ (eval $ac_try) 2>&5
3122
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123
+ (exit $ac_status); }; }; then
3124
+ ac_cv_prog_cc_c89=$ac_arg
3126
+ echo "$as_me: failed program was:" >&5
3127
+sed 's/^/| /' conftest.$ac_ext >&5
3132
+rm -f conftest.err conftest.$ac_objext
3133
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
3135
+rm -f conftest.$ac_ext
3140
+case "x$ac_cv_prog_cc_c89" in
3142
+ { echo "$as_me:$LINENO: result: none needed" >&5
3143
+echo "${ECHO_T}none needed" >&6; } ;;
3145
+ { echo "$as_me:$LINENO: result: unsupported" >&5
3146
+echo "${ECHO_T}unsupported" >&6; } ;;
3148
+ CC="$CC $ac_cv_prog_cc_c89"
3149
+ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3150
+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3155
+ac_cpp='$CPP $CPPFLAGS'
3156
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3157
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3158
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3161
+ac_cpp='$CXXCPP $CPPFLAGS'
3162
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3163
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3164
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3165
+if test -z "$CXX"; then
3166
+ if test -n "$CCC"; then
3169
+ if test -n "$ac_tool_prefix"; then
3170
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3172
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3173
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3174
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3175
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3176
+if test "${ac_cv_prog_CXX+set}" = set; then
3177
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3179
if test -n "$CXX"; then
3180
ac_cv_prog_CXX="$CXX" # Let the user override the test.
3182
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3184
- for ac_dir in $ac_dummy; do
3185
- test -z "$ac_dir" && ac_dir=.
3186
- if test -f $ac_dir/$ac_word; then
3187
- ac_cv_prog_CXX="$ac_prog"
3191
- IFS="$ac_save_ifs"
3192
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3193
+for as_dir in $PATH
3196
+ test -z "$as_dir" && as_dir=.
3197
+ for ac_exec_ext in '' $ac_executable_extensions; do
3198
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3199
+ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3200
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3209
-CXX="$ac_cv_prog_CXX"
3210
+CXX=$ac_cv_prog_CXX
3211
if test -n "$CXX"; then
3212
- echo "$ac_t""$CXX" 1>&6
3213
+ { echo "$as_me:$LINENO: result: $CXX" >&5
3214
+echo "${ECHO_T}$CXX" >&6; }
3216
- echo "$ac_t""no" 1>&6
3217
+ { echo "$as_me:$LINENO: result: no" >&5
3218
+echo "${ECHO_T}no" >&6; }
3221
-test -n "$CXX" && break
3223
-test -n "$CXX" || CXX="gcc"
3225
+ test -n "$CXX" && break
3228
+if test -z "$CXX"; then
3230
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3232
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
3233
+set dummy $ac_prog; ac_word=$2
3234
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3235
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3236
+if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3237
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3239
+ if test -n "$ac_ct_CXX"; then
3240
+ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3242
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3243
+for as_dir in $PATH
3246
+ test -z "$as_dir" && as_dir=.
3247
+ for ac_exec_ext in '' $ac_executable_extensions; do
3248
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3249
+ ac_cv_prog_ac_ct_CXX="$ac_prog"
3250
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3257
-echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
3258
-echo "configure:803: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
3261
-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3262
-ac_cpp='$CXXCPP $CPPFLAGS'
3263
-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3264
-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3265
-cross_compiling=$ac_cv_prog_cxx_cross
3268
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3269
+if test -n "$ac_ct_CXX"; then
3270
+ { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3271
+echo "${ECHO_T}$ac_ct_CXX" >&6; }
3273
+ { echo "$as_me:$LINENO: result: no" >&5
3274
+echo "${ECHO_T}no" >&6; }
3277
-cat > conftest.$ac_ext << EOF
3279
-#line 814 "configure"
3280
-#include "confdefs.h"
3281
+ test -n "$ac_ct_CXX" && break
3284
-int main(){return(0);}
3286
-if { (eval echo configure:819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3287
- ac_cv_prog_cxx_works=yes
3288
- # If we can't run a trivial program, we are probably using a cross compiler.
3289
- if (./conftest; exit) 2>/dev/null; then
3290
- ac_cv_prog_cxx_cross=no
3291
+ if test "x$ac_ct_CXX" = x; then
3294
- ac_cv_prog_cxx_cross=yes
3295
+ case $cross_compiling:$ac_tool_warned in
3297
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3298
+whose name does not start with the host triplet. If you think this
3299
+configuration is useful to you, please write to autoconf@gnu.org." >&5
3300
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3301
+whose name does not start with the host triplet. If you think this
3302
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3303
+ac_tool_warned=yes ;;
3308
- echo "configure: failed program was:" >&5
3309
- cat conftest.$ac_ext >&5
3310
- ac_cv_prog_cxx_works=no
3314
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3315
-ac_cpp='$CPP $CPPFLAGS'
3316
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3317
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3318
-cross_compiling=$ac_cv_prog_cc_cross
3320
-echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
3321
-if test $ac_cv_prog_cxx_works = no; then
3322
- { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
3325
-echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
3326
-echo "configure:845: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
3327
-echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
3328
-cross_compiling=$ac_cv_prog_cxx_cross
3330
-echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
3331
-echo "configure:850: checking whether we are using GNU C++" >&5
3332
-if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
3333
- echo $ac_n "(cached) $ac_c" 1>&6
3335
- cat > conftest.C <<EOF
3338
+# Provide some information about the compiler.
3339
+echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3340
+ac_compiler=`set X $ac_compile; echo $2`
3341
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
3342
+ (eval $ac_compiler --version >&5) 2>&5
3344
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345
+ (exit $ac_status); }
3346
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
3347
+ (eval $ac_compiler -v >&5) 2>&5
3349
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350
+ (exit $ac_status); }
3351
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
3352
+ (eval $ac_compiler -V >&5) 2>&5
3354
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355
+ (exit $ac_status); }
3357
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3358
+echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3359
+if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3360
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3362
+ cat >conftest.$ac_ext <<_ACEOF
3365
+cat confdefs.h >>conftest.$ac_ext
3366
+cat >>conftest.$ac_ext <<_ACEOF
3367
+/* end confdefs.h. */
3376
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
3377
- ac_cv_prog_gxx=yes
3383
-echo "$ac_t""$ac_cv_prog_gxx" 1>&6
3385
-if test $ac_cv_prog_gxx = yes; then
3391
+rm -f conftest.$ac_objext
3392
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3393
+ (eval $ac_compile) 2>conftest.er1
3395
+ grep -v '^ *+' conftest.er1 >conftest.err
3396
+ rm -f conftest.er1
3397
+ cat conftest.err >&5
3398
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399
+ (exit $ac_status); } &&
3400
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3401
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3402
+ (eval $ac_try) 2>&5
3404
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405
+ (exit $ac_status); }; } &&
3406
+ { ac_try='test -s conftest.$ac_objext'
3407
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3408
+ (eval $ac_try) 2>&5
3410
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411
+ (exit $ac_status); }; }; then
3412
+ ac_compiler_gnu=yes
3414
+ echo "$as_me: failed program was:" >&5
3415
+sed 's/^/| /' conftest.$ac_ext >&5
3417
+ ac_compiler_gnu=no
3420
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3421
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3424
+{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3425
+echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3426
+GXX=`test $ac_compiler_gnu = yes && echo yes`
3427
+ac_test_CXXFLAGS=${CXXFLAGS+set}
3428
+ac_save_CXXFLAGS=$CXXFLAGS
3429
+{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3430
+echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3431
+if test "${ac_cv_prog_cxx_g+set}" = set; then
3432
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3434
+ ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3435
+ ac_cxx_werror_flag=yes
3436
+ ac_cv_prog_cxx_g=no
3438
+ cat >conftest.$ac_ext <<_ACEOF
3441
+cat confdefs.h >>conftest.$ac_ext
3442
+cat >>conftest.$ac_ext <<_ACEOF
3443
+/* end confdefs.h. */
3453
+rm -f conftest.$ac_objext
3454
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3455
+ (eval $ac_compile) 2>conftest.er1
3457
+ grep -v '^ *+' conftest.er1 >conftest.err
3458
+ rm -f conftest.er1
3459
+ cat conftest.err >&5
3460
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461
+ (exit $ac_status); } &&
3462
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3463
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3464
+ (eval $ac_try) 2>&5
3466
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467
+ (exit $ac_status); }; } &&
3468
+ { ac_try='test -s conftest.$ac_objext'
3469
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3470
+ (eval $ac_try) 2>&5
3472
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473
+ (exit $ac_status); }; }; then
3474
+ ac_cv_prog_cxx_g=yes
3478
+ echo "$as_me: failed program was:" >&5
3479
+sed 's/^/| /' conftest.$ac_ext >&5
3481
-ac_test_CXXFLAGS="${CXXFLAGS+set}"
3482
-ac_save_CXXFLAGS="$CXXFLAGS"
3484
-echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
3485
-echo "configure:878: checking whether ${CXX-g++} accepts -g" >&5
3486
-if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
3487
- echo $ac_n "(cached) $ac_c" 1>&6
3489
+ cat >conftest.$ac_ext <<_ACEOF
3492
+cat confdefs.h >>conftest.$ac_ext
3493
+cat >>conftest.$ac_ext <<_ACEOF
3494
+/* end confdefs.h. */
3504
+rm -f conftest.$ac_objext
3505
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3506
+ (eval $ac_compile) 2>conftest.er1
3508
+ grep -v '^ *+' conftest.er1 >conftest.err
3509
+ rm -f conftest.er1
3510
+ cat conftest.err >&5
3511
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512
+ (exit $ac_status); } &&
3513
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3514
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3515
+ (eval $ac_try) 2>&5
3517
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518
+ (exit $ac_status); }; } &&
3519
+ { ac_try='test -s conftest.$ac_objext'
3520
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3521
+ (eval $ac_try) 2>&5
3523
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524
+ (exit $ac_status); }; }; then
3527
- echo 'void f(){}' > conftest.cc
3528
-if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
3529
+ echo "$as_me: failed program was:" >&5
3530
+sed 's/^/| /' conftest.$ac_ext >&5
3532
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3534
+ cat >conftest.$ac_ext <<_ACEOF
3537
+cat confdefs.h >>conftest.$ac_ext
3538
+cat >>conftest.$ac_ext <<_ACEOF
3539
+/* end confdefs.h. */
3549
+rm -f conftest.$ac_objext
3550
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3551
+ (eval $ac_compile) 2>conftest.er1
3553
+ grep -v '^ *+' conftest.er1 >conftest.err
3554
+ rm -f conftest.er1
3555
+ cat conftest.err >&5
3556
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557
+ (exit $ac_status); } &&
3558
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3559
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3560
+ (eval $ac_try) 2>&5
3562
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563
+ (exit $ac_status); }; } &&
3564
+ { ac_try='test -s conftest.$ac_objext'
3565
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3566
+ (eval $ac_try) 2>&5
3568
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569
+ (exit $ac_status); }; }; then
3570
ac_cv_prog_cxx_g=yes
3572
- ac_cv_prog_cxx_g=no
3573
+ echo "$as_me: failed program was:" >&5
3574
+sed 's/^/| /' conftest.$ac_ext >&5
3579
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3583
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3586
-echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
3587
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3588
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3590
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3591
+echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3592
if test "$ac_test_CXXFLAGS" = set; then
3593
- CXXFLAGS="$ac_save_CXXFLAGS"
3594
+ CXXFLAGS=$ac_save_CXXFLAGS
3595
elif test $ac_cv_prog_cxx_g = yes; then
3596
if test "$GXX" = yes; then
3598
@@ -904,25 +3101,11 @@
3604
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
3605
- if test -f $ac_dir/install-sh; then
3606
- ac_aux_dir=$ac_dir
3607
- ac_install_sh="$ac_aux_dir/install-sh -c"
3609
- elif test -f $ac_dir/install.sh; then
3610
- ac_aux_dir=$ac_dir
3611
- ac_install_sh="$ac_aux_dir/install.sh -c"
3615
-if test -z "$ac_aux_dir"; then
3616
- { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
3618
-ac_config_guess=$ac_aux_dir/config.guess
3619
-ac_config_sub=$ac_aux_dir/config.sub
3620
-ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
3622
+ac_cpp='$CPP $CPPFLAGS'
3623
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3624
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3625
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3627
# Find a good install program. We prefer a C program (faster),
3628
# so one script is as good as another. But avoid the broken or
3629
@@ -931,184 +3114,552 @@
3630
# SunOS /usr/etc/install
3631
# IRIX /sbin/install
3633
+# AmigaOS /C/install, which installs bootblocks on floppy discs
3634
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3635
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3636
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3637
+# OS/2's system install, which has a completely different semantic
3638
# ./install, which can be erroneously created by make from ./install.sh.
3639
-echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
3640
-echo "configure:940: checking for a BSD compatible install" >&5
3641
+{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3642
+echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3643
if test -z "$INSTALL"; then
3644
-if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
3645
- echo $ac_n "(cached) $ac_c" 1>&6
3646
+if test "${ac_cv_path_install+set}" = set; then
3647
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3649
- IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
3650
- for ac_dir in $PATH; do
3651
- # Account for people who put trailing slashes in PATH elements.
3652
- case "$ac_dir/" in
3653
- /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
3655
- # OSF1 and SCO ODT 3.0 have their own names for install.
3656
- # Don't use installbsd from OSF since it installs stuff as root
3658
- for ac_prog in ginstall scoinst install; do
3659
- if test -f $ac_dir/$ac_prog; then
3660
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661
+for as_dir in $PATH
3664
+ test -z "$as_dir" && as_dir=.
3665
+ # Account for people who put trailing slashes in PATH elements.
3667
+ ./ | .// | /cC/* | \
3668
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3669
+ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3672
+ # OSF1 and SCO ODT 3.0 have their own names for install.
3673
+ # Don't use installbsd from OSF since it installs stuff as root
3675
+ for ac_prog in ginstall scoinst install; do
3676
+ for ac_exec_ext in '' $ac_executable_extensions; do
3677
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
3678
if test $ac_prog = install &&
3679
- grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
3680
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3681
# AIX install. It has an incompatible calling convention.
3683
+ elif test $ac_prog = install &&
3684
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3685
+ # program-specific install script used by HP pwplus--don't use.
3688
- ac_cv_path_install="$ac_dir/$ac_prog -c"
3690
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3698
- IFS="$ac_save_IFS"
3707
if test "${ac_cv_path_install+set}" = set; then
3708
- INSTALL="$ac_cv_path_install"
3709
+ INSTALL=$ac_cv_path_install
3711
- # As a last resort, use the slow shell script. We don't cache a
3712
- # path for INSTALL within a source directory, because that will
3713
+ # As a last resort, use the slow shell script. Don't cache a
3714
+ # value for INSTALL within a source directory, because that will
3715
# break other packages using the cache if that directory is
3716
- # removed, or if the path is relative.
3717
- INSTALL="$ac_install_sh"
3718
+ # removed, or if the value is a relative name.
3719
+ INSTALL=$ac_install_sh
3722
-echo "$ac_t""$INSTALL" 1>&6
3723
+{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3724
+echo "${ECHO_T}$INSTALL" >&6; }
3726
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3727
# It thinks the first close brace ends the variable substitution.
3728
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3730
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
3731
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3733
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3738
+ac_cpp='$CPP $CPPFLAGS'
3739
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3740
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3741
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3742
+{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3743
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3744
+# On Suns, sometimes $CPP names a directory.
3745
+if test -n "$CPP" && test -d "$CPP"; then
3748
+if test -z "$CPP"; then
3749
+ if test "${ac_cv_prog_CPP+set}" = set; then
3750
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3752
+ # Double quotes because CPP needs to be expanded
3753
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3755
+ ac_preproc_ok=false
3756
+for ac_c_preproc_warn_flag in '' yes
3758
+ # Use a header file that comes with gcc, so configuring glibc
3759
+ # with a fresh cross-compiler works.
3760
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3761
+ # <limits.h> exists even on freestanding compilers.
3762
+ # On the NeXT, cc -E runs the code through the compiler's parser,
3763
+ # not just through cpp. "Syntax error" is here to catch this case.
3764
+ cat >conftest.$ac_ext <<_ACEOF
3767
+cat confdefs.h >>conftest.$ac_ext
3768
+cat >>conftest.$ac_ext <<_ACEOF
3769
+/* end confdefs.h. */
3771
+# include <limits.h>
3773
+# include <assert.h>
3777
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3778
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3780
+ grep -v '^ *+' conftest.er1 >conftest.err
3781
+ rm -f conftest.er1
3782
+ cat conftest.err >&5
3783
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784
+ (exit $ac_status); } >/dev/null; then
3785
+ if test -s conftest.err; then
3786
+ ac_cpp_err=$ac_c_preproc_warn_flag
3787
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3794
+if test -z "$ac_cpp_err"; then
3797
+ echo "$as_me: failed program was:" >&5
3798
+sed 's/^/| /' conftest.$ac_ext >&5
3800
+ # Broken: fails on valid input.
3804
+rm -f conftest.err conftest.$ac_ext
3806
+ # OK, works on sane cases. Now check whether nonexistent headers
3807
+ # can be detected and how.
3808
+ cat >conftest.$ac_ext <<_ACEOF
3811
+cat confdefs.h >>conftest.$ac_ext
3812
+cat >>conftest.$ac_ext <<_ACEOF
3813
+/* end confdefs.h. */
3814
+#include <ac_nonexistent.h>
3816
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3817
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3819
+ grep -v '^ *+' conftest.er1 >conftest.err
3820
+ rm -f conftest.er1
3821
+ cat conftest.err >&5
3822
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823
+ (exit $ac_status); } >/dev/null; then
3824
+ if test -s conftest.err; then
3825
+ ac_cpp_err=$ac_c_preproc_warn_flag
3826
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3833
+if test -z "$ac_cpp_err"; then
3834
+ # Broken: success on invalid input.
3837
+ echo "$as_me: failed program was:" >&5
3838
+sed 's/^/| /' conftest.$ac_ext >&5
3840
+ # Passes both tests.
3845
+rm -f conftest.err conftest.$ac_ext
3848
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3849
+rm -f conftest.err conftest.$ac_ext
3850
+if $ac_preproc_ok; then
3855
+ ac_cv_prog_CPP=$CPP
3858
+ CPP=$ac_cv_prog_CPP
3860
+ ac_cv_prog_CPP=$CPP
3862
+{ echo "$as_me:$LINENO: result: $CPP" >&5
3863
+echo "${ECHO_T}$CPP" >&6; }
3864
+ac_preproc_ok=false
3865
+for ac_c_preproc_warn_flag in '' yes
3867
+ # Use a header file that comes with gcc, so configuring glibc
3868
+ # with a fresh cross-compiler works.
3869
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3870
+ # <limits.h> exists even on freestanding compilers.
3871
+ # On the NeXT, cc -E runs the code through the compiler's parser,
3872
+ # not just through cpp. "Syntax error" is here to catch this case.
3873
+ cat >conftest.$ac_ext <<_ACEOF
3876
+cat confdefs.h >>conftest.$ac_ext
3877
+cat >>conftest.$ac_ext <<_ACEOF
3878
+/* end confdefs.h. */
3880
+# include <limits.h>
3882
+# include <assert.h>
3886
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3887
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3889
+ grep -v '^ *+' conftest.er1 >conftest.err
3890
+ rm -f conftest.er1
3891
+ cat conftest.err >&5
3892
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893
+ (exit $ac_status); } >/dev/null; then
3894
+ if test -s conftest.err; then
3895
+ ac_cpp_err=$ac_c_preproc_warn_flag
3896
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3903
+if test -z "$ac_cpp_err"; then
3906
+ echo "$as_me: failed program was:" >&5
3907
+sed 's/^/| /' conftest.$ac_ext >&5
3909
+ # Broken: fails on valid input.
3913
+rm -f conftest.err conftest.$ac_ext
3915
+ # OK, works on sane cases. Now check whether nonexistent headers
3916
+ # can be detected and how.
3917
+ cat >conftest.$ac_ext <<_ACEOF
3920
+cat confdefs.h >>conftest.$ac_ext
3921
+cat >>conftest.$ac_ext <<_ACEOF
3922
+/* end confdefs.h. */
3923
+#include <ac_nonexistent.h>
3925
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3926
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3928
+ grep -v '^ *+' conftest.er1 >conftest.err
3929
+ rm -f conftest.er1
3930
+ cat conftest.err >&5
3931
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932
+ (exit $ac_status); } >/dev/null; then
3933
+ if test -s conftest.err; then
3934
+ ac_cpp_err=$ac_c_preproc_warn_flag
3935
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3942
+if test -z "$ac_cpp_err"; then
3943
+ # Broken: success on invalid input.
3946
+ echo "$as_me: failed program was:" >&5
3947
+sed 's/^/| /' conftest.$ac_ext >&5
3949
+ # Passes both tests.
3954
+rm -f conftest.err conftest.$ac_ext
3957
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3958
+rm -f conftest.err conftest.$ac_ext
3959
+if $ac_preproc_ok; then
3962
+ { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3963
+See \`config.log' for more details." >&5
3964
+echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3965
+See \`config.log' for more details." >&2;}
3966
+ { (exit 1); exit 1; }; }
3970
+ac_cpp='$CPP $CPPFLAGS'
3971
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3972
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3973
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3976
+{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3977
+echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3978
+if test "${ac_cv_path_GREP+set}" = set; then
3979
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3981
+ # Extract the first word of "grep ggrep" to use in msg output
3982
+if test -z "$GREP"; then
3983
+set dummy grep ggrep; ac_prog_name=$2
3984
+if test "${ac_cv_path_GREP+set}" = set; then
3985
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3987
+ ac_path_GREP_found=false
3988
+# Loop through the user's path and test for each of PROGNAME-LIST
3989
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3990
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3993
+ test -z "$as_dir" && as_dir=.
3994
+ for ac_prog in grep ggrep; do
3995
+ for ac_exec_ext in '' $ac_executable_extensions; do
3996
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3997
+ { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
3998
+ # Check for GNU ac_path_GREP and select it if it is found.
3999
+ # Check for GNU $ac_path_GREP
4000
+case `"$ac_path_GREP" --version 2>&1` in
4002
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4005
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4008
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
4009
+ mv "conftest.tmp" "conftest.in"
4010
+ cp "conftest.in" "conftest.nl"
4011
+ echo 'GREP' >> "conftest.nl"
4012
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4013
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4014
+ ac_count=`expr $ac_count + 1`
4015
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
4016
+ # Best one so far, save it but keep looking for a better one
4017
+ ac_cv_path_GREP="$ac_path_GREP"
4018
+ ac_path_GREP_max=$ac_count
4020
+ # 10*(2^10) chars as input seems more than enough
4021
+ test $ac_count -gt 10 && break
4023
+ rm -f conftest.*;;
4027
+ $ac_path_GREP_found && break 3
4037
+GREP="$ac_cv_path_GREP"
4038
+if test -z "$GREP"; then
4039
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4040
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4041
+ { (exit 1); exit 1; }; }
4045
+ ac_cv_path_GREP=$GREP
4050
+{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4051
+echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4052
+ GREP="$ac_cv_path_GREP"
4055
+{ echo "$as_me:$LINENO: checking for egrep" >&5
4056
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4057
+if test "${ac_cv_path_EGREP+set}" = set; then
4058
+ echo $ECHO_N "(cached) $ECHO_C" >&6
4060
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4061
+ then ac_cv_path_EGREP="$GREP -E"
4063
+ # Extract the first word of "egrep" to use in msg output
4064
+if test -z "$EGREP"; then
4065
+set dummy egrep; ac_prog_name=$2
4066
+if test "${ac_cv_path_EGREP+set}" = set; then
4067
+ echo $ECHO_N "(cached) $ECHO_C" >&6
4069
+ ac_path_EGREP_found=false
4070
+# Loop through the user's path and test for each of PROGNAME-LIST
4071
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4075
+ test -z "$as_dir" && as_dir=.
4076
+ for ac_prog in egrep; do
4077
+ for ac_exec_ext in '' $ac_executable_extensions; do
4078
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4079
+ { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
4080
+ # Check for GNU ac_path_EGREP and select it if it is found.
4081
+ # Check for GNU $ac_path_EGREP
4082
+case `"$ac_path_EGREP" --version 2>&1` in
4084
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4087
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4090
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
4091
+ mv "conftest.tmp" "conftest.in"
4092
+ cp "conftest.in" "conftest.nl"
4093
+ echo 'EGREP' >> "conftest.nl"
4094
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4095
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4096
+ ac_count=`expr $ac_count + 1`
4097
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4098
+ # Best one so far, save it but keep looking for a better one
4099
+ ac_cv_path_EGREP="$ac_path_EGREP"
4100
+ ac_path_EGREP_max=$ac_count
4102
+ # 10*(2^10) chars as input seems more than enough
4103
+ test $ac_count -gt 10 && break
4105
+ rm -f conftest.*;;
4109
+ $ac_path_EGREP_found && break 3
4113
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4118
-echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
4119
-echo "configure:994: checking how to run the C preprocessor" >&5
4120
-# On Suns, sometimes $CPP names a directory.
4121
-if test -n "$CPP" && test -d "$CPP"; then
4124
-if test -z "$CPP"; then
4125
-if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
4126
- echo $ac_n "(cached) $ac_c" 1>&6
4128
- # This must be in double quotes, not single quotes, because CPP may get
4129
- # substituted into the Makefile and "${CC-cc}" will confuse make.
4131
- # On the NeXT, cc -E runs the code through the compiler's parser,
4132
- # not just through cpp.
4133
- cat > conftest.$ac_ext <<EOF
4134
-#line 1009 "configure"
4135
-#include "confdefs.h"
4136
-#include <assert.h>
4139
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4140
-{ (eval echo configure:1015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4141
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4142
-if test -z "$ac_err"; then
4145
- echo "$ac_err" >&5
4146
- echo "configure: failed program was:" >&5
4147
- cat conftest.$ac_ext >&5
4149
- CPP="${CC-cc} -E -traditional-cpp"
4150
- cat > conftest.$ac_ext <<EOF
4151
-#line 1026 "configure"
4152
-#include "confdefs.h"
4153
-#include <assert.h>
4156
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4157
-{ (eval echo configure:1032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4158
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4159
-if test -z "$ac_err"; then
4162
- echo "$ac_err" >&5
4163
- echo "configure: failed program was:" >&5
4164
- cat conftest.$ac_ext >&5
4166
- CPP="${CC-cc} -nologo -E"
4167
- cat > conftest.$ac_ext <<EOF
4168
-#line 1043 "configure"
4169
-#include "confdefs.h"
4170
-#include <assert.h>
4173
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4174
-{ (eval echo configure:1049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4175
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4176
-if test -z "$ac_err"; then
4179
- echo "$ac_err" >&5
4180
- echo "configure: failed program was:" >&5
4181
- cat conftest.$ac_ext >&5
4190
- ac_cv_prog_CPP="$CPP"
4192
+EGREP="$ac_cv_path_EGREP"
4193
+if test -z "$EGREP"; then
4194
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4195
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4196
+ { (exit 1); exit 1; }; }
4198
- CPP="$ac_cv_prog_CPP"
4201
- ac_cv_prog_CPP="$CPP"
4202
+ ac_cv_path_EGREP=$EGREP
4208
-echo "$ac_t""$CPP" 1>&6
4209
+{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4210
+echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4211
+ EGREP="$ac_cv_path_EGREP"
4214
-echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
4215
-echo "configure:1074: checking for ANSI C header files" >&5
4216
-if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
4217
- echo $ac_n "(cached) $ac_c" 1>&6
4218
+{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4219
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4220
+if test "${ac_cv_header_stdc+set}" = set; then
4221
+ echo $ECHO_N "(cached) $ECHO_C" >&6
4223
- cat > conftest.$ac_ext <<EOF
4224
-#line 1079 "configure"
4225
-#include "confdefs.h"
4226
+ cat >conftest.$ac_ext <<_ACEOF
4229
+cat confdefs.h >>conftest.$ac_ext
4230
+cat >>conftest.$ac_ext <<_ACEOF
4231
+/* end confdefs.h. */
4237
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4238
-{ (eval echo configure:1087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4239
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4240
-if test -z "$ac_err"; then
4251
+rm -f conftest.$ac_objext
4252
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4253
+ (eval $ac_compile) 2>conftest.er1
4255
+ grep -v '^ *+' conftest.er1 >conftest.err
4256
+ rm -f conftest.er1
4257
+ cat conftest.err >&5
4258
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259
+ (exit $ac_status); } &&
4260
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4261
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4262
+ (eval $ac_try) 2>&5
4264
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265
+ (exit $ac_status); }; } &&
4266
+ { ac_try='test -s conftest.$ac_objext'
4267
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4268
+ (eval $ac_try) 2>&5
4270
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271
+ (exit $ac_status); }; }; then
4272
ac_cv_header_stdc=yes
4274
- echo "$ac_err" >&5
4275
- echo "configure: failed program was:" >&5
4276
- cat conftest.$ac_ext >&5
4278
- ac_cv_header_stdc=no
4279
+ echo "$as_me: failed program was:" >&5
4280
+sed 's/^/| /' conftest.$ac_ext >&5
4282
+ ac_cv_header_stdc=no
4286
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4288
if test $ac_cv_header_stdc = yes; then
4289
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4290
-cat > conftest.$ac_ext <<EOF
4291
-#line 1104 "configure"
4292
-#include "confdefs.h"
4293
+ cat >conftest.$ac_ext <<_ACEOF
4296
+cat confdefs.h >>conftest.$ac_ext
4297
+cat >>conftest.$ac_ext <<_ACEOF
4298
+/* end confdefs.h. */
4303
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4304
- egrep "memchr" >/dev/null 2>&1; then
4305
+ $EGREP "memchr" >/dev/null 2>&1; then
4309
ac_cv_header_stdc=no
4312
@@ -1117,16 +3668,19 @@
4314
if test $ac_cv_header_stdc = yes; then
4315
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4316
-cat > conftest.$ac_ext <<EOF
4317
-#line 1122 "configure"
4318
-#include "confdefs.h"
4319
+ cat >conftest.$ac_ext <<_ACEOF
4322
+cat confdefs.h >>conftest.$ac_ext
4323
+cat >>conftest.$ac_ext <<_ACEOF
4324
+/* end confdefs.h. */
4329
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4330
- egrep "free" >/dev/null 2>&1; then
4331
+ $EGREP "free" >/dev/null 2>&1; then
4335
ac_cv_header_stdc=no
4338
@@ -1135,257 +3689,613 @@
4340
if test $ac_cv_header_stdc = yes; then
4341
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4342
-if test "$cross_compiling" = yes; then
4343
+ if test "$cross_compiling" = yes; then
4346
- cat > conftest.$ac_ext <<EOF
4347
-#line 1143 "configure"
4348
-#include "confdefs.h"
4349
+ cat >conftest.$ac_ext <<_ACEOF
4352
+cat confdefs.h >>conftest.$ac_ext
4353
+cat >>conftest.$ac_ext <<_ACEOF
4354
+/* end confdefs.h. */
4356
-#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4357
-#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4358
+#include <stdlib.h>
4359
+#if ((' ' & 0x0FF) == 0x020)
4360
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4361
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4363
+# define ISLOWER(c) \
4364
+ (('a' <= (c) && (c) <= 'i') \
4365
+ || ('j' <= (c) && (c) <= 'r') \
4366
+ || ('s' <= (c) && (c) <= 'z'))
4367
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4370
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4371
-int main () { int i; for (i = 0; i < 256; i++)
4372
-if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
4376
-if { (eval echo configure:1154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4382
+ for (i = 0; i < 256; i++)
4383
+ if (XOR (islower (i), ISLOWER (i))
4384
+ || toupper (i) != TOUPPER (i))
4389
+rm -f conftest$ac_exeext
4390
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4391
+ (eval $ac_link) 2>&5
4393
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4395
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4396
+ (eval $ac_try) 2>&5
4398
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399
+ (exit $ac_status); }; }; then
4402
- echo "configure: failed program was:" >&5
4403
- cat conftest.$ac_ext >&5
4405
- ac_cv_header_stdc=no
4406
+ echo "$as_me: program exited with status $ac_status" >&5
4407
+echo "$as_me: failed program was:" >&5
4408
+sed 's/^/| /' conftest.$ac_ext >&5
4410
+( exit $ac_status )
4411
+ac_cv_header_stdc=no
4414
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4421
-echo "$ac_t""$ac_cv_header_stdc" 1>&6
4422
+{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4423
+echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4424
if test $ac_cv_header_stdc = yes; then
4425
- cat >> confdefs.h <<\EOF
4427
+cat >>confdefs.h <<\_ACEOF
4428
#define STDC_HEADERS 1
4435
+ac_config_headers="$ac_config_headers config.h"
4437
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4440
-for ac_hdr in sys/time.h unistd.h limits.h
4448
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4449
+ inttypes.h stdint.h unistd.h
4451
-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4452
-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4453
-echo "configure:1183: checking for $ac_hdr" >&5
4454
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4455
- echo $ac_n "(cached) $ac_c" 1>&6
4457
- cat > conftest.$ac_ext <<EOF
4458
-#line 1188 "configure"
4459
-#include "confdefs.h"
4462
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4463
-{ (eval echo configure:1193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4464
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4465
-if test -z "$ac_err"; then
4467
- eval "ac_cv_header_$ac_safe=yes"
4469
- echo "$ac_err" >&5
4470
- echo "configure: failed program was:" >&5
4471
- cat conftest.$ac_ext >&5
4473
- eval "ac_cv_header_$ac_safe=no"
4474
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4475
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4476
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4477
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4478
+ echo $ECHO_N "(cached) $ECHO_C" >&6
4480
+ cat >conftest.$ac_ext <<_ACEOF
4483
+cat confdefs.h >>conftest.$ac_ext
4484
+cat >>conftest.$ac_ext <<_ACEOF
4485
+/* end confdefs.h. */
4486
+$ac_includes_default
4488
+#include <$ac_header>
4490
+rm -f conftest.$ac_objext
4491
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4492
+ (eval $ac_compile) 2>conftest.er1
4494
+ grep -v '^ *+' conftest.er1 >conftest.err
4495
+ rm -f conftest.er1
4496
+ cat conftest.err >&5
4497
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498
+ (exit $ac_status); } &&
4499
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4500
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4501
+ (eval $ac_try) 2>&5
4503
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504
+ (exit $ac_status); }; } &&
4505
+ { ac_try='test -s conftest.$ac_objext'
4506
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4507
+ (eval $ac_try) 2>&5
4509
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510
+ (exit $ac_status); }; }; then
4511
+ eval "$as_ac_Header=yes"
4513
+ echo "$as_me: failed program was:" >&5
4514
+sed 's/^/| /' conftest.$ac_ext >&5
4516
+ eval "$as_ac_Header=no"
4519
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4521
+ac_res=`eval echo '${'$as_ac_Header'}'`
4522
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
4523
+echo "${ECHO_T}$ac_res" >&6; }
4524
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
4525
+ cat >>confdefs.h <<_ACEOF
4526
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4538
+for ac_header in sys/time.h unistd.h limits.h
4540
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4541
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4542
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
4543
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4544
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4545
+ echo $ECHO_N "(cached) $ECHO_C" >&6
4547
+ac_res=`eval echo '${'$as_ac_Header'}'`
4548
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
4549
+echo "${ECHO_T}$ac_res" >&6; }
4551
+ # Is the header compilable?
4552
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4553
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4554
+cat >conftest.$ac_ext <<_ACEOF
4557
+cat confdefs.h >>conftest.$ac_ext
4558
+cat >>conftest.$ac_ext <<_ACEOF
4559
+/* end confdefs.h. */
4560
+$ac_includes_default
4561
+#include <$ac_header>
4563
+rm -f conftest.$ac_objext
4564
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4565
+ (eval $ac_compile) 2>conftest.er1
4567
+ grep -v '^ *+' conftest.er1 >conftest.err
4568
+ rm -f conftest.er1
4569
+ cat conftest.err >&5
4570
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571
+ (exit $ac_status); } &&
4572
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4573
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4574
+ (eval $ac_try) 2>&5
4576
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577
+ (exit $ac_status); }; } &&
4578
+ { ac_try='test -s conftest.$ac_objext'
4579
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4580
+ (eval $ac_try) 2>&5
4582
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583
+ (exit $ac_status); }; }; then
4584
+ ac_header_compiler=yes
4586
+ echo "$as_me: failed program was:" >&5
4587
+sed 's/^/| /' conftest.$ac_ext >&5
4589
+ ac_header_compiler=no
4592
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4593
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4594
+echo "${ECHO_T}$ac_header_compiler" >&6; }
4596
+# Is the header present?
4597
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4598
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4599
+cat >conftest.$ac_ext <<_ACEOF
4602
+cat confdefs.h >>conftest.$ac_ext
4603
+cat >>conftest.$ac_ext <<_ACEOF
4604
+/* end confdefs.h. */
4605
+#include <$ac_header>
4607
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4608
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4610
+ grep -v '^ *+' conftest.er1 >conftest.err
4611
+ rm -f conftest.er1
4612
+ cat conftest.err >&5
4613
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614
+ (exit $ac_status); } >/dev/null; then
4615
+ if test -s conftest.err; then
4616
+ ac_cpp_err=$ac_c_preproc_warn_flag
4617
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4624
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4625
- echo "$ac_t""yes" 1>&6
4626
- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4627
- cat >> confdefs.h <<EOF
4628
-#define $ac_tr_hdr 1
4631
+if test -z "$ac_cpp_err"; then
4632
+ ac_header_preproc=yes
4634
- echo "$ac_t""no" 1>&6
4635
+ echo "$as_me: failed program was:" >&5
4636
+sed 's/^/| /' conftest.$ac_ext >&5
4638
+ ac_header_preproc=no
4641
+rm -f conftest.err conftest.$ac_ext
4642
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4643
+echo "${ECHO_T}$ac_header_preproc" >&6; }
4645
+# So? What about this header?
4646
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4648
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4649
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4650
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4651
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4652
+ ac_header_preproc=yes
4655
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4656
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4657
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4658
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4659
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4660
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4661
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4662
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4663
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4664
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4665
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4666
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4670
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4671
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4672
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4673
+ echo $ECHO_N "(cached) $ECHO_C" >&6
4675
+ eval "$as_ac_Header=\$ac_header_preproc"
4677
+ac_res=`eval echo '${'$as_ac_Header'}'`
4678
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
4679
+echo "${ECHO_T}$ac_res" >&6; }
4682
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
4683
+ cat >>confdefs.h <<_ACEOF
4684
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4692
-echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
4693
-echo "configure:1221: checking whether time.h and sys/time.h may both be included" >&5
4694
-if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
4695
- echo $ac_n "(cached) $ac_c" 1>&6
4697
- cat > conftest.$ac_ext <<EOF
4698
-#line 1226 "configure"
4699
-#include "confdefs.h"
4700
+{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4701
+echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
4702
+if test "${ac_cv_header_time+set}" = set; then
4703
+ echo $ECHO_N "(cached) $ECHO_C" >&6
4705
+ cat >conftest.$ac_ext <<_ACEOF
4708
+cat confdefs.h >>conftest.$ac_ext
4709
+cat >>conftest.$ac_ext <<_ACEOF
4710
+/* end confdefs.h. */
4711
#include <sys/types.h>
4712
#include <sys/time.h>
4718
-if { (eval echo configure:1235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4724
+if ((struct tm *) 0)
4730
+rm -f conftest.$ac_objext
4731
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4732
+ (eval $ac_compile) 2>conftest.er1
4734
+ grep -v '^ *+' conftest.er1 >conftest.err
4735
+ rm -f conftest.er1
4736
+ cat conftest.err >&5
4737
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738
+ (exit $ac_status); } &&
4739
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4740
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4741
+ (eval $ac_try) 2>&5
4743
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744
+ (exit $ac_status); }; } &&
4745
+ { ac_try='test -s conftest.$ac_objext'
4746
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4747
+ (eval $ac_try) 2>&5
4749
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750
+ (exit $ac_status); }; }; then
4751
ac_cv_header_time=yes
4753
- echo "configure: failed program was:" >&5
4754
- cat conftest.$ac_ext >&5
4756
- ac_cv_header_time=no
4759
+ echo "$as_me: failed program was:" >&5
4760
+sed 's/^/| /' conftest.$ac_ext >&5
4762
+ ac_cv_header_time=no
4765
-echo "$ac_t""$ac_cv_header_time" 1>&6
4766
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4768
+{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4769
+echo "${ECHO_T}$ac_cv_header_time" >&6; }
4770
if test $ac_cv_header_time = yes; then
4771
- cat >> confdefs.h <<\EOF
4773
+cat >>confdefs.h <<\_ACEOF
4774
#define TIME_WITH_SYS_TIME 1
4780
-echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
4781
-echo "configure:1256: checking whether struct tm is in sys/time.h or time.h" >&5
4782
-if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
4783
- echo $ac_n "(cached) $ac_c" 1>&6
4784
+{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4785
+echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
4786
+if test "${ac_cv_struct_tm+set}" = set; then
4787
+ echo $ECHO_N "(cached) $ECHO_C" >&6
4789
- cat > conftest.$ac_ext <<EOF
4790
-#line 1261 "configure"
4791
-#include "confdefs.h"
4792
+ cat >conftest.$ac_ext <<_ACEOF
4795
+cat confdefs.h >>conftest.$ac_ext
4796
+cat >>conftest.$ac_ext <<_ACEOF
4797
+/* end confdefs.h. */
4798
#include <sys/types.h>
4805
struct tm *tp; tp->tm_sec;
4808
-if { (eval echo configure:1269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4814
+rm -f conftest.$ac_objext
4815
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4816
+ (eval $ac_compile) 2>conftest.er1
4818
+ grep -v '^ *+' conftest.er1 >conftest.err
4819
+ rm -f conftest.er1
4820
+ cat conftest.err >&5
4821
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822
+ (exit $ac_status); } &&
4823
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4824
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4825
+ (eval $ac_try) 2>&5
4827
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828
+ (exit $ac_status); }; } &&
4829
+ { ac_try='test -s conftest.$ac_objext'
4830
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4831
+ (eval $ac_try) 2>&5
4833
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834
+ (exit $ac_status); }; }; then
4835
ac_cv_struct_tm=time.h
4837
- echo "configure: failed program was:" >&5
4838
- cat conftest.$ac_ext >&5
4840
- ac_cv_struct_tm=sys/time.h
4843
+ echo "$as_me: failed program was:" >&5
4844
+sed 's/^/| /' conftest.$ac_ext >&5
4846
+ ac_cv_struct_tm=sys/time.h
4849
-echo "$ac_t""$ac_cv_struct_tm" 1>&6
4850
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4852
+{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4853
+echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
4854
if test $ac_cv_struct_tm = sys/time.h; then
4855
- cat >> confdefs.h <<\EOF
4857
+cat >>confdefs.h <<\_ACEOF
4858
#define TM_IN_SYS_TIME 1
4864
-echo $ac_n "checking for size_t""... $ac_c" 1>&6
4865
-echo "configure:1290: checking for size_t" >&5
4866
-if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
4867
- echo $ac_n "(cached) $ac_c" 1>&6
4869
- cat > conftest.$ac_ext <<EOF
4870
-#line 1295 "configure"
4871
-#include "confdefs.h"
4872
-#include <sys/types.h>
4874
-#include <stdlib.h>
4875
-#include <stddef.h>
4878
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4879
- egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
4881
+{ echo "$as_me:$LINENO: checking for size_t" >&5
4882
+echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
4883
+if test "${ac_cv_type_size_t+set}" = set; then
4884
+ echo $ECHO_N "(cached) $ECHO_C" >&6
4886
+ cat >conftest.$ac_ext <<_ACEOF
4889
+cat confdefs.h >>conftest.$ac_ext
4890
+cat >>conftest.$ac_ext <<_ACEOF
4891
+/* end confdefs.h. */
4892
+$ac_includes_default
4893
+typedef size_t ac__type_new_;
4897
+if ((ac__type_new_ *) 0)
4899
+if (sizeof (ac__type_new_))
4905
+rm -f conftest.$ac_objext
4906
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4907
+ (eval $ac_compile) 2>conftest.er1
4909
+ grep -v '^ *+' conftest.er1 >conftest.err
4910
+ rm -f conftest.er1
4911
+ cat conftest.err >&5
4912
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913
+ (exit $ac_status); } &&
4914
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4915
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4916
+ (eval $ac_try) 2>&5
4918
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919
+ (exit $ac_status); }; } &&
4920
+ { ac_try='test -s conftest.$ac_objext'
4921
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4922
+ (eval $ac_try) 2>&5
4924
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925
+ (exit $ac_status); }; }; then
4926
ac_cv_type_size_t=yes
4929
- ac_cv_type_size_t=no
4930
+ echo "$as_me: failed program was:" >&5
4931
+sed 's/^/| /' conftest.$ac_ext >&5
4933
+ ac_cv_type_size_t=no
4937
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4939
-echo "$ac_t""$ac_cv_type_size_t" 1>&6
4940
-if test $ac_cv_type_size_t = no; then
4941
- cat >> confdefs.h <<\EOF
4942
-#define size_t unsigned
4944
+{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4945
+echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
4946
+if test $ac_cv_type_size_t = yes; then
4950
+cat >>confdefs.h <<_ACEOF
4951
+#define size_t unsigned int
4968
for ac_func in gettimeofday mktime usleep select strdup strstr strcasecmp strncasecmp drand48 random rand
4970
-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4971
-echo "configure:1326: checking for $ac_func" >&5
4972
-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4973
- echo $ac_n "(cached) $ac_c" 1>&6
4975
- cat > conftest.$ac_ext <<EOF
4976
-#line 1331 "configure"
4977
-#include "confdefs.h"
4978
+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4979
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
4980
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4981
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4982
+ echo $ECHO_N "(cached) $ECHO_C" >&6
4984
+ cat >conftest.$ac_ext <<_ACEOF
4987
+cat confdefs.h >>conftest.$ac_ext
4988
+cat >>conftest.$ac_ext <<_ACEOF
4989
+/* end confdefs.h. */
4990
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4991
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
4992
+#define $ac_func innocuous_$ac_func
4994
/* System header to define __stub macros and hopefully few prototypes,
4995
- which can conflict with char $ac_func(); below. */
4996
-#include <assert.h>
4997
-/* Override any gcc2 internal prototype to avoid an error. */
4998
-/* We use char because int might match the return type of a gcc2
4999
- builtin and then its argument prototype would still apply. */
5001
+ which can conflict with char $ac_func (); below.
5002
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5003
+ <limits.h> exists even on freestanding compilers. */
5007
+# include <limits.h>
5009
+# include <assert.h>
5014
+/* Override any GCC internal prototype to avoid an error.
5015
+ Use char because int might match the return type of a GCC
5016
+ builtin and then its argument prototype would still apply. */
5021
/* The GNU C library defines this for functions which it implements
5022
to always fail with ENOSYS. Some functions are actually named
5023
something starting with __ and the normal name is an alias. */
5024
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5025
+#if defined __stub_$ac_func || defined __stub___$ac_func
5033
-if { (eval echo configure:1354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5035
- eval "ac_cv_func_$ac_func=yes"
5037
- echo "configure: failed program was:" >&5
5038
- cat conftest.$ac_ext >&5
5040
- eval "ac_cv_func_$ac_func=no"
5047
+return $ac_func ();
5052
+rm -f conftest.$ac_objext conftest$ac_exeext
5053
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5054
+ (eval $ac_link) 2>conftest.er1
5056
+ grep -v '^ *+' conftest.er1 >conftest.err
5057
+ rm -f conftest.er1
5058
+ cat conftest.err >&5
5059
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060
+ (exit $ac_status); } &&
5061
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5062
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5063
+ (eval $ac_try) 2>&5
5065
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066
+ (exit $ac_status); }; } &&
5067
+ { ac_try='test -s conftest$ac_exeext'
5068
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5069
+ (eval $ac_try) 2>&5
5071
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072
+ (exit $ac_status); }; }; then
5073
+ eval "$as_ac_var=yes"
5075
+ echo "$as_me: failed program was:" >&5
5076
+sed 's/^/| /' conftest.$ac_ext >&5
5078
+ eval "$as_ac_var=no"
5081
+rm -f conftest.err conftest.$ac_objext \
5082
+ conftest$ac_exeext conftest.$ac_ext
5084
+ac_res=`eval echo '${'$as_ac_var'}'`
5085
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
5086
+echo "${ECHO_T}$ac_res" >&6; }
5087
+if test `eval echo '${'$as_ac_var'}'` = yes; then
5088
+ cat >>confdefs.h <<_ACEOF
5089
+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5092
-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5093
- echo "$ac_t""yes" 1>&6
5094
- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5095
- cat >> confdefs.h <<EOF
5096
-#define $ac_tr_func 1
5100
- echo "$ac_t""no" 1>&6
5105
-# If we find X, set shell vars x_includes and x_libraries to the
5106
-# paths, otherwise set no_x=yes.
5107
-# Uses ac_ vars as temps to allow command line to override cache and checks.
5108
-# --without-x overrides everything else, but does not touch the cache.
5109
-echo $ac_n "checking for X""... $ac_c" 1>&6
5110
-echo "configure:1384: checking for X" >&5
5111
+{ echo "$as_me:$LINENO: checking for X" >&5
5112
+echo $ECHO_N "checking for X... $ECHO_C" >&6; }
5114
+ac_path_x_has_been_run=yes
5116
-# Check whether --with-x or --without-x was given.
5117
+# Check whether --with-x was given.
5118
if test "${with_x+set}" = set; then
5124
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5125
@@ -1397,207 +4307,453 @@
5126
# Both variables are already set.
5129
-if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
5130
- echo $ac_n "(cached) $ac_c" 1>&6
5131
+ if test "${ac_cv_have_x+set}" = set; then
5132
+ echo $ECHO_N "(cached) $ECHO_C" >&6
5134
# One or both of the vars are not set, and there is no cached value.
5135
-ac_x_includes=NO ac_x_libraries=NO
5137
-if mkdir conftestdir; then
5139
+ac_x_includes=no ac_x_libraries=no
5140
+rm -f -r conftest.dir
5141
+if mkdir conftest.dir; then
5143
# Make sure to not put "make" in the Imakefile rules, since we grep it out.
5144
- cat > Imakefile <<'EOF'
5145
+ cat >Imakefile <<'_ACEOF'
5147
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
5149
- if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
5151
+ if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
5152
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5153
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
5154
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5155
for ac_extension in a so sl; do
5156
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
5157
- test -f $ac_im_libdir/libX11.$ac_extension; then
5158
- ac_im_usrlibdir=$ac_im_libdir; break
5159
+ test -f $ac_im_libdir/libX11.$ac_extension; then
5160
+ ac_im_usrlibdir=$ac_im_libdir; break
5163
# Screen out bogus values from the imake configuration. They are
5164
# bogus both because they are the default anyway, and because
5165
# using them would break gcc on systems where it needs fixed includes.
5166
- case "$ac_im_incroot" in
5168
- *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
5169
+ case $ac_im_incroot in
5170
+ /usr/include) ac_x_includes= ;;
5171
+ *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
5173
- case "$ac_im_usrlibdir" in
5174
+ case $ac_im_usrlibdir in
5176
- *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
5177
+ *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
5181
- rm -fr conftestdir
5182
+ rm -f -r conftest.dir
5185
-if test "$ac_x_includes" = NO; then
5186
- # Guess where to find include files, by looking for this one X11 .h file.
5187
- test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
5188
+# Standard set of common directories for X headers.
5189
+# Check X11 before X11Rn because it is often a symlink to the current release.
5201
+/usr/local/X11/include
5202
+/usr/local/X11R6/include
5203
+/usr/local/X11R5/include
5204
+/usr/local/X11R4/include
5206
+/usr/local/include/X11
5207
+/usr/local/include/X11R6
5208
+/usr/local/include/X11R5
5209
+/usr/local/include/X11R4
5213
+/usr/XFree86/include/X11
5217
+/usr/unsupported/include
5218
+/usr/athena/include
5219
+/usr/local/x11r5/include
5220
+/usr/lpp/Xamples/include
5222
+/usr/openwin/include
5223
+/usr/openwin/share/include'
5225
+if test "$ac_x_includes" = no; then
5226
+ # Guess where to find include files, by looking for Xlib.h.
5227
# First, try using that file with no special directory specified.
5228
-cat > conftest.$ac_ext <<EOF
5229
-#line 1446 "configure"
5230
-#include "confdefs.h"
5231
-#include <$x_direct_test_include>
5233
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5234
-{ (eval echo configure:1451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5235
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5236
-if test -z "$ac_err"; then
5238
+ cat >conftest.$ac_ext <<_ACEOF
5241
+cat confdefs.h >>conftest.$ac_ext
5242
+cat >>conftest.$ac_ext <<_ACEOF
5243
+/* end confdefs.h. */
5244
+#include <X11/Xlib.h.h>
5246
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5247
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5249
+ grep -v '^ *+' conftest.er1 >conftest.err
5250
+ rm -f conftest.er1
5251
+ cat conftest.err >&5
5252
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253
+ (exit $ac_status); } >/dev/null; then
5254
+ if test -s conftest.err; then
5255
+ ac_cpp_err=$ac_c_preproc_warn_flag
5256
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5263
+if test -z "$ac_cpp_err"; then
5264
# We can compile using X headers with no special include directory.
5267
- echo "$ac_err" >&5
5268
- echo "configure: failed program was:" >&5
5269
- cat conftest.$ac_ext >&5
5271
- # Look for the header file in a standard set of common directories.
5272
-# Check X11 before X11Rn because it is often a symlink to the current release.
5274
- /usr/X11/include \
5275
- /usr/X11R6/include \
5276
- /usr/X11R5/include \
5277
- /usr/X11R4/include \
5279
- /usr/include/X11 \
5280
- /usr/include/X11R6 \
5281
- /usr/include/X11R5 \
5282
- /usr/include/X11R4 \
5284
- /usr/local/X11/include \
5285
- /usr/local/X11R6/include \
5286
- /usr/local/X11R5/include \
5287
- /usr/local/X11R4/include \
5289
- /usr/local/include/X11 \
5290
- /usr/local/include/X11R6 \
5291
- /usr/local/include/X11R5 \
5292
- /usr/local/include/X11R4 \
5294
- /usr/X386/include \
5295
- /usr/x386/include \
5296
- /usr/XFree86/include/X11 \
5299
- /usr/local/include \
5300
- /usr/unsupported/include \
5301
- /usr/athena/include \
5302
- /usr/local/x11r5/include \
5303
- /usr/lpp/Xamples/include \
5305
- /usr/openwin/include \
5306
- /usr/openwin/share/include \
5309
- if test -r "$ac_dir/$x_direct_test_include"; then
5310
- ac_x_includes=$ac_dir
5312
+ echo "$as_me: failed program was:" >&5
5313
+sed 's/^/| /' conftest.$ac_ext >&5
5315
+ for ac_dir in $ac_x_header_dirs; do
5316
+ if test -r "$ac_dir/X11/Xlib.h"; then
5317
+ ac_x_includes=$ac_dir
5323
+rm -f conftest.err conftest.$ac_ext
5324
+fi # $ac_x_includes = no
5326
+if test "$ac_x_libraries" = no; then
5327
+ # Check for the libraries.
5328
+ # See if we find them without any special options.
5329
+ # Don't add to $LIBS permanently.
5330
+ ac_save_LIBS=$LIBS
5332
+ cat >conftest.$ac_ext <<_ACEOF
5335
+cat confdefs.h >>conftest.$ac_ext
5336
+cat >>conftest.$ac_ext <<_ACEOF
5337
+/* end confdefs.h. */
5338
+#include <X11/Xlib.h>
5347
+rm -f conftest.$ac_objext conftest$ac_exeext
5348
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5349
+ (eval $ac_link) 2>conftest.er1
5351
+ grep -v '^ *+' conftest.er1 >conftest.err
5352
+ rm -f conftest.er1
5353
+ cat conftest.err >&5
5354
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355
+ (exit $ac_status); } &&
5356
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5357
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5358
+ (eval $ac_try) 2>&5
5360
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5361
+ (exit $ac_status); }; } &&
5362
+ { ac_try='test -s conftest$ac_exeext'
5363
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5364
+ (eval $ac_try) 2>&5
5366
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367
+ (exit $ac_status); }; }; then
5368
+ LIBS=$ac_save_LIBS
5369
+# We can link X programs with no special library path.
5372
+ echo "$as_me: failed program was:" >&5
5373
+sed 's/^/| /' conftest.$ac_ext >&5
5375
+ LIBS=$ac_save_LIBS
5376
+for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5378
+ # Don't even attempt the hair of trying to link an X program!
5379
+ for ac_extension in a so sl; do
5380
+ if test -r $ac_dir/libX11.$ac_extension; then
5381
+ ac_x_libraries=$ac_dir
5388
-fi # $ac_x_includes = NO
5390
-if test "$ac_x_libraries" = NO; then
5391
- # Check for the libraries.
5392
+rm -f conftest.err conftest.$ac_objext \
5393
+ conftest$ac_exeext conftest.$ac_ext
5394
+fi # $ac_x_libraries = no
5396
+if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
5397
+ # Didn't find X anywhere. Cache the known absence of X.
5398
+ ac_cv_have_x="have_x=no"
5400
+ # Record where we found X for the cache.
5401
+ ac_cv_have_x="have_x=yes \
5402
+ ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
5407
+ eval "$ac_cv_have_x"
5410
+if test "$have_x" != yes; then
5411
+ { echo "$as_me:$LINENO: result: $have_x" >&5
5412
+echo "${ECHO_T}$have_x" >&6; }
5415
+ # If each of the values was on the command line, it overrides each guess.
5416
+ test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5417
+ test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5418
+ # Update the cache value to reflect the command line values.
5419
+ ac_cv_have_x="have_x=yes \
5420
+ ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5421
+ # It might be that x_includes is empty (headers are found in the
5422
+ # standard search path. Then output the corresponding message
5423
+ ac_out_x_includes=$x_includes
5424
+ test "x$x_includes" = x && ac_out_x_includes="in standard search path"
5425
+ { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
5426
+echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6; }
5430
+if test "x$ac_path_x_has_been_run" != xyes; then
5431
+ { echo "$as_me:$LINENO: checking for X" >&5
5432
+echo $ECHO_N "checking for X... $ECHO_C" >&6; }
5434
+ac_path_x_has_been_run=yes
5436
+# Check whether --with-x was given.
5437
+if test "${with_x+set}" = set; then
5441
+# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5442
+if test "x$with_x" = xno; then
5443
+ # The user explicitly disabled X.
5446
+ if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
5447
+ # Both variables are already set.
5450
+ if test "${ac_cv_have_x+set}" = set; then
5451
+ echo $ECHO_N "(cached) $ECHO_C" >&6
5453
+ # One or both of the vars are not set, and there is no cached value.
5454
+ac_x_includes=no ac_x_libraries=no
5455
+rm -f -r conftest.dir
5456
+if mkdir conftest.dir; then
5458
+ # Make sure to not put "make" in the Imakefile rules, since we grep it out.
5459
+ cat >Imakefile <<'_ACEOF'
5461
+ @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
5463
+ if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
5464
+ # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5465
+ eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
5466
+ # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5467
+ for ac_extension in a so sl; do
5468
+ if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
5469
+ test -f $ac_im_libdir/libX11.$ac_extension; then
5470
+ ac_im_usrlibdir=$ac_im_libdir; break
5473
+ # Screen out bogus values from the imake configuration. They are
5474
+ # bogus both because they are the default anyway, and because
5475
+ # using them would break gcc on systems where it needs fixed includes.
5476
+ case $ac_im_incroot in
5477
+ /usr/include) ac_x_includes= ;;
5478
+ *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
5480
+ case $ac_im_usrlibdir in
5481
+ /usr/lib | /lib) ;;
5482
+ *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
5486
+ rm -f -r conftest.dir
5489
+# Standard set of common directories for X headers.
5490
+# Check X11 before X11Rn because it is often a symlink to the current release.
5502
+/usr/local/X11/include
5503
+/usr/local/X11R6/include
5504
+/usr/local/X11R5/include
5505
+/usr/local/X11R4/include
5507
+/usr/local/include/X11
5508
+/usr/local/include/X11R6
5509
+/usr/local/include/X11R5
5510
+/usr/local/include/X11R4
5514
+/usr/XFree86/include/X11
5518
+/usr/unsupported/include
5519
+/usr/athena/include
5520
+/usr/local/x11r5/include
5521
+/usr/lpp/Xamples/include
5523
+/usr/openwin/include
5524
+/usr/openwin/share/include'
5526
+if test "$ac_x_includes" = no; then
5527
+ # Guess where to find include files, by looking for Xlib.h.
5528
+ # First, try using that file with no special directory specified.
5529
+ cat >conftest.$ac_ext <<_ACEOF
5532
+cat confdefs.h >>conftest.$ac_ext
5533
+cat >>conftest.$ac_ext <<_ACEOF
5534
+/* end confdefs.h. */
5535
+#include <X11/Xlib.h.h>
5537
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5538
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5540
+ grep -v '^ *+' conftest.er1 >conftest.err
5541
+ rm -f conftest.er1
5542
+ cat conftest.err >&5
5543
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544
+ (exit $ac_status); } >/dev/null; then
5545
+ if test -s conftest.err; then
5546
+ ac_cpp_err=$ac_c_preproc_warn_flag
5547
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5554
+if test -z "$ac_cpp_err"; then
5555
+ # We can compile using X headers with no special include directory.
5558
+ echo "$as_me: failed program was:" >&5
5559
+sed 's/^/| /' conftest.$ac_ext >&5
5561
+ for ac_dir in $ac_x_header_dirs; do
5562
+ if test -r "$ac_dir/X11/Xlib.h"; then
5563
+ ac_x_includes=$ac_dir
5569
- test -z "$x_direct_test_library" && x_direct_test_library=Xt
5570
- test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
5571
+rm -f conftest.err conftest.$ac_ext
5572
+fi # $ac_x_includes = no
5574
+if test "$ac_x_libraries" = no; then
5575
+ # Check for the libraries.
5576
# See if we find them without any special options.
5577
# Don't add to $LIBS permanently.
5578
- ac_save_LIBS="$LIBS"
5579
- LIBS="-l$x_direct_test_library $LIBS"
5580
-cat > conftest.$ac_ext <<EOF
5581
-#line 1520 "configure"
5582
-#include "confdefs.h"
5585
-${x_direct_test_function}()
5588
-if { (eval echo configure:1527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5590
- LIBS="$ac_save_LIBS"
5591
+ ac_save_LIBS=$LIBS
5593
+ cat >conftest.$ac_ext <<_ACEOF
5596
+cat confdefs.h >>conftest.$ac_ext
5597
+cat >>conftest.$ac_ext <<_ACEOF
5598
+/* end confdefs.h. */
5599
+#include <X11/Xlib.h>
5608
+rm -f conftest.$ac_objext conftest$ac_exeext
5609
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5610
+ (eval $ac_link) 2>conftest.er1
5612
+ grep -v '^ *+' conftest.er1 >conftest.err
5613
+ rm -f conftest.er1
5614
+ cat conftest.err >&5
5615
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5616
+ (exit $ac_status); } &&
5617
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5618
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5619
+ (eval $ac_try) 2>&5
5621
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622
+ (exit $ac_status); }; } &&
5623
+ { ac_try='test -s conftest$ac_exeext'
5624
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5625
+ (eval $ac_try) 2>&5
5627
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628
+ (exit $ac_status); }; }; then
5629
+ LIBS=$ac_save_LIBS
5630
# We can link X programs with no special library path.
5633
- echo "configure: failed program was:" >&5
5634
- cat conftest.$ac_ext >&5
5636
- LIBS="$ac_save_LIBS"
5637
-# First see if replacing the include by lib works.
5638
-# Check X11 before X11Rn because it is often a symlink to the current release.
5639
-for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
5650
- /usr/local/X11/lib \
5651
- /usr/local/X11R6/lib \
5652
- /usr/local/X11R5/lib \
5653
- /usr/local/X11R4/lib \
5655
- /usr/local/lib/X11 \
5656
- /usr/local/lib/X11R6 \
5657
- /usr/local/lib/X11R5 \
5658
- /usr/local/lib/X11R4 \
5662
- /usr/XFree86/lib/X11 \
5666
- /usr/unsupported/lib \
5668
- /usr/local/x11r5/lib \
5669
- /usr/lpp/Xamples/lib \
5670
- /lib/usr/lib/X11 \
5672
- /usr/openwin/lib \
5673
- /usr/openwin/share/lib \
5675
+ echo "$as_me: failed program was:" >&5
5676
+sed 's/^/| /' conftest.$ac_ext >&5
5678
+ LIBS=$ac_save_LIBS
5679
+for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5681
+ # Don't even attempt the hair of trying to link an X program!
5682
for ac_extension in a so sl; do
5683
- if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
5684
+ if test -r $ac_dir/libX11.$ac_extension; then
5685
ac_x_libraries=$ac_dir
5692
-fi # $ac_x_libraries = NO
5694
-if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
5695
+rm -f conftest.err conftest.$ac_objext \
5696
+ conftest$ac_exeext conftest.$ac_ext
5697
+fi # $ac_x_libraries = no
5699
+if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
5700
# Didn't find X anywhere. Cache the known absence of X.
5701
ac_cv_have_x="have_x=no"
5703
# Record where we found X for the cache.
5704
ac_cv_have_x="have_x=yes \
5705
- ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
5706
+ ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
5711
eval "$ac_cv_have_x"
5714
if test "$have_x" != yes; then
5715
- echo "$ac_t""$have_x" 1>&6
5716
+ { echo "$as_me:$LINENO: result: $have_x" >&5
5717
+echo "${ECHO_T}$have_x" >&6; }
5720
# If each of the values was on the command line, it overrides each guess.
5721
@@ -1606,14 +4762,21 @@
5722
# Update the cache value to reflect the command line values.
5723
ac_cv_have_x="have_x=yes \
5724
ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5725
- echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
5726
+ # It might be that x_includes is empty (headers are found in the
5727
+ # standard search path. Then output the corresponding message
5728
+ ac_out_x_includes=$x_includes
5729
+ test "x$x_includes" = x && ac_out_x_includes="in standard search path"
5730
+ { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
5731
+echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6; }
5735
if test "$no_x" = yes; then
5736
# Not all programs may use this symbol, but it does not hurt to define it.
5737
- cat >> confdefs.h <<\EOF
5739
+cat >>confdefs.h <<\_ACEOF
5740
#define X_DISPLAY_MISSING 1
5744
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
5746
@@ -1626,60 +4789,119 @@
5747
X_LIBS="$X_LIBS -L$x_libraries"
5748
# For Solaris; some versions of Sun CC require a space after -R and
5749
# others require no space. Words are not sufficient . . . .
5750
- case "`(uname -sr) 2>/dev/null`" in
5751
+ case `(uname -sr) 2>/dev/null` in
5753
- echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
5754
-echo "configure:1633: checking whether -R must be followed by a space" >&5
5755
- ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
5756
- cat > conftest.$ac_ext <<EOF
5757
-#line 1636 "configure"
5758
-#include "confdefs.h"
5764
-if { (eval echo configure:1643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5766
+ { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
5767
+echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
5768
+ ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
5769
+ cat >conftest.$ac_ext <<_ACEOF
5772
+cat confdefs.h >>conftest.$ac_ext
5773
+cat >>conftest.$ac_ext <<_ACEOF
5774
+/* end confdefs.h. */
5784
+rm -f conftest.$ac_objext conftest$ac_exeext
5785
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5786
+ (eval $ac_link) 2>conftest.er1
5788
+ grep -v '^ *+' conftest.er1 >conftest.err
5789
+ rm -f conftest.er1
5790
+ cat conftest.err >&5
5791
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792
+ (exit $ac_status); } &&
5793
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5794
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5795
+ (eval $ac_try) 2>&5
5797
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798
+ (exit $ac_status); }; } &&
5799
+ { ac_try='test -s conftest$ac_exeext'
5800
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5801
+ (eval $ac_try) 2>&5
5803
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804
+ (exit $ac_status); }; }; then
5807
- echo "configure: failed program was:" >&5
5808
- cat conftest.$ac_ext >&5
5811
+ echo "$as_me: failed program was:" >&5
5812
+sed 's/^/| /' conftest.$ac_ext >&5
5818
+rm -f conftest.err conftest.$ac_objext \
5819
+ conftest$ac_exeext conftest.$ac_ext
5820
if test $ac_R_nospace = yes; then
5821
- echo "$ac_t""no" 1>&6
5822
+ { echo "$as_me:$LINENO: result: no" >&5
5823
+echo "${ECHO_T}no" >&6; }
5824
X_LIBS="$X_LIBS -R$x_libraries"
5826
LIBS="$ac_xsave_LIBS -R $x_libraries"
5827
- cat > conftest.$ac_ext <<EOF
5828
-#line 1659 "configure"
5829
-#include "confdefs.h"
5835
-if { (eval echo configure:1666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5837
+ cat >conftest.$ac_ext <<_ACEOF
5840
+cat confdefs.h >>conftest.$ac_ext
5841
+cat >>conftest.$ac_ext <<_ACEOF
5842
+/* end confdefs.h. */
5852
+rm -f conftest.$ac_objext conftest$ac_exeext
5853
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5854
+ (eval $ac_link) 2>conftest.er1
5856
+ grep -v '^ *+' conftest.er1 >conftest.err
5857
+ rm -f conftest.er1
5858
+ cat conftest.err >&5
5859
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860
+ (exit $ac_status); } &&
5861
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5862
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5863
+ (eval $ac_try) 2>&5
5865
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866
+ (exit $ac_status); }; } &&
5867
+ { ac_try='test -s conftest$ac_exeext'
5868
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5869
+ (eval $ac_try) 2>&5
5871
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872
+ (exit $ac_status); }; }; then
5875
- echo "configure: failed program was:" >&5
5876
- cat conftest.$ac_ext >&5
5879
+ echo "$as_me: failed program was:" >&5
5880
+sed 's/^/| /' conftest.$ac_ext >&5
5886
+rm -f conftest.err conftest.$ac_objext \
5887
+ conftest$ac_exeext conftest.$ac_ext
5888
if test $ac_R_space = yes; then
5889
- echo "$ac_t""yes" 1>&6
5890
+ { echo "$as_me:$LINENO: result: yes" >&5
5891
+echo "${ECHO_T}yes" >&6; }
5892
X_LIBS="$X_LIBS -R $x_libraries"
5894
- echo "$ac_t""neither works" 1>&6
5895
+ { echo "$as_me:$LINENO: result: neither works" >&5
5896
+echo "${ECHO_T}neither works" >&6; }
5899
- LIBS="$ac_xsave_LIBS"
5900
+ LIBS=$ac_xsave_LIBS
5904
@@ -1690,795 +4912,1389 @@
5905
if test "$ISC" = yes; then
5906
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
5908
- # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
5909
- # libraries were built with DECnet support. And karl@cs.umb.edu says
5910
+ # Martyn Johnson says this is needed for Ultrix, if the X
5911
+ # libraries were built with DECnet support. And Karl Berry says
5912
# the Alpha needs dnet_stub (dnet does not exist).
5913
- echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
5914
-echo "configure:1698: checking for dnet_ntoa in -ldnet" >&5
5915
-ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
5916
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5917
- echo $ac_n "(cached) $ac_c" 1>&6
5918
+ ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
5919
+ cat >conftest.$ac_ext <<_ACEOF
5922
+cat confdefs.h >>conftest.$ac_ext
5923
+cat >>conftest.$ac_ext <<_ACEOF
5924
+/* end confdefs.h. */
5926
+/* Override any GCC internal prototype to avoid an error.
5927
+ Use char because int might match the return type of a GCC
5928
+ builtin and then its argument prototype would still apply. */
5932
+char XOpenDisplay ();
5936
+return XOpenDisplay ();
5941
+rm -f conftest.$ac_objext conftest$ac_exeext
5942
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5943
+ (eval $ac_link) 2>conftest.er1
5945
+ grep -v '^ *+' conftest.er1 >conftest.err
5946
+ rm -f conftest.er1
5947
+ cat conftest.err >&5
5948
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949
+ (exit $ac_status); } &&
5950
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5951
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5952
+ (eval $ac_try) 2>&5
5954
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955
+ (exit $ac_status); }; } &&
5956
+ { ac_try='test -s conftest$ac_exeext'
5957
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5958
+ (eval $ac_try) 2>&5
5960
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961
+ (exit $ac_status); }; }; then
5964
- ac_save_LIBS="$LIBS"
5965
-LIBS="-ldnet $LIBS"
5966
-cat > conftest.$ac_ext <<EOF
5967
-#line 1706 "configure"
5968
-#include "confdefs.h"
5969
-/* Override any gcc2 internal prototype to avoid an error. */
5970
-/* We use char because int might match the return type of a gcc2
5971
- builtin and then its argument prototype would still apply. */
5978
-if { (eval echo configure:1717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5980
- eval "ac_cv_lib_$ac_lib_var=yes"
5982
- echo "configure: failed program was:" >&5
5983
- cat conftest.$ac_ext >&5
5985
- eval "ac_cv_lib_$ac_lib_var=no"
5988
-LIBS="$ac_save_LIBS"
5989
+ echo "$as_me: failed program was:" >&5
5990
+sed 's/^/| /' conftest.$ac_ext >&5
5993
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5994
- echo "$ac_t""yes" 1>&6
5995
- X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5996
+ { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
5997
+echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
5998
+if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5999
+ echo $ECHO_N "(cached) $ECHO_C" >&6
6001
- echo "$ac_t""no" 1>&6
6002
+ ac_check_lib_save_LIBS=$LIBS
6003
+LIBS="-ldnet $LIBS"
6004
+cat >conftest.$ac_ext <<_ACEOF
6007
+cat confdefs.h >>conftest.$ac_ext
6008
+cat >>conftest.$ac_ext <<_ACEOF
6009
+/* end confdefs.h. */
6011
+/* Override any GCC internal prototype to avoid an error.
6012
+ Use char because int might match the return type of a GCC
6013
+ builtin and then its argument prototype would still apply. */
6021
+return dnet_ntoa ();
6026
+rm -f conftest.$ac_objext conftest$ac_exeext
6027
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6028
+ (eval $ac_link) 2>conftest.er1
6030
+ grep -v '^ *+' conftest.er1 >conftest.err
6031
+ rm -f conftest.er1
6032
+ cat conftest.err >&5
6033
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034
+ (exit $ac_status); } &&
6035
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6036
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6037
+ (eval $ac_try) 2>&5
6039
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040
+ (exit $ac_status); }; } &&
6041
+ { ac_try='test -s conftest$ac_exeext'
6042
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6043
+ (eval $ac_try) 2>&5
6045
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046
+ (exit $ac_status); }; }; then
6047
+ ac_cv_lib_dnet_dnet_ntoa=yes
6049
+ echo "$as_me: failed program was:" >&5
6050
+sed 's/^/| /' conftest.$ac_ext >&5
6052
+ ac_cv_lib_dnet_dnet_ntoa=no
6055
+rm -f conftest.err conftest.$ac_objext \
6056
+ conftest$ac_exeext conftest.$ac_ext
6057
+LIBS=$ac_check_lib_save_LIBS
6059
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6060
+echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
6061
+if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6062
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
6065
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
6066
- echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
6067
-echo "configure:1739: checking for dnet_ntoa in -ldnet_stub" >&5
6068
-ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6069
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6070
- echo $ac_n "(cached) $ac_c" 1>&6
6072
- ac_save_LIBS="$LIBS"
6073
-LIBS="-ldnet_stub $LIBS"
6074
-cat > conftest.$ac_ext <<EOF
6075
-#line 1747 "configure"
6076
-#include "confdefs.h"
6077
-/* Override any gcc2 internal prototype to avoid an error. */
6078
-/* We use char because int might match the return type of a gcc2
6079
- builtin and then its argument prototype would still apply. */
6086
-if { (eval echo configure:1758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6088
- eval "ac_cv_lib_$ac_lib_var=yes"
6090
- echo "configure: failed program was:" >&5
6091
- cat conftest.$ac_ext >&5
6093
- eval "ac_cv_lib_$ac_lib_var=no"
6096
-LIBS="$ac_save_LIBS"
6099
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6100
- echo "$ac_t""yes" 1>&6
6101
- X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
6102
+ { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
6103
+echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
6104
+if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
6105
+ echo $ECHO_N "(cached) $ECHO_C" >&6
6107
- echo "$ac_t""no" 1>&6
6108
+ ac_check_lib_save_LIBS=$LIBS
6109
+LIBS="-ldnet_stub $LIBS"
6110
+cat >conftest.$ac_ext <<_ACEOF
6113
+cat confdefs.h >>conftest.$ac_ext
6114
+cat >>conftest.$ac_ext <<_ACEOF
6115
+/* end confdefs.h. */
6117
+/* Override any GCC internal prototype to avoid an error.
6118
+ Use char because int might match the return type of a GCC
6119
+ builtin and then its argument prototype would still apply. */
6127
+return dnet_ntoa ();
6132
+rm -f conftest.$ac_objext conftest$ac_exeext
6133
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6134
+ (eval $ac_link) 2>conftest.er1
6136
+ grep -v '^ *+' conftest.er1 >conftest.err
6137
+ rm -f conftest.er1
6138
+ cat conftest.err >&5
6139
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140
+ (exit $ac_status); } &&
6141
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6142
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6143
+ (eval $ac_try) 2>&5
6145
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146
+ (exit $ac_status); }; } &&
6147
+ { ac_try='test -s conftest$ac_exeext'
6148
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6149
+ (eval $ac_try) 2>&5
6151
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152
+ (exit $ac_status); }; }; then
6153
+ ac_cv_lib_dnet_stub_dnet_ntoa=yes
6155
+ echo "$as_me: failed program was:" >&5
6156
+sed 's/^/| /' conftest.$ac_ext >&5
6158
+ ac_cv_lib_dnet_stub_dnet_ntoa=no
6161
+rm -f conftest.err conftest.$ac_objext \
6162
+ conftest$ac_exeext conftest.$ac_ext
6163
+LIBS=$ac_check_lib_save_LIBS
6165
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
6166
+echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
6167
+if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
6168
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
6174
+rm -f conftest.err conftest.$ac_objext \
6175
+ conftest$ac_exeext conftest.$ac_ext
6176
+ LIBS="$ac_xsave_LIBS"
6178
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
6179
# to get the SysV transport functions.
6180
- # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
6181
+ # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
6183
# The nsl library prevents programs from opening the X display
6184
- # on Irix 5.2, according to dickey@clark.net.
6185
- echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
6186
-echo "configure:1787: checking for gethostbyname" >&5
6187
-if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
6188
- echo $ac_n "(cached) $ac_c" 1>&6
6190
- cat > conftest.$ac_ext <<EOF
6191
-#line 1792 "configure"
6192
-#include "confdefs.h"
6193
+ # on Irix 5.2, according to T.E. Dickey.
6194
+ # The functions gethostbyname, getservbyname, and inet_addr are
6195
+ # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
6196
+ { echo "$as_me:$LINENO: checking for gethostbyname" >&5
6197
+echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
6198
+if test "${ac_cv_func_gethostbyname+set}" = set; then
6199
+ echo $ECHO_N "(cached) $ECHO_C" >&6
6201
+ cat >conftest.$ac_ext <<_ACEOF
6204
+cat confdefs.h >>conftest.$ac_ext
6205
+cat >>conftest.$ac_ext <<_ACEOF
6206
+/* end confdefs.h. */
6207
+/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
6208
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
6209
+#define gethostbyname innocuous_gethostbyname
6211
/* System header to define __stub macros and hopefully few prototypes,
6212
- which can conflict with char gethostbyname(); below. */
6213
-#include <assert.h>
6214
-/* Override any gcc2 internal prototype to avoid an error. */
6215
-/* We use char because int might match the return type of a gcc2
6216
- builtin and then its argument prototype would still apply. */
6217
-char gethostbyname();
6218
+ which can conflict with char gethostbyname (); below.
6219
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6220
+ <limits.h> exists even on freestanding compilers. */
6223
+# include <limits.h>
6225
+# include <assert.h>
6229
+#undef gethostbyname
6231
+/* Override any GCC internal prototype to avoid an error.
6232
+ Use char because int might match the return type of a GCC
6233
+ builtin and then its argument prototype would still apply. */
6237
+char gethostbyname ();
6238
/* The GNU C library defines this for functions which it implements
6239
to always fail with ENOSYS. Some functions are actually named
6240
something starting with __ and the normal name is an alias. */
6241
-#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
6242
+#if defined __stub_gethostbyname || defined __stub___gethostbyname
6250
-if { (eval echo configure:1815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6252
- eval "ac_cv_func_gethostbyname=yes"
6254
- echo "configure: failed program was:" >&5
6255
- cat conftest.$ac_ext >&5
6257
- eval "ac_cv_func_gethostbyname=no"
6263
+return gethostbyname ();
6268
+rm -f conftest.$ac_objext conftest$ac_exeext
6269
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6270
+ (eval $ac_link) 2>conftest.er1
6272
+ grep -v '^ *+' conftest.er1 >conftest.err
6273
+ rm -f conftest.er1
6274
+ cat conftest.err >&5
6275
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276
+ (exit $ac_status); } &&
6277
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6278
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6279
+ (eval $ac_try) 2>&5
6281
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6282
+ (exit $ac_status); }; } &&
6283
+ { ac_try='test -s conftest$ac_exeext'
6284
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6285
+ (eval $ac_try) 2>&5
6287
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6288
+ (exit $ac_status); }; }; then
6289
+ ac_cv_func_gethostbyname=yes
6291
+ echo "$as_me: failed program was:" >&5
6292
+sed 's/^/| /' conftest.$ac_ext >&5
6294
+ ac_cv_func_gethostbyname=no
6297
-if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
6298
- echo "$ac_t""yes" 1>&6
6301
- echo "$ac_t""no" 1>&6
6302
+rm -f conftest.err conftest.$ac_objext \
6303
+ conftest$ac_exeext conftest.$ac_ext
6305
+{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
6306
+echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
6308
if test $ac_cv_func_gethostbyname = no; then
6309
- echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
6310
-echo "configure:1836: checking for gethostbyname in -lnsl" >&5
6311
-ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
6312
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6313
- echo $ac_n "(cached) $ac_c" 1>&6
6314
+ { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6315
+echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
6316
+if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6317
+ echo $ECHO_N "(cached) $ECHO_C" >&6
6319
- ac_save_LIBS="$LIBS"
6320
+ ac_check_lib_save_LIBS=$LIBS
6322
-cat > conftest.$ac_ext <<EOF
6323
-#line 1844 "configure"
6324
-#include "confdefs.h"
6325
-/* Override any gcc2 internal prototype to avoid an error. */
6326
-/* We use char because int might match the return type of a gcc2
6327
- builtin and then its argument prototype would still apply. */
6328
-char gethostbyname();
6334
-if { (eval echo configure:1855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6336
- eval "ac_cv_lib_$ac_lib_var=yes"
6338
- echo "configure: failed program was:" >&5
6339
- cat conftest.$ac_ext >&5
6341
- eval "ac_cv_lib_$ac_lib_var=no"
6342
+cat >conftest.$ac_ext <<_ACEOF
6345
+cat confdefs.h >>conftest.$ac_ext
6346
+cat >>conftest.$ac_ext <<_ACEOF
6347
+/* end confdefs.h. */
6349
+/* Override any GCC internal prototype to avoid an error.
6350
+ Use char because int might match the return type of a GCC
6351
+ builtin and then its argument prototype would still apply. */
6355
+char gethostbyname ();
6359
+return gethostbyname ();
6364
+rm -f conftest.$ac_objext conftest$ac_exeext
6365
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6366
+ (eval $ac_link) 2>conftest.er1
6368
+ grep -v '^ *+' conftest.er1 >conftest.err
6369
+ rm -f conftest.er1
6370
+ cat conftest.err >&5
6371
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6372
+ (exit $ac_status); } &&
6373
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6374
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6375
+ (eval $ac_try) 2>&5
6377
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6378
+ (exit $ac_status); }; } &&
6379
+ { ac_try='test -s conftest$ac_exeext'
6380
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6381
+ (eval $ac_try) 2>&5
6383
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384
+ (exit $ac_status); }; }; then
6385
+ ac_cv_lib_nsl_gethostbyname=yes
6387
+ echo "$as_me: failed program was:" >&5
6388
+sed 's/^/| /' conftest.$ac_ext >&5
6390
+ ac_cv_lib_nsl_gethostbyname=no
6393
+rm -f conftest.err conftest.$ac_objext \
6394
+ conftest$ac_exeext conftest.$ac_ext
6395
+LIBS=$ac_check_lib_save_LIBS
6397
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6398
+echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
6399
+if test $ac_cv_lib_nsl_gethostbyname = yes; then
6400
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
6403
-LIBS="$ac_save_LIBS"
6406
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6407
- echo "$ac_t""yes" 1>&6
6408
- X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
6410
- echo "$ac_t""no" 1>&6
6411
+ if test $ac_cv_lib_nsl_gethostbyname = no; then
6412
+ { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
6413
+echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
6414
+if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
6415
+ echo $ECHO_N "(cached) $ECHO_C" >&6
6417
+ ac_check_lib_save_LIBS=$LIBS
6419
+cat >conftest.$ac_ext <<_ACEOF
6422
+cat confdefs.h >>conftest.$ac_ext
6423
+cat >>conftest.$ac_ext <<_ACEOF
6424
+/* end confdefs.h. */
6426
+/* Override any GCC internal prototype to avoid an error.
6427
+ Use char because int might match the return type of a GCC
6428
+ builtin and then its argument prototype would still apply. */
6432
+char gethostbyname ();
6436
+return gethostbyname ();
6441
+rm -f conftest.$ac_objext conftest$ac_exeext
6442
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6443
+ (eval $ac_link) 2>conftest.er1
6445
+ grep -v '^ *+' conftest.er1 >conftest.err
6446
+ rm -f conftest.er1
6447
+ cat conftest.err >&5
6448
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449
+ (exit $ac_status); } &&
6450
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6451
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6452
+ (eval $ac_try) 2>&5
6454
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455
+ (exit $ac_status); }; } &&
6456
+ { ac_try='test -s conftest$ac_exeext'
6457
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6458
+ (eval $ac_try) 2>&5
6460
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461
+ (exit $ac_status); }; }; then
6462
+ ac_cv_lib_bsd_gethostbyname=yes
6464
+ echo "$as_me: failed program was:" >&5
6465
+sed 's/^/| /' conftest.$ac_ext >&5
6467
+ ac_cv_lib_bsd_gethostbyname=no
6470
+rm -f conftest.err conftest.$ac_objext \
6471
+ conftest$ac_exeext conftest.$ac_ext
6472
+LIBS=$ac_check_lib_save_LIBS
6474
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
6475
+echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
6476
+if test $ac_cv_lib_bsd_gethostbyname = yes; then
6477
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
6483
# lieder@skyler.mavd.honeywell.com says without -lsocket,
6484
# socket/setsockopt and other routines are undefined under SCO ODT
6485
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
6486
- # on later versions), says simon@lia.di.epfl.ch: it contains
6487
- # gethostby* variants that don't use the nameserver (or something).
6488
- # -lsocket must be given before -lnsl if both are needed.
6489
- # We assume that if connect needs -lnsl, so does gethostbyname.
6490
- echo $ac_n "checking for connect""... $ac_c" 1>&6
6491
-echo "configure:1885: checking for connect" >&5
6492
-if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
6493
- echo $ac_n "(cached) $ac_c" 1>&6
6495
- cat > conftest.$ac_ext <<EOF
6496
-#line 1890 "configure"
6497
-#include "confdefs.h"
6498
+ # on later versions), says Simon Leinen: it contains gethostby*
6499
+ # variants that don't use the name server (or something). -lsocket
6500
+ # must be given before -lnsl if both are needed. We assume that
6501
+ # if connect needs -lnsl, so does gethostbyname.
6502
+ { echo "$as_me:$LINENO: checking for connect" >&5
6503
+echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
6504
+if test "${ac_cv_func_connect+set}" = set; then
6505
+ echo $ECHO_N "(cached) $ECHO_C" >&6
6507
+ cat >conftest.$ac_ext <<_ACEOF
6510
+cat confdefs.h >>conftest.$ac_ext
6511
+cat >>conftest.$ac_ext <<_ACEOF
6512
+/* end confdefs.h. */
6513
+/* Define connect to an innocuous variant, in case <limits.h> declares connect.
6514
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
6515
+#define connect innocuous_connect
6517
/* System header to define __stub macros and hopefully few prototypes,
6518
- which can conflict with char connect(); below. */
6519
-#include <assert.h>
6520
-/* Override any gcc2 internal prototype to avoid an error. */
6521
-/* We use char because int might match the return type of a gcc2
6522
- builtin and then its argument prototype would still apply. */
6524
+ which can conflict with char connect (); below.
6525
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6526
+ <limits.h> exists even on freestanding compilers. */
6529
+# include <limits.h>
6531
+# include <assert.h>
6537
+/* Override any GCC internal prototype to avoid an error.
6538
+ Use char because int might match the return type of a GCC
6539
+ builtin and then its argument prototype would still apply. */
6544
/* The GNU C library defines this for functions which it implements
6545
to always fail with ENOSYS. Some functions are actually named
6546
something starting with __ and the normal name is an alias. */
6547
-#if defined (__stub_connect) || defined (__stub___connect)
6548
+#if defined __stub_connect || defined __stub___connect
6556
-if { (eval echo configure:1913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6558
- eval "ac_cv_func_connect=yes"
6560
- echo "configure: failed program was:" >&5
6561
- cat conftest.$ac_ext >&5
6563
- eval "ac_cv_func_connect=no"
6574
+rm -f conftest.$ac_objext conftest$ac_exeext
6575
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6576
+ (eval $ac_link) 2>conftest.er1
6578
+ grep -v '^ *+' conftest.er1 >conftest.err
6579
+ rm -f conftest.er1
6580
+ cat conftest.err >&5
6581
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582
+ (exit $ac_status); } &&
6583
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6584
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6585
+ (eval $ac_try) 2>&5
6587
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588
+ (exit $ac_status); }; } &&
6589
+ { ac_try='test -s conftest$ac_exeext'
6590
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6591
+ (eval $ac_try) 2>&5
6593
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594
+ (exit $ac_status); }; }; then
6595
+ ac_cv_func_connect=yes
6597
+ echo "$as_me: failed program was:" >&5
6598
+sed 's/^/| /' conftest.$ac_ext >&5
6600
+ ac_cv_func_connect=no
6603
-if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
6604
- echo "$ac_t""yes" 1>&6
6607
- echo "$ac_t""no" 1>&6
6608
+rm -f conftest.err conftest.$ac_objext \
6609
+ conftest$ac_exeext conftest.$ac_ext
6611
+{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
6612
+echo "${ECHO_T}$ac_cv_func_connect" >&6; }
6614
if test $ac_cv_func_connect = no; then
6615
- echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
6616
-echo "configure:1934: checking for connect in -lsocket" >&5
6617
-ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
6618
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6619
- echo $ac_n "(cached) $ac_c" 1>&6
6620
+ { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6621
+echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
6622
+if test "${ac_cv_lib_socket_connect+set}" = set; then
6623
+ echo $ECHO_N "(cached) $ECHO_C" >&6
6625
- ac_save_LIBS="$LIBS"
6626
+ ac_check_lib_save_LIBS=$LIBS
6627
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
6628
-cat > conftest.$ac_ext <<EOF
6629
-#line 1942 "configure"
6630
-#include "confdefs.h"
6631
-/* Override any gcc2 internal prototype to avoid an error. */
6632
-/* We use char because int might match the return type of a gcc2
6633
- builtin and then its argument prototype would still apply. */
6640
-if { (eval echo configure:1953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6642
- eval "ac_cv_lib_$ac_lib_var=yes"
6644
- echo "configure: failed program was:" >&5
6645
- cat conftest.$ac_ext >&5
6647
- eval "ac_cv_lib_$ac_lib_var=no"
6650
-LIBS="$ac_save_LIBS"
6653
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6654
- echo "$ac_t""yes" 1>&6
6655
+cat >conftest.$ac_ext <<_ACEOF
6658
+cat confdefs.h >>conftest.$ac_ext
6659
+cat >>conftest.$ac_ext <<_ACEOF
6660
+/* end confdefs.h. */
6662
+/* Override any GCC internal prototype to avoid an error.
6663
+ Use char because int might match the return type of a GCC
6664
+ builtin and then its argument prototype would still apply. */
6677
+rm -f conftest.$ac_objext conftest$ac_exeext
6678
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6679
+ (eval $ac_link) 2>conftest.er1
6681
+ grep -v '^ *+' conftest.er1 >conftest.err
6682
+ rm -f conftest.er1
6683
+ cat conftest.err >&5
6684
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685
+ (exit $ac_status); } &&
6686
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6687
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6688
+ (eval $ac_try) 2>&5
6690
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691
+ (exit $ac_status); }; } &&
6692
+ { ac_try='test -s conftest$ac_exeext'
6693
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6694
+ (eval $ac_try) 2>&5
6696
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6697
+ (exit $ac_status); }; }; then
6698
+ ac_cv_lib_socket_connect=yes
6700
+ echo "$as_me: failed program was:" >&5
6701
+sed 's/^/| /' conftest.$ac_ext >&5
6703
+ ac_cv_lib_socket_connect=no
6706
+rm -f conftest.err conftest.$ac_objext \
6707
+ conftest$ac_exeext conftest.$ac_ext
6708
+LIBS=$ac_check_lib_save_LIBS
6710
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6711
+echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
6712
+if test $ac_cv_lib_socket_connect = yes; then
6713
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
6715
- echo "$ac_t""no" 1>&6
6720
- # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
6721
- echo $ac_n "checking for remove""... $ac_c" 1>&6
6722
-echo "configure:1977: checking for remove" >&5
6723
-if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
6724
- echo $ac_n "(cached) $ac_c" 1>&6
6726
- cat > conftest.$ac_ext <<EOF
6727
-#line 1982 "configure"
6728
-#include "confdefs.h"
6729
+ # Guillermo Gomez says -lposix is necessary on A/UX.
6730
+ { echo "$as_me:$LINENO: checking for remove" >&5
6731
+echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
6732
+if test "${ac_cv_func_remove+set}" = set; then
6733
+ echo $ECHO_N "(cached) $ECHO_C" >&6
6735
+ cat >conftest.$ac_ext <<_ACEOF
6738
+cat confdefs.h >>conftest.$ac_ext
6739
+cat >>conftest.$ac_ext <<_ACEOF
6740
+/* end confdefs.h. */
6741
+/* Define remove to an innocuous variant, in case <limits.h> declares remove.
6742
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
6743
+#define remove innocuous_remove
6745
/* System header to define __stub macros and hopefully few prototypes,
6746
- which can conflict with char remove(); below. */
6747
-#include <assert.h>
6748
-/* Override any gcc2 internal prototype to avoid an error. */
6749
-/* We use char because int might match the return type of a gcc2
6750
- builtin and then its argument prototype would still apply. */
6752
+ which can conflict with char remove (); below.
6753
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6754
+ <limits.h> exists even on freestanding compilers. */
6757
+# include <limits.h>
6759
+# include <assert.h>
6765
+/* Override any GCC internal prototype to avoid an error.
6766
+ Use char because int might match the return type of a GCC
6767
+ builtin and then its argument prototype would still apply. */
6772
/* The GNU C library defines this for functions which it implements
6773
to always fail with ENOSYS. Some functions are actually named
6774
something starting with __ and the normal name is an alias. */
6775
-#if defined (__stub_remove) || defined (__stub___remove)
6776
+#if defined __stub_remove || defined __stub___remove
6784
-if { (eval echo configure:2005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6786
- eval "ac_cv_func_remove=yes"
6788
- echo "configure: failed program was:" >&5
6789
- cat conftest.$ac_ext >&5
6791
- eval "ac_cv_func_remove=no"
6802
+rm -f conftest.$ac_objext conftest$ac_exeext
6803
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6804
+ (eval $ac_link) 2>conftest.er1
6806
+ grep -v '^ *+' conftest.er1 >conftest.err
6807
+ rm -f conftest.er1
6808
+ cat conftest.err >&5
6809
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810
+ (exit $ac_status); } &&
6811
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6812
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6813
+ (eval $ac_try) 2>&5
6815
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816
+ (exit $ac_status); }; } &&
6817
+ { ac_try='test -s conftest$ac_exeext'
6818
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6819
+ (eval $ac_try) 2>&5
6821
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6822
+ (exit $ac_status); }; }; then
6823
+ ac_cv_func_remove=yes
6825
+ echo "$as_me: failed program was:" >&5
6826
+sed 's/^/| /' conftest.$ac_ext >&5
6828
+ ac_cv_func_remove=no
6831
-if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
6832
- echo "$ac_t""yes" 1>&6
6835
- echo "$ac_t""no" 1>&6
6836
+rm -f conftest.err conftest.$ac_objext \
6837
+ conftest$ac_exeext conftest.$ac_ext
6839
+{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
6840
+echo "${ECHO_T}$ac_cv_func_remove" >&6; }
6842
if test $ac_cv_func_remove = no; then
6843
- echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
6844
-echo "configure:2026: checking for remove in -lposix" >&5
6845
-ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
6846
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6847
- echo $ac_n "(cached) $ac_c" 1>&6
6848
+ { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
6849
+echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
6850
+if test "${ac_cv_lib_posix_remove+set}" = set; then
6851
+ echo $ECHO_N "(cached) $ECHO_C" >&6
6853
- ac_save_LIBS="$LIBS"
6854
+ ac_check_lib_save_LIBS=$LIBS
6855
LIBS="-lposix $LIBS"
6856
-cat > conftest.$ac_ext <<EOF
6857
-#line 2034 "configure"
6858
-#include "confdefs.h"
6859
-/* Override any gcc2 internal prototype to avoid an error. */
6860
-/* We use char because int might match the return type of a gcc2
6861
- builtin and then its argument prototype would still apply. */
6868
-if { (eval echo configure:2045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6870
- eval "ac_cv_lib_$ac_lib_var=yes"
6872
- echo "configure: failed program was:" >&5
6873
- cat conftest.$ac_ext >&5
6875
- eval "ac_cv_lib_$ac_lib_var=no"
6878
-LIBS="$ac_save_LIBS"
6881
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6882
- echo "$ac_t""yes" 1>&6
6883
+cat >conftest.$ac_ext <<_ACEOF
6886
+cat confdefs.h >>conftest.$ac_ext
6887
+cat >>conftest.$ac_ext <<_ACEOF
6888
+/* end confdefs.h. */
6890
+/* Override any GCC internal prototype to avoid an error.
6891
+ Use char because int might match the return type of a GCC
6892
+ builtin and then its argument prototype would still apply. */
6905
+rm -f conftest.$ac_objext conftest$ac_exeext
6906
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6907
+ (eval $ac_link) 2>conftest.er1
6909
+ grep -v '^ *+' conftest.er1 >conftest.err
6910
+ rm -f conftest.er1
6911
+ cat conftest.err >&5
6912
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913
+ (exit $ac_status); } &&
6914
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6915
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6916
+ (eval $ac_try) 2>&5
6918
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919
+ (exit $ac_status); }; } &&
6920
+ { ac_try='test -s conftest$ac_exeext'
6921
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6922
+ (eval $ac_try) 2>&5
6924
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925
+ (exit $ac_status); }; }; then
6926
+ ac_cv_lib_posix_remove=yes
6928
+ echo "$as_me: failed program was:" >&5
6929
+sed 's/^/| /' conftest.$ac_ext >&5
6931
+ ac_cv_lib_posix_remove=no
6934
+rm -f conftest.err conftest.$ac_objext \
6935
+ conftest$ac_exeext conftest.$ac_ext
6936
+LIBS=$ac_check_lib_save_LIBS
6938
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
6939
+echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
6940
+if test $ac_cv_lib_posix_remove = yes; then
6941
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
6943
- echo "$ac_t""no" 1>&6
6948
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6949
- echo $ac_n "checking for shmat""... $ac_c" 1>&6
6950
-echo "configure:2069: checking for shmat" >&5
6951
-if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
6952
- echo $ac_n "(cached) $ac_c" 1>&6
6954
- cat > conftest.$ac_ext <<EOF
6955
-#line 2074 "configure"
6956
-#include "confdefs.h"
6957
+ { echo "$as_me:$LINENO: checking for shmat" >&5
6958
+echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
6959
+if test "${ac_cv_func_shmat+set}" = set; then
6960
+ echo $ECHO_N "(cached) $ECHO_C" >&6
6962
+ cat >conftest.$ac_ext <<_ACEOF
6965
+cat confdefs.h >>conftest.$ac_ext
6966
+cat >>conftest.$ac_ext <<_ACEOF
6967
+/* end confdefs.h. */
6968
+/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
6969
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
6970
+#define shmat innocuous_shmat
6972
/* System header to define __stub macros and hopefully few prototypes,
6973
- which can conflict with char shmat(); below. */
6974
-#include <assert.h>
6975
-/* Override any gcc2 internal prototype to avoid an error. */
6976
-/* We use char because int might match the return type of a gcc2
6977
- builtin and then its argument prototype would still apply. */
6979
+ which can conflict with char shmat (); below.
6980
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6981
+ <limits.h> exists even on freestanding compilers. */
6984
+# include <limits.h>
6986
+# include <assert.h>
6992
+/* Override any GCC internal prototype to avoid an error.
6993
+ Use char because int might match the return type of a GCC
6994
+ builtin and then its argument prototype would still apply. */
6999
/* The GNU C library defines this for functions which it implements
7000
to always fail with ENOSYS. Some functions are actually named
7001
something starting with __ and the normal name is an alias. */
7002
-#if defined (__stub_shmat) || defined (__stub___shmat)
7003
+#if defined __stub_shmat || defined __stub___shmat
7011
-if { (eval echo configure:2097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7013
- eval "ac_cv_func_shmat=yes"
7015
- echo "configure: failed program was:" >&5
7016
- cat conftest.$ac_ext >&5
7018
- eval "ac_cv_func_shmat=no"
7029
+rm -f conftest.$ac_objext conftest$ac_exeext
7030
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7031
+ (eval $ac_link) 2>conftest.er1
7033
+ grep -v '^ *+' conftest.er1 >conftest.err
7034
+ rm -f conftest.er1
7035
+ cat conftest.err >&5
7036
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7037
+ (exit $ac_status); } &&
7038
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7039
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7040
+ (eval $ac_try) 2>&5
7042
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7043
+ (exit $ac_status); }; } &&
7044
+ { ac_try='test -s conftest$ac_exeext'
7045
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7046
+ (eval $ac_try) 2>&5
7048
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049
+ (exit $ac_status); }; }; then
7050
+ ac_cv_func_shmat=yes
7052
+ echo "$as_me: failed program was:" >&5
7053
+sed 's/^/| /' conftest.$ac_ext >&5
7055
+ ac_cv_func_shmat=no
7058
-if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7059
- echo "$ac_t""yes" 1>&6
7062
- echo "$ac_t""no" 1>&6
7063
+rm -f conftest.err conftest.$ac_objext \
7064
+ conftest$ac_exeext conftest.$ac_ext
7066
+{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
7067
+echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
7069
if test $ac_cv_func_shmat = no; then
7070
- echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7071
-echo "configure:2118: checking for shmat in -lipc" >&5
7072
-ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7073
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7074
- echo $ac_n "(cached) $ac_c" 1>&6
7075
+ { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
7076
+echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
7077
+if test "${ac_cv_lib_ipc_shmat+set}" = set; then
7078
+ echo $ECHO_N "(cached) $ECHO_C" >&6
7080
- ac_save_LIBS="$LIBS"
7081
+ ac_check_lib_save_LIBS=$LIBS
7083
-cat > conftest.$ac_ext <<EOF
7084
-#line 2126 "configure"
7085
-#include "confdefs.h"
7086
-/* Override any gcc2 internal prototype to avoid an error. */
7087
-/* We use char because int might match the return type of a gcc2
7088
- builtin and then its argument prototype would still apply. */
7095
-if { (eval echo configure:2137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7097
- eval "ac_cv_lib_$ac_lib_var=yes"
7099
- echo "configure: failed program was:" >&5
7100
- cat conftest.$ac_ext >&5
7102
- eval "ac_cv_lib_$ac_lib_var=no"
7105
-LIBS="$ac_save_LIBS"
7108
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7109
- echo "$ac_t""yes" 1>&6
7110
+cat >conftest.$ac_ext <<_ACEOF
7113
+cat confdefs.h >>conftest.$ac_ext
7114
+cat >>conftest.$ac_ext <<_ACEOF
7115
+/* end confdefs.h. */
7117
+/* Override any GCC internal prototype to avoid an error.
7118
+ Use char because int might match the return type of a GCC
7119
+ builtin and then its argument prototype would still apply. */
7132
+rm -f conftest.$ac_objext conftest$ac_exeext
7133
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7134
+ (eval $ac_link) 2>conftest.er1
7136
+ grep -v '^ *+' conftest.er1 >conftest.err
7137
+ rm -f conftest.er1
7138
+ cat conftest.err >&5
7139
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7140
+ (exit $ac_status); } &&
7141
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7142
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7143
+ (eval $ac_try) 2>&5
7145
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146
+ (exit $ac_status); }; } &&
7147
+ { ac_try='test -s conftest$ac_exeext'
7148
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7149
+ (eval $ac_try) 2>&5
7151
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7152
+ (exit $ac_status); }; }; then
7153
+ ac_cv_lib_ipc_shmat=yes
7155
+ echo "$as_me: failed program was:" >&5
7156
+sed 's/^/| /' conftest.$ac_ext >&5
7158
+ ac_cv_lib_ipc_shmat=no
7161
+rm -f conftest.err conftest.$ac_objext \
7162
+ conftest$ac_exeext conftest.$ac_ext
7163
+LIBS=$ac_check_lib_save_LIBS
7165
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
7166
+echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
7167
+if test $ac_cv_lib_ipc_shmat = yes; then
7168
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7170
- echo "$ac_t""no" 1>&6
7176
# Check for libraries that X11R6 Xt/Xaw programs need.
7177
- ac_save_LDFLAGS="$LDFLAGS"
7178
+ ac_save_LDFLAGS=$LDFLAGS
7179
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
7180
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7181
# check for ICE first), but we must link in the order -lSM -lICE or
7182
# we get undefined symbols. So assume we have SM if we have ICE.
7183
# These have to be linked with before -lX11, unlike the other
7184
# libraries we check for below, so use a different variable.
7185
- # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7186
- echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7187
-echo "configure:2170: checking for IceConnectionNumber in -lICE" >&5
7188
-ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7189
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7190
- echo $ac_n "(cached) $ac_c" 1>&6
7191
+ # John Interrante, Karl Berry
7192
+ { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
7193
+echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
7194
+if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
7195
+ echo $ECHO_N "(cached) $ECHO_C" >&6
7197
- ac_save_LIBS="$LIBS"
7198
+ ac_check_lib_save_LIBS=$LIBS
7199
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7200
-cat > conftest.$ac_ext <<EOF
7201
-#line 2178 "configure"
7202
-#include "confdefs.h"
7203
-/* Override any gcc2 internal prototype to avoid an error. */
7204
-/* We use char because int might match the return type of a gcc2
7205
- builtin and then its argument prototype would still apply. */
7206
-char IceConnectionNumber();
7209
-IceConnectionNumber()
7212
-if { (eval echo configure:2189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7214
- eval "ac_cv_lib_$ac_lib_var=yes"
7216
- echo "configure: failed program was:" >&5
7217
- cat conftest.$ac_ext >&5
7219
- eval "ac_cv_lib_$ac_lib_var=no"
7222
-LIBS="$ac_save_LIBS"
7225
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7226
- echo "$ac_t""yes" 1>&6
7227
+cat >conftest.$ac_ext <<_ACEOF
7230
+cat confdefs.h >>conftest.$ac_ext
7231
+cat >>conftest.$ac_ext <<_ACEOF
7232
+/* end confdefs.h. */
7234
+/* Override any GCC internal prototype to avoid an error.
7235
+ Use char because int might match the return type of a GCC
7236
+ builtin and then its argument prototype would still apply. */
7240
+char IceConnectionNumber ();
7244
+return IceConnectionNumber ();
7249
+rm -f conftest.$ac_objext conftest$ac_exeext
7250
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7251
+ (eval $ac_link) 2>conftest.er1
7253
+ grep -v '^ *+' conftest.er1 >conftest.err
7254
+ rm -f conftest.er1
7255
+ cat conftest.err >&5
7256
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257
+ (exit $ac_status); } &&
7258
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7259
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7260
+ (eval $ac_try) 2>&5
7262
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7263
+ (exit $ac_status); }; } &&
7264
+ { ac_try='test -s conftest$ac_exeext'
7265
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7266
+ (eval $ac_try) 2>&5
7268
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7269
+ (exit $ac_status); }; }; then
7270
+ ac_cv_lib_ICE_IceConnectionNumber=yes
7272
+ echo "$as_me: failed program was:" >&5
7273
+sed 's/^/| /' conftest.$ac_ext >&5
7275
+ ac_cv_lib_ICE_IceConnectionNumber=no
7278
+rm -f conftest.err conftest.$ac_objext \
7279
+ conftest$ac_exeext conftest.$ac_ext
7280
+LIBS=$ac_check_lib_save_LIBS
7282
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7283
+echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7284
+if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
7285
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7287
- echo "$ac_t""no" 1>&6
7290
- LDFLAGS="$ac_save_LDFLAGS"
7291
+ LDFLAGS=$ac_save_LDFLAGS
7295
LIBS="${LIBS} ${X_PRE_LIBS} -lXt ${X_LIBS} ${X_EXTRA_LIBS}"
7296
CPPFLAGS="${CPPFLAGS} -I${x_includes}"
7297
LDFLAGS="${LDFLAGS} -L${x_libraries}"
7298
-echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6
7299
-echo "configure:2217: checking for main in -lX11" >&5
7300
-ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'`
7301
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7302
- echo $ac_n "(cached) $ac_c" 1>&6
7304
+{ echo "$as_me:$LINENO: checking for main in -lX11" >&5
7305
+echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6; }
7306
+if test "${ac_cv_lib_X11_main+set}" = set; then
7307
+ echo $ECHO_N "(cached) $ECHO_C" >&6
7309
- ac_save_LIBS="$LIBS"
7310
+ ac_check_lib_save_LIBS=$LIBS
7312
-cat > conftest.$ac_ext <<EOF
7313
-#line 2225 "configure"
7314
-#include "confdefs.h"
7320
-if { (eval echo configure:2232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7322
- eval "ac_cv_lib_$ac_lib_var=yes"
7324
- echo "configure: failed program was:" >&5
7325
- cat conftest.$ac_ext >&5
7327
- eval "ac_cv_lib_$ac_lib_var=no"
7330
-LIBS="$ac_save_LIBS"
7333
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7334
- echo "$ac_t""yes" 1>&6
7335
- ac_tr_lib=HAVE_LIB`echo X11 | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7336
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7337
- cat >> confdefs.h <<EOF
7338
-#define $ac_tr_lib 1
7340
+cat >conftest.$ac_ext <<_ACEOF
7343
+cat confdefs.h >>conftest.$ac_ext
7344
+cat >>conftest.$ac_ext <<_ACEOF
7345
+/* end confdefs.h. */
7356
+rm -f conftest.$ac_objext conftest$ac_exeext
7357
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7358
+ (eval $ac_link) 2>conftest.er1
7360
+ grep -v '^ *+' conftest.er1 >conftest.err
7361
+ rm -f conftest.er1
7362
+ cat conftest.err >&5
7363
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364
+ (exit $ac_status); } &&
7365
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7366
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7367
+ (eval $ac_try) 2>&5
7369
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370
+ (exit $ac_status); }; } &&
7371
+ { ac_try='test -s conftest$ac_exeext'
7372
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7373
+ (eval $ac_try) 2>&5
7375
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376
+ (exit $ac_status); }; }; then
7377
+ ac_cv_lib_X11_main=yes
7379
+ echo "$as_me: failed program was:" >&5
7380
+sed 's/^/| /' conftest.$ac_ext >&5
7382
+ ac_cv_lib_X11_main=no
7385
+rm -f conftest.err conftest.$ac_objext \
7386
+ conftest$ac_exeext conftest.$ac_ext
7387
+LIBS=$ac_check_lib_save_LIBS
7389
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5
7390
+echo "${ECHO_T}$ac_cv_lib_X11_main" >&6; }
7391
+if test $ac_cv_lib_X11_main = yes; then
7392
+ cat >>confdefs.h <<_ACEOF
7393
+#define HAVE_LIBX11 1
7399
- echo "$ac_t""no" 1>&6
7402
-# Check whether --with-xpm-include or --without-xpm-include was given.
7404
+# Check whether --with-xpm-include was given.
7405
if test "${with_xpm_include+set}" = set; then
7406
- withval="$with_xpm_include"
7407
- CPPFLAGS="-I${with_xpm_include} ${CPPFLAGS}"
7408
+ withval=$with_xpm_include; CPPFLAGS="-I${with_xpm_include} ${CPPFLAGS}"
7411
-# Check whether --with-xpm-lib or --without-xpm-lib was given.
7413
+# Check whether --with-xpm-lib was given.
7414
if test "${with_xpm_lib+set}" = set; then
7415
- withval="$with_xpm_lib"
7416
- LDFLAGS="-L${with_xpm_lib} ${LDFLAGS}"
7417
+ withval=$with_xpm_lib; LDFLAGS="-L${with_xpm_lib} ${LDFLAGS}"
7420
-echo $ac_n "checking for main in -lXpm""... $ac_c" 1>&6
7421
-echo "configure:2272: checking for main in -lXpm" >&5
7422
-ac_lib_var=`echo Xpm'_'main | sed 'y%./+-%__p_%'`
7423
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7424
- echo $ac_n "(cached) $ac_c" 1>&6
7426
+{ echo "$as_me:$LINENO: checking for main in -lXpm" >&5
7427
+echo $ECHO_N "checking for main in -lXpm... $ECHO_C" >&6; }
7428
+if test "${ac_cv_lib_Xpm_main+set}" = set; then
7429
+ echo $ECHO_N "(cached) $ECHO_C" >&6
7431
- ac_save_LIBS="$LIBS"
7432
+ ac_check_lib_save_LIBS=$LIBS
7434
-cat > conftest.$ac_ext <<EOF
7435
-#line 2280 "configure"
7436
-#include "confdefs.h"
7442
-if { (eval echo configure:2287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7444
- eval "ac_cv_lib_$ac_lib_var=yes"
7446
- echo "configure: failed program was:" >&5
7447
- cat conftest.$ac_ext >&5
7449
- eval "ac_cv_lib_$ac_lib_var=no"
7452
-LIBS="$ac_save_LIBS"
7455
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7456
- echo "$ac_t""yes" 1>&6
7457
- ac_tr_lib=HAVE_LIB`echo Xpm | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7458
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7459
- cat >> confdefs.h <<EOF
7460
-#define $ac_tr_lib 1
7462
+cat >conftest.$ac_ext <<_ACEOF
7465
+cat confdefs.h >>conftest.$ac_ext
7466
+cat >>conftest.$ac_ext <<_ACEOF
7467
+/* end confdefs.h. */
7478
+rm -f conftest.$ac_objext conftest$ac_exeext
7479
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7480
+ (eval $ac_link) 2>conftest.er1
7482
+ grep -v '^ *+' conftest.er1 >conftest.err
7483
+ rm -f conftest.er1
7484
+ cat conftest.err >&5
7485
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486
+ (exit $ac_status); } &&
7487
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7488
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7489
+ (eval $ac_try) 2>&5
7491
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492
+ (exit $ac_status); }; } &&
7493
+ { ac_try='test -s conftest$ac_exeext'
7494
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7495
+ (eval $ac_try) 2>&5
7497
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7498
+ (exit $ac_status); }; }; then
7499
+ ac_cv_lib_Xpm_main=yes
7501
+ echo "$as_me: failed program was:" >&5
7502
+sed 's/^/| /' conftest.$ac_ext >&5
7504
+ ac_cv_lib_Xpm_main=no
7507
+rm -f conftest.err conftest.$ac_objext \
7508
+ conftest$ac_exeext conftest.$ac_ext
7509
+LIBS=$ac_check_lib_save_LIBS
7511
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_main" >&5
7512
+echo "${ECHO_T}$ac_cv_lib_Xpm_main" >&6; }
7513
+if test $ac_cv_lib_Xpm_main = yes; then
7514
+ cat >>confdefs.h <<_ACEOF
7515
+#define HAVE_LIBXPM 1
7521
- echo "$ac_t""no" 1>&6
7524
-echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6
7525
-echo "configure:2315: checking for main in -lXmu" >&5
7526
-ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'`
7527
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7528
- echo $ac_n "(cached) $ac_c" 1>&6
7530
+{ echo "$as_me:$LINENO: checking for main in -lXmu" >&5
7531
+echo $ECHO_N "checking for main in -lXmu... $ECHO_C" >&6; }
7532
+if test "${ac_cv_lib_Xmu_main+set}" = set; then
7533
+ echo $ECHO_N "(cached) $ECHO_C" >&6
7535
- ac_save_LIBS="$LIBS"
7536
+ ac_check_lib_save_LIBS=$LIBS
7538
-cat > conftest.$ac_ext <<EOF
7539
-#line 2323 "configure"
7540
-#include "confdefs.h"
7546
-if { (eval echo configure:2330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7548
- eval "ac_cv_lib_$ac_lib_var=yes"
7550
- echo "configure: failed program was:" >&5
7551
- cat conftest.$ac_ext >&5
7553
- eval "ac_cv_lib_$ac_lib_var=no"
7556
-LIBS="$ac_save_LIBS"
7559
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7560
- echo "$ac_t""yes" 1>&6
7561
- ac_tr_lib=HAVE_LIB`echo Xmu | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7562
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7563
- cat >> confdefs.h <<EOF
7564
-#define $ac_tr_lib 1
7566
+cat >conftest.$ac_ext <<_ACEOF
7569
+cat confdefs.h >>conftest.$ac_ext
7570
+cat >>conftest.$ac_ext <<_ACEOF
7571
+/* end confdefs.h. */
7582
+rm -f conftest.$ac_objext conftest$ac_exeext
7583
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7584
+ (eval $ac_link) 2>conftest.er1
7586
+ grep -v '^ *+' conftest.er1 >conftest.err
7587
+ rm -f conftest.er1
7588
+ cat conftest.err >&5
7589
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590
+ (exit $ac_status); } &&
7591
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7592
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7593
+ (eval $ac_try) 2>&5
7595
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596
+ (exit $ac_status); }; } &&
7597
+ { ac_try='test -s conftest$ac_exeext'
7598
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7599
+ (eval $ac_try) 2>&5
7601
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602
+ (exit $ac_status); }; }; then
7603
+ ac_cv_lib_Xmu_main=yes
7605
+ echo "$as_me: failed program was:" >&5
7606
+sed 's/^/| /' conftest.$ac_ext >&5
7608
+ ac_cv_lib_Xmu_main=no
7611
+rm -f conftest.err conftest.$ac_objext \
7612
+ conftest$ac_exeext conftest.$ac_ext
7613
+LIBS=$ac_check_lib_save_LIBS
7615
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_main" >&5
7616
+echo "${ECHO_T}$ac_cv_lib_Xmu_main" >&6; }
7617
+if test $ac_cv_lib_Xmu_main = yes; then
7618
+ cat >>confdefs.h <<_ACEOF
7619
+#define HAVE_LIBXMU 1
7625
- echo "$ac_t""no" 1>&6
7628
-# Check whether --with-motif-include or --without-motif-include was given.
7630
+# Check whether --with-motif-include was given.
7631
if test "${with_motif_include+set}" = set; then
7632
- withval="$with_motif_include"
7633
- CPPFLAGS="-I${with_motif_include} ${CPPFLAGS}"
7634
+ withval=$with_motif_include; CPPFLAGS="-I${with_motif_include} ${CPPFLAGS}"
7637
-# Check whether --with-motif-lib or --without-motif-lib was given.
7639
+# Check whether --with-motif-lib was given.
7640
if test "${with_motif_lib+set}" = set; then
7641
- withval="$with_motif_lib"
7642
- LDFLAGS="-L${with_motif_lib} ${LDFLAGS}"
7643
+ withval=$with_motif_lib; LDFLAGS="-L${with_motif_lib} ${LDFLAGS}"
7646
-# Check whether --with-motif or --without-motif was given.
7648
+# Check whether --with-motif was given.
7649
if test "${with_motif+set}" = set; then
7650
- withval="$with_motif"
7651
- echo $ac_n "checking for main in -lXm""... $ac_c" 1>&6
7652
-echo "configure:2373: checking for main in -lXm" >&5
7653
-ac_lib_var=`echo Xm'_'main | sed 'y%./+-%__p_%'`
7654
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7655
- echo $ac_n "(cached) $ac_c" 1>&6
7656
+ withval=$with_motif;
7657
+{ echo "$as_me:$LINENO: checking for main in -lXm" >&5
7658
+echo $ECHO_N "checking for main in -lXm... $ECHO_C" >&6; }
7659
+if test "${ac_cv_lib_Xm_main+set}" = set; then
7660
+ echo $ECHO_N "(cached) $ECHO_C" >&6
7662
- ac_save_LIBS="$LIBS"
7663
+ ac_check_lib_save_LIBS=$LIBS
7665
-cat > conftest.$ac_ext <<EOF
7666
-#line 2381 "configure"
7667
-#include "confdefs.h"
7673
-if { (eval echo configure:2388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7675
- eval "ac_cv_lib_$ac_lib_var=yes"
7677
- echo "configure: failed program was:" >&5
7678
- cat conftest.$ac_ext >&5
7680
- eval "ac_cv_lib_$ac_lib_var=no"
7683
-LIBS="$ac_save_LIBS"
7686
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7687
- echo "$ac_t""yes" 1>&6
7688
- ac_tr_lib=HAVE_LIB`echo Xm | sed -e 's/^a-zA-Z0-9_/_/g' \
7689
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7690
- cat >> confdefs.h <<EOF
7691
-#define $ac_tr_lib 1
7693
+cat >conftest.$ac_ext <<_ACEOF
7696
+cat confdefs.h >>conftest.$ac_ext
7697
+cat >>conftest.$ac_ext <<_ACEOF
7698
+/* end confdefs.h. */
7709
+rm -f conftest.$ac_objext conftest$ac_exeext
7710
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7711
+ (eval $ac_link) 2>conftest.er1
7713
+ grep -v '^ *+' conftest.er1 >conftest.err
7714
+ rm -f conftest.er1
7715
+ cat conftest.err >&5
7716
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7717
+ (exit $ac_status); } &&
7718
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7719
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7720
+ (eval $ac_try) 2>&5
7722
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723
+ (exit $ac_status); }; } &&
7724
+ { ac_try='test -s conftest$ac_exeext'
7725
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7726
+ (eval $ac_try) 2>&5
7728
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7729
+ (exit $ac_status); }; }; then
7730
+ ac_cv_lib_Xm_main=yes
7732
+ echo "$as_me: failed program was:" >&5
7733
+sed 's/^/| /' conftest.$ac_ext >&5
7735
+ ac_cv_lib_Xm_main=no
7738
+rm -f conftest.err conftest.$ac_objext \
7739
+ conftest$ac_exeext conftest.$ac_ext
7740
+LIBS=$ac_check_lib_save_LIBS
7742
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xm_main" >&5
7743
+echo "${ECHO_T}$ac_cv_lib_Xm_main" >&6; }
7744
+if test $ac_cv_lib_Xm_main = yes; then
7745
+ cat >>confdefs.h <<_ACEOF
7746
+#define HAVE_LIBXM 1
7752
- echo "$ac_t""no" 1>&6
7756
- echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6
7757
-echo "configure:2417: checking for main in -lXaw" >&5
7758
-ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'`
7759
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7760
- echo $ac_n "(cached) $ac_c" 1>&6
7762
+{ echo "$as_me:$LINENO: checking for main in -lXaw" >&5
7763
+echo $ECHO_N "checking for main in -lXaw... $ECHO_C" >&6; }
7764
+if test "${ac_cv_lib_Xaw_main+set}" = set; then
7765
+ echo $ECHO_N "(cached) $ECHO_C" >&6
7767
- ac_save_LIBS="$LIBS"
7768
+ ac_check_lib_save_LIBS=$LIBS
7770
-cat > conftest.$ac_ext <<EOF
7771
-#line 2425 "configure"
7772
-#include "confdefs.h"
7778
-if { (eval echo configure:2432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7780
- eval "ac_cv_lib_$ac_lib_var=yes"
7782
- echo "configure: failed program was:" >&5
7783
- cat conftest.$ac_ext >&5
7785
- eval "ac_cv_lib_$ac_lib_var=no"
7788
-LIBS="$ac_save_LIBS"
7791
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7792
- echo "$ac_t""yes" 1>&6
7793
- ac_tr_lib=HAVE_LIB`echo Xaw | sed -e 's/^a-zA-Z0-9_/_/g' \
7794
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7795
- cat >> confdefs.h <<EOF
7796
-#define $ac_tr_lib 1
7798
+cat >conftest.$ac_ext <<_ACEOF
7801
+cat confdefs.h >>conftest.$ac_ext
7802
+cat >>conftest.$ac_ext <<_ACEOF
7803
+/* end confdefs.h. */
7814
+rm -f conftest.$ac_objext conftest$ac_exeext
7815
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7816
+ (eval $ac_link) 2>conftest.er1
7818
+ grep -v '^ *+' conftest.er1 >conftest.err
7819
+ rm -f conftest.er1
7820
+ cat conftest.err >&5
7821
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822
+ (exit $ac_status); } &&
7823
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7824
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7825
+ (eval $ac_try) 2>&5
7827
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7828
+ (exit $ac_status); }; } &&
7829
+ { ac_try='test -s conftest$ac_exeext'
7830
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7831
+ (eval $ac_try) 2>&5
7833
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7834
+ (exit $ac_status); }; }; then
7835
+ ac_cv_lib_Xaw_main=yes
7837
+ echo "$as_me: failed program was:" >&5
7838
+sed 's/^/| /' conftest.$ac_ext >&5
7840
+ ac_cv_lib_Xaw_main=no
7843
+rm -f conftest.err conftest.$ac_objext \
7844
+ conftest$ac_exeext conftest.$ac_ext
7845
+LIBS=$ac_check_lib_save_LIBS
7847
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw_main" >&5
7848
+echo "${ECHO_T}$ac_cv_lib_Xaw_main" >&6; }
7849
+if test $ac_cv_lib_Xaw_main = yes; then
7850
+ cat >>confdefs.h <<_ACEOF
7851
+#define HAVE_LIBXAW 1
7857
- echo "$ac_t""no" 1>&6
7862
-# Check whether --with-x11-resource or --without-x11-resource was given.
7864
+# Check whether --with-x11-resource was given.
7865
if test "${with_x11_resource+set}" = set; then
7866
- withval="$with_x11_resource"
7867
- XAD_DIR="${with_x11_resource}"
7868
+ withval=$with_x11_resource; XAD_DIR="${with_x11_resource}"
7872
-# Check whether --enable-dupscore or --disable-dupscore was given.
7873
+# Check whether --enable-dupscore was given.
7874
if test "${enable_dupscore+set}" = set; then
7875
- enableval="$enable_dupscore"
7876
- cat >> confdefs.h <<\EOF
7877
+ enableval=$enable_dupscore; cat >>confdefs.h <<\_ACEOF
7878
#define ALLOW_DUPSCORE 1
7885
-cat >> confdefs.h <<\EOF
7886
+cat >>confdefs.h <<\_ACEOF
7887
#define XSHISEN_VERSION "1.51"
7891
-CPPFLAGS="${CPPFLAGS} -DLIB_DIR=\\\"\$(XSHISENLIB)\\\" -DDAT_DIR=\\\"\$(XSHISENDAT)\\\""
7892
+CPPFLAGS="-DLIB_DIR=\\\"\$(XSHISENLIB)\\\" -DDAT_DIR=\\\"\$(XSHISENDAT)\\\" ${CPPFLAGS}"
7894
for i in lang/XShisen.ad.*; do
7895
lang="`echo $i | sed 's/^.*XShisen\.ad\.//'`"
7896
@@ -2499,406 +6315,1151 @@
7898
# Extract the first word of "mkdirhier", so it can be a program name with args.
7899
set dummy mkdirhier; ac_word=$2
7900
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7901
-echo "configure:2504: checking for $ac_word" >&5
7902
-if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then
7903
- echo $ac_n "(cached) $ac_c" 1>&6
7904
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7905
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7906
+if test "${ac_cv_path_MKDIR+set}" = set; then
7907
+ echo $ECHO_N "(cached) $ECHO_C" >&6
7912
+ [\\/]* | ?:[\\/]*)
7913
ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
7916
- ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a dos path.
7919
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7921
- for ac_dir in $ac_dummy; do
7922
- test -z "$ac_dir" && ac_dir=.
7923
- if test -f $ac_dir/$ac_word; then
7924
- ac_cv_path_MKDIR="$ac_dir/$ac_word"
7928
- IFS="$ac_save_ifs"
7929
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7930
+for as_dir in $PATH
7933
+ test -z "$as_dir" && as_dir=.
7934
+ for ac_exec_ext in '' $ac_executable_extensions; do
7935
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7936
+ ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
7937
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7944
test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="mkdir -p"
7948
-MKDIR="$ac_cv_path_MKDIR"
7949
+MKDIR=$ac_cv_path_MKDIR
7950
if test -n "$MKDIR"; then
7951
- echo "$ac_t""$MKDIR" 1>&6
7952
+ { echo "$as_me:$LINENO: result: $MKDIR" >&5
7953
+echo "${ECHO_T}$MKDIR" >&6; }
7955
- echo "$ac_t""no" 1>&6
7956
+ { echo "$as_me:$LINENO: result: no" >&5
7957
+echo "${ECHO_T}no" >&6; }
7965
-cat > confcache <<\EOF
7967
+ac_config_files="$ac_config_files Makefile"
7969
+cat >confcache <<\_ACEOF
7970
# This file is a shell script that caches the results of configure
7971
# tests run on this system so they can be shared between configure
7972
-# scripts and configure runs. It is not useful on other systems.
7973
-# If it contains results you don't want to keep, you may remove or edit it.
7974
+# scripts and configure runs, see configure's option --config-cache.
7975
+# It is not useful on other systems. If it contains results you don't
7976
+# want to keep, you may remove or edit it.
7978
-# By default, configure uses ./config.cache as the cache file,
7979
-# creating it if it does not exist already. You can give configure
7980
-# the --cache-file=FILE option to use a different cache file; that is
7981
-# what configure does when it calls configure scripts in
7982
-# subdirectories, so they share the cache.
7983
-# Giving --cache-file=/dev/null disables caching, for debugging configure.
7984
-# config.status only pays attention to the cache file if you give it the
7985
-# --recheck option to rerun configure.
7986
+# config.status only pays attention to the cache file if you give it
7987
+# the --recheck option to rerun configure.
7990
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
7991
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
7992
+# following values.
7996
# The following way of writing the cache mishandles newlines in values,
7997
# but we know of no workaround that is simple, portable, and efficient.
7998
-# So, don't put newlines in cache variables' values.
7999
+# So, we kill variables containing newlines.
8000
# Ultrix sh set writes to stderr and can't be redirected directly,
8001
# and sets the high bit in the cache file unless we assign to the vars.
8003
- case `(ac_space=' '; set | grep ac_space) 2>&1` in
8005
- # `set' does not quote correctly, so add quotes (double-quote substitution
8006
- # turns \\\\ into \\, and sed turns \\ into \).
8008
- -e "s/'/'\\\\''/g" \
8009
- -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8012
- # `set' quotes correctly as required by POSIX, so do not add quotes.
8013
- sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8016
-if cmp -s $cache_file confcache; then
8020
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8021
+ eval ac_val=\$$ac_var
8022
+ case $ac_val in #(
8024
+ case $ac_var in #(
8025
+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8026
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8028
+ case $ac_var in #(
8029
+ _ | IFS | as_nl) ;; #(
8030
+ *) $as_unset $ac_var ;;
8036
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
8037
+ *${as_nl}ac_space=\ *)
8038
+ # `set' does not quote correctly, so add quotes (double-quote
8039
+ # substitution turns \\\\ into \\, and sed turns \\ into \).
8042
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8045
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
8046
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8052
+ /^ac_cv_env_/b end
8055
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8057
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8059
+if diff $cache_file confcache >/dev/null 2>&1; then :; else
8060
if test -w $cache_file; then
8061
- echo "updating cache $cache_file"
8062
- cat confcache > $cache_file
8063
+ test "x$cache_file" != "x/dev/null" &&
8064
+ { echo "$as_me:$LINENO: updating cache $cache_file" >&5
8065
+echo "$as_me: updating cache $cache_file" >&6;}
8066
+ cat confcache >$cache_file
8068
- echo "not updating unwritable cache $cache_file"
8069
+ { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8070
+echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8075
-trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
8077
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8078
# Let make expand exec_prefix.
8079
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8081
-# Any assignment to VPATH causes Sun make to only execute
8082
-# the first set of double-colon rules, so remove it if not needed.
8083
-# If there is a colon in the path, we need to keep it.
8084
-if test "x$srcdir" = x.; then
8085
- ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
8087
+DEFS=-DHAVE_CONFIG_H
8089
-trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
8092
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8093
+ # 1. Remove the extension, and $U if already installed.
8094
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8095
+ ac_i=`echo "$ac_i" | sed "$ac_script"`
8096
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8097
+ # will be set to the directory where LIBOBJS objects are built.
8098
+ ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8099
+ ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8101
+LIBOBJS=$ac_libobjs
8103
-DEFS=-DHAVE_CONFIG_H
8104
+LTLIBOBJS=$ac_ltlibobjs
8106
-# Without the "./", some shells look in PATH for config.status.
8107
-: ${CONFIG_STATUS=./config.status}
8109
-echo creating $CONFIG_STATUS
8110
-rm -f $CONFIG_STATUS
8111
-cat > $CONFIG_STATUS <<EOF
8113
-# Generated automatically by configure.
8115
+: ${CONFIG_STATUS=./config.status}
8116
+ac_clean_files_save=$ac_clean_files
8117
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8118
+{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8119
+echo "$as_me: creating $CONFIG_STATUS" >&6;}
8120
+cat >$CONFIG_STATUS <<_ACEOF
8122
+# Generated by $as_me.
8123
# Run this file to recreate the current configuration.
8124
-# This directory was configured as follows,
8125
-# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8127
-# $0 $ac_configure_args
8129
# Compiler output produced by configure, useful for debugging
8130
-# configure, is in ./config.log if it exists.
8131
+# configure, is in config.log if it exists.
8133
-ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
8136
+ac_cs_recheck=false
8138
+SHELL=\${CONFIG_SHELL-$SHELL}
8141
+cat >>$CONFIG_STATUS <<\_ACEOF
8142
+## --------------------- ##
8143
+## M4sh Initialization. ##
8144
+## --------------------- ##
8146
+# Be Bourne compatible
8147
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8150
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8151
+ # is contrary to our usage. Disable this feature.
8152
+ alias -g '${1+"$@"}'='"$@"'
8153
+ setopt NO_GLOB_SUBST
8155
+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
8157
+BIN_SH=xpg4; export BIN_SH # for Tru64
8158
+DUALCASE=1; export DUALCASE # for MKS sh
8162
+# Avoid depending upon Character Ranges.
8163
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8164
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8165
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8166
+as_cr_digits='0123456789'
8167
+as_cr_alnum=$as_cr_Letters$as_cr_digits
8169
+# The user is always right.
8170
+if test "${PATH_SEPARATOR+set}" != set; then
8171
+ echo "#! /bin/sh" >conf$$.sh
8172
+ echo "exit 0" >>conf$$.sh
8173
+ chmod +x conf$$.sh
8174
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8175
+ PATH_SEPARATOR=';'
8182
+# Support unset when possible.
8183
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8191
+# We need space, tab and new line, in precisely that order. Quoting is
8192
+# there to prevent editors from complaining about space-tab.
8193
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8194
+# splitting by setting IFS to empty value.)
8199
+# Find who we are. Look in the path if we contain no directory separator.
8201
+ *[\\/]* ) as_myself=$0 ;;
8202
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8203
+for as_dir in $PATH
8205
- case "\$ac_option" in
8207
+ test -z "$as_dir" && as_dir=.
8208
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8214
+# We did not find ourselves, most probably we were run as `sh COMMAND'
8215
+# in which case we are not to be found in the path.
8216
+if test "x$as_myself" = x; then
8219
+if test ! -f "$as_myself"; then
8220
+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8221
+ { (exit 1); exit 1; }
8224
+# Work around bugs in pre-3.0 UWIN ksh.
8225
+for as_var in ENV MAIL MAILPATH
8226
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8234
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8235
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8236
+ LC_TELEPHONE LC_TIME
8238
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8239
+ eval $as_var=C; export $as_var
8241
+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8245
+# Required to use basename.
8246
+if expr a : '\(a\)' >/dev/null 2>&1 &&
8247
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
8253
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8254
+ as_basename=basename
8260
+# Name of the executable.
8261
+as_me=`$as_basename -- "$0" ||
8262
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8263
+ X"$0" : 'X\(//\)$' \| \
8264
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8266
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
8285
+ as_lineno_1=$LINENO
8286
+ as_lineno_2=$LINENO
8287
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
8288
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
8290
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8291
+ # uniformly replaced by the line number. The first 'sed' inserts a
8292
+ # line-number line after each line using $LINENO; the second 'sed'
8293
+ # does the real work. The second script uses 'N' to pair each
8294
+ # line-number line with the line containing $LINENO, and appends
8295
+ # trailing '-' during substitution so that $LINENO is not a special
8296
+ # case at line end.
8297
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8298
+ # scripts with optimization help from Paolo Bonzini. Blame Lee
8299
+ # E. McMahon (1931-1989) for sed's syntax. :-)
8311
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8314
+ ' >$as_me.lineno &&
8315
+ chmod +x "$as_me.lineno" ||
8316
+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8317
+ { (exit 1); exit 1; }; }
8319
+ # Don't try to exec as it changes $[0], causing all sort of problems
8320
+ # (the dirname of $[0] is not the place where we might find the
8321
+ # original and so on. Autoconf is especially sensitive to this).
8322
+ . "./$as_me.lineno"
8323
+ # Exit status is that of the last command.
8328
+if (dirname -- /) >/dev/null 2>&1; then
8329
+ as_dirname=dirname
8334
+ECHO_C= ECHO_N= ECHO_T=
8335
+case `echo -n x` in
8337
+ case `echo 'x\c'` in
8338
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8345
+if expr a : '\(a\)' >/dev/null 2>&1 &&
8346
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
8352
+rm -f conf$$ conf$$.exe conf$$.file
8353
+if test -d conf$$.dir; then
8354
+ rm -f conf$$.dir/conf$$.file
8360
+if ln -s conf$$.file conf$$ 2>/dev/null; then
8362
+ # ... but there are two gotchas:
8363
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8364
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8365
+ # In both cases, we have to default to `cp -p'.
8366
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8368
+elif ln conf$$.file conf$$ 2>/dev/null; then
8373
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8374
+rmdir conf$$.dir 2>/dev/null
8376
+if mkdir -p . 2>/dev/null; then
8379
+ test -d ./-p && rmdir ./-p
8383
+# Find out whether ``test -x'' works. Don't use a zero-byte file, as
8384
+# systems may use methods other than mode bits to determine executability.
8385
+cat >conf$$.file <<_ASEOF
8389
+chmod +x conf$$.file
8390
+if test -x conf$$.file >/dev/null 2>&1; then
8391
+ as_executable_p="test -x"
8397
+# Sed expression to map a string onto a valid CPP name.
8398
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8400
+# Sed expression to map a string onto a valid variable name.
8401
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8406
+# Save the log message, to keep $[0] and so on meaningful, and to
8407
+# report actual input values of CONFIG_FILES etc. instead of their
8408
+# values after options handling.
8410
+This file was extended by $as_me, which was
8411
+generated by GNU Autoconf 2.59d. Invocation command line was
8413
+ CONFIG_FILES = $CONFIG_FILES
8414
+ CONFIG_HEADERS = $CONFIG_HEADERS
8415
+ CONFIG_LINKS = $CONFIG_LINKS
8416
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
8419
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
8424
+cat >>$CONFIG_STATUS <<_ACEOF
8425
+# Files that config.status was made for.
8426
+config_files="$ac_config_files"
8427
+config_headers="$ac_config_headers"
8431
+cat >>$CONFIG_STATUS <<\_ACEOF
8433
+\`$as_me' instantiates files from templates according to the
8434
+current configuration.
8436
+Usage: $0 [OPTIONS] [FILE]...
8438
+ -h, --help print this help, then exit
8439
+ -V, --version print version number, then exit
8440
+ -q, --quiet do not print progress messages
8441
+ -d, --debug don't remove temporary files
8442
+ --recheck update $as_me by reconfiguring in the same conditions
8443
+ --file=FILE[:TEMPLATE]
8444
+ instantiate the configuration file FILE
8445
+ --header=FILE[:TEMPLATE]
8446
+ instantiate the configuration header FILE
8448
+Configuration files:
8451
+Configuration headers:
8454
+Report bugs to <bug-autoconf@gnu.org>."
8457
+cat >>$CONFIG_STATUS <<_ACEOF
8460
+configured by $0, generated by GNU Autoconf 2.59d,
8461
+ with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8463
+Copyright (C) 2006 Free Software Foundation, Inc.
8464
+This config.status script is free software; the Free Software Foundation
8465
+gives unlimited permission to copy, distribute and modify it."
8472
+cat >>$CONFIG_STATUS <<\_ACEOF
8473
+# If no file are specified by the user, then we need to provide default
8474
+# value. By we need to know if files were specified by the user.
8480
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
8481
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8491
+ case $ac_option in
8492
+ # Handling of the options.
8493
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8494
- echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
8495
- exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
8496
- -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
8497
- echo "$CONFIG_STATUS generated by autoconf version 2.13"
8499
- -help | --help | --hel | --he | --h)
8500
- echo "\$ac_cs_usage"; exit 0 ;;
8501
- *) echo "\$ac_cs_usage"; exit 1 ;;
8502
+ ac_cs_recheck=: ;;
8503
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8504
+ echo "$ac_cs_version"; exit ;;
8505
+ --debug | --debu | --deb | --de | --d | -d )
8507
+ --file | --fil | --fi | --f )
8509
+ CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8510
+ ac_need_defaults=false;;
8511
+ --header | --heade | --head | --hea )
8513
+ CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8514
+ ac_need_defaults=false;;
8516
+ # Conflict between --help and --header
8517
+ { echo "$as_me: error: ambiguous option: $1
8518
+Try \`$0 --help' for more information." >&2
8519
+ { (exit 1); exit 1; }; };;
8520
+ --help | --hel | -h )
8521
+ echo "$ac_cs_usage"; exit ;;
8522
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8523
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
8526
+ # This is an error.
8527
+ -*) { echo "$as_me: error: unrecognized option: $1
8528
+Try \`$0 --help' for more information." >&2
8529
+ { (exit 1); exit 1; }; } ;;
8531
+ *) ac_config_targets="$ac_config_targets $1"
8532
+ ac_need_defaults=false ;;
8538
-ac_given_srcdir=$srcdir
8539
-ac_given_INSTALL="$INSTALL"
8540
+ac_configure_extra_args=
8542
-trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
8544
-cat >> $CONFIG_STATUS <<EOF
8546
-# Protect against being on the right side of a sed subst in config.status.
8547
-sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
8548
- s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
8552
-s%@CFLAGS@%$CFLAGS%g
8553
-s%@CPPFLAGS@%$CPPFLAGS%g
8554
-s%@CXXFLAGS@%$CXXFLAGS%g
8555
-s%@FFLAGS@%$FFLAGS%g
8557
-s%@LDFLAGS@%$LDFLAGS%g
8559
-s%@exec_prefix@%$exec_prefix%g
8560
-s%@prefix@%$prefix%g
8561
-s%@program_transform_name@%$program_transform_name%g
8562
-s%@bindir@%$bindir%g
8563
-s%@sbindir@%$sbindir%g
8564
-s%@libexecdir@%$libexecdir%g
8565
-s%@datadir@%$datadir%g
8566
-s%@sysconfdir@%$sysconfdir%g
8567
-s%@sharedstatedir@%$sharedstatedir%g
8568
-s%@localstatedir@%$localstatedir%g
8569
-s%@libdir@%$libdir%g
8570
-s%@includedir@%$includedir%g
8571
-s%@oldincludedir@%$oldincludedir%g
8572
-s%@infodir@%$infodir%g
8573
-s%@mandir@%$mandir%g
8576
-s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
8577
-s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
8578
-s%@INSTALL_DATA@%$INSTALL_DATA%g
8580
-s%@X_CFLAGS@%$X_CFLAGS%g
8581
-s%@X_PRE_LIBS@%$X_PRE_LIBS%g
8582
-s%@X_LIBS@%$X_LIBS%g
8583
-s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
8585
-s%@XAD_DIR@%$XAD_DIR%g
8591
-cat >> $CONFIG_STATUS <<\EOF
8593
-# Split the substitutions into bite-sized pieces for seds with
8594
-# small command number limits, like on Digital OSF/1 and HP-UX.
8595
-ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
8596
-ac_file=1 # Number of current file.
8597
-ac_beg=1 # First line for current file.
8598
-ac_end=$ac_max_sed_cmds # Line after last line for current file.
8601
-while $ac_more_lines; do
8602
- if test $ac_beg -gt 1; then
8603
- sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
8605
- sed "${ac_end}q" conftest.subs > conftest.s$ac_file
8607
- if test ! -s conftest.s$ac_file; then
8608
- ac_more_lines=false
8609
- rm -f conftest.s$ac_file
8611
- if test -z "$ac_sed_cmds"; then
8612
- ac_sed_cmds="sed -f conftest.s$ac_file"
8614
- ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
8616
- ac_file=`expr $ac_file + 1`
8618
- ac_end=`expr $ac_end + $ac_max_sed_cmds`
8621
-if test -z "$ac_sed_cmds"; then
8626
-cat >> $CONFIG_STATUS <<EOF
8628
-CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
8630
-cat >> $CONFIG_STATUS <<\EOF
8631
-for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
8632
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8633
- case "$ac_file" in
8634
- *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
8635
- ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8636
- *) ac_file_in="${ac_file}.in" ;;
8637
+if $ac_cs_silent; then
8639
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
8643
+cat >>$CONFIG_STATUS <<_ACEOF
8644
+if \$ac_cs_recheck; then
8645
+ echo "running CONFIG_SHELL=$SHELL $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8646
+ CONFIG_SHELL=$SHELL
8647
+ export CONFIG_SHELL
8648
+ exec $SHELL "$0" $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8652
+cat >>$CONFIG_STATUS <<\_ACEOF
8656
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8657
+## Running $as_me. ##
8663
+cat >>$CONFIG_STATUS <<_ACEOF
8666
+cat >>$CONFIG_STATUS <<\_ACEOF
8668
+# Handling of arguments.
8669
+for ac_config_target in $ac_config_targets
8671
+ case $ac_config_target in
8672
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8673
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8675
+ *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8676
+echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8677
+ { (exit 1); exit 1; }; };;
8682
+# If the user did not use the arguments to specify the items to instantiate,
8683
+# then the envvar interface is used. Set only those that are not.
8684
+# We use the long form for the default assignment because of an extremely
8685
+# bizarre bug on SunOS 4.1.3.
8686
+if $ac_need_defaults; then
8687
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8688
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8691
+# Have a temporary directory for convenience. Make it in the build tree
8692
+# simply because there is no reason against having it here, and in addition,
8693
+# creating and moving files from /tmp can sometimes cause problems.
8694
+# Hook for its removal unless debugging.
8695
+# Note that there is a small window in which the directory will not be cleaned:
8696
+# after its creation but before its name has been assigned to `$tmp'.
8700
+ trap 'exit_status=$?
8701
+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8703
+ trap '{ (exit 1); exit 1; }' 1 2 13 15
8705
+# Create a (secure) tmp directory for tmp files.
8708
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8709
+ test -n "$tmp" && test -d "$tmp"
8712
+ tmp=./conf$$-$RANDOM
8713
+ (umask 077 && mkdir "$tmp")
8716
+ echo "$me: cannot create a temporary directory in ." >&2
8717
+ { (exit 1); exit 1; }
8721
+# Set up the sed scripts for CONFIG_FILES section.
8724
+# No need to generate the scripts if there are no CONFIG_FILES.
8725
+# This happens for instance when ./config.status config.h
8726
+if test -n "$CONFIG_FILES"; then
8733
+for ac_last_try in false false false false false :; do
8734
+ cat >conf$$subs.sed <<_ACEOF
8735
+SHELL!$SHELL$ac_delim
8736
+PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
8737
+PACKAGE_NAME!$PACKAGE_NAME$ac_delim
8738
+PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
8739
+PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
8740
+PACKAGE_STRING!$PACKAGE_STRING$ac_delim
8741
+PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
8742
+exec_prefix!$exec_prefix$ac_delim
8743
+prefix!$prefix$ac_delim
8744
+program_transform_name!$program_transform_name$ac_delim
8745
+bindir!$bindir$ac_delim
8746
+sbindir!$sbindir$ac_delim
8747
+libexecdir!$libexecdir$ac_delim
8748
+datarootdir!$datarootdir$ac_delim
8749
+datadir!$datadir$ac_delim
8750
+sysconfdir!$sysconfdir$ac_delim
8751
+sharedstatedir!$sharedstatedir$ac_delim
8752
+localstatedir!$localstatedir$ac_delim
8753
+includedir!$includedir$ac_delim
8754
+oldincludedir!$oldincludedir$ac_delim
8755
+docdir!$docdir$ac_delim
8756
+infodir!$infodir$ac_delim
8757
+htmldir!$htmldir$ac_delim
8758
+dvidir!$dvidir$ac_delim
8759
+pdfdir!$pdfdir$ac_delim
8760
+psdir!$psdir$ac_delim
8761
+libdir!$libdir$ac_delim
8762
+localedir!$localedir$ac_delim
8763
+mandir!$mandir$ac_delim
8764
+DEFS!$DEFS$ac_delim
8765
+ECHO_C!$ECHO_C$ac_delim
8766
+ECHO_N!$ECHO_N$ac_delim
8767
+ECHO_T!$ECHO_T$ac_delim
8768
+LIBS!$LIBS$ac_delim
8769
+build_alias!$build_alias$ac_delim
8770
+host_alias!$host_alias$ac_delim
8771
+target_alias!$target_alias$ac_delim
8772
+build!$build$ac_delim
8773
+build_cpu!$build_cpu$ac_delim
8774
+build_vendor!$build_vendor$ac_delim
8775
+build_os!$build_os$ac_delim
8776
+host!$host$ac_delim
8777
+host_cpu!$host_cpu$ac_delim
8778
+host_vendor!$host_vendor$ac_delim
8779
+host_os!$host_os$ac_delim
8780
+target!$target$ac_delim
8781
+target_cpu!$target_cpu$ac_delim
8782
+target_vendor!$target_vendor$ac_delim
8783
+target_os!$target_os$ac_delim
8785
+CFLAGS!$CFLAGS$ac_delim
8786
+LDFLAGS!$LDFLAGS$ac_delim
8787
+CPPFLAGS!$CPPFLAGS$ac_delim
8788
+ac_ct_CC!$ac_ct_CC$ac_delim
8789
+EXEEXT!$EXEEXT$ac_delim
8790
+OBJEXT!$OBJEXT$ac_delim
8792
+CXXFLAGS!$CXXFLAGS$ac_delim
8793
+ac_ct_CXX!$ac_ct_CXX$ac_delim
8794
+INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
8795
+INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
8796
+INSTALL_DATA!$INSTALL_DATA$ac_delim
8798
+GREP!$GREP$ac_delim
8799
+EGREP!$EGREP$ac_delim
8800
+XMKMF!$XMKMF$ac_delim
8801
+X_CFLAGS!$X_CFLAGS$ac_delim
8802
+X_PRE_LIBS!$X_PRE_LIBS$ac_delim
8803
+X_LIBS!$X_LIBS$ac_delim
8804
+X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
8805
+MKDIR!$MKDIR$ac_delim
8806
+XAD_DIR!$XAD_DIR$ac_delim
8807
+LANGS!$LANGS$ac_delim
8808
+LIBOBJS!$LIBOBJS$ac_delim
8809
+LTLIBOBJS!$LTLIBOBJS$ac_delim
8812
+ if test `grep -c "$ac_delim\$" conf$$subs.sed` = 75; then
8814
+ elif $ac_last_try; then
8815
+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8816
+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8817
+ { (exit 1); exit 1; }; }
8819
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8824
+if grep '^CEOF$' conf$$subs.sed >/dev/null; then
8825
+ ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
8826
+ ac_eof=`expr 0$ac_eof + 1`
8829
+cat >>$CONFIG_STATUS <<_ACEOF
8830
+cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8831
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
8834
+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8835
+s/^/s,@/; s/!/@,|#_!!_#|/
8838
+s/'"$ac_delim"'$/,g/; t
8840
+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8841
+' >>$CONFIG_STATUS <conf$$subs.sed
8842
+rm -f conf$$subs.sed
8843
+cat >>$CONFIG_STATUS <<_ACEOF
8850
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
8851
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8852
+# trailing colons and then remove the whole line if VPATH becomes empty
8853
+# (actually we leave an empty line to preserve line numbers).
8854
+if test "x$srcdir" = x.; then
8855
+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
8856
+s/:*\$(srcdir):*/:/
8857
+s/:*\${srcdir}:*/:/
8859
+s/^\([^=]*=[ ]*\):*/\1/
8865
- # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
8866
+cat >>$CONFIG_STATUS <<\_ACEOF
8867
+fi # test -n "$CONFIG_FILES"
8869
- # Remove last slash and all that follows it. Not all systems have dirname.
8870
- ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
8871
- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
8872
- # The file is in a subdirectory.
8873
- test ! -d "$ac_dir" && mkdir "$ac_dir"
8874
- ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
8875
- # A "../" for each directory in $ac_dir_suffix.
8876
- ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
8878
- ac_dir_suffix= ac_dots=
8881
- case "$ac_given_srcdir" in
8883
- if test -z "$ac_dots"; then top_srcdir=.
8884
- else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
8885
- /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
8886
- *) # Relative path.
8887
- srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
8888
- top_srcdir="$ac_dots$ac_given_srcdir" ;;
8890
+for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
8893
+ :[FHLC]) ac_mode=$ac_tag; continue;;
8895
+ case $ac_mode$ac_tag in
8897
+ :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8898
+echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8899
+ { (exit 1); exit 1; }; };;
8900
+ :[FH]-) ac_tag=-:-;;
8901
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8912
+ :L) ac_source=$1;;
8918
+ -) ac_f="$tmp/stdin";;
8919
+ *) # Look for the file first in the build tree, then in the source tree
8920
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
8921
+ # because $ac_f cannot contain `:'.
8922
+ test -f "$ac_f" ||
8925
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8927
+ { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8928
+echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8929
+ { (exit 1); exit 1; }; };;
8931
+ ac_file_inputs="$ac_file_inputs $ac_f"
8934
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
8935
+ # use $as_me), people would be surprised to read:
8936
+ # /* config.h. Generated by config.status. */
8937
+ configure_input="Generated from "`IFS=:
8938
+ echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8939
+ if test x"$ac_file" != x-; then
8940
+ configure_input="$ac_file. $configure_input"
8941
+ { echo "$as_me:$LINENO: creating $ac_file" >&5
8942
+echo "$as_me: creating $ac_file" >&6;}
8945
- case "$ac_given_INSTALL" in
8946
- [/$]*) INSTALL="$ac_given_INSTALL" ;;
8947
- *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
8949
+ *:-:* | *:-) cat >"$tmp/stdin";;
8954
- echo creating "$ac_file"
8956
- configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
8957
- case "$ac_file" in
8958
- *Makefile*) ac_comsub="1i\\
8959
-# $configure_input" ;;
8961
+ ac_dir=`$as_dirname -- "$ac_file" ||
8962
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8963
+ X"$ac_file" : 'X\(//\)[^/]' \| \
8964
+ X"$ac_file" : 'X\(//\)$' \| \
8965
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8967
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8971
+ /^X\(\/\/\)[^/].*/{
8984
+ { as_dir="$ac_dir"
8985
+ case $as_dir in #(
8986
+ -*) as_dir=./$as_dir;;
8988
+ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8991
+ case $as_dir in #(
8992
+ *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8993
+ *) as_qdir=$as_dir;;
8995
+ as_dirs="'$as_qdir' $as_dirs"
8996
+ as_dir=`$as_dirname -- "$as_dir" ||
8997
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8998
+ X"$as_dir" : 'X\(//\)[^/]' \| \
8999
+ X"$as_dir" : 'X\(//\)$' \| \
9000
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9002
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9006
+ /^X\(\/\/\)[^/].*/{
9019
+ test -d "$as_dir" && break
9021
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
9022
+ } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9023
+echo "$as_me: error: cannot create directory $as_dir" >&2;}
9024
+ { (exit 1); exit 1; }; }; }
9028
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9030
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9031
+ # A ".." for each directory in $ac_dir_suffix.
9032
+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9033
+ case $ac_top_builddir_sub in
9034
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9035
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9038
+ac_abs_top_builddir=$ac_pwd
9039
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
9040
+# for backward compatibility:
9041
+ac_top_builddir=$ac_top_build_prefix
9044
+ .) # We are building in place.
9046
+ ac_top_srcdir=$ac_top_builddir_sub
9047
+ ac_abs_top_srcdir=$ac_pwd ;;
9048
+ [\\/]* | ?:[\\/]* ) # Absolute name.
9049
+ ac_srcdir=$srcdir$ac_dir_suffix;
9050
+ ac_top_srcdir=$srcdir
9051
+ ac_abs_top_srcdir=$srcdir ;;
9052
+ *) # Relative name.
9053
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9054
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
9055
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9057
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9059
- ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
9060
- sed -e "$ac_comsub
9061
-s%@configure_input@%$configure_input%g
9062
-s%@srcdir@%$srcdir%g
9063
-s%@top_srcdir@%$top_srcdir%g
9064
-s%@INSTALL@%$INSTALL%g
9065
-" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
9069
-# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
9070
-# NAME is the cpp macro being defined and VALUE is the value it is being given.
9072
-# ac_d sets the value in "#define NAME VALUE" lines.
9073
-ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9074
-ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
9077
-# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
9078
-ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9079
-ac_uB='\([ ]\)%\1#\2define\3'
9082
-# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9083
-ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9084
-ac_eB='$%\1#\2define\3'
9088
-if test "${CONFIG_HEADERS+set}" != set; then
9090
-cat >> $CONFIG_STATUS <<EOF
9091
- CONFIG_HEADERS="config.h"
9093
-cat >> $CONFIG_STATUS <<\EOF
9095
-for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
9096
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9097
- case "$ac_file" in
9098
- *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
9099
- ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
9100
- *) ac_file_in="${ac_file}.in" ;;
9108
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9109
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9113
- echo creating $ac_file
9114
+cat >>$CONFIG_STATUS <<\_ACEOF
9115
+# If the template does not know about datarootdir, expand it.
9116
+# FIXME: This hack should be removed a few years after 2.60.
9117
+ac_datarootdir_hack=
9119
+case `sed -n '/datarootdir/ {
9128
+' $ac_file_inputs` in
9130
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9131
+ { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9132
+echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9134
+cat >>$CONFIG_STATUS <<_ACEOF
9135
+ ac_datarootdir_hack='
9136
+ s&@datadir@&$datadir&g
9137
+ s&@docdir@&$docdir&g
9138
+ s&@infodir@&$infodir&g
9139
+ s&@localedir@&$localedir&g
9140
+ s&@mandir@&$mandir&g
9141
+ s&\\\${datarootdir}&$datarootdir&g' ;;
9145
- rm -f conftest.frag conftest.in conftest.out
9146
- ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
9147
- cat $ac_file_inputs > conftest.in
9151
-# Transform confdefs.h into a sed script conftest.vals that substitutes
9152
-# the proper values into config.h.in to produce config.h. And first:
9153
-# Protect against being on the right side of a sed subst in config.status.
9154
-# Protect against being in an unquoted here document in config.status.
9155
-rm -f conftest.vals
9156
-cat > conftest.hdr <<\EOF
9159
-s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
9163
-sed -n -f conftest.hdr confdefs.h > conftest.vals
9165
+# Neutralize VPATH when `$srcdir' = `.'.
9166
+# Shell code in configure.ac might set extrasub.
9167
+# FIXME: do we really want to maintain this feature?
9168
+cat >>$CONFIG_STATUS <<_ACEOF
9172
+cat >>$CONFIG_STATUS <<\_ACEOF
9174
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9175
+s&@configure_input@&$configure_input&;t t
9176
+s&@top_builddir@&$ac_top_builddir_sub&;t t
9177
+s&@srcdir@&$ac_srcdir&;t t
9178
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
9179
+s&@top_srcdir@&$ac_top_srcdir&;t t
9180
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9181
+s&@builddir@&$ac_builddir&;t t
9182
+s&@abs_builddir@&$ac_abs_builddir&;t t
9183
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9184
+s&@INSTALL@&$ac_INSTALL&;t t
9185
+$ac_datarootdir_hack
9186
+" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
9188
+ rm -f "$tmp/stdin"
9190
+ -) cat "$tmp/out"; rm -f "$tmp/out";;
9191
+ *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9199
+ # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9200
+ # NAME is the cpp macro being defined, VALUE is the value it is being given.
9201
+ # PARAMS is the parameter list in the macro definition--in most cases, it's
9202
+ # just an empty string.
9204
+ ac_dA='s,^\([ ]*#[ ]*\)[^ ]*\([ ][ ]*'
9205
+ ac_dB='\)[ (].*$,\1define\2'
9209
+ ac_word_regexp=[_$as_cr_Letters][_$as_cr_alnum]*
9212
+# Transform confdefs.h into a sed script `conftest.defines', that
9213
+# substitutes the proper values into config.h.in to produce config.h.
9214
+rm -f conftest.defines conftest.tail
9215
+# First, append a space to every undef/define line, to ease matching.
9216
+echo 's/$/ /' >conftest.defines
9217
+# Then, protect against being on the right side of a sed subst, or in
9218
+# an unquoted here document, in config.status. If some macros were
9219
+# called several times there might be several #defines for the same
9220
+# symbol, which is useless. But do not sort them, since the last
9221
+# AC_DEFINE must be honored.
9222
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9227
+ s/^[ ]*#[ ]*define[ ][ ]*//
9233
+ s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/${ac_dA}\1$ac_dB\2${ac_dC}\3$ac_dD/p
9234
+ s/^\('"$ac_word_re"'\)[ ]*\(.*\)/${ac_dA}\1$ac_dB${ac_dC}\2$ac_dD/p
9235
+ ' >>conftest.defines
9237
-# This sed command replaces #undef with comments. This is necessary, for
9238
+# Remove the space that was appended to ease matching.
9239
+# Then replace #undef with comments. This is necessary, for
9240
# example, in the case of _POSIX_SOURCE, which is predefined and required
9241
# on some systems where configure will not decide to define it.
9242
-cat >> conftest.vals <<\EOF
9243
-s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
9246
-# Break up conftest.vals because some shells have a limit on
9247
-# the size of here documents, and old seds have small limits too.
9248
+# (The regexp can be short, since the line contains either #define or #undef.)
9250
+s,^[ #]*u.*,/* & */,' >>conftest.defines
9252
+# Break up conftest.defines:
9253
+ac_max_sed_lines=96
9255
+# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9256
+# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9257
+# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9259
+ac_in='$ac_file_inputs'
9260
+ac_out='"$tmp/out1"'
9261
+ac_nxt='"$tmp/out2"'
9263
-rm -f conftest.tail
9266
- ac_lines=`grep -c . conftest.vals`
9267
- # grep -c gives empty output for an empty file on some AIX systems.
9268
- if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
9269
- # Write a limited-size here document to conftest.frag.
9270
- echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
9271
- sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
9272
+ # Write a here document:
9273
+ echo ' # First, check the format of the line:
9274
+ cat >"$tmp/defines.sed" <<CEOF
9275
+/^[ ]*#[ ]*undef[ ][ ]*$ac_word_regexp[ ]*$/b def
9276
+/^[ ]*#[ ]*define[ ][ ]*$ac_word_regexp[( ]/b def
9278
+:def' >>$CONFIG_STATUS
9279
+ sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
9281
- sed -f conftest.frag conftest.in > conftest.out
9283
- mv conftest.out conftest.in
9284
-' >> $CONFIG_STATUS
9285
- sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
9286
- rm -f conftest.vals
9287
- mv conftest.tail conftest.vals
9289
-rm -f conftest.vals
9291
-cat >> $CONFIG_STATUS <<\EOF
9292
- rm -f conftest.frag conftest.h
9293
- echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
9294
- cat conftest.in >> conftest.h
9296
- if cmp -s $ac_file conftest.h 2>/dev/null; then
9297
- echo "$ac_file is unchanged"
9300
- # Remove last slash and all that follows it. Not all systems have dirname.
9301
- ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
9302
- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
9303
- # The file is in a subdirectory.
9304
- test ! -d "$ac_dir" && mkdir "$ac_dir"
9305
+ sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9306
+ ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
9307
+ sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
9308
+ grep . conftest.tail >/dev/null || break
9309
+ rm -f conftest.defines
9310
+ mv conftest.tail conftest.defines
9312
+rm -f conftest.defines conftest.tail
9314
+echo "ac_result=$ac_in" >>$CONFIG_STATUS
9315
+cat >>$CONFIG_STATUS <<\_ACEOF
9316
+ if test x"$ac_file" != x-; then
9317
+ echo "/* $configure_input */" >"$tmp/config.h"
9318
+ cat "$ac_result" >>"$tmp/config.h"
9319
+ if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
9320
+ { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9321
+echo "$as_me: $ac_file is unchanged" >&6;}
9324
+ mv "$tmp/config.h" $ac_file
9327
- mv conftest.h $ac_file
9329
+ echo "/* $configure_input */"
9333
+ rm -f "$tmp/out12"
9338
-cat >> $CONFIG_STATUS <<EOF
9342
-cat >> $CONFIG_STATUS <<\EOF
9348
+{ (exit 0); exit 0; }
9350
chmod +x $CONFIG_STATUS
9351
-rm -fr confdefs* $ac_clean_files
9352
-test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
9353
+ac_clean_files=$ac_clean_files_save
9356
+# configure is writing to config.log, and then calls config.status.
9357
+# config.status does its own redirection, appending to config.log.
9358
+# Unfortunately, on DOS this fails, as config.log is still kept open
9359
+# by configure, so config.status won't be able to write to it; its
9360
+# output is simply discarded. So we exec the FD to /dev/null,
9361
+# effectively closing config.log, so it can be properly (re)opened and
9362
+# appended to by config.status. When coming back to configure, we
9363
+# need to make the FD available again.
9364
+if test "$no_create" != yes; then
9366
+ ac_config_status_args=
9367
+ test "$silent" = yes &&
9368
+ ac_config_status_args="$ac_config_status_args --quiet"
9370
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9371
+ exec 5>>config.log
9372
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9373
+ # would make configure fail if this is the last instruction.
9374
+ $ac_cs_success || { (exit 1); exit 1; }
9377
diff -Nur xshisen-1.51-1/configure.in xshisen-1.51-1.new/configure.in
9378
--- xshisen-1.51-1/configure.in 2002-09-03 14:38:45.000000000 +0800
9379
+++ xshisen-1.51-1.new/configure.in 2006-05-21 14:36:47.000000000 +0800
9381
dnl Process this file with autoconf to produce a configure script.
9385
+AC_CANONICAL_TARGET
9387
dnl Check for C++ and C compiler
9391
dnl Data directory and version
9392
AC_DEFINE(XSHISEN_VERSION, "1.51")
9393
-CPPFLAGS="${CPPFLAGS} -DLIB_DIR=\\\"\$(XSHISENLIB)\\\" -DDAT_DIR=\\\"\$(XSHISENDAT)\\\""
9394
+CPPFLAGS="-DLIB_DIR=\\\"\$(XSHISENLIB)\\\" -DDAT_DIR=\\\"\$(XSHISENDAT)\\\" ${CPPFLAGS}"
9396
dnl Check for internationalized resources
9397
[for i in lang/XShisen.ad.*; do