Lines 1-3433
Link Here
|
1 |
--- gnarwl-3.6.orig/configure 2009-07-27 13:58:34.000000000 +0200 |
|
|
2 |
+++ configure 2009-07-27 13:58:37.000000000 +0200 |
3 |
@@ -1,9 +1,9 @@ |
4 |
#! /bin/sh |
5 |
# Guess values for system-dependent variables and create Makefiles. |
6 |
-# Generated by GNU Autoconf 2.61. |
7 |
+# Generated by GNU Autoconf 2.62. |
8 |
# |
9 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
10 |
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
11 |
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
12 |
# This configure script is free software; the Free Software Foundation |
13 |
# gives unlimited permission to copy, distribute and modify it. |
14 |
## --------------------- ## |
15 |
@@ -15,7 +15,7 @@ |
16 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
17 |
emulate sh |
18 |
NULLCMD=: |
19 |
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
20 |
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
21 |
# is contrary to our usage. Disable this feature. |
22 |
alias -g '${1+"$@"}'='"$@"' |
23 |
setopt NO_GLOB_SUBST |
24 |
@@ -37,17 +37,45 @@ |
25 |
as_cr_digits='0123456789' |
26 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
27 |
|
28 |
-# The user is always right. |
29 |
-if test "${PATH_SEPARATOR+set}" != set; then |
30 |
- echo "#! /bin/sh" >conf$$.sh |
31 |
- echo "exit 0" >>conf$$.sh |
32 |
- chmod +x conf$$.sh |
33 |
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
34 |
- PATH_SEPARATOR=';' |
35 |
+as_nl=' |
36 |
+' |
37 |
+export as_nl |
38 |
+# Printing a long string crashes Solaris 7 /usr/bin/printf. |
39 |
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
40 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
41 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
42 |
+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
43 |
+ as_echo='printf %s\n' |
44 |
+ as_echo_n='printf %s' |
45 |
+else |
46 |
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
47 |
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
48 |
+ as_echo_n='/usr/ucb/echo -n' |
49 |
else |
50 |
- PATH_SEPARATOR=: |
51 |
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
52 |
+ as_echo_n_body='eval |
53 |
+ arg=$1; |
54 |
+ case $arg in |
55 |
+ *"$as_nl"*) |
56 |
+ expr "X$arg" : "X\\(.*\\)$as_nl"; |
57 |
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
58 |
+ esac; |
59 |
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
60 |
+ ' |
61 |
+ export as_echo_n_body |
62 |
+ as_echo_n='sh -c $as_echo_n_body as_echo' |
63 |
fi |
64 |
- rm -f conf$$.sh |
65 |
+ export as_echo_body |
66 |
+ as_echo='sh -c $as_echo_body as_echo' |
67 |
+fi |
68 |
+ |
69 |
+# The user is always right. |
70 |
+if test "${PATH_SEPARATOR+set}" != set; then |
71 |
+ PATH_SEPARATOR=: |
72 |
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
73 |
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
74 |
+ PATH_SEPARATOR=';' |
75 |
+ } |
76 |
fi |
77 |
|
78 |
# Support unset when possible. |
79 |
@@ -63,8 +91,6 @@ |
80 |
# there to prevent editors from complaining about space-tab. |
81 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
82 |
# splitting by setting IFS to empty value.) |
83 |
-as_nl=' |
84 |
-' |
85 |
IFS=" "" $as_nl" |
86 |
|
87 |
# Find who we are. Look in the path if we contain no directory separator. |
88 |
@@ -87,7 +113,7 @@ |
89 |
as_myself=$0 |
90 |
fi |
91 |
if test ! -f "$as_myself"; then |
92 |
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
93 |
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
94 |
{ (exit 1); exit 1; } |
95 |
fi |
96 |
|
97 |
@@ -100,17 +126,10 @@ |
98 |
PS4='+ ' |
99 |
|
100 |
# NLS nuisances. |
101 |
-for as_var in \ |
102 |
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
103 |
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
104 |
- LC_TELEPHONE LC_TIME |
105 |
-do |
106 |
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
107 |
- eval $as_var=C; export $as_var |
108 |
- else |
109 |
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
110 |
- fi |
111 |
-done |
112 |
+LC_ALL=C |
113 |
+export LC_ALL |
114 |
+LANGUAGE=C |
115 |
+export LANGUAGE |
116 |
|
117 |
# Required to use basename. |
118 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
119 |
@@ -132,7 +151,7 @@ |
120 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
121 |
X"$0" : 'X\(//\)$' \| \ |
122 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
123 |
-echo X/"$0" | |
124 |
+$as_echo X/"$0" | |
125 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
126 |
s//\1/ |
127 |
q |
128 |
@@ -158,7 +177,7 @@ |
129 |
as_have_required=no |
130 |
fi |
131 |
|
132 |
- if test $as_have_required = yes && (eval ": |
133 |
+ if test $as_have_required = yes && (eval ": |
134 |
(as_func_return () { |
135 |
(exit \$1) |
136 |
} |
137 |
@@ -240,7 +259,7 @@ |
138 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
139 |
emulate sh |
140 |
NULLCMD=: |
141 |
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
142 |
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
143 |
# is contrary to our usage. Disable this feature. |
144 |
alias -g '${1+"$@"}'='"$@"' |
145 |
setopt NO_GLOB_SUBST |
146 |
@@ -261,7 +280,7 @@ |
147 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
148 |
emulate sh |
149 |
NULLCMD=: |
150 |
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
151 |
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
152 |
# is contrary to our usage. Disable this feature. |
153 |
alias -g '${1+"$@"}'='"$@"' |
154 |
setopt NO_GLOB_SUBST |
155 |
@@ -341,10 +360,10 @@ |
156 |
|
157 |
if test "x$CONFIG_SHELL" != x; then |
158 |
for as_var in BASH_ENV ENV |
159 |
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
160 |
- done |
161 |
- export CONFIG_SHELL |
162 |
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
163 |
+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
164 |
+ done |
165 |
+ export CONFIG_SHELL |
166 |
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
167 |
fi |
168 |
|
169 |
|
170 |
@@ -413,9 +432,10 @@ |
171 |
|
172 |
test \$exitcode = 0") || { |
173 |
echo No shell found that supports shell functions. |
174 |
- echo Please tell autoconf@gnu.org about your system, |
175 |
- echo including any error possibly output before this |
176 |
- echo message |
177 |
+ echo Please tell bug-autoconf@gnu.org about your system, |
178 |
+ echo including any error possibly output before this message. |
179 |
+ echo This can help us improve future autoconf versions. |
180 |
+ echo Configuration will now proceed without shell functions. |
181 |
} |
182 |
|
183 |
|
184 |
@@ -451,7 +471,7 @@ |
185 |
s/-\n.*// |
186 |
' >$as_me.lineno && |
187 |
chmod +x "$as_me.lineno" || |
188 |
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
189 |
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
190 |
{ (exit 1); exit 1; }; } |
191 |
|
192 |
# Don't try to exec as it changes $[0], causing all sort of problems |
193 |
@@ -479,7 +499,6 @@ |
194 |
*) |
195 |
ECHO_N='-n';; |
196 |
esac |
197 |
- |
198 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
199 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
200 |
as_expr=expr |
201 |
@@ -492,19 +511,22 @@ |
202 |
rm -f conf$$.dir/conf$$.file |
203 |
else |
204 |
rm -f conf$$.dir |
205 |
- mkdir conf$$.dir |
206 |
+ mkdir conf$$.dir 2>/dev/null |
207 |
fi |
208 |
-echo >conf$$.file |
209 |
-if ln -s conf$$.file conf$$ 2>/dev/null; then |
210 |
- as_ln_s='ln -s' |
211 |
- # ... but there are two gotchas: |
212 |
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
213 |
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
214 |
- # In both cases, we have to default to `cp -p'. |
215 |
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
216 |
+if (echo >conf$$.file) 2>/dev/null; then |
217 |
+ if ln -s conf$$.file conf$$ 2>/dev/null; then |
218 |
+ as_ln_s='ln -s' |
219 |
+ # ... but there are two gotchas: |
220 |
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
221 |
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
222 |
+ # In both cases, we have to default to `cp -p'. |
223 |
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
224 |
+ as_ln_s='cp -p' |
225 |
+ elif ln conf$$.file conf$$ 2>/dev/null; then |
226 |
+ as_ln_s=ln |
227 |
+ else |
228 |
as_ln_s='cp -p' |
229 |
-elif ln conf$$.file conf$$ 2>/dev/null; then |
230 |
- as_ln_s=ln |
231 |
+ fi |
232 |
else |
233 |
as_ln_s='cp -p' |
234 |
fi |
235 |
@@ -529,10 +551,10 @@ |
236 |
as_test_x=' |
237 |
eval sh -c '\'' |
238 |
if test -d "$1"; then |
239 |
- test -d "$1/."; |
240 |
+ test -d "$1/."; |
241 |
else |
242 |
case $1 in |
243 |
- -*)set "./$1";; |
244 |
+ -*)set "./$1";; |
245 |
esac; |
246 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
247 |
???[sx]*):;;*)false;;esac;fi |
248 |
@@ -628,6 +650,16 @@ |
249 |
LIBOBJS |
250 |
LTLIBOBJS' |
251 |
ac_subst_files='' |
252 |
+ac_user_opts=' |
253 |
+enable_option_checking |
254 |
+with_homedir |
255 |
+with_docdir |
256 |
+with_useradd_prog |
257 |
+with_useradd_args |
258 |
+with_mta |
259 |
+with_permmask |
260 |
+with_maxline |
261 |
+' |
262 |
ac_precious_vars='build_alias |
263 |
host_alias |
264 |
target_alias |
265 |
@@ -641,6 +673,8 @@ |
266 |
# Initialize some variables set by options. |
267 |
ac_init_help= |
268 |
ac_init_version=false |
269 |
+ac_unrecognized_opts= |
270 |
+ac_unrecognized_sep= |
271 |
# The variables have the same names as the options, with |
272 |
# dashes changed to underlines. |
273 |
cache_file=/dev/null |
274 |
@@ -739,13 +773,21 @@ |
275 |
datarootdir=$ac_optarg ;; |
276 |
|
277 |
-disable-* | --disable-*) |
278 |
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
279 |
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
280 |
# Reject names that are not valid shell variable names. |
281 |
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
282 |
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
283 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
284 |
+ { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
285 |
{ (exit 1); exit 1; }; } |
286 |
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
287 |
- eval enable_$ac_feature=no ;; |
288 |
+ ac_useropt_orig=$ac_useropt |
289 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
290 |
+ case $ac_user_opts in |
291 |
+ *" |
292 |
+"enable_$ac_useropt" |
293 |
+"*) ;; |
294 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
295 |
+ ac_unrecognized_sep=', ';; |
296 |
+ esac |
297 |
+ eval enable_$ac_useropt=no ;; |
298 |
|
299 |
-docdir | --docdir | --docdi | --doc | --do) |
300 |
ac_prev=docdir ;; |
301 |
@@ -758,13 +800,21 @@ |
302 |
dvidir=$ac_optarg ;; |
303 |
|
304 |
-enable-* | --enable-*) |
305 |
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
306 |
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
307 |
# Reject names that are not valid shell variable names. |
308 |
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
309 |
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
310 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
311 |
+ { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
312 |
{ (exit 1); exit 1; }; } |
313 |
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
314 |
- eval enable_$ac_feature=\$ac_optarg ;; |
315 |
+ ac_useropt_orig=$ac_useropt |
316 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
317 |
+ case $ac_user_opts in |
318 |
+ *" |
319 |
+"enable_$ac_useropt" |
320 |
+"*) ;; |
321 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
322 |
+ ac_unrecognized_sep=', ';; |
323 |
+ esac |
324 |
+ eval enable_$ac_useropt=\$ac_optarg ;; |
325 |
|
326 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
327 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
328 |
@@ -955,22 +1005,38 @@ |
329 |
ac_init_version=: ;; |
330 |
|
331 |
-with-* | --with-*) |
332 |
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
333 |
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
334 |
# Reject names that are not valid shell variable names. |
335 |
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
336 |
- { echo "$as_me: error: invalid package name: $ac_package" >&2 |
337 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
338 |
+ { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
339 |
{ (exit 1); exit 1; }; } |
340 |
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
341 |
- eval with_$ac_package=\$ac_optarg ;; |
342 |
+ ac_useropt_orig=$ac_useropt |
343 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
344 |
+ case $ac_user_opts in |
345 |
+ *" |
346 |
+"with_$ac_useropt" |
347 |
+"*) ;; |
348 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
349 |
+ ac_unrecognized_sep=', ';; |
350 |
+ esac |
351 |
+ eval with_$ac_useropt=\$ac_optarg ;; |
352 |
|
353 |
-without-* | --without-*) |
354 |
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
355 |
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
356 |
# Reject names that are not valid shell variable names. |
357 |
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
358 |
- { echo "$as_me: error: invalid package name: $ac_package" >&2 |
359 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
360 |
+ { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
361 |
{ (exit 1); exit 1; }; } |
362 |
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
363 |
- eval with_$ac_package=no ;; |
364 |
+ ac_useropt_orig=$ac_useropt |
365 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
366 |
+ case $ac_user_opts in |
367 |
+ *" |
368 |
+"with_$ac_useropt" |
369 |
+"*) ;; |
370 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
371 |
+ ac_unrecognized_sep=', ';; |
372 |
+ esac |
373 |
+ eval with_$ac_useropt=no ;; |
374 |
|
375 |
--x) |
376 |
# Obsolete; use --with-x. |
377 |
@@ -990,7 +1056,7 @@ |
378 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
379 |
x_libraries=$ac_optarg ;; |
380 |
|
381 |
- -*) { echo "$as_me: error: unrecognized option: $ac_option |
382 |
+ -*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
383 |
Try \`$0 --help' for more information." >&2 |
384 |
{ (exit 1); exit 1; }; } |
385 |
;; |
386 |
@@ -999,16 +1065,16 @@ |
387 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
388 |
# Reject names that are not valid shell variable names. |
389 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
390 |
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
391 |
+ { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
392 |
{ (exit 1); exit 1; }; } |
393 |
eval $ac_envvar=\$ac_optarg |
394 |
export $ac_envvar ;; |
395 |
|
396 |
*) |
397 |
# FIXME: should be removed in autoconf 3.0. |
398 |
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
399 |
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
400 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
401 |
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
402 |
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
403 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
404 |
;; |
405 |
|
406 |
@@ -1017,22 +1083,38 @@ |
407 |
|
408 |
if test -n "$ac_prev"; then |
409 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
410 |
- { echo "$as_me: error: missing argument to $ac_option" >&2 |
411 |
+ { $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
412 |
{ (exit 1); exit 1; }; } |
413 |
fi |
414 |
|
415 |
-# Be sure to have absolute directory names. |
416 |
+if test -n "$ac_unrecognized_opts"; then |
417 |
+ case $enable_option_checking in |
418 |
+ no) ;; |
419 |
+ fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 |
420 |
+ { (exit 1); exit 1; }; } ;; |
421 |
+ *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; |
422 |
+ esac |
423 |
+fi |
424 |
+ |
425 |
+# Check all directory arguments for consistency. |
426 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
427 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
428 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
429 |
libdir localedir mandir |
430 |
do |
431 |
eval ac_val=\$$ac_var |
432 |
+ # Remove trailing slashes. |
433 |
+ case $ac_val in |
434 |
+ */ ) |
435 |
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
436 |
+ eval $ac_var=\$ac_val;; |
437 |
+ esac |
438 |
+ # Be sure to have absolute directory names. |
439 |
case $ac_val in |
440 |
[\\/$]* | ?:[\\/]* ) continue;; |
441 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
442 |
esac |
443 |
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
444 |
+ { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
445 |
{ (exit 1); exit 1; }; } |
446 |
done |
447 |
|
448 |
@@ -1047,7 +1129,7 @@ |
449 |
if test "x$host_alias" != x; then |
450 |
if test "x$build_alias" = x; then |
451 |
cross_compiling=maybe |
452 |
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
453 |
+ $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
454 |
If a cross compiler is detected then cross compile mode will be used." >&2 |
455 |
elif test "x$build_alias" != "x$host_alias"; then |
456 |
cross_compiling=yes |
457 |
@@ -1063,10 +1145,10 @@ |
458 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
459 |
ac_ls_di=`ls -di .` && |
460 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
461 |
- { echo "$as_me: error: Working directory cannot be determined" >&2 |
462 |
+ { $as_echo "$as_me: error: Working directory cannot be determined" >&2 |
463 |
{ (exit 1); exit 1; }; } |
464 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
465 |
- { echo "$as_me: error: pwd does not report name of working directory" >&2 |
466 |
+ { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
467 |
{ (exit 1); exit 1; }; } |
468 |
|
469 |
|
470 |
@@ -1074,12 +1156,12 @@ |
471 |
if test -z "$srcdir"; then |
472 |
ac_srcdir_defaulted=yes |
473 |
# Try the directory containing this script, then the parent directory. |
474 |
- ac_confdir=`$as_dirname -- "$0" || |
475 |
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
476 |
- X"$0" : 'X\(//\)[^/]' \| \ |
477 |
- X"$0" : 'X\(//\)$' \| \ |
478 |
- X"$0" : 'X\(/\)' \| . 2>/dev/null || |
479 |
-echo X"$0" | |
480 |
+ ac_confdir=`$as_dirname -- "$as_myself" || |
481 |
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
482 |
+ X"$as_myself" : 'X\(//\)[^/]' \| \ |
483 |
+ X"$as_myself" : 'X\(//\)$' \| \ |
484 |
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
485 |
+$as_echo X"$as_myself" | |
486 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
487 |
s//\1/ |
488 |
q |
489 |
@@ -1106,12 +1188,12 @@ |
490 |
fi |
491 |
if test ! -r "$srcdir/$ac_unique_file"; then |
492 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
493 |
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
494 |
+ { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
495 |
{ (exit 1); exit 1; }; } |
496 |
fi |
497 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
498 |
ac_abs_confdir=`( |
499 |
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
500 |
+ cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
501 |
{ (exit 1); exit 1; }; } |
502 |
pwd)` |
503 |
# When building in place, set srcdir=. |
504 |
@@ -1160,9 +1242,9 @@ |
505 |
|
506 |
Installation directories: |
507 |
--prefix=PREFIX install architecture-independent files in PREFIX |
508 |
- [$ac_default_prefix] |
509 |
+ [$ac_default_prefix] |
510 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
511 |
- [PREFIX] |
512 |
+ [PREFIX] |
513 |
|
514 |
By default, \`make install' will install all the files in |
515 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
516 |
@@ -1172,25 +1254,25 @@ |
517 |
For better control, use the options below. |
518 |
|
519 |
Fine tuning of the installation directories: |
520 |
- --bindir=DIR user executables [EPREFIX/bin] |
521 |
- --sbindir=DIR system admin executables [EPREFIX/sbin] |
522 |
- --libexecdir=DIR program executables [EPREFIX/libexec] |
523 |
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
524 |
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
525 |
- --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
526 |
- --libdir=DIR object code libraries [EPREFIX/lib] |
527 |
- --includedir=DIR C header files [PREFIX/include] |
528 |
- --oldincludedir=DIR C header files for non-gcc [/usr/include] |
529 |
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
530 |
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
531 |
- --infodir=DIR info documentation [DATAROOTDIR/info] |
532 |
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
533 |
- --mandir=DIR man documentation [DATAROOTDIR/man] |
534 |
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
535 |
- --htmldir=DIR html documentation [DOCDIR] |
536 |
- --dvidir=DIR dvi documentation [DOCDIR] |
537 |
- --pdfdir=DIR pdf documentation [DOCDIR] |
538 |
- --psdir=DIR ps documentation [DOCDIR] |
539 |
+ --bindir=DIR user executables [EPREFIX/bin] |
540 |
+ --sbindir=DIR system admin executables [EPREFIX/sbin] |
541 |
+ --libexecdir=DIR program executables [EPREFIX/libexec] |
542 |
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
543 |
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
544 |
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
545 |
+ --libdir=DIR object code libraries [EPREFIX/lib] |
546 |
+ --includedir=DIR C header files [PREFIX/include] |
547 |
+ --oldincludedir=DIR C header files for non-gcc [/usr/include] |
548 |
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
549 |
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
550 |
+ --infodir=DIR info documentation [DATAROOTDIR/info] |
551 |
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
552 |
+ --mandir=DIR man documentation [DATAROOTDIR/man] |
553 |
+ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
554 |
+ --htmldir=DIR html documentation [DOCDIR] |
555 |
+ --dvidir=DIR dvi documentation [DOCDIR] |
556 |
+ --pdfdir=DIR pdf documentation [DOCDIR] |
557 |
+ --psdir=DIR ps documentation [DOCDIR] |
558 |
_ACEOF |
559 |
|
560 |
cat <<\_ACEOF |
561 |
@@ -1231,15 +1313,17 @@ |
562 |
if test "$ac_init_help" = "recursive"; then |
563 |
# If there are subdirs, report their specific --help. |
564 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
565 |
- test -d "$ac_dir" || continue |
566 |
+ test -d "$ac_dir" || |
567 |
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
568 |
+ continue |
569 |
ac_builddir=. |
570 |
|
571 |
case "$ac_dir" in |
572 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
573 |
*) |
574 |
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
575 |
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
576 |
# A ".." for each directory in $ac_dir_suffix. |
577 |
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
578 |
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
579 |
case $ac_top_builddir_sub in |
580 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
581 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
582 |
@@ -1275,7 +1359,7 @@ |
583 |
echo && |
584 |
$SHELL "$ac_srcdir/configure" --help=recursive |
585 |
else |
586 |
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
587 |
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
588 |
fi || ac_status=$? |
589 |
cd "$ac_pwd" || { ac_status=$?; break; } |
590 |
done |
591 |
@@ -1285,10 +1369,10 @@ |
592 |
if $ac_init_version; then |
593 |
cat <<\_ACEOF |
594 |
configure |
595 |
-generated by GNU Autoconf 2.61 |
596 |
+generated by GNU Autoconf 2.62 |
597 |
|
598 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
599 |
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
600 |
+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
601 |
This configure script is free software; the Free Software Foundation |
602 |
gives unlimited permission to copy, distribute and modify it. |
603 |
_ACEOF |
604 |
@@ -1299,7 +1383,7 @@ |
605 |
running configure, to aid debugging if configure makes a mistake. |
606 |
|
607 |
It was created by $as_me, which was |
608 |
-generated by GNU Autoconf 2.61. Invocation command line was |
609 |
+generated by GNU Autoconf 2.62. Invocation command line was |
610 |
|
611 |
$ $0 $@ |
612 |
|
613 |
@@ -1335,7 +1419,7 @@ |
614 |
do |
615 |
IFS=$as_save_IFS |
616 |
test -z "$as_dir" && as_dir=. |
617 |
- echo "PATH: $as_dir" |
618 |
+ $as_echo "PATH: $as_dir" |
619 |
done |
620 |
IFS=$as_save_IFS |
621 |
|
622 |
@@ -1370,7 +1454,7 @@ |
623 |
| -silent | --silent | --silen | --sile | --sil) |
624 |
continue ;; |
625 |
*\'*) |
626 |
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
627 |
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
628 |
esac |
629 |
case $ac_pass in |
630 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
631 |
@@ -1422,11 +1506,12 @@ |
632 |
case $ac_val in #( |
633 |
*${as_nl}*) |
634 |
case $ac_var in #( |
635 |
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
636 |
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
637 |
+ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
638 |
+$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
639 |
esac |
640 |
case $ac_var in #( |
641 |
_ | IFS | as_nl) ;; #( |
642 |
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
643 |
*) $as_unset $ac_var ;; |
644 |
esac ;; |
645 |
esac |
646 |
@@ -1456,9 +1541,9 @@ |
647 |
do |
648 |
eval ac_val=\$$ac_var |
649 |
case $ac_val in |
650 |
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
651 |
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
652 |
esac |
653 |
- echo "$ac_var='\''$ac_val'\''" |
654 |
+ $as_echo "$ac_var='\''$ac_val'\''" |
655 |
done | sort |
656 |
echo |
657 |
|
658 |
@@ -1473,9 +1558,9 @@ |
659 |
do |
660 |
eval ac_val=\$$ac_var |
661 |
case $ac_val in |
662 |
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
663 |
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
664 |
esac |
665 |
- echo "$ac_var='\''$ac_val'\''" |
666 |
+ $as_echo "$ac_var='\''$ac_val'\''" |
667 |
done | sort |
668 |
echo |
669 |
fi |
670 |
@@ -1491,8 +1576,8 @@ |
671 |
echo |
672 |
fi |
673 |
test "$ac_signal" != 0 && |
674 |
- echo "$as_me: caught signal $ac_signal" |
675 |
- echo "$as_me: exit $exit_status" |
676 |
+ $as_echo "$as_me: caught signal $ac_signal" |
677 |
+ $as_echo "$as_me: exit $exit_status" |
678 |
} >&5 |
679 |
rm -f core *.core core.conftest.* && |
680 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
681 |
@@ -1534,21 +1619,24 @@ |
682 |
|
683 |
|
684 |
# Let the site file select an alternate cache file if it wants to. |
685 |
-# Prefer explicitly selected file to automatically selected ones. |
686 |
+# Prefer an explicitly selected file to automatically selected ones. |
687 |
+ac_site_file1=NONE |
688 |
+ac_site_file2=NONE |
689 |
if test -n "$CONFIG_SITE"; then |
690 |
- set x "$CONFIG_SITE" |
691 |
+ ac_site_file1=$CONFIG_SITE |
692 |
elif test "x$prefix" != xNONE; then |
693 |
- set x "$prefix/share/config.site" "$prefix/etc/config.site" |
694 |
+ ac_site_file1=$prefix/share/config.site |
695 |
+ ac_site_file2=$prefix/etc/config.site |
696 |
else |
697 |
- set x "$ac_default_prefix/share/config.site" \ |
698 |
- "$ac_default_prefix/etc/config.site" |
699 |
+ ac_site_file1=$ac_default_prefix/share/config.site |
700 |
+ ac_site_file2=$ac_default_prefix/etc/config.site |
701 |
fi |
702 |
-shift |
703 |
-for ac_site_file |
704 |
+for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
705 |
do |
706 |
+ test "x$ac_site_file" = xNONE && continue |
707 |
if test -r "$ac_site_file"; then |
708 |
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
709 |
-echo "$as_me: loading site script $ac_site_file" >&6;} |
710 |
+ { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
711 |
+$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
712 |
sed 's/^/| /' "$ac_site_file" >&5 |
713 |
. "$ac_site_file" |
714 |
fi |
715 |
@@ -1558,16 +1646,16 @@ |
716 |
# Some versions of bash will fail to source /dev/null (special |
717 |
# files actually), so we avoid doing that. |
718 |
if test -f "$cache_file"; then |
719 |
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
720 |
-echo "$as_me: loading cache $cache_file" >&6;} |
721 |
+ { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
722 |
+$as_echo "$as_me: loading cache $cache_file" >&6;} |
723 |
case $cache_file in |
724 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
725 |
*) . "./$cache_file";; |
726 |
esac |
727 |
fi |
728 |
else |
729 |
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
730 |
-echo "$as_me: creating cache $cache_file" >&6;} |
731 |
+ { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
732 |
+$as_echo "$as_me: creating cache $cache_file" >&6;} |
733 |
>$cache_file |
734 |
fi |
735 |
|
736 |
@@ -1581,29 +1669,38 @@ |
737 |
eval ac_new_val=\$ac_env_${ac_var}_value |
738 |
case $ac_old_set,$ac_new_set in |
739 |
set,) |
740 |
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
741 |
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
742 |
+ { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
743 |
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
744 |
ac_cache_corrupted=: ;; |
745 |
,set) |
746 |
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
747 |
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
748 |
+ { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
749 |
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
750 |
ac_cache_corrupted=: ;; |
751 |
,);; |
752 |
*) |
753 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
754 |
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
755 |
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
756 |
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
757 |
-echo "$as_me: former value: $ac_old_val" >&2;} |
758 |
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
759 |
-echo "$as_me: current value: $ac_new_val" >&2;} |
760 |
- ac_cache_corrupted=: |
761 |
+ # differences in whitespace do not lead to failure. |
762 |
+ ac_old_val_w=`echo x $ac_old_val` |
763 |
+ ac_new_val_w=`echo x $ac_new_val` |
764 |
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then |
765 |
+ { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
766 |
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
767 |
+ ac_cache_corrupted=: |
768 |
+ else |
769 |
+ { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
770 |
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
771 |
+ eval $ac_var=\$ac_old_val |
772 |
+ fi |
773 |
+ { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
774 |
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
775 |
+ { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
776 |
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
777 |
fi;; |
778 |
esac |
779 |
# Pass precious variables to config.status. |
780 |
if test "$ac_new_set" = set; then |
781 |
case $ac_new_val in |
782 |
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
783 |
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
784 |
*) ac_arg=$ac_var=$ac_new_val ;; |
785 |
esac |
786 |
case " $ac_configure_args " in |
787 |
@@ -1613,10 +1710,10 @@ |
788 |
fi |
789 |
done |
790 |
if $ac_cache_corrupted; then |
791 |
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
792 |
-echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
793 |
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
794 |
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
795 |
+ { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
796 |
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
797 |
+ { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
798 |
+$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
799 |
{ (exit 1); exit 1; }; } |
800 |
fi |
801 |
|
802 |
@@ -1657,10 +1754,10 @@ |
803 |
if test -n "$ac_tool_prefix"; then |
804 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
805 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
806 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
807 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
808 |
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
809 |
+$as_echo_n "checking for $ac_word... " >&6; } |
810 |
if test "${ac_cv_prog_CC+set}" = set; then |
811 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
812 |
+ $as_echo_n "(cached) " >&6 |
813 |
else |
814 |
if test -n "$CC"; then |
815 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
816 |
@@ -1673,7 +1770,7 @@ |
817 |
for ac_exec_ext in '' $ac_executable_extensions; do |
818 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
819 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
820 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
821 |
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
822 |
break 2 |
823 |
fi |
824 |
done |
825 |
@@ -1684,11 +1781,11 @@ |
826 |
fi |
827 |
CC=$ac_cv_prog_CC |
828 |
if test -n "$CC"; then |
829 |
- { echo "$as_me:$LINENO: result: $CC" >&5 |
830 |
-echo "${ECHO_T}$CC" >&6; } |
831 |
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
832 |
+$as_echo "$CC" >&6; } |
833 |
else |
834 |
- { echo "$as_me:$LINENO: result: no" >&5 |
835 |
-echo "${ECHO_T}no" >&6; } |
836 |
+ { $as_echo "$as_me:$LINENO: result: no" >&5 |
837 |
+$as_echo "no" >&6; } |
838 |
fi |
839 |
|
840 |
|
841 |
@@ -1697,10 +1794,10 @@ |
842 |
ac_ct_CC=$CC |
843 |
# Extract the first word of "gcc", so it can be a program name with args. |
844 |
set dummy gcc; ac_word=$2 |
845 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
846 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
847 |
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
848 |
+$as_echo_n "checking for $ac_word... " >&6; } |
849 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
850 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
851 |
+ $as_echo_n "(cached) " >&6 |
852 |
else |
853 |
if test -n "$ac_ct_CC"; then |
854 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
855 |
@@ -1713,7 +1810,7 @@ |
856 |
for ac_exec_ext in '' $ac_executable_extensions; do |
857 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
858 |
ac_cv_prog_ac_ct_CC="gcc" |
859 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
860 |
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
861 |
break 2 |
862 |
fi |
863 |
done |
864 |
@@ -1724,11 +1821,11 @@ |
865 |
fi |
866 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
867 |
if test -n "$ac_ct_CC"; then |
868 |
- { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
869 |
-echo "${ECHO_T}$ac_ct_CC" >&6; } |
870 |
+ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
871 |
+$as_echo "$ac_ct_CC" >&6; } |
872 |
else |
873 |
- { echo "$as_me:$LINENO: result: no" >&5 |
874 |
-echo "${ECHO_T}no" >&6; } |
875 |
+ { $as_echo "$as_me:$LINENO: result: no" >&5 |
876 |
+$as_echo "no" >&6; } |
877 |
fi |
878 |
|
879 |
if test "x$ac_ct_CC" = x; then |
880 |
@@ -1736,10 +1833,10 @@ |
881 |
else |
882 |
case $cross_compiling:$ac_tool_warned in |
883 |
yes:) |
884 |
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
885 |
+{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
886 |
whose name does not start with the host triplet. If you think this |
887 |
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
888 |
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
889 |
+$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
890 |
whose name does not start with the host triplet. If you think this |
891 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
892 |
ac_tool_warned=yes ;; |
893 |
@@ -1754,10 +1851,10 @@ |
894 |
if test -n "$ac_tool_prefix"; then |
895 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
896 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
897 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
898 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
899 |
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
900 |
+$as_echo_n "checking for $ac_word... " >&6; } |
901 |
if test "${ac_cv_prog_CC+set}" = set; then |
902 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
903 |
+ $as_echo_n "(cached) " >&6 |
904 |
else |
905 |
if test -n "$CC"; then |
906 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
907 |
@@ -1770,7 +1867,7 @@ |
908 |
for ac_exec_ext in '' $ac_executable_extensions; do |
909 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
910 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
911 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
912 |
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
913 |
break 2 |
914 |
fi |
915 |
done |
916 |
@@ -1781,11 +1878,11 @@ |
917 |
fi |
918 |
CC=$ac_cv_prog_CC |
919 |
if test -n "$CC"; then |
920 |
- { echo "$as_me:$LINENO: result: $CC" >&5 |
921 |
-echo "${ECHO_T}$CC" >&6; } |
922 |
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
923 |
+$as_echo "$CC" >&6; } |
924 |
else |
925 |
- { echo "$as_me:$LINENO: result: no" >&5 |
926 |
-echo "${ECHO_T}no" >&6; } |
927 |
+ { $as_echo "$as_me:$LINENO: result: no" >&5 |
928 |
+$as_echo "no" >&6; } |
929 |
fi |
930 |
|
931 |
|
932 |
@@ -1794,10 +1891,10 @@ |
933 |
if test -z "$CC"; then |
934 |
# Extract the first word of "cc", so it can be a program name with args. |
935 |
set dummy cc; ac_word=$2 |
936 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
937 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
938 |
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
939 |
+$as_echo_n "checking for $ac_word... " >&6; } |
940 |
if test "${ac_cv_prog_CC+set}" = set; then |
941 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
942 |
+ $as_echo_n "(cached) " >&6 |
943 |
else |
944 |
if test -n "$CC"; then |
945 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
946 |
@@ -1815,7 +1912,7 @@ |
947 |
continue |
948 |
fi |
949 |
ac_cv_prog_CC="cc" |
950 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
951 |
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
952 |
break 2 |
953 |
fi |
954 |
done |
955 |
@@ -1838,11 +1935,11 @@ |
956 |
fi |
957 |
CC=$ac_cv_prog_CC |
958 |
if test -n "$CC"; then |
959 |
- { echo "$as_me:$LINENO: result: $CC" >&5 |
960 |
-echo "${ECHO_T}$CC" >&6; } |
961 |
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
962 |
+$as_echo "$CC" >&6; } |
963 |
else |
964 |
- { echo "$as_me:$LINENO: result: no" >&5 |
965 |
-echo "${ECHO_T}no" >&6; } |
966 |
+ { $as_echo "$as_me:$LINENO: result: no" >&5 |
967 |
+$as_echo "no" >&6; } |
968 |
fi |
969 |
|
970 |
|
971 |
@@ -1853,10 +1950,10 @@ |
972 |
do |
973 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
974 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
975 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
976 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
977 |
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
978 |
+$as_echo_n "checking for $ac_word... " >&6; } |
979 |
if test "${ac_cv_prog_CC+set}" = set; then |
980 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
981 |
+ $as_echo_n "(cached) " >&6 |
982 |
else |
983 |
if test -n "$CC"; then |
984 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
985 |
@@ -1869,7 +1966,7 @@ |
986 |
for ac_exec_ext in '' $ac_executable_extensions; do |
987 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
988 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
989 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
990 |
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
991 |
break 2 |
992 |
fi |
993 |
done |
994 |
@@ -1880,11 +1977,11 @@ |
995 |
fi |
996 |
CC=$ac_cv_prog_CC |
997 |
if test -n "$CC"; then |
998 |
- { echo "$as_me:$LINENO: result: $CC" >&5 |
999 |
-echo "${ECHO_T}$CC" >&6; } |
1000 |
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
1001 |
+$as_echo "$CC" >&6; } |
1002 |
else |
1003 |
- { echo "$as_me:$LINENO: result: no" >&5 |
1004 |
-echo "${ECHO_T}no" >&6; } |
1005 |
+ { $as_echo "$as_me:$LINENO: result: no" >&5 |
1006 |
+$as_echo "no" >&6; } |
1007 |
fi |
1008 |
|
1009 |
|
1010 |
@@ -1897,10 +1994,10 @@ |
1011 |
do |
1012 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1013 |
set dummy $ac_prog; ac_word=$2 |
1014 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1015 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1016 |
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1017 |
+$as_echo_n "checking for $ac_word... " >&6; } |
1018 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1019 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
1020 |
+ $as_echo_n "(cached) " >&6 |
1021 |
else |
1022 |
if test -n "$ac_ct_CC"; then |
1023 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1024 |
@@ -1913,7 +2010,7 @@ |
1025 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1026 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1027 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
1028 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1029 |
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1030 |
break 2 |
1031 |
fi |
1032 |
done |
1033 |
@@ -1924,11 +2021,11 @@ |
1034 |
fi |
1035 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1036 |
if test -n "$ac_ct_CC"; then |
1037 |
- { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1038 |
-echo "${ECHO_T}$ac_ct_CC" >&6; } |
1039 |
+ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1040 |
+$as_echo "$ac_ct_CC" >&6; } |
1041 |
else |
1042 |
- { echo "$as_me:$LINENO: result: no" >&5 |
1043 |
-echo "${ECHO_T}no" >&6; } |
1044 |
+ { $as_echo "$as_me:$LINENO: result: no" >&5 |
1045 |
+$as_echo "no" >&6; } |
1046 |
fi |
1047 |
|
1048 |
|
1049 |
@@ -1940,10 +2037,10 @@ |
1050 |
else |
1051 |
case $cross_compiling:$ac_tool_warned in |
1052 |
yes:) |
1053 |
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
1054 |
+{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
1055 |
whose name does not start with the host triplet. If you think this |
1056 |
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
1057 |
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
1058 |
+$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
1059 |
whose name does not start with the host triplet. If you think this |
1060 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
1061 |
ac_tool_warned=yes ;; |
1062 |
@@ -1955,44 +2052,48 @@ |
1063 |
fi |
1064 |
|
1065 |
|
1066 |
-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
1067 |
+test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
1068 |
See \`config.log' for more details." >&5 |
1069 |
-echo "$as_me: error: no acceptable C compiler found in \$PATH |
1070 |
+$as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
1071 |
See \`config.log' for more details." >&2;} |
1072 |
{ (exit 1); exit 1; }; } |
1073 |
|
1074 |
# Provide some information about the compiler. |
1075 |
-echo "$as_me:$LINENO: checking for C compiler version" >&5 |
1076 |
-ac_compiler=`set X $ac_compile; echo $2` |
1077 |
+$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
1078 |
+set X $ac_compile |
1079 |
+ac_compiler=$2 |
1080 |
{ (ac_try="$ac_compiler --version >&5" |
1081 |
case "(($ac_try" in |
1082 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1083 |
*) ac_try_echo=$ac_try;; |
1084 |
esac |
1085 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
1086 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1087 |
+$as_echo "$ac_try_echo") >&5 |
1088 |
(eval "$ac_compiler --version >&5") 2>&5 |
1089 |
ac_status=$? |
1090 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1091 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1092 |
(exit $ac_status); } |
1093 |
{ (ac_try="$ac_compiler -v >&5" |
1094 |
case "(($ac_try" in |
1095 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1096 |
*) ac_try_echo=$ac_try;; |
1097 |
esac |
1098 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
1099 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1100 |
+$as_echo "$ac_try_echo") >&5 |
1101 |
(eval "$ac_compiler -v >&5") 2>&5 |
1102 |
ac_status=$? |
1103 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1104 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1105 |
(exit $ac_status); } |
1106 |
{ (ac_try="$ac_compiler -V >&5" |
1107 |
case "(($ac_try" in |
1108 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1109 |
*) ac_try_echo=$ac_try;; |
1110 |
esac |
1111 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
1112 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1113 |
+$as_echo "$ac_try_echo") >&5 |
1114 |
(eval "$ac_compiler -V >&5") 2>&5 |
1115 |
ac_status=$? |
1116 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1117 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1118 |
(exit $ac_status); } |
1119 |
|
1120 |
cat >conftest.$ac_ext <<_ACEOF |
1121 |
@@ -2011,27 +2112,22 @@ |
1122 |
} |
1123 |
_ACEOF |
1124 |
ac_clean_files_save=$ac_clean_files |
1125 |
-ac_clean_files="$ac_clean_files a.out a.exe b.out" |
1126 |
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
1127 |
# Try to create an executable without -o first, disregard a.out. |
1128 |
# It will help us diagnose broken compilers, and finding out an intuition |
1129 |
# of exeext. |
1130 |
-{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
1131 |
-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
1132 |
-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1133 |
-# |
1134 |
-# List of possible output files, starting from the most likely. |
1135 |
-# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
1136 |
-# only as a last resort. b.out is created by i960 compilers. |
1137 |
-ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
1138 |
-# |
1139 |
-# The IRIX 6 linker writes into existing files which may not be |
1140 |
-# executable, retaining their permissions. Remove them first so a |
1141 |
-# subsequent execution test works. |
1142 |
+{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
1143 |
+$as_echo_n "checking for C compiler default output file name... " >&6; } |
1144 |
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1145 |
+ |
1146 |
+# The possible output files: |
1147 |
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
1148 |
+ |
1149 |
ac_rmfiles= |
1150 |
for ac_file in $ac_files |
1151 |
do |
1152 |
case $ac_file in |
1153 |
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
1154 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
1155 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
1156 |
esac |
1157 |
done |
1158 |
@@ -2042,10 +2138,11 @@ |
1159 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1160 |
*) ac_try_echo=$ac_try;; |
1161 |
esac |
1162 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
1163 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1164 |
+$as_echo "$ac_try_echo") >&5 |
1165 |
(eval "$ac_link_default") 2>&5 |
1166 |
ac_status=$? |
1167 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1168 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1169 |
(exit $ac_status); }; then |
1170 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
1171 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
1172 |
@@ -2056,7 +2153,7 @@ |
1173 |
do |
1174 |
test -f "$ac_file" || continue |
1175 |
case $ac_file in |
1176 |
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
1177 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
1178 |
;; |
1179 |
[ab].out ) |
1180 |
# We found the default executable, but exeext='' is most |
1181 |
@@ -2083,15 +2180,15 @@ |
1182 |
ac_file='' |
1183 |
fi |
1184 |
|
1185 |
-{ echo "$as_me:$LINENO: result: $ac_file" >&5 |
1186 |
-echo "${ECHO_T}$ac_file" >&6; } |
1187 |
+{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
1188 |
+$as_echo "$ac_file" >&6; } |
1189 |
if test -z "$ac_file"; then |
1190 |
- echo "$as_me: failed program was:" >&5 |
1191 |
+ $as_echo "$as_me: failed program was:" >&5 |
1192 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1193 |
|
1194 |
-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
1195 |
+{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
1196 |
See \`config.log' for more details." >&5 |
1197 |
-echo "$as_me: error: C compiler cannot create executables |
1198 |
+$as_echo "$as_me: error: C compiler cannot create executables |
1199 |
See \`config.log' for more details." >&2;} |
1200 |
{ (exit 77); exit 77; }; } |
1201 |
fi |
1202 |
@@ -2100,8 +2197,8 @@ |
1203 |
|
1204 |
# Check that the compiler produces executables we can run. If not, either |
1205 |
# the compiler is broken, or we cross compile. |
1206 |
-{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
1207 |
-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
1208 |
+{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
1209 |
+$as_echo_n "checking whether the C compiler works... " >&6; } |
1210 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
1211 |
# If not cross compiling, check that we can run a simple program. |
1212 |
if test "$cross_compiling" != yes; then |
1213 |
@@ -2110,49 +2207,51 @@ |
1214 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1215 |
*) ac_try_echo=$ac_try;; |
1216 |
esac |
1217 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
1218 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1219 |
+$as_echo "$ac_try_echo") >&5 |
1220 |
(eval "$ac_try") 2>&5 |
1221 |
ac_status=$? |
1222 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1223 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1224 |
(exit $ac_status); }; }; then |
1225 |
cross_compiling=no |
1226 |
else |
1227 |
if test "$cross_compiling" = maybe; then |
1228 |
cross_compiling=yes |
1229 |
else |
1230 |
- { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
1231 |
+ { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. |
1232 |
If you meant to cross compile, use \`--host'. |
1233 |
See \`config.log' for more details." >&5 |
1234 |
-echo "$as_me: error: cannot run C compiled programs. |
1235 |
+$as_echo "$as_me: error: cannot run C compiled programs. |
1236 |
If you meant to cross compile, use \`--host'. |
1237 |
See \`config.log' for more details." >&2;} |
1238 |
{ (exit 1); exit 1; }; } |
1239 |
fi |
1240 |
fi |
1241 |
fi |
1242 |
-{ echo "$as_me:$LINENO: result: yes" >&5 |
1243 |
-echo "${ECHO_T}yes" >&6; } |
1244 |
+{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
1245 |
+$as_echo "yes" >&6; } |
1246 |
|
1247 |
-rm -f a.out a.exe conftest$ac_cv_exeext b.out |
1248 |
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
1249 |
ac_clean_files=$ac_clean_files_save |
1250 |
# Check that the compiler produces executables we can run. If not, either |
1251 |
# the compiler is broken, or we cross compile. |
1252 |
-{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
1253 |
-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
1254 |
-{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
1255 |
-echo "${ECHO_T}$cross_compiling" >&6; } |
1256 |
+{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
1257 |
+$as_echo_n "checking whether we are cross compiling... " >&6; } |
1258 |
+{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
1259 |
+$as_echo "$cross_compiling" >&6; } |
1260 |
|
1261 |
-{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
1262 |
-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
1263 |
+{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
1264 |
+$as_echo_n "checking for suffix of executables... " >&6; } |
1265 |
if { (ac_try="$ac_link" |
1266 |
case "(($ac_try" in |
1267 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1268 |
*) ac_try_echo=$ac_try;; |
1269 |
esac |
1270 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
1271 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1272 |
+$as_echo "$ac_try_echo") >&5 |
1273 |
(eval "$ac_link") 2>&5 |
1274 |
ac_status=$? |
1275 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1276 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1277 |
(exit $ac_status); }; then |
1278 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
1279 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
1280 |
@@ -2161,31 +2260,31 @@ |
1281 |
for ac_file in conftest.exe conftest conftest.*; do |
1282 |
test -f "$ac_file" || continue |
1283 |
case $ac_file in |
1284 |
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
1285 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
1286 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1287 |
break;; |
1288 |
* ) break;; |
1289 |
esac |
1290 |
done |
1291 |
else |
1292 |
- { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
1293 |
+ { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
1294 |
See \`config.log' for more details." >&5 |
1295 |
-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
1296 |
+$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
1297 |
See \`config.log' for more details." >&2;} |
1298 |
{ (exit 1); exit 1; }; } |
1299 |
fi |
1300 |
|
1301 |
rm -f conftest$ac_cv_exeext |
1302 |
-{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
1303 |
-echo "${ECHO_T}$ac_cv_exeext" >&6; } |
1304 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
1305 |
+$as_echo "$ac_cv_exeext" >&6; } |
1306 |
|
1307 |
rm -f conftest.$ac_ext |
1308 |
EXEEXT=$ac_cv_exeext |
1309 |
ac_exeext=$EXEEXT |
1310 |
-{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
1311 |
-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
1312 |
+{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
1313 |
+$as_echo_n "checking for suffix of object files... " >&6; } |
1314 |
if test "${ac_cv_objext+set}" = set; then |
1315 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
1316 |
+ $as_echo_n "(cached) " >&6 |
1317 |
else |
1318 |
cat >conftest.$ac_ext <<_ACEOF |
1319 |
/* confdefs.h. */ |
1320 |
@@ -2208,40 +2307,41 @@ |
1321 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1322 |
*) ac_try_echo=$ac_try;; |
1323 |
esac |
1324 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
1325 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1326 |
+$as_echo "$ac_try_echo") >&5 |
1327 |
(eval "$ac_compile") 2>&5 |
1328 |
ac_status=$? |
1329 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1330 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1331 |
(exit $ac_status); }; then |
1332 |
for ac_file in conftest.o conftest.obj conftest.*; do |
1333 |
test -f "$ac_file" || continue; |
1334 |
case $ac_file in |
1335 |
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
1336 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
1337 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
1338 |
break;; |
1339 |
esac |
1340 |
done |
1341 |
else |
1342 |
- echo "$as_me: failed program was:" >&5 |
1343 |
+ $as_echo "$as_me: failed program was:" >&5 |
1344 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1345 |
|
1346 |
-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
1347 |
+{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
1348 |
See \`config.log' for more details." >&5 |
1349 |
-echo "$as_me: error: cannot compute suffix of object files: cannot compile |
1350 |
+$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
1351 |
See \`config.log' for more details." >&2;} |
1352 |
{ (exit 1); exit 1; }; } |
1353 |
fi |
1354 |
|
1355 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
1356 |
fi |
1357 |
-{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
1358 |
-echo "${ECHO_T}$ac_cv_objext" >&6; } |
1359 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
1360 |
+$as_echo "$ac_cv_objext" >&6; } |
1361 |
OBJEXT=$ac_cv_objext |
1362 |
ac_objext=$OBJEXT |
1363 |
-{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
1364 |
-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
1365 |
+{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
1366 |
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
1367 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
1368 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
1369 |
+ $as_echo_n "(cached) " >&6 |
1370 |
else |
1371 |
cat >conftest.$ac_ext <<_ACEOF |
1372 |
/* confdefs.h. */ |
1373 |
@@ -2267,20 +2367,21 @@ |
1374 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1375 |
*) ac_try_echo=$ac_try;; |
1376 |
esac |
1377 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
1378 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1379 |
+$as_echo "$ac_try_echo") >&5 |
1380 |
(eval "$ac_compile") 2>conftest.er1 |
1381 |
ac_status=$? |
1382 |
grep -v '^ *+' conftest.er1 >conftest.err |
1383 |
rm -f conftest.er1 |
1384 |
cat conftest.err >&5 |
1385 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1386 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1387 |
(exit $ac_status); } && { |
1388 |
test -z "$ac_c_werror_flag" || |
1389 |
test ! -s conftest.err |
1390 |
} && test -s conftest.$ac_objext; then |
1391 |
ac_compiler_gnu=yes |
1392 |
else |
1393 |
- echo "$as_me: failed program was:" >&5 |
1394 |
+ $as_echo "$as_me: failed program was:" >&5 |
1395 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1396 |
|
1397 |
ac_compiler_gnu=no |
1398 |
@@ -2290,15 +2391,19 @@ |
1399 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
1400 |
|
1401 |
fi |
1402 |
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
1403 |
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
1404 |
-GCC=`test $ac_compiler_gnu = yes && echo yes` |
1405 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
1406 |
+$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
1407 |
+if test $ac_compiler_gnu = yes; then |
1408 |
+ GCC=yes |
1409 |
+else |
1410 |
+ GCC= |
1411 |
+fi |
1412 |
ac_test_CFLAGS=${CFLAGS+set} |
1413 |
ac_save_CFLAGS=$CFLAGS |
1414 |
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
1415 |
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
1416 |
+{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
1417 |
+$as_echo_n "checking whether $CC accepts -g... " >&6; } |
1418 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
1419 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
1420 |
+ $as_echo_n "(cached) " >&6 |
1421 |
else |
1422 |
ac_save_c_werror_flag=$ac_c_werror_flag |
1423 |
ac_c_werror_flag=yes |
1424 |
@@ -2325,20 +2430,21 @@ |
1425 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1426 |
*) ac_try_echo=$ac_try;; |
1427 |
esac |
1428 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
1429 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1430 |
+$as_echo "$ac_try_echo") >&5 |
1431 |
(eval "$ac_compile") 2>conftest.er1 |
1432 |
ac_status=$? |
1433 |
grep -v '^ *+' conftest.er1 >conftest.err |
1434 |
rm -f conftest.er1 |
1435 |
cat conftest.err >&5 |
1436 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1437 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1438 |
(exit $ac_status); } && { |
1439 |
test -z "$ac_c_werror_flag" || |
1440 |
test ! -s conftest.err |
1441 |
} && test -s conftest.$ac_objext; then |
1442 |
ac_cv_prog_cc_g=yes |
1443 |
else |
1444 |
- echo "$as_me: failed program was:" >&5 |
1445 |
+ $as_echo "$as_me: failed program was:" >&5 |
1446 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1447 |
|
1448 |
CFLAGS="" |
1449 |
@@ -2363,20 +2469,21 @@ |
1450 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1451 |
*) ac_try_echo=$ac_try;; |
1452 |
esac |
1453 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
1454 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1455 |
+$as_echo "$ac_try_echo") >&5 |
1456 |
(eval "$ac_compile") 2>conftest.er1 |
1457 |
ac_status=$? |
1458 |
grep -v '^ *+' conftest.er1 >conftest.err |
1459 |
rm -f conftest.er1 |
1460 |
cat conftest.err >&5 |
1461 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1462 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1463 |
(exit $ac_status); } && { |
1464 |
test -z "$ac_c_werror_flag" || |
1465 |
test ! -s conftest.err |
1466 |
} && test -s conftest.$ac_objext; then |
1467 |
: |
1468 |
else |
1469 |
- echo "$as_me: failed program was:" >&5 |
1470 |
+ $as_echo "$as_me: failed program was:" >&5 |
1471 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1472 |
|
1473 |
ac_c_werror_flag=$ac_save_c_werror_flag |
1474 |
@@ -2402,20 +2509,21 @@ |
1475 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1476 |
*) ac_try_echo=$ac_try;; |
1477 |
esac |
1478 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
1479 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1480 |
+$as_echo "$ac_try_echo") >&5 |
1481 |
(eval "$ac_compile") 2>conftest.er1 |
1482 |
ac_status=$? |
1483 |
grep -v '^ *+' conftest.er1 >conftest.err |
1484 |
rm -f conftest.er1 |
1485 |
cat conftest.err >&5 |
1486 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1487 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1488 |
(exit $ac_status); } && { |
1489 |
test -z "$ac_c_werror_flag" || |
1490 |
test ! -s conftest.err |
1491 |
} && test -s conftest.$ac_objext; then |
1492 |
ac_cv_prog_cc_g=yes |
1493 |
else |
1494 |
- echo "$as_me: failed program was:" >&5 |
1495 |
+ $as_echo "$as_me: failed program was:" >&5 |
1496 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1497 |
|
1498 |
|
1499 |
@@ -2430,8 +2538,8 @@ |
1500 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1501 |
ac_c_werror_flag=$ac_save_c_werror_flag |
1502 |
fi |
1503 |
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
1504 |
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
1505 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
1506 |
+$as_echo "$ac_cv_prog_cc_g" >&6; } |
1507 |
if test "$ac_test_CFLAGS" = set; then |
1508 |
CFLAGS=$ac_save_CFLAGS |
1509 |
elif test $ac_cv_prog_cc_g = yes; then |
1510 |
@@ -2447,10 +2555,10 @@ |
1511 |
CFLAGS= |
1512 |
fi |
1513 |
fi |
1514 |
-{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
1515 |
-echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
1516 |
+{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
1517 |
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
1518 |
if test "${ac_cv_prog_cc_c89+set}" = set; then |
1519 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
1520 |
+ $as_echo_n "(cached) " >&6 |
1521 |
else |
1522 |
ac_cv_prog_cc_c89=no |
1523 |
ac_save_CC=$CC |
1524 |
@@ -2521,20 +2629,21 @@ |
1525 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1526 |
*) ac_try_echo=$ac_try;; |
1527 |
esac |
1528 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
1529 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1530 |
+$as_echo "$ac_try_echo") >&5 |
1531 |
(eval "$ac_compile") 2>conftest.er1 |
1532 |
ac_status=$? |
1533 |
grep -v '^ *+' conftest.er1 >conftest.err |
1534 |
rm -f conftest.er1 |
1535 |
cat conftest.err >&5 |
1536 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1537 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1538 |
(exit $ac_status); } && { |
1539 |
test -z "$ac_c_werror_flag" || |
1540 |
test ! -s conftest.err |
1541 |
} && test -s conftest.$ac_objext; then |
1542 |
ac_cv_prog_cc_c89=$ac_arg |
1543 |
else |
1544 |
- echo "$as_me: failed program was:" >&5 |
1545 |
+ $as_echo "$as_me: failed program was:" >&5 |
1546 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1547 |
|
1548 |
|
1549 |
@@ -2550,15 +2659,15 @@ |
1550 |
# AC_CACHE_VAL |
1551 |
case "x$ac_cv_prog_cc_c89" in |
1552 |
x) |
1553 |
- { echo "$as_me:$LINENO: result: none needed" >&5 |
1554 |
-echo "${ECHO_T}none needed" >&6; } ;; |
1555 |
+ { $as_echo "$as_me:$LINENO: result: none needed" >&5 |
1556 |
+$as_echo "none needed" >&6; } ;; |
1557 |
xno) |
1558 |
- { echo "$as_me:$LINENO: result: unsupported" >&5 |
1559 |
-echo "${ECHO_T}unsupported" >&6; } ;; |
1560 |
+ { $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
1561 |
+$as_echo "unsupported" >&6; } ;; |
1562 |
*) |
1563 |
CC="$CC $ac_cv_prog_cc_c89" |
1564 |
- { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
1565 |
-echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
1566 |
+ { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
1567 |
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
1568 |
esac |
1569 |
|
1570 |
|
1571 |
@@ -2569,6 +2678,17 @@ |
1572 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1573 |
|
1574 |
|
1575 |
+# Add some includes things |
1576 |
+ |
1577 |
+if test -d /usr/local/include; then |
1578 |
+ CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
1579 |
+fi |
1580 |
+ |
1581 |
+if test -d /usr/local/lib; then |
1582 |
+ LDFLAGS="$LDFLAGS -L/usr/local/lib" |
1583 |
+fi |
1584 |
+ |
1585 |
+ |
1586 |
|
1587 |
# Check whether --with-homedir was given. |
1588 |
if test "${with_homedir+set}" = set; then |
1589 |
@@ -2637,10 +2757,10 @@ |
1590 |
|
1591 |
|
1592 |
|
1593 |
-{ echo "$as_me:$LINENO: checking for gdbm_open in -lgdbm" >&5 |
1594 |
-echo $ECHO_N "checking for gdbm_open in -lgdbm... $ECHO_C" >&6; } |
1595 |
+{ $as_echo "$as_me:$LINENO: checking for gdbm_open in -lgdbm" >&5 |
1596 |
+$as_echo_n "checking for gdbm_open in -lgdbm... " >&6; } |
1597 |
if test "${ac_cv_lib_gdbm_gdbm_open+set}" = set; then |
1598 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
1599 |
+ $as_echo_n "(cached) " >&6 |
1600 |
else |
1601 |
ac_check_lib_save_LIBS=$LIBS |
1602 |
LIBS="-lgdbm $LIBS" |
1603 |
@@ -2672,32 +2792,36 @@ |
1604 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1605 |
*) ac_try_echo=$ac_try;; |
1606 |
esac |
1607 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
1608 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1609 |
+$as_echo "$ac_try_echo") >&5 |
1610 |
(eval "$ac_link") 2>conftest.er1 |
1611 |
ac_status=$? |
1612 |
grep -v '^ *+' conftest.er1 >conftest.err |
1613 |
rm -f conftest.er1 |
1614 |
cat conftest.err >&5 |
1615 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1616 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1617 |
(exit $ac_status); } && { |
1618 |
test -z "$ac_c_werror_flag" || |
1619 |
test ! -s conftest.err |
1620 |
- } && test -s conftest$ac_exeext && |
1621 |
- $as_test_x conftest$ac_exeext; then |
1622 |
+ } && test -s conftest$ac_exeext && { |
1623 |
+ test "$cross_compiling" = yes || |
1624 |
+ $as_test_x conftest$ac_exeext |
1625 |
+ }; then |
1626 |
ac_cv_lib_gdbm_gdbm_open=yes |
1627 |
else |
1628 |
- echo "$as_me: failed program was:" >&5 |
1629 |
+ $as_echo "$as_me: failed program was:" >&5 |
1630 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1631 |
|
1632 |
ac_cv_lib_gdbm_gdbm_open=no |
1633 |
fi |
1634 |
|
1635 |
+rm -rf conftest.dSYM |
1636 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1637 |
conftest$ac_exeext conftest.$ac_ext |
1638 |
LIBS=$ac_check_lib_save_LIBS |
1639 |
fi |
1640 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_gdbm_gdbm_open" >&5 |
1641 |
-echo "${ECHO_T}$ac_cv_lib_gdbm_gdbm_open" >&6; } |
1642 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gdbm_gdbm_open" >&5 |
1643 |
+$as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; } |
1644 |
if test $ac_cv_lib_gdbm_gdbm_open = yes; then |
1645 |
cat >>confdefs.h <<_ACEOF |
1646 |
#define HAVE_LIBGDBM 1 |
1647 |
@@ -2709,10 +2833,10 @@ |
1648 |
|
1649 |
|
1650 |
|
1651 |
-{ echo "$as_me:$LINENO: checking for ldap_init in -lldap" >&5 |
1652 |
-echo $ECHO_N "checking for ldap_init in -lldap... $ECHO_C" >&6; } |
1653 |
+{ $as_echo "$as_me:$LINENO: checking for ldap_init in -lldap" >&5 |
1654 |
+$as_echo_n "checking for ldap_init in -lldap... " >&6; } |
1655 |
if test "${ac_cv_lib_ldap_ldap_init+set}" = set; then |
1656 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
1657 |
+ $as_echo_n "(cached) " >&6 |
1658 |
else |
1659 |
ac_check_lib_save_LIBS=$LIBS |
1660 |
LIBS="-lldap $LIBS" |
1661 |
@@ -2744,32 +2868,36 @@ |
1662 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1663 |
*) ac_try_echo=$ac_try;; |
1664 |
esac |
1665 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
1666 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1667 |
+$as_echo "$ac_try_echo") >&5 |
1668 |
(eval "$ac_link") 2>conftest.er1 |
1669 |
ac_status=$? |
1670 |
grep -v '^ *+' conftest.er1 >conftest.err |
1671 |
rm -f conftest.er1 |
1672 |
cat conftest.err >&5 |
1673 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1674 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1675 |
(exit $ac_status); } && { |
1676 |
test -z "$ac_c_werror_flag" || |
1677 |
test ! -s conftest.err |
1678 |
- } && test -s conftest$ac_exeext && |
1679 |
- $as_test_x conftest$ac_exeext; then |
1680 |
+ } && test -s conftest$ac_exeext && { |
1681 |
+ test "$cross_compiling" = yes || |
1682 |
+ $as_test_x conftest$ac_exeext |
1683 |
+ }; then |
1684 |
ac_cv_lib_ldap_ldap_init=yes |
1685 |
else |
1686 |
- echo "$as_me: failed program was:" >&5 |
1687 |
+ $as_echo "$as_me: failed program was:" >&5 |
1688 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1689 |
|
1690 |
ac_cv_lib_ldap_ldap_init=no |
1691 |
fi |
1692 |
|
1693 |
+rm -rf conftest.dSYM |
1694 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1695 |
conftest$ac_exeext conftest.$ac_ext |
1696 |
LIBS=$ac_check_lib_save_LIBS |
1697 |
fi |
1698 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_init" >&5 |
1699 |
-echo "${ECHO_T}$ac_cv_lib_ldap_ldap_init" >&6; } |
1700 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_init" >&5 |
1701 |
+$as_echo "$ac_cv_lib_ldap_ldap_init" >&6; } |
1702 |
if test $ac_cv_lib_ldap_ldap_init = yes; then |
1703 |
cat >>confdefs.h <<_ACEOF |
1704 |
#define HAVE_LIBLDAP 1 |
1705 |
@@ -2782,11 +2910,11 @@ |
1706 |
|
1707 |
for ac_func in ldap_set_option |
1708 |
do |
1709 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
1710 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
1711 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
1712 |
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
1713 |
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
1714 |
+$as_echo_n "checking for $ac_func... " >&6; } |
1715 |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
1716 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
1717 |
+ $as_echo_n "(cached) " >&6 |
1718 |
else |
1719 |
cat >conftest.$ac_ext <<_ACEOF |
1720 |
/* confdefs.h. */ |
1721 |
@@ -2839,35 +2967,41 @@ |
1722 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1723 |
*) ac_try_echo=$ac_try;; |
1724 |
esac |
1725 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
1726 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1727 |
+$as_echo "$ac_try_echo") >&5 |
1728 |
(eval "$ac_link") 2>conftest.er1 |
1729 |
ac_status=$? |
1730 |
grep -v '^ *+' conftest.er1 >conftest.err |
1731 |
rm -f conftest.er1 |
1732 |
cat conftest.err >&5 |
1733 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1734 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1735 |
(exit $ac_status); } && { |
1736 |
test -z "$ac_c_werror_flag" || |
1737 |
test ! -s conftest.err |
1738 |
- } && test -s conftest$ac_exeext && |
1739 |
- $as_test_x conftest$ac_exeext; then |
1740 |
+ } && test -s conftest$ac_exeext && { |
1741 |
+ test "$cross_compiling" = yes || |
1742 |
+ $as_test_x conftest$ac_exeext |
1743 |
+ }; then |
1744 |
eval "$as_ac_var=yes" |
1745 |
else |
1746 |
- echo "$as_me: failed program was:" >&5 |
1747 |
+ $as_echo "$as_me: failed program was:" >&5 |
1748 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1749 |
|
1750 |
eval "$as_ac_var=no" |
1751 |
fi |
1752 |
|
1753 |
+rm -rf conftest.dSYM |
1754 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1755 |
conftest$ac_exeext conftest.$ac_ext |
1756 |
fi |
1757 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
1758 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
1759 |
-echo "${ECHO_T}$ac_res" >&6; } |
1760 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
1761 |
+ac_res=`eval 'as_val=${'$as_ac_var'} |
1762 |
+ $as_echo "$as_val"'` |
1763 |
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
1764 |
+$as_echo "$ac_res" >&6; } |
1765 |
+if test `eval 'as_val=${'$as_ac_var'} |
1766 |
+ $as_echo "$as_val"'` = yes; then |
1767 |
cat >>confdefs.h <<_ACEOF |
1768 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
1769 |
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
1770 |
_ACEOF |
1771 |
|
1772 |
fi |
1773 |
@@ -2875,13 +3009,88 @@ |
1774 |
|
1775 |
|
1776 |
|
1777 |
+{ $as_echo "$as_me:$LINENO: checking for iconv in -liconv" >&5 |
1778 |
+$as_echo_n "checking for iconv in -liconv... " >&6; } |
1779 |
+if test "${ac_cv_lib_iconv_iconv+set}" = set; then |
1780 |
+ $as_echo_n "(cached) " >&6 |
1781 |
+else |
1782 |
+ ac_check_lib_save_LIBS=$LIBS |
1783 |
+LIBS="-liconv $LIBS" |
1784 |
+cat >conftest.$ac_ext <<_ACEOF |
1785 |
+/* confdefs.h. */ |
1786 |
+_ACEOF |
1787 |
+cat confdefs.h >>conftest.$ac_ext |
1788 |
+cat >>conftest.$ac_ext <<_ACEOF |
1789 |
+/* end confdefs.h. */ |
1790 |
+ |
1791 |
+/* Override any GCC internal prototype to avoid an error. |
1792 |
+ Use char because int might match the return type of a GCC |
1793 |
+ builtin and then its argument prototype would still apply. */ |
1794 |
+#ifdef __cplusplus |
1795 |
+extern "C" |
1796 |
+#endif |
1797 |
+char iconv (); |
1798 |
+int |
1799 |
+main () |
1800 |
+{ |
1801 |
+return iconv (); |
1802 |
+ ; |
1803 |
+ return 0; |
1804 |
+} |
1805 |
+_ACEOF |
1806 |
+rm -f conftest.$ac_objext conftest$ac_exeext |
1807 |
+if { (ac_try="$ac_link" |
1808 |
+case "(($ac_try" in |
1809 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1810 |
+ *) ac_try_echo=$ac_try;; |
1811 |
+esac |
1812 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1813 |
+$as_echo "$ac_try_echo") >&5 |
1814 |
+ (eval "$ac_link") 2>conftest.er1 |
1815 |
+ ac_status=$? |
1816 |
+ grep -v '^ *+' conftest.er1 >conftest.err |
1817 |
+ rm -f conftest.er1 |
1818 |
+ cat conftest.err >&5 |
1819 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1820 |
+ (exit $ac_status); } && { |
1821 |
+ test -z "$ac_c_werror_flag" || |
1822 |
+ test ! -s conftest.err |
1823 |
+ } && test -s conftest$ac_exeext && { |
1824 |
+ test "$cross_compiling" = yes || |
1825 |
+ $as_test_x conftest$ac_exeext |
1826 |
+ }; then |
1827 |
+ ac_cv_lib_iconv_iconv=yes |
1828 |
+else |
1829 |
+ $as_echo "$as_me: failed program was:" >&5 |
1830 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
1831 |
+ |
1832 |
+ ac_cv_lib_iconv_iconv=no |
1833 |
+fi |
1834 |
+ |
1835 |
+rm -rf conftest.dSYM |
1836 |
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1837 |
+ conftest$ac_exeext conftest.$ac_ext |
1838 |
+LIBS=$ac_check_lib_save_LIBS |
1839 |
+fi |
1840 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5 |
1841 |
+$as_echo "$ac_cv_lib_iconv_iconv" >&6; } |
1842 |
+if test $ac_cv_lib_iconv_iconv = yes; then |
1843 |
+ cat >>confdefs.h <<_ACEOF |
1844 |
+#define HAVE_LIBICONV 1 |
1845 |
+_ACEOF |
1846 |
+ |
1847 |
+ LIBS="-liconv $LIBS" |
1848 |
+ |
1849 |
+fi |
1850 |
+ |
1851 |
+ |
1852 |
for ac_func in iconv |
1853 |
do |
1854 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
1855 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
1856 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
1857 |
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
1858 |
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
1859 |
+$as_echo_n "checking for $ac_func... " >&6; } |
1860 |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
1861 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
1862 |
+ $as_echo_n "(cached) " >&6 |
1863 |
else |
1864 |
cat >conftest.$ac_ext <<_ACEOF |
1865 |
/* confdefs.h. */ |
1866 |
@@ -2934,41 +3143,455 @@ |
1867 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1868 |
*) ac_try_echo=$ac_try;; |
1869 |
esac |
1870 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
1871 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1872 |
+$as_echo "$ac_try_echo") >&5 |
1873 |
(eval "$ac_link") 2>conftest.er1 |
1874 |
ac_status=$? |
1875 |
grep -v '^ *+' conftest.er1 >conftest.err |
1876 |
rm -f conftest.er1 |
1877 |
cat conftest.err >&5 |
1878 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1879 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1880 |
(exit $ac_status); } && { |
1881 |
test -z "$ac_c_werror_flag" || |
1882 |
test ! -s conftest.err |
1883 |
- } && test -s conftest$ac_exeext && |
1884 |
- $as_test_x conftest$ac_exeext; then |
1885 |
+ } && test -s conftest$ac_exeext && { |
1886 |
+ test "$cross_compiling" = yes || |
1887 |
+ $as_test_x conftest$ac_exeext |
1888 |
+ }; then |
1889 |
eval "$as_ac_var=yes" |
1890 |
else |
1891 |
- echo "$as_me: failed program was:" >&5 |
1892 |
+ $as_echo "$as_me: failed program was:" >&5 |
1893 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1894 |
|
1895 |
eval "$as_ac_var=no" |
1896 |
fi |
1897 |
|
1898 |
+rm -rf conftest.dSYM |
1899 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1900 |
conftest$ac_exeext conftest.$ac_ext |
1901 |
fi |
1902 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
1903 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
1904 |
-echo "${ECHO_T}$ac_res" >&6; } |
1905 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
1906 |
+ac_res=`eval 'as_val=${'$as_ac_var'} |
1907 |
+ $as_echo "$as_val"'` |
1908 |
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
1909 |
+$as_echo "$ac_res" >&6; } |
1910 |
+if test `eval 'as_val=${'$as_ac_var'} |
1911 |
+ $as_echo "$as_val"'` = yes; then |
1912 |
cat >>confdefs.h <<_ACEOF |
1913 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
1914 |
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
1915 |
_ACEOF |
1916 |
|
1917 |
fi |
1918 |
done |
1919 |
|
1920 |
|
1921 |
+ |
1922 |
+{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
1923 |
+$as_echo_n "checking for dlopen in -ldl... " >&6; } |
1924 |
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
1925 |
+ $as_echo_n "(cached) " >&6 |
1926 |
+else |
1927 |
+ ac_check_lib_save_LIBS=$LIBS |
1928 |
+LIBS="-ldl $LIBS" |
1929 |
+cat >conftest.$ac_ext <<_ACEOF |
1930 |
+/* confdefs.h. */ |
1931 |
+_ACEOF |
1932 |
+cat confdefs.h >>conftest.$ac_ext |
1933 |
+cat >>conftest.$ac_ext <<_ACEOF |
1934 |
+/* end confdefs.h. */ |
1935 |
+ |
1936 |
+/* Override any GCC internal prototype to avoid an error. |
1937 |
+ Use char because int might match the return type of a GCC |
1938 |
+ builtin and then its argument prototype would still apply. */ |
1939 |
+#ifdef __cplusplus |
1940 |
+extern "C" |
1941 |
+#endif |
1942 |
+char dlopen (); |
1943 |
+int |
1944 |
+main () |
1945 |
+{ |
1946 |
+return dlopen (); |
1947 |
+ ; |
1948 |
+ return 0; |
1949 |
+} |
1950 |
+_ACEOF |
1951 |
+rm -f conftest.$ac_objext conftest$ac_exeext |
1952 |
+if { (ac_try="$ac_link" |
1953 |
+case "(($ac_try" in |
1954 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1955 |
+ *) ac_try_echo=$ac_try;; |
1956 |
+esac |
1957 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
1958 |
+$as_echo "$ac_try_echo") >&5 |
1959 |
+ (eval "$ac_link") 2>conftest.er1 |
1960 |
+ ac_status=$? |
1961 |
+ grep -v '^ *+' conftest.er1 >conftest.err |
1962 |
+ rm -f conftest.er1 |
1963 |
+ cat conftest.err >&5 |
1964 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1965 |
+ (exit $ac_status); } && { |
1966 |
+ test -z "$ac_c_werror_flag" || |
1967 |
+ test ! -s conftest.err |
1968 |
+ } && test -s conftest$ac_exeext && { |
1969 |
+ test "$cross_compiling" = yes || |
1970 |
+ $as_test_x conftest$ac_exeext |
1971 |
+ }; then |
1972 |
+ ac_cv_lib_dl_dlopen=yes |
1973 |
+else |
1974 |
+ $as_echo "$as_me: failed program was:" >&5 |
1975 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
1976 |
+ |
1977 |
+ ac_cv_lib_dl_dlopen=no |
1978 |
+fi |
1979 |
+ |
1980 |
+rm -rf conftest.dSYM |
1981 |
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1982 |
+ conftest$ac_exeext conftest.$ac_ext |
1983 |
+LIBS=$ac_check_lib_save_LIBS |
1984 |
+fi |
1985 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
1986 |
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
1987 |
+if test $ac_cv_lib_dl_dlopen = yes; then |
1988 |
+ cat >>confdefs.h <<_ACEOF |
1989 |
+#define HAVE_LIBDL 1 |
1990 |
+_ACEOF |
1991 |
+ |
1992 |
+ LIBS="-ldl $LIBS" |
1993 |
+ |
1994 |
+fi |
1995 |
+ |
1996 |
+ |
1997 |
+ |
1998 |
+{ $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
1999 |
+$as_echo_n "checking for gethostbyname... " >&6; } |
2000 |
+if test "${ac_cv_func_gethostbyname+set}" = set; then |
2001 |
+ $as_echo_n "(cached) " >&6 |
2002 |
+else |
2003 |
+ cat >conftest.$ac_ext <<_ACEOF |
2004 |
+/* confdefs.h. */ |
2005 |
+_ACEOF |
2006 |
+cat confdefs.h >>conftest.$ac_ext |
2007 |
+cat >>conftest.$ac_ext <<_ACEOF |
2008 |
+/* end confdefs.h. */ |
2009 |
+/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
2010 |
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
2011 |
+#define gethostbyname innocuous_gethostbyname |
2012 |
+ |
2013 |
+/* System header to define __stub macros and hopefully few prototypes, |
2014 |
+ which can conflict with char gethostbyname (); below. |
2015 |
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2016 |
+ <limits.h> exists even on freestanding compilers. */ |
2017 |
+ |
2018 |
+#ifdef __STDC__ |
2019 |
+# include <limits.h> |
2020 |
+#else |
2021 |
+# include <assert.h> |
2022 |
+#endif |
2023 |
+ |
2024 |
+#undef gethostbyname |
2025 |
+ |
2026 |
+/* Override any GCC internal prototype to avoid an error. |
2027 |
+ Use char because int might match the return type of a GCC |
2028 |
+ builtin and then its argument prototype would still apply. */ |
2029 |
+#ifdef __cplusplus |
2030 |
+extern "C" |
2031 |
+#endif |
2032 |
+char gethostbyname (); |
2033 |
+/* The GNU C library defines this for functions which it implements |
2034 |
+ to always fail with ENOSYS. Some functions are actually named |
2035 |
+ something starting with __ and the normal name is an alias. */ |
2036 |
+#if defined __stub_gethostbyname || defined __stub___gethostbyname |
2037 |
+choke me |
2038 |
+#endif |
2039 |
+ |
2040 |
+int |
2041 |
+main () |
2042 |
+{ |
2043 |
+return gethostbyname (); |
2044 |
+ ; |
2045 |
+ return 0; |
2046 |
+} |
2047 |
+_ACEOF |
2048 |
+rm -f conftest.$ac_objext conftest$ac_exeext |
2049 |
+if { (ac_try="$ac_link" |
2050 |
+case "(($ac_try" in |
2051 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2052 |
+ *) ac_try_echo=$ac_try;; |
2053 |
+esac |
2054 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2055 |
+$as_echo "$ac_try_echo") >&5 |
2056 |
+ (eval "$ac_link") 2>conftest.er1 |
2057 |
+ ac_status=$? |
2058 |
+ grep -v '^ *+' conftest.er1 >conftest.err |
2059 |
+ rm -f conftest.er1 |
2060 |
+ cat conftest.err >&5 |
2061 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2062 |
+ (exit $ac_status); } && { |
2063 |
+ test -z "$ac_c_werror_flag" || |
2064 |
+ test ! -s conftest.err |
2065 |
+ } && test -s conftest$ac_exeext && { |
2066 |
+ test "$cross_compiling" = yes || |
2067 |
+ $as_test_x conftest$ac_exeext |
2068 |
+ }; then |
2069 |
+ ac_cv_func_gethostbyname=yes |
2070 |
+else |
2071 |
+ $as_echo "$as_me: failed program was:" >&5 |
2072 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
2073 |
+ |
2074 |
+ ac_cv_func_gethostbyname=no |
2075 |
+fi |
2076 |
+ |
2077 |
+rm -rf conftest.dSYM |
2078 |
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
2079 |
+ conftest$ac_exeext conftest.$ac_ext |
2080 |
+fi |
2081 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
2082 |
+$as_echo "$ac_cv_func_gethostbyname" >&6; } |
2083 |
+if test $ac_cv_func_gethostbyname = yes; then |
2084 |
+ : |
2085 |
+else |
2086 |
+ |
2087 |
+{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5 |
2088 |
+$as_echo_n "checking for gethostbyname in -lresolv... " >&6; } |
2089 |
+if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then |
2090 |
+ $as_echo_n "(cached) " >&6 |
2091 |
+else |
2092 |
+ ac_check_lib_save_LIBS=$LIBS |
2093 |
+LIBS="-lresolv $LIBS" |
2094 |
+cat >conftest.$ac_ext <<_ACEOF |
2095 |
+/* confdefs.h. */ |
2096 |
+_ACEOF |
2097 |
+cat confdefs.h >>conftest.$ac_ext |
2098 |
+cat >>conftest.$ac_ext <<_ACEOF |
2099 |
+/* end confdefs.h. */ |
2100 |
+ |
2101 |
+/* Override any GCC internal prototype to avoid an error. |
2102 |
+ Use char because int might match the return type of a GCC |
2103 |
+ builtin and then its argument prototype would still apply. */ |
2104 |
+#ifdef __cplusplus |
2105 |
+extern "C" |
2106 |
+#endif |
2107 |
+char gethostbyname (); |
2108 |
+int |
2109 |
+main () |
2110 |
+{ |
2111 |
+return gethostbyname (); |
2112 |
+ ; |
2113 |
+ return 0; |
2114 |
+} |
2115 |
+_ACEOF |
2116 |
+rm -f conftest.$ac_objext conftest$ac_exeext |
2117 |
+if { (ac_try="$ac_link" |
2118 |
+case "(($ac_try" in |
2119 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2120 |
+ *) ac_try_echo=$ac_try;; |
2121 |
+esac |
2122 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2123 |
+$as_echo "$ac_try_echo") >&5 |
2124 |
+ (eval "$ac_link") 2>conftest.er1 |
2125 |
+ ac_status=$? |
2126 |
+ grep -v '^ *+' conftest.er1 >conftest.err |
2127 |
+ rm -f conftest.er1 |
2128 |
+ cat conftest.err >&5 |
2129 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2130 |
+ (exit $ac_status); } && { |
2131 |
+ test -z "$ac_c_werror_flag" || |
2132 |
+ test ! -s conftest.err |
2133 |
+ } && test -s conftest$ac_exeext && { |
2134 |
+ test "$cross_compiling" = yes || |
2135 |
+ $as_test_x conftest$ac_exeext |
2136 |
+ }; then |
2137 |
+ ac_cv_lib_resolv_gethostbyname=yes |
2138 |
+else |
2139 |
+ $as_echo "$as_me: failed program was:" >&5 |
2140 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
2141 |
+ |
2142 |
+ ac_cv_lib_resolv_gethostbyname=no |
2143 |
+fi |
2144 |
+ |
2145 |
+rm -rf conftest.dSYM |
2146 |
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
2147 |
+ conftest$ac_exeext conftest.$ac_ext |
2148 |
+LIBS=$ac_check_lib_save_LIBS |
2149 |
+fi |
2150 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5 |
2151 |
+$as_echo "$ac_cv_lib_resolv_gethostbyname" >&6; } |
2152 |
+if test $ac_cv_lib_resolv_gethostbyname = yes; then |
2153 |
+ cat >>confdefs.h <<_ACEOF |
2154 |
+#define HAVE_LIBRESOLV 1 |
2155 |
+_ACEOF |
2156 |
+ |
2157 |
+ LIBS="-lresolv $LIBS" |
2158 |
+ |
2159 |
+fi |
2160 |
+ |
2161 |
+fi |
2162 |
+ |
2163 |
+{ $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
2164 |
+$as_echo_n "checking for gethostbyname... " >&6; } |
2165 |
+if test "${ac_cv_func_gethostbyname+set}" = set; then |
2166 |
+ $as_echo_n "(cached) " >&6 |
2167 |
+else |
2168 |
+ cat >conftest.$ac_ext <<_ACEOF |
2169 |
+/* confdefs.h. */ |
2170 |
+_ACEOF |
2171 |
+cat confdefs.h >>conftest.$ac_ext |
2172 |
+cat >>conftest.$ac_ext <<_ACEOF |
2173 |
+/* end confdefs.h. */ |
2174 |
+/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
2175 |
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
2176 |
+#define gethostbyname innocuous_gethostbyname |
2177 |
+ |
2178 |
+/* System header to define __stub macros and hopefully few prototypes, |
2179 |
+ which can conflict with char gethostbyname (); below. |
2180 |
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2181 |
+ <limits.h> exists even on freestanding compilers. */ |
2182 |
+ |
2183 |
+#ifdef __STDC__ |
2184 |
+# include <limits.h> |
2185 |
+#else |
2186 |
+# include <assert.h> |
2187 |
+#endif |
2188 |
+ |
2189 |
+#undef gethostbyname |
2190 |
+ |
2191 |
+/* Override any GCC internal prototype to avoid an error. |
2192 |
+ Use char because int might match the return type of a GCC |
2193 |
+ builtin and then its argument prototype would still apply. */ |
2194 |
+#ifdef __cplusplus |
2195 |
+extern "C" |
2196 |
+#endif |
2197 |
+char gethostbyname (); |
2198 |
+/* The GNU C library defines this for functions which it implements |
2199 |
+ to always fail with ENOSYS. Some functions are actually named |
2200 |
+ something starting with __ and the normal name is an alias. */ |
2201 |
+#if defined __stub_gethostbyname || defined __stub___gethostbyname |
2202 |
+choke me |
2203 |
+#endif |
2204 |
+ |
2205 |
+int |
2206 |
+main () |
2207 |
+{ |
2208 |
+return gethostbyname (); |
2209 |
+ ; |
2210 |
+ return 0; |
2211 |
+} |
2212 |
+_ACEOF |
2213 |
+rm -f conftest.$ac_objext conftest$ac_exeext |
2214 |
+if { (ac_try="$ac_link" |
2215 |
+case "(($ac_try" in |
2216 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2217 |
+ *) ac_try_echo=$ac_try;; |
2218 |
+esac |
2219 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2220 |
+$as_echo "$ac_try_echo") >&5 |
2221 |
+ (eval "$ac_link") 2>conftest.er1 |
2222 |
+ ac_status=$? |
2223 |
+ grep -v '^ *+' conftest.er1 >conftest.err |
2224 |
+ rm -f conftest.er1 |
2225 |
+ cat conftest.err >&5 |
2226 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2227 |
+ (exit $ac_status); } && { |
2228 |
+ test -z "$ac_c_werror_flag" || |
2229 |
+ test ! -s conftest.err |
2230 |
+ } && test -s conftest$ac_exeext && { |
2231 |
+ test "$cross_compiling" = yes || |
2232 |
+ $as_test_x conftest$ac_exeext |
2233 |
+ }; then |
2234 |
+ ac_cv_func_gethostbyname=yes |
2235 |
+else |
2236 |
+ $as_echo "$as_me: failed program was:" >&5 |
2237 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
2238 |
+ |
2239 |
+ ac_cv_func_gethostbyname=no |
2240 |
+fi |
2241 |
+ |
2242 |
+rm -rf conftest.dSYM |
2243 |
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
2244 |
+ conftest$ac_exeext conftest.$ac_ext |
2245 |
+fi |
2246 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
2247 |
+$as_echo "$ac_cv_func_gethostbyname" >&6; } |
2248 |
+if test $ac_cv_func_gethostbyname = yes; then |
2249 |
+ : |
2250 |
+else |
2251 |
+ |
2252 |
+{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
2253 |
+$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
2254 |
+if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
2255 |
+ $as_echo_n "(cached) " >&6 |
2256 |
+else |
2257 |
+ ac_check_lib_save_LIBS=$LIBS |
2258 |
+LIBS="-lnsl $LIBS" |
2259 |
+cat >conftest.$ac_ext <<_ACEOF |
2260 |
+/* confdefs.h. */ |
2261 |
+_ACEOF |
2262 |
+cat confdefs.h >>conftest.$ac_ext |
2263 |
+cat >>conftest.$ac_ext <<_ACEOF |
2264 |
+/* end confdefs.h. */ |
2265 |
+ |
2266 |
+/* Override any GCC internal prototype to avoid an error. |
2267 |
+ Use char because int might match the return type of a GCC |
2268 |
+ builtin and then its argument prototype would still apply. */ |
2269 |
+#ifdef __cplusplus |
2270 |
+extern "C" |
2271 |
+#endif |
2272 |
+char gethostbyname (); |
2273 |
+int |
2274 |
+main () |
2275 |
+{ |
2276 |
+return gethostbyname (); |
2277 |
+ ; |
2278 |
+ return 0; |
2279 |
+} |
2280 |
+_ACEOF |
2281 |
+rm -f conftest.$ac_objext conftest$ac_exeext |
2282 |
+if { (ac_try="$ac_link" |
2283 |
+case "(($ac_try" in |
2284 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2285 |
+ *) ac_try_echo=$ac_try;; |
2286 |
+esac |
2287 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2288 |
+$as_echo "$ac_try_echo") >&5 |
2289 |
+ (eval "$ac_link") 2>conftest.er1 |
2290 |
+ ac_status=$? |
2291 |
+ grep -v '^ *+' conftest.er1 >conftest.err |
2292 |
+ rm -f conftest.er1 |
2293 |
+ cat conftest.err >&5 |
2294 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2295 |
+ (exit $ac_status); } && { |
2296 |
+ test -z "$ac_c_werror_flag" || |
2297 |
+ test ! -s conftest.err |
2298 |
+ } && test -s conftest$ac_exeext && { |
2299 |
+ test "$cross_compiling" = yes || |
2300 |
+ $as_test_x conftest$ac_exeext |
2301 |
+ }; then |
2302 |
+ ac_cv_lib_nsl_gethostbyname=yes |
2303 |
+else |
2304 |
+ $as_echo "$as_me: failed program was:" >&5 |
2305 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
2306 |
+ |
2307 |
+ ac_cv_lib_nsl_gethostbyname=no |
2308 |
+fi |
2309 |
+ |
2310 |
+rm -rf conftest.dSYM |
2311 |
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
2312 |
+ conftest$ac_exeext conftest.$ac_ext |
2313 |
+LIBS=$ac_check_lib_save_LIBS |
2314 |
+fi |
2315 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
2316 |
+$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
2317 |
+if test $ac_cv_lib_nsl_gethostbyname = yes; then |
2318 |
+ cat >>confdefs.h <<_ACEOF |
2319 |
+#define HAVE_LIBNSL 1 |
2320 |
+_ACEOF |
2321 |
+ |
2322 |
+ LIBS="-lnsl $LIBS" |
2323 |
+ |
2324 |
+fi |
2325 |
+ |
2326 |
+fi |
2327 |
+ |
2328 |
+ |
2329 |
cat >>confdefs.h <<_ACEOF |
2330 |
#define UMASK $permmask |
2331 |
_ACEOF |
2332 |
@@ -3009,11 +3632,12 @@ |
2333 |
case $ac_val in #( |
2334 |
*${as_nl}*) |
2335 |
case $ac_var in #( |
2336 |
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
2337 |
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
2338 |
+ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
2339 |
+$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
2340 |
esac |
2341 |
case $ac_var in #( |
2342 |
_ | IFS | as_nl) ;; #( |
2343 |
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2344 |
*) $as_unset $ac_var ;; |
2345 |
esac ;; |
2346 |
esac |
2347 |
@@ -3046,12 +3670,12 @@ |
2348 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
2349 |
if test -w "$cache_file"; then |
2350 |
test "x$cache_file" != "x/dev/null" && |
2351 |
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
2352 |
-echo "$as_me: updating cache $cache_file" >&6;} |
2353 |
+ { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
2354 |
+$as_echo "$as_me: updating cache $cache_file" >&6;} |
2355 |
cat confcache >$cache_file |
2356 |
else |
2357 |
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
2358 |
-echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
2359 |
+ { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
2360 |
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
2361 |
fi |
2362 |
fi |
2363 |
rm -f confcache |
2364 |
@@ -3067,7 +3691,7 @@ |
2365 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
2366 |
# 1. Remove the extension, and $U if already installed. |
2367 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
2368 |
- ac_i=`echo "$ac_i" | sed "$ac_script"` |
2369 |
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
2370 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
2371 |
# will be set to the directory where LIBOBJS objects are built. |
2372 |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
2373 |
@@ -3080,11 +3704,12 @@ |
2374 |
|
2375 |
|
2376 |
: ${CONFIG_STATUS=./config.status} |
2377 |
+ac_write_fail=0 |
2378 |
ac_clean_files_save=$ac_clean_files |
2379 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
2380 |
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
2381 |
-echo "$as_me: creating $CONFIG_STATUS" >&6;} |
2382 |
-cat >$CONFIG_STATUS <<_ACEOF |
2383 |
+{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
2384 |
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
2385 |
+cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
2386 |
#! $SHELL |
2387 |
# Generated by $as_me. |
2388 |
# Run this file to recreate the current configuration. |
2389 |
@@ -3097,7 +3722,7 @@ |
2390 |
SHELL=\${CONFIG_SHELL-$SHELL} |
2391 |
_ACEOF |
2392 |
|
2393 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
2394 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
2395 |
## --------------------- ## |
2396 |
## M4sh Initialization. ## |
2397 |
## --------------------- ## |
2398 |
@@ -3107,7 +3732,7 @@ |
2399 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
2400 |
emulate sh |
2401 |
NULLCMD=: |
2402 |
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
2403 |
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
2404 |
# is contrary to our usage. Disable this feature. |
2405 |
alias -g '${1+"$@"}'='"$@"' |
2406 |
setopt NO_GLOB_SUBST |
2407 |
@@ -3129,17 +3754,45 @@ |
2408 |
as_cr_digits='0123456789' |
2409 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
2410 |
|
2411 |
-# The user is always right. |
2412 |
-if test "${PATH_SEPARATOR+set}" != set; then |
2413 |
- echo "#! /bin/sh" >conf$$.sh |
2414 |
- echo "exit 0" >>conf$$.sh |
2415 |
- chmod +x conf$$.sh |
2416 |
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
2417 |
- PATH_SEPARATOR=';' |
2418 |
+as_nl=' |
2419 |
+' |
2420 |
+export as_nl |
2421 |
+# Printing a long string crashes Solaris 7 /usr/bin/printf. |
2422 |
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
2423 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
2424 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
2425 |
+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
2426 |
+ as_echo='printf %s\n' |
2427 |
+ as_echo_n='printf %s' |
2428 |
+else |
2429 |
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
2430 |
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
2431 |
+ as_echo_n='/usr/ucb/echo -n' |
2432 |
else |
2433 |
- PATH_SEPARATOR=: |
2434 |
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
2435 |
+ as_echo_n_body='eval |
2436 |
+ arg=$1; |
2437 |
+ case $arg in |
2438 |
+ *"$as_nl"*) |
2439 |
+ expr "X$arg" : "X\\(.*\\)$as_nl"; |
2440 |
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
2441 |
+ esac; |
2442 |
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
2443 |
+ ' |
2444 |
+ export as_echo_n_body |
2445 |
+ as_echo_n='sh -c $as_echo_n_body as_echo' |
2446 |
fi |
2447 |
- rm -f conf$$.sh |
2448 |
+ export as_echo_body |
2449 |
+ as_echo='sh -c $as_echo_body as_echo' |
2450 |
+fi |
2451 |
+ |
2452 |
+# The user is always right. |
2453 |
+if test "${PATH_SEPARATOR+set}" != set; then |
2454 |
+ PATH_SEPARATOR=: |
2455 |
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
2456 |
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
2457 |
+ PATH_SEPARATOR=';' |
2458 |
+ } |
2459 |
fi |
2460 |
|
2461 |
# Support unset when possible. |
2462 |
@@ -3155,8 +3808,6 @@ |
2463 |
# there to prevent editors from complaining about space-tab. |
2464 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
2465 |
# splitting by setting IFS to empty value.) |
2466 |
-as_nl=' |
2467 |
-' |
2468 |
IFS=" "" $as_nl" |
2469 |
|
2470 |
# Find who we are. Look in the path if we contain no directory separator. |
2471 |
@@ -3179,7 +3830,7 @@ |
2472 |
as_myself=$0 |
2473 |
fi |
2474 |
if test ! -f "$as_myself"; then |
2475 |
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
2476 |
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
2477 |
{ (exit 1); exit 1; } |
2478 |
fi |
2479 |
|
2480 |
@@ -3192,17 +3843,10 @@ |
2481 |
PS4='+ ' |
2482 |
|
2483 |
# NLS nuisances. |
2484 |
-for as_var in \ |
2485 |
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
2486 |
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
2487 |
- LC_TELEPHONE LC_TIME |
2488 |
-do |
2489 |
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
2490 |
- eval $as_var=C; export $as_var |
2491 |
- else |
2492 |
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
2493 |
- fi |
2494 |
-done |
2495 |
+LC_ALL=C |
2496 |
+export LC_ALL |
2497 |
+LANGUAGE=C |
2498 |
+export LANGUAGE |
2499 |
|
2500 |
# Required to use basename. |
2501 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
2502 |
@@ -3224,7 +3868,7 @@ |
2503 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
2504 |
X"$0" : 'X\(//\)$' \| \ |
2505 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
2506 |
-echo X/"$0" | |
2507 |
+$as_echo X/"$0" | |
2508 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
2509 |
s//\1/ |
2510 |
q |
2511 |
@@ -3275,7 +3919,7 @@ |
2512 |
s/-\n.*// |
2513 |
' >$as_me.lineno && |
2514 |
chmod +x "$as_me.lineno" || |
2515 |
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
2516 |
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
2517 |
{ (exit 1); exit 1; }; } |
2518 |
|
2519 |
# Don't try to exec as it changes $[0], causing all sort of problems |
2520 |
@@ -3303,7 +3947,6 @@ |
2521 |
*) |
2522 |
ECHO_N='-n';; |
2523 |
esac |
2524 |
- |
2525 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
2526 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
2527 |
as_expr=expr |
2528 |
@@ -3316,19 +3959,22 @@ |
2529 |
rm -f conf$$.dir/conf$$.file |
2530 |
else |
2531 |
rm -f conf$$.dir |
2532 |
- mkdir conf$$.dir |
2533 |
+ mkdir conf$$.dir 2>/dev/null |
2534 |
fi |
2535 |
-echo >conf$$.file |
2536 |
-if ln -s conf$$.file conf$$ 2>/dev/null; then |
2537 |
- as_ln_s='ln -s' |
2538 |
- # ... but there are two gotchas: |
2539 |
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
2540 |
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
2541 |
- # In both cases, we have to default to `cp -p'. |
2542 |
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
2543 |
+if (echo >conf$$.file) 2>/dev/null; then |
2544 |
+ if ln -s conf$$.file conf$$ 2>/dev/null; then |
2545 |
+ as_ln_s='ln -s' |
2546 |
+ # ... but there are two gotchas: |
2547 |
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
2548 |
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
2549 |
+ # In both cases, we have to default to `cp -p'. |
2550 |
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
2551 |
+ as_ln_s='cp -p' |
2552 |
+ elif ln conf$$.file conf$$ 2>/dev/null; then |
2553 |
+ as_ln_s=ln |
2554 |
+ else |
2555 |
as_ln_s='cp -p' |
2556 |
-elif ln conf$$.file conf$$ 2>/dev/null; then |
2557 |
- as_ln_s=ln |
2558 |
+ fi |
2559 |
else |
2560 |
as_ln_s='cp -p' |
2561 |
fi |
2562 |
@@ -3353,10 +3999,10 @@ |
2563 |
as_test_x=' |
2564 |
eval sh -c '\'' |
2565 |
if test -d "$1"; then |
2566 |
- test -d "$1/."; |
2567 |
+ test -d "$1/."; |
2568 |
else |
2569 |
case $1 in |
2570 |
- -*)set "./$1";; |
2571 |
+ -*)set "./$1";; |
2572 |
esac; |
2573 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
2574 |
???[sx]*):;;*)false;;esac;fi |
2575 |
@@ -3379,7 +4025,7 @@ |
2576 |
# values after options handling. |
2577 |
ac_log=" |
2578 |
This file was extended by $as_me, which was |
2579 |
-generated by GNU Autoconf 2.61. Invocation command line was |
2580 |
+generated by GNU Autoconf 2.62. Invocation command line was |
2581 |
|
2582 |
CONFIG_FILES = $CONFIG_FILES |
2583 |
CONFIG_HEADERS = $CONFIG_HEADERS |
2584 |
@@ -3392,14 +4038,14 @@ |
2585 |
|
2586 |
_ACEOF |
2587 |
|
2588 |
-cat >>$CONFIG_STATUS <<_ACEOF |
2589 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
2590 |
# Files that config.status was made for. |
2591 |
config_files="$ac_config_files" |
2592 |
config_headers="$ac_config_headers" |
2593 |
|
2594 |
_ACEOF |
2595 |
|
2596 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
2597 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
2598 |
ac_cs_usage="\ |
2599 |
\`$as_me' instantiates files from templates according to the |
2600 |
current configuration. |
2601 |
@@ -3412,9 +4058,9 @@ |
2602 |
-d, --debug don't remove temporary files |
2603 |
--recheck update $as_me by reconfiguring in the same conditions |
2604 |
--file=FILE[:TEMPLATE] |
2605 |
- instantiate the configuration file FILE |
2606 |
+ instantiate the configuration file FILE |
2607 |
--header=FILE[:TEMPLATE] |
2608 |
- instantiate the configuration header FILE |
2609 |
+ instantiate the configuration header FILE |
2610 |
|
2611 |
Configuration files: |
2612 |
$config_files |
2613 |
@@ -3425,23 +4071,23 @@ |
2614 |
Report bugs to <bug-autoconf@gnu.org>." |
2615 |
|
2616 |
_ACEOF |
2617 |
-cat >>$CONFIG_STATUS <<_ACEOF |
2618 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
2619 |
ac_cs_version="\\ |
2620 |
config.status |
2621 |
-configured by $0, generated by GNU Autoconf 2.61, |
2622 |
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
2623 |
+configured by $0, generated by GNU Autoconf 2.62, |
2624 |
+ with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
2625 |
|
2626 |
-Copyright (C) 2006 Free Software Foundation, Inc. |
2627 |
+Copyright (C) 2008 Free Software Foundation, Inc. |
2628 |
This config.status script is free software; the Free Software Foundation |
2629 |
gives unlimited permission to copy, distribute and modify it." |
2630 |
|
2631 |
ac_pwd='$ac_pwd' |
2632 |
srcdir='$srcdir' |
2633 |
+test -n "\$AWK" || AWK=awk |
2634 |
_ACEOF |
2635 |
|
2636 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
2637 |
-# If no file are specified by the user, then we need to provide default |
2638 |
-# value. By we need to know if files were specified by the user. |
2639 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
2640 |
+# The default lists apply if the user does not specify any file. |
2641 |
ac_need_defaults=: |
2642 |
while test $# != 0 |
2643 |
do |
2644 |
@@ -3463,30 +4109,36 @@ |
2645 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
2646 |
ac_cs_recheck=: ;; |
2647 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
2648 |
- echo "$ac_cs_version"; exit ;; |
2649 |
+ $as_echo "$ac_cs_version"; exit ;; |
2650 |
--debug | --debu | --deb | --de | --d | -d ) |
2651 |
debug=: ;; |
2652 |
--file | --fil | --fi | --f ) |
2653 |
$ac_shift |
2654 |
- CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
2655 |
+ case $ac_optarg in |
2656 |
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
2657 |
+ esac |
2658 |
+ CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
2659 |
ac_need_defaults=false;; |
2660 |
--header | --heade | --head | --hea ) |
2661 |
$ac_shift |
2662 |
- CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
2663 |
+ case $ac_optarg in |
2664 |
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
2665 |
+ esac |
2666 |
+ CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
2667 |
ac_need_defaults=false;; |
2668 |
--he | --h) |
2669 |
# Conflict between --help and --header |
2670 |
- { echo "$as_me: error: ambiguous option: $1 |
2671 |
+ { $as_echo "$as_me: error: ambiguous option: $1 |
2672 |
Try \`$0 --help' for more information." >&2 |
2673 |
{ (exit 1); exit 1; }; };; |
2674 |
--help | --hel | -h ) |
2675 |
- echo "$ac_cs_usage"; exit ;; |
2676 |
+ $as_echo "$ac_cs_usage"; exit ;; |
2677 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
2678 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
2679 |
ac_cs_silent=: ;; |
2680 |
|
2681 |
# This is an error. |
2682 |
- -*) { echo "$as_me: error: unrecognized option: $1 |
2683 |
+ -*) { $as_echo "$as_me: error: unrecognized option: $1 |
2684 |
Try \`$0 --help' for more information." >&2 |
2685 |
{ (exit 1); exit 1; }; } ;; |
2686 |
|
2687 |
@@ -3505,30 +4157,32 @@ |
2688 |
fi |
2689 |
|
2690 |
_ACEOF |
2691 |
-cat >>$CONFIG_STATUS <<_ACEOF |
2692 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
2693 |
if \$ac_cs_recheck; then |
2694 |
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
2695 |
- CONFIG_SHELL=$SHELL |
2696 |
+ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
2697 |
+ shift |
2698 |
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
2699 |
+ CONFIG_SHELL='$SHELL' |
2700 |
export CONFIG_SHELL |
2701 |
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
2702 |
+ exec "\$@" |
2703 |
fi |
2704 |
|
2705 |
_ACEOF |
2706 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
2707 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
2708 |
exec 5>>config.log |
2709 |
{ |
2710 |
echo |
2711 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
2712 |
## Running $as_me. ## |
2713 |
_ASBOX |
2714 |
- echo "$ac_log" |
2715 |
+ $as_echo "$ac_log" |
2716 |
} >&5 |
2717 |
|
2718 |
_ACEOF |
2719 |
-cat >>$CONFIG_STATUS <<_ACEOF |
2720 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
2721 |
_ACEOF |
2722 |
|
2723 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
2724 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
2725 |
|
2726 |
# Handling of arguments. |
2727 |
for ac_config_target in $ac_config_targets |
2728 |
@@ -3537,8 +4191,8 @@ |
2729 |
"conf.h") CONFIG_HEADERS="$CONFIG_HEADERS conf.h" ;; |
2730 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
2731 |
|
2732 |
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
2733 |
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
2734 |
+ *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
2735 |
+$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
2736 |
{ (exit 1); exit 1; }; };; |
2737 |
esac |
2738 |
done |
2739 |
@@ -3578,115 +4232,142 @@ |
2740 |
(umask 077 && mkdir "$tmp") |
2741 |
} || |
2742 |
{ |
2743 |
- echo "$me: cannot create a temporary directory in ." >&2 |
2744 |
+ $as_echo "$as_me: cannot create a temporary directory in ." >&2 |
2745 |
{ (exit 1); exit 1; } |
2746 |
} |
2747 |
|
2748 |
-# |
2749 |
-# Set up the sed scripts for CONFIG_FILES section. |
2750 |
-# |
2751 |
- |
2752 |
-# No need to generate the scripts if there are no CONFIG_FILES. |
2753 |
-# This happens for instance when ./config.status config.h |
2754 |
+# Set up the scripts for CONFIG_FILES section. |
2755 |
+# No need to generate them if there are no CONFIG_FILES. |
2756 |
+# This happens for instance with `./config.status config.h'. |
2757 |
if test -n "$CONFIG_FILES"; then |
2758 |
|
2759 |
-_ACEOF |
2760 |
|
2761 |
+ac_cr='' |
2762 |
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
2763 |
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
2764 |
+ ac_cs_awk_cr='\\r' |
2765 |
+else |
2766 |
+ ac_cs_awk_cr=$ac_cr |
2767 |
+fi |
2768 |
+ |
2769 |
+echo 'BEGIN {' >"$tmp/subs1.awk" && |
2770 |
+_ACEOF |
2771 |
|
2772 |
|
2773 |
+{ |
2774 |
+ echo "cat >conf$$subs.awk <<_ACEOF" && |
2775 |
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
2776 |
+ echo "_ACEOF" |
2777 |
+} >conf$$subs.sh || |
2778 |
+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
2779 |
+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
2780 |
+ { (exit 1); exit 1; }; } |
2781 |
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
2782 |
ac_delim='%!_!# ' |
2783 |
for ac_last_try in false false false false false :; do |
2784 |
- cat >conf$$subs.sed <<_ACEOF |
2785 |
-SHELL!$SHELL$ac_delim |
2786 |
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
2787 |
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
2788 |
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
2789 |
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
2790 |
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
2791 |
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
2792 |
-exec_prefix!$exec_prefix$ac_delim |
2793 |
-prefix!$prefix$ac_delim |
2794 |
-program_transform_name!$program_transform_name$ac_delim |
2795 |
-bindir!$bindir$ac_delim |
2796 |
-sbindir!$sbindir$ac_delim |
2797 |
-libexecdir!$libexecdir$ac_delim |
2798 |
-datarootdir!$datarootdir$ac_delim |
2799 |
-datadir!$datadir$ac_delim |
2800 |
-sysconfdir!$sysconfdir$ac_delim |
2801 |
-sharedstatedir!$sharedstatedir$ac_delim |
2802 |
-localstatedir!$localstatedir$ac_delim |
2803 |
-includedir!$includedir$ac_delim |
2804 |
-oldincludedir!$oldincludedir$ac_delim |
2805 |
-docdir!$docdir$ac_delim |
2806 |
-infodir!$infodir$ac_delim |
2807 |
-htmldir!$htmldir$ac_delim |
2808 |
-dvidir!$dvidir$ac_delim |
2809 |
-pdfdir!$pdfdir$ac_delim |
2810 |
-psdir!$psdir$ac_delim |
2811 |
-libdir!$libdir$ac_delim |
2812 |
-localedir!$localedir$ac_delim |
2813 |
-mandir!$mandir$ac_delim |
2814 |
-DEFS!$DEFS$ac_delim |
2815 |
-ECHO_C!$ECHO_C$ac_delim |
2816 |
-ECHO_N!$ECHO_N$ac_delim |
2817 |
-ECHO_T!$ECHO_T$ac_delim |
2818 |
-LIBS!$LIBS$ac_delim |
2819 |
-build_alias!$build_alias$ac_delim |
2820 |
-host_alias!$host_alias$ac_delim |
2821 |
-target_alias!$target_alias$ac_delim |
2822 |
-CC!$CC$ac_delim |
2823 |
-CFLAGS!$CFLAGS$ac_delim |
2824 |
-LDFLAGS!$LDFLAGS$ac_delim |
2825 |
-CPPFLAGS!$CPPFLAGS$ac_delim |
2826 |
-ac_ct_CC!$ac_ct_CC$ac_delim |
2827 |
-EXEEXT!$EXEEXT$ac_delim |
2828 |
-OBJEXT!$OBJEXT$ac_delim |
2829 |
-homedir!$homedir$ac_delim |
2830 |
-useradd_prog!$useradd_prog$ac_delim |
2831 |
-useradd_args!$useradd_args$ac_delim |
2832 |
-permmask!$permmask$ac_delim |
2833 |
-maxline!$maxline$ac_delim |
2834 |
-LIBOBJS!$LIBOBJS$ac_delim |
2835 |
-LTLIBOBJS!$LTLIBOBJS$ac_delim |
2836 |
-_ACEOF |
2837 |
+ . ./conf$$subs.sh || |
2838 |
+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
2839 |
+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
2840 |
+ { (exit 1); exit 1; }; } |
2841 |
|
2842 |
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then |
2843 |
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then |
2844 |
break |
2845 |
elif $ac_last_try; then |
2846 |
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
2847 |
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
2848 |
+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
2849 |
+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
2850 |
{ (exit 1); exit 1; }; } |
2851 |
else |
2852 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
2853 |
fi |
2854 |
done |
2855 |
+rm -f conf$$subs.sh |
2856 |
|
2857 |
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
2858 |
-if test -n "$ac_eof"; then |
2859 |
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
2860 |
- ac_eof=`expr $ac_eof + 1` |
2861 |
-fi |
2862 |
- |
2863 |
-cat >>$CONFIG_STATUS <<_ACEOF |
2864 |
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
2865 |
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
2866 |
-_ACEOF |
2867 |
-sed ' |
2868 |
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
2869 |
-s/^/s,@/; s/!/@,|#_!!_#|/ |
2870 |
-:n |
2871 |
-t n |
2872 |
-s/'"$ac_delim"'$/,g/; t |
2873 |
-s/$/\\/; p |
2874 |
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
2875 |
-' >>$CONFIG_STATUS <conf$$subs.sed |
2876 |
-rm -f conf$$subs.sed |
2877 |
-cat >>$CONFIG_STATUS <<_ACEOF |
2878 |
-:end |
2879 |
-s/|#_!!_#|//g |
2880 |
-CEOF$ac_eof |
2881 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
2882 |
+cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
2883 |
_ACEOF |
2884 |
+sed -n ' |
2885 |
+h |
2886 |
+s/^/S["/; s/!.*/"]=/ |
2887 |
+p |
2888 |
+g |
2889 |
+s/^[^!]*!// |
2890 |
+:repl |
2891 |
+t repl |
2892 |
+s/'"$ac_delim"'$// |
2893 |
+t delim |
2894 |
+:nl |
2895 |
+h |
2896 |
+s/\(.\{148\}\).*/\1/ |
2897 |
+t more1 |
2898 |
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
2899 |
+p |
2900 |
+n |
2901 |
+b repl |
2902 |
+:more1 |
2903 |
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
2904 |
+p |
2905 |
+g |
2906 |
+s/.\{148\}// |
2907 |
+t nl |
2908 |
+:delim |
2909 |
+h |
2910 |
+s/\(.\{148\}\).*/\1/ |
2911 |
+t more2 |
2912 |
+s/["\\]/\\&/g; s/^/"/; s/$/"/ |
2913 |
+p |
2914 |
+b |
2915 |
+:more2 |
2916 |
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
2917 |
+p |
2918 |
+g |
2919 |
+s/.\{148\}// |
2920 |
+t delim |
2921 |
+' <conf$$subs.awk | sed ' |
2922 |
+/^[^""]/{ |
2923 |
+ N |
2924 |
+ s/\n// |
2925 |
+} |
2926 |
+' >>$CONFIG_STATUS || ac_write_fail=1 |
2927 |
+rm -f conf$$subs.awk |
2928 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
2929 |
+_ACAWK |
2930 |
+cat >>"\$tmp/subs1.awk" <<_ACAWK && |
2931 |
+ for (key in S) S_is_set[key] = 1 |
2932 |
+ FS = "" |
2933 |
|
2934 |
+} |
2935 |
+{ |
2936 |
+ line = $ 0 |
2937 |
+ nfields = split(line, field, "@") |
2938 |
+ substed = 0 |
2939 |
+ len = length(field[1]) |
2940 |
+ for (i = 2; i < nfields; i++) { |
2941 |
+ key = field[i] |
2942 |
+ keylen = length(key) |
2943 |
+ if (S_is_set[key]) { |
2944 |
+ value = S[key] |
2945 |
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
2946 |
+ len += length(value) + length(field[++i]) |
2947 |
+ substed = 1 |
2948 |
+ } else |
2949 |
+ len += 1 + keylen |
2950 |
+ } |
2951 |
+ |
2952 |
+ print line |
2953 |
+} |
2954 |
+ |
2955 |
+_ACAWK |
2956 |
+_ACEOF |
2957 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
2958 |
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
2959 |
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
2960 |
+else |
2961 |
+ cat |
2962 |
+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
2963 |
+ || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
2964 |
+$as_echo "$as_me: error: could not setup config files machinery" >&2;} |
2965 |
+ { (exit 1); exit 1; }; } |
2966 |
+_ACEOF |
2967 |
|
2968 |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
2969 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
2970 |
@@ -3703,19 +4384,133 @@ |
2971 |
}' |
2972 |
fi |
2973 |
|
2974 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
2975 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
2976 |
fi # test -n "$CONFIG_FILES" |
2977 |
|
2978 |
+# Set up the scripts for CONFIG_HEADERS section. |
2979 |
+# No need to generate them if there are no CONFIG_HEADERS. |
2980 |
+# This happens for instance with `./config.status Makefile'. |
2981 |
+if test -n "$CONFIG_HEADERS"; then |
2982 |
+cat >"$tmp/defines.awk" <<\_ACAWK || |
2983 |
+BEGIN { |
2984 |
+_ACEOF |
2985 |
+ |
2986 |
+# Transform confdefs.h into an awk script `defines.awk', embedded as |
2987 |
+# here-document in config.status, that substitutes the proper values into |
2988 |
+# config.h.in to produce config.h. |
2989 |
+ |
2990 |
+# Create a delimiter string that does not exist in confdefs.h, to ease |
2991 |
+# handling of long lines. |
2992 |
+ac_delim='%!_!# ' |
2993 |
+for ac_last_try in false false :; do |
2994 |
+ ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
2995 |
+ if test -z "$ac_t"; then |
2996 |
+ break |
2997 |
+ elif $ac_last_try; then |
2998 |
+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
2999 |
+$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} |
3000 |
+ { (exit 1); exit 1; }; } |
3001 |
+ else |
3002 |
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
3003 |
+ fi |
3004 |
+done |
3005 |
+ |
3006 |
+# For the awk script, D is an array of macro values keyed by name, |
3007 |
+# likewise P contains macro parameters if any. Preserve backslash |
3008 |
+# newline sequences. |
3009 |
+ |
3010 |
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
3011 |
+sed -n ' |
3012 |
+s/.\{148\}/&'"$ac_delim"'/g |
3013 |
+t rset |
3014 |
+:rset |
3015 |
+s/^[ ]*#[ ]*define[ ][ ]*/ / |
3016 |
+t def |
3017 |
+d |
3018 |
+:def |
3019 |
+s/\\$// |
3020 |
+t bsnl |
3021 |
+s/["\\]/\\&/g |
3022 |
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
3023 |
+D["\1"]=" \3"/p |
3024 |
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
3025 |
+d |
3026 |
+:bsnl |
3027 |
+s/["\\]/\\&/g |
3028 |
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
3029 |
+D["\1"]=" \3\\\\\\n"\\/p |
3030 |
+t cont |
3031 |
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
3032 |
+t cont |
3033 |
+d |
3034 |
+:cont |
3035 |
+n |
3036 |
+s/.\{148\}/&'"$ac_delim"'/g |
3037 |
+t clear |
3038 |
+:clear |
3039 |
+s/\\$// |
3040 |
+t bsnlc |
3041 |
+s/["\\]/\\&/g; s/^/"/; s/$/"/p |
3042 |
+d |
3043 |
+:bsnlc |
3044 |
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
3045 |
+b cont |
3046 |
+' <confdefs.h | sed ' |
3047 |
+s/'"$ac_delim"'/"\\\ |
3048 |
+"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
3049 |
+ |
3050 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3051 |
+ for (key in D) D_is_set[key] = 1 |
3052 |
+ FS = "" |
3053 |
+} |
3054 |
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
3055 |
+ line = \$ 0 |
3056 |
+ split(line, arg, " ") |
3057 |
+ if (arg[1] == "#") { |
3058 |
+ defundef = arg[2] |
3059 |
+ mac1 = arg[3] |
3060 |
+ } else { |
3061 |
+ defundef = substr(arg[1], 2) |
3062 |
+ mac1 = arg[2] |
3063 |
+ } |
3064 |
+ split(mac1, mac2, "(") #) |
3065 |
+ macro = mac2[1] |
3066 |
+ if (D_is_set[macro]) { |
3067 |
+ # Preserve the white space surrounding the "#". |
3068 |
+ prefix = substr(line, 1, index(line, defundef) - 1) |
3069 |
+ print prefix "define", macro P[macro] D[macro] |
3070 |
+ next |
3071 |
+ } else { |
3072 |
+ # Replace #undef with comments. This is necessary, for example, |
3073 |
+ # in the case of _POSIX_SOURCE, which is predefined and required |
3074 |
+ # on some systems where configure will not decide to define it. |
3075 |
+ if (defundef == "undef") { |
3076 |
+ print "/*", line, "*/" |
3077 |
+ next |
3078 |
+ } |
3079 |
+ } |
3080 |
+} |
3081 |
+{ print } |
3082 |
+_ACAWK |
3083 |
+_ACEOF |
3084 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3085 |
+ { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
3086 |
+$as_echo "$as_me: error: could not setup config headers machinery" >&2;} |
3087 |
+ { (exit 1); exit 1; }; } |
3088 |
+fi # test -n "$CONFIG_HEADERS" |
3089 |
+ |
3090 |
|
3091 |
-for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS |
3092 |
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " |
3093 |
+shift |
3094 |
+for ac_tag |
3095 |
do |
3096 |
case $ac_tag in |
3097 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
3098 |
esac |
3099 |
case $ac_mode$ac_tag in |
3100 |
:[FHL]*:*);; |
3101 |
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
3102 |
-echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
3103 |
+ :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
3104 |
+$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
3105 |
{ (exit 1); exit 1; }; };; |
3106 |
:[FH]-) ac_tag=-:-;; |
3107 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
3108 |
@@ -3744,26 +4539,38 @@ |
3109 |
[\\/$]*) false;; |
3110 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
3111 |
esac || |
3112 |
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
3113 |
-echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
3114 |
+ { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
3115 |
+$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
3116 |
{ (exit 1); exit 1; }; };; |
3117 |
esac |
3118 |
- ac_file_inputs="$ac_file_inputs $ac_f" |
3119 |
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
3120 |
+ ac_file_inputs="$ac_file_inputs '$ac_f'" |
3121 |
done |
3122 |
|
3123 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
3124 |
# use $as_me), people would be surprised to read: |
3125 |
# /* config.h. Generated by config.status. */ |
3126 |
- configure_input="Generated from "`IFS=: |
3127 |
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
3128 |
+ configure_input='Generated from '` |
3129 |
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
3130 |
+ `' by configure.' |
3131 |
if test x"$ac_file" != x-; then |
3132 |
configure_input="$ac_file. $configure_input" |
3133 |
- { echo "$as_me:$LINENO: creating $ac_file" >&5 |
3134 |
-echo "$as_me: creating $ac_file" >&6;} |
3135 |
+ { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
3136 |
+$as_echo "$as_me: creating $ac_file" >&6;} |
3137 |
fi |
3138 |
+ # Neutralize special characters interpreted by sed in replacement strings. |
3139 |
+ case $configure_input in #( |
3140 |
+ *\&* | *\|* | *\\* ) |
3141 |
+ ac_sed_conf_input=`$as_echo "$configure_input" | |
3142 |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #( |
3143 |
+ *) ac_sed_conf_input=$configure_input;; |
3144 |
+ esac |
3145 |
|
3146 |
case $ac_tag in |
3147 |
- *:-:* | *:-) cat >"$tmp/stdin";; |
3148 |
+ *:-:* | *:-) cat >"$tmp/stdin" \ |
3149 |
+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
3150 |
+$as_echo "$as_me: error: could not create $ac_file" >&2;} |
3151 |
+ { (exit 1); exit 1; }; } ;; |
3152 |
esac |
3153 |
;; |
3154 |
esac |
3155 |
@@ -3773,7 +4580,7 @@ |
3156 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
3157 |
X"$ac_file" : 'X\(//\)$' \| \ |
3158 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
3159 |
-echo X"$ac_file" | |
3160 |
+$as_echo X"$ac_file" | |
3161 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
3162 |
s//\1/ |
3163 |
q |
3164 |
@@ -3799,7 +4606,7 @@ |
3165 |
as_dirs= |
3166 |
while :; do |
3167 |
case $as_dir in #( |
3168 |
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
3169 |
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
3170 |
*) as_qdir=$as_dir;; |
3171 |
esac |
3172 |
as_dirs="'$as_qdir' $as_dirs" |
3173 |
@@ -3808,7 +4615,7 @@ |
3174 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
3175 |
X"$as_dir" : 'X\(//\)$' \| \ |
3176 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
3177 |
-echo X"$as_dir" | |
3178 |
+$as_echo X"$as_dir" | |
3179 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
3180 |
s//\1/ |
3181 |
q |
3182 |
@@ -3829,17 +4636,17 @@ |
3183 |
test -d "$as_dir" && break |
3184 |
done |
3185 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
3186 |
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
3187 |
-echo "$as_me: error: cannot create directory $as_dir" >&2;} |
3188 |
+ } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
3189 |
+$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
3190 |
{ (exit 1); exit 1; }; }; } |
3191 |
ac_builddir=. |
3192 |
|
3193 |
case "$ac_dir" in |
3194 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
3195 |
*) |
3196 |
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
3197 |
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
3198 |
# A ".." for each directory in $ac_dir_suffix. |
3199 |
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
3200 |
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
3201 |
case $ac_top_builddir_sub in |
3202 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
3203 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
3204 |
@@ -3875,12 +4682,13 @@ |
3205 |
|
3206 |
_ACEOF |
3207 |
|
3208 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
3209 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3210 |
# If the template does not know about datarootdir, expand it. |
3211 |
# FIXME: This hack should be removed a few years after 2.60. |
3212 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
3213 |
|
3214 |
-case `sed -n '/datarootdir/ { |
3215 |
+ac_sed_dataroot=' |
3216 |
+/datarootdir/ { |
3217 |
p |
3218 |
q |
3219 |
} |
3220 |
@@ -3889,13 +4697,14 @@ |
3221 |
/@infodir@/p |
3222 |
/@localedir@/p |
3223 |
/@mandir@/p |
3224 |
-' $ac_file_inputs` in |
3225 |
+' |
3226 |
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
3227 |
*datarootdir*) ac_datarootdir_seen=yes;; |
3228 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
3229 |
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
3230 |
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
3231 |
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
3232 |
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
3233 |
_ACEOF |
3234 |
-cat >>$CONFIG_STATUS <<_ACEOF |
3235 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3236 |
ac_datarootdir_hack=' |
3237 |
s&@datadir@&$datadir&g |
3238 |
s&@docdir@&$docdir&g |
3239 |
@@ -3909,15 +4718,16 @@ |
3240 |
# Neutralize VPATH when `$srcdir' = `.'. |
3241 |
# Shell code in configure.ac might set extrasub. |
3242 |
# FIXME: do we really want to maintain this feature? |
3243 |
-cat >>$CONFIG_STATUS <<_ACEOF |
3244 |
- sed "$ac_vpsub |
3245 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3246 |
+ac_sed_extra="$ac_vpsub |
3247 |
$extrasub |
3248 |
_ACEOF |
3249 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
3250 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3251 |
:t |
3252 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
3253 |
-s&@configure_input@&$configure_input&;t t |
3254 |
+s|@configure_input@|$ac_sed_conf_input|;t t |
3255 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
3256 |
+s&@top_build_prefix@&$ac_top_build_prefix&;t t |
3257 |
s&@srcdir@&$ac_srcdir&;t t |
3258 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
3259 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
3260 |
@@ -3926,119 +4736,58 @@ |
3261 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
3262 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
3263 |
$ac_datarootdir_hack |
3264 |
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
3265 |
+" |
3266 |
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
3267 |
+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
3268 |
+$as_echo "$as_me: error: could not create $ac_file" >&2;} |
3269 |
+ { (exit 1); exit 1; }; } |
3270 |
|
3271 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
3272 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
3273 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
3274 |
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
3275 |
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
3276 |
which seems to be undefined. Please make sure it is defined." >&5 |
3277 |
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
3278 |
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
3279 |
which seems to be undefined. Please make sure it is defined." >&2;} |
3280 |
|
3281 |
rm -f "$tmp/stdin" |
3282 |
case $ac_file in |
3283 |
- -) cat "$tmp/out"; rm -f "$tmp/out";; |
3284 |
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
3285 |
- esac |
3286 |
+ -) cat "$tmp/out" && rm -f "$tmp/out";; |
3287 |
+ *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
3288 |
+ esac \ |
3289 |
+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
3290 |
+$as_echo "$as_me: error: could not create $ac_file" >&2;} |
3291 |
+ { (exit 1); exit 1; }; } |
3292 |
;; |
3293 |
:H) |
3294 |
# |
3295 |
# CONFIG_HEADER |
3296 |
# |
3297 |
-_ACEOF |
3298 |
- |
3299 |
-# Transform confdefs.h into a sed script `conftest.defines', that |
3300 |
-# substitutes the proper values into config.h.in to produce config.h. |
3301 |
-rm -f conftest.defines conftest.tail |
3302 |
-# First, append a space to every undef/define line, to ease matching. |
3303 |
-echo 's/$/ /' >conftest.defines |
3304 |
-# Then, protect against being on the right side of a sed subst, or in |
3305 |
-# an unquoted here document, in config.status. If some macros were |
3306 |
-# called several times there might be several #defines for the same |
3307 |
-# symbol, which is useless. But do not sort them, since the last |
3308 |
-# AC_DEFINE must be honored. |
3309 |
-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
3310 |
-# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
3311 |
-# NAME is the cpp macro being defined, VALUE is the value it is being given. |
3312 |
-# PARAMS is the parameter list in the macro definition--in most cases, it's |
3313 |
-# just an empty string. |
3314 |
-ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
3315 |
-ac_dB='\\)[ (].*,\\1define\\2' |
3316 |
-ac_dC=' ' |
3317 |
-ac_dD=' ,' |
3318 |
- |
3319 |
-uniq confdefs.h | |
3320 |
- sed -n ' |
3321 |
- t rset |
3322 |
- :rset |
3323 |
- s/^[ ]*#[ ]*define[ ][ ]*// |
3324 |
- t ok |
3325 |
- d |
3326 |
- :ok |
3327 |
- s/[\\&,]/\\&/g |
3328 |
- s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
3329 |
- s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
3330 |
- ' >>conftest.defines |
3331 |
- |
3332 |
-# Remove the space that was appended to ease matching. |
3333 |
-# Then replace #undef with comments. This is necessary, for |
3334 |
-# example, in the case of _POSIX_SOURCE, which is predefined and required |
3335 |
-# on some systems where configure will not decide to define it. |
3336 |
-# (The regexp can be short, since the line contains either #define or #undef.) |
3337 |
-echo 's/ $// |
3338 |
-s,^[ #]*u.*,/* & */,' >>conftest.defines |
3339 |
- |
3340 |
-# Break up conftest.defines: |
3341 |
-ac_max_sed_lines=50 |
3342 |
- |
3343 |
-# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
3344 |
-# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
3345 |
-# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
3346 |
-# et cetera. |
3347 |
-ac_in='$ac_file_inputs' |
3348 |
-ac_out='"$tmp/out1"' |
3349 |
-ac_nxt='"$tmp/out2"' |
3350 |
- |
3351 |
-while : |
3352 |
-do |
3353 |
- # Write a here document: |
3354 |
- cat >>$CONFIG_STATUS <<_ACEOF |
3355 |
- # First, check the format of the line: |
3356 |
- cat >"\$tmp/defines.sed" <<\\CEOF |
3357 |
-/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
3358 |
-/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
3359 |
-b |
3360 |
-:def |
3361 |
-_ACEOF |
3362 |
- sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
3363 |
- echo 'CEOF |
3364 |
- sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
3365 |
- ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
3366 |
- sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
3367 |
- grep . conftest.tail >/dev/null || break |
3368 |
- rm -f conftest.defines |
3369 |
- mv conftest.tail conftest.defines |
3370 |
-done |
3371 |
-rm -f conftest.defines conftest.tail |
3372 |
- |
3373 |
-echo "ac_result=$ac_in" >>$CONFIG_STATUS |
3374 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
3375 |
if test x"$ac_file" != x-; then |
3376 |
- echo "/* $configure_input */" >"$tmp/config.h" |
3377 |
- cat "$ac_result" >>"$tmp/config.h" |
3378 |
- if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
3379 |
- { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
3380 |
-echo "$as_me: $ac_file is unchanged" >&6;} |
3381 |
+ { |
3382 |
+ $as_echo "/* $configure_input */" \ |
3383 |
+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
3384 |
+ } >"$tmp/config.h" \ |
3385 |
+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
3386 |
+$as_echo "$as_me: error: could not create $ac_file" >&2;} |
3387 |
+ { (exit 1); exit 1; }; } |
3388 |
+ if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
3389 |
+ { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
3390 |
+$as_echo "$as_me: $ac_file is unchanged" >&6;} |
3391 |
else |
3392 |
- rm -f $ac_file |
3393 |
- mv "$tmp/config.h" $ac_file |
3394 |
+ rm -f "$ac_file" |
3395 |
+ mv "$tmp/config.h" "$ac_file" \ |
3396 |
+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
3397 |
+$as_echo "$as_me: error: could not create $ac_file" >&2;} |
3398 |
+ { (exit 1); exit 1; }; } |
3399 |
fi |
3400 |
else |
3401 |
- echo "/* $configure_input */" |
3402 |
- cat "$ac_result" |
3403 |
+ $as_echo "/* $configure_input */" \ |
3404 |
+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
3405 |
+ || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
3406 |
+$as_echo "$as_me: error: could not create -" >&2;} |
3407 |
+ { (exit 1); exit 1; }; } |
3408 |
fi |
3409 |
- rm -f "$tmp/out12" |
3410 |
;; |
3411 |
|
3412 |
|
3413 |
@@ -4052,6 +4801,11 @@ |
3414 |
chmod +x $CONFIG_STATUS |
3415 |
ac_clean_files=$ac_clean_files_save |
3416 |
|
3417 |
+test $ac_write_fail = 0 || |
3418 |
+ { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
3419 |
+$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} |
3420 |
+ { (exit 1); exit 1; }; } |
3421 |
+ |
3422 |
|
3423 |
# configure is writing to config.log, and then calls config.status. |
3424 |
# config.status does its own redirection, appending to config.log. |
3425 |
@@ -4073,4 +4827,8 @@ |
3426 |
# would make configure fail if this is the last instruction. |
3427 |
$ac_cs_success || { (exit 1); exit 1; } |
3428 |
fi |
3429 |
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
3430 |
+ { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 |
3431 |
+$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} |
3432 |
+fi |
3433 |
|