1 | #! /bin/sh |
1 | #! /bin/sh |
|
|
2 | |
2 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by Autoconf 2.52. |
4 | # Generated automatically using autoconf version 2.13 |
|
|
5 | # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
4 | # |
6 | # |
5 | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
|
|
6 | # Free Software Foundation, Inc. |
|
|
7 | # This configure script is free software; the Free Software Foundation |
7 | # This configure script is free software; the Free Software Foundation |
8 | # gives unlimited permission to copy, distribute and modify it. |
8 | # gives unlimited permission to copy, distribute and modify it. |
9 | |
9 | |
10 | # Avoid depending upon Character Ranges. |
10 | # Defaults: |
11 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
11 | ac_help= |
12 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
|
13 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
|
14 | as_cr_digits='0123456789' |
|
|
15 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
|
16 | |
|
|
17 | # Sed expression to map a string onto a valid variable name. |
|
|
18 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
|
|
19 | |
|
|
20 | # Sed expression to map a string onto a valid CPP name. |
|
|
21 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
|
|
22 | |
|
|
23 | # Be Bourne compatible |
|
|
24 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
|
25 | emulate sh |
|
|
26 | NULLCMD=: |
|
|
27 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
|
|
28 | set -o posix |
|
|
29 | fi |
|
|
30 | |
|
|
31 | # Name of the executable. |
|
|
32 | as_me=`echo "$0" |sed 's,.*[\\/],,'` |
|
|
33 | |
|
|
34 | if expr a : '\(a\)' >/dev/null 2>&1; then |
|
|
35 | as_expr=expr |
|
|
36 | else |
|
|
37 | as_expr=false |
|
|
38 | fi |
|
|
39 | |
|
|
40 | rm -f conf$$ conf$$.exe conf$$.file |
|
|
41 | echo >conf$$.file |
|
|
42 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
|
43 | # We could just check for DJGPP; but this test a) works b) is more generic |
|
|
44 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
|
|
45 | if test -f conf$$.exe; then |
|
|
46 | # Don't use ln at all; we don't have any links |
|
|
47 | as_ln_s='cp -p' |
|
|
48 | else |
|
|
49 | as_ln_s='ln -s' |
|
|
50 | fi |
|
|
51 | elif ln conf$$.file conf$$ 2>/dev/null; then |
|
|
52 | as_ln_s=ln |
|
|
53 | else |
|
|
54 | as_ln_s='cp -p' |
|
|
55 | fi |
|
|
56 | rm -f conf$$ conf$$.exe conf$$.file |
|
|
57 | |
|
|
58 | as_executable_p="test -f" |
|
|
59 | |
|
|
60 | # Support unset when possible. |
|
|
61 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
|
|
62 | as_unset=unset |
|
|
63 | else |
|
|
64 | as_unset=false |
|
|
65 | fi |
|
|
66 | |
|
|
67 | # NLS nuisances. |
|
|
68 | $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } |
|
|
69 | $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } |
|
|
70 | $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } |
|
|
71 | $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } |
|
|
72 | $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } |
|
|
73 | $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } |
|
|
74 | $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } |
|
|
75 | $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } |
|
|
76 | |
|
|
77 | # IFS |
|
|
78 | # We need space, tab and new line, in precisely that order. |
|
|
79 | as_nl=' |
|
|
80 | ' |
|
|
81 | IFS=" $as_nl" |
|
|
82 | |
|
|
83 | # CDPATH. |
|
|
84 | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
|
|
85 | |
|
|
86 | # Name of the host. |
|
|
87 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
|
|
88 | # so uname gets run too. |
|
|
89 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
|
90 | |
|
|
91 | exec 6>&1 |
|
|
92 | |
|
|
93 | # |
|
|
94 | # Initializations. |
|
|
95 | # |
|
|
96 | ac_default_prefix=/usr/local |
12 | ac_default_prefix=/usr/local |
97 | cross_compiling=no |
13 | # Any additions from configure.in: |
98 | subdirs= |
|
|
99 | MFLAGS= MAKEFLAGS= |
|
|
100 | SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
101 | |
|
|
102 | # Maximum number of lines to put in a shell here document. |
|
|
103 | # This variable seems obsolete. It should probably be removed, and |
|
|
104 | # only ac_max_sed_lines should be used. |
|
|
105 | : ${ac_max_here_lines=38} |
|
|
106 | |
|
|
107 | ac_unique_file="uulib.c" |
|
|
108 | # Factoring default headers for most tests. |
|
|
109 | ac_includes_default="\ |
|
|
110 | #include <stdio.h> |
|
|
111 | #if HAVE_SYS_TYPES_H |
|
|
112 | # include <sys/types.h> |
|
|
113 | #endif |
|
|
114 | #if HAVE_SYS_STAT_H |
|
|
115 | # include <sys/stat.h> |
|
|
116 | #endif |
|
|
117 | #if STDC_HEADERS |
|
|
118 | # include <stdlib.h> |
|
|
119 | # include <stddef.h> |
|
|
120 | #else |
|
|
121 | # if HAVE_STDLIB_H |
|
|
122 | # include <stdlib.h> |
|
|
123 | # endif |
|
|
124 | #endif |
|
|
125 | #if HAVE_STRING_H |
|
|
126 | # if !STDC_HEADERS && HAVE_MEMORY_H |
|
|
127 | # include <memory.h> |
|
|
128 | # endif |
|
|
129 | # include <string.h> |
|
|
130 | #endif |
|
|
131 | #if HAVE_STRINGS_H |
|
|
132 | # include <strings.h> |
|
|
133 | #endif |
|
|
134 | #if HAVE_INTTYPES_H |
|
|
135 | # include <inttypes.h> |
|
|
136 | #else |
|
|
137 | # if HAVE_STDINT_H |
|
|
138 | # include <stdint.h> |
|
|
139 | # endif |
|
|
140 | #endif |
|
|
141 | #if HAVE_UNISTD_H |
|
|
142 | # include <unistd.h> |
|
|
143 | #endif" |
|
|
144 | |
14 | |
145 | # Initialize some variables set by options. |
15 | # Initialize some variables set by options. |
146 | ac_init_help= |
|
|
147 | ac_init_version=false |
|
|
148 | # The variables have the same names as the options, with |
16 | # The variables have the same names as the options, with |
149 | # dashes changed to underlines. |
17 | # dashes changed to underlines. |
150 | cache_file=/dev/null |
18 | build=NONE |
|
|
19 | cache_file=./config.cache |
151 | exec_prefix=NONE |
20 | exec_prefix=NONE |
|
|
21 | host=NONE |
152 | no_create= |
22 | no_create= |
|
|
23 | nonopt=NONE |
153 | no_recursion= |
24 | no_recursion= |
154 | prefix=NONE |
25 | prefix=NONE |
155 | program_prefix=NONE |
26 | program_prefix=NONE |
156 | program_suffix=NONE |
27 | program_suffix=NONE |
157 | program_transform_name=s,x,x, |
28 | program_transform_name=s,x,x, |
158 | silent= |
29 | silent= |
159 | site= |
30 | site= |
160 | srcdir= |
31 | srcdir= |
|
|
32 | target=NONE |
161 | verbose= |
33 | verbose= |
162 | x_includes=NONE |
34 | x_includes=NONE |
163 | x_libraries=NONE |
35 | x_libraries=NONE |
164 | |
|
|
165 | # Installation directory options. |
|
|
166 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
|
|
167 | # and all the variables that are supposed to be based on exec_prefix |
|
|
168 | # by default will actually change. |
|
|
169 | # Use braces instead of parens because sh, perl, etc. also accept them. |
|
|
170 | bindir='${exec_prefix}/bin' |
36 | bindir='${exec_prefix}/bin' |
171 | sbindir='${exec_prefix}/sbin' |
37 | sbindir='${exec_prefix}/sbin' |
172 | libexecdir='${exec_prefix}/libexec' |
38 | libexecdir='${exec_prefix}/libexec' |
173 | datadir='${prefix}/share' |
39 | datadir='${prefix}/share' |
174 | sysconfdir='${prefix}/etc' |
40 | sysconfdir='${prefix}/etc' |
… | |
… | |
178 | includedir='${prefix}/include' |
44 | includedir='${prefix}/include' |
179 | oldincludedir='/usr/include' |
45 | oldincludedir='/usr/include' |
180 | infodir='${prefix}/info' |
46 | infodir='${prefix}/info' |
181 | mandir='${prefix}/man' |
47 | mandir='${prefix}/man' |
182 | |
48 | |
183 | # Identity of this package. |
49 | # Initialize some other variables. |
184 | PACKAGE_NAME= |
50 | subdirs= |
185 | PACKAGE_TARNAME= |
51 | MFLAGS= MAKEFLAGS= |
186 | PACKAGE_VERSION= |
52 | SHELL=${CONFIG_SHELL-/bin/sh} |
187 | PACKAGE_STRING= |
53 | # Maximum number of lines to put in a shell here document. |
188 | PACKAGE_BUGREPORT= |
54 | ac_max_here_lines=12 |
189 | |
55 | |
190 | ac_prev= |
56 | ac_prev= |
191 | for ac_option |
57 | for ac_option |
192 | do |
58 | do |
|
|
59 | |
193 | # If the previous option needs an argument, assign it. |
60 | # If the previous option needs an argument, assign it. |
194 | if test -n "$ac_prev"; then |
61 | if test -n "$ac_prev"; then |
195 | eval "$ac_prev=\$ac_option" |
62 | eval "$ac_prev=\$ac_option" |
196 | ac_prev= |
63 | ac_prev= |
197 | continue |
64 | continue |
198 | fi |
65 | fi |
199 | |
66 | |
200 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
67 | case "$ac_option" in |
|
|
68 | -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
|
|
69 | *) ac_optarg= ;; |
|
|
70 | esac |
201 | |
71 | |
202 | # Accept the important Cygnus configure options, so we can diagnose typos. |
72 | # Accept the important Cygnus configure options, so we can diagnose typos. |
203 | |
73 | |
204 | case $ac_option in |
74 | case "$ac_option" in |
205 | |
75 | |
206 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
76 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
207 | ac_prev=bindir ;; |
77 | ac_prev=bindir ;; |
208 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
78 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
209 | bindir=$ac_optarg ;; |
79 | bindir="$ac_optarg" ;; |
210 | |
80 | |
211 | -build | --build | --buil | --bui | --bu) |
81 | -build | --build | --buil | --bui | --bu) |
212 | ac_prev=build_alias ;; |
82 | ac_prev=build ;; |
213 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
83 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
214 | build_alias=$ac_optarg ;; |
84 | build="$ac_optarg" ;; |
215 | |
85 | |
216 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
86 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
217 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
87 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
218 | ac_prev=cache_file ;; |
88 | ac_prev=cache_file ;; |
219 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
89 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
220 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
90 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
221 | cache_file=$ac_optarg ;; |
91 | cache_file="$ac_optarg" ;; |
222 | |
|
|
223 | --config-cache | -C) |
|
|
224 | cache_file=config.cache ;; |
|
|
225 | |
92 | |
226 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
93 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
227 | ac_prev=datadir ;; |
94 | ac_prev=datadir ;; |
228 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
95 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
229 | | --da=*) |
96 | | --da=*) |
230 | datadir=$ac_optarg ;; |
97 | datadir="$ac_optarg" ;; |
231 | |
98 | |
232 | -disable-* | --disable-*) |
99 | -disable-* | --disable-*) |
233 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
100 | ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
234 | # Reject names that are not valid shell variable names. |
101 | # Reject names that are not valid shell variable names. |
235 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
102 | if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
236 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
103 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
237 | { (exit 1); exit 1; }; } |
104 | fi |
238 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
105 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
239 | eval "enable_$ac_feature=no" ;; |
106 | eval "enable_${ac_feature}=no" ;; |
240 | |
107 | |
241 | -enable-* | --enable-*) |
108 | -enable-* | --enable-*) |
242 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
109 | ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
243 | # Reject names that are not valid shell variable names. |
110 | # Reject names that are not valid shell variable names. |
244 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
111 | if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
245 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
112 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
246 | { (exit 1); exit 1; }; } |
113 | fi |
247 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
114 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
248 | case $ac_option in |
115 | case "$ac_option" in |
249 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
116 | *=*) ;; |
250 | *) ac_optarg=yes ;; |
117 | *) ac_optarg=yes ;; |
251 | esac |
118 | esac |
252 | eval "enable_$ac_feature='$ac_optarg'" ;; |
119 | eval "enable_${ac_feature}='$ac_optarg'" ;; |
253 | |
120 | |
254 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
121 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
255 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
122 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
256 | | --exec | --exe | --ex) |
123 | | --exec | --exe | --ex) |
257 | ac_prev=exec_prefix ;; |
124 | ac_prev=exec_prefix ;; |
258 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
125 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
259 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
126 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
260 | | --exec=* | --exe=* | --ex=*) |
127 | | --exec=* | --exe=* | --ex=*) |
261 | exec_prefix=$ac_optarg ;; |
128 | exec_prefix="$ac_optarg" ;; |
262 | |
129 | |
263 | -gas | --gas | --ga | --g) |
130 | -gas | --gas | --ga | --g) |
264 | # Obsolete; use --with-gas. |
131 | # Obsolete; use --with-gas. |
265 | with_gas=yes ;; |
132 | with_gas=yes ;; |
266 | |
133 | |
267 | -help | --help | --hel | --he | -h) |
134 | -help | --help | --hel | --he) |
268 | ac_init_help=long ;; |
135 | # Omit some internal or obsolete options to make the list less imposing. |
269 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
136 | # This message is too long to be a string in the A/UX 3.1 sh. |
270 | ac_init_help=recursive ;; |
137 | cat << EOF |
271 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
138 | Usage: configure [options] [host] |
272 | ac_init_help=short ;; |
139 | Options: [defaults in brackets after descriptions] |
|
|
140 | Configuration: |
|
|
141 | --cache-file=FILE cache test results in FILE |
|
|
142 | --help print this message |
|
|
143 | --no-create do not create output files |
|
|
144 | --quiet, --silent do not print \`checking...' messages |
|
|
145 | --version print the version of autoconf that created configure |
|
|
146 | Directory and file names: |
|
|
147 | --prefix=PREFIX install architecture-independent files in PREFIX |
|
|
148 | [$ac_default_prefix] |
|
|
149 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
|
150 | [same as prefix] |
|
|
151 | --bindir=DIR user executables in DIR [EPREFIX/bin] |
|
|
152 | --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] |
|
|
153 | --libexecdir=DIR program executables in DIR [EPREFIX/libexec] |
|
|
154 | --datadir=DIR read-only architecture-independent data in DIR |
|
|
155 | [PREFIX/share] |
|
|
156 | --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] |
|
|
157 | --sharedstatedir=DIR modifiable architecture-independent data in DIR |
|
|
158 | [PREFIX/com] |
|
|
159 | --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] |
|
|
160 | --libdir=DIR object code libraries in DIR [EPREFIX/lib] |
|
|
161 | --includedir=DIR C header files in DIR [PREFIX/include] |
|
|
162 | --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] |
|
|
163 | --infodir=DIR info documentation in DIR [PREFIX/info] |
|
|
164 | --mandir=DIR man documentation in DIR [PREFIX/man] |
|
|
165 | --srcdir=DIR find the sources in DIR [configure dir or ..] |
|
|
166 | --program-prefix=PREFIX prepend PREFIX to installed program names |
|
|
167 | --program-suffix=SUFFIX append SUFFIX to installed program names |
|
|
168 | --program-transform-name=PROGRAM |
|
|
169 | run sed PROGRAM on installed program names |
|
|
170 | EOF |
|
|
171 | cat << EOF |
|
|
172 | Host type: |
|
|
173 | --build=BUILD configure for building on BUILD [BUILD=HOST] |
|
|
174 | --host=HOST configure for HOST [guessed] |
|
|
175 | --target=TARGET configure for TARGET [TARGET=HOST] |
|
|
176 | Features and packages: |
|
|
177 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
|
178 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
|
179 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
|
180 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
|
181 | --x-includes=DIR X include files are in DIR |
|
|
182 | --x-libraries=DIR X library files are in DIR |
|
|
183 | EOF |
|
|
184 | if test -n "$ac_help"; then |
|
|
185 | echo "--enable and --with options recognized:$ac_help" |
|
|
186 | fi |
|
|
187 | exit 0 ;; |
273 | |
188 | |
274 | -host | --host | --hos | --ho) |
189 | -host | --host | --hos | --ho) |
275 | ac_prev=host_alias ;; |
190 | ac_prev=host ;; |
276 | -host=* | --host=* | --hos=* | --ho=*) |
191 | -host=* | --host=* | --hos=* | --ho=*) |
277 | host_alias=$ac_optarg ;; |
192 | host="$ac_optarg" ;; |
278 | |
193 | |
279 | -includedir | --includedir | --includedi | --included | --include \ |
194 | -includedir | --includedir | --includedi | --included | --include \ |
280 | | --includ | --inclu | --incl | --inc) |
195 | | --includ | --inclu | --incl | --inc) |
281 | ac_prev=includedir ;; |
196 | ac_prev=includedir ;; |
282 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
197 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
283 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
198 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
284 | includedir=$ac_optarg ;; |
199 | includedir="$ac_optarg" ;; |
285 | |
200 | |
286 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
201 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
287 | ac_prev=infodir ;; |
202 | ac_prev=infodir ;; |
288 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
203 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
289 | infodir=$ac_optarg ;; |
204 | infodir="$ac_optarg" ;; |
290 | |
205 | |
291 | -libdir | --libdir | --libdi | --libd) |
206 | -libdir | --libdir | --libdi | --libd) |
292 | ac_prev=libdir ;; |
207 | ac_prev=libdir ;; |
293 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
208 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
294 | libdir=$ac_optarg ;; |
209 | libdir="$ac_optarg" ;; |
295 | |
210 | |
296 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
211 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
297 | | --libexe | --libex | --libe) |
212 | | --libexe | --libex | --libe) |
298 | ac_prev=libexecdir ;; |
213 | ac_prev=libexecdir ;; |
299 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
214 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
300 | | --libexe=* | --libex=* | --libe=*) |
215 | | --libexe=* | --libex=* | --libe=*) |
301 | libexecdir=$ac_optarg ;; |
216 | libexecdir="$ac_optarg" ;; |
302 | |
217 | |
303 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
218 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
304 | | --localstate | --localstat | --localsta | --localst \ |
219 | | --localstate | --localstat | --localsta | --localst \ |
305 | | --locals | --local | --loca | --loc | --lo) |
220 | | --locals | --local | --loca | --loc | --lo) |
306 | ac_prev=localstatedir ;; |
221 | ac_prev=localstatedir ;; |
307 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
222 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
308 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
223 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
309 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
224 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
310 | localstatedir=$ac_optarg ;; |
225 | localstatedir="$ac_optarg" ;; |
311 | |
226 | |
312 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
227 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
313 | ac_prev=mandir ;; |
228 | ac_prev=mandir ;; |
314 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
229 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
315 | mandir=$ac_optarg ;; |
230 | mandir="$ac_optarg" ;; |
316 | |
231 | |
317 | -nfp | --nfp | --nf) |
232 | -nfp | --nfp | --nf) |
318 | # Obsolete; use --without-fp. |
233 | # Obsolete; use --without-fp. |
319 | with_fp=no ;; |
234 | with_fp=no ;; |
320 | |
235 | |
… | |
… | |
331 | | --oldin | --oldi | --old | --ol | --o) |
246 | | --oldin | --oldi | --old | --ol | --o) |
332 | ac_prev=oldincludedir ;; |
247 | ac_prev=oldincludedir ;; |
333 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
248 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
334 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
249 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
335 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
250 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
336 | oldincludedir=$ac_optarg ;; |
251 | oldincludedir="$ac_optarg" ;; |
337 | |
252 | |
338 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
253 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
339 | ac_prev=prefix ;; |
254 | ac_prev=prefix ;; |
340 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
255 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
341 | prefix=$ac_optarg ;; |
256 | prefix="$ac_optarg" ;; |
342 | |
257 | |
343 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
258 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
344 | | --program-pre | --program-pr | --program-p) |
259 | | --program-pre | --program-pr | --program-p) |
345 | ac_prev=program_prefix ;; |
260 | ac_prev=program_prefix ;; |
346 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
261 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
347 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
262 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
348 | program_prefix=$ac_optarg ;; |
263 | program_prefix="$ac_optarg" ;; |
349 | |
264 | |
350 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
265 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
351 | | --program-suf | --program-su | --program-s) |
266 | | --program-suf | --program-su | --program-s) |
352 | ac_prev=program_suffix ;; |
267 | ac_prev=program_suffix ;; |
353 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
268 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
354 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
269 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
355 | program_suffix=$ac_optarg ;; |
270 | program_suffix="$ac_optarg" ;; |
356 | |
271 | |
357 | -program-transform-name | --program-transform-name \ |
272 | -program-transform-name | --program-transform-name \ |
358 | | --program-transform-nam | --program-transform-na \ |
273 | | --program-transform-nam | --program-transform-na \ |
359 | | --program-transform-n | --program-transform- \ |
274 | | --program-transform-n | --program-transform- \ |
360 | | --program-transform | --program-transfor \ |
275 | | --program-transform | --program-transfor \ |
… | |
… | |
367 | | --program-transform-n=* | --program-transform-=* \ |
282 | | --program-transform-n=* | --program-transform-=* \ |
368 | | --program-transform=* | --program-transfor=* \ |
283 | | --program-transform=* | --program-transfor=* \ |
369 | | --program-transfo=* | --program-transf=* \ |
284 | | --program-transfo=* | --program-transf=* \ |
370 | | --program-trans=* | --program-tran=* \ |
285 | | --program-trans=* | --program-tran=* \ |
371 | | --progr-tra=* | --program-tr=* | --program-t=*) |
286 | | --progr-tra=* | --program-tr=* | --program-t=*) |
372 | program_transform_name=$ac_optarg ;; |
287 | program_transform_name="$ac_optarg" ;; |
373 | |
288 | |
374 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
289 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
375 | | -silent | --silent | --silen | --sile | --sil) |
290 | | -silent | --silent | --silen | --sile | --sil) |
376 | silent=yes ;; |
291 | silent=yes ;; |
377 | |
292 | |
378 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
293 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
379 | ac_prev=sbindir ;; |
294 | ac_prev=sbindir ;; |
380 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
295 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
381 | | --sbi=* | --sb=*) |
296 | | --sbi=* | --sb=*) |
382 | sbindir=$ac_optarg ;; |
297 | sbindir="$ac_optarg" ;; |
383 | |
298 | |
384 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
299 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
385 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
300 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
386 | | --sharedst | --shareds | --shared | --share | --shar \ |
301 | | --sharedst | --shareds | --shared | --share | --shar \ |
387 | | --sha | --sh) |
302 | | --sha | --sh) |
388 | ac_prev=sharedstatedir ;; |
303 | ac_prev=sharedstatedir ;; |
389 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
304 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
390 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
305 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
391 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
306 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
392 | | --sha=* | --sh=*) |
307 | | --sha=* | --sh=*) |
393 | sharedstatedir=$ac_optarg ;; |
308 | sharedstatedir="$ac_optarg" ;; |
394 | |
309 | |
395 | -site | --site | --sit) |
310 | -site | --site | --sit) |
396 | ac_prev=site ;; |
311 | ac_prev=site ;; |
397 | -site=* | --site=* | --sit=*) |
312 | -site=* | --site=* | --sit=*) |
398 | site=$ac_optarg ;; |
313 | site="$ac_optarg" ;; |
399 | |
314 | |
400 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
315 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
401 | ac_prev=srcdir ;; |
316 | ac_prev=srcdir ;; |
402 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
317 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
403 | srcdir=$ac_optarg ;; |
318 | srcdir="$ac_optarg" ;; |
404 | |
319 | |
405 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
320 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
406 | | --syscon | --sysco | --sysc | --sys | --sy) |
321 | | --syscon | --sysco | --sysc | --sys | --sy) |
407 | ac_prev=sysconfdir ;; |
322 | ac_prev=sysconfdir ;; |
408 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
323 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
409 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
324 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
410 | sysconfdir=$ac_optarg ;; |
325 | sysconfdir="$ac_optarg" ;; |
411 | |
326 | |
412 | -target | --target | --targe | --targ | --tar | --ta | --t) |
327 | -target | --target | --targe | --targ | --tar | --ta | --t) |
413 | ac_prev=target_alias ;; |
328 | ac_prev=target ;; |
414 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
329 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
415 | target_alias=$ac_optarg ;; |
330 | target="$ac_optarg" ;; |
416 | |
331 | |
417 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
332 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
418 | verbose=yes ;; |
333 | verbose=yes ;; |
419 | |
334 | |
420 | -version | --version | --versio | --versi | --vers | -V) |
335 | -version | --version | --versio | --versi | --vers) |
421 | ac_init_version=: ;; |
336 | echo "configure generated by autoconf version 2.13" |
|
|
337 | exit 0 ;; |
422 | |
338 | |
423 | -with-* | --with-*) |
339 | -with-* | --with-*) |
424 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
340 | ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
425 | # Reject names that are not valid shell variable names. |
341 | # Reject names that are not valid shell variable names. |
426 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
342 | if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
427 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
343 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
428 | { (exit 1); exit 1; }; } |
344 | fi |
429 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
345 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
430 | case $ac_option in |
346 | case "$ac_option" in |
431 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
347 | *=*) ;; |
432 | *) ac_optarg=yes ;; |
348 | *) ac_optarg=yes ;; |
433 | esac |
349 | esac |
434 | eval "with_$ac_package='$ac_optarg'" ;; |
350 | eval "with_${ac_package}='$ac_optarg'" ;; |
435 | |
351 | |
436 | -without-* | --without-*) |
352 | -without-* | --without-*) |
437 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
353 | ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
438 | # Reject names that are not valid shell variable names. |
354 | # Reject names that are not valid shell variable names. |
439 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
355 | if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
440 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
356 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
441 | { (exit 1); exit 1; }; } |
357 | fi |
442 | ac_package=`echo $ac_package | sed 's/-/_/g'` |
358 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
443 | eval "with_$ac_package=no" ;; |
359 | eval "with_${ac_package}=no" ;; |
444 | |
360 | |
445 | --x) |
361 | --x) |
446 | # Obsolete; use --with-x. |
362 | # Obsolete; use --with-x. |
447 | with_x=yes ;; |
363 | with_x=yes ;; |
448 | |
364 | |
449 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
365 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
450 | | --x-incl | --x-inc | --x-in | --x-i) |
366 | | --x-incl | --x-inc | --x-in | --x-i) |
451 | ac_prev=x_includes ;; |
367 | ac_prev=x_includes ;; |
452 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
368 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
453 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
369 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
454 | x_includes=$ac_optarg ;; |
370 | x_includes="$ac_optarg" ;; |
455 | |
371 | |
456 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
372 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
457 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
373 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
458 | ac_prev=x_libraries ;; |
374 | ac_prev=x_libraries ;; |
459 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
375 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
460 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
376 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
461 | x_libraries=$ac_optarg ;; |
377 | x_libraries="$ac_optarg" ;; |
462 | |
378 | |
463 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
379 | -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
464 | Try \`$0 --help' for more information." >&2 |
|
|
465 | { (exit 1); exit 1; }; } |
|
|
466 | ;; |
380 | ;; |
467 | |
381 | |
468 | *=*) |
|
|
469 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
|
470 | # Reject names that are not valid shell variable names. |
|
|
471 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
|
|
472 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
|
|
473 | { (exit 1); exit 1; }; } |
|
|
474 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
|
|
475 | eval "$ac_envvar='$ac_optarg'" |
|
|
476 | export $ac_envvar ;; |
|
|
477 | |
|
|
478 | *) |
382 | *) |
479 | # FIXME: should be removed in autoconf 3.0. |
383 | if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
480 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
384 | echo "configure: warning: $ac_option: invalid host type" 1>&2 |
481 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
385 | fi |
482 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
386 | if test "x$nonopt" != xNONE; then |
483 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
387 | { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } |
|
|
388 | fi |
|
|
389 | nonopt="$ac_option" |
484 | ;; |
390 | ;; |
485 | |
391 | |
486 | esac |
392 | esac |
487 | done |
393 | done |
488 | |
394 | |
489 | if test -n "$ac_prev"; then |
395 | if test -n "$ac_prev"; then |
490 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
396 | { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
491 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
|
|
492 | { (exit 1); exit 1; }; } |
|
|
493 | fi |
397 | fi |
494 | |
398 | |
495 | # Be sure to have absolute paths. |
399 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
496 | for ac_var in exec_prefix prefix |
400 | |
|
|
401 | # File descriptor usage: |
|
|
402 | # 0 standard input |
|
|
403 | # 1 file creation |
|
|
404 | # 2 errors and warnings |
|
|
405 | # 3 some systems may open it to /dev/tty |
|
|
406 | # 4 used on the Kubota Titan |
|
|
407 | # 6 checking for... messages and results |
|
|
408 | # 5 compiler messages saved in config.log |
|
|
409 | if test "$silent" = yes; then |
|
|
410 | exec 6>/dev/null |
|
|
411 | else |
|
|
412 | exec 6>&1 |
|
|
413 | fi |
|
|
414 | exec 5>./config.log |
|
|
415 | |
|
|
416 | echo "\ |
|
|
417 | This file contains any messages produced by compilers while |
|
|
418 | running configure, to aid debugging if configure makes a mistake. |
|
|
419 | " 1>&5 |
|
|
420 | |
|
|
421 | # Strip out --no-create and --no-recursion so they do not pile up. |
|
|
422 | # Also quote any args containing shell metacharacters. |
|
|
423 | ac_configure_args= |
|
|
424 | for ac_arg |
497 | do |
425 | do |
498 | eval ac_val=$`echo $ac_var` |
|
|
499 | case $ac_val in |
426 | case "$ac_arg" in |
500 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
427 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
501 | *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 |
428 | | --no-cr | --no-c) ;; |
502 | { (exit 1); exit 1; }; };; |
429 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
|
430 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
|
|
431 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |
|
|
432 | ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|
|
433 | *) ac_configure_args="$ac_configure_args $ac_arg" ;; |
503 | esac |
434 | esac |
504 | done |
435 | done |
505 | |
436 | |
506 | # Be sure to have absolute paths. |
437 | # NLS nuisances. |
507 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
438 | # Only set these to C if already set. These must not be set unconditionally |
508 | localstatedir libdir includedir oldincludedir infodir mandir |
439 | # because not all systems understand e.g. LANG=C (notably SCO). |
509 | do |
440 | # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
510 | eval ac_val=$`echo $ac_var` |
441 | # Non-C LC_CTYPE values break the ctype check. |
511 | case $ac_val in |
442 | if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
512 | [\\/$]* | ?:[\\/]* ) ;; |
443 | if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
513 | *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 |
444 | if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
514 | { (exit 1); exit 1; }; };; |
445 | if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
515 | esac |
|
|
516 | done |
|
|
517 | |
446 | |
518 | # There might be people who depend on the old broken behavior: `$host' |
447 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
519 | # used to hold the argument of --host etc. |
448 | rm -rf conftest* confdefs.h |
520 | build=$build_alias |
449 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
521 | host=$host_alias |
450 | echo > confdefs.h |
522 | target=$target_alias |
|
|
523 | |
451 | |
524 | # FIXME: should be removed in autoconf 3.0. |
452 | # A filename unique to this package, relative to the directory that |
525 | if test "x$host_alias" != x; then |
453 | # configure is in, which we can look for to find out if srcdir is correct. |
526 | if test "x$build_alias" = x; then |
454 | ac_unique_file=uulib.c |
527 | cross_compiling=maybe |
|
|
528 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
|
|
529 | If a cross compiler is detected then cross compile mode will be used." >&2 |
|
|
530 | elif test "x$build_alias" != "x$host_alias"; then |
|
|
531 | cross_compiling=yes |
|
|
532 | fi |
|
|
533 | fi |
|
|
534 | |
|
|
535 | ac_tool_prefix= |
|
|
536 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
|
537 | |
|
|
538 | test "$silent" = yes && exec 6>/dev/null |
|
|
539 | |
455 | |
540 | # Find the source files, if location was not specified. |
456 | # Find the source files, if location was not specified. |
541 | if test -z "$srcdir"; then |
457 | if test -z "$srcdir"; then |
542 | ac_srcdir_defaulted=yes |
458 | ac_srcdir_defaulted=yes |
543 | # Try the directory containing this script, then its parent. |
459 | # Try the directory containing this script, then its parent. |
544 | ac_prog=$0 |
460 | ac_prog=$0 |
545 | ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` |
461 | ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
546 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
462 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
547 | srcdir=$ac_confdir |
463 | srcdir=$ac_confdir |
548 | if test ! -r $srcdir/$ac_unique_file; then |
464 | if test ! -r $srcdir/$ac_unique_file; then |
549 | srcdir=.. |
465 | srcdir=.. |
550 | fi |
466 | fi |
551 | else |
467 | else |
552 | ac_srcdir_defaulted=no |
468 | ac_srcdir_defaulted=no |
553 | fi |
469 | fi |
554 | if test ! -r $srcdir/$ac_unique_file; then |
470 | if test ! -r $srcdir/$ac_unique_file; then |
555 | if test "$ac_srcdir_defaulted" = yes; then |
471 | if test "$ac_srcdir_defaulted" = yes; then |
556 | { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 |
472 | { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
557 | { (exit 1); exit 1; }; } |
|
|
558 | else |
473 | else |
559 | { echo "$as_me: error: cannot find sources in $srcdir" >&2 |
474 | { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
560 | { (exit 1); exit 1; }; } |
|
|
561 | fi |
475 | fi |
562 | fi |
476 | fi |
563 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
477 | srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
564 | ac_env_build_alias_set=${build_alias+set} |
|
|
565 | ac_env_build_alias_value=$build_alias |
|
|
566 | ac_cv_env_build_alias_set=${build_alias+set} |
|
|
567 | ac_cv_env_build_alias_value=$build_alias |
|
|
568 | ac_env_host_alias_set=${host_alias+set} |
|
|
569 | ac_env_host_alias_value=$host_alias |
|
|
570 | ac_cv_env_host_alias_set=${host_alias+set} |
|
|
571 | ac_cv_env_host_alias_value=$host_alias |
|
|
572 | ac_env_target_alias_set=${target_alias+set} |
|
|
573 | ac_env_target_alias_value=$target_alias |
|
|
574 | ac_cv_env_target_alias_set=${target_alias+set} |
|
|
575 | ac_cv_env_target_alias_value=$target_alias |
|
|
576 | ac_env_CC_set=${CC+set} |
|
|
577 | ac_env_CC_value=$CC |
|
|
578 | ac_cv_env_CC_set=${CC+set} |
|
|
579 | ac_cv_env_CC_value=$CC |
|
|
580 | ac_env_CFLAGS_set=${CFLAGS+set} |
|
|
581 | ac_env_CFLAGS_value=$CFLAGS |
|
|
582 | ac_cv_env_CFLAGS_set=${CFLAGS+set} |
|
|
583 | ac_cv_env_CFLAGS_value=$CFLAGS |
|
|
584 | ac_env_LDFLAGS_set=${LDFLAGS+set} |
|
|
585 | ac_env_LDFLAGS_value=$LDFLAGS |
|
|
586 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
|
|
587 | ac_cv_env_LDFLAGS_value=$LDFLAGS |
|
|
588 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
|
589 | ac_env_CPPFLAGS_value=$CPPFLAGS |
|
|
590 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
|
591 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
|
|
592 | ac_env_CPP_set=${CPP+set} |
|
|
593 | ac_env_CPP_value=$CPP |
|
|
594 | ac_cv_env_CPP_set=${CPP+set} |
|
|
595 | ac_cv_env_CPP_value=$CPP |
|
|
596 | |
478 | |
597 | # |
|
|
598 | # Report the --help message. |
|
|
599 | # |
|
|
600 | if test "$ac_init_help" = "long"; then |
|
|
601 | # Omit some internal or obsolete options to make the list less imposing. |
|
|
602 | # This message is too long to be a string in the A/UX 3.1 sh. |
|
|
603 | cat <<EOF |
|
|
604 | \`configure' configures this package to adapt to many kinds of systems. |
|
|
605 | |
|
|
606 | Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
607 | |
|
|
608 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|
|
609 | VAR=VALUE. See below for descriptions of some of the useful variables. |
|
|
610 | |
|
|
611 | Defaults for the options are specified in brackets. |
|
|
612 | |
|
|
613 | Configuration: |
|
|
614 | -h, --help display this help and exit |
|
|
615 | --help=short display options specific to this package |
|
|
616 | --help=recursive display the short help of all the included packages |
|
|
617 | -V, --version display version information and exit |
|
|
618 | -q, --quiet, --silent do not print \`checking...' messages |
|
|
619 | --cache-file=FILE cache test results in FILE [disabled] |
|
|
620 | -C, --config-cache alias for \`--cache-file=config.cache' |
|
|
621 | -n, --no-create do not create output files |
|
|
622 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
|
623 | |
|
|
624 | EOF |
|
|
625 | |
|
|
626 | cat <<EOF |
|
|
627 | Installation directories: |
|
|
628 | --prefix=PREFIX install architecture-independent files in PREFIX |
|
|
629 | [$ac_default_prefix] |
|
|
630 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
|
631 | [PREFIX] |
|
|
632 | |
|
|
633 | By default, \`make install' will install all the files in |
|
|
634 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|
|
635 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|
|
636 | for instance \`--prefix=\$HOME'. |
|
|
637 | |
|
|
638 | For better control, use the options below. |
|
|
639 | |
|
|
640 | Fine tuning of the installation directories: |
|
|
641 | --bindir=DIR user executables [EPREFIX/bin] |
|
|
642 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
|
|
643 | --libexecdir=DIR program executables [EPREFIX/libexec] |
|
|
644 | --datadir=DIR read-only architecture-independent data [PREFIX/share] |
|
|
645 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|
|
646 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|
|
647 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
|
648 | --libdir=DIR object code libraries [EPREFIX/lib] |
|
|
649 | --includedir=DIR C header files [PREFIX/include] |
|
|
650 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
|
651 | --infodir=DIR info documentation [PREFIX/info] |
|
|
652 | --mandir=DIR man documentation [PREFIX/man] |
|
|
653 | EOF |
|
|
654 | |
|
|
655 | cat <<\EOF |
|
|
656 | EOF |
|
|
657 | fi |
|
|
658 | |
|
|
659 | if test -n "$ac_init_help"; then |
|
|
660 | |
|
|
661 | cat <<\EOF |
|
|
662 | |
|
|
663 | Optional Packages: |
|
|
664 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
|
665 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
|
666 | |
|
|
667 | Some influential environment variables: |
|
|
668 | CC C compiler command |
|
|
669 | CFLAGS C compiler flags |
|
|
670 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
|
|
671 | nonstandard directory <lib dir> |
|
|
672 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
|
|
673 | headers in a nonstandard directory <include dir> |
|
|
674 | CPP C preprocessor |
|
|
675 | |
|
|
676 | Use these variables to override the choices made by `configure' or to help |
|
|
677 | it to find libraries and programs with nonstandard names/locations. |
|
|
678 | |
|
|
679 | EOF |
|
|
680 | fi |
|
|
681 | |
|
|
682 | if test "$ac_init_help" = "recursive"; then |
|
|
683 | # If there are subdirs, report their specific --help. |
|
|
684 | ac_popdir=`pwd` |
|
|
685 | for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue |
|
|
686 | cd $ac_subdir |
|
|
687 | # A "../" for each directory in /$ac_subdir. |
|
|
688 | ac_dots=`echo $ac_subdir | |
|
|
689 | sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` |
|
|
690 | |
|
|
691 | case $srcdir in |
|
|
692 | .) # No --srcdir option. We are building in place. |
|
|
693 | ac_sub_srcdir=$srcdir ;; |
|
|
694 | [\\/]* | ?:[\\/]* ) # Absolute path. |
|
|
695 | ac_sub_srcdir=$srcdir/$ac_subdir ;; |
|
|
696 | *) # Relative path. |
|
|
697 | ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; |
|
|
698 | esac |
|
|
699 | |
|
|
700 | # Check for guested configure; otherwise get Cygnus style configure. |
|
|
701 | if test -f $ac_sub_srcdir/configure.gnu; then |
|
|
702 | echo |
|
|
703 | $SHELL $ac_sub_srcdir/configure.gnu --help=recursive |
|
|
704 | elif test -f $ac_sub_srcdir/configure; then |
|
|
705 | echo |
|
|
706 | $SHELL $ac_sub_srcdir/configure --help=recursive |
|
|
707 | elif test -f $ac_sub_srcdir/configure.ac || |
|
|
708 | test -f $ac_sub_srcdir/configure.in; then |
|
|
709 | echo |
|
|
710 | $ac_configure --help |
|
|
711 | else |
|
|
712 | echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 |
|
|
713 | fi |
|
|
714 | cd $ac_popdir |
|
|
715 | done |
|
|
716 | fi |
|
|
717 | |
|
|
718 | test -n "$ac_init_help" && exit 0 |
|
|
719 | if $ac_init_version; then |
|
|
720 | cat <<\EOF |
|
|
721 | |
|
|
722 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
|
|
723 | Free Software Foundation, Inc. |
|
|
724 | This configure script is free software; the Free Software Foundation |
|
|
725 | gives unlimited permission to copy, distribute and modify it. |
|
|
726 | EOF |
|
|
727 | exit 0 |
|
|
728 | fi |
|
|
729 | exec 5>config.log |
|
|
730 | cat >&5 <<EOF |
|
|
731 | This file contains any messages produced by compilers while |
|
|
732 | running configure, to aid debugging if configure makes a mistake. |
|
|
733 | |
|
|
734 | It was created by $as_me, which was |
|
|
735 | generated by GNU Autoconf 2.52. Invocation command line was |
|
|
736 | |
|
|
737 | $ $0 $@ |
|
|
738 | |
|
|
739 | EOF |
|
|
740 | { |
|
|
741 | cat <<_ASUNAME |
|
|
742 | ## ---------- ## |
|
|
743 | ## Platform. ## |
|
|
744 | ## ---------- ## |
|
|
745 | |
|
|
746 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
|
747 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
|
748 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|
|
749 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|
|
750 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|
|
751 | |
|
|
752 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|
|
753 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|
|
754 | |
|
|
755 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|
|
756 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|
|
757 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|
|
758 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
|
|
759 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
|
|
760 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|
|
761 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
|
762 | |
|
|
763 | PATH = $PATH |
|
|
764 | |
|
|
765 | _ASUNAME |
|
|
766 | } >&5 |
|
|
767 | |
|
|
768 | cat >&5 <<EOF |
|
|
769 | ## ------------ ## |
|
|
770 | ## Core tests. ## |
|
|
771 | ## ------------ ## |
|
|
772 | |
|
|
773 | EOF |
|
|
774 | |
|
|
775 | # Keep a trace of the command line. |
|
|
776 | # Strip out --no-create and --no-recursion so they do not pile up. |
|
|
777 | # Also quote any args containing shell meta-characters. |
|
|
778 | ac_configure_args= |
|
|
779 | ac_sep= |
|
|
780 | for ac_arg |
|
|
781 | do |
|
|
782 | case $ac_arg in |
|
|
783 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
|
784 | | --no-cr | --no-c) ;; |
|
|
785 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
|
786 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
|
|
787 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
|
|
788 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` |
|
|
789 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
|
|
790 | ac_sep=" " ;; |
|
|
791 | *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" |
|
|
792 | ac_sep=" " ;; |
|
|
793 | esac |
|
|
794 | # Get rid of the leading space. |
|
|
795 | done |
|
|
796 | |
|
|
797 | # When interrupted or exit'd, cleanup temporary files, and complete |
|
|
798 | # config.log. We remove comments because anyway the quotes in there |
|
|
799 | # would cause problems or look ugly. |
|
|
800 | trap 'exit_status=$? |
|
|
801 | # Save into config.log some information that might help in debugging. |
|
|
802 | echo >&5 |
|
|
803 | echo "## ----------------- ##" >&5 |
|
|
804 | echo "## Cache variables. ##" >&5 |
|
|
805 | echo "## ----------------- ##" >&5 |
|
|
806 | echo >&5 |
|
|
807 | # The following way of writing the cache mishandles newlines in values, |
|
|
808 | { |
|
|
809 | (set) 2>&1 | |
|
|
810 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
|
|
811 | *ac_space=\ *) |
|
|
812 | sed -n \ |
|
|
813 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
|
|
814 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
|
|
815 | ;; |
|
|
816 | *) |
|
|
817 | sed -n \ |
|
|
818 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
|
|
819 | ;; |
|
|
820 | esac; |
|
|
821 | } >&5 |
|
|
822 | sed "/^$/d" confdefs.h >conftest.log |
|
|
823 | if test -s conftest.log; then |
|
|
824 | echo >&5 |
|
|
825 | echo "## ------------ ##" >&5 |
|
|
826 | echo "## confdefs.h. ##" >&5 |
|
|
827 | echo "## ------------ ##" >&5 |
|
|
828 | echo >&5 |
|
|
829 | cat conftest.log >&5 |
|
|
830 | fi |
|
|
831 | (echo; echo) >&5 |
|
|
832 | test "$ac_signal" != 0 && |
|
|
833 | echo "$as_me: caught signal $ac_signal" >&5 |
|
|
834 | echo "$as_me: exit $exit_status" >&5 |
|
|
835 | rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && |
|
|
836 | exit $exit_status |
|
|
837 | ' 0 |
|
|
838 | for ac_signal in 1 2 13 15; do |
|
|
839 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
|
|
840 | done |
|
|
841 | ac_signal=0 |
|
|
842 | |
|
|
843 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
|
844 | rm -rf conftest* confdefs.h |
|
|
845 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
|
|
846 | echo >confdefs.h |
|
|
847 | |
|
|
848 | # Let the site file select an alternate cache file if it wants to. |
|
|
849 | # Prefer explicitly selected file to automatically selected ones. |
479 | # Prefer explicitly selected file to automatically selected ones. |
850 | if test -z "$CONFIG_SITE"; then |
480 | if test -z "$CONFIG_SITE"; then |
851 | if test "x$prefix" != xNONE; then |
481 | if test "x$prefix" != xNONE; then |
852 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
482 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
853 | else |
483 | else |
854 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
484 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
855 | fi |
485 | fi |
856 | fi |
486 | fi |
857 | for ac_site_file in $CONFIG_SITE; do |
487 | for ac_site_file in $CONFIG_SITE; do |
858 | if test -r "$ac_site_file"; then |
488 | if test -r "$ac_site_file"; then |
859 | { echo "$as_me:859: loading site script $ac_site_file" >&5 |
489 | echo "loading site script $ac_site_file" |
860 | echo "$as_me: loading site script $ac_site_file" >&6;} |
|
|
861 | cat "$ac_site_file" >&5 |
|
|
862 | . "$ac_site_file" |
490 | . "$ac_site_file" |
863 | fi |
491 | fi |
864 | done |
492 | done |
865 | |
493 | |
866 | if test -r "$cache_file"; then |
494 | if test -r "$cache_file"; then |
867 | # Some versions of bash will fail to source /dev/null (special |
|
|
868 | # files actually), so we avoid doing that. |
|
|
869 | if test -f "$cache_file"; then |
|
|
870 | { echo "$as_me:870: loading cache $cache_file" >&5 |
|
|
871 | echo "$as_me: loading cache $cache_file" >&6;} |
495 | echo "loading cache $cache_file" |
872 | case $cache_file in |
496 | . $cache_file |
873 | [\\/]* | ?:[\\/]* ) . $cache_file;; |
497 | else |
874 | *) . ./$cache_file;; |
498 | echo "creating cache $cache_file" |
875 | esac |
499 | > $cache_file |
|
|
500 | fi |
|
|
501 | |
|
|
502 | ac_ext=c |
|
|
503 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
504 | ac_cpp='$CPP $CPPFLAGS' |
|
|
505 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
|
506 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
507 | cross_compiling=$ac_cv_prog_cc_cross |
|
|
508 | |
|
|
509 | ac_exeext= |
|
|
510 | ac_objext=o |
|
|
511 | if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
|
|
512 | # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
|
|
513 | if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
|
|
514 | ac_n= ac_c=' |
|
|
515 | ' ac_t=' ' |
|
|
516 | else |
|
|
517 | ac_n=-n ac_c= ac_t= |
876 | fi |
518 | fi |
877 | else |
519 | else |
878 | { echo "$as_me:878: creating cache $cache_file" >&5 |
520 | ac_n= ac_c='\c' ac_t= |
879 | echo "$as_me: creating cache $cache_file" >&6;} |
|
|
880 | >$cache_file |
|
|
881 | fi |
521 | fi |
882 | |
522 | |
883 | # Check that the precious variables saved in the cache have kept the same |
|
|
884 | # value. |
|
|
885 | ac_cache_corrupted=false |
|
|
886 | for ac_var in `(set) 2>&1 | |
|
|
887 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
|
|
888 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|
|
889 | eval ac_new_set=\$ac_env_${ac_var}_set |
|
|
890 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
|
|
891 | eval ac_new_val="\$ac_env_${ac_var}_value" |
|
|
892 | case $ac_old_set,$ac_new_set in |
|
|
893 | set,) |
|
|
894 | { echo "$as_me:894: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|
|
895 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
|
896 | ac_cache_corrupted=: ;; |
|
|
897 | ,set) |
|
|
898 | { echo "$as_me:898: error: \`$ac_var' was not set in the previous run" >&5 |
|
|
899 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
|
900 | ac_cache_corrupted=: ;; |
|
|
901 | ,);; |
|
|
902 | *) |
|
|
903 | if test "x$ac_old_val" != "x$ac_new_val"; then |
|
|
904 | { echo "$as_me:904: error: \`$ac_var' has changed since the previous run:" >&5 |
|
|
905 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
|
906 | { echo "$as_me:906: former value: $ac_old_val" >&5 |
|
|
907 | echo "$as_me: former value: $ac_old_val" >&2;} |
|
|
908 | { echo "$as_me:908: current value: $ac_new_val" >&5 |
|
|
909 | echo "$as_me: current value: $ac_new_val" >&2;} |
|
|
910 | ac_cache_corrupted=: |
|
|
911 | fi;; |
|
|
912 | esac |
|
|
913 | # Pass precious variables to config.status. It doesn't matter if |
|
|
914 | # we pass some twice (in addition to the command line arguments). |
|
|
915 | if test "$ac_new_set" = set; then |
|
|
916 | case $ac_new_val in |
|
|
917 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
|
|
918 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` |
|
|
919 | ac_configure_args="$ac_configure_args '$ac_arg'" |
|
|
920 | ;; |
|
|
921 | *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" |
|
|
922 | ;; |
|
|
923 | esac |
|
|
924 | fi |
|
|
925 | done |
|
|
926 | if $ac_cache_corrupted; then |
|
|
927 | { echo "$as_me:927: error: changes in the environment can compromise the build" >&5 |
|
|
928 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
|
929 | { { echo "$as_me:929: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
|
|
930 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
|
|
931 | { (exit 1); exit 1; }; } |
|
|
932 | fi |
|
|
933 | |
523 | |
934 | ac_ext=c |
|
|
935 | ac_cpp='$CPP $CPPFLAGS' |
|
|
936 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
937 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
938 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
939 | |
524 | |
940 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
|
|
941 | *c*,-n*) ECHO_N= ECHO_C=' |
|
|
942 | ' ECHO_T=' ' ;; |
|
|
943 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
|
|
944 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
|
|
945 | esac |
|
|
946 | echo "#! $SHELL" >conftest.sh |
|
|
947 | echo "exit 0" >>conftest.sh |
|
|
948 | chmod +x conftest.sh |
|
|
949 | if { (echo "$as_me:949: PATH=\".;.\"; conftest.sh") >&5 |
|
|
950 | (PATH=".;."; conftest.sh) 2>&5 |
|
|
951 | ac_status=$? |
|
|
952 | echo "$as_me:952: \$? = $ac_status" >&5 |
|
|
953 | (exit $ac_status); }; then |
|
|
954 | ac_path_separator=';' |
|
|
955 | else |
|
|
956 | ac_path_separator=: |
|
|
957 | fi |
|
|
958 | PATH_SEPARATOR="$ac_path_separator" |
|
|
959 | rm -f conftest.sh |
|
|
960 | |
525 | |
961 | ac_config_headers="$ac_config_headers config.h" |
|
|
962 | |
526 | |
963 | # |
527 | # |
964 | # package revision |
528 | # package revision |
965 | # |
529 | # |
966 | VERSION=0.5 |
530 | VERSION=0.5 |
967 | PATCH=15 |
531 | PATCH=20 |
968 | |
532 | |
969 | # Check whether --with-cc or --without-cc was given. |
|
|
970 | if test "${with_cc+set}" = set; then |
|
|
971 | withval="$with_cc" |
|
|
972 | CC=$with_cc |
|
|
973 | fi; |
|
|
974 | |
|
|
975 | # Check whether --with-cflags or --without-cflags was given. |
|
|
976 | if test "${with_cflags+set}" = set; then |
|
|
977 | withval="$with_cflags" |
|
|
978 | CFLAGS=$with_cflags |
|
|
979 | fi; |
|
|
980 | |
|
|
981 | ac_ext=c |
|
|
982 | ac_cpp='$CPP $CPPFLAGS' |
|
|
983 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
984 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
985 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
986 | if test -n "$ac_tool_prefix"; then |
|
|
987 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
533 | # Extract the first word of "gcc", so it can be a program name with args. |
988 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
534 | set dummy gcc; ac_word=$2 |
989 | echo "$as_me:989: checking for $ac_word" >&5 |
|
|
990 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
535 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
536 | echo "configure:537: checking for $ac_word" >&5 |
991 | if test "${ac_cv_prog_CC+set}" = set; then |
537 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
992 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
538 | echo $ac_n "(cached) $ac_c" 1>&6 |
993 | else |
539 | else |
994 | if test -n "$CC"; then |
540 | if test -n "$CC"; then |
995 | ac_cv_prog_CC="$CC" # Let the user override the test. |
541 | ac_cv_prog_CC="$CC" # Let the user override the test. |
996 | else |
542 | else |
997 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
543 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
998 | ac_dummy="$PATH" |
544 | ac_dummy="$PATH" |
999 | for ac_dir in $ac_dummy; do |
545 | for ac_dir in $ac_dummy; do |
1000 | IFS=$ac_save_IFS |
|
|
1001 | test -z "$ac_dir" && ac_dir=. |
546 | test -z "$ac_dir" && ac_dir=. |
1002 | $as_executable_p "$ac_dir/$ac_word" || continue |
547 | if test -f $ac_dir/$ac_word; then |
1003 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
548 | ac_cv_prog_CC="gcc" |
1004 | echo "$as_me:1004: found $ac_dir/$ac_word" >&5 |
549 | break |
1005 | break |
550 | fi |
1006 | done |
551 | done |
1007 | |
552 | IFS="$ac_save_ifs" |
1008 | fi |
553 | fi |
1009 | fi |
554 | fi |
1010 | CC=$ac_cv_prog_CC |
555 | CC="$ac_cv_prog_CC" |
1011 | if test -n "$CC"; then |
556 | if test -n "$CC"; then |
1012 | echo "$as_me:1012: result: $CC" >&5 |
557 | echo "$ac_t""$CC" 1>&6 |
1013 | echo "${ECHO_T}$CC" >&6 |
|
|
1014 | else |
558 | else |
1015 | echo "$as_me:1015: result: no" >&5 |
559 | echo "$ac_t""no" 1>&6 |
1016 | echo "${ECHO_T}no" >&6 |
|
|
1017 | fi |
560 | fi |
1018 | |
561 | |
1019 | fi |
|
|
1020 | if test -z "$ac_cv_prog_CC"; then |
|
|
1021 | ac_ct_CC=$CC |
|
|
1022 | # Extract the first word of "gcc", so it can be a program name with args. |
|
|
1023 | set dummy gcc; ac_word=$2 |
|
|
1024 | echo "$as_me:1024: checking for $ac_word" >&5 |
|
|
1025 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
1026 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
1027 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
1028 | else |
|
|
1029 | if test -n "$ac_ct_CC"; then |
|
|
1030 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
1031 | else |
|
|
1032 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
|
|
1033 | ac_dummy="$PATH" |
|
|
1034 | for ac_dir in $ac_dummy; do |
|
|
1035 | IFS=$ac_save_IFS |
|
|
1036 | test -z "$ac_dir" && ac_dir=. |
|
|
1037 | $as_executable_p "$ac_dir/$ac_word" || continue |
|
|
1038 | ac_cv_prog_ac_ct_CC="gcc" |
|
|
1039 | echo "$as_me:1039: found $ac_dir/$ac_word" >&5 |
|
|
1040 | break |
|
|
1041 | done |
|
|
1042 | |
|
|
1043 | fi |
|
|
1044 | fi |
|
|
1045 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
1046 | if test -n "$ac_ct_CC"; then |
|
|
1047 | echo "$as_me:1047: result: $ac_ct_CC" >&5 |
|
|
1048 | echo "${ECHO_T}$ac_ct_CC" >&6 |
|
|
1049 | else |
|
|
1050 | echo "$as_me:1050: result: no" >&5 |
|
|
1051 | echo "${ECHO_T}no" >&6 |
|
|
1052 | fi |
|
|
1053 | |
|
|
1054 | CC=$ac_ct_CC |
|
|
1055 | else |
|
|
1056 | CC="$ac_cv_prog_CC" |
|
|
1057 | fi |
|
|
1058 | |
|
|
1059 | if test -z "$CC"; then |
|
|
1060 | if test -n "$ac_tool_prefix"; then |
|
|
1061 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
|
1062 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
|
1063 | echo "$as_me:1063: checking for $ac_word" >&5 |
|
|
1064 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
1065 | if test "${ac_cv_prog_CC+set}" = set; then |
|
|
1066 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
1067 | else |
|
|
1068 | if test -n "$CC"; then |
|
|
1069 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
1070 | else |
|
|
1071 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
|
|
1072 | ac_dummy="$PATH" |
|
|
1073 | for ac_dir in $ac_dummy; do |
|
|
1074 | IFS=$ac_save_IFS |
|
|
1075 | test -z "$ac_dir" && ac_dir=. |
|
|
1076 | $as_executable_p "$ac_dir/$ac_word" || continue |
|
|
1077 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
|
1078 | echo "$as_me:1078: found $ac_dir/$ac_word" >&5 |
|
|
1079 | break |
|
|
1080 | done |
|
|
1081 | |
|
|
1082 | fi |
|
|
1083 | fi |
|
|
1084 | CC=$ac_cv_prog_CC |
|
|
1085 | if test -n "$CC"; then |
|
|
1086 | echo "$as_me:1086: result: $CC" >&5 |
|
|
1087 | echo "${ECHO_T}$CC" >&6 |
|
|
1088 | else |
|
|
1089 | echo "$as_me:1089: result: no" >&5 |
|
|
1090 | echo "${ECHO_T}no" >&6 |
|
|
1091 | fi |
|
|
1092 | |
|
|
1093 | fi |
|
|
1094 | if test -z "$ac_cv_prog_CC"; then |
|
|
1095 | ac_ct_CC=$CC |
|
|
1096 | # Extract the first word of "cc", so it can be a program name with args. |
|
|
1097 | set dummy cc; ac_word=$2 |
|
|
1098 | echo "$as_me:1098: checking for $ac_word" >&5 |
|
|
1099 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
1100 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
1101 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
1102 | else |
|
|
1103 | if test -n "$ac_ct_CC"; then |
|
|
1104 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
1105 | else |
|
|
1106 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
|
|
1107 | ac_dummy="$PATH" |
|
|
1108 | for ac_dir in $ac_dummy; do |
|
|
1109 | IFS=$ac_save_IFS |
|
|
1110 | test -z "$ac_dir" && ac_dir=. |
|
|
1111 | $as_executable_p "$ac_dir/$ac_word" || continue |
|
|
1112 | ac_cv_prog_ac_ct_CC="cc" |
|
|
1113 | echo "$as_me:1113: found $ac_dir/$ac_word" >&5 |
|
|
1114 | break |
|
|
1115 | done |
|
|
1116 | |
|
|
1117 | fi |
|
|
1118 | fi |
|
|
1119 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
1120 | if test -n "$ac_ct_CC"; then |
|
|
1121 | echo "$as_me:1121: result: $ac_ct_CC" >&5 |
|
|
1122 | echo "${ECHO_T}$ac_ct_CC" >&6 |
|
|
1123 | else |
|
|
1124 | echo "$as_me:1124: result: no" >&5 |
|
|
1125 | echo "${ECHO_T}no" >&6 |
|
|
1126 | fi |
|
|
1127 | |
|
|
1128 | CC=$ac_ct_CC |
|
|
1129 | else |
|
|
1130 | CC="$ac_cv_prog_CC" |
|
|
1131 | fi |
|
|
1132 | |
|
|
1133 | fi |
|
|
1134 | if test -z "$CC"; then |
562 | if test -z "$CC"; then |
1135 | # Extract the first word of "cc", so it can be a program name with args. |
563 | # Extract the first word of "cc", so it can be a program name with args. |
1136 | set dummy cc; ac_word=$2 |
564 | set dummy cc; ac_word=$2 |
1137 | echo "$as_me:1137: checking for $ac_word" >&5 |
|
|
1138 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
565 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
566 | echo "configure:567: checking for $ac_word" >&5 |
1139 | if test "${ac_cv_prog_CC+set}" = set; then |
567 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1140 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
568 | echo $ac_n "(cached) $ac_c" 1>&6 |
1141 | else |
569 | else |
1142 | if test -n "$CC"; then |
570 | if test -n "$CC"; then |
1143 | ac_cv_prog_CC="$CC" # Let the user override the test. |
571 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1144 | else |
572 | else |
|
|
573 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1145 | ac_prog_rejected=no |
574 | ac_prog_rejected=no |
1146 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
|
|
1147 | ac_dummy="$PATH" |
575 | ac_dummy="$PATH" |
1148 | for ac_dir in $ac_dummy; do |
576 | for ac_dir in $ac_dummy; do |
1149 | IFS=$ac_save_IFS |
|
|
1150 | test -z "$ac_dir" && ac_dir=. |
577 | test -z "$ac_dir" && ac_dir=. |
1151 | $as_executable_p "$ac_dir/$ac_word" || continue |
578 | if test -f $ac_dir/$ac_word; then |
1152 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
579 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
1153 | ac_prog_rejected=yes |
580 | ac_prog_rejected=yes |
1154 | continue |
581 | continue |
1155 | fi |
582 | fi |
1156 | ac_cv_prog_CC="cc" |
583 | ac_cv_prog_CC="cc" |
1157 | echo "$as_me:1157: found $ac_dir/$ac_word" >&5 |
584 | break |
1158 | break |
585 | fi |
1159 | done |
586 | done |
1160 | |
587 | IFS="$ac_save_ifs" |
1161 | if test $ac_prog_rejected = yes; then |
588 | if test $ac_prog_rejected = yes; then |
1162 | # We found a bogon in the path, so make sure we never use it. |
589 | # We found a bogon in the path, so make sure we never use it. |
1163 | set dummy $ac_cv_prog_CC |
590 | set dummy $ac_cv_prog_CC |
1164 | shift |
591 | shift |
1165 | if test $# != 0; then |
592 | if test $# -gt 0; then |
1166 | # We chose a different compiler from the bogus one. |
593 | # We chose a different compiler from the bogus one. |
1167 | # However, it has the same basename, so the bogon will be chosen |
594 | # However, it has the same basename, so the bogon will be chosen |
1168 | # first if we set CC to just the basename; use the full file name. |
595 | # first if we set CC to just the basename; use the full file name. |
1169 | shift |
596 | shift |
1170 | set dummy "$ac_dir/$ac_word" ${1+"$@"} |
597 | set dummy "$ac_dir/$ac_word" "$@" |
1171 | shift |
598 | shift |
1172 | ac_cv_prog_CC="$@" |
599 | ac_cv_prog_CC="$@" |
1173 | fi |
600 | fi |
1174 | fi |
601 | fi |
1175 | fi |
602 | fi |
1176 | fi |
603 | fi |
1177 | CC=$ac_cv_prog_CC |
604 | CC="$ac_cv_prog_CC" |
1178 | if test -n "$CC"; then |
605 | if test -n "$CC"; then |
1179 | echo "$as_me:1179: result: $CC" >&5 |
606 | echo "$ac_t""$CC" 1>&6 |
1180 | echo "${ECHO_T}$CC" >&6 |
|
|
1181 | else |
607 | else |
1182 | echo "$as_me:1182: result: no" >&5 |
608 | echo "$ac_t""no" 1>&6 |
1183 | echo "${ECHO_T}no" >&6 |
|
|
1184 | fi |
609 | fi |
1185 | |
610 | |
1186 | fi |
|
|
1187 | if test -z "$CC"; then |
611 | if test -z "$CC"; then |
1188 | if test -n "$ac_tool_prefix"; then |
612 | case "`uname -s`" in |
1189 | for ac_prog in cl |
613 | *win32* | *WIN32*) |
1190 | do |
|
|
1191 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
614 | # Extract the first word of "cl", so it can be a program name with args. |
1192 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
615 | set dummy cl; ac_word=$2 |
1193 | echo "$as_me:1193: checking for $ac_word" >&5 |
|
|
1194 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
616 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
617 | echo "configure:618: checking for $ac_word" >&5 |
1195 | if test "${ac_cv_prog_CC+set}" = set; then |
618 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1196 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
619 | echo $ac_n "(cached) $ac_c" 1>&6 |
1197 | else |
620 | else |
1198 | if test -n "$CC"; then |
621 | if test -n "$CC"; then |
1199 | ac_cv_prog_CC="$CC" # Let the user override the test. |
622 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1200 | else |
623 | else |
1201 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
624 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1202 | ac_dummy="$PATH" |
625 | ac_dummy="$PATH" |
1203 | for ac_dir in $ac_dummy; do |
626 | for ac_dir in $ac_dummy; do |
1204 | IFS=$ac_save_IFS |
|
|
1205 | test -z "$ac_dir" && ac_dir=. |
627 | test -z "$ac_dir" && ac_dir=. |
1206 | $as_executable_p "$ac_dir/$ac_word" || continue |
628 | if test -f $ac_dir/$ac_word; then |
1207 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
629 | ac_cv_prog_CC="cl" |
1208 | echo "$as_me:1208: found $ac_dir/$ac_word" >&5 |
630 | break |
1209 | break |
631 | fi |
1210 | done |
632 | done |
1211 | |
633 | IFS="$ac_save_ifs" |
1212 | fi |
634 | fi |
1213 | fi |
635 | fi |
1214 | CC=$ac_cv_prog_CC |
636 | CC="$ac_cv_prog_CC" |
1215 | if test -n "$CC"; then |
637 | if test -n "$CC"; then |
1216 | echo "$as_me:1216: result: $CC" >&5 |
638 | echo "$ac_t""$CC" 1>&6 |
1217 | echo "${ECHO_T}$CC" >&6 |
|
|
1218 | else |
639 | else |
1219 | echo "$as_me:1219: result: no" >&5 |
640 | echo "$ac_t""no" 1>&6 |
1220 | echo "${ECHO_T}no" >&6 |
|
|
1221 | fi |
641 | fi |
1222 | |
642 | ;; |
1223 | test -n "$CC" && break |
643 | esac |
1224 | done |
644 | fi |
1225 | fi |
|
|
1226 | if test -z "$CC"; then |
|
|
1227 | ac_ct_CC=$CC |
|
|
1228 | for ac_prog in cl |
|
|
1229 | do |
|
|
1230 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
1231 | set dummy $ac_prog; ac_word=$2 |
|
|
1232 | echo "$as_me:1232: checking for $ac_word" >&5 |
|
|
1233 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
1234 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
1235 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
1236 | else |
|
|
1237 | if test -n "$ac_ct_CC"; then |
|
|
1238 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
1239 | else |
|
|
1240 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
|
|
1241 | ac_dummy="$PATH" |
|
|
1242 | for ac_dir in $ac_dummy; do |
|
|
1243 | IFS=$ac_save_IFS |
|
|
1244 | test -z "$ac_dir" && ac_dir=. |
|
|
1245 | $as_executable_p "$ac_dir/$ac_word" || continue |
|
|
1246 | ac_cv_prog_ac_ct_CC="$ac_prog" |
|
|
1247 | echo "$as_me:1247: found $ac_dir/$ac_word" >&5 |
|
|
1248 | break |
|
|
1249 | done |
|
|
1250 | |
|
|
1251 | fi |
|
|
1252 | fi |
|
|
1253 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
1254 | if test -n "$ac_ct_CC"; then |
|
|
1255 | echo "$as_me:1255: result: $ac_ct_CC" >&5 |
|
|
1256 | echo "${ECHO_T}$ac_ct_CC" >&6 |
|
|
1257 | else |
|
|
1258 | echo "$as_me:1258: result: no" >&5 |
|
|
1259 | echo "${ECHO_T}no" >&6 |
|
|
1260 | fi |
|
|
1261 | |
|
|
1262 | test -n "$ac_ct_CC" && break |
|
|
1263 | done |
|
|
1264 | |
|
|
1265 | CC=$ac_ct_CC |
|
|
1266 | fi |
|
|
1267 | |
|
|
1268 | fi |
|
|
1269 | |
|
|
1270 | test -z "$CC" && { { echo "$as_me:1270: error: no acceptable cc found in \$PATH" >&5 |
645 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1271 | echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} |
646 | fi |
1272 | { (exit 1); exit 1; }; } |
|
|
1273 | |
647 | |
1274 | # Provide some information about the compiler. |
648 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1275 | echo "$as_me:1275:" \ |
649 | echo "configure:650: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1276 | "checking for C compiler version" >&5 |
|
|
1277 | ac_compiler=`set X $ac_compile; echo $2` |
|
|
1278 | { (eval echo "$as_me:1278: \"$ac_compiler --version </dev/null >&5\"") >&5 |
|
|
1279 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
|
|
1280 | ac_status=$? |
|
|
1281 | echo "$as_me:1281: \$? = $ac_status" >&5 |
|
|
1282 | (exit $ac_status); } |
|
|
1283 | { (eval echo "$as_me:1283: \"$ac_compiler -v </dev/null >&5\"") >&5 |
|
|
1284 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
|
|
1285 | ac_status=$? |
|
|
1286 | echo "$as_me:1286: \$? = $ac_status" >&5 |
|
|
1287 | (exit $ac_status); } |
|
|
1288 | { (eval echo "$as_me:1288: \"$ac_compiler -V </dev/null >&5\"") >&5 |
|
|
1289 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
|
|
1290 | ac_status=$? |
|
|
1291 | echo "$as_me:1291: \$? = $ac_status" >&5 |
|
|
1292 | (exit $ac_status); } |
|
|
1293 | |
650 | |
|
|
651 | ac_ext=c |
|
|
652 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
653 | ac_cpp='$CPP $CPPFLAGS' |
|
|
654 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
|
655 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
656 | cross_compiling=$ac_cv_prog_cc_cross |
|
|
657 | |
1294 | cat >conftest.$ac_ext <<_ACEOF |
658 | cat > conftest.$ac_ext << EOF |
|
|
659 | |
1295 | #line 1295 "configure" |
660 | #line 661 "configure" |
1296 | #include "confdefs.h" |
661 | #include "confdefs.h" |
1297 | |
662 | |
1298 | int |
663 | main(){return(0);} |
1299 | main () |
664 | EOF |
1300 | { |
665 | if { (eval echo configure:666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1301 | |
666 | ac_cv_prog_cc_works=yes |
1302 | ; |
667 | # If we can't run a trivial program, we are probably using a cross compiler. |
1303 | return 0; |
668 | if (./conftest; exit) 2>/dev/null; then |
1304 | } |
669 | ac_cv_prog_cc_cross=no |
1305 | _ACEOF |
|
|
1306 | ac_clean_files_save=$ac_clean_files |
|
|
1307 | ac_clean_files="$ac_clean_files a.out a.exe" |
|
|
1308 | # Try to create an executable without -o first, disregard a.out. |
|
|
1309 | # It will help us diagnose broken compilers, and finding out an intuition |
|
|
1310 | # of exeext. |
|
|
1311 | echo "$as_me:1311: checking for C compiler default output" >&5 |
|
|
1312 | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
|
|
1313 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
|
1314 | if { (eval echo "$as_me:1314: \"$ac_link_default\"") >&5 |
|
|
1315 | (eval $ac_link_default) 2>&5 |
|
|
1316 | ac_status=$? |
|
|
1317 | echo "$as_me:1317: \$? = $ac_status" >&5 |
|
|
1318 | (exit $ac_status); }; then |
|
|
1319 | # Find the output, starting from the most likely. This scheme is |
|
|
1320 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
|
|
1321 | # resort. |
|
|
1322 | for ac_file in `ls a.exe conftest.exe 2>/dev/null; |
|
|
1323 | ls a.out conftest 2>/dev/null; |
|
|
1324 | ls a.* conftest.* 2>/dev/null`; do |
|
|
1325 | case $ac_file in |
|
|
1326 | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
|
|
1327 | a.out ) # We found the default executable, but exeext='' is most |
|
|
1328 | # certainly right. |
|
|
1329 | break;; |
|
|
1330 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
|
1331 | # FIXME: I believe we export ac_cv_exeext for Libtool --akim. |
|
|
1332 | export ac_cv_exeext |
|
|
1333 | break;; |
|
|
1334 | * ) break;; |
|
|
1335 | esac |
|
|
1336 | done |
|
|
1337 | else |
|
|
1338 | echo "$as_me: failed program was:" >&5 |
|
|
1339 | cat conftest.$ac_ext >&5 |
|
|
1340 | { { echo "$as_me:1340: error: C compiler cannot create executables" >&5 |
|
|
1341 | echo "$as_me: error: C compiler cannot create executables" >&2;} |
|
|
1342 | { (exit 77); exit 77; }; } |
|
|
1343 | fi |
|
|
1344 | |
|
|
1345 | ac_exeext=$ac_cv_exeext |
|
|
1346 | echo "$as_me:1346: result: $ac_file" >&5 |
|
|
1347 | echo "${ECHO_T}$ac_file" >&6 |
|
|
1348 | |
|
|
1349 | # Check the compiler produces executables we can run. If not, either |
|
|
1350 | # the compiler is broken, or we cross compile. |
|
|
1351 | echo "$as_me:1351: checking whether the C compiler works" >&5 |
|
|
1352 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
|
|
1353 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
|
|
1354 | # If not cross compiling, check that we can run a simple program. |
|
|
1355 | if test "$cross_compiling" != yes; then |
|
|
1356 | if { ac_try='./$ac_file' |
|
|
1357 | { (eval echo "$as_me:1357: \"$ac_try\"") >&5 |
|
|
1358 | (eval $ac_try) 2>&5 |
|
|
1359 | ac_status=$? |
|
|
1360 | echo "$as_me:1360: \$? = $ac_status" >&5 |
|
|
1361 | (exit $ac_status); }; }; then |
|
|
1362 | cross_compiling=no |
|
|
1363 | else |
670 | else |
1364 | if test "$cross_compiling" = maybe; then |
671 | ac_cv_prog_cc_cross=yes |
1365 | cross_compiling=yes |
|
|
1366 | else |
|
|
1367 | { { echo "$as_me:1367: error: cannot run C compiled programs. |
|
|
1368 | If you meant to cross compile, use \`--host'." >&5 |
|
|
1369 | echo "$as_me: error: cannot run C compiled programs. |
|
|
1370 | If you meant to cross compile, use \`--host'." >&2;} |
|
|
1371 | { (exit 1); exit 1; }; } |
|
|
1372 | fi |
|
|
1373 | fi |
672 | fi |
1374 | fi |
|
|
1375 | echo "$as_me:1375: result: yes" >&5 |
|
|
1376 | echo "${ECHO_T}yes" >&6 |
|
|
1377 | |
|
|
1378 | rm -f a.out a.exe conftest$ac_cv_exeext |
|
|
1379 | ac_clean_files=$ac_clean_files_save |
|
|
1380 | # Check the compiler produces executables we can run. If not, either |
|
|
1381 | # the compiler is broken, or we cross compile. |
|
|
1382 | echo "$as_me:1382: checking whether we are cross compiling" >&5 |
|
|
1383 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
|
|
1384 | echo "$as_me:1384: result: $cross_compiling" >&5 |
|
|
1385 | echo "${ECHO_T}$cross_compiling" >&6 |
|
|
1386 | |
|
|
1387 | echo "$as_me:1387: checking for executable suffix" >&5 |
|
|
1388 | echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 |
|
|
1389 | if { (eval echo "$as_me:1389: \"$ac_link\"") >&5 |
|
|
1390 | (eval $ac_link) 2>&5 |
|
|
1391 | ac_status=$? |
|
|
1392 | echo "$as_me:1392: \$? = $ac_status" >&5 |
|
|
1393 | (exit $ac_status); }; then |
|
|
1394 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
|
|
1395 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|
|
1396 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
|
|
1397 | # `rm'. |
|
|
1398 | for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do |
|
|
1399 | case $ac_file in |
|
|
1400 | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
|
|
1401 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
|
1402 | export ac_cv_exeext |
|
|
1403 | break;; |
|
|
1404 | * ) break;; |
|
|
1405 | esac |
|
|
1406 | done |
|
|
1407 | else |
673 | else |
1408 | { { echo "$as_me:1408: error: cannot compute EXEEXT: cannot compile and link" >&5 |
|
|
1409 | echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} |
|
|
1410 | { (exit 1); exit 1; }; } |
|
|
1411 | fi |
|
|
1412 | |
|
|
1413 | rm -f conftest$ac_cv_exeext |
|
|
1414 | echo "$as_me:1414: result: $ac_cv_exeext" >&5 |
|
|
1415 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
|
|
1416 | |
|
|
1417 | rm -f conftest.$ac_ext |
|
|
1418 | EXEEXT=$ac_cv_exeext |
|
|
1419 | ac_exeext=$EXEEXT |
|
|
1420 | echo "$as_me:1420: checking for object suffix" >&5 |
|
|
1421 | echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 |
|
|
1422 | if test "${ac_cv_objext+set}" = set; then |
|
|
1423 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
1424 | else |
|
|
1425 | cat >conftest.$ac_ext <<_ACEOF |
|
|
1426 | #line 1426 "configure" |
|
|
1427 | #include "confdefs.h" |
|
|
1428 | |
|
|
1429 | int |
|
|
1430 | main () |
|
|
1431 | { |
|
|
1432 | |
|
|
1433 | ; |
|
|
1434 | return 0; |
|
|
1435 | } |
|
|
1436 | _ACEOF |
|
|
1437 | rm -f conftest.o conftest.obj |
|
|
1438 | if { (eval echo "$as_me:1438: \"$ac_compile\"") >&5 |
|
|
1439 | (eval $ac_compile) 2>&5 |
|
|
1440 | ac_status=$? |
|
|
1441 | echo "$as_me:1441: \$? = $ac_status" >&5 |
|
|
1442 | (exit $ac_status); }; then |
|
|
1443 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
|
|
1444 | case $ac_file in |
|
|
1445 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; |
|
|
1446 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
|
|
1447 | break;; |
|
|
1448 | esac |
|
|
1449 | done |
|
|
1450 | else |
|
|
1451 | echo "$as_me: failed program was:" >&5 |
674 | echo "configure: failed program was:" >&5 |
1452 | cat conftest.$ac_ext >&5 |
675 | cat conftest.$ac_ext >&5 |
1453 | { { echo "$as_me:1453: error: cannot compute OBJEXT: cannot compile" >&5 |
676 | ac_cv_prog_cc_works=no |
1454 | echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} |
|
|
1455 | { (exit 1); exit 1; }; } |
|
|
1456 | fi |
677 | fi |
|
|
678 | rm -fr conftest* |
|
|
679 | ac_ext=c |
|
|
680 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
681 | ac_cpp='$CPP $CPPFLAGS' |
|
|
682 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
|
683 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
684 | cross_compiling=$ac_cv_prog_cc_cross |
1457 | |
685 | |
1458 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
686 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
|
|
687 | if test $ac_cv_prog_cc_works = no; then |
|
|
688 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1459 | fi |
689 | fi |
1460 | echo "$as_me:1460: result: $ac_cv_objext" >&5 |
690 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1461 | echo "${ECHO_T}$ac_cv_objext" >&6 |
691 | echo "configure:692: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1462 | OBJEXT=$ac_cv_objext |
692 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1463 | ac_objext=$OBJEXT |
693 | cross_compiling=$ac_cv_prog_cc_cross |
1464 | echo "$as_me:1464: checking whether we are using the GNU C compiler" >&5 |
694 | |
1465 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
695 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1466 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
696 | echo "configure:697: checking whether we are using GNU C" >&5 |
|
|
697 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
1467 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
698 | echo $ac_n "(cached) $ac_c" 1>&6 |
1468 | else |
699 | else |
1469 | cat >conftest.$ac_ext <<_ACEOF |
700 | cat > conftest.c <<EOF |
1470 | #line 1470 "configure" |
|
|
1471 | #include "confdefs.h" |
|
|
1472 | |
|
|
1473 | int |
|
|
1474 | main () |
|
|
1475 | { |
|
|
1476 | #ifndef __GNUC__ |
701 | #ifdef __GNUC__ |
1477 | choke me |
702 | yes; |
1478 | #endif |
703 | #endif |
1479 | |
704 | EOF |
1480 | ; |
705 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1481 | return 0; |
706 | ac_cv_prog_gcc=yes |
1482 | } |
|
|
1483 | _ACEOF |
|
|
1484 | rm -f conftest.$ac_objext |
|
|
1485 | if { (eval echo "$as_me:1485: \"$ac_compile\"") >&5 |
|
|
1486 | (eval $ac_compile) 2>&5 |
|
|
1487 | ac_status=$? |
|
|
1488 | echo "$as_me:1488: \$? = $ac_status" >&5 |
|
|
1489 | (exit $ac_status); } && |
|
|
1490 | { ac_try='test -s conftest.$ac_objext' |
|
|
1491 | { (eval echo "$as_me:1491: \"$ac_try\"") >&5 |
|
|
1492 | (eval $ac_try) 2>&5 |
|
|
1493 | ac_status=$? |
|
|
1494 | echo "$as_me:1494: \$? = $ac_status" >&5 |
|
|
1495 | (exit $ac_status); }; }; then |
|
|
1496 | ac_compiler_gnu=yes |
|
|
1497 | else |
707 | else |
1498 | echo "$as_me: failed program was:" >&5 |
708 | ac_cv_prog_gcc=no |
1499 | cat conftest.$ac_ext >&5 |
|
|
1500 | ac_compiler_gnu=no |
|
|
1501 | fi |
709 | fi |
1502 | rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
1503 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
|
1504 | |
|
|
1505 | fi |
710 | fi |
1506 | echo "$as_me:1506: result: $ac_cv_c_compiler_gnu" >&5 |
711 | |
1507 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
712 | echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
1508 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
713 | |
|
|
714 | if test $ac_cv_prog_gcc = yes; then |
|
|
715 | GCC=yes |
|
|
716 | else |
|
|
717 | GCC= |
|
|
718 | fi |
|
|
719 | |
1509 | ac_test_CFLAGS=${CFLAGS+set} |
720 | ac_test_CFLAGS="${CFLAGS+set}" |
1510 | ac_save_CFLAGS=$CFLAGS |
721 | ac_save_CFLAGS="$CFLAGS" |
1511 | CFLAGS="-g" |
722 | CFLAGS= |
1512 | echo "$as_me:1512: checking whether $CC accepts -g" >&5 |
|
|
1513 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
723 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
|
|
724 | echo "configure:725: checking whether ${CC-cc} accepts -g" >&5 |
1514 | if test "${ac_cv_prog_cc_g+set}" = set; then |
725 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
1515 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
726 | echo $ac_n "(cached) $ac_c" 1>&6 |
1516 | else |
727 | else |
1517 | cat >conftest.$ac_ext <<_ACEOF |
728 | echo 'void f(){}' > conftest.c |
1518 | #line 1518 "configure" |
729 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1519 | #include "confdefs.h" |
|
|
1520 | |
|
|
1521 | int |
|
|
1522 | main () |
|
|
1523 | { |
|
|
1524 | |
|
|
1525 | ; |
|
|
1526 | return 0; |
|
|
1527 | } |
|
|
1528 | _ACEOF |
|
|
1529 | rm -f conftest.$ac_objext |
|
|
1530 | if { (eval echo "$as_me:1530: \"$ac_compile\"") >&5 |
|
|
1531 | (eval $ac_compile) 2>&5 |
|
|
1532 | ac_status=$? |
|
|
1533 | echo "$as_me:1533: \$? = $ac_status" >&5 |
|
|
1534 | (exit $ac_status); } && |
|
|
1535 | { ac_try='test -s conftest.$ac_objext' |
|
|
1536 | { (eval echo "$as_me:1536: \"$ac_try\"") >&5 |
|
|
1537 | (eval $ac_try) 2>&5 |
|
|
1538 | ac_status=$? |
|
|
1539 | echo "$as_me:1539: \$? = $ac_status" >&5 |
|
|
1540 | (exit $ac_status); }; }; then |
|
|
1541 | ac_cv_prog_cc_g=yes |
730 | ac_cv_prog_cc_g=yes |
1542 | else |
731 | else |
1543 | echo "$as_me: failed program was:" >&5 |
|
|
1544 | cat conftest.$ac_ext >&5 |
|
|
1545 | ac_cv_prog_cc_g=no |
732 | ac_cv_prog_cc_g=no |
1546 | fi |
733 | fi |
1547 | rm -f conftest.$ac_objext conftest.$ac_ext |
734 | rm -f conftest* |
|
|
735 | |
1548 | fi |
736 | fi |
1549 | echo "$as_me:1549: result: $ac_cv_prog_cc_g" >&5 |
737 | |
1550 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
738 | echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
1551 | if test "$ac_test_CFLAGS" = set; then |
739 | if test "$ac_test_CFLAGS" = set; then |
1552 | CFLAGS=$ac_save_CFLAGS |
740 | CFLAGS="$ac_save_CFLAGS" |
1553 | elif test $ac_cv_prog_cc_g = yes; then |
741 | elif test $ac_cv_prog_cc_g = yes; then |
1554 | if test "$GCC" = yes; then |
742 | if test "$GCC" = yes; then |
1555 | CFLAGS="-g -O2" |
743 | CFLAGS="-g -O2" |
1556 | else |
744 | else |
1557 | CFLAGS="-g" |
745 | CFLAGS="-g" |
… | |
… | |
1561 | CFLAGS="-O2" |
749 | CFLAGS="-O2" |
1562 | else |
750 | else |
1563 | CFLAGS= |
751 | CFLAGS= |
1564 | fi |
752 | fi |
1565 | fi |
753 | fi |
1566 | # Some people use a C++ compiler to compile C. Since we use `exit', |
|
|
1567 | # in C++ we need to declare it. In case someone uses the same compiler |
|
|
1568 | # for both compiling C and C++ we need to have the C++ compiler decide |
|
|
1569 | # the declaration of exit, since it's the most demanding environment. |
|
|
1570 | cat >conftest.$ac_ext <<_ACEOF |
|
|
1571 | #ifndef __cplusplus |
|
|
1572 | choke me |
|
|
1573 | #endif |
|
|
1574 | _ACEOF |
|
|
1575 | rm -f conftest.$ac_objext |
|
|
1576 | if { (eval echo "$as_me:1576: \"$ac_compile\"") >&5 |
|
|
1577 | (eval $ac_compile) 2>&5 |
|
|
1578 | ac_status=$? |
|
|
1579 | echo "$as_me:1579: \$? = $ac_status" >&5 |
|
|
1580 | (exit $ac_status); } && |
|
|
1581 | { ac_try='test -s conftest.$ac_objext' |
|
|
1582 | { (eval echo "$as_me:1582: \"$ac_try\"") >&5 |
|
|
1583 | (eval $ac_try) 2>&5 |
|
|
1584 | ac_status=$? |
|
|
1585 | echo "$as_me:1585: \$? = $ac_status" >&5 |
|
|
1586 | (exit $ac_status); }; }; then |
|
|
1587 | for ac_declaration in \ |
|
|
1588 | ''\ |
|
|
1589 | '#include <stdlib.h>' \ |
|
|
1590 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
|
|
1591 | 'extern "C" void std::exit (int); using std::exit;' \ |
|
|
1592 | 'extern "C" void exit (int) throw ();' \ |
|
|
1593 | 'extern "C" void exit (int);' \ |
|
|
1594 | 'void exit (int);' |
|
|
1595 | do |
|
|
1596 | cat >conftest.$ac_ext <<_ACEOF |
|
|
1597 | #line 1597 "configure" |
|
|
1598 | #include "confdefs.h" |
|
|
1599 | #include <stdlib.h> |
|
|
1600 | $ac_declaration |
|
|
1601 | int |
|
|
1602 | main () |
|
|
1603 | { |
|
|
1604 | exit (42); |
|
|
1605 | ; |
|
|
1606 | return 0; |
|
|
1607 | } |
|
|
1608 | _ACEOF |
|
|
1609 | rm -f conftest.$ac_objext |
|
|
1610 | if { (eval echo "$as_me:1610: \"$ac_compile\"") >&5 |
|
|
1611 | (eval $ac_compile) 2>&5 |
|
|
1612 | ac_status=$? |
|
|
1613 | echo "$as_me:1613: \$? = $ac_status" >&5 |
|
|
1614 | (exit $ac_status); } && |
|
|
1615 | { ac_try='test -s conftest.$ac_objext' |
|
|
1616 | { (eval echo "$as_me:1616: \"$ac_try\"") >&5 |
|
|
1617 | (eval $ac_try) 2>&5 |
|
|
1618 | ac_status=$? |
|
|
1619 | echo "$as_me:1619: \$? = $ac_status" >&5 |
|
|
1620 | (exit $ac_status); }; }; then |
|
|
1621 | : |
|
|
1622 | else |
|
|
1623 | echo "$as_me: failed program was:" >&5 |
|
|
1624 | cat conftest.$ac_ext >&5 |
|
|
1625 | continue |
|
|
1626 | fi |
|
|
1627 | rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
1628 | cat >conftest.$ac_ext <<_ACEOF |
|
|
1629 | #line 1629 "configure" |
|
|
1630 | #include "confdefs.h" |
|
|
1631 | $ac_declaration |
|
|
1632 | int |
|
|
1633 | main () |
|
|
1634 | { |
|
|
1635 | exit (42); |
|
|
1636 | ; |
|
|
1637 | return 0; |
|
|
1638 | } |
|
|
1639 | _ACEOF |
|
|
1640 | rm -f conftest.$ac_objext |
|
|
1641 | if { (eval echo "$as_me:1641: \"$ac_compile\"") >&5 |
|
|
1642 | (eval $ac_compile) 2>&5 |
|
|
1643 | ac_status=$? |
|
|
1644 | echo "$as_me:1644: \$? = $ac_status" >&5 |
|
|
1645 | (exit $ac_status); } && |
|
|
1646 | { ac_try='test -s conftest.$ac_objext' |
|
|
1647 | { (eval echo "$as_me:1647: \"$ac_try\"") >&5 |
|
|
1648 | (eval $ac_try) 2>&5 |
|
|
1649 | ac_status=$? |
|
|
1650 | echo "$as_me:1650: \$? = $ac_status" >&5 |
|
|
1651 | (exit $ac_status); }; }; then |
|
|
1652 | break |
|
|
1653 | else |
|
|
1654 | echo "$as_me: failed program was:" >&5 |
|
|
1655 | cat conftest.$ac_ext >&5 |
|
|
1656 | fi |
|
|
1657 | rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
1658 | done |
|
|
1659 | rm -f conftest* |
|
|
1660 | if test -n "$ac_declaration"; then |
|
|
1661 | echo '#ifdef __cplusplus' >>confdefs.h |
|
|
1662 | echo $ac_declaration >>confdefs.h |
|
|
1663 | echo '#endif' >>confdefs.h |
|
|
1664 | fi |
|
|
1665 | |
754 | |
1666 | else |
|
|
1667 | echo "$as_me: failed program was:" >&5 |
|
|
1668 | cat conftest.$ac_ext >&5 |
|
|
1669 | fi |
|
|
1670 | rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
1671 | ac_ext=c |
|
|
1672 | ac_cpp='$CPP $CPPFLAGS' |
|
|
1673 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
1674 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
1675 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
1676 | |
|
|
1677 | ac_ext=c |
|
|
1678 | ac_cpp='$CPP $CPPFLAGS' |
|
|
1679 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
1680 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
1681 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
1682 | echo "$as_me:1682: checking how to run the C preprocessor" >&5 |
|
|
1683 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
755 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
|
|
756 | echo "configure:757: checking how to run the C preprocessor" >&5 |
1684 | # On Suns, sometimes $CPP names a directory. |
757 | # On Suns, sometimes $CPP names a directory. |
1685 | if test -n "$CPP" && test -d "$CPP"; then |
758 | if test -n "$CPP" && test -d "$CPP"; then |
1686 | CPP= |
759 | CPP= |
1687 | fi |
760 | fi |
1688 | if test -z "$CPP"; then |
761 | if test -z "$CPP"; then |
1689 | if test "${ac_cv_prog_CPP+set}" = set; then |
762 | if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
1690 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
763 | echo $ac_n "(cached) $ac_c" 1>&6 |
1691 | else |
764 | else |
1692 | # Double quotes because CPP needs to be expanded |
765 | # This must be in double quotes, not single quotes, because CPP may get |
1693 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
766 | # substituted into the Makefile and "${CC-cc}" will confuse make. |
1694 | do |
767 | CPP="${CC-cc} -E" |
1695 | ac_preproc_ok=false |
|
|
1696 | for ac_c_preproc_warn_flag in '' yes |
|
|
1697 | do |
|
|
1698 | # Use a header file that comes with gcc, so configuring glibc |
|
|
1699 | # with a fresh cross-compiler works. |
|
|
1700 | # On the NeXT, cc -E runs the code through the compiler's parser, |
768 | # On the NeXT, cc -E runs the code through the compiler's parser, |
1701 | # not just through cpp. "Syntax error" is here to catch this case. |
769 | # not just through cpp. |
1702 | cat >conftest.$ac_ext <<_ACEOF |
770 | cat > conftest.$ac_ext <<EOF |
1703 | #line 1703 "configure" |
771 | #line 772 "configure" |
1704 | #include "confdefs.h" |
772 | #include "confdefs.h" |
1705 | #include <assert.h> |
773 | #include <assert.h> |
1706 | Syntax error |
774 | Syntax Error |
1707 | _ACEOF |
775 | EOF |
1708 | if { (eval echo "$as_me:1708: \"$ac_cpp conftest.$ac_ext\"") >&5 |
776 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1709 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
777 | { (eval echo configure:778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1710 | ac_status=$? |
778 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1711 | egrep -v '^ *\+' conftest.er1 >conftest.err |
|
|
1712 | rm -f conftest.er1 |
|
|
1713 | cat conftest.err >&5 |
|
|
1714 | echo "$as_me:1714: \$? = $ac_status" >&5 |
|
|
1715 | (exit $ac_status); } >/dev/null; then |
|
|
1716 | if test -s conftest.err; then |
|
|
1717 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
1718 | else |
|
|
1719 | ac_cpp_err= |
|
|
1720 | fi |
|
|
1721 | else |
|
|
1722 | ac_cpp_err=yes |
|
|
1723 | fi |
|
|
1724 | if test -z "$ac_cpp_err"; then |
779 | if test -z "$ac_err"; then |
1725 | : |
780 | : |
1726 | else |
781 | else |
|
|
782 | echo "$ac_err" >&5 |
1727 | echo "$as_me: failed program was:" >&5 |
783 | echo "configure: failed program was:" >&5 |
1728 | cat conftest.$ac_ext >&5 |
784 | cat conftest.$ac_ext >&5 |
1729 | # Broken: fails on valid input. |
785 | rm -rf conftest* |
1730 | continue |
786 | CPP="${CC-cc} -E -traditional-cpp" |
1731 | fi |
|
|
1732 | rm -f conftest.err conftest.$ac_ext |
|
|
1733 | |
|
|
1734 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
1735 | # can be detected and how. |
|
|
1736 | cat >conftest.$ac_ext <<_ACEOF |
787 | cat > conftest.$ac_ext <<EOF |
1737 | #line 1737 "configure" |
|
|
1738 | #include "confdefs.h" |
|
|
1739 | #include <ac_nonexistent.h> |
|
|
1740 | _ACEOF |
|
|
1741 | if { (eval echo "$as_me:1741: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
1742 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
1743 | ac_status=$? |
|
|
1744 | egrep -v '^ *\+' conftest.er1 >conftest.err |
|
|
1745 | rm -f conftest.er1 |
|
|
1746 | cat conftest.err >&5 |
|
|
1747 | echo "$as_me:1747: \$? = $ac_status" >&5 |
|
|
1748 | (exit $ac_status); } >/dev/null; then |
|
|
1749 | if test -s conftest.err; then |
|
|
1750 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
1751 | else |
|
|
1752 | ac_cpp_err= |
|
|
1753 | fi |
|
|
1754 | else |
|
|
1755 | ac_cpp_err=yes |
|
|
1756 | fi |
|
|
1757 | if test -z "$ac_cpp_err"; then |
|
|
1758 | # Broken: success on invalid input. |
|
|
1759 | continue |
|
|
1760 | else |
|
|
1761 | echo "$as_me: failed program was:" >&5 |
|
|
1762 | cat conftest.$ac_ext >&5 |
|
|
1763 | # Passes both tests. |
|
|
1764 | ac_preproc_ok=: |
|
|
1765 | break |
|
|
1766 | fi |
|
|
1767 | rm -f conftest.err conftest.$ac_ext |
|
|
1768 | |
|
|
1769 | done |
|
|
1770 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
1771 | rm -f conftest.err conftest.$ac_ext |
|
|
1772 | if $ac_preproc_ok; then |
|
|
1773 | break |
|
|
1774 | fi |
|
|
1775 | |
|
|
1776 | done |
|
|
1777 | ac_cv_prog_CPP=$CPP |
|
|
1778 | |
|
|
1779 | fi |
|
|
1780 | CPP=$ac_cv_prog_CPP |
|
|
1781 | else |
|
|
1782 | ac_cv_prog_CPP=$CPP |
|
|
1783 | fi |
|
|
1784 | echo "$as_me:1784: result: $CPP" >&5 |
|
|
1785 | echo "${ECHO_T}$CPP" >&6 |
|
|
1786 | ac_preproc_ok=false |
|
|
1787 | for ac_c_preproc_warn_flag in '' yes |
|
|
1788 | do |
|
|
1789 | # Use a header file that comes with gcc, so configuring glibc |
|
|
1790 | # with a fresh cross-compiler works. |
|
|
1791 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
1792 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
1793 | cat >conftest.$ac_ext <<_ACEOF |
|
|
1794 | #line 1794 "configure" |
788 | #line 789 "configure" |
1795 | #include "confdefs.h" |
789 | #include "confdefs.h" |
1796 | #include <assert.h> |
790 | #include <assert.h> |
1797 | Syntax error |
791 | Syntax Error |
1798 | _ACEOF |
792 | EOF |
1799 | if { (eval echo "$as_me:1799: \"$ac_cpp conftest.$ac_ext\"") >&5 |
793 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1800 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
794 | { (eval echo configure:795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1801 | ac_status=$? |
795 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1802 | egrep -v '^ *\+' conftest.er1 >conftest.err |
|
|
1803 | rm -f conftest.er1 |
|
|
1804 | cat conftest.err >&5 |
|
|
1805 | echo "$as_me:1805: \$? = $ac_status" >&5 |
|
|
1806 | (exit $ac_status); } >/dev/null; then |
|
|
1807 | if test -s conftest.err; then |
|
|
1808 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
1809 | else |
|
|
1810 | ac_cpp_err= |
|
|
1811 | fi |
|
|
1812 | else |
|
|
1813 | ac_cpp_err=yes |
|
|
1814 | fi |
|
|
1815 | if test -z "$ac_cpp_err"; then |
796 | if test -z "$ac_err"; then |
1816 | : |
797 | : |
1817 | else |
798 | else |
|
|
799 | echo "$ac_err" >&5 |
1818 | echo "$as_me: failed program was:" >&5 |
800 | echo "configure: failed program was:" >&5 |
1819 | cat conftest.$ac_ext >&5 |
801 | cat conftest.$ac_ext >&5 |
1820 | # Broken: fails on valid input. |
802 | rm -rf conftest* |
1821 | continue |
803 | CPP="${CC-cc} -nologo -E" |
1822 | fi |
|
|
1823 | rm -f conftest.err conftest.$ac_ext |
|
|
1824 | |
|
|
1825 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
1826 | # can be detected and how. |
|
|
1827 | cat >conftest.$ac_ext <<_ACEOF |
804 | cat > conftest.$ac_ext <<EOF |
1828 | #line 1828 "configure" |
805 | #line 806 "configure" |
1829 | #include "confdefs.h" |
806 | #include "confdefs.h" |
1830 | #include <ac_nonexistent.h> |
807 | #include <assert.h> |
1831 | _ACEOF |
808 | Syntax Error |
1832 | if { (eval echo "$as_me:1832: \"$ac_cpp conftest.$ac_ext\"") >&5 |
809 | EOF |
1833 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
810 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1834 | ac_status=$? |
811 | { (eval echo configure:812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1835 | egrep -v '^ *\+' conftest.er1 >conftest.err |
812 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1836 | rm -f conftest.er1 |
|
|
1837 | cat conftest.err >&5 |
|
|
1838 | echo "$as_me:1838: \$? = $ac_status" >&5 |
|
|
1839 | (exit $ac_status); } >/dev/null; then |
|
|
1840 | if test -s conftest.err; then |
|
|
1841 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
1842 | else |
|
|
1843 | ac_cpp_err= |
|
|
1844 | fi |
|
|
1845 | else |
|
|
1846 | ac_cpp_err=yes |
|
|
1847 | fi |
|
|
1848 | if test -z "$ac_cpp_err"; then |
813 | if test -z "$ac_err"; then |
1849 | # Broken: success on invalid input. |
814 | : |
1850 | continue |
|
|
1851 | else |
815 | else |
|
|
816 | echo "$ac_err" >&5 |
1852 | echo "$as_me: failed program was:" >&5 |
817 | echo "configure: failed program was:" >&5 |
1853 | cat conftest.$ac_ext >&5 |
818 | cat conftest.$ac_ext >&5 |
1854 | # Passes both tests. |
819 | rm -rf conftest* |
1855 | ac_preproc_ok=: |
820 | CPP=/lib/cpp |
1856 | break |
|
|
1857 | fi |
821 | fi |
1858 | rm -f conftest.err conftest.$ac_ext |
822 | rm -f conftest* |
1859 | |
|
|
1860 | done |
|
|
1861 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
1862 | rm -f conftest.err conftest.$ac_ext |
|
|
1863 | if $ac_preproc_ok; then |
|
|
1864 | : |
|
|
1865 | else |
|
|
1866 | { { echo "$as_me:1866: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
|
|
1867 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
|
|
1868 | { (exit 1); exit 1; }; } |
|
|
1869 | fi |
823 | fi |
1870 | |
824 | rm -f conftest* |
1871 | ac_ext=c |
825 | fi |
1872 | ac_cpp='$CPP $CPPFLAGS' |
826 | rm -f conftest* |
1873 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
827 | ac_cv_prog_CPP="$CPP" |
1874 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
828 | fi |
1875 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
829 | CPP="$ac_cv_prog_CPP" |
1876 | |
|
|
1877 | echo "$as_me:1877: checking if HP-UX ansi C compiler flags are needed" >&5 |
|
|
1878 | echo $ECHO_N "checking if HP-UX ansi C compiler flags are needed... $ECHO_C" >&6 |
|
|
1879 | |
|
|
1880 | os=`uname -s | tr 'A-Z' 'a-z'` |
|
|
1881 | ac_cv_hpux_flags=no |
|
|
1882 | if test "$os" = hp-ux ; then |
|
|
1883 | if test "$ac_cv_c_compiler_gnu" = yes ; then |
|
|
1884 | if test "$CFLAGS" != "" ; then |
|
|
1885 | # Shouldn't be in there. |
|
|
1886 | CFLAGS=`echo "$CFLAGS" | sed 's/-Aa//g'` |
|
|
1887 | fi |
|
|
1888 | else |
830 | else |
1889 | # If you're not using gcc, then you better have a cc/c89 |
831 | ac_cv_prog_CPP="$CPP" |
1890 | # that is usable. If you have the barebones compiler, it |
|
|
1891 | # won't work. The good compiler uses -Aa for the ANSI |
|
|
1892 | # compatible stuff. |
|
|
1893 | x=`echo $CFLAGS | grep 'Aa' 2>/dev/null` |
|
|
1894 | if test "$x" = "" ; then |
|
|
1895 | CFLAGS="$CFLAGS -Aa" |
|
|
1896 | fi |
|
|
1897 | ac_cv_hpux_flags=yes |
|
|
1898 | fi |
832 | fi |
1899 | # Also add _HPUX_SOURCE to get the extended namespace. |
833 | echo "$ac_t""$CPP" 1>&6 |
1900 | x=`echo $CFLAGS | grep '_HPUX_SOURCE' 2>/dev/null` |
|
|
1901 | if test "$x" = "" ; then |
|
|
1902 | CFLAGS="$CFLAGS -D_HPUX_SOURCE" |
|
|
1903 | fi |
|
|
1904 | fi |
|
|
1905 | echo "$as_me:1905: result: $ac_cv_hpux_flags" >&5 |
|
|
1906 | echo "${ECHO_T}$ac_cv_hpux_flags" >&6 |
|
|
1907 | |
834 | |
1908 | if test "$CFLAGS" = "" ; then |
|
|
1909 | CFLAGS="-O" |
|
|
1910 | elif test "$ac_cv_c_compiler_gnu" = "yes" ; then |
|
|
1911 | case "$CFLAGS" in |
|
|
1912 | *"-g -O"*) |
|
|
1913 | #echo "using -g as default gcc CFLAGS" 1>&6 |
|
|
1914 | CFLAGS=`echo $CFLAGS | sed 's/-g\ -O/-O/'` |
|
|
1915 | ;; |
|
|
1916 | *"-O -g"*) |
|
|
1917 | # Leave the -g, but remove all -O options. |
|
|
1918 | #echo "using -g as default gcc CFLAGS" 1>&6 |
|
|
1919 | CFLAGS=`echo $CFLAGS | sed 's/-O\ -g/-O/'` |
|
|
1920 | ;; |
|
|
1921 | esac |
|
|
1922 | fi |
|
|
1923 | |
835 | |
1924 | echo "$as_me:1924: checking if the compiler supports function prototypes" >&5 |
|
|
1925 | echo $ECHO_N "checking if the compiler supports function prototypes... $ECHO_C" >&6 |
836 | echo $ac_n "checking if the compiler supports function prototypes""... $ac_c" 1>&6 |
|
|
837 | echo "configure:838: checking if the compiler supports function prototypes" >&5 |
1926 | cat >conftest.$ac_ext <<_ACEOF |
838 | cat > conftest.$ac_ext <<EOF |
1927 | #line 1927 "configure" |
839 | #line 840 "configure" |
1928 | #include "confdefs.h" |
840 | #include "confdefs.h" |
1929 | |
841 | |
1930 | int |
842 | int main() { |
1931 | main () |
|
|
1932 | { |
|
|
1933 | extern void exit(int status); |
843 | extern void exit(int status); |
1934 | ; |
|
|
1935 | return 0; |
844 | ; return 0; } |
1936 | } |
845 | EOF |
1937 | _ACEOF |
846 | if { (eval echo configure:847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1938 | rm -f conftest.$ac_objext |
847 | rm -rf conftest* |
1939 | if { (eval echo "$as_me:1939: \"$ac_compile\"") >&5 |
|
|
1940 | (eval $ac_compile) 2>&5 |
|
|
1941 | ac_status=$? |
|
|
1942 | echo "$as_me:1942: \$? = $ac_status" >&5 |
|
|
1943 | (exit $ac_status); } && |
|
|
1944 | { ac_try='test -s conftest.$ac_objext' |
|
|
1945 | { (eval echo "$as_me:1945: \"$ac_try\"") >&5 |
|
|
1946 | (eval $ac_try) 2>&5 |
|
|
1947 | ac_status=$? |
|
|
1948 | echo "$as_me:1948: \$? = $ac_status" >&5 |
|
|
1949 | (exit $ac_status); }; }; then |
|
|
1950 | wi_cv_prototypes=yes |
848 | wi_cv_prototypes=yes |
1951 | cat >>confdefs.h <<\EOF |
849 | cat >> confdefs.h <<\EOF |
1952 | #define PROTOTYPES 1 |
850 | #define PROTOTYPES 1 |
1953 | EOF |
851 | EOF |
1954 | |
852 | |
1955 | else |
853 | else |
1956 | echo "$as_me: failed program was:" >&5 |
854 | echo "configure: failed program was:" >&5 |
1957 | cat conftest.$ac_ext >&5 |
855 | cat conftest.$ac_ext >&5 |
|
|
856 | rm -rf conftest* |
1958 | wi_cv_prototypes=no |
857 | wi_cv_prototypes=no |
1959 | fi |
858 | fi |
1960 | rm -f conftest.$ac_objext conftest.$ac_ext |
859 | rm -f conftest* |
1961 | echo "$as_me:1961: result: $wi_cv_prototypes" >&5 |
|
|
1962 | echo "${ECHO_T}$wi_cv_prototypes" >&6 |
860 | echo "$ac_t""$wi_cv_prototypes" 1>&6 |
1963 | |
861 | |
|
|
862 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
1964 | echo "$as_me:1964: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
863 | echo "configure:864: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
1965 | echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 |
|
|
1966 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
864 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
1967 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
865 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
1968 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
866 | echo $ac_n "(cached) $ac_c" 1>&6 |
1969 | else |
867 | else |
1970 | cat >conftest.make <<\EOF |
868 | cat > conftestmake <<\EOF |
1971 | all: |
869 | all: |
1972 | @echo 'ac_maketemp="${MAKE}"' |
870 | @echo 'ac_maketemp="${MAKE}"' |
1973 | EOF |
871 | EOF |
1974 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
872 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
1975 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
873 | eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` |
1976 | if test -n "$ac_maketemp"; then |
874 | if test -n "$ac_maketemp"; then |
1977 | eval ac_cv_prog_make_${ac_make}_set=yes |
875 | eval ac_cv_prog_make_${ac_make}_set=yes |
1978 | else |
876 | else |
1979 | eval ac_cv_prog_make_${ac_make}_set=no |
877 | eval ac_cv_prog_make_${ac_make}_set=no |
1980 | fi |
878 | fi |
1981 | rm -f conftest.make |
879 | rm -f conftestmake |
1982 | fi |
880 | fi |
1983 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
881 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
1984 | echo "$as_me:1984: result: yes" >&5 |
882 | echo "$ac_t""yes" 1>&6 |
1985 | echo "${ECHO_T}yes" >&6 |
|
|
1986 | SET_MAKE= |
883 | SET_MAKE= |
1987 | else |
884 | else |
1988 | echo "$as_me:1988: result: no" >&5 |
885 | echo "$ac_t""no" 1>&6 |
1989 | echo "${ECHO_T}no" >&6 |
|
|
1990 | SET_MAKE="MAKE=${MAKE-make}" |
886 | SET_MAKE="MAKE=${MAKE-make}" |
1991 | fi |
887 | fi |
1992 | |
888 | |
1993 | if test -n "$ac_tool_prefix"; then |
|
|
1994 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
889 | # Extract the first word of "ranlib", so it can be a program name with args. |
1995 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
890 | set dummy ranlib; ac_word=$2 |
1996 | echo "$as_me:1996: checking for $ac_word" >&5 |
|
|
1997 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
891 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
892 | echo "configure:893: checking for $ac_word" >&5 |
1998 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
893 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
1999 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
894 | echo $ac_n "(cached) $ac_c" 1>&6 |
2000 | else |
895 | else |
2001 | if test -n "$RANLIB"; then |
896 | if test -n "$RANLIB"; then |
2002 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
897 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2003 | else |
898 | else |
2004 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
899 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2005 | ac_dummy="$PATH" |
900 | ac_dummy="$PATH" |
2006 | for ac_dir in $ac_dummy; do |
901 | for ac_dir in $ac_dummy; do |
2007 | IFS=$ac_save_IFS |
|
|
2008 | test -z "$ac_dir" && ac_dir=. |
902 | test -z "$ac_dir" && ac_dir=. |
2009 | $as_executable_p "$ac_dir/$ac_word" || continue |
903 | if test -f $ac_dir/$ac_word; then |
2010 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
904 | ac_cv_prog_RANLIB="ranlib" |
2011 | echo "$as_me:2011: found $ac_dir/$ac_word" >&5 |
905 | break |
2012 | break |
906 | fi |
2013 | done |
907 | done |
2014 | |
908 | IFS="$ac_save_ifs" |
|
|
909 | test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" |
2015 | fi |
910 | fi |
2016 | fi |
911 | fi |
2017 | RANLIB=$ac_cv_prog_RANLIB |
912 | RANLIB="$ac_cv_prog_RANLIB" |
2018 | if test -n "$RANLIB"; then |
913 | if test -n "$RANLIB"; then |
2019 | echo "$as_me:2019: result: $RANLIB" >&5 |
914 | echo "$ac_t""$RANLIB" 1>&6 |
2020 | echo "${ECHO_T}$RANLIB" >&6 |
|
|
2021 | else |
915 | else |
2022 | echo "$as_me:2022: result: no" >&5 |
916 | echo "$ac_t""no" 1>&6 |
2023 | echo "${ECHO_T}no" >&6 |
|
|
2024 | fi |
917 | fi |
2025 | |
918 | |
2026 | fi |
|
|
2027 | if test -z "$ac_cv_prog_RANLIB"; then |
|
|
2028 | ac_ct_RANLIB=$RANLIB |
|
|
2029 | # Extract the first word of "ranlib", so it can be a program name with args. |
|
|
2030 | set dummy ranlib; ac_word=$2 |
|
|
2031 | echo "$as_me:2031: checking for $ac_word" >&5 |
|
|
2032 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
2033 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
|
|
2034 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
2035 | else |
|
|
2036 | if test -n "$ac_ct_RANLIB"; then |
|
|
2037 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
|
2038 | else |
|
|
2039 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
|
|
2040 | ac_dummy="$PATH" |
|
|
2041 | for ac_dir in $ac_dummy; do |
|
|
2042 | IFS=$ac_save_IFS |
|
|
2043 | test -z "$ac_dir" && ac_dir=. |
|
|
2044 | $as_executable_p "$ac_dir/$ac_word" || continue |
|
|
2045 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
|
|
2046 | echo "$as_me:2046: found $ac_dir/$ac_word" >&5 |
|
|
2047 | break |
|
|
2048 | done |
|
|
2049 | |
|
|
2050 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
|
|
2051 | fi |
|
|
2052 | fi |
|
|
2053 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
|
2054 | if test -n "$ac_ct_RANLIB"; then |
|
|
2055 | echo "$as_me:2055: result: $ac_ct_RANLIB" >&5 |
|
|
2056 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
|
|
2057 | else |
|
|
2058 | echo "$as_me:2058: result: no" >&5 |
|
|
2059 | echo "${ECHO_T}no" >&6 |
|
|
2060 | fi |
|
|
2061 | |
|
|
2062 | RANLIB=$ac_ct_RANLIB |
|
|
2063 | else |
|
|
2064 | RANLIB="$ac_cv_prog_RANLIB" |
|
|
2065 | fi |
|
|
2066 | |
919 | |
2067 | if test "$wi_cv_prototypes" = no ; then |
920 | if test "$wi_cv_prototypes" = no ; then |
2068 | { echo "$as_me:2068: WARNING: Your compiler does not support function prototyping and" >&5 |
|
|
2069 | echo "$as_me: WARNING: Your compiler does not support function prototyping and" >&2;} |
921 | echo "configure: warning: Your compiler does not support function prototyping and" 1>&2 |
2070 | { echo "$as_me:2070: WARNING: is not able to properly compile this package. What a pity." >&5 |
|
|
2071 | echo "$as_me: WARNING: is not able to properly compile this package. What a pity." >&2;} |
922 | echo "configure: warning: is not able to properly compile this package. What a pity." 1>&2 |
2072 | { echo "$as_me:2072: WARNING: Get gcc, or any compiler that supports function prototypes." >&5 |
923 | echo "configure: warning: Get gcc, or any compiler that supports function prototypes." 1>&2 |
2073 | echo "$as_me: WARNING: Get gcc, or any compiler that supports function prototypes." >&2;} |
|
|
2074 | exit 1 |
924 | exit 1 |
2075 | fi |
925 | fi |
2076 | |
926 | |
2077 | # |
927 | # |
2078 | # Checks for header files and library functions |
928 | # Checks for header files and library functions |
2079 | # |
929 | # |
2080 | |
930 | |
2081 | echo "$as_me:2081: checking for ANSI C header files" >&5 |
|
|
2082 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
931 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
|
|
932 | echo "configure:933: checking for ANSI C header files" >&5 |
2083 | if test "${ac_cv_header_stdc+set}" = set; then |
933 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
2084 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
934 | echo $ac_n "(cached) $ac_c" 1>&6 |
2085 | else |
935 | else |
2086 | cat >conftest.$ac_ext <<_ACEOF |
936 | cat > conftest.$ac_ext <<EOF |
2087 | #line 2087 "configure" |
937 | #line 938 "configure" |
2088 | #include "confdefs.h" |
938 | #include "confdefs.h" |
2089 | #include <stdlib.h> |
939 | #include <stdlib.h> |
2090 | #include <stdarg.h> |
940 | #include <stdarg.h> |
2091 | #include <string.h> |
941 | #include <string.h> |
2092 | #include <float.h> |
942 | #include <float.h> |
2093 | |
943 | EOF |
2094 | _ACEOF |
944 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2095 | if { (eval echo "$as_me:2095: \"$ac_cpp conftest.$ac_ext\"") >&5 |
945 | { (eval echo configure:946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2096 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
946 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2097 | ac_status=$? |
|
|
2098 | egrep -v '^ *\+' conftest.er1 >conftest.err |
|
|
2099 | rm -f conftest.er1 |
|
|
2100 | cat conftest.err >&5 |
|
|
2101 | echo "$as_me:2101: \$? = $ac_status" >&5 |
|
|
2102 | (exit $ac_status); } >/dev/null; then |
|
|
2103 | if test -s conftest.err; then |
|
|
2104 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
2105 | else |
|
|
2106 | ac_cpp_err= |
|
|
2107 | fi |
|
|
2108 | else |
|
|
2109 | ac_cpp_err=yes |
|
|
2110 | fi |
|
|
2111 | if test -z "$ac_cpp_err"; then |
947 | if test -z "$ac_err"; then |
|
|
948 | rm -rf conftest* |
2112 | ac_cv_header_stdc=yes |
949 | ac_cv_header_stdc=yes |
2113 | else |
950 | else |
|
|
951 | echo "$ac_err" >&5 |
2114 | echo "$as_me: failed program was:" >&5 |
952 | echo "configure: failed program was:" >&5 |
2115 | cat conftest.$ac_ext >&5 |
953 | cat conftest.$ac_ext >&5 |
|
|
954 | rm -rf conftest* |
2116 | ac_cv_header_stdc=no |
955 | ac_cv_header_stdc=no |
2117 | fi |
956 | fi |
2118 | rm -f conftest.err conftest.$ac_ext |
957 | rm -f conftest* |
2119 | |
958 | |
2120 | if test $ac_cv_header_stdc = yes; then |
959 | if test $ac_cv_header_stdc = yes; then |
2121 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
960 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2122 | cat >conftest.$ac_ext <<_ACEOF |
961 | cat > conftest.$ac_ext <<EOF |
2123 | #line 2123 "configure" |
962 | #line 963 "configure" |
2124 | #include "confdefs.h" |
963 | #include "confdefs.h" |
2125 | #include <string.h> |
964 | #include <string.h> |
2126 | |
965 | EOF |
2127 | _ACEOF |
|
|
2128 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
966 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2129 | egrep "memchr" >/dev/null 2>&1; then |
967 | egrep "memchr" >/dev/null 2>&1; then |
2130 | : |
968 | : |
2131 | else |
969 | else |
|
|
970 | rm -rf conftest* |
2132 | ac_cv_header_stdc=no |
971 | ac_cv_header_stdc=no |
2133 | fi |
972 | fi |
2134 | rm -f conftest* |
973 | rm -f conftest* |
2135 | |
974 | |
2136 | fi |
975 | fi |
2137 | |
976 | |
2138 | if test $ac_cv_header_stdc = yes; then |
977 | if test $ac_cv_header_stdc = yes; then |
2139 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
978 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2140 | cat >conftest.$ac_ext <<_ACEOF |
979 | cat > conftest.$ac_ext <<EOF |
2141 | #line 2141 "configure" |
980 | #line 981 "configure" |
2142 | #include "confdefs.h" |
981 | #include "confdefs.h" |
2143 | #include <stdlib.h> |
982 | #include <stdlib.h> |
2144 | |
983 | EOF |
2145 | _ACEOF |
|
|
2146 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
984 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2147 | egrep "free" >/dev/null 2>&1; then |
985 | egrep "free" >/dev/null 2>&1; then |
2148 | : |
986 | : |
2149 | else |
987 | else |
|
|
988 | rm -rf conftest* |
2150 | ac_cv_header_stdc=no |
989 | ac_cv_header_stdc=no |
2151 | fi |
990 | fi |
2152 | rm -f conftest* |
991 | rm -f conftest* |
2153 | |
992 | |
2154 | fi |
993 | fi |
2155 | |
994 | |
2156 | if test $ac_cv_header_stdc = yes; then |
995 | if test $ac_cv_header_stdc = yes; then |
2157 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
996 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2158 | if test "$cross_compiling" = yes; then |
997 | if test "$cross_compiling" = yes; then |
2159 | : |
998 | : |
2160 | else |
999 | else |
2161 | cat >conftest.$ac_ext <<_ACEOF |
1000 | cat > conftest.$ac_ext <<EOF |
2162 | #line 2162 "configure" |
1001 | #line 1002 "configure" |
2163 | #include "confdefs.h" |
1002 | #include "confdefs.h" |
2164 | #include <ctype.h> |
1003 | #include <ctype.h> |
2165 | #if ((' ' & 0x0FF) == 0x020) |
|
|
2166 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
1004 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2167 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
1005 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
1006 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
1007 | int main () { int i; for (i = 0; i < 256; i++) |
|
|
1008 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
|
|
1009 | exit (0); } |
|
|
1010 | |
|
|
1011 | EOF |
|
|
1012 | if { (eval echo configure:1013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
1013 | then |
|
|
1014 | : |
2168 | #else |
1015 | else |
2169 | # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ |
1016 | echo "configure: failed program was:" >&5 |
2170 | || ('j' <= (c) && (c) <= 'r') \ |
1017 | cat conftest.$ac_ext >&5 |
2171 | || ('s' <= (c) && (c) <= 'z')) |
1018 | rm -fr conftest* |
2172 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
1019 | ac_cv_header_stdc=no |
|
|
1020 | fi |
|
|
1021 | rm -fr conftest* |
|
|
1022 | fi |
|
|
1023 | |
|
|
1024 | fi |
|
|
1025 | fi |
|
|
1026 | |
|
|
1027 | echo "$ac_t""$ac_cv_header_stdc" 1>&6 |
|
|
1028 | if test $ac_cv_header_stdc = yes; then |
|
|
1029 | cat >> confdefs.h <<\EOF |
|
|
1030 | #define STDC_HEADERS 1 |
|
|
1031 | EOF |
|
|
1032 | |
|
|
1033 | fi |
|
|
1034 | |
|
|
1035 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
|
|
1036 | echo "configure:1037: checking for size_t" >&5 |
|
|
1037 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
|
|
1038 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
1039 | else |
|
|
1040 | cat > conftest.$ac_ext <<EOF |
|
|
1041 | #line 1042 "configure" |
|
|
1042 | #include "confdefs.h" |
|
|
1043 | #include <sys/types.h> |
|
|
1044 | #if STDC_HEADERS |
|
|
1045 | #include <stdlib.h> |
|
|
1046 | #include <stddef.h> |
2173 | #endif |
1047 | #endif |
2174 | |
|
|
2175 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
2176 | int |
|
|
2177 | main () |
|
|
2178 | { |
|
|
2179 | int i; |
|
|
2180 | for (i = 0; i < 256; i++) |
|
|
2181 | if (XOR (islower (i), ISLOWER (i)) |
|
|
2182 | || toupper (i) != TOUPPER (i)) |
|
|
2183 | exit(2); |
|
|
2184 | exit (0); |
|
|
2185 | } |
|
|
2186 | _ACEOF |
|
|
2187 | rm -f conftest$ac_exeext |
|
|
2188 | if { (eval echo "$as_me:2188: \"$ac_link\"") >&5 |
|
|
2189 | (eval $ac_link) 2>&5 |
|
|
2190 | ac_status=$? |
|
|
2191 | echo "$as_me:2191: \$? = $ac_status" >&5 |
|
|
2192 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
2193 | { (eval echo "$as_me:2193: \"$ac_try\"") >&5 |
|
|
2194 | (eval $ac_try) 2>&5 |
|
|
2195 | ac_status=$? |
|
|
2196 | echo "$as_me:2196: \$? = $ac_status" >&5 |
|
|
2197 | (exit $ac_status); }; }; then |
|
|
2198 | : |
|
|
2199 | else |
|
|
2200 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
2201 | echo "$as_me: failed program was:" >&5 |
|
|
2202 | cat conftest.$ac_ext >&5 |
|
|
2203 | ac_cv_header_stdc=no |
|
|
2204 | fi |
|
|
2205 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
2206 | fi |
|
|
2207 | fi |
|
|
2208 | fi |
|
|
2209 | echo "$as_me:2209: result: $ac_cv_header_stdc" >&5 |
|
|
2210 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
|
|
2211 | if test $ac_cv_header_stdc = yes; then |
|
|
2212 | |
|
|
2213 | cat >>confdefs.h <<\EOF |
|
|
2214 | #define STDC_HEADERS 1 |
|
|
2215 | EOF |
1048 | EOF |
2216 | |
1049 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2217 | fi |
1050 | egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
2218 | |
1051 | rm -rf conftest* |
2219 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
2220 | |
|
|
2221 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
2222 | inttypes.h stdint.h unistd.h |
|
|
2223 | do |
|
|
2224 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
2225 | echo "$as_me:2225: checking for $ac_header" >&5 |
|
|
2226 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
2227 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
2228 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
2229 | else |
|
|
2230 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2231 | #line 2231 "configure" |
|
|
2232 | #include "confdefs.h" |
|
|
2233 | $ac_includes_default |
|
|
2234 | #include <$ac_header> |
|
|
2235 | _ACEOF |
|
|
2236 | rm -f conftest.$ac_objext |
|
|
2237 | if { (eval echo "$as_me:2237: \"$ac_compile\"") >&5 |
|
|
2238 | (eval $ac_compile) 2>&5 |
|
|
2239 | ac_status=$? |
|
|
2240 | echo "$as_me:2240: \$? = $ac_status" >&5 |
|
|
2241 | (exit $ac_status); } && |
|
|
2242 | { ac_try='test -s conftest.$ac_objext' |
|
|
2243 | { (eval echo "$as_me:2243: \"$ac_try\"") >&5 |
|
|
2244 | (eval $ac_try) 2>&5 |
|
|
2245 | ac_status=$? |
|
|
2246 | echo "$as_me:2246: \$? = $ac_status" >&5 |
|
|
2247 | (exit $ac_status); }; }; then |
|
|
2248 | eval "$as_ac_Header=yes" |
|
|
2249 | else |
|
|
2250 | echo "$as_me: failed program was:" >&5 |
|
|
2251 | cat conftest.$ac_ext >&5 |
|
|
2252 | eval "$as_ac_Header=no" |
|
|
2253 | fi |
|
|
2254 | rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
2255 | fi |
|
|
2256 | echo "$as_me:2256: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
2257 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
2258 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
2259 | cat >>confdefs.h <<EOF |
|
|
2260 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
2261 | EOF |
|
|
2262 | |
|
|
2263 | fi |
|
|
2264 | done |
|
|
2265 | |
|
|
2266 | echo "$as_me:2266: checking for size_t" >&5 |
|
|
2267 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
|
|
2268 | if test "${ac_cv_type_size_t+set}" = set; then |
|
|
2269 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
2270 | else |
|
|
2271 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2272 | #line 2272 "configure" |
|
|
2273 | #include "confdefs.h" |
|
|
2274 | $ac_includes_default |
|
|
2275 | int |
|
|
2276 | main () |
|
|
2277 | { |
|
|
2278 | if ((size_t *) 0) |
|
|
2279 | return 0; |
|
|
2280 | if (sizeof (size_t)) |
|
|
2281 | return 0; |
|
|
2282 | ; |
|
|
2283 | return 0; |
|
|
2284 | } |
|
|
2285 | _ACEOF |
|
|
2286 | rm -f conftest.$ac_objext |
|
|
2287 | if { (eval echo "$as_me:2287: \"$ac_compile\"") >&5 |
|
|
2288 | (eval $ac_compile) 2>&5 |
|
|
2289 | ac_status=$? |
|
|
2290 | echo "$as_me:2290: \$? = $ac_status" >&5 |
|
|
2291 | (exit $ac_status); } && |
|
|
2292 | { ac_try='test -s conftest.$ac_objext' |
|
|
2293 | { (eval echo "$as_me:2293: \"$ac_try\"") >&5 |
|
|
2294 | (eval $ac_try) 2>&5 |
|
|
2295 | ac_status=$? |
|
|
2296 | echo "$as_me:2296: \$? = $ac_status" >&5 |
|
|
2297 | (exit $ac_status); }; }; then |
|
|
2298 | ac_cv_type_size_t=yes |
1052 | ac_cv_type_size_t=yes |
2299 | else |
1053 | else |
2300 | echo "$as_me: failed program was:" >&5 |
1054 | rm -rf conftest* |
2301 | cat conftest.$ac_ext >&5 |
|
|
2302 | ac_cv_type_size_t=no |
1055 | ac_cv_type_size_t=no |
2303 | fi |
1056 | fi |
2304 | rm -f conftest.$ac_objext conftest.$ac_ext |
1057 | rm -f conftest* |
|
|
1058 | |
2305 | fi |
1059 | fi |
2306 | echo "$as_me:2306: result: $ac_cv_type_size_t" >&5 |
|
|
2307 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
1060 | echo "$ac_t""$ac_cv_type_size_t" 1>&6 |
2308 | if test $ac_cv_type_size_t = yes; then |
1061 | if test $ac_cv_type_size_t = no; then |
2309 | : |
|
|
2310 | else |
|
|
2311 | |
|
|
2312 | cat >>confdefs.h <<EOF |
1062 | cat >> confdefs.h <<\EOF |
2313 | #define size_t unsigned |
1063 | #define size_t unsigned |
2314 | EOF |
1064 | EOF |
2315 | |
1065 | |
2316 | fi |
1066 | fi |
2317 | |
1067 | |
2318 | echo "$as_me:2318: checking whether time.h and sys/time.h may both be included" >&5 |
|
|
2319 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
1068 | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
|
|
1069 | echo "configure:1070: checking whether time.h and sys/time.h may both be included" >&5 |
2320 | if test "${ac_cv_header_time+set}" = set; then |
1070 | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
2321 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1071 | echo $ac_n "(cached) $ac_c" 1>&6 |
2322 | else |
1072 | else |
2323 | cat >conftest.$ac_ext <<_ACEOF |
1073 | cat > conftest.$ac_ext <<EOF |
2324 | #line 2324 "configure" |
1074 | #line 1075 "configure" |
2325 | #include "confdefs.h" |
1075 | #include "confdefs.h" |
2326 | #include <sys/types.h> |
1076 | #include <sys/types.h> |
2327 | #include <sys/time.h> |
1077 | #include <sys/time.h> |
2328 | #include <time.h> |
1078 | #include <time.h> |
2329 | |
1079 | int main() { |
2330 | int |
1080 | struct tm *tp; |
2331 | main () |
|
|
2332 | { |
|
|
2333 | if ((struct tm *) 0) |
|
|
2334 | return 0; |
|
|
2335 | ; |
|
|
2336 | return 0; |
1081 | ; return 0; } |
2337 | } |
1082 | EOF |
2338 | _ACEOF |
1083 | if { (eval echo configure:1084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2339 | rm -f conftest.$ac_objext |
1084 | rm -rf conftest* |
2340 | if { (eval echo "$as_me:2340: \"$ac_compile\"") >&5 |
|
|
2341 | (eval $ac_compile) 2>&5 |
|
|
2342 | ac_status=$? |
|
|
2343 | echo "$as_me:2343: \$? = $ac_status" >&5 |
|
|
2344 | (exit $ac_status); } && |
|
|
2345 | { ac_try='test -s conftest.$ac_objext' |
|
|
2346 | { (eval echo "$as_me:2346: \"$ac_try\"") >&5 |
|
|
2347 | (eval $ac_try) 2>&5 |
|
|
2348 | ac_status=$? |
|
|
2349 | echo "$as_me:2349: \$? = $ac_status" >&5 |
|
|
2350 | (exit $ac_status); }; }; then |
|
|
2351 | ac_cv_header_time=yes |
1085 | ac_cv_header_time=yes |
2352 | else |
1086 | else |
2353 | echo "$as_me: failed program was:" >&5 |
1087 | echo "configure: failed program was:" >&5 |
2354 | cat conftest.$ac_ext >&5 |
1088 | cat conftest.$ac_ext >&5 |
|
|
1089 | rm -rf conftest* |
2355 | ac_cv_header_time=no |
1090 | ac_cv_header_time=no |
2356 | fi |
1091 | fi |
2357 | rm -f conftest.$ac_objext conftest.$ac_ext |
1092 | rm -f conftest* |
2358 | fi |
1093 | fi |
2359 | echo "$as_me:2359: result: $ac_cv_header_time" >&5 |
1094 | |
2360 | echo "${ECHO_T}$ac_cv_header_time" >&6 |
1095 | echo "$ac_t""$ac_cv_header_time" 1>&6 |
2361 | if test $ac_cv_header_time = yes; then |
1096 | if test $ac_cv_header_time = yes; then |
2362 | |
|
|
2363 | cat >>confdefs.h <<\EOF |
1097 | cat >> confdefs.h <<\EOF |
2364 | #define TIME_WITH_SYS_TIME 1 |
1098 | #define TIME_WITH_SYS_TIME 1 |
2365 | EOF |
1099 | EOF |
2366 | |
1100 | |
2367 | fi |
1101 | fi |
2368 | |
1102 | |
2369 | for ac_header in fcntl.h unistd.h memory.h malloc.h errno.h |
1103 | for ac_hdr in fcntl.h unistd.h memory.h malloc.h errno.h |
2370 | do |
1104 | do |
2371 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
1105 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2372 | echo "$as_me:2372: checking for $ac_header" >&5 |
|
|
2373 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
1106 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2374 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
1107 | echo "configure:1108: checking for $ac_hdr" >&5 |
|
|
1108 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2375 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1109 | echo $ac_n "(cached) $ac_c" 1>&6 |
2376 | else |
1110 | else |
2377 | cat >conftest.$ac_ext <<_ACEOF |
1111 | cat > conftest.$ac_ext <<EOF |
2378 | #line 2378 "configure" |
1112 | #line 1113 "configure" |
2379 | #include "confdefs.h" |
1113 | #include "confdefs.h" |
2380 | #include <$ac_header> |
1114 | #include <$ac_hdr> |
2381 | _ACEOF |
1115 | EOF |
2382 | if { (eval echo "$as_me:2382: \"$ac_cpp conftest.$ac_ext\"") >&5 |
1116 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2383 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
1117 | { (eval echo configure:1118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2384 | ac_status=$? |
1118 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2385 | egrep -v '^ *\+' conftest.er1 >conftest.err |
|
|
2386 | rm -f conftest.er1 |
|
|
2387 | cat conftest.err >&5 |
|
|
2388 | echo "$as_me:2388: \$? = $ac_status" >&5 |
|
|
2389 | (exit $ac_status); } >/dev/null; then |
|
|
2390 | if test -s conftest.err; then |
|
|
2391 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
2392 | else |
|
|
2393 | ac_cpp_err= |
|
|
2394 | fi |
|
|
2395 | else |
|
|
2396 | ac_cpp_err=yes |
|
|
2397 | fi |
|
|
2398 | if test -z "$ac_cpp_err"; then |
1119 | if test -z "$ac_err"; then |
2399 | eval "$as_ac_Header=yes" |
1120 | rm -rf conftest* |
|
|
1121 | eval "ac_cv_header_$ac_safe=yes" |
2400 | else |
1122 | else |
|
|
1123 | echo "$ac_err" >&5 |
2401 | echo "$as_me: failed program was:" >&5 |
1124 | echo "configure: failed program was:" >&5 |
2402 | cat conftest.$ac_ext >&5 |
1125 | cat conftest.$ac_ext >&5 |
2403 | eval "$as_ac_Header=no" |
1126 | rm -rf conftest* |
|
|
1127 | eval "ac_cv_header_$ac_safe=no" |
2404 | fi |
1128 | fi |
2405 | rm -f conftest.err conftest.$ac_ext |
1129 | rm -f conftest* |
2406 | fi |
1130 | fi |
2407 | echo "$as_me:2407: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
1131 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
2408 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
1132 | echo "$ac_t""yes" 1>&6 |
2409 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
1133 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
2410 | cat >>confdefs.h <<EOF |
1134 | cat >> confdefs.h <<EOF |
2411 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
1135 | #define $ac_tr_hdr 1 |
2412 | EOF |
1136 | EOF |
2413 | |
1137 | |
|
|
1138 | else |
|
|
1139 | echo "$ac_t""no" 1>&6 |
2414 | fi |
1140 | fi |
2415 | done |
1141 | done |
2416 | |
1142 | |
2417 | for ac_header in io.h sys/time.h |
1143 | for ac_hdr in io.h sys/time.h |
2418 | do |
1144 | do |
2419 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
1145 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2420 | echo "$as_me:2420: checking for $ac_header" >&5 |
|
|
2421 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
1146 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2422 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
1147 | echo "configure:1148: checking for $ac_hdr" >&5 |
|
|
1148 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2423 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1149 | echo $ac_n "(cached) $ac_c" 1>&6 |
2424 | else |
1150 | else |
2425 | cat >conftest.$ac_ext <<_ACEOF |
1151 | cat > conftest.$ac_ext <<EOF |
2426 | #line 2426 "configure" |
1152 | #line 1153 "configure" |
2427 | #include "confdefs.h" |
1153 | #include "confdefs.h" |
2428 | #include <$ac_header> |
1154 | #include <$ac_hdr> |
2429 | _ACEOF |
1155 | EOF |
2430 | if { (eval echo "$as_me:2430: \"$ac_cpp conftest.$ac_ext\"") >&5 |
1156 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2431 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
1157 | { (eval echo configure:1158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2432 | ac_status=$? |
1158 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2433 | egrep -v '^ *\+' conftest.er1 >conftest.err |
|
|
2434 | rm -f conftest.er1 |
|
|
2435 | cat conftest.err >&5 |
|
|
2436 | echo "$as_me:2436: \$? = $ac_status" >&5 |
|
|
2437 | (exit $ac_status); } >/dev/null; then |
|
|
2438 | if test -s conftest.err; then |
|
|
2439 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
2440 | else |
|
|
2441 | ac_cpp_err= |
|
|
2442 | fi |
|
|
2443 | else |
|
|
2444 | ac_cpp_err=yes |
|
|
2445 | fi |
|
|
2446 | if test -z "$ac_cpp_err"; then |
1159 | if test -z "$ac_err"; then |
2447 | eval "$as_ac_Header=yes" |
1160 | rm -rf conftest* |
|
|
1161 | eval "ac_cv_header_$ac_safe=yes" |
2448 | else |
1162 | else |
|
|
1163 | echo "$ac_err" >&5 |
2449 | echo "$as_me: failed program was:" >&5 |
1164 | echo "configure: failed program was:" >&5 |
2450 | cat conftest.$ac_ext >&5 |
1165 | cat conftest.$ac_ext >&5 |
2451 | eval "$as_ac_Header=no" |
1166 | rm -rf conftest* |
|
|
1167 | eval "ac_cv_header_$ac_safe=no" |
2452 | fi |
1168 | fi |
2453 | rm -f conftest.err conftest.$ac_ext |
1169 | rm -f conftest* |
2454 | fi |
1170 | fi |
2455 | echo "$as_me:2455: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
1171 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
2456 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
1172 | echo "$ac_t""yes" 1>&6 |
2457 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
1173 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
2458 | cat >>confdefs.h <<EOF |
1174 | cat >> confdefs.h <<EOF |
2459 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
1175 | #define $ac_tr_hdr 1 |
2460 | EOF |
1176 | EOF |
2461 | |
1177 | |
|
|
1178 | else |
|
|
1179 | echo "$ac_t""no" 1>&6 |
2462 | fi |
1180 | fi |
2463 | done |
1181 | done |
2464 | |
1182 | |
2465 | for ac_func in gettimeofday |
1183 | for ac_func in gettimeofday |
2466 | do |
1184 | do |
2467 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
2468 | echo "$as_me:2468: checking for $ac_func" >&5 |
|
|
2469 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
1185 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
2470 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
1186 | echo "configure:1187: checking for $ac_func" >&5 |
|
|
1187 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
2471 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1188 | echo $ac_n "(cached) $ac_c" 1>&6 |
2472 | else |
1189 | else |
2473 | cat >conftest.$ac_ext <<_ACEOF |
1190 | cat > conftest.$ac_ext <<EOF |
2474 | #line 2474 "configure" |
1191 | #line 1192 "configure" |
2475 | #include "confdefs.h" |
1192 | #include "confdefs.h" |
2476 | /* System header to define __stub macros and hopefully few prototypes, |
1193 | /* System header to define __stub macros and hopefully few prototypes, |
2477 | which can conflict with char $ac_func (); below. */ |
1194 | which can conflict with char $ac_func(); below. */ |
2478 | #include <assert.h> |
1195 | #include <assert.h> |
2479 | /* Override any gcc2 internal prototype to avoid an error. */ |
1196 | /* Override any gcc2 internal prototype to avoid an error. */ |
2480 | #ifdef __cplusplus |
|
|
2481 | extern "C" |
|
|
2482 | #endif |
|
|
2483 | /* We use char because int might match the return type of a gcc2 |
1197 | /* We use char because int might match the return type of a gcc2 |
2484 | builtin and then its argument prototype would still apply. */ |
1198 | builtin and then its argument prototype would still apply. */ |
2485 | char $ac_func (); |
1199 | char $ac_func(); |
2486 | char (*f) (); |
|
|
2487 | |
1200 | |
2488 | int |
1201 | int main() { |
2489 | main () |
1202 | |
2490 | { |
|
|
2491 | /* The GNU C library defines this for functions which it implements |
1203 | /* The GNU C library defines this for functions which it implements |
2492 | to always fail with ENOSYS. Some functions are actually named |
1204 | to always fail with ENOSYS. Some functions are actually named |
2493 | something starting with __ and the normal name is an alias. */ |
1205 | something starting with __ and the normal name is an alias. */ |
2494 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
1206 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
2495 | choke me |
1207 | choke me |
2496 | #else |
1208 | #else |
2497 | f = $ac_func; |
1209 | $ac_func(); |
2498 | #endif |
1210 | #endif |
2499 | |
1211 | |
2500 | ; |
|
|
2501 | return 0; |
1212 | ; return 0; } |
2502 | } |
1213 | EOF |
2503 | _ACEOF |
1214 | if { (eval echo configure:1215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2504 | rm -f conftest.$ac_objext conftest$ac_exeext |
1215 | rm -rf conftest* |
2505 | if { (eval echo "$as_me:2505: \"$ac_link\"") >&5 |
1216 | eval "ac_cv_func_$ac_func=yes" |
2506 | (eval $ac_link) 2>&5 |
|
|
2507 | ac_status=$? |
|
|
2508 | echo "$as_me:2508: \$? = $ac_status" >&5 |
|
|
2509 | (exit $ac_status); } && |
|
|
2510 | { ac_try='test -s conftest$ac_exeext' |
|
|
2511 | { (eval echo "$as_me:2511: \"$ac_try\"") >&5 |
|
|
2512 | (eval $ac_try) 2>&5 |
|
|
2513 | ac_status=$? |
|
|
2514 | echo "$as_me:2514: \$? = $ac_status" >&5 |
|
|
2515 | (exit $ac_status); }; }; then |
|
|
2516 | eval "$as_ac_var=yes" |
|
|
2517 | else |
1217 | else |
2518 | echo "$as_me: failed program was:" >&5 |
1218 | echo "configure: failed program was:" >&5 |
2519 | cat conftest.$ac_ext >&5 |
1219 | cat conftest.$ac_ext >&5 |
2520 | eval "$as_ac_var=no" |
1220 | rm -rf conftest* |
|
|
1221 | eval "ac_cv_func_$ac_func=no" |
2521 | fi |
1222 | fi |
2522 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1223 | rm -f conftest* |
2523 | fi |
1224 | fi |
2524 | echo "$as_me:2524: result: `eval echo '${'$as_ac_var'}'`" >&5 |
1225 | |
2525 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
1226 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
2526 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
1227 | echo "$ac_t""yes" 1>&6 |
|
|
1228 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
2527 | cat >>confdefs.h <<EOF |
1229 | cat >> confdefs.h <<EOF |
2528 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
1230 | #define $ac_tr_func 1 |
2529 | EOF |
1231 | EOF |
2530 | |
1232 | |
|
|
1233 | else |
|
|
1234 | echo "$ac_t""no" 1>&6 |
2531 | fi |
1235 | fi |
2532 | done |
1236 | done |
2533 | |
1237 | |
|
|
1238 | |
|
|
1239 | echo $ac_n "checking for tempnam""... $ac_c" 1>&6 |
2534 | echo "$as_me:2534: checking for tempnam" >&5 |
1240 | echo "configure:1241: checking for tempnam" >&5 |
2535 | echo $ECHO_N "checking for tempnam... $ECHO_C" >&6 |
|
|
2536 | if test "${ac_cv_func_tempnam+set}" = set; then |
1241 | if eval "test \"`echo '$''{'ac_cv_func_tempnam'+set}'`\" = set"; then |
2537 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1242 | echo $ac_n "(cached) $ac_c" 1>&6 |
2538 | else |
1243 | else |
2539 | cat >conftest.$ac_ext <<_ACEOF |
1244 | cat > conftest.$ac_ext <<EOF |
2540 | #line 2540 "configure" |
1245 | #line 1246 "configure" |
2541 | #include "confdefs.h" |
1246 | #include "confdefs.h" |
2542 | /* System header to define __stub macros and hopefully few prototypes, |
1247 | /* System header to define __stub macros and hopefully few prototypes, |
2543 | which can conflict with char tempnam (); below. */ |
1248 | which can conflict with char tempnam(); below. */ |
2544 | #include <assert.h> |
1249 | #include <assert.h> |
2545 | /* Override any gcc2 internal prototype to avoid an error. */ |
1250 | /* Override any gcc2 internal prototype to avoid an error. */ |
2546 | #ifdef __cplusplus |
|
|
2547 | extern "C" |
|
|
2548 | #endif |
|
|
2549 | /* We use char because int might match the return type of a gcc2 |
1251 | /* We use char because int might match the return type of a gcc2 |
2550 | builtin and then its argument prototype would still apply. */ |
1252 | builtin and then its argument prototype would still apply. */ |
2551 | char tempnam (); |
1253 | char tempnam(); |
2552 | char (*f) (); |
|
|
2553 | |
1254 | |
2554 | int |
1255 | int main() { |
2555 | main () |
1256 | |
2556 | { |
|
|
2557 | /* The GNU C library defines this for functions which it implements |
1257 | /* The GNU C library defines this for functions which it implements |
2558 | to always fail with ENOSYS. Some functions are actually named |
1258 | to always fail with ENOSYS. Some functions are actually named |
2559 | something starting with __ and the normal name is an alias. */ |
1259 | something starting with __ and the normal name is an alias. */ |
2560 | #if defined (__stub_tempnam) || defined (__stub___tempnam) |
1260 | #if defined (__stub_tempnam) || defined (__stub___tempnam) |
2561 | choke me |
1261 | choke me |
2562 | #else |
1262 | #else |
2563 | f = tempnam; |
1263 | tempnam(); |
2564 | #endif |
1264 | #endif |
2565 | |
1265 | |
2566 | ; |
|
|
2567 | return 0; |
1266 | ; return 0; } |
2568 | } |
1267 | EOF |
2569 | _ACEOF |
1268 | if { (eval echo configure:1269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2570 | rm -f conftest.$ac_objext conftest$ac_exeext |
1269 | rm -rf conftest* |
2571 | if { (eval echo "$as_me:2571: \"$ac_link\"") >&5 |
|
|
2572 | (eval $ac_link) 2>&5 |
|
|
2573 | ac_status=$? |
|
|
2574 | echo "$as_me:2574: \$? = $ac_status" >&5 |
|
|
2575 | (exit $ac_status); } && |
|
|
2576 | { ac_try='test -s conftest$ac_exeext' |
|
|
2577 | { (eval echo "$as_me:2577: \"$ac_try\"") >&5 |
|
|
2578 | (eval $ac_try) 2>&5 |
|
|
2579 | ac_status=$? |
|
|
2580 | echo "$as_me:2580: \$? = $ac_status" >&5 |
|
|
2581 | (exit $ac_status); }; }; then |
|
|
2582 | ac_cv_func_tempnam=yes |
1270 | eval "ac_cv_func_tempnam=yes" |
2583 | else |
1271 | else |
2584 | echo "$as_me: failed program was:" >&5 |
1272 | echo "configure: failed program was:" >&5 |
2585 | cat conftest.$ac_ext >&5 |
1273 | cat conftest.$ac_ext >&5 |
|
|
1274 | rm -rf conftest* |
2586 | ac_cv_func_tempnam=no |
1275 | eval "ac_cv_func_tempnam=no" |
2587 | fi |
1276 | fi |
2588 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1277 | rm -f conftest* |
2589 | fi |
1278 | fi |
2590 | echo "$as_me:2590: result: $ac_cv_func_tempnam" >&5 |
1279 | |
2591 | echo "${ECHO_T}$ac_cv_func_tempnam" >&6 |
|
|
2592 | if test $ac_cv_func_tempnam = yes; then |
1280 | if eval "test \"`echo '$ac_cv_func_'tempnam`\" = yes"; then |
|
|
1281 | echo "$ac_t""yes" 1>&6 |
2593 | : |
1282 | : |
2594 | else |
1283 | else |
|
|
1284 | echo "$ac_t""no" 1>&6 |
2595 | cat >>confdefs.h <<\EOF |
1285 | cat >> confdefs.h <<\EOF |
2596 | #define tempnam FP_tempnam |
1286 | #define tempnam _FP_tempnam |
2597 | EOF |
1287 | EOF |
2598 | |
1288 | |
2599 | fi |
1289 | fi |
2600 | |
1290 | |
2601 | echo "$as_me:2601: checking for chmod" >&5 |
|
|
2602 | echo $ECHO_N "checking for chmod... $ECHO_C" >&6 |
|
|
2603 | if test "${ac_cv_func_chmod+set}" = set; then |
|
|
2604 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
2605 | else |
|
|
2606 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2607 | #line 2607 "configure" |
|
|
2608 | #include "confdefs.h" |
|
|
2609 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
2610 | which can conflict with char chmod (); below. */ |
|
|
2611 | #include <assert.h> |
|
|
2612 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
2613 | #ifdef __cplusplus |
|
|
2614 | extern "C" |
|
|
2615 | #endif |
|
|
2616 | /* We use char because int might match the return type of a gcc2 |
|
|
2617 | builtin and then its argument prototype would still apply. */ |
|
|
2618 | char chmod (); |
|
|
2619 | char (*f) (); |
|
|
2620 | |
|
|
2621 | int |
|
|
2622 | main () |
|
|
2623 | { |
|
|
2624 | /* The GNU C library defines this for functions which it implements |
|
|
2625 | to always fail with ENOSYS. Some functions are actually named |
|
|
2626 | something starting with __ and the normal name is an alias. */ |
|
|
2627 | #if defined (__stub_chmod) || defined (__stub___chmod) |
|
|
2628 | choke me |
|
|
2629 | #else |
|
|
2630 | f = chmod; |
|
|
2631 | #endif |
|
|
2632 | |
|
|
2633 | ; |
|
|
2634 | return 0; |
|
|
2635 | } |
|
|
2636 | _ACEOF |
|
|
2637 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
2638 | if { (eval echo "$as_me:2638: \"$ac_link\"") >&5 |
|
|
2639 | (eval $ac_link) 2>&5 |
|
|
2640 | ac_status=$? |
|
|
2641 | echo "$as_me:2641: \$? = $ac_status" >&5 |
|
|
2642 | (exit $ac_status); } && |
|
|
2643 | { ac_try='test -s conftest$ac_exeext' |
|
|
2644 | { (eval echo "$as_me:2644: \"$ac_try\"") >&5 |
|
|
2645 | (eval $ac_try) 2>&5 |
|
|
2646 | ac_status=$? |
|
|
2647 | echo "$as_me:2647: \$? = $ac_status" >&5 |
|
|
2648 | (exit $ac_status); }; }; then |
|
|
2649 | ac_cv_func_chmod=yes |
|
|
2650 | else |
|
|
2651 | echo "$as_me: failed program was:" >&5 |
|
|
2652 | cat conftest.$ac_ext >&5 |
|
|
2653 | ac_cv_func_chmod=no |
|
|
2654 | fi |
|
|
2655 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
|
2656 | fi |
|
|
2657 | echo "$as_me:2657: result: $ac_cv_func_chmod" >&5 |
|
|
2658 | echo "${ECHO_T}$ac_cv_func_chmod" >&6 |
|
|
2659 | if test $ac_cv_func_chmod = yes; then |
|
|
2660 | cat >>confdefs.h <<\EOF |
|
|
2661 | #define HAVE_CHMOD 1 |
|
|
2662 | EOF |
|
|
2663 | |
|
|
2664 | fi |
|
|
2665 | |
|
|
2666 | echo "$as_me:2666: checking for umask" >&5 |
|
|
2667 | echo $ECHO_N "checking for umask... $ECHO_C" >&6 |
|
|
2668 | if test "${ac_cv_func_umask+set}" = set; then |
|
|
2669 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
2670 | else |
|
|
2671 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2672 | #line 2672 "configure" |
|
|
2673 | #include "confdefs.h" |
|
|
2674 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
2675 | which can conflict with char umask (); below. */ |
|
|
2676 | #include <assert.h> |
|
|
2677 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
2678 | #ifdef __cplusplus |
|
|
2679 | extern "C" |
|
|
2680 | #endif |
|
|
2681 | /* We use char because int might match the return type of a gcc2 |
|
|
2682 | builtin and then its argument prototype would still apply. */ |
|
|
2683 | char umask (); |
|
|
2684 | char (*f) (); |
|
|
2685 | |
|
|
2686 | int |
|
|
2687 | main () |
|
|
2688 | { |
|
|
2689 | /* The GNU C library defines this for functions which it implements |
|
|
2690 | to always fail with ENOSYS. Some functions are actually named |
|
|
2691 | something starting with __ and the normal name is an alias. */ |
|
|
2692 | #if defined (__stub_umask) || defined (__stub___umask) |
|
|
2693 | choke me |
|
|
2694 | #else |
|
|
2695 | f = umask; |
|
|
2696 | #endif |
|
|
2697 | |
|
|
2698 | ; |
|
|
2699 | return 0; |
|
|
2700 | } |
|
|
2701 | _ACEOF |
|
|
2702 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
2703 | if { (eval echo "$as_me:2703: \"$ac_link\"") >&5 |
|
|
2704 | (eval $ac_link) 2>&5 |
|
|
2705 | ac_status=$? |
|
|
2706 | echo "$as_me:2706: \$? = $ac_status" >&5 |
|
|
2707 | (exit $ac_status); } && |
|
|
2708 | { ac_try='test -s conftest$ac_exeext' |
|
|
2709 | { (eval echo "$as_me:2709: \"$ac_try\"") >&5 |
|
|
2710 | (eval $ac_try) 2>&5 |
|
|
2711 | ac_status=$? |
|
|
2712 | echo "$as_me:2712: \$? = $ac_status" >&5 |
|
|
2713 | (exit $ac_status); }; }; then |
|
|
2714 | ac_cv_func_umask=yes |
|
|
2715 | else |
|
|
2716 | echo "$as_me: failed program was:" >&5 |
|
|
2717 | cat conftest.$ac_ext >&5 |
|
|
2718 | ac_cv_func_umask=no |
|
|
2719 | fi |
|
|
2720 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
|
2721 | fi |
|
|
2722 | echo "$as_me:2722: result: $ac_cv_func_umask" >&5 |
|
|
2723 | echo "${ECHO_T}$ac_cv_func_umask" >&6 |
|
|
2724 | if test $ac_cv_func_umask = yes; then |
|
|
2725 | cat >>confdefs.h <<\EOF |
|
|
2726 | #define HAVE_UMASK 1 |
|
|
2727 | EOF |
|
|
2728 | |
|
|
2729 | fi |
|
|
2730 | |
|
|
2731 | echo "$as_me:2731: checking for mkstemp" >&5 |
|
|
2732 | echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6 |
|
|
2733 | if test "${ac_cv_func_mkstemp+set}" = set; then |
|
|
2734 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
2735 | else |
|
|
2736 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2737 | #line 2737 "configure" |
|
|
2738 | #include "confdefs.h" |
|
|
2739 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
2740 | which can conflict with char mkstemp (); below. */ |
|
|
2741 | #include <assert.h> |
|
|
2742 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
2743 | #ifdef __cplusplus |
|
|
2744 | extern "C" |
|
|
2745 | #endif |
|
|
2746 | /* We use char because int might match the return type of a gcc2 |
|
|
2747 | builtin and then its argument prototype would still apply. */ |
|
|
2748 | char mkstemp (); |
|
|
2749 | char (*f) (); |
|
|
2750 | |
|
|
2751 | int |
|
|
2752 | main () |
|
|
2753 | { |
|
|
2754 | /* The GNU C library defines this for functions which it implements |
|
|
2755 | to always fail with ENOSYS. Some functions are actually named |
|
|
2756 | something starting with __ and the normal name is an alias. */ |
|
|
2757 | #if defined (__stub_mkstemp) || defined (__stub___mkstemp) |
|
|
2758 | choke me |
|
|
2759 | #else |
|
|
2760 | f = mkstemp; |
|
|
2761 | #endif |
|
|
2762 | |
|
|
2763 | ; |
|
|
2764 | return 0; |
|
|
2765 | } |
|
|
2766 | _ACEOF |
|
|
2767 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
2768 | if { (eval echo "$as_me:2768: \"$ac_link\"") >&5 |
|
|
2769 | (eval $ac_link) 2>&5 |
|
|
2770 | ac_status=$? |
|
|
2771 | echo "$as_me:2771: \$? = $ac_status" >&5 |
|
|
2772 | (exit $ac_status); } && |
|
|
2773 | { ac_try='test -s conftest$ac_exeext' |
|
|
2774 | { (eval echo "$as_me:2774: \"$ac_try\"") >&5 |
|
|
2775 | (eval $ac_try) 2>&5 |
|
|
2776 | ac_status=$? |
|
|
2777 | echo "$as_me:2777: \$? = $ac_status" >&5 |
|
|
2778 | (exit $ac_status); }; }; then |
|
|
2779 | ac_cv_func_mkstemp=yes |
|
|
2780 | else |
|
|
2781 | echo "$as_me: failed program was:" >&5 |
|
|
2782 | cat conftest.$ac_ext >&5 |
|
|
2783 | ac_cv_func_mkstemp=no |
|
|
2784 | fi |
|
|
2785 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
|
2786 | fi |
|
|
2787 | echo "$as_me:2787: result: $ac_cv_func_mkstemp" >&5 |
|
|
2788 | echo "${ECHO_T}$ac_cv_func_mkstemp" >&6 |
|
|
2789 | if test $ac_cv_func_mkstemp = yes; then |
|
|
2790 | cat >>confdefs.h <<\EOF |
|
|
2791 | #define HAVE_MKSTEMP 1 |
|
|
2792 | EOF |
|
|
2793 | |
|
|
2794 | fi |
|
|
2795 | |
1291 | |
2796 | # |
1292 | # |
2797 | # strerror might be internally defined. this would cause a |
1293 | # strerror might be internally defined. this would cause a |
2798 | # CHECK_FUNCS(strerror) to fail because it'd be called with |
1294 | # CHECK_FUNCS(strerror) to fail because it'd be called with |
2799 | # zero arguments. So use our own code. |
1295 | # zero arguments. So use our own code. |
2800 | # |
1296 | # |
2801 | echo "$as_me:2801: checking for strerror" >&5 |
|
|
2802 | echo $ECHO_N "checking for strerror... $ECHO_C" >&6 |
1297 | echo $ac_n "checking for strerror""... $ac_c" 1>&6 |
|
|
1298 | echo "configure:1299: checking for strerror" >&5 |
2803 | cat >conftest.$ac_ext <<_ACEOF |
1299 | cat > conftest.$ac_ext <<EOF |
2804 | #line 2804 "configure" |
1300 | #line 1301 "configure" |
2805 | #include "confdefs.h" |
1301 | #include "confdefs.h" |
2806 | |
1302 | |
2807 | char *blubb() { return (char *) strerror (42); } |
1303 | char *blubb() { return (char *) strerror (42); } |
2808 | |
1304 | |
2809 | int |
1305 | int main() { |
2810 | main () |
|
|
2811 | { |
|
|
2812 | |
1306 | |
2813 | (void) blubb(); |
1307 | (void) blubb(); |
2814 | |
1308 | |
2815 | ; |
|
|
2816 | return 0; |
1309 | ; return 0; } |
2817 | } |
1310 | EOF |
2818 | _ACEOF |
1311 | if { (eval echo configure:1312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2819 | rm -f conftest.$ac_objext conftest$ac_exeext |
1312 | rm -rf conftest* |
2820 | if { (eval echo "$as_me:2820: \"$ac_link\"") >&5 |
|
|
2821 | (eval $ac_link) 2>&5 |
|
|
2822 | ac_status=$? |
|
|
2823 | echo "$as_me:2823: \$? = $ac_status" >&5 |
|
|
2824 | (exit $ac_status); } && |
|
|
2825 | { ac_try='test -s conftest$ac_exeext' |
|
|
2826 | { (eval echo "$as_me:2826: \"$ac_try\"") >&5 |
|
|
2827 | (eval $ac_try) 2>&5 |
|
|
2828 | ac_status=$? |
|
|
2829 | echo "$as_me:2829: \$? = $ac_status" >&5 |
|
|
2830 | (exit $ac_status); }; }; then |
|
|
2831 | have_strerror=yes |
1313 | have_strerror=yes |
2832 | else |
1314 | else |
2833 | echo "$as_me: failed program was:" >&5 |
1315 | echo "configure: failed program was:" >&5 |
2834 | cat conftest.$ac_ext >&5 |
1316 | cat conftest.$ac_ext >&5 |
|
|
1317 | rm -rf conftest* |
2835 | cat >>confdefs.h <<\EOF |
1318 | cat >> confdefs.h <<\EOF |
2836 | #define strerror FP_strerror |
1319 | #define strerror _FP_strerror |
2837 | EOF |
1320 | EOF |
2838 | |
1321 | |
2839 | have_strerror=no |
1322 | have_strerror=no |
2840 | fi |
1323 | fi |
2841 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1324 | rm -f conftest* |
2842 | echo "$as_me:2842: result: $have_strerror" >&5 |
|
|
2843 | echo "${ECHO_T}$have_strerror" >&6 |
1325 | echo "$ac_t""$have_strerror" 1>&6 |
2844 | |
1326 | |
2845 | echo "$as_me:2845: checking for stdin" >&5 |
|
|
2846 | echo $ECHO_N "checking for stdin... $ECHO_C" >&6 |
1327 | echo $ac_n "checking for stdin""... $ac_c" 1>&6 |
|
|
1328 | echo "configure:1329: checking for stdin" >&5 |
2847 | cat >conftest.$ac_ext <<_ACEOF |
1329 | cat > conftest.$ac_ext <<EOF |
2848 | #line 2848 "configure" |
1330 | #line 1331 "configure" |
2849 | #include "confdefs.h" |
1331 | #include "confdefs.h" |
2850 | |
1332 | |
2851 | #include <stdio.h> |
1333 | #include <stdio.h> |
2852 | char *blubb() { FILE *in, *out; in=stdin; out=stdout; return (char*)0; } |
1334 | char *blubb() { FILE *in, *out; in=stdin; out=stdout; return (char*)0; } |
2853 | |
1335 | |
2854 | int |
1336 | int main() { |
2855 | main () |
|
|
2856 | { |
|
|
2857 | |
1337 | |
2858 | (void) blubb(); |
1338 | (void) blubb(); |
2859 | |
1339 | |
2860 | ; |
|
|
2861 | return 0; |
1340 | ; return 0; } |
2862 | } |
1341 | EOF |
2863 | _ACEOF |
1342 | if { (eval echo configure:1343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2864 | rm -f conftest.$ac_objext conftest$ac_exeext |
1343 | rm -rf conftest* |
2865 | if { (eval echo "$as_me:2865: \"$ac_link\"") >&5 |
|
|
2866 | (eval $ac_link) 2>&5 |
|
|
2867 | ac_status=$? |
|
|
2868 | echo "$as_me:2868: \$? = $ac_status" >&5 |
|
|
2869 | (exit $ac_status); } && |
|
|
2870 | { ac_try='test -s conftest$ac_exeext' |
|
|
2871 | { (eval echo "$as_me:2871: \"$ac_try\"") >&5 |
|
|
2872 | (eval $ac_try) 2>&5 |
|
|
2873 | ac_status=$? |
|
|
2874 | echo "$as_me:2874: \$? = $ac_status" >&5 |
|
|
2875 | (exit $ac_status); }; }; then |
|
|
2876 | have_stdio=yes |
1344 | have_stdio=yes |
2877 | else |
1345 | else |
2878 | echo "$as_me: failed program was:" >&5 |
1346 | echo "configure: failed program was:" >&5 |
2879 | cat conftest.$ac_ext >&5 |
1347 | cat conftest.$ac_ext >&5 |
|
|
1348 | rm -rf conftest* |
2880 | cat >>confdefs.h <<\EOF |
1349 | cat >> confdefs.h <<\EOF |
2881 | #define HAVE_STDIO 1 |
1350 | #define HAVE_STDIO 1 |
2882 | EOF |
1351 | EOF |
2883 | |
1352 | |
2884 | have_stdio=no |
1353 | have_stdio=no |
2885 | fi |
1354 | fi |
2886 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1355 | rm -f conftest* |
2887 | echo "$as_me:2887: result: $have_stdio" >&5 |
|
|
2888 | echo "${ECHO_T}$have_stdio" >&6 |
1356 | echo "$ac_t""$have_stdio" 1>&6 |
2889 | |
1357 | |
2890 | if test "$ac_cv_header_stdc" = "no" ; then |
1358 | if test "$ac_cv_header_stdc" = "no" ; then |
2891 | |
|
|
2892 | for ac_header in stdarg.h varargs.h |
1359 | for ac_hdr in stdarg.h varargs.h |
2893 | do |
1360 | do |
2894 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
1361 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2895 | echo "$as_me:2895: checking for $ac_header" >&5 |
|
|
2896 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
1362 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2897 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
1363 | echo "configure:1364: checking for $ac_hdr" >&5 |
|
|
1364 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2898 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1365 | echo $ac_n "(cached) $ac_c" 1>&6 |
2899 | else |
1366 | else |
2900 | cat >conftest.$ac_ext <<_ACEOF |
1367 | cat > conftest.$ac_ext <<EOF |
2901 | #line 2901 "configure" |
1368 | #line 1369 "configure" |
2902 | #include "confdefs.h" |
1369 | #include "confdefs.h" |
2903 | #include <$ac_header> |
1370 | #include <$ac_hdr> |
2904 | _ACEOF |
1371 | EOF |
2905 | if { (eval echo "$as_me:2905: \"$ac_cpp conftest.$ac_ext\"") >&5 |
1372 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2906 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
1373 | { (eval echo configure:1374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2907 | ac_status=$? |
1374 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2908 | egrep -v '^ *\+' conftest.er1 >conftest.err |
|
|
2909 | rm -f conftest.er1 |
|
|
2910 | cat conftest.err >&5 |
|
|
2911 | echo "$as_me:2911: \$? = $ac_status" >&5 |
|
|
2912 | (exit $ac_status); } >/dev/null; then |
|
|
2913 | if test -s conftest.err; then |
|
|
2914 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
2915 | else |
|
|
2916 | ac_cpp_err= |
|
|
2917 | fi |
|
|
2918 | else |
|
|
2919 | ac_cpp_err=yes |
|
|
2920 | fi |
|
|
2921 | if test -z "$ac_cpp_err"; then |
1375 | if test -z "$ac_err"; then |
2922 | eval "$as_ac_Header=yes" |
1376 | rm -rf conftest* |
|
|
1377 | eval "ac_cv_header_$ac_safe=yes" |
2923 | else |
1378 | else |
|
|
1379 | echo "$ac_err" >&5 |
2924 | echo "$as_me: failed program was:" >&5 |
1380 | echo "configure: failed program was:" >&5 |
2925 | cat conftest.$ac_ext >&5 |
1381 | cat conftest.$ac_ext >&5 |
2926 | eval "$as_ac_Header=no" |
1382 | rm -rf conftest* |
|
|
1383 | eval "ac_cv_header_$ac_safe=no" |
2927 | fi |
1384 | fi |
2928 | rm -f conftest.err conftest.$ac_ext |
1385 | rm -f conftest* |
2929 | fi |
1386 | fi |
2930 | echo "$as_me:2930: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
1387 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
2931 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
1388 | echo "$ac_t""yes" 1>&6 |
2932 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
1389 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
2933 | cat >>confdefs.h <<EOF |
1390 | cat >> confdefs.h <<EOF |
2934 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
1391 | #define $ac_tr_hdr 1 |
2935 | EOF |
1392 | EOF |
2936 | |
1393 | |
|
|
1394 | else |
|
|
1395 | echo "$ac_t""no" 1>&6 |
2937 | fi |
1396 | fi |
2938 | done |
1397 | done |
2939 | |
1398 | |
2940 | if test "$ac_cv_header_stdarg_h" = "no" ; then |
1399 | if test "$ac_cv_header_stdarg_h" = "no" ; then |
2941 | if test "$ac_cv_header_varargs_h" = "no" ; then |
1400 | if test "$ac_cv_header_varargs_h" = "no" ; then |
2942 | { { echo "$as_me:2942: error: neither stdarg.h nor varargs.h present" >&5 |
|
|
2943 | echo "$as_me: error: neither stdarg.h nor varargs.h present" >&2;} |
1401 | { echo "configure: error: neither stdarg.h nor varargs.h present" 1>&2; exit 1; } |
2944 | { (exit 1); exit 1; }; } |
|
|
2945 | fi |
1402 | fi |
2946 | fi |
1403 | fi |
2947 | fi |
1404 | fi |
2948 | |
1405 | |
2949 | # |
1406 | # |
… | |
… | |
2953 | # and we can change the definition by hand on a really DOS |
1410 | # and we can change the definition by hand on a really DOS |
2954 | # system (where ./configure doesn't work anyway ...) |
1411 | # system (where ./configure doesn't work anyway ...) |
2955 | # |
1412 | # |
2956 | |
1413 | |
2957 | if false ; then |
1414 | if false ; then |
2958 | cat >>confdefs.h <<\EOF |
1415 | cat >> confdefs.h <<\EOF |
2959 | #define SYSTEM_DOS 1 |
1416 | #define SYSTEM_DOS 1 |
2960 | EOF |
1417 | EOF |
2961 | |
1418 | |
2962 | cat >>confdefs.h <<\EOF |
1419 | cat >> confdefs.h <<\EOF |
2963 | #define SYSTEM_QUICKWIN 1 |
1420 | #define SYSTEM_QUICKWIN 1 |
2964 | EOF |
1421 | EOF |
2965 | |
1422 | |
2966 | cat >>confdefs.h <<\EOF |
1423 | cat >> confdefs.h <<\EOF |
2967 | #define SYSTEM_WINDLL 1 |
1424 | #define SYSTEM_WINDLL 1 |
2968 | EOF |
1425 | EOF |
2969 | |
1426 | |
2970 | cat >>confdefs.h <<\EOF |
1427 | cat >> confdefs.h <<\EOF |
2971 | #define SYSTEM_OS2 1 |
1428 | #define SYSTEM_OS2 1 |
2972 | EOF |
1429 | EOF |
2973 | |
1430 | |
2974 | fi |
1431 | fi |
2975 | |
1432 | |
2976 | # |
1433 | # |
2977 | # On some systems (so far, OS2 and WINDOWS), functions that are exported |
1434 | # On some systems (so far, OS2 and WINDOWS), functions that are exported |
2978 | # from a DLL must be declared specifically. |
1435 | # from a DLL must be declared specifically. |
2979 | # |
1436 | # |
2980 | |
1437 | |
2981 | cat >>confdefs.h <<EOF |
1438 | cat >> confdefs.h <<EOF |
2982 | #define UUEXPORT |
1439 | #define UUEXPORT |
2983 | EOF |
1440 | EOF |
2984 | |
1441 | |
2985 | cat >>confdefs.h <<EOF |
1442 | cat >> confdefs.h <<EOF |
2986 | #define TOOLEXPORT |
1443 | #define TOOLEXPORT |
2987 | EOF |
1444 | EOF |
|
|
1445 | |
2988 | |
1446 | |
2989 | # |
1447 | # |
2990 | # set version number |
1448 | # set version number |
2991 | # |
1449 | # |
2992 | echo "$as_me:2992: checking version number" >&5 |
|
|
2993 | echo $ECHO_N "checking version number... $ECHO_C" >&6 |
1450 | echo $ac_n "checking version number""... $ac_c" 1>&6 |
|
|
1451 | echo "configure:1452: checking version number" >&5 |
2994 | version_number="$VERSION"pl"$PATCH" |
1452 | version_number="$VERSION"pl"$PATCH" |
2995 | echo "$as_me:2995: result: $version_number" >&5 |
|
|
2996 | echo "${ECHO_T}$version_number" >&6 |
1453 | echo "$ac_t""$version_number" 1>&6 |
|
|
1454 | |
|
|
1455 | |
2997 | |
1456 | |
2998 | # |
1457 | # |
2999 | # done |
1458 | # done |
3000 | # |
1459 | # |
3001 | |
1460 | |
3002 | ac_config_files="$ac_config_files Makefile" |
1461 | trap '' 1 2 15 |
3003 | cat >confcache <<\_ACEOF |
1462 | cat > confcache <<\EOF |
3004 | # This file is a shell script that caches the results of configure |
1463 | # This file is a shell script that caches the results of configure |
3005 | # tests run on this system so they can be shared between configure |
1464 | # tests run on this system so they can be shared between configure |
3006 | # scripts and configure runs, see configure's option --config-cache. |
1465 | # scripts and configure runs. It is not useful on other systems. |
3007 | # It is not useful on other systems. If it contains results you don't |
1466 | # If it contains results you don't want to keep, you may remove or edit it. |
3008 | # want to keep, you may remove or edit it. |
|
|
3009 | # |
1467 | # |
|
|
1468 | # By default, configure uses ./config.cache as the cache file, |
|
|
1469 | # creating it if it does not exist already. You can give configure |
|
|
1470 | # the --cache-file=FILE option to use a different cache file; that is |
|
|
1471 | # what configure does when it calls configure scripts in |
|
|
1472 | # subdirectories, so they share the cache. |
|
|
1473 | # Giving --cache-file=/dev/null disables caching, for debugging configure. |
3010 | # config.status only pays attention to the cache file if you give it |
1474 | # config.status only pays attention to the cache file if you give it the |
3011 | # the --recheck option to rerun configure. |
1475 | # --recheck option to rerun configure. |
3012 | # |
1476 | # |
3013 | # `ac_cv_env_foo' variables (set or unset) will be overriden when |
1477 | EOF |
3014 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
|
3015 | # following values. |
|
|
3016 | |
|
|
3017 | _ACEOF |
|
|
3018 | |
|
|
3019 | # The following way of writing the cache mishandles newlines in values, |
1478 | # The following way of writing the cache mishandles newlines in values, |
3020 | # but we know of no workaround that is simple, portable, and efficient. |
1479 | # but we know of no workaround that is simple, portable, and efficient. |
3021 | # So, don't put newlines in cache variables' values. |
1480 | # So, don't put newlines in cache variables' values. |
3022 | # Ultrix sh set writes to stderr and can't be redirected directly, |
1481 | # Ultrix sh set writes to stderr and can't be redirected directly, |
3023 | # and sets the high bit in the cache file unless we assign to the vars. |
1482 | # and sets the high bit in the cache file unless we assign to the vars. |
3024 | { |
|
|
3025 | (set) 2>&1 | |
1483 | (set) 2>&1 | |
3026 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
1484 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
3027 | *ac_space=\ *) |
1485 | *ac_space=\ *) |
3028 | # `set' does not quote correctly, so add quotes (double-quote |
1486 | # `set' does not quote correctly, so add quotes (double-quote substitution |
3029 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
1487 | # turns \\\\ into \\, and sed turns \\ into \). |
3030 | sed -n \ |
1488 | sed -n \ |
3031 | "s/'/'\\\\''/g; |
1489 | -e "s/'/'\\\\''/g" \ |
3032 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
1490 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
3033 | ;; |
1491 | ;; |
3034 | *) |
1492 | *) |
3035 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
1493 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
3036 | sed -n \ |
1494 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
3037 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
|
|
3038 | ;; |
1495 | ;; |
3039 | esac; |
1496 | esac >> confcache |
3040 | } | |
|
|
3041 | sed ' |
|
|
3042 | t clear |
|
|
3043 | : clear |
|
|
3044 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|
|
3045 | t end |
|
|
3046 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
|
3047 | : end' >>confcache |
|
|
3048 | if cmp -s $cache_file confcache; then :; else |
1497 | if cmp -s $cache_file confcache; then |
|
|
1498 | : |
|
|
1499 | else |
3049 | if test -w $cache_file; then |
1500 | if test -w $cache_file; then |
3050 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
1501 | echo "updating cache $cache_file" |
3051 | cat confcache >$cache_file |
1502 | cat confcache > $cache_file |
3052 | else |
1503 | else |
3053 | echo "not updating unwritable cache $cache_file" |
1504 | echo "not updating unwritable cache $cache_file" |
3054 | fi |
1505 | fi |
3055 | fi |
1506 | fi |
3056 | rm -f confcache |
1507 | rm -f confcache |
3057 | |
1508 | |
|
|
1509 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
|
1510 | |
3058 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
1511 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
3059 | # Let make expand exec_prefix. |
1512 | # Let make expand exec_prefix. |
3060 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
1513 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
3061 | |
1514 | |
3062 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
1515 | # Any assignment to VPATH causes Sun make to only execute |
3063 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
1516 | # the first set of double-colon rules, so remove it if not needed. |
3064 | # trailing colons and then remove the whole line if VPATH becomes empty |
1517 | # If there is a colon in the path, we need to keep it. |
3065 | # (actually we leave an empty line to preserve line numbers). |
|
|
3066 | if test "x$srcdir" = x.; then |
1518 | if test "x$srcdir" = x.; then |
3067 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
1519 | ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
3068 | s/:*\$(srcdir):*/:/; |
|
|
3069 | s/:*\${srcdir}:*/:/; |
|
|
3070 | s/:*@srcdir@:*/:/; |
|
|
3071 | s/^\([^=]*=[ ]*\):*/\1/; |
|
|
3072 | s/:*$//; |
|
|
3073 | s/^[^=]*=[ ]*$//; |
|
|
3074 | }' |
|
|
3075 | fi |
1520 | fi |
|
|
1521 | |
|
|
1522 | trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
3076 | |
1523 | |
3077 | DEFS=-DHAVE_CONFIG_H |
1524 | DEFS=-DHAVE_CONFIG_H |
3078 | |
1525 | |
|
|
1526 | # Without the "./", some shells look in PATH for config.status. |
3079 | : ${CONFIG_STATUS=./config.status} |
1527 | : ${CONFIG_STATUS=./config.status} |
3080 | ac_clean_files_save=$ac_clean_files |
1528 | |
3081 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
|
3082 | { echo "$as_me:3082: creating $CONFIG_STATUS" >&5 |
|
|
3083 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
1529 | echo creating $CONFIG_STATUS |
|
|
1530 | rm -f $CONFIG_STATUS |
3084 | cat >$CONFIG_STATUS <<_ACEOF |
1531 | cat > $CONFIG_STATUS <<EOF |
3085 | #! $SHELL |
1532 | #! /bin/sh |
3086 | # Generated automatically by configure. |
1533 | # Generated automatically by configure. |
3087 | # Run this file to recreate the current configuration. |
1534 | # Run this file to recreate the current configuration. |
|
|
1535 | # This directory was configured as follows, |
|
|
1536 | # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
|
1537 | # |
|
|
1538 | # $0 $ac_configure_args |
|
|
1539 | # |
3088 | # Compiler output produced by configure, useful for debugging |
1540 | # Compiler output produced by configure, useful for debugging |
3089 | # configure, is in config.log if it exists. |
1541 | # configure, is in ./config.log if it exists. |
3090 | |
1542 | |
3091 | debug=false |
1543 | ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
3092 | SHELL=\${CONFIG_SHELL-$SHELL} |
1544 | for ac_option |
3093 | ac_cs_invocation="\$0 \$@" |
|
|
3094 | |
|
|
3095 | _ACEOF |
|
|
3096 | |
|
|
3097 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
3098 | # Be Bourne compatible |
|
|
3099 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
|
3100 | emulate sh |
|
|
3101 | NULLCMD=: |
|
|
3102 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
|
|
3103 | set -o posix |
|
|
3104 | fi |
|
|
3105 | |
|
|
3106 | # Name of the executable. |
|
|
3107 | as_me=`echo "$0" |sed 's,.*[\\/],,'` |
|
|
3108 | |
|
|
3109 | if expr a : '\(a\)' >/dev/null 2>&1; then |
|
|
3110 | as_expr=expr |
|
|
3111 | else |
|
|
3112 | as_expr=false |
|
|
3113 | fi |
|
|
3114 | |
|
|
3115 | rm -f conf$$ conf$$.exe conf$$.file |
|
|
3116 | echo >conf$$.file |
|
|
3117 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
|
3118 | # We could just check for DJGPP; but this test a) works b) is more generic |
|
|
3119 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
|
|
3120 | if test -f conf$$.exe; then |
|
|
3121 | # Don't use ln at all; we don't have any links |
|
|
3122 | as_ln_s='cp -p' |
|
|
3123 | else |
|
|
3124 | as_ln_s='ln -s' |
|
|
3125 | fi |
|
|
3126 | elif ln conf$$.file conf$$ 2>/dev/null; then |
|
|
3127 | as_ln_s=ln |
|
|
3128 | else |
|
|
3129 | as_ln_s='cp -p' |
|
|
3130 | fi |
|
|
3131 | rm -f conf$$ conf$$.exe conf$$.file |
|
|
3132 | |
|
|
3133 | as_executable_p="test -f" |
|
|
3134 | |
|
|
3135 | # Support unset when possible. |
|
|
3136 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
|
|
3137 | as_unset=unset |
|
|
3138 | else |
|
|
3139 | as_unset=false |
|
|
3140 | fi |
|
|
3141 | |
|
|
3142 | # NLS nuisances. |
|
|
3143 | $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } |
|
|
3144 | $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } |
|
|
3145 | $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } |
|
|
3146 | $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } |
|
|
3147 | $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } |
|
|
3148 | $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } |
|
|
3149 | $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } |
|
|
3150 | $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } |
|
|
3151 | |
|
|
3152 | # IFS |
|
|
3153 | # We need space, tab and new line, in precisely that order. |
|
|
3154 | as_nl=' |
|
|
3155 | ' |
|
|
3156 | IFS=" $as_nl" |
|
|
3157 | |
|
|
3158 | # CDPATH. |
|
|
3159 | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
|
|
3160 | |
|
|
3161 | exec 6>&1 |
|
|
3162 | |
|
|
3163 | _ACEOF |
|
|
3164 | |
|
|
3165 | # Files that config.status was made for. |
|
|
3166 | if test -n "$ac_config_files"; then |
|
|
3167 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
|
|
3168 | fi |
|
|
3169 | |
|
|
3170 | if test -n "$ac_config_headers"; then |
|
|
3171 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
|
|
3172 | fi |
|
|
3173 | |
|
|
3174 | if test -n "$ac_config_links"; then |
|
|
3175 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
|
|
3176 | fi |
|
|
3177 | |
|
|
3178 | if test -n "$ac_config_commands"; then |
|
|
3179 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
|
|
3180 | fi |
|
|
3181 | |
|
|
3182 | cat >>$CONFIG_STATUS <<\EOF |
|
|
3183 | |
|
|
3184 | ac_cs_usage="\ |
|
|
3185 | \`$as_me' instantiates files from templates according to the |
|
|
3186 | current configuration. |
|
|
3187 | |
|
|
3188 | Usage: $0 [OPTIONS] [FILE]... |
|
|
3189 | |
|
|
3190 | -h, --help print this help, then exit |
|
|
3191 | -V, --version print version number, then exit |
|
|
3192 | -d, --debug don't remove temporary files |
|
|
3193 | --recheck update $as_me by reconfiguring in the same conditions |
|
|
3194 | --file=FILE[:TEMPLATE] |
|
|
3195 | instantiate the configuration file FILE |
|
|
3196 | --header=FILE[:TEMPLATE] |
|
|
3197 | instantiate the configuration header FILE |
|
|
3198 | |
|
|
3199 | Configuration files: |
|
|
3200 | $config_files |
|
|
3201 | |
|
|
3202 | Configuration headers: |
|
|
3203 | $config_headers |
|
|
3204 | |
|
|
3205 | Report bugs to <bug-autoconf@gnu.org>." |
|
|
3206 | EOF |
|
|
3207 | |
|
|
3208 | cat >>$CONFIG_STATUS <<EOF |
|
|
3209 | ac_cs_version="\\ |
|
|
3210 | config.status |
|
|
3211 | configured by $0, generated by GNU Autoconf 2.52, |
|
|
3212 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
|
|
3213 | |
|
|
3214 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
|
|
3215 | Free Software Foundation, Inc. |
|
|
3216 | This config.status script is free software; the Free Software Foundation |
|
|
3217 | gives unlimited permission to copy, distribute and modify it." |
|
|
3218 | srcdir=$srcdir |
|
|
3219 | EOF |
|
|
3220 | |
|
|
3221 | cat >>$CONFIG_STATUS <<\EOF |
|
|
3222 | # If no file are specified by the user, then we need to provide default |
|
|
3223 | # value. By we need to know if files were specified by the user. |
|
|
3224 | ac_need_defaults=: |
|
|
3225 | while test $# != 0 |
|
|
3226 | do |
1545 | do |
3227 | case $1 in |
1546 | case "\$ac_option" in |
3228 | --*=*) |
|
|
3229 | ac_option=`expr "x$1" : 'x\([^=]*\)='` |
|
|
3230 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
|
|
3231 | shift |
|
|
3232 | set dummy "$ac_option" "$ac_optarg" ${1+"$@"} |
|
|
3233 | shift |
|
|
3234 | ;; |
|
|
3235 | -*);; |
|
|
3236 | *) # This is not an option, so the user has probably given explicit |
|
|
3237 | # arguments. |
|
|
3238 | ac_need_defaults=false;; |
|
|
3239 | esac |
|
|
3240 | |
|
|
3241 | case $1 in |
|
|
3242 | # Handling of the options. |
|
|
3243 | EOF |
|
|
3244 | cat >>$CONFIG_STATUS <<EOF |
|
|
3245 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
1547 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
3246 | echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" |
1548 | echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
3247 | exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; |
1549 | exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
3248 | EOF |
1550 | -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
3249 | cat >>$CONFIG_STATUS <<\EOF |
1551 | echo "$CONFIG_STATUS generated by autoconf version 2.13" |
3250 | --version | --vers* | -V ) |
1552 | exit 0 ;; |
3251 | echo "$ac_cs_version"; exit 0 ;; |
1553 | -help | --help | --hel | --he | --h) |
3252 | --he | --h) |
|
|
3253 | # Conflict between --help and --header |
|
|
3254 | { { echo "$as_me:3254: error: ambiguous option: $1 |
|
|
3255 | Try \`$0 --help' for more information." >&5 |
|
|
3256 | echo "$as_me: error: ambiguous option: $1 |
|
|
3257 | Try \`$0 --help' for more information." >&2;} |
|
|
3258 | { (exit 1); exit 1; }; };; |
|
|
3259 | --help | --hel | -h ) |
|
|
3260 | echo "$ac_cs_usage"; exit 0 ;; |
1554 | echo "\$ac_cs_usage"; exit 0 ;; |
3261 | --debug | --d* | -d ) |
1555 | *) echo "\$ac_cs_usage"; exit 1 ;; |
3262 | debug=: ;; |
|
|
3263 | --file | --fil | --fi | --f ) |
|
|
3264 | shift |
|
|
3265 | CONFIG_FILES="$CONFIG_FILES $1" |
|
|
3266 | ac_need_defaults=false;; |
|
|
3267 | --header | --heade | --head | --hea ) |
|
|
3268 | shift |
|
|
3269 | CONFIG_HEADERS="$CONFIG_HEADERS $1" |
|
|
3270 | ac_need_defaults=false;; |
|
|
3271 | |
|
|
3272 | # This is an error. |
|
|
3273 | -*) { { echo "$as_me:3273: error: unrecognized option: $1 |
|
|
3274 | Try \`$0 --help' for more information." >&5 |
|
|
3275 | echo "$as_me: error: unrecognized option: $1 |
|
|
3276 | Try \`$0 --help' for more information." >&2;} |
|
|
3277 | { (exit 1); exit 1; }; } ;; |
|
|
3278 | |
|
|
3279 | *) ac_config_targets="$ac_config_targets $1" ;; |
|
|
3280 | |
|
|
3281 | esac |
|
|
3282 | shift |
|
|
3283 | done |
|
|
3284 | |
|
|
3285 | exec 5>>config.log |
|
|
3286 | cat >&5 << _ACEOF |
|
|
3287 | |
|
|
3288 | ## ----------------------- ## |
|
|
3289 | ## Running config.status. ## |
|
|
3290 | ## ----------------------- ## |
|
|
3291 | |
|
|
3292 | This file was extended by $as_me 2.52, executed with |
|
|
3293 | CONFIG_FILES = $CONFIG_FILES |
|
|
3294 | CONFIG_HEADERS = $CONFIG_HEADERS |
|
|
3295 | CONFIG_LINKS = $CONFIG_LINKS |
|
|
3296 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
|
3297 | > $ac_cs_invocation |
|
|
3298 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
|
3299 | |
|
|
3300 | _ACEOF |
|
|
3301 | EOF |
|
|
3302 | |
|
|
3303 | cat >>$CONFIG_STATUS <<\EOF |
|
|
3304 | for ac_config_target in $ac_config_targets |
|
|
3305 | do |
|
|
3306 | case "$ac_config_target" in |
|
|
3307 | # Handling of arguments. |
|
|
3308 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
|
3309 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
|
3310 | *) { { echo "$as_me:3310: error: invalid argument: $ac_config_target" >&5 |
|
|
3311 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
|
|
3312 | { (exit 1); exit 1; }; };; |
|
|
3313 | esac |
1556 | esac |
3314 | done |
1557 | done |
3315 | |
1558 | |
3316 | # If the user did not use the arguments to specify the items to instantiate, |
1559 | ac_given_srcdir=$srcdir |
3317 | # then the envvar interface is used. Set only those that are not. |
|
|
3318 | # We use the long form for the default assignment because of an extremely |
|
|
3319 | # bizarre bug on SunOS 4.1.3. |
|
|
3320 | if $ac_need_defaults; then |
|
|
3321 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
|
3322 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
|
3323 | fi |
|
|
3324 | |
1560 | |
3325 | # Create a temporary directory, and hook for its removal unless debugging. |
1561 | trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
3326 | $debug || |
|
|
3327 | { |
|
|
3328 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
|
|
3329 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
|
|
3330 | } |
|
|
3331 | |
|
|
3332 | # Create a (secure) tmp directory for tmp files. |
|
|
3333 | : ${TMPDIR=/tmp} |
|
|
3334 | { |
|
|
3335 | tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && |
|
|
3336 | test -n "$tmp" && test -d "$tmp" |
|
|
3337 | } || |
|
|
3338 | { |
|
|
3339 | tmp=$TMPDIR/cs$$-$RANDOM |
|
|
3340 | (umask 077 && mkdir $tmp) |
|
|
3341 | } || |
|
|
3342 | { |
|
|
3343 | echo "$me: cannot create a temporary directory in $TMPDIR" >&2 |
|
|
3344 | { (exit 1); exit 1; } |
|
|
3345 | } |
|
|
3346 | |
|
|
3347 | EOF |
1562 | EOF |
3348 | |
|
|
3349 | cat >>$CONFIG_STATUS <<EOF |
1563 | cat >> $CONFIG_STATUS <<EOF |
3350 | |
1564 | |
3351 | # |
|
|
3352 | # CONFIG_FILES section. |
|
|
3353 | # |
|
|
3354 | |
|
|
3355 | # No need to generate the scripts if there are no CONFIG_FILES. |
|
|
3356 | # This happens for instance when ./config.status config.h |
|
|
3357 | if test -n "\$CONFIG_FILES"; then |
|
|
3358 | # Protect against being on the right side of a sed subst in config.status. |
1565 | # Protect against being on the right side of a sed subst in config.status. |
3359 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
1566 | sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
3360 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
1567 | s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
3361 | s,@SHELL@,$SHELL,;t t |
1568 | $ac_vpsub |
|
|
1569 | $extrasub |
|
|
1570 | s%@SHELL@%$SHELL%g |
|
|
1571 | s%@CFLAGS@%$CFLAGS%g |
|
|
1572 | s%@CPPFLAGS@%$CPPFLAGS%g |
|
|
1573 | s%@CXXFLAGS@%$CXXFLAGS%g |
|
|
1574 | s%@FFLAGS@%$FFLAGS%g |
|
|
1575 | s%@DEFS@%$DEFS%g |
|
|
1576 | s%@LDFLAGS@%$LDFLAGS%g |
|
|
1577 | s%@LIBS@%$LIBS%g |
3362 | s,@exec_prefix@,$exec_prefix,;t t |
1578 | s%@exec_prefix@%$exec_prefix%g |
3363 | s,@prefix@,$prefix,;t t |
1579 | s%@prefix@%$prefix%g |
3364 | s,@program_transform_name@,$program_transform_name,;t t |
1580 | s%@program_transform_name@%$program_transform_name%g |
3365 | s,@bindir@,$bindir,;t t |
1581 | s%@bindir@%$bindir%g |
3366 | s,@sbindir@,$sbindir,;t t |
1582 | s%@sbindir@%$sbindir%g |
3367 | s,@libexecdir@,$libexecdir,;t t |
1583 | s%@libexecdir@%$libexecdir%g |
3368 | s,@datadir@,$datadir,;t t |
1584 | s%@datadir@%$datadir%g |
3369 | s,@sysconfdir@,$sysconfdir,;t t |
1585 | s%@sysconfdir@%$sysconfdir%g |
3370 | s,@sharedstatedir@,$sharedstatedir,;t t |
1586 | s%@sharedstatedir@%$sharedstatedir%g |
3371 | s,@localstatedir@,$localstatedir,;t t |
1587 | s%@localstatedir@%$localstatedir%g |
3372 | s,@libdir@,$libdir,;t t |
1588 | s%@libdir@%$libdir%g |
3373 | s,@includedir@,$includedir,;t t |
1589 | s%@includedir@%$includedir%g |
3374 | s,@oldincludedir@,$oldincludedir,;t t |
1590 | s%@oldincludedir@%$oldincludedir%g |
3375 | s,@infodir@,$infodir,;t t |
1591 | s%@infodir@%$infodir%g |
3376 | s,@mandir@,$mandir,;t t |
1592 | s%@mandir@%$mandir%g |
3377 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
1593 | s%@CC@%$CC%g |
3378 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
1594 | s%@CPP@%$CPP%g |
3379 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
|
|
3380 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
|
|
3381 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
|
|
3382 | s,@build_alias@,$build_alias,;t t |
|
|
3383 | s,@host_alias@,$host_alias,;t t |
|
|
3384 | s,@target_alias@,$target_alias,;t t |
|
|
3385 | s,@ECHO_C@,$ECHO_C,;t t |
|
|
3386 | s,@ECHO_N@,$ECHO_N,;t t |
|
|
3387 | s,@ECHO_T@,$ECHO_T,;t t |
|
|
3388 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
|
|
3389 | s,@DEFS@,$DEFS,;t t |
|
|
3390 | s,@LIBS@,$LIBS,;t t |
|
|
3391 | s,@CC@,$CC,;t t |
|
|
3392 | s,@CFLAGS@,$CFLAGS,;t t |
|
|
3393 | s,@LDFLAGS@,$LDFLAGS,;t t |
|
|
3394 | s,@CPPFLAGS@,$CPPFLAGS,;t t |
|
|
3395 | s,@ac_ct_CC@,$ac_ct_CC,;t t |
|
|
3396 | s,@EXEEXT@,$EXEEXT,;t t |
|
|
3397 | s,@OBJEXT@,$OBJEXT,;t t |
|
|
3398 | s,@CPP@,$CPP,;t t |
|
|
3399 | s,@SET_MAKE@,$SET_MAKE,;t t |
1595 | s%@SET_MAKE@%$SET_MAKE%g |
3400 | s,@RANLIB@,$RANLIB,;t t |
1596 | s%@RANLIB@%$RANLIB%g |
3401 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
|
|
3402 | s,@VERSION@,$VERSION,;t t |
1597 | s%@VERSION@%$VERSION%g |
3403 | s,@PATCH@,$PATCH,;t t |
1598 | s%@PATCH@%$PATCH%g |
|
|
1599 | |
3404 | CEOF |
1600 | CEOF |
3405 | |
|
|
3406 | EOF |
1601 | EOF |
3407 | |
1602 | |
3408 | cat >>$CONFIG_STATUS <<\EOF |
1603 | cat >> $CONFIG_STATUS <<\EOF |
|
|
1604 | |
3409 | # Split the substitutions into bite-sized pieces for seds with |
1605 | # Split the substitutions into bite-sized pieces for seds with |
3410 | # small command number limits, like on Digital OSF/1 and HP-UX. |
1606 | # small command number limits, like on Digital OSF/1 and HP-UX. |
3411 | ac_max_sed_lines=48 |
1607 | ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
3412 | ac_sed_frag=1 # Number of current file. |
1608 | ac_file=1 # Number of current file. |
3413 | ac_beg=1 # First line for current file. |
1609 | ac_beg=1 # First line for current file. |
3414 | ac_end=$ac_max_sed_lines # Line after last line for current file. |
1610 | ac_end=$ac_max_sed_cmds # Line after last line for current file. |
3415 | ac_more_lines=: |
1611 | ac_more_lines=: |
3416 | ac_sed_cmds= |
1612 | ac_sed_cmds="" |
3417 | while $ac_more_lines; do |
1613 | while $ac_more_lines; do |
3418 | if test $ac_beg -gt 1; then |
1614 | if test $ac_beg -gt 1; then |
3419 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
1615 | sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
|
|
1616 | else |
|
|
1617 | sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
|
|
1618 | fi |
|
|
1619 | if test ! -s conftest.s$ac_file; then |
|
|
1620 | ac_more_lines=false |
|
|
1621 | rm -f conftest.s$ac_file |
|
|
1622 | else |
|
|
1623 | if test -z "$ac_sed_cmds"; then |
|
|
1624 | ac_sed_cmds="sed -f conftest.s$ac_file" |
3420 | else |
1625 | else |
3421 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
1626 | ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
3422 | fi |
1627 | fi |
3423 | if test ! -s $tmp/subs.frag; then |
1628 | ac_file=`expr $ac_file + 1` |
3424 | ac_more_lines=false |
|
|
3425 | else |
|
|
3426 | # The purpose of the label and of the branching condition is to |
|
|
3427 | # speed up the sed processing (if there are no `@' at all, there |
|
|
3428 | # is no need to browse any of the substitutions). |
|
|
3429 | # These are the two extra sed commands mentioned above. |
|
|
3430 | (echo ':t |
|
|
3431 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
|
|
3432 | if test -z "$ac_sed_cmds"; then |
|
|
3433 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
|
|
3434 | else |
|
|
3435 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
|
|
3436 | fi |
|
|
3437 | ac_sed_frag=`expr $ac_sed_frag + 1` |
|
|
3438 | ac_beg=$ac_end |
1629 | ac_beg=$ac_end |
3439 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
1630 | ac_end=`expr $ac_end + $ac_max_sed_cmds` |
3440 | fi |
|
|
3441 | done |
|
|
3442 | if test -z "$ac_sed_cmds"; then |
|
|
3443 | ac_sed_cmds=cat |
|
|
3444 | fi |
1631 | fi |
3445 | fi # test -n "$CONFIG_FILES" |
1632 | done |
3446 | |
1633 | if test -z "$ac_sed_cmds"; then |
|
|
1634 | ac_sed_cmds=cat |
|
|
1635 | fi |
3447 | EOF |
1636 | EOF |
|
|
1637 | |
|
|
1638 | cat >> $CONFIG_STATUS <<EOF |
|
|
1639 | |
|
|
1640 | CONFIG_FILES=\${CONFIG_FILES-"Makefile"} |
|
|
1641 | EOF |
3448 | cat >>$CONFIG_STATUS <<\EOF |
1642 | cat >> $CONFIG_STATUS <<\EOF |
3449 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
1643 | for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
3450 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
1644 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
3451 | case $ac_file in |
1645 | case "$ac_file" in |
3452 | - | *:- | *:-:* ) # input from stdin |
|
|
3453 | cat >$tmp/stdin |
|
|
3454 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
|
3455 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
|
3456 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
1646 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
3457 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
1647 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
3458 | * ) ac_file_in=$ac_file.in ;; |
1648 | *) ac_file_in="${ac_file}.in" ;; |
3459 | esac |
1649 | esac |
3460 | |
1650 | |
3461 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
1651 | # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
3462 | ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1652 | |
3463 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
1653 | # Remove last slash and all that follows it. Not all systems have dirname. |
3464 | X"$ac_file" : 'X\(//\)$' \| \ |
1654 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
3465 | X"$ac_file" : 'X\(/\)' \| \ |
|
|
3466 | . : '\(.\)' 2>/dev/null || |
|
|
3467 | echo X"$ac_file" | |
|
|
3468 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
3469 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
3470 | /^X\(\/\/\)$/{ s//\1/; q; } |
|
|
3471 | /^X\(\/\).*/{ s//\1/; q; } |
|
|
3472 | s/.*/./; q'` |
|
|
3473 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
1655 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
3474 | { case "$ac_dir" in |
1656 | # The file is in a subdirectory. |
3475 | [\\/]* | ?:[\\/]* ) as_incr_dir=;; |
|
|
3476 | *) as_incr_dir=.;; |
|
|
3477 | esac |
|
|
3478 | as_dummy="$ac_dir" |
|
|
3479 | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
|
|
3480 | case $as_mkdir_dir in |
|
|
3481 | # Skip DOS drivespec |
|
|
3482 | ?:) as_incr_dir=$as_mkdir_dir ;; |
|
|
3483 | *) |
|
|
3484 | as_incr_dir=$as_incr_dir/$as_mkdir_dir |
|
|
3485 | test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
1657 | test ! -d "$ac_dir" && mkdir "$ac_dir" |
3486 | ;; |
|
|
3487 | esac |
|
|
3488 | done; } |
|
|
3489 | |
|
|
3490 | ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" |
1658 | ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
3491 | # A "../" for each directory in $ac_dir_suffix. |
1659 | # A "../" for each directory in $ac_dir_suffix. |
3492 | ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` |
1660 | ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
3493 | else |
1661 | else |
3494 | ac_dir_suffix= ac_dots= |
1662 | ac_dir_suffix= ac_dots= |
3495 | fi |
1663 | fi |
3496 | |
1664 | |
3497 | case $srcdir in |
1665 | case "$ac_given_srcdir" in |
3498 | .) ac_srcdir=. |
1666 | .) srcdir=. |
3499 | if test -z "$ac_dots"; then |
1667 | if test -z "$ac_dots"; then top_srcdir=. |
3500 | ac_top_srcdir=. |
|
|
3501 | else |
|
|
3502 | ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` |
1668 | else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
3503 | fi ;; |
1669 | /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
3504 | [\\/]* | ?:[\\/]* ) |
|
|
3505 | ac_srcdir=$srcdir$ac_dir_suffix; |
|
|
3506 | ac_top_srcdir=$srcdir ;; |
|
|
3507 | *) # Relative path. |
1670 | *) # Relative path. |
3508 | ac_srcdir=$ac_dots$srcdir$ac_dir_suffix |
1671 | srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
3509 | ac_top_srcdir=$ac_dots$srcdir ;; |
1672 | top_srcdir="$ac_dots$ac_given_srcdir" ;; |
3510 | esac |
1673 | esac |
3511 | |
1674 | |
3512 | if test x"$ac_file" != x-; then |
1675 | |
3513 | { echo "$as_me:3513: creating $ac_file" >&5 |
1676 | echo creating "$ac_file" |
3514 | echo "$as_me: creating $ac_file" >&6;} |
|
|
3515 | rm -f "$ac_file" |
1677 | rm -f "$ac_file" |
3516 | fi |
|
|
3517 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
|
3518 | # use $as_me), people would be surprised to read: |
|
|
3519 | # /* config.h. Generated automatically by config.status. */ |
|
|
3520 | configure_input="Generated automatically from `echo $ac_file_in | |
1678 | configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
3521 | sed 's,.*/,,'` by configure." |
1679 | case "$ac_file" in |
3522 | |
1680 | *Makefile*) ac_comsub="1i\\ |
3523 | # First look for the input files in the build tree, otherwise in the |
1681 | # $configure_input" ;; |
3524 | # src tree. |
1682 | *) ac_comsub= ;; |
3525 | ac_file_inputs=`IFS=: |
|
|
3526 | for f in $ac_file_in; do |
|
|
3527 | case $f in |
|
|
3528 | -) echo $tmp/stdin ;; |
|
|
3529 | [\\/$]*) |
|
|
3530 | # Absolute (can't be DOS-style, as IFS=:) |
|
|
3531 | test -f "$f" || { { echo "$as_me:3531: error: cannot find input file: $f" >&5 |
|
|
3532 | echo "$as_me: error: cannot find input file: $f" >&2;} |
|
|
3533 | { (exit 1); exit 1; }; } |
|
|
3534 | echo $f;; |
|
|
3535 | *) # Relative |
|
|
3536 | if test -f "$f"; then |
|
|
3537 | # Build tree |
|
|
3538 | echo $f |
|
|
3539 | elif test -f "$srcdir/$f"; then |
|
|
3540 | # Source tree |
|
|
3541 | echo $srcdir/$f |
|
|
3542 | else |
|
|
3543 | # /dev/null tree |
|
|
3544 | { { echo "$as_me:3544: error: cannot find input file: $f" >&5 |
|
|
3545 | echo "$as_me: error: cannot find input file: $f" >&2;} |
|
|
3546 | { (exit 1); exit 1; }; } |
|
|
3547 | fi;; |
|
|
3548 | esac |
1683 | esac |
3549 | done` || { (exit 1); exit 1; } |
1684 | |
3550 | EOF |
1685 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
3551 | cat >>$CONFIG_STATUS <<EOF |
|
|
3552 | sed "$ac_vpsub |
1686 | sed -e "$ac_comsub |
3553 | $extrasub |
|
|
3554 | EOF |
|
|
3555 | cat >>$CONFIG_STATUS <<\EOF |
|
|
3556 | :t |
|
|
3557 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
|
3558 | s,@configure_input@,$configure_input,;t t |
1687 | s%@configure_input@%$configure_input%g |
3559 | s,@srcdir@,$ac_srcdir,;t t |
1688 | s%@srcdir@%$srcdir%g |
3560 | s,@top_srcdir@,$ac_top_srcdir,;t t |
1689 | s%@top_srcdir@%$top_srcdir%g |
3561 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
1690 | " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
3562 | rm -f $tmp/stdin |
1691 | fi; done |
3563 | if test x"$ac_file" != x-; then |
1692 | rm -f conftest.s* |
3564 | mv $tmp/out $ac_file |
|
|
3565 | else |
|
|
3566 | cat $tmp/out |
|
|
3567 | rm -f $tmp/out |
|
|
3568 | fi |
|
|
3569 | |
|
|
3570 | done |
|
|
3571 | EOF |
|
|
3572 | cat >>$CONFIG_STATUS <<\EOF |
|
|
3573 | |
|
|
3574 | # |
|
|
3575 | # CONFIG_HEADER section. |
|
|
3576 | # |
|
|
3577 | |
1693 | |
3578 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
1694 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
3579 | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
1695 | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
3580 | # |
1696 | # |
3581 | # ac_d sets the value in "#define NAME VALUE" lines. |
1697 | # ac_d sets the value in "#define NAME VALUE" lines. |
3582 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
1698 | ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
3583 | ac_dB='[ ].*$,\1#\2' |
1699 | ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' |
3584 | ac_dC=' ' |
1700 | ac_dC='\3' |
3585 | ac_dD=',;t' |
1701 | ac_dD='%g' |
3586 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
1702 | # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". |
3587 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
1703 | ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
3588 | ac_uB='$,\1#\2define\3' |
1704 | ac_uB='\([ ]\)%\1#\2define\3' |
3589 | ac_uC=' ' |
1705 | ac_uC=' ' |
3590 | ac_uD=',;t' |
1706 | ac_uD='\4%g' |
|
|
1707 | # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
|
|
1708 | ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
|
|
1709 | ac_eB='$%\1#\2define\3' |
|
|
1710 | ac_eC=' ' |
|
|
1711 | ac_eD='%g' |
3591 | |
1712 | |
|
|
1713 | if test "${CONFIG_HEADERS+set}" != set; then |
|
|
1714 | EOF |
|
|
1715 | cat >> $CONFIG_STATUS <<EOF |
|
|
1716 | CONFIG_HEADERS="config.h" |
|
|
1717 | EOF |
|
|
1718 | cat >> $CONFIG_STATUS <<\EOF |
|
|
1719 | fi |
3592 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
1720 | for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then |
3593 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
1721 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
3594 | case $ac_file in |
1722 | case "$ac_file" in |
3595 | - | *:- | *:-:* ) # input from stdin |
|
|
3596 | cat >$tmp/stdin |
|
|
3597 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
|
3598 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
|
3599 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
1723 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
3600 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
1724 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
3601 | * ) ac_file_in=$ac_file.in ;; |
1725 | *) ac_file_in="${ac_file}.in" ;; |
3602 | esac |
1726 | esac |
3603 | |
1727 | |
3604 | test x"$ac_file" != x- && { echo "$as_me:3604: creating $ac_file" >&5 |
1728 | echo creating $ac_file |
3605 | echo "$as_me: creating $ac_file" >&6;} |
|
|
3606 | |
1729 | |
3607 | # First look for the input files in the build tree, otherwise in the |
1730 | rm -f conftest.frag conftest.in conftest.out |
3608 | # src tree. |
1731 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
3609 | ac_file_inputs=`IFS=: |
1732 | cat $ac_file_inputs > conftest.in |
3610 | for f in $ac_file_in; do |
|
|
3611 | case $f in |
|
|
3612 | -) echo $tmp/stdin ;; |
|
|
3613 | [\\/$]*) |
|
|
3614 | # Absolute (can't be DOS-style, as IFS=:) |
|
|
3615 | test -f "$f" || { { echo "$as_me:3615: error: cannot find input file: $f" >&5 |
|
|
3616 | echo "$as_me: error: cannot find input file: $f" >&2;} |
|
|
3617 | { (exit 1); exit 1; }; } |
|
|
3618 | echo $f;; |
|
|
3619 | *) # Relative |
|
|
3620 | if test -f "$f"; then |
|
|
3621 | # Build tree |
|
|
3622 | echo $f |
|
|
3623 | elif test -f "$srcdir/$f"; then |
|
|
3624 | # Source tree |
|
|
3625 | echo $srcdir/$f |
|
|
3626 | else |
|
|
3627 | # /dev/null tree |
|
|
3628 | { { echo "$as_me:3628: error: cannot find input file: $f" >&5 |
|
|
3629 | echo "$as_me: error: cannot find input file: $f" >&2;} |
|
|
3630 | { (exit 1); exit 1; }; } |
|
|
3631 | fi;; |
|
|
3632 | esac |
|
|
3633 | done` || { (exit 1); exit 1; } |
|
|
3634 | # Remove the trailing spaces. |
|
|
3635 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
|
|
3636 | |
1733 | |
3637 | EOF |
1734 | EOF |
3638 | |
1735 | |
3639 | # Transform confdefs.h into two sed scripts, `conftest.defines' and |
1736 | # Transform confdefs.h into a sed script conftest.vals that substitutes |
3640 | # `conftest.undefs', that substitutes the proper values into |
1737 | # the proper values into config.h.in to produce config.h. And first: |
3641 | # config.h.in to produce config.h. The first handles `#define' |
|
|
3642 | # templates, and the second `#undef' templates. |
|
|
3643 | # And first: Protect against being on the right side of a sed subst in |
1738 | # Protect against being on the right side of a sed subst in config.status. |
3644 | # config.status. Protect against being in an unquoted here document |
1739 | # Protect against being in an unquoted here document in config.status. |
3645 | # in config.status. |
1740 | rm -f conftest.vals |
3646 | rm -f conftest.defines conftest.undefs |
1741 | cat > conftest.hdr <<\EOF |
3647 | # Using a here document instead of a string reduces the quoting nightmare. |
|
|
3648 | # Putting comments in sed scripts is not portable. |
|
|
3649 | # |
|
|
3650 | # `end' is used to avoid that the second main sed command (meant for |
|
|
3651 | # 0-ary CPP macros) applies to n-ary macro definitions. |
|
|
3652 | # See the Autoconf documentation for `clear'. |
|
|
3653 | cat >confdef2sed.sed <<\EOF |
|
|
3654 | s/[\\&,]/\\&/g |
1742 | s/[\\&%]/\\&/g |
3655 | s,[\\$`],\\&,g |
1743 | s%[\\$`]%\\&%g |
3656 | t clear |
1744 | s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp |
3657 | : clear |
1745 | s%ac_d%ac_u%gp |
3658 | s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp |
1746 | s%ac_u%ac_e%gp |
3659 | t end |
|
|
3660 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
|
|
3661 | : end |
|
|
3662 | EOF |
1747 | EOF |
3663 | # If some macros were called several times there might be several times |
1748 | sed -n -f conftest.hdr confdefs.h > conftest.vals |
3664 | # the same #defines, which is useless. Nevertheless, we may not want to |
1749 | rm -f conftest.hdr |
3665 | # sort them, since we want the *last* AC-DEFINE to be honored. |
|
|
3666 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
|
|
3667 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
|
|
3668 | rm -f confdef2sed.sed |
|
|
3669 | |
1750 | |
3670 | # This sed command replaces #undef with comments. This is necessary, for |
1751 | # This sed command replaces #undef with comments. This is necessary, for |
3671 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
1752 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
3672 | # on some systems where configure will not decide to define it. |
1753 | # on some systems where configure will not decide to define it. |
3673 | cat >>conftest.undefs <<\EOF |
1754 | cat >> conftest.vals <<\EOF |
3674 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
1755 | s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% |
3675 | EOF |
1756 | EOF |
3676 | |
1757 | |
3677 | # Break up conftest.defines because some shells have a limit on the size |
1758 | # Break up conftest.vals because some shells have a limit on |
3678 | # of here documents, and old seds have small limits too (100 cmds). |
1759 | # the size of here documents, and old seds have small limits too. |
3679 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
1760 | |
3680 | echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
|
|
3681 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
|
|
3682 | echo ' :' >>$CONFIG_STATUS |
|
|
3683 | rm -f conftest.tail |
1761 | rm -f conftest.tail |
3684 | while grep . conftest.defines >/dev/null |
1762 | while : |
3685 | do |
1763 | do |
|
|
1764 | ac_lines=`grep -c . conftest.vals` |
|
|
1765 | # grep -c gives empty output for an empty file on some AIX systems. |
|
|
1766 | if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi |
3686 | # Write a limited-size here document to $tmp/defines.sed. |
1767 | # Write a limited-size here document to conftest.frag. |
3687 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
1768 | echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS |
3688 | # Speed up: don't consider the non `#define' lines. |
|
|
3689 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
|
|
3690 | # Work around the forget-to-reset-the-flag bug. |
|
|
3691 | echo 't clr' >>$CONFIG_STATUS |
|
|
3692 | echo ': clr' >>$CONFIG_STATUS |
|
|
3693 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
1769 | sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS |
3694 | echo 'CEOF |
1770 | echo 'CEOF |
3695 | sed -f $tmp/defines.sed $tmp/in >$tmp/out |
1771 | sed -f conftest.frag conftest.in > conftest.out |
3696 | rm -f $tmp/in |
1772 | rm -f conftest.in |
3697 | mv $tmp/out $tmp/in |
1773 | mv conftest.out conftest.in |
3698 | ' >>$CONFIG_STATUS |
1774 | ' >> $CONFIG_STATUS |
3699 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
1775 | sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail |
3700 | rm -f conftest.defines |
1776 | rm -f conftest.vals |
3701 | mv conftest.tail conftest.defines |
1777 | mv conftest.tail conftest.vals |
3702 | done |
1778 | done |
3703 | rm -f conftest.defines |
|
|
3704 | echo ' fi # egrep' >>$CONFIG_STATUS |
|
|
3705 | echo >>$CONFIG_STATUS |
|
|
3706 | |
|
|
3707 | # Break up conftest.undefs because some shells have a limit on the size |
|
|
3708 | # of here documents, and old seds have small limits too (100 cmds). |
|
|
3709 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
|
|
3710 | rm -f conftest.tail |
1779 | rm -f conftest.vals |
3711 | while grep . conftest.undefs >/dev/null |
|
|
3712 | do |
|
|
3713 | # Write a limited-size here document to $tmp/undefs.sed. |
|
|
3714 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
|
|
3715 | # Speed up: don't consider the non `#undef' |
|
|
3716 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
|
|
3717 | # Work around the forget-to-reset-the-flag bug. |
|
|
3718 | echo 't clr' >>$CONFIG_STATUS |
|
|
3719 | echo ': clr' >>$CONFIG_STATUS |
|
|
3720 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
|
|
3721 | echo 'CEOF |
|
|
3722 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
|
|
3723 | rm -f $tmp/in |
|
|
3724 | mv $tmp/out $tmp/in |
|
|
3725 | ' >>$CONFIG_STATUS |
|
|
3726 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
|
|
3727 | rm -f conftest.undefs |
|
|
3728 | mv conftest.tail conftest.undefs |
|
|
3729 | done |
|
|
3730 | rm -f conftest.undefs |
|
|
3731 | |
1780 | |
3732 | cat >>$CONFIG_STATUS <<\EOF |
1781 | cat >> $CONFIG_STATUS <<\EOF |
3733 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
1782 | rm -f conftest.frag conftest.h |
3734 | # use $as_me), people would be surprised to read: |
|
|
3735 | # /* config.h. Generated automatically by config.status. */ |
|
|
3736 | if test x"$ac_file" = x-; then |
|
|
3737 | echo "/* Generated automatically by configure. */" >$tmp/config.h |
1783 | echo "/* $ac_file. Generated automatically by configure. */" > conftest.h |
|
|
1784 | cat conftest.in >> conftest.h |
|
|
1785 | rm -f conftest.in |
|
|
1786 | if cmp -s $ac_file conftest.h 2>/dev/null; then |
|
|
1787 | echo "$ac_file is unchanged" |
|
|
1788 | rm -f conftest.h |
3738 | else |
1789 | else |
3739 | echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h |
1790 | # Remove last slash and all that follows it. Not all systems have dirname. |
|
|
1791 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
|
|
1792 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
|
|
1793 | # The file is in a subdirectory. |
|
|
1794 | test ! -d "$ac_dir" && mkdir "$ac_dir" |
|
|
1795 | fi |
|
|
1796 | rm -f $ac_file |
|
|
1797 | mv conftest.h $ac_file |
3740 | fi |
1798 | fi |
3741 | cat $tmp/in >>$tmp/config.h |
1799 | fi; done |
3742 | rm -f $tmp/in |
|
|
3743 | if test x"$ac_file" != x-; then |
|
|
3744 | if cmp -s $ac_file $tmp/config.h 2>/dev/null; then |
|
|
3745 | { echo "$as_me:3745: $ac_file is unchanged" >&5 |
|
|
3746 | echo "$as_me: $ac_file is unchanged" >&6;} |
|
|
3747 | else |
|
|
3748 | ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
3749 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
|
3750 | X"$ac_file" : 'X\(//\)$' \| \ |
|
|
3751 | X"$ac_file" : 'X\(/\)' \| \ |
|
|
3752 | . : '\(.\)' 2>/dev/null || |
|
|
3753 | echo X"$ac_file" | |
|
|
3754 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
3755 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
3756 | /^X\(\/\/\)$/{ s//\1/; q; } |
|
|
3757 | /^X\(\/\).*/{ s//\1/; q; } |
|
|
3758 | s/.*/./; q'` |
|
|
3759 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
|
|
3760 | { case "$ac_dir" in |
|
|
3761 | [\\/]* | ?:[\\/]* ) as_incr_dir=;; |
|
|
3762 | *) as_incr_dir=.;; |
|
|
3763 | esac |
|
|
3764 | as_dummy="$ac_dir" |
|
|
3765 | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
|
|
3766 | case $as_mkdir_dir in |
|
|
3767 | # Skip DOS drivespec |
|
|
3768 | ?:) as_incr_dir=$as_mkdir_dir ;; |
|
|
3769 | *) |
|
|
3770 | as_incr_dir=$as_incr_dir/$as_mkdir_dir |
|
|
3771 | test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
|
|
3772 | ;; |
|
|
3773 | esac |
|
|
3774 | done; } |
|
|
3775 | |
1800 | |
3776 | fi |
|
|
3777 | rm -f $ac_file |
|
|
3778 | mv $tmp/config.h $ac_file |
|
|
3779 | fi |
|
|
3780 | else |
|
|
3781 | cat $tmp/config.h |
|
|
3782 | rm -f $tmp/config.h |
|
|
3783 | fi |
|
|
3784 | done |
|
|
3785 | EOF |
1801 | EOF |
|
|
1802 | cat >> $CONFIG_STATUS <<EOF |
3786 | |
1803 | |
|
|
1804 | EOF |
3787 | cat >>$CONFIG_STATUS <<\EOF |
1805 | cat >> $CONFIG_STATUS <<\EOF |
3788 | |
1806 | |
3789 | { (exit 0); exit 0; } |
1807 | exit 0 |
3790 | EOF |
1808 | EOF |
3791 | chmod +x $CONFIG_STATUS |
1809 | chmod +x $CONFIG_STATUS |
3792 | ac_clean_files=$ac_clean_files_save |
1810 | rm -fr confdefs* $ac_clean_files |
|
|
1811 | test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
3793 | |
1812 | |
3794 | # configure is writing to config.log, and then calls config.status. |
|
|
3795 | # config.status does its own redirection, appending to config.log. |
|
|
3796 | # Unfortunately, on DOS this fails, as config.log is still kept open |
|
|
3797 | # by configure, so config.status won't be able to write to it; its |
|
|
3798 | # output is simply discarded. So we exec the FD to /dev/null, |
|
|
3799 | # effectively closing config.log, so it can be properly (re)opened and |
|
|
3800 | # appended to by config.status. When coming back to configure, we |
|
|
3801 | # need to make the FD available again. |
|
|
3802 | if test "$no_create" != yes; then |
|
|
3803 | ac_cs_success=: |
|
|
3804 | exec 5>/dev/null |
|
|
3805 | $SHELL $CONFIG_STATUS || ac_cs_success=false |
|
|
3806 | exec 5>>config.log |
|
|
3807 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
|
3808 | # would make configure fail if this is the last instruction. |
|
|
3809 | $ac_cs_success || { (exit 1); exit 1; } |
|
|
3810 | fi |
|
|
3811 | |
|
|