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