diff options
author | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
commit | 4b46c1f6e891b1ddd5968536440b888661fade3e (patch) | |
tree | e0ba2c1f56f61b868bf746da5c4feabb25b800b2 /openembedded/packages/quilt | |
download | poky-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.gz |
Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/quilt')
-rw-r--r-- | openembedded/packages/quilt/files/autoreconf.patch | 10794 | ||||
-rw-r--r-- | openembedded/packages/quilt/files/install.patch | 19 | ||||
-rw-r--r-- | openembedded/packages/quilt/files/nostrip.patch | 16 | ||||
-rw-r--r-- | openembedded/packages/quilt/files/wiggle.patch | 110 | ||||
-rw-r--r-- | openembedded/packages/quilt/quilt-native_0.39.bb | 20 | ||||
-rw-r--r-- | openembedded/packages/quilt/quilt-package.inc | 10 | ||||
-rw-r--r-- | openembedded/packages/quilt/quilt.inc | 7 | ||||
-rw-r--r-- | openembedded/packages/quilt/quilt_0.32.bb | 11 | ||||
-rw-r--r-- | openembedded/packages/quilt/quilt_0.37.bb | 11 | ||||
-rw-r--r-- | openembedded/packages/quilt/quilt_0.39.bb | 10 |
10 files changed, 11008 insertions, 0 deletions
diff --git a/openembedded/packages/quilt/files/autoreconf.patch b/openembedded/packages/quilt/files/autoreconf.patch new file mode 100644 index 0000000000..b4267c8380 --- /dev/null +++ b/openembedded/packages/quilt/files/autoreconf.patch | |||
@@ -0,0 +1,10794 @@ | |||
1 | diff -urNd -urNd quilt/autom4te.cache/output.0 quilt.autoreconf/autom4te.cache/output.0 | ||
2 | --- quilt/autom4te.cache/output.0 1969-12-31 18:00:00.000000000 -0600 | ||
3 | +++ quilt.autoreconf/autom4te.cache/output.0 2005-01-17 21:06:39.000000000 -0600 | ||
4 | @@ -0,0 +1,5239 @@ | ||
5 | +@%:@! /bin/sh | ||
6 | +@%:@ From configure.ac . | ||
7 | +@%:@ Guess values for system-dependent variables and create Makefiles. | ||
8 | +@%:@ Generated by GNU Autoconf 2.59 for quilt 0.37. | ||
9 | +@%:@ | ||
10 | +@%:@ Report bugs to <quilt-dev@nongnu.org>. | ||
11 | +@%:@ | ||
12 | +@%:@ Copyright (C) 2003 Free Software Foundation, Inc. | ||
13 | +@%:@ This configure script is free software; the Free Software Foundation | ||
14 | +@%:@ gives unlimited permission to copy, distribute and modify it. | ||
15 | +## --------------------- ## | ||
16 | +## M4sh Initialization. ## | ||
17 | +## --------------------- ## | ||
18 | + | ||
19 | +# Be Bourne compatible | ||
20 | +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
21 | + emulate sh | ||
22 | + NULLCMD=: | ||
23 | + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
24 | + # is contrary to our usage. Disable this feature. | ||
25 | + alias -g '${1+"$@"}'='"$@"' | ||
26 | +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | ||
27 | + set -o posix | ||
28 | +fi | ||
29 | +DUALCASE=1; export DUALCASE # for MKS sh | ||
30 | + | ||
31 | +# Support unset when possible. | ||
32 | +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
33 | + as_unset=unset | ||
34 | +else | ||
35 | + as_unset=false | ||
36 | +fi | ||
37 | + | ||
38 | + | ||
39 | +# Work around bugs in pre-3.0 UWIN ksh. | ||
40 | +$as_unset ENV MAIL MAILPATH | ||
41 | +PS1='$ ' | ||
42 | +PS2='> ' | ||
43 | +PS4='+ ' | ||
44 | + | ||
45 | +# NLS nuisances. | ||
46 | +for as_var in \ | ||
47 | + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | ||
48 | + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | ||
49 | + LC_TELEPHONE LC_TIME | ||
50 | +do | ||
51 | + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | ||
52 | + eval $as_var=C; export $as_var | ||
53 | + else | ||
54 | + $as_unset $as_var | ||
55 | + fi | ||
56 | +done | ||
57 | + | ||
58 | +# Required to use basename. | ||
59 | +if expr a : '\(a\)' >/dev/null 2>&1; then | ||
60 | + as_expr=expr | ||
61 | +else | ||
62 | + as_expr=false | ||
63 | +fi | ||
64 | + | ||
65 | +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | ||
66 | + as_basename=basename | ||
67 | +else | ||
68 | + as_basename=false | ||
69 | +fi | ||
70 | + | ||
71 | + | ||
72 | +# Name of the executable. | ||
73 | +as_me=`$as_basename "$0" || | ||
74 | +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
75 | + X"$0" : 'X\(//\)$' \| \ | ||
76 | + X"$0" : 'X\(/\)$' \| \ | ||
77 | + . : '\(.\)' 2>/dev/null || | ||
78 | +echo X/"$0" | | ||
79 | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | ||
80 | + /^X\/\(\/\/\)$/{ s//\1/; q; } | ||
81 | + /^X\/\(\/\).*/{ s//\1/; q; } | ||
82 | + s/.*/./; q'` | ||
83 | + | ||
84 | + | ||
85 | +# PATH needs CR, and LINENO needs CR and PATH. | ||
86 | +# Avoid depending upon Character Ranges. | ||
87 | +as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
88 | +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
89 | +as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
90 | +as_cr_digits='0123456789' | ||
91 | +as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
92 | + | ||
93 | +# The user is always right. | ||
94 | +if test "${PATH_SEPARATOR+set}" != set; then | ||
95 | + echo "#! /bin/sh" >conf$$.sh | ||
96 | + echo "exit 0" >>conf$$.sh | ||
97 | + chmod +x conf$$.sh | ||
98 | + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
99 | + PATH_SEPARATOR=';' | ||
100 | + else | ||
101 | + PATH_SEPARATOR=: | ||
102 | + fi | ||
103 | + rm -f conf$$.sh | ||
104 | +fi | ||
105 | + | ||
106 | + | ||
107 | + as_lineno_1=$LINENO | ||
108 | + as_lineno_2=$LINENO | ||
109 | + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
110 | + test "x$as_lineno_1" != "x$as_lineno_2" && | ||
111 | + test "x$as_lineno_3" = "x$as_lineno_2" || { | ||
112 | + # Find who we are. Look in the path if we contain no path at all | ||
113 | + # relative or not. | ||
114 | + case $0 in | ||
115 | + *[\\/]* ) as_myself=$0 ;; | ||
116 | + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
117 | +for as_dir in $PATH | ||
118 | +do | ||
119 | + IFS=$as_save_IFS | ||
120 | + test -z "$as_dir" && as_dir=. | ||
121 | + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
122 | +done | ||
123 | + | ||
124 | + ;; | ||
125 | + esac | ||
126 | + # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
127 | + # in which case we are not to be found in the path. | ||
128 | + if test "x$as_myself" = x; then | ||
129 | + as_myself=$0 | ||
130 | + fi | ||
131 | + if test ! -f "$as_myself"; then | ||
132 | + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | ||
133 | + { (exit 1); exit 1; }; } | ||
134 | + fi | ||
135 | + case $CONFIG_SHELL in | ||
136 | + '') | ||
137 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
138 | +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
139 | +do | ||
140 | + IFS=$as_save_IFS | ||
141 | + test -z "$as_dir" && as_dir=. | ||
142 | + for as_base in sh bash ksh sh5; do | ||
143 | + case $as_dir in | ||
144 | + /*) | ||
145 | + if ("$as_dir/$as_base" -c ' | ||
146 | + as_lineno_1=$LINENO | ||
147 | + as_lineno_2=$LINENO | ||
148 | + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
149 | + test "x$as_lineno_1" != "x$as_lineno_2" && | ||
150 | + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | ||
151 | + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | ||
152 | + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | ||
153 | + CONFIG_SHELL=$as_dir/$as_base | ||
154 | + export CONFIG_SHELL | ||
155 | + exec "$CONFIG_SHELL" "$0" ${1+"$@"} | ||
156 | + fi;; | ||
157 | + esac | ||
158 | + done | ||
159 | +done | ||
160 | +;; | ||
161 | + esac | ||
162 | + | ||
163 | + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
164 | + # uniformly replaced by the line number. The first 'sed' inserts a | ||
165 | + # line-number line before each line; the second 'sed' does the real | ||
166 | + # work. The second script uses 'N' to pair each line-number line | ||
167 | + # with the numbered line, and appends trailing '-' during | ||
168 | + # substitution so that $LINENO is not a special case at line end. | ||
169 | + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
170 | + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | ||
171 | + sed '=' <$as_myself | | ||
172 | + sed ' | ||
173 | + N | ||
174 | + s,$,-, | ||
175 | + : loop | ||
176 | + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
177 | + t loop | ||
178 | + s,-$,, | ||
179 | + s,^['$as_cr_digits']*\n,, | ||
180 | + ' >$as_me.lineno && | ||
181 | + chmod +x $as_me.lineno || | ||
182 | + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | ||
183 | + { (exit 1); exit 1; }; } | ||
184 | + | ||
185 | + # Don't try to exec as it changes $[0], causing all sort of problems | ||
186 | + # (the dirname of $[0] is not the place where we might find the | ||
187 | + # original and so on. Autoconf is especially sensible to this). | ||
188 | + . ./$as_me.lineno | ||
189 | + # Exit status is that of the last command. | ||
190 | + exit | ||
191 | +} | ||
192 | + | ||
193 | + | ||
194 | +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | ||
195 | + *c*,-n*) ECHO_N= ECHO_C=' | ||
196 | +' ECHO_T=' ' ;; | ||
197 | + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | ||
198 | + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | ||
199 | +esac | ||
200 | + | ||
201 | +if expr a : '\(a\)' >/dev/null 2>&1; then | ||
202 | + as_expr=expr | ||
203 | +else | ||
204 | + as_expr=false | ||
205 | +fi | ||
206 | + | ||
207 | +rm -f conf$$ conf$$.exe conf$$.file | ||
208 | +echo >conf$$.file | ||
209 | +if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
210 | + # We could just check for DJGPP; but this test a) works b) is more generic | ||
211 | + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | ||
212 | + if test -f conf$$.exe; then | ||
213 | + # Don't use ln at all; we don't have any links | ||
214 | + as_ln_s='cp -p' | ||
215 | + else | ||
216 | + as_ln_s='ln -s' | ||
217 | + fi | ||
218 | +elif ln conf$$.file conf$$ 2>/dev/null; then | ||
219 | + as_ln_s=ln | ||
220 | +else | ||
221 | + as_ln_s='cp -p' | ||
222 | +fi | ||
223 | +rm -f conf$$ conf$$.exe conf$$.file | ||
224 | + | ||
225 | +if mkdir -p . 2>/dev/null; then | ||
226 | + as_mkdir_p=: | ||
227 | +else | ||
228 | + test -d ./-p && rmdir ./-p | ||
229 | + as_mkdir_p=false | ||
230 | +fi | ||
231 | + | ||
232 | +as_executable_p="test -f" | ||
233 | + | ||
234 | +# Sed expression to map a string onto a valid CPP name. | ||
235 | +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
236 | + | ||
237 | +# Sed expression to map a string onto a valid variable name. | ||
238 | +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
239 | + | ||
240 | + | ||
241 | +# IFS | ||
242 | +# We need space, tab and new line, in precisely that order. | ||
243 | +as_nl=' | ||
244 | +' | ||
245 | +IFS=" $as_nl" | ||
246 | + | ||
247 | +# CDPATH. | ||
248 | +$as_unset CDPATH | ||
249 | + | ||
250 | + | ||
251 | +# Name of the host. | ||
252 | +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | ||
253 | +# so uname gets run too. | ||
254 | +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ||
255 | + | ||
256 | +exec 6>&1 | ||
257 | + | ||
258 | +# | ||
259 | +# Initializations. | ||
260 | +# | ||
261 | +ac_default_prefix=/usr/local | ||
262 | +ac_config_libobj_dir=. | ||
263 | +cross_compiling=no | ||
264 | +subdirs= | ||
265 | +MFLAGS= | ||
266 | +MAKEFLAGS= | ||
267 | +SHELL=${CONFIG_SHELL-/bin/sh} | ||
268 | + | ||
269 | +# Maximum number of lines to put in a shell here document. | ||
270 | +# This variable seems obsolete. It should probably be removed, and | ||
271 | +# only ac_max_sed_lines should be used. | ||
272 | +: ${ac_max_here_lines=38} | ||
273 | + | ||
274 | +# Identity of this package. | ||
275 | +PACKAGE_NAME='quilt' | ||
276 | +PACKAGE_TARNAME='quilt' | ||
277 | +PACKAGE_VERSION='0.37' | ||
278 | +PACKAGE_STRING='quilt 0.37' | ||
279 | +PACKAGE_BUGREPORT='quilt-dev@nongnu.org' | ||
280 | + | ||
281 | +# Factoring default headers for most tests. | ||
282 | +ac_includes_default="\ | ||
283 | +#include <stdio.h> | ||
284 | +#if HAVE_SYS_TYPES_H | ||
285 | +# include <sys/types.h> | ||
286 | +#endif | ||
287 | +#if HAVE_SYS_STAT_H | ||
288 | +# include <sys/stat.h> | ||
289 | +#endif | ||
290 | +#if STDC_HEADERS | ||
291 | +# include <stdlib.h> | ||
292 | +# include <stddef.h> | ||
293 | +#else | ||
294 | +# if HAVE_STDLIB_H | ||
295 | +# include <stdlib.h> | ||
296 | +# endif | ||
297 | +#endif | ||
298 | +#if HAVE_STRING_H | ||
299 | +# if !STDC_HEADERS && HAVE_MEMORY_H | ||
300 | +# include <memory.h> | ||
301 | +# endif | ||
302 | +# include <string.h> | ||
303 | +#endif | ||
304 | +#if HAVE_STRINGS_H | ||
305 | +# include <strings.h> | ||
306 | +#endif | ||
307 | +#if HAVE_INTTYPES_H | ||
308 | +# include <inttypes.h> | ||
309 | +#else | ||
310 | +# if HAVE_STDINT_H | ||
311 | +# include <stdint.h> | ||
312 | +# endif | ||
313 | +#endif | ||
314 | +#if HAVE_UNISTD_H | ||
315 | +# include <unistd.h> | ||
316 | +#endif" | ||
317 | + | ||
318 | +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE_RELEASE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LIB@&t@OBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BASH PERL SED AWK MKTEMP DIFF PATCH DIFFSTAT MSGFMT docdir RPMBUILD LTLIBOBJS' | ||
319 | +ac_subst_files='' | ||
320 | + | ||
321 | +# Initialize some variables set by options. | ||
322 | +ac_init_help= | ||
323 | +ac_init_version=false | ||
324 | +# The variables have the same names as the options, with | ||
325 | +# dashes changed to underlines. | ||
326 | +cache_file=/dev/null | ||
327 | +exec_prefix=NONE | ||
328 | +no_create= | ||
329 | +no_recursion= | ||
330 | +prefix=NONE | ||
331 | +program_prefix=NONE | ||
332 | +program_suffix=NONE | ||
333 | +program_transform_name=s,x,x, | ||
334 | +silent= | ||
335 | +site= | ||
336 | +srcdir= | ||
337 | +verbose= | ||
338 | +x_includes=NONE | ||
339 | +x_libraries=NONE | ||
340 | + | ||
341 | +# Installation directory options. | ||
342 | +# These are left unexpanded so users can "make install exec_prefix=/foo" | ||
343 | +# and all the variables that are supposed to be based on exec_prefix | ||
344 | +# by default will actually change. | ||
345 | +# Use braces instead of parens because sh, perl, etc. also accept them. | ||
346 | +bindir='${exec_prefix}/bin' | ||
347 | +sbindir='${exec_prefix}/sbin' | ||
348 | +libexecdir='${exec_prefix}/libexec' | ||
349 | +datadir='${prefix}/share' | ||
350 | +sysconfdir='${prefix}/etc' | ||
351 | +sharedstatedir='${prefix}/com' | ||
352 | +localstatedir='${prefix}/var' | ||
353 | +libdir='${exec_prefix}/lib' | ||
354 | +includedir='${prefix}/include' | ||
355 | +oldincludedir='/usr/include' | ||
356 | +infodir='${prefix}/info' | ||
357 | +mandir='${prefix}/man' | ||
358 | + | ||
359 | +ac_prev= | ||
360 | +for ac_option | ||
361 | +do | ||
362 | + # If the previous option needs an argument, assign it. | ||
363 | + if test -n "$ac_prev"; then | ||
364 | + eval "$ac_prev=\$ac_option" | ||
365 | + ac_prev= | ||
366 | + continue | ||
367 | + fi | ||
368 | + | ||
369 | + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | ||
370 | + | ||
371 | + # Accept the important Cygnus configure options, so we can diagnose typos. | ||
372 | + | ||
373 | + case $ac_option in | ||
374 | + | ||
375 | + -bindir | --bindir | --bindi | --bind | --bin | --bi) | ||
376 | + ac_prev=bindir ;; | ||
377 | + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | ||
378 | + bindir=$ac_optarg ;; | ||
379 | + | ||
380 | + -build | --build | --buil | --bui | --bu) | ||
381 | + ac_prev=build_alias ;; | ||
382 | + -build=* | --build=* | --buil=* | --bui=* | --bu=*) | ||
383 | + build_alias=$ac_optarg ;; | ||
384 | + | ||
385 | + -cache-file | --cache-file | --cache-fil | --cache-fi \ | ||
386 | + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | ||
387 | + ac_prev=cache_file ;; | ||
388 | + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | ||
389 | + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | ||
390 | + cache_file=$ac_optarg ;; | ||
391 | + | ||
392 | + --config-cache | -C) | ||
393 | + cache_file=config.cache ;; | ||
394 | + | ||
395 | + -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | ||
396 | + ac_prev=datadir ;; | ||
397 | + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | ||
398 | + | --da=*) | ||
399 | + datadir=$ac_optarg ;; | ||
400 | + | ||
401 | + -disable-* | --disable-*) | ||
402 | + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | ||
403 | + # Reject names that are not valid shell variable names. | ||
404 | + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
405 | + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | ||
406 | + { (exit 1); exit 1; }; } | ||
407 | + ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ||
408 | + eval "enable_$ac_feature=no" ;; | ||
409 | + | ||
410 | + -enable-* | --enable-*) | ||
411 | + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | ||
412 | + # Reject names that are not valid shell variable names. | ||
413 | + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
414 | + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | ||
415 | + { (exit 1); exit 1; }; } | ||
416 | + ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ||
417 | + case $ac_option in | ||
418 | + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
419 | + *) ac_optarg=yes ;; | ||
420 | + esac | ||
421 | + eval "enable_$ac_feature='$ac_optarg'" ;; | ||
422 | + | ||
423 | + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | ||
424 | + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | ||
425 | + | --exec | --exe | --ex) | ||
426 | + ac_prev=exec_prefix ;; | ||
427 | + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | ||
428 | + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | ||
429 | + | --exec=* | --exe=* | --ex=*) | ||
430 | + exec_prefix=$ac_optarg ;; | ||
431 | + | ||
432 | + -gas | --gas | --ga | --g) | ||
433 | + # Obsolete; use --with-gas. | ||
434 | + with_gas=yes ;; | ||
435 | + | ||
436 | + -help | --help | --hel | --he | -h) | ||
437 | + ac_init_help=long ;; | ||
438 | + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | ||
439 | + ac_init_help=recursive ;; | ||
440 | + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | ||
441 | + ac_init_help=short ;; | ||
442 | + | ||
443 | + -host | --host | --hos | --ho) | ||
444 | + ac_prev=host_alias ;; | ||
445 | + -host=* | --host=* | --hos=* | --ho=*) | ||
446 | + host_alias=$ac_optarg ;; | ||
447 | + | ||
448 | + -includedir | --includedir | --includedi | --included | --include \ | ||
449 | + | --includ | --inclu | --incl | --inc) | ||
450 | + ac_prev=includedir ;; | ||
451 | + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | ||
452 | + | --includ=* | --inclu=* | --incl=* | --inc=*) | ||
453 | + includedir=$ac_optarg ;; | ||
454 | + | ||
455 | + -infodir | --infodir | --infodi | --infod | --info | --inf) | ||
456 | + ac_prev=infodir ;; | ||
457 | + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | ||
458 | + infodir=$ac_optarg ;; | ||
459 | + | ||
460 | + -libdir | --libdir | --libdi | --libd) | ||
461 | + ac_prev=libdir ;; | ||
462 | + -libdir=* | --libdir=* | --libdi=* | --libd=*) | ||
463 | + libdir=$ac_optarg ;; | ||
464 | + | ||
465 | + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | ||
466 | + | --libexe | --libex | --libe) | ||
467 | + ac_prev=libexecdir ;; | ||
468 | + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | ||
469 | + | --libexe=* | --libex=* | --libe=*) | ||
470 | + libexecdir=$ac_optarg ;; | ||
471 | + | ||
472 | + -localstatedir | --localstatedir | --localstatedi | --localstated \ | ||
473 | + | --localstate | --localstat | --localsta | --localst \ | ||
474 | + | --locals | --local | --loca | --loc | --lo) | ||
475 | + ac_prev=localstatedir ;; | ||
476 | + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | ||
477 | + | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | ||
478 | + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | ||
479 | + localstatedir=$ac_optarg ;; | ||
480 | + | ||
481 | + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | ||
482 | + ac_prev=mandir ;; | ||
483 | + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | ||
484 | + mandir=$ac_optarg ;; | ||
485 | + | ||
486 | + -nfp | --nfp | --nf) | ||
487 | + # Obsolete; use --without-fp. | ||
488 | + with_fp=no ;; | ||
489 | + | ||
490 | + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | ||
491 | + | --no-cr | --no-c | -n) | ||
492 | + no_create=yes ;; | ||
493 | + | ||
494 | + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | ||
495 | + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | ||
496 | + no_recursion=yes ;; | ||
497 | + | ||
498 | + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | ||
499 | + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | ||
500 | + | --oldin | --oldi | --old | --ol | --o) | ||
501 | + ac_prev=oldincludedir ;; | ||
502 | + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | ||
503 | + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | ||
504 | + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | ||
505 | + oldincludedir=$ac_optarg ;; | ||
506 | + | ||
507 | + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | ||
508 | + ac_prev=prefix ;; | ||
509 | + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | ||
510 | + prefix=$ac_optarg ;; | ||
511 | + | ||
512 | + -program-prefix | --program-prefix | --program-prefi | --program-pref \ | ||
513 | + | --program-pre | --program-pr | --program-p) | ||
514 | + ac_prev=program_prefix ;; | ||
515 | + -program-prefix=* | --program-prefix=* | --program-prefi=* \ | ||
516 | + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | ||
517 | + program_prefix=$ac_optarg ;; | ||
518 | + | ||
519 | + -program-suffix | --program-suffix | --program-suffi | --program-suff \ | ||
520 | + | --program-suf | --program-su | --program-s) | ||
521 | + ac_prev=program_suffix ;; | ||
522 | + -program-suffix=* | --program-suffix=* | --program-suffi=* \ | ||
523 | + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | ||
524 | + program_suffix=$ac_optarg ;; | ||
525 | + | ||
526 | + -program-transform-name | --program-transform-name \ | ||
527 | + | --program-transform-nam | --program-transform-na \ | ||
528 | + | --program-transform-n | --program-transform- \ | ||
529 | + | --program-transform | --program-transfor \ | ||
530 | + | --program-transfo | --program-transf \ | ||
531 | + | --program-trans | --program-tran \ | ||
532 | + | --progr-tra | --program-tr | --program-t) | ||
533 | + ac_prev=program_transform_name ;; | ||
534 | + -program-transform-name=* | --program-transform-name=* \ | ||
535 | + | --program-transform-nam=* | --program-transform-na=* \ | ||
536 | + | --program-transform-n=* | --program-transform-=* \ | ||
537 | + | --program-transform=* | --program-transfor=* \ | ||
538 | + | --program-transfo=* | --program-transf=* \ | ||
539 | + | --program-trans=* | --program-tran=* \ | ||
540 | + | --progr-tra=* | --program-tr=* | --program-t=*) | ||
541 | + program_transform_name=$ac_optarg ;; | ||
542 | + | ||
543 | + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
544 | + | -silent | --silent | --silen | --sile | --sil) | ||
545 | + silent=yes ;; | ||
546 | + | ||
547 | + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | ||
548 | + ac_prev=sbindir ;; | ||
549 | + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | ||
550 | + | --sbi=* | --sb=*) | ||
551 | + sbindir=$ac_optarg ;; | ||
552 | + | ||
553 | + -sharedstatedir | --sharedstatedir | --sharedstatedi \ | ||
554 | + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | ||
555 | + | --sharedst | --shareds | --shared | --share | --shar \ | ||
556 | + | --sha | --sh) | ||
557 | + ac_prev=sharedstatedir ;; | ||
558 | + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | ||
559 | + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | ||
560 | + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | ||
561 | + | --sha=* | --sh=*) | ||
562 | + sharedstatedir=$ac_optarg ;; | ||
563 | + | ||
564 | + -site | --site | --sit) | ||
565 | + ac_prev=site ;; | ||
566 | + -site=* | --site=* | --sit=*) | ||
567 | + site=$ac_optarg ;; | ||
568 | + | ||
569 | + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | ||
570 | + ac_prev=srcdir ;; | ||
571 | + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | ||
572 | + srcdir=$ac_optarg ;; | ||
573 | + | ||
574 | + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | ||
575 | + | --syscon | --sysco | --sysc | --sys | --sy) | ||
576 | + ac_prev=sysconfdir ;; | ||
577 | + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | ||
578 | + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | ||
579 | + sysconfdir=$ac_optarg ;; | ||
580 | + | ||
581 | + -target | --target | --targe | --targ | --tar | --ta | --t) | ||
582 | + ac_prev=target_alias ;; | ||
583 | + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | ||
584 | + target_alias=$ac_optarg ;; | ||
585 | + | ||
586 | + -v | -verbose | --verbose | --verbos | --verbo | --verb) | ||
587 | + verbose=yes ;; | ||
588 | + | ||
589 | + -version | --version | --versio | --versi | --vers | -V) | ||
590 | + ac_init_version=: ;; | ||
591 | + | ||
592 | + -with-* | --with-*) | ||
593 | + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | ||
594 | + # Reject names that are not valid shell variable names. | ||
595 | + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
596 | + { echo "$as_me: error: invalid package name: $ac_package" >&2 | ||
597 | + { (exit 1); exit 1; }; } | ||
598 | + ac_package=`echo $ac_package| sed 's/-/_/g'` | ||
599 | + case $ac_option in | ||
600 | + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
601 | + *) ac_optarg=yes ;; | ||
602 | + esac | ||
603 | + eval "with_$ac_package='$ac_optarg'" ;; | ||
604 | + | ||
605 | + -without-* | --without-*) | ||
606 | + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | ||
607 | + # Reject names that are not valid shell variable names. | ||
608 | + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
609 | + { echo "$as_me: error: invalid package name: $ac_package" >&2 | ||
610 | + { (exit 1); exit 1; }; } | ||
611 | + ac_package=`echo $ac_package | sed 's/-/_/g'` | ||
612 | + eval "with_$ac_package=no" ;; | ||
613 | + | ||
614 | + --x) | ||
615 | + # Obsolete; use --with-x. | ||
616 | + with_x=yes ;; | ||
617 | + | ||
618 | + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | ||
619 | + | --x-incl | --x-inc | --x-in | --x-i) | ||
620 | + ac_prev=x_includes ;; | ||
621 | + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | ||
622 | + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | ||
623 | + x_includes=$ac_optarg ;; | ||
624 | + | ||
625 | + -x-libraries | --x-libraries | --x-librarie | --x-librari \ | ||
626 | + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | ||
627 | + ac_prev=x_libraries ;; | ||
628 | + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | ||
629 | + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | ||
630 | + x_libraries=$ac_optarg ;; | ||
631 | + | ||
632 | + -*) { echo "$as_me: error: unrecognized option: $ac_option | ||
633 | +Try \`$0 --help' for more information." >&2 | ||
634 | + { (exit 1); exit 1; }; } | ||
635 | + ;; | ||
636 | + | ||
637 | + *=*) | ||
638 | + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | ||
639 | + # Reject names that are not valid shell variable names. | ||
640 | + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | ||
641 | + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | ||
642 | + { (exit 1); exit 1; }; } | ||
643 | + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | ||
644 | + eval "$ac_envvar='$ac_optarg'" | ||
645 | + export $ac_envvar ;; | ||
646 | + | ||
647 | + *) | ||
648 | + # FIXME: should be removed in autoconf 3.0. | ||
649 | + echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | ||
650 | + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | ||
651 | + echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | ||
652 | + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | ||
653 | + ;; | ||
654 | + | ||
655 | + esac | ||
656 | +done | ||
657 | + | ||
658 | +if test -n "$ac_prev"; then | ||
659 | + ac_option=--`echo $ac_prev | sed 's/_/-/g'` | ||
660 | + { echo "$as_me: error: missing argument to $ac_option" >&2 | ||
661 | + { (exit 1); exit 1; }; } | ||
662 | +fi | ||
663 | + | ||
664 | +# Be sure to have absolute paths. | ||
665 | +for ac_var in exec_prefix prefix | ||
666 | +do | ||
667 | + eval ac_val=$`echo $ac_var` | ||
668 | + case $ac_val in | ||
669 | + [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | ||
670 | + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
671 | + { (exit 1); exit 1; }; };; | ||
672 | + esac | ||
673 | +done | ||
674 | + | ||
675 | +# Be sure to have absolute paths. | ||
676 | +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | ||
677 | + localstatedir libdir includedir oldincludedir infodir mandir | ||
678 | +do | ||
679 | + eval ac_val=$`echo $ac_var` | ||
680 | + case $ac_val in | ||
681 | + [\\/$]* | ?:[\\/]* ) ;; | ||
682 | + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
683 | + { (exit 1); exit 1; }; };; | ||
684 | + esac | ||
685 | +done | ||
686 | + | ||
687 | +# There might be people who depend on the old broken behavior: `$host' | ||
688 | +# used to hold the argument of --host etc. | ||
689 | +# FIXME: To remove some day. | ||
690 | +build=$build_alias | ||
691 | +host=$host_alias | ||
692 | +target=$target_alias | ||
693 | + | ||
694 | +# FIXME: To remove some day. | ||
695 | +if test "x$host_alias" != x; then | ||
696 | + if test "x$build_alias" = x; then | ||
697 | + cross_compiling=maybe | ||
698 | + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | ||
699 | + If a cross compiler is detected then cross compile mode will be used." >&2 | ||
700 | + elif test "x$build_alias" != "x$host_alias"; then | ||
701 | + cross_compiling=yes | ||
702 | + fi | ||
703 | +fi | ||
704 | + | ||
705 | +ac_tool_prefix= | ||
706 | +test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
707 | + | ||
708 | +test "$silent" = yes && exec 6>/dev/null | ||
709 | + | ||
710 | + | ||
711 | +# Find the source files, if location was not specified. | ||
712 | +if test -z "$srcdir"; then | ||
713 | + ac_srcdir_defaulted=yes | ||
714 | + # Try the directory containing this script, then its parent. | ||
715 | + ac_confdir=`(dirname "$0") 2>/dev/null || | ||
716 | +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
717 | + X"$0" : 'X\(//\)[^/]' \| \ | ||
718 | + X"$0" : 'X\(//\)$' \| \ | ||
719 | + X"$0" : 'X\(/\)' \| \ | ||
720 | + . : '\(.\)' 2>/dev/null || | ||
721 | +echo X"$0" | | ||
722 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
723 | + /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
724 | + /^X\(\/\/\)$/{ s//\1/; q; } | ||
725 | + /^X\(\/\).*/{ s//\1/; q; } | ||
726 | + s/.*/./; q'` | ||
727 | + srcdir=$ac_confdir | ||
728 | + if test ! -r $srcdir/$ac_unique_file; then | ||
729 | + srcdir=.. | ||
730 | + fi | ||
731 | +else | ||
732 | + ac_srcdir_defaulted=no | ||
733 | +fi | ||
734 | +if test ! -r $srcdir/$ac_unique_file; then | ||
735 | + if test "$ac_srcdir_defaulted" = yes; then | ||
736 | + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | ||
737 | + { (exit 1); exit 1; }; } | ||
738 | + else | ||
739 | + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | ||
740 | + { (exit 1); exit 1; }; } | ||
741 | + fi | ||
742 | +fi | ||
743 | +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | ||
744 | + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | ||
745 | + { (exit 1); exit 1; }; } | ||
746 | +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | ||
747 | +ac_env_build_alias_set=${build_alias+set} | ||
748 | +ac_env_build_alias_value=$build_alias | ||
749 | +ac_cv_env_build_alias_set=${build_alias+set} | ||
750 | +ac_cv_env_build_alias_value=$build_alias | ||
751 | +ac_env_host_alias_set=${host_alias+set} | ||
752 | +ac_env_host_alias_value=$host_alias | ||
753 | +ac_cv_env_host_alias_set=${host_alias+set} | ||
754 | +ac_cv_env_host_alias_value=$host_alias | ||
755 | +ac_env_target_alias_set=${target_alias+set} | ||
756 | +ac_env_target_alias_value=$target_alias | ||
757 | +ac_cv_env_target_alias_set=${target_alias+set} | ||
758 | +ac_cv_env_target_alias_value=$target_alias | ||
759 | +ac_env_CC_set=${CC+set} | ||
760 | +ac_env_CC_value=$CC | ||
761 | +ac_cv_env_CC_set=${CC+set} | ||
762 | +ac_cv_env_CC_value=$CC | ||
763 | +ac_env_CFLAGS_set=${CFLAGS+set} | ||
764 | +ac_env_CFLAGS_value=$CFLAGS | ||
765 | +ac_cv_env_CFLAGS_set=${CFLAGS+set} | ||
766 | +ac_cv_env_CFLAGS_value=$CFLAGS | ||
767 | +ac_env_LDFLAGS_set=${LDFLAGS+set} | ||
768 | +ac_env_LDFLAGS_value=$LDFLAGS | ||
769 | +ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | ||
770 | +ac_cv_env_LDFLAGS_value=$LDFLAGS | ||
771 | +ac_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
772 | +ac_env_CPPFLAGS_value=$CPPFLAGS | ||
773 | +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
774 | +ac_cv_env_CPPFLAGS_value=$CPPFLAGS | ||
775 | +ac_env_CPP_set=${CPP+set} | ||
776 | +ac_env_CPP_value=$CPP | ||
777 | +ac_cv_env_CPP_set=${CPP+set} | ||
778 | +ac_cv_env_CPP_value=$CPP | ||
779 | + | ||
780 | +# | ||
781 | +# Report the --help message. | ||
782 | +# | ||
783 | +if test "$ac_init_help" = "long"; then | ||
784 | + # Omit some internal or obsolete options to make the list less imposing. | ||
785 | + # This message is too long to be a string in the A/UX 3.1 sh. | ||
786 | + cat <<_ACEOF | ||
787 | +\`configure' configures quilt 0.37 to adapt to many kinds of systems. | ||
788 | + | ||
789 | +Usage: $0 [OPTION]... [VAR=VALUE]... | ||
790 | + | ||
791 | +To assign environment variables (e.g., CC, CFLAGS...), specify them as | ||
792 | +VAR=VALUE. See below for descriptions of some of the useful variables. | ||
793 | + | ||
794 | +Defaults for the options are specified in brackets. | ||
795 | + | ||
796 | +Configuration: | ||
797 | + -h, --help display this help and exit | ||
798 | + --help=short display options specific to this package | ||
799 | + --help=recursive display the short help of all the included packages | ||
800 | + -V, --version display version information and exit | ||
801 | + -q, --quiet, --silent do not print \`checking...' messages | ||
802 | + --cache-file=FILE cache test results in FILE [disabled] | ||
803 | + -C, --config-cache alias for \`--cache-file=config.cache' | ||
804 | + -n, --no-create do not create output files | ||
805 | + --srcdir=DIR find the sources in DIR [configure dir or \`..'] | ||
806 | + | ||
807 | +_ACEOF | ||
808 | + | ||
809 | + cat <<_ACEOF | ||
810 | +Installation directories: | ||
811 | + --prefix=PREFIX install architecture-independent files in PREFIX | ||
812 | + [$ac_default_prefix] | ||
813 | + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | ||
814 | + [PREFIX] | ||
815 | + | ||
816 | +By default, \`make install' will install all the files in | ||
817 | +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
818 | +an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
819 | +for instance \`--prefix=\$HOME'. | ||
820 | + | ||
821 | +For better control, use the options below. | ||
822 | + | ||
823 | +Fine tuning of the installation directories: | ||
824 | + --bindir=DIR user executables [EPREFIX/bin] | ||
825 | + --sbindir=DIR system admin executables [EPREFIX/sbin] | ||
826 | + --libexecdir=DIR program executables [EPREFIX/libexec] | ||
827 | + --datadir=DIR read-only architecture-independent data [PREFIX/share] | ||
828 | + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | ||
829 | + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | ||
830 | + --localstatedir=DIR modifiable single-machine data [PREFIX/var] | ||
831 | + --libdir=DIR object code libraries [EPREFIX/lib] | ||
832 | + --includedir=DIR C header files [PREFIX/include] | ||
833 | + --oldincludedir=DIR C header files for non-gcc [/usr/include] | ||
834 | + --infodir=DIR info documentation [PREFIX/info] | ||
835 | + --mandir=DIR man documentation [PREFIX/man] | ||
836 | +_ACEOF | ||
837 | + | ||
838 | + cat <<\_ACEOF | ||
839 | +_ACEOF | ||
840 | +fi | ||
841 | + | ||
842 | +if test -n "$ac_init_help"; then | ||
843 | + case $ac_init_help in | ||
844 | + short | recursive ) echo "Configuration of quilt 0.37:";; | ||
845 | + esac | ||
846 | + cat <<\_ACEOF | ||
847 | + | ||
848 | +Optional Features: | ||
849 | + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | ||
850 | + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | ||
851 | + --enable-nls include natural language support | ||
852 | + | ||
853 | +Optional Packages: | ||
854 | + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | ||
855 | + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | ||
856 | + --with-bash name of the bash executable to use | ||
857 | + --with-perl name of the Perl executable to use | ||
858 | + --with-sed name of the sed executable to use | ||
859 | + --with-awk name of the awk executable to use | ||
860 | + --with-mktemp name of the mktemp executable to use (or 'none' to | ||
861 | + use a quilt internal mechanism) | ||
862 | + --with-diff name of the diff executable to use | ||
863 | + --with-patch name of the patch executable to use | ||
864 | + --with-diffstat name of the diffstat executable to use | ||
865 | + | ||
866 | +Some influential environment variables: | ||
867 | + CC C compiler command | ||
868 | + CFLAGS C compiler flags | ||
869 | + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | ||
870 | + nonstandard directory <lib dir> | ||
871 | + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | ||
872 | + headers in a nonstandard directory <include dir> | ||
873 | + CPP C preprocessor | ||
874 | + | ||
875 | +Use these variables to override the choices made by `configure' or to help | ||
876 | +it to find libraries and programs with nonstandard names/locations. | ||
877 | + | ||
878 | +Report bugs to <quilt-dev@nongnu.org>. | ||
879 | +_ACEOF | ||
880 | +fi | ||
881 | + | ||
882 | +if test "$ac_init_help" = "recursive"; then | ||
883 | + # If there are subdirs, report their specific --help. | ||
884 | + ac_popdir=`pwd` | ||
885 | + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | ||
886 | + test -d $ac_dir || continue | ||
887 | + ac_builddir=. | ||
888 | + | ||
889 | +if test "$ac_dir" != .; then | ||
890 | + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | ||
891 | + # A "../" for each directory in $ac_dir_suffix. | ||
892 | + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | ||
893 | +else | ||
894 | + ac_dir_suffix= ac_top_builddir= | ||
895 | +fi | ||
896 | + | ||
897 | +case $srcdir in | ||
898 | + .) # No --srcdir option. We are building in place. | ||
899 | + ac_srcdir=. | ||
900 | + if test -z "$ac_top_builddir"; then | ||
901 | + ac_top_srcdir=. | ||
902 | + else | ||
903 | + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
904 | + fi ;; | ||
905 | + [\\/]* | ?:[\\/]* ) # Absolute path. | ||
906 | + ac_srcdir=$srcdir$ac_dir_suffix; | ||
907 | + ac_top_srcdir=$srcdir ;; | ||
908 | + *) # Relative path. | ||
909 | + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ||
910 | + ac_top_srcdir=$ac_top_builddir$srcdir ;; | ||
911 | +esac | ||
912 | + | ||
913 | +# Do not use `cd foo && pwd` to compute absolute paths, because | ||
914 | +# the directories may not exist. | ||
915 | +case `pwd` in | ||
916 | +.) ac_abs_builddir="$ac_dir";; | ||
917 | +*) | ||
918 | + case "$ac_dir" in | ||
919 | + .) ac_abs_builddir=`pwd`;; | ||
920 | + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | ||
921 | + *) ac_abs_builddir=`pwd`/"$ac_dir";; | ||
922 | + esac;; | ||
923 | +esac | ||
924 | +case $ac_abs_builddir in | ||
925 | +.) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
926 | +*) | ||
927 | + case ${ac_top_builddir}. in | ||
928 | + .) ac_abs_top_builddir=$ac_abs_builddir;; | ||
929 | + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
930 | + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | ||
931 | + esac;; | ||
932 | +esac | ||
933 | +case $ac_abs_builddir in | ||
934 | +.) ac_abs_srcdir=$ac_srcdir;; | ||
935 | +*) | ||
936 | + case $ac_srcdir in | ||
937 | + .) ac_abs_srcdir=$ac_abs_builddir;; | ||
938 | + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | ||
939 | + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | ||
940 | + esac;; | ||
941 | +esac | ||
942 | +case $ac_abs_builddir in | ||
943 | +.) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
944 | +*) | ||
945 | + case $ac_top_srcdir in | ||
946 | + .) ac_abs_top_srcdir=$ac_abs_builddir;; | ||
947 | + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
948 | + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | ||
949 | + esac;; | ||
950 | +esac | ||
951 | + | ||
952 | + cd $ac_dir | ||
953 | + # Check for guested configure; otherwise get Cygnus style configure. | ||
954 | + if test -f $ac_srcdir/configure.gnu; then | ||
955 | + echo | ||
956 | + $SHELL $ac_srcdir/configure.gnu --help=recursive | ||
957 | + elif test -f $ac_srcdir/configure; then | ||
958 | + echo | ||
959 | + $SHELL $ac_srcdir/configure --help=recursive | ||
960 | + elif test -f $ac_srcdir/configure.ac || | ||
961 | + test -f $ac_srcdir/configure.in; then | ||
962 | + echo | ||
963 | + $ac_configure --help | ||
964 | + else | ||
965 | + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | ||
966 | + fi | ||
967 | + cd "$ac_popdir" | ||
968 | + done | ||
969 | +fi | ||
970 | + | ||
971 | +test -n "$ac_init_help" && exit 0 | ||
972 | +if $ac_init_version; then | ||
973 | + cat <<\_ACEOF | ||
974 | +quilt configure 0.37 | ||
975 | +generated by GNU Autoconf 2.59 | ||
976 | + | ||
977 | +Copyright (C) 2003 Free Software Foundation, Inc. | ||
978 | +This configure script is free software; the Free Software Foundation | ||
979 | +gives unlimited permission to copy, distribute and modify it. | ||
980 | +_ACEOF | ||
981 | + exit 0 | ||
982 | +fi | ||
983 | +exec 5>config.log | ||
984 | +cat >&5 <<_ACEOF | ||
985 | +This file contains any messages produced by compilers while | ||
986 | +running configure, to aid debugging if configure makes a mistake. | ||
987 | + | ||
988 | +It was created by quilt $as_me 0.37, which was | ||
989 | +generated by GNU Autoconf 2.59. Invocation command line was | ||
990 | + | ||
991 | + $ $0 $@ | ||
992 | + | ||
993 | +_ACEOF | ||
994 | +{ | ||
995 | +cat <<_ASUNAME | ||
996 | +@%:@@%:@ --------- @%:@@%:@ | ||
997 | +@%:@@%:@ Platform. @%:@@%:@ | ||
998 | +@%:@@%:@ --------- @%:@@%:@ | ||
999 | + | ||
1000 | +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
1001 | +uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
1002 | +uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
1003 | +uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
1004 | +uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
1005 | + | ||
1006 | +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | ||
1007 | +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | ||
1008 | + | ||
1009 | +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | ||
1010 | +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | ||
1011 | +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | ||
1012 | +hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | ||
1013 | +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | ||
1014 | +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | ||
1015 | +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | ||
1016 | + | ||
1017 | +_ASUNAME | ||
1018 | + | ||
1019 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1020 | +for as_dir in $PATH | ||
1021 | +do | ||
1022 | + IFS=$as_save_IFS | ||
1023 | + test -z "$as_dir" && as_dir=. | ||
1024 | + echo "PATH: $as_dir" | ||
1025 | +done | ||
1026 | + | ||
1027 | +} >&5 | ||
1028 | + | ||
1029 | +cat >&5 <<_ACEOF | ||
1030 | + | ||
1031 | + | ||
1032 | +@%:@@%:@ ----------- @%:@@%:@ | ||
1033 | +@%:@@%:@ Core tests. @%:@@%:@ | ||
1034 | +@%:@@%:@ ----------- @%:@@%:@ | ||
1035 | + | ||
1036 | +_ACEOF | ||
1037 | + | ||
1038 | + | ||
1039 | +# Keep a trace of the command line. | ||
1040 | +# Strip out --no-create and --no-recursion so they do not pile up. | ||
1041 | +# Strip out --silent because we don't want to record it for future runs. | ||
1042 | +# Also quote any args containing shell meta-characters. | ||
1043 | +# Make two passes to allow for proper duplicate-argument suppression. | ||
1044 | +ac_configure_args= | ||
1045 | +ac_configure_args0= | ||
1046 | +ac_configure_args1= | ||
1047 | +ac_sep= | ||
1048 | +ac_must_keep_next=false | ||
1049 | +for ac_pass in 1 2 | ||
1050 | +do | ||
1051 | + for ac_arg | ||
1052 | + do | ||
1053 | + case $ac_arg in | ||
1054 | + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | ||
1055 | + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
1056 | + | -silent | --silent | --silen | --sile | --sil) | ||
1057 | + continue ;; | ||
1058 | + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | ||
1059 | + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
1060 | + esac | ||
1061 | + case $ac_pass in | ||
1062 | + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | ||
1063 | + 2) | ||
1064 | + ac_configure_args1="$ac_configure_args1 '$ac_arg'" | ||
1065 | + if test $ac_must_keep_next = true; then | ||
1066 | + ac_must_keep_next=false # Got value, back to normal. | ||
1067 | + else | ||
1068 | + case $ac_arg in | ||
1069 | + *=* | --config-cache | -C | -disable-* | --disable-* \ | ||
1070 | + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | ||
1071 | + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | ||
1072 | + | -with-* | --with-* | -without-* | --without-* | --x) | ||
1073 | + case "$ac_configure_args0 " in | ||
1074 | + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | ||
1075 | + esac | ||
1076 | + ;; | ||
1077 | + -* ) ac_must_keep_next=true ;; | ||
1078 | + esac | ||
1079 | + fi | ||
1080 | + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | ||
1081 | + # Get rid of the leading space. | ||
1082 | + ac_sep=" " | ||
1083 | + ;; | ||
1084 | + esac | ||
1085 | + done | ||
1086 | +done | ||
1087 | +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | ||
1088 | +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | ||
1089 | + | ||
1090 | +# When interrupted or exit'd, cleanup temporary files, and complete | ||
1091 | +# config.log. We remove comments because anyway the quotes in there | ||
1092 | +# would cause problems or look ugly. | ||
1093 | +# WARNING: Be sure not to use single quotes in there, as some shells, | ||
1094 | +# such as our DU 5.0 friend, will then `close' the trap. | ||
1095 | +trap 'exit_status=$? | ||
1096 | + # Save into config.log some information that might help in debugging. | ||
1097 | + { | ||
1098 | + echo | ||
1099 | + | ||
1100 | + cat <<\_ASBOX | ||
1101 | +@%:@@%:@ ---------------- @%:@@%:@ | ||
1102 | +@%:@@%:@ Cache variables. @%:@@%:@ | ||
1103 | +@%:@@%:@ ---------------- @%:@@%:@ | ||
1104 | +_ASBOX | ||
1105 | + echo | ||
1106 | + # The following way of writing the cache mishandles newlines in values, | ||
1107 | +{ | ||
1108 | + (set) 2>&1 | | ||
1109 | + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | ||
1110 | + *ac_space=\ *) | ||
1111 | + sed -n \ | ||
1112 | + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | ||
1113 | + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | ||
1114 | + ;; | ||
1115 | + *) | ||
1116 | + sed -n \ | ||
1117 | + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
1118 | + ;; | ||
1119 | + esac; | ||
1120 | +} | ||
1121 | + echo | ||
1122 | + | ||
1123 | + cat <<\_ASBOX | ||
1124 | +@%:@@%:@ ----------------- @%:@@%:@ | ||
1125 | +@%:@@%:@ Output variables. @%:@@%:@ | ||
1126 | +@%:@@%:@ ----------------- @%:@@%:@ | ||
1127 | +_ASBOX | ||
1128 | + echo | ||
1129 | + for ac_var in $ac_subst_vars | ||
1130 | + do | ||
1131 | + eval ac_val=$`echo $ac_var` | ||
1132 | + echo "$ac_var='"'"'$ac_val'"'"'" | ||
1133 | + done | sort | ||
1134 | + echo | ||
1135 | + | ||
1136 | + if test -n "$ac_subst_files"; then | ||
1137 | + cat <<\_ASBOX | ||
1138 | +@%:@@%:@ ------------- @%:@@%:@ | ||
1139 | +@%:@@%:@ Output files. @%:@@%:@ | ||
1140 | +@%:@@%:@ ------------- @%:@@%:@ | ||
1141 | +_ASBOX | ||
1142 | + echo | ||
1143 | + for ac_var in $ac_subst_files | ||
1144 | + do | ||
1145 | + eval ac_val=$`echo $ac_var` | ||
1146 | + echo "$ac_var='"'"'$ac_val'"'"'" | ||
1147 | + done | sort | ||
1148 | + echo | ||
1149 | + fi | ||
1150 | + | ||
1151 | + if test -s confdefs.h; then | ||
1152 | + cat <<\_ASBOX | ||
1153 | +@%:@@%:@ ----------- @%:@@%:@ | ||
1154 | +@%:@@%:@ confdefs.h. @%:@@%:@ | ||
1155 | +@%:@@%:@ ----------- @%:@@%:@ | ||
1156 | +_ASBOX | ||
1157 | + echo | ||
1158 | + sed "/^$/d" confdefs.h | sort | ||
1159 | + echo | ||
1160 | + fi | ||
1161 | + test "$ac_signal" != 0 && | ||
1162 | + echo "$as_me: caught signal $ac_signal" | ||
1163 | + echo "$as_me: exit $exit_status" | ||
1164 | + } >&5 | ||
1165 | + rm -f core *.core && | ||
1166 | + rm -rf conftest* confdefs* conf$$* $ac_clean_files && | ||
1167 | + exit $exit_status | ||
1168 | + ' 0 | ||
1169 | +for ac_signal in 1 2 13 15; do | ||
1170 | + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | ||
1171 | +done | ||
1172 | +ac_signal=0 | ||
1173 | + | ||
1174 | +# confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
1175 | +rm -rf conftest* confdefs.h | ||
1176 | +# AIX cpp loses on an empty file, so make sure it contains at least a newline. | ||
1177 | +echo >confdefs.h | ||
1178 | + | ||
1179 | +# Predefined preprocessor variables. | ||
1180 | + | ||
1181 | +cat >>confdefs.h <<_ACEOF | ||
1182 | +@%:@define PACKAGE_NAME "$PACKAGE_NAME" | ||
1183 | +_ACEOF | ||
1184 | + | ||
1185 | + | ||
1186 | +cat >>confdefs.h <<_ACEOF | ||
1187 | +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
1188 | +_ACEOF | ||
1189 | + | ||
1190 | + | ||
1191 | +cat >>confdefs.h <<_ACEOF | ||
1192 | +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
1193 | +_ACEOF | ||
1194 | + | ||
1195 | + | ||
1196 | +cat >>confdefs.h <<_ACEOF | ||
1197 | +@%:@define PACKAGE_STRING "$PACKAGE_STRING" | ||
1198 | +_ACEOF | ||
1199 | + | ||
1200 | + | ||
1201 | +cat >>confdefs.h <<_ACEOF | ||
1202 | +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
1203 | +_ACEOF | ||
1204 | + | ||
1205 | + | ||
1206 | +# Let the site file select an alternate cache file if it wants to. | ||
1207 | +# Prefer explicitly selected file to automatically selected ones. | ||
1208 | +if test -z "$CONFIG_SITE"; then | ||
1209 | + if test "x$prefix" != xNONE; then | ||
1210 | + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | ||
1211 | + else | ||
1212 | + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | ||
1213 | + fi | ||
1214 | +fi | ||
1215 | +for ac_site_file in $CONFIG_SITE; do | ||
1216 | + if test -r "$ac_site_file"; then | ||
1217 | + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | ||
1218 | +echo "$as_me: loading site script $ac_site_file" >&6;} | ||
1219 | + sed 's/^/| /' "$ac_site_file" >&5 | ||
1220 | + . "$ac_site_file" | ||
1221 | + fi | ||
1222 | +done | ||
1223 | + | ||
1224 | +if test -r "$cache_file"; then | ||
1225 | + # Some versions of bash will fail to source /dev/null (special | ||
1226 | + # files actually), so we avoid doing that. | ||
1227 | + if test -f "$cache_file"; then | ||
1228 | + { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | ||
1229 | +echo "$as_me: loading cache $cache_file" >&6;} | ||
1230 | + case $cache_file in | ||
1231 | + [\\/]* | ?:[\\/]* ) . $cache_file;; | ||
1232 | + *) . ./$cache_file;; | ||
1233 | + esac | ||
1234 | + fi | ||
1235 | +else | ||
1236 | + { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | ||
1237 | +echo "$as_me: creating cache $cache_file" >&6;} | ||
1238 | + >$cache_file | ||
1239 | +fi | ||
1240 | + | ||
1241 | +# Check that the precious variables saved in the cache have kept the same | ||
1242 | +# value. | ||
1243 | +ac_cache_corrupted=false | ||
1244 | +for ac_var in `(set) 2>&1 | | ||
1245 | + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | ||
1246 | + eval ac_old_set=\$ac_cv_env_${ac_var}_set | ||
1247 | + eval ac_new_set=\$ac_env_${ac_var}_set | ||
1248 | + eval ac_old_val="\$ac_cv_env_${ac_var}_value" | ||
1249 | + eval ac_new_val="\$ac_env_${ac_var}_value" | ||
1250 | + case $ac_old_set,$ac_new_set in | ||
1251 | + set,) | ||
1252 | + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | ||
1253 | +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | ||
1254 | + ac_cache_corrupted=: ;; | ||
1255 | + ,set) | ||
1256 | + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | ||
1257 | +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | ||
1258 | + ac_cache_corrupted=: ;; | ||
1259 | + ,);; | ||
1260 | + *) | ||
1261 | + if test "x$ac_old_val" != "x$ac_new_val"; then | ||
1262 | + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | ||
1263 | +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | ||
1264 | + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | ||
1265 | +echo "$as_me: former value: $ac_old_val" >&2;} | ||
1266 | + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | ||
1267 | +echo "$as_me: current value: $ac_new_val" >&2;} | ||
1268 | + ac_cache_corrupted=: | ||
1269 | + fi;; | ||
1270 | + esac | ||
1271 | + # Pass precious variables to config.status. | ||
1272 | + if test "$ac_new_set" = set; then | ||
1273 | + case $ac_new_val in | ||
1274 | + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | ||
1275 | + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
1276 | + *) ac_arg=$ac_var=$ac_new_val ;; | ||
1277 | + esac | ||
1278 | + case " $ac_configure_args " in | ||
1279 | + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | ||
1280 | + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | ||
1281 | + esac | ||
1282 | + fi | ||
1283 | +done | ||
1284 | +if $ac_cache_corrupted; then | ||
1285 | + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | ||
1286 | +echo "$as_me: error: changes in the environment can compromise the build" >&2;} | ||
1287 | + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | ||
1288 | +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | ||
1289 | + { (exit 1); exit 1; }; } | ||
1290 | +fi | ||
1291 | + | ||
1292 | +ac_ext=c | ||
1293 | +ac_cpp='$CPP $CPPFLAGS' | ||
1294 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1295 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1296 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1297 | + | ||
1298 | + | ||
1299 | + | ||
1300 | + | ||
1301 | + | ||
1302 | + | ||
1303 | + | ||
1304 | + | ||
1305 | + | ||
1306 | + | ||
1307 | + | ||
1308 | + | ||
1309 | + | ||
1310 | + | ||
1311 | + | ||
1312 | + | ||
1313 | + | ||
1314 | + | ||
1315 | + | ||
1316 | + | ||
1317 | + | ||
1318 | + | ||
1319 | + | ||
1320 | + | ||
1321 | + | ||
1322 | + | ||
1323 | + | ||
1324 | +ac_aux_dir= | ||
1325 | +for ac_dir in config $srcdir/config; do | ||
1326 | + if test -f $ac_dir/install-sh; then | ||
1327 | + ac_aux_dir=$ac_dir | ||
1328 | + ac_install_sh="$ac_aux_dir/install-sh -c" | ||
1329 | + break | ||
1330 | + elif test -f $ac_dir/install.sh; then | ||
1331 | + ac_aux_dir=$ac_dir | ||
1332 | + ac_install_sh="$ac_aux_dir/install.sh -c" | ||
1333 | + break | ||
1334 | + elif test -f $ac_dir/shtool; then | ||
1335 | + ac_aux_dir=$ac_dir | ||
1336 | + ac_install_sh="$ac_aux_dir/shtool install -c" | ||
1337 | + break | ||
1338 | + fi | ||
1339 | +done | ||
1340 | +if test -z "$ac_aux_dir"; then | ||
1341 | + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5 | ||
1342 | +echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;} | ||
1343 | + { (exit 1); exit 1; }; } | ||
1344 | +fi | ||
1345 | +ac_config_guess="$SHELL $ac_aux_dir/config.guess" | ||
1346 | +ac_config_sub="$SHELL $ac_aux_dir/config.sub" | ||
1347 | +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | ||
1348 | + | ||
1349 | + | ||
1350 | + ($Revision: 1.32 $) | ||
1351 | + | ||
1352 | +PACKAGE_RELEASE=1 | ||
1353 | + | ||
1354 | + | ||
1355 | +ac_ext=c | ||
1356 | +ac_cpp='$CPP $CPPFLAGS' | ||
1357 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1358 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1359 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1360 | +if test -n "$ac_tool_prefix"; then | ||
1361 | + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | ||
1362 | +set dummy ${ac_tool_prefix}gcc; ac_word=$2 | ||
1363 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1364 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1365 | +if test "${ac_cv_prog_CC+set}" = set; then | ||
1366 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1367 | +else | ||
1368 | + if test -n "$CC"; then | ||
1369 | + ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1370 | +else | ||
1371 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1372 | +for as_dir in $PATH | ||
1373 | +do | ||
1374 | + IFS=$as_save_IFS | ||
1375 | + test -z "$as_dir" && as_dir=. | ||
1376 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
1377 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1378 | + ac_cv_prog_CC="${ac_tool_prefix}gcc" | ||
1379 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1380 | + break 2 | ||
1381 | + fi | ||
1382 | +done | ||
1383 | +done | ||
1384 | + | ||
1385 | +fi | ||
1386 | +fi | ||
1387 | +CC=$ac_cv_prog_CC | ||
1388 | +if test -n "$CC"; then | ||
1389 | + echo "$as_me:$LINENO: result: $CC" >&5 | ||
1390 | +echo "${ECHO_T}$CC" >&6 | ||
1391 | +else | ||
1392 | + echo "$as_me:$LINENO: result: no" >&5 | ||
1393 | +echo "${ECHO_T}no" >&6 | ||
1394 | +fi | ||
1395 | + | ||
1396 | +fi | ||
1397 | +if test -z "$ac_cv_prog_CC"; then | ||
1398 | + ac_ct_CC=$CC | ||
1399 | + # Extract the first word of "gcc", so it can be a program name with args. | ||
1400 | +set dummy gcc; ac_word=$2 | ||
1401 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1402 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1403 | +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
1404 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1405 | +else | ||
1406 | + if test -n "$ac_ct_CC"; then | ||
1407 | + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
1408 | +else | ||
1409 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1410 | +for as_dir in $PATH | ||
1411 | +do | ||
1412 | + IFS=$as_save_IFS | ||
1413 | + test -z "$as_dir" && as_dir=. | ||
1414 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
1415 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1416 | + ac_cv_prog_ac_ct_CC="gcc" | ||
1417 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1418 | + break 2 | ||
1419 | + fi | ||
1420 | +done | ||
1421 | +done | ||
1422 | + | ||
1423 | +fi | ||
1424 | +fi | ||
1425 | +ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
1426 | +if test -n "$ac_ct_CC"; then | ||
1427 | + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
1428 | +echo "${ECHO_T}$ac_ct_CC" >&6 | ||
1429 | +else | ||
1430 | + echo "$as_me:$LINENO: result: no" >&5 | ||
1431 | +echo "${ECHO_T}no" >&6 | ||
1432 | +fi | ||
1433 | + | ||
1434 | + CC=$ac_ct_CC | ||
1435 | +else | ||
1436 | + CC="$ac_cv_prog_CC" | ||
1437 | +fi | ||
1438 | + | ||
1439 | +if test -z "$CC"; then | ||
1440 | + if test -n "$ac_tool_prefix"; then | ||
1441 | + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | ||
1442 | +set dummy ${ac_tool_prefix}cc; ac_word=$2 | ||
1443 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1444 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1445 | +if test "${ac_cv_prog_CC+set}" = set; then | ||
1446 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1447 | +else | ||
1448 | + if test -n "$CC"; then | ||
1449 | + ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1450 | +else | ||
1451 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1452 | +for as_dir in $PATH | ||
1453 | +do | ||
1454 | + IFS=$as_save_IFS | ||
1455 | + test -z "$as_dir" && as_dir=. | ||
1456 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
1457 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1458 | + ac_cv_prog_CC="${ac_tool_prefix}cc" | ||
1459 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1460 | + break 2 | ||
1461 | + fi | ||
1462 | +done | ||
1463 | +done | ||
1464 | + | ||
1465 | +fi | ||
1466 | +fi | ||
1467 | +CC=$ac_cv_prog_CC | ||
1468 | +if test -n "$CC"; then | ||
1469 | + echo "$as_me:$LINENO: result: $CC" >&5 | ||
1470 | +echo "${ECHO_T}$CC" >&6 | ||
1471 | +else | ||
1472 | + echo "$as_me:$LINENO: result: no" >&5 | ||
1473 | +echo "${ECHO_T}no" >&6 | ||
1474 | +fi | ||
1475 | + | ||
1476 | +fi | ||
1477 | +if test -z "$ac_cv_prog_CC"; then | ||
1478 | + ac_ct_CC=$CC | ||
1479 | + # Extract the first word of "cc", so it can be a program name with args. | ||
1480 | +set dummy cc; ac_word=$2 | ||
1481 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1482 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1483 | +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
1484 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1485 | +else | ||
1486 | + if test -n "$ac_ct_CC"; then | ||
1487 | + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
1488 | +else | ||
1489 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1490 | +for as_dir in $PATH | ||
1491 | +do | ||
1492 | + IFS=$as_save_IFS | ||
1493 | + test -z "$as_dir" && as_dir=. | ||
1494 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
1495 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1496 | + ac_cv_prog_ac_ct_CC="cc" | ||
1497 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1498 | + break 2 | ||
1499 | + fi | ||
1500 | +done | ||
1501 | +done | ||
1502 | + | ||
1503 | +fi | ||
1504 | +fi | ||
1505 | +ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
1506 | +if test -n "$ac_ct_CC"; then | ||
1507 | + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
1508 | +echo "${ECHO_T}$ac_ct_CC" >&6 | ||
1509 | +else | ||
1510 | + echo "$as_me:$LINENO: result: no" >&5 | ||
1511 | +echo "${ECHO_T}no" >&6 | ||
1512 | +fi | ||
1513 | + | ||
1514 | + CC=$ac_ct_CC | ||
1515 | +else | ||
1516 | + CC="$ac_cv_prog_CC" | ||
1517 | +fi | ||
1518 | + | ||
1519 | +fi | ||
1520 | +if test -z "$CC"; then | ||
1521 | + # Extract the first word of "cc", so it can be a program name with args. | ||
1522 | +set dummy cc; ac_word=$2 | ||
1523 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1524 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1525 | +if test "${ac_cv_prog_CC+set}" = set; then | ||
1526 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1527 | +else | ||
1528 | + if test -n "$CC"; then | ||
1529 | + ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1530 | +else | ||
1531 | + ac_prog_rejected=no | ||
1532 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1533 | +for as_dir in $PATH | ||
1534 | +do | ||
1535 | + IFS=$as_save_IFS | ||
1536 | + test -z "$as_dir" && as_dir=. | ||
1537 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
1538 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1539 | + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | ||
1540 | + ac_prog_rejected=yes | ||
1541 | + continue | ||
1542 | + fi | ||
1543 | + ac_cv_prog_CC="cc" | ||
1544 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1545 | + break 2 | ||
1546 | + fi | ||
1547 | +done | ||
1548 | +done | ||
1549 | + | ||
1550 | +if test $ac_prog_rejected = yes; then | ||
1551 | + # We found a bogon in the path, so make sure we never use it. | ||
1552 | + set dummy $ac_cv_prog_CC | ||
1553 | + shift | ||
1554 | + if test $@%:@ != 0; then | ||
1555 | + # We chose a different compiler from the bogus one. | ||
1556 | + # However, it has the same basename, so the bogon will be chosen | ||
1557 | + # first if we set CC to just the basename; use the full file name. | ||
1558 | + shift | ||
1559 | + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | ||
1560 | + fi | ||
1561 | +fi | ||
1562 | +fi | ||
1563 | +fi | ||
1564 | +CC=$ac_cv_prog_CC | ||
1565 | +if test -n "$CC"; then | ||
1566 | + echo "$as_me:$LINENO: result: $CC" >&5 | ||
1567 | +echo "${ECHO_T}$CC" >&6 | ||
1568 | +else | ||
1569 | + echo "$as_me:$LINENO: result: no" >&5 | ||
1570 | +echo "${ECHO_T}no" >&6 | ||
1571 | +fi | ||
1572 | + | ||
1573 | +fi | ||
1574 | +if test -z "$CC"; then | ||
1575 | + if test -n "$ac_tool_prefix"; then | ||
1576 | + for ac_prog in cl | ||
1577 | + do | ||
1578 | + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | ||
1579 | +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||
1580 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1581 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1582 | +if test "${ac_cv_prog_CC+set}" = set; then | ||
1583 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1584 | +else | ||
1585 | + if test -n "$CC"; then | ||
1586 | + ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1587 | +else | ||
1588 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1589 | +for as_dir in $PATH | ||
1590 | +do | ||
1591 | + IFS=$as_save_IFS | ||
1592 | + test -z "$as_dir" && as_dir=. | ||
1593 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
1594 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1595 | + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | ||
1596 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1597 | + break 2 | ||
1598 | + fi | ||
1599 | +done | ||
1600 | +done | ||
1601 | + | ||
1602 | +fi | ||
1603 | +fi | ||
1604 | +CC=$ac_cv_prog_CC | ||
1605 | +if test -n "$CC"; then | ||
1606 | + echo "$as_me:$LINENO: result: $CC" >&5 | ||
1607 | +echo "${ECHO_T}$CC" >&6 | ||
1608 | +else | ||
1609 | + echo "$as_me:$LINENO: result: no" >&5 | ||
1610 | +echo "${ECHO_T}no" >&6 | ||
1611 | +fi | ||
1612 | + | ||
1613 | + test -n "$CC" && break | ||
1614 | + done | ||
1615 | +fi | ||
1616 | +if test -z "$CC"; then | ||
1617 | + ac_ct_CC=$CC | ||
1618 | + for ac_prog in cl | ||
1619 | +do | ||
1620 | + # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
1621 | +set dummy $ac_prog; ac_word=$2 | ||
1622 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1623 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1624 | +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
1625 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1626 | +else | ||
1627 | + if test -n "$ac_ct_CC"; then | ||
1628 | + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
1629 | +else | ||
1630 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1631 | +for as_dir in $PATH | ||
1632 | +do | ||
1633 | + IFS=$as_save_IFS | ||
1634 | + test -z "$as_dir" && as_dir=. | ||
1635 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
1636 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1637 | + ac_cv_prog_ac_ct_CC="$ac_prog" | ||
1638 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1639 | + break 2 | ||
1640 | + fi | ||
1641 | +done | ||
1642 | +done | ||
1643 | + | ||
1644 | +fi | ||
1645 | +fi | ||
1646 | +ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
1647 | +if test -n "$ac_ct_CC"; then | ||
1648 | + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
1649 | +echo "${ECHO_T}$ac_ct_CC" >&6 | ||
1650 | +else | ||
1651 | + echo "$as_me:$LINENO: result: no" >&5 | ||
1652 | +echo "${ECHO_T}no" >&6 | ||
1653 | +fi | ||
1654 | + | ||
1655 | + test -n "$ac_ct_CC" && break | ||
1656 | +done | ||
1657 | + | ||
1658 | + CC=$ac_ct_CC | ||
1659 | +fi | ||
1660 | + | ||
1661 | +fi | ||
1662 | + | ||
1663 | + | ||
1664 | +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | ||
1665 | +See \`config.log' for more details." >&5 | ||
1666 | +echo "$as_me: error: no acceptable C compiler found in \$PATH | ||
1667 | +See \`config.log' for more details." >&2;} | ||
1668 | + { (exit 1); exit 1; }; } | ||
1669 | + | ||
1670 | +# Provide some information about the compiler. | ||
1671 | +echo "$as_me:$LINENO:" \ | ||
1672 | + "checking for C compiler version" >&5 | ||
1673 | +ac_compiler=`set X $ac_compile; echo $2` | ||
1674 | +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | ||
1675 | + (eval $ac_compiler --version </dev/null >&5) 2>&5 | ||
1676 | + ac_status=$? | ||
1677 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1678 | + (exit $ac_status); } | ||
1679 | +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | ||
1680 | + (eval $ac_compiler -v </dev/null >&5) 2>&5 | ||
1681 | + ac_status=$? | ||
1682 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1683 | + (exit $ac_status); } | ||
1684 | +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | ||
1685 | + (eval $ac_compiler -V </dev/null >&5) 2>&5 | ||
1686 | + ac_status=$? | ||
1687 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1688 | + (exit $ac_status); } | ||
1689 | + | ||
1690 | +cat >conftest.$ac_ext <<_ACEOF | ||
1691 | +/* confdefs.h. */ | ||
1692 | +_ACEOF | ||
1693 | +cat confdefs.h >>conftest.$ac_ext | ||
1694 | +cat >>conftest.$ac_ext <<_ACEOF | ||
1695 | +/* end confdefs.h. */ | ||
1696 | + | ||
1697 | +int | ||
1698 | +main () | ||
1699 | +{ | ||
1700 | + | ||
1701 | + ; | ||
1702 | + return 0; | ||
1703 | +} | ||
1704 | +_ACEOF | ||
1705 | +ac_clean_files_save=$ac_clean_files | ||
1706 | +ac_clean_files="$ac_clean_files a.out a.exe b.out" | ||
1707 | +# Try to create an executable without -o first, disregard a.out. | ||
1708 | +# It will help us diagnose broken compilers, and finding out an intuition | ||
1709 | +# of exeext. | ||
1710 | +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | ||
1711 | +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 | ||
1712 | +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ||
1713 | +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | ||
1714 | + (eval $ac_link_default) 2>&5 | ||
1715 | + ac_status=$? | ||
1716 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1717 | + (exit $ac_status); }; then | ||
1718 | + # Find the output, starting from the most likely. This scheme is | ||
1719 | +# not robust to junk in `.', hence go to wildcards (a.*) only as a last | ||
1720 | +# resort. | ||
1721 | + | ||
1722 | +# Be careful to initialize this variable, since it used to be cached. | ||
1723 | +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | ||
1724 | +ac_cv_exeext= | ||
1725 | +# b.out is created by i960 compilers. | ||
1726 | +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | ||
1727 | +do | ||
1728 | + test -f "$ac_file" || continue | ||
1729 | + case $ac_file in | ||
1730 | + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | ||
1731 | + ;; | ||
1732 | + conftest.$ac_ext ) | ||
1733 | + # This is the source file. | ||
1734 | + ;; | ||
1735 | + [ab].out ) | ||
1736 | + # We found the default executable, but exeext='' is most | ||
1737 | + # certainly right. | ||
1738 | + break;; | ||
1739 | + *.* ) | ||
1740 | + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
1741 | + # FIXME: I believe we export ac_cv_exeext for Libtool, | ||
1742 | + # but it would be cool to find out if it's true. Does anybody | ||
1743 | + # maintain Libtool? --akim. | ||
1744 | + export ac_cv_exeext | ||
1745 | + break;; | ||
1746 | + * ) | ||
1747 | + break;; | ||
1748 | + esac | ||
1749 | +done | ||
1750 | +else | ||
1751 | + echo "$as_me: failed program was:" >&5 | ||
1752 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
1753 | + | ||
1754 | +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables | ||
1755 | +See \`config.log' for more details." >&5 | ||
1756 | +echo "$as_me: error: C compiler cannot create executables | ||
1757 | +See \`config.log' for more details." >&2;} | ||
1758 | + { (exit 77); exit 77; }; } | ||
1759 | +fi | ||
1760 | + | ||
1761 | +ac_exeext=$ac_cv_exeext | ||
1762 | +echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
1763 | +echo "${ECHO_T}$ac_file" >&6 | ||
1764 | + | ||
1765 | +# Check the compiler produces executables we can run. If not, either | ||
1766 | +# the compiler is broken, or we cross compile. | ||
1767 | +echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | ||
1768 | +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | ||
1769 | +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
1770 | +# If not cross compiling, check that we can run a simple program. | ||
1771 | +if test "$cross_compiling" != yes; then | ||
1772 | + if { ac_try='./$ac_file' | ||
1773 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1774 | + (eval $ac_try) 2>&5 | ||
1775 | + ac_status=$? | ||
1776 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1777 | + (exit $ac_status); }; }; then | ||
1778 | + cross_compiling=no | ||
1779 | + else | ||
1780 | + if test "$cross_compiling" = maybe; then | ||
1781 | + cross_compiling=yes | ||
1782 | + else | ||
1783 | + { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | ||
1784 | +If you meant to cross compile, use \`--host'. | ||
1785 | +See \`config.log' for more details." >&5 | ||
1786 | +echo "$as_me: error: cannot run C compiled programs. | ||
1787 | +If you meant to cross compile, use \`--host'. | ||
1788 | +See \`config.log' for more details." >&2;} | ||
1789 | + { (exit 1); exit 1; }; } | ||
1790 | + fi | ||
1791 | + fi | ||
1792 | +fi | ||
1793 | +echo "$as_me:$LINENO: result: yes" >&5 | ||
1794 | +echo "${ECHO_T}yes" >&6 | ||
1795 | + | ||
1796 | +rm -f a.out a.exe conftest$ac_cv_exeext b.out | ||
1797 | +ac_clean_files=$ac_clean_files_save | ||
1798 | +# Check the compiler produces executables we can run. If not, either | ||
1799 | +# the compiler is broken, or we cross compile. | ||
1800 | +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | ||
1801 | +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | ||
1802 | +echo "$as_me:$LINENO: result: $cross_compiling" >&5 | ||
1803 | +echo "${ECHO_T}$cross_compiling" >&6 | ||
1804 | + | ||
1805 | +echo "$as_me:$LINENO: checking for suffix of executables" >&5 | ||
1806 | +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | ||
1807 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
1808 | + (eval $ac_link) 2>&5 | ||
1809 | + ac_status=$? | ||
1810 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1811 | + (exit $ac_status); }; then | ||
1812 | + # If both `conftest.exe' and `conftest' are `present' (well, observable) | ||
1813 | +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | ||
1814 | +# work properly (i.e., refer to `conftest.exe'), while it won't with | ||
1815 | +# `rm'. | ||
1816 | +for ac_file in conftest.exe conftest conftest.*; do | ||
1817 | + test -f "$ac_file" || continue | ||
1818 | + case $ac_file in | ||
1819 | + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | ||
1820 | + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
1821 | + export ac_cv_exeext | ||
1822 | + break;; | ||
1823 | + * ) break;; | ||
1824 | + esac | ||
1825 | +done | ||
1826 | +else | ||
1827 | + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | ||
1828 | +See \`config.log' for more details." >&5 | ||
1829 | +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | ||
1830 | +See \`config.log' for more details." >&2;} | ||
1831 | + { (exit 1); exit 1; }; } | ||
1832 | +fi | ||
1833 | + | ||
1834 | +rm -f conftest$ac_cv_exeext | ||
1835 | +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | ||
1836 | +echo "${ECHO_T}$ac_cv_exeext" >&6 | ||
1837 | + | ||
1838 | +rm -f conftest.$ac_ext | ||
1839 | +EXEEXT=$ac_cv_exeext | ||
1840 | +ac_exeext=$EXEEXT | ||
1841 | +echo "$as_me:$LINENO: checking for suffix of object files" >&5 | ||
1842 | +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | ||
1843 | +if test "${ac_cv_objext+set}" = set; then | ||
1844 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1845 | +else | ||
1846 | + cat >conftest.$ac_ext <<_ACEOF | ||
1847 | +/* confdefs.h. */ | ||
1848 | +_ACEOF | ||
1849 | +cat confdefs.h >>conftest.$ac_ext | ||
1850 | +cat >>conftest.$ac_ext <<_ACEOF | ||
1851 | +/* end confdefs.h. */ | ||
1852 | + | ||
1853 | +int | ||
1854 | +main () | ||
1855 | +{ | ||
1856 | + | ||
1857 | + ; | ||
1858 | + return 0; | ||
1859 | +} | ||
1860 | +_ACEOF | ||
1861 | +rm -f conftest.o conftest.obj | ||
1862 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
1863 | + (eval $ac_compile) 2>&5 | ||
1864 | + ac_status=$? | ||
1865 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1866 | + (exit $ac_status); }; then | ||
1867 | + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | ||
1868 | + case $ac_file in | ||
1869 | + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | ||
1870 | + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | ||
1871 | + break;; | ||
1872 | + esac | ||
1873 | +done | ||
1874 | +else | ||
1875 | + echo "$as_me: failed program was:" >&5 | ||
1876 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
1877 | + | ||
1878 | +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | ||
1879 | +See \`config.log' for more details." >&5 | ||
1880 | +echo "$as_me: error: cannot compute suffix of object files: cannot compile | ||
1881 | +See \`config.log' for more details." >&2;} | ||
1882 | + { (exit 1); exit 1; }; } | ||
1883 | +fi | ||
1884 | + | ||
1885 | +rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
1886 | +fi | ||
1887 | +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | ||
1888 | +echo "${ECHO_T}$ac_cv_objext" >&6 | ||
1889 | +OBJEXT=$ac_cv_objext | ||
1890 | +ac_objext=$OBJEXT | ||
1891 | +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | ||
1892 | +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | ||
1893 | +if test "${ac_cv_c_compiler_gnu+set}" = set; then | ||
1894 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1895 | +else | ||
1896 | + cat >conftest.$ac_ext <<_ACEOF | ||
1897 | +/* confdefs.h. */ | ||
1898 | +_ACEOF | ||
1899 | +cat confdefs.h >>conftest.$ac_ext | ||
1900 | +cat >>conftest.$ac_ext <<_ACEOF | ||
1901 | +/* end confdefs.h. */ | ||
1902 | + | ||
1903 | +int | ||
1904 | +main () | ||
1905 | +{ | ||
1906 | +#ifndef __GNUC__ | ||
1907 | + choke me | ||
1908 | +#endif | ||
1909 | + | ||
1910 | + ; | ||
1911 | + return 0; | ||
1912 | +} | ||
1913 | +_ACEOF | ||
1914 | +rm -f conftest.$ac_objext | ||
1915 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
1916 | + (eval $ac_compile) 2>conftest.er1 | ||
1917 | + ac_status=$? | ||
1918 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
1919 | + rm -f conftest.er1 | ||
1920 | + cat conftest.err >&5 | ||
1921 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1922 | + (exit $ac_status); } && | ||
1923 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
1924 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1925 | + (eval $ac_try) 2>&5 | ||
1926 | + ac_status=$? | ||
1927 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1928 | + (exit $ac_status); }; } && | ||
1929 | + { ac_try='test -s conftest.$ac_objext' | ||
1930 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1931 | + (eval $ac_try) 2>&5 | ||
1932 | + ac_status=$? | ||
1933 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1934 | + (exit $ac_status); }; }; then | ||
1935 | + ac_compiler_gnu=yes | ||
1936 | +else | ||
1937 | + echo "$as_me: failed program was:" >&5 | ||
1938 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
1939 | + | ||
1940 | +ac_compiler_gnu=no | ||
1941 | +fi | ||
1942 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1943 | +ac_cv_c_compiler_gnu=$ac_compiler_gnu | ||
1944 | + | ||
1945 | +fi | ||
1946 | +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | ||
1947 | +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | ||
1948 | +GCC=`test $ac_compiler_gnu = yes && echo yes` | ||
1949 | +ac_test_CFLAGS=${CFLAGS+set} | ||
1950 | +ac_save_CFLAGS=$CFLAGS | ||
1951 | +CFLAGS="-g" | ||
1952 | +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | ||
1953 | +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | ||
1954 | +if test "${ac_cv_prog_cc_g+set}" = set; then | ||
1955 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1956 | +else | ||
1957 | + cat >conftest.$ac_ext <<_ACEOF | ||
1958 | +/* confdefs.h. */ | ||
1959 | +_ACEOF | ||
1960 | +cat confdefs.h >>conftest.$ac_ext | ||
1961 | +cat >>conftest.$ac_ext <<_ACEOF | ||
1962 | +/* end confdefs.h. */ | ||
1963 | + | ||
1964 | +int | ||
1965 | +main () | ||
1966 | +{ | ||
1967 | + | ||
1968 | + ; | ||
1969 | + return 0; | ||
1970 | +} | ||
1971 | +_ACEOF | ||
1972 | +rm -f conftest.$ac_objext | ||
1973 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
1974 | + (eval $ac_compile) 2>conftest.er1 | ||
1975 | + ac_status=$? | ||
1976 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
1977 | + rm -f conftest.er1 | ||
1978 | + cat conftest.err >&5 | ||
1979 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1980 | + (exit $ac_status); } && | ||
1981 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
1982 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1983 | + (eval $ac_try) 2>&5 | ||
1984 | + ac_status=$? | ||
1985 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1986 | + (exit $ac_status); }; } && | ||
1987 | + { ac_try='test -s conftest.$ac_objext' | ||
1988 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1989 | + (eval $ac_try) 2>&5 | ||
1990 | + ac_status=$? | ||
1991 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1992 | + (exit $ac_status); }; }; then | ||
1993 | + ac_cv_prog_cc_g=yes | ||
1994 | +else | ||
1995 | + echo "$as_me: failed program was:" >&5 | ||
1996 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
1997 | + | ||
1998 | +ac_cv_prog_cc_g=no | ||
1999 | +fi | ||
2000 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2001 | +fi | ||
2002 | +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | ||
2003 | +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | ||
2004 | +if test "$ac_test_CFLAGS" = set; then | ||
2005 | + CFLAGS=$ac_save_CFLAGS | ||
2006 | +elif test $ac_cv_prog_cc_g = yes; then | ||
2007 | + if test "$GCC" = yes; then | ||
2008 | + CFLAGS="-g -O2" | ||
2009 | + else | ||
2010 | + CFLAGS="-g" | ||
2011 | + fi | ||
2012 | +else | ||
2013 | + if test "$GCC" = yes; then | ||
2014 | + CFLAGS="-O2" | ||
2015 | + else | ||
2016 | + CFLAGS= | ||
2017 | + fi | ||
2018 | +fi | ||
2019 | +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | ||
2020 | +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | ||
2021 | +if test "${ac_cv_prog_cc_stdc+set}" = set; then | ||
2022 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2023 | +else | ||
2024 | + ac_cv_prog_cc_stdc=no | ||
2025 | +ac_save_CC=$CC | ||
2026 | +cat >conftest.$ac_ext <<_ACEOF | ||
2027 | +/* confdefs.h. */ | ||
2028 | +_ACEOF | ||
2029 | +cat confdefs.h >>conftest.$ac_ext | ||
2030 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2031 | +/* end confdefs.h. */ | ||
2032 | +#include <stdarg.h> | ||
2033 | +#include <stdio.h> | ||
2034 | +#include <sys/types.h> | ||
2035 | +#include <sys/stat.h> | ||
2036 | +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | ||
2037 | +struct buf { int x; }; | ||
2038 | +FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
2039 | +static char *e (p, i) | ||
2040 | + char **p; | ||
2041 | + int i; | ||
2042 | +{ | ||
2043 | + return p[i]; | ||
2044 | +} | ||
2045 | +static char *f (char * (*g) (char **, int), char **p, ...) | ||
2046 | +{ | ||
2047 | + char *s; | ||
2048 | + va_list v; | ||
2049 | + va_start (v,p); | ||
2050 | + s = g (p, va_arg (v,int)); | ||
2051 | + va_end (v); | ||
2052 | + return s; | ||
2053 | +} | ||
2054 | + | ||
2055 | +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | ||
2056 | + function prototypes and stuff, but not '\xHH' hex character constants. | ||
2057 | + These don't provoke an error unfortunately, instead are silently treated | ||
2058 | + as 'x'. The following induces an error, until -std1 is added to get | ||
2059 | + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | ||
2060 | + array size at least. It's necessary to write '\x00'==0 to get something | ||
2061 | + that's true only with -std1. */ | ||
2062 | +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | ||
2063 | + | ||
2064 | +int test (int i, double x); | ||
2065 | +struct s1 {int (*f) (int a);}; | ||
2066 | +struct s2 {int (*f) (double a);}; | ||
2067 | +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
2068 | +int argc; | ||
2069 | +char **argv; | ||
2070 | +int | ||
2071 | +main () | ||
2072 | +{ | ||
2073 | +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
2074 | + ; | ||
2075 | + return 0; | ||
2076 | +} | ||
2077 | +_ACEOF | ||
2078 | +# Don't try gcc -ansi; that turns off useful extensions and | ||
2079 | +# breaks some systems' header files. | ||
2080 | +# AIX -qlanglvl=ansi | ||
2081 | +# Ultrix and OSF/1 -std1 | ||
2082 | +# HP-UX 10.20 and later -Ae | ||
2083 | +# HP-UX older versions -Aa -D_HPUX_SOURCE | ||
2084 | +# SVR4 -Xc -D__EXTENSIONS__ | ||
2085 | +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
2086 | +do | ||
2087 | + CC="$ac_save_CC $ac_arg" | ||
2088 | + rm -f conftest.$ac_objext | ||
2089 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2090 | + (eval $ac_compile) 2>conftest.er1 | ||
2091 | + ac_status=$? | ||
2092 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2093 | + rm -f conftest.er1 | ||
2094 | + cat conftest.err >&5 | ||
2095 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2096 | + (exit $ac_status); } && | ||
2097 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
2098 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2099 | + (eval $ac_try) 2>&5 | ||
2100 | + ac_status=$? | ||
2101 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2102 | + (exit $ac_status); }; } && | ||
2103 | + { ac_try='test -s conftest.$ac_objext' | ||
2104 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2105 | + (eval $ac_try) 2>&5 | ||
2106 | + ac_status=$? | ||
2107 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2108 | + (exit $ac_status); }; }; then | ||
2109 | + ac_cv_prog_cc_stdc=$ac_arg | ||
2110 | +break | ||
2111 | +else | ||
2112 | + echo "$as_me: failed program was:" >&5 | ||
2113 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2114 | + | ||
2115 | +fi | ||
2116 | +rm -f conftest.err conftest.$ac_objext | ||
2117 | +done | ||
2118 | +rm -f conftest.$ac_ext conftest.$ac_objext | ||
2119 | +CC=$ac_save_CC | ||
2120 | + | ||
2121 | +fi | ||
2122 | + | ||
2123 | +case "x$ac_cv_prog_cc_stdc" in | ||
2124 | + x|xno) | ||
2125 | + echo "$as_me:$LINENO: result: none needed" >&5 | ||
2126 | +echo "${ECHO_T}none needed" >&6 ;; | ||
2127 | + *) | ||
2128 | + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | ||
2129 | +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | ||
2130 | + CC="$CC $ac_cv_prog_cc_stdc" ;; | ||
2131 | +esac | ||
2132 | + | ||
2133 | +# Some people use a C++ compiler to compile C. Since we use `exit', | ||
2134 | +# in C++ we need to declare it. In case someone uses the same compiler | ||
2135 | +# for both compiling C and C++ we need to have the C++ compiler decide | ||
2136 | +# the declaration of exit, since it's the most demanding environment. | ||
2137 | +cat >conftest.$ac_ext <<_ACEOF | ||
2138 | +@%:@ifndef __cplusplus | ||
2139 | + choke me | ||
2140 | +@%:@endif | ||
2141 | +_ACEOF | ||
2142 | +rm -f conftest.$ac_objext | ||
2143 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2144 | + (eval $ac_compile) 2>conftest.er1 | ||
2145 | + ac_status=$? | ||
2146 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2147 | + rm -f conftest.er1 | ||
2148 | + cat conftest.err >&5 | ||
2149 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2150 | + (exit $ac_status); } && | ||
2151 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
2152 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2153 | + (eval $ac_try) 2>&5 | ||
2154 | + ac_status=$? | ||
2155 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2156 | + (exit $ac_status); }; } && | ||
2157 | + { ac_try='test -s conftest.$ac_objext' | ||
2158 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2159 | + (eval $ac_try) 2>&5 | ||
2160 | + ac_status=$? | ||
2161 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2162 | + (exit $ac_status); }; }; then | ||
2163 | + for ac_declaration in \ | ||
2164 | + '' \ | ||
2165 | + 'extern "C" void std::exit (int) throw (); using std::exit;' \ | ||
2166 | + 'extern "C" void std::exit (int); using std::exit;' \ | ||
2167 | + 'extern "C" void exit (int) throw ();' \ | ||
2168 | + 'extern "C" void exit (int);' \ | ||
2169 | + 'void exit (int);' | ||
2170 | +do | ||
2171 | + cat >conftest.$ac_ext <<_ACEOF | ||
2172 | +/* confdefs.h. */ | ||
2173 | +_ACEOF | ||
2174 | +cat confdefs.h >>conftest.$ac_ext | ||
2175 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2176 | +/* end confdefs.h. */ | ||
2177 | +$ac_declaration | ||
2178 | +@%:@include <stdlib.h> | ||
2179 | +int | ||
2180 | +main () | ||
2181 | +{ | ||
2182 | +exit (42); | ||
2183 | + ; | ||
2184 | + return 0; | ||
2185 | +} | ||
2186 | +_ACEOF | ||
2187 | +rm -f conftest.$ac_objext | ||
2188 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2189 | + (eval $ac_compile) 2>conftest.er1 | ||
2190 | + ac_status=$? | ||
2191 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2192 | + rm -f conftest.er1 | ||
2193 | + cat conftest.err >&5 | ||
2194 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2195 | + (exit $ac_status); } && | ||
2196 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
2197 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2198 | + (eval $ac_try) 2>&5 | ||
2199 | + ac_status=$? | ||
2200 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2201 | + (exit $ac_status); }; } && | ||
2202 | + { ac_try='test -s conftest.$ac_objext' | ||
2203 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2204 | + (eval $ac_try) 2>&5 | ||
2205 | + ac_status=$? | ||
2206 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2207 | + (exit $ac_status); }; }; then | ||
2208 | + : | ||
2209 | +else | ||
2210 | + echo "$as_me: failed program was:" >&5 | ||
2211 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2212 | + | ||
2213 | +continue | ||
2214 | +fi | ||
2215 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2216 | + cat >conftest.$ac_ext <<_ACEOF | ||
2217 | +/* confdefs.h. */ | ||
2218 | +_ACEOF | ||
2219 | +cat confdefs.h >>conftest.$ac_ext | ||
2220 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2221 | +/* end confdefs.h. */ | ||
2222 | +$ac_declaration | ||
2223 | +int | ||
2224 | +main () | ||
2225 | +{ | ||
2226 | +exit (42); | ||
2227 | + ; | ||
2228 | + return 0; | ||
2229 | +} | ||
2230 | +_ACEOF | ||
2231 | +rm -f conftest.$ac_objext | ||
2232 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2233 | + (eval $ac_compile) 2>conftest.er1 | ||
2234 | + ac_status=$? | ||
2235 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2236 | + rm -f conftest.er1 | ||
2237 | + cat conftest.err >&5 | ||
2238 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2239 | + (exit $ac_status); } && | ||
2240 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
2241 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2242 | + (eval $ac_try) 2>&5 | ||
2243 | + ac_status=$? | ||
2244 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2245 | + (exit $ac_status); }; } && | ||
2246 | + { ac_try='test -s conftest.$ac_objext' | ||
2247 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2248 | + (eval $ac_try) 2>&5 | ||
2249 | + ac_status=$? | ||
2250 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2251 | + (exit $ac_status); }; }; then | ||
2252 | + break | ||
2253 | +else | ||
2254 | + echo "$as_me: failed program was:" >&5 | ||
2255 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2256 | + | ||
2257 | +fi | ||
2258 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2259 | +done | ||
2260 | +rm -f conftest* | ||
2261 | +if test -n "$ac_declaration"; then | ||
2262 | + echo '#ifdef __cplusplus' >>confdefs.h | ||
2263 | + echo $ac_declaration >>confdefs.h | ||
2264 | + echo '#endif' >>confdefs.h | ||
2265 | +fi | ||
2266 | + | ||
2267 | +else | ||
2268 | + echo "$as_me: failed program was:" >&5 | ||
2269 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2270 | + | ||
2271 | +fi | ||
2272 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2273 | +ac_ext=c | ||
2274 | +ac_cpp='$CPP $CPPFLAGS' | ||
2275 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2276 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2277 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2278 | + | ||
2279 | + | ||
2280 | +ac_ext=c | ||
2281 | +ac_cpp='$CPP $CPPFLAGS' | ||
2282 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2283 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2284 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2285 | +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | ||
2286 | +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | ||
2287 | +# On Suns, sometimes $CPP names a directory. | ||
2288 | +if test -n "$CPP" && test -d "$CPP"; then | ||
2289 | + CPP= | ||
2290 | +fi | ||
2291 | +if test -z "$CPP"; then | ||
2292 | + if test "${ac_cv_prog_CPP+set}" = set; then | ||
2293 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2294 | +else | ||
2295 | + # Double quotes because CPP needs to be expanded | ||
2296 | + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | ||
2297 | + do | ||
2298 | + ac_preproc_ok=false | ||
2299 | +for ac_c_preproc_warn_flag in '' yes | ||
2300 | +do | ||
2301 | + # Use a header file that comes with gcc, so configuring glibc | ||
2302 | + # with a fresh cross-compiler works. | ||
2303 | + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
2304 | + # <limits.h> exists even on freestanding compilers. | ||
2305 | + # On the NeXT, cc -E runs the code through the compiler's parser, | ||
2306 | + # not just through cpp. "Syntax error" is here to catch this case. | ||
2307 | + cat >conftest.$ac_ext <<_ACEOF | ||
2308 | +/* confdefs.h. */ | ||
2309 | +_ACEOF | ||
2310 | +cat confdefs.h >>conftest.$ac_ext | ||
2311 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2312 | +/* end confdefs.h. */ | ||
2313 | +@%:@ifdef __STDC__ | ||
2314 | +@%:@ include <limits.h> | ||
2315 | +@%:@else | ||
2316 | +@%:@ include <assert.h> | ||
2317 | +@%:@endif | ||
2318 | + Syntax error | ||
2319 | +_ACEOF | ||
2320 | +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
2321 | + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
2322 | + ac_status=$? | ||
2323 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2324 | + rm -f conftest.er1 | ||
2325 | + cat conftest.err >&5 | ||
2326 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2327 | + (exit $ac_status); } >/dev/null; then | ||
2328 | + if test -s conftest.err; then | ||
2329 | + ac_cpp_err=$ac_c_preproc_warn_flag | ||
2330 | + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | ||
2331 | + else | ||
2332 | + ac_cpp_err= | ||
2333 | + fi | ||
2334 | +else | ||
2335 | + ac_cpp_err=yes | ||
2336 | +fi | ||
2337 | +if test -z "$ac_cpp_err"; then | ||
2338 | + : | ||
2339 | +else | ||
2340 | + echo "$as_me: failed program was:" >&5 | ||
2341 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2342 | + | ||
2343 | + # Broken: fails on valid input. | ||
2344 | +continue | ||
2345 | +fi | ||
2346 | +rm -f conftest.err conftest.$ac_ext | ||
2347 | + | ||
2348 | + # OK, works on sane cases. Now check whether non-existent headers | ||
2349 | + # can be detected and how. | ||
2350 | + cat >conftest.$ac_ext <<_ACEOF | ||
2351 | +/* confdefs.h. */ | ||
2352 | +_ACEOF | ||
2353 | +cat confdefs.h >>conftest.$ac_ext | ||
2354 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2355 | +/* end confdefs.h. */ | ||
2356 | +@%:@include <ac_nonexistent.h> | ||
2357 | +_ACEOF | ||
2358 | +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
2359 | + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
2360 | + ac_status=$? | ||
2361 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2362 | + rm -f conftest.er1 | ||
2363 | + cat conftest.err >&5 | ||
2364 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2365 | + (exit $ac_status); } >/dev/null; then | ||
2366 | + if test -s conftest.err; then | ||
2367 | + ac_cpp_err=$ac_c_preproc_warn_flag | ||
2368 | + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | ||
2369 | + else | ||
2370 | + ac_cpp_err= | ||
2371 | + fi | ||
2372 | +else | ||
2373 | + ac_cpp_err=yes | ||
2374 | +fi | ||
2375 | +if test -z "$ac_cpp_err"; then | ||
2376 | + # Broken: success on invalid input. | ||
2377 | +continue | ||
2378 | +else | ||
2379 | + echo "$as_me: failed program was:" >&5 | ||
2380 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2381 | + | ||
2382 | + # Passes both tests. | ||
2383 | +ac_preproc_ok=: | ||
2384 | +break | ||
2385 | +fi | ||
2386 | +rm -f conftest.err conftest.$ac_ext | ||
2387 | + | ||
2388 | +done | ||
2389 | +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
2390 | +rm -f conftest.err conftest.$ac_ext | ||
2391 | +if $ac_preproc_ok; then | ||
2392 | + break | ||
2393 | +fi | ||
2394 | + | ||
2395 | + done | ||
2396 | + ac_cv_prog_CPP=$CPP | ||
2397 | + | ||
2398 | +fi | ||
2399 | + CPP=$ac_cv_prog_CPP | ||
2400 | +else | ||
2401 | + ac_cv_prog_CPP=$CPP | ||
2402 | +fi | ||
2403 | +echo "$as_me:$LINENO: result: $CPP" >&5 | ||
2404 | +echo "${ECHO_T}$CPP" >&6 | ||
2405 | +ac_preproc_ok=false | ||
2406 | +for ac_c_preproc_warn_flag in '' yes | ||
2407 | +do | ||
2408 | + # Use a header file that comes with gcc, so configuring glibc | ||
2409 | + # with a fresh cross-compiler works. | ||
2410 | + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
2411 | + # <limits.h> exists even on freestanding compilers. | ||
2412 | + # On the NeXT, cc -E runs the code through the compiler's parser, | ||
2413 | + # not just through cpp. "Syntax error" is here to catch this case. | ||
2414 | + cat >conftest.$ac_ext <<_ACEOF | ||
2415 | +/* confdefs.h. */ | ||
2416 | +_ACEOF | ||
2417 | +cat confdefs.h >>conftest.$ac_ext | ||
2418 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2419 | +/* end confdefs.h. */ | ||
2420 | +@%:@ifdef __STDC__ | ||
2421 | +@%:@ include <limits.h> | ||
2422 | +@%:@else | ||
2423 | +@%:@ include <assert.h> | ||
2424 | +@%:@endif | ||
2425 | + Syntax error | ||
2426 | +_ACEOF | ||
2427 | +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
2428 | + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
2429 | + ac_status=$? | ||
2430 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2431 | + rm -f conftest.er1 | ||
2432 | + cat conftest.err >&5 | ||
2433 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2434 | + (exit $ac_status); } >/dev/null; then | ||
2435 | + if test -s conftest.err; then | ||
2436 | + ac_cpp_err=$ac_c_preproc_warn_flag | ||
2437 | + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | ||
2438 | + else | ||
2439 | + ac_cpp_err= | ||
2440 | + fi | ||
2441 | +else | ||
2442 | + ac_cpp_err=yes | ||
2443 | +fi | ||
2444 | +if test -z "$ac_cpp_err"; then | ||
2445 | + : | ||
2446 | +else | ||
2447 | + echo "$as_me: failed program was:" >&5 | ||
2448 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2449 | + | ||
2450 | + # Broken: fails on valid input. | ||
2451 | +continue | ||
2452 | +fi | ||
2453 | +rm -f conftest.err conftest.$ac_ext | ||
2454 | + | ||
2455 | + # OK, works on sane cases. Now check whether non-existent headers | ||
2456 | + # can be detected and how. | ||
2457 | + cat >conftest.$ac_ext <<_ACEOF | ||
2458 | +/* confdefs.h. */ | ||
2459 | +_ACEOF | ||
2460 | +cat confdefs.h >>conftest.$ac_ext | ||
2461 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2462 | +/* end confdefs.h. */ | ||
2463 | +@%:@include <ac_nonexistent.h> | ||
2464 | +_ACEOF | ||
2465 | +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
2466 | + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
2467 | + ac_status=$? | ||
2468 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2469 | + rm -f conftest.er1 | ||
2470 | + cat conftest.err >&5 | ||
2471 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2472 | + (exit $ac_status); } >/dev/null; then | ||
2473 | + if test -s conftest.err; then | ||
2474 | + ac_cpp_err=$ac_c_preproc_warn_flag | ||
2475 | + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | ||
2476 | + else | ||
2477 | + ac_cpp_err= | ||
2478 | + fi | ||
2479 | +else | ||
2480 | + ac_cpp_err=yes | ||
2481 | +fi | ||
2482 | +if test -z "$ac_cpp_err"; then | ||
2483 | + # Broken: success on invalid input. | ||
2484 | +continue | ||
2485 | +else | ||
2486 | + echo "$as_me: failed program was:" >&5 | ||
2487 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2488 | + | ||
2489 | + # Passes both tests. | ||
2490 | +ac_preproc_ok=: | ||
2491 | +break | ||
2492 | +fi | ||
2493 | +rm -f conftest.err conftest.$ac_ext | ||
2494 | + | ||
2495 | +done | ||
2496 | +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
2497 | +rm -f conftest.err conftest.$ac_ext | ||
2498 | +if $ac_preproc_ok; then | ||
2499 | + : | ||
2500 | +else | ||
2501 | + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | ||
2502 | +See \`config.log' for more details." >&5 | ||
2503 | +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | ||
2504 | +See \`config.log' for more details." >&2;} | ||
2505 | + { (exit 1); exit 1; }; } | ||
2506 | +fi | ||
2507 | + | ||
2508 | +ac_ext=c | ||
2509 | +ac_cpp='$CPP $CPPFLAGS' | ||
2510 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2511 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2512 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2513 | + | ||
2514 | + | ||
2515 | +echo "$as_me:$LINENO: checking for egrep" >&5 | ||
2516 | +echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | ||
2517 | +if test "${ac_cv_prog_egrep+set}" = set; then | ||
2518 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2519 | +else | ||
2520 | + if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | ||
2521 | + then ac_cv_prog_egrep='grep -E' | ||
2522 | + else ac_cv_prog_egrep='egrep' | ||
2523 | + fi | ||
2524 | +fi | ||
2525 | +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | ||
2526 | +echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | ||
2527 | + EGREP=$ac_cv_prog_egrep | ||
2528 | + | ||
2529 | + | ||
2530 | +echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | ||
2531 | +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | ||
2532 | +if test "${ac_cv_header_stdc+set}" = set; then | ||
2533 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2534 | +else | ||
2535 | + cat >conftest.$ac_ext <<_ACEOF | ||
2536 | +/* confdefs.h. */ | ||
2537 | +_ACEOF | ||
2538 | +cat confdefs.h >>conftest.$ac_ext | ||
2539 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2540 | +/* end confdefs.h. */ | ||
2541 | +#include <stdlib.h> | ||
2542 | +#include <stdarg.h> | ||
2543 | +#include <string.h> | ||
2544 | +#include <float.h> | ||
2545 | + | ||
2546 | +int | ||
2547 | +main () | ||
2548 | +{ | ||
2549 | + | ||
2550 | + ; | ||
2551 | + return 0; | ||
2552 | +} | ||
2553 | +_ACEOF | ||
2554 | +rm -f conftest.$ac_objext | ||
2555 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2556 | + (eval $ac_compile) 2>conftest.er1 | ||
2557 | + ac_status=$? | ||
2558 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2559 | + rm -f conftest.er1 | ||
2560 | + cat conftest.err >&5 | ||
2561 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2562 | + (exit $ac_status); } && | ||
2563 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
2564 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2565 | + (eval $ac_try) 2>&5 | ||
2566 | + ac_status=$? | ||
2567 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2568 | + (exit $ac_status); }; } && | ||
2569 | + { ac_try='test -s conftest.$ac_objext' | ||
2570 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2571 | + (eval $ac_try) 2>&5 | ||
2572 | + ac_status=$? | ||
2573 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2574 | + (exit $ac_status); }; }; then | ||
2575 | + ac_cv_header_stdc=yes | ||
2576 | +else | ||
2577 | + echo "$as_me: failed program was:" >&5 | ||
2578 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2579 | + | ||
2580 | +ac_cv_header_stdc=no | ||
2581 | +fi | ||
2582 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2583 | + | ||
2584 | +if test $ac_cv_header_stdc = yes; then | ||
2585 | + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | ||
2586 | + cat >conftest.$ac_ext <<_ACEOF | ||
2587 | +/* confdefs.h. */ | ||
2588 | +_ACEOF | ||
2589 | +cat confdefs.h >>conftest.$ac_ext | ||
2590 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2591 | +/* end confdefs.h. */ | ||
2592 | +#include <string.h> | ||
2593 | + | ||
2594 | +_ACEOF | ||
2595 | +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
2596 | + $EGREP "memchr" >/dev/null 2>&1; then | ||
2597 | + : | ||
2598 | +else | ||
2599 | + ac_cv_header_stdc=no | ||
2600 | +fi | ||
2601 | +rm -f conftest* | ||
2602 | + | ||
2603 | +fi | ||
2604 | + | ||
2605 | +if test $ac_cv_header_stdc = yes; then | ||
2606 | + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | ||
2607 | + cat >conftest.$ac_ext <<_ACEOF | ||
2608 | +/* confdefs.h. */ | ||
2609 | +_ACEOF | ||
2610 | +cat confdefs.h >>conftest.$ac_ext | ||
2611 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2612 | +/* end confdefs.h. */ | ||
2613 | +#include <stdlib.h> | ||
2614 | + | ||
2615 | +_ACEOF | ||
2616 | +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
2617 | + $EGREP "free" >/dev/null 2>&1; then | ||
2618 | + : | ||
2619 | +else | ||
2620 | + ac_cv_header_stdc=no | ||
2621 | +fi | ||
2622 | +rm -f conftest* | ||
2623 | + | ||
2624 | +fi | ||
2625 | + | ||
2626 | +if test $ac_cv_header_stdc = yes; then | ||
2627 | + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | ||
2628 | + if test "$cross_compiling" = yes; then | ||
2629 | + : | ||
2630 | +else | ||
2631 | + cat >conftest.$ac_ext <<_ACEOF | ||
2632 | +/* confdefs.h. */ | ||
2633 | +_ACEOF | ||
2634 | +cat confdefs.h >>conftest.$ac_ext | ||
2635 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2636 | +/* end confdefs.h. */ | ||
2637 | +#include <ctype.h> | ||
2638 | +#if ((' ' & 0x0FF) == 0x020) | ||
2639 | +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | ||
2640 | +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | ||
2641 | +#else | ||
2642 | +# define ISLOWER(c) \ | ||
2643 | + (('a' <= (c) && (c) <= 'i') \ | ||
2644 | + || ('j' <= (c) && (c) <= 'r') \ | ||
2645 | + || ('s' <= (c) && (c) <= 'z')) | ||
2646 | +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | ||
2647 | +#endif | ||
2648 | + | ||
2649 | +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | ||
2650 | +int | ||
2651 | +main () | ||
2652 | +{ | ||
2653 | + int i; | ||
2654 | + for (i = 0; i < 256; i++) | ||
2655 | + if (XOR (islower (i), ISLOWER (i)) | ||
2656 | + || toupper (i) != TOUPPER (i)) | ||
2657 | + exit(2); | ||
2658 | + exit (0); | ||
2659 | +} | ||
2660 | +_ACEOF | ||
2661 | +rm -f conftest$ac_exeext | ||
2662 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
2663 | + (eval $ac_link) 2>&5 | ||
2664 | + ac_status=$? | ||
2665 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2666 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
2667 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2668 | + (eval $ac_try) 2>&5 | ||
2669 | + ac_status=$? | ||
2670 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2671 | + (exit $ac_status); }; }; then | ||
2672 | + : | ||
2673 | +else | ||
2674 | + echo "$as_me: program exited with status $ac_status" >&5 | ||
2675 | +echo "$as_me: failed program was:" >&5 | ||
2676 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2677 | + | ||
2678 | +( exit $ac_status ) | ||
2679 | +ac_cv_header_stdc=no | ||
2680 | +fi | ||
2681 | +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
2682 | +fi | ||
2683 | +fi | ||
2684 | +fi | ||
2685 | +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | ||
2686 | +echo "${ECHO_T}$ac_cv_header_stdc" >&6 | ||
2687 | +if test $ac_cv_header_stdc = yes; then | ||
2688 | + | ||
2689 | +cat >>confdefs.h <<\_ACEOF | ||
2690 | +@%:@define STDC_HEADERS 1 | ||
2691 | +_ACEOF | ||
2692 | + | ||
2693 | +fi | ||
2694 | + | ||
2695 | + | ||
2696 | +for ac_func in mkdir | ||
2697 | +do | ||
2698 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
2699 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
2700 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
2701 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
2702 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2703 | +else | ||
2704 | + cat >conftest.$ac_ext <<_ACEOF | ||
2705 | +/* confdefs.h. */ | ||
2706 | +_ACEOF | ||
2707 | +cat confdefs.h >>conftest.$ac_ext | ||
2708 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2709 | +/* end confdefs.h. */ | ||
2710 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
2711 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
2712 | +#define $ac_func innocuous_$ac_func | ||
2713 | + | ||
2714 | +/* System header to define __stub macros and hopefully few prototypes, | ||
2715 | + which can conflict with char $ac_func (); below. | ||
2716 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
2717 | + <limits.h> exists even on freestanding compilers. */ | ||
2718 | + | ||
2719 | +#ifdef __STDC__ | ||
2720 | +# include <limits.h> | ||
2721 | +#else | ||
2722 | +# include <assert.h> | ||
2723 | +#endif | ||
2724 | + | ||
2725 | +#undef $ac_func | ||
2726 | + | ||
2727 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
2728 | +#ifdef __cplusplus | ||
2729 | +extern "C" | ||
2730 | +{ | ||
2731 | +#endif | ||
2732 | +/* We use char because int might match the return type of a gcc2 | ||
2733 | + builtin and then its argument prototype would still apply. */ | ||
2734 | +char $ac_func (); | ||
2735 | +/* The GNU C library defines this for functions which it implements | ||
2736 | + to always fail with ENOSYS. Some functions are actually named | ||
2737 | + something starting with __ and the normal name is an alias. */ | ||
2738 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
2739 | +choke me | ||
2740 | +#else | ||
2741 | +char (*f) () = $ac_func; | ||
2742 | +#endif | ||
2743 | +#ifdef __cplusplus | ||
2744 | +} | ||
2745 | +#endif | ||
2746 | + | ||
2747 | +int | ||
2748 | +main () | ||
2749 | +{ | ||
2750 | +return f != $ac_func; | ||
2751 | + ; | ||
2752 | + return 0; | ||
2753 | +} | ||
2754 | +_ACEOF | ||
2755 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
2756 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
2757 | + (eval $ac_link) 2>conftest.er1 | ||
2758 | + ac_status=$? | ||
2759 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2760 | + rm -f conftest.er1 | ||
2761 | + cat conftest.err >&5 | ||
2762 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2763 | + (exit $ac_status); } && | ||
2764 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
2765 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2766 | + (eval $ac_try) 2>&5 | ||
2767 | + ac_status=$? | ||
2768 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2769 | + (exit $ac_status); }; } && | ||
2770 | + { ac_try='test -s conftest$ac_exeext' | ||
2771 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2772 | + (eval $ac_try) 2>&5 | ||
2773 | + ac_status=$? | ||
2774 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2775 | + (exit $ac_status); }; }; then | ||
2776 | + eval "$as_ac_var=yes" | ||
2777 | +else | ||
2778 | + echo "$as_me: failed program was:" >&5 | ||
2779 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2780 | + | ||
2781 | +eval "$as_ac_var=no" | ||
2782 | +fi | ||
2783 | +rm -f conftest.err conftest.$ac_objext \ | ||
2784 | + conftest$ac_exeext conftest.$ac_ext | ||
2785 | +fi | ||
2786 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
2787 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
2788 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
2789 | + cat >>confdefs.h <<_ACEOF | ||
2790 | +@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
2791 | +_ACEOF | ||
2792 | + | ||
2793 | +fi | ||
2794 | +done | ||
2795 | + | ||
2796 | + | ||
2797 | +for ac_func in rmdir | ||
2798 | +do | ||
2799 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
2800 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
2801 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
2802 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
2803 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2804 | +else | ||
2805 | + cat >conftest.$ac_ext <<_ACEOF | ||
2806 | +/* confdefs.h. */ | ||
2807 | +_ACEOF | ||
2808 | +cat confdefs.h >>conftest.$ac_ext | ||
2809 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2810 | +/* end confdefs.h. */ | ||
2811 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
2812 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
2813 | +#define $ac_func innocuous_$ac_func | ||
2814 | + | ||
2815 | +/* System header to define __stub macros and hopefully few prototypes, | ||
2816 | + which can conflict with char $ac_func (); below. | ||
2817 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
2818 | + <limits.h> exists even on freestanding compilers. */ | ||
2819 | + | ||
2820 | +#ifdef __STDC__ | ||
2821 | +# include <limits.h> | ||
2822 | +#else | ||
2823 | +# include <assert.h> | ||
2824 | +#endif | ||
2825 | + | ||
2826 | +#undef $ac_func | ||
2827 | + | ||
2828 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
2829 | +#ifdef __cplusplus | ||
2830 | +extern "C" | ||
2831 | +{ | ||
2832 | +#endif | ||
2833 | +/* We use char because int might match the return type of a gcc2 | ||
2834 | + builtin and then its argument prototype would still apply. */ | ||
2835 | +char $ac_func (); | ||
2836 | +/* The GNU C library defines this for functions which it implements | ||
2837 | + to always fail with ENOSYS. Some functions are actually named | ||
2838 | + something starting with __ and the normal name is an alias. */ | ||
2839 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
2840 | +choke me | ||
2841 | +#else | ||
2842 | +char (*f) () = $ac_func; | ||
2843 | +#endif | ||
2844 | +#ifdef __cplusplus | ||
2845 | +} | ||
2846 | +#endif | ||
2847 | + | ||
2848 | +int | ||
2849 | +main () | ||
2850 | +{ | ||
2851 | +return f != $ac_func; | ||
2852 | + ; | ||
2853 | + return 0; | ||
2854 | +} | ||
2855 | +_ACEOF | ||
2856 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
2857 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
2858 | + (eval $ac_link) 2>conftest.er1 | ||
2859 | + ac_status=$? | ||
2860 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2861 | + rm -f conftest.er1 | ||
2862 | + cat conftest.err >&5 | ||
2863 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2864 | + (exit $ac_status); } && | ||
2865 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
2866 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2867 | + (eval $ac_try) 2>&5 | ||
2868 | + ac_status=$? | ||
2869 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2870 | + (exit $ac_status); }; } && | ||
2871 | + { ac_try='test -s conftest$ac_exeext' | ||
2872 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2873 | + (eval $ac_try) 2>&5 | ||
2874 | + ac_status=$? | ||
2875 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2876 | + (exit $ac_status); }; }; then | ||
2877 | + eval "$as_ac_var=yes" | ||
2878 | +else | ||
2879 | + echo "$as_me: failed program was:" >&5 | ||
2880 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2881 | + | ||
2882 | +eval "$as_ac_var=no" | ||
2883 | +fi | ||
2884 | +rm -f conftest.err conftest.$ac_objext \ | ||
2885 | + conftest$ac_exeext conftest.$ac_ext | ||
2886 | +fi | ||
2887 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
2888 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
2889 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
2890 | + cat >>confdefs.h <<_ACEOF | ||
2891 | +@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
2892 | +_ACEOF | ||
2893 | + | ||
2894 | +fi | ||
2895 | +done | ||
2896 | + | ||
2897 | + | ||
2898 | +for ac_func in strchr | ||
2899 | +do | ||
2900 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
2901 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
2902 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
2903 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
2904 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2905 | +else | ||
2906 | + cat >conftest.$ac_ext <<_ACEOF | ||
2907 | +/* confdefs.h. */ | ||
2908 | +_ACEOF | ||
2909 | +cat confdefs.h >>conftest.$ac_ext | ||
2910 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2911 | +/* end confdefs.h. */ | ||
2912 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
2913 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
2914 | +#define $ac_func innocuous_$ac_func | ||
2915 | + | ||
2916 | +/* System header to define __stub macros and hopefully few prototypes, | ||
2917 | + which can conflict with char $ac_func (); below. | ||
2918 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
2919 | + <limits.h> exists even on freestanding compilers. */ | ||
2920 | + | ||
2921 | +#ifdef __STDC__ | ||
2922 | +# include <limits.h> | ||
2923 | +#else | ||
2924 | +# include <assert.h> | ||
2925 | +#endif | ||
2926 | + | ||
2927 | +#undef $ac_func | ||
2928 | + | ||
2929 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
2930 | +#ifdef __cplusplus | ||
2931 | +extern "C" | ||
2932 | +{ | ||
2933 | +#endif | ||
2934 | +/* We use char because int might match the return type of a gcc2 | ||
2935 | + builtin and then its argument prototype would still apply. */ | ||
2936 | +char $ac_func (); | ||
2937 | +/* The GNU C library defines this for functions which it implements | ||
2938 | + to always fail with ENOSYS. Some functions are actually named | ||
2939 | + something starting with __ and the normal name is an alias. */ | ||
2940 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
2941 | +choke me | ||
2942 | +#else | ||
2943 | +char (*f) () = $ac_func; | ||
2944 | +#endif | ||
2945 | +#ifdef __cplusplus | ||
2946 | +} | ||
2947 | +#endif | ||
2948 | + | ||
2949 | +int | ||
2950 | +main () | ||
2951 | +{ | ||
2952 | +return f != $ac_func; | ||
2953 | + ; | ||
2954 | + return 0; | ||
2955 | +} | ||
2956 | +_ACEOF | ||
2957 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
2958 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
2959 | + (eval $ac_link) 2>conftest.er1 | ||
2960 | + ac_status=$? | ||
2961 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2962 | + rm -f conftest.er1 | ||
2963 | + cat conftest.err >&5 | ||
2964 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2965 | + (exit $ac_status); } && | ||
2966 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
2967 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2968 | + (eval $ac_try) 2>&5 | ||
2969 | + ac_status=$? | ||
2970 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2971 | + (exit $ac_status); }; } && | ||
2972 | + { ac_try='test -s conftest$ac_exeext' | ||
2973 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2974 | + (eval $ac_try) 2>&5 | ||
2975 | + ac_status=$? | ||
2976 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2977 | + (exit $ac_status); }; }; then | ||
2978 | + eval "$as_ac_var=yes" | ||
2979 | +else | ||
2980 | + echo "$as_me: failed program was:" >&5 | ||
2981 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2982 | + | ||
2983 | +eval "$as_ac_var=no" | ||
2984 | +fi | ||
2985 | +rm -f conftest.err conftest.$ac_objext \ | ||
2986 | + conftest$ac_exeext conftest.$ac_ext | ||
2987 | +fi | ||
2988 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
2989 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
2990 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
2991 | + cat >>confdefs.h <<_ACEOF | ||
2992 | +@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
2993 | +_ACEOF | ||
2994 | + | ||
2995 | +fi | ||
2996 | +done | ||
2997 | + | ||
2998 | + | ||
2999 | +for ac_func in strerror | ||
3000 | +do | ||
3001 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
3002 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
3003 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
3004 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
3005 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3006 | +else | ||
3007 | + cat >conftest.$ac_ext <<_ACEOF | ||
3008 | +/* confdefs.h. */ | ||
3009 | +_ACEOF | ||
3010 | +cat confdefs.h >>conftest.$ac_ext | ||
3011 | +cat >>conftest.$ac_ext <<_ACEOF | ||
3012 | +/* end confdefs.h. */ | ||
3013 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
3014 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
3015 | +#define $ac_func innocuous_$ac_func | ||
3016 | + | ||
3017 | +/* System header to define __stub macros and hopefully few prototypes, | ||
3018 | + which can conflict with char $ac_func (); below. | ||
3019 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
3020 | + <limits.h> exists even on freestanding compilers. */ | ||
3021 | + | ||
3022 | +#ifdef __STDC__ | ||
3023 | +# include <limits.h> | ||
3024 | +#else | ||
3025 | +# include <assert.h> | ||
3026 | +#endif | ||
3027 | + | ||
3028 | +#undef $ac_func | ||
3029 | + | ||
3030 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
3031 | +#ifdef __cplusplus | ||
3032 | +extern "C" | ||
3033 | +{ | ||
3034 | +#endif | ||
3035 | +/* We use char because int might match the return type of a gcc2 | ||
3036 | + builtin and then its argument prototype would still apply. */ | ||
3037 | +char $ac_func (); | ||
3038 | +/* The GNU C library defines this for functions which it implements | ||
3039 | + to always fail with ENOSYS. Some functions are actually named | ||
3040 | + something starting with __ and the normal name is an alias. */ | ||
3041 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
3042 | +choke me | ||
3043 | +#else | ||
3044 | +char (*f) () = $ac_func; | ||
3045 | +#endif | ||
3046 | +#ifdef __cplusplus | ||
3047 | +} | ||
3048 | +#endif | ||
3049 | + | ||
3050 | +int | ||
3051 | +main () | ||
3052 | +{ | ||
3053 | +return f != $ac_func; | ||
3054 | + ; | ||
3055 | + return 0; | ||
3056 | +} | ||
3057 | +_ACEOF | ||
3058 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
3059 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3060 | + (eval $ac_link) 2>conftest.er1 | ||
3061 | + ac_status=$? | ||
3062 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
3063 | + rm -f conftest.er1 | ||
3064 | + cat conftest.err >&5 | ||
3065 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3066 | + (exit $ac_status); } && | ||
3067 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
3068 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3069 | + (eval $ac_try) 2>&5 | ||
3070 | + ac_status=$? | ||
3071 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3072 | + (exit $ac_status); }; } && | ||
3073 | + { ac_try='test -s conftest$ac_exeext' | ||
3074 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3075 | + (eval $ac_try) 2>&5 | ||
3076 | + ac_status=$? | ||
3077 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3078 | + (exit $ac_status); }; }; then | ||
3079 | + eval "$as_ac_var=yes" | ||
3080 | +else | ||
3081 | + echo "$as_me: failed program was:" >&5 | ||
3082 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
3083 | + | ||
3084 | +eval "$as_ac_var=no" | ||
3085 | +fi | ||
3086 | +rm -f conftest.err conftest.$ac_objext \ | ||
3087 | + conftest$ac_exeext conftest.$ac_ext | ||
3088 | +fi | ||
3089 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
3090 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
3091 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
3092 | + cat >>confdefs.h <<_ACEOF | ||
3093 | +@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
3094 | +_ACEOF | ||
3095 | + | ||
3096 | +fi | ||
3097 | +done | ||
3098 | + | ||
3099 | + | ||
3100 | +for ac_func in strrchr | ||
3101 | +do | ||
3102 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
3103 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
3104 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
3105 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
3106 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3107 | +else | ||
3108 | + cat >conftest.$ac_ext <<_ACEOF | ||
3109 | +/* confdefs.h. */ | ||
3110 | +_ACEOF | ||
3111 | +cat confdefs.h >>conftest.$ac_ext | ||
3112 | +cat >>conftest.$ac_ext <<_ACEOF | ||
3113 | +/* end confdefs.h. */ | ||
3114 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
3115 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
3116 | +#define $ac_func innocuous_$ac_func | ||
3117 | + | ||
3118 | +/* System header to define __stub macros and hopefully few prototypes, | ||
3119 | + which can conflict with char $ac_func (); below. | ||
3120 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
3121 | + <limits.h> exists even on freestanding compilers. */ | ||
3122 | + | ||
3123 | +#ifdef __STDC__ | ||
3124 | +# include <limits.h> | ||
3125 | +#else | ||
3126 | +# include <assert.h> | ||
3127 | +#endif | ||
3128 | + | ||
3129 | +#undef $ac_func | ||
3130 | + | ||
3131 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
3132 | +#ifdef __cplusplus | ||
3133 | +extern "C" | ||
3134 | +{ | ||
3135 | +#endif | ||
3136 | +/* We use char because int might match the return type of a gcc2 | ||
3137 | + builtin and then its argument prototype would still apply. */ | ||
3138 | +char $ac_func (); | ||
3139 | +/* The GNU C library defines this for functions which it implements | ||
3140 | + to always fail with ENOSYS. Some functions are actually named | ||
3141 | + something starting with __ and the normal name is an alias. */ | ||
3142 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
3143 | +choke me | ||
3144 | +#else | ||
3145 | +char (*f) () = $ac_func; | ||
3146 | +#endif | ||
3147 | +#ifdef __cplusplus | ||
3148 | +} | ||
3149 | +#endif | ||
3150 | + | ||
3151 | +int | ||
3152 | +main () | ||
3153 | +{ | ||
3154 | +return f != $ac_func; | ||
3155 | + ; | ||
3156 | + return 0; | ||
3157 | +} | ||
3158 | +_ACEOF | ||
3159 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
3160 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3161 | + (eval $ac_link) 2>conftest.er1 | ||
3162 | + ac_status=$? | ||
3163 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
3164 | + rm -f conftest.er1 | ||
3165 | + cat conftest.err >&5 | ||
3166 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3167 | + (exit $ac_status); } && | ||
3168 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
3169 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3170 | + (eval $ac_try) 2>&5 | ||
3171 | + ac_status=$? | ||
3172 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3173 | + (exit $ac_status); }; } && | ||
3174 | + { ac_try='test -s conftest$ac_exeext' | ||
3175 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3176 | + (eval $ac_try) 2>&5 | ||
3177 | + ac_status=$? | ||
3178 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3179 | + (exit $ac_status); }; }; then | ||
3180 | + eval "$as_ac_var=yes" | ||
3181 | +else | ||
3182 | + echo "$as_me: failed program was:" >&5 | ||
3183 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
3184 | + | ||
3185 | +eval "$as_ac_var=no" | ||
3186 | +fi | ||
3187 | +rm -f conftest.err conftest.$ac_objext \ | ||
3188 | + conftest$ac_exeext conftest.$ac_ext | ||
3189 | +fi | ||
3190 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
3191 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
3192 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
3193 | + cat >>confdefs.h <<_ACEOF | ||
3194 | +@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
3195 | +_ACEOF | ||
3196 | + | ||
3197 | +fi | ||
3198 | +done | ||
3199 | + | ||
3200 | +echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | ||
3201 | +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | ||
3202 | +if test "${ac_cv_c_const+set}" = set; then | ||
3203 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3204 | +else | ||
3205 | + cat >conftest.$ac_ext <<_ACEOF | ||
3206 | +/* confdefs.h. */ | ||
3207 | +_ACEOF | ||
3208 | +cat confdefs.h >>conftest.$ac_ext | ||
3209 | +cat >>conftest.$ac_ext <<_ACEOF | ||
3210 | +/* end confdefs.h. */ | ||
3211 | + | ||
3212 | +int | ||
3213 | +main () | ||
3214 | +{ | ||
3215 | +/* FIXME: Include the comments suggested by Paul. */ | ||
3216 | +#ifndef __cplusplus | ||
3217 | + /* Ultrix mips cc rejects this. */ | ||
3218 | + typedef int charset[2]; | ||
3219 | + const charset x; | ||
3220 | + /* SunOS 4.1.1 cc rejects this. */ | ||
3221 | + char const *const *ccp; | ||
3222 | + char **p; | ||
3223 | + /* NEC SVR4.0.2 mips cc rejects this. */ | ||
3224 | + struct point {int x, y;}; | ||
3225 | + static struct point const zero = {0,0}; | ||
3226 | + /* AIX XL C 1.02.0.0 rejects this. | ||
3227 | + It does not let you subtract one const X* pointer from another in | ||
3228 | + an arm of an if-expression whose if-part is not a constant | ||
3229 | + expression */ | ||
3230 | + const char *g = "string"; | ||
3231 | + ccp = &g + (g ? g-g : 0); | ||
3232 | + /* HPUX 7.0 cc rejects these. */ | ||
3233 | + ++ccp; | ||
3234 | + p = (char**) ccp; | ||
3235 | + ccp = (char const *const *) p; | ||
3236 | + { /* SCO 3.2v4 cc rejects this. */ | ||
3237 | + char *t; | ||
3238 | + char const *s = 0 ? (char *) 0 : (char const *) 0; | ||
3239 | + | ||
3240 | + *t++ = 0; | ||
3241 | + } | ||
3242 | + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | ||
3243 | + int x[] = {25, 17}; | ||
3244 | + const int *foo = &x[0]; | ||
3245 | + ++foo; | ||
3246 | + } | ||
3247 | + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | ||
3248 | + typedef const int *iptr; | ||
3249 | + iptr p = 0; | ||
3250 | + ++p; | ||
3251 | + } | ||
3252 | + { /* AIX XL C 1.02.0.0 rejects this saying | ||
3253 | + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | ||
3254 | + struct s { int j; const int *ap[3]; }; | ||
3255 | + struct s *b; b->j = 5; | ||
3256 | + } | ||
3257 | + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | ||
3258 | + const int foo = 10; | ||
3259 | + } | ||
3260 | +#endif | ||
3261 | + | ||
3262 | + ; | ||
3263 | + return 0; | ||
3264 | +} | ||
3265 | +_ACEOF | ||
3266 | +rm -f conftest.$ac_objext | ||
3267 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3268 | + (eval $ac_compile) 2>conftest.er1 | ||
3269 | + ac_status=$? | ||
3270 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
3271 | + rm -f conftest.er1 | ||
3272 | + cat conftest.err >&5 | ||
3273 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3274 | + (exit $ac_status); } && | ||
3275 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
3276 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3277 | + (eval $ac_try) 2>&5 | ||
3278 | + ac_status=$? | ||
3279 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3280 | + (exit $ac_status); }; } && | ||
3281 | + { ac_try='test -s conftest.$ac_objext' | ||
3282 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3283 | + (eval $ac_try) 2>&5 | ||
3284 | + ac_status=$? | ||
3285 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3286 | + (exit $ac_status); }; }; then | ||
3287 | + ac_cv_c_const=yes | ||
3288 | +else | ||
3289 | + echo "$as_me: failed program was:" >&5 | ||
3290 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
3291 | + | ||
3292 | +ac_cv_c_const=no | ||
3293 | +fi | ||
3294 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3295 | +fi | ||
3296 | +echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | ||
3297 | +echo "${ECHO_T}$ac_cv_c_const" >&6 | ||
3298 | +if test $ac_cv_c_const = no; then | ||
3299 | + | ||
3300 | +cat >>confdefs.h <<\_ACEOF | ||
3301 | +@%:@define const | ||
3302 | +_ACEOF | ||
3303 | + | ||
3304 | +fi | ||
3305 | + | ||
3306 | +# On IRIX 5.3, sys/types and inttypes.h are conflicting. | ||
3307 | + | ||
3308 | + | ||
3309 | + | ||
3310 | + | ||
3311 | + | ||
3312 | + | ||
3313 | + | ||
3314 | + | ||
3315 | + | ||
3316 | +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
3317 | + inttypes.h stdint.h unistd.h | ||
3318 | +do | ||
3319 | +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
3320 | +echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
3321 | +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
3322 | +if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
3323 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3324 | +else | ||
3325 | + cat >conftest.$ac_ext <<_ACEOF | ||
3326 | +/* confdefs.h. */ | ||
3327 | +_ACEOF | ||
3328 | +cat confdefs.h >>conftest.$ac_ext | ||
3329 | +cat >>conftest.$ac_ext <<_ACEOF | ||
3330 | +/* end confdefs.h. */ | ||
3331 | +$ac_includes_default | ||
3332 | + | ||
3333 | +@%:@include <$ac_header> | ||
3334 | +_ACEOF | ||
3335 | +rm -f conftest.$ac_objext | ||
3336 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3337 | + (eval $ac_compile) 2>conftest.er1 | ||
3338 | + ac_status=$? | ||
3339 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
3340 | + rm -f conftest.er1 | ||
3341 | + cat conftest.err >&5 | ||
3342 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3343 | + (exit $ac_status); } && | ||
3344 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
3345 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3346 | + (eval $ac_try) 2>&5 | ||
3347 | + ac_status=$? | ||
3348 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3349 | + (exit $ac_status); }; } && | ||
3350 | + { ac_try='test -s conftest.$ac_objext' | ||
3351 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3352 | + (eval $ac_try) 2>&5 | ||
3353 | + ac_status=$? | ||
3354 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3355 | + (exit $ac_status); }; }; then | ||
3356 | + eval "$as_ac_Header=yes" | ||
3357 | +else | ||
3358 | + echo "$as_me: failed program was:" >&5 | ||
3359 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
3360 | + | ||
3361 | +eval "$as_ac_Header=no" | ||
3362 | +fi | ||
3363 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3364 | +fi | ||
3365 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
3366 | +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
3367 | +if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
3368 | + cat >>confdefs.h <<_ACEOF | ||
3369 | +@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
3370 | +_ACEOF | ||
3371 | + | ||
3372 | +fi | ||
3373 | + | ||
3374 | +done | ||
3375 | + | ||
3376 | + | ||
3377 | +echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 | ||
3378 | +echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6 | ||
3379 | +if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then | ||
3380 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3381 | +else | ||
3382 | + rm -f conftest.sym conftest.file | ||
3383 | +echo >conftest.file | ||
3384 | +if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then | ||
3385 | + if test "$cross_compiling" = yes; then | ||
3386 | + ac_cv_func_lstat_dereferences_slashed_symlink=no | ||
3387 | +else | ||
3388 | + cat >conftest.$ac_ext <<_ACEOF | ||
3389 | +/* confdefs.h. */ | ||
3390 | +_ACEOF | ||
3391 | +cat confdefs.h >>conftest.$ac_ext | ||
3392 | +cat >>conftest.$ac_ext <<_ACEOF | ||
3393 | +/* end confdefs.h. */ | ||
3394 | +$ac_includes_default | ||
3395 | +int | ||
3396 | +main () | ||
3397 | +{ | ||
3398 | +struct stat sbuf; | ||
3399 | + /* Linux will dereference the symlink and fail. | ||
3400 | + That is better in the sense that it means we will not | ||
3401 | + have to compile and use the lstat wrapper. */ | ||
3402 | + exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1); | ||
3403 | + ; | ||
3404 | + return 0; | ||
3405 | +} | ||
3406 | +_ACEOF | ||
3407 | +rm -f conftest$ac_exeext | ||
3408 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3409 | + (eval $ac_link) 2>&5 | ||
3410 | + ac_status=$? | ||
3411 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3412 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
3413 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3414 | + (eval $ac_try) 2>&5 | ||
3415 | + ac_status=$? | ||
3416 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3417 | + (exit $ac_status); }; }; then | ||
3418 | + ac_cv_func_lstat_dereferences_slashed_symlink=yes | ||
3419 | +else | ||
3420 | + echo "$as_me: program exited with status $ac_status" >&5 | ||
3421 | +echo "$as_me: failed program was:" >&5 | ||
3422 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
3423 | + | ||
3424 | +( exit $ac_status ) | ||
3425 | +ac_cv_func_lstat_dereferences_slashed_symlink=no | ||
3426 | +fi | ||
3427 | +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
3428 | +fi | ||
3429 | +else | ||
3430 | + # If the `ln -s' command failed, then we probably don't even | ||
3431 | + # have an lstat function. | ||
3432 | + ac_cv_func_lstat_dereferences_slashed_symlink=no | ||
3433 | +fi | ||
3434 | +rm -f conftest.sym conftest.file | ||
3435 | + | ||
3436 | +fi | ||
3437 | +echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 | ||
3438 | +echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6 | ||
3439 | + | ||
3440 | +test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && | ||
3441 | + | ||
3442 | +cat >>confdefs.h <<_ACEOF | ||
3443 | +@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 | ||
3444 | +_ACEOF | ||
3445 | + | ||
3446 | + | ||
3447 | +if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then | ||
3448 | + case $LIB@&t@OBJS in | ||
3449 | + "lstat.$ac_objext" | \ | ||
3450 | + *" lstat.$ac_objext" | \ | ||
3451 | + "lstat.$ac_objext "* | \ | ||
3452 | + *" lstat.$ac_objext "* ) ;; | ||
3453 | + *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext" ;; | ||
3454 | +esac | ||
3455 | + | ||
3456 | +fi | ||
3457 | + | ||
3458 | +echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5 | ||
3459 | +echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6 | ||
3460 | +if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then | ||
3461 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3462 | +else | ||
3463 | + if test "$cross_compiling" = yes; then | ||
3464 | + ac_cv_func_stat_empty_string_bug=yes | ||
3465 | +else | ||
3466 | + cat >conftest.$ac_ext <<_ACEOF | ||
3467 | +/* confdefs.h. */ | ||
3468 | +_ACEOF | ||
3469 | +cat confdefs.h >>conftest.$ac_ext | ||
3470 | +cat >>conftest.$ac_ext <<_ACEOF | ||
3471 | +/* end confdefs.h. */ | ||
3472 | +$ac_includes_default | ||
3473 | +int | ||
3474 | +main () | ||
3475 | +{ | ||
3476 | +struct stat sbuf; | ||
3477 | + exit (stat ("", &sbuf) ? 1 : 0); | ||
3478 | + ; | ||
3479 | + return 0; | ||
3480 | +} | ||
3481 | +_ACEOF | ||
3482 | +rm -f conftest$ac_exeext | ||
3483 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3484 | + (eval $ac_link) 2>&5 | ||
3485 | + ac_status=$? | ||
3486 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3487 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
3488 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3489 | + (eval $ac_try) 2>&5 | ||
3490 | + ac_status=$? | ||
3491 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3492 | + (exit $ac_status); }; }; then | ||
3493 | + ac_cv_func_stat_empty_string_bug=yes | ||
3494 | +else | ||
3495 | + echo "$as_me: program exited with status $ac_status" >&5 | ||
3496 | +echo "$as_me: failed program was:" >&5 | ||
3497 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
3498 | + | ||
3499 | +( exit $ac_status ) | ||
3500 | +ac_cv_func_stat_empty_string_bug=no | ||
3501 | +fi | ||
3502 | +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
3503 | +fi | ||
3504 | +fi | ||
3505 | +echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5 | ||
3506 | +echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6 | ||
3507 | +if test $ac_cv_func_stat_empty_string_bug = yes; then | ||
3508 | + case $LIB@&t@OBJS in | ||
3509 | + "stat.$ac_objext" | \ | ||
3510 | + *" stat.$ac_objext" | \ | ||
3511 | + "stat.$ac_objext "* | \ | ||
3512 | + *" stat.$ac_objext "* ) ;; | ||
3513 | + *) LIB@&t@OBJS="$LIB@&t@OBJS stat.$ac_objext" ;; | ||
3514 | +esac | ||
3515 | + | ||
3516 | + | ||
3517 | +cat >>confdefs.h <<_ACEOF | ||
3518 | +@%:@define HAVE_STAT_EMPTY_STRING_BUG 1 | ||
3519 | +_ACEOF | ||
3520 | + | ||
3521 | +fi | ||
3522 | + | ||
3523 | + | ||
3524 | +# Find a good install program. We prefer a C program (faster), | ||
3525 | +# so one script is as good as another. But avoid the broken or | ||
3526 | +# incompatible versions: | ||
3527 | +# SysV /etc/install, /usr/sbin/install | ||
3528 | +# SunOS /usr/etc/install | ||
3529 | +# IRIX /sbin/install | ||
3530 | +# AIX /bin/install | ||
3531 | +# AmigaOS /C/install, which installs bootblocks on floppy discs | ||
3532 | +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | ||
3533 | +# AFS /usr/afsws/bin/install, which mishandles nonexistent args | ||
3534 | +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||
3535 | +# OS/2's system install, which has a completely different semantic | ||
3536 | +# ./install, which can be erroneously created by make from ./install.sh. | ||
3537 | +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | ||
3538 | +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | ||
3539 | +if test -z "$INSTALL"; then | ||
3540 | +if test "${ac_cv_path_install+set}" = set; then | ||
3541 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3542 | +else | ||
3543 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3544 | +for as_dir in $PATH | ||
3545 | +do | ||
3546 | + IFS=$as_save_IFS | ||
3547 | + test -z "$as_dir" && as_dir=. | ||
3548 | + # Account for people who put trailing slashes in PATH elements. | ||
3549 | +case $as_dir/ in | ||
3550 | + ./ | .// | /cC/* | \ | ||
3551 | + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | ||
3552 | + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | ||
3553 | + /usr/ucb/* ) ;; | ||
3554 | + *) | ||
3555 | + # OSF1 and SCO ODT 3.0 have their own names for install. | ||
3556 | + # Don't use installbsd from OSF since it installs stuff as root | ||
3557 | + # by default. | ||
3558 | + for ac_prog in ginstall scoinst install; do | ||
3559 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
3560 | + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | ||
3561 | + if test $ac_prog = install && | ||
3562 | + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
3563 | + # AIX install. It has an incompatible calling convention. | ||
3564 | + : | ||
3565 | + elif test $ac_prog = install && | ||
3566 | + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
3567 | + # program-specific install script used by HP pwplus--don't use. | ||
3568 | + : | ||
3569 | + else | ||
3570 | + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
3571 | + break 3 | ||
3572 | + fi | ||
3573 | + fi | ||
3574 | + done | ||
3575 | + done | ||
3576 | + ;; | ||
3577 | +esac | ||
3578 | +done | ||
3579 | + | ||
3580 | + | ||
3581 | +fi | ||
3582 | + if test "${ac_cv_path_install+set}" = set; then | ||
3583 | + INSTALL=$ac_cv_path_install | ||
3584 | + else | ||
3585 | + # As a last resort, use the slow shell script. We don't cache a | ||
3586 | + # path for INSTALL within a source directory, because that will | ||
3587 | + # break other packages using the cache if that directory is | ||
3588 | + # removed, or if the path is relative. | ||
3589 | + INSTALL=$ac_install_sh | ||
3590 | + fi | ||
3591 | +fi | ||
3592 | +echo "$as_me:$LINENO: result: $INSTALL" >&5 | ||
3593 | +echo "${ECHO_T}$INSTALL" >&6 | ||
3594 | + | ||
3595 | +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. | ||
3596 | +# It thinks the first close brace ends the variable substitution. | ||
3597 | +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
3598 | + | ||
3599 | +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
3600 | + | ||
3601 | +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||
3602 | + | ||
3603 | + | ||
3604 | +echo "$as_me:$LINENO: checking whether @%:@! works in shell scripts" >&5 | ||
3605 | +echo $ECHO_N "checking whether @%:@! works in shell scripts... $ECHO_C" >&6 | ||
3606 | +if test "${ac_cv_sys_interpreter+set}" = set; then | ||
3607 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3608 | +else | ||
3609 | + echo '#! /bin/cat | ||
3610 | +exit 69 | ||
3611 | +' >conftest | ||
3612 | +chmod u+x conftest | ||
3613 | +(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null) | ||
3614 | +if test $? -ne 69; then | ||
3615 | + ac_cv_sys_interpreter=yes | ||
3616 | +else | ||
3617 | + ac_cv_sys_interpreter=no | ||
3618 | +fi | ||
3619 | +rm -f conftest | ||
3620 | +fi | ||
3621 | +echo "$as_me:$LINENO: result: $ac_cv_sys_interpreter" >&5 | ||
3622 | +echo "${ECHO_T}$ac_cv_sys_interpreter" >&6 | ||
3623 | +interpval=$ac_cv_sys_interpreter | ||
3624 | + | ||
3625 | +if test "$interpval" != yes ; then | ||
3626 | + { echo "$as_me:$LINENO: WARNING: no | ||
3627 | + | ||
3628 | +bash/perl scripts may not be invoked correctly due to problems with your | ||
3629 | +systems implementation of #! being either broken or non-existant. | ||
3630 | +" >&5 | ||
3631 | +echo "$as_me: WARNING: no | ||
3632 | + | ||
3633 | +bash/perl scripts may not be invoked correctly due to problems with your | ||
3634 | +systems implementation of #! being either broken or non-existant. | ||
3635 | +" >&2;} | ||
3636 | +fi | ||
3637 | + | ||
3638 | +unset BASH # bash sets this itself! | ||
3639 | + | ||
3640 | +# Check whether --with-bash or --without-bash was given. | ||
3641 | +if test "${with_bash+set}" = set; then | ||
3642 | + withval="$with_bash" | ||
3643 | + | ||
3644 | + BASH="$withval" | ||
3645 | + | ||
3646 | + { echo "$as_me:$LINENO: Using bash executable $BASH" >&5 | ||
3647 | +echo "$as_me: Using bash executable $BASH" >&6;} | ||
3648 | + | ||
3649 | +else | ||
3650 | + | ||
3651 | + # Extract the first word of "bash", so it can be a program name with args. | ||
3652 | +set dummy bash; ac_word=$2 | ||
3653 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3654 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
3655 | +if test "${ac_cv_path_BASH+set}" = set; then | ||
3656 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3657 | +else | ||
3658 | + case $BASH in | ||
3659 | + [\\/]* | ?:[\\/]*) | ||
3660 | + ac_cv_path_BASH="$BASH" # Let the user override the test with a path. | ||
3661 | + ;; | ||
3662 | + *) | ||
3663 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3664 | +for as_dir in $PATH | ||
3665 | +do | ||
3666 | + IFS=$as_save_IFS | ||
3667 | + test -z "$as_dir" && as_dir=. | ||
3668 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
3669 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3670 | + ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext" | ||
3671 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3672 | + break 2 | ||
3673 | + fi | ||
3674 | +done | ||
3675 | +done | ||
3676 | + | ||
3677 | + ;; | ||
3678 | +esac | ||
3679 | +fi | ||
3680 | +BASH=$ac_cv_path_BASH | ||
3681 | + | ||
3682 | +if test -n "$BASH"; then | ||
3683 | + echo "$as_me:$LINENO: result: $BASH" >&5 | ||
3684 | +echo "${ECHO_T}$BASH" >&6 | ||
3685 | +else | ||
3686 | + echo "$as_me:$LINENO: result: no" >&5 | ||
3687 | +echo "${ECHO_T}no" >&6 | ||
3688 | +fi | ||
3689 | + | ||
3690 | + | ||
3691 | +fi; | ||
3692 | +if test -z "$BASH" ; then | ||
3693 | + { { echo "$as_me:$LINENO: error: Please specify the location of bash with the option '--with-bash'" >&5 | ||
3694 | +echo "$as_me: error: Please specify the location of bash with the option '--with-bash'" >&2;} | ||
3695 | + { (exit 1); exit 1; }; } | ||
3696 | +fi | ||
3697 | + | ||
3698 | +# It would be nice not to have to use backticks, but too many retarded sh | ||
3699 | +# implementations still don't support $( ) | ||
3700 | +# BEWARE: There is a distinct possibility that we are currently running under | ||
3701 | +# bash in this configure script (/bin/sh being a symlink to /bin/bash). Even | ||
3702 | +# though the result /could/ be available to us directly as $BASH_VERSION we | ||
3703 | +# don't want to use, or trust it, incase the user is specifying a different | ||
3704 | +# bash executable. | ||
3705 | +if `$BASH -c '[ "$BASH_VERSION" \< "2.04" ]'` ; then | ||
3706 | + { { echo "$as_me:$LINENO: error: | ||
3707 | +$PACKAGE_NAME requires at least version 2.04 of bash, you can download a current | ||
3708 | +version of bash from ftp.gnu.org | ||
3709 | +" >&5 | ||
3710 | +echo "$as_me: error: | ||
3711 | +$PACKAGE_NAME requires at least version 2.04 of bash, you can download a current | ||
3712 | +version of bash from ftp.gnu.org | ||
3713 | +" >&2;} | ||
3714 | + { (exit 1); exit 1; }; } | ||
3715 | +fi | ||
3716 | + | ||
3717 | + | ||
3718 | +# Check whether --with-perl or --without-perl was given. | ||
3719 | +if test "${with_perl+set}" = set; then | ||
3720 | + withval="$with_perl" | ||
3721 | + | ||
3722 | + PERL="$withval" | ||
3723 | + | ||
3724 | + { echo "$as_me:$LINENO: Using Perl executable $PERL" >&5 | ||
3725 | +echo "$as_me: Using Perl executable $PERL" >&6;} | ||
3726 | + | ||
3727 | +else | ||
3728 | + | ||
3729 | + for ac_prog in perl perl5 | ||
3730 | +do | ||
3731 | + # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
3732 | +set dummy $ac_prog; ac_word=$2 | ||
3733 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3734 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
3735 | +if test "${ac_cv_path_PERL+set}" = set; then | ||
3736 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3737 | +else | ||
3738 | + case $PERL in | ||
3739 | + [\\/]* | ?:[\\/]*) | ||
3740 | + ac_cv_path_PERL="$PERL" # Let the user override the test with a path. | ||
3741 | + ;; | ||
3742 | + *) | ||
3743 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3744 | +for as_dir in $PATH | ||
3745 | +do | ||
3746 | + IFS=$as_save_IFS | ||
3747 | + test -z "$as_dir" && as_dir=. | ||
3748 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
3749 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3750 | + ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" | ||
3751 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3752 | + break 2 | ||
3753 | + fi | ||
3754 | +done | ||
3755 | +done | ||
3756 | + | ||
3757 | + ;; | ||
3758 | +esac | ||
3759 | +fi | ||
3760 | +PERL=$ac_cv_path_PERL | ||
3761 | + | ||
3762 | +if test -n "$PERL"; then | ||
3763 | + echo "$as_me:$LINENO: result: $PERL" >&5 | ||
3764 | +echo "${ECHO_T}$PERL" >&6 | ||
3765 | +else | ||
3766 | + echo "$as_me:$LINENO: result: no" >&5 | ||
3767 | +echo "${ECHO_T}no" >&6 | ||
3768 | +fi | ||
3769 | + | ||
3770 | + test -n "$PERL" && break | ||
3771 | +done | ||
3772 | + | ||
3773 | + | ||
3774 | +fi; | ||
3775 | +if test -z "$PERL" ; then | ||
3776 | + { { echo "$as_me:$LINENO: error: Please specify the location of Perl with the option '--with-perl'" >&5 | ||
3777 | +echo "$as_me: error: Please specify the location of Perl with the option '--with-perl'" >&2;} | ||
3778 | + { (exit 1); exit 1; }; } | ||
3779 | +fi | ||
3780 | + | ||
3781 | + | ||
3782 | +# Check whether --with-sed or --without-sed was given. | ||
3783 | +if test "${with_sed+set}" = set; then | ||
3784 | + withval="$with_sed" | ||
3785 | + | ||
3786 | + SED="$withval" | ||
3787 | + | ||
3788 | + { echo "$as_me:$LINENO: Using sed executable $SED" >&5 | ||
3789 | +echo "$as_me: Using sed executable $SED" >&6;} | ||
3790 | + | ||
3791 | +else | ||
3792 | + | ||
3793 | + SED="sed" | ||
3794 | + | ||
3795 | + | ||
3796 | +fi; | ||
3797 | + | ||
3798 | + | ||
3799 | +# Check whether --with-awk or --without-awk was given. | ||
3800 | +if test "${with_awk+set}" = set; then | ||
3801 | + withval="$with_awk" | ||
3802 | + | ||
3803 | + AWK="$withval" | ||
3804 | + | ||
3805 | + { echo "$as_me:$LINENO: Using awk executable $AWK" >&5 | ||
3806 | +echo "$as_me: Using awk executable $AWK" >&6;} | ||
3807 | + | ||
3808 | +else | ||
3809 | + | ||
3810 | + for ac_prog in gawk awk | ||
3811 | +do | ||
3812 | + # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
3813 | +set dummy $ac_prog; ac_word=$2 | ||
3814 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3815 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
3816 | +if test "${ac_cv_path_AWK+set}" = set; then | ||
3817 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3818 | +else | ||
3819 | + case $AWK in | ||
3820 | + [\\/]* | ?:[\\/]*) | ||
3821 | + ac_cv_path_AWK="$AWK" # Let the user override the test with a path. | ||
3822 | + ;; | ||
3823 | + *) | ||
3824 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3825 | +for as_dir in $PATH | ||
3826 | +do | ||
3827 | + IFS=$as_save_IFS | ||
3828 | + test -z "$as_dir" && as_dir=. | ||
3829 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
3830 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3831 | + ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext" | ||
3832 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3833 | + break 2 | ||
3834 | + fi | ||
3835 | +done | ||
3836 | +done | ||
3837 | + | ||
3838 | + ;; | ||
3839 | +esac | ||
3840 | +fi | ||
3841 | +AWK=$ac_cv_path_AWK | ||
3842 | + | ||
3843 | +if test -n "$AWK"; then | ||
3844 | + echo "$as_me:$LINENO: result: $AWK" >&5 | ||
3845 | +echo "${ECHO_T}$AWK" >&6 | ||
3846 | +else | ||
3847 | + echo "$as_me:$LINENO: result: no" >&5 | ||
3848 | +echo "${ECHO_T}no" >&6 | ||
3849 | +fi | ||
3850 | + | ||
3851 | + test -n "$AWK" && break | ||
3852 | +done | ||
3853 | + | ||
3854 | + | ||
3855 | +fi; | ||
3856 | + | ||
3857 | + | ||
3858 | +if test -z "$PERL" ; then | ||
3859 | + { { echo "$as_me:$LINENO: error: Please specify the location of Perl with the option '--with-perl'" >&5 | ||
3860 | +echo "$as_me: error: Please specify the location of Perl with the option '--with-perl'" >&2;} | ||
3861 | + { (exit 1); exit 1; }; } | ||
3862 | +fi | ||
3863 | + | ||
3864 | + | ||
3865 | +# Check whether --with-mktemp or --without-mktemp was given. | ||
3866 | +if test "${with_mktemp+set}" = set; then | ||
3867 | + withval="$with_mktemp" | ||
3868 | + | ||
3869 | + MKTEMP="$withval" | ||
3870 | + | ||
3871 | + { echo "$as_me:$LINENO: Using mktemp executable $MKTEMP" >&5 | ||
3872 | +echo "$as_me: Using mktemp executable $MKTEMP" >&6;} | ||
3873 | + | ||
3874 | +else | ||
3875 | + | ||
3876 | + # Extract the first word of "mktemp", so it can be a program name with args. | ||
3877 | +set dummy mktemp; ac_word=$2 | ||
3878 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3879 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
3880 | +if test "${ac_cv_path_MKTEMP+set}" = set; then | ||
3881 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3882 | +else | ||
3883 | + case $MKTEMP in | ||
3884 | + [\\/]* | ?:[\\/]*) | ||
3885 | + ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path. | ||
3886 | + ;; | ||
3887 | + *) | ||
3888 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3889 | +for as_dir in $PATH | ||
3890 | +do | ||
3891 | + IFS=$as_save_IFS | ||
3892 | + test -z "$as_dir" && as_dir=. | ||
3893 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
3894 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3895 | + ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext" | ||
3896 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3897 | + break 2 | ||
3898 | + fi | ||
3899 | +done | ||
3900 | +done | ||
3901 | + | ||
3902 | + ;; | ||
3903 | +esac | ||
3904 | +fi | ||
3905 | +MKTEMP=$ac_cv_path_MKTEMP | ||
3906 | + | ||
3907 | +if test -n "$MKTEMP"; then | ||
3908 | + echo "$as_me:$LINENO: result: $MKTEMP" >&5 | ||
3909 | +echo "${ECHO_T}$MKTEMP" >&6 | ||
3910 | +else | ||
3911 | + echo "$as_me:$LINENO: result: no" >&5 | ||
3912 | +echo "${ECHO_T}no" >&6 | ||
3913 | +fi | ||
3914 | + | ||
3915 | + | ||
3916 | +fi; | ||
3917 | +if test -z "$MKTEMP" -o "$MKTEMP" = "none" ; then | ||
3918 | + MKTEMP=internal_mktemp | ||
3919 | +else | ||
3920 | + echo "$as_me:$LINENO: checking whether $MKTEMP -d works" >&5 | ||
3921 | +echo $ECHO_N "checking whether $MKTEMP -d works... $ECHO_C" >&6 | ||
3922 | + if tempdir=`$MKTEMP -d /tmp/$PACKAGE_NAME.XXXXXX 2>/dev/null` && \ | ||
3923 | + rmdir "$tempdir" ; then | ||
3924 | + echo "$as_me:$LINENO: result: yes" >&5 | ||
3925 | +echo "${ECHO_T}yes" >&6 | ||
3926 | + else | ||
3927 | + echo "$as_me:$LINENO: result: no" >&5 | ||
3928 | +echo "${ECHO_T}no" >&6 | ||
3929 | + { { echo "$as_me:$LINENO: error: | ||
3930 | +'$MKTEMP -d' does not create temporary directories. | ||
3931 | +If you don't have a version of mktemp that can create directories, you | ||
3932 | +can specify '--with-mktemp=none' and $PACKAGE_NAME will use its own | ||
3933 | +internal tempfile generation mechanism. | ||
3934 | +" >&5 | ||
3935 | +echo "$as_me: error: | ||
3936 | +'$MKTEMP -d' does not create temporary directories. | ||
3937 | +If you don't have a version of mktemp that can create directories, you | ||
3938 | +can specify '--with-mktemp=none' and $PACKAGE_NAME will use its own | ||
3939 | +internal tempfile generation mechanism. | ||
3940 | +" >&2;} | ||
3941 | + { (exit 1); exit 1; }; } | ||
3942 | + fi | ||
3943 | +fi | ||
3944 | + | ||
3945 | + | ||
3946 | +# Check whether --with-diff or --without-diff was given. | ||
3947 | +if test "${with_diff+set}" = set; then | ||
3948 | + withval="$with_diff" | ||
3949 | + | ||
3950 | + DIFF="$withval" | ||
3951 | + | ||
3952 | + { echo "$as_me:$LINENO: Using diff executable $DIFF" >&5 | ||
3953 | +echo "$as_me: Using diff executable $DIFF" >&6;} | ||
3954 | + | ||
3955 | +else | ||
3956 | + | ||
3957 | + # Extract the first word of "diff", so it can be a program name with args. | ||
3958 | +set dummy diff; ac_word=$2 | ||
3959 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3960 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
3961 | +if test "${ac_cv_path_DIFF+set}" = set; then | ||
3962 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3963 | +else | ||
3964 | + case $DIFF in | ||
3965 | + [\\/]* | ?:[\\/]*) | ||
3966 | + ac_cv_path_DIFF="$DIFF" # Let the user override the test with a path. | ||
3967 | + ;; | ||
3968 | + *) | ||
3969 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3970 | +for as_dir in $PATH | ||
3971 | +do | ||
3972 | + IFS=$as_save_IFS | ||
3973 | + test -z "$as_dir" && as_dir=. | ||
3974 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
3975 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3976 | + ac_cv_path_DIFF="$as_dir/$ac_word$ac_exec_ext" | ||
3977 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3978 | + break 2 | ||
3979 | + fi | ||
3980 | +done | ||
3981 | +done | ||
3982 | + | ||
3983 | + ;; | ||
3984 | +esac | ||
3985 | +fi | ||
3986 | +DIFF=$ac_cv_path_DIFF | ||
3987 | + | ||
3988 | +if test -n "$DIFF"; then | ||
3989 | + echo "$as_me:$LINENO: result: $DIFF" >&5 | ||
3990 | +echo "${ECHO_T}$DIFF" >&6 | ||
3991 | +else | ||
3992 | + echo "$as_me:$LINENO: result: no" >&5 | ||
3993 | +echo "${ECHO_T}no" >&6 | ||
3994 | +fi | ||
3995 | + | ||
3996 | + | ||
3997 | +fi; | ||
3998 | +if test -z "$DIFF"; then | ||
3999 | + { { echo "$as_me:$LINENO: error: Please specify the location of diff with the option '--with-diff'" >&5 | ||
4000 | +echo "$as_me: error: Please specify the location of diff with the option '--with-diff'" >&2;} | ||
4001 | + { (exit 1); exit 1; }; } | ||
4002 | +fi | ||
4003 | + | ||
4004 | + | ||
4005 | +# Check whether --with-patch or --without-patch was given. | ||
4006 | +if test "${with_patch+set}" = set; then | ||
4007 | + withval="$with_patch" | ||
4008 | + | ||
4009 | + PATCH="$withval" | ||
4010 | + | ||
4011 | + { echo "$as_me:$LINENO: Using patch executable $PATCH" >&5 | ||
4012 | +echo "$as_me: Using patch executable $PATCH" >&6;} | ||
4013 | + | ||
4014 | +else | ||
4015 | + | ||
4016 | + # Extract the first word of "patch", so it can be a program name with args. | ||
4017 | +set dummy patch; ac_word=$2 | ||
4018 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
4019 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
4020 | +if test "${ac_cv_path_PATCH+set}" = set; then | ||
4021 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4022 | +else | ||
4023 | + case $PATCH in | ||
4024 | + [\\/]* | ?:[\\/]*) | ||
4025 | + ac_cv_path_PATCH="$PATCH" # Let the user override the test with a path. | ||
4026 | + ;; | ||
4027 | + *) | ||
4028 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4029 | +for as_dir in $PATH | ||
4030 | +do | ||
4031 | + IFS=$as_save_IFS | ||
4032 | + test -z "$as_dir" && as_dir=. | ||
4033 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
4034 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
4035 | + ac_cv_path_PATCH="$as_dir/$ac_word$ac_exec_ext" | ||
4036 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
4037 | + break 2 | ||
4038 | + fi | ||
4039 | +done | ||
4040 | +done | ||
4041 | + | ||
4042 | + ;; | ||
4043 | +esac | ||
4044 | +fi | ||
4045 | +PATCH=$ac_cv_path_PATCH | ||
4046 | + | ||
4047 | +if test -n "$PATCH"; then | ||
4048 | + echo "$as_me:$LINENO: result: $PATCH" >&5 | ||
4049 | +echo "${ECHO_T}$PATCH" >&6 | ||
4050 | +else | ||
4051 | + echo "$as_me:$LINENO: result: no" >&5 | ||
4052 | +echo "${ECHO_T}no" >&6 | ||
4053 | +fi | ||
4054 | + | ||
4055 | + | ||
4056 | +fi; | ||
4057 | +if test -z "$PATCH"; then | ||
4058 | + { { echo "$as_me:$LINENO: error: Please specify the location of patch with the option '--with-patch'" >&5 | ||
4059 | +echo "$as_me: error: Please specify the location of patch with the option '--with-patch'" >&2;} | ||
4060 | + { (exit 1); exit 1; }; } | ||
4061 | +fi | ||
4062 | + | ||
4063 | +# Sun's patch is a mess, issue a warning. But we are going to continue with | ||
4064 | +# the build because you might just be lucky. | ||
4065 | +echo "$as_me:$LINENO: checking whether $PATCH will work" >&5 | ||
4066 | +echo $ECHO_N "checking whether $PATCH will work... $ECHO_C" >&6 | ||
4067 | +if $PATCH -v 2>&1 | grep -q "Sun" >/dev/null 2>&1; then | ||
4068 | + echo "$as_me:$LINENO: result: no" >&5 | ||
4069 | +echo "${ECHO_T}no" >&6 | ||
4070 | + { echo "$as_me:$LINENO: WARNING: | ||
4071 | +Sorry, you have a Sun version of patch which is notoriously buggy. $PACKAGE_NAME | ||
4072 | +may function correctly, or minor errors may occur due to Sun's patch tool. | ||
4073 | +Please consider upgrading to GNU patch, if you already have GNU patch then you | ||
4074 | +can supply its path with the '--with-patch=' option. | ||
4075 | +" >&5 | ||
4076 | +echo "$as_me: WARNING: | ||
4077 | +Sorry, you have a Sun version of patch which is notoriously buggy. $PACKAGE_NAME | ||
4078 | +may function correctly, or minor errors may occur due to Sun's patch tool. | ||
4079 | +Please consider upgrading to GNU patch, if you already have GNU patch then you | ||
4080 | +can supply its path with the '--with-patch=' option. | ||
4081 | +" >&2;} | ||
4082 | +elif $PATCH --version 2>&1 | grep -q "patch 2.0" >/dev/null 2>&1; then | ||
4083 | + echo "$as_me:$LINENO: result: no" >&5 | ||
4084 | +echo "${ECHO_T}no" >&6 | ||
4085 | + { echo "$as_me:$LINENO: WARNING: | ||
4086 | +Sorry, the version of patch you are using can cause severe problems when a patch | ||
4087 | +creates a directory. $PACKAGE_NAME may well function correctly with this version | ||
4088 | +of patch or small problems could creep in. | ||
4089 | +Please consider upgrading your patch to a more recent version, if you already | ||
4090 | +have a more recent version of patch then you can supply its path with the | ||
4091 | +'--with-patch=' option. | ||
4092 | +" >&5 | ||
4093 | +echo "$as_me: WARNING: | ||
4094 | +Sorry, the version of patch you are using can cause severe problems when a patch | ||
4095 | +creates a directory. $PACKAGE_NAME may well function correctly with this version | ||
4096 | +of patch or small problems could creep in. | ||
4097 | +Please consider upgrading your patch to a more recent version, if you already | ||
4098 | +have a more recent version of patch then you can supply its path with the | ||
4099 | +'--with-patch=' option. | ||
4100 | +" >&2;} | ||
4101 | +else | ||
4102 | + echo "$as_me:$LINENO: result: yes" >&5 | ||
4103 | +echo "${ECHO_T}yes" >&6 | ||
4104 | +fi | ||
4105 | + | ||
4106 | + | ||
4107 | +# Check whether --with-diffstat or --without-diffstat was given. | ||
4108 | +if test "${with_diffstat+set}" = set; then | ||
4109 | + withval="$with_diffstat" | ||
4110 | + | ||
4111 | + DIFFSTAT="$withval" | ||
4112 | + | ||
4113 | + { echo "$as_me:$LINENO: Using diffstat executable $DIFFSTAT" >&5 | ||
4114 | +echo "$as_me: Using diffstat executable $DIFFSTAT" >&6;} | ||
4115 | + | ||
4116 | +else | ||
4117 | + | ||
4118 | + # Extract the first word of "diffstat", so it can be a program name with args. | ||
4119 | +set dummy diffstat; ac_word=$2 | ||
4120 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
4121 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
4122 | +if test "${ac_cv_path_DIFFSTAT+set}" = set; then | ||
4123 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4124 | +else | ||
4125 | + case $DIFFSTAT in | ||
4126 | + [\\/]* | ?:[\\/]*) | ||
4127 | + ac_cv_path_DIFFSTAT="$DIFFSTAT" # Let the user override the test with a path. | ||
4128 | + ;; | ||
4129 | + *) | ||
4130 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4131 | +for as_dir in $PATH | ||
4132 | +do | ||
4133 | + IFS=$as_save_IFS | ||
4134 | + test -z "$as_dir" && as_dir=. | ||
4135 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
4136 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
4137 | + ac_cv_path_DIFFSTAT="$as_dir/$ac_word$ac_exec_ext" | ||
4138 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
4139 | + break 2 | ||
4140 | + fi | ||
4141 | +done | ||
4142 | +done | ||
4143 | + | ||
4144 | + ;; | ||
4145 | +esac | ||
4146 | +fi | ||
4147 | +DIFFSTAT=$ac_cv_path_DIFFSTAT | ||
4148 | + | ||
4149 | +if test -n "$DIFFSTAT"; then | ||
4150 | + echo "$as_me:$LINENO: result: $DIFFSTAT" >&5 | ||
4151 | +echo "${ECHO_T}$DIFFSTAT" >&6 | ||
4152 | +else | ||
4153 | + echo "$as_me:$LINENO: result: no" >&5 | ||
4154 | +echo "${ECHO_T}no" >&6 | ||
4155 | +fi | ||
4156 | + | ||
4157 | + | ||
4158 | +fi; | ||
4159 | +if test -z "$DIFFSTAT"; then | ||
4160 | + { echo "$as_me:$LINENO: WARNING: | ||
4161 | +diffstat utility not found; the --diffstat option of the refresh command | ||
4162 | +will not work correctly until diffstat is installed. If you have diffstat | ||
4163 | +in a directory that is not in the search path you can specify its location | ||
4164 | +using the '--with-diffstat' option. | ||
4165 | +" >&5 | ||
4166 | +echo "$as_me: WARNING: | ||
4167 | +diffstat utility not found; the --diffstat option of the refresh command | ||
4168 | +will not work correctly until diffstat is installed. If you have diffstat | ||
4169 | +in a directory that is not in the search path you can specify its location | ||
4170 | +using the '--with-diffstat' option. | ||
4171 | +" >&2;} | ||
4172 | + DIFFSTAT="diffstat" | ||
4173 | +fi | ||
4174 | + | ||
4175 | +# Check whether --enable-nls or --disable-nls was given. | ||
4176 | +if test "${enable_nls+set}" = set; then | ||
4177 | + enableval="$enable_nls" | ||
4178 | + | ||
4179 | +fi; | ||
4180 | +if test "$enableval" != "no"; then | ||
4181 | + # Extract the first word of "msgfmt", so it can be a program name with args. | ||
4182 | +set dummy msgfmt; ac_word=$2 | ||
4183 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
4184 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
4185 | +if test "${ac_cv_path_MSGFMT+set}" = set; then | ||
4186 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4187 | +else | ||
4188 | + case $MSGFMT in | ||
4189 | + [\\/]* | ?:[\\/]*) | ||
4190 | + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. | ||
4191 | + ;; | ||
4192 | + *) | ||
4193 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4194 | +for as_dir in $PATH | ||
4195 | +do | ||
4196 | + IFS=$as_save_IFS | ||
4197 | + test -z "$as_dir" && as_dir=. | ||
4198 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
4199 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
4200 | + ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" | ||
4201 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
4202 | + break 2 | ||
4203 | + fi | ||
4204 | +done | ||
4205 | +done | ||
4206 | + | ||
4207 | + ;; | ||
4208 | +esac | ||
4209 | +fi | ||
4210 | +MSGFMT=$ac_cv_path_MSGFMT | ||
4211 | + | ||
4212 | +if test -n "$MSGFMT"; then | ||
4213 | + echo "$as_me:$LINENO: result: $MSGFMT" >&5 | ||
4214 | +echo "${ECHO_T}$MSGFMT" >&6 | ||
4215 | +else | ||
4216 | + echo "$as_me:$LINENO: result: no" >&5 | ||
4217 | +echo "${ECHO_T}no" >&6 | ||
4218 | +fi | ||
4219 | + | ||
4220 | +fi | ||
4221 | +if test "$enableval" = "yes" -a -z "$MSGFMT" ; then | ||
4222 | + { { echo "$as_me:$LINENO: error: | ||
4223 | +You do not appear to have msgfmt, which is part of the GNU Gettext package. It | ||
4224 | +is a required package as you chose the '--enable-nls' option to configure. | ||
4225 | +You can download GNU Gettext from ftp.gnu.org | ||
4226 | +" >&5 | ||
4227 | +echo "$as_me: error: | ||
4228 | +You do not appear to have msgfmt, which is part of the GNU Gettext package. It | ||
4229 | +is a required package as you chose the '--enable-nls' option to configure. | ||
4230 | +You can download GNU Gettext from ftp.gnu.org | ||
4231 | +" >&2;} | ||
4232 | + { (exit 1); exit 1; }; } | ||
4233 | +fi | ||
4234 | +if test -z "$MSGFMT" ; then | ||
4235 | + { echo "$as_me:$LINENO: Building without natural language support" >&5 | ||
4236 | +echo "$as_me: Building without natural language support" >&6;} | ||
4237 | +fi | ||
4238 | + | ||
4239 | +if test -n "$RPM_DOC_DIR" ; then | ||
4240 | + docdir="$RPM_DOC_DIR" | ||
4241 | +else | ||
4242 | + docdir='$(datadir)/doc' | ||
4243 | +fi | ||
4244 | + | ||
4245 | + | ||
4246 | +for ac_prog in rpmbuild rpm | ||
4247 | +do | ||
4248 | + # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
4249 | +set dummy $ac_prog; ac_word=$2 | ||
4250 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
4251 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
4252 | +if test "${ac_cv_path_RPMBUILD+set}" = set; then | ||
4253 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4254 | +else | ||
4255 | + case $RPMBUILD in | ||
4256 | + [\\/]* | ?:[\\/]*) | ||
4257 | + ac_cv_path_RPMBUILD="$RPMBUILD" # Let the user override the test with a path. | ||
4258 | + ;; | ||
4259 | + *) | ||
4260 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4261 | +for as_dir in $PATH | ||
4262 | +do | ||
4263 | + IFS=$as_save_IFS | ||
4264 | + test -z "$as_dir" && as_dir=. | ||
4265 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
4266 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
4267 | + ac_cv_path_RPMBUILD="$as_dir/$ac_word$ac_exec_ext" | ||
4268 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
4269 | + break 2 | ||
4270 | + fi | ||
4271 | +done | ||
4272 | +done | ||
4273 | + | ||
4274 | + ;; | ||
4275 | +esac | ||
4276 | +fi | ||
4277 | +RPMBUILD=$ac_cv_path_RPMBUILD | ||
4278 | + | ||
4279 | +if test -n "$RPMBUILD"; then | ||
4280 | + echo "$as_me:$LINENO: result: $RPMBUILD" >&5 | ||
4281 | +echo "${ECHO_T}$RPMBUILD" >&6 | ||
4282 | +else | ||
4283 | + echo "$as_me:$LINENO: result: no" >&5 | ||
4284 | +echo "${ECHO_T}no" >&6 | ||
4285 | +fi | ||
4286 | + | ||
4287 | + test -n "$RPMBUILD" && break | ||
4288 | +done | ||
4289 | + | ||
4290 | + | ||
4291 | + | ||
4292 | + ac_config_files="$ac_config_files Makefile" | ||
4293 | + | ||
4294 | +cat >confcache <<\_ACEOF | ||
4295 | +# This file is a shell script that caches the results of configure | ||
4296 | +# tests run on this system so they can be shared between configure | ||
4297 | +# scripts and configure runs, see configure's option --config-cache. | ||
4298 | +# It is not useful on other systems. If it contains results you don't | ||
4299 | +# want to keep, you may remove or edit it. | ||
4300 | +# | ||
4301 | +# config.status only pays attention to the cache file if you give it | ||
4302 | +# the --recheck option to rerun configure. | ||
4303 | +# | ||
4304 | +# `ac_cv_env_foo' variables (set or unset) will be overridden when | ||
4305 | +# loading this file, other *unset* `ac_cv_foo' will be assigned the | ||
4306 | +# following values. | ||
4307 | + | ||
4308 | +_ACEOF | ||
4309 | + | ||
4310 | +# The following way of writing the cache mishandles newlines in values, | ||
4311 | +# but we know of no workaround that is simple, portable, and efficient. | ||
4312 | +# So, don't put newlines in cache variables' values. | ||
4313 | +# Ultrix sh set writes to stderr and can't be redirected directly, | ||
4314 | +# and sets the high bit in the cache file unless we assign to the vars. | ||
4315 | +{ | ||
4316 | + (set) 2>&1 | | ||
4317 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in | ||
4318 | + *ac_space=\ *) | ||
4319 | + # `set' does not quote correctly, so add quotes (double-quote | ||
4320 | + # substitution turns \\\\ into \\, and sed turns \\ into \). | ||
4321 | + sed -n \ | ||
4322 | + "s/'/'\\\\''/g; | ||
4323 | + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | ||
4324 | + ;; | ||
4325 | + *) | ||
4326 | + # `set' quotes correctly as required by POSIX, so do not add quotes. | ||
4327 | + sed -n \ | ||
4328 | + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
4329 | + ;; | ||
4330 | + esac; | ||
4331 | +} | | ||
4332 | + sed ' | ||
4333 | + t clear | ||
4334 | + : clear | ||
4335 | + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | ||
4336 | + t end | ||
4337 | + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | ||
4338 | + : end' >>confcache | ||
4339 | +if diff $cache_file confcache >/dev/null 2>&1; then :; else | ||
4340 | + if test -w $cache_file; then | ||
4341 | + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | ||
4342 | + cat confcache >$cache_file | ||
4343 | + else | ||
4344 | + echo "not updating unwritable cache $cache_file" | ||
4345 | + fi | ||
4346 | +fi | ||
4347 | +rm -f confcache | ||
4348 | + | ||
4349 | +test "x$prefix" = xNONE && prefix=$ac_default_prefix | ||
4350 | +# Let make expand exec_prefix. | ||
4351 | +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | ||
4352 | + | ||
4353 | +# VPATH may cause trouble with some makes, so we remove $(srcdir), | ||
4354 | +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | ||
4355 | +# trailing colons and then remove the whole line if VPATH becomes empty | ||
4356 | +# (actually we leave an empty line to preserve line numbers). | ||
4357 | +if test "x$srcdir" = x.; then | ||
4358 | + ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ||
4359 | +s/:*\$(srcdir):*/:/; | ||
4360 | +s/:*\${srcdir}:*/:/; | ||
4361 | +s/:*@srcdir@:*/:/; | ||
4362 | +s/^\([^=]*=[ ]*\):*/\1/; | ||
4363 | +s/:*$//; | ||
4364 | +s/^[^=]*=[ ]*$//; | ||
4365 | +}' | ||
4366 | +fi | ||
4367 | + | ||
4368 | +# Transform confdefs.h into DEFS. | ||
4369 | +# Protect against shell expansion while executing Makefile rules. | ||
4370 | +# Protect against Makefile macro expansion. | ||
4371 | +# | ||
4372 | +# If the first sed substitution is executed (which looks for macros that | ||
4373 | +# take arguments), then we branch to the quote section. Otherwise, | ||
4374 | +# look for a macro that doesn't take arguments. | ||
4375 | +cat >confdef2opt.sed <<\_ACEOF | ||
4376 | +t clear | ||
4377 | +: clear | ||
4378 | +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g | ||
4379 | +t quote | ||
4380 | +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g | ||
4381 | +t quote | ||
4382 | +d | ||
4383 | +: quote | ||
4384 | +s,[ `~#$^&*(){}\\|;'"<>?],\\&,g | ||
4385 | +s,\[,\\&,g | ||
4386 | +s,\],\\&,g | ||
4387 | +s,\$,$$,g | ||
4388 | +p | ||
4389 | +_ACEOF | ||
4390 | +# We use echo to avoid assuming a particular line-breaking character. | ||
4391 | +# The extra dot is to prevent the shell from consuming trailing | ||
4392 | +# line-breaks from the sub-command output. A line-break within | ||
4393 | +# single-quotes doesn't work because, if this script is created in a | ||
4394 | +# platform that uses two characters for line-breaks (e.g., DOS), tr | ||
4395 | +# would break. | ||
4396 | +ac_LF_and_DOT=`echo; echo .` | ||
4397 | +DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` | ||
4398 | +rm -f confdef2opt.sed | ||
4399 | + | ||
4400 | + | ||
4401 | +ac_libobjs= | ||
4402 | +ac_ltlibobjs= | ||
4403 | +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue | ||
4404 | + # 1. Remove the extension, and $U if already installed. | ||
4405 | + ac_i=`echo "$ac_i" | | ||
4406 | + sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | ||
4407 | + # 2. Add them. | ||
4408 | + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | ||
4409 | + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | ||
4410 | +done | ||
4411 | +LIB@&t@OBJS=$ac_libobjs | ||
4412 | + | ||
4413 | +LTLIBOBJS=$ac_ltlibobjs | ||
4414 | + | ||
4415 | + | ||
4416 | + | ||
4417 | +: ${CONFIG_STATUS=./config.status} | ||
4418 | +ac_clean_files_save=$ac_clean_files | ||
4419 | +ac_clean_files="$ac_clean_files $CONFIG_STATUS" | ||
4420 | +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | ||
4421 | +echo "$as_me: creating $CONFIG_STATUS" >&6;} | ||
4422 | +cat >$CONFIG_STATUS <<_ACEOF | ||
4423 | +#! $SHELL | ||
4424 | +# Generated by $as_me. | ||
4425 | +# Run this file to recreate the current configuration. | ||
4426 | +# Compiler output produced by configure, useful for debugging | ||
4427 | +# configure, is in config.log if it exists. | ||
4428 | + | ||
4429 | +debug=false | ||
4430 | +ac_cs_recheck=false | ||
4431 | +ac_cs_silent=false | ||
4432 | +SHELL=\${CONFIG_SHELL-$SHELL} | ||
4433 | +_ACEOF | ||
4434 | + | ||
4435 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
4436 | +## --------------------- ## | ||
4437 | +## M4sh Initialization. ## | ||
4438 | +## --------------------- ## | ||
4439 | + | ||
4440 | +# Be Bourne compatible | ||
4441 | +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
4442 | + emulate sh | ||
4443 | + NULLCMD=: | ||
4444 | + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
4445 | + # is contrary to our usage. Disable this feature. | ||
4446 | + alias -g '${1+"$@"}'='"$@"' | ||
4447 | +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | ||
4448 | + set -o posix | ||
4449 | +fi | ||
4450 | +DUALCASE=1; export DUALCASE # for MKS sh | ||
4451 | + | ||
4452 | +# Support unset when possible. | ||
4453 | +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
4454 | + as_unset=unset | ||
4455 | +else | ||
4456 | + as_unset=false | ||
4457 | +fi | ||
4458 | + | ||
4459 | + | ||
4460 | +# Work around bugs in pre-3.0 UWIN ksh. | ||
4461 | +$as_unset ENV MAIL MAILPATH | ||
4462 | +PS1='$ ' | ||
4463 | +PS2='> ' | ||
4464 | +PS4='+ ' | ||
4465 | + | ||
4466 | +# NLS nuisances. | ||
4467 | +for as_var in \ | ||
4468 | + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | ||
4469 | + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | ||
4470 | + LC_TELEPHONE LC_TIME | ||
4471 | +do | ||
4472 | + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | ||
4473 | + eval $as_var=C; export $as_var | ||
4474 | + else | ||
4475 | + $as_unset $as_var | ||
4476 | + fi | ||
4477 | +done | ||
4478 | + | ||
4479 | +# Required to use basename. | ||
4480 | +if expr a : '\(a\)' >/dev/null 2>&1; then | ||
4481 | + as_expr=expr | ||
4482 | +else | ||
4483 | + as_expr=false | ||
4484 | +fi | ||
4485 | + | ||
4486 | +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | ||
4487 | + as_basename=basename | ||
4488 | +else | ||
4489 | + as_basename=false | ||
4490 | +fi | ||
4491 | + | ||
4492 | + | ||
4493 | +# Name of the executable. | ||
4494 | +as_me=`$as_basename "$0" || | ||
4495 | +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
4496 | + X"$0" : 'X\(//\)$' \| \ | ||
4497 | + X"$0" : 'X\(/\)$' \| \ | ||
4498 | + . : '\(.\)' 2>/dev/null || | ||
4499 | +echo X/"$0" | | ||
4500 | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | ||
4501 | + /^X\/\(\/\/\)$/{ s//\1/; q; } | ||
4502 | + /^X\/\(\/\).*/{ s//\1/; q; } | ||
4503 | + s/.*/./; q'` | ||
4504 | + | ||
4505 | + | ||
4506 | +# PATH needs CR, and LINENO needs CR and PATH. | ||
4507 | +# Avoid depending upon Character Ranges. | ||
4508 | +as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
4509 | +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
4510 | +as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
4511 | +as_cr_digits='0123456789' | ||
4512 | +as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
4513 | + | ||
4514 | +# The user is always right. | ||
4515 | +if test "${PATH_SEPARATOR+set}" != set; then | ||
4516 | + echo "#! /bin/sh" >conf$$.sh | ||
4517 | + echo "exit 0" >>conf$$.sh | ||
4518 | + chmod +x conf$$.sh | ||
4519 | + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
4520 | + PATH_SEPARATOR=';' | ||
4521 | + else | ||
4522 | + PATH_SEPARATOR=: | ||
4523 | + fi | ||
4524 | + rm -f conf$$.sh | ||
4525 | +fi | ||
4526 | + | ||
4527 | + | ||
4528 | + as_lineno_1=$LINENO | ||
4529 | + as_lineno_2=$LINENO | ||
4530 | + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
4531 | + test "x$as_lineno_1" != "x$as_lineno_2" && | ||
4532 | + test "x$as_lineno_3" = "x$as_lineno_2" || { | ||
4533 | + # Find who we are. Look in the path if we contain no path at all | ||
4534 | + # relative or not. | ||
4535 | + case $0 in | ||
4536 | + *[\\/]* ) as_myself=$0 ;; | ||
4537 | + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4538 | +for as_dir in $PATH | ||
4539 | +do | ||
4540 | + IFS=$as_save_IFS | ||
4541 | + test -z "$as_dir" && as_dir=. | ||
4542 | + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
4543 | +done | ||
4544 | + | ||
4545 | + ;; | ||
4546 | + esac | ||
4547 | + # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
4548 | + # in which case we are not to be found in the path. | ||
4549 | + if test "x$as_myself" = x; then | ||
4550 | + as_myself=$0 | ||
4551 | + fi | ||
4552 | + if test ! -f "$as_myself"; then | ||
4553 | + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | ||
4554 | +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | ||
4555 | + { (exit 1); exit 1; }; } | ||
4556 | + fi | ||
4557 | + case $CONFIG_SHELL in | ||
4558 | + '') | ||
4559 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4560 | +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
4561 | +do | ||
4562 | + IFS=$as_save_IFS | ||
4563 | + test -z "$as_dir" && as_dir=. | ||
4564 | + for as_base in sh bash ksh sh5; do | ||
4565 | + case $as_dir in | ||
4566 | + /*) | ||
4567 | + if ("$as_dir/$as_base" -c ' | ||
4568 | + as_lineno_1=$LINENO | ||
4569 | + as_lineno_2=$LINENO | ||
4570 | + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
4571 | + test "x$as_lineno_1" != "x$as_lineno_2" && | ||
4572 | + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | ||
4573 | + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | ||
4574 | + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | ||
4575 | + CONFIG_SHELL=$as_dir/$as_base | ||
4576 | + export CONFIG_SHELL | ||
4577 | + exec "$CONFIG_SHELL" "$0" ${1+"$@"} | ||
4578 | + fi;; | ||
4579 | + esac | ||
4580 | + done | ||
4581 | +done | ||
4582 | +;; | ||
4583 | + esac | ||
4584 | + | ||
4585 | + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
4586 | + # uniformly replaced by the line number. The first 'sed' inserts a | ||
4587 | + # line-number line before each line; the second 'sed' does the real | ||
4588 | + # work. The second script uses 'N' to pair each line-number line | ||
4589 | + # with the numbered line, and appends trailing '-' during | ||
4590 | + # substitution so that $LINENO is not a special case at line end. | ||
4591 | + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
4592 | + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | ||
4593 | + sed '=' <$as_myself | | ||
4594 | + sed ' | ||
4595 | + N | ||
4596 | + s,$,-, | ||
4597 | + : loop | ||
4598 | + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
4599 | + t loop | ||
4600 | + s,-$,, | ||
4601 | + s,^['$as_cr_digits']*\n,, | ||
4602 | + ' >$as_me.lineno && | ||
4603 | + chmod +x $as_me.lineno || | ||
4604 | + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | ||
4605 | +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | ||
4606 | + { (exit 1); exit 1; }; } | ||
4607 | + | ||
4608 | + # Don't try to exec as it changes $[0], causing all sort of problems | ||
4609 | + # (the dirname of $[0] is not the place where we might find the | ||
4610 | + # original and so on. Autoconf is especially sensible to this). | ||
4611 | + . ./$as_me.lineno | ||
4612 | + # Exit status is that of the last command. | ||
4613 | + exit | ||
4614 | +} | ||
4615 | + | ||
4616 | + | ||
4617 | +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | ||
4618 | + *c*,-n*) ECHO_N= ECHO_C=' | ||
4619 | +' ECHO_T=' ' ;; | ||
4620 | + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | ||
4621 | + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | ||
4622 | +esac | ||
4623 | + | ||
4624 | +if expr a : '\(a\)' >/dev/null 2>&1; then | ||
4625 | + as_expr=expr | ||
4626 | +else | ||
4627 | + as_expr=false | ||
4628 | +fi | ||
4629 | + | ||
4630 | +rm -f conf$$ conf$$.exe conf$$.file | ||
4631 | +echo >conf$$.file | ||
4632 | +if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
4633 | + # We could just check for DJGPP; but this test a) works b) is more generic | ||
4634 | + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | ||
4635 | + if test -f conf$$.exe; then | ||
4636 | + # Don't use ln at all; we don't have any links | ||
4637 | + as_ln_s='cp -p' | ||
4638 | + else | ||
4639 | + as_ln_s='ln -s' | ||
4640 | + fi | ||
4641 | +elif ln conf$$.file conf$$ 2>/dev/null; then | ||
4642 | + as_ln_s=ln | ||
4643 | +else | ||
4644 | + as_ln_s='cp -p' | ||
4645 | +fi | ||
4646 | +rm -f conf$$ conf$$.exe conf$$.file | ||
4647 | + | ||
4648 | +if mkdir -p . 2>/dev/null; then | ||
4649 | + as_mkdir_p=: | ||
4650 | +else | ||
4651 | + test -d ./-p && rmdir ./-p | ||
4652 | + as_mkdir_p=false | ||
4653 | +fi | ||
4654 | + | ||
4655 | +as_executable_p="test -f" | ||
4656 | + | ||
4657 | +# Sed expression to map a string onto a valid CPP name. | ||
4658 | +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
4659 | + | ||
4660 | +# Sed expression to map a string onto a valid variable name. | ||
4661 | +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
4662 | + | ||
4663 | + | ||
4664 | +# IFS | ||
4665 | +# We need space, tab and new line, in precisely that order. | ||
4666 | +as_nl=' | ||
4667 | +' | ||
4668 | +IFS=" $as_nl" | ||
4669 | + | ||
4670 | +# CDPATH. | ||
4671 | +$as_unset CDPATH | ||
4672 | + | ||
4673 | +exec 6>&1 | ||
4674 | + | ||
4675 | +# Open the log real soon, to keep \$[0] and so on meaningful, and to | ||
4676 | +# report actual input values of CONFIG_FILES etc. instead of their | ||
4677 | +# values after options handling. Logging --version etc. is OK. | ||
4678 | +exec 5>>config.log | ||
4679 | +{ | ||
4680 | + echo | ||
4681 | + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX | ||
4682 | +@%:@@%:@ Running $as_me. @%:@@%:@ | ||
4683 | +_ASBOX | ||
4684 | +} >&5 | ||
4685 | +cat >&5 <<_CSEOF | ||
4686 | + | ||
4687 | +This file was extended by quilt $as_me 0.37, which was | ||
4688 | +generated by GNU Autoconf 2.59. Invocation command line was | ||
4689 | + | ||
4690 | + CONFIG_FILES = $CONFIG_FILES | ||
4691 | + CONFIG_HEADERS = $CONFIG_HEADERS | ||
4692 | + CONFIG_LINKS = $CONFIG_LINKS | ||
4693 | + CONFIG_COMMANDS = $CONFIG_COMMANDS | ||
4694 | + $ $0 $@ | ||
4695 | + | ||
4696 | +_CSEOF | ||
4697 | +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | ||
4698 | +echo >&5 | ||
4699 | +_ACEOF | ||
4700 | + | ||
4701 | +# Files that config.status was made for. | ||
4702 | +if test -n "$ac_config_files"; then | ||
4703 | + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | ||
4704 | +fi | ||
4705 | + | ||
4706 | +if test -n "$ac_config_headers"; then | ||
4707 | + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | ||
4708 | +fi | ||
4709 | + | ||
4710 | +if test -n "$ac_config_links"; then | ||
4711 | + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | ||
4712 | +fi | ||
4713 | + | ||
4714 | +if test -n "$ac_config_commands"; then | ||
4715 | + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | ||
4716 | +fi | ||
4717 | + | ||
4718 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
4719 | + | ||
4720 | +ac_cs_usage="\ | ||
4721 | +\`$as_me' instantiates files from templates according to the | ||
4722 | +current configuration. | ||
4723 | + | ||
4724 | +Usage: $0 [OPTIONS] [FILE]... | ||
4725 | + | ||
4726 | + -h, --help print this help, then exit | ||
4727 | + -V, --version print version number, then exit | ||
4728 | + -q, --quiet do not print progress messages | ||
4729 | + -d, --debug don't remove temporary files | ||
4730 | + --recheck update $as_me by reconfiguring in the same conditions | ||
4731 | + --file=FILE[:TEMPLATE] | ||
4732 | + instantiate the configuration file FILE | ||
4733 | + | ||
4734 | +Configuration files: | ||
4735 | +$config_files | ||
4736 | + | ||
4737 | +Report bugs to <bug-autoconf@gnu.org>." | ||
4738 | +_ACEOF | ||
4739 | + | ||
4740 | +cat >>$CONFIG_STATUS <<_ACEOF | ||
4741 | +ac_cs_version="\\ | ||
4742 | +quilt config.status 0.37 | ||
4743 | +configured by $0, generated by GNU Autoconf 2.59, | ||
4744 | + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | ||
4745 | + | ||
4746 | +Copyright (C) 2003 Free Software Foundation, Inc. | ||
4747 | +This config.status script is free software; the Free Software Foundation | ||
4748 | +gives unlimited permission to copy, distribute and modify it." | ||
4749 | +srcdir=$srcdir | ||
4750 | +INSTALL="$INSTALL" | ||
4751 | +_ACEOF | ||
4752 | + | ||
4753 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
4754 | +# If no file are specified by the user, then we need to provide default | ||
4755 | +# value. By we need to know if files were specified by the user. | ||
4756 | +ac_need_defaults=: | ||
4757 | +while test $# != 0 | ||
4758 | +do | ||
4759 | + case $1 in | ||
4760 | + --*=*) | ||
4761 | + ac_option=`expr "x$1" : 'x\([^=]*\)='` | ||
4762 | + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | ||
4763 | + ac_shift=: | ||
4764 | + ;; | ||
4765 | + -*) | ||
4766 | + ac_option=$1 | ||
4767 | + ac_optarg=$2 | ||
4768 | + ac_shift=shift | ||
4769 | + ;; | ||
4770 | + *) # This is not an option, so the user has probably given explicit | ||
4771 | + # arguments. | ||
4772 | + ac_option=$1 | ||
4773 | + ac_need_defaults=false;; | ||
4774 | + esac | ||
4775 | + | ||
4776 | + case $ac_option in | ||
4777 | + # Handling of the options. | ||
4778 | +_ACEOF | ||
4779 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
4780 | + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | ||
4781 | + ac_cs_recheck=: ;; | ||
4782 | + --version | --vers* | -V ) | ||
4783 | + echo "$ac_cs_version"; exit 0 ;; | ||
4784 | + --he | --h) | ||
4785 | + # Conflict between --help and --header | ||
4786 | + { { echo "$as_me:$LINENO: error: ambiguous option: $1 | ||
4787 | +Try \`$0 --help' for more information." >&5 | ||
4788 | +echo "$as_me: error: ambiguous option: $1 | ||
4789 | +Try \`$0 --help' for more information." >&2;} | ||
4790 | + { (exit 1); exit 1; }; };; | ||
4791 | + --help | --hel | -h ) | ||
4792 | + echo "$ac_cs_usage"; exit 0 ;; | ||
4793 | + --debug | --d* | -d ) | ||
4794 | + debug=: ;; | ||
4795 | + --file | --fil | --fi | --f ) | ||
4796 | + $ac_shift | ||
4797 | + CONFIG_FILES="$CONFIG_FILES $ac_optarg" | ||
4798 | + ac_need_defaults=false;; | ||
4799 | + --header | --heade | --head | --hea ) | ||
4800 | + $ac_shift | ||
4801 | + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | ||
4802 | + ac_need_defaults=false;; | ||
4803 | + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
4804 | + | -silent | --silent | --silen | --sile | --sil | --si | --s) | ||
4805 | + ac_cs_silent=: ;; | ||
4806 | + | ||
4807 | + # This is an error. | ||
4808 | + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | ||
4809 | +Try \`$0 --help' for more information." >&5 | ||
4810 | +echo "$as_me: error: unrecognized option: $1 | ||
4811 | +Try \`$0 --help' for more information." >&2;} | ||
4812 | + { (exit 1); exit 1; }; } ;; | ||
4813 | + | ||
4814 | + *) ac_config_targets="$ac_config_targets $1" ;; | ||
4815 | + | ||
4816 | + esac | ||
4817 | + shift | ||
4818 | +done | ||
4819 | + | ||
4820 | +ac_configure_extra_args= | ||
4821 | + | ||
4822 | +if $ac_cs_silent; then | ||
4823 | + exec 6>/dev/null | ||
4824 | + ac_configure_extra_args="$ac_configure_extra_args --silent" | ||
4825 | +fi | ||
4826 | + | ||
4827 | +_ACEOF | ||
4828 | +cat >>$CONFIG_STATUS <<_ACEOF | ||
4829 | +if \$ac_cs_recheck; then | ||
4830 | + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | ||
4831 | + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | ||
4832 | +fi | ||
4833 | + | ||
4834 | +_ACEOF | ||
4835 | + | ||
4836 | + | ||
4837 | + | ||
4838 | + | ||
4839 | + | ||
4840 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
4841 | +for ac_config_target in $ac_config_targets | ||
4842 | +do | ||
4843 | + case "$ac_config_target" in | ||
4844 | + # Handling of arguments. | ||
4845 | + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | ||
4846 | + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | ||
4847 | +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | ||
4848 | + { (exit 1); exit 1; }; };; | ||
4849 | + esac | ||
4850 | +done | ||
4851 | + | ||
4852 | +# If the user did not use the arguments to specify the items to instantiate, | ||
4853 | +# then the envvar interface is used. Set only those that are not. | ||
4854 | +# We use the long form for the default assignment because of an extremely | ||
4855 | +# bizarre bug on SunOS 4.1.3. | ||
4856 | +if $ac_need_defaults; then | ||
4857 | + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | ||
4858 | +fi | ||
4859 | + | ||
4860 | +# Have a temporary directory for convenience. Make it in the build tree | ||
4861 | +# simply because there is no reason to put it here, and in addition, | ||
4862 | +# creating and moving files from /tmp can sometimes cause problems. | ||
4863 | +# Create a temporary directory, and hook for its removal unless debugging. | ||
4864 | +$debug || | ||
4865 | +{ | ||
4866 | + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | ||
4867 | + trap '{ (exit 1); exit 1; }' 1 2 13 15 | ||
4868 | +} | ||
4869 | + | ||
4870 | +# Create a (secure) tmp directory for tmp files. | ||
4871 | + | ||
4872 | +{ | ||
4873 | + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | ||
4874 | + test -n "$tmp" && test -d "$tmp" | ||
4875 | +} || | ||
4876 | +{ | ||
4877 | + tmp=./confstat$$-$RANDOM | ||
4878 | + (umask 077 && mkdir $tmp) | ||
4879 | +} || | ||
4880 | +{ | ||
4881 | + echo "$me: cannot create a temporary directory in ." >&2 | ||
4882 | + { (exit 1); exit 1; } | ||
4883 | +} | ||
4884 | + | ||
4885 | +_ACEOF | ||
4886 | + | ||
4887 | +cat >>$CONFIG_STATUS <<_ACEOF | ||
4888 | + | ||
4889 | +# | ||
4890 | +# CONFIG_FILES section. | ||
4891 | +# | ||
4892 | + | ||
4893 | +# No need to generate the scripts if there are no CONFIG_FILES. | ||
4894 | +# This happens for instance when ./config.status config.h | ||
4895 | +if test -n "\$CONFIG_FILES"; then | ||
4896 | + # Protect against being on the right side of a sed subst in config.status. | ||
4897 | + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | ||
4898 | + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | ||
4899 | +s,@SHELL@,$SHELL,;t t | ||
4900 | +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | ||
4901 | +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | ||
4902 | +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | ||
4903 | +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | ||
4904 | +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | ||
4905 | +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | ||
4906 | +s,@exec_prefix@,$exec_prefix,;t t | ||
4907 | +s,@prefix@,$prefix,;t t | ||
4908 | +s,@program_transform_name@,$program_transform_name,;t t | ||
4909 | +s,@bindir@,$bindir,;t t | ||
4910 | +s,@sbindir@,$sbindir,;t t | ||
4911 | +s,@libexecdir@,$libexecdir,;t t | ||
4912 | +s,@datadir@,$datadir,;t t | ||
4913 | +s,@sysconfdir@,$sysconfdir,;t t | ||
4914 | +s,@sharedstatedir@,$sharedstatedir,;t t | ||
4915 | +s,@localstatedir@,$localstatedir,;t t | ||
4916 | +s,@libdir@,$libdir,;t t | ||
4917 | +s,@includedir@,$includedir,;t t | ||
4918 | +s,@oldincludedir@,$oldincludedir,;t t | ||
4919 | +s,@infodir@,$infodir,;t t | ||
4920 | +s,@mandir@,$mandir,;t t | ||
4921 | +s,@build_alias@,$build_alias,;t t | ||
4922 | +s,@host_alias@,$host_alias,;t t | ||
4923 | +s,@target_alias@,$target_alias,;t t | ||
4924 | +s,@DEFS@,$DEFS,;t t | ||
4925 | +s,@ECHO_C@,$ECHO_C,;t t | ||
4926 | +s,@ECHO_N@,$ECHO_N,;t t | ||
4927 | +s,@ECHO_T@,$ECHO_T,;t t | ||
4928 | +s,@LIBS@,$LIBS,;t t | ||
4929 | +s,@PACKAGE_RELEASE@,$PACKAGE_RELEASE,;t t | ||
4930 | +s,@CC@,$CC,;t t | ||
4931 | +s,@CFLAGS@,$CFLAGS,;t t | ||
4932 | +s,@LDFLAGS@,$LDFLAGS,;t t | ||
4933 | +s,@CPPFLAGS@,$CPPFLAGS,;t t | ||
4934 | +s,@ac_ct_CC@,$ac_ct_CC,;t t | ||
4935 | +s,@EXEEXT@,$EXEEXT,;t t | ||
4936 | +s,@OBJEXT@,$OBJEXT,;t t | ||
4937 | +s,@CPP@,$CPP,;t t | ||
4938 | +s,@EGREP@,$EGREP,;t t | ||
4939 | +s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t | ||
4940 | +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | ||
4941 | +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | ||
4942 | +s,@INSTALL_DATA@,$INSTALL_DATA,;t t | ||
4943 | +s,@BASH@,$BASH,;t t | ||
4944 | +s,@PERL@,$PERL,;t t | ||
4945 | +s,@SED@,$SED,;t t | ||
4946 | +s,@AWK@,$AWK,;t t | ||
4947 | +s,@MKTEMP@,$MKTEMP,;t t | ||
4948 | +s,@DIFF@,$DIFF,;t t | ||
4949 | +s,@PATCH@,$PATCH,;t t | ||
4950 | +s,@DIFFSTAT@,$DIFFSTAT,;t t | ||
4951 | +s,@MSGFMT@,$MSGFMT,;t t | ||
4952 | +s,@docdir@,$docdir,;t t | ||
4953 | +s,@RPMBUILD@,$RPMBUILD,;t t | ||
4954 | +s,@LTLIBOBJS@,$LTLIBOBJS,;t t | ||
4955 | +CEOF | ||
4956 | + | ||
4957 | +_ACEOF | ||
4958 | + | ||
4959 | + cat >>$CONFIG_STATUS <<\_ACEOF | ||
4960 | + # Split the substitutions into bite-sized pieces for seds with | ||
4961 | + # small command number limits, like on Digital OSF/1 and HP-UX. | ||
4962 | + ac_max_sed_lines=48 | ||
4963 | + ac_sed_frag=1 # Number of current file. | ||
4964 | + ac_beg=1 # First line for current file. | ||
4965 | + ac_end=$ac_max_sed_lines # Line after last line for current file. | ||
4966 | + ac_more_lines=: | ||
4967 | + ac_sed_cmds= | ||
4968 | + while $ac_more_lines; do | ||
4969 | + if test $ac_beg -gt 1; then | ||
4970 | + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | ||
4971 | + else | ||
4972 | + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | ||
4973 | + fi | ||
4974 | + if test ! -s $tmp/subs.frag; then | ||
4975 | + ac_more_lines=false | ||
4976 | + else | ||
4977 | + # The purpose of the label and of the branching condition is to | ||
4978 | + # speed up the sed processing (if there are no `@' at all, there | ||
4979 | + # is no need to browse any of the substitutions). | ||
4980 | + # These are the two extra sed commands mentioned above. | ||
4981 | + (echo ':t | ||
4982 | + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | ||
4983 | + if test -z "$ac_sed_cmds"; then | ||
4984 | + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | ||
4985 | + else | ||
4986 | + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | ||
4987 | + fi | ||
4988 | + ac_sed_frag=`expr $ac_sed_frag + 1` | ||
4989 | + ac_beg=$ac_end | ||
4990 | + ac_end=`expr $ac_end + $ac_max_sed_lines` | ||
4991 | + fi | ||
4992 | + done | ||
4993 | + if test -z "$ac_sed_cmds"; then | ||
4994 | + ac_sed_cmds=cat | ||
4995 | + fi | ||
4996 | +fi # test -n "$CONFIG_FILES" | ||
4997 | + | ||
4998 | +_ACEOF | ||
4999 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
5000 | +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | ||
5001 | + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | ||
5002 | + case $ac_file in | ||
5003 | + - | *:- | *:-:* ) # input from stdin | ||
5004 | + cat >$tmp/stdin | ||
5005 | + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
5006 | + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
5007 | + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
5008 | + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
5009 | + * ) ac_file_in=$ac_file.in ;; | ||
5010 | + esac | ||
5011 | + | ||
5012 | + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | ||
5013 | + ac_dir=`(dirname "$ac_file") 2>/dev/null || | ||
5014 | +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
5015 | + X"$ac_file" : 'X\(//\)[^/]' \| \ | ||
5016 | + X"$ac_file" : 'X\(//\)$' \| \ | ||
5017 | + X"$ac_file" : 'X\(/\)' \| \ | ||
5018 | + . : '\(.\)' 2>/dev/null || | ||
5019 | +echo X"$ac_file" | | ||
5020 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
5021 | + /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
5022 | + /^X\(\/\/\)$/{ s//\1/; q; } | ||
5023 | + /^X\(\/\).*/{ s//\1/; q; } | ||
5024 | + s/.*/./; q'` | ||
5025 | + { if $as_mkdir_p; then | ||
5026 | + mkdir -p "$ac_dir" | ||
5027 | + else | ||
5028 | + as_dir="$ac_dir" | ||
5029 | + as_dirs= | ||
5030 | + while test ! -d "$as_dir"; do | ||
5031 | + as_dirs="$as_dir $as_dirs" | ||
5032 | + as_dir=`(dirname "$as_dir") 2>/dev/null || | ||
5033 | +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
5034 | + X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
5035 | + X"$as_dir" : 'X\(//\)$' \| \ | ||
5036 | + X"$as_dir" : 'X\(/\)' \| \ | ||
5037 | + . : '\(.\)' 2>/dev/null || | ||
5038 | +echo X"$as_dir" | | ||
5039 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
5040 | + /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
5041 | + /^X\(\/\/\)$/{ s//\1/; q; } | ||
5042 | + /^X\(\/\).*/{ s//\1/; q; } | ||
5043 | + s/.*/./; q'` | ||
5044 | + done | ||
5045 | + test ! -n "$as_dirs" || mkdir $as_dirs | ||
5046 | + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | ||
5047 | +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | ||
5048 | + { (exit 1); exit 1; }; }; } | ||
5049 | + | ||
5050 | + ac_builddir=. | ||
5051 | + | ||
5052 | +if test "$ac_dir" != .; then | ||
5053 | + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | ||
5054 | + # A "../" for each directory in $ac_dir_suffix. | ||
5055 | + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | ||
5056 | +else | ||
5057 | + ac_dir_suffix= ac_top_builddir= | ||
5058 | +fi | ||
5059 | + | ||
5060 | +case $srcdir in | ||
5061 | + .) # No --srcdir option. We are building in place. | ||
5062 | + ac_srcdir=. | ||
5063 | + if test -z "$ac_top_builddir"; then | ||
5064 | + ac_top_srcdir=. | ||
5065 | + else | ||
5066 | + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
5067 | + fi ;; | ||
5068 | + [\\/]* | ?:[\\/]* ) # Absolute path. | ||
5069 | + ac_srcdir=$srcdir$ac_dir_suffix; | ||
5070 | + ac_top_srcdir=$srcdir ;; | ||
5071 | + *) # Relative path. | ||
5072 | + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ||
5073 | + ac_top_srcdir=$ac_top_builddir$srcdir ;; | ||
5074 | +esac | ||
5075 | + | ||
5076 | +# Do not use `cd foo && pwd` to compute absolute paths, because | ||
5077 | +# the directories may not exist. | ||
5078 | +case `pwd` in | ||
5079 | +.) ac_abs_builddir="$ac_dir";; | ||
5080 | +*) | ||
5081 | + case "$ac_dir" in | ||
5082 | + .) ac_abs_builddir=`pwd`;; | ||
5083 | + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | ||
5084 | + *) ac_abs_builddir=`pwd`/"$ac_dir";; | ||
5085 | + esac;; | ||
5086 | +esac | ||
5087 | +case $ac_abs_builddir in | ||
5088 | +.) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
5089 | +*) | ||
5090 | + case ${ac_top_builddir}. in | ||
5091 | + .) ac_abs_top_builddir=$ac_abs_builddir;; | ||
5092 | + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
5093 | + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | ||
5094 | + esac;; | ||
5095 | +esac | ||
5096 | +case $ac_abs_builddir in | ||
5097 | +.) ac_abs_srcdir=$ac_srcdir;; | ||
5098 | +*) | ||
5099 | + case $ac_srcdir in | ||
5100 | + .) ac_abs_srcdir=$ac_abs_builddir;; | ||
5101 | + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | ||
5102 | + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | ||
5103 | + esac;; | ||
5104 | +esac | ||
5105 | +case $ac_abs_builddir in | ||
5106 | +.) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
5107 | +*) | ||
5108 | + case $ac_top_srcdir in | ||
5109 | + .) ac_abs_top_srcdir=$ac_abs_builddir;; | ||
5110 | + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
5111 | + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | ||
5112 | + esac;; | ||
5113 | +esac | ||
5114 | + | ||
5115 | + | ||
5116 | + case $INSTALL in | ||
5117 | + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | ||
5118 | + *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | ||
5119 | + esac | ||
5120 | + | ||
5121 | + # Let's still pretend it is `configure' which instantiates (i.e., don't | ||
5122 | + # use $as_me), people would be surprised to read: | ||
5123 | + # /* config.h. Generated by config.status. */ | ||
5124 | + if test x"$ac_file" = x-; then | ||
5125 | + configure_input= | ||
5126 | + else | ||
5127 | + configure_input="$ac_file. " | ||
5128 | + fi | ||
5129 | + configure_input=$configure_input"Generated from `echo $ac_file_in | | ||
5130 | + sed 's,.*/,,'` by configure." | ||
5131 | + | ||
5132 | + # First look for the input files in the build tree, otherwise in the | ||
5133 | + # src tree. | ||
5134 | + ac_file_inputs=`IFS=: | ||
5135 | + for f in $ac_file_in; do | ||
5136 | + case $f in | ||
5137 | + -) echo $tmp/stdin ;; | ||
5138 | + [\\/$]*) | ||
5139 | + # Absolute (can't be DOS-style, as IFS=:) | ||
5140 | + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
5141 | +echo "$as_me: error: cannot find input file: $f" >&2;} | ||
5142 | + { (exit 1); exit 1; }; } | ||
5143 | + echo "$f";; | ||
5144 | + *) # Relative | ||
5145 | + if test -f "$f"; then | ||
5146 | + # Build tree | ||
5147 | + echo "$f" | ||
5148 | + elif test -f "$srcdir/$f"; then | ||
5149 | + # Source tree | ||
5150 | + echo "$srcdir/$f" | ||
5151 | + else | ||
5152 | + # /dev/null tree | ||
5153 | + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
5154 | +echo "$as_me: error: cannot find input file: $f" >&2;} | ||
5155 | + { (exit 1); exit 1; }; } | ||
5156 | + fi;; | ||
5157 | + esac | ||
5158 | + done` || { (exit 1); exit 1; } | ||
5159 | + | ||
5160 | + if test x"$ac_file" != x-; then | ||
5161 | + { echo "$as_me:$LINENO: creating $ac_file" >&5 | ||
5162 | +echo "$as_me: creating $ac_file" >&6;} | ||
5163 | + rm -f "$ac_file" | ||
5164 | + fi | ||
5165 | +_ACEOF | ||
5166 | +cat >>$CONFIG_STATUS <<_ACEOF | ||
5167 | + sed "$ac_vpsub | ||
5168 | +$extrasub | ||
5169 | +_ACEOF | ||
5170 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
5171 | +:t | ||
5172 | +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b | ||
5173 | +s,@configure_input@,$configure_input,;t t | ||
5174 | +s,@srcdir@,$ac_srcdir,;t t | ||
5175 | +s,@abs_srcdir@,$ac_abs_srcdir,;t t | ||
5176 | +s,@top_srcdir@,$ac_top_srcdir,;t t | ||
5177 | +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | ||
5178 | +s,@builddir@,$ac_builddir,;t t | ||
5179 | +s,@abs_builddir@,$ac_abs_builddir,;t t | ||
5180 | +s,@top_builddir@,$ac_top_builddir,;t t | ||
5181 | +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | ||
5182 | +s,@INSTALL@,$ac_INSTALL,;t t | ||
5183 | +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | ||
5184 | + rm -f $tmp/stdin | ||
5185 | + if test x"$ac_file" != x-; then | ||
5186 | + mv $tmp/out $ac_file | ||
5187 | + else | ||
5188 | + cat $tmp/out | ||
5189 | + rm -f $tmp/out | ||
5190 | + fi | ||
5191 | + | ||
5192 | +done | ||
5193 | +_ACEOF | ||
5194 | + | ||
5195 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
5196 | + | ||
5197 | +{ (exit 0); exit 0; } | ||
5198 | +_ACEOF | ||
5199 | +chmod +x $CONFIG_STATUS | ||
5200 | +ac_clean_files=$ac_clean_files_save | ||
5201 | + | ||
5202 | + | ||
5203 | +# configure is writing to config.log, and then calls config.status. | ||
5204 | +# config.status does its own redirection, appending to config.log. | ||
5205 | +# Unfortunately, on DOS this fails, as config.log is still kept open | ||
5206 | +# by configure, so config.status won't be able to write to it; its | ||
5207 | +# output is simply discarded. So we exec the FD to /dev/null, | ||
5208 | +# effectively closing config.log, so it can be properly (re)opened and | ||
5209 | +# appended to by config.status. When coming back to configure, we | ||
5210 | +# need to make the FD available again. | ||
5211 | +if test "$no_create" != yes; then | ||
5212 | + ac_cs_success=: | ||
5213 | + ac_config_status_args= | ||
5214 | + test "$silent" = yes && | ||
5215 | + ac_config_status_args="$ac_config_status_args --quiet" | ||
5216 | + exec 5>/dev/null | ||
5217 | + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | ||
5218 | + exec 5>>config.log | ||
5219 | + # Use ||, not &&, to avoid exiting from the if with $? = 1, which | ||
5220 | + # would make configure fail if this is the last instruction. | ||
5221 | + $ac_cs_success || { (exit 1); exit 1; } | ||
5222 | +fi | ||
5223 | + | ||
5224 | + | ||
5225 | +echo "$as_me:$LINENO: result: " >&5 | ||
5226 | +echo "${ECHO_T}" >&6 | ||
5227 | +echo "$as_me:$LINENO: result: $PACKAGE_NAME version $PACKAGE_VERSION configured." >&5 | ||
5228 | +echo "${ECHO_T}$PACKAGE_NAME version $PACKAGE_VERSION configured." >&6 | ||
5229 | +echo "$as_me:$LINENO: result: " >&5 | ||
5230 | +echo "${ECHO_T}" >&6 | ||
5231 | +echo "$as_me:$LINENO: result: Using '$prefix' for installation prefix." >&5 | ||
5232 | +echo "${ECHO_T}Using '$prefix' for installation prefix." >&6 | ||
5233 | + | ||
5234 | +# we don't need to see this just for the backup-files command | ||
5235 | +# but we may as well spec it for the future | ||
5236 | +#AC_MSG_RESULT([Using '$CC' for C compiler.]) | ||
5237 | +#AC_MSG_RESULT([Building with '$CFLAGS' for C compiler flags.]) | ||
5238 | +#AC_MSG_RESULT([Building with '$LIBS' for linker flags.]) | ||
5239 | + | ||
5240 | +echo "$as_me:$LINENO: result: " >&5 | ||
5241 | +echo "${ECHO_T}" >&6 | ||
5242 | +echo "$as_me:$LINENO: result: Report bugs to $PACKAGE_BUGREPORT" >&5 | ||
5243 | +echo "${ECHO_T}Report bugs to $PACKAGE_BUGREPORT" >&6 | ||
5244 | diff -urNd -urNd quilt/autom4te.cache/requests quilt.autoreconf/autom4te.cache/requests | ||
5245 | --- quilt/autom4te.cache/requests 1969-12-31 18:00:00.000000000 -0600 | ||
5246 | +++ quilt.autoreconf/autom4te.cache/requests 2005-01-17 21:06:39.000000000 -0600 | ||
5247 | @@ -0,0 +1,115 @@ | ||
5248 | +# This file was generated by Autom4te Sat Jan 8 16:59:54 PST 2005. | ||
5249 | +# It contains the lists of macros which have been traced. | ||
5250 | +# It can be safely removed. | ||
5251 | + | ||
5252 | +@request = ( | ||
5253 | + bless( [ | ||
5254 | + '0', | ||
5255 | + 1, | ||
5256 | + [ | ||
5257 | + '/usr/share/autoconf' | ||
5258 | + ], | ||
5259 | + [ | ||
5260 | + '/usr/share/autoconf/autoconf/autoconf.m4f', | ||
5261 | + 'configure.ac' | ||
5262 | + ], | ||
5263 | + { | ||
5264 | + 'm4_pattern_forbid' => 1, | ||
5265 | + 'AC_CONFIG_LIBOBJ_DIR' => 1, | ||
5266 | + 'AC_TYPE_OFF_T' => 1, | ||
5267 | + 'AC_C_VOLATILE' => 1, | ||
5268 | + 'AC_FUNC_CLOSEDIR_VOID' => 1, | ||
5269 | + 'AC_REPLACE_FNMATCH' => 1, | ||
5270 | + 'AC_PROG_LIBTOOL' => 1, | ||
5271 | + 'AC_FUNC_STAT' => 1, | ||
5272 | + 'AC_HEADER_TIME' => 1, | ||
5273 | + 'AC_FUNC_WAIT3' => 1, | ||
5274 | + 'AM_AUTOMAKE_VERSION' => 1, | ||
5275 | + 'AC_STRUCT_TM' => 1, | ||
5276 | + 'AC_FUNC_LSTAT' => 1, | ||
5277 | + 'AC_TYPE_MODE_T' => 1, | ||
5278 | + 'AC_FUNC_GETMNTENT' => 1, | ||
5279 | + 'AC_FUNC_STRTOD' => 1, | ||
5280 | + 'AC_CHECK_HEADERS' => 1, | ||
5281 | + 'AC_FUNC_STRNLEN' => 1, | ||
5282 | + 'm4_sinclude' => 1, | ||
5283 | + 'AC_PROG_CXX' => 1, | ||
5284 | + 'AC_PATH_X' => 1, | ||
5285 | + 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1, | ||
5286 | + 'AC_PROG_AWK' => 1, | ||
5287 | + '_m4_warn' => 1, | ||
5288 | + 'AC_HEADER_STDC' => 1, | ||
5289 | + 'AC_HEADER_MAJOR' => 1, | ||
5290 | + 'AC_FUNC_ERROR_AT_LINE' => 1, | ||
5291 | + 'AC_PROG_GCC_TRADITIONAL' => 1, | ||
5292 | + 'AC_LIBSOURCE' => 1, | ||
5293 | + 'AC_FUNC_MBRTOWC' => 1, | ||
5294 | + 'AC_STRUCT_ST_BLOCKS' => 1, | ||
5295 | + 'AC_TYPE_SIGNAL' => 1, | ||
5296 | + 'AC_TYPE_UID_T' => 1, | ||
5297 | + 'AC_CONFIG_AUX_DIR' => 1, | ||
5298 | + 'AC_PROG_MAKE_SET' => 1, | ||
5299 | + 'sinclude' => 1, | ||
5300 | + 'm4_pattern_allow' => 1, | ||
5301 | + 'AC_DEFINE_TRACE_LITERAL' => 1, | ||
5302 | + 'AC_FUNC_STRERROR_R' => 1, | ||
5303 | + 'AC_PROG_CC' => 1, | ||
5304 | + 'AC_FUNC_FORK' => 1, | ||
5305 | + 'AC_DECL_SYS_SIGLIST' => 1, | ||
5306 | + 'AC_FUNC_VPRINTF' => 1, | ||
5307 | + 'AC_FUNC_STRCOLL' => 1, | ||
5308 | + 'AC_PROG_YACC' => 1, | ||
5309 | + 'AC_INIT' => 1, | ||
5310 | + 'AC_STRUCT_TIMEZONE' => 1, | ||
5311 | + 'AC_FUNC_CHOWN' => 1, | ||
5312 | + 'AC_SUBST' => 1, | ||
5313 | + 'AC_FUNC_ALLOCA' => 1, | ||
5314 | + 'AC_CANONICAL_HOST' => 1, | ||
5315 | + 'AC_FUNC_GETPGRP' => 1, | ||
5316 | + 'AC_PROG_RANLIB' => 1, | ||
5317 | + 'AM_INIT_AUTOMAKE' => 1, | ||
5318 | + 'AC_FUNC_SETPGRP' => 1, | ||
5319 | + 'AC_CONFIG_SUBDIRS' => 1, | ||
5320 | + 'AC_FUNC_MMAP' => 1, | ||
5321 | + 'AC_FUNC_REALLOC' => 1, | ||
5322 | + 'AC_TYPE_SIZE_T' => 1, | ||
5323 | + 'AC_CONFIG_LINKS' => 1, | ||
5324 | + 'AC_CHECK_TYPES' => 1, | ||
5325 | + 'AC_CHECK_MEMBERS' => 1, | ||
5326 | + 'AM_MAINTAINER_MODE' => 1, | ||
5327 | + 'AC_FUNC_UTIME_NULL' => 1, | ||
5328 | + 'AC_FUNC_SELECT_ARGTYPES' => 1, | ||
5329 | + 'AC_FUNC_STRFTIME' => 1, | ||
5330 | + 'AC_HEADER_STAT' => 1, | ||
5331 | + 'AC_C_INLINE' => 1, | ||
5332 | + 'AC_PROG_CPP' => 1, | ||
5333 | + 'AC_TYPE_PID_T' => 1, | ||
5334 | + 'AC_C_CONST' => 1, | ||
5335 | + 'AC_PROG_LEX' => 1, | ||
5336 | + 'AC_CONFIG_FILES' => 1, | ||
5337 | + 'include' => 1, | ||
5338 | + 'AC_FUNC_SETVBUF_REVERSED' => 1, | ||
5339 | + 'AC_PROG_INSTALL' => 1, | ||
5340 | + 'AM_GNU_GETTEXT' => 1, | ||
5341 | + 'AC_FUNC_OBSTACK' => 1, | ||
5342 | + 'AC_CHECK_LIB' => 1, | ||
5343 | + 'AC_FUNC_MALLOC' => 1, | ||
5344 | + 'AC_FUNC_GETGROUPS' => 1, | ||
5345 | + 'AC_FUNC_GETLOADAVG' => 1, | ||
5346 | + 'AH_OUTPUT' => 1, | ||
5347 | + 'AC_FUNC_FSEEKO' => 1, | ||
5348 | + 'AM_PROG_CC_C_O' => 1, | ||
5349 | + 'AM_CONDITIONAL' => 1, | ||
5350 | + 'AC_CANONICAL_SYSTEM' => 1, | ||
5351 | + 'AC_FUNC_MKTIME' => 1, | ||
5352 | + 'AC_CONFIG_HEADERS' => 1, | ||
5353 | + 'AC_HEADER_SYS_WAIT' => 1, | ||
5354 | + 'AC_FUNC_MEMCMP' => 1, | ||
5355 | + 'AC_PROG_LN_S' => 1, | ||
5356 | + 'm4_include' => 1, | ||
5357 | + 'AC_HEADER_DIRENT' => 1, | ||
5358 | + 'AC_CHECK_FUNCS' => 1 | ||
5359 | + } | ||
5360 | + ], 'Autom4te::Request' ) | ||
5361 | + ); | ||
5362 | + | ||
5363 | diff -urNd -urNd quilt/autom4te.cache/traces.0 quilt.autoreconf/autom4te.cache/traces.0 | ||
5364 | --- quilt/autom4te.cache/traces.0 1969-12-31 18:00:00.000000000 -0600 | ||
5365 | +++ quilt.autoreconf/autom4te.cache/traces.0 2005-01-17 21:06:39.000000000 -0600 | ||
5366 | @@ -0,0 +1,185 @@ | ||
5367 | +m4trace:configure.ac:2: -1- AC_INIT([quilt], [0.37], [quilt-dev@nongnu.org]) | ||
5368 | +m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?A[CHUM]_]) | ||
5369 | +m4trace:configure.ac:2: -1- m4_pattern_forbid([_AC_]) | ||
5370 | +m4trace:configure.ac:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) | ||
5371 | +m4trace:configure.ac:2: -1- m4_pattern_allow([^AS_FLAGS$]) | ||
5372 | +m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?m4_]) | ||
5373 | +m4trace:configure.ac:2: -1- m4_pattern_forbid([^dnl$]) | ||
5374 | +m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?AS_]) | ||
5375 | +m4trace:configure.ac:2: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}]) | ||
5376 | +m4trace:configure.ac:2: -1- AC_SUBST([PATH_SEPARATOR]) | ||
5377 | +m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) | ||
5378 | +m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) | ||
5379 | +m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) | ||
5380 | +m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) | ||
5381 | +m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) | ||
5382 | +m4trace:configure.ac:2: -1- AC_SUBST([exec_prefix], [NONE]) | ||
5383 | +m4trace:configure.ac:2: -1- AC_SUBST([prefix], [NONE]) | ||
5384 | +m4trace:configure.ac:2: -1- AC_SUBST([program_transform_name], [s,x,x,]) | ||
5385 | +m4trace:configure.ac:2: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) | ||
5386 | +m4trace:configure.ac:2: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) | ||
5387 | +m4trace:configure.ac:2: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) | ||
5388 | +m4trace:configure.ac:2: -1- AC_SUBST([datadir], ['${prefix}/share']) | ||
5389 | +m4trace:configure.ac:2: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) | ||
5390 | +m4trace:configure.ac:2: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) | ||
5391 | +m4trace:configure.ac:2: -1- AC_SUBST([localstatedir], ['${prefix}/var']) | ||
5392 | +m4trace:configure.ac:2: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) | ||
5393 | +m4trace:configure.ac:2: -1- AC_SUBST([includedir], ['${prefix}/include']) | ||
5394 | +m4trace:configure.ac:2: -1- AC_SUBST([oldincludedir], ['/usr/include']) | ||
5395 | +m4trace:configure.ac:2: -1- AC_SUBST([infodir], ['${prefix}/info']) | ||
5396 | +m4trace:configure.ac:2: -1- AC_SUBST([mandir], ['${prefix}/man']) | ||
5397 | +m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) | ||
5398 | +m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ | ||
5399 | +#undef PACKAGE_NAME]) | ||
5400 | +m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) | ||
5401 | +m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ | ||
5402 | +#undef PACKAGE_TARNAME]) | ||
5403 | +m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) | ||
5404 | +m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ | ||
5405 | +#undef PACKAGE_VERSION]) | ||
5406 | +m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) | ||
5407 | +m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ | ||
5408 | +#undef PACKAGE_STRING]) | ||
5409 | +m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) | ||
5410 | +m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ | ||
5411 | +#undef PACKAGE_BUGREPORT]) | ||
5412 | +m4trace:configure.ac:2: -1- AC_SUBST([build_alias]) | ||
5413 | +m4trace:configure.ac:2: -1- AC_SUBST([host_alias]) | ||
5414 | +m4trace:configure.ac:2: -1- AC_SUBST([target_alias]) | ||
5415 | +m4trace:configure.ac:2: -1- AC_SUBST([DEFS]) | ||
5416 | +m4trace:configure.ac:2: -1- AC_SUBST([ECHO_C]) | ||
5417 | +m4trace:configure.ac:2: -1- AC_SUBST([ECHO_N]) | ||
5418 | +m4trace:configure.ac:2: -1- AC_SUBST([ECHO_T]) | ||
5419 | +m4trace:configure.ac:2: -1- AC_SUBST([LIBS]) | ||
5420 | +m4trace:configure.ac:3: -1- AC_CONFIG_AUX_DIR([config]) | ||
5421 | +m4trace:configure.ac:8: -1- AC_SUBST([PACKAGE_RELEASE]) | ||
5422 | +m4trace:configure.ac:11: -1- AC_HEADER_STDC | ||
5423 | +m4trace:configure.ac:11: -1- AC_PROG_CC | ||
5424 | +m4trace:configure.ac:11: -1- AC_SUBST([CC]) | ||
5425 | +m4trace:configure.ac:11: -1- AC_SUBST([CFLAGS]) | ||
5426 | +m4trace:configure.ac:11: -1- AC_SUBST([LDFLAGS]) | ||
5427 | +m4trace:configure.ac:11: -1- AC_SUBST([CPPFLAGS]) | ||
5428 | +m4trace:configure.ac:11: -1- AC_SUBST([CC]) | ||
5429 | +m4trace:configure.ac:11: -1- AC_SUBST([ac_ct_CC]) | ||
5430 | +m4trace:configure.ac:11: -1- AC_SUBST([CC]) | ||
5431 | +m4trace:configure.ac:11: -1- AC_SUBST([ac_ct_CC]) | ||
5432 | +m4trace:configure.ac:11: -1- AC_SUBST([CC]) | ||
5433 | +m4trace:configure.ac:11: -1- AC_SUBST([CC]) | ||
5434 | +m4trace:configure.ac:11: -1- AC_SUBST([ac_ct_CC]) | ||
5435 | +m4trace:configure.ac:11: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) | ||
5436 | +m4trace:configure.ac:11: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) | ||
5437 | +m4trace:configure.ac:11: -1- AC_PROG_CPP | ||
5438 | +m4trace:configure.ac:11: -1- AC_SUBST([CPP]) | ||
5439 | +m4trace:configure.ac:11: -1- AC_SUBST([CPPFLAGS]) | ||
5440 | +m4trace:configure.ac:11: -1- AC_SUBST([CPP]) | ||
5441 | +m4trace:configure.ac:11: -1- AC_SUBST([EGREP]) | ||
5442 | +m4trace:configure.ac:11: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) | ||
5443 | +m4trace:configure.ac:11: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */ | ||
5444 | +#undef STDC_HEADERS]) | ||
5445 | +m4trace:configure.ac:12: -1- AC_CHECK_FUNCS([mkdir]) | ||
5446 | +m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_MKDIR], [/* Define to 1 if you have the `mkdir\' function. */ | ||
5447 | +#undef HAVE_MKDIR]) | ||
5448 | +m4trace:configure.ac:13: -1- AC_CHECK_FUNCS([rmdir]) | ||
5449 | +m4trace:configure.ac:13: -1- AH_OUTPUT([HAVE_RMDIR], [/* Define to 1 if you have the `rmdir\' function. */ | ||
5450 | +#undef HAVE_RMDIR]) | ||
5451 | +m4trace:configure.ac:14: -1- AC_CHECK_FUNCS([strchr]) | ||
5452 | +m4trace:configure.ac:14: -1- AH_OUTPUT([HAVE_STRCHR], [/* Define to 1 if you have the `strchr\' function. */ | ||
5453 | +#undef HAVE_STRCHR]) | ||
5454 | +m4trace:configure.ac:15: -1- AC_CHECK_FUNCS([strerror]) | ||
5455 | +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */ | ||
5456 | +#undef HAVE_STRERROR]) | ||
5457 | +m4trace:configure.ac:16: -1- AC_CHECK_FUNCS([strrchr]) | ||
5458 | +m4trace:configure.ac:16: -1- AH_OUTPUT([HAVE_STRRCHR], [/* Define to 1 if you have the `strrchr\' function. */ | ||
5459 | +#undef HAVE_STRRCHR]) | ||
5460 | +m4trace:configure.ac:17: -1- AC_C_CONST | ||
5461 | +m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([const]) | ||
5462 | +m4trace:configure.ac:17: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */ | ||
5463 | +#undef const]) | ||
5464 | +m4trace:configure.ac:18: -1- AC_FUNC_STAT | ||
5465 | +m4trace:configure.ac:18: -1- AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK | ||
5466 | +m4trace:configure.ac:18: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
5467 | + inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default]) | ||
5468 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */ | ||
5469 | +#undef HAVE_SYS_TYPES_H]) | ||
5470 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */ | ||
5471 | +#undef HAVE_SYS_STAT_H]) | ||
5472 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */ | ||
5473 | +#undef HAVE_STDLIB_H]) | ||
5474 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */ | ||
5475 | +#undef HAVE_STRING_H]) | ||
5476 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */ | ||
5477 | +#undef HAVE_MEMORY_H]) | ||
5478 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */ | ||
5479 | +#undef HAVE_STRINGS_H]) | ||
5480 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */ | ||
5481 | +#undef HAVE_INTTYPES_H]) | ||
5482 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */ | ||
5483 | +#undef HAVE_STDINT_H]) | ||
5484 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */ | ||
5485 | +#undef HAVE_UNISTD_H]) | ||
5486 | +m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([LSTAT_FOLLOWS_SLASHED_SYMLINK]) | ||
5487 | +m4trace:configure.ac:18: -1- AH_OUTPUT([LSTAT_FOLLOWS_SLASHED_SYMLINK], [/* Define to 1 if `lstat\' dereferences a symlink specified with a trailing | ||
5488 | + slash. */ | ||
5489 | +#undef LSTAT_FOLLOWS_SLASHED_SYMLINK]) | ||
5490 | +m4trace:configure.ac:18: -1- AC_LIBSOURCE([lstat.c]) | ||
5491 | +m4trace:configure.ac:18: -1- AC_SUBST([LIB@&t@OBJS]) | ||
5492 | +m4trace:configure.ac:18: -1- AC_LIBSOURCE([stat.c]) | ||
5493 | +m4trace:configure.ac:18: -1- AC_SUBST([LIB@&t@OBJS]) | ||
5494 | +m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STAT_EMPTY_STRING_BUG]) | ||
5495 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STAT_EMPTY_STRING_BUG], [/* Define to 1 if `stat\' has the bug that it succeeds when given the | ||
5496 | + zero-length file name argument. */ | ||
5497 | +#undef HAVE_STAT_EMPTY_STRING_BUG]) | ||
5498 | +m4trace:configure.ac:20: -1- AC_PROG_INSTALL | ||
5499 | +m4trace:configure.ac:20: -1- AC_SUBST([INSTALL_PROGRAM]) | ||
5500 | +m4trace:configure.ac:20: -1- AC_SUBST([INSTALL_SCRIPT]) | ||
5501 | +m4trace:configure.ac:20: -1- AC_SUBST([INSTALL_DATA]) | ||
5502 | +m4trace:configure.ac:34: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5503 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5504 | +configure.ac:34: the top level]) | ||
5505 | +m4trace:configure.ac:41: -1- AC_SUBST([BASH]) | ||
5506 | +m4trace:configure.ac:41: -1- AC_SUBST([BASH], [$ac_cv_path_BASH]) | ||
5507 | +m4trace:configure.ac:62: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5508 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5509 | +configure.ac:62: the top level]) | ||
5510 | +m4trace:configure.ac:69: -1- AC_SUBST([PERL]) | ||
5511 | +m4trace:configure.ac:69: -1- AC_SUBST([PERL], [$ac_cv_path_PERL]) | ||
5512 | +m4trace:configure.ac:76: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5513 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5514 | +configure.ac:76: the top level]) | ||
5515 | +m4trace:configure.ac:84: -1- AC_SUBST([SED]) | ||
5516 | +m4trace:configure.ac:84: -1- AC_SUBST([SED]) | ||
5517 | +m4trace:configure.ac:88: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5518 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5519 | +configure.ac:88: the top level]) | ||
5520 | +m4trace:configure.ac:95: -1- AC_SUBST([AWK]) | ||
5521 | +m4trace:configure.ac:95: -1- AC_SUBST([AWK], [$ac_cv_path_AWK]) | ||
5522 | +m4trace:configure.ac:106: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5523 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5524 | +configure.ac:106: the top level]) | ||
5525 | +m4trace:configure.ac:113: -1- AC_SUBST([MKTEMP]) | ||
5526 | +m4trace:configure.ac:113: -1- AC_SUBST([MKTEMP], [$ac_cv_path_MKTEMP]) | ||
5527 | +m4trace:configure.ac:134: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5528 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5529 | +configure.ac:134: the top level]) | ||
5530 | +m4trace:configure.ac:141: -1- AC_SUBST([DIFF]) | ||
5531 | +m4trace:configure.ac:141: -1- AC_SUBST([DIFF], [$ac_cv_path_DIFF]) | ||
5532 | +m4trace:configure.ac:148: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5533 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5534 | +configure.ac:148: the top level]) | ||
5535 | +m4trace:configure.ac:155: -1- AC_SUBST([PATCH]) | ||
5536 | +m4trace:configure.ac:155: -1- AC_SUBST([PATCH], [$ac_cv_path_PATCH]) | ||
5537 | +m4trace:configure.ac:187: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5538 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5539 | +configure.ac:187: the top level]) | ||
5540 | +m4trace:configure.ac:194: -1- AC_SUBST([DIFFSTAT]) | ||
5541 | +m4trace:configure.ac:194: -1- AC_SUBST([DIFFSTAT], [$ac_cv_path_DIFFSTAT]) | ||
5542 | +m4trace:configure.ac:207: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5543 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5544 | +configure.ac:207: the top level]) | ||
5545 | +m4trace:configure.ac:209: -1- AC_SUBST([MSGFMT], [$ac_cv_path_MSGFMT]) | ||
5546 | +m4trace:configure.ac:228: -1- AC_SUBST([docdir]) | ||
5547 | +m4trace:configure.ac:231: -1- AC_SUBST([RPMBUILD], [$ac_cv_path_RPMBUILD]) | ||
5548 | +m4trace:configure.ac:232: -1- AC_SUBST([RPMBUILD]) | ||
5549 | +m4trace:configure.ac:234: -1- AC_CONFIG_FILES([Makefile]) | ||
5550 | +m4trace:configure.ac:235: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) | ||
5551 | +m4trace:configure.ac:235: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) | ||
5552 | diff -urNd -urNd quilt/configure quilt.autoreconf/configure | ||
5553 | --- quilt/configure 1969-12-31 18:00:00.000000000 -0600 | ||
5554 | +++ quilt.autoreconf/configure 2005-01-17 21:06:39.000000000 -0600 | ||
5555 | @@ -0,0 +1,5239 @@ | ||
5556 | +#! /bin/sh | ||
5557 | +# From configure.ac . | ||
5558 | +# Guess values for system-dependent variables and create Makefiles. | ||
5559 | +# Generated by GNU Autoconf 2.59 for quilt 0.37. | ||
5560 | +# | ||
5561 | +# Report bugs to <quilt-dev@nongnu.org>. | ||
5562 | +# | ||
5563 | +# Copyright (C) 2003 Free Software Foundation, Inc. | ||
5564 | +# This configure script is free software; the Free Software Foundation | ||
5565 | +# gives unlimited permission to copy, distribute and modify it. | ||
5566 | +## --------------------- ## | ||
5567 | +## M4sh Initialization. ## | ||
5568 | +## --------------------- ## | ||
5569 | + | ||
5570 | +# Be Bourne compatible | ||
5571 | +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
5572 | + emulate sh | ||
5573 | + NULLCMD=: | ||
5574 | + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
5575 | + # is contrary to our usage. Disable this feature. | ||
5576 | + alias -g '${1+"$@"}'='"$@"' | ||
5577 | +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | ||
5578 | + set -o posix | ||
5579 | +fi | ||
5580 | +DUALCASE=1; export DUALCASE # for MKS sh | ||
5581 | + | ||
5582 | +# Support unset when possible. | ||
5583 | +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
5584 | + as_unset=unset | ||
5585 | +else | ||
5586 | + as_unset=false | ||
5587 | +fi | ||
5588 | + | ||
5589 | + | ||
5590 | +# Work around bugs in pre-3.0 UWIN ksh. | ||
5591 | +$as_unset ENV MAIL MAILPATH | ||
5592 | +PS1='$ ' | ||
5593 | +PS2='> ' | ||
5594 | +PS4='+ ' | ||
5595 | + | ||
5596 | +# NLS nuisances. | ||
5597 | +for as_var in \ | ||
5598 | + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | ||
5599 | + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | ||
5600 | + LC_TELEPHONE LC_TIME | ||
5601 | +do | ||
5602 | + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | ||
5603 | + eval $as_var=C; export $as_var | ||
5604 | + else | ||
5605 | + $as_unset $as_var | ||
5606 | + fi | ||
5607 | +done | ||
5608 | + | ||
5609 | +# Required to use basename. | ||
5610 | +if expr a : '\(a\)' >/dev/null 2>&1; then | ||
5611 | + as_expr=expr | ||
5612 | +else | ||
5613 | + as_expr=false | ||
5614 | +fi | ||
5615 | + | ||
5616 | +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | ||
5617 | + as_basename=basename | ||
5618 | +else | ||
5619 | + as_basename=false | ||
5620 | +fi | ||
5621 | + | ||
5622 | + | ||
5623 | +# Name of the executable. | ||
5624 | +as_me=`$as_basename "$0" || | ||
5625 | +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
5626 | + X"$0" : 'X\(//\)$' \| \ | ||
5627 | + X"$0" : 'X\(/\)$' \| \ | ||
5628 | + . : '\(.\)' 2>/dev/null || | ||
5629 | +echo X/"$0" | | ||
5630 | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | ||
5631 | + /^X\/\(\/\/\)$/{ s//\1/; q; } | ||
5632 | + /^X\/\(\/\).*/{ s//\1/; q; } | ||
5633 | + s/.*/./; q'` | ||
5634 | + | ||
5635 | + | ||
5636 | +# PATH needs CR, and LINENO needs CR and PATH. | ||
5637 | +# Avoid depending upon Character Ranges. | ||
5638 | +as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
5639 | +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
5640 | +as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
5641 | +as_cr_digits='0123456789' | ||
5642 | +as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
5643 | + | ||
5644 | +# The user is always right. | ||
5645 | +if test "${PATH_SEPARATOR+set}" != set; then | ||
5646 | + echo "#! /bin/sh" >conf$$.sh | ||
5647 | + echo "exit 0" >>conf$$.sh | ||
5648 | + chmod +x conf$$.sh | ||
5649 | + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
5650 | + PATH_SEPARATOR=';' | ||
5651 | + else | ||
5652 | + PATH_SEPARATOR=: | ||
5653 | + fi | ||
5654 | + rm -f conf$$.sh | ||
5655 | +fi | ||
5656 | + | ||
5657 | + | ||
5658 | + as_lineno_1=$LINENO | ||
5659 | + as_lineno_2=$LINENO | ||
5660 | + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
5661 | + test "x$as_lineno_1" != "x$as_lineno_2" && | ||
5662 | + test "x$as_lineno_3" = "x$as_lineno_2" || { | ||
5663 | + # Find who we are. Look in the path if we contain no path at all | ||
5664 | + # relative or not. | ||
5665 | + case $0 in | ||
5666 | + *[\\/]* ) as_myself=$0 ;; | ||
5667 | + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
5668 | +for as_dir in $PATH | ||
5669 | +do | ||
5670 | + IFS=$as_save_IFS | ||
5671 | + test -z "$as_dir" && as_dir=. | ||
5672 | + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
5673 | +done | ||
5674 | + | ||
5675 | + ;; | ||
5676 | + esac | ||
5677 | + # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
5678 | + # in which case we are not to be found in the path. | ||
5679 | + if test "x$as_myself" = x; then | ||
5680 | + as_myself=$0 | ||
5681 | + fi | ||
5682 | + if test ! -f "$as_myself"; then | ||
5683 | + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | ||
5684 | + { (exit 1); exit 1; }; } | ||
5685 | + fi | ||
5686 | + case $CONFIG_SHELL in | ||
5687 | + '') | ||
5688 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
5689 | +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
5690 | +do | ||
5691 | + IFS=$as_save_IFS | ||
5692 | + test -z "$as_dir" && as_dir=. | ||
5693 | + for as_base in sh bash ksh sh5; do | ||
5694 | + case $as_dir in | ||
5695 | + /*) | ||
5696 | + if ("$as_dir/$as_base" -c ' | ||
5697 | + as_lineno_1=$LINENO | ||
5698 | + as_lineno_2=$LINENO | ||
5699 | + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
5700 | + test "x$as_lineno_1" != "x$as_lineno_2" && | ||
5701 | + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | ||
5702 | + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | ||
5703 | + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | ||
5704 | + CONFIG_SHELL=$as_dir/$as_base | ||
5705 | + export CONFIG_SHELL | ||
5706 | + exec "$CONFIG_SHELL" "$0" ${1+"$@"} | ||
5707 | + fi;; | ||
5708 | + esac | ||
5709 | + done | ||
5710 | +done | ||
5711 | +;; | ||
5712 | + esac | ||
5713 | + | ||
5714 | + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
5715 | + # uniformly replaced by the line number. The first 'sed' inserts a | ||
5716 | + # line-number line before each line; the second 'sed' does the real | ||
5717 | + # work. The second script uses 'N' to pair each line-number line | ||
5718 | + # with the numbered line, and appends trailing '-' during | ||
5719 | + # substitution so that $LINENO is not a special case at line end. | ||
5720 | + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
5721 | + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | ||
5722 | + sed '=' <$as_myself | | ||
5723 | + sed ' | ||
5724 | + N | ||
5725 | + s,$,-, | ||
5726 | + : loop | ||
5727 | + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
5728 | + t loop | ||
5729 | + s,-$,, | ||
5730 | + s,^['$as_cr_digits']*\n,, | ||
5731 | + ' >$as_me.lineno && | ||
5732 | + chmod +x $as_me.lineno || | ||
5733 | + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | ||
5734 | + { (exit 1); exit 1; }; } | ||
5735 | + | ||
5736 | + # Don't try to exec as it changes $[0], causing all sort of problems | ||
5737 | + # (the dirname of $[0] is not the place where we might find the | ||
5738 | + # original and so on. Autoconf is especially sensible to this). | ||
5739 | + . ./$as_me.lineno | ||
5740 | + # Exit status is that of the last command. | ||
5741 | + exit | ||
5742 | +} | ||
5743 | + | ||
5744 | + | ||
5745 | +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | ||
5746 | + *c*,-n*) ECHO_N= ECHO_C=' | ||
5747 | +' ECHO_T=' ' ;; | ||
5748 | + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | ||
5749 | + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | ||
5750 | +esac | ||
5751 | + | ||
5752 | +if expr a : '\(a\)' >/dev/null 2>&1; then | ||
5753 | + as_expr=expr | ||
5754 | +else | ||
5755 | + as_expr=false | ||
5756 | +fi | ||
5757 | + | ||
5758 | +rm -f conf$$ conf$$.exe conf$$.file | ||
5759 | +echo >conf$$.file | ||
5760 | +if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
5761 | + # We could just check for DJGPP; but this test a) works b) is more generic | ||
5762 | + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | ||
5763 | + if test -f conf$$.exe; then | ||
5764 | + # Don't use ln at all; we don't have any links | ||
5765 | + as_ln_s='cp -p' | ||
5766 | + else | ||
5767 | + as_ln_s='ln -s' | ||
5768 | + fi | ||
5769 | +elif ln conf$$.file conf$$ 2>/dev/null; then | ||
5770 | + as_ln_s=ln | ||
5771 | +else | ||
5772 | + as_ln_s='cp -p' | ||
5773 | +fi | ||
5774 | +rm -f conf$$ conf$$.exe conf$$.file | ||
5775 | + | ||
5776 | +if mkdir -p . 2>/dev/null; then | ||
5777 | + as_mkdir_p=: | ||
5778 | +else | ||
5779 | + test -d ./-p && rmdir ./-p | ||
5780 | + as_mkdir_p=false | ||
5781 | +fi | ||
5782 | + | ||
5783 | +as_executable_p="test -f" | ||
5784 | + | ||
5785 | +# Sed expression to map a string onto a valid CPP name. | ||
5786 | +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
5787 | + | ||
5788 | +# Sed expression to map a string onto a valid variable name. | ||
5789 | +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
5790 | + | ||
5791 | + | ||
5792 | +# IFS | ||
5793 | +# We need space, tab and new line, in precisely that order. | ||
5794 | +as_nl=' | ||
5795 | +' | ||
5796 | +IFS=" $as_nl" | ||
5797 | + | ||
5798 | +# CDPATH. | ||
5799 | +$as_unset CDPATH | ||
5800 | + | ||
5801 | + | ||
5802 | +# Name of the host. | ||
5803 | +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | ||
5804 | +# so uname gets run too. | ||
5805 | +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ||
5806 | + | ||
5807 | +exec 6>&1 | ||
5808 | + | ||
5809 | +# | ||
5810 | +# Initializations. | ||
5811 | +# | ||
5812 | +ac_default_prefix=/usr/local | ||
5813 | +ac_config_libobj_dir=. | ||
5814 | +cross_compiling=no | ||
5815 | +subdirs= | ||
5816 | +MFLAGS= | ||
5817 | +MAKEFLAGS= | ||
5818 | +SHELL=${CONFIG_SHELL-/bin/sh} | ||
5819 | + | ||
5820 | +# Maximum number of lines to put in a shell here document. | ||
5821 | +# This variable seems obsolete. It should probably be removed, and | ||
5822 | +# only ac_max_sed_lines should be used. | ||
5823 | +: ${ac_max_here_lines=38} | ||
5824 | + | ||
5825 | +# Identity of this package. | ||
5826 | +PACKAGE_NAME='quilt' | ||
5827 | +PACKAGE_TARNAME='quilt' | ||
5828 | +PACKAGE_VERSION='0.37' | ||
5829 | +PACKAGE_STRING='quilt 0.37' | ||
5830 | +PACKAGE_BUGREPORT='quilt-dev@nongnu.org' | ||
5831 | + | ||
5832 | +# Factoring default headers for most tests. | ||
5833 | +ac_includes_default="\ | ||
5834 | +#include <stdio.h> | ||
5835 | +#if HAVE_SYS_TYPES_H | ||
5836 | +# include <sys/types.h> | ||
5837 | +#endif | ||
5838 | +#if HAVE_SYS_STAT_H | ||
5839 | +# include <sys/stat.h> | ||
5840 | +#endif | ||
5841 | +#if STDC_HEADERS | ||
5842 | +# include <stdlib.h> | ||
5843 | +# include <stddef.h> | ||
5844 | +#else | ||
5845 | +# if HAVE_STDLIB_H | ||
5846 | +# include <stdlib.h> | ||
5847 | +# endif | ||
5848 | +#endif | ||
5849 | +#if HAVE_STRING_H | ||
5850 | +# if !STDC_HEADERS && HAVE_MEMORY_H | ||
5851 | +# include <memory.h> | ||
5852 | +# endif | ||
5853 | +# include <string.h> | ||
5854 | +#endif | ||
5855 | +#if HAVE_STRINGS_H | ||
5856 | +# include <strings.h> | ||
5857 | +#endif | ||
5858 | +#if HAVE_INTTYPES_H | ||
5859 | +# include <inttypes.h> | ||
5860 | +#else | ||
5861 | +# if HAVE_STDINT_H | ||
5862 | +# include <stdint.h> | ||
5863 | +# endif | ||
5864 | +#endif | ||
5865 | +#if HAVE_UNISTD_H | ||
5866 | +# include <unistd.h> | ||
5867 | +#endif" | ||
5868 | + | ||
5869 | +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE_RELEASE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BASH PERL SED AWK MKTEMP DIFF PATCH DIFFSTAT MSGFMT docdir RPMBUILD LTLIBOBJS' | ||
5870 | +ac_subst_files='' | ||
5871 | + | ||
5872 | +# Initialize some variables set by options. | ||
5873 | +ac_init_help= | ||
5874 | +ac_init_version=false | ||
5875 | +# The variables have the same names as the options, with | ||
5876 | +# dashes changed to underlines. | ||
5877 | +cache_file=/dev/null | ||
5878 | +exec_prefix=NONE | ||
5879 | +no_create= | ||
5880 | +no_recursion= | ||
5881 | +prefix=NONE | ||
5882 | +program_prefix=NONE | ||
5883 | +program_suffix=NONE | ||
5884 | +program_transform_name=s,x,x, | ||
5885 | +silent= | ||
5886 | +site= | ||
5887 | +srcdir= | ||
5888 | +verbose= | ||
5889 | +x_includes=NONE | ||
5890 | +x_libraries=NONE | ||
5891 | + | ||
5892 | +# Installation directory options. | ||
5893 | +# These are left unexpanded so users can "make install exec_prefix=/foo" | ||
5894 | +# and all the variables that are supposed to be based on exec_prefix | ||
5895 | +# by default will actually change. | ||
5896 | +# Use braces instead of parens because sh, perl, etc. also accept them. | ||
5897 | +bindir='${exec_prefix}/bin' | ||
5898 | +sbindir='${exec_prefix}/sbin' | ||
5899 | +libexecdir='${exec_prefix}/libexec' | ||
5900 | +datadir='${prefix}/share' | ||
5901 | +sysconfdir='${prefix}/etc' | ||
5902 | +sharedstatedir='${prefix}/com' | ||
5903 | +localstatedir='${prefix}/var' | ||
5904 | +libdir='${exec_prefix}/lib' | ||
5905 | +includedir='${prefix}/include' | ||
5906 | +oldincludedir='/usr/include' | ||
5907 | +infodir='${prefix}/info' | ||
5908 | +mandir='${prefix}/man' | ||
5909 | + | ||
5910 | +ac_prev= | ||
5911 | +for ac_option | ||
5912 | +do | ||
5913 | + # If the previous option needs an argument, assign it. | ||
5914 | + if test -n "$ac_prev"; then | ||
5915 | + eval "$ac_prev=\$ac_option" | ||
5916 | + ac_prev= | ||
5917 | + continue | ||
5918 | + fi | ||
5919 | + | ||
5920 | + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | ||
5921 | + | ||
5922 | + # Accept the important Cygnus configure options, so we can diagnose typos. | ||
5923 | + | ||
5924 | + case $ac_option in | ||
5925 | + | ||
5926 | + -bindir | --bindir | --bindi | --bind | --bin | --bi) | ||
5927 | + ac_prev=bindir ;; | ||
5928 | + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | ||
5929 | + bindir=$ac_optarg ;; | ||
5930 | + | ||
5931 | + -build | --build | --buil | --bui | --bu) | ||
5932 | + ac_prev=build_alias ;; | ||
5933 | + -build=* | --build=* | --buil=* | --bui=* | --bu=*) | ||
5934 | + build_alias=$ac_optarg ;; | ||
5935 | + | ||
5936 | + -cache-file | --cache-file | --cache-fil | --cache-fi \ | ||
5937 | + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | ||
5938 | + ac_prev=cache_file ;; | ||
5939 | + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | ||
5940 | + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | ||
5941 | + cache_file=$ac_optarg ;; | ||
5942 | + | ||
5943 | + --config-cache | -C) | ||
5944 | + cache_file=config.cache ;; | ||
5945 | + | ||
5946 | + -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | ||
5947 | + ac_prev=datadir ;; | ||
5948 | + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | ||
5949 | + | --da=*) | ||
5950 | + datadir=$ac_optarg ;; | ||
5951 | + | ||
5952 | + -disable-* | --disable-*) | ||
5953 | + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | ||
5954 | + # Reject names that are not valid shell variable names. | ||
5955 | + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
5956 | + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | ||
5957 | + { (exit 1); exit 1; }; } | ||
5958 | + ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ||
5959 | + eval "enable_$ac_feature=no" ;; | ||
5960 | + | ||
5961 | + -enable-* | --enable-*) | ||
5962 | + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | ||
5963 | + # Reject names that are not valid shell variable names. | ||
5964 | + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
5965 | + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | ||
5966 | + { (exit 1); exit 1; }; } | ||
5967 | + ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ||
5968 | + case $ac_option in | ||
5969 | + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
5970 | + *) ac_optarg=yes ;; | ||
5971 | + esac | ||
5972 | + eval "enable_$ac_feature='$ac_optarg'" ;; | ||
5973 | + | ||
5974 | + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | ||
5975 | + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | ||
5976 | + | --exec | --exe | --ex) | ||
5977 | + ac_prev=exec_prefix ;; | ||
5978 | + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | ||
5979 | + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | ||
5980 | + | --exec=* | --exe=* | --ex=*) | ||
5981 | + exec_prefix=$ac_optarg ;; | ||
5982 | + | ||
5983 | + -gas | --gas | --ga | --g) | ||
5984 | + # Obsolete; use --with-gas. | ||
5985 | + with_gas=yes ;; | ||
5986 | + | ||
5987 | + -help | --help | --hel | --he | -h) | ||
5988 | + ac_init_help=long ;; | ||
5989 | + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | ||
5990 | + ac_init_help=recursive ;; | ||
5991 | + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | ||
5992 | + ac_init_help=short ;; | ||
5993 | + | ||
5994 | + -host | --host | --hos | --ho) | ||
5995 | + ac_prev=host_alias ;; | ||
5996 | + -host=* | --host=* | --hos=* | --ho=*) | ||
5997 | + host_alias=$ac_optarg ;; | ||
5998 | + | ||
5999 | + -includedir | --includedir | --includedi | --included | --include \ | ||
6000 | + | --includ | --inclu | --incl | --inc) | ||
6001 | + ac_prev=includedir ;; | ||
6002 | + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | ||
6003 | + | --includ=* | --inclu=* | --incl=* | --inc=*) | ||
6004 | + includedir=$ac_optarg ;; | ||
6005 | + | ||
6006 | + -infodir | --infodir | --infodi | --infod | --info | --inf) | ||
6007 | + ac_prev=infodir ;; | ||
6008 | + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | ||
6009 | + infodir=$ac_optarg ;; | ||
6010 | + | ||
6011 | + -libdir | --libdir | --libdi | --libd) | ||
6012 | + ac_prev=libdir ;; | ||
6013 | + -libdir=* | --libdir=* | --libdi=* | --libd=*) | ||
6014 | + libdir=$ac_optarg ;; | ||
6015 | + | ||
6016 | + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | ||
6017 | + | --libexe | --libex | --libe) | ||
6018 | + ac_prev=libexecdir ;; | ||
6019 | + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | ||
6020 | + | --libexe=* | --libex=* | --libe=*) | ||
6021 | + libexecdir=$ac_optarg ;; | ||
6022 | + | ||
6023 | + -localstatedir | --localstatedir | --localstatedi | --localstated \ | ||
6024 | + | --localstate | --localstat | --localsta | --localst \ | ||
6025 | + | --locals | --local | --loca | --loc | --lo) | ||
6026 | + ac_prev=localstatedir ;; | ||
6027 | + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | ||
6028 | + | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | ||
6029 | + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | ||
6030 | + localstatedir=$ac_optarg ;; | ||
6031 | + | ||
6032 | + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | ||
6033 | + ac_prev=mandir ;; | ||
6034 | + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | ||
6035 | + mandir=$ac_optarg ;; | ||
6036 | + | ||
6037 | + -nfp | --nfp | --nf) | ||
6038 | + # Obsolete; use --without-fp. | ||
6039 | + with_fp=no ;; | ||
6040 | + | ||
6041 | + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | ||
6042 | + | --no-cr | --no-c | -n) | ||
6043 | + no_create=yes ;; | ||
6044 | + | ||
6045 | + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | ||
6046 | + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | ||
6047 | + no_recursion=yes ;; | ||
6048 | + | ||
6049 | + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | ||
6050 | + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | ||
6051 | + | --oldin | --oldi | --old | --ol | --o) | ||
6052 | + ac_prev=oldincludedir ;; | ||
6053 | + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | ||
6054 | + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | ||
6055 | + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | ||
6056 | + oldincludedir=$ac_optarg ;; | ||
6057 | + | ||
6058 | + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | ||
6059 | + ac_prev=prefix ;; | ||
6060 | + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | ||
6061 | + prefix=$ac_optarg ;; | ||
6062 | + | ||
6063 | + -program-prefix | --program-prefix | --program-prefi | --program-pref \ | ||
6064 | + | --program-pre | --program-pr | --program-p) | ||
6065 | + ac_prev=program_prefix ;; | ||
6066 | + -program-prefix=* | --program-prefix=* | --program-prefi=* \ | ||
6067 | + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | ||
6068 | + program_prefix=$ac_optarg ;; | ||
6069 | + | ||
6070 | + -program-suffix | --program-suffix | --program-suffi | --program-suff \ | ||
6071 | + | --program-suf | --program-su | --program-s) | ||
6072 | + ac_prev=program_suffix ;; | ||
6073 | + -program-suffix=* | --program-suffix=* | --program-suffi=* \ | ||
6074 | + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | ||
6075 | + program_suffix=$ac_optarg ;; | ||
6076 | + | ||
6077 | + -program-transform-name | --program-transform-name \ | ||
6078 | + | --program-transform-nam | --program-transform-na \ | ||
6079 | + | --program-transform-n | --program-transform- \ | ||
6080 | + | --program-transform | --program-transfor \ | ||
6081 | + | --program-transfo | --program-transf \ | ||
6082 | + | --program-trans | --program-tran \ | ||
6083 | + | --progr-tra | --program-tr | --program-t) | ||
6084 | + ac_prev=program_transform_name ;; | ||
6085 | + -program-transform-name=* | --program-transform-name=* \ | ||
6086 | + | --program-transform-nam=* | --program-transform-na=* \ | ||
6087 | + | --program-transform-n=* | --program-transform-=* \ | ||
6088 | + | --program-transform=* | --program-transfor=* \ | ||
6089 | + | --program-transfo=* | --program-transf=* \ | ||
6090 | + | --program-trans=* | --program-tran=* \ | ||
6091 | + | --progr-tra=* | --program-tr=* | --program-t=*) | ||
6092 | + program_transform_name=$ac_optarg ;; | ||
6093 | + | ||
6094 | + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
6095 | + | -silent | --silent | --silen | --sile | --sil) | ||
6096 | + silent=yes ;; | ||
6097 | + | ||
6098 | + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | ||
6099 | + ac_prev=sbindir ;; | ||
6100 | + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | ||
6101 | + | --sbi=* | --sb=*) | ||
6102 | + sbindir=$ac_optarg ;; | ||
6103 | + | ||
6104 | + -sharedstatedir | --sharedstatedir | --sharedstatedi \ | ||
6105 | + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | ||
6106 | + | --sharedst | --shareds | --shared | --share | --shar \ | ||
6107 | + | --sha | --sh) | ||
6108 | + ac_prev=sharedstatedir ;; | ||
6109 | + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | ||
6110 | + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | ||
6111 | + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | ||
6112 | + | --sha=* | --sh=*) | ||
6113 | + sharedstatedir=$ac_optarg ;; | ||
6114 | + | ||
6115 | + -site | --site | --sit) | ||
6116 | + ac_prev=site ;; | ||
6117 | + -site=* | --site=* | --sit=*) | ||
6118 | + site=$ac_optarg ;; | ||
6119 | + | ||
6120 | + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | ||
6121 | + ac_prev=srcdir ;; | ||
6122 | + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | ||
6123 | + srcdir=$ac_optarg ;; | ||
6124 | + | ||
6125 | + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | ||
6126 | + | --syscon | --sysco | --sysc | --sys | --sy) | ||
6127 | + ac_prev=sysconfdir ;; | ||
6128 | + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | ||
6129 | + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | ||
6130 | + sysconfdir=$ac_optarg ;; | ||
6131 | + | ||
6132 | + -target | --target | --targe | --targ | --tar | --ta | --t) | ||
6133 | + ac_prev=target_alias ;; | ||
6134 | + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | ||
6135 | + target_alias=$ac_optarg ;; | ||
6136 | + | ||
6137 | + -v | -verbose | --verbose | --verbos | --verbo | --verb) | ||
6138 | + verbose=yes ;; | ||
6139 | + | ||
6140 | + -version | --version | --versio | --versi | --vers | -V) | ||
6141 | + ac_init_version=: ;; | ||
6142 | + | ||
6143 | + -with-* | --with-*) | ||
6144 | + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | ||
6145 | + # Reject names that are not valid shell variable names. | ||
6146 | + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
6147 | + { echo "$as_me: error: invalid package name: $ac_package" >&2 | ||
6148 | + { (exit 1); exit 1; }; } | ||
6149 | + ac_package=`echo $ac_package| sed 's/-/_/g'` | ||
6150 | + case $ac_option in | ||
6151 | + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
6152 | + *) ac_optarg=yes ;; | ||
6153 | + esac | ||
6154 | + eval "with_$ac_package='$ac_optarg'" ;; | ||
6155 | + | ||
6156 | + -without-* | --without-*) | ||
6157 | + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | ||
6158 | + # Reject names that are not valid shell variable names. | ||
6159 | + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
6160 | + { echo "$as_me: error: invalid package name: $ac_package" >&2 | ||
6161 | + { (exit 1); exit 1; }; } | ||
6162 | + ac_package=`echo $ac_package | sed 's/-/_/g'` | ||
6163 | + eval "with_$ac_package=no" ;; | ||
6164 | + | ||
6165 | + --x) | ||
6166 | + # Obsolete; use --with-x. | ||
6167 | + with_x=yes ;; | ||
6168 | + | ||
6169 | + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | ||
6170 | + | --x-incl | --x-inc | --x-in | --x-i) | ||
6171 | + ac_prev=x_includes ;; | ||
6172 | + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | ||
6173 | + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | ||
6174 | + x_includes=$ac_optarg ;; | ||
6175 | + | ||
6176 | + -x-libraries | --x-libraries | --x-librarie | --x-librari \ | ||
6177 | + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | ||
6178 | + ac_prev=x_libraries ;; | ||
6179 | + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | ||
6180 | + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | ||
6181 | + x_libraries=$ac_optarg ;; | ||
6182 | + | ||
6183 | + -*) { echo "$as_me: error: unrecognized option: $ac_option | ||
6184 | +Try \`$0 --help' for more information." >&2 | ||
6185 | + { (exit 1); exit 1; }; } | ||
6186 | + ;; | ||
6187 | + | ||
6188 | + *=*) | ||
6189 | + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | ||
6190 | + # Reject names that are not valid shell variable names. | ||
6191 | + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | ||
6192 | + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | ||
6193 | + { (exit 1); exit 1; }; } | ||
6194 | + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | ||
6195 | + eval "$ac_envvar='$ac_optarg'" | ||
6196 | + export $ac_envvar ;; | ||
6197 | + | ||
6198 | + *) | ||
6199 | + # FIXME: should be removed in autoconf 3.0. | ||
6200 | + echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | ||
6201 | + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | ||
6202 | + echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | ||
6203 | + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | ||
6204 | + ;; | ||
6205 | + | ||
6206 | + esac | ||
6207 | +done | ||
6208 | + | ||
6209 | +if test -n "$ac_prev"; then | ||
6210 | + ac_option=--`echo $ac_prev | sed 's/_/-/g'` | ||
6211 | + { echo "$as_me: error: missing argument to $ac_option" >&2 | ||
6212 | + { (exit 1); exit 1; }; } | ||
6213 | +fi | ||
6214 | + | ||
6215 | +# Be sure to have absolute paths. | ||
6216 | +for ac_var in exec_prefix prefix | ||
6217 | +do | ||
6218 | + eval ac_val=$`echo $ac_var` | ||
6219 | + case $ac_val in | ||
6220 | + [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | ||
6221 | + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
6222 | + { (exit 1); exit 1; }; };; | ||
6223 | + esac | ||
6224 | +done | ||
6225 | + | ||
6226 | +# Be sure to have absolute paths. | ||
6227 | +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | ||
6228 | + localstatedir libdir includedir oldincludedir infodir mandir | ||
6229 | +do | ||
6230 | + eval ac_val=$`echo $ac_var` | ||
6231 | + case $ac_val in | ||
6232 | + [\\/$]* | ?:[\\/]* ) ;; | ||
6233 | + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
6234 | + { (exit 1); exit 1; }; };; | ||
6235 | + esac | ||
6236 | +done | ||
6237 | + | ||
6238 | +# There might be people who depend on the old broken behavior: `$host' | ||
6239 | +# used to hold the argument of --host etc. | ||
6240 | +# FIXME: To remove some day. | ||
6241 | +build=$build_alias | ||
6242 | +host=$host_alias | ||
6243 | +target=$target_alias | ||
6244 | + | ||
6245 | +# FIXME: To remove some day. | ||
6246 | +if test "x$host_alias" != x; then | ||
6247 | + if test "x$build_alias" = x; then | ||
6248 | + cross_compiling=maybe | ||
6249 | + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | ||
6250 | + If a cross compiler is detected then cross compile mode will be used." >&2 | ||
6251 | + elif test "x$build_alias" != "x$host_alias"; then | ||
6252 | + cross_compiling=yes | ||
6253 | + fi | ||
6254 | +fi | ||
6255 | + | ||
6256 | +ac_tool_prefix= | ||
6257 | +test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
6258 | + | ||
6259 | +test "$silent" = yes && exec 6>/dev/null | ||
6260 | + | ||
6261 | + | ||
6262 | +# Find the source files, if location was not specified. | ||
6263 | +if test -z "$srcdir"; then | ||
6264 | + ac_srcdir_defaulted=yes | ||
6265 | + # Try the directory containing this script, then its parent. | ||
6266 | + ac_confdir=`(dirname "$0") 2>/dev/null || | ||
6267 | +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
6268 | + X"$0" : 'X\(//\)[^/]' \| \ | ||
6269 | + X"$0" : 'X\(//\)$' \| \ | ||
6270 | + X"$0" : 'X\(/\)' \| \ | ||
6271 | + . : '\(.\)' 2>/dev/null || | ||
6272 | +echo X"$0" | | ||
6273 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
6274 | + /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
6275 | + /^X\(\/\/\)$/{ s//\1/; q; } | ||
6276 | + /^X\(\/\).*/{ s//\1/; q; } | ||
6277 | + s/.*/./; q'` | ||
6278 | + srcdir=$ac_confdir | ||
6279 | + if test ! -r $srcdir/$ac_unique_file; then | ||
6280 | + srcdir=.. | ||
6281 | + fi | ||
6282 | +else | ||
6283 | + ac_srcdir_defaulted=no | ||
6284 | +fi | ||
6285 | +if test ! -r $srcdir/$ac_unique_file; then | ||
6286 | + if test "$ac_srcdir_defaulted" = yes; then | ||
6287 | + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | ||
6288 | + { (exit 1); exit 1; }; } | ||
6289 | + else | ||
6290 | + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | ||
6291 | + { (exit 1); exit 1; }; } | ||
6292 | + fi | ||
6293 | +fi | ||
6294 | +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | ||
6295 | + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | ||
6296 | + { (exit 1); exit 1; }; } | ||
6297 | +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | ||
6298 | +ac_env_build_alias_set=${build_alias+set} | ||
6299 | +ac_env_build_alias_value=$build_alias | ||
6300 | +ac_cv_env_build_alias_set=${build_alias+set} | ||
6301 | +ac_cv_env_build_alias_value=$build_alias | ||
6302 | +ac_env_host_alias_set=${host_alias+set} | ||
6303 | +ac_env_host_alias_value=$host_alias | ||
6304 | +ac_cv_env_host_alias_set=${host_alias+set} | ||
6305 | +ac_cv_env_host_alias_value=$host_alias | ||
6306 | +ac_env_target_alias_set=${target_alias+set} | ||
6307 | +ac_env_target_alias_value=$target_alias | ||
6308 | +ac_cv_env_target_alias_set=${target_alias+set} | ||
6309 | +ac_cv_env_target_alias_value=$target_alias | ||
6310 | +ac_env_CC_set=${CC+set} | ||
6311 | +ac_env_CC_value=$CC | ||
6312 | +ac_cv_env_CC_set=${CC+set} | ||
6313 | +ac_cv_env_CC_value=$CC | ||
6314 | +ac_env_CFLAGS_set=${CFLAGS+set} | ||
6315 | +ac_env_CFLAGS_value=$CFLAGS | ||
6316 | +ac_cv_env_CFLAGS_set=${CFLAGS+set} | ||
6317 | +ac_cv_env_CFLAGS_value=$CFLAGS | ||
6318 | +ac_env_LDFLAGS_set=${LDFLAGS+set} | ||
6319 | +ac_env_LDFLAGS_value=$LDFLAGS | ||
6320 | +ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | ||
6321 | +ac_cv_env_LDFLAGS_value=$LDFLAGS | ||
6322 | +ac_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
6323 | +ac_env_CPPFLAGS_value=$CPPFLAGS | ||
6324 | +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
6325 | +ac_cv_env_CPPFLAGS_value=$CPPFLAGS | ||
6326 | +ac_env_CPP_set=${CPP+set} | ||
6327 | +ac_env_CPP_value=$CPP | ||
6328 | +ac_cv_env_CPP_set=${CPP+set} | ||
6329 | +ac_cv_env_CPP_value=$CPP | ||
6330 | + | ||
6331 | +# | ||
6332 | +# Report the --help message. | ||
6333 | +# | ||
6334 | +if test "$ac_init_help" = "long"; then | ||
6335 | + # Omit some internal or obsolete options to make the list less imposing. | ||
6336 | + # This message is too long to be a string in the A/UX 3.1 sh. | ||
6337 | + cat <<_ACEOF | ||
6338 | +\`configure' configures quilt 0.37 to adapt to many kinds of systems. | ||
6339 | + | ||
6340 | +Usage: $0 [OPTION]... [VAR=VALUE]... | ||
6341 | + | ||
6342 | +To assign environment variables (e.g., CC, CFLAGS...), specify them as | ||
6343 | +VAR=VALUE. See below for descriptions of some of the useful variables. | ||
6344 | + | ||
6345 | +Defaults for the options are specified in brackets. | ||
6346 | + | ||
6347 | +Configuration: | ||
6348 | + -h, --help display this help and exit | ||
6349 | + --help=short display options specific to this package | ||
6350 | + --help=recursive display the short help of all the included packages | ||
6351 | + -V, --version display version information and exit | ||
6352 | + -q, --quiet, --silent do not print \`checking...' messages | ||
6353 | + --cache-file=FILE cache test results in FILE [disabled] | ||
6354 | + -C, --config-cache alias for \`--cache-file=config.cache' | ||
6355 | + -n, --no-create do not create output files | ||
6356 | + --srcdir=DIR find the sources in DIR [configure dir or \`..'] | ||
6357 | + | ||
6358 | +_ACEOF | ||
6359 | + | ||
6360 | + cat <<_ACEOF | ||
6361 | +Installation directories: | ||
6362 | + --prefix=PREFIX install architecture-independent files in PREFIX | ||
6363 | + [$ac_default_prefix] | ||
6364 | + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | ||
6365 | + [PREFIX] | ||
6366 | + | ||
6367 | +By default, \`make install' will install all the files in | ||
6368 | +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
6369 | +an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
6370 | +for instance \`--prefix=\$HOME'. | ||
6371 | + | ||
6372 | +For better control, use the options below. | ||
6373 | + | ||
6374 | +Fine tuning of the installation directories: | ||
6375 | + --bindir=DIR user executables [EPREFIX/bin] | ||
6376 | + --sbindir=DIR system admin executables [EPREFIX/sbin] | ||
6377 | + --libexecdir=DIR program executables [EPREFIX/libexec] | ||
6378 | + --datadir=DIR read-only architecture-independent data [PREFIX/share] | ||
6379 | + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | ||
6380 | + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | ||
6381 | + --localstatedir=DIR modifiable single-machine data [PREFIX/var] | ||
6382 | + --libdir=DIR object code libraries [EPREFIX/lib] | ||
6383 | + --includedir=DIR C header files [PREFIX/include] | ||
6384 | + --oldincludedir=DIR C header files for non-gcc [/usr/include] | ||
6385 | + --infodir=DIR info documentation [PREFIX/info] | ||
6386 | + --mandir=DIR man documentation [PREFIX/man] | ||
6387 | +_ACEOF | ||
6388 | + | ||
6389 | + cat <<\_ACEOF | ||
6390 | +_ACEOF | ||
6391 | +fi | ||
6392 | + | ||
6393 | +if test -n "$ac_init_help"; then | ||
6394 | + case $ac_init_help in | ||
6395 | + short | recursive ) echo "Configuration of quilt 0.37:";; | ||
6396 | + esac | ||
6397 | + cat <<\_ACEOF | ||
6398 | + | ||
6399 | +Optional Features: | ||
6400 | + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | ||
6401 | + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | ||
6402 | + --enable-nls include natural language support | ||
6403 | + | ||
6404 | +Optional Packages: | ||
6405 | + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | ||
6406 | + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | ||
6407 | + --with-bash name of the bash executable to use | ||
6408 | + --with-perl name of the Perl executable to use | ||
6409 | + --with-sed name of the sed executable to use | ||
6410 | + --with-awk name of the awk executable to use | ||
6411 | + --with-mktemp name of the mktemp executable to use (or 'none' to | ||
6412 | + use a quilt internal mechanism) | ||
6413 | + --with-diff name of the diff executable to use | ||
6414 | + --with-patch name of the patch executable to use | ||
6415 | + --with-diffstat name of the diffstat executable to use | ||
6416 | + | ||
6417 | +Some influential environment variables: | ||
6418 | + CC C compiler command | ||
6419 | + CFLAGS C compiler flags | ||
6420 | + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | ||
6421 | + nonstandard directory <lib dir> | ||
6422 | + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | ||
6423 | + headers in a nonstandard directory <include dir> | ||
6424 | + CPP C preprocessor | ||
6425 | + | ||
6426 | +Use these variables to override the choices made by `configure' or to help | ||
6427 | +it to find libraries and programs with nonstandard names/locations. | ||
6428 | + | ||
6429 | +Report bugs to <quilt-dev@nongnu.org>. | ||
6430 | +_ACEOF | ||
6431 | +fi | ||
6432 | + | ||
6433 | +if test "$ac_init_help" = "recursive"; then | ||
6434 | + # If there are subdirs, report their specific --help. | ||
6435 | + ac_popdir=`pwd` | ||
6436 | + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | ||
6437 | + test -d $ac_dir || continue | ||
6438 | + ac_builddir=. | ||
6439 | + | ||
6440 | +if test "$ac_dir" != .; then | ||
6441 | + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | ||
6442 | + # A "../" for each directory in $ac_dir_suffix. | ||
6443 | + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | ||
6444 | +else | ||
6445 | + ac_dir_suffix= ac_top_builddir= | ||
6446 | +fi | ||
6447 | + | ||
6448 | +case $srcdir in | ||
6449 | + .) # No --srcdir option. We are building in place. | ||
6450 | + ac_srcdir=. | ||
6451 | + if test -z "$ac_top_builddir"; then | ||
6452 | + ac_top_srcdir=. | ||
6453 | + else | ||
6454 | + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
6455 | + fi ;; | ||
6456 | + [\\/]* | ?:[\\/]* ) # Absolute path. | ||
6457 | + ac_srcdir=$srcdir$ac_dir_suffix; | ||
6458 | + ac_top_srcdir=$srcdir ;; | ||
6459 | + *) # Relative path. | ||
6460 | + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ||
6461 | + ac_top_srcdir=$ac_top_builddir$srcdir ;; | ||
6462 | +esac | ||
6463 | + | ||
6464 | +# Do not use `cd foo && pwd` to compute absolute paths, because | ||
6465 | +# the directories may not exist. | ||
6466 | +case `pwd` in | ||
6467 | +.) ac_abs_builddir="$ac_dir";; | ||
6468 | +*) | ||
6469 | + case "$ac_dir" in | ||
6470 | + .) ac_abs_builddir=`pwd`;; | ||
6471 | + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | ||
6472 | + *) ac_abs_builddir=`pwd`/"$ac_dir";; | ||
6473 | + esac;; | ||
6474 | +esac | ||
6475 | +case $ac_abs_builddir in | ||
6476 | +.) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
6477 | +*) | ||
6478 | + case ${ac_top_builddir}. in | ||
6479 | + .) ac_abs_top_builddir=$ac_abs_builddir;; | ||
6480 | + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
6481 | + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | ||
6482 | + esac;; | ||
6483 | +esac | ||
6484 | +case $ac_abs_builddir in | ||
6485 | +.) ac_abs_srcdir=$ac_srcdir;; | ||
6486 | +*) | ||
6487 | + case $ac_srcdir in | ||
6488 | + .) ac_abs_srcdir=$ac_abs_builddir;; | ||
6489 | + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | ||
6490 | + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | ||
6491 | + esac;; | ||
6492 | +esac | ||
6493 | +case $ac_abs_builddir in | ||
6494 | +.) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
6495 | +*) | ||
6496 | + case $ac_top_srcdir in | ||
6497 | + .) ac_abs_top_srcdir=$ac_abs_builddir;; | ||
6498 | + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
6499 | + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | ||
6500 | + esac;; | ||
6501 | +esac | ||
6502 | + | ||
6503 | + cd $ac_dir | ||
6504 | + # Check for guested configure; otherwise get Cygnus style configure. | ||
6505 | + if test -f $ac_srcdir/configure.gnu; then | ||
6506 | + echo | ||
6507 | + $SHELL $ac_srcdir/configure.gnu --help=recursive | ||
6508 | + elif test -f $ac_srcdir/configure; then | ||
6509 | + echo | ||
6510 | + $SHELL $ac_srcdir/configure --help=recursive | ||
6511 | + elif test -f $ac_srcdir/configure.ac || | ||
6512 | + test -f $ac_srcdir/configure.in; then | ||
6513 | + echo | ||
6514 | + $ac_configure --help | ||
6515 | + else | ||
6516 | + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | ||
6517 | + fi | ||
6518 | + cd "$ac_popdir" | ||
6519 | + done | ||
6520 | +fi | ||
6521 | + | ||
6522 | +test -n "$ac_init_help" && exit 0 | ||
6523 | +if $ac_init_version; then | ||
6524 | + cat <<\_ACEOF | ||
6525 | +quilt configure 0.37 | ||
6526 | +generated by GNU Autoconf 2.59 | ||
6527 | + | ||
6528 | +Copyright (C) 2003 Free Software Foundation, Inc. | ||
6529 | +This configure script is free software; the Free Software Foundation | ||
6530 | +gives unlimited permission to copy, distribute and modify it. | ||
6531 | +_ACEOF | ||
6532 | + exit 0 | ||
6533 | +fi | ||
6534 | +exec 5>config.log | ||
6535 | +cat >&5 <<_ACEOF | ||
6536 | +This file contains any messages produced by compilers while | ||
6537 | +running configure, to aid debugging if configure makes a mistake. | ||
6538 | + | ||
6539 | +It was created by quilt $as_me 0.37, which was | ||
6540 | +generated by GNU Autoconf 2.59. Invocation command line was | ||
6541 | + | ||
6542 | + $ $0 $@ | ||
6543 | + | ||
6544 | +_ACEOF | ||
6545 | +{ | ||
6546 | +cat <<_ASUNAME | ||
6547 | +## --------- ## | ||
6548 | +## Platform. ## | ||
6549 | +## --------- ## | ||
6550 | + | ||
6551 | +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
6552 | +uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
6553 | +uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
6554 | +uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
6555 | +uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
6556 | + | ||
6557 | +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | ||
6558 | +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | ||
6559 | + | ||
6560 | +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | ||
6561 | +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | ||
6562 | +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | ||
6563 | +hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | ||
6564 | +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | ||
6565 | +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | ||
6566 | +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | ||
6567 | + | ||
6568 | +_ASUNAME | ||
6569 | + | ||
6570 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
6571 | +for as_dir in $PATH | ||
6572 | +do | ||
6573 | + IFS=$as_save_IFS | ||
6574 | + test -z "$as_dir" && as_dir=. | ||
6575 | + echo "PATH: $as_dir" | ||
6576 | +done | ||
6577 | + | ||
6578 | +} >&5 | ||
6579 | + | ||
6580 | +cat >&5 <<_ACEOF | ||
6581 | + | ||
6582 | + | ||
6583 | +## ----------- ## | ||
6584 | +## Core tests. ## | ||
6585 | +## ----------- ## | ||
6586 | + | ||
6587 | +_ACEOF | ||
6588 | + | ||
6589 | + | ||
6590 | +# Keep a trace of the command line. | ||
6591 | +# Strip out --no-create and --no-recursion so they do not pile up. | ||
6592 | +# Strip out --silent because we don't want to record it for future runs. | ||
6593 | +# Also quote any args containing shell meta-characters. | ||
6594 | +# Make two passes to allow for proper duplicate-argument suppression. | ||
6595 | +ac_configure_args= | ||
6596 | +ac_configure_args0= | ||
6597 | +ac_configure_args1= | ||
6598 | +ac_sep= | ||
6599 | +ac_must_keep_next=false | ||
6600 | +for ac_pass in 1 2 | ||
6601 | +do | ||
6602 | + for ac_arg | ||
6603 | + do | ||
6604 | + case $ac_arg in | ||
6605 | + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | ||
6606 | + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
6607 | + | -silent | --silent | --silen | --sile | --sil) | ||
6608 | + continue ;; | ||
6609 | + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | ||
6610 | + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
6611 | + esac | ||
6612 | + case $ac_pass in | ||
6613 | + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | ||
6614 | + 2) | ||
6615 | + ac_configure_args1="$ac_configure_args1 '$ac_arg'" | ||
6616 | + if test $ac_must_keep_next = true; then | ||
6617 | + ac_must_keep_next=false # Got value, back to normal. | ||
6618 | + else | ||
6619 | + case $ac_arg in | ||
6620 | + *=* | --config-cache | -C | -disable-* | --disable-* \ | ||
6621 | + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | ||
6622 | + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | ||
6623 | + | -with-* | --with-* | -without-* | --without-* | --x) | ||
6624 | + case "$ac_configure_args0 " in | ||
6625 | + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | ||
6626 | + esac | ||
6627 | + ;; | ||
6628 | + -* ) ac_must_keep_next=true ;; | ||
6629 | + esac | ||
6630 | + fi | ||
6631 | + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | ||
6632 | + # Get rid of the leading space. | ||
6633 | + ac_sep=" " | ||
6634 | + ;; | ||
6635 | + esac | ||
6636 | + done | ||
6637 | +done | ||
6638 | +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | ||
6639 | +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | ||
6640 | + | ||
6641 | +# When interrupted or exit'd, cleanup temporary files, and complete | ||
6642 | +# config.log. We remove comments because anyway the quotes in there | ||
6643 | +# would cause problems or look ugly. | ||
6644 | +# WARNING: Be sure not to use single quotes in there, as some shells, | ||
6645 | +# such as our DU 5.0 friend, will then `close' the trap. | ||
6646 | +trap 'exit_status=$? | ||
6647 | + # Save into config.log some information that might help in debugging. | ||
6648 | + { | ||
6649 | + echo | ||
6650 | + | ||
6651 | + cat <<\_ASBOX | ||
6652 | +## ---------------- ## | ||
6653 | +## Cache variables. ## | ||
6654 | +## ---------------- ## | ||
6655 | +_ASBOX | ||
6656 | + echo | ||
6657 | + # The following way of writing the cache mishandles newlines in values, | ||
6658 | +{ | ||
6659 | + (set) 2>&1 | | ||
6660 | + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | ||
6661 | + *ac_space=\ *) | ||
6662 | + sed -n \ | ||
6663 | + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | ||
6664 | + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | ||
6665 | + ;; | ||
6666 | + *) | ||
6667 | + sed -n \ | ||
6668 | + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
6669 | + ;; | ||
6670 | + esac; | ||
6671 | +} | ||
6672 | + echo | ||
6673 | + | ||
6674 | + cat <<\_ASBOX | ||
6675 | +## ----------------- ## | ||
6676 | +## Output variables. ## | ||
6677 | +## ----------------- ## | ||
6678 | +_ASBOX | ||
6679 | + echo | ||
6680 | + for ac_var in $ac_subst_vars | ||
6681 | + do | ||
6682 | + eval ac_val=$`echo $ac_var` | ||
6683 | + echo "$ac_var='"'"'$ac_val'"'"'" | ||
6684 | + done | sort | ||
6685 | + echo | ||
6686 | + | ||
6687 | + if test -n "$ac_subst_files"; then | ||
6688 | + cat <<\_ASBOX | ||
6689 | +## ------------- ## | ||
6690 | +## Output files. ## | ||
6691 | +## ------------- ## | ||
6692 | +_ASBOX | ||
6693 | + echo | ||
6694 | + for ac_var in $ac_subst_files | ||
6695 | + do | ||
6696 | + eval ac_val=$`echo $ac_var` | ||
6697 | + echo "$ac_var='"'"'$ac_val'"'"'" | ||
6698 | + done | sort | ||
6699 | + echo | ||
6700 | + fi | ||
6701 | + | ||
6702 | + if test -s confdefs.h; then | ||
6703 | + cat <<\_ASBOX | ||
6704 | +## ----------- ## | ||
6705 | +## confdefs.h. ## | ||
6706 | +## ----------- ## | ||
6707 | +_ASBOX | ||
6708 | + echo | ||
6709 | + sed "/^$/d" confdefs.h | sort | ||
6710 | + echo | ||
6711 | + fi | ||
6712 | + test "$ac_signal" != 0 && | ||
6713 | + echo "$as_me: caught signal $ac_signal" | ||
6714 | + echo "$as_me: exit $exit_status" | ||
6715 | + } >&5 | ||
6716 | + rm -f core *.core && | ||
6717 | + rm -rf conftest* confdefs* conf$$* $ac_clean_files && | ||
6718 | + exit $exit_status | ||
6719 | + ' 0 | ||
6720 | +for ac_signal in 1 2 13 15; do | ||
6721 | + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | ||
6722 | +done | ||
6723 | +ac_signal=0 | ||
6724 | + | ||
6725 | +# confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
6726 | +rm -rf conftest* confdefs.h | ||
6727 | +# AIX cpp loses on an empty file, so make sure it contains at least a newline. | ||
6728 | +echo >confdefs.h | ||
6729 | + | ||
6730 | +# Predefined preprocessor variables. | ||
6731 | + | ||
6732 | +cat >>confdefs.h <<_ACEOF | ||
6733 | +#define PACKAGE_NAME "$PACKAGE_NAME" | ||
6734 | +_ACEOF | ||
6735 | + | ||
6736 | + | ||
6737 | +cat >>confdefs.h <<_ACEOF | ||
6738 | +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
6739 | +_ACEOF | ||
6740 | + | ||
6741 | + | ||
6742 | +cat >>confdefs.h <<_ACEOF | ||
6743 | +#define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
6744 | +_ACEOF | ||
6745 | + | ||
6746 | + | ||
6747 | +cat >>confdefs.h <<_ACEOF | ||
6748 | +#define PACKAGE_STRING "$PACKAGE_STRING" | ||
6749 | +_ACEOF | ||
6750 | + | ||
6751 | + | ||
6752 | +cat >>confdefs.h <<_ACEOF | ||
6753 | +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
6754 | +_ACEOF | ||
6755 | + | ||
6756 | + | ||
6757 | +# Let the site file select an alternate cache file if it wants to. | ||
6758 | +# Prefer explicitly selected file to automatically selected ones. | ||
6759 | +if test -z "$CONFIG_SITE"; then | ||
6760 | + if test "x$prefix" != xNONE; then | ||
6761 | + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | ||
6762 | + else | ||
6763 | + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | ||
6764 | + fi | ||
6765 | +fi | ||
6766 | +for ac_site_file in $CONFIG_SITE; do | ||
6767 | + if test -r "$ac_site_file"; then | ||
6768 | + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | ||
6769 | +echo "$as_me: loading site script $ac_site_file" >&6;} | ||
6770 | + sed 's/^/| /' "$ac_site_file" >&5 | ||
6771 | + . "$ac_site_file" | ||
6772 | + fi | ||
6773 | +done | ||
6774 | + | ||
6775 | +if test -r "$cache_file"; then | ||
6776 | + # Some versions of bash will fail to source /dev/null (special | ||
6777 | + # files actually), so we avoid doing that. | ||
6778 | + if test -f "$cache_file"; then | ||
6779 | + { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | ||
6780 | +echo "$as_me: loading cache $cache_file" >&6;} | ||
6781 | + case $cache_file in | ||
6782 | + [\\/]* | ?:[\\/]* ) . $cache_file;; | ||
6783 | + *) . ./$cache_file;; | ||
6784 | + esac | ||
6785 | + fi | ||
6786 | +else | ||
6787 | + { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | ||
6788 | +echo "$as_me: creating cache $cache_file" >&6;} | ||
6789 | + >$cache_file | ||
6790 | +fi | ||
6791 | + | ||
6792 | +# Check that the precious variables saved in the cache have kept the same | ||
6793 | +# value. | ||
6794 | +ac_cache_corrupted=false | ||
6795 | +for ac_var in `(set) 2>&1 | | ||
6796 | + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | ||
6797 | + eval ac_old_set=\$ac_cv_env_${ac_var}_set | ||
6798 | + eval ac_new_set=\$ac_env_${ac_var}_set | ||
6799 | + eval ac_old_val="\$ac_cv_env_${ac_var}_value" | ||
6800 | + eval ac_new_val="\$ac_env_${ac_var}_value" | ||
6801 | + case $ac_old_set,$ac_new_set in | ||
6802 | + set,) | ||
6803 | + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | ||
6804 | +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | ||
6805 | + ac_cache_corrupted=: ;; | ||
6806 | + ,set) | ||
6807 | + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | ||
6808 | +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | ||
6809 | + ac_cache_corrupted=: ;; | ||
6810 | + ,);; | ||
6811 | + *) | ||
6812 | + if test "x$ac_old_val" != "x$ac_new_val"; then | ||
6813 | + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | ||
6814 | +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | ||
6815 | + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | ||
6816 | +echo "$as_me: former value: $ac_old_val" >&2;} | ||
6817 | + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | ||
6818 | +echo "$as_me: current value: $ac_new_val" >&2;} | ||
6819 | + ac_cache_corrupted=: | ||
6820 | + fi;; | ||
6821 | + esac | ||
6822 | + # Pass precious variables to config.status. | ||
6823 | + if test "$ac_new_set" = set; then | ||
6824 | + case $ac_new_val in | ||
6825 | + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | ||
6826 | + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
6827 | + *) ac_arg=$ac_var=$ac_new_val ;; | ||
6828 | + esac | ||
6829 | + case " $ac_configure_args " in | ||
6830 | + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | ||
6831 | + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | ||
6832 | + esac | ||
6833 | + fi | ||
6834 | +done | ||
6835 | +if $ac_cache_corrupted; then | ||
6836 | + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | ||
6837 | +echo "$as_me: error: changes in the environment can compromise the build" >&2;} | ||
6838 | + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | ||
6839 | +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | ||
6840 | + { (exit 1); exit 1; }; } | ||
6841 | +fi | ||
6842 | + | ||
6843 | +ac_ext=c | ||
6844 | +ac_cpp='$CPP $CPPFLAGS' | ||
6845 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
6846 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
6847 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
6848 | + | ||
6849 | + | ||
6850 | + | ||
6851 | + | ||
6852 | + | ||
6853 | + | ||
6854 | + | ||
6855 | + | ||
6856 | + | ||
6857 | + | ||
6858 | + | ||
6859 | + | ||
6860 | + | ||
6861 | + | ||
6862 | + | ||
6863 | + | ||
6864 | + | ||
6865 | + | ||
6866 | + | ||
6867 | + | ||
6868 | + | ||
6869 | + | ||
6870 | + | ||
6871 | + | ||
6872 | + | ||
6873 | + | ||
6874 | + | ||
6875 | +ac_aux_dir= | ||
6876 | +for ac_dir in config $srcdir/config; do | ||
6877 | + if test -f $ac_dir/install-sh; then | ||
6878 | + ac_aux_dir=$ac_dir | ||
6879 | + ac_install_sh="$ac_aux_dir/install-sh -c" | ||
6880 | + break | ||
6881 | + elif test -f $ac_dir/install.sh; then | ||
6882 | + ac_aux_dir=$ac_dir | ||
6883 | + ac_install_sh="$ac_aux_dir/install.sh -c" | ||
6884 | + break | ||
6885 | + elif test -f $ac_dir/shtool; then | ||
6886 | + ac_aux_dir=$ac_dir | ||
6887 | + ac_install_sh="$ac_aux_dir/shtool install -c" | ||
6888 | + break | ||
6889 | + fi | ||
6890 | +done | ||
6891 | +if test -z "$ac_aux_dir"; then | ||
6892 | + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5 | ||
6893 | +echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;} | ||
6894 | + { (exit 1); exit 1; }; } | ||
6895 | +fi | ||
6896 | +ac_config_guess="$SHELL $ac_aux_dir/config.guess" | ||
6897 | +ac_config_sub="$SHELL $ac_aux_dir/config.sub" | ||
6898 | +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | ||
6899 | + | ||
6900 | + | ||
6901 | + ($Revision: 1.32 $) | ||
6902 | + | ||
6903 | +PACKAGE_RELEASE=1 | ||
6904 | + | ||
6905 | + | ||
6906 | +ac_ext=c | ||
6907 | +ac_cpp='$CPP $CPPFLAGS' | ||
6908 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
6909 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
6910 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
6911 | +if test -n "$ac_tool_prefix"; then | ||
6912 | + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | ||
6913 | +set dummy ${ac_tool_prefix}gcc; ac_word=$2 | ||
6914 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
6915 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
6916 | +if test "${ac_cv_prog_CC+set}" = set; then | ||
6917 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6918 | +else | ||
6919 | + if test -n "$CC"; then | ||
6920 | + ac_cv_prog_CC="$CC" # Let the user override the test. | ||
6921 | +else | ||
6922 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
6923 | +for as_dir in $PATH | ||
6924 | +do | ||
6925 | + IFS=$as_save_IFS | ||
6926 | + test -z "$as_dir" && as_dir=. | ||
6927 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
6928 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
6929 | + ac_cv_prog_CC="${ac_tool_prefix}gcc" | ||
6930 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
6931 | + break 2 | ||
6932 | + fi | ||
6933 | +done | ||
6934 | +done | ||
6935 | + | ||
6936 | +fi | ||
6937 | +fi | ||
6938 | +CC=$ac_cv_prog_CC | ||
6939 | +if test -n "$CC"; then | ||
6940 | + echo "$as_me:$LINENO: result: $CC" >&5 | ||
6941 | +echo "${ECHO_T}$CC" >&6 | ||
6942 | +else | ||
6943 | + echo "$as_me:$LINENO: result: no" >&5 | ||
6944 | +echo "${ECHO_T}no" >&6 | ||
6945 | +fi | ||
6946 | + | ||
6947 | +fi | ||
6948 | +if test -z "$ac_cv_prog_CC"; then | ||
6949 | + ac_ct_CC=$CC | ||
6950 | + # Extract the first word of "gcc", so it can be a program name with args. | ||
6951 | +set dummy gcc; ac_word=$2 | ||
6952 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
6953 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
6954 | +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
6955 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6956 | +else | ||
6957 | + if test -n "$ac_ct_CC"; then | ||
6958 | + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
6959 | +else | ||
6960 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
6961 | +for as_dir in $PATH | ||
6962 | +do | ||
6963 | + IFS=$as_save_IFS | ||
6964 | + test -z "$as_dir" && as_dir=. | ||
6965 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
6966 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
6967 | + ac_cv_prog_ac_ct_CC="gcc" | ||
6968 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
6969 | + break 2 | ||
6970 | + fi | ||
6971 | +done | ||
6972 | +done | ||
6973 | + | ||
6974 | +fi | ||
6975 | +fi | ||
6976 | +ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
6977 | +if test -n "$ac_ct_CC"; then | ||
6978 | + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
6979 | +echo "${ECHO_T}$ac_ct_CC" >&6 | ||
6980 | +else | ||
6981 | + echo "$as_me:$LINENO: result: no" >&5 | ||
6982 | +echo "${ECHO_T}no" >&6 | ||
6983 | +fi | ||
6984 | + | ||
6985 | + CC=$ac_ct_CC | ||
6986 | +else | ||
6987 | + CC="$ac_cv_prog_CC" | ||
6988 | +fi | ||
6989 | + | ||
6990 | +if test -z "$CC"; then | ||
6991 | + if test -n "$ac_tool_prefix"; then | ||
6992 | + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | ||
6993 | +set dummy ${ac_tool_prefix}cc; ac_word=$2 | ||
6994 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
6995 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
6996 | +if test "${ac_cv_prog_CC+set}" = set; then | ||
6997 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6998 | +else | ||
6999 | + if test -n "$CC"; then | ||
7000 | + ac_cv_prog_CC="$CC" # Let the user override the test. | ||
7001 | +else | ||
7002 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
7003 | +for as_dir in $PATH | ||
7004 | +do | ||
7005 | + IFS=$as_save_IFS | ||
7006 | + test -z "$as_dir" && as_dir=. | ||
7007 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
7008 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
7009 | + ac_cv_prog_CC="${ac_tool_prefix}cc" | ||
7010 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
7011 | + break 2 | ||
7012 | + fi | ||
7013 | +done | ||
7014 | +done | ||
7015 | + | ||
7016 | +fi | ||
7017 | +fi | ||
7018 | +CC=$ac_cv_prog_CC | ||
7019 | +if test -n "$CC"; then | ||
7020 | + echo "$as_me:$LINENO: result: $CC" >&5 | ||
7021 | +echo "${ECHO_T}$CC" >&6 | ||
7022 | +else | ||
7023 | + echo "$as_me:$LINENO: result: no" >&5 | ||
7024 | +echo "${ECHO_T}no" >&6 | ||
7025 | +fi | ||
7026 | + | ||
7027 | +fi | ||
7028 | +if test -z "$ac_cv_prog_CC"; then | ||
7029 | + ac_ct_CC=$CC | ||
7030 | + # Extract the first word of "cc", so it can be a program name with args. | ||
7031 | +set dummy cc; ac_word=$2 | ||
7032 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
7033 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
7034 | +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
7035 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7036 | +else | ||
7037 | + if test -n "$ac_ct_CC"; then | ||
7038 | + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
7039 | +else | ||
7040 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
7041 | +for as_dir in $PATH | ||
7042 | +do | ||
7043 | + IFS=$as_save_IFS | ||
7044 | + test -z "$as_dir" && as_dir=. | ||
7045 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
7046 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
7047 | + ac_cv_prog_ac_ct_CC="cc" | ||
7048 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
7049 | + break 2 | ||
7050 | + fi | ||
7051 | +done | ||
7052 | +done | ||
7053 | + | ||
7054 | +fi | ||
7055 | +fi | ||
7056 | +ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
7057 | +if test -n "$ac_ct_CC"; then | ||
7058 | + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
7059 | +echo "${ECHO_T}$ac_ct_CC" >&6 | ||
7060 | +else | ||
7061 | + echo "$as_me:$LINENO: result: no" >&5 | ||
7062 | +echo "${ECHO_T}no" >&6 | ||
7063 | +fi | ||
7064 | + | ||
7065 | + CC=$ac_ct_CC | ||
7066 | +else | ||
7067 | + CC="$ac_cv_prog_CC" | ||
7068 | +fi | ||
7069 | + | ||
7070 | +fi | ||
7071 | +if test -z "$CC"; then | ||
7072 | + # Extract the first word of "cc", so it can be a program name with args. | ||
7073 | +set dummy cc; ac_word=$2 | ||
7074 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
7075 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
7076 | +if test "${ac_cv_prog_CC+set}" = set; then | ||
7077 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7078 | +else | ||
7079 | + if test -n "$CC"; then | ||
7080 | + ac_cv_prog_CC="$CC" # Let the user override the test. | ||
7081 | +else | ||
7082 | + ac_prog_rejected=no | ||
7083 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
7084 | +for as_dir in $PATH | ||
7085 | +do | ||
7086 | + IFS=$as_save_IFS | ||
7087 | + test -z "$as_dir" && as_dir=. | ||
7088 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
7089 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
7090 | + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | ||
7091 | + ac_prog_rejected=yes | ||
7092 | + continue | ||
7093 | + fi | ||
7094 | + ac_cv_prog_CC="cc" | ||
7095 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
7096 | + break 2 | ||
7097 | + fi | ||
7098 | +done | ||
7099 | +done | ||
7100 | + | ||
7101 | +if test $ac_prog_rejected = yes; then | ||
7102 | + # We found a bogon in the path, so make sure we never use it. | ||
7103 | + set dummy $ac_cv_prog_CC | ||
7104 | + shift | ||
7105 | + if test $# != 0; then | ||
7106 | + # We chose a different compiler from the bogus one. | ||
7107 | + # However, it has the same basename, so the bogon will be chosen | ||
7108 | + # first if we set CC to just the basename; use the full file name. | ||
7109 | + shift | ||
7110 | + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | ||
7111 | + fi | ||
7112 | +fi | ||
7113 | +fi | ||
7114 | +fi | ||
7115 | +CC=$ac_cv_prog_CC | ||
7116 | +if test -n "$CC"; then | ||
7117 | + echo "$as_me:$LINENO: result: $CC" >&5 | ||
7118 | +echo "${ECHO_T}$CC" >&6 | ||
7119 | +else | ||
7120 | + echo "$as_me:$LINENO: result: no" >&5 | ||
7121 | +echo "${ECHO_T}no" >&6 | ||
7122 | +fi | ||
7123 | + | ||
7124 | +fi | ||
7125 | +if test -z "$CC"; then | ||
7126 | + if test -n "$ac_tool_prefix"; then | ||
7127 | + for ac_prog in cl | ||
7128 | + do | ||
7129 | + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | ||
7130 | +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||
7131 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
7132 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
7133 | +if test "${ac_cv_prog_CC+set}" = set; then | ||
7134 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7135 | +else | ||
7136 | + if test -n "$CC"; then | ||
7137 | + ac_cv_prog_CC="$CC" # Let the user override the test. | ||
7138 | +else | ||
7139 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
7140 | +for as_dir in $PATH | ||
7141 | +do | ||
7142 | + IFS=$as_save_IFS | ||
7143 | + test -z "$as_dir" && as_dir=. | ||
7144 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
7145 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
7146 | + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | ||
7147 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
7148 | + break 2 | ||
7149 | + fi | ||
7150 | +done | ||
7151 | +done | ||
7152 | + | ||
7153 | +fi | ||
7154 | +fi | ||
7155 | +CC=$ac_cv_prog_CC | ||
7156 | +if test -n "$CC"; then | ||
7157 | + echo "$as_me:$LINENO: result: $CC" >&5 | ||
7158 | +echo "${ECHO_T}$CC" >&6 | ||
7159 | +else | ||
7160 | + echo "$as_me:$LINENO: result: no" >&5 | ||
7161 | +echo "${ECHO_T}no" >&6 | ||
7162 | +fi | ||
7163 | + | ||
7164 | + test -n "$CC" && break | ||
7165 | + done | ||
7166 | +fi | ||
7167 | +if test -z "$CC"; then | ||
7168 | + ac_ct_CC=$CC | ||
7169 | + for ac_prog in cl | ||
7170 | +do | ||
7171 | + # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
7172 | +set dummy $ac_prog; ac_word=$2 | ||
7173 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
7174 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
7175 | +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
7176 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7177 | +else | ||
7178 | + if test -n "$ac_ct_CC"; then | ||
7179 | + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
7180 | +else | ||
7181 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
7182 | +for as_dir in $PATH | ||
7183 | +do | ||
7184 | + IFS=$as_save_IFS | ||
7185 | + test -z "$as_dir" && as_dir=. | ||
7186 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
7187 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
7188 | + ac_cv_prog_ac_ct_CC="$ac_prog" | ||
7189 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
7190 | + break 2 | ||
7191 | + fi | ||
7192 | +done | ||
7193 | +done | ||
7194 | + | ||
7195 | +fi | ||
7196 | +fi | ||
7197 | +ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
7198 | +if test -n "$ac_ct_CC"; then | ||
7199 | + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
7200 | +echo "${ECHO_T}$ac_ct_CC" >&6 | ||
7201 | +else | ||
7202 | + echo "$as_me:$LINENO: result: no" >&5 | ||
7203 | +echo "${ECHO_T}no" >&6 | ||
7204 | +fi | ||
7205 | + | ||
7206 | + test -n "$ac_ct_CC" && break | ||
7207 | +done | ||
7208 | + | ||
7209 | + CC=$ac_ct_CC | ||
7210 | +fi | ||
7211 | + | ||
7212 | +fi | ||
7213 | + | ||
7214 | + | ||
7215 | +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | ||
7216 | +See \`config.log' for more details." >&5 | ||
7217 | +echo "$as_me: error: no acceptable C compiler found in \$PATH | ||
7218 | +See \`config.log' for more details." >&2;} | ||
7219 | + { (exit 1); exit 1; }; } | ||
7220 | + | ||
7221 | +# Provide some information about the compiler. | ||
7222 | +echo "$as_me:$LINENO:" \ | ||
7223 | + "checking for C compiler version" >&5 | ||
7224 | +ac_compiler=`set X $ac_compile; echo $2` | ||
7225 | +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | ||
7226 | + (eval $ac_compiler --version </dev/null >&5) 2>&5 | ||
7227 | + ac_status=$? | ||
7228 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7229 | + (exit $ac_status); } | ||
7230 | +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | ||
7231 | + (eval $ac_compiler -v </dev/null >&5) 2>&5 | ||
7232 | + ac_status=$? | ||
7233 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7234 | + (exit $ac_status); } | ||
7235 | +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | ||
7236 | + (eval $ac_compiler -V </dev/null >&5) 2>&5 | ||
7237 | + ac_status=$? | ||
7238 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7239 | + (exit $ac_status); } | ||
7240 | + | ||
7241 | +cat >conftest.$ac_ext <<_ACEOF | ||
7242 | +/* confdefs.h. */ | ||
7243 | +_ACEOF | ||
7244 | +cat confdefs.h >>conftest.$ac_ext | ||
7245 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7246 | +/* end confdefs.h. */ | ||
7247 | + | ||
7248 | +int | ||
7249 | +main () | ||
7250 | +{ | ||
7251 | + | ||
7252 | + ; | ||
7253 | + return 0; | ||
7254 | +} | ||
7255 | +_ACEOF | ||
7256 | +ac_clean_files_save=$ac_clean_files | ||
7257 | +ac_clean_files="$ac_clean_files a.out a.exe b.out" | ||
7258 | +# Try to create an executable without -o first, disregard a.out. | ||
7259 | +# It will help us diagnose broken compilers, and finding out an intuition | ||
7260 | +# of exeext. | ||
7261 | +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | ||
7262 | +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 | ||
7263 | +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ||
7264 | +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | ||
7265 | + (eval $ac_link_default) 2>&5 | ||
7266 | + ac_status=$? | ||
7267 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7268 | + (exit $ac_status); }; then | ||
7269 | + # Find the output, starting from the most likely. This scheme is | ||
7270 | +# not robust to junk in `.', hence go to wildcards (a.*) only as a last | ||
7271 | +# resort. | ||
7272 | + | ||
7273 | +# Be careful to initialize this variable, since it used to be cached. | ||
7274 | +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | ||
7275 | +ac_cv_exeext= | ||
7276 | +# b.out is created by i960 compilers. | ||
7277 | +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | ||
7278 | +do | ||
7279 | + test -f "$ac_file" || continue | ||
7280 | + case $ac_file in | ||
7281 | + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | ||
7282 | + ;; | ||
7283 | + conftest.$ac_ext ) | ||
7284 | + # This is the source file. | ||
7285 | + ;; | ||
7286 | + [ab].out ) | ||
7287 | + # We found the default executable, but exeext='' is most | ||
7288 | + # certainly right. | ||
7289 | + break;; | ||
7290 | + *.* ) | ||
7291 | + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
7292 | + # FIXME: I believe we export ac_cv_exeext for Libtool, | ||
7293 | + # but it would be cool to find out if it's true. Does anybody | ||
7294 | + # maintain Libtool? --akim. | ||
7295 | + export ac_cv_exeext | ||
7296 | + break;; | ||
7297 | + * ) | ||
7298 | + break;; | ||
7299 | + esac | ||
7300 | +done | ||
7301 | +else | ||
7302 | + echo "$as_me: failed program was:" >&5 | ||
7303 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7304 | + | ||
7305 | +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables | ||
7306 | +See \`config.log' for more details." >&5 | ||
7307 | +echo "$as_me: error: C compiler cannot create executables | ||
7308 | +See \`config.log' for more details." >&2;} | ||
7309 | + { (exit 77); exit 77; }; } | ||
7310 | +fi | ||
7311 | + | ||
7312 | +ac_exeext=$ac_cv_exeext | ||
7313 | +echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
7314 | +echo "${ECHO_T}$ac_file" >&6 | ||
7315 | + | ||
7316 | +# Check the compiler produces executables we can run. If not, either | ||
7317 | +# the compiler is broken, or we cross compile. | ||
7318 | +echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | ||
7319 | +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | ||
7320 | +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
7321 | +# If not cross compiling, check that we can run a simple program. | ||
7322 | +if test "$cross_compiling" != yes; then | ||
7323 | + if { ac_try='./$ac_file' | ||
7324 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7325 | + (eval $ac_try) 2>&5 | ||
7326 | + ac_status=$? | ||
7327 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7328 | + (exit $ac_status); }; }; then | ||
7329 | + cross_compiling=no | ||
7330 | + else | ||
7331 | + if test "$cross_compiling" = maybe; then | ||
7332 | + cross_compiling=yes | ||
7333 | + else | ||
7334 | + { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | ||
7335 | +If you meant to cross compile, use \`--host'. | ||
7336 | +See \`config.log' for more details." >&5 | ||
7337 | +echo "$as_me: error: cannot run C compiled programs. | ||
7338 | +If you meant to cross compile, use \`--host'. | ||
7339 | +See \`config.log' for more details." >&2;} | ||
7340 | + { (exit 1); exit 1; }; } | ||
7341 | + fi | ||
7342 | + fi | ||
7343 | +fi | ||
7344 | +echo "$as_me:$LINENO: result: yes" >&5 | ||
7345 | +echo "${ECHO_T}yes" >&6 | ||
7346 | + | ||
7347 | +rm -f a.out a.exe conftest$ac_cv_exeext b.out | ||
7348 | +ac_clean_files=$ac_clean_files_save | ||
7349 | +# Check the compiler produces executables we can run. If not, either | ||
7350 | +# the compiler is broken, or we cross compile. | ||
7351 | +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | ||
7352 | +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | ||
7353 | +echo "$as_me:$LINENO: result: $cross_compiling" >&5 | ||
7354 | +echo "${ECHO_T}$cross_compiling" >&6 | ||
7355 | + | ||
7356 | +echo "$as_me:$LINENO: checking for suffix of executables" >&5 | ||
7357 | +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | ||
7358 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7359 | + (eval $ac_link) 2>&5 | ||
7360 | + ac_status=$? | ||
7361 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7362 | + (exit $ac_status); }; then | ||
7363 | + # If both `conftest.exe' and `conftest' are `present' (well, observable) | ||
7364 | +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | ||
7365 | +# work properly (i.e., refer to `conftest.exe'), while it won't with | ||
7366 | +# `rm'. | ||
7367 | +for ac_file in conftest.exe conftest conftest.*; do | ||
7368 | + test -f "$ac_file" || continue | ||
7369 | + case $ac_file in | ||
7370 | + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | ||
7371 | + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
7372 | + export ac_cv_exeext | ||
7373 | + break;; | ||
7374 | + * ) break;; | ||
7375 | + esac | ||
7376 | +done | ||
7377 | +else | ||
7378 | + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | ||
7379 | +See \`config.log' for more details." >&5 | ||
7380 | +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | ||
7381 | +See \`config.log' for more details." >&2;} | ||
7382 | + { (exit 1); exit 1; }; } | ||
7383 | +fi | ||
7384 | + | ||
7385 | +rm -f conftest$ac_cv_exeext | ||
7386 | +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | ||
7387 | +echo "${ECHO_T}$ac_cv_exeext" >&6 | ||
7388 | + | ||
7389 | +rm -f conftest.$ac_ext | ||
7390 | +EXEEXT=$ac_cv_exeext | ||
7391 | +ac_exeext=$EXEEXT | ||
7392 | +echo "$as_me:$LINENO: checking for suffix of object files" >&5 | ||
7393 | +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | ||
7394 | +if test "${ac_cv_objext+set}" = set; then | ||
7395 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7396 | +else | ||
7397 | + cat >conftest.$ac_ext <<_ACEOF | ||
7398 | +/* confdefs.h. */ | ||
7399 | +_ACEOF | ||
7400 | +cat confdefs.h >>conftest.$ac_ext | ||
7401 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7402 | +/* end confdefs.h. */ | ||
7403 | + | ||
7404 | +int | ||
7405 | +main () | ||
7406 | +{ | ||
7407 | + | ||
7408 | + ; | ||
7409 | + return 0; | ||
7410 | +} | ||
7411 | +_ACEOF | ||
7412 | +rm -f conftest.o conftest.obj | ||
7413 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7414 | + (eval $ac_compile) 2>&5 | ||
7415 | + ac_status=$? | ||
7416 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7417 | + (exit $ac_status); }; then | ||
7418 | + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | ||
7419 | + case $ac_file in | ||
7420 | + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | ||
7421 | + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | ||
7422 | + break;; | ||
7423 | + esac | ||
7424 | +done | ||
7425 | +else | ||
7426 | + echo "$as_me: failed program was:" >&5 | ||
7427 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7428 | + | ||
7429 | +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | ||
7430 | +See \`config.log' for more details." >&5 | ||
7431 | +echo "$as_me: error: cannot compute suffix of object files: cannot compile | ||
7432 | +See \`config.log' for more details." >&2;} | ||
7433 | + { (exit 1); exit 1; }; } | ||
7434 | +fi | ||
7435 | + | ||
7436 | +rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
7437 | +fi | ||
7438 | +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | ||
7439 | +echo "${ECHO_T}$ac_cv_objext" >&6 | ||
7440 | +OBJEXT=$ac_cv_objext | ||
7441 | +ac_objext=$OBJEXT | ||
7442 | +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | ||
7443 | +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | ||
7444 | +if test "${ac_cv_c_compiler_gnu+set}" = set; then | ||
7445 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7446 | +else | ||
7447 | + cat >conftest.$ac_ext <<_ACEOF | ||
7448 | +/* confdefs.h. */ | ||
7449 | +_ACEOF | ||
7450 | +cat confdefs.h >>conftest.$ac_ext | ||
7451 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7452 | +/* end confdefs.h. */ | ||
7453 | + | ||
7454 | +int | ||
7455 | +main () | ||
7456 | +{ | ||
7457 | +#ifndef __GNUC__ | ||
7458 | + choke me | ||
7459 | +#endif | ||
7460 | + | ||
7461 | + ; | ||
7462 | + return 0; | ||
7463 | +} | ||
7464 | +_ACEOF | ||
7465 | +rm -f conftest.$ac_objext | ||
7466 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7467 | + (eval $ac_compile) 2>conftest.er1 | ||
7468 | + ac_status=$? | ||
7469 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7470 | + rm -f conftest.er1 | ||
7471 | + cat conftest.err >&5 | ||
7472 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7473 | + (exit $ac_status); } && | ||
7474 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
7475 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7476 | + (eval $ac_try) 2>&5 | ||
7477 | + ac_status=$? | ||
7478 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7479 | + (exit $ac_status); }; } && | ||
7480 | + { ac_try='test -s conftest.$ac_objext' | ||
7481 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7482 | + (eval $ac_try) 2>&5 | ||
7483 | + ac_status=$? | ||
7484 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7485 | + (exit $ac_status); }; }; then | ||
7486 | + ac_compiler_gnu=yes | ||
7487 | +else | ||
7488 | + echo "$as_me: failed program was:" >&5 | ||
7489 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7490 | + | ||
7491 | +ac_compiler_gnu=no | ||
7492 | +fi | ||
7493 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7494 | +ac_cv_c_compiler_gnu=$ac_compiler_gnu | ||
7495 | + | ||
7496 | +fi | ||
7497 | +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | ||
7498 | +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | ||
7499 | +GCC=`test $ac_compiler_gnu = yes && echo yes` | ||
7500 | +ac_test_CFLAGS=${CFLAGS+set} | ||
7501 | +ac_save_CFLAGS=$CFLAGS | ||
7502 | +CFLAGS="-g" | ||
7503 | +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | ||
7504 | +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | ||
7505 | +if test "${ac_cv_prog_cc_g+set}" = set; then | ||
7506 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7507 | +else | ||
7508 | + cat >conftest.$ac_ext <<_ACEOF | ||
7509 | +/* confdefs.h. */ | ||
7510 | +_ACEOF | ||
7511 | +cat confdefs.h >>conftest.$ac_ext | ||
7512 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7513 | +/* end confdefs.h. */ | ||
7514 | + | ||
7515 | +int | ||
7516 | +main () | ||
7517 | +{ | ||
7518 | + | ||
7519 | + ; | ||
7520 | + return 0; | ||
7521 | +} | ||
7522 | +_ACEOF | ||
7523 | +rm -f conftest.$ac_objext | ||
7524 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7525 | + (eval $ac_compile) 2>conftest.er1 | ||
7526 | + ac_status=$? | ||
7527 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7528 | + rm -f conftest.er1 | ||
7529 | + cat conftest.err >&5 | ||
7530 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7531 | + (exit $ac_status); } && | ||
7532 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
7533 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7534 | + (eval $ac_try) 2>&5 | ||
7535 | + ac_status=$? | ||
7536 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7537 | + (exit $ac_status); }; } && | ||
7538 | + { ac_try='test -s conftest.$ac_objext' | ||
7539 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7540 | + (eval $ac_try) 2>&5 | ||
7541 | + ac_status=$? | ||
7542 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7543 | + (exit $ac_status); }; }; then | ||
7544 | + ac_cv_prog_cc_g=yes | ||
7545 | +else | ||
7546 | + echo "$as_me: failed program was:" >&5 | ||
7547 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7548 | + | ||
7549 | +ac_cv_prog_cc_g=no | ||
7550 | +fi | ||
7551 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7552 | +fi | ||
7553 | +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | ||
7554 | +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | ||
7555 | +if test "$ac_test_CFLAGS" = set; then | ||
7556 | + CFLAGS=$ac_save_CFLAGS | ||
7557 | +elif test $ac_cv_prog_cc_g = yes; then | ||
7558 | + if test "$GCC" = yes; then | ||
7559 | + CFLAGS="-g -O2" | ||
7560 | + else | ||
7561 | + CFLAGS="-g" | ||
7562 | + fi | ||
7563 | +else | ||
7564 | + if test "$GCC" = yes; then | ||
7565 | + CFLAGS="-O2" | ||
7566 | + else | ||
7567 | + CFLAGS= | ||
7568 | + fi | ||
7569 | +fi | ||
7570 | +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | ||
7571 | +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | ||
7572 | +if test "${ac_cv_prog_cc_stdc+set}" = set; then | ||
7573 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7574 | +else | ||
7575 | + ac_cv_prog_cc_stdc=no | ||
7576 | +ac_save_CC=$CC | ||
7577 | +cat >conftest.$ac_ext <<_ACEOF | ||
7578 | +/* confdefs.h. */ | ||
7579 | +_ACEOF | ||
7580 | +cat confdefs.h >>conftest.$ac_ext | ||
7581 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7582 | +/* end confdefs.h. */ | ||
7583 | +#include <stdarg.h> | ||
7584 | +#include <stdio.h> | ||
7585 | +#include <sys/types.h> | ||
7586 | +#include <sys/stat.h> | ||
7587 | +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | ||
7588 | +struct buf { int x; }; | ||
7589 | +FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
7590 | +static char *e (p, i) | ||
7591 | + char **p; | ||
7592 | + int i; | ||
7593 | +{ | ||
7594 | + return p[i]; | ||
7595 | +} | ||
7596 | +static char *f (char * (*g) (char **, int), char **p, ...) | ||
7597 | +{ | ||
7598 | + char *s; | ||
7599 | + va_list v; | ||
7600 | + va_start (v,p); | ||
7601 | + s = g (p, va_arg (v,int)); | ||
7602 | + va_end (v); | ||
7603 | + return s; | ||
7604 | +} | ||
7605 | + | ||
7606 | +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | ||
7607 | + function prototypes and stuff, but not '\xHH' hex character constants. | ||
7608 | + These don't provoke an error unfortunately, instead are silently treated | ||
7609 | + as 'x'. The following induces an error, until -std1 is added to get | ||
7610 | + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | ||
7611 | + array size at least. It's necessary to write '\x00'==0 to get something | ||
7612 | + that's true only with -std1. */ | ||
7613 | +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | ||
7614 | + | ||
7615 | +int test (int i, double x); | ||
7616 | +struct s1 {int (*f) (int a);}; | ||
7617 | +struct s2 {int (*f) (double a);}; | ||
7618 | +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
7619 | +int argc; | ||
7620 | +char **argv; | ||
7621 | +int | ||
7622 | +main () | ||
7623 | +{ | ||
7624 | +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
7625 | + ; | ||
7626 | + return 0; | ||
7627 | +} | ||
7628 | +_ACEOF | ||
7629 | +# Don't try gcc -ansi; that turns off useful extensions and | ||
7630 | +# breaks some systems' header files. | ||
7631 | +# AIX -qlanglvl=ansi | ||
7632 | +# Ultrix and OSF/1 -std1 | ||
7633 | +# HP-UX 10.20 and later -Ae | ||
7634 | +# HP-UX older versions -Aa -D_HPUX_SOURCE | ||
7635 | +# SVR4 -Xc -D__EXTENSIONS__ | ||
7636 | +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
7637 | +do | ||
7638 | + CC="$ac_save_CC $ac_arg" | ||
7639 | + rm -f conftest.$ac_objext | ||
7640 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7641 | + (eval $ac_compile) 2>conftest.er1 | ||
7642 | + ac_status=$? | ||
7643 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7644 | + rm -f conftest.er1 | ||
7645 | + cat conftest.err >&5 | ||
7646 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7647 | + (exit $ac_status); } && | ||
7648 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
7649 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7650 | + (eval $ac_try) 2>&5 | ||
7651 | + ac_status=$? | ||
7652 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7653 | + (exit $ac_status); }; } && | ||
7654 | + { ac_try='test -s conftest.$ac_objext' | ||
7655 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7656 | + (eval $ac_try) 2>&5 | ||
7657 | + ac_status=$? | ||
7658 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7659 | + (exit $ac_status); }; }; then | ||
7660 | + ac_cv_prog_cc_stdc=$ac_arg | ||
7661 | +break | ||
7662 | +else | ||
7663 | + echo "$as_me: failed program was:" >&5 | ||
7664 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7665 | + | ||
7666 | +fi | ||
7667 | +rm -f conftest.err conftest.$ac_objext | ||
7668 | +done | ||
7669 | +rm -f conftest.$ac_ext conftest.$ac_objext | ||
7670 | +CC=$ac_save_CC | ||
7671 | + | ||
7672 | +fi | ||
7673 | + | ||
7674 | +case "x$ac_cv_prog_cc_stdc" in | ||
7675 | + x|xno) | ||
7676 | + echo "$as_me:$LINENO: result: none needed" >&5 | ||
7677 | +echo "${ECHO_T}none needed" >&6 ;; | ||
7678 | + *) | ||
7679 | + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | ||
7680 | +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | ||
7681 | + CC="$CC $ac_cv_prog_cc_stdc" ;; | ||
7682 | +esac | ||
7683 | + | ||
7684 | +# Some people use a C++ compiler to compile C. Since we use `exit', | ||
7685 | +# in C++ we need to declare it. In case someone uses the same compiler | ||
7686 | +# for both compiling C and C++ we need to have the C++ compiler decide | ||
7687 | +# the declaration of exit, since it's the most demanding environment. | ||
7688 | +cat >conftest.$ac_ext <<_ACEOF | ||
7689 | +#ifndef __cplusplus | ||
7690 | + choke me | ||
7691 | +#endif | ||
7692 | +_ACEOF | ||
7693 | +rm -f conftest.$ac_objext | ||
7694 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7695 | + (eval $ac_compile) 2>conftest.er1 | ||
7696 | + ac_status=$? | ||
7697 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7698 | + rm -f conftest.er1 | ||
7699 | + cat conftest.err >&5 | ||
7700 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7701 | + (exit $ac_status); } && | ||
7702 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
7703 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7704 | + (eval $ac_try) 2>&5 | ||
7705 | + ac_status=$? | ||
7706 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7707 | + (exit $ac_status); }; } && | ||
7708 | + { ac_try='test -s conftest.$ac_objext' | ||
7709 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7710 | + (eval $ac_try) 2>&5 | ||
7711 | + ac_status=$? | ||
7712 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7713 | + (exit $ac_status); }; }; then | ||
7714 | + for ac_declaration in \ | ||
7715 | + '' \ | ||
7716 | + 'extern "C" void std::exit (int) throw (); using std::exit;' \ | ||
7717 | + 'extern "C" void std::exit (int); using std::exit;' \ | ||
7718 | + 'extern "C" void exit (int) throw ();' \ | ||
7719 | + 'extern "C" void exit (int);' \ | ||
7720 | + 'void exit (int);' | ||
7721 | +do | ||
7722 | + cat >conftest.$ac_ext <<_ACEOF | ||
7723 | +/* confdefs.h. */ | ||
7724 | +_ACEOF | ||
7725 | +cat confdefs.h >>conftest.$ac_ext | ||
7726 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7727 | +/* end confdefs.h. */ | ||
7728 | +$ac_declaration | ||
7729 | +#include <stdlib.h> | ||
7730 | +int | ||
7731 | +main () | ||
7732 | +{ | ||
7733 | +exit (42); | ||
7734 | + ; | ||
7735 | + return 0; | ||
7736 | +} | ||
7737 | +_ACEOF | ||
7738 | +rm -f conftest.$ac_objext | ||
7739 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7740 | + (eval $ac_compile) 2>conftest.er1 | ||
7741 | + ac_status=$? | ||
7742 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7743 | + rm -f conftest.er1 | ||
7744 | + cat conftest.err >&5 | ||
7745 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7746 | + (exit $ac_status); } && | ||
7747 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
7748 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7749 | + (eval $ac_try) 2>&5 | ||
7750 | + ac_status=$? | ||
7751 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7752 | + (exit $ac_status); }; } && | ||
7753 | + { ac_try='test -s conftest.$ac_objext' | ||
7754 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7755 | + (eval $ac_try) 2>&5 | ||
7756 | + ac_status=$? | ||
7757 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7758 | + (exit $ac_status); }; }; then | ||
7759 | + : | ||
7760 | +else | ||
7761 | + echo "$as_me: failed program was:" >&5 | ||
7762 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7763 | + | ||
7764 | +continue | ||
7765 | +fi | ||
7766 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7767 | + cat >conftest.$ac_ext <<_ACEOF | ||
7768 | +/* confdefs.h. */ | ||
7769 | +_ACEOF | ||
7770 | +cat confdefs.h >>conftest.$ac_ext | ||
7771 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7772 | +/* end confdefs.h. */ | ||
7773 | +$ac_declaration | ||
7774 | +int | ||
7775 | +main () | ||
7776 | +{ | ||
7777 | +exit (42); | ||
7778 | + ; | ||
7779 | + return 0; | ||
7780 | +} | ||
7781 | +_ACEOF | ||
7782 | +rm -f conftest.$ac_objext | ||
7783 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7784 | + (eval $ac_compile) 2>conftest.er1 | ||
7785 | + ac_status=$? | ||
7786 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7787 | + rm -f conftest.er1 | ||
7788 | + cat conftest.err >&5 | ||
7789 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7790 | + (exit $ac_status); } && | ||
7791 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
7792 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7793 | + (eval $ac_try) 2>&5 | ||
7794 | + ac_status=$? | ||
7795 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7796 | + (exit $ac_status); }; } && | ||
7797 | + { ac_try='test -s conftest.$ac_objext' | ||
7798 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7799 | + (eval $ac_try) 2>&5 | ||
7800 | + ac_status=$? | ||
7801 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7802 | + (exit $ac_status); }; }; then | ||
7803 | + break | ||
7804 | +else | ||
7805 | + echo "$as_me: failed program was:" >&5 | ||
7806 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7807 | + | ||
7808 | +fi | ||
7809 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7810 | +done | ||
7811 | +rm -f conftest* | ||
7812 | +if test -n "$ac_declaration"; then | ||
7813 | + echo '#ifdef __cplusplus' >>confdefs.h | ||
7814 | + echo $ac_declaration >>confdefs.h | ||
7815 | + echo '#endif' >>confdefs.h | ||
7816 | +fi | ||
7817 | + | ||
7818 | +else | ||
7819 | + echo "$as_me: failed program was:" >&5 | ||
7820 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7821 | + | ||
7822 | +fi | ||
7823 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7824 | +ac_ext=c | ||
7825 | +ac_cpp='$CPP $CPPFLAGS' | ||
7826 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
7827 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
7828 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
7829 | + | ||
7830 | + | ||
7831 | +ac_ext=c | ||
7832 | +ac_cpp='$CPP $CPPFLAGS' | ||
7833 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
7834 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
7835 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
7836 | +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | ||
7837 | +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | ||
7838 | +# On Suns, sometimes $CPP names a directory. | ||
7839 | +if test -n "$CPP" && test -d "$CPP"; then | ||
7840 | + CPP= | ||
7841 | +fi | ||
7842 | +if test -z "$CPP"; then | ||
7843 | + if test "${ac_cv_prog_CPP+set}" = set; then | ||
7844 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7845 | +else | ||
7846 | + # Double quotes because CPP needs to be expanded | ||
7847 | + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | ||
7848 | + do | ||
7849 | + ac_preproc_ok=false | ||
7850 | +for ac_c_preproc_warn_flag in '' yes | ||
7851 | +do | ||
7852 | + # Use a header file that comes with gcc, so configuring glibc | ||
7853 | + # with a fresh cross-compiler works. | ||
7854 | + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
7855 | + # <limits.h> exists even on freestanding compilers. | ||
7856 | + # On the NeXT, cc -E runs the code through the compiler's parser, | ||
7857 | + # not just through cpp. "Syntax error" is here to catch this case. | ||
7858 | + cat >conftest.$ac_ext <<_ACEOF | ||
7859 | +/* confdefs.h. */ | ||
7860 | +_ACEOF | ||
7861 | +cat confdefs.h >>conftest.$ac_ext | ||
7862 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7863 | +/* end confdefs.h. */ | ||
7864 | +#ifdef __STDC__ | ||
7865 | +# include <limits.h> | ||
7866 | +#else | ||
7867 | +# include <assert.h> | ||
7868 | +#endif | ||
7869 | + Syntax error | ||
7870 | +_ACEOF | ||
7871 | +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
7872 | + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
7873 | + ac_status=$? | ||
7874 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7875 | + rm -f conftest.er1 | ||
7876 | + cat conftest.err >&5 | ||
7877 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7878 | + (exit $ac_status); } >/dev/null; then | ||
7879 | + if test -s conftest.err; then | ||
7880 | + ac_cpp_err=$ac_c_preproc_warn_flag | ||
7881 | + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | ||
7882 | + else | ||
7883 | + ac_cpp_err= | ||
7884 | + fi | ||
7885 | +else | ||
7886 | + ac_cpp_err=yes | ||
7887 | +fi | ||
7888 | +if test -z "$ac_cpp_err"; then | ||
7889 | + : | ||
7890 | +else | ||
7891 | + echo "$as_me: failed program was:" >&5 | ||
7892 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7893 | + | ||
7894 | + # Broken: fails on valid input. | ||
7895 | +continue | ||
7896 | +fi | ||
7897 | +rm -f conftest.err conftest.$ac_ext | ||
7898 | + | ||
7899 | + # OK, works on sane cases. Now check whether non-existent headers | ||
7900 | + # can be detected and how. | ||
7901 | + cat >conftest.$ac_ext <<_ACEOF | ||
7902 | +/* confdefs.h. */ | ||
7903 | +_ACEOF | ||
7904 | +cat confdefs.h >>conftest.$ac_ext | ||
7905 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7906 | +/* end confdefs.h. */ | ||
7907 | +#include <ac_nonexistent.h> | ||
7908 | +_ACEOF | ||
7909 | +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
7910 | + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
7911 | + ac_status=$? | ||
7912 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7913 | + rm -f conftest.er1 | ||
7914 | + cat conftest.err >&5 | ||
7915 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7916 | + (exit $ac_status); } >/dev/null; then | ||
7917 | + if test -s conftest.err; then | ||
7918 | + ac_cpp_err=$ac_c_preproc_warn_flag | ||
7919 | + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | ||
7920 | + else | ||
7921 | + ac_cpp_err= | ||
7922 | + fi | ||
7923 | +else | ||
7924 | + ac_cpp_err=yes | ||
7925 | +fi | ||
7926 | +if test -z "$ac_cpp_err"; then | ||
7927 | + # Broken: success on invalid input. | ||
7928 | +continue | ||
7929 | +else | ||
7930 | + echo "$as_me: failed program was:" >&5 | ||
7931 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7932 | + | ||
7933 | + # Passes both tests. | ||
7934 | +ac_preproc_ok=: | ||
7935 | +break | ||
7936 | +fi | ||
7937 | +rm -f conftest.err conftest.$ac_ext | ||
7938 | + | ||
7939 | +done | ||
7940 | +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
7941 | +rm -f conftest.err conftest.$ac_ext | ||
7942 | +if $ac_preproc_ok; then | ||
7943 | + break | ||
7944 | +fi | ||
7945 | + | ||
7946 | + done | ||
7947 | + ac_cv_prog_CPP=$CPP | ||
7948 | + | ||
7949 | +fi | ||
7950 | + CPP=$ac_cv_prog_CPP | ||
7951 | +else | ||
7952 | + ac_cv_prog_CPP=$CPP | ||
7953 | +fi | ||
7954 | +echo "$as_me:$LINENO: result: $CPP" >&5 | ||
7955 | +echo "${ECHO_T}$CPP" >&6 | ||
7956 | +ac_preproc_ok=false | ||
7957 | +for ac_c_preproc_warn_flag in '' yes | ||
7958 | +do | ||
7959 | + # Use a header file that comes with gcc, so configuring glibc | ||
7960 | + # with a fresh cross-compiler works. | ||
7961 | + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
7962 | + # <limits.h> exists even on freestanding compilers. | ||
7963 | + # On the NeXT, cc -E runs the code through the compiler's parser, | ||
7964 | + # not just through cpp. "Syntax error" is here to catch this case. | ||
7965 | + cat >conftest.$ac_ext <<_ACEOF | ||
7966 | +/* confdefs.h. */ | ||
7967 | +_ACEOF | ||
7968 | +cat confdefs.h >>conftest.$ac_ext | ||
7969 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7970 | +/* end confdefs.h. */ | ||
7971 | +#ifdef __STDC__ | ||
7972 | +# include <limits.h> | ||
7973 | +#else | ||
7974 | +# include <assert.h> | ||
7975 | +#endif | ||
7976 | + Syntax error | ||
7977 | +_ACEOF | ||
7978 | +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
7979 | + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
7980 | + ac_status=$? | ||
7981 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7982 | + rm -f conftest.er1 | ||
7983 | + cat conftest.err >&5 | ||
7984 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7985 | + (exit $ac_status); } >/dev/null; then | ||
7986 | + if test -s conftest.err; then | ||
7987 | + ac_cpp_err=$ac_c_preproc_warn_flag | ||
7988 | + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | ||
7989 | + else | ||
7990 | + ac_cpp_err= | ||
7991 | + fi | ||
7992 | +else | ||
7993 | + ac_cpp_err=yes | ||
7994 | +fi | ||
7995 | +if test -z "$ac_cpp_err"; then | ||
7996 | + : | ||
7997 | +else | ||
7998 | + echo "$as_me: failed program was:" >&5 | ||
7999 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8000 | + | ||
8001 | + # Broken: fails on valid input. | ||
8002 | +continue | ||
8003 | +fi | ||
8004 | +rm -f conftest.err conftest.$ac_ext | ||
8005 | + | ||
8006 | + # OK, works on sane cases. Now check whether non-existent headers | ||
8007 | + # can be detected and how. | ||
8008 | + cat >conftest.$ac_ext <<_ACEOF | ||
8009 | +/* confdefs.h. */ | ||
8010 | +_ACEOF | ||
8011 | +cat confdefs.h >>conftest.$ac_ext | ||
8012 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8013 | +/* end confdefs.h. */ | ||
8014 | +#include <ac_nonexistent.h> | ||
8015 | +_ACEOF | ||
8016 | +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
8017 | + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
8018 | + ac_status=$? | ||
8019 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8020 | + rm -f conftest.er1 | ||
8021 | + cat conftest.err >&5 | ||
8022 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8023 | + (exit $ac_status); } >/dev/null; then | ||
8024 | + if test -s conftest.err; then | ||
8025 | + ac_cpp_err=$ac_c_preproc_warn_flag | ||
8026 | + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | ||
8027 | + else | ||
8028 | + ac_cpp_err= | ||
8029 | + fi | ||
8030 | +else | ||
8031 | + ac_cpp_err=yes | ||
8032 | +fi | ||
8033 | +if test -z "$ac_cpp_err"; then | ||
8034 | + # Broken: success on invalid input. | ||
8035 | +continue | ||
8036 | +else | ||
8037 | + echo "$as_me: failed program was:" >&5 | ||
8038 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8039 | + | ||
8040 | + # Passes both tests. | ||
8041 | +ac_preproc_ok=: | ||
8042 | +break | ||
8043 | +fi | ||
8044 | +rm -f conftest.err conftest.$ac_ext | ||
8045 | + | ||
8046 | +done | ||
8047 | +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
8048 | +rm -f conftest.err conftest.$ac_ext | ||
8049 | +if $ac_preproc_ok; then | ||
8050 | + : | ||
8051 | +else | ||
8052 | + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | ||
8053 | +See \`config.log' for more details." >&5 | ||
8054 | +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | ||
8055 | +See \`config.log' for more details." >&2;} | ||
8056 | + { (exit 1); exit 1; }; } | ||
8057 | +fi | ||
8058 | + | ||
8059 | +ac_ext=c | ||
8060 | +ac_cpp='$CPP $CPPFLAGS' | ||
8061 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
8062 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
8063 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
8064 | + | ||
8065 | + | ||
8066 | +echo "$as_me:$LINENO: checking for egrep" >&5 | ||
8067 | +echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | ||
8068 | +if test "${ac_cv_prog_egrep+set}" = set; then | ||
8069 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8070 | +else | ||
8071 | + if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | ||
8072 | + then ac_cv_prog_egrep='grep -E' | ||
8073 | + else ac_cv_prog_egrep='egrep' | ||
8074 | + fi | ||
8075 | +fi | ||
8076 | +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | ||
8077 | +echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | ||
8078 | + EGREP=$ac_cv_prog_egrep | ||
8079 | + | ||
8080 | + | ||
8081 | +echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | ||
8082 | +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | ||
8083 | +if test "${ac_cv_header_stdc+set}" = set; then | ||
8084 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8085 | +else | ||
8086 | + cat >conftest.$ac_ext <<_ACEOF | ||
8087 | +/* confdefs.h. */ | ||
8088 | +_ACEOF | ||
8089 | +cat confdefs.h >>conftest.$ac_ext | ||
8090 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8091 | +/* end confdefs.h. */ | ||
8092 | +#include <stdlib.h> | ||
8093 | +#include <stdarg.h> | ||
8094 | +#include <string.h> | ||
8095 | +#include <float.h> | ||
8096 | + | ||
8097 | +int | ||
8098 | +main () | ||
8099 | +{ | ||
8100 | + | ||
8101 | + ; | ||
8102 | + return 0; | ||
8103 | +} | ||
8104 | +_ACEOF | ||
8105 | +rm -f conftest.$ac_objext | ||
8106 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8107 | + (eval $ac_compile) 2>conftest.er1 | ||
8108 | + ac_status=$? | ||
8109 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8110 | + rm -f conftest.er1 | ||
8111 | + cat conftest.err >&5 | ||
8112 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8113 | + (exit $ac_status); } && | ||
8114 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
8115 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8116 | + (eval $ac_try) 2>&5 | ||
8117 | + ac_status=$? | ||
8118 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8119 | + (exit $ac_status); }; } && | ||
8120 | + { ac_try='test -s conftest.$ac_objext' | ||
8121 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8122 | + (eval $ac_try) 2>&5 | ||
8123 | + ac_status=$? | ||
8124 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8125 | + (exit $ac_status); }; }; then | ||
8126 | + ac_cv_header_stdc=yes | ||
8127 | +else | ||
8128 | + echo "$as_me: failed program was:" >&5 | ||
8129 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8130 | + | ||
8131 | +ac_cv_header_stdc=no | ||
8132 | +fi | ||
8133 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8134 | + | ||
8135 | +if test $ac_cv_header_stdc = yes; then | ||
8136 | + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | ||
8137 | + cat >conftest.$ac_ext <<_ACEOF | ||
8138 | +/* confdefs.h. */ | ||
8139 | +_ACEOF | ||
8140 | +cat confdefs.h >>conftest.$ac_ext | ||
8141 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8142 | +/* end confdefs.h. */ | ||
8143 | +#include <string.h> | ||
8144 | + | ||
8145 | +_ACEOF | ||
8146 | +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
8147 | + $EGREP "memchr" >/dev/null 2>&1; then | ||
8148 | + : | ||
8149 | +else | ||
8150 | + ac_cv_header_stdc=no | ||
8151 | +fi | ||
8152 | +rm -f conftest* | ||
8153 | + | ||
8154 | +fi | ||
8155 | + | ||
8156 | +if test $ac_cv_header_stdc = yes; then | ||
8157 | + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | ||
8158 | + cat >conftest.$ac_ext <<_ACEOF | ||
8159 | +/* confdefs.h. */ | ||
8160 | +_ACEOF | ||
8161 | +cat confdefs.h >>conftest.$ac_ext | ||
8162 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8163 | +/* end confdefs.h. */ | ||
8164 | +#include <stdlib.h> | ||
8165 | + | ||
8166 | +_ACEOF | ||
8167 | +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
8168 | + $EGREP "free" >/dev/null 2>&1; then | ||
8169 | + : | ||
8170 | +else | ||
8171 | + ac_cv_header_stdc=no | ||
8172 | +fi | ||
8173 | +rm -f conftest* | ||
8174 | + | ||
8175 | +fi | ||
8176 | + | ||
8177 | +if test $ac_cv_header_stdc = yes; then | ||
8178 | + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | ||
8179 | + if test "$cross_compiling" = yes; then | ||
8180 | + : | ||
8181 | +else | ||
8182 | + cat >conftest.$ac_ext <<_ACEOF | ||
8183 | +/* confdefs.h. */ | ||
8184 | +_ACEOF | ||
8185 | +cat confdefs.h >>conftest.$ac_ext | ||
8186 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8187 | +/* end confdefs.h. */ | ||
8188 | +#include <ctype.h> | ||
8189 | +#if ((' ' & 0x0FF) == 0x020) | ||
8190 | +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | ||
8191 | +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | ||
8192 | +#else | ||
8193 | +# define ISLOWER(c) \ | ||
8194 | + (('a' <= (c) && (c) <= 'i') \ | ||
8195 | + || ('j' <= (c) && (c) <= 'r') \ | ||
8196 | + || ('s' <= (c) && (c) <= 'z')) | ||
8197 | +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | ||
8198 | +#endif | ||
8199 | + | ||
8200 | +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | ||
8201 | +int | ||
8202 | +main () | ||
8203 | +{ | ||
8204 | + int i; | ||
8205 | + for (i = 0; i < 256; i++) | ||
8206 | + if (XOR (islower (i), ISLOWER (i)) | ||
8207 | + || toupper (i) != TOUPPER (i)) | ||
8208 | + exit(2); | ||
8209 | + exit (0); | ||
8210 | +} | ||
8211 | +_ACEOF | ||
8212 | +rm -f conftest$ac_exeext | ||
8213 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8214 | + (eval $ac_link) 2>&5 | ||
8215 | + ac_status=$? | ||
8216 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8217 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
8218 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8219 | + (eval $ac_try) 2>&5 | ||
8220 | + ac_status=$? | ||
8221 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8222 | + (exit $ac_status); }; }; then | ||
8223 | + : | ||
8224 | +else | ||
8225 | + echo "$as_me: program exited with status $ac_status" >&5 | ||
8226 | +echo "$as_me: failed program was:" >&5 | ||
8227 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8228 | + | ||
8229 | +( exit $ac_status ) | ||
8230 | +ac_cv_header_stdc=no | ||
8231 | +fi | ||
8232 | +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
8233 | +fi | ||
8234 | +fi | ||
8235 | +fi | ||
8236 | +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | ||
8237 | +echo "${ECHO_T}$ac_cv_header_stdc" >&6 | ||
8238 | +if test $ac_cv_header_stdc = yes; then | ||
8239 | + | ||
8240 | +cat >>confdefs.h <<\_ACEOF | ||
8241 | +#define STDC_HEADERS 1 | ||
8242 | +_ACEOF | ||
8243 | + | ||
8244 | +fi | ||
8245 | + | ||
8246 | + | ||
8247 | +for ac_func in mkdir | ||
8248 | +do | ||
8249 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8250 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8251 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
8252 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
8253 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8254 | +else | ||
8255 | + cat >conftest.$ac_ext <<_ACEOF | ||
8256 | +/* confdefs.h. */ | ||
8257 | +_ACEOF | ||
8258 | +cat confdefs.h >>conftest.$ac_ext | ||
8259 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8260 | +/* end confdefs.h. */ | ||
8261 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
8262 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
8263 | +#define $ac_func innocuous_$ac_func | ||
8264 | + | ||
8265 | +/* System header to define __stub macros and hopefully few prototypes, | ||
8266 | + which can conflict with char $ac_func (); below. | ||
8267 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8268 | + <limits.h> exists even on freestanding compilers. */ | ||
8269 | + | ||
8270 | +#ifdef __STDC__ | ||
8271 | +# include <limits.h> | ||
8272 | +#else | ||
8273 | +# include <assert.h> | ||
8274 | +#endif | ||
8275 | + | ||
8276 | +#undef $ac_func | ||
8277 | + | ||
8278 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
8279 | +#ifdef __cplusplus | ||
8280 | +extern "C" | ||
8281 | +{ | ||
8282 | +#endif | ||
8283 | +/* We use char because int might match the return type of a gcc2 | ||
8284 | + builtin and then its argument prototype would still apply. */ | ||
8285 | +char $ac_func (); | ||
8286 | +/* The GNU C library defines this for functions which it implements | ||
8287 | + to always fail with ENOSYS. Some functions are actually named | ||
8288 | + something starting with __ and the normal name is an alias. */ | ||
8289 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
8290 | +choke me | ||
8291 | +#else | ||
8292 | +char (*f) () = $ac_func; | ||
8293 | +#endif | ||
8294 | +#ifdef __cplusplus | ||
8295 | +} | ||
8296 | +#endif | ||
8297 | + | ||
8298 | +int | ||
8299 | +main () | ||
8300 | +{ | ||
8301 | +return f != $ac_func; | ||
8302 | + ; | ||
8303 | + return 0; | ||
8304 | +} | ||
8305 | +_ACEOF | ||
8306 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
8307 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8308 | + (eval $ac_link) 2>conftest.er1 | ||
8309 | + ac_status=$? | ||
8310 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8311 | + rm -f conftest.er1 | ||
8312 | + cat conftest.err >&5 | ||
8313 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8314 | + (exit $ac_status); } && | ||
8315 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
8316 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8317 | + (eval $ac_try) 2>&5 | ||
8318 | + ac_status=$? | ||
8319 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8320 | + (exit $ac_status); }; } && | ||
8321 | + { ac_try='test -s conftest$ac_exeext' | ||
8322 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8323 | + (eval $ac_try) 2>&5 | ||
8324 | + ac_status=$? | ||
8325 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8326 | + (exit $ac_status); }; }; then | ||
8327 | + eval "$as_ac_var=yes" | ||
8328 | +else | ||
8329 | + echo "$as_me: failed program was:" >&5 | ||
8330 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8331 | + | ||
8332 | +eval "$as_ac_var=no" | ||
8333 | +fi | ||
8334 | +rm -f conftest.err conftest.$ac_objext \ | ||
8335 | + conftest$ac_exeext conftest.$ac_ext | ||
8336 | +fi | ||
8337 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
8338 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
8339 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8340 | + cat >>confdefs.h <<_ACEOF | ||
8341 | +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8342 | +_ACEOF | ||
8343 | + | ||
8344 | +fi | ||
8345 | +done | ||
8346 | + | ||
8347 | + | ||
8348 | +for ac_func in rmdir | ||
8349 | +do | ||
8350 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8351 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8352 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
8353 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
8354 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8355 | +else | ||
8356 | + cat >conftest.$ac_ext <<_ACEOF | ||
8357 | +/* confdefs.h. */ | ||
8358 | +_ACEOF | ||
8359 | +cat confdefs.h >>conftest.$ac_ext | ||
8360 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8361 | +/* end confdefs.h. */ | ||
8362 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
8363 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
8364 | +#define $ac_func innocuous_$ac_func | ||
8365 | + | ||
8366 | +/* System header to define __stub macros and hopefully few prototypes, | ||
8367 | + which can conflict with char $ac_func (); below. | ||
8368 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8369 | + <limits.h> exists even on freestanding compilers. */ | ||
8370 | + | ||
8371 | +#ifdef __STDC__ | ||
8372 | +# include <limits.h> | ||
8373 | +#else | ||
8374 | +# include <assert.h> | ||
8375 | +#endif | ||
8376 | + | ||
8377 | +#undef $ac_func | ||
8378 | + | ||
8379 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
8380 | +#ifdef __cplusplus | ||
8381 | +extern "C" | ||
8382 | +{ | ||
8383 | +#endif | ||
8384 | +/* We use char because int might match the return type of a gcc2 | ||
8385 | + builtin and then its argument prototype would still apply. */ | ||
8386 | +char $ac_func (); | ||
8387 | +/* The GNU C library defines this for functions which it implements | ||
8388 | + to always fail with ENOSYS. Some functions are actually named | ||
8389 | + something starting with __ and the normal name is an alias. */ | ||
8390 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
8391 | +choke me | ||
8392 | +#else | ||
8393 | +char (*f) () = $ac_func; | ||
8394 | +#endif | ||
8395 | +#ifdef __cplusplus | ||
8396 | +} | ||
8397 | +#endif | ||
8398 | + | ||
8399 | +int | ||
8400 | +main () | ||
8401 | +{ | ||
8402 | +return f != $ac_func; | ||
8403 | + ; | ||
8404 | + return 0; | ||
8405 | +} | ||
8406 | +_ACEOF | ||
8407 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
8408 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8409 | + (eval $ac_link) 2>conftest.er1 | ||
8410 | + ac_status=$? | ||
8411 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8412 | + rm -f conftest.er1 | ||
8413 | + cat conftest.err >&5 | ||
8414 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8415 | + (exit $ac_status); } && | ||
8416 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
8417 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8418 | + (eval $ac_try) 2>&5 | ||
8419 | + ac_status=$? | ||
8420 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8421 | + (exit $ac_status); }; } && | ||
8422 | + { ac_try='test -s conftest$ac_exeext' | ||
8423 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8424 | + (eval $ac_try) 2>&5 | ||
8425 | + ac_status=$? | ||
8426 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8427 | + (exit $ac_status); }; }; then | ||
8428 | + eval "$as_ac_var=yes" | ||
8429 | +else | ||
8430 | + echo "$as_me: failed program was:" >&5 | ||
8431 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8432 | + | ||
8433 | +eval "$as_ac_var=no" | ||
8434 | +fi | ||
8435 | +rm -f conftest.err conftest.$ac_objext \ | ||
8436 | + conftest$ac_exeext conftest.$ac_ext | ||
8437 | +fi | ||
8438 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
8439 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
8440 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8441 | + cat >>confdefs.h <<_ACEOF | ||
8442 | +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8443 | +_ACEOF | ||
8444 | + | ||
8445 | +fi | ||
8446 | +done | ||
8447 | + | ||
8448 | + | ||
8449 | +for ac_func in strchr | ||
8450 | +do | ||
8451 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8452 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8453 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
8454 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
8455 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8456 | +else | ||
8457 | + cat >conftest.$ac_ext <<_ACEOF | ||
8458 | +/* confdefs.h. */ | ||
8459 | +_ACEOF | ||
8460 | +cat confdefs.h >>conftest.$ac_ext | ||
8461 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8462 | +/* end confdefs.h. */ | ||
8463 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
8464 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
8465 | +#define $ac_func innocuous_$ac_func | ||
8466 | + | ||
8467 | +/* System header to define __stub macros and hopefully few prototypes, | ||
8468 | + which can conflict with char $ac_func (); below. | ||
8469 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8470 | + <limits.h> exists even on freestanding compilers. */ | ||
8471 | + | ||
8472 | +#ifdef __STDC__ | ||
8473 | +# include <limits.h> | ||
8474 | +#else | ||
8475 | +# include <assert.h> | ||
8476 | +#endif | ||
8477 | + | ||
8478 | +#undef $ac_func | ||
8479 | + | ||
8480 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
8481 | +#ifdef __cplusplus | ||
8482 | +extern "C" | ||
8483 | +{ | ||
8484 | +#endif | ||
8485 | +/* We use char because int might match the return type of a gcc2 | ||
8486 | + builtin and then its argument prototype would still apply. */ | ||
8487 | +char $ac_func (); | ||
8488 | +/* The GNU C library defines this for functions which it implements | ||
8489 | + to always fail with ENOSYS. Some functions are actually named | ||
8490 | + something starting with __ and the normal name is an alias. */ | ||
8491 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
8492 | +choke me | ||
8493 | +#else | ||
8494 | +char (*f) () = $ac_func; | ||
8495 | +#endif | ||
8496 | +#ifdef __cplusplus | ||
8497 | +} | ||
8498 | +#endif | ||
8499 | + | ||
8500 | +int | ||
8501 | +main () | ||
8502 | +{ | ||
8503 | +return f != $ac_func; | ||
8504 | + ; | ||
8505 | + return 0; | ||
8506 | +} | ||
8507 | +_ACEOF | ||
8508 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
8509 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8510 | + (eval $ac_link) 2>conftest.er1 | ||
8511 | + ac_status=$? | ||
8512 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8513 | + rm -f conftest.er1 | ||
8514 | + cat conftest.err >&5 | ||
8515 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8516 | + (exit $ac_status); } && | ||
8517 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
8518 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8519 | + (eval $ac_try) 2>&5 | ||
8520 | + ac_status=$? | ||
8521 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8522 | + (exit $ac_status); }; } && | ||
8523 | + { ac_try='test -s conftest$ac_exeext' | ||
8524 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8525 | + (eval $ac_try) 2>&5 | ||
8526 | + ac_status=$? | ||
8527 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8528 | + (exit $ac_status); }; }; then | ||
8529 | + eval "$as_ac_var=yes" | ||
8530 | +else | ||
8531 | + echo "$as_me: failed program was:" >&5 | ||
8532 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8533 | + | ||
8534 | +eval "$as_ac_var=no" | ||
8535 | +fi | ||
8536 | +rm -f conftest.err conftest.$ac_objext \ | ||
8537 | + conftest$ac_exeext conftest.$ac_ext | ||
8538 | +fi | ||
8539 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
8540 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
8541 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8542 | + cat >>confdefs.h <<_ACEOF | ||
8543 | +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8544 | +_ACEOF | ||
8545 | + | ||
8546 | +fi | ||
8547 | +done | ||
8548 | + | ||
8549 | + | ||
8550 | +for ac_func in strerror | ||
8551 | +do | ||
8552 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8553 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8554 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
8555 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
8556 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8557 | +else | ||
8558 | + cat >conftest.$ac_ext <<_ACEOF | ||
8559 | +/* confdefs.h. */ | ||
8560 | +_ACEOF | ||
8561 | +cat confdefs.h >>conftest.$ac_ext | ||
8562 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8563 | +/* end confdefs.h. */ | ||
8564 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
8565 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
8566 | +#define $ac_func innocuous_$ac_func | ||
8567 | + | ||
8568 | +/* System header to define __stub macros and hopefully few prototypes, | ||
8569 | + which can conflict with char $ac_func (); below. | ||
8570 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8571 | + <limits.h> exists even on freestanding compilers. */ | ||
8572 | + | ||
8573 | +#ifdef __STDC__ | ||
8574 | +# include <limits.h> | ||
8575 | +#else | ||
8576 | +# include <assert.h> | ||
8577 | +#endif | ||
8578 | + | ||
8579 | +#undef $ac_func | ||
8580 | + | ||
8581 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
8582 | +#ifdef __cplusplus | ||
8583 | +extern "C" | ||
8584 | +{ | ||
8585 | +#endif | ||
8586 | +/* We use char because int might match the return type of a gcc2 | ||
8587 | + builtin and then its argument prototype would still apply. */ | ||
8588 | +char $ac_func (); | ||
8589 | +/* The GNU C library defines this for functions which it implements | ||
8590 | + to always fail with ENOSYS. Some functions are actually named | ||
8591 | + something starting with __ and the normal name is an alias. */ | ||
8592 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
8593 | +choke me | ||
8594 | +#else | ||
8595 | +char (*f) () = $ac_func; | ||
8596 | +#endif | ||
8597 | +#ifdef __cplusplus | ||
8598 | +} | ||
8599 | +#endif | ||
8600 | + | ||
8601 | +int | ||
8602 | +main () | ||
8603 | +{ | ||
8604 | +return f != $ac_func; | ||
8605 | + ; | ||
8606 | + return 0; | ||
8607 | +} | ||
8608 | +_ACEOF | ||
8609 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
8610 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8611 | + (eval $ac_link) 2>conftest.er1 | ||
8612 | + ac_status=$? | ||
8613 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8614 | + rm -f conftest.er1 | ||
8615 | + cat conftest.err >&5 | ||
8616 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8617 | + (exit $ac_status); } && | ||
8618 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
8619 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8620 | + (eval $ac_try) 2>&5 | ||
8621 | + ac_status=$? | ||
8622 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8623 | + (exit $ac_status); }; } && | ||
8624 | + { ac_try='test -s conftest$ac_exeext' | ||
8625 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8626 | + (eval $ac_try) 2>&5 | ||
8627 | + ac_status=$? | ||
8628 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8629 | + (exit $ac_status); }; }; then | ||
8630 | + eval "$as_ac_var=yes" | ||
8631 | +else | ||
8632 | + echo "$as_me: failed program was:" >&5 | ||
8633 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8634 | + | ||
8635 | +eval "$as_ac_var=no" | ||
8636 | +fi | ||
8637 | +rm -f conftest.err conftest.$ac_objext \ | ||
8638 | + conftest$ac_exeext conftest.$ac_ext | ||
8639 | +fi | ||
8640 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
8641 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
8642 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8643 | + cat >>confdefs.h <<_ACEOF | ||
8644 | +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8645 | +_ACEOF | ||
8646 | + | ||
8647 | +fi | ||
8648 | +done | ||
8649 | + | ||
8650 | + | ||
8651 | +for ac_func in strrchr | ||
8652 | +do | ||
8653 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8654 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8655 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
8656 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
8657 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8658 | +else | ||
8659 | + cat >conftest.$ac_ext <<_ACEOF | ||
8660 | +/* confdefs.h. */ | ||
8661 | +_ACEOF | ||
8662 | +cat confdefs.h >>conftest.$ac_ext | ||
8663 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8664 | +/* end confdefs.h. */ | ||
8665 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
8666 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
8667 | +#define $ac_func innocuous_$ac_func | ||
8668 | + | ||
8669 | +/* System header to define __stub macros and hopefully few prototypes, | ||
8670 | + which can conflict with char $ac_func (); below. | ||
8671 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8672 | + <limits.h> exists even on freestanding compilers. */ | ||
8673 | + | ||
8674 | +#ifdef __STDC__ | ||
8675 | +# include <limits.h> | ||
8676 | +#else | ||
8677 | +# include <assert.h> | ||
8678 | +#endif | ||
8679 | + | ||
8680 | +#undef $ac_func | ||
8681 | + | ||
8682 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
8683 | +#ifdef __cplusplus | ||
8684 | +extern "C" | ||
8685 | +{ | ||
8686 | +#endif | ||
8687 | +/* We use char because int might match the return type of a gcc2 | ||
8688 | + builtin and then its argument prototype would still apply. */ | ||
8689 | +char $ac_func (); | ||
8690 | +/* The GNU C library defines this for functions which it implements | ||
8691 | + to always fail with ENOSYS. Some functions are actually named | ||
8692 | + something starting with __ and the normal name is an alias. */ | ||
8693 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
8694 | +choke me | ||
8695 | +#else | ||
8696 | +char (*f) () = $ac_func; | ||
8697 | +#endif | ||
8698 | +#ifdef __cplusplus | ||
8699 | +} | ||
8700 | +#endif | ||
8701 | + | ||
8702 | +int | ||
8703 | +main () | ||
8704 | +{ | ||
8705 | +return f != $ac_func; | ||
8706 | + ; | ||
8707 | + return 0; | ||
8708 | +} | ||
8709 | +_ACEOF | ||
8710 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
8711 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8712 | + (eval $ac_link) 2>conftest.er1 | ||
8713 | + ac_status=$? | ||
8714 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8715 | + rm -f conftest.er1 | ||
8716 | + cat conftest.err >&5 | ||
8717 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8718 | + (exit $ac_status); } && | ||
8719 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
8720 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8721 | + (eval $ac_try) 2>&5 | ||
8722 | + ac_status=$? | ||
8723 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8724 | + (exit $ac_status); }; } && | ||
8725 | + { ac_try='test -s conftest$ac_exeext' | ||
8726 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8727 | + (eval $ac_try) 2>&5 | ||
8728 | + ac_status=$? | ||
8729 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8730 | + (exit $ac_status); }; }; then | ||
8731 | + eval "$as_ac_var=yes" | ||
8732 | +else | ||
8733 | + echo "$as_me: failed program was:" >&5 | ||
8734 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8735 | + | ||
8736 | +eval "$as_ac_var=no" | ||
8737 | +fi | ||
8738 | +rm -f conftest.err conftest.$ac_objext \ | ||
8739 | + conftest$ac_exeext conftest.$ac_ext | ||
8740 | +fi | ||
8741 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
8742 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
8743 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8744 | + cat >>confdefs.h <<_ACEOF | ||
8745 | +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8746 | +_ACEOF | ||
8747 | + | ||
8748 | +fi | ||
8749 | +done | ||
8750 | + | ||
8751 | +echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | ||
8752 | +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | ||
8753 | +if test "${ac_cv_c_const+set}" = set; then | ||
8754 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8755 | +else | ||
8756 | + cat >conftest.$ac_ext <<_ACEOF | ||
8757 | +/* confdefs.h. */ | ||
8758 | +_ACEOF | ||
8759 | +cat confdefs.h >>conftest.$ac_ext | ||
8760 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8761 | +/* end confdefs.h. */ | ||
8762 | + | ||
8763 | +int | ||
8764 | +main () | ||
8765 | +{ | ||
8766 | +/* FIXME: Include the comments suggested by Paul. */ | ||
8767 | +#ifndef __cplusplus | ||
8768 | + /* Ultrix mips cc rejects this. */ | ||
8769 | + typedef int charset[2]; | ||
8770 | + const charset x; | ||
8771 | + /* SunOS 4.1.1 cc rejects this. */ | ||
8772 | + char const *const *ccp; | ||
8773 | + char **p; | ||
8774 | + /* NEC SVR4.0.2 mips cc rejects this. */ | ||
8775 | + struct point {int x, y;}; | ||
8776 | + static struct point const zero = {0,0}; | ||
8777 | + /* AIX XL C 1.02.0.0 rejects this. | ||
8778 | + It does not let you subtract one const X* pointer from another in | ||
8779 | + an arm of an if-expression whose if-part is not a constant | ||
8780 | + expression */ | ||
8781 | + const char *g = "string"; | ||
8782 | + ccp = &g + (g ? g-g : 0); | ||
8783 | + /* HPUX 7.0 cc rejects these. */ | ||
8784 | + ++ccp; | ||
8785 | + p = (char**) ccp; | ||
8786 | + ccp = (char const *const *) p; | ||
8787 | + { /* SCO 3.2v4 cc rejects this. */ | ||
8788 | + char *t; | ||
8789 | + char const *s = 0 ? (char *) 0 : (char const *) 0; | ||
8790 | + | ||
8791 | + *t++ = 0; | ||
8792 | + } | ||
8793 | + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | ||
8794 | + int x[] = {25, 17}; | ||
8795 | + const int *foo = &x[0]; | ||
8796 | + ++foo; | ||
8797 | + } | ||
8798 | + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | ||
8799 | + typedef const int *iptr; | ||
8800 | + iptr p = 0; | ||
8801 | + ++p; | ||
8802 | + } | ||
8803 | + { /* AIX XL C 1.02.0.0 rejects this saying | ||
8804 | + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | ||
8805 | + struct s { int j; const int *ap[3]; }; | ||
8806 | + struct s *b; b->j = 5; | ||
8807 | + } | ||
8808 | + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | ||
8809 | + const int foo = 10; | ||
8810 | + } | ||
8811 | +#endif | ||
8812 | + | ||
8813 | + ; | ||
8814 | + return 0; | ||
8815 | +} | ||
8816 | +_ACEOF | ||
8817 | +rm -f conftest.$ac_objext | ||
8818 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8819 | + (eval $ac_compile) 2>conftest.er1 | ||
8820 | + ac_status=$? | ||
8821 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8822 | + rm -f conftest.er1 | ||
8823 | + cat conftest.err >&5 | ||
8824 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8825 | + (exit $ac_status); } && | ||
8826 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
8827 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8828 | + (eval $ac_try) 2>&5 | ||
8829 | + ac_status=$? | ||
8830 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8831 | + (exit $ac_status); }; } && | ||
8832 | + { ac_try='test -s conftest.$ac_objext' | ||
8833 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8834 | + (eval $ac_try) 2>&5 | ||
8835 | + ac_status=$? | ||
8836 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8837 | + (exit $ac_status); }; }; then | ||
8838 | + ac_cv_c_const=yes | ||
8839 | +else | ||
8840 | + echo "$as_me: failed program was:" >&5 | ||
8841 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8842 | + | ||
8843 | +ac_cv_c_const=no | ||
8844 | +fi | ||
8845 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8846 | +fi | ||
8847 | +echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | ||
8848 | +echo "${ECHO_T}$ac_cv_c_const" >&6 | ||
8849 | +if test $ac_cv_c_const = no; then | ||
8850 | + | ||
8851 | +cat >>confdefs.h <<\_ACEOF | ||
8852 | +#define const | ||
8853 | +_ACEOF | ||
8854 | + | ||
8855 | +fi | ||
8856 | + | ||
8857 | +# On IRIX 5.3, sys/types and inttypes.h are conflicting. | ||
8858 | + | ||
8859 | + | ||
8860 | + | ||
8861 | + | ||
8862 | + | ||
8863 | + | ||
8864 | + | ||
8865 | + | ||
8866 | + | ||
8867 | +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
8868 | + inttypes.h stdint.h unistd.h | ||
8869 | +do | ||
8870 | +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
8871 | +echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
8872 | +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
8873 | +if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
8874 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8875 | +else | ||
8876 | + cat >conftest.$ac_ext <<_ACEOF | ||
8877 | +/* confdefs.h. */ | ||
8878 | +_ACEOF | ||
8879 | +cat confdefs.h >>conftest.$ac_ext | ||
8880 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8881 | +/* end confdefs.h. */ | ||
8882 | +$ac_includes_default | ||
8883 | + | ||
8884 | +#include <$ac_header> | ||
8885 | +_ACEOF | ||
8886 | +rm -f conftest.$ac_objext | ||
8887 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8888 | + (eval $ac_compile) 2>conftest.er1 | ||
8889 | + ac_status=$? | ||
8890 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8891 | + rm -f conftest.er1 | ||
8892 | + cat conftest.err >&5 | ||
8893 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8894 | + (exit $ac_status); } && | ||
8895 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
8896 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8897 | + (eval $ac_try) 2>&5 | ||
8898 | + ac_status=$? | ||
8899 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8900 | + (exit $ac_status); }; } && | ||
8901 | + { ac_try='test -s conftest.$ac_objext' | ||
8902 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8903 | + (eval $ac_try) 2>&5 | ||
8904 | + ac_status=$? | ||
8905 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8906 | + (exit $ac_status); }; }; then | ||
8907 | + eval "$as_ac_Header=yes" | ||
8908 | +else | ||
8909 | + echo "$as_me: failed program was:" >&5 | ||
8910 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8911 | + | ||
8912 | +eval "$as_ac_Header=no" | ||
8913 | +fi | ||
8914 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8915 | +fi | ||
8916 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
8917 | +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
8918 | +if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
8919 | + cat >>confdefs.h <<_ACEOF | ||
8920 | +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
8921 | +_ACEOF | ||
8922 | + | ||
8923 | +fi | ||
8924 | + | ||
8925 | +done | ||
8926 | + | ||
8927 | + | ||
8928 | +echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 | ||
8929 | +echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6 | ||
8930 | +if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then | ||
8931 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8932 | +else | ||
8933 | + rm -f conftest.sym conftest.file | ||
8934 | +echo >conftest.file | ||
8935 | +if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then | ||
8936 | + if test "$cross_compiling" = yes; then | ||
8937 | + ac_cv_func_lstat_dereferences_slashed_symlink=no | ||
8938 | +else | ||
8939 | + cat >conftest.$ac_ext <<_ACEOF | ||
8940 | +/* confdefs.h. */ | ||
8941 | +_ACEOF | ||
8942 | +cat confdefs.h >>conftest.$ac_ext | ||
8943 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8944 | +/* end confdefs.h. */ | ||
8945 | +$ac_includes_default | ||
8946 | +int | ||
8947 | +main () | ||
8948 | +{ | ||
8949 | +struct stat sbuf; | ||
8950 | + /* Linux will dereference the symlink and fail. | ||
8951 | + That is better in the sense that it means we will not | ||
8952 | + have to compile and use the lstat wrapper. */ | ||
8953 | + exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1); | ||
8954 | + ; | ||
8955 | + return 0; | ||
8956 | +} | ||
8957 | +_ACEOF | ||
8958 | +rm -f conftest$ac_exeext | ||
8959 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8960 | + (eval $ac_link) 2>&5 | ||
8961 | + ac_status=$? | ||
8962 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8963 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
8964 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8965 | + (eval $ac_try) 2>&5 | ||
8966 | + ac_status=$? | ||
8967 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8968 | + (exit $ac_status); }; }; then | ||
8969 | + ac_cv_func_lstat_dereferences_slashed_symlink=yes | ||
8970 | +else | ||
8971 | + echo "$as_me: program exited with status $ac_status" >&5 | ||
8972 | +echo "$as_me: failed program was:" >&5 | ||
8973 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8974 | + | ||
8975 | +( exit $ac_status ) | ||
8976 | +ac_cv_func_lstat_dereferences_slashed_symlink=no | ||
8977 | +fi | ||
8978 | +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
8979 | +fi | ||
8980 | +else | ||
8981 | + # If the `ln -s' command failed, then we probably don't even | ||
8982 | + # have an lstat function. | ||
8983 | + ac_cv_func_lstat_dereferences_slashed_symlink=no | ||
8984 | +fi | ||
8985 | +rm -f conftest.sym conftest.file | ||
8986 | + | ||
8987 | +fi | ||
8988 | +echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 | ||
8989 | +echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6 | ||
8990 | + | ||
8991 | +test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && | ||
8992 | + | ||
8993 | +cat >>confdefs.h <<_ACEOF | ||
8994 | +#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 | ||
8995 | +_ACEOF | ||
8996 | + | ||
8997 | + | ||
8998 | +if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then | ||
8999 | + case $LIBOBJS in | ||
9000 | + "lstat.$ac_objext" | \ | ||
9001 | + *" lstat.$ac_objext" | \ | ||
9002 | + "lstat.$ac_objext "* | \ | ||
9003 | + *" lstat.$ac_objext "* ) ;; | ||
9004 | + *) LIBOBJS="$LIBOBJS lstat.$ac_objext" ;; | ||
9005 | +esac | ||
9006 | + | ||
9007 | +fi | ||
9008 | + | ||
9009 | +echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5 | ||
9010 | +echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6 | ||
9011 | +if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then | ||
9012 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9013 | +else | ||
9014 | + if test "$cross_compiling" = yes; then | ||
9015 | + ac_cv_func_stat_empty_string_bug=yes | ||
9016 | +else | ||
9017 | + cat >conftest.$ac_ext <<_ACEOF | ||
9018 | +/* confdefs.h. */ | ||
9019 | +_ACEOF | ||
9020 | +cat confdefs.h >>conftest.$ac_ext | ||
9021 | +cat >>conftest.$ac_ext <<_ACEOF | ||
9022 | +/* end confdefs.h. */ | ||
9023 | +$ac_includes_default | ||
9024 | +int | ||
9025 | +main () | ||
9026 | +{ | ||
9027 | +struct stat sbuf; | ||
9028 | + exit (stat ("", &sbuf) ? 1 : 0); | ||
9029 | + ; | ||
9030 | + return 0; | ||
9031 | +} | ||
9032 | +_ACEOF | ||
9033 | +rm -f conftest$ac_exeext | ||
9034 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9035 | + (eval $ac_link) 2>&5 | ||
9036 | + ac_status=$? | ||
9037 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9038 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
9039 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9040 | + (eval $ac_try) 2>&5 | ||
9041 | + ac_status=$? | ||
9042 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9043 | + (exit $ac_status); }; }; then | ||
9044 | + ac_cv_func_stat_empty_string_bug=yes | ||
9045 | +else | ||
9046 | + echo "$as_me: program exited with status $ac_status" >&5 | ||
9047 | +echo "$as_me: failed program was:" >&5 | ||
9048 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
9049 | + | ||
9050 | +( exit $ac_status ) | ||
9051 | +ac_cv_func_stat_empty_string_bug=no | ||
9052 | +fi | ||
9053 | +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
9054 | +fi | ||
9055 | +fi | ||
9056 | +echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5 | ||
9057 | +echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6 | ||
9058 | +if test $ac_cv_func_stat_empty_string_bug = yes; then | ||
9059 | + case $LIBOBJS in | ||
9060 | + "stat.$ac_objext" | \ | ||
9061 | + *" stat.$ac_objext" | \ | ||
9062 | + "stat.$ac_objext "* | \ | ||
9063 | + *" stat.$ac_objext "* ) ;; | ||
9064 | + *) LIBOBJS="$LIBOBJS stat.$ac_objext" ;; | ||
9065 | +esac | ||
9066 | + | ||
9067 | + | ||
9068 | +cat >>confdefs.h <<_ACEOF | ||
9069 | +#define HAVE_STAT_EMPTY_STRING_BUG 1 | ||
9070 | +_ACEOF | ||
9071 | + | ||
9072 | +fi | ||
9073 | + | ||
9074 | + | ||
9075 | +# Find a good install program. We prefer a C program (faster), | ||
9076 | +# so one script is as good as another. But avoid the broken or | ||
9077 | +# incompatible versions: | ||
9078 | +# SysV /etc/install, /usr/sbin/install | ||
9079 | +# SunOS /usr/etc/install | ||
9080 | +# IRIX /sbin/install | ||
9081 | +# AIX /bin/install | ||
9082 | +# AmigaOS /C/install, which installs bootblocks on floppy discs | ||
9083 | +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | ||
9084 | +# AFS /usr/afsws/bin/install, which mishandles nonexistent args | ||
9085 | +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||
9086 | +# OS/2's system install, which has a completely different semantic | ||
9087 | +# ./install, which can be erroneously created by make from ./install.sh. | ||
9088 | +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | ||
9089 | +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | ||
9090 | +if test -z "$INSTALL"; then | ||
9091 | +if test "${ac_cv_path_install+set}" = set; then | ||
9092 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9093 | +else | ||
9094 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9095 | +for as_dir in $PATH | ||
9096 | +do | ||
9097 | + IFS=$as_save_IFS | ||
9098 | + test -z "$as_dir" && as_dir=. | ||
9099 | + # Account for people who put trailing slashes in PATH elements. | ||
9100 | +case $as_dir/ in | ||
9101 | + ./ | .// | /cC/* | \ | ||
9102 | + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | ||
9103 | + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | ||
9104 | + /usr/ucb/* ) ;; | ||
9105 | + *) | ||
9106 | + # OSF1 and SCO ODT 3.0 have their own names for install. | ||
9107 | + # Don't use installbsd from OSF since it installs stuff as root | ||
9108 | + # by default. | ||
9109 | + for ac_prog in ginstall scoinst install; do | ||
9110 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9111 | + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | ||
9112 | + if test $ac_prog = install && | ||
9113 | + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
9114 | + # AIX install. It has an incompatible calling convention. | ||
9115 | + : | ||
9116 | + elif test $ac_prog = install && | ||
9117 | + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
9118 | + # program-specific install script used by HP pwplus--don't use. | ||
9119 | + : | ||
9120 | + else | ||
9121 | + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
9122 | + break 3 | ||
9123 | + fi | ||
9124 | + fi | ||
9125 | + done | ||
9126 | + done | ||
9127 | + ;; | ||
9128 | +esac | ||
9129 | +done | ||
9130 | + | ||
9131 | + | ||
9132 | +fi | ||
9133 | + if test "${ac_cv_path_install+set}" = set; then | ||
9134 | + INSTALL=$ac_cv_path_install | ||
9135 | + else | ||
9136 | + # As a last resort, use the slow shell script. We don't cache a | ||
9137 | + # path for INSTALL within a source directory, because that will | ||
9138 | + # break other packages using the cache if that directory is | ||
9139 | + # removed, or if the path is relative. | ||
9140 | + INSTALL=$ac_install_sh | ||
9141 | + fi | ||
9142 | +fi | ||
9143 | +echo "$as_me:$LINENO: result: $INSTALL" >&5 | ||
9144 | +echo "${ECHO_T}$INSTALL" >&6 | ||
9145 | + | ||
9146 | +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. | ||
9147 | +# It thinks the first close brace ends the variable substitution. | ||
9148 | +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
9149 | + | ||
9150 | +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
9151 | + | ||
9152 | +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||
9153 | + | ||
9154 | + | ||
9155 | +echo "$as_me:$LINENO: checking whether #! works in shell scripts" >&5 | ||
9156 | +echo $ECHO_N "checking whether #! works in shell scripts... $ECHO_C" >&6 | ||
9157 | +if test "${ac_cv_sys_interpreter+set}" = set; then | ||
9158 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9159 | +else | ||
9160 | + echo '#! /bin/cat | ||
9161 | +exit 69 | ||
9162 | +' >conftest | ||
9163 | +chmod u+x conftest | ||
9164 | +(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null) | ||
9165 | +if test $? -ne 69; then | ||
9166 | + ac_cv_sys_interpreter=yes | ||
9167 | +else | ||
9168 | + ac_cv_sys_interpreter=no | ||
9169 | +fi | ||
9170 | +rm -f conftest | ||
9171 | +fi | ||
9172 | +echo "$as_me:$LINENO: result: $ac_cv_sys_interpreter" >&5 | ||
9173 | +echo "${ECHO_T}$ac_cv_sys_interpreter" >&6 | ||
9174 | +interpval=$ac_cv_sys_interpreter | ||
9175 | + | ||
9176 | +if test "$interpval" != yes ; then | ||
9177 | + { echo "$as_me:$LINENO: WARNING: no | ||
9178 | + | ||
9179 | +bash/perl scripts may not be invoked correctly due to problems with your | ||
9180 | +systems implementation of #! being either broken or non-existant. | ||
9181 | +" >&5 | ||
9182 | +echo "$as_me: WARNING: no | ||
9183 | + | ||
9184 | +bash/perl scripts may not be invoked correctly due to problems with your | ||
9185 | +systems implementation of #! being either broken or non-existant. | ||
9186 | +" >&2;} | ||
9187 | +fi | ||
9188 | + | ||
9189 | +unset BASH # bash sets this itself! | ||
9190 | + | ||
9191 | +# Check whether --with-bash or --without-bash was given. | ||
9192 | +if test "${with_bash+set}" = set; then | ||
9193 | + withval="$with_bash" | ||
9194 | + | ||
9195 | + BASH="$withval" | ||
9196 | + | ||
9197 | + { echo "$as_me:$LINENO: Using bash executable $BASH" >&5 | ||
9198 | +echo "$as_me: Using bash executable $BASH" >&6;} | ||
9199 | + | ||
9200 | +else | ||
9201 | + | ||
9202 | + # Extract the first word of "bash", so it can be a program name with args. | ||
9203 | +set dummy bash; ac_word=$2 | ||
9204 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9205 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9206 | +if test "${ac_cv_path_BASH+set}" = set; then | ||
9207 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9208 | +else | ||
9209 | + case $BASH in | ||
9210 | + [\\/]* | ?:[\\/]*) | ||
9211 | + ac_cv_path_BASH="$BASH" # Let the user override the test with a path. | ||
9212 | + ;; | ||
9213 | + *) | ||
9214 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9215 | +for as_dir in $PATH | ||
9216 | +do | ||
9217 | + IFS=$as_save_IFS | ||
9218 | + test -z "$as_dir" && as_dir=. | ||
9219 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9220 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9221 | + ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext" | ||
9222 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9223 | + break 2 | ||
9224 | + fi | ||
9225 | +done | ||
9226 | +done | ||
9227 | + | ||
9228 | + ;; | ||
9229 | +esac | ||
9230 | +fi | ||
9231 | +BASH=$ac_cv_path_BASH | ||
9232 | + | ||
9233 | +if test -n "$BASH"; then | ||
9234 | + echo "$as_me:$LINENO: result: $BASH" >&5 | ||
9235 | +echo "${ECHO_T}$BASH" >&6 | ||
9236 | +else | ||
9237 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9238 | +echo "${ECHO_T}no" >&6 | ||
9239 | +fi | ||
9240 | + | ||
9241 | + | ||
9242 | +fi; | ||
9243 | +if test -z "$BASH" ; then | ||
9244 | + { { echo "$as_me:$LINENO: error: Please specify the location of bash with the option '--with-bash'" >&5 | ||
9245 | +echo "$as_me: error: Please specify the location of bash with the option '--with-bash'" >&2;} | ||
9246 | + { (exit 1); exit 1; }; } | ||
9247 | +fi | ||
9248 | + | ||
9249 | +# It would be nice not to have to use backticks, but too many retarded sh | ||
9250 | +# implementations still don't support $( ) | ||
9251 | +# BEWARE: There is a distinct possibility that we are currently running under | ||
9252 | +# bash in this configure script (/bin/sh being a symlink to /bin/bash). Even | ||
9253 | +# though the result /could/ be available to us directly as $BASH_VERSION we | ||
9254 | +# don't want to use, or trust it, incase the user is specifying a different | ||
9255 | +# bash executable. | ||
9256 | +if `$BASH -c '[ "$BASH_VERSION" \< "2.04" ]'` ; then | ||
9257 | + { { echo "$as_me:$LINENO: error: | ||
9258 | +$PACKAGE_NAME requires at least version 2.04 of bash, you can download a current | ||
9259 | +version of bash from ftp.gnu.org | ||
9260 | +" >&5 | ||
9261 | +echo "$as_me: error: | ||
9262 | +$PACKAGE_NAME requires at least version 2.04 of bash, you can download a current | ||
9263 | +version of bash from ftp.gnu.org | ||
9264 | +" >&2;} | ||
9265 | + { (exit 1); exit 1; }; } | ||
9266 | +fi | ||
9267 | + | ||
9268 | + | ||
9269 | +# Check whether --with-perl or --without-perl was given. | ||
9270 | +if test "${with_perl+set}" = set; then | ||
9271 | + withval="$with_perl" | ||
9272 | + | ||
9273 | + PERL="$withval" | ||
9274 | + | ||
9275 | + { echo "$as_me:$LINENO: Using Perl executable $PERL" >&5 | ||
9276 | +echo "$as_me: Using Perl executable $PERL" >&6;} | ||
9277 | + | ||
9278 | +else | ||
9279 | + | ||
9280 | + for ac_prog in perl perl5 | ||
9281 | +do | ||
9282 | + # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
9283 | +set dummy $ac_prog; ac_word=$2 | ||
9284 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9285 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9286 | +if test "${ac_cv_path_PERL+set}" = set; then | ||
9287 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9288 | +else | ||
9289 | + case $PERL in | ||
9290 | + [\\/]* | ?:[\\/]*) | ||
9291 | + ac_cv_path_PERL="$PERL" # Let the user override the test with a path. | ||
9292 | + ;; | ||
9293 | + *) | ||
9294 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9295 | +for as_dir in $PATH | ||
9296 | +do | ||
9297 | + IFS=$as_save_IFS | ||
9298 | + test -z "$as_dir" && as_dir=. | ||
9299 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9300 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9301 | + ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" | ||
9302 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9303 | + break 2 | ||
9304 | + fi | ||
9305 | +done | ||
9306 | +done | ||
9307 | + | ||
9308 | + ;; | ||
9309 | +esac | ||
9310 | +fi | ||
9311 | +PERL=$ac_cv_path_PERL | ||
9312 | + | ||
9313 | +if test -n "$PERL"; then | ||
9314 | + echo "$as_me:$LINENO: result: $PERL" >&5 | ||
9315 | +echo "${ECHO_T}$PERL" >&6 | ||
9316 | +else | ||
9317 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9318 | +echo "${ECHO_T}no" >&6 | ||
9319 | +fi | ||
9320 | + | ||
9321 | + test -n "$PERL" && break | ||
9322 | +done | ||
9323 | + | ||
9324 | + | ||
9325 | +fi; | ||
9326 | +if test -z "$PERL" ; then | ||
9327 | + { { echo "$as_me:$LINENO: error: Please specify the location of Perl with the option '--with-perl'" >&5 | ||
9328 | +echo "$as_me: error: Please specify the location of Perl with the option '--with-perl'" >&2;} | ||
9329 | + { (exit 1); exit 1; }; } | ||
9330 | +fi | ||
9331 | + | ||
9332 | + | ||
9333 | +# Check whether --with-sed or --without-sed was given. | ||
9334 | +if test "${with_sed+set}" = set; then | ||
9335 | + withval="$with_sed" | ||
9336 | + | ||
9337 | + SED="$withval" | ||
9338 | + | ||
9339 | + { echo "$as_me:$LINENO: Using sed executable $SED" >&5 | ||
9340 | +echo "$as_me: Using sed executable $SED" >&6;} | ||
9341 | + | ||
9342 | +else | ||
9343 | + | ||
9344 | + SED="sed" | ||
9345 | + | ||
9346 | + | ||
9347 | +fi; | ||
9348 | + | ||
9349 | + | ||
9350 | +# Check whether --with-awk or --without-awk was given. | ||
9351 | +if test "${with_awk+set}" = set; then | ||
9352 | + withval="$with_awk" | ||
9353 | + | ||
9354 | + AWK="$withval" | ||
9355 | + | ||
9356 | + { echo "$as_me:$LINENO: Using awk executable $AWK" >&5 | ||
9357 | +echo "$as_me: Using awk executable $AWK" >&6;} | ||
9358 | + | ||
9359 | +else | ||
9360 | + | ||
9361 | + for ac_prog in gawk awk | ||
9362 | +do | ||
9363 | + # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
9364 | +set dummy $ac_prog; ac_word=$2 | ||
9365 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9366 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9367 | +if test "${ac_cv_path_AWK+set}" = set; then | ||
9368 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9369 | +else | ||
9370 | + case $AWK in | ||
9371 | + [\\/]* | ?:[\\/]*) | ||
9372 | + ac_cv_path_AWK="$AWK" # Let the user override the test with a path. | ||
9373 | + ;; | ||
9374 | + *) | ||
9375 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9376 | +for as_dir in $PATH | ||
9377 | +do | ||
9378 | + IFS=$as_save_IFS | ||
9379 | + test -z "$as_dir" && as_dir=. | ||
9380 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9381 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9382 | + ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext" | ||
9383 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9384 | + break 2 | ||
9385 | + fi | ||
9386 | +done | ||
9387 | +done | ||
9388 | + | ||
9389 | + ;; | ||
9390 | +esac | ||
9391 | +fi | ||
9392 | +AWK=$ac_cv_path_AWK | ||
9393 | + | ||
9394 | +if test -n "$AWK"; then | ||
9395 | + echo "$as_me:$LINENO: result: $AWK" >&5 | ||
9396 | +echo "${ECHO_T}$AWK" >&6 | ||
9397 | +else | ||
9398 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9399 | +echo "${ECHO_T}no" >&6 | ||
9400 | +fi | ||
9401 | + | ||
9402 | + test -n "$AWK" && break | ||
9403 | +done | ||
9404 | + | ||
9405 | + | ||
9406 | +fi; | ||
9407 | + | ||
9408 | + | ||
9409 | +if test -z "$PERL" ; then | ||
9410 | + { { echo "$as_me:$LINENO: error: Please specify the location of Perl with the option '--with-perl'" >&5 | ||
9411 | +echo "$as_me: error: Please specify the location of Perl with the option '--with-perl'" >&2;} | ||
9412 | + { (exit 1); exit 1; }; } | ||
9413 | +fi | ||
9414 | + | ||
9415 | + | ||
9416 | +# Check whether --with-mktemp or --without-mktemp was given. | ||
9417 | +if test "${with_mktemp+set}" = set; then | ||
9418 | + withval="$with_mktemp" | ||
9419 | + | ||
9420 | + MKTEMP="$withval" | ||
9421 | + | ||
9422 | + { echo "$as_me:$LINENO: Using mktemp executable $MKTEMP" >&5 | ||
9423 | +echo "$as_me: Using mktemp executable $MKTEMP" >&6;} | ||
9424 | + | ||
9425 | +else | ||
9426 | + | ||
9427 | + # Extract the first word of "mktemp", so it can be a program name with args. | ||
9428 | +set dummy mktemp; ac_word=$2 | ||
9429 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9430 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9431 | +if test "${ac_cv_path_MKTEMP+set}" = set; then | ||
9432 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9433 | +else | ||
9434 | + case $MKTEMP in | ||
9435 | + [\\/]* | ?:[\\/]*) | ||
9436 | + ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path. | ||
9437 | + ;; | ||
9438 | + *) | ||
9439 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9440 | +for as_dir in $PATH | ||
9441 | +do | ||
9442 | + IFS=$as_save_IFS | ||
9443 | + test -z "$as_dir" && as_dir=. | ||
9444 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9445 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9446 | + ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext" | ||
9447 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9448 | + break 2 | ||
9449 | + fi | ||
9450 | +done | ||
9451 | +done | ||
9452 | + | ||
9453 | + ;; | ||
9454 | +esac | ||
9455 | +fi | ||
9456 | +MKTEMP=$ac_cv_path_MKTEMP | ||
9457 | + | ||
9458 | +if test -n "$MKTEMP"; then | ||
9459 | + echo "$as_me:$LINENO: result: $MKTEMP" >&5 | ||
9460 | +echo "${ECHO_T}$MKTEMP" >&6 | ||
9461 | +else | ||
9462 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9463 | +echo "${ECHO_T}no" >&6 | ||
9464 | +fi | ||
9465 | + | ||
9466 | + | ||
9467 | +fi; | ||
9468 | +if test -z "$MKTEMP" -o "$MKTEMP" = "none" ; then | ||
9469 | + MKTEMP=internal_mktemp | ||
9470 | +else | ||
9471 | + echo "$as_me:$LINENO: checking whether $MKTEMP -d works" >&5 | ||
9472 | +echo $ECHO_N "checking whether $MKTEMP -d works... $ECHO_C" >&6 | ||
9473 | + if tempdir=`$MKTEMP -d /tmp/$PACKAGE_NAME.XXXXXX 2>/dev/null` && \ | ||
9474 | + rmdir "$tempdir" ; then | ||
9475 | + echo "$as_me:$LINENO: result: yes" >&5 | ||
9476 | +echo "${ECHO_T}yes" >&6 | ||
9477 | + else | ||
9478 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9479 | +echo "${ECHO_T}no" >&6 | ||
9480 | + { { echo "$as_me:$LINENO: error: | ||
9481 | +'$MKTEMP -d' does not create temporary directories. | ||
9482 | +If you don't have a version of mktemp that can create directories, you | ||
9483 | +can specify '--with-mktemp=none' and $PACKAGE_NAME will use its own | ||
9484 | +internal tempfile generation mechanism. | ||
9485 | +" >&5 | ||
9486 | +echo "$as_me: error: | ||
9487 | +'$MKTEMP -d' does not create temporary directories. | ||
9488 | +If you don't have a version of mktemp that can create directories, you | ||
9489 | +can specify '--with-mktemp=none' and $PACKAGE_NAME will use its own | ||
9490 | +internal tempfile generation mechanism. | ||
9491 | +" >&2;} | ||
9492 | + { (exit 1); exit 1; }; } | ||
9493 | + fi | ||
9494 | +fi | ||
9495 | + | ||
9496 | + | ||
9497 | +# Check whether --with-diff or --without-diff was given. | ||
9498 | +if test "${with_diff+set}" = set; then | ||
9499 | + withval="$with_diff" | ||
9500 | + | ||
9501 | + DIFF="$withval" | ||
9502 | + | ||
9503 | + { echo "$as_me:$LINENO: Using diff executable $DIFF" >&5 | ||
9504 | +echo "$as_me: Using diff executable $DIFF" >&6;} | ||
9505 | + | ||
9506 | +else | ||
9507 | + | ||
9508 | + # Extract the first word of "diff", so it can be a program name with args. | ||
9509 | +set dummy diff; ac_word=$2 | ||
9510 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9511 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9512 | +if test "${ac_cv_path_DIFF+set}" = set; then | ||
9513 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9514 | +else | ||
9515 | + case $DIFF in | ||
9516 | + [\\/]* | ?:[\\/]*) | ||
9517 | + ac_cv_path_DIFF="$DIFF" # Let the user override the test with a path. | ||
9518 | + ;; | ||
9519 | + *) | ||
9520 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9521 | +for as_dir in $PATH | ||
9522 | +do | ||
9523 | + IFS=$as_save_IFS | ||
9524 | + test -z "$as_dir" && as_dir=. | ||
9525 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9526 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9527 | + ac_cv_path_DIFF="$as_dir/$ac_word$ac_exec_ext" | ||
9528 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9529 | + break 2 | ||
9530 | + fi | ||
9531 | +done | ||
9532 | +done | ||
9533 | + | ||
9534 | + ;; | ||
9535 | +esac | ||
9536 | +fi | ||
9537 | +DIFF=$ac_cv_path_DIFF | ||
9538 | + | ||
9539 | +if test -n "$DIFF"; then | ||
9540 | + echo "$as_me:$LINENO: result: $DIFF" >&5 | ||
9541 | +echo "${ECHO_T}$DIFF" >&6 | ||
9542 | +else | ||
9543 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9544 | +echo "${ECHO_T}no" >&6 | ||
9545 | +fi | ||
9546 | + | ||
9547 | + | ||
9548 | +fi; | ||
9549 | +if test -z "$DIFF"; then | ||
9550 | + { { echo "$as_me:$LINENO: error: Please specify the location of diff with the option '--with-diff'" >&5 | ||
9551 | +echo "$as_me: error: Please specify the location of diff with the option '--with-diff'" >&2;} | ||
9552 | + { (exit 1); exit 1; }; } | ||
9553 | +fi | ||
9554 | + | ||
9555 | + | ||
9556 | +# Check whether --with-patch or --without-patch was given. | ||
9557 | +if test "${with_patch+set}" = set; then | ||
9558 | + withval="$with_patch" | ||
9559 | + | ||
9560 | + PATCH="$withval" | ||
9561 | + | ||
9562 | + { echo "$as_me:$LINENO: Using patch executable $PATCH" >&5 | ||
9563 | +echo "$as_me: Using patch executable $PATCH" >&6;} | ||
9564 | + | ||
9565 | +else | ||
9566 | + | ||
9567 | + # Extract the first word of "patch", so it can be a program name with args. | ||
9568 | +set dummy patch; ac_word=$2 | ||
9569 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9570 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9571 | +if test "${ac_cv_path_PATCH+set}" = set; then | ||
9572 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9573 | +else | ||
9574 | + case $PATCH in | ||
9575 | + [\\/]* | ?:[\\/]*) | ||
9576 | + ac_cv_path_PATCH="$PATCH" # Let the user override the test with a path. | ||
9577 | + ;; | ||
9578 | + *) | ||
9579 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9580 | +for as_dir in $PATH | ||
9581 | +do | ||
9582 | + IFS=$as_save_IFS | ||
9583 | + test -z "$as_dir" && as_dir=. | ||
9584 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9585 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9586 | + ac_cv_path_PATCH="$as_dir/$ac_word$ac_exec_ext" | ||
9587 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9588 | + break 2 | ||
9589 | + fi | ||
9590 | +done | ||
9591 | +done | ||
9592 | + | ||
9593 | + ;; | ||
9594 | +esac | ||
9595 | +fi | ||
9596 | +PATCH=$ac_cv_path_PATCH | ||
9597 | + | ||
9598 | +if test -n "$PATCH"; then | ||
9599 | + echo "$as_me:$LINENO: result: $PATCH" >&5 | ||
9600 | +echo "${ECHO_T}$PATCH" >&6 | ||
9601 | +else | ||
9602 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9603 | +echo "${ECHO_T}no" >&6 | ||
9604 | +fi | ||
9605 | + | ||
9606 | + | ||
9607 | +fi; | ||
9608 | +if test -z "$PATCH"; then | ||
9609 | + { { echo "$as_me:$LINENO: error: Please specify the location of patch with the option '--with-patch'" >&5 | ||
9610 | +echo "$as_me: error: Please specify the location of patch with the option '--with-patch'" >&2;} | ||
9611 | + { (exit 1); exit 1; }; } | ||
9612 | +fi | ||
9613 | + | ||
9614 | +# Sun's patch is a mess, issue a warning. But we are going to continue with | ||
9615 | +# the build because you might just be lucky. | ||
9616 | +echo "$as_me:$LINENO: checking whether $PATCH will work" >&5 | ||
9617 | +echo $ECHO_N "checking whether $PATCH will work... $ECHO_C" >&6 | ||
9618 | +if $PATCH -v 2>&1 | grep -q "Sun" >/dev/null 2>&1; then | ||
9619 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9620 | +echo "${ECHO_T}no" >&6 | ||
9621 | + { echo "$as_me:$LINENO: WARNING: | ||
9622 | +Sorry, you have a Sun version of patch which is notoriously buggy. $PACKAGE_NAME | ||
9623 | +may function correctly, or minor errors may occur due to Sun's patch tool. | ||
9624 | +Please consider upgrading to GNU patch, if you already have GNU patch then you | ||
9625 | +can supply its path with the '--with-patch=' option. | ||
9626 | +" >&5 | ||
9627 | +echo "$as_me: WARNING: | ||
9628 | +Sorry, you have a Sun version of patch which is notoriously buggy. $PACKAGE_NAME | ||
9629 | +may function correctly, or minor errors may occur due to Sun's patch tool. | ||
9630 | +Please consider upgrading to GNU patch, if you already have GNU patch then you | ||
9631 | +can supply its path with the '--with-patch=' option. | ||
9632 | +" >&2;} | ||
9633 | +elif $PATCH --version 2>&1 | grep -q "patch 2.0" >/dev/null 2>&1; then | ||
9634 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9635 | +echo "${ECHO_T}no" >&6 | ||
9636 | + { echo "$as_me:$LINENO: WARNING: | ||
9637 | +Sorry, the version of patch you are using can cause severe problems when a patch | ||
9638 | +creates a directory. $PACKAGE_NAME may well function correctly with this version | ||
9639 | +of patch or small problems could creep in. | ||
9640 | +Please consider upgrading your patch to a more recent version, if you already | ||
9641 | +have a more recent version of patch then you can supply its path with the | ||
9642 | +'--with-patch=' option. | ||
9643 | +" >&5 | ||
9644 | +echo "$as_me: WARNING: | ||
9645 | +Sorry, the version of patch you are using can cause severe problems when a patch | ||
9646 | +creates a directory. $PACKAGE_NAME may well function correctly with this version | ||
9647 | +of patch or small problems could creep in. | ||
9648 | +Please consider upgrading your patch to a more recent version, if you already | ||
9649 | +have a more recent version of patch then you can supply its path with the | ||
9650 | +'--with-patch=' option. | ||
9651 | +" >&2;} | ||
9652 | +else | ||
9653 | + echo "$as_me:$LINENO: result: yes" >&5 | ||
9654 | +echo "${ECHO_T}yes" >&6 | ||
9655 | +fi | ||
9656 | + | ||
9657 | + | ||
9658 | +# Check whether --with-diffstat or --without-diffstat was given. | ||
9659 | +if test "${with_diffstat+set}" = set; then | ||
9660 | + withval="$with_diffstat" | ||
9661 | + | ||
9662 | + DIFFSTAT="$withval" | ||
9663 | + | ||
9664 | + { echo "$as_me:$LINENO: Using diffstat executable $DIFFSTAT" >&5 | ||
9665 | +echo "$as_me: Using diffstat executable $DIFFSTAT" >&6;} | ||
9666 | + | ||
9667 | +else | ||
9668 | + | ||
9669 | + # Extract the first word of "diffstat", so it can be a program name with args. | ||
9670 | +set dummy diffstat; ac_word=$2 | ||
9671 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9672 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9673 | +if test "${ac_cv_path_DIFFSTAT+set}" = set; then | ||
9674 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9675 | +else | ||
9676 | + case $DIFFSTAT in | ||
9677 | + [\\/]* | ?:[\\/]*) | ||
9678 | + ac_cv_path_DIFFSTAT="$DIFFSTAT" # Let the user override the test with a path. | ||
9679 | + ;; | ||
9680 | + *) | ||
9681 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9682 | +for as_dir in $PATH | ||
9683 | +do | ||
9684 | + IFS=$as_save_IFS | ||
9685 | + test -z "$as_dir" && as_dir=. | ||
9686 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9687 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9688 | + ac_cv_path_DIFFSTAT="$as_dir/$ac_word$ac_exec_ext" | ||
9689 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9690 | + break 2 | ||
9691 | + fi | ||
9692 | +done | ||
9693 | +done | ||
9694 | + | ||
9695 | + ;; | ||
9696 | +esac | ||
9697 | +fi | ||
9698 | +DIFFSTAT=$ac_cv_path_DIFFSTAT | ||
9699 | + | ||
9700 | +if test -n "$DIFFSTAT"; then | ||
9701 | + echo "$as_me:$LINENO: result: $DIFFSTAT" >&5 | ||
9702 | +echo "${ECHO_T}$DIFFSTAT" >&6 | ||
9703 | +else | ||
9704 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9705 | +echo "${ECHO_T}no" >&6 | ||
9706 | +fi | ||
9707 | + | ||
9708 | + | ||
9709 | +fi; | ||
9710 | +if test -z "$DIFFSTAT"; then | ||
9711 | + { echo "$as_me:$LINENO: WARNING: | ||
9712 | +diffstat utility not found; the --diffstat option of the refresh command | ||
9713 | +will not work correctly until diffstat is installed. If you have diffstat | ||
9714 | +in a directory that is not in the search path you can specify its location | ||
9715 | +using the '--with-diffstat' option. | ||
9716 | +" >&5 | ||
9717 | +echo "$as_me: WARNING: | ||
9718 | +diffstat utility not found; the --diffstat option of the refresh command | ||
9719 | +will not work correctly until diffstat is installed. If you have diffstat | ||
9720 | +in a directory that is not in the search path you can specify its location | ||
9721 | +using the '--with-diffstat' option. | ||
9722 | +" >&2;} | ||
9723 | + DIFFSTAT="diffstat" | ||
9724 | +fi | ||
9725 | + | ||
9726 | +# Check whether --enable-nls or --disable-nls was given. | ||
9727 | +if test "${enable_nls+set}" = set; then | ||
9728 | + enableval="$enable_nls" | ||
9729 | + | ||
9730 | +fi; | ||
9731 | +if test "$enableval" != "no"; then | ||
9732 | + # Extract the first word of "msgfmt", so it can be a program name with args. | ||
9733 | +set dummy msgfmt; ac_word=$2 | ||
9734 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9735 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9736 | +if test "${ac_cv_path_MSGFMT+set}" = set; then | ||
9737 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9738 | +else | ||
9739 | + case $MSGFMT in | ||
9740 | + [\\/]* | ?:[\\/]*) | ||
9741 | + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. | ||
9742 | + ;; | ||
9743 | + *) | ||
9744 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9745 | +for as_dir in $PATH | ||
9746 | +do | ||
9747 | + IFS=$as_save_IFS | ||
9748 | + test -z "$as_dir" && as_dir=. | ||
9749 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9750 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9751 | + ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" | ||
9752 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9753 | + break 2 | ||
9754 | + fi | ||
9755 | +done | ||
9756 | +done | ||
9757 | + | ||
9758 | + ;; | ||
9759 | +esac | ||
9760 | +fi | ||
9761 | +MSGFMT=$ac_cv_path_MSGFMT | ||
9762 | + | ||
9763 | +if test -n "$MSGFMT"; then | ||
9764 | + echo "$as_me:$LINENO: result: $MSGFMT" >&5 | ||
9765 | +echo "${ECHO_T}$MSGFMT" >&6 | ||
9766 | +else | ||
9767 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9768 | +echo "${ECHO_T}no" >&6 | ||
9769 | +fi | ||
9770 | + | ||
9771 | +fi | ||
9772 | +if test "$enableval" = "yes" -a -z "$MSGFMT" ; then | ||
9773 | + { { echo "$as_me:$LINENO: error: | ||
9774 | +You do not appear to have msgfmt, which is part of the GNU Gettext package. It | ||
9775 | +is a required package as you chose the '--enable-nls' option to configure. | ||
9776 | +You can download GNU Gettext from ftp.gnu.org | ||
9777 | +" >&5 | ||
9778 | +echo "$as_me: error: | ||
9779 | +You do not appear to have msgfmt, which is part of the GNU Gettext package. It | ||
9780 | +is a required package as you chose the '--enable-nls' option to configure. | ||
9781 | +You can download GNU Gettext from ftp.gnu.org | ||
9782 | +" >&2;} | ||
9783 | + { (exit 1); exit 1; }; } | ||
9784 | +fi | ||
9785 | +if test -z "$MSGFMT" ; then | ||
9786 | + { echo "$as_me:$LINENO: Building without natural language support" >&5 | ||
9787 | +echo "$as_me: Building without natural language support" >&6;} | ||
9788 | +fi | ||
9789 | + | ||
9790 | +if test -n "$RPM_DOC_DIR" ; then | ||
9791 | + docdir="$RPM_DOC_DIR" | ||
9792 | +else | ||
9793 | + docdir='$(datadir)/doc' | ||
9794 | +fi | ||
9795 | + | ||
9796 | + | ||
9797 | +for ac_prog in rpmbuild rpm | ||
9798 | +do | ||
9799 | + # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
9800 | +set dummy $ac_prog; ac_word=$2 | ||
9801 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9802 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9803 | +if test "${ac_cv_path_RPMBUILD+set}" = set; then | ||
9804 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9805 | +else | ||
9806 | + case $RPMBUILD in | ||
9807 | + [\\/]* | ?:[\\/]*) | ||
9808 | + ac_cv_path_RPMBUILD="$RPMBUILD" # Let the user override the test with a path. | ||
9809 | + ;; | ||
9810 | + *) | ||
9811 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9812 | +for as_dir in $PATH | ||
9813 | +do | ||
9814 | + IFS=$as_save_IFS | ||
9815 | + test -z "$as_dir" && as_dir=. | ||
9816 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9817 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9818 | + ac_cv_path_RPMBUILD="$as_dir/$ac_word$ac_exec_ext" | ||
9819 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9820 | + break 2 | ||
9821 | + fi | ||
9822 | +done | ||
9823 | +done | ||
9824 | + | ||
9825 | + ;; | ||
9826 | +esac | ||
9827 | +fi | ||
9828 | +RPMBUILD=$ac_cv_path_RPMBUILD | ||
9829 | + | ||
9830 | +if test -n "$RPMBUILD"; then | ||
9831 | + echo "$as_me:$LINENO: result: $RPMBUILD" >&5 | ||
9832 | +echo "${ECHO_T}$RPMBUILD" >&6 | ||
9833 | +else | ||
9834 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9835 | +echo "${ECHO_T}no" >&6 | ||
9836 | +fi | ||
9837 | + | ||
9838 | + test -n "$RPMBUILD" && break | ||
9839 | +done | ||
9840 | + | ||
9841 | + | ||
9842 | + | ||
9843 | + ac_config_files="$ac_config_files Makefile" | ||
9844 | + | ||
9845 | +cat >confcache <<\_ACEOF | ||
9846 | +# This file is a shell script that caches the results of configure | ||
9847 | +# tests run on this system so they can be shared between configure | ||
9848 | +# scripts and configure runs, see configure's option --config-cache. | ||
9849 | +# It is not useful on other systems. If it contains results you don't | ||
9850 | +# want to keep, you may remove or edit it. | ||
9851 | +# | ||
9852 | +# config.status only pays attention to the cache file if you give it | ||
9853 | +# the --recheck option to rerun configure. | ||
9854 | +# | ||
9855 | +# `ac_cv_env_foo' variables (set or unset) will be overridden when | ||
9856 | +# loading this file, other *unset* `ac_cv_foo' will be assigned the | ||
9857 | +# following values. | ||
9858 | + | ||
9859 | +_ACEOF | ||
9860 | + | ||
9861 | +# The following way of writing the cache mishandles newlines in values, | ||
9862 | +# but we know of no workaround that is simple, portable, and efficient. | ||
9863 | +# So, don't put newlines in cache variables' values. | ||
9864 | +# Ultrix sh set writes to stderr and can't be redirected directly, | ||
9865 | +# and sets the high bit in the cache file unless we assign to the vars. | ||
9866 | +{ | ||
9867 | + (set) 2>&1 | | ||
9868 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in | ||
9869 | + *ac_space=\ *) | ||
9870 | + # `set' does not quote correctly, so add quotes (double-quote | ||
9871 | + # substitution turns \\\\ into \\, and sed turns \\ into \). | ||
9872 | + sed -n \ | ||
9873 | + "s/'/'\\\\''/g; | ||
9874 | + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | ||
9875 | + ;; | ||
9876 | + *) | ||
9877 | + # `set' quotes correctly as required by POSIX, so do not add quotes. | ||
9878 | + sed -n \ | ||
9879 | + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
9880 | + ;; | ||
9881 | + esac; | ||
9882 | +} | | ||
9883 | + sed ' | ||
9884 | + t clear | ||
9885 | + : clear | ||
9886 | + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | ||
9887 | + t end | ||
9888 | + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | ||
9889 | + : end' >>confcache | ||
9890 | +if diff $cache_file confcache >/dev/null 2>&1; then :; else | ||
9891 | + if test -w $cache_file; then | ||
9892 | + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | ||
9893 | + cat confcache >$cache_file | ||
9894 | + else | ||
9895 | + echo "not updating unwritable cache $cache_file" | ||
9896 | + fi | ||
9897 | +fi | ||
9898 | +rm -f confcache | ||
9899 | + | ||
9900 | +test "x$prefix" = xNONE && prefix=$ac_default_prefix | ||
9901 | +# Let make expand exec_prefix. | ||
9902 | +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | ||
9903 | + | ||
9904 | +# VPATH may cause trouble with some makes, so we remove $(srcdir), | ||
9905 | +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | ||
9906 | +# trailing colons and then remove the whole line if VPATH becomes empty | ||
9907 | +# (actually we leave an empty line to preserve line numbers). | ||
9908 | +if test "x$srcdir" = x.; then | ||
9909 | + ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ||
9910 | +s/:*\$(srcdir):*/:/; | ||
9911 | +s/:*\${srcdir}:*/:/; | ||
9912 | +s/:*@srcdir@:*/:/; | ||
9913 | +s/^\([^=]*=[ ]*\):*/\1/; | ||
9914 | +s/:*$//; | ||
9915 | +s/^[^=]*=[ ]*$//; | ||
9916 | +}' | ||
9917 | +fi | ||
9918 | + | ||
9919 | +# Transform confdefs.h into DEFS. | ||
9920 | +# Protect against shell expansion while executing Makefile rules. | ||
9921 | +# Protect against Makefile macro expansion. | ||
9922 | +# | ||
9923 | +# If the first sed substitution is executed (which looks for macros that | ||
9924 | +# take arguments), then we branch to the quote section. Otherwise, | ||
9925 | +# look for a macro that doesn't take arguments. | ||
9926 | +cat >confdef2opt.sed <<\_ACEOF | ||
9927 | +t clear | ||
9928 | +: clear | ||
9929 | +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g | ||
9930 | +t quote | ||
9931 | +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g | ||
9932 | +t quote | ||
9933 | +d | ||
9934 | +: quote | ||
9935 | +s,[ `~#$^&*(){}\\|;'"<>?],\\&,g | ||
9936 | +s,\[,\\&,g | ||
9937 | +s,\],\\&,g | ||
9938 | +s,\$,$$,g | ||
9939 | +p | ||
9940 | +_ACEOF | ||
9941 | +# We use echo to avoid assuming a particular line-breaking character. | ||
9942 | +# The extra dot is to prevent the shell from consuming trailing | ||
9943 | +# line-breaks from the sub-command output. A line-break within | ||
9944 | +# single-quotes doesn't work because, if this script is created in a | ||
9945 | +# platform that uses two characters for line-breaks (e.g., DOS), tr | ||
9946 | +# would break. | ||
9947 | +ac_LF_and_DOT=`echo; echo .` | ||
9948 | +DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` | ||
9949 | +rm -f confdef2opt.sed | ||
9950 | + | ||
9951 | + | ||
9952 | +ac_libobjs= | ||
9953 | +ac_ltlibobjs= | ||
9954 | +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | ||
9955 | + # 1. Remove the extension, and $U if already installed. | ||
9956 | + ac_i=`echo "$ac_i" | | ||
9957 | + sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | ||
9958 | + # 2. Add them. | ||
9959 | + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | ||
9960 | + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | ||
9961 | +done | ||
9962 | +LIBOBJS=$ac_libobjs | ||
9963 | + | ||
9964 | +LTLIBOBJS=$ac_ltlibobjs | ||
9965 | + | ||
9966 | + | ||
9967 | + | ||
9968 | +: ${CONFIG_STATUS=./config.status} | ||
9969 | +ac_clean_files_save=$ac_clean_files | ||
9970 | +ac_clean_files="$ac_clean_files $CONFIG_STATUS" | ||
9971 | +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | ||
9972 | +echo "$as_me: creating $CONFIG_STATUS" >&6;} | ||
9973 | +cat >$CONFIG_STATUS <<_ACEOF | ||
9974 | +#! $SHELL | ||
9975 | +# Generated by $as_me. | ||
9976 | +# Run this file to recreate the current configuration. | ||
9977 | +# Compiler output produced by configure, useful for debugging | ||
9978 | +# configure, is in config.log if it exists. | ||
9979 | + | ||
9980 | +debug=false | ||
9981 | +ac_cs_recheck=false | ||
9982 | +ac_cs_silent=false | ||
9983 | +SHELL=\${CONFIG_SHELL-$SHELL} | ||
9984 | +_ACEOF | ||
9985 | + | ||
9986 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
9987 | +## --------------------- ## | ||
9988 | +## M4sh Initialization. ## | ||
9989 | +## --------------------- ## | ||
9990 | + | ||
9991 | +# Be Bourne compatible | ||
9992 | +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
9993 | + emulate sh | ||
9994 | + NULLCMD=: | ||
9995 | + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
9996 | + # is contrary to our usage. Disable this feature. | ||
9997 | + alias -g '${1+"$@"}'='"$@"' | ||
9998 | +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | ||
9999 | + set -o posix | ||
10000 | +fi | ||
10001 | +DUALCASE=1; export DUALCASE # for MKS sh | ||
10002 | + | ||
10003 | +# Support unset when possible. | ||
10004 | +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
10005 | + as_unset=unset | ||
10006 | +else | ||
10007 | + as_unset=false | ||
10008 | +fi | ||
10009 | + | ||
10010 | + | ||
10011 | +# Work around bugs in pre-3.0 UWIN ksh. | ||
10012 | +$as_unset ENV MAIL MAILPATH | ||
10013 | +PS1='$ ' | ||
10014 | +PS2='> ' | ||
10015 | +PS4='+ ' | ||
10016 | + | ||
10017 | +# NLS nuisances. | ||
10018 | +for as_var in \ | ||
10019 | + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | ||
10020 | + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | ||
10021 | + LC_TELEPHONE LC_TIME | ||
10022 | +do | ||
10023 | + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | ||
10024 | + eval $as_var=C; export $as_var | ||
10025 | + else | ||
10026 | + $as_unset $as_var | ||
10027 | + fi | ||
10028 | +done | ||
10029 | + | ||
10030 | +# Required to use basename. | ||
10031 | +if expr a : '\(a\)' >/dev/null 2>&1; then | ||
10032 | + as_expr=expr | ||
10033 | +else | ||
10034 | + as_expr=false | ||
10035 | +fi | ||
10036 | + | ||
10037 | +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | ||
10038 | + as_basename=basename | ||
10039 | +else | ||
10040 | + as_basename=false | ||
10041 | +fi | ||
10042 | + | ||
10043 | + | ||
10044 | +# Name of the executable. | ||
10045 | +as_me=`$as_basename "$0" || | ||
10046 | +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
10047 | + X"$0" : 'X\(//\)$' \| \ | ||
10048 | + X"$0" : 'X\(/\)$' \| \ | ||
10049 | + . : '\(.\)' 2>/dev/null || | ||
10050 | +echo X/"$0" | | ||
10051 | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | ||
10052 | + /^X\/\(\/\/\)$/{ s//\1/; q; } | ||
10053 | + /^X\/\(\/\).*/{ s//\1/; q; } | ||
10054 | + s/.*/./; q'` | ||
10055 | + | ||
10056 | + | ||
10057 | +# PATH needs CR, and LINENO needs CR and PATH. | ||
10058 | +# Avoid depending upon Character Ranges. | ||
10059 | +as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
10060 | +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
10061 | +as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
10062 | +as_cr_digits='0123456789' | ||
10063 | +as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
10064 | + | ||
10065 | +# The user is always right. | ||
10066 | +if test "${PATH_SEPARATOR+set}" != set; then | ||
10067 | + echo "#! /bin/sh" >conf$$.sh | ||
10068 | + echo "exit 0" >>conf$$.sh | ||
10069 | + chmod +x conf$$.sh | ||
10070 | + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
10071 | + PATH_SEPARATOR=';' | ||
10072 | + else | ||
10073 | + PATH_SEPARATOR=: | ||
10074 | + fi | ||
10075 | + rm -f conf$$.sh | ||
10076 | +fi | ||
10077 | + | ||
10078 | + | ||
10079 | + as_lineno_1=$LINENO | ||
10080 | + as_lineno_2=$LINENO | ||
10081 | + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
10082 | + test "x$as_lineno_1" != "x$as_lineno_2" && | ||
10083 | + test "x$as_lineno_3" = "x$as_lineno_2" || { | ||
10084 | + # Find who we are. Look in the path if we contain no path at all | ||
10085 | + # relative or not. | ||
10086 | + case $0 in | ||
10087 | + *[\\/]* ) as_myself=$0 ;; | ||
10088 | + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10089 | +for as_dir in $PATH | ||
10090 | +do | ||
10091 | + IFS=$as_save_IFS | ||
10092 | + test -z "$as_dir" && as_dir=. | ||
10093 | + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
10094 | +done | ||
10095 | + | ||
10096 | + ;; | ||
10097 | + esac | ||
10098 | + # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
10099 | + # in which case we are not to be found in the path. | ||
10100 | + if test "x$as_myself" = x; then | ||
10101 | + as_myself=$0 | ||
10102 | + fi | ||
10103 | + if test ! -f "$as_myself"; then | ||
10104 | + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | ||
10105 | +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | ||
10106 | + { (exit 1); exit 1; }; } | ||
10107 | + fi | ||
10108 | + case $CONFIG_SHELL in | ||
10109 | + '') | ||
10110 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10111 | +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
10112 | +do | ||
10113 | + IFS=$as_save_IFS | ||
10114 | + test -z "$as_dir" && as_dir=. | ||
10115 | + for as_base in sh bash ksh sh5; do | ||
10116 | + case $as_dir in | ||
10117 | + /*) | ||
10118 | + if ("$as_dir/$as_base" -c ' | ||
10119 | + as_lineno_1=$LINENO | ||
10120 | + as_lineno_2=$LINENO | ||
10121 | + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
10122 | + test "x$as_lineno_1" != "x$as_lineno_2" && | ||
10123 | + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | ||
10124 | + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | ||
10125 | + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | ||
10126 | + CONFIG_SHELL=$as_dir/$as_base | ||
10127 | + export CONFIG_SHELL | ||
10128 | + exec "$CONFIG_SHELL" "$0" ${1+"$@"} | ||
10129 | + fi;; | ||
10130 | + esac | ||
10131 | + done | ||
10132 | +done | ||
10133 | +;; | ||
10134 | + esac | ||
10135 | + | ||
10136 | + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
10137 | + # uniformly replaced by the line number. The first 'sed' inserts a | ||
10138 | + # line-number line before each line; the second 'sed' does the real | ||
10139 | + # work. The second script uses 'N' to pair each line-number line | ||
10140 | + # with the numbered line, and appends trailing '-' during | ||
10141 | + # substitution so that $LINENO is not a special case at line end. | ||
10142 | + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
10143 | + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | ||
10144 | + sed '=' <$as_myself | | ||
10145 | + sed ' | ||
10146 | + N | ||
10147 | + s,$,-, | ||
10148 | + : loop | ||
10149 | + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
10150 | + t loop | ||
10151 | + s,-$,, | ||
10152 | + s,^['$as_cr_digits']*\n,, | ||
10153 | + ' >$as_me.lineno && | ||
10154 | + chmod +x $as_me.lineno || | ||
10155 | + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | ||
10156 | +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | ||
10157 | + { (exit 1); exit 1; }; } | ||
10158 | + | ||
10159 | + # Don't try to exec as it changes $[0], causing all sort of problems | ||
10160 | + # (the dirname of $[0] is not the place where we might find the | ||
10161 | + # original and so on. Autoconf is especially sensible to this). | ||
10162 | + . ./$as_me.lineno | ||
10163 | + # Exit status is that of the last command. | ||
10164 | + exit | ||
10165 | +} | ||
10166 | + | ||
10167 | + | ||
10168 | +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | ||
10169 | + *c*,-n*) ECHO_N= ECHO_C=' | ||
10170 | +' ECHO_T=' ' ;; | ||
10171 | + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | ||
10172 | + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | ||
10173 | +esac | ||
10174 | + | ||
10175 | +if expr a : '\(a\)' >/dev/null 2>&1; then | ||
10176 | + as_expr=expr | ||
10177 | +else | ||
10178 | + as_expr=false | ||
10179 | +fi | ||
10180 | + | ||
10181 | +rm -f conf$$ conf$$.exe conf$$.file | ||
10182 | +echo >conf$$.file | ||
10183 | +if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
10184 | + # We could just check for DJGPP; but this test a) works b) is more generic | ||
10185 | + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | ||
10186 | + if test -f conf$$.exe; then | ||
10187 | + # Don't use ln at all; we don't have any links | ||
10188 | + as_ln_s='cp -p' | ||
10189 | + else | ||
10190 | + as_ln_s='ln -s' | ||
10191 | + fi | ||
10192 | +elif ln conf$$.file conf$$ 2>/dev/null; then | ||
10193 | + as_ln_s=ln | ||
10194 | +else | ||
10195 | + as_ln_s='cp -p' | ||
10196 | +fi | ||
10197 | +rm -f conf$$ conf$$.exe conf$$.file | ||
10198 | + | ||
10199 | +if mkdir -p . 2>/dev/null; then | ||
10200 | + as_mkdir_p=: | ||
10201 | +else | ||
10202 | + test -d ./-p && rmdir ./-p | ||
10203 | + as_mkdir_p=false | ||
10204 | +fi | ||
10205 | + | ||
10206 | +as_executable_p="test -f" | ||
10207 | + | ||
10208 | +# Sed expression to map a string onto a valid CPP name. | ||
10209 | +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
10210 | + | ||
10211 | +# Sed expression to map a string onto a valid variable name. | ||
10212 | +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
10213 | + | ||
10214 | + | ||
10215 | +# IFS | ||
10216 | +# We need space, tab and new line, in precisely that order. | ||
10217 | +as_nl=' | ||
10218 | +' | ||
10219 | +IFS=" $as_nl" | ||
10220 | + | ||
10221 | +# CDPATH. | ||
10222 | +$as_unset CDPATH | ||
10223 | + | ||
10224 | +exec 6>&1 | ||
10225 | + | ||
10226 | +# Open the log real soon, to keep \$[0] and so on meaningful, and to | ||
10227 | +# report actual input values of CONFIG_FILES etc. instead of their | ||
10228 | +# values after options handling. Logging --version etc. is OK. | ||
10229 | +exec 5>>config.log | ||
10230 | +{ | ||
10231 | + echo | ||
10232 | + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | ||
10233 | +## Running $as_me. ## | ||
10234 | +_ASBOX | ||
10235 | +} >&5 | ||
10236 | +cat >&5 <<_CSEOF | ||
10237 | + | ||
10238 | +This file was extended by quilt $as_me 0.37, which was | ||
10239 | +generated by GNU Autoconf 2.59. Invocation command line was | ||
10240 | + | ||
10241 | + CONFIG_FILES = $CONFIG_FILES | ||
10242 | + CONFIG_HEADERS = $CONFIG_HEADERS | ||
10243 | + CONFIG_LINKS = $CONFIG_LINKS | ||
10244 | + CONFIG_COMMANDS = $CONFIG_COMMANDS | ||
10245 | + $ $0 $@ | ||
10246 | + | ||
10247 | +_CSEOF | ||
10248 | +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | ||
10249 | +echo >&5 | ||
10250 | +_ACEOF | ||
10251 | + | ||
10252 | +# Files that config.status was made for. | ||
10253 | +if test -n "$ac_config_files"; then | ||
10254 | + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | ||
10255 | +fi | ||
10256 | + | ||
10257 | +if test -n "$ac_config_headers"; then | ||
10258 | + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | ||
10259 | +fi | ||
10260 | + | ||
10261 | +if test -n "$ac_config_links"; then | ||
10262 | + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | ||
10263 | +fi | ||
10264 | + | ||
10265 | +if test -n "$ac_config_commands"; then | ||
10266 | + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | ||
10267 | +fi | ||
10268 | + | ||
10269 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
10270 | + | ||
10271 | +ac_cs_usage="\ | ||
10272 | +\`$as_me' instantiates files from templates according to the | ||
10273 | +current configuration. | ||
10274 | + | ||
10275 | +Usage: $0 [OPTIONS] [FILE]... | ||
10276 | + | ||
10277 | + -h, --help print this help, then exit | ||
10278 | + -V, --version print version number, then exit | ||
10279 | + -q, --quiet do not print progress messages | ||
10280 | + -d, --debug don't remove temporary files | ||
10281 | + --recheck update $as_me by reconfiguring in the same conditions | ||
10282 | + --file=FILE[:TEMPLATE] | ||
10283 | + instantiate the configuration file FILE | ||
10284 | + | ||
10285 | +Configuration files: | ||
10286 | +$config_files | ||
10287 | + | ||
10288 | +Report bugs to <bug-autoconf@gnu.org>." | ||
10289 | +_ACEOF | ||
10290 | + | ||
10291 | +cat >>$CONFIG_STATUS <<_ACEOF | ||
10292 | +ac_cs_version="\\ | ||
10293 | +quilt config.status 0.37 | ||
10294 | +configured by $0, generated by GNU Autoconf 2.59, | ||
10295 | + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | ||
10296 | + | ||
10297 | +Copyright (C) 2003 Free Software Foundation, Inc. | ||
10298 | +This config.status script is free software; the Free Software Foundation | ||
10299 | +gives unlimited permission to copy, distribute and modify it." | ||
10300 | +srcdir=$srcdir | ||
10301 | +INSTALL="$INSTALL" | ||
10302 | +_ACEOF | ||
10303 | + | ||
10304 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
10305 | +# If no file are specified by the user, then we need to provide default | ||
10306 | +# value. By we need to know if files were specified by the user. | ||
10307 | +ac_need_defaults=: | ||
10308 | +while test $# != 0 | ||
10309 | +do | ||
10310 | + case $1 in | ||
10311 | + --*=*) | ||
10312 | + ac_option=`expr "x$1" : 'x\([^=]*\)='` | ||
10313 | + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | ||
10314 | + ac_shift=: | ||
10315 | + ;; | ||
10316 | + -*) | ||
10317 | + ac_option=$1 | ||
10318 | + ac_optarg=$2 | ||
10319 | + ac_shift=shift | ||
10320 | + ;; | ||
10321 | + *) # This is not an option, so the user has probably given explicit | ||
10322 | + # arguments. | ||
10323 | + ac_option=$1 | ||
10324 | + ac_need_defaults=false;; | ||
10325 | + esac | ||
10326 | + | ||
10327 | + case $ac_option in | ||
10328 | + # Handling of the options. | ||
10329 | +_ACEOF | ||
10330 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
10331 | + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | ||
10332 | + ac_cs_recheck=: ;; | ||
10333 | + --version | --vers* | -V ) | ||
10334 | + echo "$ac_cs_version"; exit 0 ;; | ||
10335 | + --he | --h) | ||
10336 | + # Conflict between --help and --header | ||
10337 | + { { echo "$as_me:$LINENO: error: ambiguous option: $1 | ||
10338 | +Try \`$0 --help' for more information." >&5 | ||
10339 | +echo "$as_me: error: ambiguous option: $1 | ||
10340 | +Try \`$0 --help' for more information." >&2;} | ||
10341 | + { (exit 1); exit 1; }; };; | ||
10342 | + --help | --hel | -h ) | ||
10343 | + echo "$ac_cs_usage"; exit 0 ;; | ||
10344 | + --debug | --d* | -d ) | ||
10345 | + debug=: ;; | ||
10346 | + --file | --fil | --fi | --f ) | ||
10347 | + $ac_shift | ||
10348 | + CONFIG_FILES="$CONFIG_FILES $ac_optarg" | ||
10349 | + ac_need_defaults=false;; | ||
10350 | + --header | --heade | --head | --hea ) | ||
10351 | + $ac_shift | ||
10352 | + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | ||
10353 | + ac_need_defaults=false;; | ||
10354 | + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
10355 | + | -silent | --silent | --silen | --sile | --sil | --si | --s) | ||
10356 | + ac_cs_silent=: ;; | ||
10357 | + | ||
10358 | + # This is an error. | ||
10359 | + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | ||
10360 | +Try \`$0 --help' for more information." >&5 | ||
10361 | +echo "$as_me: error: unrecognized option: $1 | ||
10362 | +Try \`$0 --help' for more information." >&2;} | ||
10363 | + { (exit 1); exit 1; }; } ;; | ||
10364 | + | ||
10365 | + *) ac_config_targets="$ac_config_targets $1" ;; | ||
10366 | + | ||
10367 | + esac | ||
10368 | + shift | ||
10369 | +done | ||
10370 | + | ||
10371 | +ac_configure_extra_args= | ||
10372 | + | ||
10373 | +if $ac_cs_silent; then | ||
10374 | + exec 6>/dev/null | ||
10375 | + ac_configure_extra_args="$ac_configure_extra_args --silent" | ||
10376 | +fi | ||
10377 | + | ||
10378 | +_ACEOF | ||
10379 | +cat >>$CONFIG_STATUS <<_ACEOF | ||
10380 | +if \$ac_cs_recheck; then | ||
10381 | + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | ||
10382 | + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | ||
10383 | +fi | ||
10384 | + | ||
10385 | +_ACEOF | ||
10386 | + | ||
10387 | + | ||
10388 | + | ||
10389 | + | ||
10390 | + | ||
10391 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
10392 | +for ac_config_target in $ac_config_targets | ||
10393 | +do | ||
10394 | + case "$ac_config_target" in | ||
10395 | + # Handling of arguments. | ||
10396 | + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | ||
10397 | + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | ||
10398 | +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | ||
10399 | + { (exit 1); exit 1; }; };; | ||
10400 | + esac | ||
10401 | +done | ||
10402 | + | ||
10403 | +# If the user did not use the arguments to specify the items to instantiate, | ||
10404 | +# then the envvar interface is used. Set only those that are not. | ||
10405 | +# We use the long form for the default assignment because of an extremely | ||
10406 | +# bizarre bug on SunOS 4.1.3. | ||
10407 | +if $ac_need_defaults; then | ||
10408 | + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | ||
10409 | +fi | ||
10410 | + | ||
10411 | +# Have a temporary directory for convenience. Make it in the build tree | ||
10412 | +# simply because there is no reason to put it here, and in addition, | ||
10413 | +# creating and moving files from /tmp can sometimes cause problems. | ||
10414 | +# Create a temporary directory, and hook for its removal unless debugging. | ||
10415 | +$debug || | ||
10416 | +{ | ||
10417 | + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | ||
10418 | + trap '{ (exit 1); exit 1; }' 1 2 13 15 | ||
10419 | +} | ||
10420 | + | ||
10421 | +# Create a (secure) tmp directory for tmp files. | ||
10422 | + | ||
10423 | +{ | ||
10424 | + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | ||
10425 | + test -n "$tmp" && test -d "$tmp" | ||
10426 | +} || | ||
10427 | +{ | ||
10428 | + tmp=./confstat$$-$RANDOM | ||
10429 | + (umask 077 && mkdir $tmp) | ||
10430 | +} || | ||
10431 | +{ | ||
10432 | + echo "$me: cannot create a temporary directory in ." >&2 | ||
10433 | + { (exit 1); exit 1; } | ||
10434 | +} | ||
10435 | + | ||
10436 | +_ACEOF | ||
10437 | + | ||
10438 | +cat >>$CONFIG_STATUS <<_ACEOF | ||
10439 | + | ||
10440 | +# | ||
10441 | +# CONFIG_FILES section. | ||
10442 | +# | ||
10443 | + | ||
10444 | +# No need to generate the scripts if there are no CONFIG_FILES. | ||
10445 | +# This happens for instance when ./config.status config.h | ||
10446 | +if test -n "\$CONFIG_FILES"; then | ||
10447 | + # Protect against being on the right side of a sed subst in config.status. | ||
10448 | + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | ||
10449 | + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | ||
10450 | +s,@SHELL@,$SHELL,;t t | ||
10451 | +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | ||
10452 | +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | ||
10453 | +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | ||
10454 | +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | ||
10455 | +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | ||
10456 | +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | ||
10457 | +s,@exec_prefix@,$exec_prefix,;t t | ||
10458 | +s,@prefix@,$prefix,;t t | ||
10459 | +s,@program_transform_name@,$program_transform_name,;t t | ||
10460 | +s,@bindir@,$bindir,;t t | ||
10461 | +s,@sbindir@,$sbindir,;t t | ||
10462 | +s,@libexecdir@,$libexecdir,;t t | ||
10463 | +s,@datadir@,$datadir,;t t | ||
10464 | +s,@sysconfdir@,$sysconfdir,;t t | ||
10465 | +s,@sharedstatedir@,$sharedstatedir,;t t | ||
10466 | +s,@localstatedir@,$localstatedir,;t t | ||
10467 | +s,@libdir@,$libdir,;t t | ||
10468 | +s,@includedir@,$includedir,;t t | ||
10469 | +s,@oldincludedir@,$oldincludedir,;t t | ||
10470 | +s,@infodir@,$infodir,;t t | ||
10471 | +s,@mandir@,$mandir,;t t | ||
10472 | +s,@build_alias@,$build_alias,;t t | ||
10473 | +s,@host_alias@,$host_alias,;t t | ||
10474 | +s,@target_alias@,$target_alias,;t t | ||
10475 | +s,@DEFS@,$DEFS,;t t | ||
10476 | +s,@ECHO_C@,$ECHO_C,;t t | ||
10477 | +s,@ECHO_N@,$ECHO_N,;t t | ||
10478 | +s,@ECHO_T@,$ECHO_T,;t t | ||
10479 | +s,@LIBS@,$LIBS,;t t | ||
10480 | +s,@PACKAGE_RELEASE@,$PACKAGE_RELEASE,;t t | ||
10481 | +s,@CC@,$CC,;t t | ||
10482 | +s,@CFLAGS@,$CFLAGS,;t t | ||
10483 | +s,@LDFLAGS@,$LDFLAGS,;t t | ||
10484 | +s,@CPPFLAGS@,$CPPFLAGS,;t t | ||
10485 | +s,@ac_ct_CC@,$ac_ct_CC,;t t | ||
10486 | +s,@EXEEXT@,$EXEEXT,;t t | ||
10487 | +s,@OBJEXT@,$OBJEXT,;t t | ||
10488 | +s,@CPP@,$CPP,;t t | ||
10489 | +s,@EGREP@,$EGREP,;t t | ||
10490 | +s,@LIBOBJS@,$LIBOBJS,;t t | ||
10491 | +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | ||
10492 | +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | ||
10493 | +s,@INSTALL_DATA@,$INSTALL_DATA,;t t | ||
10494 | +s,@BASH@,$BASH,;t t | ||
10495 | +s,@PERL@,$PERL,;t t | ||
10496 | +s,@SED@,$SED,;t t | ||
10497 | +s,@AWK@,$AWK,;t t | ||
10498 | +s,@MKTEMP@,$MKTEMP,;t t | ||
10499 | +s,@DIFF@,$DIFF,;t t | ||
10500 | +s,@PATCH@,$PATCH,;t t | ||
10501 | +s,@DIFFSTAT@,$DIFFSTAT,;t t | ||
10502 | +s,@MSGFMT@,$MSGFMT,;t t | ||
10503 | +s,@docdir@,$docdir,;t t | ||
10504 | +s,@RPMBUILD@,$RPMBUILD,;t t | ||
10505 | +s,@LTLIBOBJS@,$LTLIBOBJS,;t t | ||
10506 | +CEOF | ||
10507 | + | ||
10508 | +_ACEOF | ||
10509 | + | ||
10510 | + cat >>$CONFIG_STATUS <<\_ACEOF | ||
10511 | + # Split the substitutions into bite-sized pieces for seds with | ||
10512 | + # small command number limits, like on Digital OSF/1 and HP-UX. | ||
10513 | + ac_max_sed_lines=48 | ||
10514 | + ac_sed_frag=1 # Number of current file. | ||
10515 | + ac_beg=1 # First line for current file. | ||
10516 | + ac_end=$ac_max_sed_lines # Line after last line for current file. | ||
10517 | + ac_more_lines=: | ||
10518 | + ac_sed_cmds= | ||
10519 | + while $ac_more_lines; do | ||
10520 | + if test $ac_beg -gt 1; then | ||
10521 | + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | ||
10522 | + else | ||
10523 | + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | ||
10524 | + fi | ||
10525 | + if test ! -s $tmp/subs.frag; then | ||
10526 | + ac_more_lines=false | ||
10527 | + else | ||
10528 | + # The purpose of the label and of the branching condition is to | ||
10529 | + # speed up the sed processing (if there are no `@' at all, there | ||
10530 | + # is no need to browse any of the substitutions). | ||
10531 | + # These are the two extra sed commands mentioned above. | ||
10532 | + (echo ':t | ||
10533 | + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | ||
10534 | + if test -z "$ac_sed_cmds"; then | ||
10535 | + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | ||
10536 | + else | ||
10537 | + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | ||
10538 | + fi | ||
10539 | + ac_sed_frag=`expr $ac_sed_frag + 1` | ||
10540 | + ac_beg=$ac_end | ||
10541 | + ac_end=`expr $ac_end + $ac_max_sed_lines` | ||
10542 | + fi | ||
10543 | + done | ||
10544 | + if test -z "$ac_sed_cmds"; then | ||
10545 | + ac_sed_cmds=cat | ||
10546 | + fi | ||
10547 | +fi # test -n "$CONFIG_FILES" | ||
10548 | + | ||
10549 | +_ACEOF | ||
10550 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
10551 | +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | ||
10552 | + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | ||
10553 | + case $ac_file in | ||
10554 | + - | *:- | *:-:* ) # input from stdin | ||
10555 | + cat >$tmp/stdin | ||
10556 | + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
10557 | + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
10558 | + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
10559 | + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
10560 | + * ) ac_file_in=$ac_file.in ;; | ||
10561 | + esac | ||
10562 | + | ||
10563 | + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | ||
10564 | + ac_dir=`(dirname "$ac_file") 2>/dev/null || | ||
10565 | +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
10566 | + X"$ac_file" : 'X\(//\)[^/]' \| \ | ||
10567 | + X"$ac_file" : 'X\(//\)$' \| \ | ||
10568 | + X"$ac_file" : 'X\(/\)' \| \ | ||
10569 | + . : '\(.\)' 2>/dev/null || | ||
10570 | +echo X"$ac_file" | | ||
10571 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
10572 | + /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
10573 | + /^X\(\/\/\)$/{ s//\1/; q; } | ||
10574 | + /^X\(\/\).*/{ s//\1/; q; } | ||
10575 | + s/.*/./; q'` | ||
10576 | + { if $as_mkdir_p; then | ||
10577 | + mkdir -p "$ac_dir" | ||
10578 | + else | ||
10579 | + as_dir="$ac_dir" | ||
10580 | + as_dirs= | ||
10581 | + while test ! -d "$as_dir"; do | ||
10582 | + as_dirs="$as_dir $as_dirs" | ||
10583 | + as_dir=`(dirname "$as_dir") 2>/dev/null || | ||
10584 | +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
10585 | + X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
10586 | + X"$as_dir" : 'X\(//\)$' \| \ | ||
10587 | + X"$as_dir" : 'X\(/\)' \| \ | ||
10588 | + . : '\(.\)' 2>/dev/null || | ||
10589 | +echo X"$as_dir" | | ||
10590 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
10591 | + /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
10592 | + /^X\(\/\/\)$/{ s//\1/; q; } | ||
10593 | + /^X\(\/\).*/{ s//\1/; q; } | ||
10594 | + s/.*/./; q'` | ||
10595 | + done | ||
10596 | + test ! -n "$as_dirs" || mkdir $as_dirs | ||
10597 | + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | ||
10598 | +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | ||
10599 | + { (exit 1); exit 1; }; }; } | ||
10600 | + | ||
10601 | + ac_builddir=. | ||
10602 | + | ||
10603 | +if test "$ac_dir" != .; then | ||
10604 | + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | ||
10605 | + # A "../" for each directory in $ac_dir_suffix. | ||
10606 | + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | ||
10607 | +else | ||
10608 | + ac_dir_suffix= ac_top_builddir= | ||
10609 | +fi | ||
10610 | + | ||
10611 | +case $srcdir in | ||
10612 | + .) # No --srcdir option. We are building in place. | ||
10613 | + ac_srcdir=. | ||
10614 | + if test -z "$ac_top_builddir"; then | ||
10615 | + ac_top_srcdir=. | ||
10616 | + else | ||
10617 | + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
10618 | + fi ;; | ||
10619 | + [\\/]* | ?:[\\/]* ) # Absolute path. | ||
10620 | + ac_srcdir=$srcdir$ac_dir_suffix; | ||
10621 | + ac_top_srcdir=$srcdir ;; | ||
10622 | + *) # Relative path. | ||
10623 | + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ||
10624 | + ac_top_srcdir=$ac_top_builddir$srcdir ;; | ||
10625 | +esac | ||
10626 | + | ||
10627 | +# Do not use `cd foo && pwd` to compute absolute paths, because | ||
10628 | +# the directories may not exist. | ||
10629 | +case `pwd` in | ||
10630 | +.) ac_abs_builddir="$ac_dir";; | ||
10631 | +*) | ||
10632 | + case "$ac_dir" in | ||
10633 | + .) ac_abs_builddir=`pwd`;; | ||
10634 | + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | ||
10635 | + *) ac_abs_builddir=`pwd`/"$ac_dir";; | ||
10636 | + esac;; | ||
10637 | +esac | ||
10638 | +case $ac_abs_builddir in | ||
10639 | +.) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
10640 | +*) | ||
10641 | + case ${ac_top_builddir}. in | ||
10642 | + .) ac_abs_top_builddir=$ac_abs_builddir;; | ||
10643 | + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
10644 | + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | ||
10645 | + esac;; | ||
10646 | +esac | ||
10647 | +case $ac_abs_builddir in | ||
10648 | +.) ac_abs_srcdir=$ac_srcdir;; | ||
10649 | +*) | ||
10650 | + case $ac_srcdir in | ||
10651 | + .) ac_abs_srcdir=$ac_abs_builddir;; | ||
10652 | + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | ||
10653 | + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | ||
10654 | + esac;; | ||
10655 | +esac | ||
10656 | +case $ac_abs_builddir in | ||
10657 | +.) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
10658 | +*) | ||
10659 | + case $ac_top_srcdir in | ||
10660 | + .) ac_abs_top_srcdir=$ac_abs_builddir;; | ||
10661 | + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
10662 | + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | ||
10663 | + esac;; | ||
10664 | +esac | ||
10665 | + | ||
10666 | + | ||
10667 | + case $INSTALL in | ||
10668 | + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | ||
10669 | + *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | ||
10670 | + esac | ||
10671 | + | ||
10672 | + # Let's still pretend it is `configure' which instantiates (i.e., don't | ||
10673 | + # use $as_me), people would be surprised to read: | ||
10674 | + # /* config.h. Generated by config.status. */ | ||
10675 | + if test x"$ac_file" = x-; then | ||
10676 | + configure_input= | ||
10677 | + else | ||
10678 | + configure_input="$ac_file. " | ||
10679 | + fi | ||
10680 | + configure_input=$configure_input"Generated from `echo $ac_file_in | | ||
10681 | + sed 's,.*/,,'` by configure." | ||
10682 | + | ||
10683 | + # First look for the input files in the build tree, otherwise in the | ||
10684 | + # src tree. | ||
10685 | + ac_file_inputs=`IFS=: | ||
10686 | + for f in $ac_file_in; do | ||
10687 | + case $f in | ||
10688 | + -) echo $tmp/stdin ;; | ||
10689 | + [\\/$]*) | ||
10690 | + # Absolute (can't be DOS-style, as IFS=:) | ||
10691 | + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
10692 | +echo "$as_me: error: cannot find input file: $f" >&2;} | ||
10693 | + { (exit 1); exit 1; }; } | ||
10694 | + echo "$f";; | ||
10695 | + *) # Relative | ||
10696 | + if test -f "$f"; then | ||
10697 | + # Build tree | ||
10698 | + echo "$f" | ||
10699 | + elif test -f "$srcdir/$f"; then | ||
10700 | + # Source tree | ||
10701 | + echo "$srcdir/$f" | ||
10702 | + else | ||
10703 | + # /dev/null tree | ||
10704 | + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
10705 | +echo "$as_me: error: cannot find input file: $f" >&2;} | ||
10706 | + { (exit 1); exit 1; }; } | ||
10707 | + fi;; | ||
10708 | + esac | ||
10709 | + done` || { (exit 1); exit 1; } | ||
10710 | + | ||
10711 | + if test x"$ac_file" != x-; then | ||
10712 | + { echo "$as_me:$LINENO: creating $ac_file" >&5 | ||
10713 | +echo "$as_me: creating $ac_file" >&6;} | ||
10714 | + rm -f "$ac_file" | ||
10715 | + fi | ||
10716 | +_ACEOF | ||
10717 | +cat >>$CONFIG_STATUS <<_ACEOF | ||
10718 | + sed "$ac_vpsub | ||
10719 | +$extrasub | ||
10720 | +_ACEOF | ||
10721 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
10722 | +:t | ||
10723 | +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b | ||
10724 | +s,@configure_input@,$configure_input,;t t | ||
10725 | +s,@srcdir@,$ac_srcdir,;t t | ||
10726 | +s,@abs_srcdir@,$ac_abs_srcdir,;t t | ||
10727 | +s,@top_srcdir@,$ac_top_srcdir,;t t | ||
10728 | +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | ||
10729 | +s,@builddir@,$ac_builddir,;t t | ||
10730 | +s,@abs_builddir@,$ac_abs_builddir,;t t | ||
10731 | +s,@top_builddir@,$ac_top_builddir,;t t | ||
10732 | +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | ||
10733 | +s,@INSTALL@,$ac_INSTALL,;t t | ||
10734 | +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | ||
10735 | + rm -f $tmp/stdin | ||
10736 | + if test x"$ac_file" != x-; then | ||
10737 | + mv $tmp/out $ac_file | ||
10738 | + else | ||
10739 | + cat $tmp/out | ||
10740 | + rm -f $tmp/out | ||
10741 | + fi | ||
10742 | + | ||
10743 | +done | ||
10744 | +_ACEOF | ||
10745 | + | ||
10746 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
10747 | + | ||
10748 | +{ (exit 0); exit 0; } | ||
10749 | +_ACEOF | ||
10750 | +chmod +x $CONFIG_STATUS | ||
10751 | +ac_clean_files=$ac_clean_files_save | ||
10752 | + | ||
10753 | + | ||
10754 | +# configure is writing to config.log, and then calls config.status. | ||
10755 | +# config.status does its own redirection, appending to config.log. | ||
10756 | +# Unfortunately, on DOS this fails, as config.log is still kept open | ||
10757 | +# by configure, so config.status won't be able to write to it; its | ||
10758 | +# output is simply discarded. So we exec the FD to /dev/null, | ||
10759 | +# effectively closing config.log, so it can be properly (re)opened and | ||
10760 | +# appended to by config.status. When coming back to configure, we | ||
10761 | +# need to make the FD available again. | ||
10762 | +if test "$no_create" != yes; then | ||
10763 | + ac_cs_success=: | ||
10764 | + ac_config_status_args= | ||
10765 | + test "$silent" = yes && | ||
10766 | + ac_config_status_args="$ac_config_status_args --quiet" | ||
10767 | + exec 5>/dev/null | ||
10768 | + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | ||
10769 | + exec 5>>config.log | ||
10770 | + # Use ||, not &&, to avoid exiting from the if with $? = 1, which | ||
10771 | + # would make configure fail if this is the last instruction. | ||
10772 | + $ac_cs_success || { (exit 1); exit 1; } | ||
10773 | +fi | ||
10774 | + | ||
10775 | + | ||
10776 | +echo "$as_me:$LINENO: result: " >&5 | ||
10777 | +echo "${ECHO_T}" >&6 | ||
10778 | +echo "$as_me:$LINENO: result: $PACKAGE_NAME version $PACKAGE_VERSION configured." >&5 | ||
10779 | +echo "${ECHO_T}$PACKAGE_NAME version $PACKAGE_VERSION configured." >&6 | ||
10780 | +echo "$as_me:$LINENO: result: " >&5 | ||
10781 | +echo "${ECHO_T}" >&6 | ||
10782 | +echo "$as_me:$LINENO: result: Using '$prefix' for installation prefix." >&5 | ||
10783 | +echo "${ECHO_T}Using '$prefix' for installation prefix." >&6 | ||
10784 | + | ||
10785 | +# we don't need to see this just for the backup-files command | ||
10786 | +# but we may as well spec it for the future | ||
10787 | +#AC_MSG_RESULT([Using '$CC' for C compiler.]) | ||
10788 | +#AC_MSG_RESULT([Building with '$CFLAGS' for C compiler flags.]) | ||
10789 | +#AC_MSG_RESULT([Building with '$LIBS' for linker flags.]) | ||
10790 | + | ||
10791 | +echo "$as_me:$LINENO: result: " >&5 | ||
10792 | +echo "${ECHO_T}" >&6 | ||
10793 | +echo "$as_me:$LINENO: result: Report bugs to $PACKAGE_BUGREPORT" >&5 | ||
10794 | +echo "${ECHO_T}Report bugs to $PACKAGE_BUGREPORT" >&6 | ||
diff --git a/openembedded/packages/quilt/files/install.patch b/openembedded/packages/quilt/files/install.patch new file mode 100644 index 0000000000..4122370d6a --- /dev/null +++ b/openembedded/packages/quilt/files/install.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.holgerschurig.de/patcher.html | ||
4 | # | ||
5 | |||
6 | --- quilt-0.32/Makefile.in~install | ||
7 | +++ quilt-0.32/Makefile.in | ||
8 | @@ -9,9 +9,9 @@ | ||
9 | libdir := @libdir@ | ||
10 | datadir := @datadir@ | ||
11 | docdir := @docdir@ | ||
12 | -mandir := $(datadir)/man | ||
13 | +mandir := @mandir@ | ||
14 | localedir := $(datadir)/locale | ||
15 | -etcdir := $(subst /usr/etc,/etc,$(prefix)/etc) | ||
16 | +etcdir := @sysconfdir@ | ||
17 | |||
18 | QUILT_DIR = $(datadir)/$(PACKAGE) | ||
19 | SCRIPTS_DIR = $(QUILT_DIR)/scripts | ||
diff --git a/openembedded/packages/quilt/files/nostrip.patch b/openembedded/packages/quilt/files/nostrip.patch new file mode 100644 index 0000000000..4dedad96d4 --- /dev/null +++ b/openembedded/packages/quilt/files/nostrip.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.holgerschurig.de/patcher.html | ||
4 | # | ||
5 | |||
6 | --- quilt-0.32/Makefile.in~nostrip | ||
7 | +++ quilt-0.32/Makefile.in | ||
8 | @@ -240,7 +240,7 @@ | ||
9 | @INSTALL@ -m 644 scripts/patchfns $(BUILD_ROOT)$(SCRIPTS_DIR) | ||
10 | |||
11 | @INSTALL@ -d $(BUILD_ROOT)$(LIB_DIR) | ||
12 | - @INSTALL@ -m 755 -s $(LIB:%=lib/%) $(BUILD_ROOT)$(LIB_DIR)/ | ||
13 | + @INSTALL@ -m 755 $(LIB:%=lib/%) $(BUILD_ROOT)$(LIB_DIR)/ | ||
14 | |||
15 | @INSTALL@ -d $(BUILD_ROOT)$(docdir)/$(PACKAGE)-$(VERSION)/ | ||
16 | @INSTALL@ -m 644 doc/README \ | ||
diff --git a/openembedded/packages/quilt/files/wiggle.patch b/openembedded/packages/quilt/files/wiggle.patch new file mode 100644 index 0000000000..dce21b4493 --- /dev/null +++ b/openembedded/packages/quilt/files/wiggle.patch | |||
@@ -0,0 +1,110 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.holgerschurig.de/patcher.html | ||
4 | # | ||
5 | |||
6 | --- quilt/quilt/push.in~wiggle | ||
7 | +++ quilt/quilt/push.in | ||
8 | @@ -19,7 +19,7 @@ | ||
9 | |||
10 | usage() | ||
11 | { | ||
12 | - printf $"Usage: quilt push [-afqv] [--leave-rejects] [num|patch]\n" | ||
13 | + printf $"Usage: quilt push [-afwqv] [--leave-rejects] [num|patch]\n" | ||
14 | if [ x$1 = x-h ] | ||
15 | then | ||
16 | printf $" | ||
17 | @@ -34,6 +34,8 @@ | ||
18 | |||
19 | -f Force apply, even if the patch has rejects. | ||
20 | |||
21 | +-w Use 'wiggle'. | ||
22 | + | ||
23 | -q Quiet operation. | ||
24 | |||
25 | -v Verbose operation. | ||
26 | @@ -91,7 +93,7 @@ | ||
27 | fi | ||
28 | } | ||
29 | |||
30 | -options=`getopt -o fqvah --long leave-rejects,interactive -- "$@"` | ||
31 | +options=`getopt -o fwqvah --long leave-rejects,interactive -- "$@"` | ||
32 | |||
33 | if [ $? -ne 0 ] | ||
34 | then | ||
35 | @@ -106,6 +108,9 @@ | ||
36 | -f) | ||
37 | opt_force=1 | ||
38 | shift ;; | ||
39 | + -w) | ||
40 | + opt_wiggle=1 | ||
41 | + shift ;; | ||
42 | -q) | ||
43 | opt_quiet=1 | ||
44 | shift ;; | ||
45 | @@ -152,6 +157,8 @@ | ||
46 | |||
47 | [ -n "$opt_force" ] && | ||
48 | apatch_options="$apatch_options -f" | ||
49 | +[ -n "$opt_wiggle" ] && | ||
50 | + apatch_options="$apatch_options -w" | ||
51 | [ -n "$opt_quiet" ] && | ||
52 | apatch_options="$apatch_options -q" | ||
53 | [ -n "$opt_verbose" ] && | ||
54 | --- quilt/scripts/apatch.in~wiggle | ||
55 | +++ quilt/scripts/apatch.in | ||
56 | @@ -19,7 +19,7 @@ | ||
57 | |||
58 | usage() | ||
59 | { | ||
60 | - printf $"Usage: $0 [-fqv] patchname\n" | ||
61 | + printf $"Usage: $0 [-fwqv] patchname\n" | ||
62 | exit 1 | ||
63 | } | ||
64 | |||
65 | @@ -91,7 +91,7 @@ | ||
66 | |||
67 | trap "" SIGINT | ||
68 | |||
69 | - if [ $status -ne 0 -a -z "$opt_leave_rejects" ] | ||
70 | + if [ $status -ne 0 -a -z "$opt_leave_rejects" -o -n "$opt_wiggle" ] | ||
71 | then | ||
72 | # The reject files are removed in rollback_patch. | ||
73 | echo "$output" \ | ||
74 | @@ -109,6 +109,17 @@ | ||
75 | echo "$output" | ||
76 | fi | ||
77 | |||
78 | + if [ -n "$opt_wiggle" ]; then | ||
79 | + rejects=`echo "$output" \ | ||
80 | + | sed -n -e \ | ||
81 | + '/-- saving rejects to file \(.\+\)\.rej/ { s/^.*-- saving rejects to file \(.\+\)\.rej/\1/; p }'` | ||
82 | + for rej in $rejects; do | ||
83 | + # Kill old backup.. otherwise wiggle is very unhappy with you | ||
84 | + rm -f $rej.porig | ||
85 | + wiggle --replace $rej $rej.rej | ||
86 | + done | ||
87 | + fi | ||
88 | + | ||
89 | if [ $status -eq 0 -o -n "$opt_force" ] | ||
90 | then | ||
91 | add_to_db $patch | ||
92 | @@ -143,7 +154,7 @@ | ||
93 | return $status | ||
94 | } | ||
95 | |||
96 | -options=`getopt -o fqvh --long leave-rejects,interactive -- "$@"` | ||
97 | +options=`getopt -o fwqvh --long leave-rejects,interactive -- "$@"` | ||
98 | |||
99 | if [ $? -ne 0 ] | ||
100 | then | ||
101 | @@ -158,6 +169,9 @@ | ||
102 | -f) | ||
103 | opt_force=1 | ||
104 | shift ;; | ||
105 | + -w) | ||
106 | + opt_wiggle=1 | ||
107 | + shift ;; | ||
108 | -q) | ||
109 | opt_quiet=1 | ||
110 | shift ;; | ||
diff --git a/openembedded/packages/quilt/quilt-native_0.39.bb b/openembedded/packages/quilt/quilt-native_0.39.bb new file mode 100644 index 0000000000..5dabcffd74 --- /dev/null +++ b/openembedded/packages/quilt/quilt-native_0.39.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | include quilt.inc | ||
2 | |||
3 | INHIBIT_AUTOTOOLS_DEPS = "1" | ||
4 | |||
5 | SRC_URI = "cvs://anoncvs:@savannah.nongnu.org/cvsroot/quilt;method=ext;rsh=ssh;module=quilt;tag=VER_${@(bb.data.getVar('PV', d, 1) or '').replace('.', '_')} \ | ||
6 | file://install.patch;patch=1 \ | ||
7 | file://nostrip.patch;patch=1 \ | ||
8 | file://autoreconf.patch;patch=1" | ||
9 | S = "${WORKDIR}/quilt" | ||
10 | |||
11 | inherit autotools native | ||
12 | |||
13 | PATCHCLEANCMD = "" | ||
14 | PATCHCMD = "num='%s'; name='%s'; file='%s'; patch -p "$num" -i "$file"" | ||
15 | EXTRA_OECONF = "--disable-nls" | ||
16 | |||
17 | do_configure () { | ||
18 | chmod 755 configure | ||
19 | oe_runconf | ||
20 | } | ||
diff --git a/openembedded/packages/quilt/quilt-package.inc b/openembedded/packages/quilt/quilt-package.inc new file mode 100644 index 0000000000..bcdbcf026a --- /dev/null +++ b/openembedded/packages/quilt/quilt-package.inc | |||
@@ -0,0 +1,10 @@ | |||
1 | PACKAGES += "guards guards-doc" | ||
2 | FILES_${PN} = "${sysconfdir} ${datadir}/quilt \ | ||
3 | ${bindir}/quilt ${libdir}/quilt" | ||
4 | FILES_guards = "${bindir}/guards" | ||
5 | FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${P}" | ||
6 | FILES_guards-doc = "${mandir}/man1/guards.1" | ||
7 | |||
8 | do_install () { | ||
9 | oe_runmake 'BUILD_ROOT=${D}' install | ||
10 | } | ||
diff --git a/openembedded/packages/quilt/quilt.inc b/openembedded/packages/quilt/quilt.inc new file mode 100644 index 0000000000..8ba2a8d06f --- /dev/null +++ b/openembedded/packages/quilt/quilt.inc | |||
@@ -0,0 +1,7 @@ | |||
1 | DESCRIPTION = "Tool to work with series of patches." | ||
2 | HOMEPAGE = "http://savannah.nongnu.org/projects/quilt/" | ||
3 | SECTION = "devel" | ||
4 | MAINTAINER = "Chris Larson <kergoth@handhelds.org>" | ||
5 | LICENSE = "GPL" | ||
6 | # RDEPENDS_${PN} += "patch diffstat bzip2 gawk gettext" | ||
7 | RDEPENDS_${PN} += "patch diffstat bzip2" | ||
diff --git a/openembedded/packages/quilt/quilt_0.32.bb b/openembedded/packages/quilt/quilt_0.32.bb new file mode 100644 index 0000000000..a37bdd0749 --- /dev/null +++ b/openembedded/packages/quilt/quilt_0.32.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | include quilt.inc | ||
2 | PR = "r1" | ||
3 | |||
4 | SRC_URI = "http://savannah.nongnu.org/download/quilt/quilt-${PV}.tar.gz \ | ||
5 | file://install.patch;patch=1 \ | ||
6 | file://nostrip.patch;patch=1" | ||
7 | S = "${WORKDIR}/quilt-${PV}" | ||
8 | |||
9 | inherit autotools gettext | ||
10 | |||
11 | include quilt-package.inc | ||
diff --git a/openembedded/packages/quilt/quilt_0.37.bb b/openembedded/packages/quilt/quilt_0.37.bb new file mode 100644 index 0000000000..fde048a456 --- /dev/null +++ b/openembedded/packages/quilt/quilt_0.37.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | include quilt.inc | ||
2 | |||
3 | PR = "r2" | ||
4 | SRC_URI = "cvs://anoncvs:@savannah.nongnu.org/cvsroot/quilt;method=ext;rsh=ssh;module=quilt;tag=VER_${@(bb.data.getVar('PV', d, 1) or '').replace('.', '_')} \ | ||
5 | file://install.patch;patch=1 \ | ||
6 | file://nostrip.patch;patch=1" | ||
7 | S = "${WORKDIR}/quilt" | ||
8 | |||
9 | inherit autotools gettext | ||
10 | |||
11 | include quilt-package.inc | ||
diff --git a/openembedded/packages/quilt/quilt_0.39.bb b/openembedded/packages/quilt/quilt_0.39.bb new file mode 100644 index 0000000000..f04f1809ad --- /dev/null +++ b/openembedded/packages/quilt/quilt_0.39.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | include quilt.inc | ||
2 | |||
3 | SRC_URI = "cvs://anoncvs:@savannah.nongnu.org/cvsroot/quilt;method=ext;rsh=ssh;module=quilt;tag=VER_${@(bb.data.getVar('PV', d, 1) or '').replace('.', '_')} \ | ||
4 | file://install.patch;patch=1 \ | ||
5 | file://nostrip.patch;patch=1" | ||
6 | S = "${WORKDIR}/quilt" | ||
7 | |||
8 | inherit autotools gettext | ||
9 | |||
10 | include quilt-package.inc | ||