Remove junk left from import
Willi Mann
11 years ago
0 | @%:@! /bin/sh | |
1 | @%:@ Guess values for system-dependent variables and create Makefiles. | |
2 | @%:@ Generated by GNU Autoconf 2.63 for unrtf 0.21.2. | |
3 | @%:@ | |
4 | @%:@ Report bugs to <bug-unrtf@gnu.org>. | |
5 | @%:@ | |
6 | @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
7 | @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
8 | @%:@ This configure script is free software; the Free Software Foundation | |
9 | @%:@ gives unlimited permission to copy, distribute and modify it. | |
10 | ## --------------------- ## | |
11 | ## M4sh Initialization. ## | |
12 | ## --------------------- ## | |
13 | ||
14 | # Be more Bourne compatible | |
15 | DUALCASE=1; export DUALCASE # for MKS sh | |
16 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
17 | emulate sh | |
18 | NULLCMD=: | |
19 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
20 | # is contrary to our usage. Disable this feature. | |
21 | alias -g '${1+"$@"}'='"$@"' | |
22 | setopt NO_GLOB_SUBST | |
23 | else | |
24 | case `(set -o) 2>/dev/null` in | |
25 | *posix*) set -o posix ;; | |
26 | esac | |
27 | ||
28 | fi | |
29 | ||
30 | ||
31 | ||
32 | ||
33 | # PATH needs CR | |
34 | # Avoid depending upon Character Ranges. | |
35 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
36 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
37 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
38 | as_cr_digits='0123456789' | |
39 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
40 | ||
41 | as_nl=' | |
42 | ' | |
43 | export as_nl | |
44 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
45 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
46 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
47 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
48 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
49 | as_echo='printf %s\n' | |
50 | as_echo_n='printf %s' | |
51 | else | |
52 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
53 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
54 | as_echo_n='/usr/ucb/echo -n' | |
55 | else | |
56 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
57 | as_echo_n_body='eval | |
58 | arg=$1; | |
59 | case $arg in | |
60 | *"$as_nl"*) | |
61 | expr "X$arg" : "X\\(.*\\)$as_nl"; | |
62 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
63 | esac; | |
64 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
65 | ' | |
66 | export as_echo_n_body | |
67 | as_echo_n='sh -c $as_echo_n_body as_echo' | |
68 | fi | |
69 | export as_echo_body | |
70 | as_echo='sh -c $as_echo_body as_echo' | |
71 | fi | |
72 | ||
73 | # The user is always right. | |
74 | if test "${PATH_SEPARATOR+set}" != set; then | |
75 | PATH_SEPARATOR=: | |
76 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
77 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
78 | PATH_SEPARATOR=';' | |
79 | } | |
80 | fi | |
81 | ||
82 | # Support unset when possible. | |
83 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
84 | as_unset=unset | |
85 | else | |
86 | as_unset=false | |
87 | fi | |
88 | ||
89 | ||
90 | # IFS | |
91 | # We need space, tab and new line, in precisely that order. Quoting is | |
92 | # there to prevent editors from complaining about space-tab. | |
93 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
94 | # splitting by setting IFS to empty value.) | |
95 | IFS=" "" $as_nl" | |
96 | ||
97 | # Find who we are. Look in the path if we contain no directory separator. | |
98 | case $0 in | |
99 | *[\\/]* ) as_myself=$0 ;; | |
100 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
101 | for as_dir in $PATH | |
102 | do | |
103 | IFS=$as_save_IFS | |
104 | test -z "$as_dir" && as_dir=. | |
105 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
106 | done | |
107 | IFS=$as_save_IFS | |
108 | ||
109 | ;; | |
110 | esac | |
111 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
112 | # in which case we are not to be found in the path. | |
113 | if test "x$as_myself" = x; then | |
114 | as_myself=$0 | |
115 | fi | |
116 | if test ! -f "$as_myself"; then | |
117 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
118 | { (exit 1); exit 1; } | |
119 | fi | |
120 | ||
121 | # Work around bugs in pre-3.0 UWIN ksh. | |
122 | for as_var in ENV MAIL MAILPATH | |
123 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
124 | done | |
125 | PS1='$ ' | |
126 | PS2='> ' | |
127 | PS4='+ ' | |
128 | ||
129 | # NLS nuisances. | |
130 | LC_ALL=C | |
131 | export LC_ALL | |
132 | LANGUAGE=C | |
133 | export LANGUAGE | |
134 | ||
135 | # Required to use basename. | |
136 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
137 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
138 | as_expr=expr | |
139 | else | |
140 | as_expr=false | |
141 | fi | |
142 | ||
143 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
144 | as_basename=basename | |
145 | else | |
146 | as_basename=false | |
147 | fi | |
148 | ||
149 | ||
150 | # Name of the executable. | |
151 | as_me=`$as_basename -- "$0" || | |
152 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
153 | X"$0" : 'X\(//\)$' \| \ | |
154 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
155 | $as_echo X/"$0" | | |
156 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
157 | s//\1/ | |
158 | q | |
159 | } | |
160 | /^X\/\(\/\/\)$/{ | |
161 | s//\1/ | |
162 | q | |
163 | } | |
164 | /^X\/\(\/\).*/{ | |
165 | s//\1/ | |
166 | q | |
167 | } | |
168 | s/.*/./; q'` | |
169 | ||
170 | # CDPATH. | |
171 | $as_unset CDPATH | |
172 | ||
173 | ||
174 | if test "x$CONFIG_SHELL" = x; then | |
175 | if (eval ":") 2>/dev/null; then | |
176 | as_have_required=yes | |
177 | else | |
178 | as_have_required=no | |
179 | fi | |
180 | ||
181 | if test $as_have_required = yes && (eval ": | |
182 | (as_func_return () { | |
183 | (exit \$1) | |
184 | } | |
185 | as_func_success () { | |
186 | as_func_return 0 | |
187 | } | |
188 | as_func_failure () { | |
189 | as_func_return 1 | |
190 | } | |
191 | as_func_ret_success () { | |
192 | return 0 | |
193 | } | |
194 | as_func_ret_failure () { | |
195 | return 1 | |
196 | } | |
197 | ||
198 | exitcode=0 | |
199 | if as_func_success; then | |
200 | : | |
201 | else | |
202 | exitcode=1 | |
203 | echo as_func_success failed. | |
204 | fi | |
205 | ||
206 | if as_func_failure; then | |
207 | exitcode=1 | |
208 | echo as_func_failure succeeded. | |
209 | fi | |
210 | ||
211 | if as_func_ret_success; then | |
212 | : | |
213 | else | |
214 | exitcode=1 | |
215 | echo as_func_ret_success failed. | |
216 | fi | |
217 | ||
218 | if as_func_ret_failure; then | |
219 | exitcode=1 | |
220 | echo as_func_ret_failure succeeded. | |
221 | fi | |
222 | ||
223 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
224 | : | |
225 | else | |
226 | exitcode=1 | |
227 | echo positional parameters were not saved. | |
228 | fi | |
229 | ||
230 | test \$exitcode = 0) || { (exit 1); exit 1; } | |
231 | ||
232 | ( | |
233 | as_lineno_1=\$LINENO | |
234 | as_lineno_2=\$LINENO | |
235 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | |
236 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | |
237 | ") 2> /dev/null; then | |
238 | : | |
239 | else | |
240 | as_candidate_shells= | |
241 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
242 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
243 | do | |
244 | IFS=$as_save_IFS | |
245 | test -z "$as_dir" && as_dir=. | |
246 | case $as_dir in | |
247 | /*) | |
248 | for as_base in sh bash ksh sh5; do | |
249 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | |
250 | done;; | |
251 | esac | |
252 | done | |
253 | IFS=$as_save_IFS | |
254 | ||
255 | ||
256 | for as_shell in $as_candidate_shells $SHELL; do | |
257 | # Try only shells that exist, to save several forks. | |
258 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
259 | { ("$as_shell") 2> /dev/null <<\_ASEOF | |
260 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
261 | emulate sh | |
262 | NULLCMD=: | |
263 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
264 | # is contrary to our usage. Disable this feature. | |
265 | alias -g '${1+"$@"}'='"$@"' | |
266 | setopt NO_GLOB_SUBST | |
267 | else | |
268 | case `(set -o) 2>/dev/null` in | |
269 | *posix*) set -o posix ;; | |
270 | esac | |
271 | ||
272 | fi | |
273 | ||
274 | ||
275 | : | |
276 | _ASEOF | |
277 | }; then | |
278 | CONFIG_SHELL=$as_shell | |
279 | as_have_required=yes | |
280 | if { "$as_shell" 2> /dev/null <<\_ASEOF | |
281 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
282 | emulate sh | |
283 | NULLCMD=: | |
284 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
285 | # is contrary to our usage. Disable this feature. | |
286 | alias -g '${1+"$@"}'='"$@"' | |
287 | setopt NO_GLOB_SUBST | |
288 | else | |
289 | case `(set -o) 2>/dev/null` in | |
290 | *posix*) set -o posix ;; | |
291 | esac | |
292 | ||
293 | fi | |
294 | ||
295 | ||
296 | : | |
297 | (as_func_return () { | |
298 | (exit $1) | |
299 | } | |
300 | as_func_success () { | |
301 | as_func_return 0 | |
302 | } | |
303 | as_func_failure () { | |
304 | as_func_return 1 | |
305 | } | |
306 | as_func_ret_success () { | |
307 | return 0 | |
308 | } | |
309 | as_func_ret_failure () { | |
310 | return 1 | |
311 | } | |
312 | ||
313 | exitcode=0 | |
314 | if as_func_success; then | |
315 | : | |
316 | else | |
317 | exitcode=1 | |
318 | echo as_func_success failed. | |
319 | fi | |
320 | ||
321 | if as_func_failure; then | |
322 | exitcode=1 | |
323 | echo as_func_failure succeeded. | |
324 | fi | |
325 | ||
326 | if as_func_ret_success; then | |
327 | : | |
328 | else | |
329 | exitcode=1 | |
330 | echo as_func_ret_success failed. | |
331 | fi | |
332 | ||
333 | if as_func_ret_failure; then | |
334 | exitcode=1 | |
335 | echo as_func_ret_failure succeeded. | |
336 | fi | |
337 | ||
338 | if ( set x; as_func_ret_success y && test x = "$1" ); then | |
339 | : | |
340 | else | |
341 | exitcode=1 | |
342 | echo positional parameters were not saved. | |
343 | fi | |
344 | ||
345 | test $exitcode = 0) || { (exit 1); exit 1; } | |
346 | ||
347 | ( | |
348 | as_lineno_1=$LINENO | |
349 | as_lineno_2=$LINENO | |
350 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
351 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | |
352 | ||
353 | _ASEOF | |
354 | }; then | |
355 | break | |
356 | fi | |
357 | ||
358 | fi | |
359 | ||
360 | done | |
361 | ||
362 | if test "x$CONFIG_SHELL" != x; then | |
363 | for as_var in BASH_ENV ENV | |
364 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
365 | done | |
366 | export CONFIG_SHELL | |
367 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
368 | fi | |
369 | ||
370 | ||
371 | if test $as_have_required = no; then | |
372 | echo This script requires a shell more modern than all the | |
373 | echo shells that I found on your system. Please install a | |
374 | echo modern shell, or manually run the script under such a | |
375 | echo shell if you do have one. | |
376 | { (exit 1); exit 1; } | |
377 | fi | |
378 | ||
379 | ||
380 | fi | |
381 | ||
382 | fi | |
383 | ||
384 | ||
385 | ||
386 | (eval "as_func_return () { | |
387 | (exit \$1) | |
388 | } | |
389 | as_func_success () { | |
390 | as_func_return 0 | |
391 | } | |
392 | as_func_failure () { | |
393 | as_func_return 1 | |
394 | } | |
395 | as_func_ret_success () { | |
396 | return 0 | |
397 | } | |
398 | as_func_ret_failure () { | |
399 | return 1 | |
400 | } | |
401 | ||
402 | exitcode=0 | |
403 | if as_func_success; then | |
404 | : | |
405 | else | |
406 | exitcode=1 | |
407 | echo as_func_success failed. | |
408 | fi | |
409 | ||
410 | if as_func_failure; then | |
411 | exitcode=1 | |
412 | echo as_func_failure succeeded. | |
413 | fi | |
414 | ||
415 | if as_func_ret_success; then | |
416 | : | |
417 | else | |
418 | exitcode=1 | |
419 | echo as_func_ret_success failed. | |
420 | fi | |
421 | ||
422 | if as_func_ret_failure; then | |
423 | exitcode=1 | |
424 | echo as_func_ret_failure succeeded. | |
425 | fi | |
426 | ||
427 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
428 | : | |
429 | else | |
430 | exitcode=1 | |
431 | echo positional parameters were not saved. | |
432 | fi | |
433 | ||
434 | test \$exitcode = 0") || { | |
435 | echo No shell found that supports shell functions. | |
436 | echo Please tell bug-autoconf@gnu.org about your system, | |
437 | echo including any error possibly output before this message. | |
438 | echo This can help us improve future autoconf versions. | |
439 | echo Configuration will now proceed without shell functions. | |
440 | } | |
441 | ||
442 | ||
443 | ||
444 | as_lineno_1=$LINENO | |
445 | as_lineno_2=$LINENO | |
446 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
447 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
448 | ||
449 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
450 | # uniformly replaced by the line number. The first 'sed' inserts a | |
451 | # line-number line after each line using $LINENO; the second 'sed' | |
452 | # does the real work. The second script uses 'N' to pair each | |
453 | # line-number line with the line containing $LINENO, and appends | |
454 | # trailing '-' during substitution so that $LINENO is not a special | |
455 | # case at line end. | |
456 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
457 | # scripts with optimization help from Paolo Bonzini. Blame Lee | |
458 | # E. McMahon (1931-1989) for sed's syntax. :-) | |
459 | sed -n ' | |
460 | p | |
461 | /[$]LINENO/= | |
462 | ' <$as_myself | | |
463 | sed ' | |
464 | s/[$]LINENO.*/&-/ | |
465 | t lineno | |
466 | b | |
467 | :lineno | |
468 | N | |
469 | :loop | |
470 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
471 | t loop | |
472 | s/-\n.*// | |
473 | ' >$as_me.lineno && | |
474 | chmod +x "$as_me.lineno" || | |
475 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
476 | { (exit 1); exit 1; }; } | |
477 | ||
478 | # Don't try to exec as it changes $[0], causing all sort of problems | |
479 | # (the dirname of $[0] is not the place where we might find the | |
480 | # original and so on. Autoconf is especially sensitive to this). | |
481 | . "./$as_me.lineno" | |
482 | # Exit status is that of the last command. | |
483 | exit | |
484 | } | |
485 | ||
486 | ||
487 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
488 | as_dirname=dirname | |
489 | else | |
490 | as_dirname=false | |
491 | fi | |
492 | ||
493 | ECHO_C= ECHO_N= ECHO_T= | |
494 | case `echo -n x` in | |
495 | -n*) | |
496 | case `echo 'x\c'` in | |
497 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
498 | *) ECHO_C='\c';; | |
499 | esac;; | |
500 | *) | |
501 | ECHO_N='-n';; | |
502 | esac | |
503 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
504 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
505 | as_expr=expr | |
506 | else | |
507 | as_expr=false | |
508 | fi | |
509 | ||
510 | rm -f conf$$ conf$$.exe conf$$.file | |
511 | if test -d conf$$.dir; then | |
512 | rm -f conf$$.dir/conf$$.file | |
513 | else | |
514 | rm -f conf$$.dir | |
515 | mkdir conf$$.dir 2>/dev/null | |
516 | fi | |
517 | if (echo >conf$$.file) 2>/dev/null; then | |
518 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
519 | as_ln_s='ln -s' | |
520 | # ... but there are two gotchas: | |
521 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
522 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
523 | # In both cases, we have to default to `cp -p'. | |
524 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
525 | as_ln_s='cp -p' | |
526 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
527 | as_ln_s=ln | |
528 | else | |
529 | as_ln_s='cp -p' | |
530 | fi | |
531 | else | |
532 | as_ln_s='cp -p' | |
533 | fi | |
534 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
535 | rmdir conf$$.dir 2>/dev/null | |
536 | ||
537 | if mkdir -p . 2>/dev/null; then | |
538 | as_mkdir_p=: | |
539 | else | |
540 | test -d ./-p && rmdir ./-p | |
541 | as_mkdir_p=false | |
542 | fi | |
543 | ||
544 | if test -x / >/dev/null 2>&1; then | |
545 | as_test_x='test -x' | |
546 | else | |
547 | if ls -dL / >/dev/null 2>&1; then | |
548 | as_ls_L_option=L | |
549 | else | |
550 | as_ls_L_option= | |
551 | fi | |
552 | as_test_x=' | |
553 | eval sh -c '\'' | |
554 | if test -d "$1"; then | |
555 | test -d "$1/."; | |
556 | else | |
557 | case $1 in | |
558 | -*)set "./$1";; | |
559 | esac; | |
560 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
561 | ???[sx]*):;;*)false;;esac;fi | |
562 | '\'' sh | |
563 | ' | |
564 | fi | |
565 | as_executable_p=$as_test_x | |
566 | ||
567 | # Sed expression to map a string onto a valid CPP name. | |
568 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
569 | ||
570 | # Sed expression to map a string onto a valid variable name. | |
571 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
572 | ||
573 | ||
574 | ||
575 | exec 7<&0 </dev/null 6>&1 | |
576 | ||
577 | # Name of the host. | |
578 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
579 | # so uname gets run too. | |
580 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
581 | ||
582 | # | |
583 | # Initializations. | |
584 | # | |
585 | ac_default_prefix=/usr/local | |
586 | ac_clean_files= | |
587 | ac_config_libobj_dir=. | |
588 | LIB@&t@OBJS= | |
589 | cross_compiling=no | |
590 | subdirs= | |
591 | MFLAGS= | |
592 | MAKEFLAGS= | |
593 | SHELL=${CONFIG_SHELL-/bin/sh} | |
594 | ||
595 | # Identity of this package. | |
596 | PACKAGE_NAME='unrtf' | |
597 | PACKAGE_TARNAME='unrtf' | |
598 | PACKAGE_VERSION='0.21.2' | |
599 | PACKAGE_STRING='unrtf 0.21.2' | |
600 | PACKAGE_BUGREPORT='bug-unrtf@gnu.org' | |
601 | ||
602 | ac_unique_file="src/attr.c" | |
603 | # Factoring default headers for most tests. | |
604 | ac_includes_default="\ | |
605 | #include <stdio.h> | |
606 | #ifdef HAVE_SYS_TYPES_H | |
607 | # include <sys/types.h> | |
608 | #endif | |
609 | #ifdef HAVE_SYS_STAT_H | |
610 | # include <sys/stat.h> | |
611 | #endif | |
612 | #ifdef STDC_HEADERS | |
613 | # include <stdlib.h> | |
614 | # include <stddef.h> | |
615 | #else | |
616 | # ifdef HAVE_STDLIB_H | |
617 | # include <stdlib.h> | |
618 | # endif | |
619 | #endif | |
620 | #ifdef HAVE_STRING_H | |
621 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | |
622 | # include <memory.h> | |
623 | # endif | |
624 | # include <string.h> | |
625 | #endif | |
626 | #ifdef HAVE_STRINGS_H | |
627 | # include <strings.h> | |
628 | #endif | |
629 | #ifdef HAVE_INTTYPES_H | |
630 | # include <inttypes.h> | |
631 | #endif | |
632 | #ifdef HAVE_STDINT_H | |
633 | # include <stdint.h> | |
634 | #endif | |
635 | #ifdef HAVE_UNISTD_H | |
636 | # include <unistd.h> | |
637 | #endif" | |
638 | ||
639 | ac_subst_vars='am__EXEEXT_FALSE | |
640 | am__EXEEXT_TRUE | |
641 | LTLIBOBJS | |
642 | host_os | |
643 | host_vendor | |
644 | host_cpu | |
645 | host | |
646 | build_os | |
647 | build_vendor | |
648 | build_cpu | |
649 | build | |
650 | LIB@&t@OBJS | |
651 | EGREP | |
652 | GREP | |
653 | CPP | |
654 | am__fastdepCC_FALSE | |
655 | am__fastdepCC_TRUE | |
656 | CCDEPMODE | |
657 | AMDEPBACKSLASH | |
658 | AMDEP_FALSE | |
659 | AMDEP_TRUE | |
660 | am__quote | |
661 | am__include | |
662 | DEPDIR | |
663 | OBJEXT | |
664 | EXEEXT | |
665 | ac_ct_CC | |
666 | CPPFLAGS | |
667 | LDFLAGS | |
668 | CFLAGS | |
669 | CC | |
670 | MAINT | |
671 | MAINTAINER_MODE_FALSE | |
672 | MAINTAINER_MODE_TRUE | |
673 | am__untar | |
674 | am__tar | |
675 | AMTAR | |
676 | am__leading_dot | |
677 | SET_MAKE | |
678 | AWK | |
679 | mkdir_p | |
680 | MKDIR_P | |
681 | INSTALL_STRIP_PROGRAM | |
682 | STRIP | |
683 | install_sh | |
684 | MAKEINFO | |
685 | AUTOHEADER | |
686 | AUTOMAKE | |
687 | AUTOCONF | |
688 | ACLOCAL | |
689 | VERSION | |
690 | PACKAGE | |
691 | CYGPATH_W | |
692 | am__isrc | |
693 | INSTALL_DATA | |
694 | INSTALL_SCRIPT | |
695 | INSTALL_PROGRAM | |
696 | target_alias | |
697 | host_alias | |
698 | build_alias | |
699 | LIBS | |
700 | ECHO_T | |
701 | ECHO_N | |
702 | ECHO_C | |
703 | DEFS | |
704 | mandir | |
705 | localedir | |
706 | libdir | |
707 | psdir | |
708 | pdfdir | |
709 | dvidir | |
710 | htmldir | |
711 | infodir | |
712 | docdir | |
713 | oldincludedir | |
714 | includedir | |
715 | localstatedir | |
716 | sharedstatedir | |
717 | sysconfdir | |
718 | datadir | |
719 | datarootdir | |
720 | libexecdir | |
721 | sbindir | |
722 | bindir | |
723 | program_transform_name | |
724 | prefix | |
725 | exec_prefix | |
726 | PACKAGE_BUGREPORT | |
727 | PACKAGE_STRING | |
728 | PACKAGE_VERSION | |
729 | PACKAGE_TARNAME | |
730 | PACKAGE_NAME | |
731 | PATH_SEPARATOR | |
732 | SHELL' | |
733 | ac_subst_files='' | |
734 | ac_user_opts=' | |
735 | enable_option_checking | |
736 | enable_maintainer_mode | |
737 | enable_dependency_tracking | |
738 | ' | |
739 | ac_precious_vars='build_alias | |
740 | host_alias | |
741 | target_alias | |
742 | CC | |
743 | CFLAGS | |
744 | LDFLAGS | |
745 | LIBS | |
746 | CPPFLAGS | |
747 | CPP' | |
748 | ||
749 | ||
750 | # Initialize some variables set by options. | |
751 | ac_init_help= | |
752 | ac_init_version=false | |
753 | ac_unrecognized_opts= | |
754 | ac_unrecognized_sep= | |
755 | # The variables have the same names as the options, with | |
756 | # dashes changed to underlines. | |
757 | cache_file=/dev/null | |
758 | exec_prefix=NONE | |
759 | no_create= | |
760 | no_recursion= | |
761 | prefix=NONE | |
762 | program_prefix=NONE | |
763 | program_suffix=NONE | |
764 | program_transform_name=s,x,x, | |
765 | silent= | |
766 | site= | |
767 | srcdir= | |
768 | verbose= | |
769 | x_includes=NONE | |
770 | x_libraries=NONE | |
771 | ||
772 | # Installation directory options. | |
773 | # These are left unexpanded so users can "make install exec_prefix=/foo" | |
774 | # and all the variables that are supposed to be based on exec_prefix | |
775 | # by default will actually change. | |
776 | # Use braces instead of parens because sh, perl, etc. also accept them. | |
777 | # (The list follows the same order as the GNU Coding Standards.) | |
778 | bindir='${exec_prefix}/bin' | |
779 | sbindir='${exec_prefix}/sbin' | |
780 | libexecdir='${exec_prefix}/libexec' | |
781 | datarootdir='${prefix}/share' | |
782 | datadir='${datarootdir}' | |
783 | sysconfdir='${prefix}/etc' | |
784 | sharedstatedir='${prefix}/com' | |
785 | localstatedir='${prefix}/var' | |
786 | includedir='${prefix}/include' | |
787 | oldincludedir='/usr/include' | |
788 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | |
789 | infodir='${datarootdir}/info' | |
790 | htmldir='${docdir}' | |
791 | dvidir='${docdir}' | |
792 | pdfdir='${docdir}' | |
793 | psdir='${docdir}' | |
794 | libdir='${exec_prefix}/lib' | |
795 | localedir='${datarootdir}/locale' | |
796 | mandir='${datarootdir}/man' | |
797 | ||
798 | ac_prev= | |
799 | ac_dashdash= | |
800 | for ac_option | |
801 | do | |
802 | # If the previous option needs an argument, assign it. | |
803 | if test -n "$ac_prev"; then | |
804 | eval $ac_prev=\$ac_option | |
805 | ac_prev= | |
806 | continue | |
807 | fi | |
808 | ||
809 | case $ac_option in | |
810 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
811 | *) ac_optarg=yes ;; | |
812 | esac | |
813 | ||
814 | # Accept the important Cygnus configure options, so we can diagnose typos. | |
815 | ||
816 | case $ac_dashdash$ac_option in | |
817 | --) | |
818 | ac_dashdash=yes ;; | |
819 | ||
820 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
821 | ac_prev=bindir ;; | |
822 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
823 | bindir=$ac_optarg ;; | |
824 | ||
825 | -build | --build | --buil | --bui | --bu) | |
826 | ac_prev=build_alias ;; | |
827 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
828 | build_alias=$ac_optarg ;; | |
829 | ||
830 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
831 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
832 | ac_prev=cache_file ;; | |
833 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
834 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
835 | cache_file=$ac_optarg ;; | |
836 | ||
837 | --config-cache | -C) | |
838 | cache_file=config.cache ;; | |
839 | ||
840 | -datadir | --datadir | --datadi | --datad) | |
841 | ac_prev=datadir ;; | |
842 | -datadir=* | --datadir=* | --datadi=* | --datad=*) | |
843 | datadir=$ac_optarg ;; | |
844 | ||
845 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
846 | | --dataroo | --dataro | --datar) | |
847 | ac_prev=datarootdir ;; | |
848 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
849 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
850 | datarootdir=$ac_optarg ;; | |
851 | ||
852 | -disable-* | --disable-*) | |
853 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
854 | # Reject names that are not valid shell variable names. | |
855 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
856 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | |
857 | { (exit 1); exit 1; }; } | |
858 | ac_useropt_orig=$ac_useropt | |
859 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
860 | case $ac_user_opts in | |
861 | *" | |
862 | "enable_$ac_useropt" | |
863 | "*) ;; | |
864 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
865 | ac_unrecognized_sep=', ';; | |
866 | esac | |
867 | eval enable_$ac_useropt=no ;; | |
868 | ||
869 | -docdir | --docdir | --docdi | --doc | --do) | |
870 | ac_prev=docdir ;; | |
871 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
872 | docdir=$ac_optarg ;; | |
873 | ||
874 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
875 | ac_prev=dvidir ;; | |
876 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
877 | dvidir=$ac_optarg ;; | |
878 | ||
879 | -enable-* | --enable-*) | |
880 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
881 | # Reject names that are not valid shell variable names. | |
882 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
883 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | |
884 | { (exit 1); exit 1; }; } | |
885 | ac_useropt_orig=$ac_useropt | |
886 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
887 | case $ac_user_opts in | |
888 | *" | |
889 | "enable_$ac_useropt" | |
890 | "*) ;; | |
891 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
892 | ac_unrecognized_sep=', ';; | |
893 | esac | |
894 | eval enable_$ac_useropt=\$ac_optarg ;; | |
895 | ||
896 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
897 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
898 | | --exec | --exe | --ex) | |
899 | ac_prev=exec_prefix ;; | |
900 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
901 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
902 | | --exec=* | --exe=* | --ex=*) | |
903 | exec_prefix=$ac_optarg ;; | |
904 | ||
905 | -gas | --gas | --ga | --g) | |
906 | # Obsolete; use --with-gas. | |
907 | with_gas=yes ;; | |
908 | ||
909 | -help | --help | --hel | --he | -h) | |
910 | ac_init_help=long ;; | |
911 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
912 | ac_init_help=recursive ;; | |
913 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
914 | ac_init_help=short ;; | |
915 | ||
916 | -host | --host | --hos | --ho) | |
917 | ac_prev=host_alias ;; | |
918 | -host=* | --host=* | --hos=* | --ho=*) | |
919 | host_alias=$ac_optarg ;; | |
920 | ||
921 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
922 | ac_prev=htmldir ;; | |
923 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
924 | | --ht=*) | |
925 | htmldir=$ac_optarg ;; | |
926 | ||
927 | -includedir | --includedir | --includedi | --included | --include \ | |
928 | | --includ | --inclu | --incl | --inc) | |
929 | ac_prev=includedir ;; | |
930 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
931 | | --includ=* | --inclu=* | --incl=* | --inc=*) | |
932 | includedir=$ac_optarg ;; | |
933 | ||
934 | -infodir | --infodir | --infodi | --infod | --info | --inf) | |
935 | ac_prev=infodir ;; | |
936 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
937 | infodir=$ac_optarg ;; | |
938 | ||
939 | -libdir | --libdir | --libdi | --libd) | |
940 | ac_prev=libdir ;; | |
941 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
942 | libdir=$ac_optarg ;; | |
943 | ||
944 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
945 | | --libexe | --libex | --libe) | |
946 | ac_prev=libexecdir ;; | |
947 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
948 | | --libexe=* | --libex=* | --libe=*) | |
949 | libexecdir=$ac_optarg ;; | |
950 | ||
951 | -localedir | --localedir | --localedi | --localed | --locale) | |
952 | ac_prev=localedir ;; | |
953 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
954 | localedir=$ac_optarg ;; | |
955 | ||
956 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
957 | | --localstate | --localstat | --localsta | --localst | --locals) | |
958 | ac_prev=localstatedir ;; | |
959 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
960 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | |
961 | localstatedir=$ac_optarg ;; | |
962 | ||
963 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
964 | ac_prev=mandir ;; | |
965 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
966 | mandir=$ac_optarg ;; | |
967 | ||
968 | -nfp | --nfp | --nf) | |
969 | # Obsolete; use --without-fp. | |
970 | with_fp=no ;; | |
971 | ||
972 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
973 | | --no-cr | --no-c | -n) | |
974 | no_create=yes ;; | |
975 | ||
976 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
977 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
978 | no_recursion=yes ;; | |
979 | ||
980 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
981 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
982 | | --oldin | --oldi | --old | --ol | --o) | |
983 | ac_prev=oldincludedir ;; | |
984 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
985 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
986 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
987 | oldincludedir=$ac_optarg ;; | |
988 | ||
989 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
990 | ac_prev=prefix ;; | |
991 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
992 | prefix=$ac_optarg ;; | |
993 | ||
994 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
995 | | --program-pre | --program-pr | --program-p) | |
996 | ac_prev=program_prefix ;; | |
997 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
998 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
999 | program_prefix=$ac_optarg ;; | |
1000 | ||
1001 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
1002 | | --program-suf | --program-su | --program-s) | |
1003 | ac_prev=program_suffix ;; | |
1004 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
1005 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
1006 | program_suffix=$ac_optarg ;; | |
1007 | ||
1008 | -program-transform-name | --program-transform-name \ | |
1009 | | --program-transform-nam | --program-transform-na \ | |
1010 | | --program-transform-n | --program-transform- \ | |
1011 | | --program-transform | --program-transfor \ | |
1012 | | --program-transfo | --program-transf \ | |
1013 | | --program-trans | --program-tran \ | |
1014 | | --progr-tra | --program-tr | --program-t) | |
1015 | ac_prev=program_transform_name ;; | |
1016 | -program-transform-name=* | --program-transform-name=* \ | |
1017 | | --program-transform-nam=* | --program-transform-na=* \ | |
1018 | | --program-transform-n=* | --program-transform-=* \ | |
1019 | | --program-transform=* | --program-transfor=* \ | |
1020 | | --program-transfo=* | --program-transf=* \ | |
1021 | | --program-trans=* | --program-tran=* \ | |
1022 | | --progr-tra=* | --program-tr=* | --program-t=*) | |
1023 | program_transform_name=$ac_optarg ;; | |
1024 | ||
1025 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
1026 | ac_prev=pdfdir ;; | |
1027 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
1028 | pdfdir=$ac_optarg ;; | |
1029 | ||
1030 | -psdir | --psdir | --psdi | --psd | --ps) | |
1031 | ac_prev=psdir ;; | |
1032 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
1033 | psdir=$ac_optarg ;; | |
1034 | ||
1035 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
1036 | | -silent | --silent | --silen | --sile | --sil) | |
1037 | silent=yes ;; | |
1038 | ||
1039 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
1040 | ac_prev=sbindir ;; | |
1041 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
1042 | | --sbi=* | --sb=*) | |
1043 | sbindir=$ac_optarg ;; | |
1044 | ||
1045 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
1046 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
1047 | | --sharedst | --shareds | --shared | --share | --shar \ | |
1048 | | --sha | --sh) | |
1049 | ac_prev=sharedstatedir ;; | |
1050 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
1051 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
1052 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
1053 | | --sha=* | --sh=*) | |
1054 | sharedstatedir=$ac_optarg ;; | |
1055 | ||
1056 | -site | --site | --sit) | |
1057 | ac_prev=site ;; | |
1058 | -site=* | --site=* | --sit=*) | |
1059 | site=$ac_optarg ;; | |
1060 | ||
1061 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
1062 | ac_prev=srcdir ;; | |
1063 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
1064 | srcdir=$ac_optarg ;; | |
1065 | ||
1066 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
1067 | | --syscon | --sysco | --sysc | --sys | --sy) | |
1068 | ac_prev=sysconfdir ;; | |
1069 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
1070 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
1071 | sysconfdir=$ac_optarg ;; | |
1072 | ||
1073 | -target | --target | --targe | --targ | --tar | --ta | --t) | |
1074 | ac_prev=target_alias ;; | |
1075 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
1076 | target_alias=$ac_optarg ;; | |
1077 | ||
1078 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
1079 | verbose=yes ;; | |
1080 | ||
1081 | -version | --version | --versio | --versi | --vers | -V) | |
1082 | ac_init_version=: ;; | |
1083 | ||
1084 | -with-* | --with-*) | |
1085 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
1086 | # Reject names that are not valid shell variable names. | |
1087 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
1088 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | |
1089 | { (exit 1); exit 1; }; } | |
1090 | ac_useropt_orig=$ac_useropt | |
1091 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1092 | case $ac_user_opts in | |
1093 | *" | |
1094 | "with_$ac_useropt" | |
1095 | "*) ;; | |
1096 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
1097 | ac_unrecognized_sep=', ';; | |
1098 | esac | |
1099 | eval with_$ac_useropt=\$ac_optarg ;; | |
1100 | ||
1101 | -without-* | --without-*) | |
1102 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
1103 | # Reject names that are not valid shell variable names. | |
1104 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
1105 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | |
1106 | { (exit 1); exit 1; }; } | |
1107 | ac_useropt_orig=$ac_useropt | |
1108 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1109 | case $ac_user_opts in | |
1110 | *" | |
1111 | "with_$ac_useropt" | |
1112 | "*) ;; | |
1113 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1114 | ac_unrecognized_sep=', ';; | |
1115 | esac | |
1116 | eval with_$ac_useropt=no ;; | |
1117 | ||
1118 | --x) | |
1119 | # Obsolete; use --with-x. | |
1120 | with_x=yes ;; | |
1121 | ||
1122 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
1123 | | --x-incl | --x-inc | --x-in | --x-i) | |
1124 | ac_prev=x_includes ;; | |
1125 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
1126 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
1127 | x_includes=$ac_optarg ;; | |
1128 | ||
1129 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
1130 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
1131 | ac_prev=x_libraries ;; | |
1132 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
1133 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
1134 | x_libraries=$ac_optarg ;; | |
1135 | ||
1136 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option | |
1137 | Try \`$0 --help' for more information." >&2 | |
1138 | { (exit 1); exit 1; }; } | |
1139 | ;; | |
1140 | ||
1141 | *=*) | |
1142 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
1143 | # Reject names that are not valid shell variable names. | |
1144 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | |
1145 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | |
1146 | { (exit 1); exit 1; }; } | |
1147 | eval $ac_envvar=\$ac_optarg | |
1148 | export $ac_envvar ;; | |
1149 | ||
1150 | *) | |
1151 | # FIXME: should be removed in autoconf 3.0. | |
1152 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
1153 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
1154 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
1155 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | |
1156 | ;; | |
1157 | ||
1158 | esac | |
1159 | done | |
1160 | ||
1161 | if test -n "$ac_prev"; then | |
1162 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
1163 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 | |
1164 | { (exit 1); exit 1; }; } | |
1165 | fi | |
1166 | ||
1167 | if test -n "$ac_unrecognized_opts"; then | |
1168 | case $enable_option_checking in | |
1169 | no) ;; | |
1170 | fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 | |
1171 | { (exit 1); exit 1; }; } ;; | |
1172 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1173 | esac | |
1174 | fi | |
1175 | ||
1176 | # Check all directory arguments for consistency. | |
1177 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |
1178 | datadir sysconfdir sharedstatedir localstatedir includedir \ | |
1179 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
1180 | libdir localedir mandir | |
1181 | do | |
1182 | eval ac_val=\$$ac_var | |
1183 | # Remove trailing slashes. | |
1184 | case $ac_val in | |
1185 | */ ) | |
1186 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
1187 | eval $ac_var=\$ac_val;; | |
1188 | esac | |
1189 | # Be sure to have absolute directory names. | |
1190 | case $ac_val in | |
1191 | [\\/$]* | ?:[\\/]* ) continue;; | |
1192 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
1193 | esac | |
1194 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
1195 | { (exit 1); exit 1; }; } | |
1196 | done | |
1197 | ||
1198 | # There might be people who depend on the old broken behavior: `$host' | |
1199 | # used to hold the argument of --host etc. | |
1200 | # FIXME: To remove some day. | |
1201 | build=$build_alias | |
1202 | host=$host_alias | |
1203 | target=$target_alias | |
1204 | ||
1205 | # FIXME: To remove some day. | |
1206 | if test "x$host_alias" != x; then | |
1207 | if test "x$build_alias" = x; then | |
1208 | cross_compiling=maybe | |
1209 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
1210 | If a cross compiler is detected then cross compile mode will be used." >&2 | |
1211 | elif test "x$build_alias" != "x$host_alias"; then | |
1212 | cross_compiling=yes | |
1213 | fi | |
1214 | fi | |
1215 | ||
1216 | ac_tool_prefix= | |
1217 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
1218 | ||
1219 | test "$silent" = yes && exec 6>/dev/null | |
1220 | ||
1221 | ||
1222 | ac_pwd=`pwd` && test -n "$ac_pwd" && | |
1223 | ac_ls_di=`ls -di .` && | |
1224 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
1225 | { $as_echo "$as_me: error: working directory cannot be determined" >&2 | |
1226 | { (exit 1); exit 1; }; } | |
1227 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
1228 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 | |
1229 | { (exit 1); exit 1; }; } | |
1230 | ||
1231 | ||
1232 | # Find the source files, if location was not specified. | |
1233 | if test -z "$srcdir"; then | |
1234 | ac_srcdir_defaulted=yes | |
1235 | # Try the directory containing this script, then the parent directory. | |
1236 | ac_confdir=`$as_dirname -- "$as_myself" || | |
1237 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
1238 | X"$as_myself" : 'X\(//\)[^/]' \| \ | |
1239 | X"$as_myself" : 'X\(//\)$' \| \ | |
1240 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | |
1241 | $as_echo X"$as_myself" | | |
1242 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
1243 | s//\1/ | |
1244 | q | |
1245 | } | |
1246 | /^X\(\/\/\)[^/].*/{ | |
1247 | s//\1/ | |
1248 | q | |
1249 | } | |
1250 | /^X\(\/\/\)$/{ | |
1251 | s//\1/ | |
1252 | q | |
1253 | } | |
1254 | /^X\(\/\).*/{ | |
1255 | s//\1/ | |
1256 | q | |
1257 | } | |
1258 | s/.*/./; q'` | |
1259 | srcdir=$ac_confdir | |
1260 | if test ! -r "$srcdir/$ac_unique_file"; then | |
1261 | srcdir=.. | |
1262 | fi | |
1263 | else | |
1264 | ac_srcdir_defaulted=no | |
1265 | fi | |
1266 | if test ! -r "$srcdir/$ac_unique_file"; then | |
1267 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | |
1268 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | |
1269 | { (exit 1); exit 1; }; } | |
1270 | fi | |
1271 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | |
1272 | ac_abs_confdir=`( | |
1273 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 | |
1274 | { (exit 1); exit 1; }; } | |
1275 | pwd)` | |
1276 | # When building in place, set srcdir=. | |
1277 | if test "$ac_abs_confdir" = "$ac_pwd"; then | |
1278 | srcdir=. | |
1279 | fi | |
1280 | # Remove unnecessary trailing slashes from srcdir. | |
1281 | # Double slashes in file names in object file debugging info | |
1282 | # mess up M-x gdb in Emacs. | |
1283 | case $srcdir in | |
1284 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
1285 | esac | |
1286 | for ac_var in $ac_precious_vars; do | |
1287 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
1288 | eval ac_env_${ac_var}_value=\$${ac_var} | |
1289 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
1290 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
1291 | done | |
1292 | ||
1293 | # | |
1294 | # Report the --help message. | |
1295 | # | |
1296 | if test "$ac_init_help" = "long"; then | |
1297 | # Omit some internal or obsolete options to make the list less imposing. | |
1298 | # This message is too long to be a string in the A/UX 3.1 sh. | |
1299 | cat <<_ACEOF | |
1300 | \`configure' configures unrtf 0.21.2 to adapt to many kinds of systems. | |
1301 | ||
1302 | Usage: $0 [OPTION]... [VAR=VALUE]... | |
1303 | ||
1304 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
1305 | VAR=VALUE. See below for descriptions of some of the useful variables. | |
1306 | ||
1307 | Defaults for the options are specified in brackets. | |
1308 | ||
1309 | Configuration: | |
1310 | -h, --help display this help and exit | |
1311 | --help=short display options specific to this package | |
1312 | --help=recursive display the short help of all the included packages | |
1313 | -V, --version display version information and exit | |
1314 | -q, --quiet, --silent do not print \`checking...' messages | |
1315 | --cache-file=FILE cache test results in FILE [disabled] | |
1316 | -C, --config-cache alias for \`--cache-file=config.cache' | |
1317 | -n, --no-create do not create output files | |
1318 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
1319 | ||
1320 | Installation directories: | |
1321 | --prefix=PREFIX install architecture-independent files in PREFIX | |
1322 | [$ac_default_prefix] | |
1323 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
1324 | [PREFIX] | |
1325 | ||
1326 | By default, \`make install' will install all the files in | |
1327 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
1328 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
1329 | for instance \`--prefix=\$HOME'. | |
1330 | ||
1331 | For better control, use the options below. | |
1332 | ||
1333 | Fine tuning of the installation directories: | |
1334 | --bindir=DIR user executables [EPREFIX/bin] | |
1335 | --sbindir=DIR system admin executables [EPREFIX/sbin] | |
1336 | --libexecdir=DIR program executables [EPREFIX/libexec] | |
1337 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
1338 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
1339 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
1340 | --libdir=DIR object code libraries [EPREFIX/lib] | |
1341 | --includedir=DIR C header files [PREFIX/include] | |
1342 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
1343 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
1344 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
1345 | --infodir=DIR info documentation [DATAROOTDIR/info] | |
1346 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1347 | --mandir=DIR man documentation [DATAROOTDIR/man] | |
1348 | --docdir=DIR documentation root @<:@DATAROOTDIR/doc/unrtf@:>@ | |
1349 | --htmldir=DIR html documentation [DOCDIR] | |
1350 | --dvidir=DIR dvi documentation [DOCDIR] | |
1351 | --pdfdir=DIR pdf documentation [DOCDIR] | |
1352 | --psdir=DIR ps documentation [DOCDIR] | |
1353 | _ACEOF | |
1354 | ||
1355 | cat <<\_ACEOF | |
1356 | ||
1357 | Program names: | |
1358 | --program-prefix=PREFIX prepend PREFIX to installed program names | |
1359 | --program-suffix=SUFFIX append SUFFIX to installed program names | |
1360 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names | |
1361 | ||
1362 | System types: | |
1363 | --build=BUILD configure for building on BUILD [guessed] | |
1364 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | |
1365 | _ACEOF | |
1366 | fi | |
1367 | ||
1368 | if test -n "$ac_init_help"; then | |
1369 | case $ac_init_help in | |
1370 | short | recursive ) echo "Configuration of unrtf 0.21.2:";; | |
1371 | esac | |
1372 | cat <<\_ACEOF | |
1373 | ||
1374 | Optional Features: | |
1375 | --disable-option-checking ignore unrecognized --enable/--with options | |
1376 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
1377 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
1378 | --enable-maintainer-mode enable make rules and dependencies not useful | |
1379 | (and sometimes confusing) to the casual installer | |
1380 | --disable-dependency-tracking speeds up one-time build | |
1381 | --enable-dependency-tracking do not reject slow dependency extractors | |
1382 | ||
1383 | Some influential environment variables: | |
1384 | CC C compiler command | |
1385 | CFLAGS C compiler flags | |
1386 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
1387 | nonstandard directory <lib dir> | |
1388 | LIBS libraries to pass to the linker, e.g. -l<library> | |
1389 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if | |
1390 | you have headers in a nonstandard directory <include dir> | |
1391 | CPP C preprocessor | |
1392 | ||
1393 | Use these variables to override the choices made by `configure' or to help | |
1394 | it to find libraries and programs with nonstandard names/locations. | |
1395 | ||
1396 | Report bugs to <bug-unrtf@gnu.org>. | |
1397 | _ACEOF | |
1398 | ac_status=$? | |
1399 | fi | |
1400 | ||
1401 | if test "$ac_init_help" = "recursive"; then | |
1402 | # If there are subdirs, report their specific --help. | |
1403 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
1404 | test -d "$ac_dir" || | |
1405 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1406 | continue | |
1407 | ac_builddir=. | |
1408 | ||
1409 | case "$ac_dir" in | |
1410 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1411 | *) | |
1412 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
1413 | # A ".." for each directory in $ac_dir_suffix. | |
1414 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
1415 | case $ac_top_builddir_sub in | |
1416 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1417 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
1418 | esac ;; | |
1419 | esac | |
1420 | ac_abs_top_builddir=$ac_pwd | |
1421 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
1422 | # for backward compatibility: | |
1423 | ac_top_builddir=$ac_top_build_prefix | |
1424 | ||
1425 | case $srcdir in | |
1426 | .) # We are building in place. | |
1427 | ac_srcdir=. | |
1428 | ac_top_srcdir=$ac_top_builddir_sub | |
1429 | ac_abs_top_srcdir=$ac_pwd ;; | |
1430 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
1431 | ac_srcdir=$srcdir$ac_dir_suffix; | |
1432 | ac_top_srcdir=$srcdir | |
1433 | ac_abs_top_srcdir=$srcdir ;; | |
1434 | *) # Relative name. | |
1435 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
1436 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
1437 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
1438 | esac | |
1439 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
1440 | ||
1441 | cd "$ac_dir" || { ac_status=$?; continue; } | |
1442 | # Check for guested configure. | |
1443 | if test -f "$ac_srcdir/configure.gnu"; then | |
1444 | echo && | |
1445 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
1446 | elif test -f "$ac_srcdir/configure"; then | |
1447 | echo && | |
1448 | $SHELL "$ac_srcdir/configure" --help=recursive | |
1449 | else | |
1450 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
1451 | fi || ac_status=$? | |
1452 | cd "$ac_pwd" || { ac_status=$?; break; } | |
1453 | done | |
1454 | fi | |
1455 | ||
1456 | test -n "$ac_init_help" && exit $ac_status | |
1457 | if $ac_init_version; then | |
1458 | cat <<\_ACEOF | |
1459 | unrtf configure 0.21.2 | |
1460 | generated by GNU Autoconf 2.63 | |
1461 | ||
1462 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
1463 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
1464 | This configure script is free software; the Free Software Foundation | |
1465 | gives unlimited permission to copy, distribute and modify it. | |
1466 | _ACEOF | |
1467 | exit | |
1468 | fi | |
1469 | cat >config.log <<_ACEOF | |
1470 | This file contains any messages produced by compilers while | |
1471 | running configure, to aid debugging if configure makes a mistake. | |
1472 | ||
1473 | It was created by unrtf $as_me 0.21.2, which was | |
1474 | generated by GNU Autoconf 2.63. Invocation command line was | |
1475 | ||
1476 | $ $0 $@ | |
1477 | ||
1478 | _ACEOF | |
1479 | exec 5>>config.log | |
1480 | { | |
1481 | cat <<_ASUNAME | |
1482 | @%:@@%:@ --------- @%:@@%:@ | |
1483 | @%:@@%:@ Platform. @%:@@%:@ | |
1484 | @%:@@%:@ --------- @%:@@%:@ | |
1485 | ||
1486 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
1487 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
1488 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
1489 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
1490 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
1491 | ||
1492 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
1493 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
1494 | ||
1495 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
1496 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
1497 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
1498 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | |
1499 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
1500 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
1501 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
1502 | ||
1503 | _ASUNAME | |
1504 | ||
1505 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1506 | for as_dir in $PATH | |
1507 | do | |
1508 | IFS=$as_save_IFS | |
1509 | test -z "$as_dir" && as_dir=. | |
1510 | $as_echo "PATH: $as_dir" | |
1511 | done | |
1512 | IFS=$as_save_IFS | |
1513 | ||
1514 | } >&5 | |
1515 | ||
1516 | cat >&5 <<_ACEOF | |
1517 | ||
1518 | ||
1519 | @%:@@%:@ ----------- @%:@@%:@ | |
1520 | @%:@@%:@ Core tests. @%:@@%:@ | |
1521 | @%:@@%:@ ----------- @%:@@%:@ | |
1522 | ||
1523 | _ACEOF | |
1524 | ||
1525 | ||
1526 | # Keep a trace of the command line. | |
1527 | # Strip out --no-create and --no-recursion so they do not pile up. | |
1528 | # Strip out --silent because we don't want to record it for future runs. | |
1529 | # Also quote any args containing shell meta-characters. | |
1530 | # Make two passes to allow for proper duplicate-argument suppression. | |
1531 | ac_configure_args= | |
1532 | ac_configure_args0= | |
1533 | ac_configure_args1= | |
1534 | ac_must_keep_next=false | |
1535 | for ac_pass in 1 2 | |
1536 | do | |
1537 | for ac_arg | |
1538 | do | |
1539 | case $ac_arg in | |
1540 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
1541 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
1542 | | -silent | --silent | --silen | --sile | --sil) | |
1543 | continue ;; | |
1544 | *\'*) | |
1545 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1546 | esac | |
1547 | case $ac_pass in | |
1548 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | |
1549 | 2) | |
1550 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | |
1551 | if test $ac_must_keep_next = true; then | |
1552 | ac_must_keep_next=false # Got value, back to normal. | |
1553 | else | |
1554 | case $ac_arg in | |
1555 | *=* | --config-cache | -C | -disable-* | --disable-* \ | |
1556 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
1557 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
1558 | | -with-* | --with-* | -without-* | --without-* | --x) | |
1559 | case "$ac_configure_args0 " in | |
1560 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
1561 | esac | |
1562 | ;; | |
1563 | -* ) ac_must_keep_next=true ;; | |
1564 | esac | |
1565 | fi | |
1566 | ac_configure_args="$ac_configure_args '$ac_arg'" | |
1567 | ;; | |
1568 | esac | |
1569 | done | |
1570 | done | |
1571 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | |
1572 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | |
1573 | ||
1574 | # When interrupted or exit'd, cleanup temporary files, and complete | |
1575 | # config.log. We remove comments because anyway the quotes in there | |
1576 | # would cause problems or look ugly. | |
1577 | # WARNING: Use '\'' to represent an apostrophe within the trap. | |
1578 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | |
1579 | trap 'exit_status=$? | |
1580 | # Save into config.log some information that might help in debugging. | |
1581 | { | |
1582 | echo | |
1583 | ||
1584 | cat <<\_ASBOX | |
1585 | @%:@@%:@ ---------------- @%:@@%:@ | |
1586 | @%:@@%:@ Cache variables. @%:@@%:@ | |
1587 | @%:@@%:@ ---------------- @%:@@%:@ | |
1588 | _ASBOX | |
1589 | echo | |
1590 | # The following way of writing the cache mishandles newlines in values, | |
1591 | ( | |
1592 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
1593 | eval ac_val=\$$ac_var | |
1594 | case $ac_val in #( | |
1595 | *${as_nl}*) | |
1596 | case $ac_var in #( | |
1597 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 | |
1598 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
1599 | esac | |
1600 | case $ac_var in #( | |
1601 | _ | IFS | as_nl) ;; #( | |
1602 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
1603 | *) $as_unset $ac_var ;; | |
1604 | esac ;; | |
1605 | esac | |
1606 | done | |
1607 | (set) 2>&1 | | |
1608 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | |
1609 | *${as_nl}ac_space=\ *) | |
1610 | sed -n \ | |
1611 | "s/'\''/'\''\\\\'\'''\''/g; | |
1612 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | |
1613 | ;; #( | |
1614 | *) | |
1615 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
1616 | ;; | |
1617 | esac | | |
1618 | sort | |
1619 | ) | |
1620 | echo | |
1621 | ||
1622 | cat <<\_ASBOX | |
1623 | @%:@@%:@ ----------------- @%:@@%:@ | |
1624 | @%:@@%:@ Output variables. @%:@@%:@ | |
1625 | @%:@@%:@ ----------------- @%:@@%:@ | |
1626 | _ASBOX | |
1627 | echo | |
1628 | for ac_var in $ac_subst_vars | |
1629 | do | |
1630 | eval ac_val=\$$ac_var | |
1631 | case $ac_val in | |
1632 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1633 | esac | |
1634 | $as_echo "$ac_var='\''$ac_val'\''" | |
1635 | done | sort | |
1636 | echo | |
1637 | ||
1638 | if test -n "$ac_subst_files"; then | |
1639 | cat <<\_ASBOX | |
1640 | @%:@@%:@ ------------------- @%:@@%:@ | |
1641 | @%:@@%:@ File substitutions. @%:@@%:@ | |
1642 | @%:@@%:@ ------------------- @%:@@%:@ | |
1643 | _ASBOX | |
1644 | echo | |
1645 | for ac_var in $ac_subst_files | |
1646 | do | |
1647 | eval ac_val=\$$ac_var | |
1648 | case $ac_val in | |
1649 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1650 | esac | |
1651 | $as_echo "$ac_var='\''$ac_val'\''" | |
1652 | done | sort | |
1653 | echo | |
1654 | fi | |
1655 | ||
1656 | if test -s confdefs.h; then | |
1657 | cat <<\_ASBOX | |
1658 | @%:@@%:@ ----------- @%:@@%:@ | |
1659 | @%:@@%:@ confdefs.h. @%:@@%:@ | |
1660 | @%:@@%:@ ----------- @%:@@%:@ | |
1661 | _ASBOX | |
1662 | echo | |
1663 | cat confdefs.h | |
1664 | echo | |
1665 | fi | |
1666 | test "$ac_signal" != 0 && | |
1667 | $as_echo "$as_me: caught signal $ac_signal" | |
1668 | $as_echo "$as_me: exit $exit_status" | |
1669 | } >&5 | |
1670 | rm -f core *.core core.conftest.* && | |
1671 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | |
1672 | exit $exit_status | |
1673 | ' 0 | |
1674 | for ac_signal in 1 2 13 15; do | |
1675 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | |
1676 | done | |
1677 | ac_signal=0 | |
1678 | ||
1679 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
1680 | rm -f -r conftest* confdefs.h | |
1681 | ||
1682 | # Predefined preprocessor variables. | |
1683 | ||
1684 | cat >>confdefs.h <<_ACEOF | |
1685 | @%:@define PACKAGE_NAME "$PACKAGE_NAME" | |
1686 | _ACEOF | |
1687 | ||
1688 | ||
1689 | cat >>confdefs.h <<_ACEOF | |
1690 | @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
1691 | _ACEOF | |
1692 | ||
1693 | ||
1694 | cat >>confdefs.h <<_ACEOF | |
1695 | @%:@define PACKAGE_VERSION "$PACKAGE_VERSION" | |
1696 | _ACEOF | |
1697 | ||
1698 | ||
1699 | cat >>confdefs.h <<_ACEOF | |
1700 | @%:@define PACKAGE_STRING "$PACKAGE_STRING" | |
1701 | _ACEOF | |
1702 | ||
1703 | ||
1704 | cat >>confdefs.h <<_ACEOF | |
1705 | @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
1706 | _ACEOF | |
1707 | ||
1708 | ||
1709 | # Let the site file select an alternate cache file if it wants to. | |
1710 | # Prefer an explicitly selected file to automatically selected ones. | |
1711 | ac_site_file1=NONE | |
1712 | ac_site_file2=NONE | |
1713 | if test -n "$CONFIG_SITE"; then | |
1714 | ac_site_file1=$CONFIG_SITE | |
1715 | elif test "x$prefix" != xNONE; then | |
1716 | ac_site_file1=$prefix/share/config.site | |
1717 | ac_site_file2=$prefix/etc/config.site | |
1718 | else | |
1719 | ac_site_file1=$ac_default_prefix/share/config.site | |
1720 | ac_site_file2=$ac_default_prefix/etc/config.site | |
1721 | fi | |
1722 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |
1723 | do | |
1724 | test "x$ac_site_file" = xNONE && continue | |
1725 | if test -r "$ac_site_file"; then | |
1726 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | |
1727 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
1728 | sed 's/^/| /' "$ac_site_file" >&5 | |
1729 | . "$ac_site_file" | |
1730 | fi | |
1731 | done | |
1732 | ||
1733 | if test -r "$cache_file"; then | |
1734 | # Some versions of bash will fail to source /dev/null (special | |
1735 | # files actually), so we avoid doing that. | |
1736 | if test -f "$cache_file"; then | |
1737 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 | |
1738 | $as_echo "$as_me: loading cache $cache_file" >&6;} | |
1739 | case $cache_file in | |
1740 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | |
1741 | *) . "./$cache_file";; | |
1742 | esac | |
1743 | fi | |
1744 | else | |
1745 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 | |
1746 | $as_echo "$as_me: creating cache $cache_file" >&6;} | |
1747 | >$cache_file | |
1748 | fi | |
1749 | ||
1750 | # Check that the precious variables saved in the cache have kept the same | |
1751 | # value. | |
1752 | ac_cache_corrupted=false | |
1753 | for ac_var in $ac_precious_vars; do | |
1754 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
1755 | eval ac_new_set=\$ac_env_${ac_var}_set | |
1756 | eval ac_old_val=\$ac_cv_env_${ac_var}_value | |
1757 | eval ac_new_val=\$ac_env_${ac_var}_value | |
1758 | case $ac_old_set,$ac_new_set in | |
1759 | set,) | |
1760 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
1761 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
1762 | ac_cache_corrupted=: ;; | |
1763 | ,set) | |
1764 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | |
1765 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
1766 | ac_cache_corrupted=: ;; | |
1767 | ,);; | |
1768 | *) | |
1769 | if test "x$ac_old_val" != "x$ac_new_val"; then | |
1770 | # differences in whitespace do not lead to failure. | |
1771 | ac_old_val_w=`echo x $ac_old_val` | |
1772 | ac_new_val_w=`echo x $ac_new_val` | |
1773 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | |
1774 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | |
1775 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
1776 | ac_cache_corrupted=: | |
1777 | else | |
1778 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
1779 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
1780 | eval $ac_var=\$ac_old_val | |
1781 | fi | |
1782 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 | |
1783 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
1784 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 | |
1785 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
1786 | fi;; | |
1787 | esac | |
1788 | # Pass precious variables to config.status. | |
1789 | if test "$ac_new_set" = set; then | |
1790 | case $ac_new_val in | |
1791 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1792 | *) ac_arg=$ac_var=$ac_new_val ;; | |
1793 | esac | |
1794 | case " $ac_configure_args " in | |
1795 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
1796 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
1797 | esac | |
1798 | fi | |
1799 | done | |
1800 | if $ac_cache_corrupted; then | |
1801 | { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
1802 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
1803 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | |
1804 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
1805 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | |
1806 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | |
1807 | { (exit 1); exit 1; }; } | |
1808 | fi | |
1809 | ||
1810 | ||
1811 | ||
1812 | ||
1813 | ||
1814 | ||
1815 | ||
1816 | ||
1817 | ||
1818 | ||
1819 | ||
1820 | ||
1821 | ||
1822 | ||
1823 | ||
1824 | ||
1825 | ||
1826 | ||
1827 | ||
1828 | ||
1829 | ||
1830 | ||
1831 | ||
1832 | ||
1833 | ||
1834 | ac_ext=c | |
1835 | ac_cpp='$CPP $CPPFLAGS' | |
1836 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1837 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1838 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
1839 | ||
1840 | ||
1841 | ||
1842 | ac_aux_dir= | |
1843 | for ac_dir in config "$srcdir"/config; do | |
1844 | if test -f "$ac_dir/install-sh"; then | |
1845 | ac_aux_dir=$ac_dir | |
1846 | ac_install_sh="$ac_aux_dir/install-sh -c" | |
1847 | break | |
1848 | elif test -f "$ac_dir/install.sh"; then | |
1849 | ac_aux_dir=$ac_dir | |
1850 | ac_install_sh="$ac_aux_dir/install.sh -c" | |
1851 | break | |
1852 | elif test -f "$ac_dir/shtool"; then | |
1853 | ac_aux_dir=$ac_dir | |
1854 | ac_install_sh="$ac_aux_dir/shtool install -c" | |
1855 | break | |
1856 | fi | |
1857 | done | |
1858 | if test -z "$ac_aux_dir"; then | |
1859 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5 | |
1860 | $as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;} | |
1861 | { (exit 1); exit 1; }; } | |
1862 | fi | |
1863 | ||
1864 | # These three variables are undocumented and unsupported, | |
1865 | # and are intended to be withdrawn in a future Autoconf release. | |
1866 | # They can cause serious problems if a builder's source tree is in a directory | |
1867 | # whose full name contains unusual characters. | |
1868 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
1869 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
1870 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
1871 | ||
1872 | ||
1873 | ac_config_headers="$ac_config_headers config.h" | |
1874 | ||
1875 | ||
1876 | # Initialize automake | |
1877 | ||
1878 | am__api_version='1.11' | |
1879 | ||
1880 | # Find a good install program. We prefer a C program (faster), | |
1881 | # so one script is as good as another. But avoid the broken or | |
1882 | # incompatible versions: | |
1883 | # SysV /etc/install, /usr/sbin/install | |
1884 | # SunOS /usr/etc/install | |
1885 | # IRIX /sbin/install | |
1886 | # AIX /bin/install | |
1887 | # AmigaOS /C/install, which installs bootblocks on floppy discs | |
1888 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
1889 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
1890 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
1891 | # OS/2's system install, which has a completely different semantic | |
1892 | # ./install, which can be erroneously created by make from ./install.sh. | |
1893 | # Reject install programs that cannot install multiple files. | |
1894 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | |
1895 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
1896 | if test -z "$INSTALL"; then | |
1897 | if test "${ac_cv_path_install+set}" = set; then | |
1898 | $as_echo_n "(cached) " >&6 | |
1899 | else | |
1900 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1901 | for as_dir in $PATH | |
1902 | do | |
1903 | IFS=$as_save_IFS | |
1904 | test -z "$as_dir" && as_dir=. | |
1905 | # Account for people who put trailing slashes in PATH elements. | |
1906 | case $as_dir/ in | |
1907 | ./ | .// | /cC/* | \ | |
1908 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
1909 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | |
1910 | /usr/ucb/* ) ;; | |
1911 | *) | |
1912 | # OSF1 and SCO ODT 3.0 have their own names for install. | |
1913 | # Don't use installbsd from OSF since it installs stuff as root | |
1914 | # by default. | |
1915 | for ac_prog in ginstall scoinst install; do | |
1916 | for ac_exec_ext in '' $ac_executable_extensions; do | |
1917 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | |
1918 | if test $ac_prog = install && | |
1919 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
1920 | # AIX install. It has an incompatible calling convention. | |
1921 | : | |
1922 | elif test $ac_prog = install && | |
1923 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
1924 | # program-specific install script used by HP pwplus--don't use. | |
1925 | : | |
1926 | else | |
1927 | rm -rf conftest.one conftest.two conftest.dir | |
1928 | echo one > conftest.one | |
1929 | echo two > conftest.two | |
1930 | mkdir conftest.dir | |
1931 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
1932 | test -s conftest.one && test -s conftest.two && | |
1933 | test -s conftest.dir/conftest.one && | |
1934 | test -s conftest.dir/conftest.two | |
1935 | then | |
1936 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
1937 | break 3 | |
1938 | fi | |
1939 | fi | |
1940 | fi | |
1941 | done | |
1942 | done | |
1943 | ;; | |
1944 | esac | |
1945 | ||
1946 | done | |
1947 | IFS=$as_save_IFS | |
1948 | ||
1949 | rm -rf conftest.one conftest.two conftest.dir | |
1950 | ||
1951 | fi | |
1952 | if test "${ac_cv_path_install+set}" = set; then | |
1953 | INSTALL=$ac_cv_path_install | |
1954 | else | |
1955 | # As a last resort, use the slow shell script. Don't cache a | |
1956 | # value for INSTALL within a source directory, because that will | |
1957 | # break other packages using the cache if that directory is | |
1958 | # removed, or if the value is a relative name. | |
1959 | INSTALL=$ac_install_sh | |
1960 | fi | |
1961 | fi | |
1962 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 | |
1963 | $as_echo "$INSTALL" >&6; } | |
1964 | ||
1965 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
1966 | # It thinks the first close brace ends the variable substitution. | |
1967 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
1968 | ||
1969 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
1970 | ||
1971 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
1972 | ||
1973 | { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | |
1974 | $as_echo_n "checking whether build environment is sane... " >&6; } | |
1975 | # Just in case | |
1976 | sleep 1 | |
1977 | echo timestamp > conftest.file | |
1978 | # Reject unsafe characters in $srcdir or the absolute working directory | |
1979 | # name. Accept space and tab only in the latter. | |
1980 | am_lf=' | |
1981 | ' | |
1982 | case `pwd` in | |
1983 | *[\\\"\#\$\&\'\`$am_lf]*) | |
1984 | { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 | |
1985 | $as_echo "$as_me: error: unsafe absolute working directory name" >&2;} | |
1986 | { (exit 1); exit 1; }; };; | |
1987 | esac | |
1988 | case $srcdir in | |
1989 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | |
1990 | { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 | |
1991 | $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} | |
1992 | { (exit 1); exit 1; }; };; | |
1993 | esac | |
1994 | ||
1995 | # Do `set' in a subshell so we don't clobber the current shell's | |
1996 | # arguments. Must try -L first in case configure is actually a | |
1997 | # symlink; some systems play weird games with the mod time of symlinks | |
1998 | # (eg FreeBSD returns the mod time of the symlink's containing | |
1999 | # directory). | |
2000 | if ( | |
2001 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
2002 | if test "$*" = "X"; then | |
2003 | # -L didn't work. | |
2004 | set X `ls -t "$srcdir/configure" conftest.file` | |
2005 | fi | |
2006 | rm -f conftest.file | |
2007 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
2008 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
2009 | ||
2010 | # If neither matched, then we have a broken ls. This can happen | |
2011 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
2012 | # broken ls alias from the environment. This has actually | |
2013 | # happened. Such a system could not be considered "sane". | |
2014 | { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken | |
2015 | alias in your environment" >&5 | |
2016 | $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken | |
2017 | alias in your environment" >&2;} | |
2018 | { (exit 1); exit 1; }; } | |
2019 | fi | |
2020 | ||
2021 | test "$2" = conftest.file | |
2022 | ) | |
2023 | then | |
2024 | # Ok. | |
2025 | : | |
2026 | else | |
2027 | { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! | |
2028 | Check your system clock" >&5 | |
2029 | $as_echo "$as_me: error: newly created file is older than distributed files! | |
2030 | Check your system clock" >&2;} | |
2031 | { (exit 1); exit 1; }; } | |
2032 | fi | |
2033 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | |
2034 | $as_echo "yes" >&6; } | |
2035 | test "$program_prefix" != NONE && | |
2036 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | |
2037 | # Use a double $ so make ignores it. | |
2038 | test "$program_suffix" != NONE && | |
2039 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" | |
2040 | # Double any \ or $. | |
2041 | # By default was `s,x,x', remove it if useless. | |
2042 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | |
2043 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | |
2044 | ||
2045 | # expand $ac_aux_dir to an absolute path | |
2046 | am_aux_dir=`cd $ac_aux_dir && pwd` | |
2047 | ||
2048 | if test x"${MISSING+set}" != xset; then | |
2049 | case $am_aux_dir in | |
2050 | *\ * | *\ *) | |
2051 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
2052 | *) | |
2053 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
2054 | esac | |
2055 | fi | |
2056 | # Use eval to expand $SHELL | |
2057 | if eval "$MISSING --run true"; then | |
2058 | am_missing_run="$MISSING --run " | |
2059 | else | |
2060 | am_missing_run= | |
2061 | { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | |
2062 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
2063 | fi | |
2064 | ||
2065 | if test x"${install_sh}" != xset; then | |
2066 | case $am_aux_dir in | |
2067 | *\ * | *\ *) | |
2068 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
2069 | *) | |
2070 | install_sh="\${SHELL} $am_aux_dir/install-sh" | |
2071 | esac | |
2072 | fi | |
2073 | ||
2074 | # Installed binaries are usually stripped using `strip' when the user | |
2075 | # run `make install-strip'. However `strip' might not be the right | |
2076 | # tool to use in cross-compilation environments, therefore Automake | |
2077 | # will honor the `STRIP' environment variable to overrule this program. | |
2078 | if test "$cross_compiling" != no; then | |
2079 | if test -n "$ac_tool_prefix"; then | |
2080 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | |
2081 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
2082 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2083 | $as_echo_n "checking for $ac_word... " >&6; } | |
2084 | if test "${ac_cv_prog_STRIP+set}" = set; then | |
2085 | $as_echo_n "(cached) " >&6 | |
2086 | else | |
2087 | if test -n "$STRIP"; then | |
2088 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
2089 | else | |
2090 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2091 | for as_dir in $PATH | |
2092 | do | |
2093 | IFS=$as_save_IFS | |
2094 | test -z "$as_dir" && as_dir=. | |
2095 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2096 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2097 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
2098 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2099 | break 2 | |
2100 | fi | |
2101 | done | |
2102 | done | |
2103 | IFS=$as_save_IFS | |
2104 | ||
2105 | fi | |
2106 | fi | |
2107 | STRIP=$ac_cv_prog_STRIP | |
2108 | if test -n "$STRIP"; then | |
2109 | { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 | |
2110 | $as_echo "$STRIP" >&6; } | |
2111 | else | |
2112 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2113 | $as_echo "no" >&6; } | |
2114 | fi | |
2115 | ||
2116 | ||
2117 | fi | |
2118 | if test -z "$ac_cv_prog_STRIP"; then | |
2119 | ac_ct_STRIP=$STRIP | |
2120 | # Extract the first word of "strip", so it can be a program name with args. | |
2121 | set dummy strip; ac_word=$2 | |
2122 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2123 | $as_echo_n "checking for $ac_word... " >&6; } | |
2124 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | |
2125 | $as_echo_n "(cached) " >&6 | |
2126 | else | |
2127 | if test -n "$ac_ct_STRIP"; then | |
2128 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
2129 | else | |
2130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2131 | for as_dir in $PATH | |
2132 | do | |
2133 | IFS=$as_save_IFS | |
2134 | test -z "$as_dir" && as_dir=. | |
2135 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2136 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2137 | ac_cv_prog_ac_ct_STRIP="strip" | |
2138 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2139 | break 2 | |
2140 | fi | |
2141 | done | |
2142 | done | |
2143 | IFS=$as_save_IFS | |
2144 | ||
2145 | fi | |
2146 | fi | |
2147 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
2148 | if test -n "$ac_ct_STRIP"; then | |
2149 | { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | |
2150 | $as_echo "$ac_ct_STRIP" >&6; } | |
2151 | else | |
2152 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2153 | $as_echo "no" >&6; } | |
2154 | fi | |
2155 | ||
2156 | if test "x$ac_ct_STRIP" = x; then | |
2157 | STRIP=":" | |
2158 | else | |
2159 | case $cross_compiling:$ac_tool_warned in | |
2160 | yes:) | |
2161 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2162 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2163 | ac_tool_warned=yes ;; | |
2164 | esac | |
2165 | STRIP=$ac_ct_STRIP | |
2166 | fi | |
2167 | else | |
2168 | STRIP="$ac_cv_prog_STRIP" | |
2169 | fi | |
2170 | ||
2171 | fi | |
2172 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
2173 | ||
2174 | { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 | |
2175 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | |
2176 | if test -z "$MKDIR_P"; then | |
2177 | if test "${ac_cv_path_mkdir+set}" = set; then | |
2178 | $as_echo_n "(cached) " >&6 | |
2179 | else | |
2180 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2181 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | |
2182 | do | |
2183 | IFS=$as_save_IFS | |
2184 | test -z "$as_dir" && as_dir=. | |
2185 | for ac_prog in mkdir gmkdir; do | |
2186 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2187 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | |
2188 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | |
2189 | 'mkdir (GNU coreutils) '* | \ | |
2190 | 'mkdir (coreutils) '* | \ | |
2191 | 'mkdir (fileutils) '4.1*) | |
2192 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | |
2193 | break 3;; | |
2194 | esac | |
2195 | done | |
2196 | done | |
2197 | done | |
2198 | IFS=$as_save_IFS | |
2199 | ||
2200 | fi | |
2201 | ||
2202 | if test "${ac_cv_path_mkdir+set}" = set; then | |
2203 | MKDIR_P="$ac_cv_path_mkdir -p" | |
2204 | else | |
2205 | # As a last resort, use the slow shell script. Don't cache a | |
2206 | # value for MKDIR_P within a source directory, because that will | |
2207 | # break other packages using the cache if that directory is | |
2208 | # removed, or if the value is a relative name. | |
2209 | test -d ./--version && rmdir ./--version | |
2210 | MKDIR_P="$ac_install_sh -d" | |
2211 | fi | |
2212 | fi | |
2213 | { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 | |
2214 | $as_echo "$MKDIR_P" >&6; } | |
2215 | ||
2216 | mkdir_p="$MKDIR_P" | |
2217 | case $mkdir_p in | |
2218 | [\\/$]* | ?:[\\/]*) ;; | |
2219 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
2220 | esac | |
2221 | ||
2222 | for ac_prog in gawk mawk nawk awk | |
2223 | do | |
2224 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
2225 | set dummy $ac_prog; ac_word=$2 | |
2226 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2227 | $as_echo_n "checking for $ac_word... " >&6; } | |
2228 | if test "${ac_cv_prog_AWK+set}" = set; then | |
2229 | $as_echo_n "(cached) " >&6 | |
2230 | else | |
2231 | if test -n "$AWK"; then | |
2232 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
2233 | else | |
2234 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2235 | for as_dir in $PATH | |
2236 | do | |
2237 | IFS=$as_save_IFS | |
2238 | test -z "$as_dir" && as_dir=. | |
2239 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2240 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2241 | ac_cv_prog_AWK="$ac_prog" | |
2242 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2243 | break 2 | |
2244 | fi | |
2245 | done | |
2246 | done | |
2247 | IFS=$as_save_IFS | |
2248 | ||
2249 | fi | |
2250 | fi | |
2251 | AWK=$ac_cv_prog_AWK | |
2252 | if test -n "$AWK"; then | |
2253 | { $as_echo "$as_me:$LINENO: result: $AWK" >&5 | |
2254 | $as_echo "$AWK" >&6; } | |
2255 | else | |
2256 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2257 | $as_echo "no" >&6; } | |
2258 | fi | |
2259 | ||
2260 | ||
2261 | test -n "$AWK" && break | |
2262 | done | |
2263 | ||
2264 | { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | |
2265 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | |
2266 | set x ${MAKE-make} | |
2267 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
2268 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | |
2269 | $as_echo_n "(cached) " >&6 | |
2270 | else | |
2271 | cat >conftest.make <<\_ACEOF | |
2272 | SHELL = /bin/sh | |
2273 | all: | |
2274 | @echo '@@@%%%=$(MAKE)=@@@%%%' | |
2275 | _ACEOF | |
2276 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
2277 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | |
2278 | *@@@%%%=?*=@@@%%%*) | |
2279 | eval ac_cv_prog_make_${ac_make}_set=yes;; | |
2280 | *) | |
2281 | eval ac_cv_prog_make_${ac_make}_set=no;; | |
2282 | esac | |
2283 | rm -f conftest.make | |
2284 | fi | |
2285 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | |
2286 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | |
2287 | $as_echo "yes" >&6; } | |
2288 | SET_MAKE= | |
2289 | else | |
2290 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2291 | $as_echo "no" >&6; } | |
2292 | SET_MAKE="MAKE=${MAKE-make}" | |
2293 | fi | |
2294 | ||
2295 | rm -rf .tst 2>/dev/null | |
2296 | mkdir .tst 2>/dev/null | |
2297 | if test -d .tst; then | |
2298 | am__leading_dot=. | |
2299 | else | |
2300 | am__leading_dot=_ | |
2301 | fi | |
2302 | rmdir .tst 2>/dev/null | |
2303 | ||
2304 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
2305 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
2306 | # is not polluted with repeated "-I." | |
2307 | am__isrc=' -I$(srcdir)' | |
2308 | # test to see if srcdir already configured | |
2309 | if test -f $srcdir/config.status; then | |
2310 | { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | |
2311 | $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | |
2312 | { (exit 1); exit 1; }; } | |
2313 | fi | |
2314 | fi | |
2315 | ||
2316 | # test whether we have cygpath | |
2317 | if test -z "$CYGPATH_W"; then | |
2318 | if (cygpath --version) >/dev/null 2>/dev/null; then | |
2319 | CYGPATH_W='cygpath -w' | |
2320 | else | |
2321 | CYGPATH_W=echo | |
2322 | fi | |
2323 | fi | |
2324 | ||
2325 | ||
2326 | # Define the identity of the package. | |
2327 | PACKAGE='unrtf' | |
2328 | VERSION='0.21.2' | |
2329 | ||
2330 | ||
2331 | cat >>confdefs.h <<_ACEOF | |
2332 | @%:@define PACKAGE "$PACKAGE" | |
2333 | _ACEOF | |
2334 | ||
2335 | ||
2336 | cat >>confdefs.h <<_ACEOF | |
2337 | @%:@define VERSION "$VERSION" | |
2338 | _ACEOF | |
2339 | ||
2340 | # Some tools Automake needs. | |
2341 | ||
2342 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | |
2343 | ||
2344 | ||
2345 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | |
2346 | ||
2347 | ||
2348 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | |
2349 | ||
2350 | ||
2351 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | |
2352 | ||
2353 | ||
2354 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | |
2355 | ||
2356 | # We need awk for the "check" target. The system "awk" is bad on | |
2357 | # some platforms. | |
2358 | # Always define AMTAR for backward compatibility. | |
2359 | ||
2360 | AMTAR=${AMTAR-"${am_missing_run}tar"} | |
2361 | ||
2362 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | |
2363 | ||
2364 | ||
2365 | ||
2366 | ||
2367 | ||
2368 | ||
2369 | # AM_MAINTAINER_MODE is a controversial macro. | |
2370 | # I suggest you read this to understand what is going on: | |
2371 | # | |
2372 | # http://www.gnu.org/software/automake/manual/html_mono/automake.html#maintainer-mode | |
2373 | # | |
2374 | # when acting as a maintainer (writing code, preparing distributions, ...), | |
2375 | # turn the maintainer mode on by using ./configure --enable-maintainer-mode | |
2376 | # | |
2377 | # your users will not see maintainer rules, and so their (potentially | |
2378 | # incompatible) autotools do not have any chance to trigger and mess up things. | |
2379 | ||
2380 | ||
2381 | { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 | |
2382 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } | |
2383 | @%:@ Check whether --enable-maintainer-mode was given. | |
2384 | if test "${enable_maintainer_mode+set}" = set; then | |
2385 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval | |
2386 | else | |
2387 | USE_MAINTAINER_MODE=no | |
2388 | fi | |
2389 | ||
2390 | { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 | |
2391 | $as_echo "$USE_MAINTAINER_MODE" >&6; } | |
2392 | if test $USE_MAINTAINER_MODE = yes; then | |
2393 | MAINTAINER_MODE_TRUE= | |
2394 | MAINTAINER_MODE_FALSE='#' | |
2395 | else | |
2396 | MAINTAINER_MODE_TRUE='#' | |
2397 | MAINTAINER_MODE_FALSE= | |
2398 | fi | |
2399 | ||
2400 | MAINT=$MAINTAINER_MODE_TRUE | |
2401 | ||
2402 | ||
2403 | ||
2404 | # Checks for programs (compiler and installation program) | |
2405 | ac_ext=c | |
2406 | ac_cpp='$CPP $CPPFLAGS' | |
2407 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2408 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2409 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2410 | if test -n "$ac_tool_prefix"; then | |
2411 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
2412 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
2413 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2414 | $as_echo_n "checking for $ac_word... " >&6; } | |
2415 | if test "${ac_cv_prog_CC+set}" = set; then | |
2416 | $as_echo_n "(cached) " >&6 | |
2417 | else | |
2418 | if test -n "$CC"; then | |
2419 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
2420 | else | |
2421 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2422 | for as_dir in $PATH | |
2423 | do | |
2424 | IFS=$as_save_IFS | |
2425 | test -z "$as_dir" && as_dir=. | |
2426 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2427 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2428 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
2429 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2430 | break 2 | |
2431 | fi | |
2432 | done | |
2433 | done | |
2434 | IFS=$as_save_IFS | |
2435 | ||
2436 | fi | |
2437 | fi | |
2438 | CC=$ac_cv_prog_CC | |
2439 | if test -n "$CC"; then | |
2440 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | |
2441 | $as_echo "$CC" >&6; } | |
2442 | else | |
2443 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2444 | $as_echo "no" >&6; } | |
2445 | fi | |
2446 | ||
2447 | ||
2448 | fi | |
2449 | if test -z "$ac_cv_prog_CC"; then | |
2450 | ac_ct_CC=$CC | |
2451 | # Extract the first word of "gcc", so it can be a program name with args. | |
2452 | set dummy gcc; ac_word=$2 | |
2453 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2454 | $as_echo_n "checking for $ac_word... " >&6; } | |
2455 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
2456 | $as_echo_n "(cached) " >&6 | |
2457 | else | |
2458 | if test -n "$ac_ct_CC"; then | |
2459 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
2460 | else | |
2461 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2462 | for as_dir in $PATH | |
2463 | do | |
2464 | IFS=$as_save_IFS | |
2465 | test -z "$as_dir" && as_dir=. | |
2466 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2467 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2468 | ac_cv_prog_ac_ct_CC="gcc" | |
2469 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2470 | break 2 | |
2471 | fi | |
2472 | done | |
2473 | done | |
2474 | IFS=$as_save_IFS | |
2475 | ||
2476 | fi | |
2477 | fi | |
2478 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
2479 | if test -n "$ac_ct_CC"; then | |
2480 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
2481 | $as_echo "$ac_ct_CC" >&6; } | |
2482 | else | |
2483 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2484 | $as_echo "no" >&6; } | |
2485 | fi | |
2486 | ||
2487 | if test "x$ac_ct_CC" = x; then | |
2488 | CC="" | |
2489 | else | |
2490 | case $cross_compiling:$ac_tool_warned in | |
2491 | yes:) | |
2492 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2493 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2494 | ac_tool_warned=yes ;; | |
2495 | esac | |
2496 | CC=$ac_ct_CC | |
2497 | fi | |
2498 | else | |
2499 | CC="$ac_cv_prog_CC" | |
2500 | fi | |
2501 | ||
2502 | if test -z "$CC"; then | |
2503 | if test -n "$ac_tool_prefix"; then | |
2504 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
2505 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
2506 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2507 | $as_echo_n "checking for $ac_word... " >&6; } | |
2508 | if test "${ac_cv_prog_CC+set}" = set; then | |
2509 | $as_echo_n "(cached) " >&6 | |
2510 | else | |
2511 | if test -n "$CC"; then | |
2512 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
2513 | else | |
2514 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2515 | for as_dir in $PATH | |
2516 | do | |
2517 | IFS=$as_save_IFS | |
2518 | test -z "$as_dir" && as_dir=. | |
2519 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2520 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2521 | ac_cv_prog_CC="${ac_tool_prefix}cc" | |
2522 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2523 | break 2 | |
2524 | fi | |
2525 | done | |
2526 | done | |
2527 | IFS=$as_save_IFS | |
2528 | ||
2529 | fi | |
2530 | fi | |
2531 | CC=$ac_cv_prog_CC | |
2532 | if test -n "$CC"; then | |
2533 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | |
2534 | $as_echo "$CC" >&6; } | |
2535 | else | |
2536 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2537 | $as_echo "no" >&6; } | |
2538 | fi | |
2539 | ||
2540 | ||
2541 | fi | |
2542 | fi | |
2543 | if test -z "$CC"; then | |
2544 | # Extract the first word of "cc", so it can be a program name with args. | |
2545 | set dummy cc; ac_word=$2 | |
2546 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2547 | $as_echo_n "checking for $ac_word... " >&6; } | |
2548 | if test "${ac_cv_prog_CC+set}" = set; then | |
2549 | $as_echo_n "(cached) " >&6 | |
2550 | else | |
2551 | if test -n "$CC"; then | |
2552 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
2553 | else | |
2554 | ac_prog_rejected=no | |
2555 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2556 | for as_dir in $PATH | |
2557 | do | |
2558 | IFS=$as_save_IFS | |
2559 | test -z "$as_dir" && as_dir=. | |
2560 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2561 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2562 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
2563 | ac_prog_rejected=yes | |
2564 | continue | |
2565 | fi | |
2566 | ac_cv_prog_CC="cc" | |
2567 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2568 | break 2 | |
2569 | fi | |
2570 | done | |
2571 | done | |
2572 | IFS=$as_save_IFS | |
2573 | ||
2574 | if test $ac_prog_rejected = yes; then | |
2575 | # We found a bogon in the path, so make sure we never use it. | |
2576 | set dummy $ac_cv_prog_CC | |
2577 | shift | |
2578 | if test $@%:@ != 0; then | |
2579 | # We chose a different compiler from the bogus one. | |
2580 | # However, it has the same basename, so the bogon will be chosen | |
2581 | # first if we set CC to just the basename; use the full file name. | |
2582 | shift | |
2583 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
2584 | fi | |
2585 | fi | |
2586 | fi | |
2587 | fi | |
2588 | CC=$ac_cv_prog_CC | |
2589 | if test -n "$CC"; then | |
2590 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | |
2591 | $as_echo "$CC" >&6; } | |
2592 | else | |
2593 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2594 | $as_echo "no" >&6; } | |
2595 | fi | |
2596 | ||
2597 | ||
2598 | fi | |
2599 | if test -z "$CC"; then | |
2600 | if test -n "$ac_tool_prefix"; then | |
2601 | for ac_prog in cl.exe | |
2602 | do | |
2603 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
2604 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
2605 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2606 | $as_echo_n "checking for $ac_word... " >&6; } | |
2607 | if test "${ac_cv_prog_CC+set}" = set; then | |
2608 | $as_echo_n "(cached) " >&6 | |
2609 | else | |
2610 | if test -n "$CC"; then | |
2611 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
2612 | else | |
2613 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2614 | for as_dir in $PATH | |
2615 | do | |
2616 | IFS=$as_save_IFS | |
2617 | test -z "$as_dir" && as_dir=. | |
2618 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2619 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2620 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
2621 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2622 | break 2 | |
2623 | fi | |
2624 | done | |
2625 | done | |
2626 | IFS=$as_save_IFS | |
2627 | ||
2628 | fi | |
2629 | fi | |
2630 | CC=$ac_cv_prog_CC | |
2631 | if test -n "$CC"; then | |
2632 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | |
2633 | $as_echo "$CC" >&6; } | |
2634 | else | |
2635 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2636 | $as_echo "no" >&6; } | |
2637 | fi | |
2638 | ||
2639 | ||
2640 | test -n "$CC" && break | |
2641 | done | |
2642 | fi | |
2643 | if test -z "$CC"; then | |
2644 | ac_ct_CC=$CC | |
2645 | for ac_prog in cl.exe | |
2646 | do | |
2647 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
2648 | set dummy $ac_prog; ac_word=$2 | |
2649 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2650 | $as_echo_n "checking for $ac_word... " >&6; } | |
2651 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
2652 | $as_echo_n "(cached) " >&6 | |
2653 | else | |
2654 | if test -n "$ac_ct_CC"; then | |
2655 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
2656 | else | |
2657 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2658 | for as_dir in $PATH | |
2659 | do | |
2660 | IFS=$as_save_IFS | |
2661 | test -z "$as_dir" && as_dir=. | |
2662 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2663 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2664 | ac_cv_prog_ac_ct_CC="$ac_prog" | |
2665 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2666 | break 2 | |
2667 | fi | |
2668 | done | |
2669 | done | |
2670 | IFS=$as_save_IFS | |
2671 | ||
2672 | fi | |
2673 | fi | |
2674 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
2675 | if test -n "$ac_ct_CC"; then | |
2676 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
2677 | $as_echo "$ac_ct_CC" >&6; } | |
2678 | else | |
2679 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2680 | $as_echo "no" >&6; } | |
2681 | fi | |
2682 | ||
2683 | ||
2684 | test -n "$ac_ct_CC" && break | |
2685 | done | |
2686 | ||
2687 | if test "x$ac_ct_CC" = x; then | |
2688 | CC="" | |
2689 | else | |
2690 | case $cross_compiling:$ac_tool_warned in | |
2691 | yes:) | |
2692 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2693 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2694 | ac_tool_warned=yes ;; | |
2695 | esac | |
2696 | CC=$ac_ct_CC | |
2697 | fi | |
2698 | fi | |
2699 | ||
2700 | fi | |
2701 | ||
2702 | ||
2703 | test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
2704 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2705 | { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | |
2706 | See \`config.log' for more details." >&5 | |
2707 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH | |
2708 | See \`config.log' for more details." >&2;} | |
2709 | { (exit 1); exit 1; }; }; } | |
2710 | ||
2711 | # Provide some information about the compiler. | |
2712 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 | |
2713 | set X $ac_compile | |
2714 | ac_compiler=$2 | |
2715 | { (ac_try="$ac_compiler --version >&5" | |
2716 | case "(($ac_try" in | |
2717 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2718 | *) ac_try_echo=$ac_try;; | |
2719 | esac | |
2720 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2721 | $as_echo "$ac_try_echo") >&5 | |
2722 | (eval "$ac_compiler --version >&5") 2>&5 | |
2723 | ac_status=$? | |
2724 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2725 | (exit $ac_status); } | |
2726 | { (ac_try="$ac_compiler -v >&5" | |
2727 | case "(($ac_try" in | |
2728 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2729 | *) ac_try_echo=$ac_try;; | |
2730 | esac | |
2731 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2732 | $as_echo "$ac_try_echo") >&5 | |
2733 | (eval "$ac_compiler -v >&5") 2>&5 | |
2734 | ac_status=$? | |
2735 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2736 | (exit $ac_status); } | |
2737 | { (ac_try="$ac_compiler -V >&5" | |
2738 | case "(($ac_try" in | |
2739 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2740 | *) ac_try_echo=$ac_try;; | |
2741 | esac | |
2742 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2743 | $as_echo "$ac_try_echo") >&5 | |
2744 | (eval "$ac_compiler -V >&5") 2>&5 | |
2745 | ac_status=$? | |
2746 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2747 | (exit $ac_status); } | |
2748 | ||
2749 | cat >conftest.$ac_ext <<_ACEOF | |
2750 | /* confdefs.h. */ | |
2751 | _ACEOF | |
2752 | cat confdefs.h >>conftest.$ac_ext | |
2753 | cat >>conftest.$ac_ext <<_ACEOF | |
2754 | /* end confdefs.h. */ | |
2755 | ||
2756 | int | |
2757 | main () | |
2758 | { | |
2759 | ||
2760 | ; | |
2761 | return 0; | |
2762 | } | |
2763 | _ACEOF | |
2764 | ac_clean_files_save=$ac_clean_files | |
2765 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |
2766 | # Try to create an executable without -o first, disregard a.out. | |
2767 | # It will help us diagnose broken compilers, and finding out an intuition | |
2768 | # of exeext. | |
2769 | { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | |
2770 | $as_echo_n "checking for C compiler default output file name... " >&6; } | |
2771 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
2772 | ||
2773 | # The possible output files: | |
2774 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
2775 | ||
2776 | ac_rmfiles= | |
2777 | for ac_file in $ac_files | |
2778 | do | |
2779 | case $ac_file in | |
2780 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
2781 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
2782 | esac | |
2783 | done | |
2784 | rm -f $ac_rmfiles | |
2785 | ||
2786 | if { (ac_try="$ac_link_default" | |
2787 | case "(($ac_try" in | |
2788 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2789 | *) ac_try_echo=$ac_try;; | |
2790 | esac | |
2791 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2792 | $as_echo "$ac_try_echo") >&5 | |
2793 | (eval "$ac_link_default") 2>&5 | |
2794 | ac_status=$? | |
2795 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2796 | (exit $ac_status); }; then | |
2797 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | |
2798 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | |
2799 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | |
2800 | # so that the user can short-circuit this test for compilers unknown to | |
2801 | # Autoconf. | |
2802 | for ac_file in $ac_files '' | |
2803 | do | |
2804 | test -f "$ac_file" || continue | |
2805 | case $ac_file in | |
2806 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | |
2807 | ;; | |
2808 | [ab].out ) | |
2809 | # We found the default executable, but exeext='' is most | |
2810 | # certainly right. | |
2811 | break;; | |
2812 | *.* ) | |
2813 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
2814 | then :; else | |
2815 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
2816 | fi | |
2817 | # We set ac_cv_exeext here because the later test for it is not | |
2818 | # safe: cross compilers may not add the suffix if given an `-o' | |
2819 | # argument, so we may need to know it at that point already. | |
2820 | # Even if this section looks crufty: it has the advantage of | |
2821 | # actually working. | |
2822 | break;; | |
2823 | * ) | |
2824 | break;; | |
2825 | esac | |
2826 | done | |
2827 | test "$ac_cv_exeext" = no && ac_cv_exeext= | |
2828 | ||
2829 | else | |
2830 | ac_file='' | |
2831 | fi | |
2832 | ||
2833 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 | |
2834 | $as_echo "$ac_file" >&6; } | |
2835 | if test -z "$ac_file"; then | |
2836 | $as_echo "$as_me: failed program was:" >&5 | |
2837 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2838 | ||
2839 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
2840 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2841 | { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables | |
2842 | See \`config.log' for more details." >&5 | |
2843 | $as_echo "$as_me: error: C compiler cannot create executables | |
2844 | See \`config.log' for more details." >&2;} | |
2845 | { (exit 77); exit 77; }; }; } | |
2846 | fi | |
2847 | ||
2848 | ac_exeext=$ac_cv_exeext | |
2849 | ||
2850 | # Check that the compiler produces executables we can run. If not, either | |
2851 | # the compiler is broken, or we cross compile. | |
2852 | { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | |
2853 | $as_echo_n "checking whether the C compiler works... " >&6; } | |
2854 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
2855 | # If not cross compiling, check that we can run a simple program. | |
2856 | if test "$cross_compiling" != yes; then | |
2857 | if { ac_try='./$ac_file' | |
2858 | { (case "(($ac_try" in | |
2859 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2860 | *) ac_try_echo=$ac_try;; | |
2861 | esac | |
2862 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2863 | $as_echo "$ac_try_echo") >&5 | |
2864 | (eval "$ac_try") 2>&5 | |
2865 | ac_status=$? | |
2866 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2867 | (exit $ac_status); }; }; then | |
2868 | cross_compiling=no | |
2869 | else | |
2870 | if test "$cross_compiling" = maybe; then | |
2871 | cross_compiling=yes | |
2872 | else | |
2873 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
2874 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2875 | { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. | |
2876 | If you meant to cross compile, use \`--host'. | |
2877 | See \`config.log' for more details." >&5 | |
2878 | $as_echo "$as_me: error: cannot run C compiled programs. | |
2879 | If you meant to cross compile, use \`--host'. | |
2880 | See \`config.log' for more details." >&2;} | |
2881 | { (exit 1); exit 1; }; }; } | |
2882 | fi | |
2883 | fi | |
2884 | fi | |
2885 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | |
2886 | $as_echo "yes" >&6; } | |
2887 | ||
2888 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | |
2889 | ac_clean_files=$ac_clean_files_save | |
2890 | # Check that the compiler produces executables we can run. If not, either | |
2891 | # the compiler is broken, or we cross compile. | |
2892 | { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | |
2893 | $as_echo_n "checking whether we are cross compiling... " >&6; } | |
2894 | { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 | |
2895 | $as_echo "$cross_compiling" >&6; } | |
2896 | ||
2897 | { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 | |
2898 | $as_echo_n "checking for suffix of executables... " >&6; } | |
2899 | if { (ac_try="$ac_link" | |
2900 | case "(($ac_try" in | |
2901 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2902 | *) ac_try_echo=$ac_try;; | |
2903 | esac | |
2904 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2905 | $as_echo "$ac_try_echo") >&5 | |
2906 | (eval "$ac_link") 2>&5 | |
2907 | ac_status=$? | |
2908 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2909 | (exit $ac_status); }; then | |
2910 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
2911 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
2912 | # work properly (i.e., refer to `conftest.exe'), while it won't with | |
2913 | # `rm'. | |
2914 | for ac_file in conftest.exe conftest conftest.*; do | |
2915 | test -f "$ac_file" || continue | |
2916 | case $ac_file in | |
2917 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
2918 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
2919 | break;; | |
2920 | * ) break;; | |
2921 | esac | |
2922 | done | |
2923 | else | |
2924 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
2925 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2926 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | |
2927 | See \`config.log' for more details." >&5 | |
2928 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | |
2929 | See \`config.log' for more details." >&2;} | |
2930 | { (exit 1); exit 1; }; }; } | |
2931 | fi | |
2932 | ||
2933 | rm -f conftest$ac_cv_exeext | |
2934 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | |
2935 | $as_echo "$ac_cv_exeext" >&6; } | |
2936 | ||
2937 | rm -f conftest.$ac_ext | |
2938 | EXEEXT=$ac_cv_exeext | |
2939 | ac_exeext=$EXEEXT | |
2940 | { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 | |
2941 | $as_echo_n "checking for suffix of object files... " >&6; } | |
2942 | if test "${ac_cv_objext+set}" = set; then | |
2943 | $as_echo_n "(cached) " >&6 | |
2944 | else | |
2945 | cat >conftest.$ac_ext <<_ACEOF | |
2946 | /* confdefs.h. */ | |
2947 | _ACEOF | |
2948 | cat confdefs.h >>conftest.$ac_ext | |
2949 | cat >>conftest.$ac_ext <<_ACEOF | |
2950 | /* end confdefs.h. */ | |
2951 | ||
2952 | int | |
2953 | main () | |
2954 | { | |
2955 | ||
2956 | ; | |
2957 | return 0; | |
2958 | } | |
2959 | _ACEOF | |
2960 | rm -f conftest.o conftest.obj | |
2961 | if { (ac_try="$ac_compile" | |
2962 | case "(($ac_try" in | |
2963 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2964 | *) ac_try_echo=$ac_try;; | |
2965 | esac | |
2966 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2967 | $as_echo "$ac_try_echo") >&5 | |
2968 | (eval "$ac_compile") 2>&5 | |
2969 | ac_status=$? | |
2970 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2971 | (exit $ac_status); }; then | |
2972 | for ac_file in conftest.o conftest.obj conftest.*; do | |
2973 | test -f "$ac_file" || continue; | |
2974 | case $ac_file in | |
2975 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | |
2976 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
2977 | break;; | |
2978 | esac | |
2979 | done | |
2980 | else | |
2981 | $as_echo "$as_me: failed program was:" >&5 | |
2982 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2983 | ||
2984 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
2985 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2986 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | |
2987 | See \`config.log' for more details." >&5 | |
2988 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile | |
2989 | See \`config.log' for more details." >&2;} | |
2990 | { (exit 1); exit 1; }; }; } | |
2991 | fi | |
2992 | ||
2993 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
2994 | fi | |
2995 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | |
2996 | $as_echo "$ac_cv_objext" >&6; } | |
2997 | OBJEXT=$ac_cv_objext | |
2998 | ac_objext=$OBJEXT | |
2999 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | |
3000 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
3001 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | |
3002 | $as_echo_n "(cached) " >&6 | |
3003 | else | |
3004 | cat >conftest.$ac_ext <<_ACEOF | |
3005 | /* confdefs.h. */ | |
3006 | _ACEOF | |
3007 | cat confdefs.h >>conftest.$ac_ext | |
3008 | cat >>conftest.$ac_ext <<_ACEOF | |
3009 | /* end confdefs.h. */ | |
3010 | ||
3011 | int | |
3012 | main () | |
3013 | { | |
3014 | #ifndef __GNUC__ | |
3015 | choke me | |
3016 | #endif | |
3017 | ||
3018 | ; | |
3019 | return 0; | |
3020 | } | |
3021 | _ACEOF | |
3022 | rm -f conftest.$ac_objext | |
3023 | if { (ac_try="$ac_compile" | |
3024 | case "(($ac_try" in | |
3025 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3026 | *) ac_try_echo=$ac_try;; | |
3027 | esac | |
3028 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3029 | $as_echo "$ac_try_echo") >&5 | |
3030 | (eval "$ac_compile") 2>conftest.er1 | |
3031 | ac_status=$? | |
3032 | grep -v '^ *+' conftest.er1 >conftest.err | |
3033 | rm -f conftest.er1 | |
3034 | cat conftest.err >&5 | |
3035 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3036 | (exit $ac_status); } && { | |
3037 | test -z "$ac_c_werror_flag" || | |
3038 | test ! -s conftest.err | |
3039 | } && test -s conftest.$ac_objext; then | |
3040 | ac_compiler_gnu=yes | |
3041 | else | |
3042 | $as_echo "$as_me: failed program was:" >&5 | |
3043 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3044 | ||
3045 | ac_compiler_gnu=no | |
3046 | fi | |
3047 | ||
3048 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3049 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
3050 | ||
3051 | fi | |
3052 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | |
3053 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
3054 | if test $ac_compiler_gnu = yes; then | |
3055 | GCC=yes | |
3056 | else | |
3057 | GCC= | |
3058 | fi | |
3059 | ac_test_CFLAGS=${CFLAGS+set} | |
3060 | ac_save_CFLAGS=$CFLAGS | |
3061 | { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | |
3062 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | |
3063 | if test "${ac_cv_prog_cc_g+set}" = set; then | |
3064 | $as_echo_n "(cached) " >&6 | |
3065 | else | |
3066 | ac_save_c_werror_flag=$ac_c_werror_flag | |
3067 | ac_c_werror_flag=yes | |
3068 | ac_cv_prog_cc_g=no | |
3069 | CFLAGS="-g" | |
3070 | cat >conftest.$ac_ext <<_ACEOF | |
3071 | /* confdefs.h. */ | |
3072 | _ACEOF | |
3073 | cat confdefs.h >>conftest.$ac_ext | |
3074 | cat >>conftest.$ac_ext <<_ACEOF | |
3075 | /* end confdefs.h. */ | |
3076 | ||
3077 | int | |
3078 | main () | |
3079 | { | |
3080 | ||
3081 | ; | |
3082 | return 0; | |
3083 | } | |
3084 | _ACEOF | |
3085 | rm -f conftest.$ac_objext | |
3086 | if { (ac_try="$ac_compile" | |
3087 | case "(($ac_try" in | |
3088 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3089 | *) ac_try_echo=$ac_try;; | |
3090 | esac | |
3091 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3092 | $as_echo "$ac_try_echo") >&5 | |
3093 | (eval "$ac_compile") 2>conftest.er1 | |
3094 | ac_status=$? | |
3095 | grep -v '^ *+' conftest.er1 >conftest.err | |
3096 | rm -f conftest.er1 | |
3097 | cat conftest.err >&5 | |
3098 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3099 | (exit $ac_status); } && { | |
3100 | test -z "$ac_c_werror_flag" || | |
3101 | test ! -s conftest.err | |
3102 | } && test -s conftest.$ac_objext; then | |
3103 | ac_cv_prog_cc_g=yes | |
3104 | else | |
3105 | $as_echo "$as_me: failed program was:" >&5 | |
3106 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3107 | ||
3108 | CFLAGS="" | |
3109 | cat >conftest.$ac_ext <<_ACEOF | |
3110 | /* confdefs.h. */ | |
3111 | _ACEOF | |
3112 | cat confdefs.h >>conftest.$ac_ext | |
3113 | cat >>conftest.$ac_ext <<_ACEOF | |
3114 | /* end confdefs.h. */ | |
3115 | ||
3116 | int | |
3117 | main () | |
3118 | { | |
3119 | ||
3120 | ; | |
3121 | return 0; | |
3122 | } | |
3123 | _ACEOF | |
3124 | rm -f conftest.$ac_objext | |
3125 | if { (ac_try="$ac_compile" | |
3126 | case "(($ac_try" in | |
3127 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3128 | *) ac_try_echo=$ac_try;; | |
3129 | esac | |
3130 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3131 | $as_echo "$ac_try_echo") >&5 | |
3132 | (eval "$ac_compile") 2>conftest.er1 | |
3133 | ac_status=$? | |
3134 | grep -v '^ *+' conftest.er1 >conftest.err | |
3135 | rm -f conftest.er1 | |
3136 | cat conftest.err >&5 | |
3137 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3138 | (exit $ac_status); } && { | |
3139 | test -z "$ac_c_werror_flag" || | |
3140 | test ! -s conftest.err | |
3141 | } && test -s conftest.$ac_objext; then | |
3142 | : | |
3143 | else | |
3144 | $as_echo "$as_me: failed program was:" >&5 | |
3145 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3146 | ||
3147 | ac_c_werror_flag=$ac_save_c_werror_flag | |
3148 | CFLAGS="-g" | |
3149 | cat >conftest.$ac_ext <<_ACEOF | |
3150 | /* confdefs.h. */ | |
3151 | _ACEOF | |
3152 | cat confdefs.h >>conftest.$ac_ext | |
3153 | cat >>conftest.$ac_ext <<_ACEOF | |
3154 | /* end confdefs.h. */ | |
3155 | ||
3156 | int | |
3157 | main () | |
3158 | { | |
3159 | ||
3160 | ; | |
3161 | return 0; | |
3162 | } | |
3163 | _ACEOF | |
3164 | rm -f conftest.$ac_objext | |
3165 | if { (ac_try="$ac_compile" | |
3166 | case "(($ac_try" in | |
3167 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3168 | *) ac_try_echo=$ac_try;; | |
3169 | esac | |
3170 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3171 | $as_echo "$ac_try_echo") >&5 | |
3172 | (eval "$ac_compile") 2>conftest.er1 | |
3173 | ac_status=$? | |
3174 | grep -v '^ *+' conftest.er1 >conftest.err | |
3175 | rm -f conftest.er1 | |
3176 | cat conftest.err >&5 | |
3177 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3178 | (exit $ac_status); } && { | |
3179 | test -z "$ac_c_werror_flag" || | |
3180 | test ! -s conftest.err | |
3181 | } && test -s conftest.$ac_objext; then | |
3182 | ac_cv_prog_cc_g=yes | |
3183 | else | |
3184 | $as_echo "$as_me: failed program was:" >&5 | |
3185 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3186 | ||
3187 | ||
3188 | fi | |
3189 | ||
3190 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3191 | fi | |
3192 | ||
3193 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3194 | fi | |
3195 | ||
3196 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3197 | ac_c_werror_flag=$ac_save_c_werror_flag | |
3198 | fi | |
3199 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | |
3200 | $as_echo "$ac_cv_prog_cc_g" >&6; } | |
3201 | if test "$ac_test_CFLAGS" = set; then | |
3202 | CFLAGS=$ac_save_CFLAGS | |
3203 | elif test $ac_cv_prog_cc_g = yes; then | |
3204 | if test "$GCC" = yes; then | |
3205 | CFLAGS="-g -O2" | |
3206 | else | |
3207 | CFLAGS="-g" | |
3208 | fi | |
3209 | else | |
3210 | if test "$GCC" = yes; then | |
3211 | CFLAGS="-O2" | |
3212 | else | |
3213 | CFLAGS= | |
3214 | fi | |
3215 | fi | |
3216 | { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | |
3217 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | |
3218 | if test "${ac_cv_prog_cc_c89+set}" = set; then | |
3219 | $as_echo_n "(cached) " >&6 | |
3220 | else | |
3221 | ac_cv_prog_cc_c89=no | |
3222 | ac_save_CC=$CC | |
3223 | cat >conftest.$ac_ext <<_ACEOF | |
3224 | /* confdefs.h. */ | |
3225 | _ACEOF | |
3226 | cat confdefs.h >>conftest.$ac_ext | |
3227 | cat >>conftest.$ac_ext <<_ACEOF | |
3228 | /* end confdefs.h. */ | |
3229 | #include <stdarg.h> | |
3230 | #include <stdio.h> | |
3231 | #include <sys/types.h> | |
3232 | #include <sys/stat.h> | |
3233 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
3234 | struct buf { int x; }; | |
3235 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
3236 | static char *e (p, i) | |
3237 | char **p; | |
3238 | int i; | |
3239 | { | |
3240 | return p[i]; | |
3241 | } | |
3242 | static char *f (char * (*g) (char **, int), char **p, ...) | |
3243 | { | |
3244 | char *s; | |
3245 | va_list v; | |
3246 | va_start (v,p); | |
3247 | s = g (p, va_arg (v,int)); | |
3248 | va_end (v); | |
3249 | return s; | |
3250 | } | |
3251 | ||
3252 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
3253 | function prototypes and stuff, but not '\xHH' hex character constants. | |
3254 | These don't provoke an error unfortunately, instead are silently treated | |
3255 | as 'x'. The following induces an error, until -std is added to get | |
3256 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
3257 | array size at least. It's necessary to write '\x00'==0 to get something | |
3258 | that's true only with -std. */ | |
3259 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
3260 | ||
3261 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
3262 | inside strings and character constants. */ | |
3263 | #define FOO(x) 'x' | |
3264 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
3265 | ||
3266 | int test (int i, double x); | |
3267 | struct s1 {int (*f) (int a);}; | |
3268 | struct s2 {int (*f) (double a);}; | |
3269 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
3270 | int argc; | |
3271 | char **argv; | |
3272 | int | |
3273 | main () | |
3274 | { | |
3275 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
3276 | ; | |
3277 | return 0; | |
3278 | } | |
3279 | _ACEOF | |
3280 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |
3281 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
3282 | do | |
3283 | CC="$ac_save_CC $ac_arg" | |
3284 | rm -f conftest.$ac_objext | |
3285 | if { (ac_try="$ac_compile" | |
3286 | case "(($ac_try" in | |
3287 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3288 | *) ac_try_echo=$ac_try;; | |
3289 | esac | |
3290 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3291 | $as_echo "$ac_try_echo") >&5 | |
3292 | (eval "$ac_compile") 2>conftest.er1 | |
3293 | ac_status=$? | |
3294 | grep -v '^ *+' conftest.er1 >conftest.err | |
3295 | rm -f conftest.er1 | |
3296 | cat conftest.err >&5 | |
3297 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3298 | (exit $ac_status); } && { | |
3299 | test -z "$ac_c_werror_flag" || | |
3300 | test ! -s conftest.err | |
3301 | } && test -s conftest.$ac_objext; then | |
3302 | ac_cv_prog_cc_c89=$ac_arg | |
3303 | else | |
3304 | $as_echo "$as_me: failed program was:" >&5 | |
3305 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3306 | ||
3307 | ||
3308 | fi | |
3309 | ||
3310 | rm -f core conftest.err conftest.$ac_objext | |
3311 | test "x$ac_cv_prog_cc_c89" != "xno" && break | |
3312 | done | |
3313 | rm -f conftest.$ac_ext | |
3314 | CC=$ac_save_CC | |
3315 | ||
3316 | fi | |
3317 | # AC_CACHE_VAL | |
3318 | case "x$ac_cv_prog_cc_c89" in | |
3319 | x) | |
3320 | { $as_echo "$as_me:$LINENO: result: none needed" >&5 | |
3321 | $as_echo "none needed" >&6; } ;; | |
3322 | xno) | |
3323 | { $as_echo "$as_me:$LINENO: result: unsupported" >&5 | |
3324 | $as_echo "unsupported" >&6; } ;; | |
3325 | *) | |
3326 | CC="$CC $ac_cv_prog_cc_c89" | |
3327 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | |
3328 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
3329 | esac | |
3330 | ||
3331 | ||
3332 | ac_ext=c | |
3333 | ac_cpp='$CPP $CPPFLAGS' | |
3334 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3335 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3336 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3337 | DEPDIR="${am__leading_dot}deps" | |
3338 | ||
3339 | ac_config_commands="$ac_config_commands depfiles" | |
3340 | ||
3341 | ||
3342 | am_make=${MAKE-make} | |
3343 | cat > confinc << 'END' | |
3344 | am__doit: | |
3345 | @echo this is the am__doit target | |
3346 | .PHONY: am__doit | |
3347 | END | |
3348 | # If we don't find an include directive, just comment out the code. | |
3349 | { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | |
3350 | $as_echo_n "checking for style of include used by $am_make... " >&6; } | |
3351 | am__include="#" | |
3352 | am__quote= | |
3353 | _am_result=none | |
3354 | # First try GNU make style include. | |
3355 | echo "include confinc" > confmf | |
3356 | # Ignore all kinds of additional output from `make'. | |
3357 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
3358 | *the\ am__doit\ target*) | |
3359 | am__include=include | |
3360 | am__quote= | |
3361 | _am_result=GNU | |
3362 | ;; | |
3363 | esac | |
3364 | # Now try BSD make style include. | |
3365 | if test "$am__include" = "#"; then | |
3366 | echo '.include "confinc"' > confmf | |
3367 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
3368 | *the\ am__doit\ target*) | |
3369 | am__include=.include | |
3370 | am__quote="\"" | |
3371 | _am_result=BSD | |
3372 | ;; | |
3373 | esac | |
3374 | fi | |
3375 | ||
3376 | ||
3377 | { $as_echo "$as_me:$LINENO: result: $_am_result" >&5 | |
3378 | $as_echo "$_am_result" >&6; } | |
3379 | rm -f confinc confmf | |
3380 | ||
3381 | @%:@ Check whether --enable-dependency-tracking was given. | |
3382 | if test "${enable_dependency_tracking+set}" = set; then | |
3383 | enableval=$enable_dependency_tracking; | |
3384 | fi | |
3385 | ||
3386 | if test "x$enable_dependency_tracking" != xno; then | |
3387 | am_depcomp="$ac_aux_dir/depcomp" | |
3388 | AMDEPBACKSLASH='\' | |
3389 | fi | |
3390 | if test "x$enable_dependency_tracking" != xno; then | |
3391 | AMDEP_TRUE= | |
3392 | AMDEP_FALSE='#' | |
3393 | else | |
3394 | AMDEP_TRUE='#' | |
3395 | AMDEP_FALSE= | |
3396 | fi | |
3397 | ||
3398 | ||
3399 | ||
3400 | depcc="$CC" am_compiler_list= | |
3401 | ||
3402 | { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | |
3403 | $as_echo_n "checking dependency style of $depcc... " >&6; } | |
3404 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | |
3405 | $as_echo_n "(cached) " >&6 | |
3406 | else | |
3407 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
3408 | # We make a subdir and do the tests there. Otherwise we can end up | |
3409 | # making bogus files that we don't know about and never remove. For | |
3410 | # instance it was reported that on HP-UX the gcc test will end up | |
3411 | # making a dummy file named `D' -- because `-MD' means `put the output | |
3412 | # in D'. | |
3413 | mkdir conftest.dir | |
3414 | # Copy depcomp to subdir because otherwise we won't find it if we're | |
3415 | # using a relative directory. | |
3416 | cp "$am_depcomp" conftest.dir | |
3417 | cd conftest.dir | |
3418 | # We will build objects and dependencies in a subdirectory because | |
3419 | # it helps to detect inapplicable dependency modes. For instance | |
3420 | # both Tru64's cc and ICC support -MD to output dependencies as a | |
3421 | # side effect of compilation, but ICC will put the dependencies in | |
3422 | # the current directory while Tru64 will put them in the object | |
3423 | # directory. | |
3424 | mkdir sub | |
3425 | ||
3426 | am_cv_CC_dependencies_compiler_type=none | |
3427 | if test "$am_compiler_list" = ""; then | |
3428 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | |
3429 | fi | |
3430 | am__universal=false | |
3431 | case " $depcc " in #( | |
3432 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
3433 | esac | |
3434 | ||
3435 | for depmode in $am_compiler_list; do | |
3436 | # Setup a source with many dependencies, because some compilers | |
3437 | # like to wrap large dependency lists on column 80 (with \), and | |
3438 | # we should not choose a depcomp mode which is confused by this. | |
3439 | # | |
3440 | # We need to recreate these files for each test, as the compiler may | |
3441 | # overwrite some of them when testing with obscure command lines. | |
3442 | # This happens at least with the AIX C compiler. | |
3443 | : > sub/conftest.c | |
3444 | for i in 1 2 3 4 5 6; do | |
3445 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
3446 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
3447 | # Solaris 8's {/usr,}/bin/sh. | |
3448 | touch sub/conftst$i.h | |
3449 | done | |
3450 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
3451 | ||
3452 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
3453 | # mode. It turns out that the SunPro C++ compiler does not properly | |
3454 | # handle `-M -o', and we need to detect this. Also, some Intel | |
3455 | # versions had trouble with output in subdirs | |
3456 | am__obj=sub/conftest.${OBJEXT-o} | |
3457 | am__minus_obj="-o $am__obj" | |
3458 | case $depmode in | |
3459 | gcc) | |
3460 | # This depmode causes a compiler race in universal mode. | |
3461 | test "$am__universal" = false || continue | |
3462 | ;; | |
3463 | nosideeffect) | |
3464 | # after this tag, mechanisms are not by side-effect, so they'll | |
3465 | # only be used when explicitly requested | |
3466 | if test "x$enable_dependency_tracking" = xyes; then | |
3467 | continue | |
3468 | else | |
3469 | break | |
3470 | fi | |
3471 | ;; | |
3472 | msvisualcpp | msvcmsys) | |
3473 | # This compiler won't grok `-c -o', but also, the minuso test has | |
3474 | # not run yet. These depmodes are late enough in the game, and | |
3475 | # so weak that their functioning should not be impacted. | |
3476 | am__obj=conftest.${OBJEXT-o} | |
3477 | am__minus_obj= | |
3478 | ;; | |
3479 | none) break ;; | |
3480 | esac | |
3481 | if depmode=$depmode \ | |
3482 | source=sub/conftest.c object=$am__obj \ | |
3483 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
3484 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
3485 | >/dev/null 2>conftest.err && | |
3486 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
3487 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
3488 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
3489 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
3490 | # icc doesn't choke on unknown options, it will just issue warnings | |
3491 | # or remarks (even with -Werror). So we grep stderr for any message | |
3492 | # that says an option was ignored or not supported. | |
3493 | # When given -MP, icc 7.0 and 7.1 complain thusly: | |
3494 | # icc: Command line warning: ignoring option '-M'; no argument required | |
3495 | # The diagnosis changed in icc 8.0: | |
3496 | # icc: Command line remark: option '-MP' not supported | |
3497 | if (grep 'ignoring option' conftest.err || | |
3498 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
3499 | am_cv_CC_dependencies_compiler_type=$depmode | |
3500 | break | |
3501 | fi | |
3502 | fi | |
3503 | done | |
3504 | ||
3505 | cd .. | |
3506 | rm -rf conftest.dir | |
3507 | else | |
3508 | am_cv_CC_dependencies_compiler_type=none | |
3509 | fi | |
3510 | ||
3511 | fi | |
3512 | { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | |
3513 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | |
3514 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | |
3515 | ||
3516 | if | |
3517 | test "x$enable_dependency_tracking" != xno \ | |
3518 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | |
3519 | am__fastdepCC_TRUE= | |
3520 | am__fastdepCC_FALSE='#' | |
3521 | else | |
3522 | am__fastdepCC_TRUE='#' | |
3523 | am__fastdepCC_FALSE= | |
3524 | fi | |
3525 | ||
3526 | ||
3527 | # Find a good install program. We prefer a C program (faster), | |
3528 | # so one script is as good as another. But avoid the broken or | |
3529 | # incompatible versions: | |
3530 | # SysV /etc/install, /usr/sbin/install | |
3531 | # SunOS /usr/etc/install | |
3532 | # IRIX /sbin/install | |
3533 | # AIX /bin/install | |
3534 | # AmigaOS /C/install, which installs bootblocks on floppy discs | |
3535 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
3536 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
3537 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
3538 | # OS/2's system install, which has a completely different semantic | |
3539 | # ./install, which can be erroneously created by make from ./install.sh. | |
3540 | # Reject install programs that cannot install multiple files. | |
3541 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | |
3542 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
3543 | if test -z "$INSTALL"; then | |
3544 | if test "${ac_cv_path_install+set}" = set; then | |
3545 | $as_echo_n "(cached) " >&6 | |
3546 | else | |
3547 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3548 | for as_dir in $PATH | |
3549 | do | |
3550 | IFS=$as_save_IFS | |
3551 | test -z "$as_dir" && as_dir=. | |
3552 | # Account for people who put trailing slashes in PATH elements. | |
3553 | case $as_dir/ in | |
3554 | ./ | .// | /cC/* | \ | |
3555 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
3556 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | |
3557 | /usr/ucb/* ) ;; | |
3558 | *) | |
3559 | # OSF1 and SCO ODT 3.0 have their own names for install. | |
3560 | # Don't use installbsd from OSF since it installs stuff as root | |
3561 | # by default. | |
3562 | for ac_prog in ginstall scoinst install; do | |
3563 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3564 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | |
3565 | if test $ac_prog = install && | |
3566 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
3567 | # AIX install. It has an incompatible calling convention. | |
3568 | : | |
3569 | elif test $ac_prog = install && | |
3570 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
3571 | # program-specific install script used by HP pwplus--don't use. | |
3572 | : | |
3573 | else | |
3574 | rm -rf conftest.one conftest.two conftest.dir | |
3575 | echo one > conftest.one | |
3576 | echo two > conftest.two | |
3577 | mkdir conftest.dir | |
3578 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
3579 | test -s conftest.one && test -s conftest.two && | |
3580 | test -s conftest.dir/conftest.one && | |
3581 | test -s conftest.dir/conftest.two | |
3582 | then | |
3583 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
3584 | break 3 | |
3585 | fi | |
3586 | fi | |
3587 | fi | |
3588 | done | |
3589 | done | |
3590 | ;; | |
3591 | esac | |
3592 | ||
3593 | done | |
3594 | IFS=$as_save_IFS | |
3595 | ||
3596 | rm -rf conftest.one conftest.two conftest.dir | |
3597 | ||
3598 | fi | |
3599 | if test "${ac_cv_path_install+set}" = set; then | |
3600 | INSTALL=$ac_cv_path_install | |
3601 | else | |
3602 | # As a last resort, use the slow shell script. Don't cache a | |
3603 | # value for INSTALL within a source directory, because that will | |
3604 | # break other packages using the cache if that directory is | |
3605 | # removed, or if the value is a relative name. | |
3606 | INSTALL=$ac_install_sh | |
3607 | fi | |
3608 | fi | |
3609 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 | |
3610 | $as_echo "$INSTALL" >&6; } | |
3611 | ||
3612 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
3613 | # It thinks the first close brace ends the variable substitution. | |
3614 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
3615 | ||
3616 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
3617 | ||
3618 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
3619 | ||
3620 | ||
3621 | # Checks for header files. | |
3622 | ||
3623 | ac_ext=c | |
3624 | ac_cpp='$CPP $CPPFLAGS' | |
3625 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3626 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3627 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3628 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | |
3629 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | |
3630 | # On Suns, sometimes $CPP names a directory. | |
3631 | if test -n "$CPP" && test -d "$CPP"; then | |
3632 | CPP= | |
3633 | fi | |
3634 | if test -z "$CPP"; then | |
3635 | if test "${ac_cv_prog_CPP+set}" = set; then | |
3636 | $as_echo_n "(cached) " >&6 | |
3637 | else | |
3638 | # Double quotes because CPP needs to be expanded | |
3639 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
3640 | do | |
3641 | ac_preproc_ok=false | |
3642 | for ac_c_preproc_warn_flag in '' yes | |
3643 | do | |
3644 | # Use a header file that comes with gcc, so configuring glibc | |
3645 | # with a fresh cross-compiler works. | |
3646 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3647 | # <limits.h> exists even on freestanding compilers. | |
3648 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
3649 | # not just through cpp. "Syntax error" is here to catch this case. | |
3650 | cat >conftest.$ac_ext <<_ACEOF | |
3651 | /* confdefs.h. */ | |
3652 | _ACEOF | |
3653 | cat confdefs.h >>conftest.$ac_ext | |
3654 | cat >>conftest.$ac_ext <<_ACEOF | |
3655 | /* end confdefs.h. */ | |
3656 | @%:@ifdef __STDC__ | |
3657 | @%:@ include <limits.h> | |
3658 | @%:@else | |
3659 | @%:@ include <assert.h> | |
3660 | @%:@endif | |
3661 | Syntax error | |
3662 | _ACEOF | |
3663 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
3664 | case "(($ac_try" in | |
3665 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3666 | *) ac_try_echo=$ac_try;; | |
3667 | esac | |
3668 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3669 | $as_echo "$ac_try_echo") >&5 | |
3670 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3671 | ac_status=$? | |
3672 | grep -v '^ *+' conftest.er1 >conftest.err | |
3673 | rm -f conftest.er1 | |
3674 | cat conftest.err >&5 | |
3675 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3676 | (exit $ac_status); } >/dev/null && { | |
3677 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3678 | test ! -s conftest.err | |
3679 | }; then | |
3680 | : | |
3681 | else | |
3682 | $as_echo "$as_me: failed program was:" >&5 | |
3683 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3684 | ||
3685 | # Broken: fails on valid input. | |
3686 | continue | |
3687 | fi | |
3688 | ||
3689 | rm -f conftest.err conftest.$ac_ext | |
3690 | ||
3691 | # OK, works on sane cases. Now check whether nonexistent headers | |
3692 | # can be detected and how. | |
3693 | cat >conftest.$ac_ext <<_ACEOF | |
3694 | /* confdefs.h. */ | |
3695 | _ACEOF | |
3696 | cat confdefs.h >>conftest.$ac_ext | |
3697 | cat >>conftest.$ac_ext <<_ACEOF | |
3698 | /* end confdefs.h. */ | |
3699 | @%:@include <ac_nonexistent.h> | |
3700 | _ACEOF | |
3701 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
3702 | case "(($ac_try" in | |
3703 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3704 | *) ac_try_echo=$ac_try;; | |
3705 | esac | |
3706 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3707 | $as_echo "$ac_try_echo") >&5 | |
3708 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3709 | ac_status=$? | |
3710 | grep -v '^ *+' conftest.er1 >conftest.err | |
3711 | rm -f conftest.er1 | |
3712 | cat conftest.err >&5 | |
3713 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3714 | (exit $ac_status); } >/dev/null && { | |
3715 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3716 | test ! -s conftest.err | |
3717 | }; then | |
3718 | # Broken: success on invalid input. | |
3719 | continue | |
3720 | else | |
3721 | $as_echo "$as_me: failed program was:" >&5 | |
3722 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3723 | ||
3724 | # Passes both tests. | |
3725 | ac_preproc_ok=: | |
3726 | break | |
3727 | fi | |
3728 | ||
3729 | rm -f conftest.err conftest.$ac_ext | |
3730 | ||
3731 | done | |
3732 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
3733 | rm -f conftest.err conftest.$ac_ext | |
3734 | if $ac_preproc_ok; then | |
3735 | break | |
3736 | fi | |
3737 | ||
3738 | done | |
3739 | ac_cv_prog_CPP=$CPP | |
3740 | ||
3741 | fi | |
3742 | CPP=$ac_cv_prog_CPP | |
3743 | else | |
3744 | ac_cv_prog_CPP=$CPP | |
3745 | fi | |
3746 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 | |
3747 | $as_echo "$CPP" >&6; } | |
3748 | ac_preproc_ok=false | |
3749 | for ac_c_preproc_warn_flag in '' yes | |
3750 | do | |
3751 | # Use a header file that comes with gcc, so configuring glibc | |
3752 | # with a fresh cross-compiler works. | |
3753 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3754 | # <limits.h> exists even on freestanding compilers. | |
3755 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
3756 | # not just through cpp. "Syntax error" is here to catch this case. | |
3757 | cat >conftest.$ac_ext <<_ACEOF | |
3758 | /* confdefs.h. */ | |
3759 | _ACEOF | |
3760 | cat confdefs.h >>conftest.$ac_ext | |
3761 | cat >>conftest.$ac_ext <<_ACEOF | |
3762 | /* end confdefs.h. */ | |
3763 | @%:@ifdef __STDC__ | |
3764 | @%:@ include <limits.h> | |
3765 | @%:@else | |
3766 | @%:@ include <assert.h> | |
3767 | @%:@endif | |
3768 | Syntax error | |
3769 | _ACEOF | |
3770 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
3771 | case "(($ac_try" in | |
3772 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3773 | *) ac_try_echo=$ac_try;; | |
3774 | esac | |
3775 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3776 | $as_echo "$ac_try_echo") >&5 | |
3777 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3778 | ac_status=$? | |
3779 | grep -v '^ *+' conftest.er1 >conftest.err | |
3780 | rm -f conftest.er1 | |
3781 | cat conftest.err >&5 | |
3782 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3783 | (exit $ac_status); } >/dev/null && { | |
3784 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3785 | test ! -s conftest.err | |
3786 | }; then | |
3787 | : | |
3788 | else | |
3789 | $as_echo "$as_me: failed program was:" >&5 | |
3790 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3791 | ||
3792 | # Broken: fails on valid input. | |
3793 | continue | |
3794 | fi | |
3795 | ||
3796 | rm -f conftest.err conftest.$ac_ext | |
3797 | ||
3798 | # OK, works on sane cases. Now check whether nonexistent headers | |
3799 | # can be detected and how. | |
3800 | cat >conftest.$ac_ext <<_ACEOF | |
3801 | /* confdefs.h. */ | |
3802 | _ACEOF | |
3803 | cat confdefs.h >>conftest.$ac_ext | |
3804 | cat >>conftest.$ac_ext <<_ACEOF | |
3805 | /* end confdefs.h. */ | |
3806 | @%:@include <ac_nonexistent.h> | |
3807 | _ACEOF | |
3808 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
3809 | case "(($ac_try" in | |
3810 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3811 | *) ac_try_echo=$ac_try;; | |
3812 | esac | |
3813 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3814 | $as_echo "$ac_try_echo") >&5 | |
3815 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3816 | ac_status=$? | |
3817 | grep -v '^ *+' conftest.er1 >conftest.err | |
3818 | rm -f conftest.er1 | |
3819 | cat conftest.err >&5 | |
3820 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3821 | (exit $ac_status); } >/dev/null && { | |
3822 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3823 | test ! -s conftest.err | |
3824 | }; then | |
3825 | # Broken: success on invalid input. | |
3826 | continue | |
3827 | else | |
3828 | $as_echo "$as_me: failed program was:" >&5 | |
3829 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3830 | ||
3831 | # Passes both tests. | |
3832 | ac_preproc_ok=: | |
3833 | break | |
3834 | fi | |
3835 | ||
3836 | rm -f conftest.err conftest.$ac_ext | |
3837 | ||
3838 | done | |
3839 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
3840 | rm -f conftest.err conftest.$ac_ext | |
3841 | if $ac_preproc_ok; then | |
3842 | : | |
3843 | else | |
3844 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
3845 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3846 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | |
3847 | See \`config.log' for more details." >&5 | |
3848 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | |
3849 | See \`config.log' for more details." >&2;} | |
3850 | { (exit 1); exit 1; }; }; } | |
3851 | fi | |
3852 | ||
3853 | ac_ext=c | |
3854 | ac_cpp='$CPP $CPPFLAGS' | |
3855 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3856 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3857 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3858 | ||
3859 | ||
3860 | { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 | |
3861 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | |
3862 | if test "${ac_cv_path_GREP+set}" = set; then | |
3863 | $as_echo_n "(cached) " >&6 | |
3864 | else | |
3865 | if test -z "$GREP"; then | |
3866 | ac_path_GREP_found=false | |
3867 | # Loop through the user's path and test for each of PROGNAME-LIST | |
3868 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3869 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
3870 | do | |
3871 | IFS=$as_save_IFS | |
3872 | test -z "$as_dir" && as_dir=. | |
3873 | for ac_prog in grep ggrep; do | |
3874 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3875 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
3876 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | |
3877 | # Check for GNU ac_path_GREP and select it if it is found. | |
3878 | # Check for GNU $ac_path_GREP | |
3879 | case `"$ac_path_GREP" --version 2>&1` in | |
3880 | *GNU*) | |
3881 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
3882 | *) | |
3883 | ac_count=0 | |
3884 | $as_echo_n 0123456789 >"conftest.in" | |
3885 | while : | |
3886 | do | |
3887 | cat "conftest.in" "conftest.in" >"conftest.tmp" | |
3888 | mv "conftest.tmp" "conftest.in" | |
3889 | cp "conftest.in" "conftest.nl" | |
3890 | $as_echo 'GREP' >> "conftest.nl" | |
3891 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
3892 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
3893 | ac_count=`expr $ac_count + 1` | |
3894 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
3895 | # Best one so far, save it but keep looking for a better one | |
3896 | ac_cv_path_GREP="$ac_path_GREP" | |
3897 | ac_path_GREP_max=$ac_count | |
3898 | fi | |
3899 | # 10*(2^10) chars as input seems more than enough | |
3900 | test $ac_count -gt 10 && break | |
3901 | done | |
3902 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
3903 | esac | |
3904 | ||
3905 | $ac_path_GREP_found && break 3 | |
3906 | done | |
3907 | done | |
3908 | done | |
3909 | IFS=$as_save_IFS | |
3910 | if test -z "$ac_cv_path_GREP"; then | |
3911 | { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
3912 | $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
3913 | { (exit 1); exit 1; }; } | |
3914 | fi | |
3915 | else | |
3916 | ac_cv_path_GREP=$GREP | |
3917 | fi | |
3918 | ||
3919 | fi | |
3920 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | |
3921 | $as_echo "$ac_cv_path_GREP" >&6; } | |
3922 | GREP="$ac_cv_path_GREP" | |
3923 | ||
3924 | ||
3925 | { $as_echo "$as_me:$LINENO: checking for egrep" >&5 | |
3926 | $as_echo_n "checking for egrep... " >&6; } | |
3927 | if test "${ac_cv_path_EGREP+set}" = set; then | |
3928 | $as_echo_n "(cached) " >&6 | |
3929 | else | |
3930 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
3931 | then ac_cv_path_EGREP="$GREP -E" | |
3932 | else | |
3933 | if test -z "$EGREP"; then | |
3934 | ac_path_EGREP_found=false | |
3935 | # Loop through the user's path and test for each of PROGNAME-LIST | |
3936 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3937 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
3938 | do | |
3939 | IFS=$as_save_IFS | |
3940 | test -z "$as_dir" && as_dir=. | |
3941 | for ac_prog in egrep; do | |
3942 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3943 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
3944 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | |
3945 | # Check for GNU ac_path_EGREP and select it if it is found. | |
3946 | # Check for GNU $ac_path_EGREP | |
3947 | case `"$ac_path_EGREP" --version 2>&1` in | |
3948 | *GNU*) | |
3949 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
3950 | *) | |
3951 | ac_count=0 | |
3952 | $as_echo_n 0123456789 >"conftest.in" | |
3953 | while : | |
3954 | do | |
3955 | cat "conftest.in" "conftest.in" >"conftest.tmp" | |
3956 | mv "conftest.tmp" "conftest.in" | |
3957 | cp "conftest.in" "conftest.nl" | |
3958 | $as_echo 'EGREP' >> "conftest.nl" | |
3959 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
3960 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
3961 | ac_count=`expr $ac_count + 1` | |
3962 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
3963 | # Best one so far, save it but keep looking for a better one | |
3964 | ac_cv_path_EGREP="$ac_path_EGREP" | |
3965 | ac_path_EGREP_max=$ac_count | |
3966 | fi | |
3967 | # 10*(2^10) chars as input seems more than enough | |
3968 | test $ac_count -gt 10 && break | |
3969 | done | |
3970 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
3971 | esac | |
3972 | ||
3973 | $ac_path_EGREP_found && break 3 | |
3974 | done | |
3975 | done | |
3976 | done | |
3977 | IFS=$as_save_IFS | |
3978 | if test -z "$ac_cv_path_EGREP"; then | |
3979 | { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
3980 | $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
3981 | { (exit 1); exit 1; }; } | |
3982 | fi | |
3983 | else | |
3984 | ac_cv_path_EGREP=$EGREP | |
3985 | fi | |
3986 | ||
3987 | fi | |
3988 | fi | |
3989 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | |
3990 | $as_echo "$ac_cv_path_EGREP" >&6; } | |
3991 | EGREP="$ac_cv_path_EGREP" | |
3992 | ||
3993 | ||
3994 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | |
3995 | $as_echo_n "checking for ANSI C header files... " >&6; } | |
3996 | if test "${ac_cv_header_stdc+set}" = set; then | |
3997 | $as_echo_n "(cached) " >&6 | |
3998 | else | |
3999 | cat >conftest.$ac_ext <<_ACEOF | |
4000 | /* confdefs.h. */ | |
4001 | _ACEOF | |
4002 | cat confdefs.h >>conftest.$ac_ext | |
4003 | cat >>conftest.$ac_ext <<_ACEOF | |
4004 | /* end confdefs.h. */ | |
4005 | #include <stdlib.h> | |
4006 | #include <stdarg.h> | |
4007 | #include <string.h> | |
4008 | #include <float.h> | |
4009 | ||
4010 | int | |
4011 | main () | |
4012 | { | |
4013 | ||
4014 | ; | |
4015 | return 0; | |
4016 | } | |
4017 | _ACEOF | |
4018 | rm -f conftest.$ac_objext | |
4019 | if { (ac_try="$ac_compile" | |
4020 | case "(($ac_try" in | |
4021 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4022 | *) ac_try_echo=$ac_try;; | |
4023 | esac | |
4024 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4025 | $as_echo "$ac_try_echo") >&5 | |
4026 | (eval "$ac_compile") 2>conftest.er1 | |
4027 | ac_status=$? | |
4028 | grep -v '^ *+' conftest.er1 >conftest.err | |
4029 | rm -f conftest.er1 | |
4030 | cat conftest.err >&5 | |
4031 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4032 | (exit $ac_status); } && { | |
4033 | test -z "$ac_c_werror_flag" || | |
4034 | test ! -s conftest.err | |
4035 | } && test -s conftest.$ac_objext; then | |
4036 | ac_cv_header_stdc=yes | |
4037 | else | |
4038 | $as_echo "$as_me: failed program was:" >&5 | |
4039 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4040 | ||
4041 | ac_cv_header_stdc=no | |
4042 | fi | |
4043 | ||
4044 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4045 | ||
4046 | if test $ac_cv_header_stdc = yes; then | |
4047 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
4048 | cat >conftest.$ac_ext <<_ACEOF | |
4049 | /* confdefs.h. */ | |
4050 | _ACEOF | |
4051 | cat confdefs.h >>conftest.$ac_ext | |
4052 | cat >>conftest.$ac_ext <<_ACEOF | |
4053 | /* end confdefs.h. */ | |
4054 | #include <string.h> | |
4055 | ||
4056 | _ACEOF | |
4057 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
4058 | $EGREP "memchr" >/dev/null 2>&1; then | |
4059 | : | |
4060 | else | |
4061 | ac_cv_header_stdc=no | |
4062 | fi | |
4063 | rm -f conftest* | |
4064 | ||
4065 | fi | |
4066 | ||
4067 | if test $ac_cv_header_stdc = yes; then | |
4068 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
4069 | cat >conftest.$ac_ext <<_ACEOF | |
4070 | /* confdefs.h. */ | |
4071 | _ACEOF | |
4072 | cat confdefs.h >>conftest.$ac_ext | |
4073 | cat >>conftest.$ac_ext <<_ACEOF | |
4074 | /* end confdefs.h. */ | |
4075 | #include <stdlib.h> | |
4076 | ||
4077 | _ACEOF | |
4078 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
4079 | $EGREP "free" >/dev/null 2>&1; then | |
4080 | : | |
4081 | else | |
4082 | ac_cv_header_stdc=no | |
4083 | fi | |
4084 | rm -f conftest* | |
4085 | ||
4086 | fi | |
4087 | ||
4088 | if test $ac_cv_header_stdc = yes; then | |
4089 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
4090 | if test "$cross_compiling" = yes; then | |
4091 | : | |
4092 | else | |
4093 | cat >conftest.$ac_ext <<_ACEOF | |
4094 | /* confdefs.h. */ | |
4095 | _ACEOF | |
4096 | cat confdefs.h >>conftest.$ac_ext | |
4097 | cat >>conftest.$ac_ext <<_ACEOF | |
4098 | /* end confdefs.h. */ | |
4099 | #include <ctype.h> | |
4100 | #include <stdlib.h> | |
4101 | #if ((' ' & 0x0FF) == 0x020) | |
4102 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
4103 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
4104 | #else | |
4105 | # define ISLOWER(c) \ | |
4106 | (('a' <= (c) && (c) <= 'i') \ | |
4107 | || ('j' <= (c) && (c) <= 'r') \ | |
4108 | || ('s' <= (c) && (c) <= 'z')) | |
4109 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
4110 | #endif | |
4111 | ||
4112 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
4113 | int | |
4114 | main () | |
4115 | { | |
4116 | int i; | |
4117 | for (i = 0; i < 256; i++) | |
4118 | if (XOR (islower (i), ISLOWER (i)) | |
4119 | || toupper (i) != TOUPPER (i)) | |
4120 | return 2; | |
4121 | return 0; | |
4122 | } | |
4123 | _ACEOF | |
4124 | rm -f conftest$ac_exeext | |
4125 | if { (ac_try="$ac_link" | |
4126 | case "(($ac_try" in | |
4127 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4128 | *) ac_try_echo=$ac_try;; | |
4129 | esac | |
4130 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4131 | $as_echo "$ac_try_echo") >&5 | |
4132 | (eval "$ac_link") 2>&5 | |
4133 | ac_status=$? | |
4134 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4135 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
4136 | { (case "(($ac_try" in | |
4137 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4138 | *) ac_try_echo=$ac_try;; | |
4139 | esac | |
4140 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4141 | $as_echo "$ac_try_echo") >&5 | |
4142 | (eval "$ac_try") 2>&5 | |
4143 | ac_status=$? | |
4144 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4145 | (exit $ac_status); }; }; then | |
4146 | : | |
4147 | else | |
4148 | $as_echo "$as_me: program exited with status $ac_status" >&5 | |
4149 | $as_echo "$as_me: failed program was:" >&5 | |
4150 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4151 | ||
4152 | ( exit $ac_status ) | |
4153 | ac_cv_header_stdc=no | |
4154 | fi | |
4155 | rm -rf conftest.dSYM | |
4156 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
4157 | fi | |
4158 | ||
4159 | ||
4160 | fi | |
4161 | fi | |
4162 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
4163 | $as_echo "$ac_cv_header_stdc" >&6; } | |
4164 | if test $ac_cv_header_stdc = yes; then | |
4165 | ||
4166 | cat >>confdefs.h <<\_ACEOF | |
4167 | @%:@define STDC_HEADERS 1 | |
4168 | _ACEOF | |
4169 | ||
4170 | fi | |
4171 | ||
4172 | ||
4173 | # following is not really necessary, since it is already done by preceding | |
4174 | # macro, but it shows how to extend HAVE_ macros to other headers. | |
4175 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
4176 | ||
4177 | ||
4178 | ||
4179 | ||
4180 | ||
4181 | ||
4182 | ||
4183 | ||
4184 | ||
4185 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
4186 | inttypes.h stdint.h unistd.h | |
4187 | do | |
4188 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4189 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4190 | $as_echo_n "checking for $ac_header... " >&6; } | |
4191 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4192 | $as_echo_n "(cached) " >&6 | |
4193 | else | |
4194 | cat >conftest.$ac_ext <<_ACEOF | |
4195 | /* confdefs.h. */ | |
4196 | _ACEOF | |
4197 | cat confdefs.h >>conftest.$ac_ext | |
4198 | cat >>conftest.$ac_ext <<_ACEOF | |
4199 | /* end confdefs.h. */ | |
4200 | $ac_includes_default | |
4201 | ||
4202 | @%:@include <$ac_header> | |
4203 | _ACEOF | |
4204 | rm -f conftest.$ac_objext | |
4205 | if { (ac_try="$ac_compile" | |
4206 | case "(($ac_try" in | |
4207 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4208 | *) ac_try_echo=$ac_try;; | |
4209 | esac | |
4210 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4211 | $as_echo "$ac_try_echo") >&5 | |
4212 | (eval "$ac_compile") 2>conftest.er1 | |
4213 | ac_status=$? | |
4214 | grep -v '^ *+' conftest.er1 >conftest.err | |
4215 | rm -f conftest.er1 | |
4216 | cat conftest.err >&5 | |
4217 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4218 | (exit $ac_status); } && { | |
4219 | test -z "$ac_c_werror_flag" || | |
4220 | test ! -s conftest.err | |
4221 | } && test -s conftest.$ac_objext; then | |
4222 | eval "$as_ac_Header=yes" | |
4223 | else | |
4224 | $as_echo "$as_me: failed program was:" >&5 | |
4225 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4226 | ||
4227 | eval "$as_ac_Header=no" | |
4228 | fi | |
4229 | ||
4230 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4231 | fi | |
4232 | ac_res=`eval 'as_val=${'$as_ac_Header'} | |
4233 | $as_echo "$as_val"'` | |
4234 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4235 | $as_echo "$ac_res" >&6; } | |
4236 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
4237 | $as_echo "$as_val"'` | |
4238 | if test "x$as_val" = x""yes; then | |
4239 | cat >>confdefs.h <<_ACEOF | |
4240 | @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4241 | _ACEOF | |
4242 | ||
4243 | fi | |
4244 | ||
4245 | done | |
4246 | ||
4247 | ||
4248 | ||
4249 | ||
4250 | ||
4251 | ||
4252 | for ac_header in stdlib.h stdio.h ctype.h string.h | |
4253 | do | |
4254 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4255 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4256 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4257 | $as_echo_n "checking for $ac_header... " >&6; } | |
4258 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4259 | $as_echo_n "(cached) " >&6 | |
4260 | fi | |
4261 | ac_res=`eval 'as_val=${'$as_ac_Header'} | |
4262 | $as_echo "$as_val"'` | |
4263 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4264 | $as_echo "$ac_res" >&6; } | |
4265 | else | |
4266 | # Is the header compilable? | |
4267 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
4268 | $as_echo_n "checking $ac_header usability... " >&6; } | |
4269 | cat >conftest.$ac_ext <<_ACEOF | |
4270 | /* confdefs.h. */ | |
4271 | _ACEOF | |
4272 | cat confdefs.h >>conftest.$ac_ext | |
4273 | cat >>conftest.$ac_ext <<_ACEOF | |
4274 | /* end confdefs.h. */ | |
4275 | $ac_includes_default | |
4276 | @%:@include <$ac_header> | |
4277 | _ACEOF | |
4278 | rm -f conftest.$ac_objext | |
4279 | if { (ac_try="$ac_compile" | |
4280 | case "(($ac_try" in | |
4281 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4282 | *) ac_try_echo=$ac_try;; | |
4283 | esac | |
4284 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4285 | $as_echo "$ac_try_echo") >&5 | |
4286 | (eval "$ac_compile") 2>conftest.er1 | |
4287 | ac_status=$? | |
4288 | grep -v '^ *+' conftest.er1 >conftest.err | |
4289 | rm -f conftest.er1 | |
4290 | cat conftest.err >&5 | |
4291 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4292 | (exit $ac_status); } && { | |
4293 | test -z "$ac_c_werror_flag" || | |
4294 | test ! -s conftest.err | |
4295 | } && test -s conftest.$ac_objext; then | |
4296 | ac_header_compiler=yes | |
4297 | else | |
4298 | $as_echo "$as_me: failed program was:" >&5 | |
4299 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4300 | ||
4301 | ac_header_compiler=no | |
4302 | fi | |
4303 | ||
4304 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4305 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4306 | $as_echo "$ac_header_compiler" >&6; } | |
4307 | ||
4308 | # Is the header present? | |
4309 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
4310 | $as_echo_n "checking $ac_header presence... " >&6; } | |
4311 | cat >conftest.$ac_ext <<_ACEOF | |
4312 | /* confdefs.h. */ | |
4313 | _ACEOF | |
4314 | cat confdefs.h >>conftest.$ac_ext | |
4315 | cat >>conftest.$ac_ext <<_ACEOF | |
4316 | /* end confdefs.h. */ | |
4317 | @%:@include <$ac_header> | |
4318 | _ACEOF | |
4319 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
4320 | case "(($ac_try" in | |
4321 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4322 | *) ac_try_echo=$ac_try;; | |
4323 | esac | |
4324 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4325 | $as_echo "$ac_try_echo") >&5 | |
4326 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4327 | ac_status=$? | |
4328 | grep -v '^ *+' conftest.er1 >conftest.err | |
4329 | rm -f conftest.er1 | |
4330 | cat conftest.err >&5 | |
4331 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4332 | (exit $ac_status); } >/dev/null && { | |
4333 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4334 | test ! -s conftest.err | |
4335 | }; then | |
4336 | ac_header_preproc=yes | |
4337 | else | |
4338 | $as_echo "$as_me: failed program was:" >&5 | |
4339 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4340 | ||
4341 | ac_header_preproc=no | |
4342 | fi | |
4343 | ||
4344 | rm -f conftest.err conftest.$ac_ext | |
4345 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4346 | $as_echo "$ac_header_preproc" >&6; } | |
4347 | ||
4348 | # So? What about this header? | |
4349 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
4350 | yes:no: ) | |
4351 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4352 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4353 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
4354 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
4355 | ac_header_preproc=yes | |
4356 | ;; | |
4357 | no:yes:* ) | |
4358 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
4359 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
4360 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
4361 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
4362 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
4363 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
4364 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
4365 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
4366 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
4367 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
4368 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
4369 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
4370 | ( cat <<\_ASBOX | |
4371 | @%:@@%:@ -------------------------------- @%:@@%:@ | |
4372 | @%:@@%:@ Report this to bug-unrtf@gnu.org @%:@@%:@ | |
4373 | @%:@@%:@ -------------------------------- @%:@@%:@ | |
4374 | _ASBOX | |
4375 | ) | sed "s/^/$as_me: WARNING: /" >&2 | |
4376 | ;; | |
4377 | esac | |
4378 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4379 | $as_echo_n "checking for $ac_header... " >&6; } | |
4380 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4381 | $as_echo_n "(cached) " >&6 | |
4382 | else | |
4383 | eval "$as_ac_Header=\$ac_header_preproc" | |
4384 | fi | |
4385 | ac_res=`eval 'as_val=${'$as_ac_Header'} | |
4386 | $as_echo "$as_val"'` | |
4387 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4388 | $as_echo "$ac_res" >&6; } | |
4389 | ||
4390 | fi | |
4391 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
4392 | $as_echo "$as_val"'` | |
4393 | if test "x$as_val" = x""yes; then | |
4394 | cat >>confdefs.h <<_ACEOF | |
4395 | @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4396 | _ACEOF | |
4397 | ||
4398 | fi | |
4399 | ||
4400 | done | |
4401 | ||
4402 | ||
4403 | # Checks for typedefs, structures, and compiler characteristics. | |
4404 | ||
4405 | # Checks for library functions. | |
4406 | ||
4407 | for ac_header in stdlib.h | |
4408 | do | |
4409 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4410 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4411 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4412 | $as_echo_n "checking for $ac_header... " >&6; } | |
4413 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4414 | $as_echo_n "(cached) " >&6 | |
4415 | fi | |
4416 | ac_res=`eval 'as_val=${'$as_ac_Header'} | |
4417 | $as_echo "$as_val"'` | |
4418 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4419 | $as_echo "$ac_res" >&6; } | |
4420 | else | |
4421 | # Is the header compilable? | |
4422 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
4423 | $as_echo_n "checking $ac_header usability... " >&6; } | |
4424 | cat >conftest.$ac_ext <<_ACEOF | |
4425 | /* confdefs.h. */ | |
4426 | _ACEOF | |
4427 | cat confdefs.h >>conftest.$ac_ext | |
4428 | cat >>conftest.$ac_ext <<_ACEOF | |
4429 | /* end confdefs.h. */ | |
4430 | $ac_includes_default | |
4431 | @%:@include <$ac_header> | |
4432 | _ACEOF | |
4433 | rm -f conftest.$ac_objext | |
4434 | if { (ac_try="$ac_compile" | |
4435 | case "(($ac_try" in | |
4436 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4437 | *) ac_try_echo=$ac_try;; | |
4438 | esac | |
4439 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4440 | $as_echo "$ac_try_echo") >&5 | |
4441 | (eval "$ac_compile") 2>conftest.er1 | |
4442 | ac_status=$? | |
4443 | grep -v '^ *+' conftest.er1 >conftest.err | |
4444 | rm -f conftest.er1 | |
4445 | cat conftest.err >&5 | |
4446 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4447 | (exit $ac_status); } && { | |
4448 | test -z "$ac_c_werror_flag" || | |
4449 | test ! -s conftest.err | |
4450 | } && test -s conftest.$ac_objext; then | |
4451 | ac_header_compiler=yes | |
4452 | else | |
4453 | $as_echo "$as_me: failed program was:" >&5 | |
4454 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4455 | ||
4456 | ac_header_compiler=no | |
4457 | fi | |
4458 | ||
4459 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4460 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4461 | $as_echo "$ac_header_compiler" >&6; } | |
4462 | ||
4463 | # Is the header present? | |
4464 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
4465 | $as_echo_n "checking $ac_header presence... " >&6; } | |
4466 | cat >conftest.$ac_ext <<_ACEOF | |
4467 | /* confdefs.h. */ | |
4468 | _ACEOF | |
4469 | cat confdefs.h >>conftest.$ac_ext | |
4470 | cat >>conftest.$ac_ext <<_ACEOF | |
4471 | /* end confdefs.h. */ | |
4472 | @%:@include <$ac_header> | |
4473 | _ACEOF | |
4474 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
4475 | case "(($ac_try" in | |
4476 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4477 | *) ac_try_echo=$ac_try;; | |
4478 | esac | |
4479 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4480 | $as_echo "$ac_try_echo") >&5 | |
4481 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4482 | ac_status=$? | |
4483 | grep -v '^ *+' conftest.er1 >conftest.err | |
4484 | rm -f conftest.er1 | |
4485 | cat conftest.err >&5 | |
4486 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4487 | (exit $ac_status); } >/dev/null && { | |
4488 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4489 | test ! -s conftest.err | |
4490 | }; then | |
4491 | ac_header_preproc=yes | |
4492 | else | |
4493 | $as_echo "$as_me: failed program was:" >&5 | |
4494 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4495 | ||
4496 | ac_header_preproc=no | |
4497 | fi | |
4498 | ||
4499 | rm -f conftest.err conftest.$ac_ext | |
4500 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4501 | $as_echo "$ac_header_preproc" >&6; } | |
4502 | ||
4503 | # So? What about this header? | |
4504 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
4505 | yes:no: ) | |
4506 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4507 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4508 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
4509 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
4510 | ac_header_preproc=yes | |
4511 | ;; | |
4512 | no:yes:* ) | |
4513 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
4514 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
4515 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
4516 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
4517 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
4518 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
4519 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
4520 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
4521 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
4522 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
4523 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
4524 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
4525 | ( cat <<\_ASBOX | |
4526 | @%:@@%:@ -------------------------------- @%:@@%:@ | |
4527 | @%:@@%:@ Report this to bug-unrtf@gnu.org @%:@@%:@ | |
4528 | @%:@@%:@ -------------------------------- @%:@@%:@ | |
4529 | _ASBOX | |
4530 | ) | sed "s/^/$as_me: WARNING: /" >&2 | |
4531 | ;; | |
4532 | esac | |
4533 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4534 | $as_echo_n "checking for $ac_header... " >&6; } | |
4535 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4536 | $as_echo_n "(cached) " >&6 | |
4537 | else | |
4538 | eval "$as_ac_Header=\$ac_header_preproc" | |
4539 | fi | |
4540 | ac_res=`eval 'as_val=${'$as_ac_Header'} | |
4541 | $as_echo "$as_val"'` | |
4542 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4543 | $as_echo "$ac_res" >&6; } | |
4544 | ||
4545 | fi | |
4546 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
4547 | $as_echo "$as_val"'` | |
4548 | if test "x$as_val" = x""yes; then | |
4549 | cat >>confdefs.h <<_ACEOF | |
4550 | @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4551 | _ACEOF | |
4552 | ||
4553 | fi | |
4554 | ||
4555 | done | |
4556 | ||
4557 | { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 | |
4558 | $as_echo_n "checking for GNU libc compatible malloc... " >&6; } | |
4559 | if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then | |
4560 | $as_echo_n "(cached) " >&6 | |
4561 | else | |
4562 | if test "$cross_compiling" = yes; then | |
4563 | ac_cv_func_malloc_0_nonnull=no | |
4564 | else | |
4565 | cat >conftest.$ac_ext <<_ACEOF | |
4566 | /* confdefs.h. */ | |
4567 | _ACEOF | |
4568 | cat confdefs.h >>conftest.$ac_ext | |
4569 | cat >>conftest.$ac_ext <<_ACEOF | |
4570 | /* end confdefs.h. */ | |
4571 | #if defined STDC_HEADERS || defined HAVE_STDLIB_H | |
4572 | # include <stdlib.h> | |
4573 | #else | |
4574 | char *malloc (); | |
4575 | #endif | |
4576 | ||
4577 | int | |
4578 | main () | |
4579 | { | |
4580 | return ! malloc (0); | |
4581 | ; | |
4582 | return 0; | |
4583 | } | |
4584 | _ACEOF | |
4585 | rm -f conftest$ac_exeext | |
4586 | if { (ac_try="$ac_link" | |
4587 | case "(($ac_try" in | |
4588 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4589 | *) ac_try_echo=$ac_try;; | |
4590 | esac | |
4591 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4592 | $as_echo "$ac_try_echo") >&5 | |
4593 | (eval "$ac_link") 2>&5 | |
4594 | ac_status=$? | |
4595 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4596 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
4597 | { (case "(($ac_try" in | |
4598 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4599 | *) ac_try_echo=$ac_try;; | |
4600 | esac | |
4601 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4602 | $as_echo "$ac_try_echo") >&5 | |
4603 | (eval "$ac_try") 2>&5 | |
4604 | ac_status=$? | |
4605 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4606 | (exit $ac_status); }; }; then | |
4607 | ac_cv_func_malloc_0_nonnull=yes | |
4608 | else | |
4609 | $as_echo "$as_me: program exited with status $ac_status" >&5 | |
4610 | $as_echo "$as_me: failed program was:" >&5 | |
4611 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4612 | ||
4613 | ( exit $ac_status ) | |
4614 | ac_cv_func_malloc_0_nonnull=no | |
4615 | fi | |
4616 | rm -rf conftest.dSYM | |
4617 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
4618 | fi | |
4619 | ||
4620 | ||
4621 | fi | |
4622 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 | |
4623 | $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } | |
4624 | if test $ac_cv_func_malloc_0_nonnull = yes; then | |
4625 | ||
4626 | cat >>confdefs.h <<\_ACEOF | |
4627 | @%:@define HAVE_MALLOC 1 | |
4628 | _ACEOF | |
4629 | ||
4630 | else | |
4631 | cat >>confdefs.h <<\_ACEOF | |
4632 | @%:@define HAVE_MALLOC 0 | |
4633 | _ACEOF | |
4634 | ||
4635 | case " $LIB@&t@OBJS " in | |
4636 | *" malloc.$ac_objext "* ) ;; | |
4637 | *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext" | |
4638 | ;; | |
4639 | esac | |
4640 | ||
4641 | ||
4642 | cat >>confdefs.h <<\_ACEOF | |
4643 | @%:@define malloc rpl_malloc | |
4644 | _ACEOF | |
4645 | ||
4646 | fi | |
4647 | ||
4648 | ||
4649 | ||
4650 | ||
4651 | ||
4652 | ||
4653 | for ac_func in memset strchr strstr | |
4654 | do | |
4655 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
4656 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
4657 | $as_echo_n "checking for $ac_func... " >&6; } | |
4658 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
4659 | $as_echo_n "(cached) " >&6 | |
4660 | else | |
4661 | cat >conftest.$ac_ext <<_ACEOF | |
4662 | /* confdefs.h. */ | |
4663 | _ACEOF | |
4664 | cat confdefs.h >>conftest.$ac_ext | |
4665 | cat >>conftest.$ac_ext <<_ACEOF | |
4666 | /* end confdefs.h. */ | |
4667 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
4668 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
4669 | #define $ac_func innocuous_$ac_func | |
4670 | ||
4671 | /* System header to define __stub macros and hopefully few prototypes, | |
4672 | which can conflict with char $ac_func (); below. | |
4673 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4674 | <limits.h> exists even on freestanding compilers. */ | |
4675 | ||
4676 | #ifdef __STDC__ | |
4677 | # include <limits.h> | |
4678 | #else | |
4679 | # include <assert.h> | |
4680 | #endif | |
4681 | ||
4682 | #undef $ac_func | |
4683 | ||
4684 | /* Override any GCC internal prototype to avoid an error. | |
4685 | Use char because int might match the return type of a GCC | |
4686 | builtin and then its argument prototype would still apply. */ | |
4687 | #ifdef __cplusplus | |
4688 | extern "C" | |
4689 | #endif | |
4690 | char $ac_func (); | |
4691 | /* The GNU C library defines this for functions which it implements | |
4692 | to always fail with ENOSYS. Some functions are actually named | |
4693 | something starting with __ and the normal name is an alias. */ | |
4694 | #if defined __stub_$ac_func || defined __stub___$ac_func | |
4695 | choke me | |
4696 | #endif | |
4697 | ||
4698 | int | |
4699 | main () | |
4700 | { | |
4701 | return $ac_func (); | |
4702 | ; | |
4703 | return 0; | |
4704 | } | |
4705 | _ACEOF | |
4706 | rm -f conftest.$ac_objext conftest$ac_exeext | |
4707 | if { (ac_try="$ac_link" | |
4708 | case "(($ac_try" in | |
4709 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4710 | *) ac_try_echo=$ac_try;; | |
4711 | esac | |
4712 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4713 | $as_echo "$ac_try_echo") >&5 | |
4714 | (eval "$ac_link") 2>conftest.er1 | |
4715 | ac_status=$? | |
4716 | grep -v '^ *+' conftest.er1 >conftest.err | |
4717 | rm -f conftest.er1 | |
4718 | cat conftest.err >&5 | |
4719 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4720 | (exit $ac_status); } && { | |
4721 | test -z "$ac_c_werror_flag" || | |
4722 | test ! -s conftest.err | |
4723 | } && test -s conftest$ac_exeext && { | |
4724 | test "$cross_compiling" = yes || | |
4725 | $as_test_x conftest$ac_exeext | |
4726 | }; then | |
4727 | eval "$as_ac_var=yes" | |
4728 | else | |
4729 | $as_echo "$as_me: failed program was:" >&5 | |
4730 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4731 | ||
4732 | eval "$as_ac_var=no" | |
4733 | fi | |
4734 | ||
4735 | rm -rf conftest.dSYM | |
4736 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4737 | conftest$ac_exeext conftest.$ac_ext | |
4738 | fi | |
4739 | ac_res=`eval 'as_val=${'$as_ac_var'} | |
4740 | $as_echo "$as_val"'` | |
4741 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4742 | $as_echo "$ac_res" >&6; } | |
4743 | as_val=`eval 'as_val=${'$as_ac_var'} | |
4744 | $as_echo "$as_val"'` | |
4745 | if test "x$as_val" = x""yes; then | |
4746 | cat >>confdefs.h <<_ACEOF | |
4747 | @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
4748 | _ACEOF | |
4749 | ||
4750 | fi | |
4751 | done | |
4752 | ||
4753 | ||
4754 | # Make sure we can run config.sub. | |
4755 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | |
4756 | { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 | |
4757 | $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | |
4758 | { (exit 1); exit 1; }; } | |
4759 | ||
4760 | { $as_echo "$as_me:$LINENO: checking build system type" >&5 | |
4761 | $as_echo_n "checking build system type... " >&6; } | |
4762 | if test "${ac_cv_build+set}" = set; then | |
4763 | $as_echo_n "(cached) " >&6 | |
4764 | else | |
4765 | ac_build_alias=$build_alias | |
4766 | test "x$ac_build_alias" = x && | |
4767 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | |
4768 | test "x$ac_build_alias" = x && | |
4769 | { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | |
4770 | $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
4771 | { (exit 1); exit 1; }; } | |
4772 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | |
4773 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 | |
4774 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | |
4775 | { (exit 1); exit 1; }; } | |
4776 | ||
4777 | fi | |
4778 | { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
4779 | $as_echo "$ac_cv_build" >&6; } | |
4780 | case $ac_cv_build in | |
4781 | *-*-*) ;; | |
4782 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | |
4783 | $as_echo "$as_me: error: invalid value of canonical build" >&2;} | |
4784 | { (exit 1); exit 1; }; };; | |
4785 | esac | |
4786 | build=$ac_cv_build | |
4787 | ac_save_IFS=$IFS; IFS='-' | |
4788 | set x $ac_cv_build | |
4789 | shift | |
4790 | build_cpu=$1 | |
4791 | build_vendor=$2 | |
4792 | shift; shift | |
4793 | # Remember, the first character of IFS is used to create $*, | |
4794 | # except with old shells: | |
4795 | build_os=$* | |
4796 | IFS=$ac_save_IFS | |
4797 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | |
4798 | ||
4799 | ||
4800 | { $as_echo "$as_me:$LINENO: checking host system type" >&5 | |
4801 | $as_echo_n "checking host system type... " >&6; } | |
4802 | if test "${ac_cv_host+set}" = set; then | |
4803 | $as_echo_n "(cached) " >&6 | |
4804 | else | |
4805 | if test "x$host_alias" = x; then | |
4806 | ac_cv_host=$ac_cv_build | |
4807 | else | |
4808 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | |
4809 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 | |
4810 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | |
4811 | { (exit 1); exit 1; }; } | |
4812 | fi | |
4813 | ||
4814 | fi | |
4815 | { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | |
4816 | $as_echo "$ac_cv_host" >&6; } | |
4817 | case $ac_cv_host in | |
4818 | *-*-*) ;; | |
4819 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | |
4820 | $as_echo "$as_me: error: invalid value of canonical host" >&2;} | |
4821 | { (exit 1); exit 1; }; };; | |
4822 | esac | |
4823 | host=$ac_cv_host | |
4824 | ac_save_IFS=$IFS; IFS='-' | |
4825 | set x $ac_cv_host | |
4826 | shift | |
4827 | host_cpu=$1 | |
4828 | host_vendor=$2 | |
4829 | shift; shift | |
4830 | # Remember, the first character of IFS is used to create $*, | |
4831 | # except with old shells: | |
4832 | host_os=$* | |
4833 | IFS=$ac_save_IFS | |
4834 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | |
4835 | ||
4836 | ||
4837 | case $host in | |
4838 | *-*-cygwin*) LIBS="-liconv" | |
4839 | ;; | |
4840 | *aix*) LIBS="-liconv" | |
4841 | ;; | |
4842 | esac | |
4843 | ||
4844 | ac_config_files="$ac_config_files Makefile charmaps/Makefile doc/Makefile outputs/Makefile patches/Makefile src/Makefile tests/Makefile" | |
4845 | ||
4846 | cat >confcache <<\_ACEOF | |
4847 | # This file is a shell script that caches the results of configure | |
4848 | # tests run on this system so they can be shared between configure | |
4849 | # scripts and configure runs, see configure's option --config-cache. | |
4850 | # It is not useful on other systems. If it contains results you don't | |
4851 | # want to keep, you may remove or edit it. | |
4852 | # | |
4853 | # config.status only pays attention to the cache file if you give it | |
4854 | # the --recheck option to rerun configure. | |
4855 | # | |
4856 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | |
4857 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
4858 | # following values. | |
4859 | ||
4860 | _ACEOF | |
4861 | ||
4862 | # The following way of writing the cache mishandles newlines in values, | |
4863 | # but we know of no workaround that is simple, portable, and efficient. | |
4864 | # So, we kill variables containing newlines. | |
4865 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
4866 | # and sets the high bit in the cache file unless we assign to the vars. | |
4867 | ( | |
4868 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
4869 | eval ac_val=\$$ac_var | |
4870 | case $ac_val in #( | |
4871 | *${as_nl}*) | |
4872 | case $ac_var in #( | |
4873 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 | |
4874 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
4875 | esac | |
4876 | case $ac_var in #( | |
4877 | _ | IFS | as_nl) ;; #( | |
4878 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
4879 | *) $as_unset $ac_var ;; | |
4880 | esac ;; | |
4881 | esac | |
4882 | done | |
4883 | ||
4884 | (set) 2>&1 | | |
4885 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | |
4886 | *${as_nl}ac_space=\ *) | |
4887 | # `set' does not quote correctly, so add quotes (double-quote | |
4888 | # substitution turns \\\\ into \\, and sed turns \\ into \). | |
4889 | sed -n \ | |
4890 | "s/'/'\\\\''/g; | |
4891 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
4892 | ;; #( | |
4893 | *) | |
4894 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
4895 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
4896 | ;; | |
4897 | esac | | |
4898 | sort | |
4899 | ) | | |
4900 | sed ' | |
4901 | /^ac_cv_env_/b end | |
4902 | t clear | |
4903 | :clear | |
4904 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
4905 | t end | |
4906 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
4907 | :end' >>confcache | |
4908 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | |
4909 | if test -w "$cache_file"; then | |
4910 | test "x$cache_file" != "x/dev/null" && | |
4911 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 | |
4912 | $as_echo "$as_me: updating cache $cache_file" >&6;} | |
4913 | cat confcache >$cache_file | |
4914 | else | |
4915 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 | |
4916 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
4917 | fi | |
4918 | fi | |
4919 | rm -f confcache | |
4920 | ||
4921 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
4922 | # Let make expand exec_prefix. | |
4923 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
4924 | ||
4925 | DEFS=-DHAVE_CONFIG_H | |
4926 | ||
4927 | ac_libobjs= | |
4928 | ac_ltlibobjs= | |
4929 | for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue | |
4930 | # 1. Remove the extension, and $U if already installed. | |
4931 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | |
4932 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | |
4933 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |
4934 | # will be set to the directory where LIBOBJS objects are built. | |
4935 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
4936 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | |
4937 | done | |
4938 | LIB@&t@OBJS=$ac_libobjs | |
4939 | ||
4940 | LTLIBOBJS=$ac_ltlibobjs | |
4941 | ||
4942 | ||
4943 | if test -n "$EXEEXT"; then | |
4944 | am__EXEEXT_TRUE= | |
4945 | am__EXEEXT_FALSE='#' | |
4946 | else | |
4947 | am__EXEEXT_TRUE='#' | |
4948 | am__EXEEXT_FALSE= | |
4949 | fi | |
4950 | ||
4951 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then | |
4952 | { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. | |
4953 | Usually this means the macro was only invoked conditionally." >&5 | |
4954 | $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. | |
4955 | Usually this means the macro was only invoked conditionally." >&2;} | |
4956 | { (exit 1); exit 1; }; } | |
4957 | fi | |
4958 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | |
4959 | { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | |
4960 | Usually this means the macro was only invoked conditionally." >&5 | |
4961 | $as_echo "$as_me: error: conditional \"AMDEP\" was never defined. | |
4962 | Usually this means the macro was only invoked conditionally." >&2;} | |
4963 | { (exit 1); exit 1; }; } | |
4964 | fi | |
4965 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | |
4966 | { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | |
4967 | Usually this means the macro was only invoked conditionally." >&5 | |
4968 | $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | |
4969 | Usually this means the macro was only invoked conditionally." >&2;} | |
4970 | { (exit 1); exit 1; }; } | |
4971 | fi | |
4972 | ||
4973 | : ${CONFIG_STATUS=./config.status} | |
4974 | ac_write_fail=0 | |
4975 | ac_clean_files_save=$ac_clean_files | |
4976 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
4977 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | |
4978 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
4979 | cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
4980 | #! $SHELL | |
4981 | # Generated by $as_me. | |
4982 | # Run this file to recreate the current configuration. | |
4983 | # Compiler output produced by configure, useful for debugging | |
4984 | # configure, is in config.log if it exists. | |
4985 | ||
4986 | debug=false | |
4987 | ac_cs_recheck=false | |
4988 | ac_cs_silent=false | |
4989 | SHELL=\${CONFIG_SHELL-$SHELL} | |
4990 | _ACEOF | |
4991 | ||
4992 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
4993 | ## --------------------- ## | |
4994 | ## M4sh Initialization. ## | |
4995 | ## --------------------- ## | |
4996 | ||
4997 | # Be more Bourne compatible | |
4998 | DUALCASE=1; export DUALCASE # for MKS sh | |
4999 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
5000 | emulate sh | |
5001 | NULLCMD=: | |
5002 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
5003 | # is contrary to our usage. Disable this feature. | |
5004 | alias -g '${1+"$@"}'='"$@"' | |
5005 | setopt NO_GLOB_SUBST | |
5006 | else | |
5007 | case `(set -o) 2>/dev/null` in | |
5008 | *posix*) set -o posix ;; | |
5009 | esac | |
5010 | ||
5011 | fi | |
5012 | ||
5013 | ||
5014 | ||
5015 | ||
5016 | # PATH needs CR | |
5017 | # Avoid depending upon Character Ranges. | |
5018 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
5019 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
5020 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
5021 | as_cr_digits='0123456789' | |
5022 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
5023 | ||
5024 | as_nl=' | |
5025 | ' | |
5026 | export as_nl | |
5027 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
5028 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
5029 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
5030 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
5031 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
5032 | as_echo='printf %s\n' | |
5033 | as_echo_n='printf %s' | |
5034 | else | |
5035 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
5036 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
5037 | as_echo_n='/usr/ucb/echo -n' | |
5038 | else | |
5039 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
5040 | as_echo_n_body='eval | |
5041 | arg=$1; | |
5042 | case $arg in | |
5043 | *"$as_nl"*) | |
5044 | expr "X$arg" : "X\\(.*\\)$as_nl"; | |
5045 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
5046 | esac; | |
5047 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
5048 | ' | |
5049 | export as_echo_n_body | |
5050 | as_echo_n='sh -c $as_echo_n_body as_echo' | |
5051 | fi | |
5052 | export as_echo_body | |
5053 | as_echo='sh -c $as_echo_body as_echo' | |
5054 | fi | |
5055 | ||
5056 | # The user is always right. | |
5057 | if test "${PATH_SEPARATOR+set}" != set; then | |
5058 | PATH_SEPARATOR=: | |
5059 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
5060 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
5061 | PATH_SEPARATOR=';' | |
5062 | } | |
5063 | fi | |
5064 | ||
5065 | # Support unset when possible. | |
5066 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
5067 | as_unset=unset | |
5068 | else | |
5069 | as_unset=false | |
5070 | fi | |
5071 | ||
5072 | ||
5073 | # IFS | |
5074 | # We need space, tab and new line, in precisely that order. Quoting is | |
5075 | # there to prevent editors from complaining about space-tab. | |
5076 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
5077 | # splitting by setting IFS to empty value.) | |
5078 | IFS=" "" $as_nl" | |
5079 | ||
5080 | # Find who we are. Look in the path if we contain no directory separator. | |
5081 | case $0 in | |
5082 | *[\\/]* ) as_myself=$0 ;; | |
5083 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
5084 | for as_dir in $PATH | |
5085 | do | |
5086 | IFS=$as_save_IFS | |
5087 | test -z "$as_dir" && as_dir=. | |
5088 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
5089 | done | |
5090 | IFS=$as_save_IFS | |
5091 | ||
5092 | ;; | |
5093 | esac | |
5094 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
5095 | # in which case we are not to be found in the path. | |
5096 | if test "x$as_myself" = x; then | |
5097 | as_myself=$0 | |
5098 | fi | |
5099 | if test ! -f "$as_myself"; then | |
5100 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
5101 | { (exit 1); exit 1; } | |
5102 | fi | |
5103 | ||
5104 | # Work around bugs in pre-3.0 UWIN ksh. | |
5105 | for as_var in ENV MAIL MAILPATH | |
5106 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
5107 | done | |
5108 | PS1='$ ' | |
5109 | PS2='> ' | |
5110 | PS4='+ ' | |
5111 | ||
5112 | # NLS nuisances. | |
5113 | LC_ALL=C | |
5114 | export LC_ALL | |
5115 | LANGUAGE=C | |
5116 | export LANGUAGE | |
5117 | ||
5118 | # Required to use basename. | |
5119 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
5120 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
5121 | as_expr=expr | |
5122 | else | |
5123 | as_expr=false | |
5124 | fi | |
5125 | ||
5126 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
5127 | as_basename=basename | |
5128 | else | |
5129 | as_basename=false | |
5130 | fi | |
5131 | ||
5132 | ||
5133 | # Name of the executable. | |
5134 | as_me=`$as_basename -- "$0" || | |
5135 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
5136 | X"$0" : 'X\(//\)$' \| \ | |
5137 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
5138 | $as_echo X/"$0" | | |
5139 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
5140 | s//\1/ | |
5141 | q | |
5142 | } | |
5143 | /^X\/\(\/\/\)$/{ | |
5144 | s//\1/ | |
5145 | q | |
5146 | } | |
5147 | /^X\/\(\/\).*/{ | |
5148 | s//\1/ | |
5149 | q | |
5150 | } | |
5151 | s/.*/./; q'` | |
5152 | ||
5153 | # CDPATH. | |
5154 | $as_unset CDPATH | |
5155 | ||
5156 | ||
5157 | ||
5158 | as_lineno_1=$LINENO | |
5159 | as_lineno_2=$LINENO | |
5160 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
5161 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
5162 | ||
5163 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
5164 | # uniformly replaced by the line number. The first 'sed' inserts a | |
5165 | # line-number line after each line using $LINENO; the second 'sed' | |
5166 | # does the real work. The second script uses 'N' to pair each | |
5167 | # line-number line with the line containing $LINENO, and appends | |
5168 | # trailing '-' during substitution so that $LINENO is not a special | |
5169 | # case at line end. | |
5170 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
5171 | # scripts with optimization help from Paolo Bonzini. Blame Lee | |
5172 | # E. McMahon (1931-1989) for sed's syntax. :-) | |
5173 | sed -n ' | |
5174 | p | |
5175 | /[$]LINENO/= | |
5176 | ' <$as_myself | | |
5177 | sed ' | |
5178 | s/[$]LINENO.*/&-/ | |
5179 | t lineno | |
5180 | b | |
5181 | :lineno | |
5182 | N | |
5183 | :loop | |
5184 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
5185 | t loop | |
5186 | s/-\n.*// | |
5187 | ' >$as_me.lineno && | |
5188 | chmod +x "$as_me.lineno" || | |
5189 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
5190 | { (exit 1); exit 1; }; } | |
5191 | ||
5192 | # Don't try to exec as it changes $[0], causing all sort of problems | |
5193 | # (the dirname of $[0] is not the place where we might find the | |
5194 | # original and so on. Autoconf is especially sensitive to this). | |
5195 | . "./$as_me.lineno" | |
5196 | # Exit status is that of the last command. | |
5197 | exit | |
5198 | } | |
5199 | ||
5200 | ||
5201 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
5202 | as_dirname=dirname | |
5203 | else | |
5204 | as_dirname=false | |
5205 | fi | |
5206 | ||
5207 | ECHO_C= ECHO_N= ECHO_T= | |
5208 | case `echo -n x` in | |
5209 | -n*) | |
5210 | case `echo 'x\c'` in | |
5211 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
5212 | *) ECHO_C='\c';; | |
5213 | esac;; | |
5214 | *) | |
5215 | ECHO_N='-n';; | |
5216 | esac | |
5217 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
5218 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
5219 | as_expr=expr | |
5220 | else | |
5221 | as_expr=false | |
5222 | fi | |
5223 | ||
5224 | rm -f conf$$ conf$$.exe conf$$.file | |
5225 | if test -d conf$$.dir; then | |
5226 | rm -f conf$$.dir/conf$$.file | |
5227 | else | |
5228 | rm -f conf$$.dir | |
5229 | mkdir conf$$.dir 2>/dev/null | |
5230 | fi | |
5231 | if (echo >conf$$.file) 2>/dev/null; then | |
5232 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
5233 | as_ln_s='ln -s' | |
5234 | # ... but there are two gotchas: | |
5235 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
5236 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
5237 | # In both cases, we have to default to `cp -p'. | |
5238 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
5239 | as_ln_s='cp -p' | |
5240 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
5241 | as_ln_s=ln | |
5242 | else | |
5243 | as_ln_s='cp -p' | |
5244 | fi | |
5245 | else | |
5246 | as_ln_s='cp -p' | |
5247 | fi | |
5248 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
5249 | rmdir conf$$.dir 2>/dev/null | |
5250 | ||
5251 | if mkdir -p . 2>/dev/null; then | |
5252 | as_mkdir_p=: | |
5253 | else | |
5254 | test -d ./-p && rmdir ./-p | |
5255 | as_mkdir_p=false | |
5256 | fi | |
5257 | ||
5258 | if test -x / >/dev/null 2>&1; then | |
5259 | as_test_x='test -x' | |
5260 | else | |
5261 | if ls -dL / >/dev/null 2>&1; then | |
5262 | as_ls_L_option=L | |
5263 | else | |
5264 | as_ls_L_option= | |
5265 | fi | |
5266 | as_test_x=' | |
5267 | eval sh -c '\'' | |
5268 | if test -d "$1"; then | |
5269 | test -d "$1/."; | |
5270 | else | |
5271 | case $1 in | |
5272 | -*)set "./$1";; | |
5273 | esac; | |
5274 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
5275 | ???[sx]*):;;*)false;;esac;fi | |
5276 | '\'' sh | |
5277 | ' | |
5278 | fi | |
5279 | as_executable_p=$as_test_x | |
5280 | ||
5281 | # Sed expression to map a string onto a valid CPP name. | |
5282 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
5283 | ||
5284 | # Sed expression to map a string onto a valid variable name. | |
5285 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
5286 | ||
5287 | ||
5288 | exec 6>&1 | |
5289 | ||
5290 | # Save the log message, to keep $[0] and so on meaningful, and to | |
5291 | # report actual input values of CONFIG_FILES etc. instead of their | |
5292 | # values after options handling. | |
5293 | ac_log=" | |
5294 | This file was extended by unrtf $as_me 0.21.2, which was | |
5295 | generated by GNU Autoconf 2.63. Invocation command line was | |
5296 | ||
5297 | CONFIG_FILES = $CONFIG_FILES | |
5298 | CONFIG_HEADERS = $CONFIG_HEADERS | |
5299 | CONFIG_LINKS = $CONFIG_LINKS | |
5300 | CONFIG_COMMANDS = $CONFIG_COMMANDS | |
5301 | $ $0 $@ | |
5302 | ||
5303 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
5304 | " | |
5305 | ||
5306 | _ACEOF | |
5307 | ||
5308 | case $ac_config_files in *" | |
5309 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
5310 | esac | |
5311 | ||
5312 | case $ac_config_headers in *" | |
5313 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | |
5314 | esac | |
5315 | ||
5316 | ||
5317 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5318 | # Files that config.status was made for. | |
5319 | config_files="$ac_config_files" | |
5320 | config_headers="$ac_config_headers" | |
5321 | config_commands="$ac_config_commands" | |
5322 | ||
5323 | _ACEOF | |
5324 | ||
5325 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5326 | ac_cs_usage="\ | |
5327 | \`$as_me' instantiates files from templates according to the | |
5328 | current configuration. | |
5329 | ||
5330 | Usage: $0 [OPTION]... [FILE]... | |
5331 | ||
5332 | -h, --help print this help, then exit | |
5333 | -V, --version print version number and configuration settings, then exit | |
5334 | -q, --quiet, --silent | |
5335 | do not print progress messages | |
5336 | -d, --debug don't remove temporary files | |
5337 | --recheck update $as_me by reconfiguring in the same conditions | |
5338 | --file=FILE[:TEMPLATE] | |
5339 | instantiate the configuration file FILE | |
5340 | --header=FILE[:TEMPLATE] | |
5341 | instantiate the configuration header FILE | |
5342 | ||
5343 | Configuration files: | |
5344 | $config_files | |
5345 | ||
5346 | Configuration headers: | |
5347 | $config_headers | |
5348 | ||
5349 | Configuration commands: | |
5350 | $config_commands | |
5351 | ||
5352 | Report bugs to <bug-autoconf@gnu.org>." | |
5353 | ||
5354 | _ACEOF | |
5355 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5356 | ac_cs_version="\\ | |
5357 | unrtf config.status 0.21.2 | |
5358 | configured by $0, generated by GNU Autoconf 2.63, | |
5359 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | |
5360 | ||
5361 | Copyright (C) 2008 Free Software Foundation, Inc. | |
5362 | This config.status script is free software; the Free Software Foundation | |
5363 | gives unlimited permission to copy, distribute and modify it." | |
5364 | ||
5365 | ac_pwd='$ac_pwd' | |
5366 | srcdir='$srcdir' | |
5367 | INSTALL='$INSTALL' | |
5368 | MKDIR_P='$MKDIR_P' | |
5369 | AWK='$AWK' | |
5370 | test -n "\$AWK" || AWK=awk | |
5371 | _ACEOF | |
5372 | ||
5373 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5374 | # The default lists apply if the user does not specify any file. | |
5375 | ac_need_defaults=: | |
5376 | while test $# != 0 | |
5377 | do | |
5378 | case $1 in | |
5379 | --*=*) | |
5380 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
5381 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
5382 | ac_shift=: | |
5383 | ;; | |
5384 | *) | |
5385 | ac_option=$1 | |
5386 | ac_optarg=$2 | |
5387 | ac_shift=shift | |
5388 | ;; | |
5389 | esac | |
5390 | ||
5391 | case $ac_option in | |
5392 | # Handling of the options. | |
5393 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
5394 | ac_cs_recheck=: ;; | |
5395 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
5396 | $as_echo "$ac_cs_version"; exit ;; | |
5397 | --debug | --debu | --deb | --de | --d | -d ) | |
5398 | debug=: ;; | |
5399 | --file | --fil | --fi | --f ) | |
5400 | $ac_shift | |
5401 | case $ac_optarg in | |
5402 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
5403 | esac | |
5404 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" | |
5405 | ac_need_defaults=false;; | |
5406 | --header | --heade | --head | --hea ) | |
5407 | $ac_shift | |
5408 | case $ac_optarg in | |
5409 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
5410 | esac | |
5411 | CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" | |
5412 | ac_need_defaults=false;; | |
5413 | --he | --h) | |
5414 | # Conflict between --help and --header | |
5415 | { $as_echo "$as_me: error: ambiguous option: $1 | |
5416 | Try \`$0 --help' for more information." >&2 | |
5417 | { (exit 1); exit 1; }; };; | |
5418 | --help | --hel | -h ) | |
5419 | $as_echo "$ac_cs_usage"; exit ;; | |
5420 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
5421 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
5422 | ac_cs_silent=: ;; | |
5423 | ||
5424 | # This is an error. | |
5425 | -*) { $as_echo "$as_me: error: unrecognized option: $1 | |
5426 | Try \`$0 --help' for more information." >&2 | |
5427 | { (exit 1); exit 1; }; } ;; | |
5428 | ||
5429 | *) ac_config_targets="$ac_config_targets $1" | |
5430 | ac_need_defaults=false ;; | |
5431 | ||
5432 | esac | |
5433 | shift | |
5434 | done | |
5435 | ||
5436 | ac_configure_extra_args= | |
5437 | ||
5438 | if $ac_cs_silent; then | |
5439 | exec 6>/dev/null | |
5440 | ac_configure_extra_args="$ac_configure_extra_args --silent" | |
5441 | fi | |
5442 | ||
5443 | _ACEOF | |
5444 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5445 | if \$ac_cs_recheck; then | |
5446 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
5447 | shift | |
5448 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
5449 | CONFIG_SHELL='$SHELL' | |
5450 | export CONFIG_SHELL | |
5451 | exec "\$@" | |
5452 | fi | |
5453 | ||
5454 | _ACEOF | |
5455 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5456 | exec 5>>config.log | |
5457 | { | |
5458 | echo | |
5459 | sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX | |
5460 | @%:@@%:@ Running $as_me. @%:@@%:@ | |
5461 | _ASBOX | |
5462 | $as_echo "$ac_log" | |
5463 | } >&5 | |
5464 | ||
5465 | _ACEOF | |
5466 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5467 | # | |
5468 | # INIT-COMMANDS | |
5469 | # | |
5470 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
5471 | ||
5472 | _ACEOF | |
5473 | ||
5474 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5475 | ||
5476 | # Handling of arguments. | |
5477 | for ac_config_target in $ac_config_targets | |
5478 | do | |
5479 | case $ac_config_target in | |
5480 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | |
5481 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | |
5482 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
5483 | "charmaps/Makefile") CONFIG_FILES="$CONFIG_FILES charmaps/Makefile" ;; | |
5484 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; | |
5485 | "outputs/Makefile") CONFIG_FILES="$CONFIG_FILES outputs/Makefile" ;; | |
5486 | "patches/Makefile") CONFIG_FILES="$CONFIG_FILES patches/Makefile" ;; | |
5487 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | |
5488 | "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; | |
5489 | ||
5490 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | |
5491 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
5492 | { (exit 1); exit 1; }; };; | |
5493 | esac | |
5494 | done | |
5495 | ||
5496 | ||
5497 | # If the user did not use the arguments to specify the items to instantiate, | |
5498 | # then the envvar interface is used. Set only those that are not. | |
5499 | # We use the long form for the default assignment because of an extremely | |
5500 | # bizarre bug on SunOS 4.1.3. | |
5501 | if $ac_need_defaults; then | |
5502 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
5503 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | |
5504 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | |
5505 | fi | |
5506 | ||
5507 | # Have a temporary directory for convenience. Make it in the build tree | |
5508 | # simply because there is no reason against having it here, and in addition, | |
5509 | # creating and moving files from /tmp can sometimes cause problems. | |
5510 | # Hook for its removal unless debugging. | |
5511 | # Note that there is a small window in which the directory will not be cleaned: | |
5512 | # after its creation but before its name has been assigned to `$tmp'. | |
5513 | $debug || | |
5514 | { | |
5515 | tmp= | |
5516 | trap 'exit_status=$? | |
5517 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
5518 | ' 0 | |
5519 | trap '{ (exit 1); exit 1; }' 1 2 13 15 | |
5520 | } | |
5521 | # Create a (secure) tmp directory for tmp files. | |
5522 | ||
5523 | { | |
5524 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
5525 | test -n "$tmp" && test -d "$tmp" | |
5526 | } || | |
5527 | { | |
5528 | tmp=./conf$$-$RANDOM | |
5529 | (umask 077 && mkdir "$tmp") | |
5530 | } || | |
5531 | { | |
5532 | $as_echo "$as_me: cannot create a temporary directory in ." >&2 | |
5533 | { (exit 1); exit 1; } | |
5534 | } | |
5535 | ||
5536 | # Set up the scripts for CONFIG_FILES section. | |
5537 | # No need to generate them if there are no CONFIG_FILES. | |
5538 | # This happens for instance with `./config.status config.h'. | |
5539 | if test -n "$CONFIG_FILES"; then | |
5540 | ||
5541 | ||
5542 | ac_cr=' ⏎ | |
5543 | ' | |
5544 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
5545 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
5546 | ac_cs_awk_cr='\\r' | |
5547 | else | |
5548 | ac_cs_awk_cr=$ac_cr | |
5549 | fi | |
5550 | ||
5551 | echo 'BEGIN {' >"$tmp/subs1.awk" && | |
5552 | _ACEOF | |
5553 | ||
5554 | ||
5555 | { | |
5556 | echo "cat >conf$$subs.awk <<_ACEOF" && | |
5557 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
5558 | echo "_ACEOF" | |
5559 | } >conf$$subs.sh || | |
5560 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
5561 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
5562 | { (exit 1); exit 1; }; } | |
5563 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | |
5564 | ac_delim='%!_!# ' | |
5565 | for ac_last_try in false false false false false :; do | |
5566 | . ./conf$$subs.sh || | |
5567 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
5568 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
5569 | { (exit 1); exit 1; }; } | |
5570 | ||
5571 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
5572 | if test $ac_delim_n = $ac_delim_num; then | |
5573 | break | |
5574 | elif $ac_last_try; then | |
5575 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
5576 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
5577 | { (exit 1); exit 1; }; } | |
5578 | else | |
5579 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
5580 | fi | |
5581 | done | |
5582 | rm -f conf$$subs.sh | |
5583 | ||
5584 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5585 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | |
5586 | _ACEOF | |
5587 | sed -n ' | |
5588 | h | |
5589 | s/^/S["/; s/!.*/"]=/ | |
5590 | p | |
5591 | g | |
5592 | s/^[^!]*!// | |
5593 | :repl | |
5594 | t repl | |
5595 | s/'"$ac_delim"'$// | |
5596 | t delim | |
5597 | :nl | |
5598 | h | |
5599 | s/\(.\{148\}\).*/\1/ | |
5600 | t more1 | |
5601 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
5602 | p | |
5603 | n | |
5604 | b repl | |
5605 | :more1 | |
5606 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
5607 | p | |
5608 | g | |
5609 | s/.\{148\}// | |
5610 | t nl | |
5611 | :delim | |
5612 | h | |
5613 | s/\(.\{148\}\).*/\1/ | |
5614 | t more2 | |
5615 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
5616 | p | |
5617 | b | |
5618 | :more2 | |
5619 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
5620 | p | |
5621 | g | |
5622 | s/.\{148\}// | |
5623 | t delim | |
5624 | ' <conf$$subs.awk | sed ' | |
5625 | /^[^""]/{ | |
5626 | N | |
5627 | s/\n// | |
5628 | } | |
5629 | ' >>$CONFIG_STATUS || ac_write_fail=1 | |
5630 | rm -f conf$$subs.awk | |
5631 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5632 | _ACAWK | |
5633 | cat >>"\$tmp/subs1.awk" <<_ACAWK && | |
5634 | for (key in S) S_is_set[key] = 1 | |
5635 | FS = "" | |
5636 | ||
5637 | } | |
5638 | { | |
5639 | line = $ 0 | |
5640 | nfields = split(line, field, "@") | |
5641 | substed = 0 | |
5642 | len = length(field[1]) | |
5643 | for (i = 2; i < nfields; i++) { | |
5644 | key = field[i] | |
5645 | keylen = length(key) | |
5646 | if (S_is_set[key]) { | |
5647 | value = S[key] | |
5648 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
5649 | len += length(value) + length(field[++i]) | |
5650 | substed = 1 | |
5651 | } else | |
5652 | len += 1 + keylen | |
5653 | } | |
5654 | ||
5655 | print line | |
5656 | } | |
5657 | ||
5658 | _ACAWK | |
5659 | _ACEOF | |
5660 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5661 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
5662 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
5663 | else | |
5664 | cat | |
5665 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | |
5666 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 | |
5667 | $as_echo "$as_me: error: could not setup config files machinery" >&2;} | |
5668 | { (exit 1); exit 1; }; } | |
5669 | _ACEOF | |
5670 | ||
5671 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
5672 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
5673 | # trailing colons and then remove the whole line if VPATH becomes empty | |
5674 | # (actually we leave an empty line to preserve line numbers). | |
5675 | if test "x$srcdir" = x.; then | |
5676 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
5677 | s/:*\$(srcdir):*/:/ | |
5678 | s/:*\${srcdir}:*/:/ | |
5679 | s/:*@srcdir@:*/:/ | |
5680 | s/^\([^=]*=[ ]*\):*/\1/ | |
5681 | s/:*$// | |
5682 | s/^[^=]*=[ ]*$// | |
5683 | }' | |
5684 | fi | |
5685 | ||
5686 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5687 | fi # test -n "$CONFIG_FILES" | |
5688 | ||
5689 | # Set up the scripts for CONFIG_HEADERS section. | |
5690 | # No need to generate them if there are no CONFIG_HEADERS. | |
5691 | # This happens for instance with `./config.status Makefile'. | |
5692 | if test -n "$CONFIG_HEADERS"; then | |
5693 | cat >"$tmp/defines.awk" <<\_ACAWK || | |
5694 | BEGIN { | |
5695 | _ACEOF | |
5696 | ||
5697 | # Transform confdefs.h into an awk script `defines.awk', embedded as | |
5698 | # here-document in config.status, that substitutes the proper values into | |
5699 | # config.h.in to produce config.h. | |
5700 | ||
5701 | # Create a delimiter string that does not exist in confdefs.h, to ease | |
5702 | # handling of long lines. | |
5703 | ac_delim='%!_!# ' | |
5704 | for ac_last_try in false false :; do | |
5705 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` | |
5706 | if test -z "$ac_t"; then | |
5707 | break | |
5708 | elif $ac_last_try; then | |
5709 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 | |
5710 | $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} | |
5711 | { (exit 1); exit 1; }; } | |
5712 | else | |
5713 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
5714 | fi | |
5715 | done | |
5716 | ||
5717 | # For the awk script, D is an array of macro values keyed by name, | |
5718 | # likewise P contains macro parameters if any. Preserve backslash | |
5719 | # newline sequences. | |
5720 | ||
5721 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | |
5722 | sed -n ' | |
5723 | s/.\{148\}/&'"$ac_delim"'/g | |
5724 | t rset | |
5725 | :rset | |
5726 | s/^[ ]*#[ ]*define[ ][ ]*/ / | |
5727 | t def | |
5728 | d | |
5729 | :def | |
5730 | s/\\$// | |
5731 | t bsnl | |
5732 | s/["\\]/\\&/g | |
5733 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
5734 | D["\1"]=" \3"/p | |
5735 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | |
5736 | d | |
5737 | :bsnl | |
5738 | s/["\\]/\\&/g | |
5739 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
5740 | D["\1"]=" \3\\\\\\n"\\/p | |
5741 | t cont | |
5742 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | |
5743 | t cont | |
5744 | d | |
5745 | :cont | |
5746 | n | |
5747 | s/.\{148\}/&'"$ac_delim"'/g | |
5748 | t clear | |
5749 | :clear | |
5750 | s/\\$// | |
5751 | t bsnlc | |
5752 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | |
5753 | d | |
5754 | :bsnlc | |
5755 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | |
5756 | b cont | |
5757 | ' <confdefs.h | sed ' | |
5758 | s/'"$ac_delim"'/"\\\ | |
5759 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | |
5760 | ||
5761 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5762 | for (key in D) D_is_set[key] = 1 | |
5763 | FS = "" | |
5764 | } | |
5765 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | |
5766 | line = \$ 0 | |
5767 | split(line, arg, " ") | |
5768 | if (arg[1] == "#") { | |
5769 | defundef = arg[2] | |
5770 | mac1 = arg[3] | |
5771 | } else { | |
5772 | defundef = substr(arg[1], 2) | |
5773 | mac1 = arg[2] | |
5774 | } | |
5775 | split(mac1, mac2, "(") #) | |
5776 | macro = mac2[1] | |
5777 | prefix = substr(line, 1, index(line, defundef) - 1) | |
5778 | if (D_is_set[macro]) { | |
5779 | # Preserve the white space surrounding the "#". | |
5780 | print prefix "define", macro P[macro] D[macro] | |
5781 | next | |
5782 | } else { | |
5783 | # Replace #undef with comments. This is necessary, for example, | |
5784 | # in the case of _POSIX_SOURCE, which is predefined and required | |
5785 | # on some systems where configure will not decide to define it. | |
5786 | if (defundef == "undef") { | |
5787 | print "/*", prefix defundef, macro, "*/" | |
5788 | next | |
5789 | } | |
5790 | } | |
5791 | } | |
5792 | { print } | |
5793 | _ACAWK | |
5794 | _ACEOF | |
5795 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5796 | { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 | |
5797 | $as_echo "$as_me: error: could not setup config headers machinery" >&2;} | |
5798 | { (exit 1); exit 1; }; } | |
5799 | fi # test -n "$CONFIG_HEADERS" | |
5800 | ||
5801 | ||
5802 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | |
5803 | shift | |
5804 | for ac_tag | |
5805 | do | |
5806 | case $ac_tag in | |
5807 | :[FHLC]) ac_mode=$ac_tag; continue;; | |
5808 | esac | |
5809 | case $ac_mode$ac_tag in | |
5810 | :[FHL]*:*);; | |
5811 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 | |
5812 | $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} | |
5813 | { (exit 1); exit 1; }; };; | |
5814 | :[FH]-) ac_tag=-:-;; | |
5815 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
5816 | esac | |
5817 | ac_save_IFS=$IFS | |
5818 | IFS=: | |
5819 | set x $ac_tag | |
5820 | IFS=$ac_save_IFS | |
5821 | shift | |
5822 | ac_file=$1 | |
5823 | shift | |
5824 | ||
5825 | case $ac_mode in | |
5826 | :L) ac_source=$1;; | |
5827 | :[FH]) | |
5828 | ac_file_inputs= | |
5829 | for ac_f | |
5830 | do | |
5831 | case $ac_f in | |
5832 | -) ac_f="$tmp/stdin";; | |
5833 | *) # Look for the file first in the build tree, then in the source tree | |
5834 | # (if the path is not absolute). The absolute path cannot be DOS-style, | |
5835 | # because $ac_f cannot contain `:'. | |
5836 | test -f "$ac_f" || | |
5837 | case $ac_f in | |
5838 | [\\/$]*) false;; | |
5839 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
5840 | esac || | |
5841 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | |
5842 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
5843 | { (exit 1); exit 1; }; };; | |
5844 | esac | |
5845 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
5846 | ac_file_inputs="$ac_file_inputs '$ac_f'" | |
5847 | done | |
5848 | ||
5849 | # Let's still pretend it is `configure' which instantiates (i.e., don't | |
5850 | # use $as_me), people would be surprised to read: | |
5851 | # /* config.h. Generated by config.status. */ | |
5852 | configure_input='Generated from '` | |
5853 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
5854 | `' by configure.' | |
5855 | if test x"$ac_file" != x-; then | |
5856 | configure_input="$ac_file. $configure_input" | |
5857 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 | |
5858 | $as_echo "$as_me: creating $ac_file" >&6;} | |
5859 | fi | |
5860 | # Neutralize special characters interpreted by sed in replacement strings. | |
5861 | case $configure_input in #( | |
5862 | *\&* | *\|* | *\\* ) | |
5863 | ac_sed_conf_input=`$as_echo "$configure_input" | | |
5864 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
5865 | *) ac_sed_conf_input=$configure_input;; | |
5866 | esac | |
5867 | ||
5868 | case $ac_tag in | |
5869 | *:-:* | *:-) cat >"$tmp/stdin" \ | |
5870 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
5871 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
5872 | { (exit 1); exit 1; }; } ;; | |
5873 | esac | |
5874 | ;; | |
5875 | esac | |
5876 | ||
5877 | ac_dir=`$as_dirname -- "$ac_file" || | |
5878 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5879 | X"$ac_file" : 'X\(//\)[^/]' \| \ | |
5880 | X"$ac_file" : 'X\(//\)$' \| \ | |
5881 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
5882 | $as_echo X"$ac_file" | | |
5883 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
5884 | s//\1/ | |
5885 | q | |
5886 | } | |
5887 | /^X\(\/\/\)[^/].*/{ | |
5888 | s//\1/ | |
5889 | q | |
5890 | } | |
5891 | /^X\(\/\/\)$/{ | |
5892 | s//\1/ | |
5893 | q | |
5894 | } | |
5895 | /^X\(\/\).*/{ | |
5896 | s//\1/ | |
5897 | q | |
5898 | } | |
5899 | s/.*/./; q'` | |
5900 | { as_dir="$ac_dir" | |
5901 | case $as_dir in #( | |
5902 | -*) as_dir=./$as_dir;; | |
5903 | esac | |
5904 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
5905 | as_dirs= | |
5906 | while :; do | |
5907 | case $as_dir in #( | |
5908 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
5909 | *) as_qdir=$as_dir;; | |
5910 | esac | |
5911 | as_dirs="'$as_qdir' $as_dirs" | |
5912 | as_dir=`$as_dirname -- "$as_dir" || | |
5913 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5914 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
5915 | X"$as_dir" : 'X\(//\)$' \| \ | |
5916 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
5917 | $as_echo X"$as_dir" | | |
5918 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
5919 | s//\1/ | |
5920 | q | |
5921 | } | |
5922 | /^X\(\/\/\)[^/].*/{ | |
5923 | s//\1/ | |
5924 | q | |
5925 | } | |
5926 | /^X\(\/\/\)$/{ | |
5927 | s//\1/ | |
5928 | q | |
5929 | } | |
5930 | /^X\(\/\).*/{ | |
5931 | s//\1/ | |
5932 | q | |
5933 | } | |
5934 | s/.*/./; q'` | |
5935 | test -d "$as_dir" && break | |
5936 | done | |
5937 | test -z "$as_dirs" || eval "mkdir $as_dirs" | |
5938 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | |
5939 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
5940 | { (exit 1); exit 1; }; }; } | |
5941 | ac_builddir=. | |
5942 | ||
5943 | case "$ac_dir" in | |
5944 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
5945 | *) | |
5946 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
5947 | # A ".." for each directory in $ac_dir_suffix. | |
5948 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
5949 | case $ac_top_builddir_sub in | |
5950 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
5951 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
5952 | esac ;; | |
5953 | esac | |
5954 | ac_abs_top_builddir=$ac_pwd | |
5955 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
5956 | # for backward compatibility: | |
5957 | ac_top_builddir=$ac_top_build_prefix | |
5958 | ||
5959 | case $srcdir in | |
5960 | .) # We are building in place. | |
5961 | ac_srcdir=. | |
5962 | ac_top_srcdir=$ac_top_builddir_sub | |
5963 | ac_abs_top_srcdir=$ac_pwd ;; | |
5964 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
5965 | ac_srcdir=$srcdir$ac_dir_suffix; | |
5966 | ac_top_srcdir=$srcdir | |
5967 | ac_abs_top_srcdir=$srcdir ;; | |
5968 | *) # Relative name. | |
5969 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
5970 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
5971 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
5972 | esac | |
5973 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
5974 | ||
5975 | ||
5976 | case $ac_mode in | |
5977 | :F) | |
5978 | # | |
5979 | # CONFIG_FILE | |
5980 | # | |
5981 | ||
5982 | case $INSTALL in | |
5983 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
5984 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | |
5985 | esac | |
5986 | ac_MKDIR_P=$MKDIR_P | |
5987 | case $MKDIR_P in | |
5988 | [\\/$]* | ?:[\\/]* ) ;; | |
5989 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | |
5990 | esac | |
5991 | _ACEOF | |
5992 | ||
5993 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5994 | # If the template does not know about datarootdir, expand it. | |
5995 | # FIXME: This hack should be removed a few years after 2.60. | |
5996 | ac_datarootdir_hack=; ac_datarootdir_seen= | |
5997 | ||
5998 | ac_sed_dataroot=' | |
5999 | /datarootdir/ { | |
6000 | p | |
6001 | q | |
6002 | } | |
6003 | /@datadir@/p | |
6004 | /@docdir@/p | |
6005 | /@infodir@/p | |
6006 | /@localedir@/p | |
6007 | /@mandir@/p | |
6008 | ' | |
6009 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | |
6010 | *datarootdir*) ac_datarootdir_seen=yes;; | |
6011 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
6012 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | |
6013 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
6014 | _ACEOF | |
6015 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6016 | ac_datarootdir_hack=' | |
6017 | s&@datadir@&$datadir&g | |
6018 | s&@docdir@&$docdir&g | |
6019 | s&@infodir@&$infodir&g | |
6020 | s&@localedir@&$localedir&g | |
6021 | s&@mandir@&$mandir&g | |
6022 | s&\\\${datarootdir}&$datarootdir&g' ;; | |
6023 | esac | |
6024 | _ACEOF | |
6025 | ||
6026 | # Neutralize VPATH when `$srcdir' = `.'. | |
6027 | # Shell code in configure.ac might set extrasub. | |
6028 | # FIXME: do we really want to maintain this feature? | |
6029 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6030 | ac_sed_extra="$ac_vpsub | |
6031 | $extrasub | |
6032 | _ACEOF | |
6033 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6034 | :t | |
6035 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
6036 | s|@configure_input@|$ac_sed_conf_input|;t t | |
6037 | s&@top_builddir@&$ac_top_builddir_sub&;t t | |
6038 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
6039 | s&@srcdir@&$ac_srcdir&;t t | |
6040 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
6041 | s&@top_srcdir@&$ac_top_srcdir&;t t | |
6042 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
6043 | s&@builddir@&$ac_builddir&;t t | |
6044 | s&@abs_builddir@&$ac_abs_builddir&;t t | |
6045 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
6046 | s&@INSTALL@&$ac_INSTALL&;t t | |
6047 | s&@MKDIR_P@&$ac_MKDIR_P&;t t | |
6048 | $ac_datarootdir_hack | |
6049 | " | |
6050 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | |
6051 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
6052 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
6053 | { (exit 1); exit 1; }; } | |
6054 | ||
6055 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
6056 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | |
6057 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | |
6058 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
6059 | which seems to be undefined. Please make sure it is defined." >&5 | |
6060 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
6061 | which seems to be undefined. Please make sure it is defined." >&2;} | |
6062 | ||
6063 | rm -f "$tmp/stdin" | |
6064 | case $ac_file in | |
6065 | -) cat "$tmp/out" && rm -f "$tmp/out";; | |
6066 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | |
6067 | esac \ | |
6068 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
6069 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
6070 | { (exit 1); exit 1; }; } | |
6071 | ;; | |
6072 | :H) | |
6073 | # | |
6074 | # CONFIG_HEADER | |
6075 | # | |
6076 | if test x"$ac_file" != x-; then | |
6077 | { | |
6078 | $as_echo "/* $configure_input */" \ | |
6079 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | |
6080 | } >"$tmp/config.h" \ | |
6081 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
6082 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
6083 | { (exit 1); exit 1; }; } | |
6084 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | |
6085 | { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | |
6086 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | |
6087 | else | |
6088 | rm -f "$ac_file" | |
6089 | mv "$tmp/config.h" "$ac_file" \ | |
6090 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
6091 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
6092 | { (exit 1); exit 1; }; } | |
6093 | fi | |
6094 | else | |
6095 | $as_echo "/* $configure_input */" \ | |
6096 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | |
6097 | || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 | |
6098 | $as_echo "$as_me: error: could not create -" >&2;} | |
6099 | { (exit 1); exit 1; }; } | |
6100 | fi | |
6101 | # Compute "$ac_file"'s index in $config_headers. | |
6102 | _am_arg="$ac_file" | |
6103 | _am_stamp_count=1 | |
6104 | for _am_header in $config_headers :; do | |
6105 | case $_am_header in | |
6106 | $_am_arg | $_am_arg:* ) | |
6107 | break ;; | |
6108 | * ) | |
6109 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | |
6110 | esac | |
6111 | done | |
6112 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || | |
6113 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
6114 | X"$_am_arg" : 'X\(//\)[^/]' \| \ | |
6115 | X"$_am_arg" : 'X\(//\)$' \| \ | |
6116 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || | |
6117 | $as_echo X"$_am_arg" | | |
6118 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
6119 | s//\1/ | |
6120 | q | |
6121 | } | |
6122 | /^X\(\/\/\)[^/].*/{ | |
6123 | s//\1/ | |
6124 | q | |
6125 | } | |
6126 | /^X\(\/\/\)$/{ | |
6127 | s//\1/ | |
6128 | q | |
6129 | } | |
6130 | /^X\(\/\).*/{ | |
6131 | s//\1/ | |
6132 | q | |
6133 | } | |
6134 | s/.*/./; q'`/stamp-h$_am_stamp_count | |
6135 | ;; | |
6136 | ||
6137 | :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 | |
6138 | $as_echo "$as_me: executing $ac_file commands" >&6;} | |
6139 | ;; | |
6140 | esac | |
6141 | ||
6142 | ||
6143 | case $ac_file$ac_mode in | |
6144 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | |
6145 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
6146 | # are listed without --file. Let's play safe and only enable the eval | |
6147 | # if we detect the quoting. | |
6148 | case $CONFIG_FILES in | |
6149 | *\'*) eval set x "$CONFIG_FILES" ;; | |
6150 | *) set x $CONFIG_FILES ;; | |
6151 | esac | |
6152 | shift | |
6153 | for mf | |
6154 | do | |
6155 | # Strip MF so we end up with the name of the file. | |
6156 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
6157 | # Check whether this is an Automake generated Makefile or not. | |
6158 | # We used to match only the files named `Makefile.in', but | |
6159 | # some people rename them; so instead we look at the file content. | |
6160 | # Grep'ing the first line is not enough: some people post-process | |
6161 | # each Makefile.in and add a new line on top of each file to say so. | |
6162 | # Grep'ing the whole file is not good either: AIX grep has a line | |
6163 | # limit of 2048, but all sed's we know have understand at least 4000. | |
6164 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
6165 | dirpart=`$as_dirname -- "$mf" || | |
6166 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
6167 | X"$mf" : 'X\(//\)[^/]' \| \ | |
6168 | X"$mf" : 'X\(//\)$' \| \ | |
6169 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || | |
6170 | $as_echo X"$mf" | | |
6171 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
6172 | s//\1/ | |
6173 | q | |
6174 | } | |
6175 | /^X\(\/\/\)[^/].*/{ | |
6176 | s//\1/ | |
6177 | q | |
6178 | } | |
6179 | /^X\(\/\/\)$/{ | |
6180 | s//\1/ | |
6181 | q | |
6182 | } | |
6183 | /^X\(\/\).*/{ | |
6184 | s//\1/ | |
6185 | q | |
6186 | } | |
6187 | s/.*/./; q'` | |
6188 | else | |
6189 | continue | |
6190 | fi | |
6191 | # Extract the definition of DEPDIR, am__include, and am__quote | |
6192 | # from the Makefile without running `make'. | |
6193 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
6194 | test -z "$DEPDIR" && continue | |
6195 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
6196 | test -z "am__include" && continue | |
6197 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
6198 | # When using ansi2knr, U may be empty or an underscore; expand it | |
6199 | U=`sed -n 's/^U = //p' < "$mf"` | |
6200 | # Find all dependency output files, they are included files with | |
6201 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
6202 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
6203 | # expansion. | |
6204 | for file in `sed -n " | |
6205 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
6206 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
6207 | # Make sure the directory exists. | |
6208 | test -f "$dirpart/$file" && continue | |
6209 | fdir=`$as_dirname -- "$file" || | |
6210 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
6211 | X"$file" : 'X\(//\)[^/]' \| \ | |
6212 | X"$file" : 'X\(//\)$' \| \ | |
6213 | X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
6214 | $as_echo X"$file" | | |
6215 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
6216 | s//\1/ | |
6217 | q | |
6218 | } | |
6219 | /^X\(\/\/\)[^/].*/{ | |
6220 | s//\1/ | |
6221 | q | |
6222 | } | |
6223 | /^X\(\/\/\)$/{ | |
6224 | s//\1/ | |
6225 | q | |
6226 | } | |
6227 | /^X\(\/\).*/{ | |
6228 | s//\1/ | |
6229 | q | |
6230 | } | |
6231 | s/.*/./; q'` | |
6232 | { as_dir=$dirpart/$fdir | |
6233 | case $as_dir in #( | |
6234 | -*) as_dir=./$as_dir;; | |
6235 | esac | |
6236 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
6237 | as_dirs= | |
6238 | while :; do | |
6239 | case $as_dir in #( | |
6240 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
6241 | *) as_qdir=$as_dir;; | |
6242 | esac | |
6243 | as_dirs="'$as_qdir' $as_dirs" | |
6244 | as_dir=`$as_dirname -- "$as_dir" || | |
6245 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
6246 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
6247 | X"$as_dir" : 'X\(//\)$' \| \ | |
6248 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
6249 | $as_echo X"$as_dir" | | |
6250 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
6251 | s//\1/ | |
6252 | q | |
6253 | } | |
6254 | /^X\(\/\/\)[^/].*/{ | |
6255 | s//\1/ | |
6256 | q | |
6257 | } | |
6258 | /^X\(\/\/\)$/{ | |
6259 | s//\1/ | |
6260 | q | |
6261 | } | |
6262 | /^X\(\/\).*/{ | |
6263 | s//\1/ | |
6264 | q | |
6265 | } | |
6266 | s/.*/./; q'` | |
6267 | test -d "$as_dir" && break | |
6268 | done | |
6269 | test -z "$as_dirs" || eval "mkdir $as_dirs" | |
6270 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | |
6271 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
6272 | { (exit 1); exit 1; }; }; } | |
6273 | # echo "creating $dirpart/$file" | |
6274 | echo '# dummy' > "$dirpart/$file" | |
6275 | done | |
6276 | done | |
6277 | } | |
6278 | ;; | |
6279 | ||
6280 | esac | |
6281 | done # for ac_tag | |
6282 | ||
6283 | ||
6284 | { (exit 0); exit 0; } | |
6285 | _ACEOF | |
6286 | chmod +x $CONFIG_STATUS | |
6287 | ac_clean_files=$ac_clean_files_save | |
6288 | ||
6289 | test $ac_write_fail = 0 || | |
6290 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 | |
6291 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} | |
6292 | { (exit 1); exit 1; }; } | |
6293 | ||
6294 | ||
6295 | # configure is writing to config.log, and then calls config.status. | |
6296 | # config.status does its own redirection, appending to config.log. | |
6297 | # Unfortunately, on DOS this fails, as config.log is still kept open | |
6298 | # by configure, so config.status won't be able to write to it; its | |
6299 | # output is simply discarded. So we exec the FD to /dev/null, | |
6300 | # effectively closing config.log, so it can be properly (re)opened and | |
6301 | # appended to by config.status. When coming back to configure, we | |
6302 | # need to make the FD available again. | |
6303 | if test "$no_create" != yes; then | |
6304 | ac_cs_success=: | |
6305 | ac_config_status_args= | |
6306 | test "$silent" = yes && | |
6307 | ac_config_status_args="$ac_config_status_args --quiet" | |
6308 | exec 5>/dev/null | |
6309 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | |
6310 | exec 5>>config.log | |
6311 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
6312 | # would make configure fail if this is the last instruction. | |
6313 | $ac_cs_success || { (exit 1); exit 1; } | |
6314 | fi | |
6315 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
6316 | { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
6317 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
6318 | fi | |
6319 | ||
6320 |
0 | @%:@! /bin/sh | |
1 | @%:@ Guess values for system-dependent variables and create Makefiles. | |
2 | @%:@ Generated by GNU Autoconf 2.63 for unrtf 0.21.0. | |
3 | @%:@ | |
4 | @%:@ Report bugs to <bug-unrtf@gnu.org>. | |
5 | @%:@ | |
6 | @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
7 | @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
8 | @%:@ This configure script is free software; the Free Software Foundation | |
9 | @%:@ gives unlimited permission to copy, distribute and modify it. | |
10 | ## --------------------- ## | |
11 | ## M4sh Initialization. ## | |
12 | ## --------------------- ## | |
13 | ||
14 | # Be more Bourne compatible | |
15 | DUALCASE=1; export DUALCASE # for MKS sh | |
16 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
17 | emulate sh | |
18 | NULLCMD=: | |
19 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
20 | # is contrary to our usage. Disable this feature. | |
21 | alias -g '${1+"$@"}'='"$@"' | |
22 | setopt NO_GLOB_SUBST | |
23 | else | |
24 | case `(set -o) 2>/dev/null` in | |
25 | *posix*) set -o posix ;; | |
26 | esac | |
27 | ||
28 | fi | |
29 | ||
30 | ||
31 | ||
32 | ||
33 | # PATH needs CR | |
34 | # Avoid depending upon Character Ranges. | |
35 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
36 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
37 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
38 | as_cr_digits='0123456789' | |
39 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
40 | ||
41 | as_nl=' | |
42 | ' | |
43 | export as_nl | |
44 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
45 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
46 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
47 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
48 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
49 | as_echo='printf %s\n' | |
50 | as_echo_n='printf %s' | |
51 | else | |
52 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
53 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
54 | as_echo_n='/usr/ucb/echo -n' | |
55 | else | |
56 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
57 | as_echo_n_body='eval | |
58 | arg=$1; | |
59 | case $arg in | |
60 | *"$as_nl"*) | |
61 | expr "X$arg" : "X\\(.*\\)$as_nl"; | |
62 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
63 | esac; | |
64 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
65 | ' | |
66 | export as_echo_n_body | |
67 | as_echo_n='sh -c $as_echo_n_body as_echo' | |
68 | fi | |
69 | export as_echo_body | |
70 | as_echo='sh -c $as_echo_body as_echo' | |
71 | fi | |
72 | ||
73 | # The user is always right. | |
74 | if test "${PATH_SEPARATOR+set}" != set; then | |
75 | PATH_SEPARATOR=: | |
76 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
77 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
78 | PATH_SEPARATOR=';' | |
79 | } | |
80 | fi | |
81 | ||
82 | # Support unset when possible. | |
83 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
84 | as_unset=unset | |
85 | else | |
86 | as_unset=false | |
87 | fi | |
88 | ||
89 | ||
90 | # IFS | |
91 | # We need space, tab and new line, in precisely that order. Quoting is | |
92 | # there to prevent editors from complaining about space-tab. | |
93 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
94 | # splitting by setting IFS to empty value.) | |
95 | IFS=" "" $as_nl" | |
96 | ||
97 | # Find who we are. Look in the path if we contain no directory separator. | |
98 | case $0 in | |
99 | *[\\/]* ) as_myself=$0 ;; | |
100 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
101 | for as_dir in $PATH | |
102 | do | |
103 | IFS=$as_save_IFS | |
104 | test -z "$as_dir" && as_dir=. | |
105 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
106 | done | |
107 | IFS=$as_save_IFS | |
108 | ||
109 | ;; | |
110 | esac | |
111 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
112 | # in which case we are not to be found in the path. | |
113 | if test "x$as_myself" = x; then | |
114 | as_myself=$0 | |
115 | fi | |
116 | if test ! -f "$as_myself"; then | |
117 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
118 | { (exit 1); exit 1; } | |
119 | fi | |
120 | ||
121 | # Work around bugs in pre-3.0 UWIN ksh. | |
122 | for as_var in ENV MAIL MAILPATH | |
123 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
124 | done | |
125 | PS1='$ ' | |
126 | PS2='> ' | |
127 | PS4='+ ' | |
128 | ||
129 | # NLS nuisances. | |
130 | LC_ALL=C | |
131 | export LC_ALL | |
132 | LANGUAGE=C | |
133 | export LANGUAGE | |
134 | ||
135 | # Required to use basename. | |
136 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
137 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
138 | as_expr=expr | |
139 | else | |
140 | as_expr=false | |
141 | fi | |
142 | ||
143 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
144 | as_basename=basename | |
145 | else | |
146 | as_basename=false | |
147 | fi | |
148 | ||
149 | ||
150 | # Name of the executable. | |
151 | as_me=`$as_basename -- "$0" || | |
152 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
153 | X"$0" : 'X\(//\)$' \| \ | |
154 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
155 | $as_echo X/"$0" | | |
156 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
157 | s//\1/ | |
158 | q | |
159 | } | |
160 | /^X\/\(\/\/\)$/{ | |
161 | s//\1/ | |
162 | q | |
163 | } | |
164 | /^X\/\(\/\).*/{ | |
165 | s//\1/ | |
166 | q | |
167 | } | |
168 | s/.*/./; q'` | |
169 | ||
170 | # CDPATH. | |
171 | $as_unset CDPATH | |
172 | ||
173 | ||
174 | if test "x$CONFIG_SHELL" = x; then | |
175 | if (eval ":") 2>/dev/null; then | |
176 | as_have_required=yes | |
177 | else | |
178 | as_have_required=no | |
179 | fi | |
180 | ||
181 | if test $as_have_required = yes && (eval ": | |
182 | (as_func_return () { | |
183 | (exit \$1) | |
184 | } | |
185 | as_func_success () { | |
186 | as_func_return 0 | |
187 | } | |
188 | as_func_failure () { | |
189 | as_func_return 1 | |
190 | } | |
191 | as_func_ret_success () { | |
192 | return 0 | |
193 | } | |
194 | as_func_ret_failure () { | |
195 | return 1 | |
196 | } | |
197 | ||
198 | exitcode=0 | |
199 | if as_func_success; then | |
200 | : | |
201 | else | |
202 | exitcode=1 | |
203 | echo as_func_success failed. | |
204 | fi | |
205 | ||
206 | if as_func_failure; then | |
207 | exitcode=1 | |
208 | echo as_func_failure succeeded. | |
209 | fi | |
210 | ||
211 | if as_func_ret_success; then | |
212 | : | |
213 | else | |
214 | exitcode=1 | |
215 | echo as_func_ret_success failed. | |
216 | fi | |
217 | ||
218 | if as_func_ret_failure; then | |
219 | exitcode=1 | |
220 | echo as_func_ret_failure succeeded. | |
221 | fi | |
222 | ||
223 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
224 | : | |
225 | else | |
226 | exitcode=1 | |
227 | echo positional parameters were not saved. | |
228 | fi | |
229 | ||
230 | test \$exitcode = 0) || { (exit 1); exit 1; } | |
231 | ||
232 | ( | |
233 | as_lineno_1=\$LINENO | |
234 | as_lineno_2=\$LINENO | |
235 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | |
236 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | |
237 | ") 2> /dev/null; then | |
238 | : | |
239 | else | |
240 | as_candidate_shells= | |
241 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
242 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
243 | do | |
244 | IFS=$as_save_IFS | |
245 | test -z "$as_dir" && as_dir=. | |
246 | case $as_dir in | |
247 | /*) | |
248 | for as_base in sh bash ksh sh5; do | |
249 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | |
250 | done;; | |
251 | esac | |
252 | done | |
253 | IFS=$as_save_IFS | |
254 | ||
255 | ||
256 | for as_shell in $as_candidate_shells $SHELL; do | |
257 | # Try only shells that exist, to save several forks. | |
258 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
259 | { ("$as_shell") 2> /dev/null <<\_ASEOF | |
260 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
261 | emulate sh | |
262 | NULLCMD=: | |
263 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
264 | # is contrary to our usage. Disable this feature. | |
265 | alias -g '${1+"$@"}'='"$@"' | |
266 | setopt NO_GLOB_SUBST | |
267 | else | |
268 | case `(set -o) 2>/dev/null` in | |
269 | *posix*) set -o posix ;; | |
270 | esac | |
271 | ||
272 | fi | |
273 | ||
274 | ||
275 | : | |
276 | _ASEOF | |
277 | }; then | |
278 | CONFIG_SHELL=$as_shell | |
279 | as_have_required=yes | |
280 | if { "$as_shell" 2> /dev/null <<\_ASEOF | |
281 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
282 | emulate sh | |
283 | NULLCMD=: | |
284 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
285 | # is contrary to our usage. Disable this feature. | |
286 | alias -g '${1+"$@"}'='"$@"' | |
287 | setopt NO_GLOB_SUBST | |
288 | else | |
289 | case `(set -o) 2>/dev/null` in | |
290 | *posix*) set -o posix ;; | |
291 | esac | |
292 | ||
293 | fi | |
294 | ||
295 | ||
296 | : | |
297 | (as_func_return () { | |
298 | (exit $1) | |
299 | } | |
300 | as_func_success () { | |
301 | as_func_return 0 | |
302 | } | |
303 | as_func_failure () { | |
304 | as_func_return 1 | |
305 | } | |
306 | as_func_ret_success () { | |
307 | return 0 | |
308 | } | |
309 | as_func_ret_failure () { | |
310 | return 1 | |
311 | } | |
312 | ||
313 | exitcode=0 | |
314 | if as_func_success; then | |
315 | : | |
316 | else | |
317 | exitcode=1 | |
318 | echo as_func_success failed. | |
319 | fi | |
320 | ||
321 | if as_func_failure; then | |
322 | exitcode=1 | |
323 | echo as_func_failure succeeded. | |
324 | fi | |
325 | ||
326 | if as_func_ret_success; then | |
327 | : | |
328 | else | |
329 | exitcode=1 | |
330 | echo as_func_ret_success failed. | |
331 | fi | |
332 | ||
333 | if as_func_ret_failure; then | |
334 | exitcode=1 | |
335 | echo as_func_ret_failure succeeded. | |
336 | fi | |
337 | ||
338 | if ( set x; as_func_ret_success y && test x = "$1" ); then | |
339 | : | |
340 | else | |
341 | exitcode=1 | |
342 | echo positional parameters were not saved. | |
343 | fi | |
344 | ||
345 | test $exitcode = 0) || { (exit 1); exit 1; } | |
346 | ||
347 | ( | |
348 | as_lineno_1=$LINENO | |
349 | as_lineno_2=$LINENO | |
350 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
351 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | |
352 | ||
353 | _ASEOF | |
354 | }; then | |
355 | break | |
356 | fi | |
357 | ||
358 | fi | |
359 | ||
360 | done | |
361 | ||
362 | if test "x$CONFIG_SHELL" != x; then | |
363 | for as_var in BASH_ENV ENV | |
364 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
365 | done | |
366 | export CONFIG_SHELL | |
367 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
368 | fi | |
369 | ||
370 | ||
371 | if test $as_have_required = no; then | |
372 | echo This script requires a shell more modern than all the | |
373 | echo shells that I found on your system. Please install a | |
374 | echo modern shell, or manually run the script under such a | |
375 | echo shell if you do have one. | |
376 | { (exit 1); exit 1; } | |
377 | fi | |
378 | ||
379 | ||
380 | fi | |
381 | ||
382 | fi | |
383 | ||
384 | ||
385 | ||
386 | (eval "as_func_return () { | |
387 | (exit \$1) | |
388 | } | |
389 | as_func_success () { | |
390 | as_func_return 0 | |
391 | } | |
392 | as_func_failure () { | |
393 | as_func_return 1 | |
394 | } | |
395 | as_func_ret_success () { | |
396 | return 0 | |
397 | } | |
398 | as_func_ret_failure () { | |
399 | return 1 | |
400 | } | |
401 | ||
402 | exitcode=0 | |
403 | if as_func_success; then | |
404 | : | |
405 | else | |
406 | exitcode=1 | |
407 | echo as_func_success failed. | |
408 | fi | |
409 | ||
410 | if as_func_failure; then | |
411 | exitcode=1 | |
412 | echo as_func_failure succeeded. | |
413 | fi | |
414 | ||
415 | if as_func_ret_success; then | |
416 | : | |
417 | else | |
418 | exitcode=1 | |
419 | echo as_func_ret_success failed. | |
420 | fi | |
421 | ||
422 | if as_func_ret_failure; then | |
423 | exitcode=1 | |
424 | echo as_func_ret_failure succeeded. | |
425 | fi | |
426 | ||
427 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
428 | : | |
429 | else | |
430 | exitcode=1 | |
431 | echo positional parameters were not saved. | |
432 | fi | |
433 | ||
434 | test \$exitcode = 0") || { | |
435 | echo No shell found that supports shell functions. | |
436 | echo Please tell bug-autoconf@gnu.org about your system, | |
437 | echo including any error possibly output before this message. | |
438 | echo This can help us improve future autoconf versions. | |
439 | echo Configuration will now proceed without shell functions. | |
440 | } | |
441 | ||
442 | ||
443 | ||
444 | as_lineno_1=$LINENO | |
445 | as_lineno_2=$LINENO | |
446 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
447 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
448 | ||
449 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
450 | # uniformly replaced by the line number. The first 'sed' inserts a | |
451 | # line-number line after each line using $LINENO; the second 'sed' | |
452 | # does the real work. The second script uses 'N' to pair each | |
453 | # line-number line with the line containing $LINENO, and appends | |
454 | # trailing '-' during substitution so that $LINENO is not a special | |
455 | # case at line end. | |
456 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
457 | # scripts with optimization help from Paolo Bonzini. Blame Lee | |
458 | # E. McMahon (1931-1989) for sed's syntax. :-) | |
459 | sed -n ' | |
460 | p | |
461 | /[$]LINENO/= | |
462 | ' <$as_myself | | |
463 | sed ' | |
464 | s/[$]LINENO.*/&-/ | |
465 | t lineno | |
466 | b | |
467 | :lineno | |
468 | N | |
469 | :loop | |
470 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
471 | t loop | |
472 | s/-\n.*// | |
473 | ' >$as_me.lineno && | |
474 | chmod +x "$as_me.lineno" || | |
475 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
476 | { (exit 1); exit 1; }; } | |
477 | ||
478 | # Don't try to exec as it changes $[0], causing all sort of problems | |
479 | # (the dirname of $[0] is not the place where we might find the | |
480 | # original and so on. Autoconf is especially sensitive to this). | |
481 | . "./$as_me.lineno" | |
482 | # Exit status is that of the last command. | |
483 | exit | |
484 | } | |
485 | ||
486 | ||
487 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
488 | as_dirname=dirname | |
489 | else | |
490 | as_dirname=false | |
491 | fi | |
492 | ||
493 | ECHO_C= ECHO_N= ECHO_T= | |
494 | case `echo -n x` in | |
495 | -n*) | |
496 | case `echo 'x\c'` in | |
497 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
498 | *) ECHO_C='\c';; | |
499 | esac;; | |
500 | *) | |
501 | ECHO_N='-n';; | |
502 | esac | |
503 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
504 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
505 | as_expr=expr | |
506 | else | |
507 | as_expr=false | |
508 | fi | |
509 | ||
510 | rm -f conf$$ conf$$.exe conf$$.file | |
511 | if test -d conf$$.dir; then | |
512 | rm -f conf$$.dir/conf$$.file | |
513 | else | |
514 | rm -f conf$$.dir | |
515 | mkdir conf$$.dir 2>/dev/null | |
516 | fi | |
517 | if (echo >conf$$.file) 2>/dev/null; then | |
518 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
519 | as_ln_s='ln -s' | |
520 | # ... but there are two gotchas: | |
521 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
522 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
523 | # In both cases, we have to default to `cp -p'. | |
524 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
525 | as_ln_s='cp -p' | |
526 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
527 | as_ln_s=ln | |
528 | else | |
529 | as_ln_s='cp -p' | |
530 | fi | |
531 | else | |
532 | as_ln_s='cp -p' | |
533 | fi | |
534 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
535 | rmdir conf$$.dir 2>/dev/null | |
536 | ||
537 | if mkdir -p . 2>/dev/null; then | |
538 | as_mkdir_p=: | |
539 | else | |
540 | test -d ./-p && rmdir ./-p | |
541 | as_mkdir_p=false | |
542 | fi | |
543 | ||
544 | if test -x / >/dev/null 2>&1; then | |
545 | as_test_x='test -x' | |
546 | else | |
547 | if ls -dL / >/dev/null 2>&1; then | |
548 | as_ls_L_option=L | |
549 | else | |
550 | as_ls_L_option= | |
551 | fi | |
552 | as_test_x=' | |
553 | eval sh -c '\'' | |
554 | if test -d "$1"; then | |
555 | test -d "$1/."; | |
556 | else | |
557 | case $1 in | |
558 | -*)set "./$1";; | |
559 | esac; | |
560 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
561 | ???[sx]*):;;*)false;;esac;fi | |
562 | '\'' sh | |
563 | ' | |
564 | fi | |
565 | as_executable_p=$as_test_x | |
566 | ||
567 | # Sed expression to map a string onto a valid CPP name. | |
568 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
569 | ||
570 | # Sed expression to map a string onto a valid variable name. | |
571 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
572 | ||
573 | ||
574 | ||
575 | exec 7<&0 </dev/null 6>&1 | |
576 | ||
577 | # Name of the host. | |
578 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
579 | # so uname gets run too. | |
580 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
581 | ||
582 | # | |
583 | # Initializations. | |
584 | # | |
585 | ac_default_prefix=/usr/local | |
586 | ac_clean_files= | |
587 | ac_config_libobj_dir=. | |
588 | LIB@&t@OBJS= | |
589 | cross_compiling=no | |
590 | subdirs= | |
591 | MFLAGS= | |
592 | MAKEFLAGS= | |
593 | SHELL=${CONFIG_SHELL-/bin/sh} | |
594 | ||
595 | # Identity of this package. | |
596 | PACKAGE_NAME='unrtf' | |
597 | PACKAGE_TARNAME='unrtf' | |
598 | PACKAGE_VERSION='0.21.0' | |
599 | PACKAGE_STRING='unrtf 0.21.0' | |
600 | PACKAGE_BUGREPORT='bug-unrtf@gnu.org' | |
601 | ||
602 | ac_unique_file="src/attr.c" | |
603 | # Factoring default headers for most tests. | |
604 | ac_includes_default="\ | |
605 | #include <stdio.h> | |
606 | #ifdef HAVE_SYS_TYPES_H | |
607 | # include <sys/types.h> | |
608 | #endif | |
609 | #ifdef HAVE_SYS_STAT_H | |
610 | # include <sys/stat.h> | |
611 | #endif | |
612 | #ifdef STDC_HEADERS | |
613 | # include <stdlib.h> | |
614 | # include <stddef.h> | |
615 | #else | |
616 | # ifdef HAVE_STDLIB_H | |
617 | # include <stdlib.h> | |
618 | # endif | |
619 | #endif | |
620 | #ifdef HAVE_STRING_H | |
621 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | |
622 | # include <memory.h> | |
623 | # endif | |
624 | # include <string.h> | |
625 | #endif | |
626 | #ifdef HAVE_STRINGS_H | |
627 | # include <strings.h> | |
628 | #endif | |
629 | #ifdef HAVE_INTTYPES_H | |
630 | # include <inttypes.h> | |
631 | #endif | |
632 | #ifdef HAVE_STDINT_H | |
633 | # include <stdint.h> | |
634 | #endif | |
635 | #ifdef HAVE_UNISTD_H | |
636 | # include <unistd.h> | |
637 | #endif" | |
638 | ||
639 | ac_subst_vars='LTLIBOBJS | |
640 | host_os | |
641 | host_vendor | |
642 | host_cpu | |
643 | host | |
644 | build_os | |
645 | build_vendor | |
646 | build_cpu | |
647 | build | |
648 | LIB@&t@OBJS | |
649 | EGREP | |
650 | GREP | |
651 | CPP | |
652 | am__fastdepCC_FALSE | |
653 | am__fastdepCC_TRUE | |
654 | CCDEPMODE | |
655 | AMDEPBACKSLASH | |
656 | AMDEP_FALSE | |
657 | AMDEP_TRUE | |
658 | am__quote | |
659 | am__include | |
660 | DEPDIR | |
661 | OBJEXT | |
662 | EXEEXT | |
663 | ac_ct_CC | |
664 | CPPFLAGS | |
665 | LDFLAGS | |
666 | CFLAGS | |
667 | CC | |
668 | MAINT | |
669 | MAINTAINER_MODE_FALSE | |
670 | MAINTAINER_MODE_TRUE | |
671 | am__untar | |
672 | am__tar | |
673 | AMTAR | |
674 | am__leading_dot | |
675 | SET_MAKE | |
676 | AWK | |
677 | mkdir_p | |
678 | MKDIR_P | |
679 | INSTALL_STRIP_PROGRAM | |
680 | STRIP | |
681 | install_sh | |
682 | MAKEINFO | |
683 | AUTOHEADER | |
684 | AUTOMAKE | |
685 | AUTOCONF | |
686 | ACLOCAL | |
687 | VERSION | |
688 | PACKAGE | |
689 | CYGPATH_W | |
690 | am__isrc | |
691 | INSTALL_DATA | |
692 | INSTALL_SCRIPT | |
693 | INSTALL_PROGRAM | |
694 | target_alias | |
695 | host_alias | |
696 | build_alias | |
697 | LIBS | |
698 | ECHO_T | |
699 | ECHO_N | |
700 | ECHO_C | |
701 | DEFS | |
702 | mandir | |
703 | localedir | |
704 | libdir | |
705 | psdir | |
706 | pdfdir | |
707 | dvidir | |
708 | htmldir | |
709 | infodir | |
710 | docdir | |
711 | oldincludedir | |
712 | includedir | |
713 | localstatedir | |
714 | sharedstatedir | |
715 | sysconfdir | |
716 | datadir | |
717 | datarootdir | |
718 | libexecdir | |
719 | sbindir | |
720 | bindir | |
721 | program_transform_name | |
722 | prefix | |
723 | exec_prefix | |
724 | PACKAGE_BUGREPORT | |
725 | PACKAGE_STRING | |
726 | PACKAGE_VERSION | |
727 | PACKAGE_TARNAME | |
728 | PACKAGE_NAME | |
729 | PATH_SEPARATOR | |
730 | SHELL' | |
731 | ac_subst_files='' | |
732 | ac_user_opts=' | |
733 | enable_option_checking | |
734 | enable_maintainer_mode | |
735 | enable_dependency_tracking | |
736 | ' | |
737 | ac_precious_vars='build_alias | |
738 | host_alias | |
739 | target_alias | |
740 | CC | |
741 | CFLAGS | |
742 | LDFLAGS | |
743 | LIBS | |
744 | CPPFLAGS | |
745 | CPP' | |
746 | ||
747 | ||
748 | # Initialize some variables set by options. | |
749 | ac_init_help= | |
750 | ac_init_version=false | |
751 | ac_unrecognized_opts= | |
752 | ac_unrecognized_sep= | |
753 | # The variables have the same names as the options, with | |
754 | # dashes changed to underlines. | |
755 | cache_file=/dev/null | |
756 | exec_prefix=NONE | |
757 | no_create= | |
758 | no_recursion= | |
759 | prefix=NONE | |
760 | program_prefix=NONE | |
761 | program_suffix=NONE | |
762 | program_transform_name=s,x,x, | |
763 | silent= | |
764 | site= | |
765 | srcdir= | |
766 | verbose= | |
767 | x_includes=NONE | |
768 | x_libraries=NONE | |
769 | ||
770 | # Installation directory options. | |
771 | # These are left unexpanded so users can "make install exec_prefix=/foo" | |
772 | # and all the variables that are supposed to be based on exec_prefix | |
773 | # by default will actually change. | |
774 | # Use braces instead of parens because sh, perl, etc. also accept them. | |
775 | # (The list follows the same order as the GNU Coding Standards.) | |
776 | bindir='${exec_prefix}/bin' | |
777 | sbindir='${exec_prefix}/sbin' | |
778 | libexecdir='${exec_prefix}/libexec' | |
779 | datarootdir='${prefix}/share' | |
780 | datadir='${datarootdir}' | |
781 | sysconfdir='${prefix}/etc' | |
782 | sharedstatedir='${prefix}/com' | |
783 | localstatedir='${prefix}/var' | |
784 | includedir='${prefix}/include' | |
785 | oldincludedir='/usr/include' | |
786 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | |
787 | infodir='${datarootdir}/info' | |
788 | htmldir='${docdir}' | |
789 | dvidir='${docdir}' | |
790 | pdfdir='${docdir}' | |
791 | psdir='${docdir}' | |
792 | libdir='${exec_prefix}/lib' | |
793 | localedir='${datarootdir}/locale' | |
794 | mandir='${datarootdir}/man' | |
795 | ||
796 | ac_prev= | |
797 | ac_dashdash= | |
798 | for ac_option | |
799 | do | |
800 | # If the previous option needs an argument, assign it. | |
801 | if test -n "$ac_prev"; then | |
802 | eval $ac_prev=\$ac_option | |
803 | ac_prev= | |
804 | continue | |
805 | fi | |
806 | ||
807 | case $ac_option in | |
808 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
809 | *) ac_optarg=yes ;; | |
810 | esac | |
811 | ||
812 | # Accept the important Cygnus configure options, so we can diagnose typos. | |
813 | ||
814 | case $ac_dashdash$ac_option in | |
815 | --) | |
816 | ac_dashdash=yes ;; | |
817 | ||
818 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
819 | ac_prev=bindir ;; | |
820 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
821 | bindir=$ac_optarg ;; | |
822 | ||
823 | -build | --build | --buil | --bui | --bu) | |
824 | ac_prev=build_alias ;; | |
825 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
826 | build_alias=$ac_optarg ;; | |
827 | ||
828 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
829 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
830 | ac_prev=cache_file ;; | |
831 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
832 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
833 | cache_file=$ac_optarg ;; | |
834 | ||
835 | --config-cache | -C) | |
836 | cache_file=config.cache ;; | |
837 | ||
838 | -datadir | --datadir | --datadi | --datad) | |
839 | ac_prev=datadir ;; | |
840 | -datadir=* | --datadir=* | --datadi=* | --datad=*) | |
841 | datadir=$ac_optarg ;; | |
842 | ||
843 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
844 | | --dataroo | --dataro | --datar) | |
845 | ac_prev=datarootdir ;; | |
846 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
847 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
848 | datarootdir=$ac_optarg ;; | |
849 | ||
850 | -disable-* | --disable-*) | |
851 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
852 | # Reject names that are not valid shell variable names. | |
853 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
854 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | |
855 | { (exit 1); exit 1; }; } | |
856 | ac_useropt_orig=$ac_useropt | |
857 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
858 | case $ac_user_opts in | |
859 | *" | |
860 | "enable_$ac_useropt" | |
861 | "*) ;; | |
862 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
863 | ac_unrecognized_sep=', ';; | |
864 | esac | |
865 | eval enable_$ac_useropt=no ;; | |
866 | ||
867 | -docdir | --docdir | --docdi | --doc | --do) | |
868 | ac_prev=docdir ;; | |
869 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
870 | docdir=$ac_optarg ;; | |
871 | ||
872 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
873 | ac_prev=dvidir ;; | |
874 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
875 | dvidir=$ac_optarg ;; | |
876 | ||
877 | -enable-* | --enable-*) | |
878 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
879 | # Reject names that are not valid shell variable names. | |
880 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
881 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | |
882 | { (exit 1); exit 1; }; } | |
883 | ac_useropt_orig=$ac_useropt | |
884 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
885 | case $ac_user_opts in | |
886 | *" | |
887 | "enable_$ac_useropt" | |
888 | "*) ;; | |
889 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
890 | ac_unrecognized_sep=', ';; | |
891 | esac | |
892 | eval enable_$ac_useropt=\$ac_optarg ;; | |
893 | ||
894 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
895 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
896 | | --exec | --exe | --ex) | |
897 | ac_prev=exec_prefix ;; | |
898 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
899 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
900 | | --exec=* | --exe=* | --ex=*) | |
901 | exec_prefix=$ac_optarg ;; | |
902 | ||
903 | -gas | --gas | --ga | --g) | |
904 | # Obsolete; use --with-gas. | |
905 | with_gas=yes ;; | |
906 | ||
907 | -help | --help | --hel | --he | -h) | |
908 | ac_init_help=long ;; | |
909 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
910 | ac_init_help=recursive ;; | |
911 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
912 | ac_init_help=short ;; | |
913 | ||
914 | -host | --host | --hos | --ho) | |
915 | ac_prev=host_alias ;; | |
916 | -host=* | --host=* | --hos=* | --ho=*) | |
917 | host_alias=$ac_optarg ;; | |
918 | ||
919 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
920 | ac_prev=htmldir ;; | |
921 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
922 | | --ht=*) | |
923 | htmldir=$ac_optarg ;; | |
924 | ||
925 | -includedir | --includedir | --includedi | --included | --include \ | |
926 | | --includ | --inclu | --incl | --inc) | |
927 | ac_prev=includedir ;; | |
928 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
929 | | --includ=* | --inclu=* | --incl=* | --inc=*) | |
930 | includedir=$ac_optarg ;; | |
931 | ||
932 | -infodir | --infodir | --infodi | --infod | --info | --inf) | |
933 | ac_prev=infodir ;; | |
934 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
935 | infodir=$ac_optarg ;; | |
936 | ||
937 | -libdir | --libdir | --libdi | --libd) | |
938 | ac_prev=libdir ;; | |
939 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
940 | libdir=$ac_optarg ;; | |
941 | ||
942 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
943 | | --libexe | --libex | --libe) | |
944 | ac_prev=libexecdir ;; | |
945 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
946 | | --libexe=* | --libex=* | --libe=*) | |
947 | libexecdir=$ac_optarg ;; | |
948 | ||
949 | -localedir | --localedir | --localedi | --localed | --locale) | |
950 | ac_prev=localedir ;; | |
951 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
952 | localedir=$ac_optarg ;; | |
953 | ||
954 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
955 | | --localstate | --localstat | --localsta | --localst | --locals) | |
956 | ac_prev=localstatedir ;; | |
957 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
958 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | |
959 | localstatedir=$ac_optarg ;; | |
960 | ||
961 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
962 | ac_prev=mandir ;; | |
963 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
964 | mandir=$ac_optarg ;; | |
965 | ||
966 | -nfp | --nfp | --nf) | |
967 | # Obsolete; use --without-fp. | |
968 | with_fp=no ;; | |
969 | ||
970 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
971 | | --no-cr | --no-c | -n) | |
972 | no_create=yes ;; | |
973 | ||
974 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
975 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
976 | no_recursion=yes ;; | |
977 | ||
978 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
979 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
980 | | --oldin | --oldi | --old | --ol | --o) | |
981 | ac_prev=oldincludedir ;; | |
982 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
983 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
984 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
985 | oldincludedir=$ac_optarg ;; | |
986 | ||
987 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
988 | ac_prev=prefix ;; | |
989 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
990 | prefix=$ac_optarg ;; | |
991 | ||
992 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
993 | | --program-pre | --program-pr | --program-p) | |
994 | ac_prev=program_prefix ;; | |
995 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
996 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
997 | program_prefix=$ac_optarg ;; | |
998 | ||
999 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
1000 | | --program-suf | --program-su | --program-s) | |
1001 | ac_prev=program_suffix ;; | |
1002 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
1003 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
1004 | program_suffix=$ac_optarg ;; | |
1005 | ||
1006 | -program-transform-name | --program-transform-name \ | |
1007 | | --program-transform-nam | --program-transform-na \ | |
1008 | | --program-transform-n | --program-transform- \ | |
1009 | | --program-transform | --program-transfor \ | |
1010 | | --program-transfo | --program-transf \ | |
1011 | | --program-trans | --program-tran \ | |
1012 | | --progr-tra | --program-tr | --program-t) | |
1013 | ac_prev=program_transform_name ;; | |
1014 | -program-transform-name=* | --program-transform-name=* \ | |
1015 | | --program-transform-nam=* | --program-transform-na=* \ | |
1016 | | --program-transform-n=* | --program-transform-=* \ | |
1017 | | --program-transform=* | --program-transfor=* \ | |
1018 | | --program-transfo=* | --program-transf=* \ | |
1019 | | --program-trans=* | --program-tran=* \ | |
1020 | | --progr-tra=* | --program-tr=* | --program-t=*) | |
1021 | program_transform_name=$ac_optarg ;; | |
1022 | ||
1023 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
1024 | ac_prev=pdfdir ;; | |
1025 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
1026 | pdfdir=$ac_optarg ;; | |
1027 | ||
1028 | -psdir | --psdir | --psdi | --psd | --ps) | |
1029 | ac_prev=psdir ;; | |
1030 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
1031 | psdir=$ac_optarg ;; | |
1032 | ||
1033 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
1034 | | -silent | --silent | --silen | --sile | --sil) | |
1035 | silent=yes ;; | |
1036 | ||
1037 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
1038 | ac_prev=sbindir ;; | |
1039 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
1040 | | --sbi=* | --sb=*) | |
1041 | sbindir=$ac_optarg ;; | |
1042 | ||
1043 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
1044 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
1045 | | --sharedst | --shareds | --shared | --share | --shar \ | |
1046 | | --sha | --sh) | |
1047 | ac_prev=sharedstatedir ;; | |
1048 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
1049 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
1050 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
1051 | | --sha=* | --sh=*) | |
1052 | sharedstatedir=$ac_optarg ;; | |
1053 | ||
1054 | -site | --site | --sit) | |
1055 | ac_prev=site ;; | |
1056 | -site=* | --site=* | --sit=*) | |
1057 | site=$ac_optarg ;; | |
1058 | ||
1059 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
1060 | ac_prev=srcdir ;; | |
1061 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
1062 | srcdir=$ac_optarg ;; | |
1063 | ||
1064 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
1065 | | --syscon | --sysco | --sysc | --sys | --sy) | |
1066 | ac_prev=sysconfdir ;; | |
1067 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
1068 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
1069 | sysconfdir=$ac_optarg ;; | |
1070 | ||
1071 | -target | --target | --targe | --targ | --tar | --ta | --t) | |
1072 | ac_prev=target_alias ;; | |
1073 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
1074 | target_alias=$ac_optarg ;; | |
1075 | ||
1076 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
1077 | verbose=yes ;; | |
1078 | ||
1079 | -version | --version | --versio | --versi | --vers | -V) | |
1080 | ac_init_version=: ;; | |
1081 | ||
1082 | -with-* | --with-*) | |
1083 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
1084 | # Reject names that are not valid shell variable names. | |
1085 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
1086 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | |
1087 | { (exit 1); exit 1; }; } | |
1088 | ac_useropt_orig=$ac_useropt | |
1089 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1090 | case $ac_user_opts in | |
1091 | *" | |
1092 | "with_$ac_useropt" | |
1093 | "*) ;; | |
1094 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
1095 | ac_unrecognized_sep=', ';; | |
1096 | esac | |
1097 | eval with_$ac_useropt=\$ac_optarg ;; | |
1098 | ||
1099 | -without-* | --without-*) | |
1100 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
1101 | # Reject names that are not valid shell variable names. | |
1102 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
1103 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | |
1104 | { (exit 1); exit 1; }; } | |
1105 | ac_useropt_orig=$ac_useropt | |
1106 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1107 | case $ac_user_opts in | |
1108 | *" | |
1109 | "with_$ac_useropt" | |
1110 | "*) ;; | |
1111 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1112 | ac_unrecognized_sep=', ';; | |
1113 | esac | |
1114 | eval with_$ac_useropt=no ;; | |
1115 | ||
1116 | --x) | |
1117 | # Obsolete; use --with-x. | |
1118 | with_x=yes ;; | |
1119 | ||
1120 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
1121 | | --x-incl | --x-inc | --x-in | --x-i) | |
1122 | ac_prev=x_includes ;; | |
1123 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
1124 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
1125 | x_includes=$ac_optarg ;; | |
1126 | ||
1127 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
1128 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
1129 | ac_prev=x_libraries ;; | |
1130 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
1131 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
1132 | x_libraries=$ac_optarg ;; | |
1133 | ||
1134 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option | |
1135 | Try \`$0 --help' for more information." >&2 | |
1136 | { (exit 1); exit 1; }; } | |
1137 | ;; | |
1138 | ||
1139 | *=*) | |
1140 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
1141 | # Reject names that are not valid shell variable names. | |
1142 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | |
1143 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | |
1144 | { (exit 1); exit 1; }; } | |
1145 | eval $ac_envvar=\$ac_optarg | |
1146 | export $ac_envvar ;; | |
1147 | ||
1148 | *) | |
1149 | # FIXME: should be removed in autoconf 3.0. | |
1150 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
1151 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
1152 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
1153 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | |
1154 | ;; | |
1155 | ||
1156 | esac | |
1157 | done | |
1158 | ||
1159 | if test -n "$ac_prev"; then | |
1160 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
1161 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 | |
1162 | { (exit 1); exit 1; }; } | |
1163 | fi | |
1164 | ||
1165 | if test -n "$ac_unrecognized_opts"; then | |
1166 | case $enable_option_checking in | |
1167 | no) ;; | |
1168 | fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 | |
1169 | { (exit 1); exit 1; }; } ;; | |
1170 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1171 | esac | |
1172 | fi | |
1173 | ||
1174 | # Check all directory arguments for consistency. | |
1175 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |
1176 | datadir sysconfdir sharedstatedir localstatedir includedir \ | |
1177 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
1178 | libdir localedir mandir | |
1179 | do | |
1180 | eval ac_val=\$$ac_var | |
1181 | # Remove trailing slashes. | |
1182 | case $ac_val in | |
1183 | */ ) | |
1184 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
1185 | eval $ac_var=\$ac_val;; | |
1186 | esac | |
1187 | # Be sure to have absolute directory names. | |
1188 | case $ac_val in | |
1189 | [\\/$]* | ?:[\\/]* ) continue;; | |
1190 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
1191 | esac | |
1192 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
1193 | { (exit 1); exit 1; }; } | |
1194 | done | |
1195 | ||
1196 | # There might be people who depend on the old broken behavior: `$host' | |
1197 | # used to hold the argument of --host etc. | |
1198 | # FIXME: To remove some day. | |
1199 | build=$build_alias | |
1200 | host=$host_alias | |
1201 | target=$target_alias | |
1202 | ||
1203 | # FIXME: To remove some day. | |
1204 | if test "x$host_alias" != x; then | |
1205 | if test "x$build_alias" = x; then | |
1206 | cross_compiling=maybe | |
1207 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
1208 | If a cross compiler is detected then cross compile mode will be used." >&2 | |
1209 | elif test "x$build_alias" != "x$host_alias"; then | |
1210 | cross_compiling=yes | |
1211 | fi | |
1212 | fi | |
1213 | ||
1214 | ac_tool_prefix= | |
1215 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
1216 | ||
1217 | test "$silent" = yes && exec 6>/dev/null | |
1218 | ||
1219 | ||
1220 | ac_pwd=`pwd` && test -n "$ac_pwd" && | |
1221 | ac_ls_di=`ls -di .` && | |
1222 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
1223 | { $as_echo "$as_me: error: working directory cannot be determined" >&2 | |
1224 | { (exit 1); exit 1; }; } | |
1225 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
1226 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 | |
1227 | { (exit 1); exit 1; }; } | |
1228 | ||
1229 | ||
1230 | # Find the source files, if location was not specified. | |
1231 | if test -z "$srcdir"; then | |
1232 | ac_srcdir_defaulted=yes | |
1233 | # Try the directory containing this script, then the parent directory. | |
1234 | ac_confdir=`$as_dirname -- "$as_myself" || | |
1235 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
1236 | X"$as_myself" : 'X\(//\)[^/]' \| \ | |
1237 | X"$as_myself" : 'X\(//\)$' \| \ | |
1238 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | |
1239 | $as_echo X"$as_myself" | | |
1240 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
1241 | s//\1/ | |
1242 | q | |
1243 | } | |
1244 | /^X\(\/\/\)[^/].*/{ | |
1245 | s//\1/ | |
1246 | q | |
1247 | } | |
1248 | /^X\(\/\/\)$/{ | |
1249 | s//\1/ | |
1250 | q | |
1251 | } | |
1252 | /^X\(\/\).*/{ | |
1253 | s//\1/ | |
1254 | q | |
1255 | } | |
1256 | s/.*/./; q'` | |
1257 | srcdir=$ac_confdir | |
1258 | if test ! -r "$srcdir/$ac_unique_file"; then | |
1259 | srcdir=.. | |
1260 | fi | |
1261 | else | |
1262 | ac_srcdir_defaulted=no | |
1263 | fi | |
1264 | if test ! -r "$srcdir/$ac_unique_file"; then | |
1265 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | |
1266 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | |
1267 | { (exit 1); exit 1; }; } | |
1268 | fi | |
1269 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | |
1270 | ac_abs_confdir=`( | |
1271 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 | |
1272 | { (exit 1); exit 1; }; } | |
1273 | pwd)` | |
1274 | # When building in place, set srcdir=. | |
1275 | if test "$ac_abs_confdir" = "$ac_pwd"; then | |
1276 | srcdir=. | |
1277 | fi | |
1278 | # Remove unnecessary trailing slashes from srcdir. | |
1279 | # Double slashes in file names in object file debugging info | |
1280 | # mess up M-x gdb in Emacs. | |
1281 | case $srcdir in | |
1282 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
1283 | esac | |
1284 | for ac_var in $ac_precious_vars; do | |
1285 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
1286 | eval ac_env_${ac_var}_value=\$${ac_var} | |
1287 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
1288 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
1289 | done | |
1290 | ||
1291 | # | |
1292 | # Report the --help message. | |
1293 | # | |
1294 | if test "$ac_init_help" = "long"; then | |
1295 | # Omit some internal or obsolete options to make the list less imposing. | |
1296 | # This message is too long to be a string in the A/UX 3.1 sh. | |
1297 | cat <<_ACEOF | |
1298 | \`configure' configures unrtf 0.21.0 to adapt to many kinds of systems. | |
1299 | ||
1300 | Usage: $0 [OPTION]... [VAR=VALUE]... | |
1301 | ||
1302 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
1303 | VAR=VALUE. See below for descriptions of some of the useful variables. | |
1304 | ||
1305 | Defaults for the options are specified in brackets. | |
1306 | ||
1307 | Configuration: | |
1308 | -h, --help display this help and exit | |
1309 | --help=short display options specific to this package | |
1310 | --help=recursive display the short help of all the included packages | |
1311 | -V, --version display version information and exit | |
1312 | -q, --quiet, --silent do not print \`checking...' messages | |
1313 | --cache-file=FILE cache test results in FILE [disabled] | |
1314 | -C, --config-cache alias for \`--cache-file=config.cache' | |
1315 | -n, --no-create do not create output files | |
1316 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
1317 | ||
1318 | Installation directories: | |
1319 | --prefix=PREFIX install architecture-independent files in PREFIX | |
1320 | [$ac_default_prefix] | |
1321 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
1322 | [PREFIX] | |
1323 | ||
1324 | By default, \`make install' will install all the files in | |
1325 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
1326 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
1327 | for instance \`--prefix=\$HOME'. | |
1328 | ||
1329 | For better control, use the options below. | |
1330 | ||
1331 | Fine tuning of the installation directories: | |
1332 | --bindir=DIR user executables [EPREFIX/bin] | |
1333 | --sbindir=DIR system admin executables [EPREFIX/sbin] | |
1334 | --libexecdir=DIR program executables [EPREFIX/libexec] | |
1335 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
1336 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
1337 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
1338 | --libdir=DIR object code libraries [EPREFIX/lib] | |
1339 | --includedir=DIR C header files [PREFIX/include] | |
1340 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
1341 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
1342 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
1343 | --infodir=DIR info documentation [DATAROOTDIR/info] | |
1344 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1345 | --mandir=DIR man documentation [DATAROOTDIR/man] | |
1346 | --docdir=DIR documentation root @<:@DATAROOTDIR/doc/unrtf@:>@ | |
1347 | --htmldir=DIR html documentation [DOCDIR] | |
1348 | --dvidir=DIR dvi documentation [DOCDIR] | |
1349 | --pdfdir=DIR pdf documentation [DOCDIR] | |
1350 | --psdir=DIR ps documentation [DOCDIR] | |
1351 | _ACEOF | |
1352 | ||
1353 | cat <<\_ACEOF | |
1354 | ||
1355 | Program names: | |
1356 | --program-prefix=PREFIX prepend PREFIX to installed program names | |
1357 | --program-suffix=SUFFIX append SUFFIX to installed program names | |
1358 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names | |
1359 | ||
1360 | System types: | |
1361 | --build=BUILD configure for building on BUILD [guessed] | |
1362 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | |
1363 | _ACEOF | |
1364 | fi | |
1365 | ||
1366 | if test -n "$ac_init_help"; then | |
1367 | case $ac_init_help in | |
1368 | short | recursive ) echo "Configuration of unrtf 0.21.0:";; | |
1369 | esac | |
1370 | cat <<\_ACEOF | |
1371 | ||
1372 | Optional Features: | |
1373 | --disable-option-checking ignore unrecognized --enable/--with options | |
1374 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
1375 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
1376 | --enable-maintainer-mode enable make rules and dependencies not useful | |
1377 | (and sometimes confusing) to the casual installer | |
1378 | --disable-dependency-tracking speeds up one-time build | |
1379 | --enable-dependency-tracking do not reject slow dependency extractors | |
1380 | ||
1381 | Some influential environment variables: | |
1382 | CC C compiler command | |
1383 | CFLAGS C compiler flags | |
1384 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
1385 | nonstandard directory <lib dir> | |
1386 | LIBS libraries to pass to the linker, e.g. -l<library> | |
1387 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if | |
1388 | you have headers in a nonstandard directory <include dir> | |
1389 | CPP C preprocessor | |
1390 | ||
1391 | Use these variables to override the choices made by `configure' or to help | |
1392 | it to find libraries and programs with nonstandard names/locations. | |
1393 | ||
1394 | Report bugs to <bug-unrtf@gnu.org>. | |
1395 | _ACEOF | |
1396 | ac_status=$? | |
1397 | fi | |
1398 | ||
1399 | if test "$ac_init_help" = "recursive"; then | |
1400 | # If there are subdirs, report their specific --help. | |
1401 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
1402 | test -d "$ac_dir" || | |
1403 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1404 | continue | |
1405 | ac_builddir=. | |
1406 | ||
1407 | case "$ac_dir" in | |
1408 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1409 | *) | |
1410 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
1411 | # A ".." for each directory in $ac_dir_suffix. | |
1412 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
1413 | case $ac_top_builddir_sub in | |
1414 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1415 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
1416 | esac ;; | |
1417 | esac | |
1418 | ac_abs_top_builddir=$ac_pwd | |
1419 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
1420 | # for backward compatibility: | |
1421 | ac_top_builddir=$ac_top_build_prefix | |
1422 | ||
1423 | case $srcdir in | |
1424 | .) # We are building in place. | |
1425 | ac_srcdir=. | |
1426 | ac_top_srcdir=$ac_top_builddir_sub | |
1427 | ac_abs_top_srcdir=$ac_pwd ;; | |
1428 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
1429 | ac_srcdir=$srcdir$ac_dir_suffix; | |
1430 | ac_top_srcdir=$srcdir | |
1431 | ac_abs_top_srcdir=$srcdir ;; | |
1432 | *) # Relative name. | |
1433 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
1434 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
1435 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
1436 | esac | |
1437 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
1438 | ||
1439 | cd "$ac_dir" || { ac_status=$?; continue; } | |
1440 | # Check for guested configure. | |
1441 | if test -f "$ac_srcdir/configure.gnu"; then | |
1442 | echo && | |
1443 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
1444 | elif test -f "$ac_srcdir/configure"; then | |
1445 | echo && | |
1446 | $SHELL "$ac_srcdir/configure" --help=recursive | |
1447 | else | |
1448 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
1449 | fi || ac_status=$? | |
1450 | cd "$ac_pwd" || { ac_status=$?; break; } | |
1451 | done | |
1452 | fi | |
1453 | ||
1454 | test -n "$ac_init_help" && exit $ac_status | |
1455 | if $ac_init_version; then | |
1456 | cat <<\_ACEOF | |
1457 | unrtf configure 0.21.0 | |
1458 | generated by GNU Autoconf 2.63 | |
1459 | ||
1460 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
1461 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
1462 | This configure script is free software; the Free Software Foundation | |
1463 | gives unlimited permission to copy, distribute and modify it. | |
1464 | _ACEOF | |
1465 | exit | |
1466 | fi | |
1467 | cat >config.log <<_ACEOF | |
1468 | This file contains any messages produced by compilers while | |
1469 | running configure, to aid debugging if configure makes a mistake. | |
1470 | ||
1471 | It was created by unrtf $as_me 0.21.0, which was | |
1472 | generated by GNU Autoconf 2.63. Invocation command line was | |
1473 | ||
1474 | $ $0 $@ | |
1475 | ||
1476 | _ACEOF | |
1477 | exec 5>>config.log | |
1478 | { | |
1479 | cat <<_ASUNAME | |
1480 | @%:@@%:@ --------- @%:@@%:@ | |
1481 | @%:@@%:@ Platform. @%:@@%:@ | |
1482 | @%:@@%:@ --------- @%:@@%:@ | |
1483 | ||
1484 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
1485 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
1486 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
1487 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
1488 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
1489 | ||
1490 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
1491 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
1492 | ||
1493 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
1494 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
1495 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
1496 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | |
1497 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
1498 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
1499 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
1500 | ||
1501 | _ASUNAME | |
1502 | ||
1503 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1504 | for as_dir in $PATH | |
1505 | do | |
1506 | IFS=$as_save_IFS | |
1507 | test -z "$as_dir" && as_dir=. | |
1508 | $as_echo "PATH: $as_dir" | |
1509 | done | |
1510 | IFS=$as_save_IFS | |
1511 | ||
1512 | } >&5 | |
1513 | ||
1514 | cat >&5 <<_ACEOF | |
1515 | ||
1516 | ||
1517 | @%:@@%:@ ----------- @%:@@%:@ | |
1518 | @%:@@%:@ Core tests. @%:@@%:@ | |
1519 | @%:@@%:@ ----------- @%:@@%:@ | |
1520 | ||
1521 | _ACEOF | |
1522 | ||
1523 | ||
1524 | # Keep a trace of the command line. | |
1525 | # Strip out --no-create and --no-recursion so they do not pile up. | |
1526 | # Strip out --silent because we don't want to record it for future runs. | |
1527 | # Also quote any args containing shell meta-characters. | |
1528 | # Make two passes to allow for proper duplicate-argument suppression. | |
1529 | ac_configure_args= | |
1530 | ac_configure_args0= | |
1531 | ac_configure_args1= | |
1532 | ac_must_keep_next=false | |
1533 | for ac_pass in 1 2 | |
1534 | do | |
1535 | for ac_arg | |
1536 | do | |
1537 | case $ac_arg in | |
1538 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
1539 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
1540 | | -silent | --silent | --silen | --sile | --sil) | |
1541 | continue ;; | |
1542 | *\'*) | |
1543 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1544 | esac | |
1545 | case $ac_pass in | |
1546 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | |
1547 | 2) | |
1548 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | |
1549 | if test $ac_must_keep_next = true; then | |
1550 | ac_must_keep_next=false # Got value, back to normal. | |
1551 | else | |
1552 | case $ac_arg in | |
1553 | *=* | --config-cache | -C | -disable-* | --disable-* \ | |
1554 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
1555 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
1556 | | -with-* | --with-* | -without-* | --without-* | --x) | |
1557 | case "$ac_configure_args0 " in | |
1558 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
1559 | esac | |
1560 | ;; | |
1561 | -* ) ac_must_keep_next=true ;; | |
1562 | esac | |
1563 | fi | |
1564 | ac_configure_args="$ac_configure_args '$ac_arg'" | |
1565 | ;; | |
1566 | esac | |
1567 | done | |
1568 | done | |
1569 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | |
1570 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | |
1571 | ||
1572 | # When interrupted or exit'd, cleanup temporary files, and complete | |
1573 | # config.log. We remove comments because anyway the quotes in there | |
1574 | # would cause problems or look ugly. | |
1575 | # WARNING: Use '\'' to represent an apostrophe within the trap. | |
1576 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | |
1577 | trap 'exit_status=$? | |
1578 | # Save into config.log some information that might help in debugging. | |
1579 | { | |
1580 | echo | |
1581 | ||
1582 | cat <<\_ASBOX | |
1583 | @%:@@%:@ ---------------- @%:@@%:@ | |
1584 | @%:@@%:@ Cache variables. @%:@@%:@ | |
1585 | @%:@@%:@ ---------------- @%:@@%:@ | |
1586 | _ASBOX | |
1587 | echo | |
1588 | # The following way of writing the cache mishandles newlines in values, | |
1589 | ( | |
1590 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
1591 | eval ac_val=\$$ac_var | |
1592 | case $ac_val in #( | |
1593 | *${as_nl}*) | |
1594 | case $ac_var in #( | |
1595 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 | |
1596 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
1597 | esac | |
1598 | case $ac_var in #( | |
1599 | _ | IFS | as_nl) ;; #( | |
1600 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
1601 | *) $as_unset $ac_var ;; | |
1602 | esac ;; | |
1603 | esac | |
1604 | done | |
1605 | (set) 2>&1 | | |
1606 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | |
1607 | *${as_nl}ac_space=\ *) | |
1608 | sed -n \ | |
1609 | "s/'\''/'\''\\\\'\'''\''/g; | |
1610 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | |
1611 | ;; #( | |
1612 | *) | |
1613 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
1614 | ;; | |
1615 | esac | | |
1616 | sort | |
1617 | ) | |
1618 | echo | |
1619 | ||
1620 | cat <<\_ASBOX | |
1621 | @%:@@%:@ ----------------- @%:@@%:@ | |
1622 | @%:@@%:@ Output variables. @%:@@%:@ | |
1623 | @%:@@%:@ ----------------- @%:@@%:@ | |
1624 | _ASBOX | |
1625 | echo | |
1626 | for ac_var in $ac_subst_vars | |
1627 | do | |
1628 | eval ac_val=\$$ac_var | |
1629 | case $ac_val in | |
1630 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1631 | esac | |
1632 | $as_echo "$ac_var='\''$ac_val'\''" | |
1633 | done | sort | |
1634 | echo | |
1635 | ||
1636 | if test -n "$ac_subst_files"; then | |
1637 | cat <<\_ASBOX | |
1638 | @%:@@%:@ ------------------- @%:@@%:@ | |
1639 | @%:@@%:@ File substitutions. @%:@@%:@ | |
1640 | @%:@@%:@ ------------------- @%:@@%:@ | |
1641 | _ASBOX | |
1642 | echo | |
1643 | for ac_var in $ac_subst_files | |
1644 | do | |
1645 | eval ac_val=\$$ac_var | |
1646 | case $ac_val in | |
1647 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1648 | esac | |
1649 | $as_echo "$ac_var='\''$ac_val'\''" | |
1650 | done | sort | |
1651 | echo | |
1652 | fi | |
1653 | ||
1654 | if test -s confdefs.h; then | |
1655 | cat <<\_ASBOX | |
1656 | @%:@@%:@ ----------- @%:@@%:@ | |
1657 | @%:@@%:@ confdefs.h. @%:@@%:@ | |
1658 | @%:@@%:@ ----------- @%:@@%:@ | |
1659 | _ASBOX | |
1660 | echo | |
1661 | cat confdefs.h | |
1662 | echo | |
1663 | fi | |
1664 | test "$ac_signal" != 0 && | |
1665 | $as_echo "$as_me: caught signal $ac_signal" | |
1666 | $as_echo "$as_me: exit $exit_status" | |
1667 | } >&5 | |
1668 | rm -f core *.core core.conftest.* && | |
1669 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | |
1670 | exit $exit_status | |
1671 | ' 0 | |
1672 | for ac_signal in 1 2 13 15; do | |
1673 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | |
1674 | done | |
1675 | ac_signal=0 | |
1676 | ||
1677 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
1678 | rm -f -r conftest* confdefs.h | |
1679 | ||
1680 | # Predefined preprocessor variables. | |
1681 | ||
1682 | cat >>confdefs.h <<_ACEOF | |
1683 | @%:@define PACKAGE_NAME "$PACKAGE_NAME" | |
1684 | _ACEOF | |
1685 | ||
1686 | ||
1687 | cat >>confdefs.h <<_ACEOF | |
1688 | @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
1689 | _ACEOF | |
1690 | ||
1691 | ||
1692 | cat >>confdefs.h <<_ACEOF | |
1693 | @%:@define PACKAGE_VERSION "$PACKAGE_VERSION" | |
1694 | _ACEOF | |
1695 | ||
1696 | ||
1697 | cat >>confdefs.h <<_ACEOF | |
1698 | @%:@define PACKAGE_STRING "$PACKAGE_STRING" | |
1699 | _ACEOF | |
1700 | ||
1701 | ||
1702 | cat >>confdefs.h <<_ACEOF | |
1703 | @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
1704 | _ACEOF | |
1705 | ||
1706 | ||
1707 | # Let the site file select an alternate cache file if it wants to. | |
1708 | # Prefer an explicitly selected file to automatically selected ones. | |
1709 | ac_site_file1=NONE | |
1710 | ac_site_file2=NONE | |
1711 | if test -n "$CONFIG_SITE"; then | |
1712 | ac_site_file1=$CONFIG_SITE | |
1713 | elif test "x$prefix" != xNONE; then | |
1714 | ac_site_file1=$prefix/share/config.site | |
1715 | ac_site_file2=$prefix/etc/config.site | |
1716 | else | |
1717 | ac_site_file1=$ac_default_prefix/share/config.site | |
1718 | ac_site_file2=$ac_default_prefix/etc/config.site | |
1719 | fi | |
1720 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |
1721 | do | |
1722 | test "x$ac_site_file" = xNONE && continue | |
1723 | if test -r "$ac_site_file"; then | |
1724 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | |
1725 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
1726 | sed 's/^/| /' "$ac_site_file" >&5 | |
1727 | . "$ac_site_file" | |
1728 | fi | |
1729 | done | |
1730 | ||
1731 | if test -r "$cache_file"; then | |
1732 | # Some versions of bash will fail to source /dev/null (special | |
1733 | # files actually), so we avoid doing that. | |
1734 | if test -f "$cache_file"; then | |
1735 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 | |
1736 | $as_echo "$as_me: loading cache $cache_file" >&6;} | |
1737 | case $cache_file in | |
1738 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | |
1739 | *) . "./$cache_file";; | |
1740 | esac | |
1741 | fi | |
1742 | else | |
1743 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 | |
1744 | $as_echo "$as_me: creating cache $cache_file" >&6;} | |
1745 | >$cache_file | |
1746 | fi | |
1747 | ||
1748 | # Check that the precious variables saved in the cache have kept the same | |
1749 | # value. | |
1750 | ac_cache_corrupted=false | |
1751 | for ac_var in $ac_precious_vars; do | |
1752 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
1753 | eval ac_new_set=\$ac_env_${ac_var}_set | |
1754 | eval ac_old_val=\$ac_cv_env_${ac_var}_value | |
1755 | eval ac_new_val=\$ac_env_${ac_var}_value | |
1756 | case $ac_old_set,$ac_new_set in | |
1757 | set,) | |
1758 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
1759 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
1760 | ac_cache_corrupted=: ;; | |
1761 | ,set) | |
1762 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | |
1763 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
1764 | ac_cache_corrupted=: ;; | |
1765 | ,);; | |
1766 | *) | |
1767 | if test "x$ac_old_val" != "x$ac_new_val"; then | |
1768 | # differences in whitespace do not lead to failure. | |
1769 | ac_old_val_w=`echo x $ac_old_val` | |
1770 | ac_new_val_w=`echo x $ac_new_val` | |
1771 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | |
1772 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | |
1773 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
1774 | ac_cache_corrupted=: | |
1775 | else | |
1776 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
1777 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
1778 | eval $ac_var=\$ac_old_val | |
1779 | fi | |
1780 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 | |
1781 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
1782 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 | |
1783 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
1784 | fi;; | |
1785 | esac | |
1786 | # Pass precious variables to config.status. | |
1787 | if test "$ac_new_set" = set; then | |
1788 | case $ac_new_val in | |
1789 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1790 | *) ac_arg=$ac_var=$ac_new_val ;; | |
1791 | esac | |
1792 | case " $ac_configure_args " in | |
1793 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
1794 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
1795 | esac | |
1796 | fi | |
1797 | done | |
1798 | if $ac_cache_corrupted; then | |
1799 | { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
1800 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
1801 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | |
1802 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
1803 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | |
1804 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | |
1805 | { (exit 1); exit 1; }; } | |
1806 | fi | |
1807 | ||
1808 | ||
1809 | ||
1810 | ||
1811 | ||
1812 | ||
1813 | ||
1814 | ||
1815 | ||
1816 | ||
1817 | ||
1818 | ||
1819 | ||
1820 | ||
1821 | ||
1822 | ||
1823 | ||
1824 | ||
1825 | ||
1826 | ||
1827 | ||
1828 | ||
1829 | ||
1830 | ||
1831 | ||
1832 | ac_ext=c | |
1833 | ac_cpp='$CPP $CPPFLAGS' | |
1834 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1835 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1836 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
1837 | ||
1838 | ||
1839 | ||
1840 | ac_aux_dir= | |
1841 | for ac_dir in config "$srcdir"/config; do | |
1842 | if test -f "$ac_dir/install-sh"; then | |
1843 | ac_aux_dir=$ac_dir | |
1844 | ac_install_sh="$ac_aux_dir/install-sh -c" | |
1845 | break | |
1846 | elif test -f "$ac_dir/install.sh"; then | |
1847 | ac_aux_dir=$ac_dir | |
1848 | ac_install_sh="$ac_aux_dir/install.sh -c" | |
1849 | break | |
1850 | elif test -f "$ac_dir/shtool"; then | |
1851 | ac_aux_dir=$ac_dir | |
1852 | ac_install_sh="$ac_aux_dir/shtool install -c" | |
1853 | break | |
1854 | fi | |
1855 | done | |
1856 | if test -z "$ac_aux_dir"; then | |
1857 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5 | |
1858 | $as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;} | |
1859 | { (exit 1); exit 1; }; } | |
1860 | fi | |
1861 | ||
1862 | # These three variables are undocumented and unsupported, | |
1863 | # and are intended to be withdrawn in a future Autoconf release. | |
1864 | # They can cause serious problems if a builder's source tree is in a directory | |
1865 | # whose full name contains unusual characters. | |
1866 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
1867 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
1868 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
1869 | ||
1870 | ||
1871 | ac_config_headers="$ac_config_headers config.h" | |
1872 | ||
1873 | ||
1874 | # Initialize automake | |
1875 | ||
1876 | am__api_version='1.10' | |
1877 | ||
1878 | # Find a good install program. We prefer a C program (faster), | |
1879 | # so one script is as good as another. But avoid the broken or | |
1880 | # incompatible versions: | |
1881 | # SysV /etc/install, /usr/sbin/install | |
1882 | # SunOS /usr/etc/install | |
1883 | # IRIX /sbin/install | |
1884 | # AIX /bin/install | |
1885 | # AmigaOS /C/install, which installs bootblocks on floppy discs | |
1886 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
1887 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
1888 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
1889 | # OS/2's system install, which has a completely different semantic | |
1890 | # ./install, which can be erroneously created by make from ./install.sh. | |
1891 | # Reject install programs that cannot install multiple files. | |
1892 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | |
1893 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
1894 | if test -z "$INSTALL"; then | |
1895 | if test "${ac_cv_path_install+set}" = set; then | |
1896 | $as_echo_n "(cached) " >&6 | |
1897 | else | |
1898 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1899 | for as_dir in $PATH | |
1900 | do | |
1901 | IFS=$as_save_IFS | |
1902 | test -z "$as_dir" && as_dir=. | |
1903 | # Account for people who put trailing slashes in PATH elements. | |
1904 | case $as_dir/ in | |
1905 | ./ | .// | /cC/* | \ | |
1906 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
1907 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | |
1908 | /usr/ucb/* ) ;; | |
1909 | *) | |
1910 | # OSF1 and SCO ODT 3.0 have their own names for install. | |
1911 | # Don't use installbsd from OSF since it installs stuff as root | |
1912 | # by default. | |
1913 | for ac_prog in ginstall scoinst install; do | |
1914 | for ac_exec_ext in '' $ac_executable_extensions; do | |
1915 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | |
1916 | if test $ac_prog = install && | |
1917 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
1918 | # AIX install. It has an incompatible calling convention. | |
1919 | : | |
1920 | elif test $ac_prog = install && | |
1921 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
1922 | # program-specific install script used by HP pwplus--don't use. | |
1923 | : | |
1924 | else | |
1925 | rm -rf conftest.one conftest.two conftest.dir | |
1926 | echo one > conftest.one | |
1927 | echo two > conftest.two | |
1928 | mkdir conftest.dir | |
1929 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
1930 | test -s conftest.one && test -s conftest.two && | |
1931 | test -s conftest.dir/conftest.one && | |
1932 | test -s conftest.dir/conftest.two | |
1933 | then | |
1934 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
1935 | break 3 | |
1936 | fi | |
1937 | fi | |
1938 | fi | |
1939 | done | |
1940 | done | |
1941 | ;; | |
1942 | esac | |
1943 | ||
1944 | done | |
1945 | IFS=$as_save_IFS | |
1946 | ||
1947 | rm -rf conftest.one conftest.two conftest.dir | |
1948 | ||
1949 | fi | |
1950 | if test "${ac_cv_path_install+set}" = set; then | |
1951 | INSTALL=$ac_cv_path_install | |
1952 | else | |
1953 | # As a last resort, use the slow shell script. Don't cache a | |
1954 | # value for INSTALL within a source directory, because that will | |
1955 | # break other packages using the cache if that directory is | |
1956 | # removed, or if the value is a relative name. | |
1957 | INSTALL=$ac_install_sh | |
1958 | fi | |
1959 | fi | |
1960 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 | |
1961 | $as_echo "$INSTALL" >&6; } | |
1962 | ||
1963 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
1964 | # It thinks the first close brace ends the variable substitution. | |
1965 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
1966 | ||
1967 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
1968 | ||
1969 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
1970 | ||
1971 | { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | |
1972 | $as_echo_n "checking whether build environment is sane... " >&6; } | |
1973 | # Just in case | |
1974 | sleep 1 | |
1975 | echo timestamp > conftest.file | |
1976 | # Do `set' in a subshell so we don't clobber the current shell's | |
1977 | # arguments. Must try -L first in case configure is actually a | |
1978 | # symlink; some systems play weird games with the mod time of symlinks | |
1979 | # (eg FreeBSD returns the mod time of the symlink's containing | |
1980 | # directory). | |
1981 | if ( | |
1982 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` | |
1983 | if test "$*" = "X"; then | |
1984 | # -L didn't work. | |
1985 | set X `ls -t $srcdir/configure conftest.file` | |
1986 | fi | |
1987 | rm -f conftest.file | |
1988 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
1989 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
1990 | ||
1991 | # If neither matched, then we have a broken ls. This can happen | |
1992 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
1993 | # broken ls alias from the environment. This has actually | |
1994 | # happened. Such a system could not be considered "sane". | |
1995 | { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken | |
1996 | alias in your environment" >&5 | |
1997 | $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken | |
1998 | alias in your environment" >&2;} | |
1999 | { (exit 1); exit 1; }; } | |
2000 | fi | |
2001 | ||
2002 | test "$2" = conftest.file | |
2003 | ) | |
2004 | then | |
2005 | # Ok. | |
2006 | : | |
2007 | else | |
2008 | { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! | |
2009 | Check your system clock" >&5 | |
2010 | $as_echo "$as_me: error: newly created file is older than distributed files! | |
2011 | Check your system clock" >&2;} | |
2012 | { (exit 1); exit 1; }; } | |
2013 | fi | |
2014 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | |
2015 | $as_echo "yes" >&6; } | |
2016 | test "$program_prefix" != NONE && | |
2017 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | |
2018 | # Use a double $ so make ignores it. | |
2019 | test "$program_suffix" != NONE && | |
2020 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" | |
2021 | # Double any \ or $. | |
2022 | # By default was `s,x,x', remove it if useless. | |
2023 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | |
2024 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | |
2025 | ||
2026 | # expand $ac_aux_dir to an absolute path | |
2027 | am_aux_dir=`cd $ac_aux_dir && pwd` | |
2028 | ||
2029 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | |
2030 | # Use eval to expand $SHELL | |
2031 | if eval "$MISSING --run true"; then | |
2032 | am_missing_run="$MISSING --run " | |
2033 | else | |
2034 | am_missing_run= | |
2035 | { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | |
2036 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
2037 | fi | |
2038 | ||
2039 | { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 | |
2040 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | |
2041 | if test -z "$MKDIR_P"; then | |
2042 | if test "${ac_cv_path_mkdir+set}" = set; then | |
2043 | $as_echo_n "(cached) " >&6 | |
2044 | else | |
2045 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2046 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | |
2047 | do | |
2048 | IFS=$as_save_IFS | |
2049 | test -z "$as_dir" && as_dir=. | |
2050 | for ac_prog in mkdir gmkdir; do | |
2051 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2052 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | |
2053 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | |
2054 | 'mkdir (GNU coreutils) '* | \ | |
2055 | 'mkdir (coreutils) '* | \ | |
2056 | 'mkdir (fileutils) '4.1*) | |
2057 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | |
2058 | break 3;; | |
2059 | esac | |
2060 | done | |
2061 | done | |
2062 | done | |
2063 | IFS=$as_save_IFS | |
2064 | ||
2065 | fi | |
2066 | ||
2067 | if test "${ac_cv_path_mkdir+set}" = set; then | |
2068 | MKDIR_P="$ac_cv_path_mkdir -p" | |
2069 | else | |
2070 | # As a last resort, use the slow shell script. Don't cache a | |
2071 | # value for MKDIR_P within a source directory, because that will | |
2072 | # break other packages using the cache if that directory is | |
2073 | # removed, or if the value is a relative name. | |
2074 | test -d ./--version && rmdir ./--version | |
2075 | MKDIR_P="$ac_install_sh -d" | |
2076 | fi | |
2077 | fi | |
2078 | { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 | |
2079 | $as_echo "$MKDIR_P" >&6; } | |
2080 | ||
2081 | mkdir_p="$MKDIR_P" | |
2082 | case $mkdir_p in | |
2083 | [\\/$]* | ?:[\\/]*) ;; | |
2084 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
2085 | esac | |
2086 | ||
2087 | for ac_prog in gawk mawk nawk awk | |
2088 | do | |
2089 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
2090 | set dummy $ac_prog; ac_word=$2 | |
2091 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2092 | $as_echo_n "checking for $ac_word... " >&6; } | |
2093 | if test "${ac_cv_prog_AWK+set}" = set; then | |
2094 | $as_echo_n "(cached) " >&6 | |
2095 | else | |
2096 | if test -n "$AWK"; then | |
2097 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
2098 | else | |
2099 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2100 | for as_dir in $PATH | |
2101 | do | |
2102 | IFS=$as_save_IFS | |
2103 | test -z "$as_dir" && as_dir=. | |
2104 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2105 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2106 | ac_cv_prog_AWK="$ac_prog" | |
2107 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2108 | break 2 | |
2109 | fi | |
2110 | done | |
2111 | done | |
2112 | IFS=$as_save_IFS | |
2113 | ||
2114 | fi | |
2115 | fi | |
2116 | AWK=$ac_cv_prog_AWK | |
2117 | if test -n "$AWK"; then | |
2118 | { $as_echo "$as_me:$LINENO: result: $AWK" >&5 | |
2119 | $as_echo "$AWK" >&6; } | |
2120 | else | |
2121 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2122 | $as_echo "no" >&6; } | |
2123 | fi | |
2124 | ||
2125 | ||
2126 | test -n "$AWK" && break | |
2127 | done | |
2128 | ||
2129 | { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | |
2130 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | |
2131 | set x ${MAKE-make} | |
2132 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
2133 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | |
2134 | $as_echo_n "(cached) " >&6 | |
2135 | else | |
2136 | cat >conftest.make <<\_ACEOF | |
2137 | SHELL = /bin/sh | |
2138 | all: | |
2139 | @echo '@@@%%%=$(MAKE)=@@@%%%' | |
2140 | _ACEOF | |
2141 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
2142 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | |
2143 | *@@@%%%=?*=@@@%%%*) | |
2144 | eval ac_cv_prog_make_${ac_make}_set=yes;; | |
2145 | *) | |
2146 | eval ac_cv_prog_make_${ac_make}_set=no;; | |
2147 | esac | |
2148 | rm -f conftest.make | |
2149 | fi | |
2150 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | |
2151 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | |
2152 | $as_echo "yes" >&6; } | |
2153 | SET_MAKE= | |
2154 | else | |
2155 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2156 | $as_echo "no" >&6; } | |
2157 | SET_MAKE="MAKE=${MAKE-make}" | |
2158 | fi | |
2159 | ||
2160 | rm -rf .tst 2>/dev/null | |
2161 | mkdir .tst 2>/dev/null | |
2162 | if test -d .tst; then | |
2163 | am__leading_dot=. | |
2164 | else | |
2165 | am__leading_dot=_ | |
2166 | fi | |
2167 | rmdir .tst 2>/dev/null | |
2168 | ||
2169 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
2170 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
2171 | # is not polluted with repeated "-I." | |
2172 | am__isrc=' -I$(srcdir)' | |
2173 | # test to see if srcdir already configured | |
2174 | if test -f $srcdir/config.status; then | |
2175 | { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | |
2176 | $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | |
2177 | { (exit 1); exit 1; }; } | |
2178 | fi | |
2179 | fi | |
2180 | ||
2181 | # test whether we have cygpath | |
2182 | if test -z "$CYGPATH_W"; then | |
2183 | if (cygpath --version) >/dev/null 2>/dev/null; then | |
2184 | CYGPATH_W='cygpath -w' | |
2185 | else | |
2186 | CYGPATH_W=echo | |
2187 | fi | |
2188 | fi | |
2189 | ||
2190 | ||
2191 | # Define the identity of the package. | |
2192 | PACKAGE='unrtf' | |
2193 | VERSION='0.21.0' | |
2194 | ||
2195 | ||
2196 | cat >>confdefs.h <<_ACEOF | |
2197 | @%:@define PACKAGE "$PACKAGE" | |
2198 | _ACEOF | |
2199 | ||
2200 | ||
2201 | cat >>confdefs.h <<_ACEOF | |
2202 | @%:@define VERSION "$VERSION" | |
2203 | _ACEOF | |
2204 | ||
2205 | # Some tools Automake needs. | |
2206 | ||
2207 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | |
2208 | ||
2209 | ||
2210 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | |
2211 | ||
2212 | ||
2213 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | |
2214 | ||
2215 | ||
2216 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | |
2217 | ||
2218 | ||
2219 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | |
2220 | ||
2221 | install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} | |
2222 | ||
2223 | # Installed binaries are usually stripped using `strip' when the user | |
2224 | # run `make install-strip'. However `strip' might not be the right | |
2225 | # tool to use in cross-compilation environments, therefore Automake | |
2226 | # will honor the `STRIP' environment variable to overrule this program. | |
2227 | if test "$cross_compiling" != no; then | |
2228 | if test -n "$ac_tool_prefix"; then | |
2229 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | |
2230 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
2231 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2232 | $as_echo_n "checking for $ac_word... " >&6; } | |
2233 | if test "${ac_cv_prog_STRIP+set}" = set; then | |
2234 | $as_echo_n "(cached) " >&6 | |
2235 | else | |
2236 | if test -n "$STRIP"; then | |
2237 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
2238 | else | |
2239 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2240 | for as_dir in $PATH | |
2241 | do | |
2242 | IFS=$as_save_IFS | |
2243 | test -z "$as_dir" && as_dir=. | |
2244 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2245 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2246 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
2247 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2248 | break 2 | |
2249 | fi | |
2250 | done | |
2251 | done | |
2252 | IFS=$as_save_IFS | |
2253 | ||
2254 | fi | |
2255 | fi | |
2256 | STRIP=$ac_cv_prog_STRIP | |
2257 | if test -n "$STRIP"; then | |
2258 | { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 | |
2259 | $as_echo "$STRIP" >&6; } | |
2260 | else | |
2261 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2262 | $as_echo "no" >&6; } | |
2263 | fi | |
2264 | ||
2265 | ||
2266 | fi | |
2267 | if test -z "$ac_cv_prog_STRIP"; then | |
2268 | ac_ct_STRIP=$STRIP | |
2269 | # Extract the first word of "strip", so it can be a program name with args. | |
2270 | set dummy strip; ac_word=$2 | |
2271 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2272 | $as_echo_n "checking for $ac_word... " >&6; } | |
2273 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | |
2274 | $as_echo_n "(cached) " >&6 | |
2275 | else | |
2276 | if test -n "$ac_ct_STRIP"; then | |
2277 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
2278 | else | |
2279 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2280 | for as_dir in $PATH | |
2281 | do | |
2282 | IFS=$as_save_IFS | |
2283 | test -z "$as_dir" && as_dir=. | |
2284 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2285 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2286 | ac_cv_prog_ac_ct_STRIP="strip" | |
2287 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2288 | break 2 | |
2289 | fi | |
2290 | done | |
2291 | done | |
2292 | IFS=$as_save_IFS | |
2293 | ||
2294 | fi | |
2295 | fi | |
2296 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
2297 | if test -n "$ac_ct_STRIP"; then | |
2298 | { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | |
2299 | $as_echo "$ac_ct_STRIP" >&6; } | |
2300 | else | |
2301 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2302 | $as_echo "no" >&6; } | |
2303 | fi | |
2304 | ||
2305 | if test "x$ac_ct_STRIP" = x; then | |
2306 | STRIP=":" | |
2307 | else | |
2308 | case $cross_compiling:$ac_tool_warned in | |
2309 | yes:) | |
2310 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2311 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2312 | ac_tool_warned=yes ;; | |
2313 | esac | |
2314 | STRIP=$ac_ct_STRIP | |
2315 | fi | |
2316 | else | |
2317 | STRIP="$ac_cv_prog_STRIP" | |
2318 | fi | |
2319 | ||
2320 | fi | |
2321 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
2322 | ||
2323 | # We need awk for the "check" target. The system "awk" is bad on | |
2324 | # some platforms. | |
2325 | # Always define AMTAR for backward compatibility. | |
2326 | ||
2327 | AMTAR=${AMTAR-"${am_missing_run}tar"} | |
2328 | ||
2329 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | |
2330 | ||
2331 | ||
2332 | ||
2333 | ||
2334 | ||
2335 | ||
2336 | # AM_MAINTAINER_MODE is a controversial macro. | |
2337 | # I suggest you read this to understand what is going on: | |
2338 | # | |
2339 | # http://www.gnu.org/software/automake/manual/html_mono/automake.html#maintainer-mode | |
2340 | # | |
2341 | # when acting as a maintainer (writing code, preparing distributions, ...), | |
2342 | # turn the maintainer mode on by using ./configure --enable-maintainer-mode | |
2343 | # | |
2344 | # your users will not see maintainer rules, and so their (potentially | |
2345 | # incompatible) autotools do not have any chance to trigger and mess up things. | |
2346 | ||
2347 | { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 | |
2348 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } | |
2349 | @%:@ Check whether --enable-maintainer-mode was given. | |
2350 | if test "${enable_maintainer_mode+set}" = set; then | |
2351 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval | |
2352 | else | |
2353 | USE_MAINTAINER_MODE=no | |
2354 | fi | |
2355 | ||
2356 | { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 | |
2357 | $as_echo "$USE_MAINTAINER_MODE" >&6; } | |
2358 | if test $USE_MAINTAINER_MODE = yes; then | |
2359 | MAINTAINER_MODE_TRUE= | |
2360 | MAINTAINER_MODE_FALSE='#' | |
2361 | else | |
2362 | MAINTAINER_MODE_TRUE='#' | |
2363 | MAINTAINER_MODE_FALSE= | |
2364 | fi | |
2365 | ||
2366 | MAINT=$MAINTAINER_MODE_TRUE | |
2367 | ||
2368 | ||
2369 | ||
2370 | # Checks for programs (compiler and installation program) | |
2371 | ac_ext=c | |
2372 | ac_cpp='$CPP $CPPFLAGS' | |
2373 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2374 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2375 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2376 | if test -n "$ac_tool_prefix"; then | |
2377 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
2378 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
2379 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2380 | $as_echo_n "checking for $ac_word... " >&6; } | |
2381 | if test "${ac_cv_prog_CC+set}" = set; then | |
2382 | $as_echo_n "(cached) " >&6 | |
2383 | else | |
2384 | if test -n "$CC"; then | |
2385 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
2386 | else | |
2387 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2388 | for as_dir in $PATH | |
2389 | do | |
2390 | IFS=$as_save_IFS | |
2391 | test -z "$as_dir" && as_dir=. | |
2392 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2393 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2394 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
2395 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2396 | break 2 | |
2397 | fi | |
2398 | done | |
2399 | done | |
2400 | IFS=$as_save_IFS | |
2401 | ||
2402 | fi | |
2403 | fi | |
2404 | CC=$ac_cv_prog_CC | |
2405 | if test -n "$CC"; then | |
2406 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | |
2407 | $as_echo "$CC" >&6; } | |
2408 | else | |
2409 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2410 | $as_echo "no" >&6; } | |
2411 | fi | |
2412 | ||
2413 | ||
2414 | fi | |
2415 | if test -z "$ac_cv_prog_CC"; then | |
2416 | ac_ct_CC=$CC | |
2417 | # Extract the first word of "gcc", so it can be a program name with args. | |
2418 | set dummy gcc; ac_word=$2 | |
2419 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2420 | $as_echo_n "checking for $ac_word... " >&6; } | |
2421 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
2422 | $as_echo_n "(cached) " >&6 | |
2423 | else | |
2424 | if test -n "$ac_ct_CC"; then | |
2425 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
2426 | else | |
2427 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2428 | for as_dir in $PATH | |
2429 | do | |
2430 | IFS=$as_save_IFS | |
2431 | test -z "$as_dir" && as_dir=. | |
2432 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2433 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2434 | ac_cv_prog_ac_ct_CC="gcc" | |
2435 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2436 | break 2 | |
2437 | fi | |
2438 | done | |
2439 | done | |
2440 | IFS=$as_save_IFS | |
2441 | ||
2442 | fi | |
2443 | fi | |
2444 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
2445 | if test -n "$ac_ct_CC"; then | |
2446 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
2447 | $as_echo "$ac_ct_CC" >&6; } | |
2448 | else | |
2449 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2450 | $as_echo "no" >&6; } | |
2451 | fi | |
2452 | ||
2453 | if test "x$ac_ct_CC" = x; then | |
2454 | CC="" | |
2455 | else | |
2456 | case $cross_compiling:$ac_tool_warned in | |
2457 | yes:) | |
2458 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2459 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2460 | ac_tool_warned=yes ;; | |
2461 | esac | |
2462 | CC=$ac_ct_CC | |
2463 | fi | |
2464 | else | |
2465 | CC="$ac_cv_prog_CC" | |
2466 | fi | |
2467 | ||
2468 | if test -z "$CC"; then | |
2469 | if test -n "$ac_tool_prefix"; then | |
2470 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
2471 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
2472 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2473 | $as_echo_n "checking for $ac_word... " >&6; } | |
2474 | if test "${ac_cv_prog_CC+set}" = set; then | |
2475 | $as_echo_n "(cached) " >&6 | |
2476 | else | |
2477 | if test -n "$CC"; then | |
2478 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
2479 | else | |
2480 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2481 | for as_dir in $PATH | |
2482 | do | |
2483 | IFS=$as_save_IFS | |
2484 | test -z "$as_dir" && as_dir=. | |
2485 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2486 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2487 | ac_cv_prog_CC="${ac_tool_prefix}cc" | |
2488 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2489 | break 2 | |
2490 | fi | |
2491 | done | |
2492 | done | |
2493 | IFS=$as_save_IFS | |
2494 | ||
2495 | fi | |
2496 | fi | |
2497 | CC=$ac_cv_prog_CC | |
2498 | if test -n "$CC"; then | |
2499 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | |
2500 | $as_echo "$CC" >&6; } | |
2501 | else | |
2502 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2503 | $as_echo "no" >&6; } | |
2504 | fi | |
2505 | ||
2506 | ||
2507 | fi | |
2508 | fi | |
2509 | if test -z "$CC"; then | |
2510 | # Extract the first word of "cc", so it can be a program name with args. | |
2511 | set dummy cc; ac_word=$2 | |
2512 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2513 | $as_echo_n "checking for $ac_word... " >&6; } | |
2514 | if test "${ac_cv_prog_CC+set}" = set; then | |
2515 | $as_echo_n "(cached) " >&6 | |
2516 | else | |
2517 | if test -n "$CC"; then | |
2518 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
2519 | else | |
2520 | ac_prog_rejected=no | |
2521 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2522 | for as_dir in $PATH | |
2523 | do | |
2524 | IFS=$as_save_IFS | |
2525 | test -z "$as_dir" && as_dir=. | |
2526 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2527 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2528 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
2529 | ac_prog_rejected=yes | |
2530 | continue | |
2531 | fi | |
2532 | ac_cv_prog_CC="cc" | |
2533 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2534 | break 2 | |
2535 | fi | |
2536 | done | |
2537 | done | |
2538 | IFS=$as_save_IFS | |
2539 | ||
2540 | if test $ac_prog_rejected = yes; then | |
2541 | # We found a bogon in the path, so make sure we never use it. | |
2542 | set dummy $ac_cv_prog_CC | |
2543 | shift | |
2544 | if test $@%:@ != 0; then | |
2545 | # We chose a different compiler from the bogus one. | |
2546 | # However, it has the same basename, so the bogon will be chosen | |
2547 | # first if we set CC to just the basename; use the full file name. | |
2548 | shift | |
2549 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
2550 | fi | |
2551 | fi | |
2552 | fi | |
2553 | fi | |
2554 | CC=$ac_cv_prog_CC | |
2555 | if test -n "$CC"; then | |
2556 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | |
2557 | $as_echo "$CC" >&6; } | |
2558 | else | |
2559 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2560 | $as_echo "no" >&6; } | |
2561 | fi | |
2562 | ||
2563 | ||
2564 | fi | |
2565 | if test -z "$CC"; then | |
2566 | if test -n "$ac_tool_prefix"; then | |
2567 | for ac_prog in cl.exe | |
2568 | do | |
2569 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
2570 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
2571 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2572 | $as_echo_n "checking for $ac_word... " >&6; } | |
2573 | if test "${ac_cv_prog_CC+set}" = set; then | |
2574 | $as_echo_n "(cached) " >&6 | |
2575 | else | |
2576 | if test -n "$CC"; then | |
2577 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
2578 | else | |
2579 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2580 | for as_dir in $PATH | |
2581 | do | |
2582 | IFS=$as_save_IFS | |
2583 | test -z "$as_dir" && as_dir=. | |
2584 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2585 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2586 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
2587 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2588 | break 2 | |
2589 | fi | |
2590 | done | |
2591 | done | |
2592 | IFS=$as_save_IFS | |
2593 | ||
2594 | fi | |
2595 | fi | |
2596 | CC=$ac_cv_prog_CC | |
2597 | if test -n "$CC"; then | |
2598 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | |
2599 | $as_echo "$CC" >&6; } | |
2600 | else | |
2601 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2602 | $as_echo "no" >&6; } | |
2603 | fi | |
2604 | ||
2605 | ||
2606 | test -n "$CC" && break | |
2607 | done | |
2608 | fi | |
2609 | if test -z "$CC"; then | |
2610 | ac_ct_CC=$CC | |
2611 | for ac_prog in cl.exe | |
2612 | do | |
2613 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
2614 | set dummy $ac_prog; ac_word=$2 | |
2615 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2616 | $as_echo_n "checking for $ac_word... " >&6; } | |
2617 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
2618 | $as_echo_n "(cached) " >&6 | |
2619 | else | |
2620 | if test -n "$ac_ct_CC"; then | |
2621 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
2622 | else | |
2623 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2624 | for as_dir in $PATH | |
2625 | do | |
2626 | IFS=$as_save_IFS | |
2627 | test -z "$as_dir" && as_dir=. | |
2628 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2629 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2630 | ac_cv_prog_ac_ct_CC="$ac_prog" | |
2631 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2632 | break 2 | |
2633 | fi | |
2634 | done | |
2635 | done | |
2636 | IFS=$as_save_IFS | |
2637 | ||
2638 | fi | |
2639 | fi | |
2640 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
2641 | if test -n "$ac_ct_CC"; then | |
2642 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
2643 | $as_echo "$ac_ct_CC" >&6; } | |
2644 | else | |
2645 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2646 | $as_echo "no" >&6; } | |
2647 | fi | |
2648 | ||
2649 | ||
2650 | test -n "$ac_ct_CC" && break | |
2651 | done | |
2652 | ||
2653 | if test "x$ac_ct_CC" = x; then | |
2654 | CC="" | |
2655 | else | |
2656 | case $cross_compiling:$ac_tool_warned in | |
2657 | yes:) | |
2658 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2659 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2660 | ac_tool_warned=yes ;; | |
2661 | esac | |
2662 | CC=$ac_ct_CC | |
2663 | fi | |
2664 | fi | |
2665 | ||
2666 | fi | |
2667 | ||
2668 | ||
2669 | test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
2670 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2671 | { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | |
2672 | See \`config.log' for more details." >&5 | |
2673 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH | |
2674 | See \`config.log' for more details." >&2;} | |
2675 | { (exit 1); exit 1; }; }; } | |
2676 | ||
2677 | # Provide some information about the compiler. | |
2678 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 | |
2679 | set X $ac_compile | |
2680 | ac_compiler=$2 | |
2681 | { (ac_try="$ac_compiler --version >&5" | |
2682 | case "(($ac_try" in | |
2683 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2684 | *) ac_try_echo=$ac_try;; | |
2685 | esac | |
2686 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2687 | $as_echo "$ac_try_echo") >&5 | |
2688 | (eval "$ac_compiler --version >&5") 2>&5 | |
2689 | ac_status=$? | |
2690 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2691 | (exit $ac_status); } | |
2692 | { (ac_try="$ac_compiler -v >&5" | |
2693 | case "(($ac_try" in | |
2694 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2695 | *) ac_try_echo=$ac_try;; | |
2696 | esac | |
2697 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2698 | $as_echo "$ac_try_echo") >&5 | |
2699 | (eval "$ac_compiler -v >&5") 2>&5 | |
2700 | ac_status=$? | |
2701 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2702 | (exit $ac_status); } | |
2703 | { (ac_try="$ac_compiler -V >&5" | |
2704 | case "(($ac_try" in | |
2705 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2706 | *) ac_try_echo=$ac_try;; | |
2707 | esac | |
2708 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2709 | $as_echo "$ac_try_echo") >&5 | |
2710 | (eval "$ac_compiler -V >&5") 2>&5 | |
2711 | ac_status=$? | |
2712 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2713 | (exit $ac_status); } | |
2714 | ||
2715 | cat >conftest.$ac_ext <<_ACEOF | |
2716 | /* confdefs.h. */ | |
2717 | _ACEOF | |
2718 | cat confdefs.h >>conftest.$ac_ext | |
2719 | cat >>conftest.$ac_ext <<_ACEOF | |
2720 | /* end confdefs.h. */ | |
2721 | ||
2722 | int | |
2723 | main () | |
2724 | { | |
2725 | ||
2726 | ; | |
2727 | return 0; | |
2728 | } | |
2729 | _ACEOF | |
2730 | ac_clean_files_save=$ac_clean_files | |
2731 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |
2732 | # Try to create an executable without -o first, disregard a.out. | |
2733 | # It will help us diagnose broken compilers, and finding out an intuition | |
2734 | # of exeext. | |
2735 | { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | |
2736 | $as_echo_n "checking for C compiler default output file name... " >&6; } | |
2737 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
2738 | ||
2739 | # The possible output files: | |
2740 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
2741 | ||
2742 | ac_rmfiles= | |
2743 | for ac_file in $ac_files | |
2744 | do | |
2745 | case $ac_file in | |
2746 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
2747 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
2748 | esac | |
2749 | done | |
2750 | rm -f $ac_rmfiles | |
2751 | ||
2752 | if { (ac_try="$ac_link_default" | |
2753 | case "(($ac_try" in | |
2754 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2755 | *) ac_try_echo=$ac_try;; | |
2756 | esac | |
2757 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2758 | $as_echo "$ac_try_echo") >&5 | |
2759 | (eval "$ac_link_default") 2>&5 | |
2760 | ac_status=$? | |
2761 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2762 | (exit $ac_status); }; then | |
2763 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | |
2764 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | |
2765 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | |
2766 | # so that the user can short-circuit this test for compilers unknown to | |
2767 | # Autoconf. | |
2768 | for ac_file in $ac_files '' | |
2769 | do | |
2770 | test -f "$ac_file" || continue | |
2771 | case $ac_file in | |
2772 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | |
2773 | ;; | |
2774 | [ab].out ) | |
2775 | # We found the default executable, but exeext='' is most | |
2776 | # certainly right. | |
2777 | break;; | |
2778 | *.* ) | |
2779 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
2780 | then :; else | |
2781 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
2782 | fi | |
2783 | # We set ac_cv_exeext here because the later test for it is not | |
2784 | # safe: cross compilers may not add the suffix if given an `-o' | |
2785 | # argument, so we may need to know it at that point already. | |
2786 | # Even if this section looks crufty: it has the advantage of | |
2787 | # actually working. | |
2788 | break;; | |
2789 | * ) | |
2790 | break;; | |
2791 | esac | |
2792 | done | |
2793 | test "$ac_cv_exeext" = no && ac_cv_exeext= | |
2794 | ||
2795 | else | |
2796 | ac_file='' | |
2797 | fi | |
2798 | ||
2799 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 | |
2800 | $as_echo "$ac_file" >&6; } | |
2801 | if test -z "$ac_file"; then | |
2802 | $as_echo "$as_me: failed program was:" >&5 | |
2803 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2804 | ||
2805 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
2806 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2807 | { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables | |
2808 | See \`config.log' for more details." >&5 | |
2809 | $as_echo "$as_me: error: C compiler cannot create executables | |
2810 | See \`config.log' for more details." >&2;} | |
2811 | { (exit 77); exit 77; }; }; } | |
2812 | fi | |
2813 | ||
2814 | ac_exeext=$ac_cv_exeext | |
2815 | ||
2816 | # Check that the compiler produces executables we can run. If not, either | |
2817 | # the compiler is broken, or we cross compile. | |
2818 | { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | |
2819 | $as_echo_n "checking whether the C compiler works... " >&6; } | |
2820 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
2821 | # If not cross compiling, check that we can run a simple program. | |
2822 | if test "$cross_compiling" != yes; then | |
2823 | if { ac_try='./$ac_file' | |
2824 | { (case "(($ac_try" in | |
2825 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2826 | *) ac_try_echo=$ac_try;; | |
2827 | esac | |
2828 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2829 | $as_echo "$ac_try_echo") >&5 | |
2830 | (eval "$ac_try") 2>&5 | |
2831 | ac_status=$? | |
2832 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2833 | (exit $ac_status); }; }; then | |
2834 | cross_compiling=no | |
2835 | else | |
2836 | if test "$cross_compiling" = maybe; then | |
2837 | cross_compiling=yes | |
2838 | else | |
2839 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
2840 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2841 | { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. | |
2842 | If you meant to cross compile, use \`--host'. | |
2843 | See \`config.log' for more details." >&5 | |
2844 | $as_echo "$as_me: error: cannot run C compiled programs. | |
2845 | If you meant to cross compile, use \`--host'. | |
2846 | See \`config.log' for more details." >&2;} | |
2847 | { (exit 1); exit 1; }; }; } | |
2848 | fi | |
2849 | fi | |
2850 | fi | |
2851 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | |
2852 | $as_echo "yes" >&6; } | |
2853 | ||
2854 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | |
2855 | ac_clean_files=$ac_clean_files_save | |
2856 | # Check that the compiler produces executables we can run. If not, either | |
2857 | # the compiler is broken, or we cross compile. | |
2858 | { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | |
2859 | $as_echo_n "checking whether we are cross compiling... " >&6; } | |
2860 | { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 | |
2861 | $as_echo "$cross_compiling" >&6; } | |
2862 | ||
2863 | { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 | |
2864 | $as_echo_n "checking for suffix of executables... " >&6; } | |
2865 | if { (ac_try="$ac_link" | |
2866 | case "(($ac_try" in | |
2867 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2868 | *) ac_try_echo=$ac_try;; | |
2869 | esac | |
2870 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2871 | $as_echo "$ac_try_echo") >&5 | |
2872 | (eval "$ac_link") 2>&5 | |
2873 | ac_status=$? | |
2874 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2875 | (exit $ac_status); }; then | |
2876 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
2877 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
2878 | # work properly (i.e., refer to `conftest.exe'), while it won't with | |
2879 | # `rm'. | |
2880 | for ac_file in conftest.exe conftest conftest.*; do | |
2881 | test -f "$ac_file" || continue | |
2882 | case $ac_file in | |
2883 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
2884 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
2885 | break;; | |
2886 | * ) break;; | |
2887 | esac | |
2888 | done | |
2889 | else | |
2890 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
2891 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2892 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | |
2893 | See \`config.log' for more details." >&5 | |
2894 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | |
2895 | See \`config.log' for more details." >&2;} | |
2896 | { (exit 1); exit 1; }; }; } | |
2897 | fi | |
2898 | ||
2899 | rm -f conftest$ac_cv_exeext | |
2900 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | |
2901 | $as_echo "$ac_cv_exeext" >&6; } | |
2902 | ||
2903 | rm -f conftest.$ac_ext | |
2904 | EXEEXT=$ac_cv_exeext | |
2905 | ac_exeext=$EXEEXT | |
2906 | { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 | |
2907 | $as_echo_n "checking for suffix of object files... " >&6; } | |
2908 | if test "${ac_cv_objext+set}" = set; then | |
2909 | $as_echo_n "(cached) " >&6 | |
2910 | else | |
2911 | cat >conftest.$ac_ext <<_ACEOF | |
2912 | /* confdefs.h. */ | |
2913 | _ACEOF | |
2914 | cat confdefs.h >>conftest.$ac_ext | |
2915 | cat >>conftest.$ac_ext <<_ACEOF | |
2916 | /* end confdefs.h. */ | |
2917 | ||
2918 | int | |
2919 | main () | |
2920 | { | |
2921 | ||
2922 | ; | |
2923 | return 0; | |
2924 | } | |
2925 | _ACEOF | |
2926 | rm -f conftest.o conftest.obj | |
2927 | if { (ac_try="$ac_compile" | |
2928 | case "(($ac_try" in | |
2929 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2930 | *) ac_try_echo=$ac_try;; | |
2931 | esac | |
2932 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2933 | $as_echo "$ac_try_echo") >&5 | |
2934 | (eval "$ac_compile") 2>&5 | |
2935 | ac_status=$? | |
2936 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2937 | (exit $ac_status); }; then | |
2938 | for ac_file in conftest.o conftest.obj conftest.*; do | |
2939 | test -f "$ac_file" || continue; | |
2940 | case $ac_file in | |
2941 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | |
2942 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
2943 | break;; | |
2944 | esac | |
2945 | done | |
2946 | else | |
2947 | $as_echo "$as_me: failed program was:" >&5 | |
2948 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2949 | ||
2950 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
2951 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2952 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | |
2953 | See \`config.log' for more details." >&5 | |
2954 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile | |
2955 | See \`config.log' for more details." >&2;} | |
2956 | { (exit 1); exit 1; }; }; } | |
2957 | fi | |
2958 | ||
2959 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
2960 | fi | |
2961 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | |
2962 | $as_echo "$ac_cv_objext" >&6; } | |
2963 | OBJEXT=$ac_cv_objext | |
2964 | ac_objext=$OBJEXT | |
2965 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | |
2966 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
2967 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | |
2968 | $as_echo_n "(cached) " >&6 | |
2969 | else | |
2970 | cat >conftest.$ac_ext <<_ACEOF | |
2971 | /* confdefs.h. */ | |
2972 | _ACEOF | |
2973 | cat confdefs.h >>conftest.$ac_ext | |
2974 | cat >>conftest.$ac_ext <<_ACEOF | |
2975 | /* end confdefs.h. */ | |
2976 | ||
2977 | int | |
2978 | main () | |
2979 | { | |
2980 | #ifndef __GNUC__ | |
2981 | choke me | |
2982 | #endif | |
2983 | ||
2984 | ; | |
2985 | return 0; | |
2986 | } | |
2987 | _ACEOF | |
2988 | rm -f conftest.$ac_objext | |
2989 | if { (ac_try="$ac_compile" | |
2990 | case "(($ac_try" in | |
2991 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2992 | *) ac_try_echo=$ac_try;; | |
2993 | esac | |
2994 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2995 | $as_echo "$ac_try_echo") >&5 | |
2996 | (eval "$ac_compile") 2>conftest.er1 | |
2997 | ac_status=$? | |
2998 | grep -v '^ *+' conftest.er1 >conftest.err | |
2999 | rm -f conftest.er1 | |
3000 | cat conftest.err >&5 | |
3001 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3002 | (exit $ac_status); } && { | |
3003 | test -z "$ac_c_werror_flag" || | |
3004 | test ! -s conftest.err | |
3005 | } && test -s conftest.$ac_objext; then | |
3006 | ac_compiler_gnu=yes | |
3007 | else | |
3008 | $as_echo "$as_me: failed program was:" >&5 | |
3009 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3010 | ||
3011 | ac_compiler_gnu=no | |
3012 | fi | |
3013 | ||
3014 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3015 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
3016 | ||
3017 | fi | |
3018 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | |
3019 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
3020 | if test $ac_compiler_gnu = yes; then | |
3021 | GCC=yes | |
3022 | else | |
3023 | GCC= | |
3024 | fi | |
3025 | ac_test_CFLAGS=${CFLAGS+set} | |
3026 | ac_save_CFLAGS=$CFLAGS | |
3027 | { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | |
3028 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | |
3029 | if test "${ac_cv_prog_cc_g+set}" = set; then | |
3030 | $as_echo_n "(cached) " >&6 | |
3031 | else | |
3032 | ac_save_c_werror_flag=$ac_c_werror_flag | |
3033 | ac_c_werror_flag=yes | |
3034 | ac_cv_prog_cc_g=no | |
3035 | CFLAGS="-g" | |
3036 | cat >conftest.$ac_ext <<_ACEOF | |
3037 | /* confdefs.h. */ | |
3038 | _ACEOF | |
3039 | cat confdefs.h >>conftest.$ac_ext | |
3040 | cat >>conftest.$ac_ext <<_ACEOF | |
3041 | /* end confdefs.h. */ | |
3042 | ||
3043 | int | |
3044 | main () | |
3045 | { | |
3046 | ||
3047 | ; | |
3048 | return 0; | |
3049 | } | |
3050 | _ACEOF | |
3051 | rm -f conftest.$ac_objext | |
3052 | if { (ac_try="$ac_compile" | |
3053 | case "(($ac_try" in | |
3054 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3055 | *) ac_try_echo=$ac_try;; | |
3056 | esac | |
3057 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3058 | $as_echo "$ac_try_echo") >&5 | |
3059 | (eval "$ac_compile") 2>conftest.er1 | |
3060 | ac_status=$? | |
3061 | grep -v '^ *+' conftest.er1 >conftest.err | |
3062 | rm -f conftest.er1 | |
3063 | cat conftest.err >&5 | |
3064 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3065 | (exit $ac_status); } && { | |
3066 | test -z "$ac_c_werror_flag" || | |
3067 | test ! -s conftest.err | |
3068 | } && test -s conftest.$ac_objext; then | |
3069 | ac_cv_prog_cc_g=yes | |
3070 | else | |
3071 | $as_echo "$as_me: failed program was:" >&5 | |
3072 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3073 | ||
3074 | CFLAGS="" | |
3075 | cat >conftest.$ac_ext <<_ACEOF | |
3076 | /* confdefs.h. */ | |
3077 | _ACEOF | |
3078 | cat confdefs.h >>conftest.$ac_ext | |
3079 | cat >>conftest.$ac_ext <<_ACEOF | |
3080 | /* end confdefs.h. */ | |
3081 | ||
3082 | int | |
3083 | main () | |
3084 | { | |
3085 | ||
3086 | ; | |
3087 | return 0; | |
3088 | } | |
3089 | _ACEOF | |
3090 | rm -f conftest.$ac_objext | |
3091 | if { (ac_try="$ac_compile" | |
3092 | case "(($ac_try" in | |
3093 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3094 | *) ac_try_echo=$ac_try;; | |
3095 | esac | |
3096 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3097 | $as_echo "$ac_try_echo") >&5 | |
3098 | (eval "$ac_compile") 2>conftest.er1 | |
3099 | ac_status=$? | |
3100 | grep -v '^ *+' conftest.er1 >conftest.err | |
3101 | rm -f conftest.er1 | |
3102 | cat conftest.err >&5 | |
3103 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3104 | (exit $ac_status); } && { | |
3105 | test -z "$ac_c_werror_flag" || | |
3106 | test ! -s conftest.err | |
3107 | } && test -s conftest.$ac_objext; then | |
3108 | : | |
3109 | else | |
3110 | $as_echo "$as_me: failed program was:" >&5 | |
3111 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3112 | ||
3113 | ac_c_werror_flag=$ac_save_c_werror_flag | |
3114 | CFLAGS="-g" | |
3115 | cat >conftest.$ac_ext <<_ACEOF | |
3116 | /* confdefs.h. */ | |
3117 | _ACEOF | |
3118 | cat confdefs.h >>conftest.$ac_ext | |
3119 | cat >>conftest.$ac_ext <<_ACEOF | |
3120 | /* end confdefs.h. */ | |
3121 | ||
3122 | int | |
3123 | main () | |
3124 | { | |
3125 | ||
3126 | ; | |
3127 | return 0; | |
3128 | } | |
3129 | _ACEOF | |
3130 | rm -f conftest.$ac_objext | |
3131 | if { (ac_try="$ac_compile" | |
3132 | case "(($ac_try" in | |
3133 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3134 | *) ac_try_echo=$ac_try;; | |
3135 | esac | |
3136 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3137 | $as_echo "$ac_try_echo") >&5 | |
3138 | (eval "$ac_compile") 2>conftest.er1 | |
3139 | ac_status=$? | |
3140 | grep -v '^ *+' conftest.er1 >conftest.err | |
3141 | rm -f conftest.er1 | |
3142 | cat conftest.err >&5 | |
3143 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3144 | (exit $ac_status); } && { | |
3145 | test -z "$ac_c_werror_flag" || | |
3146 | test ! -s conftest.err | |
3147 | } && test -s conftest.$ac_objext; then | |
3148 | ac_cv_prog_cc_g=yes | |
3149 | else | |
3150 | $as_echo "$as_me: failed program was:" >&5 | |
3151 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3152 | ||
3153 | ||
3154 | fi | |
3155 | ||
3156 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3157 | fi | |
3158 | ||
3159 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3160 | fi | |
3161 | ||
3162 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3163 | ac_c_werror_flag=$ac_save_c_werror_flag | |
3164 | fi | |
3165 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | |
3166 | $as_echo "$ac_cv_prog_cc_g" >&6; } | |
3167 | if test "$ac_test_CFLAGS" = set; then | |
3168 | CFLAGS=$ac_save_CFLAGS | |
3169 | elif test $ac_cv_prog_cc_g = yes; then | |
3170 | if test "$GCC" = yes; then | |
3171 | CFLAGS="-g -O2" | |
3172 | else | |
3173 | CFLAGS="-g" | |
3174 | fi | |
3175 | else | |
3176 | if test "$GCC" = yes; then | |
3177 | CFLAGS="-O2" | |
3178 | else | |
3179 | CFLAGS= | |
3180 | fi | |
3181 | fi | |
3182 | { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | |
3183 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | |
3184 | if test "${ac_cv_prog_cc_c89+set}" = set; then | |
3185 | $as_echo_n "(cached) " >&6 | |
3186 | else | |
3187 | ac_cv_prog_cc_c89=no | |
3188 | ac_save_CC=$CC | |
3189 | cat >conftest.$ac_ext <<_ACEOF | |
3190 | /* confdefs.h. */ | |
3191 | _ACEOF | |
3192 | cat confdefs.h >>conftest.$ac_ext | |
3193 | cat >>conftest.$ac_ext <<_ACEOF | |
3194 | /* end confdefs.h. */ | |
3195 | #include <stdarg.h> | |
3196 | #include <stdio.h> | |
3197 | #include <sys/types.h> | |
3198 | #include <sys/stat.h> | |
3199 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
3200 | struct buf { int x; }; | |
3201 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
3202 | static char *e (p, i) | |
3203 | char **p; | |
3204 | int i; | |
3205 | { | |
3206 | return p[i]; | |
3207 | } | |
3208 | static char *f (char * (*g) (char **, int), char **p, ...) | |
3209 | { | |
3210 | char *s; | |
3211 | va_list v; | |
3212 | va_start (v,p); | |
3213 | s = g (p, va_arg (v,int)); | |
3214 | va_end (v); | |
3215 | return s; | |
3216 | } | |
3217 | ||
3218 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
3219 | function prototypes and stuff, but not '\xHH' hex character constants. | |
3220 | These don't provoke an error unfortunately, instead are silently treated | |
3221 | as 'x'. The following induces an error, until -std is added to get | |
3222 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
3223 | array size at least. It's necessary to write '\x00'==0 to get something | |
3224 | that's true only with -std. */ | |
3225 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
3226 | ||
3227 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
3228 | inside strings and character constants. */ | |
3229 | #define FOO(x) 'x' | |
3230 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
3231 | ||
3232 | int test (int i, double x); | |
3233 | struct s1 {int (*f) (int a);}; | |
3234 | struct s2 {int (*f) (double a);}; | |
3235 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
3236 | int argc; | |
3237 | char **argv; | |
3238 | int | |
3239 | main () | |
3240 | { | |
3241 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
3242 | ; | |
3243 | return 0; | |
3244 | } | |
3245 | _ACEOF | |
3246 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |
3247 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
3248 | do | |
3249 | CC="$ac_save_CC $ac_arg" | |
3250 | rm -f conftest.$ac_objext | |
3251 | if { (ac_try="$ac_compile" | |
3252 | case "(($ac_try" in | |
3253 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3254 | *) ac_try_echo=$ac_try;; | |
3255 | esac | |
3256 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3257 | $as_echo "$ac_try_echo") >&5 | |
3258 | (eval "$ac_compile") 2>conftest.er1 | |
3259 | ac_status=$? | |
3260 | grep -v '^ *+' conftest.er1 >conftest.err | |
3261 | rm -f conftest.er1 | |
3262 | cat conftest.err >&5 | |
3263 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3264 | (exit $ac_status); } && { | |
3265 | test -z "$ac_c_werror_flag" || | |
3266 | test ! -s conftest.err | |
3267 | } && test -s conftest.$ac_objext; then | |
3268 | ac_cv_prog_cc_c89=$ac_arg | |
3269 | else | |
3270 | $as_echo "$as_me: failed program was:" >&5 | |
3271 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3272 | ||
3273 | ||
3274 | fi | |
3275 | ||
3276 | rm -f core conftest.err conftest.$ac_objext | |
3277 | test "x$ac_cv_prog_cc_c89" != "xno" && break | |
3278 | done | |
3279 | rm -f conftest.$ac_ext | |
3280 | CC=$ac_save_CC | |
3281 | ||
3282 | fi | |
3283 | # AC_CACHE_VAL | |
3284 | case "x$ac_cv_prog_cc_c89" in | |
3285 | x) | |
3286 | { $as_echo "$as_me:$LINENO: result: none needed" >&5 | |
3287 | $as_echo "none needed" >&6; } ;; | |
3288 | xno) | |
3289 | { $as_echo "$as_me:$LINENO: result: unsupported" >&5 | |
3290 | $as_echo "unsupported" >&6; } ;; | |
3291 | *) | |
3292 | CC="$CC $ac_cv_prog_cc_c89" | |
3293 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | |
3294 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
3295 | esac | |
3296 | ||
3297 | ||
3298 | ac_ext=c | |
3299 | ac_cpp='$CPP $CPPFLAGS' | |
3300 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3301 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3302 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3303 | DEPDIR="${am__leading_dot}deps" | |
3304 | ||
3305 | ac_config_commands="$ac_config_commands depfiles" | |
3306 | ||
3307 | ||
3308 | am_make=${MAKE-make} | |
3309 | cat > confinc << 'END' | |
3310 | am__doit: | |
3311 | @echo done | |
3312 | .PHONY: am__doit | |
3313 | END | |
3314 | # If we don't find an include directive, just comment out the code. | |
3315 | { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | |
3316 | $as_echo_n "checking for style of include used by $am_make... " >&6; } | |
3317 | am__include="#" | |
3318 | am__quote= | |
3319 | _am_result=none | |
3320 | # First try GNU make style include. | |
3321 | echo "include confinc" > confmf | |
3322 | # We grep out `Entering directory' and `Leaving directory' | |
3323 | # messages which can occur if `w' ends up in MAKEFLAGS. | |
3324 | # In particular we don't look at `^make:' because GNU make might | |
3325 | # be invoked under some other name (usually "gmake"), in which | |
3326 | # case it prints its new name instead of `make'. | |
3327 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then | |
3328 | am__include=include | |
3329 | am__quote= | |
3330 | _am_result=GNU | |
3331 | fi | |
3332 | # Now try BSD make style include. | |
3333 | if test "$am__include" = "#"; then | |
3334 | echo '.include "confinc"' > confmf | |
3335 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then | |
3336 | am__include=.include | |
3337 | am__quote="\"" | |
3338 | _am_result=BSD | |
3339 | fi | |
3340 | fi | |
3341 | ||
3342 | ||
3343 | { $as_echo "$as_me:$LINENO: result: $_am_result" >&5 | |
3344 | $as_echo "$_am_result" >&6; } | |
3345 | rm -f confinc confmf | |
3346 | ||
3347 | @%:@ Check whether --enable-dependency-tracking was given. | |
3348 | if test "${enable_dependency_tracking+set}" = set; then | |
3349 | enableval=$enable_dependency_tracking; | |
3350 | fi | |
3351 | ||
3352 | if test "x$enable_dependency_tracking" != xno; then | |
3353 | am_depcomp="$ac_aux_dir/depcomp" | |
3354 | AMDEPBACKSLASH='\' | |
3355 | fi | |
3356 | if test "x$enable_dependency_tracking" != xno; then | |
3357 | AMDEP_TRUE= | |
3358 | AMDEP_FALSE='#' | |
3359 | else | |
3360 | AMDEP_TRUE='#' | |
3361 | AMDEP_FALSE= | |
3362 | fi | |
3363 | ||
3364 | ||
3365 | ||
3366 | depcc="$CC" am_compiler_list= | |
3367 | ||
3368 | { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | |
3369 | $as_echo_n "checking dependency style of $depcc... " >&6; } | |
3370 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | |
3371 | $as_echo_n "(cached) " >&6 | |
3372 | else | |
3373 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
3374 | # We make a subdir and do the tests there. Otherwise we can end up | |
3375 | # making bogus files that we don't know about and never remove. For | |
3376 | # instance it was reported that on HP-UX the gcc test will end up | |
3377 | # making a dummy file named `D' -- because `-MD' means `put the output | |
3378 | # in D'. | |
3379 | mkdir conftest.dir | |
3380 | # Copy depcomp to subdir because otherwise we won't find it if we're | |
3381 | # using a relative directory. | |
3382 | cp "$am_depcomp" conftest.dir | |
3383 | cd conftest.dir | |
3384 | # We will build objects and dependencies in a subdirectory because | |
3385 | # it helps to detect inapplicable dependency modes. For instance | |
3386 | # both Tru64's cc and ICC support -MD to output dependencies as a | |
3387 | # side effect of compilation, but ICC will put the dependencies in | |
3388 | # the current directory while Tru64 will put them in the object | |
3389 | # directory. | |
3390 | mkdir sub | |
3391 | ||
3392 | am_cv_CC_dependencies_compiler_type=none | |
3393 | if test "$am_compiler_list" = ""; then | |
3394 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | |
3395 | fi | |
3396 | for depmode in $am_compiler_list; do | |
3397 | # Setup a source with many dependencies, because some compilers | |
3398 | # like to wrap large dependency lists on column 80 (with \), and | |
3399 | # we should not choose a depcomp mode which is confused by this. | |
3400 | # | |
3401 | # We need to recreate these files for each test, as the compiler may | |
3402 | # overwrite some of them when testing with obscure command lines. | |
3403 | # This happens at least with the AIX C compiler. | |
3404 | : > sub/conftest.c | |
3405 | for i in 1 2 3 4 5 6; do | |
3406 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
3407 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
3408 | # Solaris 8's {/usr,}/bin/sh. | |
3409 | touch sub/conftst$i.h | |
3410 | done | |
3411 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
3412 | ||
3413 | case $depmode in | |
3414 | nosideeffect) | |
3415 | # after this tag, mechanisms are not by side-effect, so they'll | |
3416 | # only be used when explicitly requested | |
3417 | if test "x$enable_dependency_tracking" = xyes; then | |
3418 | continue | |
3419 | else | |
3420 | break | |
3421 | fi | |
3422 | ;; | |
3423 | none) break ;; | |
3424 | esac | |
3425 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
3426 | # mode. It turns out that the SunPro C++ compiler does not properly | |
3427 | # handle `-M -o', and we need to detect this. | |
3428 | if depmode=$depmode \ | |
3429 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | |
3430 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
3431 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | |
3432 | >/dev/null 2>conftest.err && | |
3433 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
3434 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
3435 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | |
3436 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
3437 | # icc doesn't choke on unknown options, it will just issue warnings | |
3438 | # or remarks (even with -Werror). So we grep stderr for any message | |
3439 | # that says an option was ignored or not supported. | |
3440 | # When given -MP, icc 7.0 and 7.1 complain thusly: | |
3441 | # icc: Command line warning: ignoring option '-M'; no argument required | |
3442 | # The diagnosis changed in icc 8.0: | |
3443 | # icc: Command line remark: option '-MP' not supported | |
3444 | if (grep 'ignoring option' conftest.err || | |
3445 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
3446 | am_cv_CC_dependencies_compiler_type=$depmode | |
3447 | break | |
3448 | fi | |
3449 | fi | |
3450 | done | |
3451 | ||
3452 | cd .. | |
3453 | rm -rf conftest.dir | |
3454 | else | |
3455 | am_cv_CC_dependencies_compiler_type=none | |
3456 | fi | |
3457 | ||
3458 | fi | |
3459 | { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | |
3460 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | |
3461 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | |
3462 | ||
3463 | if | |
3464 | test "x$enable_dependency_tracking" != xno \ | |
3465 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | |
3466 | am__fastdepCC_TRUE= | |
3467 | am__fastdepCC_FALSE='#' | |
3468 | else | |
3469 | am__fastdepCC_TRUE='#' | |
3470 | am__fastdepCC_FALSE= | |
3471 | fi | |
3472 | ||
3473 | ||
3474 | # Find a good install program. We prefer a C program (faster), | |
3475 | # so one script is as good as another. But avoid the broken or | |
3476 | # incompatible versions: | |
3477 | # SysV /etc/install, /usr/sbin/install | |
3478 | # SunOS /usr/etc/install | |
3479 | # IRIX /sbin/install | |
3480 | # AIX /bin/install | |
3481 | # AmigaOS /C/install, which installs bootblocks on floppy discs | |
3482 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
3483 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
3484 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
3485 | # OS/2's system install, which has a completely different semantic | |
3486 | # ./install, which can be erroneously created by make from ./install.sh. | |
3487 | # Reject install programs that cannot install multiple files. | |
3488 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | |
3489 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
3490 | if test -z "$INSTALL"; then | |
3491 | if test "${ac_cv_path_install+set}" = set; then | |
3492 | $as_echo_n "(cached) " >&6 | |
3493 | else | |
3494 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3495 | for as_dir in $PATH | |
3496 | do | |
3497 | IFS=$as_save_IFS | |
3498 | test -z "$as_dir" && as_dir=. | |
3499 | # Account for people who put trailing slashes in PATH elements. | |
3500 | case $as_dir/ in | |
3501 | ./ | .// | /cC/* | \ | |
3502 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
3503 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | |
3504 | /usr/ucb/* ) ;; | |
3505 | *) | |
3506 | # OSF1 and SCO ODT 3.0 have their own names for install. | |
3507 | # Don't use installbsd from OSF since it installs stuff as root | |
3508 | # by default. | |
3509 | for ac_prog in ginstall scoinst install; do | |
3510 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3511 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | |
3512 | if test $ac_prog = install && | |
3513 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
3514 | # AIX install. It has an incompatible calling convention. | |
3515 | : | |
3516 | elif test $ac_prog = install && | |
3517 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
3518 | # program-specific install script used by HP pwplus--don't use. | |
3519 | : | |
3520 | else | |
3521 | rm -rf conftest.one conftest.two conftest.dir | |
3522 | echo one > conftest.one | |
3523 | echo two > conftest.two | |
3524 | mkdir conftest.dir | |
3525 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
3526 | test -s conftest.one && test -s conftest.two && | |
3527 | test -s conftest.dir/conftest.one && | |
3528 | test -s conftest.dir/conftest.two | |
3529 | then | |
3530 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
3531 | break 3 | |
3532 | fi | |
3533 | fi | |
3534 | fi | |
3535 | done | |
3536 | done | |
3537 | ;; | |
3538 | esac | |
3539 | ||
3540 | done | |
3541 | IFS=$as_save_IFS | |
3542 | ||
3543 | rm -rf conftest.one conftest.two conftest.dir | |
3544 | ||
3545 | fi | |
3546 | if test "${ac_cv_path_install+set}" = set; then | |
3547 | INSTALL=$ac_cv_path_install | |
3548 | else | |
3549 | # As a last resort, use the slow shell script. Don't cache a | |
3550 | # value for INSTALL within a source directory, because that will | |
3551 | # break other packages using the cache if that directory is | |
3552 | # removed, or if the value is a relative name. | |
3553 | INSTALL=$ac_install_sh | |
3554 | fi | |
3555 | fi | |
3556 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 | |
3557 | $as_echo "$INSTALL" >&6; } | |
3558 | ||
3559 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
3560 | # It thinks the first close brace ends the variable substitution. | |
3561 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
3562 | ||
3563 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
3564 | ||
3565 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
3566 | ||
3567 | ||
3568 | # Checks for header files. | |
3569 | ||
3570 | ac_ext=c | |
3571 | ac_cpp='$CPP $CPPFLAGS' | |
3572 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3573 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3574 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3575 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | |
3576 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | |
3577 | # On Suns, sometimes $CPP names a directory. | |
3578 | if test -n "$CPP" && test -d "$CPP"; then | |
3579 | CPP= | |
3580 | fi | |
3581 | if test -z "$CPP"; then | |
3582 | if test "${ac_cv_prog_CPP+set}" = set; then | |
3583 | $as_echo_n "(cached) " >&6 | |
3584 | else | |
3585 | # Double quotes because CPP needs to be expanded | |
3586 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
3587 | do | |
3588 | ac_preproc_ok=false | |
3589 | for ac_c_preproc_warn_flag in '' yes | |
3590 | do | |
3591 | # Use a header file that comes with gcc, so configuring glibc | |
3592 | # with a fresh cross-compiler works. | |
3593 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3594 | # <limits.h> exists even on freestanding compilers. | |
3595 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
3596 | # not just through cpp. "Syntax error" is here to catch this case. | |
3597 | cat >conftest.$ac_ext <<_ACEOF | |
3598 | /* confdefs.h. */ | |
3599 | _ACEOF | |
3600 | cat confdefs.h >>conftest.$ac_ext | |
3601 | cat >>conftest.$ac_ext <<_ACEOF | |
3602 | /* end confdefs.h. */ | |
3603 | @%:@ifdef __STDC__ | |
3604 | @%:@ include <limits.h> | |
3605 | @%:@else | |
3606 | @%:@ include <assert.h> | |
3607 | @%:@endif | |
3608 | Syntax error | |
3609 | _ACEOF | |
3610 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
3611 | case "(($ac_try" in | |
3612 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3613 | *) ac_try_echo=$ac_try;; | |
3614 | esac | |
3615 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3616 | $as_echo "$ac_try_echo") >&5 | |
3617 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3618 | ac_status=$? | |
3619 | grep -v '^ *+' conftest.er1 >conftest.err | |
3620 | rm -f conftest.er1 | |
3621 | cat conftest.err >&5 | |
3622 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3623 | (exit $ac_status); } >/dev/null && { | |
3624 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3625 | test ! -s conftest.err | |
3626 | }; then | |
3627 | : | |
3628 | else | |
3629 | $as_echo "$as_me: failed program was:" >&5 | |
3630 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3631 | ||
3632 | # Broken: fails on valid input. | |
3633 | continue | |
3634 | fi | |
3635 | ||
3636 | rm -f conftest.err conftest.$ac_ext | |
3637 | ||
3638 | # OK, works on sane cases. Now check whether nonexistent headers | |
3639 | # can be detected and how. | |
3640 | cat >conftest.$ac_ext <<_ACEOF | |
3641 | /* confdefs.h. */ | |
3642 | _ACEOF | |
3643 | cat confdefs.h >>conftest.$ac_ext | |
3644 | cat >>conftest.$ac_ext <<_ACEOF | |
3645 | /* end confdefs.h. */ | |
3646 | @%:@include <ac_nonexistent.h> | |
3647 | _ACEOF | |
3648 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
3649 | case "(($ac_try" in | |
3650 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3651 | *) ac_try_echo=$ac_try;; | |
3652 | esac | |
3653 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3654 | $as_echo "$ac_try_echo") >&5 | |
3655 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3656 | ac_status=$? | |
3657 | grep -v '^ *+' conftest.er1 >conftest.err | |
3658 | rm -f conftest.er1 | |
3659 | cat conftest.err >&5 | |
3660 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3661 | (exit $ac_status); } >/dev/null && { | |
3662 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3663 | test ! -s conftest.err | |
3664 | }; then | |
3665 | # Broken: success on invalid input. | |
3666 | continue | |
3667 | else | |
3668 | $as_echo "$as_me: failed program was:" >&5 | |
3669 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3670 | ||
3671 | # Passes both tests. | |
3672 | ac_preproc_ok=: | |
3673 | break | |
3674 | fi | |
3675 | ||
3676 | rm -f conftest.err conftest.$ac_ext | |
3677 | ||
3678 | done | |
3679 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
3680 | rm -f conftest.err conftest.$ac_ext | |
3681 | if $ac_preproc_ok; then | |
3682 | break | |
3683 | fi | |
3684 | ||
3685 | done | |
3686 | ac_cv_prog_CPP=$CPP | |
3687 | ||
3688 | fi | |
3689 | CPP=$ac_cv_prog_CPP | |
3690 | else | |
3691 | ac_cv_prog_CPP=$CPP | |
3692 | fi | |
3693 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 | |
3694 | $as_echo "$CPP" >&6; } | |
3695 | ac_preproc_ok=false | |
3696 | for ac_c_preproc_warn_flag in '' yes | |
3697 | do | |
3698 | # Use a header file that comes with gcc, so configuring glibc | |
3699 | # with a fresh cross-compiler works. | |
3700 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3701 | # <limits.h> exists even on freestanding compilers. | |
3702 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
3703 | # not just through cpp. "Syntax error" is here to catch this case. | |
3704 | cat >conftest.$ac_ext <<_ACEOF | |
3705 | /* confdefs.h. */ | |
3706 | _ACEOF | |
3707 | cat confdefs.h >>conftest.$ac_ext | |
3708 | cat >>conftest.$ac_ext <<_ACEOF | |
3709 | /* end confdefs.h. */ | |
3710 | @%:@ifdef __STDC__ | |
3711 | @%:@ include <limits.h> | |
3712 | @%:@else | |
3713 | @%:@ include <assert.h> | |
3714 | @%:@endif | |
3715 | Syntax error | |
3716 | _ACEOF | |
3717 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
3718 | case "(($ac_try" in | |
3719 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3720 | *) ac_try_echo=$ac_try;; | |
3721 | esac | |
3722 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3723 | $as_echo "$ac_try_echo") >&5 | |
3724 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3725 | ac_status=$? | |
3726 | grep -v '^ *+' conftest.er1 >conftest.err | |
3727 | rm -f conftest.er1 | |
3728 | cat conftest.err >&5 | |
3729 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3730 | (exit $ac_status); } >/dev/null && { | |
3731 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3732 | test ! -s conftest.err | |
3733 | }; then | |
3734 | : | |
3735 | else | |
3736 | $as_echo "$as_me: failed program was:" >&5 | |
3737 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3738 | ||
3739 | # Broken: fails on valid input. | |
3740 | continue | |
3741 | fi | |
3742 | ||
3743 | rm -f conftest.err conftest.$ac_ext | |
3744 | ||
3745 | # OK, works on sane cases. Now check whether nonexistent headers | |
3746 | # can be detected and how. | |
3747 | cat >conftest.$ac_ext <<_ACEOF | |
3748 | /* confdefs.h. */ | |
3749 | _ACEOF | |
3750 | cat confdefs.h >>conftest.$ac_ext | |
3751 | cat >>conftest.$ac_ext <<_ACEOF | |
3752 | /* end confdefs.h. */ | |
3753 | @%:@include <ac_nonexistent.h> | |
3754 | _ACEOF | |
3755 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
3756 | case "(($ac_try" in | |
3757 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3758 | *) ac_try_echo=$ac_try;; | |
3759 | esac | |
3760 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3761 | $as_echo "$ac_try_echo") >&5 | |
3762 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3763 | ac_status=$? | |
3764 | grep -v '^ *+' conftest.er1 >conftest.err | |
3765 | rm -f conftest.er1 | |
3766 | cat conftest.err >&5 | |
3767 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3768 | (exit $ac_status); } >/dev/null && { | |
3769 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3770 | test ! -s conftest.err | |
3771 | }; then | |
3772 | # Broken: success on invalid input. | |
3773 | continue | |
3774 | else | |
3775 | $as_echo "$as_me: failed program was:" >&5 | |
3776 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3777 | ||
3778 | # Passes both tests. | |
3779 | ac_preproc_ok=: | |
3780 | break | |
3781 | fi | |
3782 | ||
3783 | rm -f conftest.err conftest.$ac_ext | |
3784 | ||
3785 | done | |
3786 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
3787 | rm -f conftest.err conftest.$ac_ext | |
3788 | if $ac_preproc_ok; then | |
3789 | : | |
3790 | else | |
3791 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
3792 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3793 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | |
3794 | See \`config.log' for more details." >&5 | |
3795 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | |
3796 | See \`config.log' for more details." >&2;} | |
3797 | { (exit 1); exit 1; }; }; } | |
3798 | fi | |
3799 | ||
3800 | ac_ext=c | |
3801 | ac_cpp='$CPP $CPPFLAGS' | |
3802 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3803 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3804 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3805 | ||
3806 | ||
3807 | { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 | |
3808 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | |
3809 | if test "${ac_cv_path_GREP+set}" = set; then | |
3810 | $as_echo_n "(cached) " >&6 | |
3811 | else | |
3812 | if test -z "$GREP"; then | |
3813 | ac_path_GREP_found=false | |
3814 | # Loop through the user's path and test for each of PROGNAME-LIST | |
3815 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3816 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
3817 | do | |
3818 | IFS=$as_save_IFS | |
3819 | test -z "$as_dir" && as_dir=. | |
3820 | for ac_prog in grep ggrep; do | |
3821 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3822 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
3823 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | |
3824 | # Check for GNU ac_path_GREP and select it if it is found. | |
3825 | # Check for GNU $ac_path_GREP | |
3826 | case `"$ac_path_GREP" --version 2>&1` in | |
3827 | *GNU*) | |
3828 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
3829 | *) | |
3830 | ac_count=0 | |
3831 | $as_echo_n 0123456789 >"conftest.in" | |
3832 | while : | |
3833 | do | |
3834 | cat "conftest.in" "conftest.in" >"conftest.tmp" | |
3835 | mv "conftest.tmp" "conftest.in" | |
3836 | cp "conftest.in" "conftest.nl" | |
3837 | $as_echo 'GREP' >> "conftest.nl" | |
3838 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
3839 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
3840 | ac_count=`expr $ac_count + 1` | |
3841 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
3842 | # Best one so far, save it but keep looking for a better one | |
3843 | ac_cv_path_GREP="$ac_path_GREP" | |
3844 | ac_path_GREP_max=$ac_count | |
3845 | fi | |
3846 | # 10*(2^10) chars as input seems more than enough | |
3847 | test $ac_count -gt 10 && break | |
3848 | done | |
3849 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
3850 | esac | |
3851 | ||
3852 | $ac_path_GREP_found && break 3 | |
3853 | done | |
3854 | done | |
3855 | done | |
3856 | IFS=$as_save_IFS | |
3857 | if test -z "$ac_cv_path_GREP"; then | |
3858 | { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
3859 | $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
3860 | { (exit 1); exit 1; }; } | |
3861 | fi | |
3862 | else | |
3863 | ac_cv_path_GREP=$GREP | |
3864 | fi | |
3865 | ||
3866 | fi | |
3867 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | |
3868 | $as_echo "$ac_cv_path_GREP" >&6; } | |
3869 | GREP="$ac_cv_path_GREP" | |
3870 | ||
3871 | ||
3872 | { $as_echo "$as_me:$LINENO: checking for egrep" >&5 | |
3873 | $as_echo_n "checking for egrep... " >&6; } | |
3874 | if test "${ac_cv_path_EGREP+set}" = set; then | |
3875 | $as_echo_n "(cached) " >&6 | |
3876 | else | |
3877 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
3878 | then ac_cv_path_EGREP="$GREP -E" | |
3879 | else | |
3880 | if test -z "$EGREP"; then | |
3881 | ac_path_EGREP_found=false | |
3882 | # Loop through the user's path and test for each of PROGNAME-LIST | |
3883 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3884 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
3885 | do | |
3886 | IFS=$as_save_IFS | |
3887 | test -z "$as_dir" && as_dir=. | |
3888 | for ac_prog in egrep; do | |
3889 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3890 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
3891 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | |
3892 | # Check for GNU ac_path_EGREP and select it if it is found. | |
3893 | # Check for GNU $ac_path_EGREP | |
3894 | case `"$ac_path_EGREP" --version 2>&1` in | |
3895 | *GNU*) | |
3896 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
3897 | *) | |
3898 | ac_count=0 | |
3899 | $as_echo_n 0123456789 >"conftest.in" | |
3900 | while : | |
3901 | do | |
3902 | cat "conftest.in" "conftest.in" >"conftest.tmp" | |
3903 | mv "conftest.tmp" "conftest.in" | |
3904 | cp "conftest.in" "conftest.nl" | |
3905 | $as_echo 'EGREP' >> "conftest.nl" | |
3906 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
3907 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
3908 | ac_count=`expr $ac_count + 1` | |
3909 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
3910 | # Best one so far, save it but keep looking for a better one | |
3911 | ac_cv_path_EGREP="$ac_path_EGREP" | |
3912 | ac_path_EGREP_max=$ac_count | |
3913 | fi | |
3914 | # 10*(2^10) chars as input seems more than enough | |
3915 | test $ac_count -gt 10 && break | |
3916 | done | |
3917 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
3918 | esac | |
3919 | ||
3920 | $ac_path_EGREP_found && break 3 | |
3921 | done | |
3922 | done | |
3923 | done | |
3924 | IFS=$as_save_IFS | |
3925 | if test -z "$ac_cv_path_EGREP"; then | |
3926 | { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
3927 | $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
3928 | { (exit 1); exit 1; }; } | |
3929 | fi | |
3930 | else | |
3931 | ac_cv_path_EGREP=$EGREP | |
3932 | fi | |
3933 | ||
3934 | fi | |
3935 | fi | |
3936 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | |
3937 | $as_echo "$ac_cv_path_EGREP" >&6; } | |
3938 | EGREP="$ac_cv_path_EGREP" | |
3939 | ||
3940 | ||
3941 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | |
3942 | $as_echo_n "checking for ANSI C header files... " >&6; } | |
3943 | if test "${ac_cv_header_stdc+set}" = set; then | |
3944 | $as_echo_n "(cached) " >&6 | |
3945 | else | |
3946 | cat >conftest.$ac_ext <<_ACEOF | |
3947 | /* confdefs.h. */ | |
3948 | _ACEOF | |
3949 | cat confdefs.h >>conftest.$ac_ext | |
3950 | cat >>conftest.$ac_ext <<_ACEOF | |
3951 | /* end confdefs.h. */ | |
3952 | #include <stdlib.h> | |
3953 | #include <stdarg.h> | |
3954 | #include <string.h> | |
3955 | #include <float.h> | |
3956 | ||
3957 | int | |
3958 | main () | |
3959 | { | |
3960 | ||
3961 | ; | |
3962 | return 0; | |
3963 | } | |
3964 | _ACEOF | |
3965 | rm -f conftest.$ac_objext | |
3966 | if { (ac_try="$ac_compile" | |
3967 | case "(($ac_try" in | |
3968 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3969 | *) ac_try_echo=$ac_try;; | |
3970 | esac | |
3971 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3972 | $as_echo "$ac_try_echo") >&5 | |
3973 | (eval "$ac_compile") 2>conftest.er1 | |
3974 | ac_status=$? | |
3975 | grep -v '^ *+' conftest.er1 >conftest.err | |
3976 | rm -f conftest.er1 | |
3977 | cat conftest.err >&5 | |
3978 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3979 | (exit $ac_status); } && { | |
3980 | test -z "$ac_c_werror_flag" || | |
3981 | test ! -s conftest.err | |
3982 | } && test -s conftest.$ac_objext; then | |
3983 | ac_cv_header_stdc=yes | |
3984 | else | |
3985 | $as_echo "$as_me: failed program was:" >&5 | |
3986 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3987 | ||
3988 | ac_cv_header_stdc=no | |
3989 | fi | |
3990 | ||
3991 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3992 | ||
3993 | if test $ac_cv_header_stdc = yes; then | |
3994 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
3995 | cat >conftest.$ac_ext <<_ACEOF | |
3996 | /* confdefs.h. */ | |
3997 | _ACEOF | |
3998 | cat confdefs.h >>conftest.$ac_ext | |
3999 | cat >>conftest.$ac_ext <<_ACEOF | |
4000 | /* end confdefs.h. */ | |
4001 | #include <string.h> | |
4002 | ||
4003 | _ACEOF | |
4004 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
4005 | $EGREP "memchr" >/dev/null 2>&1; then | |
4006 | : | |
4007 | else | |
4008 | ac_cv_header_stdc=no | |
4009 | fi | |
4010 | rm -f conftest* | |
4011 | ||
4012 | fi | |
4013 | ||
4014 | if test $ac_cv_header_stdc = yes; then | |
4015 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
4016 | cat >conftest.$ac_ext <<_ACEOF | |
4017 | /* confdefs.h. */ | |
4018 | _ACEOF | |
4019 | cat confdefs.h >>conftest.$ac_ext | |
4020 | cat >>conftest.$ac_ext <<_ACEOF | |
4021 | /* end confdefs.h. */ | |
4022 | #include <stdlib.h> | |
4023 | ||
4024 | _ACEOF | |
4025 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
4026 | $EGREP "free" >/dev/null 2>&1; then | |
4027 | : | |
4028 | else | |
4029 | ac_cv_header_stdc=no | |
4030 | fi | |
4031 | rm -f conftest* | |
4032 | ||
4033 | fi | |
4034 | ||
4035 | if test $ac_cv_header_stdc = yes; then | |
4036 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
4037 | if test "$cross_compiling" = yes; then | |
4038 | : | |
4039 | else | |
4040 | cat >conftest.$ac_ext <<_ACEOF | |
4041 | /* confdefs.h. */ | |
4042 | _ACEOF | |
4043 | cat confdefs.h >>conftest.$ac_ext | |
4044 | cat >>conftest.$ac_ext <<_ACEOF | |
4045 | /* end confdefs.h. */ | |
4046 | #include <ctype.h> | |
4047 | #include <stdlib.h> | |
4048 | #if ((' ' & 0x0FF) == 0x020) | |
4049 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
4050 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
4051 | #else | |
4052 | # define ISLOWER(c) \ | |
4053 | (('a' <= (c) && (c) <= 'i') \ | |
4054 | || ('j' <= (c) && (c) <= 'r') \ | |
4055 | || ('s' <= (c) && (c) <= 'z')) | |
4056 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
4057 | #endif | |
4058 | ||
4059 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
4060 | int | |
4061 | main () | |
4062 | { | |
4063 | int i; | |
4064 | for (i = 0; i < 256; i++) | |
4065 | if (XOR (islower (i), ISLOWER (i)) | |
4066 | || toupper (i) != TOUPPER (i)) | |
4067 | return 2; | |
4068 | return 0; | |
4069 | } | |
4070 | _ACEOF | |
4071 | rm -f conftest$ac_exeext | |
4072 | if { (ac_try="$ac_link" | |
4073 | case "(($ac_try" in | |
4074 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4075 | *) ac_try_echo=$ac_try;; | |
4076 | esac | |
4077 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4078 | $as_echo "$ac_try_echo") >&5 | |
4079 | (eval "$ac_link") 2>&5 | |
4080 | ac_status=$? | |
4081 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4082 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
4083 | { (case "(($ac_try" in | |
4084 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4085 | *) ac_try_echo=$ac_try;; | |
4086 | esac | |
4087 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4088 | $as_echo "$ac_try_echo") >&5 | |
4089 | (eval "$ac_try") 2>&5 | |
4090 | ac_status=$? | |
4091 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4092 | (exit $ac_status); }; }; then | |
4093 | : | |
4094 | else | |
4095 | $as_echo "$as_me: program exited with status $ac_status" >&5 | |
4096 | $as_echo "$as_me: failed program was:" >&5 | |
4097 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4098 | ||
4099 | ( exit $ac_status ) | |
4100 | ac_cv_header_stdc=no | |
4101 | fi | |
4102 | rm -rf conftest.dSYM | |
4103 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
4104 | fi | |
4105 | ||
4106 | ||
4107 | fi | |
4108 | fi | |
4109 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
4110 | $as_echo "$ac_cv_header_stdc" >&6; } | |
4111 | if test $ac_cv_header_stdc = yes; then | |
4112 | ||
4113 | cat >>confdefs.h <<\_ACEOF | |
4114 | @%:@define STDC_HEADERS 1 | |
4115 | _ACEOF | |
4116 | ||
4117 | fi | |
4118 | ||
4119 | ||
4120 | # following is not really necessary, since it is already done by preceding | |
4121 | # macro, but it shows how to extend HAVE_ macros to other headers. | |
4122 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
4123 | ||
4124 | ||
4125 | ||
4126 | ||
4127 | ||
4128 | ||
4129 | ||
4130 | ||
4131 | ||
4132 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
4133 | inttypes.h stdint.h unistd.h | |
4134 | do | |
4135 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4136 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4137 | $as_echo_n "checking for $ac_header... " >&6; } | |
4138 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4139 | $as_echo_n "(cached) " >&6 | |
4140 | else | |
4141 | cat >conftest.$ac_ext <<_ACEOF | |
4142 | /* confdefs.h. */ | |
4143 | _ACEOF | |
4144 | cat confdefs.h >>conftest.$ac_ext | |
4145 | cat >>conftest.$ac_ext <<_ACEOF | |
4146 | /* end confdefs.h. */ | |
4147 | $ac_includes_default | |
4148 | ||
4149 | @%:@include <$ac_header> | |
4150 | _ACEOF | |
4151 | rm -f conftest.$ac_objext | |
4152 | if { (ac_try="$ac_compile" | |
4153 | case "(($ac_try" in | |
4154 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4155 | *) ac_try_echo=$ac_try;; | |
4156 | esac | |
4157 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4158 | $as_echo "$ac_try_echo") >&5 | |
4159 | (eval "$ac_compile") 2>conftest.er1 | |
4160 | ac_status=$? | |
4161 | grep -v '^ *+' conftest.er1 >conftest.err | |
4162 | rm -f conftest.er1 | |
4163 | cat conftest.err >&5 | |
4164 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4165 | (exit $ac_status); } && { | |
4166 | test -z "$ac_c_werror_flag" || | |
4167 | test ! -s conftest.err | |
4168 | } && test -s conftest.$ac_objext; then | |
4169 | eval "$as_ac_Header=yes" | |
4170 | else | |
4171 | $as_echo "$as_me: failed program was:" >&5 | |
4172 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4173 | ||
4174 | eval "$as_ac_Header=no" | |
4175 | fi | |
4176 | ||
4177 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4178 | fi | |
4179 | ac_res=`eval 'as_val=${'$as_ac_Header'} | |
4180 | $as_echo "$as_val"'` | |
4181 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4182 | $as_echo "$ac_res" >&6; } | |
4183 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
4184 | $as_echo "$as_val"'` | |
4185 | if test "x$as_val" = x""yes; then | |
4186 | cat >>confdefs.h <<_ACEOF | |
4187 | @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4188 | _ACEOF | |
4189 | ||
4190 | fi | |
4191 | ||
4192 | done | |
4193 | ||
4194 | ||
4195 | ||
4196 | ||
4197 | ||
4198 | ||
4199 | for ac_header in stdlib.h stdio.h ctype.h string.h | |
4200 | do | |
4201 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4202 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4203 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4204 | $as_echo_n "checking for $ac_header... " >&6; } | |
4205 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4206 | $as_echo_n "(cached) " >&6 | |
4207 | fi | |
4208 | ac_res=`eval 'as_val=${'$as_ac_Header'} | |
4209 | $as_echo "$as_val"'` | |
4210 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4211 | $as_echo "$ac_res" >&6; } | |
4212 | else | |
4213 | # Is the header compilable? | |
4214 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
4215 | $as_echo_n "checking $ac_header usability... " >&6; } | |
4216 | cat >conftest.$ac_ext <<_ACEOF | |
4217 | /* confdefs.h. */ | |
4218 | _ACEOF | |
4219 | cat confdefs.h >>conftest.$ac_ext | |
4220 | cat >>conftest.$ac_ext <<_ACEOF | |
4221 | /* end confdefs.h. */ | |
4222 | $ac_includes_default | |
4223 | @%:@include <$ac_header> | |
4224 | _ACEOF | |
4225 | rm -f conftest.$ac_objext | |
4226 | if { (ac_try="$ac_compile" | |
4227 | case "(($ac_try" in | |
4228 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4229 | *) ac_try_echo=$ac_try;; | |
4230 | esac | |
4231 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4232 | $as_echo "$ac_try_echo") >&5 | |
4233 | (eval "$ac_compile") 2>conftest.er1 | |
4234 | ac_status=$? | |
4235 | grep -v '^ *+' conftest.er1 >conftest.err | |
4236 | rm -f conftest.er1 | |
4237 | cat conftest.err >&5 | |
4238 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4239 | (exit $ac_status); } && { | |
4240 | test -z "$ac_c_werror_flag" || | |
4241 | test ! -s conftest.err | |
4242 | } && test -s conftest.$ac_objext; then | |
4243 | ac_header_compiler=yes | |
4244 | else | |
4245 | $as_echo "$as_me: failed program was:" >&5 | |
4246 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4247 | ||
4248 | ac_header_compiler=no | |
4249 | fi | |
4250 | ||
4251 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4252 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4253 | $as_echo "$ac_header_compiler" >&6; } | |
4254 | ||
4255 | # Is the header present? | |
4256 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
4257 | $as_echo_n "checking $ac_header presence... " >&6; } | |
4258 | cat >conftest.$ac_ext <<_ACEOF | |
4259 | /* confdefs.h. */ | |
4260 | _ACEOF | |
4261 | cat confdefs.h >>conftest.$ac_ext | |
4262 | cat >>conftest.$ac_ext <<_ACEOF | |
4263 | /* end confdefs.h. */ | |
4264 | @%:@include <$ac_header> | |
4265 | _ACEOF | |
4266 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
4267 | case "(($ac_try" in | |
4268 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4269 | *) ac_try_echo=$ac_try;; | |
4270 | esac | |
4271 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4272 | $as_echo "$ac_try_echo") >&5 | |
4273 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4274 | ac_status=$? | |
4275 | grep -v '^ *+' conftest.er1 >conftest.err | |
4276 | rm -f conftest.er1 | |
4277 | cat conftest.err >&5 | |
4278 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4279 | (exit $ac_status); } >/dev/null && { | |
4280 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4281 | test ! -s conftest.err | |
4282 | }; then | |
4283 | ac_header_preproc=yes | |
4284 | else | |
4285 | $as_echo "$as_me: failed program was:" >&5 | |
4286 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4287 | ||
4288 | ac_header_preproc=no | |
4289 | fi | |
4290 | ||
4291 | rm -f conftest.err conftest.$ac_ext | |
4292 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4293 | $as_echo "$ac_header_preproc" >&6; } | |
4294 | ||
4295 | # So? What about this header? | |
4296 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
4297 | yes:no: ) | |
4298 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4299 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4300 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
4301 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
4302 | ac_header_preproc=yes | |
4303 | ;; | |
4304 | no:yes:* ) | |
4305 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
4306 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
4307 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
4308 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
4309 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
4310 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
4311 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
4312 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
4313 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
4314 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
4315 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
4316 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
4317 | ( cat <<\_ASBOX | |
4318 | @%:@@%:@ -------------------------------- @%:@@%:@ | |
4319 | @%:@@%:@ Report this to bug-unrtf@gnu.org @%:@@%:@ | |
4320 | @%:@@%:@ -------------------------------- @%:@@%:@ | |
4321 | _ASBOX | |
4322 | ) | sed "s/^/$as_me: WARNING: /" >&2 | |
4323 | ;; | |
4324 | esac | |
4325 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4326 | $as_echo_n "checking for $ac_header... " >&6; } | |
4327 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4328 | $as_echo_n "(cached) " >&6 | |
4329 | else | |
4330 | eval "$as_ac_Header=\$ac_header_preproc" | |
4331 | fi | |
4332 | ac_res=`eval 'as_val=${'$as_ac_Header'} | |
4333 | $as_echo "$as_val"'` | |
4334 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4335 | $as_echo "$ac_res" >&6; } | |
4336 | ||
4337 | fi | |
4338 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
4339 | $as_echo "$as_val"'` | |
4340 | if test "x$as_val" = x""yes; then | |
4341 | cat >>confdefs.h <<_ACEOF | |
4342 | @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4343 | _ACEOF | |
4344 | ||
4345 | fi | |
4346 | ||
4347 | done | |
4348 | ||
4349 | ||
4350 | # Checks for typedefs, structures, and compiler characteristics. | |
4351 | ||
4352 | # Checks for library functions. | |
4353 | ||
4354 | for ac_header in stdlib.h | |
4355 | do | |
4356 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4357 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4358 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4359 | $as_echo_n "checking for $ac_header... " >&6; } | |
4360 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4361 | $as_echo_n "(cached) " >&6 | |
4362 | fi | |
4363 | ac_res=`eval 'as_val=${'$as_ac_Header'} | |
4364 | $as_echo "$as_val"'` | |
4365 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4366 | $as_echo "$ac_res" >&6; } | |
4367 | else | |
4368 | # Is the header compilable? | |
4369 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
4370 | $as_echo_n "checking $ac_header usability... " >&6; } | |
4371 | cat >conftest.$ac_ext <<_ACEOF | |
4372 | /* confdefs.h. */ | |
4373 | _ACEOF | |
4374 | cat confdefs.h >>conftest.$ac_ext | |
4375 | cat >>conftest.$ac_ext <<_ACEOF | |
4376 | /* end confdefs.h. */ | |
4377 | $ac_includes_default | |
4378 | @%:@include <$ac_header> | |
4379 | _ACEOF | |
4380 | rm -f conftest.$ac_objext | |
4381 | if { (ac_try="$ac_compile" | |
4382 | case "(($ac_try" in | |
4383 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4384 | *) ac_try_echo=$ac_try;; | |
4385 | esac | |
4386 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4387 | $as_echo "$ac_try_echo") >&5 | |
4388 | (eval "$ac_compile") 2>conftest.er1 | |
4389 | ac_status=$? | |
4390 | grep -v '^ *+' conftest.er1 >conftest.err | |
4391 | rm -f conftest.er1 | |
4392 | cat conftest.err >&5 | |
4393 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4394 | (exit $ac_status); } && { | |
4395 | test -z "$ac_c_werror_flag" || | |
4396 | test ! -s conftest.err | |
4397 | } && test -s conftest.$ac_objext; then | |
4398 | ac_header_compiler=yes | |
4399 | else | |
4400 | $as_echo "$as_me: failed program was:" >&5 | |
4401 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4402 | ||
4403 | ac_header_compiler=no | |
4404 | fi | |
4405 | ||
4406 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4407 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4408 | $as_echo "$ac_header_compiler" >&6; } | |
4409 | ||
4410 | # Is the header present? | |
4411 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
4412 | $as_echo_n "checking $ac_header presence... " >&6; } | |
4413 | cat >conftest.$ac_ext <<_ACEOF | |
4414 | /* confdefs.h. */ | |
4415 | _ACEOF | |
4416 | cat confdefs.h >>conftest.$ac_ext | |
4417 | cat >>conftest.$ac_ext <<_ACEOF | |
4418 | /* end confdefs.h. */ | |
4419 | @%:@include <$ac_header> | |
4420 | _ACEOF | |
4421 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
4422 | case "(($ac_try" in | |
4423 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4424 | *) ac_try_echo=$ac_try;; | |
4425 | esac | |
4426 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4427 | $as_echo "$ac_try_echo") >&5 | |
4428 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4429 | ac_status=$? | |
4430 | grep -v '^ *+' conftest.er1 >conftest.err | |
4431 | rm -f conftest.er1 | |
4432 | cat conftest.err >&5 | |
4433 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4434 | (exit $ac_status); } >/dev/null && { | |
4435 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4436 | test ! -s conftest.err | |
4437 | }; then | |
4438 | ac_header_preproc=yes | |
4439 | else | |
4440 | $as_echo "$as_me: failed program was:" >&5 | |
4441 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4442 | ||
4443 | ac_header_preproc=no | |
4444 | fi | |
4445 | ||
4446 | rm -f conftest.err conftest.$ac_ext | |
4447 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4448 | $as_echo "$ac_header_preproc" >&6; } | |
4449 | ||
4450 | # So? What about this header? | |
4451 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
4452 | yes:no: ) | |
4453 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4454 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4455 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
4456 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
4457 | ac_header_preproc=yes | |
4458 | ;; | |
4459 | no:yes:* ) | |
4460 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
4461 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
4462 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
4463 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
4464 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
4465 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
4466 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
4467 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
4468 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
4469 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
4470 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
4471 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
4472 | ( cat <<\_ASBOX | |
4473 | @%:@@%:@ -------------------------------- @%:@@%:@ | |
4474 | @%:@@%:@ Report this to bug-unrtf@gnu.org @%:@@%:@ | |
4475 | @%:@@%:@ -------------------------------- @%:@@%:@ | |
4476 | _ASBOX | |
4477 | ) | sed "s/^/$as_me: WARNING: /" >&2 | |
4478 | ;; | |
4479 | esac | |
4480 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4481 | $as_echo_n "checking for $ac_header... " >&6; } | |
4482 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4483 | $as_echo_n "(cached) " >&6 | |
4484 | else | |
4485 | eval "$as_ac_Header=\$ac_header_preproc" | |
4486 | fi | |
4487 | ac_res=`eval 'as_val=${'$as_ac_Header'} | |
4488 | $as_echo "$as_val"'` | |
4489 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4490 | $as_echo "$ac_res" >&6; } | |
4491 | ||
4492 | fi | |
4493 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
4494 | $as_echo "$as_val"'` | |
4495 | if test "x$as_val" = x""yes; then | |
4496 | cat >>confdefs.h <<_ACEOF | |
4497 | @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4498 | _ACEOF | |
4499 | ||
4500 | fi | |
4501 | ||
4502 | done | |
4503 | ||
4504 | { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 | |
4505 | $as_echo_n "checking for GNU libc compatible malloc... " >&6; } | |
4506 | if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then | |
4507 | $as_echo_n "(cached) " >&6 | |
4508 | else | |
4509 | if test "$cross_compiling" = yes; then | |
4510 | ac_cv_func_malloc_0_nonnull=no | |
4511 | else | |
4512 | cat >conftest.$ac_ext <<_ACEOF | |
4513 | /* confdefs.h. */ | |
4514 | _ACEOF | |
4515 | cat confdefs.h >>conftest.$ac_ext | |
4516 | cat >>conftest.$ac_ext <<_ACEOF | |
4517 | /* end confdefs.h. */ | |
4518 | #if defined STDC_HEADERS || defined HAVE_STDLIB_H | |
4519 | # include <stdlib.h> | |
4520 | #else | |
4521 | char *malloc (); | |
4522 | #endif | |
4523 | ||
4524 | int | |
4525 | main () | |
4526 | { | |
4527 | return ! malloc (0); | |
4528 | ; | |
4529 | return 0; | |
4530 | } | |
4531 | _ACEOF | |
4532 | rm -f conftest$ac_exeext | |
4533 | if { (ac_try="$ac_link" | |
4534 | case "(($ac_try" in | |
4535 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4536 | *) ac_try_echo=$ac_try;; | |
4537 | esac | |
4538 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4539 | $as_echo "$ac_try_echo") >&5 | |
4540 | (eval "$ac_link") 2>&5 | |
4541 | ac_status=$? | |
4542 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4543 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
4544 | { (case "(($ac_try" in | |
4545 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4546 | *) ac_try_echo=$ac_try;; | |
4547 | esac | |
4548 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4549 | $as_echo "$ac_try_echo") >&5 | |
4550 | (eval "$ac_try") 2>&5 | |
4551 | ac_status=$? | |
4552 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4553 | (exit $ac_status); }; }; then | |
4554 | ac_cv_func_malloc_0_nonnull=yes | |
4555 | else | |
4556 | $as_echo "$as_me: program exited with status $ac_status" >&5 | |
4557 | $as_echo "$as_me: failed program was:" >&5 | |
4558 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4559 | ||
4560 | ( exit $ac_status ) | |
4561 | ac_cv_func_malloc_0_nonnull=no | |
4562 | fi | |
4563 | rm -rf conftest.dSYM | |
4564 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
4565 | fi | |
4566 | ||
4567 | ||
4568 | fi | |
4569 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 | |
4570 | $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } | |
4571 | if test $ac_cv_func_malloc_0_nonnull = yes; then | |
4572 | ||
4573 | cat >>confdefs.h <<\_ACEOF | |
4574 | @%:@define HAVE_MALLOC 1 | |
4575 | _ACEOF | |
4576 | ||
4577 | else | |
4578 | cat >>confdefs.h <<\_ACEOF | |
4579 | @%:@define HAVE_MALLOC 0 | |
4580 | _ACEOF | |
4581 | ||
4582 | case " $LIB@&t@OBJS " in | |
4583 | *" malloc.$ac_objext "* ) ;; | |
4584 | *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext" | |
4585 | ;; | |
4586 | esac | |
4587 | ||
4588 | ||
4589 | cat >>confdefs.h <<\_ACEOF | |
4590 | @%:@define malloc rpl_malloc | |
4591 | _ACEOF | |
4592 | ||
4593 | fi | |
4594 | ||
4595 | ||
4596 | ||
4597 | ||
4598 | ||
4599 | ||
4600 | for ac_func in memset strchr strstr | |
4601 | do | |
4602 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
4603 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
4604 | $as_echo_n "checking for $ac_func... " >&6; } | |
4605 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
4606 | $as_echo_n "(cached) " >&6 | |
4607 | else | |
4608 | cat >conftest.$ac_ext <<_ACEOF | |
4609 | /* confdefs.h. */ | |
4610 | _ACEOF | |
4611 | cat confdefs.h >>conftest.$ac_ext | |
4612 | cat >>conftest.$ac_ext <<_ACEOF | |
4613 | /* end confdefs.h. */ | |
4614 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
4615 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
4616 | #define $ac_func innocuous_$ac_func | |
4617 | ||
4618 | /* System header to define __stub macros and hopefully few prototypes, | |
4619 | which can conflict with char $ac_func (); below. | |
4620 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4621 | <limits.h> exists even on freestanding compilers. */ | |
4622 | ||
4623 | #ifdef __STDC__ | |
4624 | # include <limits.h> | |
4625 | #else | |
4626 | # include <assert.h> | |
4627 | #endif | |
4628 | ||
4629 | #undef $ac_func | |
4630 | ||
4631 | /* Override any GCC internal prototype to avoid an error. | |
4632 | Use char because int might match the return type of a GCC | |
4633 | builtin and then its argument prototype would still apply. */ | |
4634 | #ifdef __cplusplus | |
4635 | extern "C" | |
4636 | #endif | |
4637 | char $ac_func (); | |
4638 | /* The GNU C library defines this for functions which it implements | |
4639 | to always fail with ENOSYS. Some functions are actually named | |
4640 | something starting with __ and the normal name is an alias. */ | |
4641 | #if defined __stub_$ac_func || defined __stub___$ac_func | |
4642 | choke me | |
4643 | #endif | |
4644 | ||
4645 | int | |
4646 | main () | |
4647 | { | |
4648 | return $ac_func (); | |
4649 | ; | |
4650 | return 0; | |
4651 | } | |
4652 | _ACEOF | |
4653 | rm -f conftest.$ac_objext conftest$ac_exeext | |
4654 | if { (ac_try="$ac_link" | |
4655 | case "(($ac_try" in | |
4656 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4657 | *) ac_try_echo=$ac_try;; | |
4658 | esac | |
4659 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4660 | $as_echo "$ac_try_echo") >&5 | |
4661 | (eval "$ac_link") 2>conftest.er1 | |
4662 | ac_status=$? | |
4663 | grep -v '^ *+' conftest.er1 >conftest.err | |
4664 | rm -f conftest.er1 | |
4665 | cat conftest.err >&5 | |
4666 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4667 | (exit $ac_status); } && { | |
4668 | test -z "$ac_c_werror_flag" || | |
4669 | test ! -s conftest.err | |
4670 | } && test -s conftest$ac_exeext && { | |
4671 | test "$cross_compiling" = yes || | |
4672 | $as_test_x conftest$ac_exeext | |
4673 | }; then | |
4674 | eval "$as_ac_var=yes" | |
4675 | else | |
4676 | $as_echo "$as_me: failed program was:" >&5 | |
4677 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4678 | ||
4679 | eval "$as_ac_var=no" | |
4680 | fi | |
4681 | ||
4682 | rm -rf conftest.dSYM | |
4683 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4684 | conftest$ac_exeext conftest.$ac_ext | |
4685 | fi | |
4686 | ac_res=`eval 'as_val=${'$as_ac_var'} | |
4687 | $as_echo "$as_val"'` | |
4688 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4689 | $as_echo "$ac_res" >&6; } | |
4690 | as_val=`eval 'as_val=${'$as_ac_var'} | |
4691 | $as_echo "$as_val"'` | |
4692 | if test "x$as_val" = x""yes; then | |
4693 | cat >>confdefs.h <<_ACEOF | |
4694 | @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
4695 | _ACEOF | |
4696 | ||
4697 | fi | |
4698 | done | |
4699 | ||
4700 | ||
4701 | # Make sure we can run config.sub. | |
4702 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | |
4703 | { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 | |
4704 | $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | |
4705 | { (exit 1); exit 1; }; } | |
4706 | ||
4707 | { $as_echo "$as_me:$LINENO: checking build system type" >&5 | |
4708 | $as_echo_n "checking build system type... " >&6; } | |
4709 | if test "${ac_cv_build+set}" = set; then | |
4710 | $as_echo_n "(cached) " >&6 | |
4711 | else | |
4712 | ac_build_alias=$build_alias | |
4713 | test "x$ac_build_alias" = x && | |
4714 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | |
4715 | test "x$ac_build_alias" = x && | |
4716 | { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | |
4717 | $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
4718 | { (exit 1); exit 1; }; } | |
4719 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | |
4720 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 | |
4721 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | |
4722 | { (exit 1); exit 1; }; } | |
4723 | ||
4724 | fi | |
4725 | { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
4726 | $as_echo "$ac_cv_build" >&6; } | |
4727 | case $ac_cv_build in | |
4728 | *-*-*) ;; | |
4729 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | |
4730 | $as_echo "$as_me: error: invalid value of canonical build" >&2;} | |
4731 | { (exit 1); exit 1; }; };; | |
4732 | esac | |
4733 | build=$ac_cv_build | |
4734 | ac_save_IFS=$IFS; IFS='-' | |
4735 | set x $ac_cv_build | |
4736 | shift | |
4737 | build_cpu=$1 | |
4738 | build_vendor=$2 | |
4739 | shift; shift | |
4740 | # Remember, the first character of IFS is used to create $*, | |
4741 | # except with old shells: | |
4742 | build_os=$* | |
4743 | IFS=$ac_save_IFS | |
4744 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | |
4745 | ||
4746 | ||
4747 | { $as_echo "$as_me:$LINENO: checking host system type" >&5 | |
4748 | $as_echo_n "checking host system type... " >&6; } | |
4749 | if test "${ac_cv_host+set}" = set; then | |
4750 | $as_echo_n "(cached) " >&6 | |
4751 | else | |
4752 | if test "x$host_alias" = x; then | |
4753 | ac_cv_host=$ac_cv_build | |
4754 | else | |
4755 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | |
4756 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 | |
4757 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | |
4758 | { (exit 1); exit 1; }; } | |
4759 | fi | |
4760 | ||
4761 | fi | |
4762 | { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | |
4763 | $as_echo "$ac_cv_host" >&6; } | |
4764 | case $ac_cv_host in | |
4765 | *-*-*) ;; | |
4766 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | |
4767 | $as_echo "$as_me: error: invalid value of canonical host" >&2;} | |
4768 | { (exit 1); exit 1; }; };; | |
4769 | esac | |
4770 | host=$ac_cv_host | |
4771 | ac_save_IFS=$IFS; IFS='-' | |
4772 | set x $ac_cv_host | |
4773 | shift | |
4774 | host_cpu=$1 | |
4775 | host_vendor=$2 | |
4776 | shift; shift | |
4777 | # Remember, the first character of IFS is used to create $*, | |
4778 | # except with old shells: | |
4779 | host_os=$* | |
4780 | IFS=$ac_save_IFS | |
4781 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | |
4782 | ||
4783 | ||
4784 | case $host in | |
4785 | *-*-cygwin*) LIBS="-liconv" | |
4786 | ;; | |
4787 | esac | |
4788 | ||
4789 | ac_config_files="$ac_config_files Makefile charmaps/Makefile doc/Makefile outputs/Makefile patches/Makefile src/Makefile tests/Makefile" | |
4790 | ||
4791 | cat >confcache <<\_ACEOF | |
4792 | # This file is a shell script that caches the results of configure | |
4793 | # tests run on this system so they can be shared between configure | |
4794 | # scripts and configure runs, see configure's option --config-cache. | |
4795 | # It is not useful on other systems. If it contains results you don't | |
4796 | # want to keep, you may remove or edit it. | |
4797 | # | |
4798 | # config.status only pays attention to the cache file if you give it | |
4799 | # the --recheck option to rerun configure. | |
4800 | # | |
4801 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | |
4802 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
4803 | # following values. | |
4804 | ||
4805 | _ACEOF | |
4806 | ||
4807 | # The following way of writing the cache mishandles newlines in values, | |
4808 | # but we know of no workaround that is simple, portable, and efficient. | |
4809 | # So, we kill variables containing newlines. | |
4810 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
4811 | # and sets the high bit in the cache file unless we assign to the vars. | |
4812 | ( | |
4813 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
4814 | eval ac_val=\$$ac_var | |
4815 | case $ac_val in #( | |
4816 | *${as_nl}*) | |
4817 | case $ac_var in #( | |
4818 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 | |
4819 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
4820 | esac | |
4821 | case $ac_var in #( | |
4822 | _ | IFS | as_nl) ;; #( | |
4823 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
4824 | *) $as_unset $ac_var ;; | |
4825 | esac ;; | |
4826 | esac | |
4827 | done | |
4828 | ||
4829 | (set) 2>&1 | | |
4830 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | |
4831 | *${as_nl}ac_space=\ *) | |
4832 | # `set' does not quote correctly, so add quotes (double-quote | |
4833 | # substitution turns \\\\ into \\, and sed turns \\ into \). | |
4834 | sed -n \ | |
4835 | "s/'/'\\\\''/g; | |
4836 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
4837 | ;; #( | |
4838 | *) | |
4839 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
4840 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
4841 | ;; | |
4842 | esac | | |
4843 | sort | |
4844 | ) | | |
4845 | sed ' | |
4846 | /^ac_cv_env_/b end | |
4847 | t clear | |
4848 | :clear | |
4849 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
4850 | t end | |
4851 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
4852 | :end' >>confcache | |
4853 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | |
4854 | if test -w "$cache_file"; then | |
4855 | test "x$cache_file" != "x/dev/null" && | |
4856 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 | |
4857 | $as_echo "$as_me: updating cache $cache_file" >&6;} | |
4858 | cat confcache >$cache_file | |
4859 | else | |
4860 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 | |
4861 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
4862 | fi | |
4863 | fi | |
4864 | rm -f confcache | |
4865 | ||
4866 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
4867 | # Let make expand exec_prefix. | |
4868 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
4869 | ||
4870 | DEFS=-DHAVE_CONFIG_H | |
4871 | ||
4872 | ac_libobjs= | |
4873 | ac_ltlibobjs= | |
4874 | for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue | |
4875 | # 1. Remove the extension, and $U if already installed. | |
4876 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | |
4877 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | |
4878 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |
4879 | # will be set to the directory where LIBOBJS objects are built. | |
4880 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
4881 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | |
4882 | done | |
4883 | LIB@&t@OBJS=$ac_libobjs | |
4884 | ||
4885 | LTLIBOBJS=$ac_ltlibobjs | |
4886 | ||
4887 | ||
4888 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then | |
4889 | { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. | |
4890 | Usually this means the macro was only invoked conditionally." >&5 | |
4891 | $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. | |
4892 | Usually this means the macro was only invoked conditionally." >&2;} | |
4893 | { (exit 1); exit 1; }; } | |
4894 | fi | |
4895 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | |
4896 | { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | |
4897 | Usually this means the macro was only invoked conditionally." >&5 | |
4898 | $as_echo "$as_me: error: conditional \"AMDEP\" was never defined. | |
4899 | Usually this means the macro was only invoked conditionally." >&2;} | |
4900 | { (exit 1); exit 1; }; } | |
4901 | fi | |
4902 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | |
4903 | { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | |
4904 | Usually this means the macro was only invoked conditionally." >&5 | |
4905 | $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | |
4906 | Usually this means the macro was only invoked conditionally." >&2;} | |
4907 | { (exit 1); exit 1; }; } | |
4908 | fi | |
4909 | ||
4910 | : ${CONFIG_STATUS=./config.status} | |
4911 | ac_write_fail=0 | |
4912 | ac_clean_files_save=$ac_clean_files | |
4913 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
4914 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | |
4915 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
4916 | cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
4917 | #! $SHELL | |
4918 | # Generated by $as_me. | |
4919 | # Run this file to recreate the current configuration. | |
4920 | # Compiler output produced by configure, useful for debugging | |
4921 | # configure, is in config.log if it exists. | |
4922 | ||
4923 | debug=false | |
4924 | ac_cs_recheck=false | |
4925 | ac_cs_silent=false | |
4926 | SHELL=\${CONFIG_SHELL-$SHELL} | |
4927 | _ACEOF | |
4928 | ||
4929 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
4930 | ## --------------------- ## | |
4931 | ## M4sh Initialization. ## | |
4932 | ## --------------------- ## | |
4933 | ||
4934 | # Be more Bourne compatible | |
4935 | DUALCASE=1; export DUALCASE # for MKS sh | |
4936 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
4937 | emulate sh | |
4938 | NULLCMD=: | |
4939 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
4940 | # is contrary to our usage. Disable this feature. | |
4941 | alias -g '${1+"$@"}'='"$@"' | |
4942 | setopt NO_GLOB_SUBST | |
4943 | else | |
4944 | case `(set -o) 2>/dev/null` in | |
4945 | *posix*) set -o posix ;; | |
4946 | esac | |
4947 | ||
4948 | fi | |
4949 | ||
4950 | ||
4951 | ||
4952 | ||
4953 | # PATH needs CR | |
4954 | # Avoid depending upon Character Ranges. | |
4955 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
4956 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
4957 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
4958 | as_cr_digits='0123456789' | |
4959 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
4960 | ||
4961 | as_nl=' | |
4962 | ' | |
4963 | export as_nl | |
4964 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
4965 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
4966 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
4967 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
4968 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
4969 | as_echo='printf %s\n' | |
4970 | as_echo_n='printf %s' | |
4971 | else | |
4972 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
4973 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
4974 | as_echo_n='/usr/ucb/echo -n' | |
4975 | else | |
4976 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
4977 | as_echo_n_body='eval | |
4978 | arg=$1; | |
4979 | case $arg in | |
4980 | *"$as_nl"*) | |
4981 | expr "X$arg" : "X\\(.*\\)$as_nl"; | |
4982 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
4983 | esac; | |
4984 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
4985 | ' | |
4986 | export as_echo_n_body | |
4987 | as_echo_n='sh -c $as_echo_n_body as_echo' | |
4988 | fi | |
4989 | export as_echo_body | |
4990 | as_echo='sh -c $as_echo_body as_echo' | |
4991 | fi | |
4992 | ||
4993 | # The user is always right. | |
4994 | if test "${PATH_SEPARATOR+set}" != set; then | |
4995 | PATH_SEPARATOR=: | |
4996 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
4997 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
4998 | PATH_SEPARATOR=';' | |
4999 | } | |
5000 | fi | |
5001 | ||
5002 | # Support unset when possible. | |
5003 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
5004 | as_unset=unset | |
5005 | else | |
5006 | as_unset=false | |
5007 | fi | |
5008 | ||
5009 | ||
5010 | # IFS | |
5011 | # We need space, tab and new line, in precisely that order. Quoting is | |
5012 | # there to prevent editors from complaining about space-tab. | |
5013 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
5014 | # splitting by setting IFS to empty value.) | |
5015 | IFS=" "" $as_nl" | |
5016 | ||
5017 | # Find who we are. Look in the path if we contain no directory separator. | |
5018 | case $0 in | |
5019 | *[\\/]* ) as_myself=$0 ;; | |
5020 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
5021 | for as_dir in $PATH | |
5022 | do | |
5023 | IFS=$as_save_IFS | |
5024 | test -z "$as_dir" && as_dir=. | |
5025 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
5026 | done | |
5027 | IFS=$as_save_IFS | |
5028 | ||
5029 | ;; | |
5030 | esac | |
5031 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
5032 | # in which case we are not to be found in the path. | |
5033 | if test "x$as_myself" = x; then | |
5034 | as_myself=$0 | |
5035 | fi | |
5036 | if test ! -f "$as_myself"; then | |
5037 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
5038 | { (exit 1); exit 1; } | |
5039 | fi | |
5040 | ||
5041 | # Work around bugs in pre-3.0 UWIN ksh. | |
5042 | for as_var in ENV MAIL MAILPATH | |
5043 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
5044 | done | |
5045 | PS1='$ ' | |
5046 | PS2='> ' | |
5047 | PS4='+ ' | |
5048 | ||
5049 | # NLS nuisances. | |
5050 | LC_ALL=C | |
5051 | export LC_ALL | |
5052 | LANGUAGE=C | |
5053 | export LANGUAGE | |
5054 | ||
5055 | # Required to use basename. | |
5056 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
5057 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
5058 | as_expr=expr | |
5059 | else | |
5060 | as_expr=false | |
5061 | fi | |
5062 | ||
5063 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
5064 | as_basename=basename | |
5065 | else | |
5066 | as_basename=false | |
5067 | fi | |
5068 | ||
5069 | ||
5070 | # Name of the executable. | |
5071 | as_me=`$as_basename -- "$0" || | |
5072 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
5073 | X"$0" : 'X\(//\)$' \| \ | |
5074 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
5075 | $as_echo X/"$0" | | |
5076 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
5077 | s//\1/ | |
5078 | q | |
5079 | } | |
5080 | /^X\/\(\/\/\)$/{ | |
5081 | s//\1/ | |
5082 | q | |
5083 | } | |
5084 | /^X\/\(\/\).*/{ | |
5085 | s//\1/ | |
5086 | q | |
5087 | } | |
5088 | s/.*/./; q'` | |
5089 | ||
5090 | # CDPATH. | |
5091 | $as_unset CDPATH | |
5092 | ||
5093 | ||
5094 | ||
5095 | as_lineno_1=$LINENO | |
5096 | as_lineno_2=$LINENO | |
5097 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
5098 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
5099 | ||
5100 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
5101 | # uniformly replaced by the line number. The first 'sed' inserts a | |
5102 | # line-number line after each line using $LINENO; the second 'sed' | |
5103 | # does the real work. The second script uses 'N' to pair each | |
5104 | # line-number line with the line containing $LINENO, and appends | |
5105 | # trailing '-' during substitution so that $LINENO is not a special | |
5106 | # case at line end. | |
5107 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
5108 | # scripts with optimization help from Paolo Bonzini. Blame Lee | |
5109 | # E. McMahon (1931-1989) for sed's syntax. :-) | |
5110 | sed -n ' | |
5111 | p | |
5112 | /[$]LINENO/= | |
5113 | ' <$as_myself | | |
5114 | sed ' | |
5115 | s/[$]LINENO.*/&-/ | |
5116 | t lineno | |
5117 | b | |
5118 | :lineno | |
5119 | N | |
5120 | :loop | |
5121 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
5122 | t loop | |
5123 | s/-\n.*// | |
5124 | ' >$as_me.lineno && | |
5125 | chmod +x "$as_me.lineno" || | |
5126 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
5127 | { (exit 1); exit 1; }; } | |
5128 | ||
5129 | # Don't try to exec as it changes $[0], causing all sort of problems | |
5130 | # (the dirname of $[0] is not the place where we might find the | |
5131 | # original and so on. Autoconf is especially sensitive to this). | |
5132 | . "./$as_me.lineno" | |
5133 | # Exit status is that of the last command. | |
5134 | exit | |
5135 | } | |
5136 | ||
5137 | ||
5138 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
5139 | as_dirname=dirname | |
5140 | else | |
5141 | as_dirname=false | |
5142 | fi | |
5143 | ||
5144 | ECHO_C= ECHO_N= ECHO_T= | |
5145 | case `echo -n x` in | |
5146 | -n*) | |
5147 | case `echo 'x\c'` in | |
5148 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
5149 | *) ECHO_C='\c';; | |
5150 | esac;; | |
5151 | *) | |
5152 | ECHO_N='-n';; | |
5153 | esac | |
5154 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
5155 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
5156 | as_expr=expr | |
5157 | else | |
5158 | as_expr=false | |
5159 | fi | |
5160 | ||
5161 | rm -f conf$$ conf$$.exe conf$$.file | |
5162 | if test -d conf$$.dir; then | |
5163 | rm -f conf$$.dir/conf$$.file | |
5164 | else | |
5165 | rm -f conf$$.dir | |
5166 | mkdir conf$$.dir 2>/dev/null | |
5167 | fi | |
5168 | if (echo >conf$$.file) 2>/dev/null; then | |
5169 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
5170 | as_ln_s='ln -s' | |
5171 | # ... but there are two gotchas: | |
5172 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
5173 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
5174 | # In both cases, we have to default to `cp -p'. | |
5175 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
5176 | as_ln_s='cp -p' | |
5177 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
5178 | as_ln_s=ln | |
5179 | else | |
5180 | as_ln_s='cp -p' | |
5181 | fi | |
5182 | else | |
5183 | as_ln_s='cp -p' | |
5184 | fi | |
5185 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
5186 | rmdir conf$$.dir 2>/dev/null | |
5187 | ||
5188 | if mkdir -p . 2>/dev/null; then | |
5189 | as_mkdir_p=: | |
5190 | else | |
5191 | test -d ./-p && rmdir ./-p | |
5192 | as_mkdir_p=false | |
5193 | fi | |
5194 | ||
5195 | if test -x / >/dev/null 2>&1; then | |
5196 | as_test_x='test -x' | |
5197 | else | |
5198 | if ls -dL / >/dev/null 2>&1; then | |
5199 | as_ls_L_option=L | |
5200 | else | |
5201 | as_ls_L_option= | |
5202 | fi | |
5203 | as_test_x=' | |
5204 | eval sh -c '\'' | |
5205 | if test -d "$1"; then | |
5206 | test -d "$1/."; | |
5207 | else | |
5208 | case $1 in | |
5209 | -*)set "./$1";; | |
5210 | esac; | |
5211 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
5212 | ???[sx]*):;;*)false;;esac;fi | |
5213 | '\'' sh | |
5214 | ' | |
5215 | fi | |
5216 | as_executable_p=$as_test_x | |
5217 | ||
5218 | # Sed expression to map a string onto a valid CPP name. | |
5219 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
5220 | ||
5221 | # Sed expression to map a string onto a valid variable name. | |
5222 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
5223 | ||
5224 | ||
5225 | exec 6>&1 | |
5226 | ||
5227 | # Save the log message, to keep $[0] and so on meaningful, and to | |
5228 | # report actual input values of CONFIG_FILES etc. instead of their | |
5229 | # values after options handling. | |
5230 | ac_log=" | |
5231 | This file was extended by unrtf $as_me 0.21.0, which was | |
5232 | generated by GNU Autoconf 2.63. Invocation command line was | |
5233 | ||
5234 | CONFIG_FILES = $CONFIG_FILES | |
5235 | CONFIG_HEADERS = $CONFIG_HEADERS | |
5236 | CONFIG_LINKS = $CONFIG_LINKS | |
5237 | CONFIG_COMMANDS = $CONFIG_COMMANDS | |
5238 | $ $0 $@ | |
5239 | ||
5240 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
5241 | " | |
5242 | ||
5243 | _ACEOF | |
5244 | ||
5245 | case $ac_config_files in *" | |
5246 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
5247 | esac | |
5248 | ||
5249 | case $ac_config_headers in *" | |
5250 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | |
5251 | esac | |
5252 | ||
5253 | ||
5254 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5255 | # Files that config.status was made for. | |
5256 | config_files="$ac_config_files" | |
5257 | config_headers="$ac_config_headers" | |
5258 | config_commands="$ac_config_commands" | |
5259 | ||
5260 | _ACEOF | |
5261 | ||
5262 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5263 | ac_cs_usage="\ | |
5264 | \`$as_me' instantiates files from templates according to the | |
5265 | current configuration. | |
5266 | ||
5267 | Usage: $0 [OPTION]... [FILE]... | |
5268 | ||
5269 | -h, --help print this help, then exit | |
5270 | -V, --version print version number and configuration settings, then exit | |
5271 | -q, --quiet, --silent | |
5272 | do not print progress messages | |
5273 | -d, --debug don't remove temporary files | |
5274 | --recheck update $as_me by reconfiguring in the same conditions | |
5275 | --file=FILE[:TEMPLATE] | |
5276 | instantiate the configuration file FILE | |
5277 | --header=FILE[:TEMPLATE] | |
5278 | instantiate the configuration header FILE | |
5279 | ||
5280 | Configuration files: | |
5281 | $config_files | |
5282 | ||
5283 | Configuration headers: | |
5284 | $config_headers | |
5285 | ||
5286 | Configuration commands: | |
5287 | $config_commands | |
5288 | ||
5289 | Report bugs to <bug-autoconf@gnu.org>." | |
5290 | ||
5291 | _ACEOF | |
5292 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5293 | ac_cs_version="\\ | |
5294 | unrtf config.status 0.21.0 | |
5295 | configured by $0, generated by GNU Autoconf 2.63, | |
5296 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | |
5297 | ||
5298 | Copyright (C) 2008 Free Software Foundation, Inc. | |
5299 | This config.status script is free software; the Free Software Foundation | |
5300 | gives unlimited permission to copy, distribute and modify it." | |
5301 | ||
5302 | ac_pwd='$ac_pwd' | |
5303 | srcdir='$srcdir' | |
5304 | INSTALL='$INSTALL' | |
5305 | MKDIR_P='$MKDIR_P' | |
5306 | AWK='$AWK' | |
5307 | test -n "\$AWK" || AWK=awk | |
5308 | _ACEOF | |
5309 | ||
5310 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5311 | # The default lists apply if the user does not specify any file. | |
5312 | ac_need_defaults=: | |
5313 | while test $# != 0 | |
5314 | do | |
5315 | case $1 in | |
5316 | --*=*) | |
5317 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
5318 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
5319 | ac_shift=: | |
5320 | ;; | |
5321 | *) | |
5322 | ac_option=$1 | |
5323 | ac_optarg=$2 | |
5324 | ac_shift=shift | |
5325 | ;; | |
5326 | esac | |
5327 | ||
5328 | case $ac_option in | |
5329 | # Handling of the options. | |
5330 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
5331 | ac_cs_recheck=: ;; | |
5332 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
5333 | $as_echo "$ac_cs_version"; exit ;; | |
5334 | --debug | --debu | --deb | --de | --d | -d ) | |
5335 | debug=: ;; | |
5336 | --file | --fil | --fi | --f ) | |
5337 | $ac_shift | |
5338 | case $ac_optarg in | |
5339 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
5340 | esac | |
5341 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" | |
5342 | ac_need_defaults=false;; | |
5343 | --header | --heade | --head | --hea ) | |
5344 | $ac_shift | |
5345 | case $ac_optarg in | |
5346 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
5347 | esac | |
5348 | CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" | |
5349 | ac_need_defaults=false;; | |
5350 | --he | --h) | |
5351 | # Conflict between --help and --header | |
5352 | { $as_echo "$as_me: error: ambiguous option: $1 | |
5353 | Try \`$0 --help' for more information." >&2 | |
5354 | { (exit 1); exit 1; }; };; | |
5355 | --help | --hel | -h ) | |
5356 | $as_echo "$ac_cs_usage"; exit ;; | |
5357 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
5358 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
5359 | ac_cs_silent=: ;; | |
5360 | ||
5361 | # This is an error. | |
5362 | -*) { $as_echo "$as_me: error: unrecognized option: $1 | |
5363 | Try \`$0 --help' for more information." >&2 | |
5364 | { (exit 1); exit 1; }; } ;; | |
5365 | ||
5366 | *) ac_config_targets="$ac_config_targets $1" | |
5367 | ac_need_defaults=false ;; | |
5368 | ||
5369 | esac | |
5370 | shift | |
5371 | done | |
5372 | ||
5373 | ac_configure_extra_args= | |
5374 | ||
5375 | if $ac_cs_silent; then | |
5376 | exec 6>/dev/null | |
5377 | ac_configure_extra_args="$ac_configure_extra_args --silent" | |
5378 | fi | |
5379 | ||
5380 | _ACEOF | |
5381 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5382 | if \$ac_cs_recheck; then | |
5383 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
5384 | shift | |
5385 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
5386 | CONFIG_SHELL='$SHELL' | |
5387 | export CONFIG_SHELL | |
5388 | exec "\$@" | |
5389 | fi | |
5390 | ||
5391 | _ACEOF | |
5392 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5393 | exec 5>>config.log | |
5394 | { | |
5395 | echo | |
5396 | sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX | |
5397 | @%:@@%:@ Running $as_me. @%:@@%:@ | |
5398 | _ASBOX | |
5399 | $as_echo "$ac_log" | |
5400 | } >&5 | |
5401 | ||
5402 | _ACEOF | |
5403 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5404 | # | |
5405 | # INIT-COMMANDS | |
5406 | # | |
5407 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
5408 | ||
5409 | _ACEOF | |
5410 | ||
5411 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5412 | ||
5413 | # Handling of arguments. | |
5414 | for ac_config_target in $ac_config_targets | |
5415 | do | |
5416 | case $ac_config_target in | |
5417 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | |
5418 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | |
5419 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
5420 | "charmaps/Makefile") CONFIG_FILES="$CONFIG_FILES charmaps/Makefile" ;; | |
5421 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; | |
5422 | "outputs/Makefile") CONFIG_FILES="$CONFIG_FILES outputs/Makefile" ;; | |
5423 | "patches/Makefile") CONFIG_FILES="$CONFIG_FILES patches/Makefile" ;; | |
5424 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | |
5425 | "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; | |
5426 | ||
5427 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | |
5428 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
5429 | { (exit 1); exit 1; }; };; | |
5430 | esac | |
5431 | done | |
5432 | ||
5433 | ||
5434 | # If the user did not use the arguments to specify the items to instantiate, | |
5435 | # then the envvar interface is used. Set only those that are not. | |
5436 | # We use the long form for the default assignment because of an extremely | |
5437 | # bizarre bug on SunOS 4.1.3. | |
5438 | if $ac_need_defaults; then | |
5439 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
5440 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | |
5441 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | |
5442 | fi | |
5443 | ||
5444 | # Have a temporary directory for convenience. Make it in the build tree | |
5445 | # simply because there is no reason against having it here, and in addition, | |
5446 | # creating and moving files from /tmp can sometimes cause problems. | |
5447 | # Hook for its removal unless debugging. | |
5448 | # Note that there is a small window in which the directory will not be cleaned: | |
5449 | # after its creation but before its name has been assigned to `$tmp'. | |
5450 | $debug || | |
5451 | { | |
5452 | tmp= | |
5453 | trap 'exit_status=$? | |
5454 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
5455 | ' 0 | |
5456 | trap '{ (exit 1); exit 1; }' 1 2 13 15 | |
5457 | } | |
5458 | # Create a (secure) tmp directory for tmp files. | |
5459 | ||
5460 | { | |
5461 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
5462 | test -n "$tmp" && test -d "$tmp" | |
5463 | } || | |
5464 | { | |
5465 | tmp=./conf$$-$RANDOM | |
5466 | (umask 077 && mkdir "$tmp") | |
5467 | } || | |
5468 | { | |
5469 | $as_echo "$as_me: cannot create a temporary directory in ." >&2 | |
5470 | { (exit 1); exit 1; } | |
5471 | } | |
5472 | ||
5473 | # Set up the scripts for CONFIG_FILES section. | |
5474 | # No need to generate them if there are no CONFIG_FILES. | |
5475 | # This happens for instance with `./config.status config.h'. | |
5476 | if test -n "$CONFIG_FILES"; then | |
5477 | ||
5478 | ||
5479 | ac_cr=' ⏎ | |
5480 | ' | |
5481 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
5482 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
5483 | ac_cs_awk_cr='\\r' | |
5484 | else | |
5485 | ac_cs_awk_cr=$ac_cr | |
5486 | fi | |
5487 | ||
5488 | echo 'BEGIN {' >"$tmp/subs1.awk" && | |
5489 | _ACEOF | |
5490 | ||
5491 | ||
5492 | { | |
5493 | echo "cat >conf$$subs.awk <<_ACEOF" && | |
5494 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
5495 | echo "_ACEOF" | |
5496 | } >conf$$subs.sh || | |
5497 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
5498 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
5499 | { (exit 1); exit 1; }; } | |
5500 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | |
5501 | ac_delim='%!_!# ' | |
5502 | for ac_last_try in false false false false false :; do | |
5503 | . ./conf$$subs.sh || | |
5504 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
5505 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
5506 | { (exit 1); exit 1; }; } | |
5507 | ||
5508 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
5509 | if test $ac_delim_n = $ac_delim_num; then | |
5510 | break | |
5511 | elif $ac_last_try; then | |
5512 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
5513 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
5514 | { (exit 1); exit 1; }; } | |
5515 | else | |
5516 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
5517 | fi | |
5518 | done | |
5519 | rm -f conf$$subs.sh | |
5520 | ||
5521 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5522 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | |
5523 | _ACEOF | |
5524 | sed -n ' | |
5525 | h | |
5526 | s/^/S["/; s/!.*/"]=/ | |
5527 | p | |
5528 | g | |
5529 | s/^[^!]*!// | |
5530 | :repl | |
5531 | t repl | |
5532 | s/'"$ac_delim"'$// | |
5533 | t delim | |
5534 | :nl | |
5535 | h | |
5536 | s/\(.\{148\}\).*/\1/ | |
5537 | t more1 | |
5538 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
5539 | p | |
5540 | n | |
5541 | b repl | |
5542 | :more1 | |
5543 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
5544 | p | |
5545 | g | |
5546 | s/.\{148\}// | |
5547 | t nl | |
5548 | :delim | |
5549 | h | |
5550 | s/\(.\{148\}\).*/\1/ | |
5551 | t more2 | |
5552 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
5553 | p | |
5554 | b | |
5555 | :more2 | |
5556 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
5557 | p | |
5558 | g | |
5559 | s/.\{148\}// | |
5560 | t delim | |
5561 | ' <conf$$subs.awk | sed ' | |
5562 | /^[^""]/{ | |
5563 | N | |
5564 | s/\n// | |
5565 | } | |
5566 | ' >>$CONFIG_STATUS || ac_write_fail=1 | |
5567 | rm -f conf$$subs.awk | |
5568 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5569 | _ACAWK | |
5570 | cat >>"\$tmp/subs1.awk" <<_ACAWK && | |
5571 | for (key in S) S_is_set[key] = 1 | |
5572 | FS = "" | |
5573 | ||
5574 | } | |
5575 | { | |
5576 | line = $ 0 | |
5577 | nfields = split(line, field, "@") | |
5578 | substed = 0 | |
5579 | len = length(field[1]) | |
5580 | for (i = 2; i < nfields; i++) { | |
5581 | key = field[i] | |
5582 | keylen = length(key) | |
5583 | if (S_is_set[key]) { | |
5584 | value = S[key] | |
5585 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
5586 | len += length(value) + length(field[++i]) | |
5587 | substed = 1 | |
5588 | } else | |
5589 | len += 1 + keylen | |
5590 | } | |
5591 | ||
5592 | print line | |
5593 | } | |
5594 | ||
5595 | _ACAWK | |
5596 | _ACEOF | |
5597 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5598 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
5599 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
5600 | else | |
5601 | cat | |
5602 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | |
5603 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 | |
5604 | $as_echo "$as_me: error: could not setup config files machinery" >&2;} | |
5605 | { (exit 1); exit 1; }; } | |
5606 | _ACEOF | |
5607 | ||
5608 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
5609 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
5610 | # trailing colons and then remove the whole line if VPATH becomes empty | |
5611 | # (actually we leave an empty line to preserve line numbers). | |
5612 | if test "x$srcdir" = x.; then | |
5613 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
5614 | s/:*\$(srcdir):*/:/ | |
5615 | s/:*\${srcdir}:*/:/ | |
5616 | s/:*@srcdir@:*/:/ | |
5617 | s/^\([^=]*=[ ]*\):*/\1/ | |
5618 | s/:*$// | |
5619 | s/^[^=]*=[ ]*$// | |
5620 | }' | |
5621 | fi | |
5622 | ||
5623 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5624 | fi # test -n "$CONFIG_FILES" | |
5625 | ||
5626 | # Set up the scripts for CONFIG_HEADERS section. | |
5627 | # No need to generate them if there are no CONFIG_HEADERS. | |
5628 | # This happens for instance with `./config.status Makefile'. | |
5629 | if test -n "$CONFIG_HEADERS"; then | |
5630 | cat >"$tmp/defines.awk" <<\_ACAWK || | |
5631 | BEGIN { | |
5632 | _ACEOF | |
5633 | ||
5634 | # Transform confdefs.h into an awk script `defines.awk', embedded as | |
5635 | # here-document in config.status, that substitutes the proper values into | |
5636 | # config.h.in to produce config.h. | |
5637 | ||
5638 | # Create a delimiter string that does not exist in confdefs.h, to ease | |
5639 | # handling of long lines. | |
5640 | ac_delim='%!_!# ' | |
5641 | for ac_last_try in false false :; do | |
5642 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` | |
5643 | if test -z "$ac_t"; then | |
5644 | break | |
5645 | elif $ac_last_try; then | |
5646 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 | |
5647 | $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} | |
5648 | { (exit 1); exit 1; }; } | |
5649 | else | |
5650 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
5651 | fi | |
5652 | done | |
5653 | ||
5654 | # For the awk script, D is an array of macro values keyed by name, | |
5655 | # likewise P contains macro parameters if any. Preserve backslash | |
5656 | # newline sequences. | |
5657 | ||
5658 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | |
5659 | sed -n ' | |
5660 | s/.\{148\}/&'"$ac_delim"'/g | |
5661 | t rset | |
5662 | :rset | |
5663 | s/^[ ]*#[ ]*define[ ][ ]*/ / | |
5664 | t def | |
5665 | d | |
5666 | :def | |
5667 | s/\\$// | |
5668 | t bsnl | |
5669 | s/["\\]/\\&/g | |
5670 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
5671 | D["\1"]=" \3"/p | |
5672 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | |
5673 | d | |
5674 | :bsnl | |
5675 | s/["\\]/\\&/g | |
5676 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
5677 | D["\1"]=" \3\\\\\\n"\\/p | |
5678 | t cont | |
5679 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | |
5680 | t cont | |
5681 | d | |
5682 | :cont | |
5683 | n | |
5684 | s/.\{148\}/&'"$ac_delim"'/g | |
5685 | t clear | |
5686 | :clear | |
5687 | s/\\$// | |
5688 | t bsnlc | |
5689 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | |
5690 | d | |
5691 | :bsnlc | |
5692 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | |
5693 | b cont | |
5694 | ' <confdefs.h | sed ' | |
5695 | s/'"$ac_delim"'/"\\\ | |
5696 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | |
5697 | ||
5698 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5699 | for (key in D) D_is_set[key] = 1 | |
5700 | FS = "" | |
5701 | } | |
5702 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | |
5703 | line = \$ 0 | |
5704 | split(line, arg, " ") | |
5705 | if (arg[1] == "#") { | |
5706 | defundef = arg[2] | |
5707 | mac1 = arg[3] | |
5708 | } else { | |
5709 | defundef = substr(arg[1], 2) | |
5710 | mac1 = arg[2] | |
5711 | } | |
5712 | split(mac1, mac2, "(") #) | |
5713 | macro = mac2[1] | |
5714 | prefix = substr(line, 1, index(line, defundef) - 1) | |
5715 | if (D_is_set[macro]) { | |
5716 | # Preserve the white space surrounding the "#". | |
5717 | print prefix "define", macro P[macro] D[macro] | |
5718 | next | |
5719 | } else { | |
5720 | # Replace #undef with comments. This is necessary, for example, | |
5721 | # in the case of _POSIX_SOURCE, which is predefined and required | |
5722 | # on some systems where configure will not decide to define it. | |
5723 | if (defundef == "undef") { | |
5724 | print "/*", prefix defundef, macro, "*/" | |
5725 | next | |
5726 | } | |
5727 | } | |
5728 | } | |
5729 | { print } | |
5730 | _ACAWK | |
5731 | _ACEOF | |
5732 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5733 | { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 | |
5734 | $as_echo "$as_me: error: could not setup config headers machinery" >&2;} | |
5735 | { (exit 1); exit 1; }; } | |
5736 | fi # test -n "$CONFIG_HEADERS" | |
5737 | ||
5738 | ||
5739 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | |
5740 | shift | |
5741 | for ac_tag | |
5742 | do | |
5743 | case $ac_tag in | |
5744 | :[FHLC]) ac_mode=$ac_tag; continue;; | |
5745 | esac | |
5746 | case $ac_mode$ac_tag in | |
5747 | :[FHL]*:*);; | |
5748 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 | |
5749 | $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} | |
5750 | { (exit 1); exit 1; }; };; | |
5751 | :[FH]-) ac_tag=-:-;; | |
5752 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
5753 | esac | |
5754 | ac_save_IFS=$IFS | |
5755 | IFS=: | |
5756 | set x $ac_tag | |
5757 | IFS=$ac_save_IFS | |
5758 | shift | |
5759 | ac_file=$1 | |
5760 | shift | |
5761 | ||
5762 | case $ac_mode in | |
5763 | :L) ac_source=$1;; | |
5764 | :[FH]) | |
5765 | ac_file_inputs= | |
5766 | for ac_f | |
5767 | do | |
5768 | case $ac_f in | |
5769 | -) ac_f="$tmp/stdin";; | |
5770 | *) # Look for the file first in the build tree, then in the source tree | |
5771 | # (if the path is not absolute). The absolute path cannot be DOS-style, | |
5772 | # because $ac_f cannot contain `:'. | |
5773 | test -f "$ac_f" || | |
5774 | case $ac_f in | |
5775 | [\\/$]*) false;; | |
5776 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
5777 | esac || | |
5778 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | |
5779 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
5780 | { (exit 1); exit 1; }; };; | |
5781 | esac | |
5782 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
5783 | ac_file_inputs="$ac_file_inputs '$ac_f'" | |
5784 | done | |
5785 | ||
5786 | # Let's still pretend it is `configure' which instantiates (i.e., don't | |
5787 | # use $as_me), people would be surprised to read: | |
5788 | # /* config.h. Generated by config.status. */ | |
5789 | configure_input='Generated from '` | |
5790 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
5791 | `' by configure.' | |
5792 | if test x"$ac_file" != x-; then | |
5793 | configure_input="$ac_file. $configure_input" | |
5794 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 | |
5795 | $as_echo "$as_me: creating $ac_file" >&6;} | |
5796 | fi | |
5797 | # Neutralize special characters interpreted by sed in replacement strings. | |
5798 | case $configure_input in #( | |
5799 | *\&* | *\|* | *\\* ) | |
5800 | ac_sed_conf_input=`$as_echo "$configure_input" | | |
5801 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
5802 | *) ac_sed_conf_input=$configure_input;; | |
5803 | esac | |
5804 | ||
5805 | case $ac_tag in | |
5806 | *:-:* | *:-) cat >"$tmp/stdin" \ | |
5807 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
5808 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
5809 | { (exit 1); exit 1; }; } ;; | |
5810 | esac | |
5811 | ;; | |
5812 | esac | |
5813 | ||
5814 | ac_dir=`$as_dirname -- "$ac_file" || | |
5815 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5816 | X"$ac_file" : 'X\(//\)[^/]' \| \ | |
5817 | X"$ac_file" : 'X\(//\)$' \| \ | |
5818 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
5819 | $as_echo X"$ac_file" | | |
5820 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
5821 | s//\1/ | |
5822 | q | |
5823 | } | |
5824 | /^X\(\/\/\)[^/].*/{ | |
5825 | s//\1/ | |
5826 | q | |
5827 | } | |
5828 | /^X\(\/\/\)$/{ | |
5829 | s//\1/ | |
5830 | q | |
5831 | } | |
5832 | /^X\(\/\).*/{ | |
5833 | s//\1/ | |
5834 | q | |
5835 | } | |
5836 | s/.*/./; q'` | |
5837 | { as_dir="$ac_dir" | |
5838 | case $as_dir in #( | |
5839 | -*) as_dir=./$as_dir;; | |
5840 | esac | |
5841 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
5842 | as_dirs= | |
5843 | while :; do | |
5844 | case $as_dir in #( | |
5845 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
5846 | *) as_qdir=$as_dir;; | |
5847 | esac | |
5848 | as_dirs="'$as_qdir' $as_dirs" | |
5849 | as_dir=`$as_dirname -- "$as_dir" || | |
5850 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5851 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
5852 | X"$as_dir" : 'X\(//\)$' \| \ | |
5853 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
5854 | $as_echo X"$as_dir" | | |
5855 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
5856 | s//\1/ | |
5857 | q | |
5858 | } | |
5859 | /^X\(\/\/\)[^/].*/{ | |
5860 | s//\1/ | |
5861 | q | |
5862 | } | |
5863 | /^X\(\/\/\)$/{ | |
5864 | s//\1/ | |
5865 | q | |
5866 | } | |
5867 | /^X\(\/\).*/{ | |
5868 | s//\1/ | |
5869 | q | |
5870 | } | |
5871 | s/.*/./; q'` | |
5872 | test -d "$as_dir" && break | |
5873 | done | |
5874 | test -z "$as_dirs" || eval "mkdir $as_dirs" | |
5875 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | |
5876 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
5877 | { (exit 1); exit 1; }; }; } | |
5878 | ac_builddir=. | |
5879 | ||
5880 | case "$ac_dir" in | |
5881 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
5882 | *) | |
5883 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
5884 | # A ".." for each directory in $ac_dir_suffix. | |
5885 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
5886 | case $ac_top_builddir_sub in | |
5887 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
5888 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
5889 | esac ;; | |
5890 | esac | |
5891 | ac_abs_top_builddir=$ac_pwd | |
5892 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
5893 | # for backward compatibility: | |
5894 | ac_top_builddir=$ac_top_build_prefix | |
5895 | ||
5896 | case $srcdir in | |
5897 | .) # We are building in place. | |
5898 | ac_srcdir=. | |
5899 | ac_top_srcdir=$ac_top_builddir_sub | |
5900 | ac_abs_top_srcdir=$ac_pwd ;; | |
5901 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
5902 | ac_srcdir=$srcdir$ac_dir_suffix; | |
5903 | ac_top_srcdir=$srcdir | |
5904 | ac_abs_top_srcdir=$srcdir ;; | |
5905 | *) # Relative name. | |
5906 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
5907 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
5908 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
5909 | esac | |
5910 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
5911 | ||
5912 | ||
5913 | case $ac_mode in | |
5914 | :F) | |
5915 | # | |
5916 | # CONFIG_FILE | |
5917 | # | |
5918 | ||
5919 | case $INSTALL in | |
5920 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
5921 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | |
5922 | esac | |
5923 | ac_MKDIR_P=$MKDIR_P | |
5924 | case $MKDIR_P in | |
5925 | [\\/$]* | ?:[\\/]* ) ;; | |
5926 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | |
5927 | esac | |
5928 | _ACEOF | |
5929 | ||
5930 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5931 | # If the template does not know about datarootdir, expand it. | |
5932 | # FIXME: This hack should be removed a few years after 2.60. | |
5933 | ac_datarootdir_hack=; ac_datarootdir_seen= | |
5934 | ||
5935 | ac_sed_dataroot=' | |
5936 | /datarootdir/ { | |
5937 | p | |
5938 | q | |
5939 | } | |
5940 | /@datadir@/p | |
5941 | /@docdir@/p | |
5942 | /@infodir@/p | |
5943 | /@localedir@/p | |
5944 | /@mandir@/p | |
5945 | ' | |
5946 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | |
5947 | *datarootdir*) ac_datarootdir_seen=yes;; | |
5948 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
5949 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | |
5950 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
5951 | _ACEOF | |
5952 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5953 | ac_datarootdir_hack=' | |
5954 | s&@datadir@&$datadir&g | |
5955 | s&@docdir@&$docdir&g | |
5956 | s&@infodir@&$infodir&g | |
5957 | s&@localedir@&$localedir&g | |
5958 | s&@mandir@&$mandir&g | |
5959 | s&\\\${datarootdir}&$datarootdir&g' ;; | |
5960 | esac | |
5961 | _ACEOF | |
5962 | ||
5963 | # Neutralize VPATH when `$srcdir' = `.'. | |
5964 | # Shell code in configure.ac might set extrasub. | |
5965 | # FIXME: do we really want to maintain this feature? | |
5966 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5967 | ac_sed_extra="$ac_vpsub | |
5968 | $extrasub | |
5969 | _ACEOF | |
5970 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5971 | :t | |
5972 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
5973 | s|@configure_input@|$ac_sed_conf_input|;t t | |
5974 | s&@top_builddir@&$ac_top_builddir_sub&;t t | |
5975 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
5976 | s&@srcdir@&$ac_srcdir&;t t | |
5977 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
5978 | s&@top_srcdir@&$ac_top_srcdir&;t t | |
5979 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
5980 | s&@builddir@&$ac_builddir&;t t | |
5981 | s&@abs_builddir@&$ac_abs_builddir&;t t | |
5982 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
5983 | s&@INSTALL@&$ac_INSTALL&;t t | |
5984 | s&@MKDIR_P@&$ac_MKDIR_P&;t t | |
5985 | $ac_datarootdir_hack | |
5986 | " | |
5987 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | |
5988 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
5989 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
5990 | { (exit 1); exit 1; }; } | |
5991 | ||
5992 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
5993 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | |
5994 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | |
5995 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
5996 | which seems to be undefined. Please make sure it is defined." >&5 | |
5997 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
5998 | which seems to be undefined. Please make sure it is defined." >&2;} | |
5999 | ||
6000 | rm -f "$tmp/stdin" | |
6001 | case $ac_file in | |
6002 | -) cat "$tmp/out" && rm -f "$tmp/out";; | |
6003 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | |
6004 | esac \ | |
6005 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
6006 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
6007 | { (exit 1); exit 1; }; } | |
6008 | ;; | |
6009 | :H) | |
6010 | # | |
6011 | # CONFIG_HEADER | |
6012 | # | |
6013 | if test x"$ac_file" != x-; then | |
6014 | { | |
6015 | $as_echo "/* $configure_input */" \ | |
6016 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | |
6017 | } >"$tmp/config.h" \ | |
6018 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
6019 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
6020 | { (exit 1); exit 1; }; } | |
6021 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | |
6022 | { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | |
6023 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | |
6024 | else | |
6025 | rm -f "$ac_file" | |
6026 | mv "$tmp/config.h" "$ac_file" \ | |
6027 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
6028 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
6029 | { (exit 1); exit 1; }; } | |
6030 | fi | |
6031 | else | |
6032 | $as_echo "/* $configure_input */" \ | |
6033 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | |
6034 | || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 | |
6035 | $as_echo "$as_me: error: could not create -" >&2;} | |
6036 | { (exit 1); exit 1; }; } | |
6037 | fi | |
6038 | # Compute "$ac_file"'s index in $config_headers. | |
6039 | _am_arg="$ac_file" | |
6040 | _am_stamp_count=1 | |
6041 | for _am_header in $config_headers :; do | |
6042 | case $_am_header in | |
6043 | $_am_arg | $_am_arg:* ) | |
6044 | break ;; | |
6045 | * ) | |
6046 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | |
6047 | esac | |
6048 | done | |
6049 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || | |
6050 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
6051 | X"$_am_arg" : 'X\(//\)[^/]' \| \ | |
6052 | X"$_am_arg" : 'X\(//\)$' \| \ | |
6053 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || | |
6054 | $as_echo X"$_am_arg" | | |
6055 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
6056 | s//\1/ | |
6057 | q | |
6058 | } | |
6059 | /^X\(\/\/\)[^/].*/{ | |
6060 | s//\1/ | |
6061 | q | |
6062 | } | |
6063 | /^X\(\/\/\)$/{ | |
6064 | s//\1/ | |
6065 | q | |
6066 | } | |
6067 | /^X\(\/\).*/{ | |
6068 | s//\1/ | |
6069 | q | |
6070 | } | |
6071 | s/.*/./; q'`/stamp-h$_am_stamp_count | |
6072 | ;; | |
6073 | ||
6074 | :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 | |
6075 | $as_echo "$as_me: executing $ac_file commands" >&6;} | |
6076 | ;; | |
6077 | esac | |
6078 | ||
6079 | ||
6080 | case $ac_file$ac_mode in | |
6081 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do | |
6082 | # Strip MF so we end up with the name of the file. | |
6083 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
6084 | # Check whether this is an Automake generated Makefile or not. | |
6085 | # We used to match only the files named `Makefile.in', but | |
6086 | # some people rename them; so instead we look at the file content. | |
6087 | # Grep'ing the first line is not enough: some people post-process | |
6088 | # each Makefile.in and add a new line on top of each file to say so. | |
6089 | # Grep'ing the whole file is not good either: AIX grep has a line | |
6090 | # limit of 2048, but all sed's we know have understand at least 4000. | |
6091 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
6092 | dirpart=`$as_dirname -- "$mf" || | |
6093 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
6094 | X"$mf" : 'X\(//\)[^/]' \| \ | |
6095 | X"$mf" : 'X\(//\)$' \| \ | |
6096 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || | |
6097 | $as_echo X"$mf" | | |
6098 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
6099 | s//\1/ | |
6100 | q | |
6101 | } | |
6102 | /^X\(\/\/\)[^/].*/{ | |
6103 | s//\1/ | |
6104 | q | |
6105 | } | |
6106 | /^X\(\/\/\)$/{ | |
6107 | s//\1/ | |
6108 | q | |
6109 | } | |
6110 | /^X\(\/\).*/{ | |
6111 | s//\1/ | |
6112 | q | |
6113 | } | |
6114 | s/.*/./; q'` | |
6115 | else | |
6116 | continue | |
6117 | fi | |
6118 | # Extract the definition of DEPDIR, am__include, and am__quote | |
6119 | # from the Makefile without running `make'. | |
6120 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
6121 | test -z "$DEPDIR" && continue | |
6122 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
6123 | test -z "am__include" && continue | |
6124 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
6125 | # When using ansi2knr, U may be empty or an underscore; expand it | |
6126 | U=`sed -n 's/^U = //p' < "$mf"` | |
6127 | # Find all dependency output files, they are included files with | |
6128 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
6129 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
6130 | # expansion. | |
6131 | for file in `sed -n " | |
6132 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
6133 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
6134 | # Make sure the directory exists. | |
6135 | test -f "$dirpart/$file" && continue | |
6136 | fdir=`$as_dirname -- "$file" || | |
6137 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
6138 | X"$file" : 'X\(//\)[^/]' \| \ | |
6139 | X"$file" : 'X\(//\)$' \| \ | |
6140 | X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
6141 | $as_echo X"$file" | | |
6142 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
6143 | s//\1/ | |
6144 | q | |
6145 | } | |
6146 | /^X\(\/\/\)[^/].*/{ | |
6147 | s//\1/ | |
6148 | q | |
6149 | } | |
6150 | /^X\(\/\/\)$/{ | |
6151 | s//\1/ | |
6152 | q | |
6153 | } | |
6154 | /^X\(\/\).*/{ | |
6155 | s//\1/ | |
6156 | q | |
6157 | } | |
6158 | s/.*/./; q'` | |
6159 | { as_dir=$dirpart/$fdir | |
6160 | case $as_dir in #( | |
6161 | -*) as_dir=./$as_dir;; | |
6162 | esac | |
6163 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
6164 | as_dirs= | |
6165 | while :; do | |
6166 | case $as_dir in #( | |
6167 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
6168 | *) as_qdir=$as_dir;; | |
6169 | esac | |
6170 | as_dirs="'$as_qdir' $as_dirs" | |
6171 | as_dir=`$as_dirname -- "$as_dir" || | |
6172 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
6173 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
6174 | X"$as_dir" : 'X\(//\)$' \| \ | |
6175 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
6176 | $as_echo X"$as_dir" | | |
6177 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
6178 | s//\1/ | |
6179 | q | |
6180 | } | |
6181 | /^X\(\/\/\)[^/].*/{ | |
6182 | s//\1/ | |
6183 | q | |
6184 | } | |
6185 | /^X\(\/\/\)$/{ | |
6186 | s//\1/ | |
6187 | q | |
6188 | } | |
6189 | /^X\(\/\).*/{ | |
6190 | s//\1/ | |
6191 | q | |
6192 | } | |
6193 | s/.*/./; q'` | |
6194 | test -d "$as_dir" && break | |
6195 | done | |
6196 | test -z "$as_dirs" || eval "mkdir $as_dirs" | |
6197 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | |
6198 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
6199 | { (exit 1); exit 1; }; }; } | |
6200 | # echo "creating $dirpart/$file" | |
6201 | echo '# dummy' > "$dirpart/$file" | |
6202 | done | |
6203 | done | |
6204 | ;; | |
6205 | ||
6206 | esac | |
6207 | done # for ac_tag | |
6208 | ||
6209 | ||
6210 | { (exit 0); exit 0; } | |
6211 | _ACEOF | |
6212 | chmod +x $CONFIG_STATUS | |
6213 | ac_clean_files=$ac_clean_files_save | |
6214 | ||
6215 | test $ac_write_fail = 0 || | |
6216 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 | |
6217 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} | |
6218 | { (exit 1); exit 1; }; } | |
6219 | ||
6220 | ||
6221 | # configure is writing to config.log, and then calls config.status. | |
6222 | # config.status does its own redirection, appending to config.log. | |
6223 | # Unfortunately, on DOS this fails, as config.log is still kept open | |
6224 | # by configure, so config.status won't be able to write to it; its | |
6225 | # output is simply discarded. So we exec the FD to /dev/null, | |
6226 | # effectively closing config.log, so it can be properly (re)opened and | |
6227 | # appended to by config.status. When coming back to configure, we | |
6228 | # need to make the FD available again. | |
6229 | if test "$no_create" != yes; then | |
6230 | ac_cs_success=: | |
6231 | ac_config_status_args= | |
6232 | test "$silent" = yes && | |
6233 | ac_config_status_args="$ac_config_status_args --quiet" | |
6234 | exec 5>/dev/null | |
6235 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | |
6236 | exec 5>>config.log | |
6237 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
6238 | # would make configure fail if this is the last instruction. | |
6239 | $ac_cs_success || { (exit 1); exit 1; } | |
6240 | fi | |
6241 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
6242 | { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
6243 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
6244 | fi | |
6245 | ||
6246 |
0 | @%:@! /bin/sh | |
1 | @%:@ Guess values for system-dependent variables and create Makefiles. | |
2 | @%:@ Generated by GNU Autoconf 2.63 for unrtf 0.21.2. | |
3 | @%:@ | |
4 | @%:@ Report bugs to <bug-unrtf@gnu.org>. | |
5 | @%:@ | |
6 | @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
7 | @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
8 | @%:@ This configure script is free software; the Free Software Foundation | |
9 | @%:@ gives unlimited permission to copy, distribute and modify it. | |
10 | ## --------------------- ## | |
11 | ## M4sh Initialization. ## | |
12 | ## --------------------- ## | |
13 | ||
14 | # Be more Bourne compatible | |
15 | DUALCASE=1; export DUALCASE # for MKS sh | |
16 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
17 | emulate sh | |
18 | NULLCMD=: | |
19 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
20 | # is contrary to our usage. Disable this feature. | |
21 | alias -g '${1+"$@"}'='"$@"' | |
22 | setopt NO_GLOB_SUBST | |
23 | else | |
24 | case `(set -o) 2>/dev/null` in | |
25 | *posix*) set -o posix ;; | |
26 | esac | |
27 | ||
28 | fi | |
29 | ||
30 | ||
31 | ||
32 | ||
33 | # PATH needs CR | |
34 | # Avoid depending upon Character Ranges. | |
35 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
36 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
37 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
38 | as_cr_digits='0123456789' | |
39 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
40 | ||
41 | as_nl=' | |
42 | ' | |
43 | export as_nl | |
44 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
45 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
46 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
47 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
48 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
49 | as_echo='printf %s\n' | |
50 | as_echo_n='printf %s' | |
51 | else | |
52 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
53 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
54 | as_echo_n='/usr/ucb/echo -n' | |
55 | else | |
56 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
57 | as_echo_n_body='eval | |
58 | arg=$1; | |
59 | case $arg in | |
60 | *"$as_nl"*) | |
61 | expr "X$arg" : "X\\(.*\\)$as_nl"; | |
62 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
63 | esac; | |
64 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
65 | ' | |
66 | export as_echo_n_body | |
67 | as_echo_n='sh -c $as_echo_n_body as_echo' | |
68 | fi | |
69 | export as_echo_body | |
70 | as_echo='sh -c $as_echo_body as_echo' | |
71 | fi | |
72 | ||
73 | # The user is always right. | |
74 | if test "${PATH_SEPARATOR+set}" != set; then | |
75 | PATH_SEPARATOR=: | |
76 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
77 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
78 | PATH_SEPARATOR=';' | |
79 | } | |
80 | fi | |
81 | ||
82 | # Support unset when possible. | |
83 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
84 | as_unset=unset | |
85 | else | |
86 | as_unset=false | |
87 | fi | |
88 | ||
89 | ||
90 | # IFS | |
91 | # We need space, tab and new line, in precisely that order. Quoting is | |
92 | # there to prevent editors from complaining about space-tab. | |
93 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
94 | # splitting by setting IFS to empty value.) | |
95 | IFS=" "" $as_nl" | |
96 | ||
97 | # Find who we are. Look in the path if we contain no directory separator. | |
98 | case $0 in | |
99 | *[\\/]* ) as_myself=$0 ;; | |
100 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
101 | for as_dir in $PATH | |
102 | do | |
103 | IFS=$as_save_IFS | |
104 | test -z "$as_dir" && as_dir=. | |
105 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
106 | done | |
107 | IFS=$as_save_IFS | |
108 | ||
109 | ;; | |
110 | esac | |
111 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
112 | # in which case we are not to be found in the path. | |
113 | if test "x$as_myself" = x; then | |
114 | as_myself=$0 | |
115 | fi | |
116 | if test ! -f "$as_myself"; then | |
117 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
118 | { (exit 1); exit 1; } | |
119 | fi | |
120 | ||
121 | # Work around bugs in pre-3.0 UWIN ksh. | |
122 | for as_var in ENV MAIL MAILPATH | |
123 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
124 | done | |
125 | PS1='$ ' | |
126 | PS2='> ' | |
127 | PS4='+ ' | |
128 | ||
129 | # NLS nuisances. | |
130 | LC_ALL=C | |
131 | export LC_ALL | |
132 | LANGUAGE=C | |
133 | export LANGUAGE | |
134 | ||
135 | # Required to use basename. | |
136 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
137 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
138 | as_expr=expr | |
139 | else | |
140 | as_expr=false | |
141 | fi | |
142 | ||
143 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
144 | as_basename=basename | |
145 | else | |
146 | as_basename=false | |
147 | fi | |
148 | ||
149 | ||
150 | # Name of the executable. | |
151 | as_me=`$as_basename -- "$0" || | |
152 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
153 | X"$0" : 'X\(//\)$' \| \ | |
154 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
155 | $as_echo X/"$0" | | |
156 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
157 | s//\1/ | |
158 | q | |
159 | } | |
160 | /^X\/\(\/\/\)$/{ | |
161 | s//\1/ | |
162 | q | |
163 | } | |
164 | /^X\/\(\/\).*/{ | |
165 | s//\1/ | |
166 | q | |
167 | } | |
168 | s/.*/./; q'` | |
169 | ||
170 | # CDPATH. | |
171 | $as_unset CDPATH | |
172 | ||
173 | ||
174 | if test "x$CONFIG_SHELL" = x; then | |
175 | if (eval ":") 2>/dev/null; then | |
176 | as_have_required=yes | |
177 | else | |
178 | as_have_required=no | |
179 | fi | |
180 | ||
181 | if test $as_have_required = yes && (eval ": | |
182 | (as_func_return () { | |
183 | (exit \$1) | |
184 | } | |
185 | as_func_success () { | |
186 | as_func_return 0 | |
187 | } | |
188 | as_func_failure () { | |
189 | as_func_return 1 | |
190 | } | |
191 | as_func_ret_success () { | |
192 | return 0 | |
193 | } | |
194 | as_func_ret_failure () { | |
195 | return 1 | |
196 | } | |
197 | ||
198 | exitcode=0 | |
199 | if as_func_success; then | |
200 | : | |
201 | else | |
202 | exitcode=1 | |
203 | echo as_func_success failed. | |
204 | fi | |
205 | ||
206 | if as_func_failure; then | |
207 | exitcode=1 | |
208 | echo as_func_failure succeeded. | |
209 | fi | |
210 | ||
211 | if as_func_ret_success; then | |
212 | : | |
213 | else | |
214 | exitcode=1 | |
215 | echo as_func_ret_success failed. | |
216 | fi | |
217 | ||
218 | if as_func_ret_failure; then | |
219 | exitcode=1 | |
220 | echo as_func_ret_failure succeeded. | |
221 | fi | |
222 | ||
223 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
224 | : | |
225 | else | |
226 | exitcode=1 | |
227 | echo positional parameters were not saved. | |
228 | fi | |
229 | ||
230 | test \$exitcode = 0) || { (exit 1); exit 1; } | |
231 | ||
232 | ( | |
233 | as_lineno_1=\$LINENO | |
234 | as_lineno_2=\$LINENO | |
235 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | |
236 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | |
237 | ") 2> /dev/null; then | |
238 | : | |
239 | else | |
240 | as_candidate_shells= | |
241 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
242 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
243 | do | |
244 | IFS=$as_save_IFS | |
245 | test -z "$as_dir" && as_dir=. | |
246 | case $as_dir in | |
247 | /*) | |
248 | for as_base in sh bash ksh sh5; do | |
249 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | |
250 | done;; | |
251 | esac | |
252 | done | |
253 | IFS=$as_save_IFS | |
254 | ||
255 | ||
256 | for as_shell in $as_candidate_shells $SHELL; do | |
257 | # Try only shells that exist, to save several forks. | |
258 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
259 | { ("$as_shell") 2> /dev/null <<\_ASEOF | |
260 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
261 | emulate sh | |
262 | NULLCMD=: | |
263 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
264 | # is contrary to our usage. Disable this feature. | |
265 | alias -g '${1+"$@"}'='"$@"' | |
266 | setopt NO_GLOB_SUBST | |
267 | else | |
268 | case `(set -o) 2>/dev/null` in | |
269 | *posix*) set -o posix ;; | |
270 | esac | |
271 | ||
272 | fi | |
273 | ||
274 | ||
275 | : | |
276 | _ASEOF | |
277 | }; then | |
278 | CONFIG_SHELL=$as_shell | |
279 | as_have_required=yes | |
280 | if { "$as_shell" 2> /dev/null <<\_ASEOF | |
281 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
282 | emulate sh | |
283 | NULLCMD=: | |
284 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
285 | # is contrary to our usage. Disable this feature. | |
286 | alias -g '${1+"$@"}'='"$@"' | |
287 | setopt NO_GLOB_SUBST | |
288 | else | |
289 | case `(set -o) 2>/dev/null` in | |
290 | *posix*) set -o posix ;; | |
291 | esac | |
292 | ||
293 | fi | |
294 | ||
295 | ||
296 | : | |
297 | (as_func_return () { | |
298 | (exit $1) | |
299 | } | |
300 | as_func_success () { | |
301 | as_func_return 0 | |
302 | } | |
303 | as_func_failure () { | |
304 | as_func_return 1 | |
305 | } | |
306 | as_func_ret_success () { | |
307 | return 0 | |
308 | } | |
309 | as_func_ret_failure () { | |
310 | return 1 | |
311 | } | |
312 | ||
313 | exitcode=0 | |
314 | if as_func_success; then | |
315 | : | |
316 | else | |
317 | exitcode=1 | |
318 | echo as_func_success failed. | |
319 | fi | |
320 | ||
321 | if as_func_failure; then | |
322 | exitcode=1 | |
323 | echo as_func_failure succeeded. | |
324 | fi | |
325 | ||
326 | if as_func_ret_success; then | |
327 | : | |
328 | else | |
329 | exitcode=1 | |
330 | echo as_func_ret_success failed. | |
331 | fi | |
332 | ||
333 | if as_func_ret_failure; then | |
334 | exitcode=1 | |
335 | echo as_func_ret_failure succeeded. | |
336 | fi | |
337 | ||
338 | if ( set x; as_func_ret_success y && test x = "$1" ); then | |
339 | : | |
340 | else | |
341 | exitcode=1 | |
342 | echo positional parameters were not saved. | |
343 | fi | |
344 | ||
345 | test $exitcode = 0) || { (exit 1); exit 1; } | |
346 | ||
347 | ( | |
348 | as_lineno_1=$LINENO | |
349 | as_lineno_2=$LINENO | |
350 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
351 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | |
352 | ||
353 | _ASEOF | |
354 | }; then | |
355 | break | |
356 | fi | |
357 | ||
358 | fi | |
359 | ||
360 | done | |
361 | ||
362 | if test "x$CONFIG_SHELL" != x; then | |
363 | for as_var in BASH_ENV ENV | |
364 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
365 | done | |
366 | export CONFIG_SHELL | |
367 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
368 | fi | |
369 | ||
370 | ||
371 | if test $as_have_required = no; then | |
372 | echo This script requires a shell more modern than all the | |
373 | echo shells that I found on your system. Please install a | |
374 | echo modern shell, or manually run the script under such a | |
375 | echo shell if you do have one. | |
376 | { (exit 1); exit 1; } | |
377 | fi | |
378 | ||
379 | ||
380 | fi | |
381 | ||
382 | fi | |
383 | ||
384 | ||
385 | ||
386 | (eval "as_func_return () { | |
387 | (exit \$1) | |
388 | } | |
389 | as_func_success () { | |
390 | as_func_return 0 | |
391 | } | |
392 | as_func_failure () { | |
393 | as_func_return 1 | |
394 | } | |
395 | as_func_ret_success () { | |
396 | return 0 | |
397 | } | |
398 | as_func_ret_failure () { | |
399 | return 1 | |
400 | } | |
401 | ||
402 | exitcode=0 | |
403 | if as_func_success; then | |
404 | : | |
405 | else | |
406 | exitcode=1 | |
407 | echo as_func_success failed. | |
408 | fi | |
409 | ||
410 | if as_func_failure; then | |
411 | exitcode=1 | |
412 | echo as_func_failure succeeded. | |
413 | fi | |
414 | ||
415 | if as_func_ret_success; then | |
416 | : | |
417 | else | |
418 | exitcode=1 | |
419 | echo as_func_ret_success failed. | |
420 | fi | |
421 | ||
422 | if as_func_ret_failure; then | |
423 | exitcode=1 | |
424 | echo as_func_ret_failure succeeded. | |
425 | fi | |
426 | ||
427 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
428 | : | |
429 | else | |
430 | exitcode=1 | |
431 | echo positional parameters were not saved. | |
432 | fi | |
433 | ||
434 | test \$exitcode = 0") || { | |
435 | echo No shell found that supports shell functions. | |
436 | echo Please tell bug-autoconf@gnu.org about your system, | |
437 | echo including any error possibly output before this message. | |
438 | echo This can help us improve future autoconf versions. | |
439 | echo Configuration will now proceed without shell functions. | |
440 | } | |
441 | ||
442 | ||
443 | ||
444 | as_lineno_1=$LINENO | |
445 | as_lineno_2=$LINENO | |
446 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
447 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
448 | ||
449 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
450 | # uniformly replaced by the line number. The first 'sed' inserts a | |
451 | # line-number line after each line using $LINENO; the second 'sed' | |
452 | # does the real work. The second script uses 'N' to pair each | |
453 | # line-number line with the line containing $LINENO, and appends | |
454 | # trailing '-' during substitution so that $LINENO is not a special | |
455 | # case at line end. | |
456 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
457 | # scripts with optimization help from Paolo Bonzini. Blame Lee | |
458 | # E. McMahon (1931-1989) for sed's syntax. :-) | |
459 | sed -n ' | |
460 | p | |
461 | /[$]LINENO/= | |
462 | ' <$as_myself | | |
463 | sed ' | |
464 | s/[$]LINENO.*/&-/ | |
465 | t lineno | |
466 | b | |
467 | :lineno | |
468 | N | |
469 | :loop | |
470 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
471 | t loop | |
472 | s/-\n.*// | |
473 | ' >$as_me.lineno && | |
474 | chmod +x "$as_me.lineno" || | |
475 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
476 | { (exit 1); exit 1; }; } | |
477 | ||
478 | # Don't try to exec as it changes $[0], causing all sort of problems | |
479 | # (the dirname of $[0] is not the place where we might find the | |
480 | # original and so on. Autoconf is especially sensitive to this). | |
481 | . "./$as_me.lineno" | |
482 | # Exit status is that of the last command. | |
483 | exit | |
484 | } | |
485 | ||
486 | ||
487 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
488 | as_dirname=dirname | |
489 | else | |
490 | as_dirname=false | |
491 | fi | |
492 | ||
493 | ECHO_C= ECHO_N= ECHO_T= | |
494 | case `echo -n x` in | |
495 | -n*) | |
496 | case `echo 'x\c'` in | |
497 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
498 | *) ECHO_C='\c';; | |
499 | esac;; | |
500 | *) | |
501 | ECHO_N='-n';; | |
502 | esac | |
503 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
504 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
505 | as_expr=expr | |
506 | else | |
507 | as_expr=false | |
508 | fi | |
509 | ||
510 | rm -f conf$$ conf$$.exe conf$$.file | |
511 | if test -d conf$$.dir; then | |
512 | rm -f conf$$.dir/conf$$.file | |
513 | else | |
514 | rm -f conf$$.dir | |
515 | mkdir conf$$.dir 2>/dev/null | |
516 | fi | |
517 | if (echo >conf$$.file) 2>/dev/null; then | |
518 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
519 | as_ln_s='ln -s' | |
520 | # ... but there are two gotchas: | |
521 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
522 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
523 | # In both cases, we have to default to `cp -p'. | |
524 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
525 | as_ln_s='cp -p' | |
526 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
527 | as_ln_s=ln | |
528 | else | |
529 | as_ln_s='cp -p' | |
530 | fi | |
531 | else | |
532 | as_ln_s='cp -p' | |
533 | fi | |
534 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
535 | rmdir conf$$.dir 2>/dev/null | |
536 | ||
537 | if mkdir -p . 2>/dev/null; then | |
538 | as_mkdir_p=: | |
539 | else | |
540 | test -d ./-p && rmdir ./-p | |
541 | as_mkdir_p=false | |
542 | fi | |
543 | ||
544 | if test -x / >/dev/null 2>&1; then | |
545 | as_test_x='test -x' | |
546 | else | |
547 | if ls -dL / >/dev/null 2>&1; then | |
548 | as_ls_L_option=L | |
549 | else | |
550 | as_ls_L_option= | |
551 | fi | |
552 | as_test_x=' | |
553 | eval sh -c '\'' | |
554 | if test -d "$1"; then | |
555 | test -d "$1/."; | |
556 | else | |
557 | case $1 in | |
558 | -*)set "./$1";; | |
559 | esac; | |
560 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
561 | ???[sx]*):;;*)false;;esac;fi | |
562 | '\'' sh | |
563 | ' | |
564 | fi | |
565 | as_executable_p=$as_test_x | |
566 | ||
567 | # Sed expression to map a string onto a valid CPP name. | |
568 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
569 | ||
570 | # Sed expression to map a string onto a valid variable name. | |
571 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
572 | ||
573 | ||
574 | ||
575 | exec 7<&0 </dev/null 6>&1 | |
576 | ||
577 | # Name of the host. | |
578 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
579 | # so uname gets run too. | |
580 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
581 | ||
582 | # | |
583 | # Initializations. | |
584 | # | |
585 | ac_default_prefix=/usr/local | |
586 | ac_clean_files= | |
587 | ac_config_libobj_dir=. | |
588 | LIB@&t@OBJS= | |
589 | cross_compiling=no | |
590 | subdirs= | |
591 | MFLAGS= | |
592 | MAKEFLAGS= | |
593 | SHELL=${CONFIG_SHELL-/bin/sh} | |
594 | ||
595 | # Identity of this package. | |
596 | PACKAGE_NAME='unrtf' | |
597 | PACKAGE_TARNAME='unrtf' | |
598 | PACKAGE_VERSION='0.21.2' | |
599 | PACKAGE_STRING='unrtf 0.21.2' | |
600 | PACKAGE_BUGREPORT='bug-unrtf@gnu.org' | |
601 | ||
602 | ac_unique_file="src/attr.c" | |
603 | # Factoring default headers for most tests. | |
604 | ac_includes_default="\ | |
605 | #include <stdio.h> | |
606 | #ifdef HAVE_SYS_TYPES_H | |
607 | # include <sys/types.h> | |
608 | #endif | |
609 | #ifdef HAVE_SYS_STAT_H | |
610 | # include <sys/stat.h> | |
611 | #endif | |
612 | #ifdef STDC_HEADERS | |
613 | # include <stdlib.h> | |
614 | # include <stddef.h> | |
615 | #else | |
616 | # ifdef HAVE_STDLIB_H | |
617 | # include <stdlib.h> | |
618 | # endif | |
619 | #endif | |
620 | #ifdef HAVE_STRING_H | |
621 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | |
622 | # include <memory.h> | |
623 | # endif | |
624 | # include <string.h> | |
625 | #endif | |
626 | #ifdef HAVE_STRINGS_H | |
627 | # include <strings.h> | |
628 | #endif | |
629 | #ifdef HAVE_INTTYPES_H | |
630 | # include <inttypes.h> | |
631 | #endif | |
632 | #ifdef HAVE_STDINT_H | |
633 | # include <stdint.h> | |
634 | #endif | |
635 | #ifdef HAVE_UNISTD_H | |
636 | # include <unistd.h> | |
637 | #endif" | |
638 | ||
639 | ac_subst_vars='am__EXEEXT_FALSE | |
640 | am__EXEEXT_TRUE | |
641 | LTLIBOBJS | |
642 | host_os | |
643 | host_vendor | |
644 | host_cpu | |
645 | host | |
646 | build_os | |
647 | build_vendor | |
648 | build_cpu | |
649 | build | |
650 | LIB@&t@OBJS | |
651 | EGREP | |
652 | GREP | |
653 | CPP | |
654 | am__fastdepCC_FALSE | |
655 | am__fastdepCC_TRUE | |
656 | CCDEPMODE | |
657 | AMDEPBACKSLASH | |
658 | AMDEP_FALSE | |
659 | AMDEP_TRUE | |
660 | am__quote | |
661 | am__include | |
662 | DEPDIR | |
663 | OBJEXT | |
664 | EXEEXT | |
665 | ac_ct_CC | |
666 | CPPFLAGS | |
667 | LDFLAGS | |
668 | CFLAGS | |
669 | CC | |
670 | MAINT | |
671 | MAINTAINER_MODE_FALSE | |
672 | MAINTAINER_MODE_TRUE | |
673 | am__untar | |
674 | am__tar | |
675 | AMTAR | |
676 | am__leading_dot | |
677 | SET_MAKE | |
678 | AWK | |
679 | mkdir_p | |
680 | MKDIR_P | |
681 | INSTALL_STRIP_PROGRAM | |
682 | STRIP | |
683 | install_sh | |
684 | MAKEINFO | |
685 | AUTOHEADER | |
686 | AUTOMAKE | |
687 | AUTOCONF | |
688 | ACLOCAL | |
689 | VERSION | |
690 | PACKAGE | |
691 | CYGPATH_W | |
692 | am__isrc | |
693 | INSTALL_DATA | |
694 | INSTALL_SCRIPT | |
695 | INSTALL_PROGRAM | |
696 | target_alias | |
697 | host_alias | |
698 | build_alias | |
699 | LIBS | |
700 | ECHO_T | |
701 | ECHO_N | |
702 | ECHO_C | |
703 | DEFS | |
704 | mandir | |
705 | localedir | |
706 | libdir | |
707 | psdir | |
708 | pdfdir | |
709 | dvidir | |
710 | htmldir | |
711 | infodir | |
712 | docdir | |
713 | oldincludedir | |
714 | includedir | |
715 | localstatedir | |
716 | sharedstatedir | |
717 | sysconfdir | |
718 | datadir | |
719 | datarootdir | |
720 | libexecdir | |
721 | sbindir | |
722 | bindir | |
723 | program_transform_name | |
724 | prefix | |
725 | exec_prefix | |
726 | PACKAGE_BUGREPORT | |
727 | PACKAGE_STRING | |
728 | PACKAGE_VERSION | |
729 | PACKAGE_TARNAME | |
730 | PACKAGE_NAME | |
731 | PATH_SEPARATOR | |
732 | SHELL' | |
733 | ac_subst_files='' | |
734 | ac_user_opts=' | |
735 | enable_option_checking | |
736 | enable_maintainer_mode | |
737 | enable_dependency_tracking | |
738 | ' | |
739 | ac_precious_vars='build_alias | |
740 | host_alias | |
741 | target_alias | |
742 | CC | |
743 | CFLAGS | |
744 | LDFLAGS | |
745 | LIBS | |
746 | CPPFLAGS | |
747 | CPP' | |
748 | ||
749 | ||
750 | # Initialize some variables set by options. | |
751 | ac_init_help= | |
752 | ac_init_version=false | |
753 | ac_unrecognized_opts= | |
754 | ac_unrecognized_sep= | |
755 | # The variables have the same names as the options, with | |
756 | # dashes changed to underlines. | |
757 | cache_file=/dev/null | |
758 | exec_prefix=NONE | |
759 | no_create= | |
760 | no_recursion= | |
761 | prefix=NONE | |
762 | program_prefix=NONE | |
763 | program_suffix=NONE | |
764 | program_transform_name=s,x,x, | |
765 | silent= | |
766 | site= | |
767 | srcdir= | |
768 | verbose= | |
769 | x_includes=NONE | |
770 | x_libraries=NONE | |
771 | ||
772 | # Installation directory options. | |
773 | # These are left unexpanded so users can "make install exec_prefix=/foo" | |
774 | # and all the variables that are supposed to be based on exec_prefix | |
775 | # by default will actually change. | |
776 | # Use braces instead of parens because sh, perl, etc. also accept them. | |
777 | # (The list follows the same order as the GNU Coding Standards.) | |
778 | bindir='${exec_prefix}/bin' | |
779 | sbindir='${exec_prefix}/sbin' | |
780 | libexecdir='${exec_prefix}/libexec' | |
781 | datarootdir='${prefix}/share' | |
782 | datadir='${datarootdir}' | |
783 | sysconfdir='${prefix}/etc' | |
784 | sharedstatedir='${prefix}/com' | |
785 | localstatedir='${prefix}/var' | |
786 | includedir='${prefix}/include' | |
787 | oldincludedir='/usr/include' | |
788 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | |
789 | infodir='${datarootdir}/info' | |
790 | htmldir='${docdir}' | |
791 | dvidir='${docdir}' | |
792 | pdfdir='${docdir}' | |
793 | psdir='${docdir}' | |
794 | libdir='${exec_prefix}/lib' | |
795 | localedir='${datarootdir}/locale' | |
796 | mandir='${datarootdir}/man' | |
797 | ||
798 | ac_prev= | |
799 | ac_dashdash= | |
800 | for ac_option | |
801 | do | |
802 | # If the previous option needs an argument, assign it. | |
803 | if test -n "$ac_prev"; then | |
804 | eval $ac_prev=\$ac_option | |
805 | ac_prev= | |
806 | continue | |
807 | fi | |
808 | ||
809 | case $ac_option in | |
810 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
811 | *) ac_optarg=yes ;; | |
812 | esac | |
813 | ||
814 | # Accept the important Cygnus configure options, so we can diagnose typos. | |
815 | ||
816 | case $ac_dashdash$ac_option in | |
817 | --) | |
818 | ac_dashdash=yes ;; | |
819 | ||
820 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
821 | ac_prev=bindir ;; | |
822 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
823 | bindir=$ac_optarg ;; | |
824 | ||
825 | -build | --build | --buil | --bui | --bu) | |
826 | ac_prev=build_alias ;; | |
827 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
828 | build_alias=$ac_optarg ;; | |
829 | ||
830 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
831 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
832 | ac_prev=cache_file ;; | |
833 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
834 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
835 | cache_file=$ac_optarg ;; | |
836 | ||
837 | --config-cache | -C) | |
838 | cache_file=config.cache ;; | |
839 | ||
840 | -datadir | --datadir | --datadi | --datad) | |
841 | ac_prev=datadir ;; | |
842 | -datadir=* | --datadir=* | --datadi=* | --datad=*) | |
843 | datadir=$ac_optarg ;; | |
844 | ||
845 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
846 | | --dataroo | --dataro | --datar) | |
847 | ac_prev=datarootdir ;; | |
848 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
849 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
850 | datarootdir=$ac_optarg ;; | |
851 | ||
852 | -disable-* | --disable-*) | |
853 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
854 | # Reject names that are not valid shell variable names. | |
855 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
856 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | |
857 | { (exit 1); exit 1; }; } | |
858 | ac_useropt_orig=$ac_useropt | |
859 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
860 | case $ac_user_opts in | |
861 | *" | |
862 | "enable_$ac_useropt" | |
863 | "*) ;; | |
864 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
865 | ac_unrecognized_sep=', ';; | |
866 | esac | |
867 | eval enable_$ac_useropt=no ;; | |
868 | ||
869 | -docdir | --docdir | --docdi | --doc | --do) | |
870 | ac_prev=docdir ;; | |
871 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
872 | docdir=$ac_optarg ;; | |
873 | ||
874 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
875 | ac_prev=dvidir ;; | |
876 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
877 | dvidir=$ac_optarg ;; | |
878 | ||
879 | -enable-* | --enable-*) | |
880 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
881 | # Reject names that are not valid shell variable names. | |
882 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
883 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | |
884 | { (exit 1); exit 1; }; } | |
885 | ac_useropt_orig=$ac_useropt | |
886 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
887 | case $ac_user_opts in | |
888 | *" | |
889 | "enable_$ac_useropt" | |
890 | "*) ;; | |
891 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
892 | ac_unrecognized_sep=', ';; | |
893 | esac | |
894 | eval enable_$ac_useropt=\$ac_optarg ;; | |
895 | ||
896 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
897 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
898 | | --exec | --exe | --ex) | |
899 | ac_prev=exec_prefix ;; | |
900 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
901 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
902 | | --exec=* | --exe=* | --ex=*) | |
903 | exec_prefix=$ac_optarg ;; | |
904 | ||
905 | -gas | --gas | --ga | --g) | |
906 | # Obsolete; use --with-gas. | |
907 | with_gas=yes ;; | |
908 | ||
909 | -help | --help | --hel | --he | -h) | |
910 | ac_init_help=long ;; | |
911 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
912 | ac_init_help=recursive ;; | |
913 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
914 | ac_init_help=short ;; | |
915 | ||
916 | -host | --host | --hos | --ho) | |
917 | ac_prev=host_alias ;; | |
918 | -host=* | --host=* | --hos=* | --ho=*) | |
919 | host_alias=$ac_optarg ;; | |
920 | ||
921 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
922 | ac_prev=htmldir ;; | |
923 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
924 | | --ht=*) | |
925 | htmldir=$ac_optarg ;; | |
926 | ||
927 | -includedir | --includedir | --includedi | --included | --include \ | |
928 | | --includ | --inclu | --incl | --inc) | |
929 | ac_prev=includedir ;; | |
930 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
931 | | --includ=* | --inclu=* | --incl=* | --inc=*) | |
932 | includedir=$ac_optarg ;; | |
933 | ||
934 | -infodir | --infodir | --infodi | --infod | --info | --inf) | |
935 | ac_prev=infodir ;; | |
936 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
937 | infodir=$ac_optarg ;; | |
938 | ||
939 | -libdir | --libdir | --libdi | --libd) | |
940 | ac_prev=libdir ;; | |
941 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
942 | libdir=$ac_optarg ;; | |
943 | ||
944 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
945 | | --libexe | --libex | --libe) | |
946 | ac_prev=libexecdir ;; | |
947 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
948 | | --libexe=* | --libex=* | --libe=*) | |
949 | libexecdir=$ac_optarg ;; | |
950 | ||
951 | -localedir | --localedir | --localedi | --localed | --locale) | |
952 | ac_prev=localedir ;; | |
953 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
954 | localedir=$ac_optarg ;; | |
955 | ||
956 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
957 | | --localstate | --localstat | --localsta | --localst | --locals) | |
958 | ac_prev=localstatedir ;; | |
959 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
960 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | |
961 | localstatedir=$ac_optarg ;; | |
962 | ||
963 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
964 | ac_prev=mandir ;; | |
965 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
966 | mandir=$ac_optarg ;; | |
967 | ||
968 | -nfp | --nfp | --nf) | |
969 | # Obsolete; use --without-fp. | |
970 | with_fp=no ;; | |
971 | ||
972 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
973 | | --no-cr | --no-c | -n) | |
974 | no_create=yes ;; | |
975 | ||
976 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
977 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
978 | no_recursion=yes ;; | |
979 | ||
980 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
981 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
982 | | --oldin | --oldi | --old | --ol | --o) | |
983 | ac_prev=oldincludedir ;; | |
984 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
985 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
986 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
987 | oldincludedir=$ac_optarg ;; | |
988 | ||
989 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
990 | ac_prev=prefix ;; | |
991 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
992 | prefix=$ac_optarg ;; | |
993 | ||
994 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
995 | | --program-pre | --program-pr | --program-p) | |
996 | ac_prev=program_prefix ;; | |
997 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
998 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
999 | program_prefix=$ac_optarg ;; | |
1000 | ||
1001 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
1002 | | --program-suf | --program-su | --program-s) | |
1003 | ac_prev=program_suffix ;; | |
1004 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
1005 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
1006 | program_suffix=$ac_optarg ;; | |
1007 | ||
1008 | -program-transform-name | --program-transform-name \ | |
1009 | | --program-transform-nam | --program-transform-na \ | |
1010 | | --program-transform-n | --program-transform- \ | |
1011 | | --program-transform | --program-transfor \ | |
1012 | | --program-transfo | --program-transf \ | |
1013 | | --program-trans | --program-tran \ | |
1014 | | --progr-tra | --program-tr | --program-t) | |
1015 | ac_prev=program_transform_name ;; | |
1016 | -program-transform-name=* | --program-transform-name=* \ | |
1017 | | --program-transform-nam=* | --program-transform-na=* \ | |
1018 | | --program-transform-n=* | --program-transform-=* \ | |
1019 | | --program-transform=* | --program-transfor=* \ | |
1020 | | --program-transfo=* | --program-transf=* \ | |
1021 | | --program-trans=* | --program-tran=* \ | |
1022 | | --progr-tra=* | --program-tr=* | --program-t=*) | |
1023 | program_transform_name=$ac_optarg ;; | |
1024 | ||
1025 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
1026 | ac_prev=pdfdir ;; | |
1027 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
1028 | pdfdir=$ac_optarg ;; | |
1029 | ||
1030 | -psdir | --psdir | --psdi | --psd | --ps) | |
1031 | ac_prev=psdir ;; | |
1032 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
1033 | psdir=$ac_optarg ;; | |
1034 | ||
1035 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
1036 | | -silent | --silent | --silen | --sile | --sil) | |
1037 | silent=yes ;; | |
1038 | ||
1039 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
1040 | ac_prev=sbindir ;; | |
1041 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
1042 | | --sbi=* | --sb=*) | |
1043 | sbindir=$ac_optarg ;; | |
1044 | ||
1045 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
1046 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
1047 | | --sharedst | --shareds | --shared | --share | --shar \ | |
1048 | | --sha | --sh) | |
1049 | ac_prev=sharedstatedir ;; | |
1050 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
1051 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
1052 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
1053 | | --sha=* | --sh=*) | |
1054 | sharedstatedir=$ac_optarg ;; | |
1055 | ||
1056 | -site | --site | --sit) | |
1057 | ac_prev=site ;; | |
1058 | -site=* | --site=* | --sit=*) | |
1059 | site=$ac_optarg ;; | |
1060 | ||
1061 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
1062 | ac_prev=srcdir ;; | |
1063 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
1064 | srcdir=$ac_optarg ;; | |
1065 | ||
1066 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
1067 | | --syscon | --sysco | --sysc | --sys | --sy) | |
1068 | ac_prev=sysconfdir ;; | |
1069 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
1070 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
1071 | sysconfdir=$ac_optarg ;; | |
1072 | ||
1073 | -target | --target | --targe | --targ | --tar | --ta | --t) | |
1074 | ac_prev=target_alias ;; | |
1075 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
1076 | target_alias=$ac_optarg ;; | |
1077 | ||
1078 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
1079 | verbose=yes ;; | |
1080 | ||
1081 | -version | --version | --versio | --versi | --vers | -V) | |
1082 | ac_init_version=: ;; | |
1083 | ||
1084 | -with-* | --with-*) | |
1085 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
1086 | # Reject names that are not valid shell variable names. | |
1087 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
1088 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | |
1089 | { (exit 1); exit 1; }; } | |
1090 | ac_useropt_orig=$ac_useropt | |
1091 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1092 | case $ac_user_opts in | |
1093 | *" | |
1094 | "with_$ac_useropt" | |
1095 | "*) ;; | |
1096 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
1097 | ac_unrecognized_sep=', ';; | |
1098 | esac | |
1099 | eval with_$ac_useropt=\$ac_optarg ;; | |
1100 | ||
1101 | -without-* | --without-*) | |
1102 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
1103 | # Reject names that are not valid shell variable names. | |
1104 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
1105 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | |
1106 | { (exit 1); exit 1; }; } | |
1107 | ac_useropt_orig=$ac_useropt | |
1108 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1109 | case $ac_user_opts in | |
1110 | *" | |
1111 | "with_$ac_useropt" | |
1112 | "*) ;; | |
1113 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1114 | ac_unrecognized_sep=', ';; | |
1115 | esac | |
1116 | eval with_$ac_useropt=no ;; | |
1117 | ||
1118 | --x) | |
1119 | # Obsolete; use --with-x. | |
1120 | with_x=yes ;; | |
1121 | ||
1122 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
1123 | | --x-incl | --x-inc | --x-in | --x-i) | |
1124 | ac_prev=x_includes ;; | |
1125 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
1126 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
1127 | x_includes=$ac_optarg ;; | |
1128 | ||
1129 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
1130 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
1131 | ac_prev=x_libraries ;; | |
1132 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
1133 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
1134 | x_libraries=$ac_optarg ;; | |
1135 | ||
1136 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option | |
1137 | Try \`$0 --help' for more information." >&2 | |
1138 | { (exit 1); exit 1; }; } | |
1139 | ;; | |
1140 | ||
1141 | *=*) | |
1142 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
1143 | # Reject names that are not valid shell variable names. | |
1144 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | |
1145 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | |
1146 | { (exit 1); exit 1; }; } | |
1147 | eval $ac_envvar=\$ac_optarg | |
1148 | export $ac_envvar ;; | |
1149 | ||
1150 | *) | |
1151 | # FIXME: should be removed in autoconf 3.0. | |
1152 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
1153 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
1154 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
1155 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | |
1156 | ;; | |
1157 | ||
1158 | esac | |
1159 | done | |
1160 | ||
1161 | if test -n "$ac_prev"; then | |
1162 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
1163 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 | |
1164 | { (exit 1); exit 1; }; } | |
1165 | fi | |
1166 | ||
1167 | if test -n "$ac_unrecognized_opts"; then | |
1168 | case $enable_option_checking in | |
1169 | no) ;; | |
1170 | fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 | |
1171 | { (exit 1); exit 1; }; } ;; | |
1172 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1173 | esac | |
1174 | fi | |
1175 | ||
1176 | # Check all directory arguments for consistency. | |
1177 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |
1178 | datadir sysconfdir sharedstatedir localstatedir includedir \ | |
1179 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
1180 | libdir localedir mandir | |
1181 | do | |
1182 | eval ac_val=\$$ac_var | |
1183 | # Remove trailing slashes. | |
1184 | case $ac_val in | |
1185 | */ ) | |
1186 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
1187 | eval $ac_var=\$ac_val;; | |
1188 | esac | |
1189 | # Be sure to have absolute directory names. | |
1190 | case $ac_val in | |
1191 | [\\/$]* | ?:[\\/]* ) continue;; | |
1192 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
1193 | esac | |
1194 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
1195 | { (exit 1); exit 1; }; } | |
1196 | done | |
1197 | ||
1198 | # There might be people who depend on the old broken behavior: `$host' | |
1199 | # used to hold the argument of --host etc. | |
1200 | # FIXME: To remove some day. | |
1201 | build=$build_alias | |
1202 | host=$host_alias | |
1203 | target=$target_alias | |
1204 | ||
1205 | # FIXME: To remove some day. | |
1206 | if test "x$host_alias" != x; then | |
1207 | if test "x$build_alias" = x; then | |
1208 | cross_compiling=maybe | |
1209 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
1210 | If a cross compiler is detected then cross compile mode will be used." >&2 | |
1211 | elif test "x$build_alias" != "x$host_alias"; then | |
1212 | cross_compiling=yes | |
1213 | fi | |
1214 | fi | |
1215 | ||
1216 | ac_tool_prefix= | |
1217 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
1218 | ||
1219 | test "$silent" = yes && exec 6>/dev/null | |
1220 | ||
1221 | ||
1222 | ac_pwd=`pwd` && test -n "$ac_pwd" && | |
1223 | ac_ls_di=`ls -di .` && | |
1224 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
1225 | { $as_echo "$as_me: error: working directory cannot be determined" >&2 | |
1226 | { (exit 1); exit 1; }; } | |
1227 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
1228 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 | |
1229 | { (exit 1); exit 1; }; } | |
1230 | ||
1231 | ||
1232 | # Find the source files, if location was not specified. | |
1233 | if test -z "$srcdir"; then | |
1234 | ac_srcdir_defaulted=yes | |
1235 | # Try the directory containing this script, then the parent directory. | |
1236 | ac_confdir=`$as_dirname -- "$as_myself" || | |
1237 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
1238 | X"$as_myself" : 'X\(//\)[^/]' \| \ | |
1239 | X"$as_myself" : 'X\(//\)$' \| \ | |
1240 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | |
1241 | $as_echo X"$as_myself" | | |
1242 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
1243 | s//\1/ | |
1244 | q | |
1245 | } | |
1246 | /^X\(\/\/\)[^/].*/{ | |
1247 | s//\1/ | |
1248 | q | |
1249 | } | |
1250 | /^X\(\/\/\)$/{ | |
1251 | s//\1/ | |
1252 | q | |
1253 | } | |
1254 | /^X\(\/\).*/{ | |
1255 | s//\1/ | |
1256 | q | |
1257 | } | |
1258 | s/.*/./; q'` | |
1259 | srcdir=$ac_confdir | |
1260 | if test ! -r "$srcdir/$ac_unique_file"; then | |
1261 | srcdir=.. | |
1262 | fi | |
1263 | else | |
1264 | ac_srcdir_defaulted=no | |
1265 | fi | |
1266 | if test ! -r "$srcdir/$ac_unique_file"; then | |
1267 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | |
1268 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | |
1269 | { (exit 1); exit 1; }; } | |
1270 | fi | |
1271 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | |
1272 | ac_abs_confdir=`( | |
1273 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 | |
1274 | { (exit 1); exit 1; }; } | |
1275 | pwd)` | |
1276 | # When building in place, set srcdir=. | |
1277 | if test "$ac_abs_confdir" = "$ac_pwd"; then | |
1278 | srcdir=. | |
1279 | fi | |
1280 | # Remove unnecessary trailing slashes from srcdir. | |
1281 | # Double slashes in file names in object file debugging info | |
1282 | # mess up M-x gdb in Emacs. | |
1283 | case $srcdir in | |
1284 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
1285 | esac | |
1286 | for ac_var in $ac_precious_vars; do | |
1287 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
1288 | eval ac_env_${ac_var}_value=\$${ac_var} | |
1289 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
1290 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
1291 | done | |
1292 | ||
1293 | # | |
1294 | # Report the --help message. | |
1295 | # | |
1296 | if test "$ac_init_help" = "long"; then | |
1297 | # Omit some internal or obsolete options to make the list less imposing. | |
1298 | # This message is too long to be a string in the A/UX 3.1 sh. | |
1299 | cat <<_ACEOF | |
1300 | \`configure' configures unrtf 0.21.2 to adapt to many kinds of systems. | |
1301 | ||
1302 | Usage: $0 [OPTION]... [VAR=VALUE]... | |
1303 | ||
1304 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
1305 | VAR=VALUE. See below for descriptions of some of the useful variables. | |
1306 | ||
1307 | Defaults for the options are specified in brackets. | |
1308 | ||
1309 | Configuration: | |
1310 | -h, --help display this help and exit | |
1311 | --help=short display options specific to this package | |
1312 | --help=recursive display the short help of all the included packages | |
1313 | -V, --version display version information and exit | |
1314 | -q, --quiet, --silent do not print \`checking...' messages | |
1315 | --cache-file=FILE cache test results in FILE [disabled] | |
1316 | -C, --config-cache alias for \`--cache-file=config.cache' | |
1317 | -n, --no-create do not create output files | |
1318 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
1319 | ||
1320 | Installation directories: | |
1321 | --prefix=PREFIX install architecture-independent files in PREFIX | |
1322 | [$ac_default_prefix] | |
1323 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
1324 | [PREFIX] | |
1325 | ||
1326 | By default, \`make install' will install all the files in | |
1327 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
1328 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
1329 | for instance \`--prefix=\$HOME'. | |
1330 | ||
1331 | For better control, use the options below. | |
1332 | ||
1333 | Fine tuning of the installation directories: | |
1334 | --bindir=DIR user executables [EPREFIX/bin] | |
1335 | --sbindir=DIR system admin executables [EPREFIX/sbin] | |
1336 | --libexecdir=DIR program executables [EPREFIX/libexec] | |
1337 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
1338 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
1339 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
1340 | --libdir=DIR object code libraries [EPREFIX/lib] | |
1341 | --includedir=DIR C header files [PREFIX/include] | |
1342 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
1343 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
1344 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
1345 | --infodir=DIR info documentation [DATAROOTDIR/info] | |
1346 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1347 | --mandir=DIR man documentation [DATAROOTDIR/man] | |
1348 | --docdir=DIR documentation root @<:@DATAROOTDIR/doc/unrtf@:>@ | |
1349 | --htmldir=DIR html documentation [DOCDIR] | |
1350 | --dvidir=DIR dvi documentation [DOCDIR] | |
1351 | --pdfdir=DIR pdf documentation [DOCDIR] | |
1352 | --psdir=DIR ps documentation [DOCDIR] | |
1353 | _ACEOF | |
1354 | ||
1355 | cat <<\_ACEOF | |
1356 | ||
1357 | Program names: | |
1358 | --program-prefix=PREFIX prepend PREFIX to installed program names | |
1359 | --program-suffix=SUFFIX append SUFFIX to installed program names | |
1360 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names | |
1361 | ||
1362 | System types: | |
1363 | --build=BUILD configure for building on BUILD [guessed] | |
1364 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | |
1365 | _ACEOF | |
1366 | fi | |
1367 | ||
1368 | if test -n "$ac_init_help"; then | |
1369 | case $ac_init_help in | |
1370 | short | recursive ) echo "Configuration of unrtf 0.21.2:";; | |
1371 | esac | |
1372 | cat <<\_ACEOF | |
1373 | ||
1374 | Optional Features: | |
1375 | --disable-option-checking ignore unrecognized --enable/--with options | |
1376 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
1377 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
1378 | --enable-maintainer-mode enable make rules and dependencies not useful | |
1379 | (and sometimes confusing) to the casual installer | |
1380 | --disable-dependency-tracking speeds up one-time build | |
1381 | --enable-dependency-tracking do not reject slow dependency extractors | |
1382 | ||
1383 | Some influential environment variables: | |
1384 | CC C compiler command | |
1385 | CFLAGS C compiler flags | |
1386 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
1387 | nonstandard directory <lib dir> | |
1388 | LIBS libraries to pass to the linker, e.g. -l<library> | |
1389 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if | |
1390 | you have headers in a nonstandard directory <include dir> | |
1391 | CPP C preprocessor | |
1392 | ||
1393 | Use these variables to override the choices made by `configure' or to help | |
1394 | it to find libraries and programs with nonstandard names/locations. | |
1395 | ||
1396 | Report bugs to <bug-unrtf@gnu.org>. | |
1397 | _ACEOF | |
1398 | ac_status=$? | |
1399 | fi | |
1400 | ||
1401 | if test "$ac_init_help" = "recursive"; then | |
1402 | # If there are subdirs, report their specific --help. | |
1403 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
1404 | test -d "$ac_dir" || | |
1405 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1406 | continue | |
1407 | ac_builddir=. | |
1408 | ||
1409 | case "$ac_dir" in | |
1410 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1411 | *) | |
1412 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
1413 | # A ".." for each directory in $ac_dir_suffix. | |
1414 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
1415 | case $ac_top_builddir_sub in | |
1416 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1417 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
1418 | esac ;; | |
1419 | esac | |
1420 | ac_abs_top_builddir=$ac_pwd | |
1421 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
1422 | # for backward compatibility: | |
1423 | ac_top_builddir=$ac_top_build_prefix | |
1424 | ||
1425 | case $srcdir in | |
1426 | .) # We are building in place. | |
1427 | ac_srcdir=. | |
1428 | ac_top_srcdir=$ac_top_builddir_sub | |
1429 | ac_abs_top_srcdir=$ac_pwd ;; | |
1430 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
1431 | ac_srcdir=$srcdir$ac_dir_suffix; | |
1432 | ac_top_srcdir=$srcdir | |
1433 | ac_abs_top_srcdir=$srcdir ;; | |
1434 | *) # Relative name. | |
1435 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
1436 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
1437 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
1438 | esac | |
1439 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
1440 | ||
1441 | cd "$ac_dir" || { ac_status=$?; continue; } | |
1442 | # Check for guested configure. | |
1443 | if test -f "$ac_srcdir/configure.gnu"; then | |
1444 | echo && | |
1445 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
1446 | elif test -f "$ac_srcdir/configure"; then | |
1447 | echo && | |
1448 | $SHELL "$ac_srcdir/configure" --help=recursive | |
1449 | else | |
1450 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
1451 | fi || ac_status=$? | |
1452 | cd "$ac_pwd" || { ac_status=$?; break; } | |
1453 | done | |
1454 | fi | |
1455 | ||
1456 | test -n "$ac_init_help" && exit $ac_status | |
1457 | if $ac_init_version; then | |
1458 | cat <<\_ACEOF | |
1459 | unrtf configure 0.21.2 | |
1460 | generated by GNU Autoconf 2.63 | |
1461 | ||
1462 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
1463 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
1464 | This configure script is free software; the Free Software Foundation | |
1465 | gives unlimited permission to copy, distribute and modify it. | |
1466 | _ACEOF | |
1467 | exit | |
1468 | fi | |
1469 | cat >config.log <<_ACEOF | |
1470 | This file contains any messages produced by compilers while | |
1471 | running configure, to aid debugging if configure makes a mistake. | |
1472 | ||
1473 | It was created by unrtf $as_me 0.21.2, which was | |
1474 | generated by GNU Autoconf 2.63. Invocation command line was | |
1475 | ||
1476 | $ $0 $@ | |
1477 | ||
1478 | _ACEOF | |
1479 | exec 5>>config.log | |
1480 | { | |
1481 | cat <<_ASUNAME | |
1482 | @%:@@%:@ --------- @%:@@%:@ | |
1483 | @%:@@%:@ Platform. @%:@@%:@ | |
1484 | @%:@@%:@ --------- @%:@@%:@ | |
1485 | ||
1486 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
1487 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
1488 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
1489 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
1490 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
1491 | ||
1492 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
1493 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
1494 | ||
1495 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
1496 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
1497 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
1498 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | |
1499 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
1500 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
1501 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
1502 | ||
1503 | _ASUNAME | |
1504 | ||
1505 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1506 | for as_dir in $PATH | |
1507 | do | |
1508 | IFS=$as_save_IFS | |
1509 | test -z "$as_dir" && as_dir=. | |
1510 | $as_echo "PATH: $as_dir" | |
1511 | done | |
1512 | IFS=$as_save_IFS | |
1513 | ||
1514 | } >&5 | |
1515 | ||
1516 | cat >&5 <<_ACEOF | |
1517 | ||
1518 | ||
1519 | @%:@@%:@ ----------- @%:@@%:@ | |
1520 | @%:@@%:@ Core tests. @%:@@%:@ | |
1521 | @%:@@%:@ ----------- @%:@@%:@ | |
1522 | ||
1523 | _ACEOF | |
1524 | ||
1525 | ||
1526 | # Keep a trace of the command line. | |
1527 | # Strip out --no-create and --no-recursion so they do not pile up. | |
1528 | # Strip out --silent because we don't want to record it for future runs. | |
1529 | # Also quote any args containing shell meta-characters. | |
1530 | # Make two passes to allow for proper duplicate-argument suppression. | |
1531 | ac_configure_args= | |
1532 | ac_configure_args0= | |
1533 | ac_configure_args1= | |
1534 | ac_must_keep_next=false | |
1535 | for ac_pass in 1 2 | |
1536 | do | |
1537 | for ac_arg | |
1538 | do | |
1539 | case $ac_arg in | |
1540 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
1541 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
1542 | | -silent | --silent | --silen | --sile | --sil) | |
1543 | continue ;; | |
1544 | *\'*) | |
1545 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1546 | esac | |
1547 | case $ac_pass in | |
1548 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | |
1549 | 2) | |
1550 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | |
1551 | if test $ac_must_keep_next = true; then | |
1552 | ac_must_keep_next=false # Got value, back to normal. | |
1553 | else | |
1554 | case $ac_arg in | |
1555 | *=* | --config-cache | -C | -disable-* | --disable-* \ | |
1556 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
1557 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
1558 | | -with-* | --with-* | -without-* | --without-* | --x) | |
1559 | case "$ac_configure_args0 " in | |
1560 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
1561 | esac | |
1562 | ;; | |
1563 | -* ) ac_must_keep_next=true ;; | |
1564 | esac | |
1565 | fi | |
1566 | ac_configure_args="$ac_configure_args '$ac_arg'" | |
1567 | ;; | |
1568 | esac | |
1569 | done | |
1570 | done | |
1571 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | |
1572 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | |
1573 | ||
1574 | # When interrupted or exit'd, cleanup temporary files, and complete | |
1575 | # config.log. We remove comments because anyway the quotes in there | |
1576 | # would cause problems or look ugly. | |
1577 | # WARNING: Use '\'' to represent an apostrophe within the trap. | |
1578 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | |
1579 | trap 'exit_status=$? | |
1580 | # Save into config.log some information that might help in debugging. | |
1581 | { | |
1582 | echo | |
1583 | ||
1584 | cat <<\_ASBOX | |
1585 | @%:@@%:@ ---------------- @%:@@%:@ | |
1586 | @%:@@%:@ Cache variables. @%:@@%:@ | |
1587 | @%:@@%:@ ---------------- @%:@@%:@ | |
1588 | _ASBOX | |
1589 | echo | |
1590 | # The following way of writing the cache mishandles newlines in values, | |
1591 | ( | |
1592 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
1593 | eval ac_val=\$$ac_var | |
1594 | case $ac_val in #( | |
1595 | *${as_nl}*) | |
1596 | case $ac_var in #( | |
1597 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 | |
1598 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
1599 | esac | |
1600 | case $ac_var in #( | |
1601 | _ | IFS | as_nl) ;; #( | |
1602 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
1603 | *) $as_unset $ac_var ;; | |
1604 | esac ;; | |
1605 | esac | |
1606 | done | |
1607 | (set) 2>&1 | | |
1608 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | |
1609 | *${as_nl}ac_space=\ *) | |
1610 | sed -n \ | |
1611 | "s/'\''/'\''\\\\'\'''\''/g; | |
1612 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | |
1613 | ;; #( | |
1614 | *) | |
1615 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
1616 | ;; | |
1617 | esac | | |
1618 | sort | |
1619 | ) | |
1620 | echo | |
1621 | ||
1622 | cat <<\_ASBOX | |
1623 | @%:@@%:@ ----------------- @%:@@%:@ | |
1624 | @%:@@%:@ Output variables. @%:@@%:@ | |
1625 | @%:@@%:@ ----------------- @%:@@%:@ | |
1626 | _ASBOX | |
1627 | echo | |
1628 | for ac_var in $ac_subst_vars | |
1629 | do | |
1630 | eval ac_val=\$$ac_var | |
1631 | case $ac_val in | |
1632 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1633 | esac | |
1634 | $as_echo "$ac_var='\''$ac_val'\''" | |
1635 | done | sort | |
1636 | echo | |
1637 | ||
1638 | if test -n "$ac_subst_files"; then | |
1639 | cat <<\_ASBOX | |
1640 | @%:@@%:@ ------------------- @%:@@%:@ | |
1641 | @%:@@%:@ File substitutions. @%:@@%:@ | |
1642 | @%:@@%:@ ------------------- @%:@@%:@ | |
1643 | _ASBOX | |
1644 | echo | |
1645 | for ac_var in $ac_subst_files | |
1646 | do | |
1647 | eval ac_val=\$$ac_var | |
1648 | case $ac_val in | |
1649 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1650 | esac | |
1651 | $as_echo "$ac_var='\''$ac_val'\''" | |
1652 | done | sort | |
1653 | echo | |
1654 | fi | |
1655 | ||
1656 | if test -s confdefs.h; then | |
1657 | cat <<\_ASBOX | |
1658 | @%:@@%:@ ----------- @%:@@%:@ | |
1659 | @%:@@%:@ confdefs.h. @%:@@%:@ | |
1660 | @%:@@%:@ ----------- @%:@@%:@ | |
1661 | _ASBOX | |
1662 | echo | |
1663 | cat confdefs.h | |
1664 | echo | |
1665 | fi | |
1666 | test "$ac_signal" != 0 && | |
1667 | $as_echo "$as_me: caught signal $ac_signal" | |
1668 | $as_echo "$as_me: exit $exit_status" | |
1669 | } >&5 | |
1670 | rm -f core *.core core.conftest.* && | |
1671 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | |
1672 | exit $exit_status | |
1673 | ' 0 | |
1674 | for ac_signal in 1 2 13 15; do | |
1675 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | |
1676 | done | |
1677 | ac_signal=0 | |
1678 | ||
1679 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
1680 | rm -f -r conftest* confdefs.h | |
1681 | ||
1682 | # Predefined preprocessor variables. | |
1683 | ||
1684 | cat >>confdefs.h <<_ACEOF | |
1685 | @%:@define PACKAGE_NAME "$PACKAGE_NAME" | |
1686 | _ACEOF | |
1687 | ||
1688 | ||
1689 | cat >>confdefs.h <<_ACEOF | |
1690 | @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
1691 | _ACEOF | |
1692 | ||
1693 | ||
1694 | cat >>confdefs.h <<_ACEOF | |
1695 | @%:@define PACKAGE_VERSION "$PACKAGE_VERSION" | |
1696 | _ACEOF | |
1697 | ||
1698 | ||
1699 | cat >>confdefs.h <<_ACEOF | |
1700 | @%:@define PACKAGE_STRING "$PACKAGE_STRING" | |
1701 | _ACEOF | |
1702 | ||
1703 | ||
1704 | cat >>confdefs.h <<_ACEOF | |
1705 | @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
1706 | _ACEOF | |
1707 | ||
1708 | ||
1709 | # Let the site file select an alternate cache file if it wants to. | |
1710 | # Prefer an explicitly selected file to automatically selected ones. | |
1711 | ac_site_file1=NONE | |
1712 | ac_site_file2=NONE | |
1713 | if test -n "$CONFIG_SITE"; then | |
1714 | ac_site_file1=$CONFIG_SITE | |
1715 | elif test "x$prefix" != xNONE; then | |
1716 | ac_site_file1=$prefix/share/config.site | |
1717 | ac_site_file2=$prefix/etc/config.site | |
1718 | else | |
1719 | ac_site_file1=$ac_default_prefix/share/config.site | |
1720 | ac_site_file2=$ac_default_prefix/etc/config.site | |
1721 | fi | |
1722 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |
1723 | do | |
1724 | test "x$ac_site_file" = xNONE && continue | |
1725 | if test -r "$ac_site_file"; then | |
1726 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | |
1727 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
1728 | sed 's/^/| /' "$ac_site_file" >&5 | |
1729 | . "$ac_site_file" | |
1730 | fi | |
1731 | done | |
1732 | ||
1733 | if test -r "$cache_file"; then | |
1734 | # Some versions of bash will fail to source /dev/null (special | |
1735 | # files actually), so we avoid doing that. | |
1736 | if test -f "$cache_file"; then | |
1737 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 | |
1738 | $as_echo "$as_me: loading cache $cache_file" >&6;} | |
1739 | case $cache_file in | |
1740 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | |
1741 | *) . "./$cache_file";; | |
1742 | esac | |
1743 | fi | |
1744 | else | |
1745 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 | |
1746 | $as_echo "$as_me: creating cache $cache_file" >&6;} | |
1747 | >$cache_file | |
1748 | fi | |
1749 | ||
1750 | # Check that the precious variables saved in the cache have kept the same | |
1751 | # value. | |
1752 | ac_cache_corrupted=false | |
1753 | for ac_var in $ac_precious_vars; do | |
1754 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
1755 | eval ac_new_set=\$ac_env_${ac_var}_set | |
1756 | eval ac_old_val=\$ac_cv_env_${ac_var}_value | |
1757 | eval ac_new_val=\$ac_env_${ac_var}_value | |
1758 | case $ac_old_set,$ac_new_set in | |
1759 | set,) | |
1760 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
1761 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
1762 | ac_cache_corrupted=: ;; | |
1763 | ,set) | |
1764 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | |
1765 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
1766 | ac_cache_corrupted=: ;; | |
1767 | ,);; | |
1768 | *) | |
1769 | if test "x$ac_old_val" != "x$ac_new_val"; then | |
1770 | # differences in whitespace do not lead to failure. | |
1771 | ac_old_val_w=`echo x $ac_old_val` | |
1772 | ac_new_val_w=`echo x $ac_new_val` | |
1773 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | |
1774 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | |
1775 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
1776 | ac_cache_corrupted=: | |
1777 | else | |
1778 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
1779 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
1780 | eval $ac_var=\$ac_old_val | |
1781 | fi | |
1782 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 | |
1783 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
1784 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 | |
1785 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
1786 | fi;; | |
1787 | esac | |
1788 | # Pass precious variables to config.status. | |
1789 | if test "$ac_new_set" = set; then | |
1790 | case $ac_new_val in | |
1791 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1792 | *) ac_arg=$ac_var=$ac_new_val ;; | |
1793 | esac | |
1794 | case " $ac_configure_args " in | |
1795 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
1796 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
1797 | esac | |
1798 | fi | |
1799 | done | |
1800 | if $ac_cache_corrupted; then | |
1801 | { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
1802 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
1803 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | |
1804 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
1805 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | |
1806 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | |
1807 | { (exit 1); exit 1; }; } | |
1808 | fi | |
1809 | ||
1810 | ||
1811 | ||
1812 | ||
1813 | ||
1814 | ||
1815 | ||
1816 | ||
1817 | ||
1818 | ||
1819 | ||
1820 | ||
1821 | ||
1822 | ||
1823 | ||
1824 | ||
1825 | ||
1826 | ||
1827 | ||
1828 | ||
1829 | ||
1830 | ||
1831 | ||
1832 | ||
1833 | ||
1834 | ac_ext=c | |
1835 | ac_cpp='$CPP $CPPFLAGS' | |
1836 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1837 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1838 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
1839 | ||
1840 | ||
1841 | ||
1842 | ac_aux_dir= | |
1843 | for ac_dir in config "$srcdir"/config; do | |
1844 | if test -f "$ac_dir/install-sh"; then | |
1845 | ac_aux_dir=$ac_dir | |
1846 | ac_install_sh="$ac_aux_dir/install-sh -c" | |
1847 | break | |
1848 | elif test -f "$ac_dir/install.sh"; then | |
1849 | ac_aux_dir=$ac_dir | |
1850 | ac_install_sh="$ac_aux_dir/install.sh -c" | |
1851 | break | |
1852 | elif test -f "$ac_dir/shtool"; then | |
1853 | ac_aux_dir=$ac_dir | |
1854 | ac_install_sh="$ac_aux_dir/shtool install -c" | |
1855 | break | |
1856 | fi | |
1857 | done | |
1858 | if test -z "$ac_aux_dir"; then | |
1859 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5 | |
1860 | $as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;} | |
1861 | { (exit 1); exit 1; }; } | |
1862 | fi | |
1863 | ||
1864 | # These three variables are undocumented and unsupported, | |
1865 | # and are intended to be withdrawn in a future Autoconf release. | |
1866 | # They can cause serious problems if a builder's source tree is in a directory | |
1867 | # whose full name contains unusual characters. | |
1868 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
1869 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
1870 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
1871 | ||
1872 | ||
1873 | ac_config_headers="$ac_config_headers config.h" | |
1874 | ||
1875 | ||
1876 | # Initialize automake | |
1877 | ||
1878 | am__api_version='1.11' | |
1879 | ||
1880 | # Find a good install program. We prefer a C program (faster), | |
1881 | # so one script is as good as another. But avoid the broken or | |
1882 | # incompatible versions: | |
1883 | # SysV /etc/install, /usr/sbin/install | |
1884 | # SunOS /usr/etc/install | |
1885 | # IRIX /sbin/install | |
1886 | # AIX /bin/install | |
1887 | # AmigaOS /C/install, which installs bootblocks on floppy discs | |
1888 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
1889 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
1890 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
1891 | # OS/2's system install, which has a completely different semantic | |
1892 | # ./install, which can be erroneously created by make from ./install.sh. | |
1893 | # Reject install programs that cannot install multiple files. | |
1894 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | |
1895 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
1896 | if test -z "$INSTALL"; then | |
1897 | if test "${ac_cv_path_install+set}" = set; then | |
1898 | $as_echo_n "(cached) " >&6 | |
1899 | else | |
1900 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1901 | for as_dir in $PATH | |
1902 | do | |
1903 | IFS=$as_save_IFS | |
1904 | test -z "$as_dir" && as_dir=. | |
1905 | # Account for people who put trailing slashes in PATH elements. | |
1906 | case $as_dir/ in | |
1907 | ./ | .// | /cC/* | \ | |
1908 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
1909 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | |
1910 | /usr/ucb/* ) ;; | |
1911 | *) | |
1912 | # OSF1 and SCO ODT 3.0 have their own names for install. | |
1913 | # Don't use installbsd from OSF since it installs stuff as root | |
1914 | # by default. | |
1915 | for ac_prog in ginstall scoinst install; do | |
1916 | for ac_exec_ext in '' $ac_executable_extensions; do | |
1917 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | |
1918 | if test $ac_prog = install && | |
1919 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
1920 | # AIX install. It has an incompatible calling convention. | |
1921 | : | |
1922 | elif test $ac_prog = install && | |
1923 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
1924 | # program-specific install script used by HP pwplus--don't use. | |
1925 | : | |
1926 | else | |
1927 | rm -rf conftest.one conftest.two conftest.dir | |
1928 | echo one > conftest.one | |
1929 | echo two > conftest.two | |
1930 | mkdir conftest.dir | |
1931 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
1932 | test -s conftest.one && test -s conftest.two && | |
1933 | test -s conftest.dir/conftest.one && | |
1934 | test -s conftest.dir/conftest.two | |
1935 | then | |
1936 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
1937 | break 3 | |
1938 | fi | |
1939 | fi | |
1940 | fi | |
1941 | done | |
1942 | done | |
1943 | ;; | |
1944 | esac | |
1945 | ||
1946 | done | |
1947 | IFS=$as_save_IFS | |
1948 | ||
1949 | rm -rf conftest.one conftest.two conftest.dir | |
1950 | ||
1951 | fi | |
1952 | if test "${ac_cv_path_install+set}" = set; then | |
1953 | INSTALL=$ac_cv_path_install | |
1954 | else | |
1955 | # As a last resort, use the slow shell script. Don't cache a | |
1956 | # value for INSTALL within a source directory, because that will | |
1957 | # break other packages using the cache if that directory is | |
1958 | # removed, or if the value is a relative name. | |
1959 | INSTALL=$ac_install_sh | |
1960 | fi | |
1961 | fi | |
1962 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 | |
1963 | $as_echo "$INSTALL" >&6; } | |
1964 | ||
1965 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
1966 | # It thinks the first close brace ends the variable substitution. | |
1967 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
1968 | ||
1969 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
1970 | ||
1971 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
1972 | ||
1973 | { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | |
1974 | $as_echo_n "checking whether build environment is sane... " >&6; } | |
1975 | # Just in case | |
1976 | sleep 1 | |
1977 | echo timestamp > conftest.file | |
1978 | # Reject unsafe characters in $srcdir or the absolute working directory | |
1979 | # name. Accept space and tab only in the latter. | |
1980 | am_lf=' | |
1981 | ' | |
1982 | case `pwd` in | |
1983 | *[\\\"\#\$\&\'\`$am_lf]*) | |
1984 | { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 | |
1985 | $as_echo "$as_me: error: unsafe absolute working directory name" >&2;} | |
1986 | { (exit 1); exit 1; }; };; | |
1987 | esac | |
1988 | case $srcdir in | |
1989 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | |
1990 | { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 | |
1991 | $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} | |
1992 | { (exit 1); exit 1; }; };; | |
1993 | esac | |
1994 | ||
1995 | # Do `set' in a subshell so we don't clobber the current shell's | |
1996 | # arguments. Must try -L first in case configure is actually a | |
1997 | # symlink; some systems play weird games with the mod time of symlinks | |
1998 | # (eg FreeBSD returns the mod time of the symlink's containing | |
1999 | # directory). | |
2000 | if ( | |
2001 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
2002 | if test "$*" = "X"; then | |
2003 | # -L didn't work. | |
2004 | set X `ls -t "$srcdir/configure" conftest.file` | |
2005 | fi | |
2006 | rm -f conftest.file | |
2007 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
2008 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
2009 | ||
2010 | # If neither matched, then we have a broken ls. This can happen | |
2011 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
2012 | # broken ls alias from the environment. This has actually | |
2013 | # happened. Such a system could not be considered "sane". | |
2014 | { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken | |
2015 | alias in your environment" >&5 | |
2016 | $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken | |
2017 | alias in your environment" >&2;} | |
2018 | { (exit 1); exit 1; }; } | |
2019 | fi | |
2020 | ||
2021 | test "$2" = conftest.file | |
2022 | ) | |
2023 | then | |
2024 | # Ok. | |
2025 | : | |
2026 | else | |
2027 | { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! | |
2028 | Check your system clock" >&5 | |
2029 | $as_echo "$as_me: error: newly created file is older than distributed files! | |
2030 | Check your system clock" >&2;} | |
2031 | { (exit 1); exit 1; }; } | |
2032 | fi | |
2033 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | |
2034 | $as_echo "yes" >&6; } | |
2035 | test "$program_prefix" != NONE && | |
2036 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | |
2037 | # Use a double $ so make ignores it. | |
2038 | test "$program_suffix" != NONE && | |
2039 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" | |
2040 | # Double any \ or $. | |
2041 | # By default was `s,x,x', remove it if useless. | |
2042 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | |
2043 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | |
2044 | ||
2045 | # expand $ac_aux_dir to an absolute path | |
2046 | am_aux_dir=`cd $ac_aux_dir && pwd` | |
2047 | ||
2048 | if test x"${MISSING+set}" != xset; then | |
2049 | case $am_aux_dir in | |
2050 | *\ * | *\ *) | |
2051 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
2052 | *) | |
2053 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
2054 | esac | |
2055 | fi | |
2056 | # Use eval to expand $SHELL | |
2057 | if eval "$MISSING --run true"; then | |
2058 | am_missing_run="$MISSING --run " | |
2059 | else | |
2060 | am_missing_run= | |
2061 | { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | |
2062 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
2063 | fi | |
2064 | ||
2065 | if test x"${install_sh}" != xset; then | |
2066 | case $am_aux_dir in | |
2067 | *\ * | *\ *) | |
2068 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
2069 | *) | |
2070 | install_sh="\${SHELL} $am_aux_dir/install-sh" | |
2071 | esac | |
2072 | fi | |
2073 | ||
2074 | # Installed binaries are usually stripped using `strip' when the user | |
2075 | # run `make install-strip'. However `strip' might not be the right | |
2076 | # tool to use in cross-compilation environments, therefore Automake | |
2077 | # will honor the `STRIP' environment variable to overrule this program. | |
2078 | if test "$cross_compiling" != no; then | |
2079 | if test -n "$ac_tool_prefix"; then | |
2080 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | |
2081 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
2082 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2083 | $as_echo_n "checking for $ac_word... " >&6; } | |
2084 | if test "${ac_cv_prog_STRIP+set}" = set; then | |
2085 | $as_echo_n "(cached) " >&6 | |
2086 | else | |
2087 | if test -n "$STRIP"; then | |
2088 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
2089 | else | |
2090 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2091 | for as_dir in $PATH | |
2092 | do | |
2093 | IFS=$as_save_IFS | |
2094 | test -z "$as_dir" && as_dir=. | |
2095 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2096 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2097 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
2098 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2099 | break 2 | |
2100 | fi | |
2101 | done | |
2102 | done | |
2103 | IFS=$as_save_IFS | |
2104 | ||
2105 | fi | |
2106 | fi | |
2107 | STRIP=$ac_cv_prog_STRIP | |
2108 | if test -n "$STRIP"; then | |
2109 | { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 | |
2110 | $as_echo "$STRIP" >&6; } | |
2111 | else | |
2112 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2113 | $as_echo "no" >&6; } | |
2114 | fi | |
2115 | ||
2116 | ||
2117 | fi | |
2118 | if test -z "$ac_cv_prog_STRIP"; then | |
2119 | ac_ct_STRIP=$STRIP | |
2120 | # Extract the first word of "strip", so it can be a program name with args. | |
2121 | set dummy strip; ac_word=$2 | |
2122 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2123 | $as_echo_n "checking for $ac_word... " >&6; } | |
2124 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | |
2125 | $as_echo_n "(cached) " >&6 | |
2126 | else | |
2127 | if test -n "$ac_ct_STRIP"; then | |
2128 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
2129 | else | |
2130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2131 | for as_dir in $PATH | |
2132 | do | |
2133 | IFS=$as_save_IFS | |
2134 | test -z "$as_dir" && as_dir=. | |
2135 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2136 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2137 | ac_cv_prog_ac_ct_STRIP="strip" | |
2138 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2139 | break 2 | |
2140 | fi | |
2141 | done | |
2142 | done | |
2143 | IFS=$as_save_IFS | |
2144 | ||
2145 | fi | |
2146 | fi | |
2147 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
2148 | if test -n "$ac_ct_STRIP"; then | |
2149 | { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | |
2150 | $as_echo "$ac_ct_STRIP" >&6; } | |
2151 | else | |
2152 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2153 | $as_echo "no" >&6; } | |
2154 | fi | |
2155 | ||
2156 | if test "x$ac_ct_STRIP" = x; then | |
2157 | STRIP=":" | |
2158 | else | |
2159 | case $cross_compiling:$ac_tool_warned in | |
2160 | yes:) | |
2161 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2162 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2163 | ac_tool_warned=yes ;; | |
2164 | esac | |
2165 | STRIP=$ac_ct_STRIP | |
2166 | fi | |
2167 | else | |
2168 | STRIP="$ac_cv_prog_STRIP" | |
2169 | fi | |
2170 | ||
2171 | fi | |
2172 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
2173 | ||
2174 | { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 | |
2175 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | |
2176 | if test -z "$MKDIR_P"; then | |
2177 | if test "${ac_cv_path_mkdir+set}" = set; then | |
2178 | $as_echo_n "(cached) " >&6 | |
2179 | else | |
2180 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2181 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | |
2182 | do | |
2183 | IFS=$as_save_IFS | |
2184 | test -z "$as_dir" && as_dir=. | |
2185 | for ac_prog in mkdir gmkdir; do | |
2186 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2187 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | |
2188 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | |
2189 | 'mkdir (GNU coreutils) '* | \ | |
2190 | 'mkdir (coreutils) '* | \ | |
2191 | 'mkdir (fileutils) '4.1*) | |
2192 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | |
2193 | break 3;; | |
2194 | esac | |
2195 | done | |
2196 | done | |
2197 | done | |
2198 | IFS=$as_save_IFS | |
2199 | ||
2200 | fi | |
2201 | ||
2202 | if test "${ac_cv_path_mkdir+set}" = set; then | |
2203 | MKDIR_P="$ac_cv_path_mkdir -p" | |
2204 | else | |
2205 | # As a last resort, use the slow shell script. Don't cache a | |
2206 | # value for MKDIR_P within a source directory, because that will | |
2207 | # break other packages using the cache if that directory is | |
2208 | # removed, or if the value is a relative name. | |
2209 | test -d ./--version && rmdir ./--version | |
2210 | MKDIR_P="$ac_install_sh -d" | |
2211 | fi | |
2212 | fi | |
2213 | { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 | |
2214 | $as_echo "$MKDIR_P" >&6; } | |
2215 | ||
2216 | mkdir_p="$MKDIR_P" | |
2217 | case $mkdir_p in | |
2218 | [\\/$]* | ?:[\\/]*) ;; | |
2219 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
2220 | esac | |
2221 | ||
2222 | for ac_prog in gawk mawk nawk awk | |
2223 | do | |
2224 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
2225 | set dummy $ac_prog; ac_word=$2 | |
2226 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2227 | $as_echo_n "checking for $ac_word... " >&6; } | |
2228 | if test "${ac_cv_prog_AWK+set}" = set; then | |
2229 | $as_echo_n "(cached) " >&6 | |
2230 | else | |
2231 | if test -n "$AWK"; then | |
2232 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
2233 | else | |
2234 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2235 | for as_dir in $PATH | |
2236 | do | |
2237 | IFS=$as_save_IFS | |
2238 | test -z "$as_dir" && as_dir=. | |
2239 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2240 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2241 | ac_cv_prog_AWK="$ac_prog" | |
2242 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2243 | break 2 | |
2244 | fi | |
2245 | done | |
2246 | done | |
2247 | IFS=$as_save_IFS | |
2248 | ||
2249 | fi | |
2250 | fi | |
2251 | AWK=$ac_cv_prog_AWK | |
2252 | if test -n "$AWK"; then | |
2253 | { $as_echo "$as_me:$LINENO: result: $AWK" >&5 | |
2254 | $as_echo "$AWK" >&6; } | |
2255 | else | |
2256 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2257 | $as_echo "no" >&6; } | |
2258 | fi | |
2259 | ||
2260 | ||
2261 | test -n "$AWK" && break | |
2262 | done | |
2263 | ||
2264 | { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | |
2265 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | |
2266 | set x ${MAKE-make} | |
2267 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
2268 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | |
2269 | $as_echo_n "(cached) " >&6 | |
2270 | else | |
2271 | cat >conftest.make <<\_ACEOF | |
2272 | SHELL = /bin/sh | |
2273 | all: | |
2274 | @echo '@@@%%%=$(MAKE)=@@@%%%' | |
2275 | _ACEOF | |
2276 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
2277 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | |
2278 | *@@@%%%=?*=@@@%%%*) | |
2279 | eval ac_cv_prog_make_${ac_make}_set=yes;; | |
2280 | *) | |
2281 | eval ac_cv_prog_make_${ac_make}_set=no;; | |
2282 | esac | |
2283 | rm -f conftest.make | |
2284 | fi | |
2285 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | |
2286 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | |
2287 | $as_echo "yes" >&6; } | |
2288 | SET_MAKE= | |
2289 | else | |
2290 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2291 | $as_echo "no" >&6; } | |
2292 | SET_MAKE="MAKE=${MAKE-make}" | |
2293 | fi | |
2294 | ||
2295 | rm -rf .tst 2>/dev/null | |
2296 | mkdir .tst 2>/dev/null | |
2297 | if test -d .tst; then | |
2298 | am__leading_dot=. | |
2299 | else | |
2300 | am__leading_dot=_ | |
2301 | fi | |
2302 | rmdir .tst 2>/dev/null | |
2303 | ||
2304 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
2305 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
2306 | # is not polluted with repeated "-I." | |
2307 | am__isrc=' -I$(srcdir)' | |
2308 | # test to see if srcdir already configured | |
2309 | if test -f $srcdir/config.status; then | |
2310 | { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | |
2311 | $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | |
2312 | { (exit 1); exit 1; }; } | |
2313 | fi | |
2314 | fi | |
2315 | ||
2316 | # test whether we have cygpath | |
2317 | if test -z "$CYGPATH_W"; then | |
2318 | if (cygpath --version) >/dev/null 2>/dev/null; then | |
2319 | CYGPATH_W='cygpath -w' | |
2320 | else | |
2321 | CYGPATH_W=echo | |
2322 | fi | |
2323 | fi | |
2324 | ||
2325 | ||
2326 | # Define the identity of the package. | |
2327 | PACKAGE='unrtf' | |
2328 | VERSION='0.21.2' | |
2329 | ||
2330 | ||
2331 | cat >>confdefs.h <<_ACEOF | |
2332 | @%:@define PACKAGE "$PACKAGE" | |
2333 | _ACEOF | |
2334 | ||
2335 | ||
2336 | cat >>confdefs.h <<_ACEOF | |
2337 | @%:@define VERSION "$VERSION" | |
2338 | _ACEOF | |
2339 | ||
2340 | # Some tools Automake needs. | |
2341 | ||
2342 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | |
2343 | ||
2344 | ||
2345 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | |
2346 | ||
2347 | ||
2348 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | |
2349 | ||
2350 | ||
2351 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | |
2352 | ||
2353 | ||
2354 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | |
2355 | ||
2356 | # We need awk for the "check" target. The system "awk" is bad on | |
2357 | # some platforms. | |
2358 | # Always define AMTAR for backward compatibility. | |
2359 | ||
2360 | AMTAR=${AMTAR-"${am_missing_run}tar"} | |
2361 | ||
2362 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | |
2363 | ||
2364 | ||
2365 | ||
2366 | ||
2367 | ||
2368 | ||
2369 | # AM_MAINTAINER_MODE is a controversial macro. | |
2370 | # I suggest you read this to understand what is going on: | |
2371 | # | |
2372 | # http://www.gnu.org/software/automake/manual/html_mono/automake.html#maintainer-mode | |
2373 | # | |
2374 | # when acting as a maintainer (writing code, preparing distributions, ...), | |
2375 | # turn the maintainer mode on by using ./configure --enable-maintainer-mode | |
2376 | # | |
2377 | # your users will not see maintainer rules, and so their (potentially | |
2378 | # incompatible) autotools do not have any chance to trigger and mess up things. | |
2379 | ||
2380 | ||
2381 | { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 | |
2382 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } | |
2383 | @%:@ Check whether --enable-maintainer-mode was given. | |
2384 | if test "${enable_maintainer_mode+set}" = set; then | |
2385 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval | |
2386 | else | |
2387 | USE_MAINTAINER_MODE=no | |
2388 | fi | |
2389 | ||
2390 | { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 | |
2391 | $as_echo "$USE_MAINTAINER_MODE" >&6; } | |
2392 | if test $USE_MAINTAINER_MODE = yes; then | |
2393 | MAINTAINER_MODE_TRUE= | |
2394 | MAINTAINER_MODE_FALSE='#' | |
2395 | else | |
2396 | MAINTAINER_MODE_TRUE='#' | |
2397 | MAINTAINER_MODE_FALSE= | |
2398 | fi | |
2399 | ||
2400 | MAINT=$MAINTAINER_MODE_TRUE | |
2401 | ||
2402 | ||
2403 | ||
2404 | # Checks for programs (compiler and installation program) | |
2405 | ac_ext=c | |
2406 | ac_cpp='$CPP $CPPFLAGS' | |
2407 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2408 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2409 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2410 | if test -n "$ac_tool_prefix"; then | |
2411 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
2412 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
2413 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2414 | $as_echo_n "checking for $ac_word... " >&6; } | |
2415 | if test "${ac_cv_prog_CC+set}" = set; then | |
2416 | $as_echo_n "(cached) " >&6 | |
2417 | else | |
2418 | if test -n "$CC"; then | |
2419 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
2420 | else | |
2421 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2422 | for as_dir in $PATH | |
2423 | do | |
2424 | IFS=$as_save_IFS | |
2425 | test -z "$as_dir" && as_dir=. | |
2426 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2427 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2428 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
2429 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2430 | break 2 | |
2431 | fi | |
2432 | done | |
2433 | done | |
2434 | IFS=$as_save_IFS | |
2435 | ||
2436 | fi | |
2437 | fi | |
2438 | CC=$ac_cv_prog_CC | |
2439 | if test -n "$CC"; then | |
2440 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | |
2441 | $as_echo "$CC" >&6; } | |
2442 | else | |
2443 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2444 | $as_echo "no" >&6; } | |
2445 | fi | |
2446 | ||
2447 | ||
2448 | fi | |
2449 | if test -z "$ac_cv_prog_CC"; then | |
2450 | ac_ct_CC=$CC | |
2451 | # Extract the first word of "gcc", so it can be a program name with args. | |
2452 | set dummy gcc; ac_word=$2 | |
2453 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2454 | $as_echo_n "checking for $ac_word... " >&6; } | |
2455 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
2456 | $as_echo_n "(cached) " >&6 | |
2457 | else | |
2458 | if test -n "$ac_ct_CC"; then | |
2459 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
2460 | else | |
2461 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2462 | for as_dir in $PATH | |
2463 | do | |
2464 | IFS=$as_save_IFS | |
2465 | test -z "$as_dir" && as_dir=. | |
2466 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2467 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2468 | ac_cv_prog_ac_ct_CC="gcc" | |
2469 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2470 | break 2 | |
2471 | fi | |
2472 | done | |
2473 | done | |
2474 | IFS=$as_save_IFS | |
2475 | ||
2476 | fi | |
2477 | fi | |
2478 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
2479 | if test -n "$ac_ct_CC"; then | |
2480 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
2481 | $as_echo "$ac_ct_CC" >&6; } | |
2482 | else | |
2483 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2484 | $as_echo "no" >&6; } | |
2485 | fi | |
2486 | ||
2487 | if test "x$ac_ct_CC" = x; then | |
2488 | CC="" | |
2489 | else | |
2490 | case $cross_compiling:$ac_tool_warned in | |
2491 | yes:) | |
2492 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2493 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2494 | ac_tool_warned=yes ;; | |
2495 | esac | |
2496 | CC=$ac_ct_CC | |
2497 | fi | |
2498 | else | |
2499 | CC="$ac_cv_prog_CC" | |
2500 | fi | |
2501 | ||
2502 | if test -z "$CC"; then | |
2503 | if test -n "$ac_tool_prefix"; then | |
2504 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
2505 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
2506 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2507 | $as_echo_n "checking for $ac_word... " >&6; } | |
2508 | if test "${ac_cv_prog_CC+set}" = set; then | |
2509 | $as_echo_n "(cached) " >&6 | |
2510 | else | |
2511 | if test -n "$CC"; then | |
2512 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
2513 | else | |
2514 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2515 | for as_dir in $PATH | |
2516 | do | |
2517 | IFS=$as_save_IFS | |
2518 | test -z "$as_dir" && as_dir=. | |
2519 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2520 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2521 | ac_cv_prog_CC="${ac_tool_prefix}cc" | |
2522 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2523 | break 2 | |
2524 | fi | |
2525 | done | |
2526 | done | |
2527 | IFS=$as_save_IFS | |
2528 | ||
2529 | fi | |
2530 | fi | |
2531 | CC=$ac_cv_prog_CC | |
2532 | if test -n "$CC"; then | |
2533 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | |
2534 | $as_echo "$CC" >&6; } | |
2535 | else | |
2536 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2537 | $as_echo "no" >&6; } | |
2538 | fi | |
2539 | ||
2540 | ||
2541 | fi | |
2542 | fi | |
2543 | if test -z "$CC"; then | |
2544 | # Extract the first word of "cc", so it can be a program name with args. | |
2545 | set dummy cc; ac_word=$2 | |
2546 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2547 | $as_echo_n "checking for $ac_word... " >&6; } | |
2548 | if test "${ac_cv_prog_CC+set}" = set; then | |
2549 | $as_echo_n "(cached) " >&6 | |
2550 | else | |
2551 | if test -n "$CC"; then | |
2552 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
2553 | else | |
2554 | ac_prog_rejected=no | |
2555 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2556 | for as_dir in $PATH | |
2557 | do | |
2558 | IFS=$as_save_IFS | |
2559 | test -z "$as_dir" && as_dir=. | |
2560 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2561 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2562 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
2563 | ac_prog_rejected=yes | |
2564 | continue | |
2565 | fi | |
2566 | ac_cv_prog_CC="cc" | |
2567 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2568 | break 2 | |
2569 | fi | |
2570 | done | |
2571 | done | |
2572 | IFS=$as_save_IFS | |
2573 | ||
2574 | if test $ac_prog_rejected = yes; then | |
2575 | # We found a bogon in the path, so make sure we never use it. | |
2576 | set dummy $ac_cv_prog_CC | |
2577 | shift | |
2578 | if test $@%:@ != 0; then | |
2579 | # We chose a different compiler from the bogus one. | |
2580 | # However, it has the same basename, so the bogon will be chosen | |
2581 | # first if we set CC to just the basename; use the full file name. | |
2582 | shift | |
2583 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
2584 | fi | |
2585 | fi | |
2586 | fi | |
2587 | fi | |
2588 | CC=$ac_cv_prog_CC | |
2589 | if test -n "$CC"; then | |
2590 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | |
2591 | $as_echo "$CC" >&6; } | |
2592 | else | |
2593 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2594 | $as_echo "no" >&6; } | |
2595 | fi | |
2596 | ||
2597 | ||
2598 | fi | |
2599 | if test -z "$CC"; then | |
2600 | if test -n "$ac_tool_prefix"; then | |
2601 | for ac_prog in cl.exe | |
2602 | do | |
2603 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
2604 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
2605 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2606 | $as_echo_n "checking for $ac_word... " >&6; } | |
2607 | if test "${ac_cv_prog_CC+set}" = set; then | |
2608 | $as_echo_n "(cached) " >&6 | |
2609 | else | |
2610 | if test -n "$CC"; then | |
2611 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
2612 | else | |
2613 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2614 | for as_dir in $PATH | |
2615 | do | |
2616 | IFS=$as_save_IFS | |
2617 | test -z "$as_dir" && as_dir=. | |
2618 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2619 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2620 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
2621 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2622 | break 2 | |
2623 | fi | |
2624 | done | |
2625 | done | |
2626 | IFS=$as_save_IFS | |
2627 | ||
2628 | fi | |
2629 | fi | |
2630 | CC=$ac_cv_prog_CC | |
2631 | if test -n "$CC"; then | |
2632 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | |
2633 | $as_echo "$CC" >&6; } | |
2634 | else | |
2635 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2636 | $as_echo "no" >&6; } | |
2637 | fi | |
2638 | ||
2639 | ||
2640 | test -n "$CC" && break | |
2641 | done | |
2642 | fi | |
2643 | if test -z "$CC"; then | |
2644 | ac_ct_CC=$CC | |
2645 | for ac_prog in cl.exe | |
2646 | do | |
2647 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
2648 | set dummy $ac_prog; ac_word=$2 | |
2649 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2650 | $as_echo_n "checking for $ac_word... " >&6; } | |
2651 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
2652 | $as_echo_n "(cached) " >&6 | |
2653 | else | |
2654 | if test -n "$ac_ct_CC"; then | |
2655 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
2656 | else | |
2657 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2658 | for as_dir in $PATH | |
2659 | do | |
2660 | IFS=$as_save_IFS | |
2661 | test -z "$as_dir" && as_dir=. | |
2662 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2663 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2664 | ac_cv_prog_ac_ct_CC="$ac_prog" | |
2665 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2666 | break 2 | |
2667 | fi | |
2668 | done | |
2669 | done | |
2670 | IFS=$as_save_IFS | |
2671 | ||
2672 | fi | |
2673 | fi | |
2674 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
2675 | if test -n "$ac_ct_CC"; then | |
2676 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
2677 | $as_echo "$ac_ct_CC" >&6; } | |
2678 | else | |
2679 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
2680 | $as_echo "no" >&6; } | |
2681 | fi | |
2682 | ||
2683 | ||
2684 | test -n "$ac_ct_CC" && break | |
2685 | done | |
2686 | ||
2687 | if test "x$ac_ct_CC" = x; then | |
2688 | CC="" | |
2689 | else | |
2690 | case $cross_compiling:$ac_tool_warned in | |
2691 | yes:) | |
2692 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2693 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2694 | ac_tool_warned=yes ;; | |
2695 | esac | |
2696 | CC=$ac_ct_CC | |
2697 | fi | |
2698 | fi | |
2699 | ||
2700 | fi | |
2701 | ||
2702 | ||
2703 | test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
2704 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2705 | { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | |
2706 | See \`config.log' for more details." >&5 | |
2707 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH | |
2708 | See \`config.log' for more details." >&2;} | |
2709 | { (exit 1); exit 1; }; }; } | |
2710 | ||
2711 | # Provide some information about the compiler. | |
2712 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 | |
2713 | set X $ac_compile | |
2714 | ac_compiler=$2 | |
2715 | { (ac_try="$ac_compiler --version >&5" | |
2716 | case "(($ac_try" in | |
2717 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2718 | *) ac_try_echo=$ac_try;; | |
2719 | esac | |
2720 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2721 | $as_echo "$ac_try_echo") >&5 | |
2722 | (eval "$ac_compiler --version >&5") 2>&5 | |
2723 | ac_status=$? | |
2724 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2725 | (exit $ac_status); } | |
2726 | { (ac_try="$ac_compiler -v >&5" | |
2727 | case "(($ac_try" in | |
2728 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2729 | *) ac_try_echo=$ac_try;; | |
2730 | esac | |
2731 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2732 | $as_echo "$ac_try_echo") >&5 | |
2733 | (eval "$ac_compiler -v >&5") 2>&5 | |
2734 | ac_status=$? | |
2735 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2736 | (exit $ac_status); } | |
2737 | { (ac_try="$ac_compiler -V >&5" | |
2738 | case "(($ac_try" in | |
2739 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2740 | *) ac_try_echo=$ac_try;; | |
2741 | esac | |
2742 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2743 | $as_echo "$ac_try_echo") >&5 | |
2744 | (eval "$ac_compiler -V >&5") 2>&5 | |
2745 | ac_status=$? | |
2746 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2747 | (exit $ac_status); } | |
2748 | ||
2749 | cat >conftest.$ac_ext <<_ACEOF | |
2750 | /* confdefs.h. */ | |
2751 | _ACEOF | |
2752 | cat confdefs.h >>conftest.$ac_ext | |
2753 | cat >>conftest.$ac_ext <<_ACEOF | |
2754 | /* end confdefs.h. */ | |
2755 | ||
2756 | int | |
2757 | main () | |
2758 | { | |
2759 | ||
2760 | ; | |
2761 | return 0; | |
2762 | } | |
2763 | _ACEOF | |
2764 | ac_clean_files_save=$ac_clean_files | |
2765 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |
2766 | # Try to create an executable without -o first, disregard a.out. | |
2767 | # It will help us diagnose broken compilers, and finding out an intuition | |
2768 | # of exeext. | |
2769 | { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | |
2770 | $as_echo_n "checking for C compiler default output file name... " >&6; } | |
2771 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
2772 | ||
2773 | # The possible output files: | |
2774 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
2775 | ||
2776 | ac_rmfiles= | |
2777 | for ac_file in $ac_files | |
2778 | do | |
2779 | case $ac_file in | |
2780 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
2781 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
2782 | esac | |
2783 | done | |
2784 | rm -f $ac_rmfiles | |
2785 | ||
2786 | if { (ac_try="$ac_link_default" | |
2787 | case "(($ac_try" in | |
2788 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2789 | *) ac_try_echo=$ac_try;; | |
2790 | esac | |
2791 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2792 | $as_echo "$ac_try_echo") >&5 | |
2793 | (eval "$ac_link_default") 2>&5 | |
2794 | ac_status=$? | |
2795 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2796 | (exit $ac_status); }; then | |
2797 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | |
2798 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | |
2799 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | |
2800 | # so that the user can short-circuit this test for compilers unknown to | |
2801 | # Autoconf. | |
2802 | for ac_file in $ac_files '' | |
2803 | do | |
2804 | test -f "$ac_file" || continue | |
2805 | case $ac_file in | |
2806 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | |
2807 | ;; | |
2808 | [ab].out ) | |
2809 | # We found the default executable, but exeext='' is most | |
2810 | # certainly right. | |
2811 | break;; | |
2812 | *.* ) | |
2813 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
2814 | then :; else | |
2815 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
2816 | fi | |
2817 | # We set ac_cv_exeext here because the later test for it is not | |
2818 | # safe: cross compilers may not add the suffix if given an `-o' | |
2819 | # argument, so we may need to know it at that point already. | |
2820 | # Even if this section looks crufty: it has the advantage of | |
2821 | # actually working. | |
2822 | break;; | |
2823 | * ) | |
2824 | break;; | |
2825 | esac | |
2826 | done | |
2827 | test "$ac_cv_exeext" = no && ac_cv_exeext= | |
2828 | ||
2829 | else | |
2830 | ac_file='' | |
2831 | fi | |
2832 | ||
2833 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 | |
2834 | $as_echo "$ac_file" >&6; } | |
2835 | if test -z "$ac_file"; then | |
2836 | $as_echo "$as_me: failed program was:" >&5 | |
2837 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2838 | ||
2839 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
2840 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2841 | { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables | |
2842 | See \`config.log' for more details." >&5 | |
2843 | $as_echo "$as_me: error: C compiler cannot create executables | |
2844 | See \`config.log' for more details." >&2;} | |
2845 | { (exit 77); exit 77; }; }; } | |
2846 | fi | |
2847 | ||
2848 | ac_exeext=$ac_cv_exeext | |
2849 | ||
2850 | # Check that the compiler produces executables we can run. If not, either | |
2851 | # the compiler is broken, or we cross compile. | |
2852 | { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | |
2853 | $as_echo_n "checking whether the C compiler works... " >&6; } | |
2854 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
2855 | # If not cross compiling, check that we can run a simple program. | |
2856 | if test "$cross_compiling" != yes; then | |
2857 | if { ac_try='./$ac_file' | |
2858 | { (case "(($ac_try" in | |
2859 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2860 | *) ac_try_echo=$ac_try;; | |
2861 | esac | |
2862 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2863 | $as_echo "$ac_try_echo") >&5 | |
2864 | (eval "$ac_try") 2>&5 | |
2865 | ac_status=$? | |
2866 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2867 | (exit $ac_status); }; }; then | |
2868 | cross_compiling=no | |
2869 | else | |
2870 | if test "$cross_compiling" = maybe; then | |
2871 | cross_compiling=yes | |
2872 | else | |
2873 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
2874 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2875 | { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. | |
2876 | If you meant to cross compile, use \`--host'. | |
2877 | See \`config.log' for more details." >&5 | |
2878 | $as_echo "$as_me: error: cannot run C compiled programs. | |
2879 | If you meant to cross compile, use \`--host'. | |
2880 | See \`config.log' for more details." >&2;} | |
2881 | { (exit 1); exit 1; }; }; } | |
2882 | fi | |
2883 | fi | |
2884 | fi | |
2885 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | |
2886 | $as_echo "yes" >&6; } | |
2887 | ||
2888 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | |
2889 | ac_clean_files=$ac_clean_files_save | |
2890 | # Check that the compiler produces executables we can run. If not, either | |
2891 | # the compiler is broken, or we cross compile. | |
2892 | { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | |
2893 | $as_echo_n "checking whether we are cross compiling... " >&6; } | |
2894 | { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 | |
2895 | $as_echo "$cross_compiling" >&6; } | |
2896 | ||
2897 | { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 | |
2898 | $as_echo_n "checking for suffix of executables... " >&6; } | |
2899 | if { (ac_try="$ac_link" | |
2900 | case "(($ac_try" in | |
2901 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2902 | *) ac_try_echo=$ac_try;; | |
2903 | esac | |
2904 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2905 | $as_echo "$ac_try_echo") >&5 | |
2906 | (eval "$ac_link") 2>&5 | |
2907 | ac_status=$? | |
2908 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2909 | (exit $ac_status); }; then | |
2910 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
2911 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
2912 | # work properly (i.e., refer to `conftest.exe'), while it won't with | |
2913 | # `rm'. | |
2914 | for ac_file in conftest.exe conftest conftest.*; do | |
2915 | test -f "$ac_file" || continue | |
2916 | case $ac_file in | |
2917 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
2918 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
2919 | break;; | |
2920 | * ) break;; | |
2921 | esac | |
2922 | done | |
2923 | else | |
2924 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
2925 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2926 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | |
2927 | See \`config.log' for more details." >&5 | |
2928 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | |
2929 | See \`config.log' for more details." >&2;} | |
2930 | { (exit 1); exit 1; }; }; } | |
2931 | fi | |
2932 | ||
2933 | rm -f conftest$ac_cv_exeext | |
2934 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | |
2935 | $as_echo "$ac_cv_exeext" >&6; } | |
2936 | ||
2937 | rm -f conftest.$ac_ext | |
2938 | EXEEXT=$ac_cv_exeext | |
2939 | ac_exeext=$EXEEXT | |
2940 | { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 | |
2941 | $as_echo_n "checking for suffix of object files... " >&6; } | |
2942 | if test "${ac_cv_objext+set}" = set; then | |
2943 | $as_echo_n "(cached) " >&6 | |
2944 | else | |
2945 | cat >conftest.$ac_ext <<_ACEOF | |
2946 | /* confdefs.h. */ | |
2947 | _ACEOF | |
2948 | cat confdefs.h >>conftest.$ac_ext | |
2949 | cat >>conftest.$ac_ext <<_ACEOF | |
2950 | /* end confdefs.h. */ | |
2951 | ||
2952 | int | |
2953 | main () | |
2954 | { | |
2955 | ||
2956 | ; | |
2957 | return 0; | |
2958 | } | |
2959 | _ACEOF | |
2960 | rm -f conftest.o conftest.obj | |
2961 | if { (ac_try="$ac_compile" | |
2962 | case "(($ac_try" in | |
2963 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2964 | *) ac_try_echo=$ac_try;; | |
2965 | esac | |
2966 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
2967 | $as_echo "$ac_try_echo") >&5 | |
2968 | (eval "$ac_compile") 2>&5 | |
2969 | ac_status=$? | |
2970 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2971 | (exit $ac_status); }; then | |
2972 | for ac_file in conftest.o conftest.obj conftest.*; do | |
2973 | test -f "$ac_file" || continue; | |
2974 | case $ac_file in | |
2975 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | |
2976 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
2977 | break;; | |
2978 | esac | |
2979 | done | |
2980 | else | |
2981 | $as_echo "$as_me: failed program was:" >&5 | |
2982 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2983 | ||
2984 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
2985 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2986 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | |
2987 | See \`config.log' for more details." >&5 | |
2988 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile | |
2989 | See \`config.log' for more details." >&2;} | |
2990 | { (exit 1); exit 1; }; }; } | |
2991 | fi | |
2992 | ||
2993 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
2994 | fi | |
2995 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | |
2996 | $as_echo "$ac_cv_objext" >&6; } | |
2997 | OBJEXT=$ac_cv_objext | |
2998 | ac_objext=$OBJEXT | |
2999 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | |
3000 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
3001 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | |
3002 | $as_echo_n "(cached) " >&6 | |
3003 | else | |
3004 | cat >conftest.$ac_ext <<_ACEOF | |
3005 | /* confdefs.h. */ | |
3006 | _ACEOF | |
3007 | cat confdefs.h >>conftest.$ac_ext | |
3008 | cat >>conftest.$ac_ext <<_ACEOF | |
3009 | /* end confdefs.h. */ | |
3010 | ||
3011 | int | |
3012 | main () | |
3013 | { | |
3014 | #ifndef __GNUC__ | |
3015 | choke me | |
3016 | #endif | |
3017 | ||
3018 | ; | |
3019 | return 0; | |
3020 | } | |
3021 | _ACEOF | |
3022 | rm -f conftest.$ac_objext | |
3023 | if { (ac_try="$ac_compile" | |
3024 | case "(($ac_try" in | |
3025 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3026 | *) ac_try_echo=$ac_try;; | |
3027 | esac | |
3028 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3029 | $as_echo "$ac_try_echo") >&5 | |
3030 | (eval "$ac_compile") 2>conftest.er1 | |
3031 | ac_status=$? | |
3032 | grep -v '^ *+' conftest.er1 >conftest.err | |
3033 | rm -f conftest.er1 | |
3034 | cat conftest.err >&5 | |
3035 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3036 | (exit $ac_status); } && { | |
3037 | test -z "$ac_c_werror_flag" || | |
3038 | test ! -s conftest.err | |
3039 | } && test -s conftest.$ac_objext; then | |
3040 | ac_compiler_gnu=yes | |
3041 | else | |
3042 | $as_echo "$as_me: failed program was:" >&5 | |
3043 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3044 | ||
3045 | ac_compiler_gnu=no | |
3046 | fi | |
3047 | ||
3048 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3049 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
3050 | ||
3051 | fi | |
3052 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | |
3053 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
3054 | if test $ac_compiler_gnu = yes; then | |
3055 | GCC=yes | |
3056 | else | |
3057 | GCC= | |
3058 | fi | |
3059 | ac_test_CFLAGS=${CFLAGS+set} | |
3060 | ac_save_CFLAGS=$CFLAGS | |
3061 | { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | |
3062 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | |
3063 | if test "${ac_cv_prog_cc_g+set}" = set; then | |
3064 | $as_echo_n "(cached) " >&6 | |
3065 | else | |
3066 | ac_save_c_werror_flag=$ac_c_werror_flag | |
3067 | ac_c_werror_flag=yes | |
3068 | ac_cv_prog_cc_g=no | |
3069 | CFLAGS="-g" | |
3070 | cat >conftest.$ac_ext <<_ACEOF | |
3071 | /* confdefs.h. */ | |
3072 | _ACEOF | |
3073 | cat confdefs.h >>conftest.$ac_ext | |
3074 | cat >>conftest.$ac_ext <<_ACEOF | |
3075 | /* end confdefs.h. */ | |
3076 | ||
3077 | int | |
3078 | main () | |
3079 | { | |
3080 | ||
3081 | ; | |
3082 | return 0; | |
3083 | } | |
3084 | _ACEOF | |
3085 | rm -f conftest.$ac_objext | |
3086 | if { (ac_try="$ac_compile" | |
3087 | case "(($ac_try" in | |
3088 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3089 | *) ac_try_echo=$ac_try;; | |
3090 | esac | |
3091 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3092 | $as_echo "$ac_try_echo") >&5 | |
3093 | (eval "$ac_compile") 2>conftest.er1 | |
3094 | ac_status=$? | |
3095 | grep -v '^ *+' conftest.er1 >conftest.err | |
3096 | rm -f conftest.er1 | |
3097 | cat conftest.err >&5 | |
3098 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3099 | (exit $ac_status); } && { | |
3100 | test -z "$ac_c_werror_flag" || | |
3101 | test ! -s conftest.err | |
3102 | } && test -s conftest.$ac_objext; then | |
3103 | ac_cv_prog_cc_g=yes | |
3104 | else | |
3105 | $as_echo "$as_me: failed program was:" >&5 | |
3106 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3107 | ||
3108 | CFLAGS="" | |
3109 | cat >conftest.$ac_ext <<_ACEOF | |
3110 | /* confdefs.h. */ | |
3111 | _ACEOF | |
3112 | cat confdefs.h >>conftest.$ac_ext | |
3113 | cat >>conftest.$ac_ext <<_ACEOF | |
3114 | /* end confdefs.h. */ | |
3115 | ||
3116 | int | |
3117 | main () | |
3118 | { | |
3119 | ||
3120 | ; | |
3121 | return 0; | |
3122 | } | |
3123 | _ACEOF | |
3124 | rm -f conftest.$ac_objext | |
3125 | if { (ac_try="$ac_compile" | |
3126 | case "(($ac_try" in | |
3127 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3128 | *) ac_try_echo=$ac_try;; | |
3129 | esac | |
3130 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3131 | $as_echo "$ac_try_echo") >&5 | |
3132 | (eval "$ac_compile") 2>conftest.er1 | |
3133 | ac_status=$? | |
3134 | grep -v '^ *+' conftest.er1 >conftest.err | |
3135 | rm -f conftest.er1 | |
3136 | cat conftest.err >&5 | |
3137 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3138 | (exit $ac_status); } && { | |
3139 | test -z "$ac_c_werror_flag" || | |
3140 | test ! -s conftest.err | |
3141 | } && test -s conftest.$ac_objext; then | |
3142 | : | |
3143 | else | |
3144 | $as_echo "$as_me: failed program was:" >&5 | |
3145 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3146 | ||
3147 | ac_c_werror_flag=$ac_save_c_werror_flag | |
3148 | CFLAGS="-g" | |
3149 | cat >conftest.$ac_ext <<_ACEOF | |
3150 | /* confdefs.h. */ | |
3151 | _ACEOF | |
3152 | cat confdefs.h >>conftest.$ac_ext | |
3153 | cat >>conftest.$ac_ext <<_ACEOF | |
3154 | /* end confdefs.h. */ | |
3155 | ||
3156 | int | |
3157 | main () | |
3158 | { | |
3159 | ||
3160 | ; | |
3161 | return 0; | |
3162 | } | |
3163 | _ACEOF | |
3164 | rm -f conftest.$ac_objext | |
3165 | if { (ac_try="$ac_compile" | |
3166 | case "(($ac_try" in | |
3167 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3168 | *) ac_try_echo=$ac_try;; | |
3169 | esac | |
3170 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3171 | $as_echo "$ac_try_echo") >&5 | |
3172 | (eval "$ac_compile") 2>conftest.er1 | |
3173 | ac_status=$? | |
3174 | grep -v '^ *+' conftest.er1 >conftest.err | |
3175 | rm -f conftest.er1 | |
3176 | cat conftest.err >&5 | |
3177 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3178 | (exit $ac_status); } && { | |
3179 | test -z "$ac_c_werror_flag" || | |
3180 | test ! -s conftest.err | |
3181 | } && test -s conftest.$ac_objext; then | |
3182 | ac_cv_prog_cc_g=yes | |
3183 | else | |
3184 | $as_echo "$as_me: failed program was:" >&5 | |
3185 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3186 | ||
3187 | ||
3188 | fi | |
3189 | ||
3190 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3191 | fi | |
3192 | ||
3193 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3194 | fi | |
3195 | ||
3196 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3197 | ac_c_werror_flag=$ac_save_c_werror_flag | |
3198 | fi | |
3199 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | |
3200 | $as_echo "$ac_cv_prog_cc_g" >&6; } | |
3201 | if test "$ac_test_CFLAGS" = set; then | |
3202 | CFLAGS=$ac_save_CFLAGS | |
3203 | elif test $ac_cv_prog_cc_g = yes; then | |
3204 | if test "$GCC" = yes; then | |
3205 | CFLAGS="-g -O2" | |
3206 | else | |
3207 | CFLAGS="-g" | |
3208 | fi | |
3209 | else | |
3210 | if test "$GCC" = yes; then | |
3211 | CFLAGS="-O2" | |
3212 | else | |
3213 | CFLAGS= | |
3214 | fi | |
3215 | fi | |
3216 | { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | |
3217 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | |
3218 | if test "${ac_cv_prog_cc_c89+set}" = set; then | |
3219 | $as_echo_n "(cached) " >&6 | |
3220 | else | |
3221 | ac_cv_prog_cc_c89=no | |
3222 | ac_save_CC=$CC | |
3223 | cat >conftest.$ac_ext <<_ACEOF | |
3224 | /* confdefs.h. */ | |
3225 | _ACEOF | |
3226 | cat confdefs.h >>conftest.$ac_ext | |
3227 | cat >>conftest.$ac_ext <<_ACEOF | |
3228 | /* end confdefs.h. */ | |
3229 | #include <stdarg.h> | |
3230 | #include <stdio.h> | |
3231 | #include <sys/types.h> | |
3232 | #include <sys/stat.h> | |
3233 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
3234 | struct buf { int x; }; | |
3235 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
3236 | static char *e (p, i) | |
3237 | char **p; | |
3238 | int i; | |
3239 | { | |
3240 | return p[i]; | |
3241 | } | |
3242 | static char *f (char * (*g) (char **, int), char **p, ...) | |
3243 | { | |
3244 | char *s; | |
3245 | va_list v; | |
3246 | va_start (v,p); | |
3247 | s = g (p, va_arg (v,int)); | |
3248 | va_end (v); | |
3249 | return s; | |
3250 | } | |
3251 | ||
3252 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
3253 | function prototypes and stuff, but not '\xHH' hex character constants. | |
3254 | These don't provoke an error unfortunately, instead are silently treated | |
3255 | as 'x'. The following induces an error, until -std is added to get | |
3256 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
3257 | array size at least. It's necessary to write '\x00'==0 to get something | |
3258 | that's true only with -std. */ | |
3259 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
3260 | ||
3261 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
3262 | inside strings and character constants. */ | |
3263 | #define FOO(x) 'x' | |
3264 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
3265 | ||
3266 | int test (int i, double x); | |
3267 | struct s1 {int (*f) (int a);}; | |
3268 | struct s2 {int (*f) (double a);}; | |
3269 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
3270 | int argc; | |
3271 | char **argv; | |
3272 | int | |
3273 | main () | |
3274 | { | |
3275 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
3276 | ; | |
3277 | return 0; | |
3278 | } | |
3279 | _ACEOF | |
3280 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |
3281 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
3282 | do | |
3283 | CC="$ac_save_CC $ac_arg" | |
3284 | rm -f conftest.$ac_objext | |
3285 | if { (ac_try="$ac_compile" | |
3286 | case "(($ac_try" in | |
3287 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3288 | *) ac_try_echo=$ac_try;; | |
3289 | esac | |
3290 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3291 | $as_echo "$ac_try_echo") >&5 | |
3292 | (eval "$ac_compile") 2>conftest.er1 | |
3293 | ac_status=$? | |
3294 | grep -v '^ *+' conftest.er1 >conftest.err | |
3295 | rm -f conftest.er1 | |
3296 | cat conftest.err >&5 | |
3297 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3298 | (exit $ac_status); } && { | |
3299 | test -z "$ac_c_werror_flag" || | |
3300 | test ! -s conftest.err | |
3301 | } && test -s conftest.$ac_objext; then | |
3302 | ac_cv_prog_cc_c89=$ac_arg | |
3303 | else | |
3304 | $as_echo "$as_me: failed program was:" >&5 | |
3305 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3306 | ||
3307 | ||
3308 | fi | |
3309 | ||
3310 | rm -f core conftest.err conftest.$ac_objext | |
3311 | test "x$ac_cv_prog_cc_c89" != "xno" && break | |
3312 | done | |
3313 | rm -f conftest.$ac_ext | |
3314 | CC=$ac_save_CC | |
3315 | ||
3316 | fi | |
3317 | # AC_CACHE_VAL | |
3318 | case "x$ac_cv_prog_cc_c89" in | |
3319 | x) | |
3320 | { $as_echo "$as_me:$LINENO: result: none needed" >&5 | |
3321 | $as_echo "none needed" >&6; } ;; | |
3322 | xno) | |
3323 | { $as_echo "$as_me:$LINENO: result: unsupported" >&5 | |
3324 | $as_echo "unsupported" >&6; } ;; | |
3325 | *) | |
3326 | CC="$CC $ac_cv_prog_cc_c89" | |
3327 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | |
3328 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
3329 | esac | |
3330 | ||
3331 | ||
3332 | ac_ext=c | |
3333 | ac_cpp='$CPP $CPPFLAGS' | |
3334 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3335 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3336 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3337 | DEPDIR="${am__leading_dot}deps" | |
3338 | ||
3339 | ac_config_commands="$ac_config_commands depfiles" | |
3340 | ||
3341 | ||
3342 | am_make=${MAKE-make} | |
3343 | cat > confinc << 'END' | |
3344 | am__doit: | |
3345 | @echo this is the am__doit target | |
3346 | .PHONY: am__doit | |
3347 | END | |
3348 | # If we don't find an include directive, just comment out the code. | |
3349 | { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | |
3350 | $as_echo_n "checking for style of include used by $am_make... " >&6; } | |
3351 | am__include="#" | |
3352 | am__quote= | |
3353 | _am_result=none | |
3354 | # First try GNU make style include. | |
3355 | echo "include confinc" > confmf | |
3356 | # Ignore all kinds of additional output from `make'. | |
3357 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
3358 | *the\ am__doit\ target*) | |
3359 | am__include=include | |
3360 | am__quote= | |
3361 | _am_result=GNU | |
3362 | ;; | |
3363 | esac | |
3364 | # Now try BSD make style include. | |
3365 | if test "$am__include" = "#"; then | |
3366 | echo '.include "confinc"' > confmf | |
3367 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
3368 | *the\ am__doit\ target*) | |
3369 | am__include=.include | |
3370 | am__quote="\"" | |
3371 | _am_result=BSD | |
3372 | ;; | |
3373 | esac | |
3374 | fi | |
3375 | ||
3376 | ||
3377 | { $as_echo "$as_me:$LINENO: result: $_am_result" >&5 | |
3378 | $as_echo "$_am_result" >&6; } | |
3379 | rm -f confinc confmf | |
3380 | ||
3381 | @%:@ Check whether --enable-dependency-tracking was given. | |
3382 | if test "${enable_dependency_tracking+set}" = set; then | |
3383 | enableval=$enable_dependency_tracking; | |
3384 | fi | |
3385 | ||
3386 | if test "x$enable_dependency_tracking" != xno; then | |
3387 | am_depcomp="$ac_aux_dir/depcomp" | |
3388 | AMDEPBACKSLASH='\' | |
3389 | fi | |
3390 | if test "x$enable_dependency_tracking" != xno; then | |
3391 | AMDEP_TRUE= | |
3392 | AMDEP_FALSE='#' | |
3393 | else | |
3394 | AMDEP_TRUE='#' | |
3395 | AMDEP_FALSE= | |
3396 | fi | |
3397 | ||
3398 | ||
3399 | ||
3400 | depcc="$CC" am_compiler_list= | |
3401 | ||
3402 | { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | |
3403 | $as_echo_n "checking dependency style of $depcc... " >&6; } | |
3404 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | |
3405 | $as_echo_n "(cached) " >&6 | |
3406 | else | |
3407 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
3408 | # We make a subdir and do the tests there. Otherwise we can end up | |
3409 | # making bogus files that we don't know about and never remove. For | |
3410 | # instance it was reported that on HP-UX the gcc test will end up | |
3411 | # making a dummy file named `D' -- because `-MD' means `put the output | |
3412 | # in D'. | |
3413 | mkdir conftest.dir | |
3414 | # Copy depcomp to subdir because otherwise we won't find it if we're | |
3415 | # using a relative directory. | |
3416 | cp "$am_depcomp" conftest.dir | |
3417 | cd conftest.dir | |
3418 | # We will build objects and dependencies in a subdirectory because | |
3419 | # it helps to detect inapplicable dependency modes. For instance | |
3420 | # both Tru64's cc and ICC support -MD to output dependencies as a | |
3421 | # side effect of compilation, but ICC will put the dependencies in | |
3422 | # the current directory while Tru64 will put them in the object | |
3423 | # directory. | |
3424 | mkdir sub | |
3425 | ||
3426 | am_cv_CC_dependencies_compiler_type=none | |
3427 | if test "$am_compiler_list" = ""; then | |
3428 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | |
3429 | fi | |
3430 | am__universal=false | |
3431 | case " $depcc " in #( | |
3432 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
3433 | esac | |
3434 | ||
3435 | for depmode in $am_compiler_list; do | |
3436 | # Setup a source with many dependencies, because some compilers | |
3437 | # like to wrap large dependency lists on column 80 (with \), and | |
3438 | # we should not choose a depcomp mode which is confused by this. | |
3439 | # | |
3440 | # We need to recreate these files for each test, as the compiler may | |
3441 | # overwrite some of them when testing with obscure command lines. | |
3442 | # This happens at least with the AIX C compiler. | |
3443 | : > sub/conftest.c | |
3444 | for i in 1 2 3 4 5 6; do | |
3445 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
3446 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
3447 | # Solaris 8's {/usr,}/bin/sh. | |
3448 | touch sub/conftst$i.h | |
3449 | done | |
3450 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
3451 | ||
3452 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
3453 | # mode. It turns out that the SunPro C++ compiler does not properly | |
3454 | # handle `-M -o', and we need to detect this. Also, some Intel | |
3455 | # versions had trouble with output in subdirs | |
3456 | am__obj=sub/conftest.${OBJEXT-o} | |
3457 | am__minus_obj="-o $am__obj" | |
3458 | case $depmode in | |
3459 | gcc) | |
3460 | # This depmode causes a compiler race in universal mode. | |
3461 | test "$am__universal" = false || continue | |
3462 | ;; | |
3463 | nosideeffect) | |
3464 | # after this tag, mechanisms are not by side-effect, so they'll | |
3465 | # only be used when explicitly requested | |
3466 | if test "x$enable_dependency_tracking" = xyes; then | |
3467 | continue | |
3468 | else | |
3469 | break | |
3470 | fi | |
3471 | ;; | |
3472 | msvisualcpp | msvcmsys) | |
3473 | # This compiler won't grok `-c -o', but also, the minuso test has | |
3474 | # not run yet. These depmodes are late enough in the game, and | |
3475 | # so weak that their functioning should not be impacted. | |
3476 | am__obj=conftest.${OBJEXT-o} | |
3477 | am__minus_obj= | |
3478 | ;; | |
3479 | none) break ;; | |
3480 | esac | |
3481 | if depmode=$depmode \ | |
3482 | source=sub/conftest.c object=$am__obj \ | |
3483 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
3484 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
3485 | >/dev/null 2>conftest.err && | |
3486 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
3487 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
3488 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
3489 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
3490 | # icc doesn't choke on unknown options, it will just issue warnings | |
3491 | # or remarks (even with -Werror). So we grep stderr for any message | |
3492 | # that says an option was ignored or not supported. | |
3493 | # When given -MP, icc 7.0 and 7.1 complain thusly: | |
3494 | # icc: Command line warning: ignoring option '-M'; no argument required | |
3495 | # The diagnosis changed in icc 8.0: | |
3496 | # icc: Command line remark: option '-MP' not supported | |
3497 | if (grep 'ignoring option' conftest.err || | |
3498 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
3499 | am_cv_CC_dependencies_compiler_type=$depmode | |
3500 | break | |
3501 | fi | |
3502 | fi | |
3503 | done | |
3504 | ||
3505 | cd .. | |
3506 | rm -rf conftest.dir | |
3507 | else | |
3508 | am_cv_CC_dependencies_compiler_type=none | |
3509 | fi | |
3510 | ||
3511 | fi | |
3512 | { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | |
3513 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | |
3514 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | |
3515 | ||
3516 | if | |
3517 | test "x$enable_dependency_tracking" != xno \ | |
3518 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | |
3519 | am__fastdepCC_TRUE= | |
3520 | am__fastdepCC_FALSE='#' | |
3521 | else | |
3522 | am__fastdepCC_TRUE='#' | |
3523 | am__fastdepCC_FALSE= | |
3524 | fi | |
3525 | ||
3526 | ||
3527 | # Find a good install program. We prefer a C program (faster), | |
3528 | # so one script is as good as another. But avoid the broken or | |
3529 | # incompatible versions: | |
3530 | # SysV /etc/install, /usr/sbin/install | |
3531 | # SunOS /usr/etc/install | |
3532 | # IRIX /sbin/install | |
3533 | # AIX /bin/install | |
3534 | # AmigaOS /C/install, which installs bootblocks on floppy discs | |
3535 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
3536 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
3537 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
3538 | # OS/2's system install, which has a completely different semantic | |
3539 | # ./install, which can be erroneously created by make from ./install.sh. | |
3540 | # Reject install programs that cannot install multiple files. | |
3541 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | |
3542 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
3543 | if test -z "$INSTALL"; then | |
3544 | if test "${ac_cv_path_install+set}" = set; then | |
3545 | $as_echo_n "(cached) " >&6 | |
3546 | else | |
3547 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3548 | for as_dir in $PATH | |
3549 | do | |
3550 | IFS=$as_save_IFS | |
3551 | test -z "$as_dir" && as_dir=. | |
3552 | # Account for people who put trailing slashes in PATH elements. | |
3553 | case $as_dir/ in | |
3554 | ./ | .// | /cC/* | \ | |
3555 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
3556 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | |
3557 | /usr/ucb/* ) ;; | |
3558 | *) | |
3559 | # OSF1 and SCO ODT 3.0 have their own names for install. | |
3560 | # Don't use installbsd from OSF since it installs stuff as root | |
3561 | # by default. | |
3562 | for ac_prog in ginstall scoinst install; do | |
3563 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3564 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | |
3565 | if test $ac_prog = install && | |
3566 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
3567 | # AIX install. It has an incompatible calling convention. | |
3568 | : | |
3569 | elif test $ac_prog = install && | |
3570 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
3571 | # program-specific install script used by HP pwplus--don't use. | |
3572 | : | |
3573 | else | |
3574 | rm -rf conftest.one conftest.two conftest.dir | |
3575 | echo one > conftest.one | |
3576 | echo two > conftest.two | |
3577 | mkdir conftest.dir | |
3578 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
3579 | test -s conftest.one && test -s conftest.two && | |
3580 | test -s conftest.dir/conftest.one && | |
3581 | test -s conftest.dir/conftest.two | |
3582 | then | |
3583 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
3584 | break 3 | |
3585 | fi | |
3586 | fi | |
3587 | fi | |
3588 | done | |
3589 | done | |
3590 | ;; | |
3591 | esac | |
3592 | ||
3593 | done | |
3594 | IFS=$as_save_IFS | |
3595 | ||
3596 | rm -rf conftest.one conftest.two conftest.dir | |
3597 | ||
3598 | fi | |
3599 | if test "${ac_cv_path_install+set}" = set; then | |
3600 | INSTALL=$ac_cv_path_install | |
3601 | else | |
3602 | # As a last resort, use the slow shell script. Don't cache a | |
3603 | # value for INSTALL within a source directory, because that will | |
3604 | # break other packages using the cache if that directory is | |
3605 | # removed, or if the value is a relative name. | |
3606 | INSTALL=$ac_install_sh | |
3607 | fi | |
3608 | fi | |
3609 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 | |
3610 | $as_echo "$INSTALL" >&6; } | |
3611 | ||
3612 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
3613 | # It thinks the first close brace ends the variable substitution. | |
3614 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
3615 | ||
3616 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
3617 | ||
3618 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
3619 | ||
3620 | ||
3621 | # Checks for header files. | |
3622 | ||
3623 | ac_ext=c | |
3624 | ac_cpp='$CPP $CPPFLAGS' | |
3625 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3626 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3627 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3628 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | |
3629 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | |
3630 | # On Suns, sometimes $CPP names a directory. | |
3631 | if test -n "$CPP" && test -d "$CPP"; then | |
3632 | CPP= | |
3633 | fi | |
3634 | if test -z "$CPP"; then | |
3635 | if test "${ac_cv_prog_CPP+set}" = set; then | |
3636 | $as_echo_n "(cached) " >&6 | |
3637 | else | |
3638 | # Double quotes because CPP needs to be expanded | |
3639 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
3640 | do | |
3641 | ac_preproc_ok=false | |
3642 | for ac_c_preproc_warn_flag in '' yes | |
3643 | do | |
3644 | # Use a header file that comes with gcc, so configuring glibc | |
3645 | # with a fresh cross-compiler works. | |
3646 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3647 | # <limits.h> exists even on freestanding compilers. | |
3648 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
3649 | # not just through cpp. "Syntax error" is here to catch this case. | |
3650 | cat >conftest.$ac_ext <<_ACEOF | |
3651 | /* confdefs.h. */ | |
3652 | _ACEOF | |
3653 | cat confdefs.h >>conftest.$ac_ext | |
3654 | cat >>conftest.$ac_ext <<_ACEOF | |
3655 | /* end confdefs.h. */ | |
3656 | @%:@ifdef __STDC__ | |
3657 | @%:@ include <limits.h> | |
3658 | @%:@else | |
3659 | @%:@ include <assert.h> | |
3660 | @%:@endif | |
3661 | Syntax error | |
3662 | _ACEOF | |
3663 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
3664 | case "(($ac_try" in | |
3665 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3666 | *) ac_try_echo=$ac_try;; | |
3667 | esac | |
3668 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3669 | $as_echo "$ac_try_echo") >&5 | |
3670 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3671 | ac_status=$? | |
3672 | grep -v '^ *+' conftest.er1 >conftest.err | |
3673 | rm -f conftest.er1 | |
3674 | cat conftest.err >&5 | |
3675 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3676 | (exit $ac_status); } >/dev/null && { | |
3677 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3678 | test ! -s conftest.err | |
3679 | }; then | |
3680 | : | |
3681 | else | |
3682 | $as_echo "$as_me: failed program was:" >&5 | |
3683 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3684 | ||
3685 | # Broken: fails on valid input. | |
3686 | continue | |
3687 | fi | |
3688 | ||
3689 | rm -f conftest.err conftest.$ac_ext | |
3690 | ||
3691 | # OK, works on sane cases. Now check whether nonexistent headers | |
3692 | # can be detected and how. | |
3693 | cat >conftest.$ac_ext <<_ACEOF | |
3694 | /* confdefs.h. */ | |
3695 | _ACEOF | |
3696 | cat confdefs.h >>conftest.$ac_ext | |
3697 | cat >>conftest.$ac_ext <<_ACEOF | |
3698 | /* end confdefs.h. */ | |
3699 | @%:@include <ac_nonexistent.h> | |
3700 | _ACEOF | |
3701 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
3702 | case "(($ac_try" in | |
3703 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3704 | *) ac_try_echo=$ac_try;; | |
3705 | esac | |
3706 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3707 | $as_echo "$ac_try_echo") >&5 | |
3708 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3709 | ac_status=$? | |
3710 | grep -v '^ *+' conftest.er1 >conftest.err | |
3711 | rm -f conftest.er1 | |
3712 | cat conftest.err >&5 | |
3713 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3714 | (exit $ac_status); } >/dev/null && { | |
3715 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3716 | test ! -s conftest.err | |
3717 | }; then | |
3718 | # Broken: success on invalid input. | |
3719 | continue | |
3720 | else | |
3721 | $as_echo "$as_me: failed program was:" >&5 | |
3722 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3723 | ||
3724 | # Passes both tests. | |
3725 | ac_preproc_ok=: | |
3726 | break | |
3727 | fi | |
3728 | ||
3729 | rm -f conftest.err conftest.$ac_ext | |
3730 | ||
3731 | done | |
3732 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
3733 | rm -f conftest.err conftest.$ac_ext | |
3734 | if $ac_preproc_ok; then | |
3735 | break | |
3736 | fi | |
3737 | ||
3738 | done | |
3739 | ac_cv_prog_CPP=$CPP | |
3740 | ||
3741 | fi | |
3742 | CPP=$ac_cv_prog_CPP | |
3743 | else | |
3744 | ac_cv_prog_CPP=$CPP | |
3745 | fi | |
3746 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 | |
3747 | $as_echo "$CPP" >&6; } | |
3748 | ac_preproc_ok=false | |
3749 | for ac_c_preproc_warn_flag in '' yes | |
3750 | do | |
3751 | # Use a header file that comes with gcc, so configuring glibc | |
3752 | # with a fresh cross-compiler works. | |
3753 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3754 | # <limits.h> exists even on freestanding compilers. | |
3755 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
3756 | # not just through cpp. "Syntax error" is here to catch this case. | |
3757 | cat >conftest.$ac_ext <<_ACEOF | |
3758 | /* confdefs.h. */ | |
3759 | _ACEOF | |
3760 | cat confdefs.h >>conftest.$ac_ext | |
3761 | cat >>conftest.$ac_ext <<_ACEOF | |
3762 | /* end confdefs.h. */ | |
3763 | @%:@ifdef __STDC__ | |
3764 | @%:@ include <limits.h> | |
3765 | @%:@else | |
3766 | @%:@ include <assert.h> | |
3767 | @%:@endif | |
3768 | Syntax error | |
3769 | _ACEOF | |
3770 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
3771 | case "(($ac_try" in | |
3772 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3773 | *) ac_try_echo=$ac_try;; | |
3774 | esac | |
3775 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3776 | $as_echo "$ac_try_echo") >&5 | |
3777 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3778 | ac_status=$? | |
3779 | grep -v '^ *+' conftest.er1 >conftest.err | |
3780 | rm -f conftest.er1 | |
3781 | cat conftest.err >&5 | |
3782 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3783 | (exit $ac_status); } >/dev/null && { | |
3784 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3785 | test ! -s conftest.err | |
3786 | }; then | |
3787 | : | |
3788 | else | |
3789 | $as_echo "$as_me: failed program was:" >&5 | |
3790 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3791 | ||
3792 | # Broken: fails on valid input. | |
3793 | continue | |
3794 | fi | |
3795 | ||
3796 | rm -f conftest.err conftest.$ac_ext | |
3797 | ||
3798 | # OK, works on sane cases. Now check whether nonexistent headers | |
3799 | # can be detected and how. | |
3800 | cat >conftest.$ac_ext <<_ACEOF | |
3801 | /* confdefs.h. */ | |
3802 | _ACEOF | |
3803 | cat confdefs.h >>conftest.$ac_ext | |
3804 | cat >>conftest.$ac_ext <<_ACEOF | |
3805 | /* end confdefs.h. */ | |
3806 | @%:@include <ac_nonexistent.h> | |
3807 | _ACEOF | |
3808 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
3809 | case "(($ac_try" in | |
3810 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3811 | *) ac_try_echo=$ac_try;; | |
3812 | esac | |
3813 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3814 | $as_echo "$ac_try_echo") >&5 | |
3815 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3816 | ac_status=$? | |
3817 | grep -v '^ *+' conftest.er1 >conftest.err | |
3818 | rm -f conftest.er1 | |
3819 | cat conftest.err >&5 | |
3820 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3821 | (exit $ac_status); } >/dev/null && { | |
3822 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3823 | test ! -s conftest.err | |
3824 | }; then | |
3825 | # Broken: success on invalid input. | |
3826 | continue | |
3827 | else | |
3828 | $as_echo "$as_me: failed program was:" >&5 | |
3829 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3830 | ||
3831 | # Passes both tests. | |
3832 | ac_preproc_ok=: | |
3833 | break | |
3834 | fi | |
3835 | ||
3836 | rm -f conftest.err conftest.$ac_ext | |
3837 | ||
3838 | done | |
3839 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
3840 | rm -f conftest.err conftest.$ac_ext | |
3841 | if $ac_preproc_ok; then | |
3842 | : | |
3843 | else | |
3844 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | |
3845 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3846 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | |
3847 | See \`config.log' for more details." >&5 | |
3848 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | |
3849 | See \`config.log' for more details." >&2;} | |
3850 | { (exit 1); exit 1; }; }; } | |
3851 | fi | |
3852 | ||
3853 | ac_ext=c | |
3854 | ac_cpp='$CPP $CPPFLAGS' | |
3855 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3856 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3857 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3858 | ||
3859 | ||
3860 | { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 | |
3861 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | |
3862 | if test "${ac_cv_path_GREP+set}" = set; then | |
3863 | $as_echo_n "(cached) " >&6 | |
3864 | else | |
3865 | if test -z "$GREP"; then | |
3866 | ac_path_GREP_found=false | |
3867 | # Loop through the user's path and test for each of PROGNAME-LIST | |
3868 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3869 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
3870 | do | |
3871 | IFS=$as_save_IFS | |
3872 | test -z "$as_dir" && as_dir=. | |
3873 | for ac_prog in grep ggrep; do | |
3874 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3875 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
3876 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | |
3877 | # Check for GNU ac_path_GREP and select it if it is found. | |
3878 | # Check for GNU $ac_path_GREP | |
3879 | case `"$ac_path_GREP" --version 2>&1` in | |
3880 | *GNU*) | |
3881 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
3882 | *) | |
3883 | ac_count=0 | |
3884 | $as_echo_n 0123456789 >"conftest.in" | |
3885 | while : | |
3886 | do | |
3887 | cat "conftest.in" "conftest.in" >"conftest.tmp" | |
3888 | mv "conftest.tmp" "conftest.in" | |
3889 | cp "conftest.in" "conftest.nl" | |
3890 | $as_echo 'GREP' >> "conftest.nl" | |
3891 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
3892 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
3893 | ac_count=`expr $ac_count + 1` | |
3894 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
3895 | # Best one so far, save it but keep looking for a better one | |
3896 | ac_cv_path_GREP="$ac_path_GREP" | |
3897 | ac_path_GREP_max=$ac_count | |
3898 | fi | |
3899 | # 10*(2^10) chars as input seems more than enough | |
3900 | test $ac_count -gt 10 && break | |
3901 | done | |
3902 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
3903 | esac | |
3904 | ||
3905 | $ac_path_GREP_found && break 3 | |
3906 | done | |
3907 | done | |
3908 | done | |
3909 | IFS=$as_save_IFS | |
3910 | if test -z "$ac_cv_path_GREP"; then | |
3911 | { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
3912 | $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
3913 | { (exit 1); exit 1; }; } | |
3914 | fi | |
3915 | else | |
3916 | ac_cv_path_GREP=$GREP | |
3917 | fi | |
3918 | ||
3919 | fi | |
3920 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | |
3921 | $as_echo "$ac_cv_path_GREP" >&6; } | |
3922 | GREP="$ac_cv_path_GREP" | |
3923 | ||
3924 | ||
3925 | { $as_echo "$as_me:$LINENO: checking for egrep" >&5 | |
3926 | $as_echo_n "checking for egrep... " >&6; } | |
3927 | if test "${ac_cv_path_EGREP+set}" = set; then | |
3928 | $as_echo_n "(cached) " >&6 | |
3929 | else | |
3930 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
3931 | then ac_cv_path_EGREP="$GREP -E" | |
3932 | else | |
3933 | if test -z "$EGREP"; then | |
3934 | ac_path_EGREP_found=false | |
3935 | # Loop through the user's path and test for each of PROGNAME-LIST | |
3936 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3937 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
3938 | do | |
3939 | IFS=$as_save_IFS | |
3940 | test -z "$as_dir" && as_dir=. | |
3941 | for ac_prog in egrep; do | |
3942 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3943 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
3944 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | |
3945 | # Check for GNU ac_path_EGREP and select it if it is found. | |
3946 | # Check for GNU $ac_path_EGREP | |
3947 | case `"$ac_path_EGREP" --version 2>&1` in | |
3948 | *GNU*) | |
3949 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
3950 | *) | |
3951 | ac_count=0 | |
3952 | $as_echo_n 0123456789 >"conftest.in" | |
3953 | while : | |
3954 | do | |
3955 | cat "conftest.in" "conftest.in" >"conftest.tmp" | |
3956 | mv "conftest.tmp" "conftest.in" | |
3957 | cp "conftest.in" "conftest.nl" | |
3958 | $as_echo 'EGREP' >> "conftest.nl" | |
3959 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
3960 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
3961 | ac_count=`expr $ac_count + 1` | |
3962 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
3963 | # Best one so far, save it but keep looking for a better one | |
3964 | ac_cv_path_EGREP="$ac_path_EGREP" | |
3965 | ac_path_EGREP_max=$ac_count | |
3966 | fi | |
3967 | # 10*(2^10) chars as input seems more than enough | |
3968 | test $ac_count -gt 10 && break | |
3969 | done | |
3970 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
3971 | esac | |
3972 | ||
3973 | $ac_path_EGREP_found && break 3 | |
3974 | done | |
3975 | done | |
3976 | done | |
3977 | IFS=$as_save_IFS | |
3978 | if test -z "$ac_cv_path_EGREP"; then | |
3979 | { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
3980 | $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
3981 | { (exit 1); exit 1; }; } | |
3982 | fi | |
3983 | else | |
3984 | ac_cv_path_EGREP=$EGREP | |
3985 | fi | |
3986 | ||
3987 | fi | |
3988 | fi | |
3989 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | |
3990 | $as_echo "$ac_cv_path_EGREP" >&6; } | |
3991 | EGREP="$ac_cv_path_EGREP" | |
3992 | ||
3993 | ||
3994 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | |
3995 | $as_echo_n "checking for ANSI C header files... " >&6; } | |
3996 | if test "${ac_cv_header_stdc+set}" = set; then | |
3997 | $as_echo_n "(cached) " >&6 | |
3998 | else | |
3999 | cat >conftest.$ac_ext <<_ACEOF | |
4000 | /* confdefs.h. */ | |
4001 | _ACEOF | |
4002 | cat confdefs.h >>conftest.$ac_ext | |
4003 | cat >>conftest.$ac_ext <<_ACEOF | |
4004 | /* end confdefs.h. */ | |
4005 | #include <stdlib.h> | |
4006 | #include <stdarg.h> | |
4007 | #include <string.h> | |
4008 | #include <float.h> | |
4009 | ||
4010 | int | |
4011 | main () | |
4012 | { | |
4013 | ||
4014 | ; | |
4015 | return 0; | |
4016 | } | |
4017 | _ACEOF | |
4018 | rm -f conftest.$ac_objext | |
4019 | if { (ac_try="$ac_compile" | |
4020 | case "(($ac_try" in | |
4021 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4022 | *) ac_try_echo=$ac_try;; | |
4023 | esac | |
4024 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4025 | $as_echo "$ac_try_echo") >&5 | |
4026 | (eval "$ac_compile") 2>conftest.er1 | |
4027 | ac_status=$? | |
4028 | grep -v '^ *+' conftest.er1 >conftest.err | |
4029 | rm -f conftest.er1 | |
4030 | cat conftest.err >&5 | |
4031 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4032 | (exit $ac_status); } && { | |
4033 | test -z "$ac_c_werror_flag" || | |
4034 | test ! -s conftest.err | |
4035 | } && test -s conftest.$ac_objext; then | |
4036 | ac_cv_header_stdc=yes | |
4037 | else | |
4038 | $as_echo "$as_me: failed program was:" >&5 | |
4039 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4040 | ||
4041 | ac_cv_header_stdc=no | |
4042 | fi | |
4043 | ||
4044 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4045 | ||
4046 | if test $ac_cv_header_stdc = yes; then | |
4047 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
4048 | cat >conftest.$ac_ext <<_ACEOF | |
4049 | /* confdefs.h. */ | |
4050 | _ACEOF | |
4051 | cat confdefs.h >>conftest.$ac_ext | |
4052 | cat >>conftest.$ac_ext <<_ACEOF | |
4053 | /* end confdefs.h. */ | |
4054 | #include <string.h> | |
4055 | ||
4056 | _ACEOF | |
4057 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
4058 | $EGREP "memchr" >/dev/null 2>&1; then | |
4059 | : | |
4060 | else | |
4061 | ac_cv_header_stdc=no | |
4062 | fi | |
4063 | rm -f conftest* | |
4064 | ||
4065 | fi | |
4066 | ||
4067 | if test $ac_cv_header_stdc = yes; then | |
4068 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
4069 | cat >conftest.$ac_ext <<_ACEOF | |
4070 | /* confdefs.h. */ | |
4071 | _ACEOF | |
4072 | cat confdefs.h >>conftest.$ac_ext | |
4073 | cat >>conftest.$ac_ext <<_ACEOF | |
4074 | /* end confdefs.h. */ | |
4075 | #include <stdlib.h> | |
4076 | ||
4077 | _ACEOF | |
4078 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
4079 | $EGREP "free" >/dev/null 2>&1; then | |
4080 | : | |
4081 | else | |
4082 | ac_cv_header_stdc=no | |
4083 | fi | |
4084 | rm -f conftest* | |
4085 | ||
4086 | fi | |
4087 | ||
4088 | if test $ac_cv_header_stdc = yes; then | |
4089 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
4090 | if test "$cross_compiling" = yes; then | |
4091 | : | |
4092 | else | |
4093 | cat >conftest.$ac_ext <<_ACEOF | |
4094 | /* confdefs.h. */ | |
4095 | _ACEOF | |
4096 | cat confdefs.h >>conftest.$ac_ext | |
4097 | cat >>conftest.$ac_ext <<_ACEOF | |
4098 | /* end confdefs.h. */ | |
4099 | #include <ctype.h> | |
4100 | #include <stdlib.h> | |
4101 | #if ((' ' & 0x0FF) == 0x020) | |
4102 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
4103 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
4104 | #else | |
4105 | # define ISLOWER(c) \ | |
4106 | (('a' <= (c) && (c) <= 'i') \ | |
4107 | || ('j' <= (c) && (c) <= 'r') \ | |
4108 | || ('s' <= (c) && (c) <= 'z')) | |
4109 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
4110 | #endif | |
4111 | ||
4112 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
4113 | int | |
4114 | main () | |
4115 | { | |
4116 | int i; | |
4117 | for (i = 0; i < 256; i++) | |
4118 | if (XOR (islower (i), ISLOWER (i)) | |
4119 | || toupper (i) != TOUPPER (i)) | |
4120 | return 2; | |
4121 | return 0; | |
4122 | } | |
4123 | _ACEOF | |
4124 | rm -f conftest$ac_exeext | |
4125 | if { (ac_try="$ac_link" | |
4126 | case "(($ac_try" in | |
4127 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4128 | *) ac_try_echo=$ac_try;; | |
4129 | esac | |
4130 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4131 | $as_echo "$ac_try_echo") >&5 | |
4132 | (eval "$ac_link") 2>&5 | |
4133 | ac_status=$? | |
4134 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4135 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
4136 | { (case "(($ac_try" in | |
4137 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4138 | *) ac_try_echo=$ac_try;; | |
4139 | esac | |
4140 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4141 | $as_echo "$ac_try_echo") >&5 | |
4142 | (eval "$ac_try") 2>&5 | |
4143 | ac_status=$? | |
4144 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4145 | (exit $ac_status); }; }; then | |
4146 | : | |
4147 | else | |
4148 | $as_echo "$as_me: program exited with status $ac_status" >&5 | |
4149 | $as_echo "$as_me: failed program was:" >&5 | |
4150 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4151 | ||
4152 | ( exit $ac_status ) | |
4153 | ac_cv_header_stdc=no | |
4154 | fi | |
4155 | rm -rf conftest.dSYM | |
4156 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
4157 | fi | |
4158 | ||
4159 | ||
4160 | fi | |
4161 | fi | |
4162 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
4163 | $as_echo "$ac_cv_header_stdc" >&6; } | |
4164 | if test $ac_cv_header_stdc = yes; then | |
4165 | ||
4166 | cat >>confdefs.h <<\_ACEOF | |
4167 | @%:@define STDC_HEADERS 1 | |
4168 | _ACEOF | |
4169 | ||
4170 | fi | |
4171 | ||
4172 | ||
4173 | # following is not really necessary, since it is already done by preceding | |
4174 | # macro, but it shows how to extend HAVE_ macros to other headers. | |
4175 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
4176 | ||
4177 | ||
4178 | ||
4179 | ||
4180 | ||
4181 | ||
4182 | ||
4183 | ||
4184 | ||
4185 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
4186 | inttypes.h stdint.h unistd.h | |
4187 | do | |
4188 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4189 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4190 | $as_echo_n "checking for $ac_header... " >&6; } | |
4191 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4192 | $as_echo_n "(cached) " >&6 | |
4193 | else | |
4194 | cat >conftest.$ac_ext <<_ACEOF | |
4195 | /* confdefs.h. */ | |
4196 | _ACEOF | |
4197 | cat confdefs.h >>conftest.$ac_ext | |
4198 | cat >>conftest.$ac_ext <<_ACEOF | |
4199 | /* end confdefs.h. */ | |
4200 | $ac_includes_default | |
4201 | ||
4202 | @%:@include <$ac_header> | |
4203 | _ACEOF | |
4204 | rm -f conftest.$ac_objext | |
4205 | if { (ac_try="$ac_compile" | |
4206 | case "(($ac_try" in | |
4207 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4208 | *) ac_try_echo=$ac_try;; | |
4209 | esac | |
4210 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4211 | $as_echo "$ac_try_echo") >&5 | |
4212 | (eval "$ac_compile") 2>conftest.er1 | |
4213 | ac_status=$? | |
4214 | grep -v '^ *+' conftest.er1 >conftest.err | |
4215 | rm -f conftest.er1 | |
4216 | cat conftest.err >&5 | |
4217 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4218 | (exit $ac_status); } && { | |
4219 | test -z "$ac_c_werror_flag" || | |
4220 | test ! -s conftest.err | |
4221 | } && test -s conftest.$ac_objext; then | |
4222 | eval "$as_ac_Header=yes" | |
4223 | else | |
4224 | $as_echo "$as_me: failed program was:" >&5 | |
4225 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4226 | ||
4227 | eval "$as_ac_Header=no" | |
4228 | fi | |
4229 | ||
4230 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4231 | fi | |
4232 | ac_res=`eval 'as_val=${'$as_ac_Header'} | |
4233 | $as_echo "$as_val"'` | |
4234 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4235 | $as_echo "$ac_res" >&6; } | |
4236 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
4237 | $as_echo "$as_val"'` | |
4238 | if test "x$as_val" = x""yes; then | |
4239 | cat >>confdefs.h <<_ACEOF | |
4240 | @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4241 | _ACEOF | |
4242 | ||
4243 | fi | |
4244 | ||
4245 | done | |
4246 | ||
4247 | ||
4248 | ||
4249 | ||
4250 | ||
4251 | ||
4252 | for ac_header in stdlib.h stdio.h ctype.h string.h | |
4253 | do | |
4254 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4255 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4256 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4257 | $as_echo_n "checking for $ac_header... " >&6; } | |
4258 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4259 | $as_echo_n "(cached) " >&6 | |
4260 | fi | |
4261 | ac_res=`eval 'as_val=${'$as_ac_Header'} | |
4262 | $as_echo "$as_val"'` | |
4263 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4264 | $as_echo "$ac_res" >&6; } | |
4265 | else | |
4266 | # Is the header compilable? | |
4267 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
4268 | $as_echo_n "checking $ac_header usability... " >&6; } | |
4269 | cat >conftest.$ac_ext <<_ACEOF | |
4270 | /* confdefs.h. */ | |
4271 | _ACEOF | |
4272 | cat confdefs.h >>conftest.$ac_ext | |
4273 | cat >>conftest.$ac_ext <<_ACEOF | |
4274 | /* end confdefs.h. */ | |
4275 | $ac_includes_default | |
4276 | @%:@include <$ac_header> | |
4277 | _ACEOF | |
4278 | rm -f conftest.$ac_objext | |
4279 | if { (ac_try="$ac_compile" | |
4280 | case "(($ac_try" in | |
4281 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4282 | *) ac_try_echo=$ac_try;; | |
4283 | esac | |
4284 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4285 | $as_echo "$ac_try_echo") >&5 | |
4286 | (eval "$ac_compile") 2>conftest.er1 | |
4287 | ac_status=$? | |
4288 | grep -v '^ *+' conftest.er1 >conftest.err | |
4289 | rm -f conftest.er1 | |
4290 | cat conftest.err >&5 | |
4291 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4292 | (exit $ac_status); } && { | |
4293 | test -z "$ac_c_werror_flag" || | |
4294 | test ! -s conftest.err | |
4295 | } && test -s conftest.$ac_objext; then | |
4296 | ac_header_compiler=yes | |
4297 | else | |
4298 | $as_echo "$as_me: failed program was:" >&5 | |
4299 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4300 | ||
4301 | ac_header_compiler=no | |
4302 | fi | |
4303 | ||
4304 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4305 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4306 | $as_echo "$ac_header_compiler" >&6; } | |
4307 | ||
4308 | # Is the header present? | |
4309 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
4310 | $as_echo_n "checking $ac_header presence... " >&6; } | |
4311 | cat >conftest.$ac_ext <<_ACEOF | |
4312 | /* confdefs.h. */ | |
4313 | _ACEOF | |
4314 | cat confdefs.h >>conftest.$ac_ext | |
4315 | cat >>conftest.$ac_ext <<_ACEOF | |
4316 | /* end confdefs.h. */ | |
4317 | @%:@include <$ac_header> | |
4318 | _ACEOF | |
4319 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
4320 | case "(($ac_try" in | |
4321 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4322 | *) ac_try_echo=$ac_try;; | |
4323 | esac | |
4324 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4325 | $as_echo "$ac_try_echo") >&5 | |
4326 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4327 | ac_status=$? | |
4328 | grep -v '^ *+' conftest.er1 >conftest.err | |
4329 | rm -f conftest.er1 | |
4330 | cat conftest.err >&5 | |
4331 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4332 | (exit $ac_status); } >/dev/null && { | |
4333 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4334 | test ! -s conftest.err | |
4335 | }; then | |
4336 | ac_header_preproc=yes | |
4337 | else | |
4338 | $as_echo "$as_me: failed program was:" >&5 | |
4339 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4340 | ||
4341 | ac_header_preproc=no | |
4342 | fi | |
4343 | ||
4344 | rm -f conftest.err conftest.$ac_ext | |
4345 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4346 | $as_echo "$ac_header_preproc" >&6; } | |
4347 | ||
4348 | # So? What about this header? | |
4349 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
4350 | yes:no: ) | |
4351 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4352 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4353 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
4354 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
4355 | ac_header_preproc=yes | |
4356 | ;; | |
4357 | no:yes:* ) | |
4358 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
4359 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
4360 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
4361 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
4362 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
4363 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
4364 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
4365 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
4366 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
4367 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
4368 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
4369 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
4370 | ( cat <<\_ASBOX | |
4371 | @%:@@%:@ -------------------------------- @%:@@%:@ | |
4372 | @%:@@%:@ Report this to bug-unrtf@gnu.org @%:@@%:@ | |
4373 | @%:@@%:@ -------------------------------- @%:@@%:@ | |
4374 | _ASBOX | |
4375 | ) | sed "s/^/$as_me: WARNING: /" >&2 | |
4376 | ;; | |
4377 | esac | |
4378 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4379 | $as_echo_n "checking for $ac_header... " >&6; } | |
4380 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4381 | $as_echo_n "(cached) " >&6 | |
4382 | else | |
4383 | eval "$as_ac_Header=\$ac_header_preproc" | |
4384 | fi | |
4385 | ac_res=`eval 'as_val=${'$as_ac_Header'} | |
4386 | $as_echo "$as_val"'` | |
4387 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4388 | $as_echo "$ac_res" >&6; } | |
4389 | ||
4390 | fi | |
4391 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
4392 | $as_echo "$as_val"'` | |
4393 | if test "x$as_val" = x""yes; then | |
4394 | cat >>confdefs.h <<_ACEOF | |
4395 | @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4396 | _ACEOF | |
4397 | ||
4398 | fi | |
4399 | ||
4400 | done | |
4401 | ||
4402 | ||
4403 | # Checks for typedefs, structures, and compiler characteristics. | |
4404 | ||
4405 | # Checks for library functions. | |
4406 | ||
4407 | for ac_header in stdlib.h | |
4408 | do | |
4409 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4410 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4411 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4412 | $as_echo_n "checking for $ac_header... " >&6; } | |
4413 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4414 | $as_echo_n "(cached) " >&6 | |
4415 | fi | |
4416 | ac_res=`eval 'as_val=${'$as_ac_Header'} | |
4417 | $as_echo "$as_val"'` | |
4418 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4419 | $as_echo "$ac_res" >&6; } | |
4420 | else | |
4421 | # Is the header compilable? | |
4422 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
4423 | $as_echo_n "checking $ac_header usability... " >&6; } | |
4424 | cat >conftest.$ac_ext <<_ACEOF | |
4425 | /* confdefs.h. */ | |
4426 | _ACEOF | |
4427 | cat confdefs.h >>conftest.$ac_ext | |
4428 | cat >>conftest.$ac_ext <<_ACEOF | |
4429 | /* end confdefs.h. */ | |
4430 | $ac_includes_default | |
4431 | @%:@include <$ac_header> | |
4432 | _ACEOF | |
4433 | rm -f conftest.$ac_objext | |
4434 | if { (ac_try="$ac_compile" | |
4435 | case "(($ac_try" in | |
4436 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4437 | *) ac_try_echo=$ac_try;; | |
4438 | esac | |
4439 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4440 | $as_echo "$ac_try_echo") >&5 | |
4441 | (eval "$ac_compile") 2>conftest.er1 | |
4442 | ac_status=$? | |
4443 | grep -v '^ *+' conftest.er1 >conftest.err | |
4444 | rm -f conftest.er1 | |
4445 | cat conftest.err >&5 | |
4446 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4447 | (exit $ac_status); } && { | |
4448 | test -z "$ac_c_werror_flag" || | |
4449 | test ! -s conftest.err | |
4450 | } && test -s conftest.$ac_objext; then | |
4451 | ac_header_compiler=yes | |
4452 | else | |
4453 | $as_echo "$as_me: failed program was:" >&5 | |
4454 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4455 | ||
4456 | ac_header_compiler=no | |
4457 | fi | |
4458 | ||
4459 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4460 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4461 | $as_echo "$ac_header_compiler" >&6; } | |
4462 | ||
4463 | # Is the header present? | |
4464 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
4465 | $as_echo_n "checking $ac_header presence... " >&6; } | |
4466 | cat >conftest.$ac_ext <<_ACEOF | |
4467 | /* confdefs.h. */ | |
4468 | _ACEOF | |
4469 | cat confdefs.h >>conftest.$ac_ext | |
4470 | cat >>conftest.$ac_ext <<_ACEOF | |
4471 | /* end confdefs.h. */ | |
4472 | @%:@include <$ac_header> | |
4473 | _ACEOF | |
4474 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
4475 | case "(($ac_try" in | |
4476 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4477 | *) ac_try_echo=$ac_try;; | |
4478 | esac | |
4479 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4480 | $as_echo "$ac_try_echo") >&5 | |
4481 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4482 | ac_status=$? | |
4483 | grep -v '^ *+' conftest.er1 >conftest.err | |
4484 | rm -f conftest.er1 | |
4485 | cat conftest.err >&5 | |
4486 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4487 | (exit $ac_status); } >/dev/null && { | |
4488 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4489 | test ! -s conftest.err | |
4490 | }; then | |
4491 | ac_header_preproc=yes | |
4492 | else | |
4493 | $as_echo "$as_me: failed program was:" >&5 | |
4494 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4495 | ||
4496 | ac_header_preproc=no | |
4497 | fi | |
4498 | ||
4499 | rm -f conftest.err conftest.$ac_ext | |
4500 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4501 | $as_echo "$ac_header_preproc" >&6; } | |
4502 | ||
4503 | # So? What about this header? | |
4504 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
4505 | yes:no: ) | |
4506 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4507 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4508 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
4509 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
4510 | ac_header_preproc=yes | |
4511 | ;; | |
4512 | no:yes:* ) | |
4513 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
4514 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
4515 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
4516 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
4517 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
4518 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
4519 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
4520 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
4521 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
4522 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
4523 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
4524 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
4525 | ( cat <<\_ASBOX | |
4526 | @%:@@%:@ -------------------------------- @%:@@%:@ | |
4527 | @%:@@%:@ Report this to bug-unrtf@gnu.org @%:@@%:@ | |
4528 | @%:@@%:@ -------------------------------- @%:@@%:@ | |
4529 | _ASBOX | |
4530 | ) | sed "s/^/$as_me: WARNING: /" >&2 | |
4531 | ;; | |
4532 | esac | |
4533 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4534 | $as_echo_n "checking for $ac_header... " >&6; } | |
4535 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4536 | $as_echo_n "(cached) " >&6 | |
4537 | else | |
4538 | eval "$as_ac_Header=\$ac_header_preproc" | |
4539 | fi | |
4540 | ac_res=`eval 'as_val=${'$as_ac_Header'} | |
4541 | $as_echo "$as_val"'` | |
4542 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4543 | $as_echo "$ac_res" >&6; } | |
4544 | ||
4545 | fi | |
4546 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
4547 | $as_echo "$as_val"'` | |
4548 | if test "x$as_val" = x""yes; then | |
4549 | cat >>confdefs.h <<_ACEOF | |
4550 | @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4551 | _ACEOF | |
4552 | ||
4553 | fi | |
4554 | ||
4555 | done | |
4556 | ||
4557 | { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 | |
4558 | $as_echo_n "checking for GNU libc compatible malloc... " >&6; } | |
4559 | if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then | |
4560 | $as_echo_n "(cached) " >&6 | |
4561 | else | |
4562 | if test "$cross_compiling" = yes; then | |
4563 | ac_cv_func_malloc_0_nonnull=no | |
4564 | else | |
4565 | cat >conftest.$ac_ext <<_ACEOF | |
4566 | /* confdefs.h. */ | |
4567 | _ACEOF | |
4568 | cat confdefs.h >>conftest.$ac_ext | |
4569 | cat >>conftest.$ac_ext <<_ACEOF | |
4570 | /* end confdefs.h. */ | |
4571 | #if defined STDC_HEADERS || defined HAVE_STDLIB_H | |
4572 | # include <stdlib.h> | |
4573 | #else | |
4574 | char *malloc (); | |
4575 | #endif | |
4576 | ||
4577 | int | |
4578 | main () | |
4579 | { | |
4580 | return ! malloc (0); | |
4581 | ; | |
4582 | return 0; | |
4583 | } | |
4584 | _ACEOF | |
4585 | rm -f conftest$ac_exeext | |
4586 | if { (ac_try="$ac_link" | |
4587 | case "(($ac_try" in | |
4588 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4589 | *) ac_try_echo=$ac_try;; | |
4590 | esac | |
4591 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4592 | $as_echo "$ac_try_echo") >&5 | |
4593 | (eval "$ac_link") 2>&5 | |
4594 | ac_status=$? | |
4595 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4596 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
4597 | { (case "(($ac_try" in | |
4598 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4599 | *) ac_try_echo=$ac_try;; | |
4600 | esac | |
4601 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4602 | $as_echo "$ac_try_echo") >&5 | |
4603 | (eval "$ac_try") 2>&5 | |
4604 | ac_status=$? | |
4605 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4606 | (exit $ac_status); }; }; then | |
4607 | ac_cv_func_malloc_0_nonnull=yes | |
4608 | else | |
4609 | $as_echo "$as_me: program exited with status $ac_status" >&5 | |
4610 | $as_echo "$as_me: failed program was:" >&5 | |
4611 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4612 | ||
4613 | ( exit $ac_status ) | |
4614 | ac_cv_func_malloc_0_nonnull=no | |
4615 | fi | |
4616 | rm -rf conftest.dSYM | |
4617 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
4618 | fi | |
4619 | ||
4620 | ||
4621 | fi | |
4622 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 | |
4623 | $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } | |
4624 | if test $ac_cv_func_malloc_0_nonnull = yes; then | |
4625 | ||
4626 | cat >>confdefs.h <<\_ACEOF | |
4627 | @%:@define HAVE_MALLOC 1 | |
4628 | _ACEOF | |
4629 | ||
4630 | else | |
4631 | cat >>confdefs.h <<\_ACEOF | |
4632 | @%:@define HAVE_MALLOC 0 | |
4633 | _ACEOF | |
4634 | ||
4635 | case " $LIB@&t@OBJS " in | |
4636 | *" malloc.$ac_objext "* ) ;; | |
4637 | *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext" | |
4638 | ;; | |
4639 | esac | |
4640 | ||
4641 | ||
4642 | cat >>confdefs.h <<\_ACEOF | |
4643 | @%:@define malloc rpl_malloc | |
4644 | _ACEOF | |
4645 | ||
4646 | fi | |
4647 | ||
4648 | ||
4649 | ||
4650 | ||
4651 | ||
4652 | ||
4653 | for ac_func in memset strchr strstr | |
4654 | do | |
4655 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
4656 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
4657 | $as_echo_n "checking for $ac_func... " >&6; } | |
4658 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
4659 | $as_echo_n "(cached) " >&6 | |
4660 | else | |
4661 | cat >conftest.$ac_ext <<_ACEOF | |
4662 | /* confdefs.h. */ | |
4663 | _ACEOF | |
4664 | cat confdefs.h >>conftest.$ac_ext | |
4665 | cat >>conftest.$ac_ext <<_ACEOF | |
4666 | /* end confdefs.h. */ | |
4667 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
4668 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
4669 | #define $ac_func innocuous_$ac_func | |
4670 | ||
4671 | /* System header to define __stub macros and hopefully few prototypes, | |
4672 | which can conflict with char $ac_func (); below. | |
4673 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4674 | <limits.h> exists even on freestanding compilers. */ | |
4675 | ||
4676 | #ifdef __STDC__ | |
4677 | # include <limits.h> | |
4678 | #else | |
4679 | # include <assert.h> | |
4680 | #endif | |
4681 | ||
4682 | #undef $ac_func | |
4683 | ||
4684 | /* Override any GCC internal prototype to avoid an error. | |
4685 | Use char because int might match the return type of a GCC | |
4686 | builtin and then its argument prototype would still apply. */ | |
4687 | #ifdef __cplusplus | |
4688 | extern "C" | |
4689 | #endif | |
4690 | char $ac_func (); | |
4691 | /* The GNU C library defines this for functions which it implements | |
4692 | to always fail with ENOSYS. Some functions are actually named | |
4693 | something starting with __ and the normal name is an alias. */ | |
4694 | #if defined __stub_$ac_func || defined __stub___$ac_func | |
4695 | choke me | |
4696 | #endif | |
4697 | ||
4698 | int | |
4699 | main () | |
4700 | { | |
4701 | return $ac_func (); | |
4702 | ; | |
4703 | return 0; | |
4704 | } | |
4705 | _ACEOF | |
4706 | rm -f conftest.$ac_objext conftest$ac_exeext | |
4707 | if { (ac_try="$ac_link" | |
4708 | case "(($ac_try" in | |
4709 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4710 | *) ac_try_echo=$ac_try;; | |
4711 | esac | |
4712 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4713 | $as_echo "$ac_try_echo") >&5 | |
4714 | (eval "$ac_link") 2>conftest.er1 | |
4715 | ac_status=$? | |
4716 | grep -v '^ *+' conftest.er1 >conftest.err | |
4717 | rm -f conftest.er1 | |
4718 | cat conftest.err >&5 | |
4719 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4720 | (exit $ac_status); } && { | |
4721 | test -z "$ac_c_werror_flag" || | |
4722 | test ! -s conftest.err | |
4723 | } && test -s conftest$ac_exeext && { | |
4724 | test "$cross_compiling" = yes || | |
4725 | $as_test_x conftest$ac_exeext | |
4726 | }; then | |
4727 | eval "$as_ac_var=yes" | |
4728 | else | |
4729 | $as_echo "$as_me: failed program was:" >&5 | |
4730 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4731 | ||
4732 | eval "$as_ac_var=no" | |
4733 | fi | |
4734 | ||
4735 | rm -rf conftest.dSYM | |
4736 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4737 | conftest$ac_exeext conftest.$ac_ext | |
4738 | fi | |
4739 | ac_res=`eval 'as_val=${'$as_ac_var'} | |
4740 | $as_echo "$as_val"'` | |
4741 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4742 | $as_echo "$ac_res" >&6; } | |
4743 | as_val=`eval 'as_val=${'$as_ac_var'} | |
4744 | $as_echo "$as_val"'` | |
4745 | if test "x$as_val" = x""yes; then | |
4746 | cat >>confdefs.h <<_ACEOF | |
4747 | @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
4748 | _ACEOF | |
4749 | ||
4750 | fi | |
4751 | done | |
4752 | ||
4753 | ||
4754 | # Make sure we can run config.sub. | |
4755 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | |
4756 | { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 | |
4757 | $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | |
4758 | { (exit 1); exit 1; }; } | |
4759 | ||
4760 | { $as_echo "$as_me:$LINENO: checking build system type" >&5 | |
4761 | $as_echo_n "checking build system type... " >&6; } | |
4762 | if test "${ac_cv_build+set}" = set; then | |
4763 | $as_echo_n "(cached) " >&6 | |
4764 | else | |
4765 | ac_build_alias=$build_alias | |
4766 | test "x$ac_build_alias" = x && | |
4767 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | |
4768 | test "x$ac_build_alias" = x && | |
4769 | { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | |
4770 | $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
4771 | { (exit 1); exit 1; }; } | |
4772 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | |
4773 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 | |
4774 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | |
4775 | { (exit 1); exit 1; }; } | |
4776 | ||
4777 | fi | |
4778 | { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
4779 | $as_echo "$ac_cv_build" >&6; } | |
4780 | case $ac_cv_build in | |
4781 | *-*-*) ;; | |
4782 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | |
4783 | $as_echo "$as_me: error: invalid value of canonical build" >&2;} | |
4784 | { (exit 1); exit 1; }; };; | |
4785 | esac | |
4786 | build=$ac_cv_build | |
4787 | ac_save_IFS=$IFS; IFS='-' | |
4788 | set x $ac_cv_build | |
4789 | shift | |
4790 | build_cpu=$1 | |
4791 | build_vendor=$2 | |
4792 | shift; shift | |
4793 | # Remember, the first character of IFS is used to create $*, | |
4794 | # except with old shells: | |
4795 | build_os=$* | |
4796 | IFS=$ac_save_IFS | |
4797 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | |
4798 | ||
4799 | ||
4800 | { $as_echo "$as_me:$LINENO: checking host system type" >&5 | |
4801 | $as_echo_n "checking host system type... " >&6; } | |
4802 | if test "${ac_cv_host+set}" = set; then | |
4803 | $as_echo_n "(cached) " >&6 | |
4804 | else | |
4805 | if test "x$host_alias" = x; then | |
4806 | ac_cv_host=$ac_cv_build | |
4807 | else | |
4808 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | |
4809 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 | |
4810 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | |
4811 | { (exit 1); exit 1; }; } | |
4812 | fi | |
4813 | ||
4814 | fi | |
4815 | { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | |
4816 | $as_echo "$ac_cv_host" >&6; } | |
4817 | case $ac_cv_host in | |
4818 | *-*-*) ;; | |
4819 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | |
4820 | $as_echo "$as_me: error: invalid value of canonical host" >&2;} | |
4821 | { (exit 1); exit 1; }; };; | |
4822 | esac | |
4823 | host=$ac_cv_host | |
4824 | ac_save_IFS=$IFS; IFS='-' | |
4825 | set x $ac_cv_host | |
4826 | shift | |
4827 | host_cpu=$1 | |
4828 | host_vendor=$2 | |
4829 | shift; shift | |
4830 | # Remember, the first character of IFS is used to create $*, | |
4831 | # except with old shells: | |
4832 | host_os=$* | |
4833 | IFS=$ac_save_IFS | |
4834 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | |
4835 | ||
4836 | ||
4837 | case $host in | |
4838 | *-*-cygwin*) LIBS="-liconv" | |
4839 | ;; | |
4840 | *aix*) LIBS="-liconv" | |
4841 | ;; | |
4842 | esac | |
4843 | ||
4844 | ac_config_files="$ac_config_files Makefile charmaps/Makefile doc/Makefile outputs/Makefile patches/Makefile src/Makefile tests/Makefile" | |
4845 | ||
4846 | cat >confcache <<\_ACEOF | |
4847 | # This file is a shell script that caches the results of configure | |
4848 | # tests run on this system so they can be shared between configure | |
4849 | # scripts and configure runs, see configure's option --config-cache. | |
4850 | # It is not useful on other systems. If it contains results you don't | |
4851 | # want to keep, you may remove or edit it. | |
4852 | # | |
4853 | # config.status only pays attention to the cache file if you give it | |
4854 | # the --recheck option to rerun configure. | |
4855 | # | |
4856 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | |
4857 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
4858 | # following values. | |
4859 | ||
4860 | _ACEOF | |
4861 | ||
4862 | # The following way of writing the cache mishandles newlines in values, | |
4863 | # but we know of no workaround that is simple, portable, and efficient. | |
4864 | # So, we kill variables containing newlines. | |
4865 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
4866 | # and sets the high bit in the cache file unless we assign to the vars. | |
4867 | ( | |
4868 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
4869 | eval ac_val=\$$ac_var | |
4870 | case $ac_val in #( | |
4871 | *${as_nl}*) | |
4872 | case $ac_var in #( | |
4873 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 | |
4874 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
4875 | esac | |
4876 | case $ac_var in #( | |
4877 | _ | IFS | as_nl) ;; #( | |
4878 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
4879 | *) $as_unset $ac_var ;; | |
4880 | esac ;; | |
4881 | esac | |
4882 | done | |
4883 | ||
4884 | (set) 2>&1 | | |
4885 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | |
4886 | *${as_nl}ac_space=\ *) | |
4887 | # `set' does not quote correctly, so add quotes (double-quote | |
4888 | # substitution turns \\\\ into \\, and sed turns \\ into \). | |
4889 | sed -n \ | |
4890 | "s/'/'\\\\''/g; | |
4891 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
4892 | ;; #( | |
4893 | *) | |
4894 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
4895 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
4896 | ;; | |
4897 | esac | | |
4898 | sort | |
4899 | ) | | |
4900 | sed ' | |
4901 | /^ac_cv_env_/b end | |
4902 | t clear | |
4903 | :clear | |
4904 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
4905 | t end | |
4906 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
4907 | :end' >>confcache | |
4908 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | |
4909 | if test -w "$cache_file"; then | |
4910 | test "x$cache_file" != "x/dev/null" && | |
4911 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 | |
4912 | $as_echo "$as_me: updating cache $cache_file" >&6;} | |
4913 | cat confcache >$cache_file | |
4914 | else | |
4915 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 | |
4916 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
4917 | fi | |
4918 | fi | |
4919 | rm -f confcache | |
4920 | ||
4921 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
4922 | # Let make expand exec_prefix. | |
4923 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
4924 | ||
4925 | DEFS=-DHAVE_CONFIG_H | |
4926 | ||
4927 | ac_libobjs= | |
4928 | ac_ltlibobjs= | |
4929 | for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue | |
4930 | # 1. Remove the extension, and $U if already installed. | |
4931 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | |
4932 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | |
4933 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |
4934 | # will be set to the directory where LIBOBJS objects are built. | |
4935 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
4936 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | |
4937 | done | |
4938 | LIB@&t@OBJS=$ac_libobjs | |
4939 | ||
4940 | LTLIBOBJS=$ac_ltlibobjs | |
4941 | ||
4942 | ||
4943 | if test -n "$EXEEXT"; then | |
4944 | am__EXEEXT_TRUE= | |
4945 | am__EXEEXT_FALSE='#' | |
4946 | else | |
4947 | am__EXEEXT_TRUE='#' | |
4948 | am__EXEEXT_FALSE= | |
4949 | fi | |
4950 | ||
4951 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then | |
4952 | { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. | |
4953 | Usually this means the macro was only invoked conditionally." >&5 | |
4954 | $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. | |
4955 | Usually this means the macro was only invoked conditionally." >&2;} | |
4956 | { (exit 1); exit 1; }; } | |
4957 | fi | |
4958 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | |
4959 | { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | |
4960 | Usually this means the macro was only invoked conditionally." >&5 | |
4961 | $as_echo "$as_me: error: conditional \"AMDEP\" was never defined. | |
4962 | Usually this means the macro was only invoked conditionally." >&2;} | |
4963 | { (exit 1); exit 1; }; } | |
4964 | fi | |
4965 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | |
4966 | { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | |
4967 | Usually this means the macro was only invoked conditionally." >&5 | |
4968 | $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | |
4969 | Usually this means the macro was only invoked conditionally." >&2;} | |
4970 | { (exit 1); exit 1; }; } | |
4971 | fi | |
4972 | ||
4973 | : ${CONFIG_STATUS=./config.status} | |
4974 | ac_write_fail=0 | |
4975 | ac_clean_files_save=$ac_clean_files | |
4976 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
4977 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | |
4978 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
4979 | cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
4980 | #! $SHELL | |
4981 | # Generated by $as_me. | |
4982 | # Run this file to recreate the current configuration. | |
4983 | # Compiler output produced by configure, useful for debugging | |
4984 | # configure, is in config.log if it exists. | |
4985 | ||
4986 | debug=false | |
4987 | ac_cs_recheck=false | |
4988 | ac_cs_silent=false | |
4989 | SHELL=\${CONFIG_SHELL-$SHELL} | |
4990 | _ACEOF | |
4991 | ||
4992 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
4993 | ## --------------------- ## | |
4994 | ## M4sh Initialization. ## | |
4995 | ## --------------------- ## | |
4996 | ||
4997 | # Be more Bourne compatible | |
4998 | DUALCASE=1; export DUALCASE # for MKS sh | |
4999 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
5000 | emulate sh | |
5001 | NULLCMD=: | |
5002 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
5003 | # is contrary to our usage. Disable this feature. | |
5004 | alias -g '${1+"$@"}'='"$@"' | |
5005 | setopt NO_GLOB_SUBST | |
5006 | else | |
5007 | case `(set -o) 2>/dev/null` in | |
5008 | *posix*) set -o posix ;; | |
5009 | esac | |
5010 | ||
5011 | fi | |
5012 | ||
5013 | ||
5014 | ||
5015 | ||
5016 | # PATH needs CR | |
5017 | # Avoid depending upon Character Ranges. | |
5018 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
5019 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
5020 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
5021 | as_cr_digits='0123456789' | |
5022 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
5023 | ||
5024 | as_nl=' | |
5025 | ' | |
5026 | export as_nl | |
5027 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
5028 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
5029 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
5030 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
5031 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
5032 | as_echo='printf %s\n' | |
5033 | as_echo_n='printf %s' | |
5034 | else | |
5035 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
5036 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
5037 | as_echo_n='/usr/ucb/echo -n' | |
5038 | else | |
5039 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
5040 | as_echo_n_body='eval | |
5041 | arg=$1; | |
5042 | case $arg in | |
5043 | *"$as_nl"*) | |
5044 | expr "X$arg" : "X\\(.*\\)$as_nl"; | |
5045 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
5046 | esac; | |
5047 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
5048 | ' | |
5049 | export as_echo_n_body | |
5050 | as_echo_n='sh -c $as_echo_n_body as_echo' | |
5051 | fi | |
5052 | export as_echo_body | |
5053 | as_echo='sh -c $as_echo_body as_echo' | |
5054 | fi | |
5055 | ||
5056 | # The user is always right. | |
5057 | if test "${PATH_SEPARATOR+set}" != set; then | |
5058 | PATH_SEPARATOR=: | |
5059 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
5060 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
5061 | PATH_SEPARATOR=';' | |
5062 | } | |
5063 | fi | |
5064 | ||
5065 | # Support unset when possible. | |
5066 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
5067 | as_unset=unset | |
5068 | else | |
5069 | as_unset=false | |
5070 | fi | |
5071 | ||
5072 | ||
5073 | # IFS | |
5074 | # We need space, tab and new line, in precisely that order. Quoting is | |
5075 | # there to prevent editors from complaining about space-tab. | |
5076 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
5077 | # splitting by setting IFS to empty value.) | |
5078 | IFS=" "" $as_nl" | |
5079 | ||
5080 | # Find who we are. Look in the path if we contain no directory separator. | |
5081 | case $0 in | |
5082 | *[\\/]* ) as_myself=$0 ;; | |
5083 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
5084 | for as_dir in $PATH | |
5085 | do | |
5086 | IFS=$as_save_IFS | |
5087 | test -z "$as_dir" && as_dir=. | |
5088 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
5089 | done | |
5090 | IFS=$as_save_IFS | |
5091 | ||
5092 | ;; | |
5093 | esac | |
5094 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
5095 | # in which case we are not to be found in the path. | |
5096 | if test "x$as_myself" = x; then | |
5097 | as_myself=$0 | |
5098 | fi | |
5099 | if test ! -f "$as_myself"; then | |
5100 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
5101 | { (exit 1); exit 1; } | |
5102 | fi | |
5103 | ||
5104 | # Work around bugs in pre-3.0 UWIN ksh. | |
5105 | for as_var in ENV MAIL MAILPATH | |
5106 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
5107 | done | |
5108 | PS1='$ ' | |
5109 | PS2='> ' | |
5110 | PS4='+ ' | |
5111 | ||
5112 | # NLS nuisances. | |
5113 | LC_ALL=C | |
5114 | export LC_ALL | |
5115 | LANGUAGE=C | |
5116 | export LANGUAGE | |
5117 | ||
5118 | # Required to use basename. | |
5119 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
5120 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
5121 | as_expr=expr | |
5122 | else | |
5123 | as_expr=false | |
5124 | fi | |
5125 | ||
5126 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
5127 | as_basename=basename | |
5128 | else | |
5129 | as_basename=false | |
5130 | fi | |
5131 | ||
5132 | ||
5133 | # Name of the executable. | |
5134 | as_me=`$as_basename -- "$0" || | |
5135 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
5136 | X"$0" : 'X\(//\)$' \| \ | |
5137 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
5138 | $as_echo X/"$0" | | |
5139 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
5140 | s//\1/ | |
5141 | q | |
5142 | } | |
5143 | /^X\/\(\/\/\)$/{ | |
5144 | s//\1/ | |
5145 | q | |
5146 | } | |
5147 | /^X\/\(\/\).*/{ | |
5148 | s//\1/ | |
5149 | q | |
5150 | } | |
5151 | s/.*/./; q'` | |
5152 | ||
5153 | # CDPATH. | |
5154 | $as_unset CDPATH | |
5155 | ||
5156 | ||
5157 | ||
5158 | as_lineno_1=$LINENO | |
5159 | as_lineno_2=$LINENO | |
5160 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
5161 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
5162 | ||
5163 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
5164 | # uniformly replaced by the line number. The first 'sed' inserts a | |
5165 | # line-number line after each line using $LINENO; the second 'sed' | |
5166 | # does the real work. The second script uses 'N' to pair each | |
5167 | # line-number line with the line containing $LINENO, and appends | |
5168 | # trailing '-' during substitution so that $LINENO is not a special | |
5169 | # case at line end. | |
5170 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
5171 | # scripts with optimization help from Paolo Bonzini. Blame Lee | |
5172 | # E. McMahon (1931-1989) for sed's syntax. :-) | |
5173 | sed -n ' | |
5174 | p | |
5175 | /[$]LINENO/= | |
5176 | ' <$as_myself | | |
5177 | sed ' | |
5178 | s/[$]LINENO.*/&-/ | |
5179 | t lineno | |
5180 | b | |
5181 | :lineno | |
5182 | N | |
5183 | :loop | |
5184 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
5185 | t loop | |
5186 | s/-\n.*// | |
5187 | ' >$as_me.lineno && | |
5188 | chmod +x "$as_me.lineno" || | |
5189 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
5190 | { (exit 1); exit 1; }; } | |
5191 | ||
5192 | # Don't try to exec as it changes $[0], causing all sort of problems | |
5193 | # (the dirname of $[0] is not the place where we might find the | |
5194 | # original and so on. Autoconf is especially sensitive to this). | |
5195 | . "./$as_me.lineno" | |
5196 | # Exit status is that of the last command. | |
5197 | exit | |
5198 | } | |
5199 | ||
5200 | ||
5201 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
5202 | as_dirname=dirname | |
5203 | else | |
5204 | as_dirname=false | |
5205 | fi | |
5206 | ||
5207 | ECHO_C= ECHO_N= ECHO_T= | |
5208 | case `echo -n x` in | |
5209 | -n*) | |
5210 | case `echo 'x\c'` in | |
5211 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
5212 | *) ECHO_C='\c';; | |
5213 | esac;; | |
5214 | *) | |
5215 | ECHO_N='-n';; | |
5216 | esac | |
5217 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
5218 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
5219 | as_expr=expr | |
5220 | else | |
5221 | as_expr=false | |
5222 | fi | |
5223 | ||
5224 | rm -f conf$$ conf$$.exe conf$$.file | |
5225 | if test -d conf$$.dir; then | |
5226 | rm -f conf$$.dir/conf$$.file | |
5227 | else | |
5228 | rm -f conf$$.dir | |
5229 | mkdir conf$$.dir 2>/dev/null | |
5230 | fi | |
5231 | if (echo >conf$$.file) 2>/dev/null; then | |
5232 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
5233 | as_ln_s='ln -s' | |
5234 | # ... but there are two gotchas: | |
5235 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
5236 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
5237 | # In both cases, we have to default to `cp -p'. | |
5238 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
5239 | as_ln_s='cp -p' | |
5240 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
5241 | as_ln_s=ln | |
5242 | else | |
5243 | as_ln_s='cp -p' | |
5244 | fi | |
5245 | else | |
5246 | as_ln_s='cp -p' | |
5247 | fi | |
5248 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
5249 | rmdir conf$$.dir 2>/dev/null | |
5250 | ||
5251 | if mkdir -p . 2>/dev/null; then | |
5252 | as_mkdir_p=: | |
5253 | else | |
5254 | test -d ./-p && rmdir ./-p | |
5255 | as_mkdir_p=false | |
5256 | fi | |
5257 | ||
5258 | if test -x / >/dev/null 2>&1; then | |
5259 | as_test_x='test -x' | |
5260 | else | |
5261 | if ls -dL / >/dev/null 2>&1; then | |
5262 | as_ls_L_option=L | |
5263 | else | |
5264 | as_ls_L_option= | |
5265 | fi | |
5266 | as_test_x=' | |
5267 | eval sh -c '\'' | |
5268 | if test -d "$1"; then | |
5269 | test -d "$1/."; | |
5270 | else | |
5271 | case $1 in | |
5272 | -*)set "./$1";; | |
5273 | esac; | |
5274 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
5275 | ???[sx]*):;;*)false;;esac;fi | |
5276 | '\'' sh | |
5277 | ' | |
5278 | fi | |
5279 | as_executable_p=$as_test_x | |
5280 | ||
5281 | # Sed expression to map a string onto a valid CPP name. | |
5282 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
5283 | ||
5284 | # Sed expression to map a string onto a valid variable name. | |
5285 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
5286 | ||
5287 | ||
5288 | exec 6>&1 | |
5289 | ||
5290 | # Save the log message, to keep $[0] and so on meaningful, and to | |
5291 | # report actual input values of CONFIG_FILES etc. instead of their | |
5292 | # values after options handling. | |
5293 | ac_log=" | |
5294 | This file was extended by unrtf $as_me 0.21.2, which was | |
5295 | generated by GNU Autoconf 2.63. Invocation command line was | |
5296 | ||
5297 | CONFIG_FILES = $CONFIG_FILES | |
5298 | CONFIG_HEADERS = $CONFIG_HEADERS | |
5299 | CONFIG_LINKS = $CONFIG_LINKS | |
5300 | CONFIG_COMMANDS = $CONFIG_COMMANDS | |
5301 | $ $0 $@ | |
5302 | ||
5303 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
5304 | " | |
5305 | ||
5306 | _ACEOF | |
5307 | ||
5308 | case $ac_config_files in *" | |
5309 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
5310 | esac | |
5311 | ||
5312 | case $ac_config_headers in *" | |
5313 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | |
5314 | esac | |
5315 | ||
5316 | ||
5317 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5318 | # Files that config.status was made for. | |
5319 | config_files="$ac_config_files" | |
5320 | config_headers="$ac_config_headers" | |
5321 | config_commands="$ac_config_commands" | |
5322 | ||
5323 | _ACEOF | |
5324 | ||
5325 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5326 | ac_cs_usage="\ | |
5327 | \`$as_me' instantiates files from templates according to the | |
5328 | current configuration. | |
5329 | ||
5330 | Usage: $0 [OPTION]... [FILE]... | |
5331 | ||
5332 | -h, --help print this help, then exit | |
5333 | -V, --version print version number and configuration settings, then exit | |
5334 | -q, --quiet, --silent | |
5335 | do not print progress messages | |
5336 | -d, --debug don't remove temporary files | |
5337 | --recheck update $as_me by reconfiguring in the same conditions | |
5338 | --file=FILE[:TEMPLATE] | |
5339 | instantiate the configuration file FILE | |
5340 | --header=FILE[:TEMPLATE] | |
5341 | instantiate the configuration header FILE | |
5342 | ||
5343 | Configuration files: | |
5344 | $config_files | |
5345 | ||
5346 | Configuration headers: | |
5347 | $config_headers | |
5348 | ||
5349 | Configuration commands: | |
5350 | $config_commands | |
5351 | ||
5352 | Report bugs to <bug-autoconf@gnu.org>." | |
5353 | ||
5354 | _ACEOF | |
5355 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5356 | ac_cs_version="\\ | |
5357 | unrtf config.status 0.21.2 | |
5358 | configured by $0, generated by GNU Autoconf 2.63, | |
5359 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | |
5360 | ||
5361 | Copyright (C) 2008 Free Software Foundation, Inc. | |
5362 | This config.status script is free software; the Free Software Foundation | |
5363 | gives unlimited permission to copy, distribute and modify it." | |
5364 | ||
5365 | ac_pwd='$ac_pwd' | |
5366 | srcdir='$srcdir' | |
5367 | INSTALL='$INSTALL' | |
5368 | MKDIR_P='$MKDIR_P' | |
5369 | AWK='$AWK' | |
5370 | test -n "\$AWK" || AWK=awk | |
5371 | _ACEOF | |
5372 | ||
5373 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5374 | # The default lists apply if the user does not specify any file. | |
5375 | ac_need_defaults=: | |
5376 | while test $# != 0 | |
5377 | do | |
5378 | case $1 in | |
5379 | --*=*) | |
5380 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
5381 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
5382 | ac_shift=: | |
5383 | ;; | |
5384 | *) | |
5385 | ac_option=$1 | |
5386 | ac_optarg=$2 | |
5387 | ac_shift=shift | |
5388 | ;; | |
5389 | esac | |
5390 | ||
5391 | case $ac_option in | |
5392 | # Handling of the options. | |
5393 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
5394 | ac_cs_recheck=: ;; | |
5395 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
5396 | $as_echo "$ac_cs_version"; exit ;; | |
5397 | --debug | --debu | --deb | --de | --d | -d ) | |
5398 | debug=: ;; | |
5399 | --file | --fil | --fi | --f ) | |
5400 | $ac_shift | |
5401 | case $ac_optarg in | |
5402 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
5403 | esac | |
5404 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" | |
5405 | ac_need_defaults=false;; | |
5406 | --header | --heade | --head | --hea ) | |
5407 | $ac_shift | |
5408 | case $ac_optarg in | |
5409 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
5410 | esac | |
5411 | CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" | |
5412 | ac_need_defaults=false;; | |
5413 | --he | --h) | |
5414 | # Conflict between --help and --header | |
5415 | { $as_echo "$as_me: error: ambiguous option: $1 | |
5416 | Try \`$0 --help' for more information." >&2 | |
5417 | { (exit 1); exit 1; }; };; | |
5418 | --help | --hel | -h ) | |
5419 | $as_echo "$ac_cs_usage"; exit ;; | |
5420 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
5421 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
5422 | ac_cs_silent=: ;; | |
5423 | ||
5424 | # This is an error. | |
5425 | -*) { $as_echo "$as_me: error: unrecognized option: $1 | |
5426 | Try \`$0 --help' for more information." >&2 | |
5427 | { (exit 1); exit 1; }; } ;; | |
5428 | ||
5429 | *) ac_config_targets="$ac_config_targets $1" | |
5430 | ac_need_defaults=false ;; | |
5431 | ||
5432 | esac | |
5433 | shift | |
5434 | done | |
5435 | ||
5436 | ac_configure_extra_args= | |
5437 | ||
5438 | if $ac_cs_silent; then | |
5439 | exec 6>/dev/null | |
5440 | ac_configure_extra_args="$ac_configure_extra_args --silent" | |
5441 | fi | |
5442 | ||
5443 | _ACEOF | |
5444 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5445 | if \$ac_cs_recheck; then | |
5446 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
5447 | shift | |
5448 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
5449 | CONFIG_SHELL='$SHELL' | |
5450 | export CONFIG_SHELL | |
5451 | exec "\$@" | |
5452 | fi | |
5453 | ||
5454 | _ACEOF | |
5455 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5456 | exec 5>>config.log | |
5457 | { | |
5458 | echo | |
5459 | sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX | |
5460 | @%:@@%:@ Running $as_me. @%:@@%:@ | |
5461 | _ASBOX | |
5462 | $as_echo "$ac_log" | |
5463 | } >&5 | |
5464 | ||
5465 | _ACEOF | |
5466 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5467 | # | |
5468 | # INIT-COMMANDS | |
5469 | # | |
5470 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
5471 | ||
5472 | _ACEOF | |
5473 | ||
5474 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5475 | ||
5476 | # Handling of arguments. | |
5477 | for ac_config_target in $ac_config_targets | |
5478 | do | |
5479 | case $ac_config_target in | |
5480 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | |
5481 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | |
5482 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
5483 | "charmaps/Makefile") CONFIG_FILES="$CONFIG_FILES charmaps/Makefile" ;; | |
5484 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; | |
5485 | "outputs/Makefile") CONFIG_FILES="$CONFIG_FILES outputs/Makefile" ;; | |
5486 | "patches/Makefile") CONFIG_FILES="$CONFIG_FILES patches/Makefile" ;; | |
5487 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | |
5488 | "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; | |
5489 | ||
5490 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | |
5491 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
5492 | { (exit 1); exit 1; }; };; | |
5493 | esac | |
5494 | done | |
5495 | ||
5496 | ||
5497 | # If the user did not use the arguments to specify the items to instantiate, | |
5498 | # then the envvar interface is used. Set only those that are not. | |
5499 | # We use the long form for the default assignment because of an extremely | |
5500 | # bizarre bug on SunOS 4.1.3. | |
5501 | if $ac_need_defaults; then | |
5502 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
5503 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | |
5504 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | |
5505 | fi | |
5506 | ||
5507 | # Have a temporary directory for convenience. Make it in the build tree | |
5508 | # simply because there is no reason against having it here, and in addition, | |
5509 | # creating and moving files from /tmp can sometimes cause problems. | |
5510 | # Hook for its removal unless debugging. | |
5511 | # Note that there is a small window in which the directory will not be cleaned: | |
5512 | # after its creation but before its name has been assigned to `$tmp'. | |
5513 | $debug || | |
5514 | { | |
5515 | tmp= | |
5516 | trap 'exit_status=$? | |
5517 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
5518 | ' 0 | |
5519 | trap '{ (exit 1); exit 1; }' 1 2 13 15 | |
5520 | } | |
5521 | # Create a (secure) tmp directory for tmp files. | |
5522 | ||
5523 | { | |
5524 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
5525 | test -n "$tmp" && test -d "$tmp" | |
5526 | } || | |
5527 | { | |
5528 | tmp=./conf$$-$RANDOM | |
5529 | (umask 077 && mkdir "$tmp") | |
5530 | } || | |
5531 | { | |
5532 | $as_echo "$as_me: cannot create a temporary directory in ." >&2 | |
5533 | { (exit 1); exit 1; } | |
5534 | } | |
5535 | ||
5536 | # Set up the scripts for CONFIG_FILES section. | |
5537 | # No need to generate them if there are no CONFIG_FILES. | |
5538 | # This happens for instance with `./config.status config.h'. | |
5539 | if test -n "$CONFIG_FILES"; then | |
5540 | ||
5541 | ||
5542 | ac_cr=' ⏎ | |
5543 | ' | |
5544 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
5545 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
5546 | ac_cs_awk_cr='\\r' | |
5547 | else | |
5548 | ac_cs_awk_cr=$ac_cr | |
5549 | fi | |
5550 | ||
5551 | echo 'BEGIN {' >"$tmp/subs1.awk" && | |
5552 | _ACEOF | |
5553 | ||
5554 | ||
5555 | { | |
5556 | echo "cat >conf$$subs.awk <<_ACEOF" && | |
5557 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
5558 | echo "_ACEOF" | |
5559 | } >conf$$subs.sh || | |
5560 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
5561 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
5562 | { (exit 1); exit 1; }; } | |
5563 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | |
5564 | ac_delim='%!_!# ' | |
5565 | for ac_last_try in false false false false false :; do | |
5566 | . ./conf$$subs.sh || | |
5567 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
5568 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
5569 | { (exit 1); exit 1; }; } | |
5570 | ||
5571 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
5572 | if test $ac_delim_n = $ac_delim_num; then | |
5573 | break | |
5574 | elif $ac_last_try; then | |
5575 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
5576 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
5577 | { (exit 1); exit 1; }; } | |
5578 | else | |
5579 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
5580 | fi | |
5581 | done | |
5582 | rm -f conf$$subs.sh | |
5583 | ||
5584 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5585 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | |
5586 | _ACEOF | |
5587 | sed -n ' | |
5588 | h | |
5589 | s/^/S["/; s/!.*/"]=/ | |
5590 | p | |
5591 | g | |
5592 | s/^[^!]*!// | |
5593 | :repl | |
5594 | t repl | |
5595 | s/'"$ac_delim"'$// | |
5596 | t delim | |
5597 | :nl | |
5598 | h | |
5599 | s/\(.\{148\}\).*/\1/ | |
5600 | t more1 | |
5601 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
5602 | p | |
5603 | n | |
5604 | b repl | |
5605 | :more1 | |
5606 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
5607 | p | |
5608 | g | |
5609 | s/.\{148\}// | |
5610 | t nl | |
5611 | :delim | |
5612 | h | |
5613 | s/\(.\{148\}\).*/\1/ | |
5614 | t more2 | |
5615 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
5616 | p | |
5617 | b | |
5618 | :more2 | |
5619 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
5620 | p | |
5621 | g | |
5622 | s/.\{148\}// | |
5623 | t delim | |
5624 | ' <conf$$subs.awk | sed ' | |
5625 | /^[^""]/{ | |
5626 | N | |
5627 | s/\n// | |
5628 | } | |
5629 | ' >>$CONFIG_STATUS || ac_write_fail=1 | |
5630 | rm -f conf$$subs.awk | |
5631 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5632 | _ACAWK | |
5633 | cat >>"\$tmp/subs1.awk" <<_ACAWK && | |
5634 | for (key in S) S_is_set[key] = 1 | |
5635 | FS = "" | |
5636 | ||
5637 | } | |
5638 | { | |
5639 | line = $ 0 | |
5640 | nfields = split(line, field, "@") | |
5641 | substed = 0 | |
5642 | len = length(field[1]) | |
5643 | for (i = 2; i < nfields; i++) { | |
5644 | key = field[i] | |
5645 | keylen = length(key) | |
5646 | if (S_is_set[key]) { | |
5647 | value = S[key] | |
5648 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
5649 | len += length(value) + length(field[++i]) | |
5650 | substed = 1 | |
5651 | } else | |
5652 | len += 1 + keylen | |
5653 | } | |
5654 | ||
5655 | print line | |
5656 | } | |
5657 | ||
5658 | _ACAWK | |
5659 | _ACEOF | |
5660 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5661 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
5662 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
5663 | else | |
5664 | cat | |
5665 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | |
5666 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 | |
5667 | $as_echo "$as_me: error: could not setup config files machinery" >&2;} | |
5668 | { (exit 1); exit 1; }; } | |
5669 | _ACEOF | |
5670 | ||
5671 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
5672 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
5673 | # trailing colons and then remove the whole line if VPATH becomes empty | |
5674 | # (actually we leave an empty line to preserve line numbers). | |
5675 | if test "x$srcdir" = x.; then | |
5676 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
5677 | s/:*\$(srcdir):*/:/ | |
5678 | s/:*\${srcdir}:*/:/ | |
5679 | s/:*@srcdir@:*/:/ | |
5680 | s/^\([^=]*=[ ]*\):*/\1/ | |
5681 | s/:*$// | |
5682 | s/^[^=]*=[ ]*$// | |
5683 | }' | |
5684 | fi | |
5685 | ||
5686 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5687 | fi # test -n "$CONFIG_FILES" | |
5688 | ||
5689 | # Set up the scripts for CONFIG_HEADERS section. | |
5690 | # No need to generate them if there are no CONFIG_HEADERS. | |
5691 | # This happens for instance with `./config.status Makefile'. | |
5692 | if test -n "$CONFIG_HEADERS"; then | |
5693 | cat >"$tmp/defines.awk" <<\_ACAWK || | |
5694 | BEGIN { | |
5695 | _ACEOF | |
5696 | ||
5697 | # Transform confdefs.h into an awk script `defines.awk', embedded as | |
5698 | # here-document in config.status, that substitutes the proper values into | |
5699 | # config.h.in to produce config.h. | |
5700 | ||
5701 | # Create a delimiter string that does not exist in confdefs.h, to ease | |
5702 | # handling of long lines. | |
5703 | ac_delim='%!_!# ' | |
5704 | for ac_last_try in false false :; do | |
5705 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` | |
5706 | if test -z "$ac_t"; then | |
5707 | break | |
5708 | elif $ac_last_try; then | |
5709 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 | |
5710 | $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} | |
5711 | { (exit 1); exit 1; }; } | |
5712 | else | |
5713 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
5714 | fi | |
5715 | done | |
5716 | ||
5717 | # For the awk script, D is an array of macro values keyed by name, | |
5718 | # likewise P contains macro parameters if any. Preserve backslash | |
5719 | # newline sequences. | |
5720 | ||
5721 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | |
5722 | sed -n ' | |
5723 | s/.\{148\}/&'"$ac_delim"'/g | |
5724 | t rset | |
5725 | :rset | |
5726 | s/^[ ]*#[ ]*define[ ][ ]*/ / | |
5727 | t def | |
5728 | d | |
5729 | :def | |
5730 | s/\\$// | |
5731 | t bsnl | |
5732 | s/["\\]/\\&/g | |
5733 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
5734 | D["\1"]=" \3"/p | |
5735 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | |
5736 | d | |
5737 | :bsnl | |
5738 | s/["\\]/\\&/g | |
5739 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
5740 | D["\1"]=" \3\\\\\\n"\\/p | |
5741 | t cont | |
5742 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | |
5743 | t cont | |
5744 | d | |
5745 | :cont | |
5746 | n | |
5747 | s/.\{148\}/&'"$ac_delim"'/g | |
5748 | t clear | |
5749 | :clear | |
5750 | s/\\$// | |
5751 | t bsnlc | |
5752 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | |
5753 | d | |
5754 | :bsnlc | |
5755 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | |
5756 | b cont | |
5757 | ' <confdefs.h | sed ' | |
5758 | s/'"$ac_delim"'/"\\\ | |
5759 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | |
5760 | ||
5761 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5762 | for (key in D) D_is_set[key] = 1 | |
5763 | FS = "" | |
5764 | } | |
5765 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | |
5766 | line = \$ 0 | |
5767 | split(line, arg, " ") | |
5768 | if (arg[1] == "#") { | |
5769 | defundef = arg[2] | |
5770 | mac1 = arg[3] | |
5771 | } else { | |
5772 | defundef = substr(arg[1], 2) | |
5773 | mac1 = arg[2] | |
5774 | } | |
5775 | split(mac1, mac2, "(") #) | |
5776 | macro = mac2[1] | |
5777 | prefix = substr(line, 1, index(line, defundef) - 1) | |
5778 | if (D_is_set[macro]) { | |
5779 | # Preserve the white space surrounding the "#". | |
5780 | print prefix "define", macro P[macro] D[macro] | |
5781 | next | |
5782 | } else { | |
5783 | # Replace #undef with comments. This is necessary, for example, | |
5784 | # in the case of _POSIX_SOURCE, which is predefined and required | |
5785 | # on some systems where configure will not decide to define it. | |
5786 | if (defundef == "undef") { | |
5787 | print "/*", prefix defundef, macro, "*/" | |
5788 | next | |
5789 | } | |
5790 | } | |
5791 | } | |
5792 | { print } | |
5793 | _ACAWK | |
5794 | _ACEOF | |
5795 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5796 | { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 | |
5797 | $as_echo "$as_me: error: could not setup config headers machinery" >&2;} | |
5798 | { (exit 1); exit 1; }; } | |
5799 | fi # test -n "$CONFIG_HEADERS" | |
5800 | ||
5801 | ||
5802 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | |
5803 | shift | |
5804 | for ac_tag | |
5805 | do | |
5806 | case $ac_tag in | |
5807 | :[FHLC]) ac_mode=$ac_tag; continue;; | |
5808 | esac | |
5809 | case $ac_mode$ac_tag in | |
5810 | :[FHL]*:*);; | |
5811 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 | |
5812 | $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} | |
5813 | { (exit 1); exit 1; }; };; | |
5814 | :[FH]-) ac_tag=-:-;; | |
5815 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
5816 | esac | |
5817 | ac_save_IFS=$IFS | |
5818 | IFS=: | |
5819 | set x $ac_tag | |
5820 | IFS=$ac_save_IFS | |
5821 | shift | |
5822 | ac_file=$1 | |
5823 | shift | |
5824 | ||
5825 | case $ac_mode in | |
5826 | :L) ac_source=$1;; | |
5827 | :[FH]) | |
5828 | ac_file_inputs= | |
5829 | for ac_f | |
5830 | do | |
5831 | case $ac_f in | |
5832 | -) ac_f="$tmp/stdin";; | |
5833 | *) # Look for the file first in the build tree, then in the source tree | |
5834 | # (if the path is not absolute). The absolute path cannot be DOS-style, | |
5835 | # because $ac_f cannot contain `:'. | |
5836 | test -f "$ac_f" || | |
5837 | case $ac_f in | |
5838 | [\\/$]*) false;; | |
5839 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
5840 | esac || | |
5841 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | |
5842 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
5843 | { (exit 1); exit 1; }; };; | |
5844 | esac | |
5845 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
5846 | ac_file_inputs="$ac_file_inputs '$ac_f'" | |
5847 | done | |
5848 | ||
5849 | # Let's still pretend it is `configure' which instantiates (i.e., don't | |
5850 | # use $as_me), people would be surprised to read: | |
5851 | # /* config.h. Generated by config.status. */ | |
5852 | configure_input='Generated from '` | |
5853 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
5854 | `' by configure.' | |
5855 | if test x"$ac_file" != x-; then | |
5856 | configure_input="$ac_file. $configure_input" | |
5857 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 | |
5858 | $as_echo "$as_me: creating $ac_file" >&6;} | |
5859 | fi | |
5860 | # Neutralize special characters interpreted by sed in replacement strings. | |
5861 | case $configure_input in #( | |
5862 | *\&* | *\|* | *\\* ) | |
5863 | ac_sed_conf_input=`$as_echo "$configure_input" | | |
5864 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
5865 | *) ac_sed_conf_input=$configure_input;; | |
5866 | esac | |
5867 | ||
5868 | case $ac_tag in | |
5869 | *:-:* | *:-) cat >"$tmp/stdin" \ | |
5870 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
5871 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
5872 | { (exit 1); exit 1; }; } ;; | |
5873 | esac | |
5874 | ;; | |
5875 | esac | |
5876 | ||
5877 | ac_dir=`$as_dirname -- "$ac_file" || | |
5878 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5879 | X"$ac_file" : 'X\(//\)[^/]' \| \ | |
5880 | X"$ac_file" : 'X\(//\)$' \| \ | |
5881 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
5882 | $as_echo X"$ac_file" | | |
5883 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
5884 | s//\1/ | |
5885 | q | |
5886 | } | |
5887 | /^X\(\/\/\)[^/].*/{ | |
5888 | s//\1/ | |
5889 | q | |
5890 | } | |
5891 | /^X\(\/\/\)$/{ | |
5892 | s//\1/ | |
5893 | q | |
5894 | } | |
5895 | /^X\(\/\).*/{ | |
5896 | s//\1/ | |
5897 | q | |
5898 | } | |
5899 | s/.*/./; q'` | |
5900 | { as_dir="$ac_dir" | |
5901 | case $as_dir in #( | |
5902 | -*) as_dir=./$as_dir;; | |
5903 | esac | |
5904 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
5905 | as_dirs= | |
5906 | while :; do | |
5907 | case $as_dir in #( | |
5908 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
5909 | *) as_qdir=$as_dir;; | |
5910 | esac | |
5911 | as_dirs="'$as_qdir' $as_dirs" | |
5912 | as_dir=`$as_dirname -- "$as_dir" || | |
5913 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5914 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
5915 | X"$as_dir" : 'X\(//\)$' \| \ | |
5916 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
5917 | $as_echo X"$as_dir" | | |
5918 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
5919 | s//\1/ | |
5920 | q | |
5921 | } | |
5922 | /^X\(\/\/\)[^/].*/{ | |
5923 | s//\1/ | |
5924 | q | |
5925 | } | |
5926 | /^X\(\/\/\)$/{ | |
5927 | s//\1/ | |
5928 | q | |
5929 | } | |
5930 | /^X\(\/\).*/{ | |
5931 | s//\1/ | |
5932 | q | |
5933 | } | |
5934 | s/.*/./; q'` | |
5935 | test -d "$as_dir" && break | |
5936 | done | |
5937 | test -z "$as_dirs" || eval "mkdir $as_dirs" | |
5938 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | |
5939 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
5940 | { (exit 1); exit 1; }; }; } | |
5941 | ac_builddir=. | |
5942 | ||
5943 | case "$ac_dir" in | |
5944 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
5945 | *) | |
5946 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
5947 | # A ".." for each directory in $ac_dir_suffix. | |
5948 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
5949 | case $ac_top_builddir_sub in | |
5950 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
5951 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
5952 | esac ;; | |
5953 | esac | |
5954 | ac_abs_top_builddir=$ac_pwd | |
5955 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
5956 | # for backward compatibility: | |
5957 | ac_top_builddir=$ac_top_build_prefix | |
5958 | ||
5959 | case $srcdir in | |
5960 | .) # We are building in place. | |
5961 | ac_srcdir=. | |
5962 | ac_top_srcdir=$ac_top_builddir_sub | |
5963 | ac_abs_top_srcdir=$ac_pwd ;; | |
5964 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
5965 | ac_srcdir=$srcdir$ac_dir_suffix; | |
5966 | ac_top_srcdir=$srcdir | |
5967 | ac_abs_top_srcdir=$srcdir ;; | |
5968 | *) # Relative name. | |
5969 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
5970 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
5971 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
5972 | esac | |
5973 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
5974 | ||
5975 | ||
5976 | case $ac_mode in | |
5977 | :F) | |
5978 | # | |
5979 | # CONFIG_FILE | |
5980 | # | |
5981 | ||
5982 | case $INSTALL in | |
5983 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
5984 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | |
5985 | esac | |
5986 | ac_MKDIR_P=$MKDIR_P | |
5987 | case $MKDIR_P in | |
5988 | [\\/$]* | ?:[\\/]* ) ;; | |
5989 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | |
5990 | esac | |
5991 | _ACEOF | |
5992 | ||
5993 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5994 | # If the template does not know about datarootdir, expand it. | |
5995 | # FIXME: This hack should be removed a few years after 2.60. | |
5996 | ac_datarootdir_hack=; ac_datarootdir_seen= | |
5997 | ||
5998 | ac_sed_dataroot=' | |
5999 | /datarootdir/ { | |
6000 | p | |
6001 | q | |
6002 | } | |
6003 | /@datadir@/p | |
6004 | /@docdir@/p | |
6005 | /@infodir@/p | |
6006 | /@localedir@/p | |
6007 | /@mandir@/p | |
6008 | ' | |
6009 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | |
6010 | *datarootdir*) ac_datarootdir_seen=yes;; | |
6011 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
6012 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | |
6013 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
6014 | _ACEOF | |
6015 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6016 | ac_datarootdir_hack=' | |
6017 | s&@datadir@&$datadir&g | |
6018 | s&@docdir@&$docdir&g | |
6019 | s&@infodir@&$infodir&g | |
6020 | s&@localedir@&$localedir&g | |
6021 | s&@mandir@&$mandir&g | |
6022 | s&\\\${datarootdir}&$datarootdir&g' ;; | |
6023 | esac | |
6024 | _ACEOF | |
6025 | ||
6026 | # Neutralize VPATH when `$srcdir' = `.'. | |
6027 | # Shell code in configure.ac might set extrasub. | |
6028 | # FIXME: do we really want to maintain this feature? | |
6029 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6030 | ac_sed_extra="$ac_vpsub | |
6031 | $extrasub | |
6032 | _ACEOF | |
6033 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6034 | :t | |
6035 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
6036 | s|@configure_input@|$ac_sed_conf_input|;t t | |
6037 | s&@top_builddir@&$ac_top_builddir_sub&;t t | |
6038 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
6039 | s&@srcdir@&$ac_srcdir&;t t | |
6040 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
6041 | s&@top_srcdir@&$ac_top_srcdir&;t t | |
6042 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
6043 | s&@builddir@&$ac_builddir&;t t | |
6044 | s&@abs_builddir@&$ac_abs_builddir&;t t | |
6045 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
6046 | s&@INSTALL@&$ac_INSTALL&;t t | |
6047 | s&@MKDIR_P@&$ac_MKDIR_P&;t t | |
6048 | $ac_datarootdir_hack | |
6049 | " | |
6050 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | |
6051 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
6052 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
6053 | { (exit 1); exit 1; }; } | |
6054 | ||
6055 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
6056 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | |
6057 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | |
6058 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
6059 | which seems to be undefined. Please make sure it is defined." >&5 | |
6060 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
6061 | which seems to be undefined. Please make sure it is defined." >&2;} | |
6062 | ||
6063 | rm -f "$tmp/stdin" | |
6064 | case $ac_file in | |
6065 | -) cat "$tmp/out" && rm -f "$tmp/out";; | |
6066 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | |
6067 | esac \ | |
6068 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
6069 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
6070 | { (exit 1); exit 1; }; } | |
6071 | ;; | |
6072 | :H) | |
6073 | # | |
6074 | # CONFIG_HEADER | |
6075 | # | |
6076 | if test x"$ac_file" != x-; then | |
6077 | { | |
6078 | $as_echo "/* $configure_input */" \ | |
6079 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | |
6080 | } >"$tmp/config.h" \ | |
6081 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
6082 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
6083 | { (exit 1); exit 1; }; } | |
6084 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | |
6085 | { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | |
6086 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | |
6087 | else | |
6088 | rm -f "$ac_file" | |
6089 | mv "$tmp/config.h" "$ac_file" \ | |
6090 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
6091 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
6092 | { (exit 1); exit 1; }; } | |
6093 | fi | |
6094 | else | |
6095 | $as_echo "/* $configure_input */" \ | |
6096 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | |
6097 | || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 | |
6098 | $as_echo "$as_me: error: could not create -" >&2;} | |
6099 | { (exit 1); exit 1; }; } | |
6100 | fi | |
6101 | # Compute "$ac_file"'s index in $config_headers. | |
6102 | _am_arg="$ac_file" | |
6103 | _am_stamp_count=1 | |
6104 | for _am_header in $config_headers :; do | |
6105 | case $_am_header in | |
6106 | $_am_arg | $_am_arg:* ) | |
6107 | break ;; | |
6108 | * ) | |
6109 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | |
6110 | esac | |
6111 | done | |
6112 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || | |
6113 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
6114 | X"$_am_arg" : 'X\(//\)[^/]' \| \ | |
6115 | X"$_am_arg" : 'X\(//\)$' \| \ | |
6116 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || | |
6117 | $as_echo X"$_am_arg" | | |
6118 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
6119 | s//\1/ | |
6120 | q | |
6121 | } | |
6122 | /^X\(\/\/\)[^/].*/{ | |
6123 | s//\1/ | |
6124 | q | |
6125 | } | |
6126 | /^X\(\/\/\)$/{ | |
6127 | s//\1/ | |
6128 | q | |
6129 | } | |
6130 | /^X\(\/\).*/{ | |
6131 | s//\1/ | |
6132 | q | |
6133 | } | |
6134 | s/.*/./; q'`/stamp-h$_am_stamp_count | |
6135 | ;; | |
6136 | ||
6137 | :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 | |
6138 | $as_echo "$as_me: executing $ac_file commands" >&6;} | |
6139 | ;; | |
6140 | esac | |
6141 | ||
6142 | ||
6143 | case $ac_file$ac_mode in | |
6144 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | |
6145 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
6146 | # are listed without --file. Let's play safe and only enable the eval | |
6147 | # if we detect the quoting. | |
6148 | case $CONFIG_FILES in | |
6149 | *\'*) eval set x "$CONFIG_FILES" ;; | |
6150 | *) set x $CONFIG_FILES ;; | |
6151 | esac | |
6152 | shift | |
6153 | for mf | |
6154 | do | |
6155 | # Strip MF so we end up with the name of the file. | |
6156 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
6157 | # Check whether this is an Automake generated Makefile or not. | |
6158 | # We used to match only the files named `Makefile.in', but | |
6159 | # some people rename them; so instead we look at the file content. | |
6160 | # Grep'ing the first line is not enough: some people post-process | |
6161 | # each Makefile.in and add a new line on top of each file to say so. | |
6162 | # Grep'ing the whole file is not good either: AIX grep has a line | |
6163 | # limit of 2048, but all sed's we know have understand at least 4000. | |
6164 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
6165 | dirpart=`$as_dirname -- "$mf" || | |
6166 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
6167 | X"$mf" : 'X\(//\)[^/]' \| \ | |
6168 | X"$mf" : 'X\(//\)$' \| \ | |
6169 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || | |
6170 | $as_echo X"$mf" | | |
6171 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
6172 | s//\1/ | |
6173 | q | |
6174 | } | |
6175 | /^X\(\/\/\)[^/].*/{ | |
6176 | s//\1/ | |
6177 | q | |
6178 | } | |
6179 | /^X\(\/\/\)$/{ | |
6180 | s//\1/ | |
6181 | q | |
6182 | } | |
6183 | /^X\(\/\).*/{ | |
6184 | s//\1/ | |
6185 | q | |
6186 | } | |
6187 | s/.*/./; q'` | |
6188 | else | |
6189 | continue | |
6190 | fi | |
6191 | # Extract the definition of DEPDIR, am__include, and am__quote | |
6192 | # from the Makefile without running `make'. | |
6193 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
6194 | test -z "$DEPDIR" && continue | |
6195 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
6196 | test -z "am__include" && continue | |
6197 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
6198 | # When using ansi2knr, U may be empty or an underscore; expand it | |
6199 | U=`sed -n 's/^U = //p' < "$mf"` | |
6200 | # Find all dependency output files, they are included files with | |
6201 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
6202 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
6203 | # expansion. | |
6204 | for file in `sed -n " | |
6205 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
6206 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
6207 | # Make sure the directory exists. | |
6208 | test -f "$dirpart/$file" && continue | |
6209 | fdir=`$as_dirname -- "$file" || | |
6210 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
6211 | X"$file" : 'X\(//\)[^/]' \| \ | |
6212 | X"$file" : 'X\(//\)$' \| \ | |
6213 | X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
6214 | $as_echo X"$file" | | |
6215 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
6216 | s//\1/ | |
6217 | q | |
6218 | } | |
6219 | /^X\(\/\/\)[^/].*/{ | |
6220 | s//\1/ | |
6221 | q | |
6222 | } | |
6223 | /^X\(\/\/\)$/{ | |
6224 | s//\1/ | |
6225 | q | |
6226 | } | |
6227 | /^X\(\/\).*/{ | |
6228 | s//\1/ | |
6229 | q | |
6230 | } | |
6231 | s/.*/./; q'` | |
6232 | { as_dir=$dirpart/$fdir | |
6233 | case $as_dir in #( | |
6234 | -*) as_dir=./$as_dir;; | |
6235 | esac | |
6236 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
6237 | as_dirs= | |
6238 | while :; do | |
6239 | case $as_dir in #( | |
6240 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
6241 | *) as_qdir=$as_dir;; | |
6242 | esac | |
6243 | as_dirs="'$as_qdir' $as_dirs" | |
6244 | as_dir=`$as_dirname -- "$as_dir" || | |
6245 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
6246 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
6247 | X"$as_dir" : 'X\(//\)$' \| \ | |
6248 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
6249 | $as_echo X"$as_dir" | | |
6250 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
6251 | s//\1/ | |
6252 | q | |
6253 | } | |
6254 | /^X\(\/\/\)[^/].*/{ | |
6255 | s//\1/ | |
6256 | q | |
6257 | } | |
6258 | /^X\(\/\/\)$/{ | |
6259 | s//\1/ | |
6260 | q | |
6261 | } | |
6262 | /^X\(\/\).*/{ | |
6263 | s//\1/ | |
6264 | q | |
6265 | } | |
6266 | s/.*/./; q'` | |
6267 | test -d "$as_dir" && break | |
6268 | done | |
6269 | test -z "$as_dirs" || eval "mkdir $as_dirs" | |
6270 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | |
6271 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
6272 | { (exit 1); exit 1; }; }; } | |
6273 | # echo "creating $dirpart/$file" | |
6274 | echo '# dummy' > "$dirpart/$file" | |
6275 | done | |
6276 | done | |
6277 | } | |
6278 | ;; | |
6279 | ||
6280 | esac | |
6281 | done # for ac_tag | |
6282 | ||
6283 | ||
6284 | { (exit 0); exit 0; } | |
6285 | _ACEOF | |
6286 | chmod +x $CONFIG_STATUS | |
6287 | ac_clean_files=$ac_clean_files_save | |
6288 | ||
6289 | test $ac_write_fail = 0 || | |
6290 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 | |
6291 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} | |
6292 | { (exit 1); exit 1; }; } | |
6293 | ||
6294 | ||
6295 | # configure is writing to config.log, and then calls config.status. | |
6296 | # config.status does its own redirection, appending to config.log. | |
6297 | # Unfortunately, on DOS this fails, as config.log is still kept open | |
6298 | # by configure, so config.status won't be able to write to it; its | |
6299 | # output is simply discarded. So we exec the FD to /dev/null, | |
6300 | # effectively closing config.log, so it can be properly (re)opened and | |
6301 | # appended to by config.status. When coming back to configure, we | |
6302 | # need to make the FD available again. | |
6303 | if test "$no_create" != yes; then | |
6304 | ac_cs_success=: | |
6305 | ac_config_status_args= | |
6306 | test "$silent" = yes && | |
6307 | ac_config_status_args="$ac_config_status_args --quiet" | |
6308 | exec 5>/dev/null | |
6309 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | |
6310 | exec 5>>config.log | |
6311 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
6312 | # would make configure fail if this is the last instruction. | |
6313 | $ac_cs_success || { (exit 1); exit 1; } | |
6314 | fi | |
6315 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
6316 | { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
6317 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
6318 | fi | |
6319 | ||
6320 |
0 | # This file was generated. | |
1 | # It contains the lists of macros which have been traced. | |
2 | # It can be safely removed. | |
3 | ||
4 | @request = ( | |
5 | bless( [ | |
6 | '0', | |
7 | 1, | |
8 | [ | |
9 | '/usr/share/autoconf' | |
10 | ], | |
11 | [ | |
12 | '/usr/share/autoconf/autoconf/autoconf.m4f', | |
13 | 'aclocal.m4', | |
14 | 'configure.ac' | |
15 | ], | |
16 | { | |
17 | 'AC_LIBLTDL_CONVENIENCE' => 1, | |
18 | '_LT_AC_TAGCONFIG' => 1, | |
19 | 'AM_PROG_F77_C_O' => 1, | |
20 | 'AC_INIT' => 1, | |
21 | 'm4_pattern_forbid' => 1, | |
22 | 'AC_LIBLTDL_INSTALLABLE' => 1, | |
23 | '_AM_COND_IF' => 1, | |
24 | 'AC_CANONICAL_TARGET' => 1, | |
25 | 'AC_SUBST' => 1, | |
26 | 'AC_CONFIG_LIBOBJ_DIR' => 1, | |
27 | 'AC_FC_SRCEXT' => 1, | |
28 | 'AC_CANONICAL_HOST' => 1, | |
29 | 'AC_PROG_LIBTOOL' => 1, | |
30 | 'AM_INIT_AUTOMAKE' => 1, | |
31 | 'AC_CONFIG_SUBDIRS' => 1, | |
32 | 'AM_AUTOMAKE_VERSION' => 1, | |
33 | 'LT_CONFIG_LTDL_DIR' => 1, | |
34 | 'AC_REQUIRE_AUX_FILE' => 1, | |
35 | 'AC_CONFIG_LINKS' => 1, | |
36 | 'm4_sinclude' => 1, | |
37 | 'LT_SUPPORTED_TAG' => 1, | |
38 | 'AM_MAINTAINER_MODE' => 1, | |
39 | 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, | |
40 | '_m4_warn' => 1, | |
41 | 'AM_PROG_CXX_C_O' => 1, | |
42 | '_AM_COND_ENDIF' => 1, | |
43 | 'AM_ENABLE_MULTILIB' => 1, | |
44 | 'AM_SILENT_RULES' => 1, | |
45 | 'AC_CONFIG_FILES' => 1, | |
46 | 'include' => 1, | |
47 | 'LT_INIT' => 1, | |
48 | 'AM_GNU_GETTEXT' => 1, | |
49 | 'AC_LIBSOURCE' => 1, | |
50 | 'AM_PROG_FC_C_O' => 1, | |
51 | 'AC_CANONICAL_BUILD' => 1, | |
52 | 'AC_FC_FREEFORM' => 1, | |
53 | 'AH_OUTPUT' => 1, | |
54 | '_AM_SUBST_NOTMAKE' => 1, | |
55 | 'AC_CONFIG_AUX_DIR' => 1, | |
56 | 'sinclude' => 1, | |
57 | 'm4_pattern_allow' => 1, | |
58 | 'AM_PROG_CC_C_O' => 1, | |
59 | 'AC_CANONICAL_SYSTEM' => 1, | |
60 | 'AM_CONDITIONAL' => 1, | |
61 | 'AC_CONFIG_HEADERS' => 1, | |
62 | 'AC_DEFINE_TRACE_LITERAL' => 1, | |
63 | 'm4_include' => 1, | |
64 | '_AM_COND_ELSE' => 1, | |
65 | 'AC_SUBST_TRACE' => 1 | |
66 | } | |
67 | ], 'Autom4te::Request' ), | |
68 | bless( [ | |
69 | '1', | |
70 | 1, | |
71 | [ | |
72 | '/usr/share/autoconf' | |
73 | ], | |
74 | [ | |
75 | '/usr/share/autoconf/autoconf/autoconf.m4f', | |
76 | '/usr/share/aclocal-1.10/amversion.m4', | |
77 | '/usr/share/aclocal-1.10/auxdir.m4', | |
78 | '/usr/share/aclocal-1.10/cond.m4', | |
79 | '/usr/share/aclocal-1.10/depend.m4', | |
80 | '/usr/share/aclocal-1.10/depout.m4', | |
81 | '/usr/share/aclocal-1.10/init.m4', | |
82 | '/usr/share/aclocal-1.10/install-sh.m4', | |
83 | '/usr/share/aclocal-1.10/lead-dot.m4', | |
84 | '/usr/share/aclocal-1.10/maintainer.m4', | |
85 | '/usr/share/aclocal-1.10/make.m4', | |
86 | '/usr/share/aclocal-1.10/missing.m4', | |
87 | '/usr/share/aclocal-1.10/mkdirp.m4', | |
88 | '/usr/share/aclocal-1.10/options.m4', | |
89 | '/usr/share/aclocal-1.10/runlog.m4', | |
90 | '/usr/share/aclocal-1.10/sanity.m4', | |
91 | '/usr/share/aclocal-1.10/strip.m4', | |
92 | '/usr/share/aclocal-1.10/substnot.m4', | |
93 | '/usr/share/aclocal-1.10/tar.m4', | |
94 | 'configure.ac' | |
95 | ], | |
96 | { | |
97 | 'm4_pattern_forbid' => 1, | |
98 | 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, | |
99 | 'jm_MAINTAINER_MODE' => 1, | |
100 | '_AM_SET_OPTION' => 1, | |
101 | 'AC_DEFUN' => 1, | |
102 | 'AM_PROG_MKDIR_P' => 1, | |
103 | 'AM_INIT_AUTOMAKE' => 1, | |
104 | 'AM_AUTOMAKE_VERSION' => 1, | |
105 | 'AM_MISSING_HAS_RUN' => 1, | |
106 | 'AM_MISSING_PROG' => 1, | |
107 | 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, | |
108 | 'AM_MAINTAINER_MODE' => 1, | |
109 | 'AC_DEFUN_ONCE' => 1, | |
110 | 'AM_PROG_INSTALL_STRIP' => 1, | |
111 | '_m4_warn' => 1, | |
112 | 'AM_SANITY_CHECK' => 1, | |
113 | 'include' => 1, | |
114 | '_AM_PROG_TAR' => 1, | |
115 | 'AM_AUX_DIR_EXPAND' => 1, | |
116 | 'AM_DEP_TRACK' => 1, | |
117 | '_AM_SET_OPTIONS' => 1, | |
118 | '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, | |
119 | 'AM_RUN_LOG' => 1, | |
120 | '_AM_IF_OPTION' => 1, | |
121 | '_AM_SUBST_NOTMAKE' => 1, | |
122 | 'm4_pattern_allow' => 1, | |
123 | '_AM_AUTOCONF_VERSION' => 1, | |
124 | '_AM_MANGLE_OPTION' => 1, | |
125 | 'AM_CONDITIONAL' => 1, | |
126 | 'AM_SET_LEADING_DOT' => 1, | |
127 | 'AM_SET_DEPDIR' => 1, | |
128 | '_AM_DEPENDENCIES' => 1, | |
129 | 'AM_PROG_INSTALL_SH' => 1, | |
130 | 'm4_include' => 1, | |
131 | '_AC_AM_CONFIG_HEADER_HOOK' => 1, | |
132 | 'AU_DEFUN' => 1, | |
133 | 'AM_MAKE_INCLUDE' => 1 | |
134 | } | |
135 | ], 'Autom4te::Request' ), | |
136 | bless( [ | |
137 | '2', | |
138 | 1, | |
139 | [ | |
140 | '/usr/share/autoconf' | |
141 | ], | |
142 | [ | |
143 | '/usr/share/autoconf/autoconf/autoconf.m4f', | |
144 | '/usr/share/aclocal-1.11/amversion.m4', | |
145 | '/usr/share/aclocal-1.11/auxdir.m4', | |
146 | '/usr/share/aclocal-1.11/cond.m4', | |
147 | '/usr/share/aclocal-1.11/depend.m4', | |
148 | '/usr/share/aclocal-1.11/depout.m4', | |
149 | '/usr/share/aclocal-1.11/init.m4', | |
150 | '/usr/share/aclocal-1.11/install-sh.m4', | |
151 | '/usr/share/aclocal-1.11/lead-dot.m4', | |
152 | '/usr/share/aclocal-1.11/maintainer.m4', | |
153 | '/usr/share/aclocal-1.11/make.m4', | |
154 | '/usr/share/aclocal-1.11/missing.m4', | |
155 | '/usr/share/aclocal-1.11/mkdirp.m4', | |
156 | '/usr/share/aclocal-1.11/options.m4', | |
157 | '/usr/share/aclocal-1.11/runlog.m4', | |
158 | '/usr/share/aclocal-1.11/sanity.m4', | |
159 | '/usr/share/aclocal-1.11/silent.m4', | |
160 | '/usr/share/aclocal-1.11/strip.m4', | |
161 | '/usr/share/aclocal-1.11/substnot.m4', | |
162 | '/usr/share/aclocal-1.11/tar.m4', | |
163 | 'configure.ac' | |
164 | ], | |
165 | { | |
166 | 'm4_pattern_forbid' => 1, | |
167 | 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, | |
168 | 'jm_MAINTAINER_MODE' => 1, | |
169 | '_AM_SET_OPTION' => 1, | |
170 | 'AC_DEFUN' => 1, | |
171 | 'AM_PROG_MKDIR_P' => 1, | |
172 | 'AM_INIT_AUTOMAKE' => 1, | |
173 | 'AM_AUTOMAKE_VERSION' => 1, | |
174 | 'AM_MISSING_HAS_RUN' => 1, | |
175 | 'AM_SUBST_NOTMAKE' => 1, | |
176 | 'AM_MISSING_PROG' => 1, | |
177 | 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, | |
178 | 'AM_MAINTAINER_MODE' => 1, | |
179 | 'AC_DEFUN_ONCE' => 1, | |
180 | 'AM_PROG_INSTALL_STRIP' => 1, | |
181 | '_m4_warn' => 1, | |
182 | 'AM_SANITY_CHECK' => 1, | |
183 | 'AM_SILENT_RULES' => 1, | |
184 | 'include' => 1, | |
185 | '_AM_PROG_TAR' => 1, | |
186 | 'AM_AUX_DIR_EXPAND' => 1, | |
187 | 'AM_DEP_TRACK' => 1, | |
188 | '_AM_SET_OPTIONS' => 1, | |
189 | '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, | |
190 | 'AM_RUN_LOG' => 1, | |
191 | '_AM_IF_OPTION' => 1, | |
192 | '_AM_SUBST_NOTMAKE' => 1, | |
193 | 'm4_pattern_allow' => 1, | |
194 | '_AM_AUTOCONF_VERSION' => 1, | |
195 | '_AM_MANGLE_OPTION' => 1, | |
196 | 'AM_CONDITIONAL' => 1, | |
197 | 'AM_SET_LEADING_DOT' => 1, | |
198 | 'AM_SET_DEPDIR' => 1, | |
199 | '_AM_DEPENDENCIES' => 1, | |
200 | 'AM_PROG_INSTALL_SH' => 1, | |
201 | 'm4_include' => 1, | |
202 | '_AC_AM_CONFIG_HEADER_HOOK' => 1, | |
203 | 'AU_DEFUN' => 1, | |
204 | 'AM_MAKE_INCLUDE' => 1 | |
205 | } | |
206 | ], 'Autom4te::Request' ) | |
207 | ); | |
208 |
0 | m4trace:configure.ac:5: -1- AC_INIT([unrtf], [0.21.2], [bug-unrtf@gnu.org]) | |
1 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_]) | |
2 | m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_]) | |
3 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) | |
4 | m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$]) | |
5 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_]) | |
6 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$]) | |
7 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_]) | |
8 | m4trace:configure.ac:5: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}]) | |
9 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([SHELL]) | |
10 | m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$]) | |
11 | m4trace:configure.ac:5: -1- AC_SUBST([PATH_SEPARATOR]) | |
12 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PATH_SEPARATOR]) | |
13 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$]) | |
14 | m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) | |
15 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_NAME]) | |
16 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) | |
17 | m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) | |
18 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_TARNAME]) | |
19 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) | |
20 | m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) | |
21 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_VERSION]) | |
22 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) | |
23 | m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) | |
24 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_STRING]) | |
25 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) | |
26 | m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) | |
27 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT]) | |
28 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) | |
29 | m4trace:configure.ac:5: -1- AC_SUBST([exec_prefix], [NONE]) | |
30 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([exec_prefix]) | |
31 | m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$]) | |
32 | m4trace:configure.ac:5: -1- AC_SUBST([prefix], [NONE]) | |
33 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([prefix]) | |
34 | m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$]) | |
35 | m4trace:configure.ac:5: -1- AC_SUBST([program_transform_name], [s,x,x,]) | |
36 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([program_transform_name]) | |
37 | m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$]) | |
38 | m4trace:configure.ac:5: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) | |
39 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([bindir]) | |
40 | m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$]) | |
41 | m4trace:configure.ac:5: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) | |
42 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sbindir]) | |
43 | m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$]) | |
44 | m4trace:configure.ac:5: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) | |
45 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libexecdir]) | |
46 | m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$]) | |
47 | m4trace:configure.ac:5: -1- AC_SUBST([datarootdir], ['${prefix}/share']) | |
48 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datarootdir]) | |
49 | m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$]) | |
50 | m4trace:configure.ac:5: -1- AC_SUBST([datadir], ['${datarootdir}']) | |
51 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datadir]) | |
52 | m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$]) | |
53 | m4trace:configure.ac:5: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) | |
54 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sysconfdir]) | |
55 | m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$]) | |
56 | m4trace:configure.ac:5: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) | |
57 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sharedstatedir]) | |
58 | m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$]) | |
59 | m4trace:configure.ac:5: -1- AC_SUBST([localstatedir], ['${prefix}/var']) | |
60 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localstatedir]) | |
61 | m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$]) | |
62 | m4trace:configure.ac:5: -1- AC_SUBST([includedir], ['${prefix}/include']) | |
63 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([includedir]) | |
64 | m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$]) | |
65 | m4trace:configure.ac:5: -1- AC_SUBST([oldincludedir], ['/usr/include']) | |
66 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([oldincludedir]) | |
67 | m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$]) | |
68 | m4trace:configure.ac:5: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME], | |
69 | ['${datarootdir}/doc/${PACKAGE_TARNAME}'], | |
70 | ['${datarootdir}/doc/${PACKAGE}'])]) | |
71 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([docdir]) | |
72 | m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$]) | |
73 | m4trace:configure.ac:5: -1- AC_SUBST([infodir], ['${datarootdir}/info']) | |
74 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([infodir]) | |
75 | m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$]) | |
76 | m4trace:configure.ac:5: -1- AC_SUBST([htmldir], ['${docdir}']) | |
77 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([htmldir]) | |
78 | m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$]) | |
79 | m4trace:configure.ac:5: -1- AC_SUBST([dvidir], ['${docdir}']) | |
80 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([dvidir]) | |
81 | m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$]) | |
82 | m4trace:configure.ac:5: -1- AC_SUBST([pdfdir], ['${docdir}']) | |
83 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([pdfdir]) | |
84 | m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$]) | |
85 | m4trace:configure.ac:5: -1- AC_SUBST([psdir], ['${docdir}']) | |
86 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([psdir]) | |
87 | m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$]) | |
88 | m4trace:configure.ac:5: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) | |
89 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libdir]) | |
90 | m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$]) | |
91 | m4trace:configure.ac:5: -1- AC_SUBST([localedir], ['${datarootdir}/locale']) | |
92 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localedir]) | |
93 | m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$]) | |
94 | m4trace:configure.ac:5: -1- AC_SUBST([mandir], ['${datarootdir}/man']) | |
95 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([mandir]) | |
96 | m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$]) | |
97 | m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) | |
98 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) | |
99 | m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ | |
100 | #undef PACKAGE_NAME]) | |
101 | m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) | |
102 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) | |
103 | m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ | |
104 | #undef PACKAGE_TARNAME]) | |
105 | m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) | |
106 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) | |
107 | m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ | |
108 | #undef PACKAGE_VERSION]) | |
109 | m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) | |
110 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) | |
111 | m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ | |
112 | #undef PACKAGE_STRING]) | |
113 | m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) | |
114 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) | |
115 | m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ | |
116 | #undef PACKAGE_BUGREPORT]) | |
117 | m4trace:configure.ac:5: -1- AC_SUBST([DEFS]) | |
118 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([DEFS]) | |
119 | m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$]) | |
120 | m4trace:configure.ac:5: -1- AC_SUBST([ECHO_C]) | |
121 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_C]) | |
122 | m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$]) | |
123 | m4trace:configure.ac:5: -1- AC_SUBST([ECHO_N]) | |
124 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_N]) | |
125 | m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$]) | |
126 | m4trace:configure.ac:5: -1- AC_SUBST([ECHO_T]) | |
127 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_T]) | |
128 | m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$]) | |
129 | m4trace:configure.ac:5: -1- AC_SUBST([LIBS]) | |
130 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([LIBS]) | |
131 | m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$]) | |
132 | m4trace:configure.ac:5: -1- AC_SUBST([build_alias]) | |
133 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([build_alias]) | |
134 | m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$]) | |
135 | m4trace:configure.ac:5: -1- AC_SUBST([host_alias]) | |
136 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([host_alias]) | |
137 | m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$]) | |
138 | m4trace:configure.ac:5: -1- AC_SUBST([target_alias]) | |
139 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([target_alias]) | |
140 | m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$]) | |
141 | m4trace:configure.ac:7: -1- AC_CONFIG_AUX_DIR([config]) | |
142 | m4trace:configure.ac:8: -1- AC_CONFIG_HEADERS([config.h]) | |
143 | m4trace:configure.ac:12: -1- AM_INIT_AUTOMAKE | |
144 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) | |
145 | m4trace:configure.ac:12: -1- AM_AUTOMAKE_VERSION([1.11.1]) | |
146 | m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([install-sh]) | |
147 | m4trace:configure.ac:12: -1- AC_SUBST([INSTALL_PROGRAM]) | |
148 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([INSTALL_PROGRAM]) | |
149 | m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) | |
150 | m4trace:configure.ac:12: -1- AC_SUBST([INSTALL_SCRIPT]) | |
151 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([INSTALL_SCRIPT]) | |
152 | m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) | |
153 | m4trace:configure.ac:12: -1- AC_SUBST([INSTALL_DATA]) | |
154 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([INSTALL_DATA]) | |
155 | m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_DATA$]) | |
156 | m4trace:configure.ac:12: -1- AC_SUBST([am__isrc], [' -I$(srcdir)']) | |
157 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__isrc]) | |
158 | m4trace:configure.ac:12: -1- m4_pattern_allow([^am__isrc$]) | |
159 | m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__isrc]) | |
160 | m4trace:configure.ac:12: -1- AC_SUBST([CYGPATH_W]) | |
161 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CYGPATH_W]) | |
162 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CYGPATH_W$]) | |
163 | m4trace:configure.ac:12: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME']) | |
164 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([PACKAGE]) | |
165 | m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE$]) | |
166 | m4trace:configure.ac:12: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION']) | |
167 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([VERSION]) | |
168 | m4trace:configure.ac:12: -1- m4_pattern_allow([^VERSION$]) | |
169 | m4trace:configure.ac:12: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE]) | |
170 | m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE$]) | |
171 | m4trace:configure.ac:12: -1- AH_OUTPUT([PACKAGE], [/* Name of package */ | |
172 | #undef PACKAGE]) | |
173 | m4trace:configure.ac:12: -1- AC_DEFINE_TRACE_LITERAL([VERSION]) | |
174 | m4trace:configure.ac:12: -1- m4_pattern_allow([^VERSION$]) | |
175 | m4trace:configure.ac:12: -1- AH_OUTPUT([VERSION], [/* Version number of package */ | |
176 | #undef VERSION]) | |
177 | m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([missing]) | |
178 | m4trace:configure.ac:12: -1- AC_SUBST([ACLOCAL]) | |
179 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([ACLOCAL]) | |
180 | m4trace:configure.ac:12: -1- m4_pattern_allow([^ACLOCAL$]) | |
181 | m4trace:configure.ac:12: -1- AC_SUBST([AUTOCONF]) | |
182 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AUTOCONF]) | |
183 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AUTOCONF$]) | |
184 | m4trace:configure.ac:12: -1- AC_SUBST([AUTOMAKE]) | |
185 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AUTOMAKE]) | |
186 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AUTOMAKE$]) | |
187 | m4trace:configure.ac:12: -1- AC_SUBST([AUTOHEADER]) | |
188 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AUTOHEADER]) | |
189 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AUTOHEADER$]) | |
190 | m4trace:configure.ac:12: -1- AC_SUBST([MAKEINFO]) | |
191 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([MAKEINFO]) | |
192 | m4trace:configure.ac:12: -1- m4_pattern_allow([^MAKEINFO$]) | |
193 | m4trace:configure.ac:12: -1- AC_SUBST([install_sh]) | |
194 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([install_sh]) | |
195 | m4trace:configure.ac:12: -1- m4_pattern_allow([^install_sh$]) | |
196 | m4trace:configure.ac:12: -1- AC_SUBST([STRIP]) | |
197 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([STRIP]) | |
198 | m4trace:configure.ac:12: -1- m4_pattern_allow([^STRIP$]) | |
199 | m4trace:configure.ac:12: -1- AC_SUBST([INSTALL_STRIP_PROGRAM]) | |
200 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM]) | |
201 | m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) | |
202 | m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([install-sh]) | |
203 | m4trace:configure.ac:12: -1- AC_SUBST([MKDIR_P]) | |
204 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([MKDIR_P]) | |
205 | m4trace:configure.ac:12: -1- m4_pattern_allow([^MKDIR_P$]) | |
206 | m4trace:configure.ac:12: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"]) | |
207 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([mkdir_p]) | |
208 | m4trace:configure.ac:12: -1- m4_pattern_allow([^mkdir_p$]) | |
209 | m4trace:configure.ac:12: -1- AC_SUBST([AWK]) | |
210 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AWK]) | |
211 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AWK$]) | |
212 | m4trace:configure.ac:12: -1- AC_SUBST([SET_MAKE]) | |
213 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([SET_MAKE]) | |
214 | m4trace:configure.ac:12: -1- m4_pattern_allow([^SET_MAKE$]) | |
215 | m4trace:configure.ac:12: -1- AC_SUBST([am__leading_dot]) | |
216 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__leading_dot]) | |
217 | m4trace:configure.ac:12: -1- m4_pattern_allow([^am__leading_dot$]) | |
218 | m4trace:configure.ac:12: -1- AC_SUBST([AMTAR]) | |
219 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMTAR]) | |
220 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AMTAR$]) | |
221 | m4trace:configure.ac:12: -1- AC_SUBST([am__tar]) | |
222 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__tar]) | |
223 | m4trace:configure.ac:12: -1- m4_pattern_allow([^am__tar$]) | |
224 | m4trace:configure.ac:12: -1- AC_SUBST([am__untar]) | |
225 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__untar]) | |
226 | m4trace:configure.ac:12: -1- m4_pattern_allow([^am__untar$]) | |
227 | m4trace:configure.ac:25: -1- AM_MAINTAINER_MODE | |
228 | m4trace:configure.ac:25: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) | |
229 | m4trace:configure.ac:25: -1- AC_SUBST([MAINTAINER_MODE_TRUE]) | |
230 | m4trace:configure.ac:25: -1- AC_SUBST_TRACE([MAINTAINER_MODE_TRUE]) | |
231 | m4trace:configure.ac:25: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$]) | |
232 | m4trace:configure.ac:25: -1- AC_SUBST([MAINTAINER_MODE_FALSE]) | |
233 | m4trace:configure.ac:25: -1- AC_SUBST_TRACE([MAINTAINER_MODE_FALSE]) | |
234 | m4trace:configure.ac:25: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$]) | |
235 | m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE]) | |
236 | m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE]) | |
237 | m4trace:configure.ac:25: -1- AC_SUBST([MAINT]) | |
238 | m4trace:configure.ac:25: -1- AC_SUBST_TRACE([MAINT]) | |
239 | m4trace:configure.ac:25: -1- m4_pattern_allow([^MAINT$]) | |
240 | m4trace:configure.ac:28: -1- AC_SUBST([CC]) | |
241 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CC]) | |
242 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) | |
243 | m4trace:configure.ac:28: -1- AC_SUBST([CFLAGS]) | |
244 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CFLAGS]) | |
245 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CFLAGS$]) | |
246 | m4trace:configure.ac:28: -1- AC_SUBST([LDFLAGS]) | |
247 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([LDFLAGS]) | |
248 | m4trace:configure.ac:28: -1- m4_pattern_allow([^LDFLAGS$]) | |
249 | m4trace:configure.ac:28: -1- AC_SUBST([LIBS]) | |
250 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([LIBS]) | |
251 | m4trace:configure.ac:28: -1- m4_pattern_allow([^LIBS$]) | |
252 | m4trace:configure.ac:28: -1- AC_SUBST([CPPFLAGS]) | |
253 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CPPFLAGS]) | |
254 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CPPFLAGS$]) | |
255 | m4trace:configure.ac:28: -1- AC_SUBST([CC]) | |
256 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CC]) | |
257 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) | |
258 | m4trace:configure.ac:28: -1- AC_SUBST([CC]) | |
259 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CC]) | |
260 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) | |
261 | m4trace:configure.ac:28: -1- AC_SUBST([CC]) | |
262 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CC]) | |
263 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) | |
264 | m4trace:configure.ac:28: -1- AC_SUBST([CC]) | |
265 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CC]) | |
266 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) | |
267 | m4trace:configure.ac:28: -1- AC_SUBST([ac_ct_CC]) | |
268 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([ac_ct_CC]) | |
269 | m4trace:configure.ac:28: -1- m4_pattern_allow([^ac_ct_CC$]) | |
270 | m4trace:configure.ac:28: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) | |
271 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([EXEEXT]) | |
272 | m4trace:configure.ac:28: -1- m4_pattern_allow([^EXEEXT$]) | |
273 | m4trace:configure.ac:28: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) | |
274 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([OBJEXT]) | |
275 | m4trace:configure.ac:28: -1- m4_pattern_allow([^OBJEXT$]) | |
276 | m4trace:configure.ac:28: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"]) | |
277 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([DEPDIR]) | |
278 | m4trace:configure.ac:28: -1- m4_pattern_allow([^DEPDIR$]) | |
279 | m4trace:configure.ac:28: -1- AC_SUBST([am__include]) | |
280 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([am__include]) | |
281 | m4trace:configure.ac:28: -1- m4_pattern_allow([^am__include$]) | |
282 | m4trace:configure.ac:28: -1- AC_SUBST([am__quote]) | |
283 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([am__quote]) | |
284 | m4trace:configure.ac:28: -1- m4_pattern_allow([^am__quote$]) | |
285 | m4trace:configure.ac:28: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | |
286 | m4trace:configure.ac:28: -1- AC_SUBST([AMDEP_TRUE]) | |
287 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([AMDEP_TRUE]) | |
288 | m4trace:configure.ac:28: -1- m4_pattern_allow([^AMDEP_TRUE$]) | |
289 | m4trace:configure.ac:28: -1- AC_SUBST([AMDEP_FALSE]) | |
290 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([AMDEP_FALSE]) | |
291 | m4trace:configure.ac:28: -1- m4_pattern_allow([^AMDEP_FALSE$]) | |
292 | m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) | |
293 | m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) | |
294 | m4trace:configure.ac:28: -1- AC_SUBST([AMDEPBACKSLASH]) | |
295 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([AMDEPBACKSLASH]) | |
296 | m4trace:configure.ac:28: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) | |
297 | m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) | |
298 | m4trace:configure.ac:28: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type]) | |
299 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CCDEPMODE]) | |
300 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CCDEPMODE$]) | |
301 | m4trace:configure.ac:28: -1- AM_CONDITIONAL([am__fastdepCC], [ | |
302 | test "x$enable_dependency_tracking" != xno \ | |
303 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) | |
304 | m4trace:configure.ac:28: -1- AC_SUBST([am__fastdepCC_TRUE]) | |
305 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE]) | |
306 | m4trace:configure.ac:28: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) | |
307 | m4trace:configure.ac:28: -1- AC_SUBST([am__fastdepCC_FALSE]) | |
308 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE]) | |
309 | m4trace:configure.ac:28: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) | |
310 | m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) | |
311 | m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) | |
312 | m4trace:configure.ac:29: -1- AC_REQUIRE_AUX_FILE([install-sh]) | |
313 | m4trace:configure.ac:29: -1- AC_SUBST([INSTALL_PROGRAM]) | |
314 | m4trace:configure.ac:29: -1- AC_SUBST_TRACE([INSTALL_PROGRAM]) | |
315 | m4trace:configure.ac:29: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) | |
316 | m4trace:configure.ac:29: -1- AC_SUBST([INSTALL_SCRIPT]) | |
317 | m4trace:configure.ac:29: -1- AC_SUBST_TRACE([INSTALL_SCRIPT]) | |
318 | m4trace:configure.ac:29: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) | |
319 | m4trace:configure.ac:29: -1- AC_SUBST([INSTALL_DATA]) | |
320 | m4trace:configure.ac:29: -1- AC_SUBST_TRACE([INSTALL_DATA]) | |
321 | m4trace:configure.ac:29: -1- m4_pattern_allow([^INSTALL_DATA$]) | |
322 | m4trace:configure.ac:32: -1- AC_SUBST([CPP]) | |
323 | m4trace:configure.ac:32: -1- AC_SUBST_TRACE([CPP]) | |
324 | m4trace:configure.ac:32: -1- m4_pattern_allow([^CPP$]) | |
325 | m4trace:configure.ac:32: -1- AC_SUBST([CPPFLAGS]) | |
326 | m4trace:configure.ac:32: -1- AC_SUBST_TRACE([CPPFLAGS]) | |
327 | m4trace:configure.ac:32: -1- m4_pattern_allow([^CPPFLAGS$]) | |
328 | m4trace:configure.ac:32: -1- AC_SUBST([CPP]) | |
329 | m4trace:configure.ac:32: -1- AC_SUBST_TRACE([CPP]) | |
330 | m4trace:configure.ac:32: -1- m4_pattern_allow([^CPP$]) | |
331 | m4trace:configure.ac:32: -1- AC_SUBST([GREP]) | |
332 | m4trace:configure.ac:32: -1- AC_SUBST_TRACE([GREP]) | |
333 | m4trace:configure.ac:32: -1- m4_pattern_allow([^GREP$]) | |
334 | m4trace:configure.ac:32: -1- AC_SUBST([EGREP]) | |
335 | m4trace:configure.ac:32: -1- AC_SUBST_TRACE([EGREP]) | |
336 | m4trace:configure.ac:32: -1- m4_pattern_allow([^EGREP$]) | |
337 | m4trace:configure.ac:32: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) | |
338 | m4trace:configure.ac:32: -1- m4_pattern_allow([^STDC_HEADERS$]) | |
339 | m4trace:configure.ac:32: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */ | |
340 | #undef STDC_HEADERS]) | |
341 | m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */ | |
342 | #undef HAVE_STDLIB_H]) | |
343 | m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_STDIO_H], [/* Define to 1 if you have the <stdio.h> header file. */ | |
344 | #undef HAVE_STDIO_H]) | |
345 | m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_CTYPE_H], [/* Define to 1 if you have the <ctype.h> header file. */ | |
346 | #undef HAVE_CTYPE_H]) | |
347 | m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */ | |
348 | #undef HAVE_STRING_H]) | |
349 | m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */ | |
350 | #undef HAVE_SYS_TYPES_H]) | |
351 | m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */ | |
352 | #undef HAVE_SYS_STAT_H]) | |
353 | m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */ | |
354 | #undef HAVE_STDLIB_H]) | |
355 | m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */ | |
356 | #undef HAVE_STRING_H]) | |
357 | m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */ | |
358 | #undef HAVE_MEMORY_H]) | |
359 | m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */ | |
360 | #undef HAVE_STRINGS_H]) | |
361 | m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */ | |
362 | #undef HAVE_INTTYPES_H]) | |
363 | m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */ | |
364 | #undef HAVE_STDINT_H]) | |
365 | m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */ | |
366 | #undef HAVE_UNISTD_H]) | |
367 | m4trace:configure.ac:41: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */ | |
368 | #undef HAVE_STDLIB_H]) | |
369 | m4trace:configure.ac:41: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC]) | |
370 | m4trace:configure.ac:41: -1- m4_pattern_allow([^HAVE_MALLOC$]) | |
371 | m4trace:configure.ac:41: -1- AH_OUTPUT([HAVE_MALLOC], [/* Define to 1 if your system has a GNU libc compatible `malloc\' function, and | |
372 | to 0 otherwise. */ | |
373 | #undef HAVE_MALLOC]) | |
374 | m4trace:configure.ac:41: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC]) | |
375 | m4trace:configure.ac:41: -1- m4_pattern_allow([^HAVE_MALLOC$]) | |
376 | m4trace:configure.ac:41: -1- AC_LIBSOURCE([malloc.c]) | |
377 | m4trace:configure.ac:41: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS malloc.$ac_objext"]) | |
378 | m4trace:configure.ac:41: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) | |
379 | m4trace:configure.ac:41: -1- m4_pattern_allow([^LIB@&t@OBJS$]) | |
380 | m4trace:configure.ac:41: -1- AC_DEFINE_TRACE_LITERAL([malloc]) | |
381 | m4trace:configure.ac:41: -1- m4_pattern_allow([^malloc$]) | |
382 | m4trace:configure.ac:41: -1- AH_OUTPUT([malloc], [/* Define to rpl_malloc if the replacement function should be used. */ | |
383 | #undef malloc]) | |
384 | m4trace:configure.ac:42: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */ | |
385 | #undef HAVE_MEMSET]) | |
386 | m4trace:configure.ac:42: -1- AH_OUTPUT([HAVE_STRCHR], [/* Define to 1 if you have the `strchr\' function. */ | |
387 | #undef HAVE_STRCHR]) | |
388 | m4trace:configure.ac:42: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */ | |
389 | #undef HAVE_STRSTR]) | |
390 | m4trace:configure.ac:44: -1- AC_CANONICAL_HOST | |
391 | m4trace:configure.ac:44: -1- AC_CANONICAL_BUILD | |
392 | m4trace:configure.ac:44: -1- AC_REQUIRE_AUX_FILE([config.sub]) | |
393 | m4trace:configure.ac:44: -1- AC_REQUIRE_AUX_FILE([config.guess]) | |
394 | m4trace:configure.ac:44: -1- AC_SUBST([build], [$ac_cv_build]) | |
395 | m4trace:configure.ac:44: -1- AC_SUBST_TRACE([build]) | |
396 | m4trace:configure.ac:44: -1- m4_pattern_allow([^build$]) | |
397 | m4trace:configure.ac:44: -1- AC_SUBST([build_cpu], [$[1]]) | |
398 | m4trace:configure.ac:44: -1- AC_SUBST_TRACE([build_cpu]) | |
399 | m4trace:configure.ac:44: -1- m4_pattern_allow([^build_cpu$]) | |
400 | m4trace:configure.ac:44: -1- AC_SUBST([build_vendor], [$[2]]) | |
401 | m4trace:configure.ac:44: -1- AC_SUBST_TRACE([build_vendor]) | |
402 | m4trace:configure.ac:44: -1- m4_pattern_allow([^build_vendor$]) | |
403 | m4trace:configure.ac:44: -1- AC_SUBST([build_os]) | |
404 | m4trace:configure.ac:44: -1- AC_SUBST_TRACE([build_os]) | |
405 | m4trace:configure.ac:44: -1- m4_pattern_allow([^build_os$]) | |
406 | m4trace:configure.ac:44: -1- AC_SUBST([host], [$ac_cv_host]) | |
407 | m4trace:configure.ac:44: -1- AC_SUBST_TRACE([host]) | |
408 | m4trace:configure.ac:44: -1- m4_pattern_allow([^host$]) | |
409 | m4trace:configure.ac:44: -1- AC_SUBST([host_cpu], [$[1]]) | |
410 | m4trace:configure.ac:44: -1- AC_SUBST_TRACE([host_cpu]) | |
411 | m4trace:configure.ac:44: -1- m4_pattern_allow([^host_cpu$]) | |
412 | m4trace:configure.ac:44: -1- AC_SUBST([host_vendor], [$[2]]) | |
413 | m4trace:configure.ac:44: -1- AC_SUBST_TRACE([host_vendor]) | |
414 | m4trace:configure.ac:44: -1- m4_pattern_allow([^host_vendor$]) | |
415 | m4trace:configure.ac:44: -1- AC_SUBST([host_os]) | |
416 | m4trace:configure.ac:44: -1- AC_SUBST_TRACE([host_os]) | |
417 | m4trace:configure.ac:44: -1- m4_pattern_allow([^host_os$]) | |
418 | m4trace:configure.ac:46: -1- AC_SUBST([LIBS], ["-liconv"]) | |
419 | m4trace:configure.ac:46: -1- AC_SUBST_TRACE([LIBS]) | |
420 | m4trace:configure.ac:46: -1- m4_pattern_allow([^LIBS$]) | |
421 | m4trace:configure.ac:47: -1- AC_SUBST([LIBS], ["-liconv"]) | |
422 | m4trace:configure.ac:47: -1- AC_SUBST_TRACE([LIBS]) | |
423 | m4trace:configure.ac:47: -1- m4_pattern_allow([^LIBS$]) | |
424 | m4trace:configure.ac:50: -1- AC_CONFIG_FILES([Makefile | |
425 | charmaps/Makefile | |
426 | doc/Makefile | |
427 | outputs/Makefile | |
428 | patches/Makefile | |
429 | src/Makefile | |
430 | tests/Makefile]) | |
431 | m4trace:configure.ac:57: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) | |
432 | m4trace:configure.ac:57: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) | |
433 | m4trace:configure.ac:57: -1- m4_pattern_allow([^LIB@&t@OBJS$]) | |
434 | m4trace:configure.ac:57: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) | |
435 | m4trace:configure.ac:57: -1- AC_SUBST_TRACE([LTLIBOBJS]) | |
436 | m4trace:configure.ac:57: -1- m4_pattern_allow([^LTLIBOBJS$]) | |
437 | m4trace:configure.ac:57: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) | |
438 | m4trace:configure.ac:57: -1- AC_SUBST([am__EXEEXT_TRUE]) | |
439 | m4trace:configure.ac:57: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE]) | |
440 | m4trace:configure.ac:57: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) | |
441 | m4trace:configure.ac:57: -1- AC_SUBST([am__EXEEXT_FALSE]) | |
442 | m4trace:configure.ac:57: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE]) | |
443 | m4trace:configure.ac:57: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) | |
444 | m4trace:configure.ac:57: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) | |
445 | m4trace:configure.ac:57: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) | |
446 | m4trace:configure.ac:57: -1- AC_SUBST_TRACE([top_builddir]) | |
447 | m4trace:configure.ac:57: -1- AC_SUBST_TRACE([top_build_prefix]) | |
448 | m4trace:configure.ac:57: -1- AC_SUBST_TRACE([srcdir]) | |
449 | m4trace:configure.ac:57: -1- AC_SUBST_TRACE([abs_srcdir]) | |
450 | m4trace:configure.ac:57: -1- AC_SUBST_TRACE([top_srcdir]) | |
451 | m4trace:configure.ac:57: -1- AC_SUBST_TRACE([abs_top_srcdir]) | |
452 | m4trace:configure.ac:57: -1- AC_SUBST_TRACE([builddir]) | |
453 | m4trace:configure.ac:57: -1- AC_SUBST_TRACE([abs_builddir]) | |
454 | m4trace:configure.ac:57: -1- AC_SUBST_TRACE([abs_top_builddir]) | |
455 | m4trace:configure.ac:57: -1- AC_SUBST_TRACE([INSTALL]) | |
456 | m4trace:configure.ac:57: -1- AC_SUBST_TRACE([MKDIR_P]) |
0 | m4trace:/usr/share/aclocal-1.10/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.10' | |
1 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | |
2 | dnl require some minimum version. Point them to the right macro. | |
3 | m4_if([$1], [1.10.1], [], | |
4 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | |
5 | ]) | |
6 | m4trace:/usr/share/aclocal-1.10/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.10.1])dnl | |
7 | m4_ifndef([AC_AUTOCONF_VERSION], | |
8 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | |
9 | _AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) | |
10 | m4trace:/usr/share/aclocal-1.10/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. | |
11 | AC_PREREQ([2.50])dnl | |
12 | # expand $ac_aux_dir to an absolute path | |
13 | am_aux_dir=`cd $ac_aux_dir && pwd` | |
14 | ]) | |
15 | m4trace:/usr/share/aclocal-1.10/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl | |
16 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
17 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
18 | AC_SUBST([$1_TRUE])dnl | |
19 | AC_SUBST([$1_FALSE])dnl | |
20 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl | |
21 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl | |
22 | if $2; then | |
23 | $1_TRUE= | |
24 | $1_FALSE='#' | |
25 | else | |
26 | $1_TRUE='#' | |
27 | $1_FALSE= | |
28 | fi | |
29 | AC_CONFIG_COMMANDS_PRE( | |
30 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | |
31 | AC_MSG_ERROR([[conditional "$1" was never defined. | |
32 | Usually this means the macro was only invoked conditionally.]]) | |
33 | fi])]) | |
34 | m4trace:/usr/share/aclocal-1.10/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl | |
35 | AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl | |
36 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl | |
37 | AC_REQUIRE([AM_DEP_TRACK])dnl | |
38 | ||
39 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | |
40 | [$1], CXX, [depcc="$CXX" am_compiler_list=], | |
41 | [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
42 | [$1], UPC, [depcc="$UPC" am_compiler_list=], | |
43 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
44 | [depcc="$$1" am_compiler_list=]) | |
45 | ||
46 | AC_CACHE_CHECK([dependency style of $depcc], | |
47 | [am_cv_$1_dependencies_compiler_type], | |
48 | [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
49 | # We make a subdir and do the tests there. Otherwise we can end up | |
50 | # making bogus files that we don't know about and never remove. For | |
51 | # instance it was reported that on HP-UX the gcc test will end up | |
52 | # making a dummy file named `D' -- because `-MD' means `put the output | |
53 | # in D'. | |
54 | mkdir conftest.dir | |
55 | # Copy depcomp to subdir because otherwise we won't find it if we're | |
56 | # using a relative directory. | |
57 | cp "$am_depcomp" conftest.dir | |
58 | cd conftest.dir | |
59 | # We will build objects and dependencies in a subdirectory because | |
60 | # it helps to detect inapplicable dependency modes. For instance | |
61 | # both Tru64's cc and ICC support -MD to output dependencies as a | |
62 | # side effect of compilation, but ICC will put the dependencies in | |
63 | # the current directory while Tru64 will put them in the object | |
64 | # directory. | |
65 | mkdir sub | |
66 | ||
67 | am_cv_$1_dependencies_compiler_type=none | |
68 | if test "$am_compiler_list" = ""; then | |
69 | am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` | |
70 | fi | |
71 | for depmode in $am_compiler_list; do | |
72 | # Setup a source with many dependencies, because some compilers | |
73 | # like to wrap large dependency lists on column 80 (with \), and | |
74 | # we should not choose a depcomp mode which is confused by this. | |
75 | # | |
76 | # We need to recreate these files for each test, as the compiler may | |
77 | # overwrite some of them when testing with obscure command lines. | |
78 | # This happens at least with the AIX C compiler. | |
79 | : > sub/conftest.c | |
80 | for i in 1 2 3 4 5 6; do | |
81 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
82 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
83 | # Solaris 8's {/usr,}/bin/sh. | |
84 | touch sub/conftst$i.h | |
85 | done | |
86 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
87 | ||
88 | case $depmode in | |
89 | nosideeffect) | |
90 | # after this tag, mechanisms are not by side-effect, so they'll | |
91 | # only be used when explicitly requested | |
92 | if test "x$enable_dependency_tracking" = xyes; then | |
93 | continue | |
94 | else | |
95 | break | |
96 | fi | |
97 | ;; | |
98 | none) break ;; | |
99 | esac | |
100 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
101 | # mode. It turns out that the SunPro C++ compiler does not properly | |
102 | # handle `-M -o', and we need to detect this. | |
103 | if depmode=$depmode \ | |
104 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | |
105 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
106 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | |
107 | >/dev/null 2>conftest.err && | |
108 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
109 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
110 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | |
111 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
112 | # icc doesn't choke on unknown options, it will just issue warnings | |
113 | # or remarks (even with -Werror). So we grep stderr for any message | |
114 | # that says an option was ignored or not supported. | |
115 | # When given -MP, icc 7.0 and 7.1 complain thusly: | |
116 | # icc: Command line warning: ignoring option '-M'; no argument required | |
117 | # The diagnosis changed in icc 8.0: | |
118 | # icc: Command line remark: option '-MP' not supported | |
119 | if (grep 'ignoring option' conftest.err || | |
120 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
121 | am_cv_$1_dependencies_compiler_type=$depmode | |
122 | break | |
123 | fi | |
124 | fi | |
125 | done | |
126 | ||
127 | cd .. | |
128 | rm -rf conftest.dir | |
129 | else | |
130 | am_cv_$1_dependencies_compiler_type=none | |
131 | fi | |
132 | ]) | |
133 | AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) | |
134 | AM_CONDITIONAL([am__fastdep$1], [ | |
135 | test "x$enable_dependency_tracking" != xno \ | |
136 | && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) | |
137 | ]) | |
138 | m4trace:/usr/share/aclocal-1.10/depend.m4:139: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl | |
139 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl | |
140 | ]) | |
141 | m4trace:/usr/share/aclocal-1.10/depend.m4:147: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, | |
142 | [ --disable-dependency-tracking speeds up one-time build | |
143 | --enable-dependency-tracking do not reject slow dependency extractors]) | |
144 | if test "x$enable_dependency_tracking" != xno; then | |
145 | am_depcomp="$ac_aux_dir/depcomp" | |
146 | AMDEPBACKSLASH='\' | |
147 | fi | |
148 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | |
149 | AC_SUBST([AMDEPBACKSLASH])dnl | |
150 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl | |
151 | ]) | |
152 | m4trace:/usr/share/aclocal-1.10/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do | |
153 | # Strip MF so we end up with the name of the file. | |
154 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
155 | # Check whether this is an Automake generated Makefile or not. | |
156 | # We used to match only the files named `Makefile.in', but | |
157 | # some people rename them; so instead we look at the file content. | |
158 | # Grep'ing the first line is not enough: some people post-process | |
159 | # each Makefile.in and add a new line on top of each file to say so. | |
160 | # Grep'ing the whole file is not good either: AIX grep has a line | |
161 | # limit of 2048, but all sed's we know have understand at least 4000. | |
162 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
163 | dirpart=`AS_DIRNAME("$mf")` | |
164 | else | |
165 | continue | |
166 | fi | |
167 | # Extract the definition of DEPDIR, am__include, and am__quote | |
168 | # from the Makefile without running `make'. | |
169 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
170 | test -z "$DEPDIR" && continue | |
171 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
172 | test -z "am__include" && continue | |
173 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
174 | # When using ansi2knr, U may be empty or an underscore; expand it | |
175 | U=`sed -n 's/^U = //p' < "$mf"` | |
176 | # Find all dependency output files, they are included files with | |
177 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
178 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
179 | # expansion. | |
180 | for file in `sed -n " | |
181 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
182 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
183 | # Make sure the directory exists. | |
184 | test -f "$dirpart/$file" && continue | |
185 | fdir=`AS_DIRNAME(["$file"])` | |
186 | AS_MKDIR_P([$dirpart/$fdir]) | |
187 | # echo "creating $dirpart/$file" | |
188 | echo '# dummy' > "$dirpart/$file" | |
189 | done | |
190 | done | |
191 | ]) | |
192 | m4trace:/usr/share/aclocal-1.10/depout.m4:64: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], | |
193 | [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], | |
194 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | |
195 | ]) | |
196 | m4trace:/usr/share/aclocal-1.10/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.60])dnl | |
197 | dnl Autoconf wants to disallow AM_ names. We explicitly allow | |
198 | dnl the ones we care about. | |
199 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl | |
200 | AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl | |
201 | AC_REQUIRE([AC_PROG_INSTALL])dnl | |
202 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
203 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
204 | # is not polluted with repeated "-I." | |
205 | AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl | |
206 | # test to see if srcdir already configured | |
207 | if test -f $srcdir/config.status; then | |
208 | AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) | |
209 | fi | |
210 | fi | |
211 | ||
212 | # test whether we have cygpath | |
213 | if test -z "$CYGPATH_W"; then | |
214 | if (cygpath --version) >/dev/null 2>/dev/null; then | |
215 | CYGPATH_W='cygpath -w' | |
216 | else | |
217 | CYGPATH_W=echo | |
218 | fi | |
219 | fi | |
220 | AC_SUBST([CYGPATH_W]) | |
221 | ||
222 | # Define the identity of the package. | |
223 | dnl Distinguish between old-style and new-style calls. | |
224 | m4_ifval([$2], | |
225 | [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
226 | AC_SUBST([PACKAGE], [$1])dnl | |
227 | AC_SUBST([VERSION], [$2])], | |
228 | [_AM_SET_OPTIONS([$1])dnl | |
229 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. | |
230 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | |
231 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl | |
232 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl | |
233 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl | |
234 | ||
235 | _AM_IF_OPTION([no-define],, | |
236 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
237 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | |
238 | ||
239 | # Some tools Automake needs. | |
240 | AC_REQUIRE([AM_SANITY_CHECK])dnl | |
241 | AC_REQUIRE([AC_ARG_PROGRAM])dnl | |
242 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | |
243 | AM_MISSING_PROG(AUTOCONF, autoconf) | |
244 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | |
245 | AM_MISSING_PROG(AUTOHEADER, autoheader) | |
246 | AM_MISSING_PROG(MAKEINFO, makeinfo) | |
247 | AM_PROG_INSTALL_SH | |
248 | AM_PROG_INSTALL_STRIP | |
249 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | |
250 | # We need awk for the "check" target. The system "awk" is bad on | |
251 | # some platforms. | |
252 | AC_REQUIRE([AC_PROG_AWK])dnl | |
253 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl | |
254 | AC_REQUIRE([AM_SET_LEADING_DOT])dnl | |
255 | _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], | |
256 | [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | |
257 | [_AM_PROG_TAR([v7])])]) | |
258 | _AM_IF_OPTION([no-dependencies],, | |
259 | [AC_PROVIDE_IFELSE([AC_PROG_CC], | |
260 | [_AM_DEPENDENCIES(CC)], | |
261 | [define([AC_PROG_CC], | |
262 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | |
263 | AC_PROVIDE_IFELSE([AC_PROG_CXX], | |
264 | [_AM_DEPENDENCIES(CXX)], | |
265 | [define([AC_PROG_CXX], | |
266 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | |
267 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], | |
268 | [_AM_DEPENDENCIES(OBJC)], | |
269 | [define([AC_PROG_OBJC], | |
270 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | |
271 | ]) | |
272 | ]) | |
273 | m4trace:/usr/share/aclocal-1.10/init.m4:113: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. | |
274 | _am_arg=$1 | |
275 | _am_stamp_count=1 | |
276 | for _am_header in $config_headers :; do | |
277 | case $_am_header in | |
278 | $_am_arg | $_am_arg:* ) | |
279 | break ;; | |
280 | * ) | |
281 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | |
282 | esac | |
283 | done | |
284 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) | |
285 | m4trace:/usr/share/aclocal-1.10/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
286 | install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} | |
287 | AC_SUBST(install_sh)]) | |
288 | m4trace:/usr/share/aclocal-1.10/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null | |
289 | mkdir .tst 2>/dev/null | |
290 | if test -d .tst; then | |
291 | am__leading_dot=. | |
292 | else | |
293 | am__leading_dot=_ | |
294 | fi | |
295 | rmdir .tst 2>/dev/null | |
296 | AC_SUBST([am__leading_dot])]) | |
297 | m4trace:/usr/share/aclocal-1.10/maintainer.m4:13: -1- AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) | |
298 | dnl maintainer-mode is disabled by default | |
299 | AC_ARG_ENABLE(maintainer-mode, | |
300 | [ --enable-maintainer-mode enable make rules and dependencies not useful | |
301 | (and sometimes confusing) to the casual installer], | |
302 | USE_MAINTAINER_MODE=$enableval, | |
303 | USE_MAINTAINER_MODE=no) | |
304 | AC_MSG_RESULT([$USE_MAINTAINER_MODE]) | |
305 | AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) | |
306 | MAINT=$MAINTAINER_MODE_TRUE | |
307 | AC_SUBST(MAINT)dnl | |
308 | ||
309 | ]) | |
310 | m4trace:/usr/share/aclocal-1.10/maintainer.m4:28: -1- AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) | |
311 | m4trace:/usr/share/aclocal-1.10/maintainer.m4:28: -1- AC_DEFUN([jm_MAINTAINER_MODE], [AC_DIAGNOSE([obsolete], [The macro `jm_MAINTAINER_MODE' is obsolete. | |
312 | You should run autoupdate.])dnl | |
313 | AM_MAINTAINER_MODE]) | |
314 | m4trace:/usr/share/aclocal-1.10/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} | |
315 | cat > confinc << 'END' | |
316 | am__doit: | |
317 | @echo done | |
318 | .PHONY: am__doit | |
319 | END | |
320 | # If we don't find an include directive, just comment out the code. | |
321 | AC_MSG_CHECKING([for style of include used by $am_make]) | |
322 | am__include="#" | |
323 | am__quote= | |
324 | _am_result=none | |
325 | # First try GNU make style include. | |
326 | echo "include confinc" > confmf | |
327 | # We grep out `Entering directory' and `Leaving directory' | |
328 | # messages which can occur if `w' ends up in MAKEFLAGS. | |
329 | # In particular we don't look at `^make:' because GNU make might | |
330 | # be invoked under some other name (usually "gmake"), in which | |
331 | # case it prints its new name instead of `make'. | |
332 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then | |
333 | am__include=include | |
334 | am__quote= | |
335 | _am_result=GNU | |
336 | fi | |
337 | # Now try BSD make style include. | |
338 | if test "$am__include" = "#"; then | |
339 | echo '.include "confinc"' > confmf | |
340 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then | |
341 | am__include=.include | |
342 | am__quote="\"" | |
343 | _am_result=BSD | |
344 | fi | |
345 | fi | |
346 | AC_SUBST([am__include]) | |
347 | AC_SUBST([am__quote]) | |
348 | AC_MSG_RESULT([$_am_result]) | |
349 | rm -f confinc confmf | |
350 | ]) | |
351 | m4trace:/usr/share/aclocal-1.10/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) | |
352 | $1=${$1-"${am_missing_run}$2"} | |
353 | AC_SUBST($1)]) | |
354 | m4trace:/usr/share/aclocal-1.10/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
355 | AC_REQUIRE_AUX_FILE([missing])dnl | |
356 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | |
357 | # Use eval to expand $SHELL | |
358 | if eval "$MISSING --run true"; then | |
359 | am_missing_run="$MISSING --run " | |
360 | else | |
361 | am_missing_run= | |
362 | AC_MSG_WARN([`missing' script is too old or missing]) | |
363 | fi | |
364 | ]) | |
365 | m4trace:/usr/share/aclocal-1.10/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl | |
366 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
367 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | |
368 | dnl while keeping a definition of mkdir_p for backward compatibility. | |
369 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | |
370 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | |
371 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | |
372 | dnl adjustment using top_builddir (which is defined more often than | |
373 | dnl MKDIR_P). | |
374 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | |
375 | case $mkdir_p in | |
376 | [[\\/$]]* | ?:[[\\/]]*) ;; | |
377 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
378 | esac | |
379 | ]) | |
380 | m4trace:/usr/share/aclocal-1.10/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) | |
381 | m4trace:/usr/share/aclocal-1.10/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | |
382 | m4trace:/usr/share/aclocal-1.10/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) | |
383 | m4trace:/usr/share/aclocal-1.10/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) | |
384 | m4trace:/usr/share/aclocal-1.10/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD | |
385 | ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD | |
386 | ac_status=$? | |
387 | echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD | |
388 | (exit $ac_status); }]) | |
389 | m4trace:/usr/share/aclocal-1.10/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) | |
390 | # Just in case | |
391 | sleep 1 | |
392 | echo timestamp > conftest.file | |
393 | # Do `set' in a subshell so we don't clobber the current shell's | |
394 | # arguments. Must try -L first in case configure is actually a | |
395 | # symlink; some systems play weird games with the mod time of symlinks | |
396 | # (eg FreeBSD returns the mod time of the symlink's containing | |
397 | # directory). | |
398 | if ( | |
399 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` | |
400 | if test "$[*]" = "X"; then | |
401 | # -L didn't work. | |
402 | set X `ls -t $srcdir/configure conftest.file` | |
403 | fi | |
404 | rm -f conftest.file | |
405 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
406 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
407 | ||
408 | # If neither matched, then we have a broken ls. This can happen | |
409 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
410 | # broken ls alias from the environment. This has actually | |
411 | # happened. Such a system could not be considered "sane". | |
412 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
413 | alias in your environment]) | |
414 | fi | |
415 | ||
416 | test "$[2]" = conftest.file | |
417 | ) | |
418 | then | |
419 | # Ok. | |
420 | : | |
421 | else | |
422 | AC_MSG_ERROR([newly created file is older than distributed files! | |
423 | Check your system clock]) | |
424 | fi | |
425 | AC_MSG_RESULT(yes)]) | |
426 | m4trace:/usr/share/aclocal-1.10/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | |
427 | # Installed binaries are usually stripped using `strip' when the user | |
428 | # run `make install-strip'. However `strip' might not be the right | |
429 | # tool to use in cross-compilation environments, therefore Automake | |
430 | # will honor the `STRIP' environment variable to overrule this program. | |
431 | dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | |
432 | if test "$cross_compiling" != no; then | |
433 | AC_CHECK_TOOL([STRIP], [strip], :) | |
434 | fi | |
435 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
436 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) | |
437 | m4trace:/usr/share/aclocal-1.10/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE]) | |
438 | m4trace:/usr/share/aclocal-1.10/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. | |
439 | AM_MISSING_PROG([AMTAR], [tar]) | |
440 | m4_if([$1], [v7], | |
441 | [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], | |
442 | [m4_case([$1], [ustar],, [pax],, | |
443 | [m4_fatal([Unknown tar format])]) | |
444 | AC_MSG_CHECKING([how to create a $1 tar archive]) | |
445 | # Loop over all known methods to create a tar archive until one works. | |
446 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | |
447 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | |
448 | # Do not fold the above two line into one, because Tru64 sh and | |
449 | # Solaris sh will not grok spaces in the rhs of `-'. | |
450 | for _am_tool in $_am_tools | |
451 | do | |
452 | case $_am_tool in | |
453 | gnutar) | |
454 | for _am_tar in tar gnutar gtar; | |
455 | do | |
456 | AM_RUN_LOG([$_am_tar --version]) && break | |
457 | done | |
458 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | |
459 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | |
460 | am__untar="$_am_tar -xf -" | |
461 | ;; | |
462 | plaintar) | |
463 | # Must skip GNU tar: if it does not support --format= it doesn't create | |
464 | # ustar tarball either. | |
465 | (tar --version) >/dev/null 2>&1 && continue | |
466 | am__tar='tar chf - "$$tardir"' | |
467 | am__tar_='tar chf - "$tardir"' | |
468 | am__untar='tar xf -' | |
469 | ;; | |
470 | pax) | |
471 | am__tar='pax -L -x $1 -w "$$tardir"' | |
472 | am__tar_='pax -L -x $1 -w "$tardir"' | |
473 | am__untar='pax -r' | |
474 | ;; | |
475 | cpio) | |
476 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | |
477 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | |
478 | am__untar='cpio -i -H $1 -d' | |
479 | ;; | |
480 | none) | |
481 | am__tar=false | |
482 | am__tar_=false | |
483 | am__untar=false | |
484 | ;; | |
485 | esac | |
486 | ||
487 | # If the value was cached, stop now. We just wanted to have am__tar | |
488 | # and am__untar set. | |
489 | test -n "${am_cv_prog_tar_$1}" && break | |
490 | ||
491 | # tar/untar a dummy directory, and stop if the command works | |
492 | rm -rf conftest.dir | |
493 | mkdir conftest.dir | |
494 | echo GrepMe > conftest.dir/file | |
495 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | |
496 | rm -rf conftest.dir | |
497 | if test -s conftest.tar; then | |
498 | AM_RUN_LOG([$am__untar <conftest.tar]) | |
499 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | |
500 | fi | |
501 | done | |
502 | rm -rf conftest.dir | |
503 | ||
504 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | |
505 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | |
506 | AC_SUBST([am__tar]) | |
507 | AC_SUBST([am__untar]) | |
508 | ]) | |
509 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_]) | |
510 | m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_]) | |
511 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) | |
512 | m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$]) | |
513 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_]) | |
514 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$]) | |
515 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_]) | |
516 | m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$]) | |
517 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$]) | |
518 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) | |
519 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) | |
520 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) | |
521 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) | |
522 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) | |
523 | m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$]) | |
524 | m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$]) | |
525 | m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$]) | |
526 | m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$]) | |
527 | m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$]) | |
528 | m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$]) | |
529 | m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$]) | |
530 | m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$]) | |
531 | m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$]) | |
532 | m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$]) | |
533 | m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$]) | |
534 | m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$]) | |
535 | m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$]) | |
536 | m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$]) | |
537 | m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$]) | |
538 | m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$]) | |
539 | m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$]) | |
540 | m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$]) | |
541 | m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$]) | |
542 | m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$]) | |
543 | m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$]) | |
544 | m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$]) | |
545 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) | |
546 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) | |
547 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) | |
548 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) | |
549 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) | |
550 | m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$]) | |
551 | m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$]) | |
552 | m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$]) | |
553 | m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$]) | |
554 | m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$]) | |
555 | m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$]) | |
556 | m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$]) | |
557 | m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$]) | |
558 | m4trace:configure.ac:12: -1- AM_INIT_AUTOMAKE | |
559 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) | |
560 | m4trace:configure.ac:12: -1- AM_SET_CURRENT_AUTOMAKE_VERSION | |
561 | m4trace:configure.ac:12: -1- AM_AUTOMAKE_VERSION([1.10.1]) | |
562 | m4trace:configure.ac:12: -1- _AM_AUTOCONF_VERSION([2.63]) | |
563 | m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) | |
564 | m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) | |
565 | m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_DATA$]) | |
566 | m4trace:configure.ac:12: -1- m4_pattern_allow([^am__isrc$]) | |
567 | m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__isrc]) | |
568 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CYGPATH_W$]) | |
569 | m4trace:configure.ac:12: -1- _AM_SET_OPTIONS([]) | |
570 | m4trace:configure.ac:12: -1- _m4_warn([obsolete], [The macro `AC_FOREACH' is obsolete. | |
571 | You should run autoupdate.], [../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... | |
572 | /usr/share/aclocal-1.10/options.m4:25: _AM_SET_OPTIONS is expanded from... | |
573 | /usr/share/aclocal-1.10/init.m4:26: AM_INIT_AUTOMAKE is expanded from... | |
574 | configure.ac:12: the top level]) | |
575 | m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE$]) | |
576 | m4trace:configure.ac:12: -1- m4_pattern_allow([^VERSION$]) | |
577 | m4trace:configure.ac:12: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
578 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])]) | |
579 | m4trace:configure.ac:12: -2- _AM_MANGLE_OPTION([no-define]) | |
580 | m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE$]) | |
581 | m4trace:configure.ac:12: -1- m4_pattern_allow([^VERSION$]) | |
582 | m4trace:configure.ac:12: -1- AM_SANITY_CHECK | |
583 | m4trace:configure.ac:12: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) | |
584 | m4trace:configure.ac:12: -1- AM_MISSING_HAS_RUN | |
585 | m4trace:configure.ac:12: -1- AM_AUX_DIR_EXPAND | |
586 | m4trace:configure.ac:12: -1- m4_pattern_allow([^ACLOCAL$]) | |
587 | m4trace:configure.ac:12: -1- AM_MISSING_PROG([AUTOCONF], [autoconf]) | |
588 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AUTOCONF$]) | |
589 | m4trace:configure.ac:12: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) | |
590 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AUTOMAKE$]) | |
591 | m4trace:configure.ac:12: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader]) | |
592 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AUTOHEADER$]) | |
593 | m4trace:configure.ac:12: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo]) | |
594 | m4trace:configure.ac:12: -1- m4_pattern_allow([^MAKEINFO$]) | |
595 | m4trace:configure.ac:12: -1- AM_PROG_INSTALL_SH | |
596 | m4trace:configure.ac:12: -1- m4_pattern_allow([^install_sh$]) | |
597 | m4trace:configure.ac:12: -1- AM_PROG_INSTALL_STRIP | |
598 | m4trace:configure.ac:12: -1- m4_pattern_allow([^STRIP$]) | |
599 | m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) | |
600 | m4trace:configure.ac:12: -1- AM_PROG_MKDIR_P | |
601 | m4trace:configure.ac:12: -1- m4_pattern_allow([^MKDIR_P$]) | |
602 | m4trace:configure.ac:12: -1- m4_pattern_allow([^mkdir_p$]) | |
603 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AWK$]) | |
604 | m4trace:configure.ac:12: -1- m4_pattern_allow([^SET_MAKE$]) | |
605 | m4trace:configure.ac:12: -1- AM_SET_LEADING_DOT | |
606 | m4trace:configure.ac:12: -1- m4_pattern_allow([^am__leading_dot$]) | |
607 | m4trace:configure.ac:12: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | |
608 | [_AM_PROG_TAR([v7])])]) | |
609 | m4trace:configure.ac:12: -2- _AM_MANGLE_OPTION([tar-ustar]) | |
610 | m4trace:configure.ac:12: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])]) | |
611 | m4trace:configure.ac:12: -2- _AM_MANGLE_OPTION([tar-pax]) | |
612 | m4trace:configure.ac:12: -1- _AM_PROG_TAR([v7]) | |
613 | m4trace:configure.ac:12: -1- AM_MISSING_PROG([AMTAR], [tar]) | |
614 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AMTAR$]) | |
615 | m4trace:configure.ac:12: -1- m4_pattern_allow([^am__tar$]) | |
616 | m4trace:configure.ac:12: -1- m4_pattern_allow([^am__untar$]) | |
617 | m4trace:configure.ac:12: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC], | |
618 | [_AM_DEPENDENCIES(CC)], | |
619 | [define([AC_PROG_CC], | |
620 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | |
621 | AC_PROVIDE_IFELSE([AC_PROG_CXX], | |
622 | [_AM_DEPENDENCIES(CXX)], | |
623 | [define([AC_PROG_CXX], | |
624 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | |
625 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], | |
626 | [_AM_DEPENDENCIES(OBJC)], | |
627 | [define([AC_PROG_OBJC], | |
628 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | |
629 | ]) | |
630 | m4trace:configure.ac:12: -2- _AM_MANGLE_OPTION([no-dependencies]) | |
631 | m4trace:configure.ac:25: -1- AM_MAINTAINER_MODE | |
632 | m4trace:configure.ac:25: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) | |
633 | m4trace:configure.ac:25: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$]) | |
634 | m4trace:configure.ac:25: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$]) | |
635 | m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE]) | |
636 | m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE]) | |
637 | m4trace:configure.ac:25: -1- m4_pattern_allow([^MAINT$]) | |
638 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) | |
639 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CFLAGS$]) | |
640 | m4trace:configure.ac:28: -1- m4_pattern_allow([^LDFLAGS$]) | |
641 | m4trace:configure.ac:28: -1- m4_pattern_allow([^LIBS$]) | |
642 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CPPFLAGS$]) | |
643 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) | |
644 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) | |
645 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) | |
646 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) | |
647 | m4trace:configure.ac:28: -1- m4_pattern_allow([^ac_ct_CC$]) | |
648 | m4trace:configure.ac:28: -1- m4_pattern_allow([^EXEEXT$]) | |
649 | m4trace:configure.ac:28: -1- m4_pattern_allow([^OBJEXT$]) | |
650 | m4trace:configure.ac:28: -1- _AM_DEPENDENCIES([CC]) | |
651 | m4trace:configure.ac:28: -1- AM_SET_DEPDIR | |
652 | m4trace:configure.ac:28: -1- m4_pattern_allow([^DEPDIR$]) | |
653 | m4trace:configure.ac:28: -1- AM_OUTPUT_DEPENDENCY_COMMANDS | |
654 | m4trace:configure.ac:28: -1- AM_MAKE_INCLUDE | |
655 | m4trace:configure.ac:28: -1- m4_pattern_allow([^am__include$]) | |
656 | m4trace:configure.ac:28: -1- m4_pattern_allow([^am__quote$]) | |
657 | m4trace:configure.ac:28: -1- AM_DEP_TRACK | |
658 | m4trace:configure.ac:28: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | |
659 | m4trace:configure.ac:28: -1- m4_pattern_allow([^AMDEP_TRUE$]) | |
660 | m4trace:configure.ac:28: -1- m4_pattern_allow([^AMDEP_FALSE$]) | |
661 | m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) | |
662 | m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) | |
663 | m4trace:configure.ac:28: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) | |
664 | m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) | |
665 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CCDEPMODE$]) | |
666 | m4trace:configure.ac:28: -1- AM_CONDITIONAL([am__fastdepCC], [ | |
667 | test "x$enable_dependency_tracking" != xno \ | |
668 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) | |
669 | m4trace:configure.ac:28: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) | |
670 | m4trace:configure.ac:28: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) | |
671 | m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) | |
672 | m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) | |
673 | m4trace:configure.ac:29: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) | |
674 | m4trace:configure.ac:29: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) | |
675 | m4trace:configure.ac:29: -1- m4_pattern_allow([^INSTALL_DATA$]) | |
676 | m4trace:configure.ac:32: -1- m4_pattern_allow([^CPP$]) | |
677 | m4trace:configure.ac:32: -1- m4_pattern_allow([^CPPFLAGS$]) | |
678 | m4trace:configure.ac:32: -1- m4_pattern_allow([^CPP$]) | |
679 | m4trace:configure.ac:32: -1- m4_pattern_allow([^GREP$]) | |
680 | m4trace:configure.ac:32: -1- m4_pattern_allow([^EGREP$]) | |
681 | m4trace:configure.ac:32: -1- m4_pattern_allow([^STDC_HEADERS$]) | |
682 | m4trace:configure.ac:41: -1- m4_pattern_allow([^HAVE_MALLOC$]) | |
683 | m4trace:configure.ac:41: -1- m4_pattern_allow([^HAVE_MALLOC$]) | |
684 | m4trace:configure.ac:41: -1- m4_pattern_allow([^LIB@&t@OBJS$]) | |
685 | m4trace:configure.ac:41: -1- m4_pattern_allow([^malloc$]) | |
686 | m4trace:configure.ac:44: -1- m4_pattern_allow([^build$]) | |
687 | m4trace:configure.ac:44: -1- m4_pattern_allow([^build_cpu$]) | |
688 | m4trace:configure.ac:44: -1- m4_pattern_allow([^build_vendor$]) | |
689 | m4trace:configure.ac:44: -1- m4_pattern_allow([^build_os$]) | |
690 | m4trace:configure.ac:44: -1- m4_pattern_allow([^host$]) | |
691 | m4trace:configure.ac:44: -1- m4_pattern_allow([^host_cpu$]) | |
692 | m4trace:configure.ac:44: -1- m4_pattern_allow([^host_vendor$]) | |
693 | m4trace:configure.ac:44: -1- m4_pattern_allow([^host_os$]) | |
694 | m4trace:configure.ac:46: -1- m4_pattern_allow([^LIBS$]) | |
695 | m4trace:configure.ac:56: -1- m4_pattern_allow([^LIB@&t@OBJS$]) | |
696 | m4trace:configure.ac:56: -1- m4_pattern_allow([^LTLIBOBJS$]) | |
697 | m4trace:configure.ac:56: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"]) | |
698 | m4trace:configure.ac:56: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS |
0 | m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11' | |
1 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | |
2 | dnl require some minimum version. Point them to the right macro. | |
3 | m4_if([$1], [1.11.1], [], | |
4 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | |
5 | ]) | |
6 | m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl | |
7 | m4_ifndef([AC_AUTOCONF_VERSION], | |
8 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | |
9 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) | |
10 | m4trace:/usr/share/aclocal-1.11/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. | |
11 | AC_PREREQ([2.50])dnl | |
12 | # expand $ac_aux_dir to an absolute path | |
13 | am_aux_dir=`cd $ac_aux_dir && pwd` | |
14 | ]) | |
15 | m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl | |
16 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
17 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
18 | AC_SUBST([$1_TRUE])dnl | |
19 | AC_SUBST([$1_FALSE])dnl | |
20 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl | |
21 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl | |
22 | m4_define([_AM_COND_VALUE_$1], [$2])dnl | |
23 | if $2; then | |
24 | $1_TRUE= | |
25 | $1_FALSE='#' | |
26 | else | |
27 | $1_TRUE='#' | |
28 | $1_FALSE= | |
29 | fi | |
30 | AC_CONFIG_COMMANDS_PRE( | |
31 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | |
32 | AC_MSG_ERROR([[conditional "$1" was never defined. | |
33 | Usually this means the macro was only invoked conditionally.]]) | |
34 | fi])]) | |
35 | m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl | |
36 | AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl | |
37 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl | |
38 | AC_REQUIRE([AM_DEP_TRACK])dnl | |
39 | ||
40 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | |
41 | [$1], CXX, [depcc="$CXX" am_compiler_list=], | |
42 | [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
43 | [$1], UPC, [depcc="$UPC" am_compiler_list=], | |
44 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
45 | [depcc="$$1" am_compiler_list=]) | |
46 | ||
47 | AC_CACHE_CHECK([dependency style of $depcc], | |
48 | [am_cv_$1_dependencies_compiler_type], | |
49 | [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
50 | # We make a subdir and do the tests there. Otherwise we can end up | |
51 | # making bogus files that we don't know about and never remove. For | |
52 | # instance it was reported that on HP-UX the gcc test will end up | |
53 | # making a dummy file named `D' -- because `-MD' means `put the output | |
54 | # in D'. | |
55 | mkdir conftest.dir | |
56 | # Copy depcomp to subdir because otherwise we won't find it if we're | |
57 | # using a relative directory. | |
58 | cp "$am_depcomp" conftest.dir | |
59 | cd conftest.dir | |
60 | # We will build objects and dependencies in a subdirectory because | |
61 | # it helps to detect inapplicable dependency modes. For instance | |
62 | # both Tru64's cc and ICC support -MD to output dependencies as a | |
63 | # side effect of compilation, but ICC will put the dependencies in | |
64 | # the current directory while Tru64 will put them in the object | |
65 | # directory. | |
66 | mkdir sub | |
67 | ||
68 | am_cv_$1_dependencies_compiler_type=none | |
69 | if test "$am_compiler_list" = ""; then | |
70 | am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` | |
71 | fi | |
72 | am__universal=false | |
73 | m4_case([$1], [CC], | |
74 | [case " $depcc " in #( | |
75 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
76 | esac], | |
77 | [CXX], | |
78 | [case " $depcc " in #( | |
79 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
80 | esac]) | |
81 | ||
82 | for depmode in $am_compiler_list; do | |
83 | # Setup a source with many dependencies, because some compilers | |
84 | # like to wrap large dependency lists on column 80 (with \), and | |
85 | # we should not choose a depcomp mode which is confused by this. | |
86 | # | |
87 | # We need to recreate these files for each test, as the compiler may | |
88 | # overwrite some of them when testing with obscure command lines. | |
89 | # This happens at least with the AIX C compiler. | |
90 | : > sub/conftest.c | |
91 | for i in 1 2 3 4 5 6; do | |
92 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
93 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
94 | # Solaris 8's {/usr,}/bin/sh. | |
95 | touch sub/conftst$i.h | |
96 | done | |
97 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
98 | ||
99 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
100 | # mode. It turns out that the SunPro C++ compiler does not properly | |
101 | # handle `-M -o', and we need to detect this. Also, some Intel | |
102 | # versions had trouble with output in subdirs | |
103 | am__obj=sub/conftest.${OBJEXT-o} | |
104 | am__minus_obj="-o $am__obj" | |
105 | case $depmode in | |
106 | gcc) | |
107 | # This depmode causes a compiler race in universal mode. | |
108 | test "$am__universal" = false || continue | |
109 | ;; | |
110 | nosideeffect) | |
111 | # after this tag, mechanisms are not by side-effect, so they'll | |
112 | # only be used when explicitly requested | |
113 | if test "x$enable_dependency_tracking" = xyes; then | |
114 | continue | |
115 | else | |
116 | break | |
117 | fi | |
118 | ;; | |
119 | msvisualcpp | msvcmsys) | |
120 | # This compiler won't grok `-c -o', but also, the minuso test has | |
121 | # not run yet. These depmodes are late enough in the game, and | |
122 | # so weak that their functioning should not be impacted. | |
123 | am__obj=conftest.${OBJEXT-o} | |
124 | am__minus_obj= | |
125 | ;; | |
126 | none) break ;; | |
127 | esac | |
128 | if depmode=$depmode \ | |
129 | source=sub/conftest.c object=$am__obj \ | |
130 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
131 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
132 | >/dev/null 2>conftest.err && | |
133 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
134 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
135 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
136 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
137 | # icc doesn't choke on unknown options, it will just issue warnings | |
138 | # or remarks (even with -Werror). So we grep stderr for any message | |
139 | # that says an option was ignored or not supported. | |
140 | # When given -MP, icc 7.0 and 7.1 complain thusly: | |
141 | # icc: Command line warning: ignoring option '-M'; no argument required | |
142 | # The diagnosis changed in icc 8.0: | |
143 | # icc: Command line remark: option '-MP' not supported | |
144 | if (grep 'ignoring option' conftest.err || | |
145 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
146 | am_cv_$1_dependencies_compiler_type=$depmode | |
147 | break | |
148 | fi | |
149 | fi | |
150 | done | |
151 | ||
152 | cd .. | |
153 | rm -rf conftest.dir | |
154 | else | |
155 | am_cv_$1_dependencies_compiler_type=none | |
156 | fi | |
157 | ]) | |
158 | AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) | |
159 | AM_CONDITIONAL([am__fastdep$1], [ | |
160 | test "x$enable_dependency_tracking" != xno \ | |
161 | && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) | |
162 | ]) | |
163 | m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl | |
164 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl | |
165 | ]) | |
166 | m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, | |
167 | [ --disable-dependency-tracking speeds up one-time build | |
168 | --enable-dependency-tracking do not reject slow dependency extractors]) | |
169 | if test "x$enable_dependency_tracking" != xno; then | |
170 | am_depcomp="$ac_aux_dir/depcomp" | |
171 | AMDEPBACKSLASH='\' | |
172 | fi | |
173 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | |
174 | AC_SUBST([AMDEPBACKSLASH])dnl | |
175 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl | |
176 | ]) | |
177 | m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ | |
178 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
179 | # are listed without --file. Let's play safe and only enable the eval | |
180 | # if we detect the quoting. | |
181 | case $CONFIG_FILES in | |
182 | *\'*) eval set x "$CONFIG_FILES" ;; | |
183 | *) set x $CONFIG_FILES ;; | |
184 | esac | |
185 | shift | |
186 | for mf | |
187 | do | |
188 | # Strip MF so we end up with the name of the file. | |
189 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
190 | # Check whether this is an Automake generated Makefile or not. | |
191 | # We used to match only the files named `Makefile.in', but | |
192 | # some people rename them; so instead we look at the file content. | |
193 | # Grep'ing the first line is not enough: some people post-process | |
194 | # each Makefile.in and add a new line on top of each file to say so. | |
195 | # Grep'ing the whole file is not good either: AIX grep has a line | |
196 | # limit of 2048, but all sed's we know have understand at least 4000. | |
197 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
198 | dirpart=`AS_DIRNAME("$mf")` | |
199 | else | |
200 | continue | |
201 | fi | |
202 | # Extract the definition of DEPDIR, am__include, and am__quote | |
203 | # from the Makefile without running `make'. | |
204 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
205 | test -z "$DEPDIR" && continue | |
206 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
207 | test -z "am__include" && continue | |
208 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
209 | # When using ansi2knr, U may be empty or an underscore; expand it | |
210 | U=`sed -n 's/^U = //p' < "$mf"` | |
211 | # Find all dependency output files, they are included files with | |
212 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
213 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
214 | # expansion. | |
215 | for file in `sed -n " | |
216 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
217 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
218 | # Make sure the directory exists. | |
219 | test -f "$dirpart/$file" && continue | |
220 | fdir=`AS_DIRNAME(["$file"])` | |
221 | AS_MKDIR_P([$dirpart/$fdir]) | |
222 | # echo "creating $dirpart/$file" | |
223 | echo '# dummy' > "$dirpart/$file" | |
224 | done | |
225 | done | |
226 | } | |
227 | ]) | |
228 | m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], | |
229 | [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], | |
230 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | |
231 | ]) | |
232 | m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl | |
233 | dnl Autoconf wants to disallow AM_ names. We explicitly allow | |
234 | dnl the ones we care about. | |
235 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl | |
236 | AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl | |
237 | AC_REQUIRE([AC_PROG_INSTALL])dnl | |
238 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
239 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
240 | # is not polluted with repeated "-I." | |
241 | AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl | |
242 | # test to see if srcdir already configured | |
243 | if test -f $srcdir/config.status; then | |
244 | AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) | |
245 | fi | |
246 | fi | |
247 | ||
248 | # test whether we have cygpath | |
249 | if test -z "$CYGPATH_W"; then | |
250 | if (cygpath --version) >/dev/null 2>/dev/null; then | |
251 | CYGPATH_W='cygpath -w' | |
252 | else | |
253 | CYGPATH_W=echo | |
254 | fi | |
255 | fi | |
256 | AC_SUBST([CYGPATH_W]) | |
257 | ||
258 | # Define the identity of the package. | |
259 | dnl Distinguish between old-style and new-style calls. | |
260 | m4_ifval([$2], | |
261 | [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
262 | AC_SUBST([PACKAGE], [$1])dnl | |
263 | AC_SUBST([VERSION], [$2])], | |
264 | [_AM_SET_OPTIONS([$1])dnl | |
265 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. | |
266 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | |
267 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl | |
268 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl | |
269 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl | |
270 | ||
271 | _AM_IF_OPTION([no-define],, | |
272 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
273 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | |
274 | ||
275 | # Some tools Automake needs. | |
276 | AC_REQUIRE([AM_SANITY_CHECK])dnl | |
277 | AC_REQUIRE([AC_ARG_PROGRAM])dnl | |
278 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | |
279 | AM_MISSING_PROG(AUTOCONF, autoconf) | |
280 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | |
281 | AM_MISSING_PROG(AUTOHEADER, autoheader) | |
282 | AM_MISSING_PROG(MAKEINFO, makeinfo) | |
283 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | |
284 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl | |
285 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | |
286 | # We need awk for the "check" target. The system "awk" is bad on | |
287 | # some platforms. | |
288 | AC_REQUIRE([AC_PROG_AWK])dnl | |
289 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl | |
290 | AC_REQUIRE([AM_SET_LEADING_DOT])dnl | |
291 | _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], | |
292 | [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | |
293 | [_AM_PROG_TAR([v7])])]) | |
294 | _AM_IF_OPTION([no-dependencies],, | |
295 | [AC_PROVIDE_IFELSE([AC_PROG_CC], | |
296 | [_AM_DEPENDENCIES(CC)], | |
297 | [define([AC_PROG_CC], | |
298 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | |
299 | AC_PROVIDE_IFELSE([AC_PROG_CXX], | |
300 | [_AM_DEPENDENCIES(CXX)], | |
301 | [define([AC_PROG_CXX], | |
302 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | |
303 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], | |
304 | [_AM_DEPENDENCIES(OBJC)], | |
305 | [define([AC_PROG_OBJC], | |
306 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | |
307 | ]) | |
308 | _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl | |
309 | dnl The `parallel-tests' driver may need to know about EXEEXT, so add the | |
310 | dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro | |
311 | dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. | |
312 | AC_CONFIG_COMMANDS_PRE(dnl | |
313 | [m4_provide_if([_AM_COMPILER_EXEEXT], | |
314 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl | |
315 | ]) | |
316 | m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. | |
317 | _am_arg=$1 | |
318 | _am_stamp_count=1 | |
319 | for _am_header in $config_headers :; do | |
320 | case $_am_header in | |
321 | $_am_arg | $_am_arg:* ) | |
322 | break ;; | |
323 | * ) | |
324 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | |
325 | esac | |
326 | done | |
327 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) | |
328 | m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
329 | if test x"${install_sh}" != xset; then | |
330 | case $am_aux_dir in | |
331 | *\ * | *\ *) | |
332 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
333 | *) | |
334 | install_sh="\${SHELL} $am_aux_dir/install-sh" | |
335 | esac | |
336 | fi | |
337 | AC_SUBST(install_sh)]) | |
338 | m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null | |
339 | mkdir .tst 2>/dev/null | |
340 | if test -d .tst; then | |
341 | am__leading_dot=. | |
342 | else | |
343 | am__leading_dot=_ | |
344 | fi | |
345 | rmdir .tst 2>/dev/null | |
346 | AC_SUBST([am__leading_dot])]) | |
347 | m4trace:/usr/share/aclocal-1.11/maintainer.m4:19: -1- AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]), | |
348 | [enable], [m4_define([am_maintainer_other], [disable])], | |
349 | [disable], [m4_define([am_maintainer_other], [enable])], | |
350 | [m4_define([am_maintainer_other], [enable]) | |
351 | m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) | |
352 | AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles]) | |
353 | dnl maintainer-mode's default is 'disable' unless 'enable' is passed | |
354 | AC_ARG_ENABLE([maintainer-mode], | |
355 | [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful | |
356 | (and sometimes confusing) to the casual installer], | |
357 | [USE_MAINTAINER_MODE=$enableval], | |
358 | [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) | |
359 | AC_MSG_RESULT([$USE_MAINTAINER_MODE]) | |
360 | AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) | |
361 | MAINT=$MAINTAINER_MODE_TRUE | |
362 | AC_SUBST([MAINT])dnl | |
363 | ||
364 | ]) | |
365 | m4trace:/usr/share/aclocal-1.11/maintainer.m4:39: -1- AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) | |
366 | m4trace:/usr/share/aclocal-1.11/maintainer.m4:39: -1- AC_DEFUN([jm_MAINTAINER_MODE], [AC_DIAGNOSE([obsolete], [The macro `jm_MAINTAINER_MODE' is obsolete. | |
367 | You should run autoupdate.])dnl | |
368 | AM_MAINTAINER_MODE]) | |
369 | m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} | |
370 | cat > confinc << 'END' | |
371 | am__doit: | |
372 | @echo this is the am__doit target | |
373 | .PHONY: am__doit | |
374 | END | |
375 | # If we don't find an include directive, just comment out the code. | |
376 | AC_MSG_CHECKING([for style of include used by $am_make]) | |
377 | am__include="#" | |
378 | am__quote= | |
379 | _am_result=none | |
380 | # First try GNU make style include. | |
381 | echo "include confinc" > confmf | |
382 | # Ignore all kinds of additional output from `make'. | |
383 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
384 | *the\ am__doit\ target*) | |
385 | am__include=include | |
386 | am__quote= | |
387 | _am_result=GNU | |
388 | ;; | |
389 | esac | |
390 | # Now try BSD make style include. | |
391 | if test "$am__include" = "#"; then | |
392 | echo '.include "confinc"' > confmf | |
393 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
394 | *the\ am__doit\ target*) | |
395 | am__include=.include | |
396 | am__quote="\"" | |
397 | _am_result=BSD | |
398 | ;; | |
399 | esac | |
400 | fi | |
401 | AC_SUBST([am__include]) | |
402 | AC_SUBST([am__quote]) | |
403 | AC_MSG_RESULT([$_am_result]) | |
404 | rm -f confinc confmf | |
405 | ]) | |
406 | m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) | |
407 | $1=${$1-"${am_missing_run}$2"} | |
408 | AC_SUBST($1)]) | |
409 | m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
410 | AC_REQUIRE_AUX_FILE([missing])dnl | |
411 | if test x"${MISSING+set}" != xset; then | |
412 | case $am_aux_dir in | |
413 | *\ * | *\ *) | |
414 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
415 | *) | |
416 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
417 | esac | |
418 | fi | |
419 | # Use eval to expand $SHELL | |
420 | if eval "$MISSING --run true"; then | |
421 | am_missing_run="$MISSING --run " | |
422 | else | |
423 | am_missing_run= | |
424 | AC_MSG_WARN([`missing' script is too old or missing]) | |
425 | fi | |
426 | ]) | |
427 | m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl | |
428 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
429 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | |
430 | dnl while keeping a definition of mkdir_p for backward compatibility. | |
431 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | |
432 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | |
433 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | |
434 | dnl adjustment using top_builddir (which is defined more often than | |
435 | dnl MKDIR_P). | |
436 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | |
437 | case $mkdir_p in | |
438 | [[\\/$]]* | ?:[[\\/]]*) ;; | |
439 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
440 | esac | |
441 | ]) | |
442 | m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) | |
443 | m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | |
444 | m4trace:/usr/share/aclocal-1.11/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) | |
445 | m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) | |
446 | m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD | |
447 | ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD | |
448 | ac_status=$? | |
449 | echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD | |
450 | (exit $ac_status); }]) | |
451 | m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) | |
452 | # Just in case | |
453 | sleep 1 | |
454 | echo timestamp > conftest.file | |
455 | # Reject unsafe characters in $srcdir or the absolute working directory | |
456 | # name. Accept space and tab only in the latter. | |
457 | am_lf=' | |
458 | ' | |
459 | case `pwd` in | |
460 | *[[\\\"\#\$\&\'\`$am_lf]]*) | |
461 | AC_MSG_ERROR([unsafe absolute working directory name]);; | |
462 | esac | |
463 | case $srcdir in | |
464 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) | |
465 | AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; | |
466 | esac | |
467 | ||
468 | # Do `set' in a subshell so we don't clobber the current shell's | |
469 | # arguments. Must try -L first in case configure is actually a | |
470 | # symlink; some systems play weird games with the mod time of symlinks | |
471 | # (eg FreeBSD returns the mod time of the symlink's containing | |
472 | # directory). | |
473 | if ( | |
474 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
475 | if test "$[*]" = "X"; then | |
476 | # -L didn't work. | |
477 | set X `ls -t "$srcdir/configure" conftest.file` | |
478 | fi | |
479 | rm -f conftest.file | |
480 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
481 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
482 | ||
483 | # If neither matched, then we have a broken ls. This can happen | |
484 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
485 | # broken ls alias from the environment. This has actually | |
486 | # happened. Such a system could not be considered "sane". | |
487 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
488 | alias in your environment]) | |
489 | fi | |
490 | ||
491 | test "$[2]" = conftest.file | |
492 | ) | |
493 | then | |
494 | # Ok. | |
495 | : | |
496 | else | |
497 | AC_MSG_ERROR([newly created file is older than distributed files! | |
498 | Check your system clock]) | |
499 | fi | |
500 | AC_MSG_RESULT(yes)]) | |
501 | m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], | |
502 | [ --enable-silent-rules less verbose build output (undo: `make V=1') | |
503 | --disable-silent-rules verbose build output (undo: `make V=0')]) | |
504 | case $enable_silent_rules in | |
505 | yes) AM_DEFAULT_VERBOSITY=0;; | |
506 | no) AM_DEFAULT_VERBOSITY=1;; | |
507 | *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; | |
508 | esac | |
509 | AC_SUBST([AM_DEFAULT_VERBOSITY])dnl | |
510 | AM_BACKSLASH='\' | |
511 | AC_SUBST([AM_BACKSLASH])dnl | |
512 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl | |
513 | ]) | |
514 | m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | |
515 | # Installed binaries are usually stripped using `strip' when the user | |
516 | # run `make install-strip'. However `strip' might not be the right | |
517 | # tool to use in cross-compilation environments, therefore Automake | |
518 | # will honor the `STRIP' environment variable to overrule this program. | |
519 | dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | |
520 | if test "$cross_compiling" != no; then | |
521 | AC_CHECK_TOOL([STRIP], [strip], :) | |
522 | fi | |
523 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
524 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) | |
525 | m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE]) | |
526 | m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | |
527 | m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. | |
528 | AM_MISSING_PROG([AMTAR], [tar]) | |
529 | m4_if([$1], [v7], | |
530 | [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], | |
531 | [m4_case([$1], [ustar],, [pax],, | |
532 | [m4_fatal([Unknown tar format])]) | |
533 | AC_MSG_CHECKING([how to create a $1 tar archive]) | |
534 | # Loop over all known methods to create a tar archive until one works. | |
535 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | |
536 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | |
537 | # Do not fold the above two line into one, because Tru64 sh and | |
538 | # Solaris sh will not grok spaces in the rhs of `-'. | |
539 | for _am_tool in $_am_tools | |
540 | do | |
541 | case $_am_tool in | |
542 | gnutar) | |
543 | for _am_tar in tar gnutar gtar; | |
544 | do | |
545 | AM_RUN_LOG([$_am_tar --version]) && break | |
546 | done | |
547 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | |
548 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | |
549 | am__untar="$_am_tar -xf -" | |
550 | ;; | |
551 | plaintar) | |
552 | # Must skip GNU tar: if it does not support --format= it doesn't create | |
553 | # ustar tarball either. | |
554 | (tar --version) >/dev/null 2>&1 && continue | |
555 | am__tar='tar chf - "$$tardir"' | |
556 | am__tar_='tar chf - "$tardir"' | |
557 | am__untar='tar xf -' | |
558 | ;; | |
559 | pax) | |
560 | am__tar='pax -L -x $1 -w "$$tardir"' | |
561 | am__tar_='pax -L -x $1 -w "$tardir"' | |
562 | am__untar='pax -r' | |
563 | ;; | |
564 | cpio) | |
565 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | |
566 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | |
567 | am__untar='cpio -i -H $1 -d' | |
568 | ;; | |
569 | none) | |
570 | am__tar=false | |
571 | am__tar_=false | |
572 | am__untar=false | |
573 | ;; | |
574 | esac | |
575 | ||
576 | # If the value was cached, stop now. We just wanted to have am__tar | |
577 | # and am__untar set. | |
578 | test -n "${am_cv_prog_tar_$1}" && break | |
579 | ||
580 | # tar/untar a dummy directory, and stop if the command works | |
581 | rm -rf conftest.dir | |
582 | mkdir conftest.dir | |
583 | echo GrepMe > conftest.dir/file | |
584 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | |
585 | rm -rf conftest.dir | |
586 | if test -s conftest.tar; then | |
587 | AM_RUN_LOG([$am__untar <conftest.tar]) | |
588 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | |
589 | fi | |
590 | done | |
591 | rm -rf conftest.dir | |
592 | ||
593 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | |
594 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | |
595 | AC_SUBST([am__tar]) | |
596 | AC_SUBST([am__untar]) | |
597 | ]) | |
598 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_]) | |
599 | m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_]) | |
600 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) | |
601 | m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$]) | |
602 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_]) | |
603 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$]) | |
604 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_]) | |
605 | m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$]) | |
606 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$]) | |
607 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) | |
608 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) | |
609 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) | |
610 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) | |
611 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) | |
612 | m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$]) | |
613 | m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$]) | |
614 | m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$]) | |
615 | m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$]) | |
616 | m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$]) | |
617 | m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$]) | |
618 | m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$]) | |
619 | m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$]) | |
620 | m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$]) | |
621 | m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$]) | |
622 | m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$]) | |
623 | m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$]) | |
624 | m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$]) | |
625 | m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$]) | |
626 | m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$]) | |
627 | m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$]) | |
628 | m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$]) | |
629 | m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$]) | |
630 | m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$]) | |
631 | m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$]) | |
632 | m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$]) | |
633 | m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$]) | |
634 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) | |
635 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) | |
636 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) | |
637 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) | |
638 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) | |
639 | m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$]) | |
640 | m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$]) | |
641 | m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$]) | |
642 | m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$]) | |
643 | m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$]) | |
644 | m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$]) | |
645 | m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$]) | |
646 | m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$]) | |
647 | m4trace:configure.ac:12: -1- AM_INIT_AUTOMAKE | |
648 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) | |
649 | m4trace:configure.ac:12: -1- AM_SET_CURRENT_AUTOMAKE_VERSION | |
650 | m4trace:configure.ac:12: -1- AM_AUTOMAKE_VERSION([1.11.1]) | |
651 | m4trace:configure.ac:12: -1- _AM_AUTOCONF_VERSION([2.63]) | |
652 | m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) | |
653 | m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) | |
654 | m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_DATA$]) | |
655 | m4trace:configure.ac:12: -1- m4_pattern_allow([^am__isrc$]) | |
656 | m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__isrc]) | |
657 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CYGPATH_W$]) | |
658 | m4trace:configure.ac:12: -1- _AM_SET_OPTIONS([]) | |
659 | m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE$]) | |
660 | m4trace:configure.ac:12: -1- m4_pattern_allow([^VERSION$]) | |
661 | m4trace:configure.ac:12: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
662 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])]) | |
663 | m4trace:configure.ac:12: -2- _AM_MANGLE_OPTION([no-define]) | |
664 | m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE$]) | |
665 | m4trace:configure.ac:12: -1- m4_pattern_allow([^VERSION$]) | |
666 | m4trace:configure.ac:12: -1- AM_SANITY_CHECK | |
667 | m4trace:configure.ac:12: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) | |
668 | m4trace:configure.ac:12: -1- AM_MISSING_HAS_RUN | |
669 | m4trace:configure.ac:12: -1- AM_AUX_DIR_EXPAND | |
670 | m4trace:configure.ac:12: -1- m4_pattern_allow([^ACLOCAL$]) | |
671 | m4trace:configure.ac:12: -1- AM_MISSING_PROG([AUTOCONF], [autoconf]) | |
672 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AUTOCONF$]) | |
673 | m4trace:configure.ac:12: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) | |
674 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AUTOMAKE$]) | |
675 | m4trace:configure.ac:12: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader]) | |
676 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AUTOHEADER$]) | |
677 | m4trace:configure.ac:12: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo]) | |
678 | m4trace:configure.ac:12: -1- m4_pattern_allow([^MAKEINFO$]) | |
679 | m4trace:configure.ac:12: -1- AM_PROG_INSTALL_SH | |
680 | m4trace:configure.ac:12: -1- m4_pattern_allow([^install_sh$]) | |
681 | m4trace:configure.ac:12: -1- AM_PROG_INSTALL_STRIP | |
682 | m4trace:configure.ac:12: -1- m4_pattern_allow([^STRIP$]) | |
683 | m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) | |
684 | m4trace:configure.ac:12: -1- AM_PROG_MKDIR_P | |
685 | m4trace:configure.ac:12: -1- m4_pattern_allow([^MKDIR_P$]) | |
686 | m4trace:configure.ac:12: -1- m4_pattern_allow([^mkdir_p$]) | |
687 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AWK$]) | |
688 | m4trace:configure.ac:12: -1- m4_pattern_allow([^SET_MAKE$]) | |
689 | m4trace:configure.ac:12: -1- AM_SET_LEADING_DOT | |
690 | m4trace:configure.ac:12: -1- m4_pattern_allow([^am__leading_dot$]) | |
691 | m4trace:configure.ac:12: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | |
692 | [_AM_PROG_TAR([v7])])]) | |
693 | m4trace:configure.ac:12: -2- _AM_MANGLE_OPTION([tar-ustar]) | |
694 | m4trace:configure.ac:12: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])]) | |
695 | m4trace:configure.ac:12: -2- _AM_MANGLE_OPTION([tar-pax]) | |
696 | m4trace:configure.ac:12: -1- _AM_PROG_TAR([v7]) | |
697 | m4trace:configure.ac:12: -1- AM_MISSING_PROG([AMTAR], [tar]) | |
698 | m4trace:configure.ac:12: -1- m4_pattern_allow([^AMTAR$]) | |
699 | m4trace:configure.ac:12: -1- m4_pattern_allow([^am__tar$]) | |
700 | m4trace:configure.ac:12: -1- m4_pattern_allow([^am__untar$]) | |
701 | m4trace:configure.ac:12: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC], | |
702 | [_AM_DEPENDENCIES(CC)], | |
703 | [define([AC_PROG_CC], | |
704 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | |
705 | AC_PROVIDE_IFELSE([AC_PROG_CXX], | |
706 | [_AM_DEPENDENCIES(CXX)], | |
707 | [define([AC_PROG_CXX], | |
708 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | |
709 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], | |
710 | [_AM_DEPENDENCIES(OBJC)], | |
711 | [define([AC_PROG_OBJC], | |
712 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | |
713 | ]) | |
714 | m4trace:configure.ac:12: -2- _AM_MANGLE_OPTION([no-dependencies]) | |
715 | m4trace:configure.ac:12: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])]) | |
716 | m4trace:configure.ac:12: -2- _AM_MANGLE_OPTION([silent-rules]) | |
717 | m4trace:configure.ac:25: -1- AM_MAINTAINER_MODE | |
718 | m4trace:configure.ac:25: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) | |
719 | m4trace:configure.ac:25: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$]) | |
720 | m4trace:configure.ac:25: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$]) | |
721 | m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE]) | |
722 | m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE]) | |
723 | m4trace:configure.ac:25: -1- m4_pattern_allow([^MAINT$]) | |
724 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) | |
725 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CFLAGS$]) | |
726 | m4trace:configure.ac:28: -1- m4_pattern_allow([^LDFLAGS$]) | |
727 | m4trace:configure.ac:28: -1- m4_pattern_allow([^LIBS$]) | |
728 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CPPFLAGS$]) | |
729 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) | |
730 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) | |
731 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) | |
732 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) | |
733 | m4trace:configure.ac:28: -1- m4_pattern_allow([^ac_ct_CC$]) | |
734 | m4trace:configure.ac:28: -1- m4_pattern_allow([^EXEEXT$]) | |
735 | m4trace:configure.ac:28: -1- m4_pattern_allow([^OBJEXT$]) | |
736 | m4trace:configure.ac:28: -1- _AM_DEPENDENCIES([CC]) | |
737 | m4trace:configure.ac:28: -1- AM_SET_DEPDIR | |
738 | m4trace:configure.ac:28: -1- m4_pattern_allow([^DEPDIR$]) | |
739 | m4trace:configure.ac:28: -1- AM_OUTPUT_DEPENDENCY_COMMANDS | |
740 | m4trace:configure.ac:28: -1- AM_MAKE_INCLUDE | |
741 | m4trace:configure.ac:28: -1- m4_pattern_allow([^am__include$]) | |
742 | m4trace:configure.ac:28: -1- m4_pattern_allow([^am__quote$]) | |
743 | m4trace:configure.ac:28: -1- AM_DEP_TRACK | |
744 | m4trace:configure.ac:28: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | |
745 | m4trace:configure.ac:28: -1- m4_pattern_allow([^AMDEP_TRUE$]) | |
746 | m4trace:configure.ac:28: -1- m4_pattern_allow([^AMDEP_FALSE$]) | |
747 | m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) | |
748 | m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) | |
749 | m4trace:configure.ac:28: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) | |
750 | m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) | |
751 | m4trace:configure.ac:28: -1- m4_pattern_allow([^CCDEPMODE$]) | |
752 | m4trace:configure.ac:28: -1- AM_CONDITIONAL([am__fastdepCC], [ | |
753 | test "x$enable_dependency_tracking" != xno \ | |
754 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) | |
755 | m4trace:configure.ac:28: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) | |
756 | m4trace:configure.ac:28: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) | |
757 | m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) | |
758 | m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) | |
759 | m4trace:configure.ac:29: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) | |
760 | m4trace:configure.ac:29: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) | |
761 | m4trace:configure.ac:29: -1- m4_pattern_allow([^INSTALL_DATA$]) | |
762 | m4trace:configure.ac:32: -1- m4_pattern_allow([^CPP$]) | |
763 | m4trace:configure.ac:32: -1- m4_pattern_allow([^CPPFLAGS$]) | |
764 | m4trace:configure.ac:32: -1- m4_pattern_allow([^CPP$]) | |
765 | m4trace:configure.ac:32: -1- m4_pattern_allow([^GREP$]) | |
766 | m4trace:configure.ac:32: -1- m4_pattern_allow([^EGREP$]) | |
767 | m4trace:configure.ac:32: -1- m4_pattern_allow([^STDC_HEADERS$]) | |
768 | m4trace:configure.ac:41: -1- m4_pattern_allow([^HAVE_MALLOC$]) | |
769 | m4trace:configure.ac:41: -1- m4_pattern_allow([^HAVE_MALLOC$]) | |
770 | m4trace:configure.ac:41: -1- m4_pattern_allow([^LIB@&t@OBJS$]) | |
771 | m4trace:configure.ac:41: -1- m4_pattern_allow([^malloc$]) | |
772 | m4trace:configure.ac:44: -1- m4_pattern_allow([^build$]) | |
773 | m4trace:configure.ac:44: -1- m4_pattern_allow([^build_cpu$]) | |
774 | m4trace:configure.ac:44: -1- m4_pattern_allow([^build_vendor$]) | |
775 | m4trace:configure.ac:44: -1- m4_pattern_allow([^build_os$]) | |
776 | m4trace:configure.ac:44: -1- m4_pattern_allow([^host$]) | |
777 | m4trace:configure.ac:44: -1- m4_pattern_allow([^host_cpu$]) | |
778 | m4trace:configure.ac:44: -1- m4_pattern_allow([^host_vendor$]) | |
779 | m4trace:configure.ac:44: -1- m4_pattern_allow([^host_os$]) | |
780 | m4trace:configure.ac:46: -1- m4_pattern_allow([^LIBS$]) | |
781 | m4trace:configure.ac:47: -1- m4_pattern_allow([^LIBS$]) | |
782 | m4trace:configure.ac:57: -1- m4_pattern_allow([^LIB@&t@OBJS$]) | |
783 | m4trace:configure.ac:57: -1- m4_pattern_allow([^LTLIBOBJS$]) | |
784 | m4trace:configure.ac:57: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) | |
785 | m4trace:configure.ac:57: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) | |
786 | m4trace:configure.ac:57: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) | |
787 | m4trace:configure.ac:57: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) | |
788 | m4trace:configure.ac:57: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) | |
789 | m4trace:configure.ac:57: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"]) | |
790 | m4trace:configure.ac:57: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS |
0 | /*============================================================================= | |
1 | GNU UnRTF, a command-line program to convert RTF documents to other formats. | |
2 | Copyright (C) 2000,2001,2004 by Zachary Smith | |
3 | ||
4 | This program is free software; you can redistribute it and/or modify | |
5 | it under the terms of the GNU General Public License as published by | |
6 | the Free Software Foundation; either version 3 of the License, or | |
7 | (at your option) any later version. | |
8 | ||
9 | This program is distributed in the hope that it will be useful, | |
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | GNU General Public License for more details. | |
13 | ||
14 | You should have received a copy of the GNU General Public License | |
15 | along with this program; if not, write to the Free Software | |
16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
17 | ||
18 | The maintainer is reachable by electronic mail at daved@physiol.usyd.edu.au | |
19 | =============================================================================*/ | |
20 | ||
21 | ||
22 | /*---------------------------------------------------------------------- | |
23 | * Module name: malloc | |
24 | * Author name: Zachary Smith | |
25 | * Create date: 01 Aug 01 | |
26 | * Purpose: Memory management. Allows us to keep track of how | |
27 | * much memory is being used. | |
28 | *---------------------------------------------------------------------- | |
29 | * Changes: | |
30 | * 14 Aug 01, tuorfa@yahoo.com: added Turbo C support. | |
31 | * 16 Aug 01, Lars Unger <l.unger@tu-bs.de>: added Amiga/GCC support. | |
32 | * 22 Sep 01, tuorfa@yahoo.com: added function-level comment blocks | |
33 | * 28 Sep 01, tuorfa@yahoo.com: removed Turbo C support. | |
34 | * 08 Oct 03, daved@physiol.usyd.edu.au: added stdlib.h for linux | |
35 | * 29 Mar 05, daved@physiol.usyd.edu.au: changes requested by ZT Smith | |
36 | * 16 Dec 07, daved@physiol.usyd.edu.au: updated to GPL v3 | |
37 | * 09 Nov 08, arkadiusz.firus@gmail.com: added my_realloc | |
38 | *--------------------------------------------------------------------*/ | |
39 | ||
40 | #ifdef HAVE_CONFIG_H | |
41 | #include <config.h> | |
42 | #endif | |
43 | ||
44 | #ifdef HAVE_STDIO_H | |
45 | #include <stdio.h> | |
46 | #endif | |
47 | ||
48 | #ifdef HAVE_STDLIB_H | |
49 | #include <stdlib.h> | |
50 | #endif | |
51 | ||
52 | #ifdef HAVE_STRING_H | |
53 | #include <string.h> | |
54 | #endif | |
55 | ||
56 | #include "error.h" | |
57 | #include "malloc.h" | |
58 | ||
59 | static unsigned long count=0; | |
60 | ||
61 | /*======================================================================== | |
62 | * Name: my_malloc | |
63 | * Purpose: Internal version of malloc necessary for record keeping. | |
64 | * Args: Amount. | |
65 | * Returns: Pointer. | |
66 | *=======================================================================*/ | |
67 | ||
68 | char * | |
69 | my_malloc (unsigned long size) { | |
70 | char *ptr; | |
71 | ||
72 | ptr = malloc (size); | |
73 | if (ptr) | |
74 | count += size; | |
75 | ||
76 | return ptr; | |
77 | } | |
78 | ||
79 | /*======================================================================== | |
80 | * Name: my_free | |
81 | * Purpose: Internal version of free necessary for record keeping. | |
82 | * Args: Pointer. | |
83 | * Returns: None. | |
84 | *=======================================================================*/ | |
85 | ||
86 | void | |
87 | my_free (char* ptr) { | |
88 | CHECK_PARAM_NOT_NULL(ptr); | |
89 | ||
90 | free (ptr); | |
91 | } | |
92 | ||
93 | #if 1 /* AK3 - AF */ | |
94 | /*======================================================================== | |
95 | * Name: my_realloc | |
96 | * Purpose: Internal version of realloc necessary for record keeping. | |
97 | * Args: Pointer. | |
98 | * Returns: None. | |
99 | *=======================================================================*/ | |
100 | char * | |
101 | my_realloc(char *ptr, unsigned long old_size, unsigned long new_size) | |
102 | { | |
103 | char *new_ptr = my_malloc(new_size); | |
104 | ||
105 | if (new_ptr != NULL) | |
106 | memcpy(new_ptr, ptr, old_size); | |
107 | ||
108 | my_free(ptr); | |
109 | ||
110 | return new_ptr; | |
111 | } | |
112 | #endif | |
113 | ||
114 | /*======================================================================== | |
115 | * Name: total_malloced | |
116 | * Purpose: Returns total amount of memory thus far allocated. Called at | |
117 | * the end of main() when in debug mode. | |
118 | * Args: None. | |
119 | * Returns: Amount. | |
120 | *=======================================================================*/ | |
121 | ||
122 | unsigned long | |
123 | total_malloced (void) { | |
124 | return count; | |
125 | } | |
126 | ||
127 | ||
128 | ||
129 | /*======================================================================== | |
130 | * Name: my_strdup | |
131 | * Purpose: Internal version of strdup necessary for record keeping. | |
132 | * Args: String. | |
133 | * Returns: String. | |
134 | *=======================================================================*/ | |
135 | ||
136 | char * | |
137 | my_strdup (char *src) { | |
138 | unsigned long len; | |
139 | char *ptr; | |
140 | ||
141 | CHECK_PARAM_NOT_NULL(src); | |
142 | ||
143 | len = strlen(src); | |
144 | ptr = my_malloc (len+1); | |
145 | if (!ptr) | |
146 | error_handler ("out of memory in strdup()"); | |
147 | ||
148 | strcpy (ptr, src); | |
149 | return ptr; | |
150 | } | |
151 |