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