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