1 | #! /bin/sh |
---|
2 | # Guess values for system-dependent variables and create Makefiles. |
---|
3 | # Generated by GNU Autoconf 2.68 for cfa-cc 1.0.0.0. |
---|
4 | # |
---|
5 | # Report bugs to <cforall@plg.uwaterloo.ca>. |
---|
6 | # |
---|
7 | # |
---|
8 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
9 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
---|
10 | # Foundation, Inc. |
---|
11 | # |
---|
12 | # |
---|
13 | # This configure script is free software; the Free Software Foundation |
---|
14 | # gives unlimited permission to copy, distribute and modify it. |
---|
15 | ## -------------------- ## |
---|
16 | ## M4sh Initialization. ## |
---|
17 | ## -------------------- ## |
---|
18 | |
---|
19 | # Be more Bourne compatible |
---|
20 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
21 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
22 | emulate sh |
---|
23 | NULLCMD=: |
---|
24 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
25 | # is contrary to our usage. Disable this feature. |
---|
26 | alias -g '${1+"$@"}'='"$@"' |
---|
27 | setopt NO_GLOB_SUBST |
---|
28 | else |
---|
29 | case `(set -o) 2>/dev/null` in #( |
---|
30 | *posix*) : |
---|
31 | set -o posix ;; #( |
---|
32 | *) : |
---|
33 | ;; |
---|
34 | esac |
---|
35 | fi |
---|
36 | |
---|
37 | |
---|
38 | as_nl=' |
---|
39 | ' |
---|
40 | export as_nl |
---|
41 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
42 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
43 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
44 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
45 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
46 | # but without wasting forks for bash or zsh. |
---|
47 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
48 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
49 | as_echo='print -r --' |
---|
50 | as_echo_n='print -rn --' |
---|
51 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
52 | as_echo='printf %s\n' |
---|
53 | as_echo_n='printf %s' |
---|
54 | else |
---|
55 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
56 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
57 | as_echo_n='/usr/ucb/echo -n' |
---|
58 | else |
---|
59 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
60 | as_echo_n_body='eval |
---|
61 | arg=$1; |
---|
62 | case $arg in #( |
---|
63 | *"$as_nl"*) |
---|
64 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
65 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
66 | esac; |
---|
67 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
68 | ' |
---|
69 | export as_echo_n_body |
---|
70 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
71 | fi |
---|
72 | export as_echo_body |
---|
73 | as_echo='sh -c $as_echo_body as_echo' |
---|
74 | fi |
---|
75 | |
---|
76 | # The user is always right. |
---|
77 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
78 | PATH_SEPARATOR=: |
---|
79 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
80 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
81 | PATH_SEPARATOR=';' |
---|
82 | } |
---|
83 | fi |
---|
84 | |
---|
85 | |
---|
86 | # IFS |
---|
87 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
88 | # there to prevent editors from complaining about space-tab. |
---|
89 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
90 | # splitting by setting IFS to empty value.) |
---|
91 | IFS=" "" $as_nl" |
---|
92 | |
---|
93 | # Find who we are. Look in the path if we contain no directory separator. |
---|
94 | as_myself= |
---|
95 | case $0 in #(( |
---|
96 | *[\\/]* ) as_myself=$0 ;; |
---|
97 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
98 | for as_dir in $PATH |
---|
99 | do |
---|
100 | IFS=$as_save_IFS |
---|
101 | test -z "$as_dir" && as_dir=. |
---|
102 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
103 | done |
---|
104 | IFS=$as_save_IFS |
---|
105 | |
---|
106 | ;; |
---|
107 | esac |
---|
108 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
109 | # in which case we are not to be found in the path. |
---|
110 | if test "x$as_myself" = x; then |
---|
111 | as_myself=$0 |
---|
112 | fi |
---|
113 | if test ! -f "$as_myself"; then |
---|
114 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
115 | exit 1 |
---|
116 | fi |
---|
117 | |
---|
118 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
119 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
120 | # suppresses any "Segmentation fault" message there. '((' could |
---|
121 | # trigger a bug in pdksh 5.2.14. |
---|
122 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
123 | do eval test x\${$as_var+set} = xset \ |
---|
124 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && 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 | # CDPATH. |
---|
137 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
138 | |
---|
139 | if test "x$CONFIG_SHELL" = x; then |
---|
140 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
---|
141 | emulate sh |
---|
142 | NULLCMD=: |
---|
143 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
---|
144 | # is contrary to our usage. Disable this feature. |
---|
145 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
---|
146 | setopt NO_GLOB_SUBST |
---|
147 | else |
---|
148 | case \`(set -o) 2>/dev/null\` in #( |
---|
149 | *posix*) : |
---|
150 | set -o posix ;; #( |
---|
151 | *) : |
---|
152 | ;; |
---|
153 | esac |
---|
154 | fi |
---|
155 | " |
---|
156 | as_required="as_fn_return () { (exit \$1); } |
---|
157 | as_fn_success () { as_fn_return 0; } |
---|
158 | as_fn_failure () { as_fn_return 1; } |
---|
159 | as_fn_ret_success () { return 0; } |
---|
160 | as_fn_ret_failure () { return 1; } |
---|
161 | |
---|
162 | exitcode=0 |
---|
163 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
---|
164 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
---|
165 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
---|
166 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
---|
167 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
---|
168 | |
---|
169 | else |
---|
170 | exitcode=1; echo positional parameters were not saved. |
---|
171 | fi |
---|
172 | test x\$exitcode = x0 || exit 1" |
---|
173 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
---|
174 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
---|
175 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
---|
176 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
---|
177 | test \$(( 1 + 1 )) = 2 || exit 1" |
---|
178 | if (eval "$as_required") 2>/dev/null; then : |
---|
179 | as_have_required=yes |
---|
180 | else |
---|
181 | as_have_required=no |
---|
182 | fi |
---|
183 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
---|
184 | |
---|
185 | else |
---|
186 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
187 | as_found=false |
---|
188 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
189 | do |
---|
190 | IFS=$as_save_IFS |
---|
191 | test -z "$as_dir" && as_dir=. |
---|
192 | as_found=: |
---|
193 | case $as_dir in #( |
---|
194 | /*) |
---|
195 | for as_base in sh bash ksh sh5; do |
---|
196 | # Try only shells that exist, to save several forks. |
---|
197 | as_shell=$as_dir/$as_base |
---|
198 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
---|
199 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
200 | CONFIG_SHELL=$as_shell as_have_required=yes |
---|
201 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
202 | break 2 |
---|
203 | fi |
---|
204 | fi |
---|
205 | done;; |
---|
206 | esac |
---|
207 | as_found=false |
---|
208 | done |
---|
209 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
---|
210 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
---|
211 | CONFIG_SHELL=$SHELL as_have_required=yes |
---|
212 | fi; } |
---|
213 | IFS=$as_save_IFS |
---|
214 | |
---|
215 | |
---|
216 | if test "x$CONFIG_SHELL" != x; then : |
---|
217 | # We cannot yet assume a decent shell, so we have to provide a |
---|
218 | # neutralization value for shells without unset; and this also |
---|
219 | # works around shells that cannot unset nonexistent variables. |
---|
220 | # Preserve -v and -x to the replacement shell. |
---|
221 | BASH_ENV=/dev/null |
---|
222 | ENV=/dev/null |
---|
223 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
224 | export CONFIG_SHELL |
---|
225 | case $- in # (((( |
---|
226 | *v*x* | *x*v* ) as_opts=-vx ;; |
---|
227 | *v* ) as_opts=-v ;; |
---|
228 | *x* ) as_opts=-x ;; |
---|
229 | * ) as_opts= ;; |
---|
230 | esac |
---|
231 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
---|
232 | fi |
---|
233 | |
---|
234 | if test x$as_have_required = xno; then : |
---|
235 | $as_echo "$0: This script requires a shell more modern than all" |
---|
236 | $as_echo "$0: the shells that I found on your system." |
---|
237 | if test x${ZSH_VERSION+set} = xset ; then |
---|
238 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
---|
239 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
---|
240 | else |
---|
241 | $as_echo "$0: Please tell bug-autoconf@gnu.org and |
---|
242 | $0: cforall@plg.uwaterloo.ca about your system, including |
---|
243 | $0: any error possibly output before this message. Then |
---|
244 | $0: install a modern shell, or manually run the script |
---|
245 | $0: under such a shell if you do have one." |
---|
246 | fi |
---|
247 | exit 1 |
---|
248 | fi |
---|
249 | fi |
---|
250 | fi |
---|
251 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
252 | export SHELL |
---|
253 | # Unset more variables known to interfere with behavior of common tools. |
---|
254 | CLICOLOR_FORCE= GREP_OPTIONS= |
---|
255 | unset CLICOLOR_FORCE GREP_OPTIONS |
---|
256 | |
---|
257 | ## --------------------- ## |
---|
258 | ## M4sh Shell Functions. ## |
---|
259 | ## --------------------- ## |
---|
260 | # as_fn_unset VAR |
---|
261 | # --------------- |
---|
262 | # Portably unset VAR. |
---|
263 | as_fn_unset () |
---|
264 | { |
---|
265 | { eval $1=; unset $1;} |
---|
266 | } |
---|
267 | as_unset=as_fn_unset |
---|
268 | |
---|
269 | # as_fn_set_status STATUS |
---|
270 | # ----------------------- |
---|
271 | # Set $? to STATUS, without forking. |
---|
272 | as_fn_set_status () |
---|
273 | { |
---|
274 | return $1 |
---|
275 | } # as_fn_set_status |
---|
276 | |
---|
277 | # as_fn_exit STATUS |
---|
278 | # ----------------- |
---|
279 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
280 | as_fn_exit () |
---|
281 | { |
---|
282 | set +e |
---|
283 | as_fn_set_status $1 |
---|
284 | exit $1 |
---|
285 | } # as_fn_exit |
---|
286 | |
---|
287 | # as_fn_mkdir_p |
---|
288 | # ------------- |
---|
289 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
290 | as_fn_mkdir_p () |
---|
291 | { |
---|
292 | |
---|
293 | case $as_dir in #( |
---|
294 | -*) as_dir=./$as_dir;; |
---|
295 | esac |
---|
296 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
297 | as_dirs= |
---|
298 | while :; do |
---|
299 | case $as_dir in #( |
---|
300 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
301 | *) as_qdir=$as_dir;; |
---|
302 | esac |
---|
303 | as_dirs="'$as_qdir' $as_dirs" |
---|
304 | as_dir=`$as_dirname -- "$as_dir" || |
---|
305 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
306 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
307 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
308 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
309 | $as_echo X"$as_dir" | |
---|
310 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
311 | s//\1/ |
---|
312 | q |
---|
313 | } |
---|
314 | /^X\(\/\/\)[^/].*/{ |
---|
315 | s//\1/ |
---|
316 | q |
---|
317 | } |
---|
318 | /^X\(\/\/\)$/{ |
---|
319 | s//\1/ |
---|
320 | q |
---|
321 | } |
---|
322 | /^X\(\/\).*/{ |
---|
323 | s//\1/ |
---|
324 | q |
---|
325 | } |
---|
326 | s/.*/./; q'` |
---|
327 | test -d "$as_dir" && break |
---|
328 | done |
---|
329 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
330 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
331 | |
---|
332 | |
---|
333 | } # as_fn_mkdir_p |
---|
334 | # as_fn_append VAR VALUE |
---|
335 | # ---------------------- |
---|
336 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
337 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
338 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
339 | # implementations. |
---|
340 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
341 | eval 'as_fn_append () |
---|
342 | { |
---|
343 | eval $1+=\$2 |
---|
344 | }' |
---|
345 | else |
---|
346 | as_fn_append () |
---|
347 | { |
---|
348 | eval $1=\$$1\$2 |
---|
349 | } |
---|
350 | fi # as_fn_append |
---|
351 | |
---|
352 | # as_fn_arith ARG... |
---|
353 | # ------------------ |
---|
354 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
355 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
356 | # must be portable across $(()) and expr. |
---|
357 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
358 | eval 'as_fn_arith () |
---|
359 | { |
---|
360 | as_val=$(( $* )) |
---|
361 | }' |
---|
362 | else |
---|
363 | as_fn_arith () |
---|
364 | { |
---|
365 | as_val=`expr "$@" || test $? -eq 1` |
---|
366 | } |
---|
367 | fi # as_fn_arith |
---|
368 | |
---|
369 | |
---|
370 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
371 | # ---------------------------------------- |
---|
372 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
373 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
374 | # script with STATUS, using 1 if that was 0. |
---|
375 | as_fn_error () |
---|
376 | { |
---|
377 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
378 | if test "$4"; then |
---|
379 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
380 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
381 | fi |
---|
382 | $as_echo "$as_me: error: $2" >&2 |
---|
383 | as_fn_exit $as_status |
---|
384 | } # as_fn_error |
---|
385 | |
---|
386 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
387 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
388 | as_expr=expr |
---|
389 | else |
---|
390 | as_expr=false |
---|
391 | fi |
---|
392 | |
---|
393 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
394 | as_basename=basename |
---|
395 | else |
---|
396 | as_basename=false |
---|
397 | fi |
---|
398 | |
---|
399 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
400 | as_dirname=dirname |
---|
401 | else |
---|
402 | as_dirname=false |
---|
403 | fi |
---|
404 | |
---|
405 | as_me=`$as_basename -- "$0" || |
---|
406 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
407 | X"$0" : 'X\(//\)$' \| \ |
---|
408 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
409 | $as_echo X/"$0" | |
---|
410 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
411 | s//\1/ |
---|
412 | q |
---|
413 | } |
---|
414 | /^X\/\(\/\/\)$/{ |
---|
415 | s//\1/ |
---|
416 | q |
---|
417 | } |
---|
418 | /^X\/\(\/\).*/{ |
---|
419 | s//\1/ |
---|
420 | q |
---|
421 | } |
---|
422 | s/.*/./; q'` |
---|
423 | |
---|
424 | # Avoid depending upon Character Ranges. |
---|
425 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
426 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
427 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
428 | as_cr_digits='0123456789' |
---|
429 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
430 | |
---|
431 | |
---|
432 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
---|
433 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
---|
434 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
---|
435 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
---|
436 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
---|
437 | sed -n ' |
---|
438 | p |
---|
439 | /[$]LINENO/= |
---|
440 | ' <$as_myself | |
---|
441 | sed ' |
---|
442 | s/[$]LINENO.*/&-/ |
---|
443 | t lineno |
---|
444 | b |
---|
445 | :lineno |
---|
446 | N |
---|
447 | :loop |
---|
448 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
449 | t loop |
---|
450 | s/-\n.*// |
---|
451 | ' >$as_me.lineno && |
---|
452 | chmod +x "$as_me.lineno" || |
---|
453 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
---|
454 | |
---|
455 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
456 | # (the dirname of $[0] is not the place where we might find the |
---|
457 | # original and so on. Autoconf is especially sensitive to this). |
---|
458 | . "./$as_me.lineno" |
---|
459 | # Exit status is that of the last command. |
---|
460 | exit |
---|
461 | } |
---|
462 | |
---|
463 | ECHO_C= ECHO_N= ECHO_T= |
---|
464 | case `echo -n x` in #((((( |
---|
465 | -n*) |
---|
466 | case `echo 'xy\c'` in |
---|
467 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
468 | xy) ECHO_C='\c';; |
---|
469 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
470 | ECHO_T=' ';; |
---|
471 | esac;; |
---|
472 | *) |
---|
473 | ECHO_N='-n';; |
---|
474 | esac |
---|
475 | |
---|
476 | rm -f conf$$ conf$$.exe conf$$.file |
---|
477 | if test -d conf$$.dir; then |
---|
478 | rm -f conf$$.dir/conf$$.file |
---|
479 | else |
---|
480 | rm -f conf$$.dir |
---|
481 | mkdir conf$$.dir 2>/dev/null |
---|
482 | fi |
---|
483 | if (echo >conf$$.file) 2>/dev/null; then |
---|
484 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
485 | as_ln_s='ln -s' |
---|
486 | # ... but there are two gotchas: |
---|
487 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
488 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
489 | # In both cases, we have to default to `cp -p'. |
---|
490 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
491 | as_ln_s='cp -p' |
---|
492 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
493 | as_ln_s=ln |
---|
494 | else |
---|
495 | as_ln_s='cp -p' |
---|
496 | fi |
---|
497 | else |
---|
498 | as_ln_s='cp -p' |
---|
499 | fi |
---|
500 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
501 | rmdir conf$$.dir 2>/dev/null |
---|
502 | |
---|
503 | if mkdir -p . 2>/dev/null; then |
---|
504 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
505 | else |
---|
506 | test -d ./-p && rmdir ./-p |
---|
507 | as_mkdir_p=false |
---|
508 | fi |
---|
509 | |
---|
510 | if test -x / >/dev/null 2>&1; then |
---|
511 | as_test_x='test -x' |
---|
512 | else |
---|
513 | if ls -dL / >/dev/null 2>&1; then |
---|
514 | as_ls_L_option=L |
---|
515 | else |
---|
516 | as_ls_L_option= |
---|
517 | fi |
---|
518 | as_test_x=' |
---|
519 | eval sh -c '\'' |
---|
520 | if test -d "$1"; then |
---|
521 | test -d "$1/."; |
---|
522 | else |
---|
523 | case $1 in #( |
---|
524 | -*)set "./$1";; |
---|
525 | esac; |
---|
526 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
---|
527 | ???[sx]*):;;*)false;;esac;fi |
---|
528 | '\'' sh |
---|
529 | ' |
---|
530 | fi |
---|
531 | as_executable_p=$as_test_x |
---|
532 | |
---|
533 | # Sed expression to map a string onto a valid CPP name. |
---|
534 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
535 | |
---|
536 | # Sed expression to map a string onto a valid variable name. |
---|
537 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
538 | |
---|
539 | |
---|
540 | test -n "$DJDIR" || exec 7<&0 </dev/null |
---|
541 | exec 6>&1 |
---|
542 | |
---|
543 | # Name of the host. |
---|
544 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
---|
545 | # so uname gets run too. |
---|
546 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
547 | |
---|
548 | # |
---|
549 | # Initializations. |
---|
550 | # |
---|
551 | ac_default_prefix=/usr/local |
---|
552 | ac_clean_files= |
---|
553 | ac_config_libobj_dir=. |
---|
554 | LIBOBJS= |
---|
555 | cross_compiling=no |
---|
556 | subdirs= |
---|
557 | MFLAGS= |
---|
558 | MAKEFLAGS= |
---|
559 | |
---|
560 | # Identity of this package. |
---|
561 | PACKAGE_NAME='cfa-cc' |
---|
562 | PACKAGE_TARNAME='cfa-cc' |
---|
563 | PACKAGE_VERSION='1.0.0.0' |
---|
564 | PACKAGE_STRING='cfa-cc 1.0.0.0' |
---|
565 | PACKAGE_BUGREPORT='cforall@plg.uwaterloo.ca' |
---|
566 | PACKAGE_URL='' |
---|
567 | |
---|
568 | # Factoring default headers for most tests. |
---|
569 | ac_includes_default="\ |
---|
570 | #include <stdio.h> |
---|
571 | #ifdef HAVE_SYS_TYPES_H |
---|
572 | # include <sys/types.h> |
---|
573 | #endif |
---|
574 | #ifdef HAVE_SYS_STAT_H |
---|
575 | # include <sys/stat.h> |
---|
576 | #endif |
---|
577 | #ifdef STDC_HEADERS |
---|
578 | # include <stdlib.h> |
---|
579 | # include <stddef.h> |
---|
580 | #else |
---|
581 | # ifdef HAVE_STDLIB_H |
---|
582 | # include <stdlib.h> |
---|
583 | # endif |
---|
584 | #endif |
---|
585 | #ifdef HAVE_STRING_H |
---|
586 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
---|
587 | # include <memory.h> |
---|
588 | # endif |
---|
589 | # include <string.h> |
---|
590 | #endif |
---|
591 | #ifdef HAVE_STRINGS_H |
---|
592 | # include <strings.h> |
---|
593 | #endif |
---|
594 | #ifdef HAVE_INTTYPES_H |
---|
595 | # include <inttypes.h> |
---|
596 | #endif |
---|
597 | #ifdef HAVE_STDINT_H |
---|
598 | # include <stdint.h> |
---|
599 | #endif |
---|
600 | #ifdef HAVE_UNISTD_H |
---|
601 | # include <unistd.h> |
---|
602 | #endif" |
---|
603 | |
---|
604 | ac_subst_vars='am__EXEEXT_FALSE |
---|
605 | am__EXEEXT_TRUE |
---|
606 | LTLIBOBJS |
---|
607 | LIBOBJS |
---|
608 | ALLOCA |
---|
609 | EGREP |
---|
610 | GREP |
---|
611 | CPP |
---|
612 | RANLIB |
---|
613 | LEXLIB |
---|
614 | LEX_OUTPUT_ROOT |
---|
615 | LEX |
---|
616 | YFLAGS |
---|
617 | YACC |
---|
618 | am__fastdepCCAS_FALSE |
---|
619 | am__fastdepCCAS_TRUE |
---|
620 | CCASDEPMODE |
---|
621 | CCASFLAGS |
---|
622 | CCAS |
---|
623 | am__fastdepCC_FALSE |
---|
624 | am__fastdepCC_TRUE |
---|
625 | CCDEPMODE |
---|
626 | ac_ct_CC |
---|
627 | CFLAGS |
---|
628 | CC |
---|
629 | am__fastdepCXX_FALSE |
---|
630 | am__fastdepCXX_TRUE |
---|
631 | CXXDEPMODE |
---|
632 | am__nodep |
---|
633 | AMDEPBACKSLASH |
---|
634 | AMDEP_FALSE |
---|
635 | AMDEP_TRUE |
---|
636 | am__quote |
---|
637 | am__include |
---|
638 | DEPDIR |
---|
639 | OBJEXT |
---|
640 | EXEEXT |
---|
641 | ac_ct_CXX |
---|
642 | CPPFLAGS |
---|
643 | LDFLAGS |
---|
644 | CXXFLAGS |
---|
645 | CXX |
---|
646 | CFA_FLAGS |
---|
647 | CFA_LIBDIR |
---|
648 | CFA_BINDIR |
---|
649 | CFA_INCDIR |
---|
650 | CFA_PREFIX |
---|
651 | CFA_BACKEND_CC |
---|
652 | BACKEND_CC |
---|
653 | MAINT |
---|
654 | MAINTAINER_MODE_FALSE |
---|
655 | MAINTAINER_MODE_TRUE |
---|
656 | am__untar |
---|
657 | am__tar |
---|
658 | AMTAR |
---|
659 | am__leading_dot |
---|
660 | SET_MAKE |
---|
661 | AWK |
---|
662 | mkdir_p |
---|
663 | MKDIR_P |
---|
664 | INSTALL_STRIP_PROGRAM |
---|
665 | STRIP |
---|
666 | install_sh |
---|
667 | MAKEINFO |
---|
668 | AUTOHEADER |
---|
669 | AUTOMAKE |
---|
670 | AUTOCONF |
---|
671 | ACLOCAL |
---|
672 | VERSION |
---|
673 | PACKAGE |
---|
674 | CYGPATH_W |
---|
675 | am__isrc |
---|
676 | INSTALL_DATA |
---|
677 | INSTALL_SCRIPT |
---|
678 | INSTALL_PROGRAM |
---|
679 | AM_BACKSLASH |
---|
680 | AM_DEFAULT_VERBOSITY |
---|
681 | AM_DEFAULT_V |
---|
682 | AM_V |
---|
683 | target_alias |
---|
684 | host_alias |
---|
685 | build_alias |
---|
686 | LIBS |
---|
687 | ECHO_T |
---|
688 | ECHO_N |
---|
689 | ECHO_C |
---|
690 | DEFS |
---|
691 | mandir |
---|
692 | localedir |
---|
693 | libdir |
---|
694 | psdir |
---|
695 | pdfdir |
---|
696 | dvidir |
---|
697 | htmldir |
---|
698 | infodir |
---|
699 | docdir |
---|
700 | oldincludedir |
---|
701 | includedir |
---|
702 | localstatedir |
---|
703 | sharedstatedir |
---|
704 | sysconfdir |
---|
705 | datadir |
---|
706 | datarootdir |
---|
707 | libexecdir |
---|
708 | sbindir |
---|
709 | bindir |
---|
710 | program_transform_name |
---|
711 | prefix |
---|
712 | exec_prefix |
---|
713 | PACKAGE_URL |
---|
714 | PACKAGE_BUGREPORT |
---|
715 | PACKAGE_STRING |
---|
716 | PACKAGE_VERSION |
---|
717 | PACKAGE_TARNAME |
---|
718 | PACKAGE_NAME |
---|
719 | PATH_SEPARATOR |
---|
720 | SHELL' |
---|
721 | ac_subst_files='' |
---|
722 | ac_user_opts=' |
---|
723 | enable_option_checking |
---|
724 | enable_silent_rules |
---|
725 | enable_maintainer_mode |
---|
726 | with_backend_compiler |
---|
727 | enable_dependency_tracking |
---|
728 | ' |
---|
729 | ac_precious_vars='build_alias |
---|
730 | host_alias |
---|
731 | target_alias |
---|
732 | CXX |
---|
733 | CXXFLAGS |
---|
734 | LDFLAGS |
---|
735 | LIBS |
---|
736 | CPPFLAGS |
---|
737 | CCC |
---|
738 | CC |
---|
739 | CFLAGS |
---|
740 | CCAS |
---|
741 | CCASFLAGS |
---|
742 | YACC |
---|
743 | YFLAGS |
---|
744 | CPP' |
---|
745 | |
---|
746 | |
---|
747 | # Initialize some variables set by options. |
---|
748 | ac_init_help= |
---|
749 | ac_init_version=false |
---|
750 | ac_unrecognized_opts= |
---|
751 | ac_unrecognized_sep= |
---|
752 | # The variables have the same names as the options, with |
---|
753 | # dashes changed to underlines. |
---|
754 | cache_file=/dev/null |
---|
755 | exec_prefix=NONE |
---|
756 | no_create= |
---|
757 | no_recursion= |
---|
758 | prefix=NONE |
---|
759 | program_prefix=NONE |
---|
760 | program_suffix=NONE |
---|
761 | program_transform_name=s,x,x, |
---|
762 | silent= |
---|
763 | site= |
---|
764 | srcdir= |
---|
765 | verbose= |
---|
766 | x_includes=NONE |
---|
767 | x_libraries=NONE |
---|
768 | |
---|
769 | # Installation directory options. |
---|
770 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
771 | # and all the variables that are supposed to be based on exec_prefix |
---|
772 | # by default will actually change. |
---|
773 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
774 | # (The list follows the same order as the GNU Coding Standards.) |
---|
775 | bindir='${exec_prefix}/bin' |
---|
776 | sbindir='${exec_prefix}/sbin' |
---|
777 | libexecdir='${exec_prefix}/libexec' |
---|
778 | datarootdir='${prefix}/share' |
---|
779 | datadir='${datarootdir}' |
---|
780 | sysconfdir='${prefix}/etc' |
---|
781 | sharedstatedir='${prefix}/com' |
---|
782 | localstatedir='${prefix}/var' |
---|
783 | includedir='${prefix}/include' |
---|
784 | oldincludedir='/usr/include' |
---|
785 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
---|
786 | infodir='${datarootdir}/info' |
---|
787 | htmldir='${docdir}' |
---|
788 | dvidir='${docdir}' |
---|
789 | pdfdir='${docdir}' |
---|
790 | psdir='${docdir}' |
---|
791 | libdir='${exec_prefix}/lib' |
---|
792 | localedir='${datarootdir}/locale' |
---|
793 | mandir='${datarootdir}/man' |
---|
794 | |
---|
795 | ac_prev= |
---|
796 | ac_dashdash= |
---|
797 | for ac_option |
---|
798 | do |
---|
799 | # If the previous option needs an argument, assign it. |
---|
800 | if test -n "$ac_prev"; then |
---|
801 | eval $ac_prev=\$ac_option |
---|
802 | ac_prev= |
---|
803 | continue |
---|
804 | fi |
---|
805 | |
---|
806 | case $ac_option in |
---|
807 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
808 | *=) ac_optarg= ;; |
---|
809 | *) ac_optarg=yes ;; |
---|
810 | esac |
---|
811 | |
---|
812 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
813 | |
---|
814 | case $ac_dashdash$ac_option in |
---|
815 | --) |
---|
816 | ac_dashdash=yes ;; |
---|
817 | |
---|
818 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
819 | ac_prev=bindir ;; |
---|
820 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
821 | bindir=$ac_optarg ;; |
---|
822 | |
---|
823 | -build | --build | --buil | --bui | --bu) |
---|
824 | ac_prev=build_alias ;; |
---|
825 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
826 | build_alias=$ac_optarg ;; |
---|
827 | |
---|
828 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
829 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
830 | ac_prev=cache_file ;; |
---|
831 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
832 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
833 | cache_file=$ac_optarg ;; |
---|
834 | |
---|
835 | --config-cache | -C) |
---|
836 | cache_file=config.cache ;; |
---|
837 | |
---|
838 | -datadir | --datadir | --datadi | --datad) |
---|
839 | ac_prev=datadir ;; |
---|
840 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
841 | datadir=$ac_optarg ;; |
---|
842 | |
---|
843 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
844 | | --dataroo | --dataro | --datar) |
---|
845 | ac_prev=datarootdir ;; |
---|
846 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
847 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
848 | datarootdir=$ac_optarg ;; |
---|
849 | |
---|
850 | -disable-* | --disable-*) |
---|
851 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
852 | # Reject names that are not valid shell variable names. |
---|
853 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
854 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
855 | ac_useropt_orig=$ac_useropt |
---|
856 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
857 | case $ac_user_opts in |
---|
858 | *" |
---|
859 | "enable_$ac_useropt" |
---|
860 | "*) ;; |
---|
861 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
---|
862 | ac_unrecognized_sep=', ';; |
---|
863 | esac |
---|
864 | eval enable_$ac_useropt=no ;; |
---|
865 | |
---|
866 | -docdir | --docdir | --docdi | --doc | --do) |
---|
867 | ac_prev=docdir ;; |
---|
868 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
869 | docdir=$ac_optarg ;; |
---|
870 | |
---|
871 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
872 | ac_prev=dvidir ;; |
---|
873 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
874 | dvidir=$ac_optarg ;; |
---|
875 | |
---|
876 | -enable-* | --enable-*) |
---|
877 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
878 | # Reject names that are not valid shell variable names. |
---|
879 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
880 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
881 | ac_useropt_orig=$ac_useropt |
---|
882 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
883 | case $ac_user_opts in |
---|
884 | *" |
---|
885 | "enable_$ac_useropt" |
---|
886 | "*) ;; |
---|
887 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
---|
888 | ac_unrecognized_sep=', ';; |
---|
889 | esac |
---|
890 | eval enable_$ac_useropt=\$ac_optarg ;; |
---|
891 | |
---|
892 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
893 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
894 | | --exec | --exe | --ex) |
---|
895 | ac_prev=exec_prefix ;; |
---|
896 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
897 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
898 | | --exec=* | --exe=* | --ex=*) |
---|
899 | exec_prefix=$ac_optarg ;; |
---|
900 | |
---|
901 | -gas | --gas | --ga | --g) |
---|
902 | # Obsolete; use --with-gas. |
---|
903 | with_gas=yes ;; |
---|
904 | |
---|
905 | -help | --help | --hel | --he | -h) |
---|
906 | ac_init_help=long ;; |
---|
907 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
908 | ac_init_help=recursive ;; |
---|
909 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
910 | ac_init_help=short ;; |
---|
911 | |
---|
912 | -host | --host | --hos | --ho) |
---|
913 | ac_prev=host_alias ;; |
---|
914 | -host=* | --host=* | --hos=* | --ho=*) |
---|
915 | host_alias=$ac_optarg ;; |
---|
916 | |
---|
917 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
918 | ac_prev=htmldir ;; |
---|
919 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
920 | | --ht=*) |
---|
921 | htmldir=$ac_optarg ;; |
---|
922 | |
---|
923 | -includedir | --includedir | --includedi | --included | --include \ |
---|
924 | | --includ | --inclu | --incl | --inc) |
---|
925 | ac_prev=includedir ;; |
---|
926 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
927 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
928 | includedir=$ac_optarg ;; |
---|
929 | |
---|
930 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
931 | ac_prev=infodir ;; |
---|
932 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
933 | infodir=$ac_optarg ;; |
---|
934 | |
---|
935 | -libdir | --libdir | --libdi | --libd) |
---|
936 | ac_prev=libdir ;; |
---|
937 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
938 | libdir=$ac_optarg ;; |
---|
939 | |
---|
940 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
941 | | --libexe | --libex | --libe) |
---|
942 | ac_prev=libexecdir ;; |
---|
943 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
944 | | --libexe=* | --libex=* | --libe=*) |
---|
945 | libexecdir=$ac_optarg ;; |
---|
946 | |
---|
947 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
948 | ac_prev=localedir ;; |
---|
949 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
950 | localedir=$ac_optarg ;; |
---|
951 | |
---|
952 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
953 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
954 | ac_prev=localstatedir ;; |
---|
955 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
956 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
957 | localstatedir=$ac_optarg ;; |
---|
958 | |
---|
959 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
960 | ac_prev=mandir ;; |
---|
961 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
962 | mandir=$ac_optarg ;; |
---|
963 | |
---|
964 | -nfp | --nfp | --nf) |
---|
965 | # Obsolete; use --without-fp. |
---|
966 | with_fp=no ;; |
---|
967 | |
---|
968 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
969 | | --no-cr | --no-c | -n) |
---|
970 | no_create=yes ;; |
---|
971 | |
---|
972 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
973 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
974 | no_recursion=yes ;; |
---|
975 | |
---|
976 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
977 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
978 | | --oldin | --oldi | --old | --ol | --o) |
---|
979 | ac_prev=oldincludedir ;; |
---|
980 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
981 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
982 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
983 | oldincludedir=$ac_optarg ;; |
---|
984 | |
---|
985 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
986 | ac_prev=prefix ;; |
---|
987 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
988 | prefix=$ac_optarg ;; |
---|
989 | |
---|
990 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
991 | | --program-pre | --program-pr | --program-p) |
---|
992 | ac_prev=program_prefix ;; |
---|
993 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
994 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
995 | program_prefix=$ac_optarg ;; |
---|
996 | |
---|
997 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
998 | | --program-suf | --program-su | --program-s) |
---|
999 | ac_prev=program_suffix ;; |
---|
1000 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
1001 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
1002 | program_suffix=$ac_optarg ;; |
---|
1003 | |
---|
1004 | -program-transform-name | --program-transform-name \ |
---|
1005 | | --program-transform-nam | --program-transform-na \ |
---|
1006 | | --program-transform-n | --program-transform- \ |
---|
1007 | | --program-transform | --program-transfor \ |
---|
1008 | | --program-transfo | --program-transf \ |
---|
1009 | | --program-trans | --program-tran \ |
---|
1010 | | --progr-tra | --program-tr | --program-t) |
---|
1011 | ac_prev=program_transform_name ;; |
---|
1012 | -program-transform-name=* | --program-transform-name=* \ |
---|
1013 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
1014 | | --program-transform-n=* | --program-transform-=* \ |
---|
1015 | | --program-transform=* | --program-transfor=* \ |
---|
1016 | | --program-transfo=* | --program-transf=* \ |
---|
1017 | | --program-trans=* | --program-tran=* \ |
---|
1018 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
1019 | program_transform_name=$ac_optarg ;; |
---|
1020 | |
---|
1021 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
1022 | ac_prev=pdfdir ;; |
---|
1023 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
1024 | pdfdir=$ac_optarg ;; |
---|
1025 | |
---|
1026 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
1027 | ac_prev=psdir ;; |
---|
1028 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
1029 | psdir=$ac_optarg ;; |
---|
1030 | |
---|
1031 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1032 | | -silent | --silent | --silen | --sile | --sil) |
---|
1033 | silent=yes ;; |
---|
1034 | |
---|
1035 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
1036 | ac_prev=sbindir ;; |
---|
1037 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
1038 | | --sbi=* | --sb=*) |
---|
1039 | sbindir=$ac_optarg ;; |
---|
1040 | |
---|
1041 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
1042 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
1043 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
1044 | | --sha | --sh) |
---|
1045 | ac_prev=sharedstatedir ;; |
---|
1046 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
1047 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
1048 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
1049 | | --sha=* | --sh=*) |
---|
1050 | sharedstatedir=$ac_optarg ;; |
---|
1051 | |
---|
1052 | -site | --site | --sit) |
---|
1053 | ac_prev=site ;; |
---|
1054 | -site=* | --site=* | --sit=*) |
---|
1055 | site=$ac_optarg ;; |
---|
1056 | |
---|
1057 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
1058 | ac_prev=srcdir ;; |
---|
1059 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
1060 | srcdir=$ac_optarg ;; |
---|
1061 | |
---|
1062 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
1063 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
1064 | ac_prev=sysconfdir ;; |
---|
1065 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
1066 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
1067 | sysconfdir=$ac_optarg ;; |
---|
1068 | |
---|
1069 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
1070 | ac_prev=target_alias ;; |
---|
1071 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
1072 | target_alias=$ac_optarg ;; |
---|
1073 | |
---|
1074 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
1075 | verbose=yes ;; |
---|
1076 | |
---|
1077 | -version | --version | --versio | --versi | --vers | -V) |
---|
1078 | ac_init_version=: ;; |
---|
1079 | |
---|
1080 | -with-* | --with-*) |
---|
1081 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
1082 | # Reject names that are not valid shell variable names. |
---|
1083 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
1084 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
1085 | ac_useropt_orig=$ac_useropt |
---|
1086 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
1087 | case $ac_user_opts in |
---|
1088 | *" |
---|
1089 | "with_$ac_useropt" |
---|
1090 | "*) ;; |
---|
1091 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
---|
1092 | ac_unrecognized_sep=', ';; |
---|
1093 | esac |
---|
1094 | eval with_$ac_useropt=\$ac_optarg ;; |
---|
1095 | |
---|
1096 | -without-* | --without-*) |
---|
1097 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
1098 | # Reject names that are not valid shell variable names. |
---|
1099 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
1100 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
1101 | ac_useropt_orig=$ac_useropt |
---|
1102 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
1103 | case $ac_user_opts in |
---|
1104 | *" |
---|
1105 | "with_$ac_useropt" |
---|
1106 | "*) ;; |
---|
1107 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
---|
1108 | ac_unrecognized_sep=', ';; |
---|
1109 | esac |
---|
1110 | eval with_$ac_useropt=no ;; |
---|
1111 | |
---|
1112 | --x) |
---|
1113 | # Obsolete; use --with-x. |
---|
1114 | with_x=yes ;; |
---|
1115 | |
---|
1116 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
1117 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
1118 | ac_prev=x_includes ;; |
---|
1119 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
1120 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
1121 | x_includes=$ac_optarg ;; |
---|
1122 | |
---|
1123 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
1124 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
1125 | ac_prev=x_libraries ;; |
---|
1126 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
1127 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
1128 | x_libraries=$ac_optarg ;; |
---|
1129 | |
---|
1130 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
---|
1131 | Try \`$0 --help' for more information" |
---|
1132 | ;; |
---|
1133 | |
---|
1134 | *=*) |
---|
1135 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
1136 | # Reject names that are not valid shell variable names. |
---|
1137 | case $ac_envvar in #( |
---|
1138 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
---|
1139 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
---|
1140 | esac |
---|
1141 | eval $ac_envvar=\$ac_optarg |
---|
1142 | export $ac_envvar ;; |
---|
1143 | |
---|
1144 | *) |
---|
1145 | # FIXME: should be removed in autoconf 3.0. |
---|
1146 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
1147 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
1148 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
1149 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
---|
1150 | ;; |
---|
1151 | |
---|
1152 | esac |
---|
1153 | done |
---|
1154 | |
---|
1155 | if test -n "$ac_prev"; then |
---|
1156 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
1157 | as_fn_error $? "missing argument to $ac_option" |
---|
1158 | fi |
---|
1159 | |
---|
1160 | if test -n "$ac_unrecognized_opts"; then |
---|
1161 | case $enable_option_checking in |
---|
1162 | no) ;; |
---|
1163 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
---|
1164 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
---|
1165 | esac |
---|
1166 | fi |
---|
1167 | |
---|
1168 | # Check all directory arguments for consistency. |
---|
1169 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
1170 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
1171 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
1172 | libdir localedir mandir |
---|
1173 | do |
---|
1174 | eval ac_val=\$$ac_var |
---|
1175 | # Remove trailing slashes. |
---|
1176 | case $ac_val in |
---|
1177 | */ ) |
---|
1178 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
---|
1179 | eval $ac_var=\$ac_val;; |
---|
1180 | esac |
---|
1181 | # Be sure to have absolute directory names. |
---|
1182 | case $ac_val in |
---|
1183 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
1184 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
1185 | esac |
---|
1186 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
---|
1187 | done |
---|
1188 | |
---|
1189 | # There might be people who depend on the old broken behavior: `$host' |
---|
1190 | # used to hold the argument of --host etc. |
---|
1191 | # FIXME: To remove some day. |
---|
1192 | build=$build_alias |
---|
1193 | host=$host_alias |
---|
1194 | target=$target_alias |
---|
1195 | |
---|
1196 | # FIXME: To remove some day. |
---|
1197 | if test "x$host_alias" != x; then |
---|
1198 | if test "x$build_alias" = x; then |
---|
1199 | cross_compiling=maybe |
---|
1200 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
---|
1201 | If a cross compiler is detected then cross compile mode will be used" >&2 |
---|
1202 | elif test "x$build_alias" != "x$host_alias"; then |
---|
1203 | cross_compiling=yes |
---|
1204 | fi |
---|
1205 | fi |
---|
1206 | |
---|
1207 | ac_tool_prefix= |
---|
1208 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
1209 | |
---|
1210 | test "$silent" = yes && exec 6>/dev/null |
---|
1211 | |
---|
1212 | |
---|
1213 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
1214 | ac_ls_di=`ls -di .` && |
---|
1215 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
1216 | as_fn_error $? "working directory cannot be determined" |
---|
1217 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
1218 | as_fn_error $? "pwd does not report name of working directory" |
---|
1219 | |
---|
1220 | |
---|
1221 | # Find the source files, if location was not specified. |
---|
1222 | if test -z "$srcdir"; then |
---|
1223 | ac_srcdir_defaulted=yes |
---|
1224 | # Try the directory containing this script, then the parent directory. |
---|
1225 | ac_confdir=`$as_dirname -- "$as_myself" || |
---|
1226 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
1227 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
---|
1228 | X"$as_myself" : 'X\(//\)$' \| \ |
---|
1229 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
---|
1230 | $as_echo X"$as_myself" | |
---|
1231 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
1232 | s//\1/ |
---|
1233 | q |
---|
1234 | } |
---|
1235 | /^X\(\/\/\)[^/].*/{ |
---|
1236 | s//\1/ |
---|
1237 | q |
---|
1238 | } |
---|
1239 | /^X\(\/\/\)$/{ |
---|
1240 | s//\1/ |
---|
1241 | q |
---|
1242 | } |
---|
1243 | /^X\(\/\).*/{ |
---|
1244 | s//\1/ |
---|
1245 | q |
---|
1246 | } |
---|
1247 | s/.*/./; q'` |
---|
1248 | srcdir=$ac_confdir |
---|
1249 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1250 | srcdir=.. |
---|
1251 | fi |
---|
1252 | else |
---|
1253 | ac_srcdir_defaulted=no |
---|
1254 | fi |
---|
1255 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1256 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
1257 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
---|
1258 | fi |
---|
1259 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
1260 | ac_abs_confdir=`( |
---|
1261 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
---|
1262 | pwd)` |
---|
1263 | # When building in place, set srcdir=. |
---|
1264 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
1265 | srcdir=. |
---|
1266 | fi |
---|
1267 | # Remove unnecessary trailing slashes from srcdir. |
---|
1268 | # Double slashes in file names in object file debugging info |
---|
1269 | # mess up M-x gdb in Emacs. |
---|
1270 | case $srcdir in |
---|
1271 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
1272 | esac |
---|
1273 | for ac_var in $ac_precious_vars; do |
---|
1274 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
1275 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
1276 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
1277 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
1278 | done |
---|
1279 | |
---|
1280 | # |
---|
1281 | # Report the --help message. |
---|
1282 | # |
---|
1283 | if test "$ac_init_help" = "long"; then |
---|
1284 | # Omit some internal or obsolete options to make the list less imposing. |
---|
1285 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
1286 | cat <<_ACEOF |
---|
1287 | \`configure' configures cfa-cc 1.0.0.0 to adapt to many kinds of systems. |
---|
1288 | |
---|
1289 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
1290 | |
---|
1291 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
1292 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
1293 | |
---|
1294 | Defaults for the options are specified in brackets. |
---|
1295 | |
---|
1296 | Configuration: |
---|
1297 | -h, --help display this help and exit |
---|
1298 | --help=short display options specific to this package |
---|
1299 | --help=recursive display the short help of all the included packages |
---|
1300 | -V, --version display version information and exit |
---|
1301 | -q, --quiet, --silent do not print \`checking ...' messages |
---|
1302 | --cache-file=FILE cache test results in FILE [disabled] |
---|
1303 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
1304 | -n, --no-create do not create output files |
---|
1305 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
1306 | |
---|
1307 | Installation directories: |
---|
1308 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
1309 | [$ac_default_prefix] |
---|
1310 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
1311 | [PREFIX] |
---|
1312 | |
---|
1313 | By default, \`make install' will install all the files in |
---|
1314 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
1315 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
1316 | for instance \`--prefix=\$HOME'. |
---|
1317 | |
---|
1318 | For better control, use the options below. |
---|
1319 | |
---|
1320 | Fine tuning of the installation directories: |
---|
1321 | --bindir=DIR user executables [EPREFIX/bin] |
---|
1322 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
1323 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
1324 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
1325 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
1326 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
1327 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
1328 | --includedir=DIR C header files [PREFIX/include] |
---|
1329 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
1330 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
1331 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
1332 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
1333 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
1334 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
1335 | --docdir=DIR documentation root [DATAROOTDIR/doc/cfa-cc] |
---|
1336 | --htmldir=DIR html documentation [DOCDIR] |
---|
1337 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
1338 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
1339 | --psdir=DIR ps documentation [DOCDIR] |
---|
1340 | _ACEOF |
---|
1341 | |
---|
1342 | cat <<\_ACEOF |
---|
1343 | |
---|
1344 | Program names: |
---|
1345 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
1346 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
1347 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
---|
1348 | _ACEOF |
---|
1349 | fi |
---|
1350 | |
---|
1351 | if test -n "$ac_init_help"; then |
---|
1352 | case $ac_init_help in |
---|
1353 | short | recursive ) echo "Configuration of cfa-cc 1.0.0.0:";; |
---|
1354 | esac |
---|
1355 | cat <<\_ACEOF |
---|
1356 | |
---|
1357 | Optional Features: |
---|
1358 | --disable-option-checking ignore unrecognized --enable/--with options |
---|
1359 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
1360 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
1361 | --enable-silent-rules less verbose build output (undo: `make V=1') |
---|
1362 | --disable-silent-rules verbose build output (undo: `make V=0') |
---|
1363 | --disable-maintainer-mode disable make rules and dependencies not useful |
---|
1364 | (and sometimes confusing) to the casual installer |
---|
1365 | --disable-dependency-tracking speeds up one-time build |
---|
1366 | --enable-dependency-tracking do not reject slow dependency extractors |
---|
1367 | |
---|
1368 | Optional Packages: |
---|
1369 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
1370 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
1371 | --with-backend-compiler=PROGRAM PROGRAM that performs the final code compilation (must be gcc-compatible) |
---|
1372 | |
---|
1373 | Some influential environment variables: |
---|
1374 | CXX C++ compiler command |
---|
1375 | CXXFLAGS C++ compiler flags |
---|
1376 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
1377 | nonstandard directory <lib dir> |
---|
1378 | LIBS libraries to pass to the linker, e.g. -l<library> |
---|
1379 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
---|
1380 | you have headers in a nonstandard directory <include dir> |
---|
1381 | CC C compiler command |
---|
1382 | CFLAGS C compiler flags |
---|
1383 | CCAS assembler compiler command (defaults to CC) |
---|
1384 | CCASFLAGS assembler compiler flags (defaults to CFLAGS) |
---|
1385 | YACC The `Yet Another Compiler Compiler' implementation to use. |
---|
1386 | Defaults to the first program found out of: `bison -y', `byacc', |
---|
1387 | `yacc'. |
---|
1388 | YFLAGS The list of arguments that will be passed by default to $YACC. |
---|
1389 | This script will default YFLAGS to the empty string to avoid a |
---|
1390 | default value of `-d' given by some make applications. |
---|
1391 | CPP C preprocessor |
---|
1392 | |
---|
1393 | Use these variables to override the choices made by `configure' or to help |
---|
1394 | it to find libraries and programs with nonstandard names/locations. |
---|
1395 | |
---|
1396 | Report bugs to <cforall@plg.uwaterloo.ca>. |
---|
1397 | _ACEOF |
---|
1398 | ac_status=$? |
---|
1399 | fi |
---|
1400 | |
---|
1401 | if test "$ac_init_help" = "recursive"; then |
---|
1402 | # If there are subdirs, report their specific --help. |
---|
1403 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
1404 | test -d "$ac_dir" || |
---|
1405 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
---|
1406 | continue |
---|
1407 | ac_builddir=. |
---|
1408 | |
---|
1409 | case "$ac_dir" in |
---|
1410 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1411 | *) |
---|
1412 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
1413 | # A ".." for each directory in $ac_dir_suffix. |
---|
1414 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
1415 | case $ac_top_builddir_sub in |
---|
1416 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1417 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
1418 | esac ;; |
---|
1419 | esac |
---|
1420 | ac_abs_top_builddir=$ac_pwd |
---|
1421 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
1422 | # for backward compatibility: |
---|
1423 | ac_top_builddir=$ac_top_build_prefix |
---|
1424 | |
---|
1425 | case $srcdir in |
---|
1426 | .) # We are building in place. |
---|
1427 | ac_srcdir=. |
---|
1428 | ac_top_srcdir=$ac_top_builddir_sub |
---|
1429 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
1430 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
1431 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
1432 | ac_top_srcdir=$srcdir |
---|
1433 | ac_abs_top_srcdir=$srcdir ;; |
---|
1434 | *) # Relative name. |
---|
1435 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
1436 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
1437 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
1438 | esac |
---|
1439 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
1440 | |
---|
1441 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
1442 | # Check for guested configure. |
---|
1443 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
1444 | echo && |
---|
1445 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
1446 | elif test -f "$ac_srcdir/configure"; then |
---|
1447 | echo && |
---|
1448 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
1449 | else |
---|
1450 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
1451 | fi || ac_status=$? |
---|
1452 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
1453 | done |
---|
1454 | fi |
---|
1455 | |
---|
1456 | test -n "$ac_init_help" && exit $ac_status |
---|
1457 | if $ac_init_version; then |
---|
1458 | cat <<\_ACEOF |
---|
1459 | cfa-cc configure 1.0.0.0 |
---|
1460 | generated by GNU Autoconf 2.68 |
---|
1461 | |
---|
1462 | Copyright (C) 2010 Free Software Foundation, Inc. |
---|
1463 | This configure script is free software; the Free Software Foundation |
---|
1464 | gives unlimited permission to copy, distribute and modify it. |
---|
1465 | _ACEOF |
---|
1466 | exit |
---|
1467 | fi |
---|
1468 | |
---|
1469 | ## ------------------------ ## |
---|
1470 | ## Autoconf initialization. ## |
---|
1471 | ## ------------------------ ## |
---|
1472 | |
---|
1473 | # ac_fn_cxx_try_compile LINENO |
---|
1474 | # ---------------------------- |
---|
1475 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
---|
1476 | ac_fn_cxx_try_compile () |
---|
1477 | { |
---|
1478 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1479 | rm -f conftest.$ac_objext |
---|
1480 | if { { ac_try="$ac_compile" |
---|
1481 | case "(($ac_try" in |
---|
1482 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1483 | *) ac_try_echo=$ac_try;; |
---|
1484 | esac |
---|
1485 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1486 | $as_echo "$ac_try_echo"; } >&5 |
---|
1487 | (eval "$ac_compile") 2>conftest.err |
---|
1488 | ac_status=$? |
---|
1489 | if test -s conftest.err; then |
---|
1490 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
1491 | cat conftest.er1 >&5 |
---|
1492 | mv -f conftest.er1 conftest.err |
---|
1493 | fi |
---|
1494 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1495 | test $ac_status = 0; } && { |
---|
1496 | test -z "$ac_cxx_werror_flag" || |
---|
1497 | test ! -s conftest.err |
---|
1498 | } && test -s conftest.$ac_objext; then : |
---|
1499 | ac_retval=0 |
---|
1500 | else |
---|
1501 | $as_echo "$as_me: failed program was:" >&5 |
---|
1502 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1503 | |
---|
1504 | ac_retval=1 |
---|
1505 | fi |
---|
1506 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1507 | as_fn_set_status $ac_retval |
---|
1508 | |
---|
1509 | } # ac_fn_cxx_try_compile |
---|
1510 | |
---|
1511 | # ac_fn_c_try_compile LINENO |
---|
1512 | # -------------------------- |
---|
1513 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
---|
1514 | ac_fn_c_try_compile () |
---|
1515 | { |
---|
1516 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1517 | rm -f conftest.$ac_objext |
---|
1518 | if { { ac_try="$ac_compile" |
---|
1519 | case "(($ac_try" in |
---|
1520 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1521 | *) ac_try_echo=$ac_try;; |
---|
1522 | esac |
---|
1523 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1524 | $as_echo "$ac_try_echo"; } >&5 |
---|
1525 | (eval "$ac_compile") 2>conftest.err |
---|
1526 | ac_status=$? |
---|
1527 | if test -s conftest.err; then |
---|
1528 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
1529 | cat conftest.er1 >&5 |
---|
1530 | mv -f conftest.er1 conftest.err |
---|
1531 | fi |
---|
1532 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1533 | test $ac_status = 0; } && { |
---|
1534 | test -z "$ac_c_werror_flag" || |
---|
1535 | test ! -s conftest.err |
---|
1536 | } && test -s conftest.$ac_objext; then : |
---|
1537 | ac_retval=0 |
---|
1538 | else |
---|
1539 | $as_echo "$as_me: failed program was:" >&5 |
---|
1540 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1541 | |
---|
1542 | ac_retval=1 |
---|
1543 | fi |
---|
1544 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1545 | as_fn_set_status $ac_retval |
---|
1546 | |
---|
1547 | } # ac_fn_c_try_compile |
---|
1548 | |
---|
1549 | # ac_fn_c_try_link LINENO |
---|
1550 | # ----------------------- |
---|
1551 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
---|
1552 | ac_fn_c_try_link () |
---|
1553 | { |
---|
1554 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1555 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
1556 | if { { ac_try="$ac_link" |
---|
1557 | case "(($ac_try" in |
---|
1558 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1559 | *) ac_try_echo=$ac_try;; |
---|
1560 | esac |
---|
1561 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1562 | $as_echo "$ac_try_echo"; } >&5 |
---|
1563 | (eval "$ac_link") 2>conftest.err |
---|
1564 | ac_status=$? |
---|
1565 | if test -s conftest.err; then |
---|
1566 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
1567 | cat conftest.er1 >&5 |
---|
1568 | mv -f conftest.er1 conftest.err |
---|
1569 | fi |
---|
1570 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1571 | test $ac_status = 0; } && { |
---|
1572 | test -z "$ac_c_werror_flag" || |
---|
1573 | test ! -s conftest.err |
---|
1574 | } && test -s conftest$ac_exeext && { |
---|
1575 | test "$cross_compiling" = yes || |
---|
1576 | $as_test_x conftest$ac_exeext |
---|
1577 | }; then : |
---|
1578 | ac_retval=0 |
---|
1579 | else |
---|
1580 | $as_echo "$as_me: failed program was:" >&5 |
---|
1581 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1582 | |
---|
1583 | ac_retval=1 |
---|
1584 | fi |
---|
1585 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
---|
1586 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
---|
1587 | # interfere with the next link command; also delete a directory that is |
---|
1588 | # left behind by Apple's compiler. We do this before executing the actions. |
---|
1589 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
---|
1590 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1591 | as_fn_set_status $ac_retval |
---|
1592 | |
---|
1593 | } # ac_fn_c_try_link |
---|
1594 | |
---|
1595 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
---|
1596 | # ------------------------------------------- |
---|
1597 | # Tests whether TYPE exists after having included INCLUDES, setting cache |
---|
1598 | # variable VAR accordingly. |
---|
1599 | ac_fn_c_check_type () |
---|
1600 | { |
---|
1601 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1602 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
1603 | $as_echo_n "checking for $2... " >&6; } |
---|
1604 | if eval \${$3+:} false; then : |
---|
1605 | $as_echo_n "(cached) " >&6 |
---|
1606 | else |
---|
1607 | eval "$3=no" |
---|
1608 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1609 | /* end confdefs.h. */ |
---|
1610 | $4 |
---|
1611 | int |
---|
1612 | main () |
---|
1613 | { |
---|
1614 | if (sizeof ($2)) |
---|
1615 | return 0; |
---|
1616 | ; |
---|
1617 | return 0; |
---|
1618 | } |
---|
1619 | _ACEOF |
---|
1620 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
1621 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1622 | /* end confdefs.h. */ |
---|
1623 | $4 |
---|
1624 | int |
---|
1625 | main () |
---|
1626 | { |
---|
1627 | if (sizeof (($2))) |
---|
1628 | return 0; |
---|
1629 | ; |
---|
1630 | return 0; |
---|
1631 | } |
---|
1632 | _ACEOF |
---|
1633 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
1634 | |
---|
1635 | else |
---|
1636 | eval "$3=yes" |
---|
1637 | fi |
---|
1638 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
1639 | fi |
---|
1640 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
1641 | fi |
---|
1642 | eval ac_res=\$$3 |
---|
1643 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
1644 | $as_echo "$ac_res" >&6; } |
---|
1645 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1646 | |
---|
1647 | } # ac_fn_c_check_type |
---|
1648 | |
---|
1649 | # ac_fn_c_try_cpp LINENO |
---|
1650 | # ---------------------- |
---|
1651 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
---|
1652 | ac_fn_c_try_cpp () |
---|
1653 | { |
---|
1654 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1655 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
---|
1656 | case "(($ac_try" in |
---|
1657 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1658 | *) ac_try_echo=$ac_try;; |
---|
1659 | esac |
---|
1660 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1661 | $as_echo "$ac_try_echo"; } >&5 |
---|
1662 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
---|
1663 | ac_status=$? |
---|
1664 | if test -s conftest.err; then |
---|
1665 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
1666 | cat conftest.er1 >&5 |
---|
1667 | mv -f conftest.er1 conftest.err |
---|
1668 | fi |
---|
1669 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1670 | test $ac_status = 0; } > conftest.i && { |
---|
1671 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
1672 | test ! -s conftest.err |
---|
1673 | }; then : |
---|
1674 | ac_retval=0 |
---|
1675 | else |
---|
1676 | $as_echo "$as_me: failed program was:" >&5 |
---|
1677 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1678 | |
---|
1679 | ac_retval=1 |
---|
1680 | fi |
---|
1681 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1682 | as_fn_set_status $ac_retval |
---|
1683 | |
---|
1684 | } # ac_fn_c_try_cpp |
---|
1685 | |
---|
1686 | # ac_fn_c_try_run LINENO |
---|
1687 | # ---------------------- |
---|
1688 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
---|
1689 | # that executables *can* be run. |
---|
1690 | ac_fn_c_try_run () |
---|
1691 | { |
---|
1692 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1693 | if { { ac_try="$ac_link" |
---|
1694 | case "(($ac_try" in |
---|
1695 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1696 | *) ac_try_echo=$ac_try;; |
---|
1697 | esac |
---|
1698 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1699 | $as_echo "$ac_try_echo"; } >&5 |
---|
1700 | (eval "$ac_link") 2>&5 |
---|
1701 | ac_status=$? |
---|
1702 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1703 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
---|
1704 | { { case "(($ac_try" in |
---|
1705 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1706 | *) ac_try_echo=$ac_try;; |
---|
1707 | esac |
---|
1708 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1709 | $as_echo "$ac_try_echo"; } >&5 |
---|
1710 | (eval "$ac_try") 2>&5 |
---|
1711 | ac_status=$? |
---|
1712 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1713 | test $ac_status = 0; }; }; then : |
---|
1714 | ac_retval=0 |
---|
1715 | else |
---|
1716 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
---|
1717 | $as_echo "$as_me: failed program was:" >&5 |
---|
1718 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1719 | |
---|
1720 | ac_retval=$ac_status |
---|
1721 | fi |
---|
1722 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
---|
1723 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1724 | as_fn_set_status $ac_retval |
---|
1725 | |
---|
1726 | } # ac_fn_c_try_run |
---|
1727 | |
---|
1728 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
---|
1729 | # ------------------------------------------------------- |
---|
1730 | # Tests whether HEADER exists and can be compiled using the include files in |
---|
1731 | # INCLUDES, setting the cache variable VAR accordingly. |
---|
1732 | ac_fn_c_check_header_compile () |
---|
1733 | { |
---|
1734 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1735 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
1736 | $as_echo_n "checking for $2... " >&6; } |
---|
1737 | if eval \${$3+:} false; then : |
---|
1738 | $as_echo_n "(cached) " >&6 |
---|
1739 | else |
---|
1740 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1741 | /* end confdefs.h. */ |
---|
1742 | $4 |
---|
1743 | #include <$2> |
---|
1744 | _ACEOF |
---|
1745 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
1746 | eval "$3=yes" |
---|
1747 | else |
---|
1748 | eval "$3=no" |
---|
1749 | fi |
---|
1750 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
1751 | fi |
---|
1752 | eval ac_res=\$$3 |
---|
1753 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
1754 | $as_echo "$ac_res" >&6; } |
---|
1755 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1756 | |
---|
1757 | } # ac_fn_c_check_header_compile |
---|
1758 | |
---|
1759 | # ac_fn_c_check_func LINENO FUNC VAR |
---|
1760 | # ---------------------------------- |
---|
1761 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
---|
1762 | ac_fn_c_check_func () |
---|
1763 | { |
---|
1764 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1765 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
1766 | $as_echo_n "checking for $2... " >&6; } |
---|
1767 | if eval \${$3+:} false; then : |
---|
1768 | $as_echo_n "(cached) " >&6 |
---|
1769 | else |
---|
1770 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1771 | /* end confdefs.h. */ |
---|
1772 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
---|
1773 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
1774 | #define $2 innocuous_$2 |
---|
1775 | |
---|
1776 | /* System header to define __stub macros and hopefully few prototypes, |
---|
1777 | which can conflict with char $2 (); below. |
---|
1778 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
1779 | <limits.h> exists even on freestanding compilers. */ |
---|
1780 | |
---|
1781 | #ifdef __STDC__ |
---|
1782 | # include <limits.h> |
---|
1783 | #else |
---|
1784 | # include <assert.h> |
---|
1785 | #endif |
---|
1786 | |
---|
1787 | #undef $2 |
---|
1788 | |
---|
1789 | /* Override any GCC internal prototype to avoid an error. |
---|
1790 | Use char because int might match the return type of a GCC |
---|
1791 | builtin and then its argument prototype would still apply. */ |
---|
1792 | #ifdef __cplusplus |
---|
1793 | extern "C" |
---|
1794 | #endif |
---|
1795 | char $2 (); |
---|
1796 | /* The GNU C library defines this for functions which it implements |
---|
1797 | to always fail with ENOSYS. Some functions are actually named |
---|
1798 | something starting with __ and the normal name is an alias. */ |
---|
1799 | #if defined __stub_$2 || defined __stub___$2 |
---|
1800 | choke me |
---|
1801 | #endif |
---|
1802 | |
---|
1803 | int |
---|
1804 | main () |
---|
1805 | { |
---|
1806 | return $2 (); |
---|
1807 | ; |
---|
1808 | return 0; |
---|
1809 | } |
---|
1810 | _ACEOF |
---|
1811 | if ac_fn_c_try_link "$LINENO"; then : |
---|
1812 | eval "$3=yes" |
---|
1813 | else |
---|
1814 | eval "$3=no" |
---|
1815 | fi |
---|
1816 | rm -f core conftest.err conftest.$ac_objext \ |
---|
1817 | conftest$ac_exeext conftest.$ac_ext |
---|
1818 | fi |
---|
1819 | eval ac_res=\$$3 |
---|
1820 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
1821 | $as_echo "$ac_res" >&6; } |
---|
1822 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1823 | |
---|
1824 | } # ac_fn_c_check_func |
---|
1825 | |
---|
1826 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
---|
1827 | # ------------------------------------------------------- |
---|
1828 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
---|
1829 | # the include files in INCLUDES and setting the cache variable VAR |
---|
1830 | # accordingly. |
---|
1831 | ac_fn_c_check_header_mongrel () |
---|
1832 | { |
---|
1833 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1834 | if eval \${$3+:} false; then : |
---|
1835 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
1836 | $as_echo_n "checking for $2... " >&6; } |
---|
1837 | if eval \${$3+:} false; then : |
---|
1838 | $as_echo_n "(cached) " >&6 |
---|
1839 | fi |
---|
1840 | eval ac_res=\$$3 |
---|
1841 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
1842 | $as_echo "$ac_res" >&6; } |
---|
1843 | else |
---|
1844 | # Is the header compilable? |
---|
1845 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
---|
1846 | $as_echo_n "checking $2 usability... " >&6; } |
---|
1847 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1848 | /* end confdefs.h. */ |
---|
1849 | $4 |
---|
1850 | #include <$2> |
---|
1851 | _ACEOF |
---|
1852 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
1853 | ac_header_compiler=yes |
---|
1854 | else |
---|
1855 | ac_header_compiler=no |
---|
1856 | fi |
---|
1857 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
1858 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
---|
1859 | $as_echo "$ac_header_compiler" >&6; } |
---|
1860 | |
---|
1861 | # Is the header present? |
---|
1862 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
---|
1863 | $as_echo_n "checking $2 presence... " >&6; } |
---|
1864 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1865 | /* end confdefs.h. */ |
---|
1866 | #include <$2> |
---|
1867 | _ACEOF |
---|
1868 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
1869 | ac_header_preproc=yes |
---|
1870 | else |
---|
1871 | ac_header_preproc=no |
---|
1872 | fi |
---|
1873 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
1874 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
---|
1875 | $as_echo "$ac_header_preproc" >&6; } |
---|
1876 | |
---|
1877 | # So? What about this header? |
---|
1878 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
---|
1879 | yes:no: ) |
---|
1880 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
1881 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
1882 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
---|
1883 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
---|
1884 | ;; |
---|
1885 | no:yes:* ) |
---|
1886 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
---|
1887 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
---|
1888 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
---|
1889 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
---|
1890 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
---|
1891 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
---|
1892 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
---|
1893 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
1894 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
---|
1895 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
---|
1896 | ( $as_echo "## --------------------------------------- ## |
---|
1897 | ## Report this to cforall@plg.uwaterloo.ca ## |
---|
1898 | ## --------------------------------------- ##" |
---|
1899 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
---|
1900 | ;; |
---|
1901 | esac |
---|
1902 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
1903 | $as_echo_n "checking for $2... " >&6; } |
---|
1904 | if eval \${$3+:} false; then : |
---|
1905 | $as_echo_n "(cached) " >&6 |
---|
1906 | else |
---|
1907 | eval "$3=\$ac_header_compiler" |
---|
1908 | fi |
---|
1909 | eval ac_res=\$$3 |
---|
1910 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
1911 | $as_echo "$ac_res" >&6; } |
---|
1912 | fi |
---|
1913 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1914 | |
---|
1915 | } # ac_fn_c_check_header_mongrel |
---|
1916 | |
---|
1917 | # ac_fn_c_find_intX_t LINENO BITS VAR |
---|
1918 | # ----------------------------------- |
---|
1919 | # Finds a signed integer type with width BITS, setting cache variable VAR |
---|
1920 | # accordingly. |
---|
1921 | ac_fn_c_find_intX_t () |
---|
1922 | { |
---|
1923 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1924 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
---|
1925 | $as_echo_n "checking for int$2_t... " >&6; } |
---|
1926 | if eval \${$3+:} false; then : |
---|
1927 | $as_echo_n "(cached) " >&6 |
---|
1928 | else |
---|
1929 | eval "$3=no" |
---|
1930 | # Order is important - never check a type that is potentially smaller |
---|
1931 | # than half of the expected target width. |
---|
1932 | for ac_type in int$2_t 'int' 'long int' \ |
---|
1933 | 'long long int' 'short int' 'signed char'; do |
---|
1934 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1935 | /* end confdefs.h. */ |
---|
1936 | $ac_includes_default |
---|
1937 | enum { N = $2 / 2 - 1 }; |
---|
1938 | int |
---|
1939 | main () |
---|
1940 | { |
---|
1941 | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; |
---|
1942 | test_array [0] = 0 |
---|
1943 | |
---|
1944 | ; |
---|
1945 | return 0; |
---|
1946 | } |
---|
1947 | _ACEOF |
---|
1948 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
1949 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1950 | /* end confdefs.h. */ |
---|
1951 | $ac_includes_default |
---|
1952 | enum { N = $2 / 2 - 1 }; |
---|
1953 | int |
---|
1954 | main () |
---|
1955 | { |
---|
1956 | static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) |
---|
1957 | < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; |
---|
1958 | test_array [0] = 0 |
---|
1959 | |
---|
1960 | ; |
---|
1961 | return 0; |
---|
1962 | } |
---|
1963 | _ACEOF |
---|
1964 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
1965 | |
---|
1966 | else |
---|
1967 | case $ac_type in #( |
---|
1968 | int$2_t) : |
---|
1969 | eval "$3=yes" ;; #( |
---|
1970 | *) : |
---|
1971 | eval "$3=\$ac_type" ;; |
---|
1972 | esac |
---|
1973 | fi |
---|
1974 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
1975 | fi |
---|
1976 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
1977 | if eval test \"x\$"$3"\" = x"no"; then : |
---|
1978 | |
---|
1979 | else |
---|
1980 | break |
---|
1981 | fi |
---|
1982 | done |
---|
1983 | fi |
---|
1984 | eval ac_res=\$$3 |
---|
1985 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
1986 | $as_echo "$ac_res" >&6; } |
---|
1987 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1988 | |
---|
1989 | } # ac_fn_c_find_intX_t |
---|
1990 | |
---|
1991 | # ac_fn_c_find_uintX_t LINENO BITS VAR |
---|
1992 | # ------------------------------------ |
---|
1993 | # Finds an unsigned integer type with width BITS, setting cache variable VAR |
---|
1994 | # accordingly. |
---|
1995 | ac_fn_c_find_uintX_t () |
---|
1996 | { |
---|
1997 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1998 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
---|
1999 | $as_echo_n "checking for uint$2_t... " >&6; } |
---|
2000 | if eval \${$3+:} false; then : |
---|
2001 | $as_echo_n "(cached) " >&6 |
---|
2002 | else |
---|
2003 | eval "$3=no" |
---|
2004 | # Order is important - never check a type that is potentially smaller |
---|
2005 | # than half of the expected target width. |
---|
2006 | for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ |
---|
2007 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
---|
2008 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
2009 | /* end confdefs.h. */ |
---|
2010 | $ac_includes_default |
---|
2011 | int |
---|
2012 | main () |
---|
2013 | { |
---|
2014 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; |
---|
2015 | test_array [0] = 0 |
---|
2016 | |
---|
2017 | ; |
---|
2018 | return 0; |
---|
2019 | } |
---|
2020 | _ACEOF |
---|
2021 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
2022 | case $ac_type in #( |
---|
2023 | uint$2_t) : |
---|
2024 | eval "$3=yes" ;; #( |
---|
2025 | *) : |
---|
2026 | eval "$3=\$ac_type" ;; |
---|
2027 | esac |
---|
2028 | fi |
---|
2029 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2030 | if eval test \"x\$"$3"\" = x"no"; then : |
---|
2031 | |
---|
2032 | else |
---|
2033 | break |
---|
2034 | fi |
---|
2035 | done |
---|
2036 | fi |
---|
2037 | eval ac_res=\$$3 |
---|
2038 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
2039 | $as_echo "$ac_res" >&6; } |
---|
2040 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
2041 | |
---|
2042 | } # ac_fn_c_find_uintX_t |
---|
2043 | cat >config.log <<_ACEOF |
---|
2044 | This file contains any messages produced by compilers while |
---|
2045 | running configure, to aid debugging if configure makes a mistake. |
---|
2046 | |
---|
2047 | It was created by cfa-cc $as_me 1.0.0.0, which was |
---|
2048 | generated by GNU Autoconf 2.68. Invocation command line was |
---|
2049 | |
---|
2050 | $ $0 $@ |
---|
2051 | |
---|
2052 | _ACEOF |
---|
2053 | exec 5>>config.log |
---|
2054 | { |
---|
2055 | cat <<_ASUNAME |
---|
2056 | ## --------- ## |
---|
2057 | ## Platform. ## |
---|
2058 | ## --------- ## |
---|
2059 | |
---|
2060 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
2061 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
2062 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
2063 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
2064 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
2065 | |
---|
2066 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
2067 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
2068 | |
---|
2069 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
2070 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
2071 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
2072 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
2073 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
2074 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
2075 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
2076 | |
---|
2077 | _ASUNAME |
---|
2078 | |
---|
2079 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2080 | for as_dir in $PATH |
---|
2081 | do |
---|
2082 | IFS=$as_save_IFS |
---|
2083 | test -z "$as_dir" && as_dir=. |
---|
2084 | $as_echo "PATH: $as_dir" |
---|
2085 | done |
---|
2086 | IFS=$as_save_IFS |
---|
2087 | |
---|
2088 | } >&5 |
---|
2089 | |
---|
2090 | cat >&5 <<_ACEOF |
---|
2091 | |
---|
2092 | |
---|
2093 | ## ----------- ## |
---|
2094 | ## Core tests. ## |
---|
2095 | ## ----------- ## |
---|
2096 | |
---|
2097 | _ACEOF |
---|
2098 | |
---|
2099 | |
---|
2100 | # Keep a trace of the command line. |
---|
2101 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
2102 | # Strip out --silent because we don't want to record it for future runs. |
---|
2103 | # Also quote any args containing shell meta-characters. |
---|
2104 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
2105 | ac_configure_args= |
---|
2106 | ac_configure_args0= |
---|
2107 | ac_configure_args1= |
---|
2108 | ac_must_keep_next=false |
---|
2109 | for ac_pass in 1 2 |
---|
2110 | do |
---|
2111 | for ac_arg |
---|
2112 | do |
---|
2113 | case $ac_arg in |
---|
2114 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
2115 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
2116 | | -silent | --silent | --silen | --sile | --sil) |
---|
2117 | continue ;; |
---|
2118 | *\'*) |
---|
2119 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
2120 | esac |
---|
2121 | case $ac_pass in |
---|
2122 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
---|
2123 | 2) |
---|
2124 | as_fn_append ac_configure_args1 " '$ac_arg'" |
---|
2125 | if test $ac_must_keep_next = true; then |
---|
2126 | ac_must_keep_next=false # Got value, back to normal. |
---|
2127 | else |
---|
2128 | case $ac_arg in |
---|
2129 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
2130 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
2131 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
2132 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
2133 | case "$ac_configure_args0 " in |
---|
2134 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
2135 | esac |
---|
2136 | ;; |
---|
2137 | -* ) ac_must_keep_next=true ;; |
---|
2138 | esac |
---|
2139 | fi |
---|
2140 | as_fn_append ac_configure_args " '$ac_arg'" |
---|
2141 | ;; |
---|
2142 | esac |
---|
2143 | done |
---|
2144 | done |
---|
2145 | { ac_configure_args0=; unset ac_configure_args0;} |
---|
2146 | { ac_configure_args1=; unset ac_configure_args1;} |
---|
2147 | |
---|
2148 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
2149 | # config.log. We remove comments because anyway the quotes in there |
---|
2150 | # would cause problems or look ugly. |
---|
2151 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
2152 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
2153 | trap 'exit_status=$? |
---|
2154 | # Save into config.log some information that might help in debugging. |
---|
2155 | { |
---|
2156 | echo |
---|
2157 | |
---|
2158 | $as_echo "## ---------------- ## |
---|
2159 | ## Cache variables. ## |
---|
2160 | ## ---------------- ##" |
---|
2161 | echo |
---|
2162 | # The following way of writing the cache mishandles newlines in values, |
---|
2163 | ( |
---|
2164 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
2165 | eval ac_val=\$$ac_var |
---|
2166 | case $ac_val in #( |
---|
2167 | *${as_nl}*) |
---|
2168 | case $ac_var in #( |
---|
2169 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
2170 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
2171 | esac |
---|
2172 | case $ac_var in #( |
---|
2173 | _ | IFS | as_nl) ;; #( |
---|
2174 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
2175 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
2176 | esac ;; |
---|
2177 | esac |
---|
2178 | done |
---|
2179 | (set) 2>&1 | |
---|
2180 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
2181 | *${as_nl}ac_space=\ *) |
---|
2182 | sed -n \ |
---|
2183 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
2184 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
2185 | ;; #( |
---|
2186 | *) |
---|
2187 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
2188 | ;; |
---|
2189 | esac | |
---|
2190 | sort |
---|
2191 | ) |
---|
2192 | echo |
---|
2193 | |
---|
2194 | $as_echo "## ----------------- ## |
---|
2195 | ## Output variables. ## |
---|
2196 | ## ----------------- ##" |
---|
2197 | echo |
---|
2198 | for ac_var in $ac_subst_vars |
---|
2199 | do |
---|
2200 | eval ac_val=\$$ac_var |
---|
2201 | case $ac_val in |
---|
2202 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
2203 | esac |
---|
2204 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
2205 | done | sort |
---|
2206 | echo |
---|
2207 | |
---|
2208 | if test -n "$ac_subst_files"; then |
---|
2209 | $as_echo "## ------------------- ## |
---|
2210 | ## File substitutions. ## |
---|
2211 | ## ------------------- ##" |
---|
2212 | echo |
---|
2213 | for ac_var in $ac_subst_files |
---|
2214 | do |
---|
2215 | eval ac_val=\$$ac_var |
---|
2216 | case $ac_val in |
---|
2217 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
2218 | esac |
---|
2219 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
2220 | done | sort |
---|
2221 | echo |
---|
2222 | fi |
---|
2223 | |
---|
2224 | if test -s confdefs.h; then |
---|
2225 | $as_echo "## ----------- ## |
---|
2226 | ## confdefs.h. ## |
---|
2227 | ## ----------- ##" |
---|
2228 | echo |
---|
2229 | cat confdefs.h |
---|
2230 | echo |
---|
2231 | fi |
---|
2232 | test "$ac_signal" != 0 && |
---|
2233 | $as_echo "$as_me: caught signal $ac_signal" |
---|
2234 | $as_echo "$as_me: exit $exit_status" |
---|
2235 | } >&5 |
---|
2236 | rm -f core *.core core.conftest.* && |
---|
2237 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
2238 | exit $exit_status |
---|
2239 | ' 0 |
---|
2240 | for ac_signal in 1 2 13 15; do |
---|
2241 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
---|
2242 | done |
---|
2243 | ac_signal=0 |
---|
2244 | |
---|
2245 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
2246 | rm -f -r conftest* confdefs.h |
---|
2247 | |
---|
2248 | $as_echo "/* confdefs.h */" > confdefs.h |
---|
2249 | |
---|
2250 | # Predefined preprocessor variables. |
---|
2251 | |
---|
2252 | cat >>confdefs.h <<_ACEOF |
---|
2253 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
2254 | _ACEOF |
---|
2255 | |
---|
2256 | cat >>confdefs.h <<_ACEOF |
---|
2257 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
2258 | _ACEOF |
---|
2259 | |
---|
2260 | cat >>confdefs.h <<_ACEOF |
---|
2261 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
2262 | _ACEOF |
---|
2263 | |
---|
2264 | cat >>confdefs.h <<_ACEOF |
---|
2265 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
2266 | _ACEOF |
---|
2267 | |
---|
2268 | cat >>confdefs.h <<_ACEOF |
---|
2269 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
2270 | _ACEOF |
---|
2271 | |
---|
2272 | cat >>confdefs.h <<_ACEOF |
---|
2273 | #define PACKAGE_URL "$PACKAGE_URL" |
---|
2274 | _ACEOF |
---|
2275 | |
---|
2276 | |
---|
2277 | # Let the site file select an alternate cache file if it wants to. |
---|
2278 | # Prefer an explicitly selected file to automatically selected ones. |
---|
2279 | ac_site_file1=NONE |
---|
2280 | ac_site_file2=NONE |
---|
2281 | if test -n "$CONFIG_SITE"; then |
---|
2282 | # We do not want a PATH search for config.site. |
---|
2283 | case $CONFIG_SITE in #(( |
---|
2284 | -*) ac_site_file1=./$CONFIG_SITE;; |
---|
2285 | */*) ac_site_file1=$CONFIG_SITE;; |
---|
2286 | *) ac_site_file1=./$CONFIG_SITE;; |
---|
2287 | esac |
---|
2288 | elif test "x$prefix" != xNONE; then |
---|
2289 | ac_site_file1=$prefix/share/config.site |
---|
2290 | ac_site_file2=$prefix/etc/config.site |
---|
2291 | else |
---|
2292 | ac_site_file1=$ac_default_prefix/share/config.site |
---|
2293 | ac_site_file2=$ac_default_prefix/etc/config.site |
---|
2294 | fi |
---|
2295 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
---|
2296 | do |
---|
2297 | test "x$ac_site_file" = xNONE && continue |
---|
2298 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
---|
2299 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
---|
2300 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
2301 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
2302 | . "$ac_site_file" \ |
---|
2303 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
2304 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2305 | as_fn_error $? "failed to load site script $ac_site_file |
---|
2306 | See \`config.log' for more details" "$LINENO" 5; } |
---|
2307 | fi |
---|
2308 | done |
---|
2309 | |
---|
2310 | if test -r "$cache_file"; then |
---|
2311 | # Some versions of bash will fail to source /dev/null (special files |
---|
2312 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
---|
2313 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
---|
2314 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
---|
2315 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
---|
2316 | case $cache_file in |
---|
2317 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
2318 | *) . "./$cache_file";; |
---|
2319 | esac |
---|
2320 | fi |
---|
2321 | else |
---|
2322 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
---|
2323 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
---|
2324 | >$cache_file |
---|
2325 | fi |
---|
2326 | |
---|
2327 | # Check that the precious variables saved in the cache have kept the same |
---|
2328 | # value. |
---|
2329 | ac_cache_corrupted=false |
---|
2330 | for ac_var in $ac_precious_vars; do |
---|
2331 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
2332 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
2333 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
2334 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
2335 | case $ac_old_set,$ac_new_set in |
---|
2336 | set,) |
---|
2337 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
2338 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
2339 | ac_cache_corrupted=: ;; |
---|
2340 | ,set) |
---|
2341 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
---|
2342 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
2343 | ac_cache_corrupted=: ;; |
---|
2344 | ,);; |
---|
2345 | *) |
---|
2346 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
2347 | # differences in whitespace do not lead to failure. |
---|
2348 | ac_old_val_w=`echo x $ac_old_val` |
---|
2349 | ac_new_val_w=`echo x $ac_new_val` |
---|
2350 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
---|
2351 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
2352 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
2353 | ac_cache_corrupted=: |
---|
2354 | else |
---|
2355 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
---|
2356 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
---|
2357 | eval $ac_var=\$ac_old_val |
---|
2358 | fi |
---|
2359 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
---|
2360 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
---|
2361 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
---|
2362 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
---|
2363 | fi;; |
---|
2364 | esac |
---|
2365 | # Pass precious variables to config.status. |
---|
2366 | if test "$ac_new_set" = set; then |
---|
2367 | case $ac_new_val in |
---|
2368 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
2369 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
2370 | esac |
---|
2371 | case " $ac_configure_args " in |
---|
2372 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
2373 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
---|
2374 | esac |
---|
2375 | fi |
---|
2376 | done |
---|
2377 | if $ac_cache_corrupted; then |
---|
2378 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
2379 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2380 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
---|
2381 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
2382 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
---|
2383 | fi |
---|
2384 | ## -------------------- ## |
---|
2385 | ## Main body of script. ## |
---|
2386 | ## -------------------- ## |
---|
2387 | |
---|
2388 | ac_ext=c |
---|
2389 | ac_cpp='$CPP $CPPFLAGS' |
---|
2390 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2391 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2392 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2393 | |
---|
2394 | |
---|
2395 | ac_aux_dir= |
---|
2396 | for ac_dir in automake "$srcdir"/automake; do |
---|
2397 | if test -f "$ac_dir/install-sh"; then |
---|
2398 | ac_aux_dir=$ac_dir |
---|
2399 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
2400 | break |
---|
2401 | elif test -f "$ac_dir/install.sh"; then |
---|
2402 | ac_aux_dir=$ac_dir |
---|
2403 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
2404 | break |
---|
2405 | elif test -f "$ac_dir/shtool"; then |
---|
2406 | ac_aux_dir=$ac_dir |
---|
2407 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
2408 | break |
---|
2409 | fi |
---|
2410 | done |
---|
2411 | if test -z "$ac_aux_dir"; then |
---|
2412 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in automake \"$srcdir\"/automake" "$LINENO" 5 |
---|
2413 | fi |
---|
2414 | |
---|
2415 | # These three variables are undocumented and unsupported, |
---|
2416 | # and are intended to be withdrawn in a future Autoconf release. |
---|
2417 | # They can cause serious problems if a builder's source tree is in a directory |
---|
2418 | # whose full name contains unusual characters. |
---|
2419 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
---|
2420 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
---|
2421 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
---|
2422 | |
---|
2423 | |
---|
2424 | #AC_CONFIG_SRCDIR([src/main.cc]) |
---|
2425 | ac_config_headers="$ac_config_headers config.h" |
---|
2426 | |
---|
2427 | # Check whether --enable-silent-rules was given. |
---|
2428 | if test "${enable_silent_rules+set}" = set; then : |
---|
2429 | enableval=$enable_silent_rules; |
---|
2430 | fi |
---|
2431 | |
---|
2432 | case $enable_silent_rules in |
---|
2433 | yes) AM_DEFAULT_VERBOSITY=0;; |
---|
2434 | no) AM_DEFAULT_VERBOSITY=1;; |
---|
2435 | *) AM_DEFAULT_VERBOSITY=1;; |
---|
2436 | esac |
---|
2437 | am_make=${MAKE-make} |
---|
2438 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
---|
2439 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
---|
2440 | if ${am_cv_make_support_nested_variables+:} false; then : |
---|
2441 | $as_echo_n "(cached) " >&6 |
---|
2442 | else |
---|
2443 | if $as_echo 'TRUE=$(BAR$(V)) |
---|
2444 | BAR0=false |
---|
2445 | BAR1=true |
---|
2446 | V=1 |
---|
2447 | am__doit: |
---|
2448 | @$(TRUE) |
---|
2449 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
---|
2450 | am_cv_make_support_nested_variables=yes |
---|
2451 | else |
---|
2452 | am_cv_make_support_nested_variables=no |
---|
2453 | fi |
---|
2454 | fi |
---|
2455 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
---|
2456 | $as_echo "$am_cv_make_support_nested_variables" >&6; } |
---|
2457 | if test $am_cv_make_support_nested_variables = yes; then |
---|
2458 | AM_V='$(V)' |
---|
2459 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
---|
2460 | else |
---|
2461 | AM_V=$AM_DEFAULT_VERBOSITY |
---|
2462 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
---|
2463 | fi |
---|
2464 | AM_BACKSLASH='\' |
---|
2465 | |
---|
2466 | |
---|
2467 | if test "x${CXXFLAGS}" = "x"; then |
---|
2468 | export CXXFLAGS="-std=c++11 -g ${CXXFLAGS}" # defaults, no -O2 for debugging and failures |
---|
2469 | else |
---|
2470 | export CXXFLAGS="-std=c++11 ${CXXFLAGS}" # flags from configure command |
---|
2471 | fi |
---|
2472 | |
---|
2473 | am__api_version='1.11' |
---|
2474 | |
---|
2475 | # Find a good install program. We prefer a C program (faster), |
---|
2476 | # so one script is as good as another. But avoid the broken or |
---|
2477 | # incompatible versions: |
---|
2478 | # SysV /etc/install, /usr/sbin/install |
---|
2479 | # SunOS /usr/etc/install |
---|
2480 | # IRIX /sbin/install |
---|
2481 | # AIX /bin/install |
---|
2482 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
2483 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
2484 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
2485 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
2486 | # OS/2's system install, which has a completely different semantic |
---|
2487 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
2488 | # Reject install programs that cannot install multiple files. |
---|
2489 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
---|
2490 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
---|
2491 | if test -z "$INSTALL"; then |
---|
2492 | if ${ac_cv_path_install+:} false; then : |
---|
2493 | $as_echo_n "(cached) " >&6 |
---|
2494 | else |
---|
2495 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2496 | for as_dir in $PATH |
---|
2497 | do |
---|
2498 | IFS=$as_save_IFS |
---|
2499 | test -z "$as_dir" && as_dir=. |
---|
2500 | # Account for people who put trailing slashes in PATH elements. |
---|
2501 | case $as_dir/ in #(( |
---|
2502 | ./ | .// | /[cC]/* | \ |
---|
2503 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
2504 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
---|
2505 | /usr/ucb/* ) ;; |
---|
2506 | *) |
---|
2507 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
2508 | # Don't use installbsd from OSF since it installs stuff as root |
---|
2509 | # by default. |
---|
2510 | for ac_prog in ginstall scoinst install; do |
---|
2511 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2512 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
---|
2513 | if test $ac_prog = install && |
---|
2514 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
2515 | # AIX install. It has an incompatible calling convention. |
---|
2516 | : |
---|
2517 | elif test $ac_prog = install && |
---|
2518 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
2519 | # program-specific install script used by HP pwplus--don't use. |
---|
2520 | : |
---|
2521 | else |
---|
2522 | rm -rf conftest.one conftest.two conftest.dir |
---|
2523 | echo one > conftest.one |
---|
2524 | echo two > conftest.two |
---|
2525 | mkdir conftest.dir |
---|
2526 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
---|
2527 | test -s conftest.one && test -s conftest.two && |
---|
2528 | test -s conftest.dir/conftest.one && |
---|
2529 | test -s conftest.dir/conftest.two |
---|
2530 | then |
---|
2531 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
2532 | break 3 |
---|
2533 | fi |
---|
2534 | fi |
---|
2535 | fi |
---|
2536 | done |
---|
2537 | done |
---|
2538 | ;; |
---|
2539 | esac |
---|
2540 | |
---|
2541 | done |
---|
2542 | IFS=$as_save_IFS |
---|
2543 | |
---|
2544 | rm -rf conftest.one conftest.two conftest.dir |
---|
2545 | |
---|
2546 | fi |
---|
2547 | if test "${ac_cv_path_install+set}" = set; then |
---|
2548 | INSTALL=$ac_cv_path_install |
---|
2549 | else |
---|
2550 | # As a last resort, use the slow shell script. Don't cache a |
---|
2551 | # value for INSTALL within a source directory, because that will |
---|
2552 | # break other packages using the cache if that directory is |
---|
2553 | # removed, or if the value is a relative name. |
---|
2554 | INSTALL=$ac_install_sh |
---|
2555 | fi |
---|
2556 | fi |
---|
2557 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
---|
2558 | $as_echo "$INSTALL" >&6; } |
---|
2559 | |
---|
2560 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
2561 | # It thinks the first close brace ends the variable substitution. |
---|
2562 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
2563 | |
---|
2564 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
2565 | |
---|
2566 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
2567 | |
---|
2568 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
---|
2569 | $as_echo_n "checking whether build environment is sane... " >&6; } |
---|
2570 | # Just in case |
---|
2571 | sleep 1 |
---|
2572 | echo timestamp > conftest.file |
---|
2573 | # Reject unsafe characters in $srcdir or the absolute working directory |
---|
2574 | # name. Accept space and tab only in the latter. |
---|
2575 | am_lf=' |
---|
2576 | ' |
---|
2577 | case `pwd` in |
---|
2578 | *[\\\"\#\$\&\'\`$am_lf]*) |
---|
2579 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
---|
2580 | esac |
---|
2581 | case $srcdir in |
---|
2582 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
---|
2583 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
---|
2584 | esac |
---|
2585 | |
---|
2586 | # Do `set' in a subshell so we don't clobber the current shell's |
---|
2587 | # arguments. Must try -L first in case configure is actually a |
---|
2588 | # symlink; some systems play weird games with the mod time of symlinks |
---|
2589 | # (eg FreeBSD returns the mod time of the symlink's containing |
---|
2590 | # directory). |
---|
2591 | if ( |
---|
2592 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
---|
2593 | if test "$*" = "X"; then |
---|
2594 | # -L didn't work. |
---|
2595 | set X `ls -t "$srcdir/configure" conftest.file` |
---|
2596 | fi |
---|
2597 | rm -f conftest.file |
---|
2598 | if test "$*" != "X $srcdir/configure conftest.file" \ |
---|
2599 | && test "$*" != "X conftest.file $srcdir/configure"; then |
---|
2600 | |
---|
2601 | # If neither matched, then we have a broken ls. This can happen |
---|
2602 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
---|
2603 | # broken ls alias from the environment. This has actually |
---|
2604 | # happened. Such a system could not be considered "sane". |
---|
2605 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
---|
2606 | alias in your environment" "$LINENO" 5 |
---|
2607 | fi |
---|
2608 | |
---|
2609 | test "$2" = conftest.file |
---|
2610 | ) |
---|
2611 | then |
---|
2612 | # Ok. |
---|
2613 | : |
---|
2614 | else |
---|
2615 | as_fn_error $? "newly created file is older than distributed files! |
---|
2616 | Check your system clock" "$LINENO" 5 |
---|
2617 | fi |
---|
2618 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
2619 | $as_echo "yes" >&6; } |
---|
2620 | test "$program_prefix" != NONE && |
---|
2621 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
---|
2622 | # Use a double $ so make ignores it. |
---|
2623 | test "$program_suffix" != NONE && |
---|
2624 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
---|
2625 | # Double any \ or $. |
---|
2626 | # By default was `s,x,x', remove it if useless. |
---|
2627 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
---|
2628 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
---|
2629 | |
---|
2630 | # expand $ac_aux_dir to an absolute path |
---|
2631 | am_aux_dir=`cd $ac_aux_dir && pwd` |
---|
2632 | |
---|
2633 | if test x"${MISSING+set}" != xset; then |
---|
2634 | case $am_aux_dir in |
---|
2635 | *\ * | *\ *) |
---|
2636 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
---|
2637 | *) |
---|
2638 | MISSING="\${SHELL} $am_aux_dir/missing" ;; |
---|
2639 | esac |
---|
2640 | fi |
---|
2641 | # Use eval to expand $SHELL |
---|
2642 | if eval "$MISSING --run true"; then |
---|
2643 | am_missing_run="$MISSING --run " |
---|
2644 | else |
---|
2645 | am_missing_run= |
---|
2646 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
---|
2647 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
---|
2648 | fi |
---|
2649 | |
---|
2650 | if test x"${install_sh}" != xset; then |
---|
2651 | case $am_aux_dir in |
---|
2652 | *\ * | *\ *) |
---|
2653 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
---|
2654 | *) |
---|
2655 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
---|
2656 | esac |
---|
2657 | fi |
---|
2658 | |
---|
2659 | # Installed binaries are usually stripped using `strip' when the user |
---|
2660 | # run `make install-strip'. However `strip' might not be the right |
---|
2661 | # tool to use in cross-compilation environments, therefore Automake |
---|
2662 | # will honor the `STRIP' environment variable to overrule this program. |
---|
2663 | if test "$cross_compiling" != no; then |
---|
2664 | if test -n "$ac_tool_prefix"; then |
---|
2665 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
---|
2666 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
---|
2667 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2668 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2669 | if ${ac_cv_prog_STRIP+:} false; then : |
---|
2670 | $as_echo_n "(cached) " >&6 |
---|
2671 | else |
---|
2672 | if test -n "$STRIP"; then |
---|
2673 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
---|
2674 | else |
---|
2675 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2676 | for as_dir in $PATH |
---|
2677 | do |
---|
2678 | IFS=$as_save_IFS |
---|
2679 | test -z "$as_dir" && as_dir=. |
---|
2680 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2681 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2682 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
---|
2683 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2684 | break 2 |
---|
2685 | fi |
---|
2686 | done |
---|
2687 | done |
---|
2688 | IFS=$as_save_IFS |
---|
2689 | |
---|
2690 | fi |
---|
2691 | fi |
---|
2692 | STRIP=$ac_cv_prog_STRIP |
---|
2693 | if test -n "$STRIP"; then |
---|
2694 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
---|
2695 | $as_echo "$STRIP" >&6; } |
---|
2696 | else |
---|
2697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2698 | $as_echo "no" >&6; } |
---|
2699 | fi |
---|
2700 | |
---|
2701 | |
---|
2702 | fi |
---|
2703 | if test -z "$ac_cv_prog_STRIP"; then |
---|
2704 | ac_ct_STRIP=$STRIP |
---|
2705 | # Extract the first word of "strip", so it can be a program name with args. |
---|
2706 | set dummy strip; ac_word=$2 |
---|
2707 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2708 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2709 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
---|
2710 | $as_echo_n "(cached) " >&6 |
---|
2711 | else |
---|
2712 | if test -n "$ac_ct_STRIP"; then |
---|
2713 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
---|
2714 | else |
---|
2715 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2716 | for as_dir in $PATH |
---|
2717 | do |
---|
2718 | IFS=$as_save_IFS |
---|
2719 | test -z "$as_dir" && as_dir=. |
---|
2720 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2721 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2722 | ac_cv_prog_ac_ct_STRIP="strip" |
---|
2723 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2724 | break 2 |
---|
2725 | fi |
---|
2726 | done |
---|
2727 | done |
---|
2728 | IFS=$as_save_IFS |
---|
2729 | |
---|
2730 | fi |
---|
2731 | fi |
---|
2732 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
---|
2733 | if test -n "$ac_ct_STRIP"; then |
---|
2734 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
---|
2735 | $as_echo "$ac_ct_STRIP" >&6; } |
---|
2736 | else |
---|
2737 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2738 | $as_echo "no" >&6; } |
---|
2739 | fi |
---|
2740 | |
---|
2741 | if test "x$ac_ct_STRIP" = x; then |
---|
2742 | STRIP=":" |
---|
2743 | else |
---|
2744 | case $cross_compiling:$ac_tool_warned in |
---|
2745 | yes:) |
---|
2746 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
2747 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
2748 | ac_tool_warned=yes ;; |
---|
2749 | esac |
---|
2750 | STRIP=$ac_ct_STRIP |
---|
2751 | fi |
---|
2752 | else |
---|
2753 | STRIP="$ac_cv_prog_STRIP" |
---|
2754 | fi |
---|
2755 | |
---|
2756 | fi |
---|
2757 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
---|
2758 | |
---|
2759 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
---|
2760 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
---|
2761 | if test -z "$MKDIR_P"; then |
---|
2762 | if ${ac_cv_path_mkdir+:} false; then : |
---|
2763 | $as_echo_n "(cached) " >&6 |
---|
2764 | else |
---|
2765 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2766 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
---|
2767 | do |
---|
2768 | IFS=$as_save_IFS |
---|
2769 | test -z "$as_dir" && as_dir=. |
---|
2770 | for ac_prog in mkdir gmkdir; do |
---|
2771 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2772 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
---|
2773 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
---|
2774 | 'mkdir (GNU coreutils) '* | \ |
---|
2775 | 'mkdir (coreutils) '* | \ |
---|
2776 | 'mkdir (fileutils) '4.1*) |
---|
2777 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
---|
2778 | break 3;; |
---|
2779 | esac |
---|
2780 | done |
---|
2781 | done |
---|
2782 | done |
---|
2783 | IFS=$as_save_IFS |
---|
2784 | |
---|
2785 | fi |
---|
2786 | |
---|
2787 | test -d ./--version && rmdir ./--version |
---|
2788 | if test "${ac_cv_path_mkdir+set}" = set; then |
---|
2789 | MKDIR_P="$ac_cv_path_mkdir -p" |
---|
2790 | else |
---|
2791 | # As a last resort, use the slow shell script. Don't cache a |
---|
2792 | # value for MKDIR_P within a source directory, because that will |
---|
2793 | # break other packages using the cache if that directory is |
---|
2794 | # removed, or if the value is a relative name. |
---|
2795 | MKDIR_P="$ac_install_sh -d" |
---|
2796 | fi |
---|
2797 | fi |
---|
2798 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
---|
2799 | $as_echo "$MKDIR_P" >&6; } |
---|
2800 | |
---|
2801 | mkdir_p="$MKDIR_P" |
---|
2802 | case $mkdir_p in |
---|
2803 | [\\/$]* | ?:[\\/]*) ;; |
---|
2804 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
---|
2805 | esac |
---|
2806 | |
---|
2807 | for ac_prog in gawk mawk nawk awk |
---|
2808 | do |
---|
2809 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
2810 | set dummy $ac_prog; ac_word=$2 |
---|
2811 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2812 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2813 | if ${ac_cv_prog_AWK+:} false; then : |
---|
2814 | $as_echo_n "(cached) " >&6 |
---|
2815 | else |
---|
2816 | if test -n "$AWK"; then |
---|
2817 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
---|
2818 | else |
---|
2819 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2820 | for as_dir in $PATH |
---|
2821 | do |
---|
2822 | IFS=$as_save_IFS |
---|
2823 | test -z "$as_dir" && as_dir=. |
---|
2824 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2825 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2826 | ac_cv_prog_AWK="$ac_prog" |
---|
2827 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2828 | break 2 |
---|
2829 | fi |
---|
2830 | done |
---|
2831 | done |
---|
2832 | IFS=$as_save_IFS |
---|
2833 | |
---|
2834 | fi |
---|
2835 | fi |
---|
2836 | AWK=$ac_cv_prog_AWK |
---|
2837 | if test -n "$AWK"; then |
---|
2838 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
---|
2839 | $as_echo "$AWK" >&6; } |
---|
2840 | else |
---|
2841 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2842 | $as_echo "no" >&6; } |
---|
2843 | fi |
---|
2844 | |
---|
2845 | |
---|
2846 | test -n "$AWK" && break |
---|
2847 | done |
---|
2848 | |
---|
2849 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
---|
2850 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
---|
2851 | set x ${MAKE-make} |
---|
2852 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
---|
2853 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
---|
2854 | $as_echo_n "(cached) " >&6 |
---|
2855 | else |
---|
2856 | cat >conftest.make <<\_ACEOF |
---|
2857 | SHELL = /bin/sh |
---|
2858 | all: |
---|
2859 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
---|
2860 | _ACEOF |
---|
2861 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
---|
2862 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
---|
2863 | *@@@%%%=?*=@@@%%%*) |
---|
2864 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
---|
2865 | *) |
---|
2866 | eval ac_cv_prog_make_${ac_make}_set=no;; |
---|
2867 | esac |
---|
2868 | rm -f conftest.make |
---|
2869 | fi |
---|
2870 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
---|
2871 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
2872 | $as_echo "yes" >&6; } |
---|
2873 | SET_MAKE= |
---|
2874 | else |
---|
2875 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2876 | $as_echo "no" >&6; } |
---|
2877 | SET_MAKE="MAKE=${MAKE-make}" |
---|
2878 | fi |
---|
2879 | |
---|
2880 | rm -rf .tst 2>/dev/null |
---|
2881 | mkdir .tst 2>/dev/null |
---|
2882 | if test -d .tst; then |
---|
2883 | am__leading_dot=. |
---|
2884 | else |
---|
2885 | am__leading_dot=_ |
---|
2886 | fi |
---|
2887 | rmdir .tst 2>/dev/null |
---|
2888 | |
---|
2889 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
---|
2890 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
---|
2891 | # is not polluted with repeated "-I." |
---|
2892 | am__isrc=' -I$(srcdir)' |
---|
2893 | # test to see if srcdir already configured |
---|
2894 | if test -f $srcdir/config.status; then |
---|
2895 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
---|
2896 | fi |
---|
2897 | fi |
---|
2898 | |
---|
2899 | # test whether we have cygpath |
---|
2900 | if test -z "$CYGPATH_W"; then |
---|
2901 | if (cygpath --version) >/dev/null 2>/dev/null; then |
---|
2902 | CYGPATH_W='cygpath -w' |
---|
2903 | else |
---|
2904 | CYGPATH_W=echo |
---|
2905 | fi |
---|
2906 | fi |
---|
2907 | |
---|
2908 | |
---|
2909 | # Define the identity of the package. |
---|
2910 | PACKAGE='cfa-cc' |
---|
2911 | VERSION='1.0.0.0' |
---|
2912 | |
---|
2913 | |
---|
2914 | cat >>confdefs.h <<_ACEOF |
---|
2915 | #define PACKAGE "$PACKAGE" |
---|
2916 | _ACEOF |
---|
2917 | |
---|
2918 | |
---|
2919 | cat >>confdefs.h <<_ACEOF |
---|
2920 | #define VERSION "$VERSION" |
---|
2921 | _ACEOF |
---|
2922 | |
---|
2923 | # Some tools Automake needs. |
---|
2924 | |
---|
2925 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
---|
2926 | |
---|
2927 | |
---|
2928 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
---|
2929 | |
---|
2930 | |
---|
2931 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
---|
2932 | |
---|
2933 | |
---|
2934 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
---|
2935 | |
---|
2936 | |
---|
2937 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
---|
2938 | |
---|
2939 | # We need awk for the "check" target. The system "awk" is bad on |
---|
2940 | # some platforms. |
---|
2941 | # Always define AMTAR for backward compatibility. Yes, it's still used |
---|
2942 | # in the wild :-( We should find a proper way to deprecate it ... |
---|
2943 | AMTAR='$${TAR-tar}' |
---|
2944 | |
---|
2945 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
---|
2946 | |
---|
2947 | |
---|
2948 | |
---|
2949 | |
---|
2950 | |
---|
2951 | |
---|
2952 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
---|
2953 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
---|
2954 | # Check whether --enable-maintainer-mode was given. |
---|
2955 | if test "${enable_maintainer_mode+set}" = set; then : |
---|
2956 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
---|
2957 | else |
---|
2958 | USE_MAINTAINER_MODE=yes |
---|
2959 | fi |
---|
2960 | |
---|
2961 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
---|
2962 | $as_echo "$USE_MAINTAINER_MODE" >&6; } |
---|
2963 | if test $USE_MAINTAINER_MODE = yes; then |
---|
2964 | MAINTAINER_MODE_TRUE= |
---|
2965 | MAINTAINER_MODE_FALSE='#' |
---|
2966 | else |
---|
2967 | MAINTAINER_MODE_TRUE='#' |
---|
2968 | MAINTAINER_MODE_FALSE= |
---|
2969 | fi |
---|
2970 | |
---|
2971 | MAINT=$MAINTAINER_MODE_TRUE |
---|
2972 | |
---|
2973 | # may require auto* software to be installed |
---|
2974 | |
---|
2975 | rm -f version |
---|
2976 | echo ${PACKAGE_VERSION} > version # file containing version number for other tools |
---|
2977 | chmod ugo-w version |
---|
2978 | ver_major=`cut -d '.' -f1 version` # subdivide version number into components at periods |
---|
2979 | ver_minor=`cut -d '.' -f2 version` |
---|
2980 | ver_patch=`cut -d '.' -f3 version` |
---|
2981 | ver_build=`cut -d '.' -f4 version` |
---|
2982 | |
---|
2983 | # AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/version']) |
---|
2984 | |
---|
2985 | cat >>confdefs.h <<_ACEOF |
---|
2986 | #define CFA_VERSION_MAJOR ${ver_major} |
---|
2987 | _ACEOF |
---|
2988 | |
---|
2989 | |
---|
2990 | cat >>confdefs.h <<_ACEOF |
---|
2991 | #define CFA_VERSION_MINOR ${ver_minor} |
---|
2992 | _ACEOF |
---|
2993 | |
---|
2994 | |
---|
2995 | cat >>confdefs.h <<_ACEOF |
---|
2996 | #define CFA_VERSION_PATCH ${ver_patch} |
---|
2997 | _ACEOF |
---|
2998 | |
---|
2999 | |
---|
3000 | cat >>confdefs.h <<_ACEOF |
---|
3001 | #define CFA_VERSION_BUILD ${ver_build} |
---|
3002 | _ACEOF |
---|
3003 | |
---|
3004 | |
---|
3005 | cat >>confdefs.h <<_ACEOF |
---|
3006 | #define CFA_VERSION_SHORT "${ver_major}" |
---|
3007 | _ACEOF |
---|
3008 | |
---|
3009 | |
---|
3010 | cat >>confdefs.h <<_ACEOF |
---|
3011 | #define CFA_VERSION "${ver_major}.${ver_minor}" |
---|
3012 | _ACEOF |
---|
3013 | |
---|
3014 | |
---|
3015 | cat >>confdefs.h <<_ACEOF |
---|
3016 | #define CFA_VERSION_LONG "${ver_major}.${ver_minor}.${ver_patch}" |
---|
3017 | _ACEOF |
---|
3018 | |
---|
3019 | |
---|
3020 | cat >>confdefs.h <<_ACEOF |
---|
3021 | #define CFA_VERSION_FULL "${ver_major}.${ver_minor}.${ver_patch}.${ver_build}" |
---|
3022 | _ACEOF |
---|
3023 | |
---|
3024 | |
---|
3025 | # Installation paths |
---|
3026 | |
---|
3027 | |
---|
3028 | # Check whether --with-backend-compiler was given. |
---|
3029 | if test "${with_backend_compiler+set}" = set; then : |
---|
3030 | withval=$with_backend_compiler; backendcompiler=$withval |
---|
3031 | else |
---|
3032 | backendcompiler="" |
---|
3033 | fi |
---|
3034 | |
---|
3035 | if test "x$backendcompiler" != "x"; then |
---|
3036 | BACKEND_CC=${backendcompiler} |
---|
3037 | else |
---|
3038 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
3039 | set dummy gcc; ac_word=$2 |
---|
3040 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
3041 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3042 | if ${ac_cv_path_BACKEND_CC+:} false; then : |
---|
3043 | $as_echo_n "(cached) " >&6 |
---|
3044 | else |
---|
3045 | case $BACKEND_CC in |
---|
3046 | [\\/]* | ?:[\\/]*) |
---|
3047 | ac_cv_path_BACKEND_CC="$BACKEND_CC" # Let the user override the test with a path. |
---|
3048 | ;; |
---|
3049 | *) |
---|
3050 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3051 | for as_dir in $PATH |
---|
3052 | do |
---|
3053 | IFS=$as_save_IFS |
---|
3054 | test -z "$as_dir" && as_dir=. |
---|
3055 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3056 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
3057 | ac_cv_path_BACKEND_CC="$as_dir/$ac_word$ac_exec_ext" |
---|
3058 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3059 | break 2 |
---|
3060 | fi |
---|
3061 | done |
---|
3062 | done |
---|
3063 | IFS=$as_save_IFS |
---|
3064 | |
---|
3065 | ;; |
---|
3066 | esac |
---|
3067 | fi |
---|
3068 | BACKEND_CC=$ac_cv_path_BACKEND_CC |
---|
3069 | if test -n "$BACKEND_CC"; then |
---|
3070 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKEND_CC" >&5 |
---|
3071 | $as_echo "$BACKEND_CC" >&6; } |
---|
3072 | else |
---|
3073 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3074 | $as_echo "no" >&6; } |
---|
3075 | fi |
---|
3076 | |
---|
3077 | # check gcc installed |
---|
3078 | if test "x$BACKEND_CC" = "x"; then |
---|
3079 | as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5 |
---|
3080 | exit 1 |
---|
3081 | fi |
---|
3082 | fi |
---|
3083 | |
---|
3084 | cat >>confdefs.h <<_ACEOF |
---|
3085 | #define CFA_BACKEND_CC "${BACKEND_CC}" |
---|
3086 | _ACEOF |
---|
3087 | |
---|
3088 | |
---|
3089 | |
---|
3090 | if test "x$prefix" = "xNONE"; then |
---|
3091 | cfa_prefix=${ac_default_prefix} |
---|
3092 | else |
---|
3093 | cfa_prefix=${prefix} |
---|
3094 | fi |
---|
3095 | |
---|
3096 | cat >>confdefs.h <<_ACEOF |
---|
3097 | #define CFA_PREFIX "${cfa_prefix}" |
---|
3098 | _ACEOF |
---|
3099 | |
---|
3100 | CFA_PREFIX=${cfa_prefix} |
---|
3101 | |
---|
3102 | |
---|
3103 | if test "$includedir" = '${prefix}/include'; then |
---|
3104 | cfa_incdir="${cfa_prefix}/include" |
---|
3105 | else |
---|
3106 | cfa_incdir=${includedir} |
---|
3107 | fi |
---|
3108 | |
---|
3109 | cat >>confdefs.h <<_ACEOF |
---|
3110 | #define CFA_INCDIR "${cfa_incdir}" |
---|
3111 | _ACEOF |
---|
3112 | |
---|
3113 | CFA_INCDIR=${cfa_incdir} |
---|
3114 | |
---|
3115 | |
---|
3116 | if test "$bindir" = '${exec_prefix}/bin'; then |
---|
3117 | cfa_bindir="${cfa_prefix}/bin" |
---|
3118 | else |
---|
3119 | cfa_bindir=${bindir} |
---|
3120 | fi |
---|
3121 | |
---|
3122 | cat >>confdefs.h <<_ACEOF |
---|
3123 | #define CFA_BINDIR "${cfa_bindir}" |
---|
3124 | _ACEOF |
---|
3125 | |
---|
3126 | CFA_BINDIR=${cfa_bindir} |
---|
3127 | |
---|
3128 | |
---|
3129 | if test "$libdir" = '${exec_prefix}/lib'; then |
---|
3130 | cfa_libdir=${cfa_prefix}/lib |
---|
3131 | else |
---|
3132 | cfa_libdir=${libdir} |
---|
3133 | fi |
---|
3134 | |
---|
3135 | cat >>confdefs.h <<_ACEOF |
---|
3136 | #define CFA_LIBDIR "${cfa_libdir}" |
---|
3137 | _ACEOF |
---|
3138 | |
---|
3139 | CFA_LIBDIR=${cfa_libdir} |
---|
3140 | |
---|
3141 | |
---|
3142 | |
---|
3143 | cat >>confdefs.h <<_ACEOF |
---|
3144 | #define CFA_FLAGS "${CFAFLAGS}" |
---|
3145 | _ACEOF |
---|
3146 | |
---|
3147 | CFA_FLAGS=${CFAFLAGS} |
---|
3148 | |
---|
3149 | |
---|
3150 | # Checks for programs. |
---|
3151 | ac_ext=cpp |
---|
3152 | ac_cpp='$CXXCPP $CPPFLAGS' |
---|
3153 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3154 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3155 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
---|
3156 | if test -z "$CXX"; then |
---|
3157 | if test -n "$CCC"; then |
---|
3158 | CXX=$CCC |
---|
3159 | else |
---|
3160 | if test -n "$ac_tool_prefix"; then |
---|
3161 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
---|
3162 | do |
---|
3163 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
3164 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
3165 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
3166 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3167 | if ${ac_cv_prog_CXX+:} false; then : |
---|
3168 | $as_echo_n "(cached) " >&6 |
---|
3169 | else |
---|
3170 | if test -n "$CXX"; then |
---|
3171 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
---|
3172 | else |
---|
3173 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3174 | for as_dir in $PATH |
---|
3175 | do |
---|
3176 | IFS=$as_save_IFS |
---|
3177 | test -z "$as_dir" && as_dir=. |
---|
3178 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3179 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
3180 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
---|
3181 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3182 | break 2 |
---|
3183 | fi |
---|
3184 | done |
---|
3185 | done |
---|
3186 | IFS=$as_save_IFS |
---|
3187 | |
---|
3188 | fi |
---|
3189 | fi |
---|
3190 | CXX=$ac_cv_prog_CXX |
---|
3191 | if test -n "$CXX"; then |
---|
3192 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
---|
3193 | $as_echo "$CXX" >&6; } |
---|
3194 | else |
---|
3195 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3196 | $as_echo "no" >&6; } |
---|
3197 | fi |
---|
3198 | |
---|
3199 | |
---|
3200 | test -n "$CXX" && break |
---|
3201 | done |
---|
3202 | fi |
---|
3203 | if test -z "$CXX"; then |
---|
3204 | ac_ct_CXX=$CXX |
---|
3205 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
---|
3206 | do |
---|
3207 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
3208 | set dummy $ac_prog; ac_word=$2 |
---|
3209 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
3210 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3211 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
---|
3212 | $as_echo_n "(cached) " >&6 |
---|
3213 | else |
---|
3214 | if test -n "$ac_ct_CXX"; then |
---|
3215 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
---|
3216 | else |
---|
3217 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3218 | for as_dir in $PATH |
---|
3219 | do |
---|
3220 | IFS=$as_save_IFS |
---|
3221 | test -z "$as_dir" && as_dir=. |
---|
3222 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3223 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
3224 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
---|
3225 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3226 | break 2 |
---|
3227 | fi |
---|
3228 | done |
---|
3229 | done |
---|
3230 | IFS=$as_save_IFS |
---|
3231 | |
---|
3232 | fi |
---|
3233 | fi |
---|
3234 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
---|
3235 | if test -n "$ac_ct_CXX"; then |
---|
3236 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
---|
3237 | $as_echo "$ac_ct_CXX" >&6; } |
---|
3238 | else |
---|
3239 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3240 | $as_echo "no" >&6; } |
---|
3241 | fi |
---|
3242 | |
---|
3243 | |
---|
3244 | test -n "$ac_ct_CXX" && break |
---|
3245 | done |
---|
3246 | |
---|
3247 | if test "x$ac_ct_CXX" = x; then |
---|
3248 | CXX="g++" |
---|
3249 | else |
---|
3250 | case $cross_compiling:$ac_tool_warned in |
---|
3251 | yes:) |
---|
3252 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
3253 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
3254 | ac_tool_warned=yes ;; |
---|
3255 | esac |
---|
3256 | CXX=$ac_ct_CXX |
---|
3257 | fi |
---|
3258 | fi |
---|
3259 | |
---|
3260 | fi |
---|
3261 | fi |
---|
3262 | # Provide some information about the compiler. |
---|
3263 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
---|
3264 | set X $ac_compile |
---|
3265 | ac_compiler=$2 |
---|
3266 | for ac_option in --version -v -V -qversion; do |
---|
3267 | { { ac_try="$ac_compiler $ac_option >&5" |
---|
3268 | case "(($ac_try" in |
---|
3269 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3270 | *) ac_try_echo=$ac_try;; |
---|
3271 | esac |
---|
3272 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3273 | $as_echo "$ac_try_echo"; } >&5 |
---|
3274 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
---|
3275 | ac_status=$? |
---|
3276 | if test -s conftest.err; then |
---|
3277 | sed '10a\ |
---|
3278 | ... rest of stderr output deleted ... |
---|
3279 | 10q' conftest.err >conftest.er1 |
---|
3280 | cat conftest.er1 >&5 |
---|
3281 | fi |
---|
3282 | rm -f conftest.er1 conftest.err |
---|
3283 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3284 | test $ac_status = 0; } |
---|
3285 | done |
---|
3286 | |
---|
3287 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3288 | /* end confdefs.h. */ |
---|
3289 | |
---|
3290 | int |
---|
3291 | main () |
---|
3292 | { |
---|
3293 | |
---|
3294 | ; |
---|
3295 | return 0; |
---|
3296 | } |
---|
3297 | _ACEOF |
---|
3298 | ac_clean_files_save=$ac_clean_files |
---|
3299 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
---|
3300 | # Try to create an executable without -o first, disregard a.out. |
---|
3301 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
3302 | # of exeext. |
---|
3303 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 |
---|
3304 | $as_echo_n "checking whether the C++ compiler works... " >&6; } |
---|
3305 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
3306 | |
---|
3307 | # The possible output files: |
---|
3308 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
---|
3309 | |
---|
3310 | ac_rmfiles= |
---|
3311 | for ac_file in $ac_files |
---|
3312 | do |
---|
3313 | case $ac_file in |
---|
3314 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
3315 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
---|
3316 | esac |
---|
3317 | done |
---|
3318 | rm -f $ac_rmfiles |
---|
3319 | |
---|
3320 | if { { ac_try="$ac_link_default" |
---|
3321 | case "(($ac_try" in |
---|
3322 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3323 | *) ac_try_echo=$ac_try;; |
---|
3324 | esac |
---|
3325 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3326 | $as_echo "$ac_try_echo"; } >&5 |
---|
3327 | (eval "$ac_link_default") 2>&5 |
---|
3328 | ac_status=$? |
---|
3329 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3330 | test $ac_status = 0; }; then : |
---|
3331 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
---|
3332 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
---|
3333 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
---|
3334 | # so that the user can short-circuit this test for compilers unknown to |
---|
3335 | # Autoconf. |
---|
3336 | for ac_file in $ac_files '' |
---|
3337 | do |
---|
3338 | test -f "$ac_file" || continue |
---|
3339 | case $ac_file in |
---|
3340 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
---|
3341 | ;; |
---|
3342 | [ab].out ) |
---|
3343 | # We found the default executable, but exeext='' is most |
---|
3344 | # certainly right. |
---|
3345 | break;; |
---|
3346 | *.* ) |
---|
3347 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
---|
3348 | then :; else |
---|
3349 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
3350 | fi |
---|
3351 | # We set ac_cv_exeext here because the later test for it is not |
---|
3352 | # safe: cross compilers may not add the suffix if given an `-o' |
---|
3353 | # argument, so we may need to know it at that point already. |
---|
3354 | # Even if this section looks crufty: it has the advantage of |
---|
3355 | # actually working. |
---|
3356 | break;; |
---|
3357 | * ) |
---|
3358 | break;; |
---|
3359 | esac |
---|
3360 | done |
---|
3361 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
---|
3362 | |
---|
3363 | else |
---|
3364 | ac_file='' |
---|
3365 | fi |
---|
3366 | if test -z "$ac_file"; then : |
---|
3367 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3368 | $as_echo "no" >&6; } |
---|
3369 | $as_echo "$as_me: failed program was:" >&5 |
---|
3370 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3371 | |
---|
3372 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
3373 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3374 | as_fn_error 77 "C++ compiler cannot create executables |
---|
3375 | See \`config.log' for more details" "$LINENO" 5; } |
---|
3376 | else |
---|
3377 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
3378 | $as_echo "yes" >&6; } |
---|
3379 | fi |
---|
3380 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 |
---|
3381 | $as_echo_n "checking for C++ compiler default output file name... " >&6; } |
---|
3382 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
---|
3383 | $as_echo "$ac_file" >&6; } |
---|
3384 | ac_exeext=$ac_cv_exeext |
---|
3385 | |
---|
3386 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
---|
3387 | ac_clean_files=$ac_clean_files_save |
---|
3388 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
---|
3389 | $as_echo_n "checking for suffix of executables... " >&6; } |
---|
3390 | if { { ac_try="$ac_link" |
---|
3391 | case "(($ac_try" in |
---|
3392 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3393 | *) ac_try_echo=$ac_try;; |
---|
3394 | esac |
---|
3395 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3396 | $as_echo "$ac_try_echo"; } >&5 |
---|
3397 | (eval "$ac_link") 2>&5 |
---|
3398 | ac_status=$? |
---|
3399 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3400 | test $ac_status = 0; }; then : |
---|
3401 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
3402 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
3403 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
3404 | # `rm'. |
---|
3405 | for ac_file in conftest.exe conftest conftest.*; do |
---|
3406 | test -f "$ac_file" || continue |
---|
3407 | case $ac_file in |
---|
3408 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
3409 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
3410 | break;; |
---|
3411 | * ) break;; |
---|
3412 | esac |
---|
3413 | done |
---|
3414 | else |
---|
3415 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
3416 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3417 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
---|
3418 | See \`config.log' for more details" "$LINENO" 5; } |
---|
3419 | fi |
---|
3420 | rm -f conftest conftest$ac_cv_exeext |
---|
3421 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
---|
3422 | $as_echo "$ac_cv_exeext" >&6; } |
---|
3423 | |
---|
3424 | rm -f conftest.$ac_ext |
---|
3425 | EXEEXT=$ac_cv_exeext |
---|
3426 | ac_exeext=$EXEEXT |
---|
3427 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3428 | /* end confdefs.h. */ |
---|
3429 | #include <stdio.h> |
---|
3430 | int |
---|
3431 | main () |
---|
3432 | { |
---|
3433 | FILE *f = fopen ("conftest.out", "w"); |
---|
3434 | return ferror (f) || fclose (f) != 0; |
---|
3435 | |
---|
3436 | ; |
---|
3437 | return 0; |
---|
3438 | } |
---|
3439 | _ACEOF |
---|
3440 | ac_clean_files="$ac_clean_files conftest.out" |
---|
3441 | # Check that the compiler produces executables we can run. If not, either |
---|
3442 | # the compiler is broken, or we cross compile. |
---|
3443 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
---|
3444 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
---|
3445 | if test "$cross_compiling" != yes; then |
---|
3446 | { { ac_try="$ac_link" |
---|
3447 | case "(($ac_try" in |
---|
3448 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3449 | *) ac_try_echo=$ac_try;; |
---|
3450 | esac |
---|
3451 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3452 | $as_echo "$ac_try_echo"; } >&5 |
---|
3453 | (eval "$ac_link") 2>&5 |
---|
3454 | ac_status=$? |
---|
3455 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3456 | test $ac_status = 0; } |
---|
3457 | if { ac_try='./conftest$ac_cv_exeext' |
---|
3458 | { { case "(($ac_try" in |
---|
3459 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3460 | *) ac_try_echo=$ac_try;; |
---|
3461 | esac |
---|
3462 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3463 | $as_echo "$ac_try_echo"; } >&5 |
---|
3464 | (eval "$ac_try") 2>&5 |
---|
3465 | ac_status=$? |
---|
3466 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3467 | test $ac_status = 0; }; }; then |
---|
3468 | cross_compiling=no |
---|
3469 | else |
---|
3470 | if test "$cross_compiling" = maybe; then |
---|
3471 | cross_compiling=yes |
---|
3472 | else |
---|
3473 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
3474 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3475 | as_fn_error $? "cannot run C++ compiled programs. |
---|
3476 | If you meant to cross compile, use \`--host'. |
---|
3477 | See \`config.log' for more details" "$LINENO" 5; } |
---|
3478 | fi |
---|
3479 | fi |
---|
3480 | fi |
---|
3481 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
---|
3482 | $as_echo "$cross_compiling" >&6; } |
---|
3483 | |
---|
3484 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
---|
3485 | ac_clean_files=$ac_clean_files_save |
---|
3486 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
---|
3487 | $as_echo_n "checking for suffix of object files... " >&6; } |
---|
3488 | if ${ac_cv_objext+:} false; then : |
---|
3489 | $as_echo_n "(cached) " >&6 |
---|
3490 | else |
---|
3491 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3492 | /* end confdefs.h. */ |
---|
3493 | |
---|
3494 | int |
---|
3495 | main () |
---|
3496 | { |
---|
3497 | |
---|
3498 | ; |
---|
3499 | return 0; |
---|
3500 | } |
---|
3501 | _ACEOF |
---|
3502 | rm -f conftest.o conftest.obj |
---|
3503 | if { { ac_try="$ac_compile" |
---|
3504 | case "(($ac_try" in |
---|
3505 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3506 | *) ac_try_echo=$ac_try;; |
---|
3507 | esac |
---|
3508 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3509 | $as_echo "$ac_try_echo"; } >&5 |
---|
3510 | (eval "$ac_compile") 2>&5 |
---|
3511 | ac_status=$? |
---|
3512 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3513 | test $ac_status = 0; }; then : |
---|
3514 | for ac_file in conftest.o conftest.obj conftest.*; do |
---|
3515 | test -f "$ac_file" || continue; |
---|
3516 | case $ac_file in |
---|
3517 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
---|
3518 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
3519 | break;; |
---|
3520 | esac |
---|
3521 | done |
---|
3522 | else |
---|
3523 | $as_echo "$as_me: failed program was:" >&5 |
---|
3524 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3525 | |
---|
3526 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
3527 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3528 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
---|
3529 | See \`config.log' for more details" "$LINENO" 5; } |
---|
3530 | fi |
---|
3531 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
3532 | fi |
---|
3533 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
---|
3534 | $as_echo "$ac_cv_objext" >&6; } |
---|
3535 | OBJEXT=$ac_cv_objext |
---|
3536 | ac_objext=$OBJEXT |
---|
3537 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
---|
3538 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
---|
3539 | if ${ac_cv_cxx_compiler_gnu+:} false; then : |
---|
3540 | $as_echo_n "(cached) " >&6 |
---|
3541 | else |
---|
3542 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3543 | /* end confdefs.h. */ |
---|
3544 | |
---|
3545 | int |
---|
3546 | main () |
---|
3547 | { |
---|
3548 | #ifndef __GNUC__ |
---|
3549 | choke me |
---|
3550 | #endif |
---|
3551 | |
---|
3552 | ; |
---|
3553 | return 0; |
---|
3554 | } |
---|
3555 | _ACEOF |
---|
3556 | if ac_fn_cxx_try_compile "$LINENO"; then : |
---|
3557 | ac_compiler_gnu=yes |
---|
3558 | else |
---|
3559 | ac_compiler_gnu=no |
---|
3560 | fi |
---|
3561 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3562 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
---|
3563 | |
---|
3564 | fi |
---|
3565 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
---|
3566 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
---|
3567 | if test $ac_compiler_gnu = yes; then |
---|
3568 | GXX=yes |
---|
3569 | else |
---|
3570 | GXX= |
---|
3571 | fi |
---|
3572 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
---|
3573 | ac_save_CXXFLAGS=$CXXFLAGS |
---|
3574 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
---|
3575 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
---|
3576 | if ${ac_cv_prog_cxx_g+:} false; then : |
---|
3577 | $as_echo_n "(cached) " >&6 |
---|
3578 | else |
---|
3579 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
---|
3580 | ac_cxx_werror_flag=yes |
---|
3581 | ac_cv_prog_cxx_g=no |
---|
3582 | CXXFLAGS="-g" |
---|
3583 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3584 | /* end confdefs.h. */ |
---|
3585 | |
---|
3586 | int |
---|
3587 | main () |
---|
3588 | { |
---|
3589 | |
---|
3590 | ; |
---|
3591 | return 0; |
---|
3592 | } |
---|
3593 | _ACEOF |
---|
3594 | if ac_fn_cxx_try_compile "$LINENO"; then : |
---|
3595 | ac_cv_prog_cxx_g=yes |
---|
3596 | else |
---|
3597 | CXXFLAGS="" |
---|
3598 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3599 | /* end confdefs.h. */ |
---|
3600 | |
---|
3601 | int |
---|
3602 | main () |
---|
3603 | { |
---|
3604 | |
---|
3605 | ; |
---|
3606 | return 0; |
---|
3607 | } |
---|
3608 | _ACEOF |
---|
3609 | if ac_fn_cxx_try_compile "$LINENO"; then : |
---|
3610 | |
---|
3611 | else |
---|
3612 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
---|
3613 | CXXFLAGS="-g" |
---|
3614 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3615 | /* end confdefs.h. */ |
---|
3616 | |
---|
3617 | int |
---|
3618 | main () |
---|
3619 | { |
---|
3620 | |
---|
3621 | ; |
---|
3622 | return 0; |
---|
3623 | } |
---|
3624 | _ACEOF |
---|
3625 | if ac_fn_cxx_try_compile "$LINENO"; then : |
---|
3626 | ac_cv_prog_cxx_g=yes |
---|
3627 | fi |
---|
3628 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3629 | fi |
---|
3630 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3631 | fi |
---|
3632 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3633 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
---|
3634 | fi |
---|
3635 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
---|
3636 | $as_echo "$ac_cv_prog_cxx_g" >&6; } |
---|
3637 | if test "$ac_test_CXXFLAGS" = set; then |
---|
3638 | CXXFLAGS=$ac_save_CXXFLAGS |
---|
3639 | elif test $ac_cv_prog_cxx_g = yes; then |
---|
3640 | if test "$GXX" = yes; then |
---|
3641 | CXXFLAGS="-g -O2" |
---|
3642 | else |
---|
3643 | CXXFLAGS="-g" |
---|
3644 | fi |
---|
3645 | else |
---|
3646 | if test "$GXX" = yes; then |
---|
3647 | CXXFLAGS="-O2" |
---|
3648 | else |
---|
3649 | CXXFLAGS= |
---|
3650 | fi |
---|
3651 | fi |
---|
3652 | ac_ext=c |
---|
3653 | ac_cpp='$CPP $CPPFLAGS' |
---|
3654 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3655 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3656 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3657 | DEPDIR="${am__leading_dot}deps" |
---|
3658 | |
---|
3659 | ac_config_commands="$ac_config_commands depfiles" |
---|
3660 | |
---|
3661 | |
---|
3662 | am_make=${MAKE-make} |
---|
3663 | cat > confinc << 'END' |
---|
3664 | am__doit: |
---|
3665 | @echo this is the am__doit target |
---|
3666 | .PHONY: am__doit |
---|
3667 | END |
---|
3668 | # If we don't find an include directive, just comment out the code. |
---|
3669 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
---|
3670 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
---|
3671 | am__include="#" |
---|
3672 | am__quote= |
---|
3673 | _am_result=none |
---|
3674 | # First try GNU make style include. |
---|
3675 | echo "include confinc" > confmf |
---|
3676 | # Ignore all kinds of additional output from `make'. |
---|
3677 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
3678 | *the\ am__doit\ target*) |
---|
3679 | am__include=include |
---|
3680 | am__quote= |
---|
3681 | _am_result=GNU |
---|
3682 | ;; |
---|
3683 | esac |
---|
3684 | # Now try BSD make style include. |
---|
3685 | if test "$am__include" = "#"; then |
---|
3686 | echo '.include "confinc"' > confmf |
---|
3687 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
3688 | *the\ am__doit\ target*) |
---|
3689 | am__include=.include |
---|
3690 | am__quote="\"" |
---|
3691 | _am_result=BSD |
---|
3692 | ;; |
---|
3693 | esac |
---|
3694 | fi |
---|
3695 | |
---|
3696 | |
---|
3697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
---|
3698 | $as_echo "$_am_result" >&6; } |
---|
3699 | rm -f confinc confmf |
---|
3700 | |
---|
3701 | # Check whether --enable-dependency-tracking was given. |
---|
3702 | if test "${enable_dependency_tracking+set}" = set; then : |
---|
3703 | enableval=$enable_dependency_tracking; |
---|
3704 | fi |
---|
3705 | |
---|
3706 | if test "x$enable_dependency_tracking" != xno; then |
---|
3707 | am_depcomp="$ac_aux_dir/depcomp" |
---|
3708 | AMDEPBACKSLASH='\' |
---|
3709 | am__nodep='_no' |
---|
3710 | fi |
---|
3711 | if test "x$enable_dependency_tracking" != xno; then |
---|
3712 | AMDEP_TRUE= |
---|
3713 | AMDEP_FALSE='#' |
---|
3714 | else |
---|
3715 | AMDEP_TRUE='#' |
---|
3716 | AMDEP_FALSE= |
---|
3717 | fi |
---|
3718 | |
---|
3719 | |
---|
3720 | |
---|
3721 | depcc="$CXX" am_compiler_list= |
---|
3722 | |
---|
3723 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
---|
3724 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
---|
3725 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
---|
3726 | $as_echo_n "(cached) " >&6 |
---|
3727 | else |
---|
3728 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
3729 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
3730 | # making bogus files that we don't know about and never remove. For |
---|
3731 | # instance it was reported that on HP-UX the gcc test will end up |
---|
3732 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
3733 | # in D'. |
---|
3734 | rm -rf conftest.dir |
---|
3735 | mkdir conftest.dir |
---|
3736 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
3737 | # using a relative directory. |
---|
3738 | cp "$am_depcomp" conftest.dir |
---|
3739 | cd conftest.dir |
---|
3740 | # We will build objects and dependencies in a subdirectory because |
---|
3741 | # it helps to detect inapplicable dependency modes. For instance |
---|
3742 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
3743 | # side effect of compilation, but ICC will put the dependencies in |
---|
3744 | # the current directory while Tru64 will put them in the object |
---|
3745 | # directory. |
---|
3746 | mkdir sub |
---|
3747 | |
---|
3748 | am_cv_CXX_dependencies_compiler_type=none |
---|
3749 | if test "$am_compiler_list" = ""; then |
---|
3750 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
3751 | fi |
---|
3752 | am__universal=false |
---|
3753 | case " $depcc " in #( |
---|
3754 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
---|
3755 | esac |
---|
3756 | |
---|
3757 | for depmode in $am_compiler_list; do |
---|
3758 | # Setup a source with many dependencies, because some compilers |
---|
3759 | # like to wrap large dependency lists on column 80 (with \), and |
---|
3760 | # we should not choose a depcomp mode which is confused by this. |
---|
3761 | # |
---|
3762 | # We need to recreate these files for each test, as the compiler may |
---|
3763 | # overwrite some of them when testing with obscure command lines. |
---|
3764 | # This happens at least with the AIX C compiler. |
---|
3765 | : > sub/conftest.c |
---|
3766 | for i in 1 2 3 4 5 6; do |
---|
3767 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
3768 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
---|
3769 | # Solaris 8's {/usr,}/bin/sh. |
---|
3770 | touch sub/conftst$i.h |
---|
3771 | done |
---|
3772 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
3773 | |
---|
3774 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
---|
3775 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
3776 | # handle `-M -o', and we need to detect this. Also, some Intel |
---|
3777 | # versions had trouble with output in subdirs |
---|
3778 | am__obj=sub/conftest.${OBJEXT-o} |
---|
3779 | am__minus_obj="-o $am__obj" |
---|
3780 | case $depmode in |
---|
3781 | gcc) |
---|
3782 | # This depmode causes a compiler race in universal mode. |
---|
3783 | test "$am__universal" = false || continue |
---|
3784 | ;; |
---|
3785 | nosideeffect) |
---|
3786 | # after this tag, mechanisms are not by side-effect, so they'll |
---|
3787 | # only be used when explicitly requested |
---|
3788 | if test "x$enable_dependency_tracking" = xyes; then |
---|
3789 | continue |
---|
3790 | else |
---|
3791 | break |
---|
3792 | fi |
---|
3793 | ;; |
---|
3794 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
---|
3795 | # This compiler won't grok `-c -o', but also, the minuso test has |
---|
3796 | # not run yet. These depmodes are late enough in the game, and |
---|
3797 | # so weak that their functioning should not be impacted. |
---|
3798 | am__obj=conftest.${OBJEXT-o} |
---|
3799 | am__minus_obj= |
---|
3800 | ;; |
---|
3801 | none) break ;; |
---|
3802 | esac |
---|
3803 | if depmode=$depmode \ |
---|
3804 | source=sub/conftest.c object=$am__obj \ |
---|
3805 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
3806 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
---|
3807 | >/dev/null 2>conftest.err && |
---|
3808 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
---|
3809 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
3810 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
---|
3811 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
3812 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
3813 | # or remarks (even with -Werror). So we grep stderr for any message |
---|
3814 | # that says an option was ignored or not supported. |
---|
3815 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
---|
3816 | # icc: Command line warning: ignoring option '-M'; no argument required |
---|
3817 | # The diagnosis changed in icc 8.0: |
---|
3818 | # icc: Command line remark: option '-MP' not supported |
---|
3819 | if (grep 'ignoring option' conftest.err || |
---|
3820 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
---|
3821 | am_cv_CXX_dependencies_compiler_type=$depmode |
---|
3822 | break |
---|
3823 | fi |
---|
3824 | fi |
---|
3825 | done |
---|
3826 | |
---|
3827 | cd .. |
---|
3828 | rm -rf conftest.dir |
---|
3829 | else |
---|
3830 | am_cv_CXX_dependencies_compiler_type=none |
---|
3831 | fi |
---|
3832 | |
---|
3833 | fi |
---|
3834 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
---|
3835 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
---|
3836 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
---|
3837 | |
---|
3838 | if |
---|
3839 | test "x$enable_dependency_tracking" != xno \ |
---|
3840 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
---|
3841 | am__fastdepCXX_TRUE= |
---|
3842 | am__fastdepCXX_FALSE='#' |
---|
3843 | else |
---|
3844 | am__fastdepCXX_TRUE='#' |
---|
3845 | am__fastdepCXX_FALSE= |
---|
3846 | fi |
---|
3847 | |
---|
3848 | |
---|
3849 | ac_ext=c |
---|
3850 | ac_cpp='$CPP $CPPFLAGS' |
---|
3851 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3852 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3853 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3854 | if test -n "$ac_tool_prefix"; then |
---|
3855 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
3856 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
3857 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
3858 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3859 | if ${ac_cv_prog_CC+:} false; then : |
---|
3860 | $as_echo_n "(cached) " >&6 |
---|
3861 | else |
---|
3862 | if test -n "$CC"; then |
---|
3863 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
3864 | else |
---|
3865 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3866 | for as_dir in $PATH |
---|
3867 | do |
---|
3868 | IFS=$as_save_IFS |
---|
3869 | test -z "$as_dir" && as_dir=. |
---|
3870 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3871 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
3872 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
3873 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3874 | break 2 |
---|
3875 | fi |
---|
3876 | done |
---|
3877 | done |
---|
3878 | IFS=$as_save_IFS |
---|
3879 | |
---|
3880 | fi |
---|
3881 | fi |
---|
3882 | CC=$ac_cv_prog_CC |
---|
3883 | if test -n "$CC"; then |
---|
3884 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
3885 | $as_echo "$CC" >&6; } |
---|
3886 | else |
---|
3887 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3888 | $as_echo "no" >&6; } |
---|
3889 | fi |
---|
3890 | |
---|
3891 | |
---|
3892 | fi |
---|
3893 | if test -z "$ac_cv_prog_CC"; then |
---|
3894 | ac_ct_CC=$CC |
---|
3895 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
3896 | set dummy gcc; ac_word=$2 |
---|
3897 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
3898 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3899 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
---|
3900 | $as_echo_n "(cached) " >&6 |
---|
3901 | else |
---|
3902 | if test -n "$ac_ct_CC"; then |
---|
3903 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
3904 | else |
---|
3905 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3906 | for as_dir in $PATH |
---|
3907 | do |
---|
3908 | IFS=$as_save_IFS |
---|
3909 | test -z "$as_dir" && as_dir=. |
---|
3910 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3911 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
3912 | ac_cv_prog_ac_ct_CC="gcc" |
---|
3913 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3914 | break 2 |
---|
3915 | fi |
---|
3916 | done |
---|
3917 | done |
---|
3918 | IFS=$as_save_IFS |
---|
3919 | |
---|
3920 | fi |
---|
3921 | fi |
---|
3922 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
3923 | if test -n "$ac_ct_CC"; then |
---|
3924 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
---|
3925 | $as_echo "$ac_ct_CC" >&6; } |
---|
3926 | else |
---|
3927 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3928 | $as_echo "no" >&6; } |
---|
3929 | fi |
---|
3930 | |
---|
3931 | if test "x$ac_ct_CC" = x; then |
---|
3932 | CC="" |
---|
3933 | else |
---|
3934 | case $cross_compiling:$ac_tool_warned in |
---|
3935 | yes:) |
---|
3936 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
3937 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
3938 | ac_tool_warned=yes ;; |
---|
3939 | esac |
---|
3940 | CC=$ac_ct_CC |
---|
3941 | fi |
---|
3942 | else |
---|
3943 | CC="$ac_cv_prog_CC" |
---|
3944 | fi |
---|
3945 | |
---|
3946 | if test -z "$CC"; then |
---|
3947 | if test -n "$ac_tool_prefix"; then |
---|
3948 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
3949 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
3950 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
3951 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3952 | if ${ac_cv_prog_CC+:} false; then : |
---|
3953 | $as_echo_n "(cached) " >&6 |
---|
3954 | else |
---|
3955 | if test -n "$CC"; then |
---|
3956 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
3957 | else |
---|
3958 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3959 | for as_dir in $PATH |
---|
3960 | do |
---|
3961 | IFS=$as_save_IFS |
---|
3962 | test -z "$as_dir" && as_dir=. |
---|
3963 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3964 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
3965 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
3966 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3967 | break 2 |
---|
3968 | fi |
---|
3969 | done |
---|
3970 | done |
---|
3971 | IFS=$as_save_IFS |
---|
3972 | |
---|
3973 | fi |
---|
3974 | fi |
---|
3975 | CC=$ac_cv_prog_CC |
---|
3976 | if test -n "$CC"; then |
---|
3977 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
3978 | $as_echo "$CC" >&6; } |
---|
3979 | else |
---|
3980 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3981 | $as_echo "no" >&6; } |
---|
3982 | fi |
---|
3983 | |
---|
3984 | |
---|
3985 | fi |
---|
3986 | fi |
---|
3987 | if test -z "$CC"; then |
---|
3988 | # Extract the first word of "cc", so it can be a program name with args. |
---|
3989 | set dummy cc; ac_word=$2 |
---|
3990 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
3991 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3992 | if ${ac_cv_prog_CC+:} false; then : |
---|
3993 | $as_echo_n "(cached) " >&6 |
---|
3994 | else |
---|
3995 | if test -n "$CC"; then |
---|
3996 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
3997 | else |
---|
3998 | ac_prog_rejected=no |
---|
3999 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4000 | for as_dir in $PATH |
---|
4001 | do |
---|
4002 | IFS=$as_save_IFS |
---|
4003 | test -z "$as_dir" && as_dir=. |
---|
4004 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4005 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4006 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
4007 | ac_prog_rejected=yes |
---|
4008 | continue |
---|
4009 | fi |
---|
4010 | ac_cv_prog_CC="cc" |
---|
4011 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4012 | break 2 |
---|
4013 | fi |
---|
4014 | done |
---|
4015 | done |
---|
4016 | IFS=$as_save_IFS |
---|
4017 | |
---|
4018 | if test $ac_prog_rejected = yes; then |
---|
4019 | # We found a bogon in the path, so make sure we never use it. |
---|
4020 | set dummy $ac_cv_prog_CC |
---|
4021 | shift |
---|
4022 | if test $# != 0; then |
---|
4023 | # We chose a different compiler from the bogus one. |
---|
4024 | # However, it has the same basename, so the bogon will be chosen |
---|
4025 | # first if we set CC to just the basename; use the full file name. |
---|
4026 | shift |
---|
4027 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
4028 | fi |
---|
4029 | fi |
---|
4030 | fi |
---|
4031 | fi |
---|
4032 | CC=$ac_cv_prog_CC |
---|
4033 | if test -n "$CC"; then |
---|
4034 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
4035 | $as_echo "$CC" >&6; } |
---|
4036 | else |
---|
4037 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4038 | $as_echo "no" >&6; } |
---|
4039 | fi |
---|
4040 | |
---|
4041 | |
---|
4042 | fi |
---|
4043 | if test -z "$CC"; then |
---|
4044 | if test -n "$ac_tool_prefix"; then |
---|
4045 | for ac_prog in cl.exe |
---|
4046 | do |
---|
4047 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
4048 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
4049 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4050 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4051 | if ${ac_cv_prog_CC+:} false; then : |
---|
4052 | $as_echo_n "(cached) " >&6 |
---|
4053 | else |
---|
4054 | if test -n "$CC"; then |
---|
4055 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
4056 | else |
---|
4057 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4058 | for as_dir in $PATH |
---|
4059 | do |
---|
4060 | IFS=$as_save_IFS |
---|
4061 | test -z "$as_dir" && as_dir=. |
---|
4062 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4063 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4064 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
4065 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4066 | break 2 |
---|
4067 | fi |
---|
4068 | done |
---|
4069 | done |
---|
4070 | IFS=$as_save_IFS |
---|
4071 | |
---|
4072 | fi |
---|
4073 | fi |
---|
4074 | CC=$ac_cv_prog_CC |
---|
4075 | if test -n "$CC"; then |
---|
4076 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
4077 | $as_echo "$CC" >&6; } |
---|
4078 | else |
---|
4079 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4080 | $as_echo "no" >&6; } |
---|
4081 | fi |
---|
4082 | |
---|
4083 | |
---|
4084 | test -n "$CC" && break |
---|
4085 | done |
---|
4086 | fi |
---|
4087 | if test -z "$CC"; then |
---|
4088 | ac_ct_CC=$CC |
---|
4089 | for ac_prog in cl.exe |
---|
4090 | do |
---|
4091 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
4092 | set dummy $ac_prog; ac_word=$2 |
---|
4093 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4094 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4095 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
---|
4096 | $as_echo_n "(cached) " >&6 |
---|
4097 | else |
---|
4098 | if test -n "$ac_ct_CC"; then |
---|
4099 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
4100 | else |
---|
4101 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4102 | for as_dir in $PATH |
---|
4103 | do |
---|
4104 | IFS=$as_save_IFS |
---|
4105 | test -z "$as_dir" && as_dir=. |
---|
4106 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4107 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4108 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
4109 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4110 | break 2 |
---|
4111 | fi |
---|
4112 | done |
---|
4113 | done |
---|
4114 | IFS=$as_save_IFS |
---|
4115 | |
---|
4116 | fi |
---|
4117 | fi |
---|
4118 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
4119 | if test -n "$ac_ct_CC"; then |
---|
4120 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
---|
4121 | $as_echo "$ac_ct_CC" >&6; } |
---|
4122 | else |
---|
4123 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4124 | $as_echo "no" >&6; } |
---|
4125 | fi |
---|
4126 | |
---|
4127 | |
---|
4128 | test -n "$ac_ct_CC" && break |
---|
4129 | done |
---|
4130 | |
---|
4131 | if test "x$ac_ct_CC" = x; then |
---|
4132 | CC="" |
---|
4133 | else |
---|
4134 | case $cross_compiling:$ac_tool_warned in |
---|
4135 | yes:) |
---|
4136 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
4137 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
4138 | ac_tool_warned=yes ;; |
---|
4139 | esac |
---|
4140 | CC=$ac_ct_CC |
---|
4141 | fi |
---|
4142 | fi |
---|
4143 | |
---|
4144 | fi |
---|
4145 | |
---|
4146 | |
---|
4147 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
4148 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
4149 | as_fn_error $? "no acceptable C compiler found in \$PATH |
---|
4150 | See \`config.log' for more details" "$LINENO" 5; } |
---|
4151 | |
---|
4152 | # Provide some information about the compiler. |
---|
4153 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
---|
4154 | set X $ac_compile |
---|
4155 | ac_compiler=$2 |
---|
4156 | for ac_option in --version -v -V -qversion; do |
---|
4157 | { { ac_try="$ac_compiler $ac_option >&5" |
---|
4158 | case "(($ac_try" in |
---|
4159 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4160 | *) ac_try_echo=$ac_try;; |
---|
4161 | esac |
---|
4162 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
4163 | $as_echo "$ac_try_echo"; } >&5 |
---|
4164 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
---|
4165 | ac_status=$? |
---|
4166 | if test -s conftest.err; then |
---|
4167 | sed '10a\ |
---|
4168 | ... rest of stderr output deleted ... |
---|
4169 | 10q' conftest.err >conftest.er1 |
---|
4170 | cat conftest.er1 >&5 |
---|
4171 | fi |
---|
4172 | rm -f conftest.er1 conftest.err |
---|
4173 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
4174 | test $ac_status = 0; } |
---|
4175 | done |
---|
4176 | |
---|
4177 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
---|
4178 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
---|
4179 | if ${ac_cv_c_compiler_gnu+:} false; then : |
---|
4180 | $as_echo_n "(cached) " >&6 |
---|
4181 | else |
---|
4182 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4183 | /* end confdefs.h. */ |
---|
4184 | |
---|
4185 | int |
---|
4186 | main () |
---|
4187 | { |
---|
4188 | #ifndef __GNUC__ |
---|
4189 | choke me |
---|
4190 | #endif |
---|
4191 | |
---|
4192 | ; |
---|
4193 | return 0; |
---|
4194 | } |
---|
4195 | _ACEOF |
---|
4196 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
4197 | ac_compiler_gnu=yes |
---|
4198 | else |
---|
4199 | ac_compiler_gnu=no |
---|
4200 | fi |
---|
4201 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4202 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
4203 | |
---|
4204 | fi |
---|
4205 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
---|
4206 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
---|
4207 | if test $ac_compiler_gnu = yes; then |
---|
4208 | GCC=yes |
---|
4209 | else |
---|
4210 | GCC= |
---|
4211 | fi |
---|
4212 | ac_test_CFLAGS=${CFLAGS+set} |
---|
4213 | ac_save_CFLAGS=$CFLAGS |
---|
4214 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
---|
4215 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
---|
4216 | if ${ac_cv_prog_cc_g+:} false; then : |
---|
4217 | $as_echo_n "(cached) " >&6 |
---|
4218 | else |
---|
4219 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
4220 | ac_c_werror_flag=yes |
---|
4221 | ac_cv_prog_cc_g=no |
---|
4222 | CFLAGS="-g" |
---|
4223 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4224 | /* end confdefs.h. */ |
---|
4225 | |
---|
4226 | int |
---|
4227 | main () |
---|
4228 | { |
---|
4229 | |
---|
4230 | ; |
---|
4231 | return 0; |
---|
4232 | } |
---|
4233 | _ACEOF |
---|
4234 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
4235 | ac_cv_prog_cc_g=yes |
---|
4236 | else |
---|
4237 | CFLAGS="" |
---|
4238 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4239 | /* end confdefs.h. */ |
---|
4240 | |
---|
4241 | int |
---|
4242 | main () |
---|
4243 | { |
---|
4244 | |
---|
4245 | ; |
---|
4246 | return 0; |
---|
4247 | } |
---|
4248 | _ACEOF |
---|
4249 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
4250 | |
---|
4251 | else |
---|
4252 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
4253 | CFLAGS="-g" |
---|
4254 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4255 | /* end confdefs.h. */ |
---|
4256 | |
---|
4257 | int |
---|
4258 | main () |
---|
4259 | { |
---|
4260 | |
---|
4261 | ; |
---|
4262 | return 0; |
---|
4263 | } |
---|
4264 | _ACEOF |
---|
4265 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
4266 | ac_cv_prog_cc_g=yes |
---|
4267 | fi |
---|
4268 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4269 | fi |
---|
4270 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4271 | fi |
---|
4272 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4273 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
4274 | fi |
---|
4275 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
---|
4276 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
---|
4277 | if test "$ac_test_CFLAGS" = set; then |
---|
4278 | CFLAGS=$ac_save_CFLAGS |
---|
4279 | elif test $ac_cv_prog_cc_g = yes; then |
---|
4280 | if test "$GCC" = yes; then |
---|
4281 | CFLAGS="-g -O2" |
---|
4282 | else |
---|
4283 | CFLAGS="-g" |
---|
4284 | fi |
---|
4285 | else |
---|
4286 | if test "$GCC" = yes; then |
---|
4287 | CFLAGS="-O2" |
---|
4288 | else |
---|
4289 | CFLAGS= |
---|
4290 | fi |
---|
4291 | fi |
---|
4292 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
---|
4293 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
---|
4294 | if ${ac_cv_prog_cc_c89+:} false; then : |
---|
4295 | $as_echo_n "(cached) " >&6 |
---|
4296 | else |
---|
4297 | ac_cv_prog_cc_c89=no |
---|
4298 | ac_save_CC=$CC |
---|
4299 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4300 | /* end confdefs.h. */ |
---|
4301 | #include <stdarg.h> |
---|
4302 | #include <stdio.h> |
---|
4303 | #include <sys/types.h> |
---|
4304 | #include <sys/stat.h> |
---|
4305 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
4306 | struct buf { int x; }; |
---|
4307 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
4308 | static char *e (p, i) |
---|
4309 | char **p; |
---|
4310 | int i; |
---|
4311 | { |
---|
4312 | return p[i]; |
---|
4313 | } |
---|
4314 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
4315 | { |
---|
4316 | char *s; |
---|
4317 | va_list v; |
---|
4318 | va_start (v,p); |
---|
4319 | s = g (p, va_arg (v,int)); |
---|
4320 | va_end (v); |
---|
4321 | return s; |
---|
4322 | } |
---|
4323 | |
---|
4324 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
4325 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
4326 | These don't provoke an error unfortunately, instead are silently treated |
---|
4327 | as 'x'. The following induces an error, until -std is added to get |
---|
4328 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
4329 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
4330 | that's true only with -std. */ |
---|
4331 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
4332 | |
---|
4333 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
4334 | inside strings and character constants. */ |
---|
4335 | #define FOO(x) 'x' |
---|
4336 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
4337 | |
---|
4338 | int test (int i, double x); |
---|
4339 | struct s1 {int (*f) (int a);}; |
---|
4340 | struct s2 {int (*f) (double a);}; |
---|
4341 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
4342 | int argc; |
---|
4343 | char **argv; |
---|
4344 | int |
---|
4345 | main () |
---|
4346 | { |
---|
4347 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
4348 | ; |
---|
4349 | return 0; |
---|
4350 | } |
---|
4351 | _ACEOF |
---|
4352 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
4353 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
4354 | do |
---|
4355 | CC="$ac_save_CC $ac_arg" |
---|
4356 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
4357 | ac_cv_prog_cc_c89=$ac_arg |
---|
4358 | fi |
---|
4359 | rm -f core conftest.err conftest.$ac_objext |
---|
4360 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
4361 | done |
---|
4362 | rm -f conftest.$ac_ext |
---|
4363 | CC=$ac_save_CC |
---|
4364 | |
---|
4365 | fi |
---|
4366 | # AC_CACHE_VAL |
---|
4367 | case "x$ac_cv_prog_cc_c89" in |
---|
4368 | x) |
---|
4369 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
---|
4370 | $as_echo "none needed" >&6; } ;; |
---|
4371 | xno) |
---|
4372 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
---|
4373 | $as_echo "unsupported" >&6; } ;; |
---|
4374 | *) |
---|
4375 | CC="$CC $ac_cv_prog_cc_c89" |
---|
4376 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
---|
4377 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
---|
4378 | esac |
---|
4379 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
---|
4380 | |
---|
4381 | fi |
---|
4382 | |
---|
4383 | ac_ext=c |
---|
4384 | ac_cpp='$CPP $CPPFLAGS' |
---|
4385 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
4386 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
4387 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
4388 | |
---|
4389 | depcc="$CC" am_compiler_list= |
---|
4390 | |
---|
4391 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
---|
4392 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
---|
4393 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
---|
4394 | $as_echo_n "(cached) " >&6 |
---|
4395 | else |
---|
4396 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
4397 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
4398 | # making bogus files that we don't know about and never remove. For |
---|
4399 | # instance it was reported that on HP-UX the gcc test will end up |
---|
4400 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
4401 | # in D'. |
---|
4402 | rm -rf conftest.dir |
---|
4403 | mkdir conftest.dir |
---|
4404 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
4405 | # using a relative directory. |
---|
4406 | cp "$am_depcomp" conftest.dir |
---|
4407 | cd conftest.dir |
---|
4408 | # We will build objects and dependencies in a subdirectory because |
---|
4409 | # it helps to detect inapplicable dependency modes. For instance |
---|
4410 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
4411 | # side effect of compilation, but ICC will put the dependencies in |
---|
4412 | # the current directory while Tru64 will put them in the object |
---|
4413 | # directory. |
---|
4414 | mkdir sub |
---|
4415 | |
---|
4416 | am_cv_CC_dependencies_compiler_type=none |
---|
4417 | if test "$am_compiler_list" = ""; then |
---|
4418 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
4419 | fi |
---|
4420 | am__universal=false |
---|
4421 | case " $depcc " in #( |
---|
4422 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
---|
4423 | esac |
---|
4424 | |
---|
4425 | for depmode in $am_compiler_list; do |
---|
4426 | # Setup a source with many dependencies, because some compilers |
---|
4427 | # like to wrap large dependency lists on column 80 (with \), and |
---|
4428 | # we should not choose a depcomp mode which is confused by this. |
---|
4429 | # |
---|
4430 | # We need to recreate these files for each test, as the compiler may |
---|
4431 | # overwrite some of them when testing with obscure command lines. |
---|
4432 | # This happens at least with the AIX C compiler. |
---|
4433 | : > sub/conftest.c |
---|
4434 | for i in 1 2 3 4 5 6; do |
---|
4435 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
4436 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
---|
4437 | # Solaris 8's {/usr,}/bin/sh. |
---|
4438 | touch sub/conftst$i.h |
---|
4439 | done |
---|
4440 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
4441 | |
---|
4442 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
---|
4443 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
4444 | # handle `-M -o', and we need to detect this. Also, some Intel |
---|
4445 | # versions had trouble with output in subdirs |
---|
4446 | am__obj=sub/conftest.${OBJEXT-o} |
---|
4447 | am__minus_obj="-o $am__obj" |
---|
4448 | case $depmode in |
---|
4449 | gcc) |
---|
4450 | # This depmode causes a compiler race in universal mode. |
---|
4451 | test "$am__universal" = false || continue |
---|
4452 | ;; |
---|
4453 | nosideeffect) |
---|
4454 | # after this tag, mechanisms are not by side-effect, so they'll |
---|
4455 | # only be used when explicitly requested |
---|
4456 | if test "x$enable_dependency_tracking" = xyes; then |
---|
4457 | continue |
---|
4458 | else |
---|
4459 | break |
---|
4460 | fi |
---|
4461 | ;; |
---|
4462 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
---|
4463 | # This compiler won't grok `-c -o', but also, the minuso test has |
---|
4464 | # not run yet. These depmodes are late enough in the game, and |
---|
4465 | # so weak that their functioning should not be impacted. |
---|
4466 | am__obj=conftest.${OBJEXT-o} |
---|
4467 | am__minus_obj= |
---|
4468 | ;; |
---|
4469 | none) break ;; |
---|
4470 | esac |
---|
4471 | if depmode=$depmode \ |
---|
4472 | source=sub/conftest.c object=$am__obj \ |
---|
4473 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
4474 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
---|
4475 | >/dev/null 2>conftest.err && |
---|
4476 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
---|
4477 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
4478 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
---|
4479 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
4480 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
4481 | # or remarks (even with -Werror). So we grep stderr for any message |
---|
4482 | # that says an option was ignored or not supported. |
---|
4483 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
---|
4484 | # icc: Command line warning: ignoring option '-M'; no argument required |
---|
4485 | # The diagnosis changed in icc 8.0: |
---|
4486 | # icc: Command line remark: option '-MP' not supported |
---|
4487 | if (grep 'ignoring option' conftest.err || |
---|
4488 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
---|
4489 | am_cv_CC_dependencies_compiler_type=$depmode |
---|
4490 | break |
---|
4491 | fi |
---|
4492 | fi |
---|
4493 | done |
---|
4494 | |
---|
4495 | cd .. |
---|
4496 | rm -rf conftest.dir |
---|
4497 | else |
---|
4498 | am_cv_CC_dependencies_compiler_type=none |
---|
4499 | fi |
---|
4500 | |
---|
4501 | fi |
---|
4502 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
---|
4503 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
---|
4504 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
---|
4505 | |
---|
4506 | if |
---|
4507 | test "x$enable_dependency_tracking" != xno \ |
---|
4508 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
---|
4509 | am__fastdepCC_TRUE= |
---|
4510 | am__fastdepCC_FALSE='#' |
---|
4511 | else |
---|
4512 | am__fastdepCC_TRUE='#' |
---|
4513 | am__fastdepCC_FALSE= |
---|
4514 | fi |
---|
4515 | |
---|
4516 | |
---|
4517 | # By default we simply use the C compiler to build assembly code. |
---|
4518 | |
---|
4519 | test "${CCAS+set}" = set || CCAS=$CC |
---|
4520 | test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS |
---|
4521 | |
---|
4522 | |
---|
4523 | |
---|
4524 | depcc="$CCAS" am_compiler_list= |
---|
4525 | |
---|
4526 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
---|
4527 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
---|
4528 | if ${am_cv_CCAS_dependencies_compiler_type+:} false; then : |
---|
4529 | $as_echo_n "(cached) " >&6 |
---|
4530 | else |
---|
4531 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
4532 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
4533 | # making bogus files that we don't know about and never remove. For |
---|
4534 | # instance it was reported that on HP-UX the gcc test will end up |
---|
4535 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
4536 | # in D'. |
---|
4537 | rm -rf conftest.dir |
---|
4538 | mkdir conftest.dir |
---|
4539 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
4540 | # using a relative directory. |
---|
4541 | cp "$am_depcomp" conftest.dir |
---|
4542 | cd conftest.dir |
---|
4543 | # We will build objects and dependencies in a subdirectory because |
---|
4544 | # it helps to detect inapplicable dependency modes. For instance |
---|
4545 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
4546 | # side effect of compilation, but ICC will put the dependencies in |
---|
4547 | # the current directory while Tru64 will put them in the object |
---|
4548 | # directory. |
---|
4549 | mkdir sub |
---|
4550 | |
---|
4551 | am_cv_CCAS_dependencies_compiler_type=none |
---|
4552 | if test "$am_compiler_list" = ""; then |
---|
4553 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
4554 | fi |
---|
4555 | am__universal=false |
---|
4556 | |
---|
4557 | |
---|
4558 | for depmode in $am_compiler_list; do |
---|
4559 | # Setup a source with many dependencies, because some compilers |
---|
4560 | # like to wrap large dependency lists on column 80 (with \), and |
---|
4561 | # we should not choose a depcomp mode which is confused by this. |
---|
4562 | # |
---|
4563 | # We need to recreate these files for each test, as the compiler may |
---|
4564 | # overwrite some of them when testing with obscure command lines. |
---|
4565 | # This happens at least with the AIX C compiler. |
---|
4566 | : > sub/conftest.c |
---|
4567 | for i in 1 2 3 4 5 6; do |
---|
4568 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
4569 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
---|
4570 | # Solaris 8's {/usr,}/bin/sh. |
---|
4571 | touch sub/conftst$i.h |
---|
4572 | done |
---|
4573 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
4574 | |
---|
4575 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
---|
4576 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
4577 | # handle `-M -o', and we need to detect this. Also, some Intel |
---|
4578 | # versions had trouble with output in subdirs |
---|
4579 | am__obj=sub/conftest.${OBJEXT-o} |
---|
4580 | am__minus_obj="-o $am__obj" |
---|
4581 | case $depmode in |
---|
4582 | gcc) |
---|
4583 | # This depmode causes a compiler race in universal mode. |
---|
4584 | test "$am__universal" = false || continue |
---|
4585 | ;; |
---|
4586 | nosideeffect) |
---|
4587 | # after this tag, mechanisms are not by side-effect, so they'll |
---|
4588 | # only be used when explicitly requested |
---|
4589 | if test "x$enable_dependency_tracking" = xyes; then |
---|
4590 | continue |
---|
4591 | else |
---|
4592 | break |
---|
4593 | fi |
---|
4594 | ;; |
---|
4595 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
---|
4596 | # This compiler won't grok `-c -o', but also, the minuso test has |
---|
4597 | # not run yet. These depmodes are late enough in the game, and |
---|
4598 | # so weak that their functioning should not be impacted. |
---|
4599 | am__obj=conftest.${OBJEXT-o} |
---|
4600 | am__minus_obj= |
---|
4601 | ;; |
---|
4602 | none) break ;; |
---|
4603 | esac |
---|
4604 | if depmode=$depmode \ |
---|
4605 | source=sub/conftest.c object=$am__obj \ |
---|
4606 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
4607 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
---|
4608 | >/dev/null 2>conftest.err && |
---|
4609 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
---|
4610 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
4611 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
---|
4612 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
4613 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
4614 | # or remarks (even with -Werror). So we grep stderr for any message |
---|
4615 | # that says an option was ignored or not supported. |
---|
4616 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
---|
4617 | # icc: Command line warning: ignoring option '-M'; no argument required |
---|
4618 | # The diagnosis changed in icc 8.0: |
---|
4619 | # icc: Command line remark: option '-MP' not supported |
---|
4620 | if (grep 'ignoring option' conftest.err || |
---|
4621 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
---|
4622 | am_cv_CCAS_dependencies_compiler_type=$depmode |
---|
4623 | break |
---|
4624 | fi |
---|
4625 | fi |
---|
4626 | done |
---|
4627 | |
---|
4628 | cd .. |
---|
4629 | rm -rf conftest.dir |
---|
4630 | else |
---|
4631 | am_cv_CCAS_dependencies_compiler_type=none |
---|
4632 | fi |
---|
4633 | |
---|
4634 | fi |
---|
4635 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5 |
---|
4636 | $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; } |
---|
4637 | CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type |
---|
4638 | |
---|
4639 | if |
---|
4640 | test "x$enable_dependency_tracking" != xno \ |
---|
4641 | && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then |
---|
4642 | am__fastdepCCAS_TRUE= |
---|
4643 | am__fastdepCCAS_FALSE='#' |
---|
4644 | else |
---|
4645 | am__fastdepCCAS_TRUE='#' |
---|
4646 | am__fastdepCCAS_FALSE= |
---|
4647 | fi |
---|
4648 | |
---|
4649 | |
---|
4650 | if test "x$CC" != xcc; then |
---|
4651 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 |
---|
4652 | $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } |
---|
4653 | else |
---|
4654 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 |
---|
4655 | $as_echo_n "checking whether cc understands -c and -o together... " >&6; } |
---|
4656 | fi |
---|
4657 | set dummy $CC; ac_cc=`$as_echo "$2" | |
---|
4658 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` |
---|
4659 | if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : |
---|
4660 | $as_echo_n "(cached) " >&6 |
---|
4661 | else |
---|
4662 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4663 | /* end confdefs.h. */ |
---|
4664 | |
---|
4665 | int |
---|
4666 | main () |
---|
4667 | { |
---|
4668 | |
---|
4669 | ; |
---|
4670 | return 0; |
---|
4671 | } |
---|
4672 | _ACEOF |
---|
4673 | # Make sure it works both with $CC and with simple cc. |
---|
4674 | # We do the test twice because some compilers refuse to overwrite an |
---|
4675 | # existing .o file with -o, though they will create one. |
---|
4676 | ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' |
---|
4677 | rm -f conftest2.* |
---|
4678 | if { { case "(($ac_try" in |
---|
4679 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4680 | *) ac_try_echo=$ac_try;; |
---|
4681 | esac |
---|
4682 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
4683 | $as_echo "$ac_try_echo"; } >&5 |
---|
4684 | (eval "$ac_try") 2>&5 |
---|
4685 | ac_status=$? |
---|
4686 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
4687 | test $ac_status = 0; } && |
---|
4688 | test -f conftest2.$ac_objext && { { case "(($ac_try" in |
---|
4689 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4690 | *) ac_try_echo=$ac_try;; |
---|
4691 | esac |
---|
4692 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
4693 | $as_echo "$ac_try_echo"; } >&5 |
---|
4694 | (eval "$ac_try") 2>&5 |
---|
4695 | ac_status=$? |
---|
4696 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
4697 | test $ac_status = 0; }; |
---|
4698 | then |
---|
4699 | eval ac_cv_prog_cc_${ac_cc}_c_o=yes |
---|
4700 | if test "x$CC" != xcc; then |
---|
4701 | # Test first that cc exists at all. |
---|
4702 | if { ac_try='cc -c conftest.$ac_ext >&5' |
---|
4703 | { { case "(($ac_try" in |
---|
4704 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4705 | *) ac_try_echo=$ac_try;; |
---|
4706 | esac |
---|
4707 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
4708 | $as_echo "$ac_try_echo"; } >&5 |
---|
4709 | (eval "$ac_try") 2>&5 |
---|
4710 | ac_status=$? |
---|
4711 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
4712 | test $ac_status = 0; }; }; then |
---|
4713 | ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' |
---|
4714 | rm -f conftest2.* |
---|
4715 | if { { case "(($ac_try" in |
---|
4716 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4717 | *) ac_try_echo=$ac_try;; |
---|
4718 | esac |
---|
4719 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
4720 | $as_echo "$ac_try_echo"; } >&5 |
---|
4721 | (eval "$ac_try") 2>&5 |
---|
4722 | ac_status=$? |
---|
4723 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
4724 | test $ac_status = 0; } && |
---|
4725 | test -f conftest2.$ac_objext && { { case "(($ac_try" in |
---|
4726 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4727 | *) ac_try_echo=$ac_try;; |
---|
4728 | esac |
---|
4729 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
4730 | $as_echo "$ac_try_echo"; } >&5 |
---|
4731 | (eval "$ac_try") 2>&5 |
---|
4732 | ac_status=$? |
---|
4733 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
4734 | test $ac_status = 0; }; |
---|
4735 | then |
---|
4736 | # cc works too. |
---|
4737 | : |
---|
4738 | else |
---|
4739 | # cc exists but doesn't like -o. |
---|
4740 | eval ac_cv_prog_cc_${ac_cc}_c_o=no |
---|
4741 | fi |
---|
4742 | fi |
---|
4743 | fi |
---|
4744 | else |
---|
4745 | eval ac_cv_prog_cc_${ac_cc}_c_o=no |
---|
4746 | fi |
---|
4747 | rm -f core conftest* |
---|
4748 | |
---|
4749 | fi |
---|
4750 | if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then |
---|
4751 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
4752 | $as_echo "yes" >&6; } |
---|
4753 | else |
---|
4754 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4755 | $as_echo "no" >&6; } |
---|
4756 | |
---|
4757 | $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h |
---|
4758 | |
---|
4759 | fi |
---|
4760 | |
---|
4761 | # FIXME: we rely on the cache variable name because |
---|
4762 | # there is no other way. |
---|
4763 | set dummy $CC |
---|
4764 | am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` |
---|
4765 | eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o |
---|
4766 | if test "$am_t" != yes; then |
---|
4767 | # Losing compiler, so override with the script. |
---|
4768 | # FIXME: It is wrong to rewrite CC. |
---|
4769 | # But if we don't then we get into trouble of one sort or another. |
---|
4770 | # A longer-term fix would be to have automake use am__CC in this case, |
---|
4771 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
---|
4772 | CC="$am_aux_dir/compile $CC" |
---|
4773 | fi |
---|
4774 | |
---|
4775 | # deprecated |
---|
4776 | # These are often not installed and people miss seeing the "no", so stop the configure. |
---|
4777 | for ac_prog in 'bison -y' byacc |
---|
4778 | do |
---|
4779 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
4780 | set dummy $ac_prog; ac_word=$2 |
---|
4781 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4782 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4783 | if ${ac_cv_prog_YACC+:} false; then : |
---|
4784 | $as_echo_n "(cached) " >&6 |
---|
4785 | else |
---|
4786 | if test -n "$YACC"; then |
---|
4787 | ac_cv_prog_YACC="$YACC" # Let the user override the test. |
---|
4788 | else |
---|
4789 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4790 | for as_dir in $PATH |
---|
4791 | do |
---|
4792 | IFS=$as_save_IFS |
---|
4793 | test -z "$as_dir" && as_dir=. |
---|
4794 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4795 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4796 | ac_cv_prog_YACC="$ac_prog" |
---|
4797 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4798 | break 2 |
---|
4799 | fi |
---|
4800 | done |
---|
4801 | done |
---|
4802 | IFS=$as_save_IFS |
---|
4803 | |
---|
4804 | fi |
---|
4805 | fi |
---|
4806 | YACC=$ac_cv_prog_YACC |
---|
4807 | if test -n "$YACC"; then |
---|
4808 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 |
---|
4809 | $as_echo "$YACC" >&6; } |
---|
4810 | else |
---|
4811 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4812 | $as_echo "no" >&6; } |
---|
4813 | fi |
---|
4814 | |
---|
4815 | |
---|
4816 | test -n "$YACC" && break |
---|
4817 | done |
---|
4818 | test -n "$YACC" || YACC="yacc" |
---|
4819 | |
---|
4820 | if test "${YACC}" = "yacc" ; then echo "Error: bison required." ; exit 1 ; fi |
---|
4821 | |
---|
4822 | for ac_prog in flex lex |
---|
4823 | do |
---|
4824 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
4825 | set dummy $ac_prog; ac_word=$2 |
---|
4826 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4827 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4828 | if ${ac_cv_prog_LEX+:} false; then : |
---|
4829 | $as_echo_n "(cached) " >&6 |
---|
4830 | else |
---|
4831 | if test -n "$LEX"; then |
---|
4832 | ac_cv_prog_LEX="$LEX" # Let the user override the test. |
---|
4833 | else |
---|
4834 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4835 | for as_dir in $PATH |
---|
4836 | do |
---|
4837 | IFS=$as_save_IFS |
---|
4838 | test -z "$as_dir" && as_dir=. |
---|
4839 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4840 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4841 | ac_cv_prog_LEX="$ac_prog" |
---|
4842 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4843 | break 2 |
---|
4844 | fi |
---|
4845 | done |
---|
4846 | done |
---|
4847 | IFS=$as_save_IFS |
---|
4848 | |
---|
4849 | fi |
---|
4850 | fi |
---|
4851 | LEX=$ac_cv_prog_LEX |
---|
4852 | if test -n "$LEX"; then |
---|
4853 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 |
---|
4854 | $as_echo "$LEX" >&6; } |
---|
4855 | else |
---|
4856 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4857 | $as_echo "no" >&6; } |
---|
4858 | fi |
---|
4859 | |
---|
4860 | |
---|
4861 | test -n "$LEX" && break |
---|
4862 | done |
---|
4863 | test -n "$LEX" || LEX=":" |
---|
4864 | |
---|
4865 | if test "x$LEX" != "x:"; then |
---|
4866 | cat >conftest.l <<_ACEOF |
---|
4867 | %% |
---|
4868 | a { ECHO; } |
---|
4869 | b { REJECT; } |
---|
4870 | c { yymore (); } |
---|
4871 | d { yyless (1); } |
---|
4872 | e { yyless (input () != 0); } |
---|
4873 | f { unput (yytext[0]); } |
---|
4874 | . { BEGIN INITIAL; } |
---|
4875 | %% |
---|
4876 | #ifdef YYTEXT_POINTER |
---|
4877 | extern char *yytext; |
---|
4878 | #endif |
---|
4879 | int |
---|
4880 | main (void) |
---|
4881 | { |
---|
4882 | return ! yylex () + ! yywrap (); |
---|
4883 | } |
---|
4884 | _ACEOF |
---|
4885 | { { ac_try="$LEX conftest.l" |
---|
4886 | case "(($ac_try" in |
---|
4887 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4888 | *) ac_try_echo=$ac_try;; |
---|
4889 | esac |
---|
4890 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
4891 | $as_echo "$ac_try_echo"; } >&5 |
---|
4892 | (eval "$LEX conftest.l") 2>&5 |
---|
4893 | ac_status=$? |
---|
4894 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
4895 | test $ac_status = 0; } |
---|
4896 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
---|
4897 | $as_echo_n "checking lex output file root... " >&6; } |
---|
4898 | if ${ac_cv_prog_lex_root+:} false; then : |
---|
4899 | $as_echo_n "(cached) " >&6 |
---|
4900 | else |
---|
4901 | |
---|
4902 | if test -f lex.yy.c; then |
---|
4903 | ac_cv_prog_lex_root=lex.yy |
---|
4904 | elif test -f lexyy.c; then |
---|
4905 | ac_cv_prog_lex_root=lexyy |
---|
4906 | else |
---|
4907 | as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 |
---|
4908 | fi |
---|
4909 | fi |
---|
4910 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
---|
4911 | $as_echo "$ac_cv_prog_lex_root" >&6; } |
---|
4912 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
---|
4913 | |
---|
4914 | if test -z "${LEXLIB+set}"; then |
---|
4915 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
---|
4916 | $as_echo_n "checking lex library... " >&6; } |
---|
4917 | if ${ac_cv_lib_lex+:} false; then : |
---|
4918 | $as_echo_n "(cached) " >&6 |
---|
4919 | else |
---|
4920 | |
---|
4921 | ac_save_LIBS=$LIBS |
---|
4922 | ac_cv_lib_lex='none needed' |
---|
4923 | for ac_lib in '' -lfl -ll; do |
---|
4924 | LIBS="$ac_lib $ac_save_LIBS" |
---|
4925 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4926 | /* end confdefs.h. */ |
---|
4927 | `cat $LEX_OUTPUT_ROOT.c` |
---|
4928 | _ACEOF |
---|
4929 | if ac_fn_c_try_link "$LINENO"; then : |
---|
4930 | ac_cv_lib_lex=$ac_lib |
---|
4931 | fi |
---|
4932 | rm -f core conftest.err conftest.$ac_objext \ |
---|
4933 | conftest$ac_exeext conftest.$ac_ext |
---|
4934 | test "$ac_cv_lib_lex" != 'none needed' && break |
---|
4935 | done |
---|
4936 | LIBS=$ac_save_LIBS |
---|
4937 | |
---|
4938 | fi |
---|
4939 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 |
---|
4940 | $as_echo "$ac_cv_lib_lex" >&6; } |
---|
4941 | test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex |
---|
4942 | fi |
---|
4943 | |
---|
4944 | |
---|
4945 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
---|
4946 | $as_echo_n "checking whether yytext is a pointer... " >&6; } |
---|
4947 | if ${ac_cv_prog_lex_yytext_pointer+:} false; then : |
---|
4948 | $as_echo_n "(cached) " >&6 |
---|
4949 | else |
---|
4950 | # POSIX says lex can declare yytext either as a pointer or an array; the |
---|
4951 | # default is implementation-dependent. Figure out which it is, since |
---|
4952 | # not all implementations provide the %pointer and %array declarations. |
---|
4953 | ac_cv_prog_lex_yytext_pointer=no |
---|
4954 | ac_save_LIBS=$LIBS |
---|
4955 | LIBS="$LEXLIB $ac_save_LIBS" |
---|
4956 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4957 | /* end confdefs.h. */ |
---|
4958 | |
---|
4959 | #define YYTEXT_POINTER 1 |
---|
4960 | `cat $LEX_OUTPUT_ROOT.c` |
---|
4961 | _ACEOF |
---|
4962 | if ac_fn_c_try_link "$LINENO"; then : |
---|
4963 | ac_cv_prog_lex_yytext_pointer=yes |
---|
4964 | fi |
---|
4965 | rm -f core conftest.err conftest.$ac_objext \ |
---|
4966 | conftest$ac_exeext conftest.$ac_ext |
---|
4967 | LIBS=$ac_save_LIBS |
---|
4968 | |
---|
4969 | fi |
---|
4970 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
---|
4971 | $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } |
---|
4972 | if test $ac_cv_prog_lex_yytext_pointer = yes; then |
---|
4973 | |
---|
4974 | $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h |
---|
4975 | |
---|
4976 | fi |
---|
4977 | rm -f conftest.l $LEX_OUTPUT_ROOT.c |
---|
4978 | |
---|
4979 | fi |
---|
4980 | if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi |
---|
4981 | |
---|
4982 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
---|
4983 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
---|
4984 | set x ${MAKE-make} |
---|
4985 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
---|
4986 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
---|
4987 | $as_echo_n "(cached) " >&6 |
---|
4988 | else |
---|
4989 | cat >conftest.make <<\_ACEOF |
---|
4990 | SHELL = /bin/sh |
---|
4991 | all: |
---|
4992 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
---|
4993 | _ACEOF |
---|
4994 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
---|
4995 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
---|
4996 | *@@@%%%=?*=@@@%%%*) |
---|
4997 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
---|
4998 | *) |
---|
4999 | eval ac_cv_prog_make_${ac_make}_set=no;; |
---|
5000 | esac |
---|
5001 | rm -f conftest.make |
---|
5002 | fi |
---|
5003 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
---|
5004 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
5005 | $as_echo "yes" >&6; } |
---|
5006 | SET_MAKE= |
---|
5007 | else |
---|
5008 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
5009 | $as_echo "no" >&6; } |
---|
5010 | SET_MAKE="MAKE=${MAKE-make}" |
---|
5011 | fi |
---|
5012 | |
---|
5013 | if test -n "$ac_tool_prefix"; then |
---|
5014 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
---|
5015 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
---|
5016 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
5017 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
5018 | if ${ac_cv_prog_RANLIB+:} false; then : |
---|
5019 | $as_echo_n "(cached) " >&6 |
---|
5020 | else |
---|
5021 | if test -n "$RANLIB"; then |
---|
5022 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
---|
5023 | else |
---|
5024 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
5025 | for as_dir in $PATH |
---|
5026 | do |
---|
5027 | IFS=$as_save_IFS |
---|
5028 | test -z "$as_dir" && as_dir=. |
---|
5029 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
5030 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
5031 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
---|
5032 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
5033 | break 2 |
---|
5034 | fi |
---|
5035 | done |
---|
5036 | done |
---|
5037 | IFS=$as_save_IFS |
---|
5038 | |
---|
5039 | fi |
---|
5040 | fi |
---|
5041 | RANLIB=$ac_cv_prog_RANLIB |
---|
5042 | if test -n "$RANLIB"; then |
---|
5043 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
---|
5044 | $as_echo "$RANLIB" >&6; } |
---|
5045 | else |
---|
5046 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
5047 | $as_echo "no" >&6; } |
---|
5048 | fi |
---|
5049 | |
---|
5050 | |
---|
5051 | fi |
---|
5052 | if test -z "$ac_cv_prog_RANLIB"; then |
---|
5053 | ac_ct_RANLIB=$RANLIB |
---|
5054 | # Extract the first word of "ranlib", so it can be a program name with args. |
---|
5055 | set dummy ranlib; ac_word=$2 |
---|
5056 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
5057 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
5058 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
---|
5059 | $as_echo_n "(cached) " >&6 |
---|
5060 | else |
---|
5061 | if test -n "$ac_ct_RANLIB"; then |
---|
5062 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
---|
5063 | else |
---|
5064 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
5065 | for as_dir in $PATH |
---|
5066 | do |
---|
5067 | IFS=$as_save_IFS |
---|
5068 | test -z "$as_dir" && as_dir=. |
---|
5069 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
5070 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
5071 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
---|
5072 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
5073 | break 2 |
---|
5074 | fi |
---|
5075 | done |
---|
5076 | done |
---|
5077 | IFS=$as_save_IFS |
---|
5078 | |
---|
5079 | fi |
---|
5080 | fi |
---|
5081 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
---|
5082 | if test -n "$ac_ct_RANLIB"; then |
---|
5083 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
---|
5084 | $as_echo "$ac_ct_RANLIB" >&6; } |
---|
5085 | else |
---|
5086 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
5087 | $as_echo "no" >&6; } |
---|
5088 | fi |
---|
5089 | |
---|
5090 | if test "x$ac_ct_RANLIB" = x; then |
---|
5091 | RANLIB=":" |
---|
5092 | else |
---|
5093 | case $cross_compiling:$ac_tool_warned in |
---|
5094 | yes:) |
---|
5095 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
5096 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
5097 | ac_tool_warned=yes ;; |
---|
5098 | esac |
---|
5099 | RANLIB=$ac_ct_RANLIB |
---|
5100 | fi |
---|
5101 | else |
---|
5102 | RANLIB="$ac_cv_prog_RANLIB" |
---|
5103 | fi |
---|
5104 | |
---|
5105 | |
---|
5106 | # Checks for libraries. |
---|
5107 | |
---|
5108 | # Checks for header files. |
---|
5109 | ac_ext=c |
---|
5110 | ac_cpp='$CPP $CPPFLAGS' |
---|
5111 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
5112 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
5113 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
5114 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
---|
5115 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
---|
5116 | # On Suns, sometimes $CPP names a directory. |
---|
5117 | if test -n "$CPP" && test -d "$CPP"; then |
---|
5118 | CPP= |
---|
5119 | fi |
---|
5120 | if test -z "$CPP"; then |
---|
5121 | if ${ac_cv_prog_CPP+:} false; then : |
---|
5122 | $as_echo_n "(cached) " >&6 |
---|
5123 | else |
---|
5124 | # Double quotes because CPP needs to be expanded |
---|
5125 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
5126 | do |
---|
5127 | ac_preproc_ok=false |
---|
5128 | for ac_c_preproc_warn_flag in '' yes |
---|
5129 | do |
---|
5130 | # Use a header file that comes with gcc, so configuring glibc |
---|
5131 | # with a fresh cross-compiler works. |
---|
5132 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
5133 | # <limits.h> exists even on freestanding compilers. |
---|
5134 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
5135 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
5136 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5137 | /* end confdefs.h. */ |
---|
5138 | #ifdef __STDC__ |
---|
5139 | # include <limits.h> |
---|
5140 | #else |
---|
5141 | # include <assert.h> |
---|
5142 | #endif |
---|
5143 | Syntax error |
---|
5144 | _ACEOF |
---|
5145 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
5146 | |
---|
5147 | else |
---|
5148 | # Broken: fails on valid input. |
---|
5149 | continue |
---|
5150 | fi |
---|
5151 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
5152 | |
---|
5153 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
5154 | # can be detected and how. |
---|
5155 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5156 | /* end confdefs.h. */ |
---|
5157 | #include <ac_nonexistent.h> |
---|
5158 | _ACEOF |
---|
5159 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
5160 | # Broken: success on invalid input. |
---|
5161 | continue |
---|
5162 | else |
---|
5163 | # Passes both tests. |
---|
5164 | ac_preproc_ok=: |
---|
5165 | break |
---|
5166 | fi |
---|
5167 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
5168 | |
---|
5169 | done |
---|
5170 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
5171 | rm -f conftest.i conftest.err conftest.$ac_ext |
---|
5172 | if $ac_preproc_ok; then : |
---|
5173 | break |
---|
5174 | fi |
---|
5175 | |
---|
5176 | done |
---|
5177 | ac_cv_prog_CPP=$CPP |
---|
5178 | |
---|
5179 | fi |
---|
5180 | CPP=$ac_cv_prog_CPP |
---|
5181 | else |
---|
5182 | ac_cv_prog_CPP=$CPP |
---|
5183 | fi |
---|
5184 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
---|
5185 | $as_echo "$CPP" >&6; } |
---|
5186 | ac_preproc_ok=false |
---|
5187 | for ac_c_preproc_warn_flag in '' yes |
---|
5188 | do |
---|
5189 | # Use a header file that comes with gcc, so configuring glibc |
---|
5190 | # with a fresh cross-compiler works. |
---|
5191 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
5192 | # <limits.h> exists even on freestanding compilers. |
---|
5193 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
5194 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
5195 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5196 | /* end confdefs.h. */ |
---|
5197 | #ifdef __STDC__ |
---|
5198 | # include <limits.h> |
---|
5199 | #else |
---|
5200 | # include <assert.h> |
---|
5201 | #endif |
---|
5202 | Syntax error |
---|
5203 | _ACEOF |
---|
5204 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
5205 | |
---|
5206 | else |
---|
5207 | # Broken: fails on valid input. |
---|
5208 | continue |
---|
5209 | fi |
---|
5210 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
5211 | |
---|
5212 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
5213 | # can be detected and how. |
---|
5214 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5215 | /* end confdefs.h. */ |
---|
5216 | #include <ac_nonexistent.h> |
---|
5217 | _ACEOF |
---|
5218 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
5219 | # Broken: success on invalid input. |
---|
5220 | continue |
---|
5221 | else |
---|
5222 | # Passes both tests. |
---|
5223 | ac_preproc_ok=: |
---|
5224 | break |
---|
5225 | fi |
---|
5226 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
5227 | |
---|
5228 | done |
---|
5229 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
5230 | rm -f conftest.i conftest.err conftest.$ac_ext |
---|
5231 | if $ac_preproc_ok; then : |
---|
5232 | |
---|
5233 | else |
---|
5234 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
5235 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
5236 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
---|
5237 | See \`config.log' for more details" "$LINENO" 5; } |
---|
5238 | fi |
---|
5239 | |
---|
5240 | ac_ext=c |
---|
5241 | ac_cpp='$CPP $CPPFLAGS' |
---|
5242 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
5243 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
5244 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
5245 | |
---|
5246 | |
---|
5247 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
---|
5248 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
---|
5249 | if ${ac_cv_path_GREP+:} false; then : |
---|
5250 | $as_echo_n "(cached) " >&6 |
---|
5251 | else |
---|
5252 | if test -z "$GREP"; then |
---|
5253 | ac_path_GREP_found=false |
---|
5254 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
5255 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
5256 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
5257 | do |
---|
5258 | IFS=$as_save_IFS |
---|
5259 | test -z "$as_dir" && as_dir=. |
---|
5260 | for ac_prog in grep ggrep; do |
---|
5261 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
5262 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
5263 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
---|
5264 | # Check for GNU ac_path_GREP and select it if it is found. |
---|
5265 | # Check for GNU $ac_path_GREP |
---|
5266 | case `"$ac_path_GREP" --version 2>&1` in |
---|
5267 | *GNU*) |
---|
5268 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
---|
5269 | *) |
---|
5270 | ac_count=0 |
---|
5271 | $as_echo_n 0123456789 >"conftest.in" |
---|
5272 | while : |
---|
5273 | do |
---|
5274 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
5275 | mv "conftest.tmp" "conftest.in" |
---|
5276 | cp "conftest.in" "conftest.nl" |
---|
5277 | $as_echo 'GREP' >> "conftest.nl" |
---|
5278 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
5279 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
5280 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
---|
5281 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
---|
5282 | # Best one so far, save it but keep looking for a better one |
---|
5283 | ac_cv_path_GREP="$ac_path_GREP" |
---|
5284 | ac_path_GREP_max=$ac_count |
---|
5285 | fi |
---|
5286 | # 10*(2^10) chars as input seems more than enough |
---|
5287 | test $ac_count -gt 10 && break |
---|
5288 | done |
---|
5289 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
5290 | esac |
---|
5291 | |
---|
5292 | $ac_path_GREP_found && break 3 |
---|
5293 | done |
---|
5294 | done |
---|
5295 | done |
---|
5296 | IFS=$as_save_IFS |
---|
5297 | if test -z "$ac_cv_path_GREP"; then |
---|
5298 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
---|
5299 | fi |
---|
5300 | else |
---|
5301 | ac_cv_path_GREP=$GREP |
---|
5302 | fi |
---|
5303 | |
---|
5304 | fi |
---|
5305 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
---|
5306 | $as_echo "$ac_cv_path_GREP" >&6; } |
---|
5307 | GREP="$ac_cv_path_GREP" |
---|
5308 | |
---|
5309 | |
---|
5310 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
---|
5311 | $as_echo_n "checking for egrep... " >&6; } |
---|
5312 | if ${ac_cv_path_EGREP+:} false; then : |
---|
5313 | $as_echo_n "(cached) " >&6 |
---|
5314 | else |
---|
5315 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
---|
5316 | then ac_cv_path_EGREP="$GREP -E" |
---|
5317 | else |
---|
5318 | if test -z "$EGREP"; then |
---|
5319 | ac_path_EGREP_found=false |
---|
5320 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
5321 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
5322 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
5323 | do |
---|
5324 | IFS=$as_save_IFS |
---|
5325 | test -z "$as_dir" && as_dir=. |
---|
5326 | for ac_prog in egrep; do |
---|
5327 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
5328 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
5329 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
---|
5330 | # Check for GNU ac_path_EGREP and select it if it is found. |
---|
5331 | # Check for GNU $ac_path_EGREP |
---|
5332 | case `"$ac_path_EGREP" --version 2>&1` in |
---|
5333 | *GNU*) |
---|
5334 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
---|
5335 | *) |
---|
5336 | ac_count=0 |
---|
5337 | $as_echo_n 0123456789 >"conftest.in" |
---|
5338 | while : |
---|
5339 | do |
---|
5340 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
5341 | mv "conftest.tmp" "conftest.in" |
---|
5342 | cp "conftest.in" "conftest.nl" |
---|
5343 | $as_echo 'EGREP' >> "conftest.nl" |
---|
5344 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
5345 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
5346 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
---|
5347 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
---|
5348 | # Best one so far, save it but keep looking for a better one |
---|
5349 | ac_cv_path_EGREP="$ac_path_EGREP" |
---|
5350 | ac_path_EGREP_max=$ac_count |
---|
5351 | fi |
---|
5352 | # 10*(2^10) chars as input seems more than enough |
---|
5353 | test $ac_count -gt 10 && break |
---|
5354 | done |
---|
5355 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
5356 | esac |
---|
5357 | |
---|
5358 | $ac_path_EGREP_found && break 3 |
---|
5359 | done |
---|
5360 | done |
---|
5361 | done |
---|
5362 | IFS=$as_save_IFS |
---|
5363 | if test -z "$ac_cv_path_EGREP"; then |
---|
5364 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
---|
5365 | fi |
---|
5366 | else |
---|
5367 | ac_cv_path_EGREP=$EGREP |
---|
5368 | fi |
---|
5369 | |
---|
5370 | fi |
---|
5371 | fi |
---|
5372 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
---|
5373 | $as_echo "$ac_cv_path_EGREP" >&6; } |
---|
5374 | EGREP="$ac_cv_path_EGREP" |
---|
5375 | |
---|
5376 | |
---|
5377 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
---|
5378 | $as_echo_n "checking for ANSI C header files... " >&6; } |
---|
5379 | if ${ac_cv_header_stdc+:} false; then : |
---|
5380 | $as_echo_n "(cached) " >&6 |
---|
5381 | else |
---|
5382 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5383 | /* end confdefs.h. */ |
---|
5384 | #include <stdlib.h> |
---|
5385 | #include <stdarg.h> |
---|
5386 | #include <string.h> |
---|
5387 | #include <float.h> |
---|
5388 | |
---|
5389 | int |
---|
5390 | main () |
---|
5391 | { |
---|
5392 | |
---|
5393 | ; |
---|
5394 | return 0; |
---|
5395 | } |
---|
5396 | _ACEOF |
---|
5397 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
5398 | ac_cv_header_stdc=yes |
---|
5399 | else |
---|
5400 | ac_cv_header_stdc=no |
---|
5401 | fi |
---|
5402 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
5403 | |
---|
5404 | if test $ac_cv_header_stdc = yes; then |
---|
5405 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
5406 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5407 | /* end confdefs.h. */ |
---|
5408 | #include <string.h> |
---|
5409 | |
---|
5410 | _ACEOF |
---|
5411 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
5412 | $EGREP "memchr" >/dev/null 2>&1; then : |
---|
5413 | |
---|
5414 | else |
---|
5415 | ac_cv_header_stdc=no |
---|
5416 | fi |
---|
5417 | rm -f conftest* |
---|
5418 | |
---|
5419 | fi |
---|
5420 | |
---|
5421 | if test $ac_cv_header_stdc = yes; then |
---|
5422 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
5423 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5424 | /* end confdefs.h. */ |
---|
5425 | #include <stdlib.h> |
---|
5426 | |
---|
5427 | _ACEOF |
---|
5428 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
5429 | $EGREP "free" >/dev/null 2>&1; then : |
---|
5430 | |
---|
5431 | else |
---|
5432 | ac_cv_header_stdc=no |
---|
5433 | fi |
---|
5434 | rm -f conftest* |
---|
5435 | |
---|
5436 | fi |
---|
5437 | |
---|
5438 | if test $ac_cv_header_stdc = yes; then |
---|
5439 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
5440 | if test "$cross_compiling" = yes; then : |
---|
5441 | : |
---|
5442 | else |
---|
5443 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5444 | /* end confdefs.h. */ |
---|
5445 | #include <ctype.h> |
---|
5446 | #include <stdlib.h> |
---|
5447 | #if ((' ' & 0x0FF) == 0x020) |
---|
5448 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
5449 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
5450 | #else |
---|
5451 | # define ISLOWER(c) \ |
---|
5452 | (('a' <= (c) && (c) <= 'i') \ |
---|
5453 | || ('j' <= (c) && (c) <= 'r') \ |
---|
5454 | || ('s' <= (c) && (c) <= 'z')) |
---|
5455 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
---|
5456 | #endif |
---|
5457 | |
---|
5458 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
5459 | int |
---|
5460 | main () |
---|
5461 | { |
---|
5462 | int i; |
---|
5463 | for (i = 0; i < 256; i++) |
---|
5464 | if (XOR (islower (i), ISLOWER (i)) |
---|
5465 | || toupper (i) != TOUPPER (i)) |
---|
5466 | return 2; |
---|
5467 | return 0; |
---|
5468 | } |
---|
5469 | _ACEOF |
---|
5470 | if ac_fn_c_try_run "$LINENO"; then : |
---|
5471 | |
---|
5472 | else |
---|
5473 | ac_cv_header_stdc=no |
---|
5474 | fi |
---|
5475 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
---|
5476 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
---|
5477 | fi |
---|
5478 | |
---|
5479 | fi |
---|
5480 | fi |
---|
5481 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
---|
5482 | $as_echo "$ac_cv_header_stdc" >&6; } |
---|
5483 | if test $ac_cv_header_stdc = yes; then |
---|
5484 | |
---|
5485 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
---|
5486 | |
---|
5487 | fi |
---|
5488 | |
---|
5489 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
---|
5490 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
---|
5491 | inttypes.h stdint.h unistd.h |
---|
5492 | do : |
---|
5493 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
5494 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
---|
5495 | " |
---|
5496 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
---|
5497 | cat >>confdefs.h <<_ACEOF |
---|
5498 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
5499 | _ACEOF |
---|
5500 | |
---|
5501 | fi |
---|
5502 | |
---|
5503 | done |
---|
5504 | |
---|
5505 | |
---|
5506 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
---|
5507 | if test "x$ac_cv_type_size_t" = xyes; then : |
---|
5508 | |
---|
5509 | else |
---|
5510 | |
---|
5511 | cat >>confdefs.h <<_ACEOF |
---|
5512 | #define size_t unsigned int |
---|
5513 | _ACEOF |
---|
5514 | |
---|
5515 | fi |
---|
5516 | |
---|
5517 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
---|
5518 | # for constant arguments. Useless! |
---|
5519 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 |
---|
5520 | $as_echo_n "checking for working alloca.h... " >&6; } |
---|
5521 | if ${ac_cv_working_alloca_h+:} false; then : |
---|
5522 | $as_echo_n "(cached) " >&6 |
---|
5523 | else |
---|
5524 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5525 | /* end confdefs.h. */ |
---|
5526 | #include <alloca.h> |
---|
5527 | int |
---|
5528 | main () |
---|
5529 | { |
---|
5530 | char *p = (char *) alloca (2 * sizeof (int)); |
---|
5531 | if (p) return 0; |
---|
5532 | ; |
---|
5533 | return 0; |
---|
5534 | } |
---|
5535 | _ACEOF |
---|
5536 | if ac_fn_c_try_link "$LINENO"; then : |
---|
5537 | ac_cv_working_alloca_h=yes |
---|
5538 | else |
---|
5539 | ac_cv_working_alloca_h=no |
---|
5540 | fi |
---|
5541 | rm -f core conftest.err conftest.$ac_objext \ |
---|
5542 | conftest$ac_exeext conftest.$ac_ext |
---|
5543 | fi |
---|
5544 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 |
---|
5545 | $as_echo "$ac_cv_working_alloca_h" >&6; } |
---|
5546 | if test $ac_cv_working_alloca_h = yes; then |
---|
5547 | |
---|
5548 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h |
---|
5549 | |
---|
5550 | fi |
---|
5551 | |
---|
5552 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 |
---|
5553 | $as_echo_n "checking for alloca... " >&6; } |
---|
5554 | if ${ac_cv_func_alloca_works+:} false; then : |
---|
5555 | $as_echo_n "(cached) " >&6 |
---|
5556 | else |
---|
5557 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5558 | /* end confdefs.h. */ |
---|
5559 | #ifdef __GNUC__ |
---|
5560 | # define alloca __builtin_alloca |
---|
5561 | #else |
---|
5562 | # ifdef _MSC_VER |
---|
5563 | # include <malloc.h> |
---|
5564 | # define alloca _alloca |
---|
5565 | # else |
---|
5566 | # ifdef HAVE_ALLOCA_H |
---|
5567 | # include <alloca.h> |
---|
5568 | # else |
---|
5569 | # ifdef _AIX |
---|
5570 | #pragma alloca |
---|
5571 | # else |
---|
5572 | # ifndef alloca /* predefined by HP cc +Olibcalls */ |
---|
5573 | void *alloca (size_t); |
---|
5574 | # endif |
---|
5575 | # endif |
---|
5576 | # endif |
---|
5577 | # endif |
---|
5578 | #endif |
---|
5579 | |
---|
5580 | int |
---|
5581 | main () |
---|
5582 | { |
---|
5583 | char *p = (char *) alloca (1); |
---|
5584 | if (p) return 0; |
---|
5585 | ; |
---|
5586 | return 0; |
---|
5587 | } |
---|
5588 | _ACEOF |
---|
5589 | if ac_fn_c_try_link "$LINENO"; then : |
---|
5590 | ac_cv_func_alloca_works=yes |
---|
5591 | else |
---|
5592 | ac_cv_func_alloca_works=no |
---|
5593 | fi |
---|
5594 | rm -f core conftest.err conftest.$ac_objext \ |
---|
5595 | conftest$ac_exeext conftest.$ac_ext |
---|
5596 | fi |
---|
5597 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 |
---|
5598 | $as_echo "$ac_cv_func_alloca_works" >&6; } |
---|
5599 | |
---|
5600 | if test $ac_cv_func_alloca_works = yes; then |
---|
5601 | |
---|
5602 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h |
---|
5603 | |
---|
5604 | else |
---|
5605 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
---|
5606 | # that cause trouble. Some versions do not even contain alloca or |
---|
5607 | # contain a buggy version. If you still want to use their alloca, |
---|
5608 | # use ar to extract alloca.o from them instead of compiling alloca.c. |
---|
5609 | |
---|
5610 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext |
---|
5611 | |
---|
5612 | $as_echo "#define C_ALLOCA 1" >>confdefs.h |
---|
5613 | |
---|
5614 | |
---|
5615 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 |
---|
5616 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } |
---|
5617 | if ${ac_cv_os_cray+:} false; then : |
---|
5618 | $as_echo_n "(cached) " >&6 |
---|
5619 | else |
---|
5620 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5621 | /* end confdefs.h. */ |
---|
5622 | #if defined CRAY && ! defined CRAY2 |
---|
5623 | webecray |
---|
5624 | #else |
---|
5625 | wenotbecray |
---|
5626 | #endif |
---|
5627 | |
---|
5628 | _ACEOF |
---|
5629 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
5630 | $EGREP "webecray" >/dev/null 2>&1; then : |
---|
5631 | ac_cv_os_cray=yes |
---|
5632 | else |
---|
5633 | ac_cv_os_cray=no |
---|
5634 | fi |
---|
5635 | rm -f conftest* |
---|
5636 | |
---|
5637 | fi |
---|
5638 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 |
---|
5639 | $as_echo "$ac_cv_os_cray" >&6; } |
---|
5640 | if test $ac_cv_os_cray = yes; then |
---|
5641 | for ac_func in _getb67 GETB67 getb67; do |
---|
5642 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
5643 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
---|
5644 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
---|
5645 | |
---|
5646 | cat >>confdefs.h <<_ACEOF |
---|
5647 | #define CRAY_STACKSEG_END $ac_func |
---|
5648 | _ACEOF |
---|
5649 | |
---|
5650 | break |
---|
5651 | fi |
---|
5652 | |
---|
5653 | done |
---|
5654 | fi |
---|
5655 | |
---|
5656 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 |
---|
5657 | $as_echo_n "checking stack direction for C alloca... " >&6; } |
---|
5658 | if ${ac_cv_c_stack_direction+:} false; then : |
---|
5659 | $as_echo_n "(cached) " >&6 |
---|
5660 | else |
---|
5661 | if test "$cross_compiling" = yes; then : |
---|
5662 | ac_cv_c_stack_direction=0 |
---|
5663 | else |
---|
5664 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5665 | /* end confdefs.h. */ |
---|
5666 | $ac_includes_default |
---|
5667 | int |
---|
5668 | find_stack_direction () |
---|
5669 | { |
---|
5670 | static char *addr = 0; |
---|
5671 | auto char dummy; |
---|
5672 | if (addr == 0) |
---|
5673 | { |
---|
5674 | addr = &dummy; |
---|
5675 | return find_stack_direction (); |
---|
5676 | } |
---|
5677 | else |
---|
5678 | return (&dummy > addr) ? 1 : -1; |
---|
5679 | } |
---|
5680 | |
---|
5681 | int |
---|
5682 | main () |
---|
5683 | { |
---|
5684 | return find_stack_direction () < 0; |
---|
5685 | } |
---|
5686 | _ACEOF |
---|
5687 | if ac_fn_c_try_run "$LINENO"; then : |
---|
5688 | ac_cv_c_stack_direction=1 |
---|
5689 | else |
---|
5690 | ac_cv_c_stack_direction=-1 |
---|
5691 | fi |
---|
5692 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
---|
5693 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
---|
5694 | fi |
---|
5695 | |
---|
5696 | fi |
---|
5697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 |
---|
5698 | $as_echo "$ac_cv_c_stack_direction" >&6; } |
---|
5699 | cat >>confdefs.h <<_ACEOF |
---|
5700 | #define STACK_DIRECTION $ac_cv_c_stack_direction |
---|
5701 | _ACEOF |
---|
5702 | |
---|
5703 | |
---|
5704 | fi |
---|
5705 | |
---|
5706 | for ac_header in fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h |
---|
5707 | do : |
---|
5708 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
5709 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
---|
5710 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
---|
5711 | cat >>confdefs.h <<_ACEOF |
---|
5712 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
5713 | _ACEOF |
---|
5714 | |
---|
5715 | fi |
---|
5716 | |
---|
5717 | done |
---|
5718 | |
---|
5719 | |
---|
5720 | # Checks for typedefs, structures, and compiler characteristics. |
---|
5721 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 |
---|
5722 | $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } |
---|
5723 | if ${ac_cv_header_stdbool_h+:} false; then : |
---|
5724 | $as_echo_n "(cached) " >&6 |
---|
5725 | else |
---|
5726 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5727 | /* end confdefs.h. */ |
---|
5728 | |
---|
5729 | #include <stdbool.h> |
---|
5730 | #ifndef bool |
---|
5731 | "error: bool is not defined" |
---|
5732 | #endif |
---|
5733 | #ifndef false |
---|
5734 | "error: false is not defined" |
---|
5735 | #endif |
---|
5736 | #if false |
---|
5737 | "error: false is not 0" |
---|
5738 | #endif |
---|
5739 | #ifndef true |
---|
5740 | "error: true is not defined" |
---|
5741 | #endif |
---|
5742 | #if true != 1 |
---|
5743 | "error: true is not 1" |
---|
5744 | #endif |
---|
5745 | #ifndef __bool_true_false_are_defined |
---|
5746 | "error: __bool_true_false_are_defined is not defined" |
---|
5747 | #endif |
---|
5748 | |
---|
5749 | struct s { _Bool s: 1; _Bool t; } s; |
---|
5750 | |
---|
5751 | char a[true == 1 ? 1 : -1]; |
---|
5752 | char b[false == 0 ? 1 : -1]; |
---|
5753 | char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
---|
5754 | char d[(bool) 0.5 == true ? 1 : -1]; |
---|
5755 | /* See body of main program for 'e'. */ |
---|
5756 | char f[(_Bool) 0.0 == false ? 1 : -1]; |
---|
5757 | char g[true]; |
---|
5758 | char h[sizeof (_Bool)]; |
---|
5759 | char i[sizeof s.t]; |
---|
5760 | enum { j = false, k = true, l = false * true, m = true * 256 }; |
---|
5761 | /* The following fails for |
---|
5762 | HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ |
---|
5763 | _Bool n[m]; |
---|
5764 | char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
---|
5765 | char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; |
---|
5766 | /* Catch a bug in an HP-UX C compiler. See |
---|
5767 | http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
---|
5768 | http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
---|
5769 | */ |
---|
5770 | _Bool q = true; |
---|
5771 | _Bool *pq = &q; |
---|
5772 | |
---|
5773 | int |
---|
5774 | main () |
---|
5775 | { |
---|
5776 | |
---|
5777 | bool e = &s; |
---|
5778 | *pq |= q; |
---|
5779 | *pq |= ! q; |
---|
5780 | /* Refer to every declared value, to avoid compiler optimizations. */ |
---|
5781 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l |
---|
5782 | + !m + !n + !o + !p + !q + !pq); |
---|
5783 | |
---|
5784 | ; |
---|
5785 | return 0; |
---|
5786 | } |
---|
5787 | _ACEOF |
---|
5788 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
5789 | ac_cv_header_stdbool_h=yes |
---|
5790 | else |
---|
5791 | ac_cv_header_stdbool_h=no |
---|
5792 | fi |
---|
5793 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
5794 | fi |
---|
5795 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 |
---|
5796 | $as_echo "$ac_cv_header_stdbool_h" >&6; } |
---|
5797 | ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" |
---|
5798 | if test "x$ac_cv_type__Bool" = xyes; then : |
---|
5799 | |
---|
5800 | cat >>confdefs.h <<_ACEOF |
---|
5801 | #define HAVE__BOOL 1 |
---|
5802 | _ACEOF |
---|
5803 | |
---|
5804 | |
---|
5805 | fi |
---|
5806 | |
---|
5807 | if test $ac_cv_header_stdbool_h = yes; then |
---|
5808 | |
---|
5809 | $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h |
---|
5810 | |
---|
5811 | fi |
---|
5812 | |
---|
5813 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
---|
5814 | $as_echo_n "checking for inline... " >&6; } |
---|
5815 | if ${ac_cv_c_inline+:} false; then : |
---|
5816 | $as_echo_n "(cached) " >&6 |
---|
5817 | else |
---|
5818 | ac_cv_c_inline=no |
---|
5819 | for ac_kw in inline __inline__ __inline; do |
---|
5820 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5821 | /* end confdefs.h. */ |
---|
5822 | #ifndef __cplusplus |
---|
5823 | typedef int foo_t; |
---|
5824 | static $ac_kw foo_t static_foo () {return 0; } |
---|
5825 | $ac_kw foo_t foo () {return 0; } |
---|
5826 | #endif |
---|
5827 | |
---|
5828 | _ACEOF |
---|
5829 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
5830 | ac_cv_c_inline=$ac_kw |
---|
5831 | fi |
---|
5832 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
5833 | test "$ac_cv_c_inline" != no && break |
---|
5834 | done |
---|
5835 | |
---|
5836 | fi |
---|
5837 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
---|
5838 | $as_echo "$ac_cv_c_inline" >&6; } |
---|
5839 | |
---|
5840 | case $ac_cv_c_inline in |
---|
5841 | inline | yes) ;; |
---|
5842 | *) |
---|
5843 | case $ac_cv_c_inline in |
---|
5844 | no) ac_val=;; |
---|
5845 | *) ac_val=$ac_cv_c_inline;; |
---|
5846 | esac |
---|
5847 | cat >>confdefs.h <<_ACEOF |
---|
5848 | #ifndef __cplusplus |
---|
5849 | #define inline $ac_val |
---|
5850 | #endif |
---|
5851 | _ACEOF |
---|
5852 | ;; |
---|
5853 | esac |
---|
5854 | |
---|
5855 | ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t" |
---|
5856 | case $ac_cv_c_int16_t in #( |
---|
5857 | no|yes) ;; #( |
---|
5858 | *) |
---|
5859 | |
---|
5860 | cat >>confdefs.h <<_ACEOF |
---|
5861 | #define int16_t $ac_cv_c_int16_t |
---|
5862 | _ACEOF |
---|
5863 | ;; |
---|
5864 | esac |
---|
5865 | |
---|
5866 | ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" |
---|
5867 | case $ac_cv_c_int32_t in #( |
---|
5868 | no|yes) ;; #( |
---|
5869 | *) |
---|
5870 | |
---|
5871 | cat >>confdefs.h <<_ACEOF |
---|
5872 | #define int32_t $ac_cv_c_int32_t |
---|
5873 | _ACEOF |
---|
5874 | ;; |
---|
5875 | esac |
---|
5876 | |
---|
5877 | ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t" |
---|
5878 | case $ac_cv_c_int8_t in #( |
---|
5879 | no|yes) ;; #( |
---|
5880 | *) |
---|
5881 | |
---|
5882 | cat >>confdefs.h <<_ACEOF |
---|
5883 | #define int8_t $ac_cv_c_int8_t |
---|
5884 | _ACEOF |
---|
5885 | ;; |
---|
5886 | esac |
---|
5887 | |
---|
5888 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 |
---|
5889 | $as_echo_n "checking for C/C++ restrict keyword... " >&6; } |
---|
5890 | if ${ac_cv_c_restrict+:} false; then : |
---|
5891 | $as_echo_n "(cached) " >&6 |
---|
5892 | else |
---|
5893 | ac_cv_c_restrict=no |
---|
5894 | # The order here caters to the fact that C++ does not require restrict. |
---|
5895 | for ac_kw in __restrict __restrict__ _Restrict restrict; do |
---|
5896 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5897 | /* end confdefs.h. */ |
---|
5898 | typedef int * int_ptr; |
---|
5899 | int foo (int_ptr $ac_kw ip) { |
---|
5900 | return ip[0]; |
---|
5901 | } |
---|
5902 | int |
---|
5903 | main () |
---|
5904 | { |
---|
5905 | int s[1]; |
---|
5906 | int * $ac_kw t = s; |
---|
5907 | t[0] = 0; |
---|
5908 | return foo(t) |
---|
5909 | ; |
---|
5910 | return 0; |
---|
5911 | } |
---|
5912 | _ACEOF |
---|
5913 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
5914 | ac_cv_c_restrict=$ac_kw |
---|
5915 | fi |
---|
5916 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
5917 | test "$ac_cv_c_restrict" != no && break |
---|
5918 | done |
---|
5919 | |
---|
5920 | fi |
---|
5921 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 |
---|
5922 | $as_echo "$ac_cv_c_restrict" >&6; } |
---|
5923 | |
---|
5924 | case $ac_cv_c_restrict in |
---|
5925 | restrict) ;; |
---|
5926 | no) $as_echo "#define restrict /**/" >>confdefs.h |
---|
5927 | ;; |
---|
5928 | *) cat >>confdefs.h <<_ACEOF |
---|
5929 | #define restrict $ac_cv_c_restrict |
---|
5930 | _ACEOF |
---|
5931 | ;; |
---|
5932 | esac |
---|
5933 | |
---|
5934 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
---|
5935 | if test "x$ac_cv_type_size_t" = xyes; then : |
---|
5936 | |
---|
5937 | else |
---|
5938 | |
---|
5939 | cat >>confdefs.h <<_ACEOF |
---|
5940 | #define size_t unsigned int |
---|
5941 | _ACEOF |
---|
5942 | |
---|
5943 | fi |
---|
5944 | |
---|
5945 | ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" |
---|
5946 | case $ac_cv_c_uint16_t in #( |
---|
5947 | no|yes) ;; #( |
---|
5948 | *) |
---|
5949 | |
---|
5950 | |
---|
5951 | cat >>confdefs.h <<_ACEOF |
---|
5952 | #define uint16_t $ac_cv_c_uint16_t |
---|
5953 | _ACEOF |
---|
5954 | ;; |
---|
5955 | esac |
---|
5956 | |
---|
5957 | ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" |
---|
5958 | case $ac_cv_c_uint32_t in #( |
---|
5959 | no|yes) ;; #( |
---|
5960 | *) |
---|
5961 | |
---|
5962 | $as_echo "#define _UINT32_T 1" >>confdefs.h |
---|
5963 | |
---|
5964 | |
---|
5965 | cat >>confdefs.h <<_ACEOF |
---|
5966 | #define uint32_t $ac_cv_c_uint32_t |
---|
5967 | _ACEOF |
---|
5968 | ;; |
---|
5969 | esac |
---|
5970 | |
---|
5971 | ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" |
---|
5972 | case $ac_cv_c_uint8_t in #( |
---|
5973 | no|yes) ;; #( |
---|
5974 | *) |
---|
5975 | |
---|
5976 | $as_echo "#define _UINT8_T 1" >>confdefs.h |
---|
5977 | |
---|
5978 | |
---|
5979 | cat >>confdefs.h <<_ACEOF |
---|
5980 | #define uint8_t $ac_cv_c_uint8_t |
---|
5981 | _ACEOF |
---|
5982 | ;; |
---|
5983 | esac |
---|
5984 | |
---|
5985 | |
---|
5986 | # Checks for library functions. |
---|
5987 | for ac_func in memset putenv strchr strtol |
---|
5988 | do : |
---|
5989 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
5990 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
---|
5991 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
---|
5992 | cat >>confdefs.h <<_ACEOF |
---|
5993 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
---|
5994 | _ACEOF |
---|
5995 | |
---|
5996 | fi |
---|
5997 | done |
---|
5998 | |
---|
5999 | |
---|
6000 | ac_config_files="$ac_config_files Makefile src/driver/Makefile src/Makefile src/examples/Makefile src/tests/Makefile src/libcfa/Makefile" |
---|
6001 | |
---|
6002 | |
---|
6003 | cat >confcache <<\_ACEOF |
---|
6004 | # This file is a shell script that caches the results of configure |
---|
6005 | # tests run on this system so they can be shared between configure |
---|
6006 | # scripts and configure runs, see configure's option --config-cache. |
---|
6007 | # It is not useful on other systems. If it contains results you don't |
---|
6008 | # want to keep, you may remove or edit it. |
---|
6009 | # |
---|
6010 | # config.status only pays attention to the cache file if you give it |
---|
6011 | # the --recheck option to rerun configure. |
---|
6012 | # |
---|
6013 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
6014 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
6015 | # following values. |
---|
6016 | |
---|
6017 | _ACEOF |
---|
6018 | |
---|
6019 | # The following way of writing the cache mishandles newlines in values, |
---|
6020 | # but we know of no workaround that is simple, portable, and efficient. |
---|
6021 | # So, we kill variables containing newlines. |
---|
6022 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
6023 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
6024 | ( |
---|
6025 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
6026 | eval ac_val=\$$ac_var |
---|
6027 | case $ac_val in #( |
---|
6028 | *${as_nl}*) |
---|
6029 | case $ac_var in #( |
---|
6030 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
6031 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
6032 | esac |
---|
6033 | case $ac_var in #( |
---|
6034 | _ | IFS | as_nl) ;; #( |
---|
6035 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
6036 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
6037 | esac ;; |
---|
6038 | esac |
---|
6039 | done |
---|
6040 | |
---|
6041 | (set) 2>&1 | |
---|
6042 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
6043 | *${as_nl}ac_space=\ *) |
---|
6044 | # `set' does not quote correctly, so add quotes: double-quote |
---|
6045 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
---|
6046 | sed -n \ |
---|
6047 | "s/'/'\\\\''/g; |
---|
6048 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
6049 | ;; #( |
---|
6050 | *) |
---|
6051 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
6052 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
6053 | ;; |
---|
6054 | esac | |
---|
6055 | sort |
---|
6056 | ) | |
---|
6057 | sed ' |
---|
6058 | /^ac_cv_env_/b end |
---|
6059 | t clear |
---|
6060 | :clear |
---|
6061 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
6062 | t end |
---|
6063 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
6064 | :end' >>confcache |
---|
6065 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
6066 | if test -w "$cache_file"; then |
---|
6067 | if test "x$cache_file" != "x/dev/null"; then |
---|
6068 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
---|
6069 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
---|
6070 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
---|
6071 | cat confcache >"$cache_file" |
---|
6072 | else |
---|
6073 | case $cache_file in #( |
---|
6074 | */* | ?:*) |
---|
6075 | mv -f confcache "$cache_file"$$ && |
---|
6076 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
---|
6077 | *) |
---|
6078 | mv -f confcache "$cache_file" ;; |
---|
6079 | esac |
---|
6080 | fi |
---|
6081 | fi |
---|
6082 | else |
---|
6083 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
---|
6084 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
6085 | fi |
---|
6086 | fi |
---|
6087 | rm -f confcache |
---|
6088 | |
---|
6089 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
6090 | # Let make expand exec_prefix. |
---|
6091 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
6092 | |
---|
6093 | DEFS=-DHAVE_CONFIG_H |
---|
6094 | |
---|
6095 | ac_libobjs= |
---|
6096 | ac_ltlibobjs= |
---|
6097 | U= |
---|
6098 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
6099 | # 1. Remove the extension, and $U if already installed. |
---|
6100 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
6101 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
---|
6102 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
6103 | # will be set to the directory where LIBOBJS objects are built. |
---|
6104 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
6105 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
6106 | done |
---|
6107 | LIBOBJS=$ac_libobjs |
---|
6108 | |
---|
6109 | LTLIBOBJS=$ac_ltlibobjs |
---|
6110 | |
---|
6111 | |
---|
6112 | if test -n "$EXEEXT"; then |
---|
6113 | am__EXEEXT_TRUE= |
---|
6114 | am__EXEEXT_FALSE='#' |
---|
6115 | else |
---|
6116 | am__EXEEXT_TRUE='#' |
---|
6117 | am__EXEEXT_FALSE= |
---|
6118 | fi |
---|
6119 | |
---|
6120 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
---|
6121 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
---|
6122 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
6123 | fi |
---|
6124 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
---|
6125 | as_fn_error $? "conditional \"AMDEP\" was never defined. |
---|
6126 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
6127 | fi |
---|
6128 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
---|
6129 | as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
---|
6130 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
6131 | fi |
---|
6132 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
---|
6133 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
---|
6134 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
6135 | fi |
---|
6136 | if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then |
---|
6137 | as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined. |
---|
6138 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
6139 | fi |
---|
6140 | |
---|
6141 | : "${CONFIG_STATUS=./config.status}" |
---|
6142 | ac_write_fail=0 |
---|
6143 | ac_clean_files_save=$ac_clean_files |
---|
6144 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
6145 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
---|
6146 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
6147 | as_write_fail=0 |
---|
6148 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
---|
6149 | #! $SHELL |
---|
6150 | # Generated by $as_me. |
---|
6151 | # Run this file to recreate the current configuration. |
---|
6152 | # Compiler output produced by configure, useful for debugging |
---|
6153 | # configure, is in config.log if it exists. |
---|
6154 | |
---|
6155 | debug=false |
---|
6156 | ac_cs_recheck=false |
---|
6157 | ac_cs_silent=false |
---|
6158 | |
---|
6159 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
6160 | export SHELL |
---|
6161 | _ASEOF |
---|
6162 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
---|
6163 | ## -------------------- ## |
---|
6164 | ## M4sh Initialization. ## |
---|
6165 | ## -------------------- ## |
---|
6166 | |
---|
6167 | # Be more Bourne compatible |
---|
6168 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
6169 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
6170 | emulate sh |
---|
6171 | NULLCMD=: |
---|
6172 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
6173 | # is contrary to our usage. Disable this feature. |
---|
6174 | alias -g '${1+"$@"}'='"$@"' |
---|
6175 | setopt NO_GLOB_SUBST |
---|
6176 | else |
---|
6177 | case `(set -o) 2>/dev/null` in #( |
---|
6178 | *posix*) : |
---|
6179 | set -o posix ;; #( |
---|
6180 | *) : |
---|
6181 | ;; |
---|
6182 | esac |
---|
6183 | fi |
---|
6184 | |
---|
6185 | |
---|
6186 | as_nl=' |
---|
6187 | ' |
---|
6188 | export as_nl |
---|
6189 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
6190 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
6191 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
6192 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
6193 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
6194 | # but without wasting forks for bash or zsh. |
---|
6195 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
6196 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
6197 | as_echo='print -r --' |
---|
6198 | as_echo_n='print -rn --' |
---|
6199 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
6200 | as_echo='printf %s\n' |
---|
6201 | as_echo_n='printf %s' |
---|
6202 | else |
---|
6203 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
6204 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
6205 | as_echo_n='/usr/ucb/echo -n' |
---|
6206 | else |
---|
6207 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
6208 | as_echo_n_body='eval |
---|
6209 | arg=$1; |
---|
6210 | case $arg in #( |
---|
6211 | *"$as_nl"*) |
---|
6212 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
6213 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
6214 | esac; |
---|
6215 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
6216 | ' |
---|
6217 | export as_echo_n_body |
---|
6218 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
6219 | fi |
---|
6220 | export as_echo_body |
---|
6221 | as_echo='sh -c $as_echo_body as_echo' |
---|
6222 | fi |
---|
6223 | |
---|
6224 | # The user is always right. |
---|
6225 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
6226 | PATH_SEPARATOR=: |
---|
6227 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
6228 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
6229 | PATH_SEPARATOR=';' |
---|
6230 | } |
---|
6231 | fi |
---|
6232 | |
---|
6233 | |
---|
6234 | # IFS |
---|
6235 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
6236 | # there to prevent editors from complaining about space-tab. |
---|
6237 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
6238 | # splitting by setting IFS to empty value.) |
---|
6239 | IFS=" "" $as_nl" |
---|
6240 | |
---|
6241 | # Find who we are. Look in the path if we contain no directory separator. |
---|
6242 | as_myself= |
---|
6243 | case $0 in #(( |
---|
6244 | *[\\/]* ) as_myself=$0 ;; |
---|
6245 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
6246 | for as_dir in $PATH |
---|
6247 | do |
---|
6248 | IFS=$as_save_IFS |
---|
6249 | test -z "$as_dir" && as_dir=. |
---|
6250 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
6251 | done |
---|
6252 | IFS=$as_save_IFS |
---|
6253 | |
---|
6254 | ;; |
---|
6255 | esac |
---|
6256 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
6257 | # in which case we are not to be found in the path. |
---|
6258 | if test "x$as_myself" = x; then |
---|
6259 | as_myself=$0 |
---|
6260 | fi |
---|
6261 | if test ! -f "$as_myself"; then |
---|
6262 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
6263 | exit 1 |
---|
6264 | fi |
---|
6265 | |
---|
6266 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
6267 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
6268 | # suppresses any "Segmentation fault" message there. '((' could |
---|
6269 | # trigger a bug in pdksh 5.2.14. |
---|
6270 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
6271 | do eval test x\${$as_var+set} = xset \ |
---|
6272 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
6273 | done |
---|
6274 | PS1='$ ' |
---|
6275 | PS2='> ' |
---|
6276 | PS4='+ ' |
---|
6277 | |
---|
6278 | # NLS nuisances. |
---|
6279 | LC_ALL=C |
---|
6280 | export LC_ALL |
---|
6281 | LANGUAGE=C |
---|
6282 | export LANGUAGE |
---|
6283 | |
---|
6284 | # CDPATH. |
---|
6285 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
6286 | |
---|
6287 | |
---|
6288 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
6289 | # ---------------------------------------- |
---|
6290 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
6291 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
6292 | # script with STATUS, using 1 if that was 0. |
---|
6293 | as_fn_error () |
---|
6294 | { |
---|
6295 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
6296 | if test "$4"; then |
---|
6297 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
6298 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
6299 | fi |
---|
6300 | $as_echo "$as_me: error: $2" >&2 |
---|
6301 | as_fn_exit $as_status |
---|
6302 | } # as_fn_error |
---|
6303 | |
---|
6304 | |
---|
6305 | # as_fn_set_status STATUS |
---|
6306 | # ----------------------- |
---|
6307 | # Set $? to STATUS, without forking. |
---|
6308 | as_fn_set_status () |
---|
6309 | { |
---|
6310 | return $1 |
---|
6311 | } # as_fn_set_status |
---|
6312 | |
---|
6313 | # as_fn_exit STATUS |
---|
6314 | # ----------------- |
---|
6315 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
6316 | as_fn_exit () |
---|
6317 | { |
---|
6318 | set +e |
---|
6319 | as_fn_set_status $1 |
---|
6320 | exit $1 |
---|
6321 | } # as_fn_exit |
---|
6322 | |
---|
6323 | # as_fn_unset VAR |
---|
6324 | # --------------- |
---|
6325 | # Portably unset VAR. |
---|
6326 | as_fn_unset () |
---|
6327 | { |
---|
6328 | { eval $1=; unset $1;} |
---|
6329 | } |
---|
6330 | as_unset=as_fn_unset |
---|
6331 | # as_fn_append VAR VALUE |
---|
6332 | # ---------------------- |
---|
6333 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
6334 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
6335 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
6336 | # implementations. |
---|
6337 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
6338 | eval 'as_fn_append () |
---|
6339 | { |
---|
6340 | eval $1+=\$2 |
---|
6341 | }' |
---|
6342 | else |
---|
6343 | as_fn_append () |
---|
6344 | { |
---|
6345 | eval $1=\$$1\$2 |
---|
6346 | } |
---|
6347 | fi # as_fn_append |
---|
6348 | |
---|
6349 | # as_fn_arith ARG... |
---|
6350 | # ------------------ |
---|
6351 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
6352 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
6353 | # must be portable across $(()) and expr. |
---|
6354 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
6355 | eval 'as_fn_arith () |
---|
6356 | { |
---|
6357 | as_val=$(( $* )) |
---|
6358 | }' |
---|
6359 | else |
---|
6360 | as_fn_arith () |
---|
6361 | { |
---|
6362 | as_val=`expr "$@" || test $? -eq 1` |
---|
6363 | } |
---|
6364 | fi # as_fn_arith |
---|
6365 | |
---|
6366 | |
---|
6367 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
6368 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
6369 | as_expr=expr |
---|
6370 | else |
---|
6371 | as_expr=false |
---|
6372 | fi |
---|
6373 | |
---|
6374 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
6375 | as_basename=basename |
---|
6376 | else |
---|
6377 | as_basename=false |
---|
6378 | fi |
---|
6379 | |
---|
6380 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
6381 | as_dirname=dirname |
---|
6382 | else |
---|
6383 | as_dirname=false |
---|
6384 | fi |
---|
6385 | |
---|
6386 | as_me=`$as_basename -- "$0" || |
---|
6387 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
6388 | X"$0" : 'X\(//\)$' \| \ |
---|
6389 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
6390 | $as_echo X/"$0" | |
---|
6391 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
6392 | s//\1/ |
---|
6393 | q |
---|
6394 | } |
---|
6395 | /^X\/\(\/\/\)$/{ |
---|
6396 | s//\1/ |
---|
6397 | q |
---|
6398 | } |
---|
6399 | /^X\/\(\/\).*/{ |
---|
6400 | s//\1/ |
---|
6401 | q |
---|
6402 | } |
---|
6403 | s/.*/./; q'` |
---|
6404 | |
---|
6405 | # Avoid depending upon Character Ranges. |
---|
6406 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
6407 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
6408 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
6409 | as_cr_digits='0123456789' |
---|
6410 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
6411 | |
---|
6412 | ECHO_C= ECHO_N= ECHO_T= |
---|
6413 | case `echo -n x` in #((((( |
---|
6414 | -n*) |
---|
6415 | case `echo 'xy\c'` in |
---|
6416 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
6417 | xy) ECHO_C='\c';; |
---|
6418 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
6419 | ECHO_T=' ';; |
---|
6420 | esac;; |
---|
6421 | *) |
---|
6422 | ECHO_N='-n';; |
---|
6423 | esac |
---|
6424 | |
---|
6425 | rm -f conf$$ conf$$.exe conf$$.file |
---|
6426 | if test -d conf$$.dir; then |
---|
6427 | rm -f conf$$.dir/conf$$.file |
---|
6428 | else |
---|
6429 | rm -f conf$$.dir |
---|
6430 | mkdir conf$$.dir 2>/dev/null |
---|
6431 | fi |
---|
6432 | if (echo >conf$$.file) 2>/dev/null; then |
---|
6433 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
6434 | as_ln_s='ln -s' |
---|
6435 | # ... but there are two gotchas: |
---|
6436 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
6437 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
6438 | # In both cases, we have to default to `cp -p'. |
---|
6439 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
6440 | as_ln_s='cp -p' |
---|
6441 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
6442 | as_ln_s=ln |
---|
6443 | else |
---|
6444 | as_ln_s='cp -p' |
---|
6445 | fi |
---|
6446 | else |
---|
6447 | as_ln_s='cp -p' |
---|
6448 | fi |
---|
6449 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
6450 | rmdir conf$$.dir 2>/dev/null |
---|
6451 | |
---|
6452 | |
---|
6453 | # as_fn_mkdir_p |
---|
6454 | # ------------- |
---|
6455 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
6456 | as_fn_mkdir_p () |
---|
6457 | { |
---|
6458 | |
---|
6459 | case $as_dir in #( |
---|
6460 | -*) as_dir=./$as_dir;; |
---|
6461 | esac |
---|
6462 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
6463 | as_dirs= |
---|
6464 | while :; do |
---|
6465 | case $as_dir in #( |
---|
6466 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
6467 | *) as_qdir=$as_dir;; |
---|
6468 | esac |
---|
6469 | as_dirs="'$as_qdir' $as_dirs" |
---|
6470 | as_dir=`$as_dirname -- "$as_dir" || |
---|
6471 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6472 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
6473 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
6474 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
6475 | $as_echo X"$as_dir" | |
---|
6476 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
6477 | s//\1/ |
---|
6478 | q |
---|
6479 | } |
---|
6480 | /^X\(\/\/\)[^/].*/{ |
---|
6481 | s//\1/ |
---|
6482 | q |
---|
6483 | } |
---|
6484 | /^X\(\/\/\)$/{ |
---|
6485 | s//\1/ |
---|
6486 | q |
---|
6487 | } |
---|
6488 | /^X\(\/\).*/{ |
---|
6489 | s//\1/ |
---|
6490 | q |
---|
6491 | } |
---|
6492 | s/.*/./; q'` |
---|
6493 | test -d "$as_dir" && break |
---|
6494 | done |
---|
6495 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
6496 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
6497 | |
---|
6498 | |
---|
6499 | } # as_fn_mkdir_p |
---|
6500 | if mkdir -p . 2>/dev/null; then |
---|
6501 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
6502 | else |
---|
6503 | test -d ./-p && rmdir ./-p |
---|
6504 | as_mkdir_p=false |
---|
6505 | fi |
---|
6506 | |
---|
6507 | if test -x / >/dev/null 2>&1; then |
---|
6508 | as_test_x='test -x' |
---|
6509 | else |
---|
6510 | if ls -dL / >/dev/null 2>&1; then |
---|
6511 | as_ls_L_option=L |
---|
6512 | else |
---|
6513 | as_ls_L_option= |
---|
6514 | fi |
---|
6515 | as_test_x=' |
---|
6516 | eval sh -c '\'' |
---|
6517 | if test -d "$1"; then |
---|
6518 | test -d "$1/."; |
---|
6519 | else |
---|
6520 | case $1 in #( |
---|
6521 | -*)set "./$1";; |
---|
6522 | esac; |
---|
6523 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
---|
6524 | ???[sx]*):;;*)false;;esac;fi |
---|
6525 | '\'' sh |
---|
6526 | ' |
---|
6527 | fi |
---|
6528 | as_executable_p=$as_test_x |
---|
6529 | |
---|
6530 | # Sed expression to map a string onto a valid CPP name. |
---|
6531 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
6532 | |
---|
6533 | # Sed expression to map a string onto a valid variable name. |
---|
6534 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
6535 | |
---|
6536 | |
---|
6537 | exec 6>&1 |
---|
6538 | ## ----------------------------------- ## |
---|
6539 | ## Main body of $CONFIG_STATUS script. ## |
---|
6540 | ## ----------------------------------- ## |
---|
6541 | _ASEOF |
---|
6542 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
---|
6543 | |
---|
6544 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6545 | # Save the log message, to keep $0 and so on meaningful, and to |
---|
6546 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
6547 | # values after options handling. |
---|
6548 | ac_log=" |
---|
6549 | This file was extended by cfa-cc $as_me 1.0.0.0, which was |
---|
6550 | generated by GNU Autoconf 2.68. Invocation command line was |
---|
6551 | |
---|
6552 | CONFIG_FILES = $CONFIG_FILES |
---|
6553 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
6554 | CONFIG_LINKS = $CONFIG_LINKS |
---|
6555 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
6556 | $ $0 $@ |
---|
6557 | |
---|
6558 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
6559 | " |
---|
6560 | |
---|
6561 | _ACEOF |
---|
6562 | |
---|
6563 | case $ac_config_files in *" |
---|
6564 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
---|
6565 | esac |
---|
6566 | |
---|
6567 | case $ac_config_headers in *" |
---|
6568 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
---|
6569 | esac |
---|
6570 | |
---|
6571 | |
---|
6572 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6573 | # Files that config.status was made for. |
---|
6574 | config_files="$ac_config_files" |
---|
6575 | config_headers="$ac_config_headers" |
---|
6576 | config_commands="$ac_config_commands" |
---|
6577 | |
---|
6578 | _ACEOF |
---|
6579 | |
---|
6580 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6581 | ac_cs_usage="\ |
---|
6582 | \`$as_me' instantiates files and other configuration actions |
---|
6583 | from templates according to the current configuration. Unless the files |
---|
6584 | and actions are specified as TAGs, all are instantiated by default. |
---|
6585 | |
---|
6586 | Usage: $0 [OPTION]... [TAG]... |
---|
6587 | |
---|
6588 | -h, --help print this help, then exit |
---|
6589 | -V, --version print version number and configuration settings, then exit |
---|
6590 | --config print configuration, then exit |
---|
6591 | -q, --quiet, --silent |
---|
6592 | do not print progress messages |
---|
6593 | -d, --debug don't remove temporary files |
---|
6594 | --recheck update $as_me by reconfiguring in the same conditions |
---|
6595 | --file=FILE[:TEMPLATE] |
---|
6596 | instantiate the configuration file FILE |
---|
6597 | --header=FILE[:TEMPLATE] |
---|
6598 | instantiate the configuration header FILE |
---|
6599 | |
---|
6600 | Configuration files: |
---|
6601 | $config_files |
---|
6602 | |
---|
6603 | Configuration headers: |
---|
6604 | $config_headers |
---|
6605 | |
---|
6606 | Configuration commands: |
---|
6607 | $config_commands |
---|
6608 | |
---|
6609 | Report bugs to <cforall@plg.uwaterloo.ca>." |
---|
6610 | |
---|
6611 | _ACEOF |
---|
6612 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6613 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
---|
6614 | ac_cs_version="\\ |
---|
6615 | cfa-cc config.status 1.0.0.0 |
---|
6616 | configured by $0, generated by GNU Autoconf 2.68, |
---|
6617 | with options \\"\$ac_cs_config\\" |
---|
6618 | |
---|
6619 | Copyright (C) 2010 Free Software Foundation, Inc. |
---|
6620 | This config.status script is free software; the Free Software Foundation |
---|
6621 | gives unlimited permission to copy, distribute and modify it." |
---|
6622 | |
---|
6623 | ac_pwd='$ac_pwd' |
---|
6624 | srcdir='$srcdir' |
---|
6625 | INSTALL='$INSTALL' |
---|
6626 | MKDIR_P='$MKDIR_P' |
---|
6627 | AWK='$AWK' |
---|
6628 | test -n "\$AWK" || AWK=awk |
---|
6629 | _ACEOF |
---|
6630 | |
---|
6631 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6632 | # The default lists apply if the user does not specify any file. |
---|
6633 | ac_need_defaults=: |
---|
6634 | while test $# != 0 |
---|
6635 | do |
---|
6636 | case $1 in |
---|
6637 | --*=?*) |
---|
6638 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
6639 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
6640 | ac_shift=: |
---|
6641 | ;; |
---|
6642 | --*=) |
---|
6643 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
6644 | ac_optarg= |
---|
6645 | ac_shift=: |
---|
6646 | ;; |
---|
6647 | *) |
---|
6648 | ac_option=$1 |
---|
6649 | ac_optarg=$2 |
---|
6650 | ac_shift=shift |
---|
6651 | ;; |
---|
6652 | esac |
---|
6653 | |
---|
6654 | case $ac_option in |
---|
6655 | # Handling of the options. |
---|
6656 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
6657 | ac_cs_recheck=: ;; |
---|
6658 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
6659 | $as_echo "$ac_cs_version"; exit ;; |
---|
6660 | --config | --confi | --conf | --con | --co | --c ) |
---|
6661 | $as_echo "$ac_cs_config"; exit ;; |
---|
6662 | --debug | --debu | --deb | --de | --d | -d ) |
---|
6663 | debug=: ;; |
---|
6664 | --file | --fil | --fi | --f ) |
---|
6665 | $ac_shift |
---|
6666 | case $ac_optarg in |
---|
6667 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
6668 | '') as_fn_error $? "missing file argument" ;; |
---|
6669 | esac |
---|
6670 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
---|
6671 | ac_need_defaults=false;; |
---|
6672 | --header | --heade | --head | --hea ) |
---|
6673 | $ac_shift |
---|
6674 | case $ac_optarg in |
---|
6675 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
6676 | esac |
---|
6677 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
---|
6678 | ac_need_defaults=false;; |
---|
6679 | --he | --h) |
---|
6680 | # Conflict between --help and --header |
---|
6681 | as_fn_error $? "ambiguous option: \`$1' |
---|
6682 | Try \`$0 --help' for more information.";; |
---|
6683 | --help | --hel | -h ) |
---|
6684 | $as_echo "$ac_cs_usage"; exit ;; |
---|
6685 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
6686 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
6687 | ac_cs_silent=: ;; |
---|
6688 | |
---|
6689 | # This is an error. |
---|
6690 | -*) as_fn_error $? "unrecognized option: \`$1' |
---|
6691 | Try \`$0 --help' for more information." ;; |
---|
6692 | |
---|
6693 | *) as_fn_append ac_config_targets " $1" |
---|
6694 | ac_need_defaults=false ;; |
---|
6695 | |
---|
6696 | esac |
---|
6697 | shift |
---|
6698 | done |
---|
6699 | |
---|
6700 | ac_configure_extra_args= |
---|
6701 | |
---|
6702 | if $ac_cs_silent; then |
---|
6703 | exec 6>/dev/null |
---|
6704 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
6705 | fi |
---|
6706 | |
---|
6707 | _ACEOF |
---|
6708 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6709 | if \$ac_cs_recheck; then |
---|
6710 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
6711 | shift |
---|
6712 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
---|
6713 | CONFIG_SHELL='$SHELL' |
---|
6714 | export CONFIG_SHELL |
---|
6715 | exec "\$@" |
---|
6716 | fi |
---|
6717 | |
---|
6718 | _ACEOF |
---|
6719 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6720 | exec 5>>config.log |
---|
6721 | { |
---|
6722 | echo |
---|
6723 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
6724 | ## Running $as_me. ## |
---|
6725 | _ASBOX |
---|
6726 | $as_echo "$ac_log" |
---|
6727 | } >&5 |
---|
6728 | |
---|
6729 | _ACEOF |
---|
6730 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6731 | # |
---|
6732 | # INIT-COMMANDS |
---|
6733 | # |
---|
6734 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
---|
6735 | |
---|
6736 | _ACEOF |
---|
6737 | |
---|
6738 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6739 | |
---|
6740 | # Handling of arguments. |
---|
6741 | for ac_config_target in $ac_config_targets |
---|
6742 | do |
---|
6743 | case $ac_config_target in |
---|
6744 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
---|
6745 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
---|
6746 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
6747 | "src/driver/Makefile") CONFIG_FILES="$CONFIG_FILES src/driver/Makefile" ;; |
---|
6748 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
---|
6749 | "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;; |
---|
6750 | "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;; |
---|
6751 | "src/libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcfa/Makefile" ;; |
---|
6752 | |
---|
6753 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
---|
6754 | esac |
---|
6755 | done |
---|
6756 | |
---|
6757 | |
---|
6758 | # If the user did not use the arguments to specify the items to instantiate, |
---|
6759 | # then the envvar interface is used. Set only those that are not. |
---|
6760 | # We use the long form for the default assignment because of an extremely |
---|
6761 | # bizarre bug on SunOS 4.1.3. |
---|
6762 | if $ac_need_defaults; then |
---|
6763 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
6764 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
6765 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
---|
6766 | fi |
---|
6767 | |
---|
6768 | # Have a temporary directory for convenience. Make it in the build tree |
---|
6769 | # simply because there is no reason against having it here, and in addition, |
---|
6770 | # creating and moving files from /tmp can sometimes cause problems. |
---|
6771 | # Hook for its removal unless debugging. |
---|
6772 | # Note that there is a small window in which the directory will not be cleaned: |
---|
6773 | # after its creation but before its name has been assigned to `$tmp'. |
---|
6774 | $debug || |
---|
6775 | { |
---|
6776 | tmp= ac_tmp= |
---|
6777 | trap 'exit_status=$? |
---|
6778 | : "${ac_tmp:=$tmp}" |
---|
6779 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
---|
6780 | ' 0 |
---|
6781 | trap 'as_fn_exit 1' 1 2 13 15 |
---|
6782 | } |
---|
6783 | # Create a (secure) tmp directory for tmp files. |
---|
6784 | |
---|
6785 | { |
---|
6786 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
6787 | test -d "$tmp" |
---|
6788 | } || |
---|
6789 | { |
---|
6790 | tmp=./conf$$-$RANDOM |
---|
6791 | (umask 077 && mkdir "$tmp") |
---|
6792 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
---|
6793 | ac_tmp=$tmp |
---|
6794 | |
---|
6795 | # Set up the scripts for CONFIG_FILES section. |
---|
6796 | # No need to generate them if there are no CONFIG_FILES. |
---|
6797 | # This happens for instance with `./config.status config.h'. |
---|
6798 | if test -n "$CONFIG_FILES"; then |
---|
6799 | |
---|
6800 | |
---|
6801 | ac_cr=`echo X | tr X '\015'` |
---|
6802 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
---|
6803 | # But we know of no other shell where ac_cr would be empty at this |
---|
6804 | # point, so we can use a bashism as a fallback. |
---|
6805 | if test "x$ac_cr" = x; then |
---|
6806 | eval ac_cr=\$\'\\r\' |
---|
6807 | fi |
---|
6808 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
---|
6809 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
---|
6810 | ac_cs_awk_cr='\\r' |
---|
6811 | else |
---|
6812 | ac_cs_awk_cr=$ac_cr |
---|
6813 | fi |
---|
6814 | |
---|
6815 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
---|
6816 | _ACEOF |
---|
6817 | |
---|
6818 | |
---|
6819 | { |
---|
6820 | echo "cat >conf$$subs.awk <<_ACEOF" && |
---|
6821 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
---|
6822 | echo "_ACEOF" |
---|
6823 | } >conf$$subs.sh || |
---|
6824 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
6825 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
---|
6826 | ac_delim='%!_!# ' |
---|
6827 | for ac_last_try in false false false false false :; do |
---|
6828 | . ./conf$$subs.sh || |
---|
6829 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
6830 | |
---|
6831 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
---|
6832 | if test $ac_delim_n = $ac_delim_num; then |
---|
6833 | break |
---|
6834 | elif $ac_last_try; then |
---|
6835 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
6836 | else |
---|
6837 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
6838 | fi |
---|
6839 | done |
---|
6840 | rm -f conf$$subs.sh |
---|
6841 | |
---|
6842 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6843 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
---|
6844 | _ACEOF |
---|
6845 | sed -n ' |
---|
6846 | h |
---|
6847 | s/^/S["/; s/!.*/"]=/ |
---|
6848 | p |
---|
6849 | g |
---|
6850 | s/^[^!]*!// |
---|
6851 | :repl |
---|
6852 | t repl |
---|
6853 | s/'"$ac_delim"'$// |
---|
6854 | t delim |
---|
6855 | :nl |
---|
6856 | h |
---|
6857 | s/\(.\{148\}\)..*/\1/ |
---|
6858 | t more1 |
---|
6859 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
---|
6860 | p |
---|
6861 | n |
---|
6862 | b repl |
---|
6863 | :more1 |
---|
6864 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
6865 | p |
---|
6866 | g |
---|
6867 | s/.\{148\}// |
---|
6868 | t nl |
---|
6869 | :delim |
---|
6870 | h |
---|
6871 | s/\(.\{148\}\)..*/\1/ |
---|
6872 | t more2 |
---|
6873 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
---|
6874 | p |
---|
6875 | b |
---|
6876 | :more2 |
---|
6877 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
6878 | p |
---|
6879 | g |
---|
6880 | s/.\{148\}// |
---|
6881 | t delim |
---|
6882 | ' <conf$$subs.awk | sed ' |
---|
6883 | /^[^""]/{ |
---|
6884 | N |
---|
6885 | s/\n// |
---|
6886 | } |
---|
6887 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
6888 | rm -f conf$$subs.awk |
---|
6889 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6890 | _ACAWK |
---|
6891 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
---|
6892 | for (key in S) S_is_set[key] = 1 |
---|
6893 | FS = "" |
---|
6894 | |
---|
6895 | } |
---|
6896 | { |
---|
6897 | line = $ 0 |
---|
6898 | nfields = split(line, field, "@") |
---|
6899 | substed = 0 |
---|
6900 | len = length(field[1]) |
---|
6901 | for (i = 2; i < nfields; i++) { |
---|
6902 | key = field[i] |
---|
6903 | keylen = length(key) |
---|
6904 | if (S_is_set[key]) { |
---|
6905 | value = S[key] |
---|
6906 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
---|
6907 | len += length(value) + length(field[++i]) |
---|
6908 | substed = 1 |
---|
6909 | } else |
---|
6910 | len += 1 + keylen |
---|
6911 | } |
---|
6912 | |
---|
6913 | print line |
---|
6914 | } |
---|
6915 | |
---|
6916 | _ACAWK |
---|
6917 | _ACEOF |
---|
6918 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6919 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
---|
6920 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
---|
6921 | else |
---|
6922 | cat |
---|
6923 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
---|
6924 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
---|
6925 | _ACEOF |
---|
6926 | |
---|
6927 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
---|
6928 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
---|
6929 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
6930 | # (actually we leave an empty line to preserve line numbers). |
---|
6931 | if test "x$srcdir" = x.; then |
---|
6932 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
---|
6933 | h |
---|
6934 | s/// |
---|
6935 | s/^/:/ |
---|
6936 | s/[ ]*$/:/ |
---|
6937 | s/:\$(srcdir):/:/g |
---|
6938 | s/:\${srcdir}:/:/g |
---|
6939 | s/:@srcdir@:/:/g |
---|
6940 | s/^:*// |
---|
6941 | s/:*$// |
---|
6942 | x |
---|
6943 | s/\(=[ ]*\).*/\1/ |
---|
6944 | G |
---|
6945 | s/\n// |
---|
6946 | s/^[^=]*=[ ]*$// |
---|
6947 | }' |
---|
6948 | fi |
---|
6949 | |
---|
6950 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6951 | fi # test -n "$CONFIG_FILES" |
---|
6952 | |
---|
6953 | # Set up the scripts for CONFIG_HEADERS section. |
---|
6954 | # No need to generate them if there are no CONFIG_HEADERS. |
---|
6955 | # This happens for instance with `./config.status Makefile'. |
---|
6956 | if test -n "$CONFIG_HEADERS"; then |
---|
6957 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
---|
6958 | BEGIN { |
---|
6959 | _ACEOF |
---|
6960 | |
---|
6961 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
---|
6962 | # here-document in config.status, that substitutes the proper values into |
---|
6963 | # config.h.in to produce config.h. |
---|
6964 | |
---|
6965 | # Create a delimiter string that does not exist in confdefs.h, to ease |
---|
6966 | # handling of long lines. |
---|
6967 | ac_delim='%!_!# ' |
---|
6968 | for ac_last_try in false false :; do |
---|
6969 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
---|
6970 | if test -z "$ac_tt"; then |
---|
6971 | break |
---|
6972 | elif $ac_last_try; then |
---|
6973 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
---|
6974 | else |
---|
6975 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
6976 | fi |
---|
6977 | done |
---|
6978 | |
---|
6979 | # For the awk script, D is an array of macro values keyed by name, |
---|
6980 | # likewise P contains macro parameters if any. Preserve backslash |
---|
6981 | # newline sequences. |
---|
6982 | |
---|
6983 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
---|
6984 | sed -n ' |
---|
6985 | s/.\{148\}/&'"$ac_delim"'/g |
---|
6986 | t rset |
---|
6987 | :rset |
---|
6988 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
---|
6989 | t def |
---|
6990 | d |
---|
6991 | :def |
---|
6992 | s/\\$// |
---|
6993 | t bsnl |
---|
6994 | s/["\\]/\\&/g |
---|
6995 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
6996 | D["\1"]=" \3"/p |
---|
6997 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
---|
6998 | d |
---|
6999 | :bsnl |
---|
7000 | s/["\\]/\\&/g |
---|
7001 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
7002 | D["\1"]=" \3\\\\\\n"\\/p |
---|
7003 | t cont |
---|
7004 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
---|
7005 | t cont |
---|
7006 | d |
---|
7007 | :cont |
---|
7008 | n |
---|
7009 | s/.\{148\}/&'"$ac_delim"'/g |
---|
7010 | t clear |
---|
7011 | :clear |
---|
7012 | s/\\$// |
---|
7013 | t bsnlc |
---|
7014 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
---|
7015 | d |
---|
7016 | :bsnlc |
---|
7017 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
---|
7018 | b cont |
---|
7019 | ' <confdefs.h | sed ' |
---|
7020 | s/'"$ac_delim"'/"\\\ |
---|
7021 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
7022 | |
---|
7023 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
7024 | for (key in D) D_is_set[key] = 1 |
---|
7025 | FS = "" |
---|
7026 | } |
---|
7027 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
---|
7028 | line = \$ 0 |
---|
7029 | split(line, arg, " ") |
---|
7030 | if (arg[1] == "#") { |
---|
7031 | defundef = arg[2] |
---|
7032 | mac1 = arg[3] |
---|
7033 | } else { |
---|
7034 | defundef = substr(arg[1], 2) |
---|
7035 | mac1 = arg[2] |
---|
7036 | } |
---|
7037 | split(mac1, mac2, "(") #) |
---|
7038 | macro = mac2[1] |
---|
7039 | prefix = substr(line, 1, index(line, defundef) - 1) |
---|
7040 | if (D_is_set[macro]) { |
---|
7041 | # Preserve the white space surrounding the "#". |
---|
7042 | print prefix "define", macro P[macro] D[macro] |
---|
7043 | next |
---|
7044 | } else { |
---|
7045 | # Replace #undef with comments. This is necessary, for example, |
---|
7046 | # in the case of _POSIX_SOURCE, which is predefined and required |
---|
7047 | # on some systems where configure will not decide to define it. |
---|
7048 | if (defundef == "undef") { |
---|
7049 | print "/*", prefix defundef, macro, "*/" |
---|
7050 | next |
---|
7051 | } |
---|
7052 | } |
---|
7053 | } |
---|
7054 | { print } |
---|
7055 | _ACAWK |
---|
7056 | _ACEOF |
---|
7057 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
7058 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
---|
7059 | fi # test -n "$CONFIG_HEADERS" |
---|
7060 | |
---|
7061 | |
---|
7062 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
---|
7063 | shift |
---|
7064 | for ac_tag |
---|
7065 | do |
---|
7066 | case $ac_tag in |
---|
7067 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
7068 | esac |
---|
7069 | case $ac_mode$ac_tag in |
---|
7070 | :[FHL]*:*);; |
---|
7071 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
---|
7072 | :[FH]-) ac_tag=-:-;; |
---|
7073 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
7074 | esac |
---|
7075 | ac_save_IFS=$IFS |
---|
7076 | IFS=: |
---|
7077 | set x $ac_tag |
---|
7078 | IFS=$ac_save_IFS |
---|
7079 | shift |
---|
7080 | ac_file=$1 |
---|
7081 | shift |
---|
7082 | |
---|
7083 | case $ac_mode in |
---|
7084 | :L) ac_source=$1;; |
---|
7085 | :[FH]) |
---|
7086 | ac_file_inputs= |
---|
7087 | for ac_f |
---|
7088 | do |
---|
7089 | case $ac_f in |
---|
7090 | -) ac_f="$ac_tmp/stdin";; |
---|
7091 | *) # Look for the file first in the build tree, then in the source tree |
---|
7092 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
7093 | # because $ac_f cannot contain `:'. |
---|
7094 | test -f "$ac_f" || |
---|
7095 | case $ac_f in |
---|
7096 | [\\/$]*) false;; |
---|
7097 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
7098 | esac || |
---|
7099 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
---|
7100 | esac |
---|
7101 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
---|
7102 | as_fn_append ac_file_inputs " '$ac_f'" |
---|
7103 | done |
---|
7104 | |
---|
7105 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
7106 | # use $as_me), people would be surprised to read: |
---|
7107 | # /* config.h. Generated by config.status. */ |
---|
7108 | configure_input='Generated from '` |
---|
7109 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
---|
7110 | `' by configure.' |
---|
7111 | if test x"$ac_file" != x-; then |
---|
7112 | configure_input="$ac_file. $configure_input" |
---|
7113 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
---|
7114 | $as_echo "$as_me: creating $ac_file" >&6;} |
---|
7115 | fi |
---|
7116 | # Neutralize special characters interpreted by sed in replacement strings. |
---|
7117 | case $configure_input in #( |
---|
7118 | *\&* | *\|* | *\\* ) |
---|
7119 | ac_sed_conf_input=`$as_echo "$configure_input" | |
---|
7120 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
---|
7121 | *) ac_sed_conf_input=$configure_input;; |
---|
7122 | esac |
---|
7123 | |
---|
7124 | case $ac_tag in |
---|
7125 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
---|
7126 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
---|
7127 | esac |
---|
7128 | ;; |
---|
7129 | esac |
---|
7130 | |
---|
7131 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
7132 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
7133 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
7134 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
7135 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
7136 | $as_echo X"$ac_file" | |
---|
7137 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
7138 | s//\1/ |
---|
7139 | q |
---|
7140 | } |
---|
7141 | /^X\(\/\/\)[^/].*/{ |
---|
7142 | s//\1/ |
---|
7143 | q |
---|
7144 | } |
---|
7145 | /^X\(\/\/\)$/{ |
---|
7146 | s//\1/ |
---|
7147 | q |
---|
7148 | } |
---|
7149 | /^X\(\/\).*/{ |
---|
7150 | s//\1/ |
---|
7151 | q |
---|
7152 | } |
---|
7153 | s/.*/./; q'` |
---|
7154 | as_dir="$ac_dir"; as_fn_mkdir_p |
---|
7155 | ac_builddir=. |
---|
7156 | |
---|
7157 | case "$ac_dir" in |
---|
7158 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
7159 | *) |
---|
7160 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
7161 | # A ".." for each directory in $ac_dir_suffix. |
---|
7162 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
7163 | case $ac_top_builddir_sub in |
---|
7164 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
7165 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
7166 | esac ;; |
---|
7167 | esac |
---|
7168 | ac_abs_top_builddir=$ac_pwd |
---|
7169 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
7170 | # for backward compatibility: |
---|
7171 | ac_top_builddir=$ac_top_build_prefix |
---|
7172 | |
---|
7173 | case $srcdir in |
---|
7174 | .) # We are building in place. |
---|
7175 | ac_srcdir=. |
---|
7176 | ac_top_srcdir=$ac_top_builddir_sub |
---|
7177 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
7178 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
7179 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
7180 | ac_top_srcdir=$srcdir |
---|
7181 | ac_abs_top_srcdir=$srcdir ;; |
---|
7182 | *) # Relative name. |
---|
7183 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
7184 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
7185 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
7186 | esac |
---|
7187 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
7188 | |
---|
7189 | |
---|
7190 | case $ac_mode in |
---|
7191 | :F) |
---|
7192 | # |
---|
7193 | # CONFIG_FILE |
---|
7194 | # |
---|
7195 | |
---|
7196 | case $INSTALL in |
---|
7197 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
7198 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
7199 | esac |
---|
7200 | ac_MKDIR_P=$MKDIR_P |
---|
7201 | case $MKDIR_P in |
---|
7202 | [\\/$]* | ?:[\\/]* ) ;; |
---|
7203 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
---|
7204 | esac |
---|
7205 | _ACEOF |
---|
7206 | |
---|
7207 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
7208 | # If the template does not know about datarootdir, expand it. |
---|
7209 | # FIXME: This hack should be removed a few years after 2.60. |
---|
7210 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
7211 | ac_sed_dataroot=' |
---|
7212 | /datarootdir/ { |
---|
7213 | p |
---|
7214 | q |
---|
7215 | } |
---|
7216 | /@datadir@/p |
---|
7217 | /@docdir@/p |
---|
7218 | /@infodir@/p |
---|
7219 | /@localedir@/p |
---|
7220 | /@mandir@/p' |
---|
7221 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
---|
7222 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
7223 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
7224 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
7225 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
7226 | _ACEOF |
---|
7227 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
7228 | ac_datarootdir_hack=' |
---|
7229 | s&@datadir@&$datadir&g |
---|
7230 | s&@docdir@&$docdir&g |
---|
7231 | s&@infodir@&$infodir&g |
---|
7232 | s&@localedir@&$localedir&g |
---|
7233 | s&@mandir@&$mandir&g |
---|
7234 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
7235 | esac |
---|
7236 | _ACEOF |
---|
7237 | |
---|
7238 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
7239 | # Shell code in configure.ac might set extrasub. |
---|
7240 | # FIXME: do we really want to maintain this feature? |
---|
7241 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
7242 | ac_sed_extra="$ac_vpsub |
---|
7243 | $extrasub |
---|
7244 | _ACEOF |
---|
7245 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
7246 | :t |
---|
7247 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
7248 | s|@configure_input@|$ac_sed_conf_input|;t t |
---|
7249 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
7250 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
---|
7251 | s&@srcdir@&$ac_srcdir&;t t |
---|
7252 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
7253 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
7254 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
7255 | s&@builddir@&$ac_builddir&;t t |
---|
7256 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
7257 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
7258 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
7259 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
---|
7260 | $ac_datarootdir_hack |
---|
7261 | " |
---|
7262 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
---|
7263 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
7264 | |
---|
7265 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
7266 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
---|
7267 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
---|
7268 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
---|
7269 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
7270 | which seems to be undefined. Please make sure it is defined" >&5 |
---|
7271 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
7272 | which seems to be undefined. Please make sure it is defined" >&2;} |
---|
7273 | |
---|
7274 | rm -f "$ac_tmp/stdin" |
---|
7275 | case $ac_file in |
---|
7276 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
---|
7277 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
---|
7278 | esac \ |
---|
7279 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
7280 | ;; |
---|
7281 | :H) |
---|
7282 | # |
---|
7283 | # CONFIG_HEADER |
---|
7284 | # |
---|
7285 | if test x"$ac_file" != x-; then |
---|
7286 | { |
---|
7287 | $as_echo "/* $configure_input */" \ |
---|
7288 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
---|
7289 | } >"$ac_tmp/config.h" \ |
---|
7290 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
7291 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
---|
7292 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
---|
7293 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
---|
7294 | else |
---|
7295 | rm -f "$ac_file" |
---|
7296 | mv "$ac_tmp/config.h" "$ac_file" \ |
---|
7297 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
7298 | fi |
---|
7299 | else |
---|
7300 | $as_echo "/* $configure_input */" \ |
---|
7301 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
---|
7302 | || as_fn_error $? "could not create -" "$LINENO" 5 |
---|
7303 | fi |
---|
7304 | # Compute "$ac_file"'s index in $config_headers. |
---|
7305 | _am_arg="$ac_file" |
---|
7306 | _am_stamp_count=1 |
---|
7307 | for _am_header in $config_headers :; do |
---|
7308 | case $_am_header in |
---|
7309 | $_am_arg | $_am_arg:* ) |
---|
7310 | break ;; |
---|
7311 | * ) |
---|
7312 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
---|
7313 | esac |
---|
7314 | done |
---|
7315 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
---|
7316 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
7317 | X"$_am_arg" : 'X\(//\)[^/]' \| \ |
---|
7318 | X"$_am_arg" : 'X\(//\)$' \| \ |
---|
7319 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
---|
7320 | $as_echo X"$_am_arg" | |
---|
7321 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
7322 | s//\1/ |
---|
7323 | q |
---|
7324 | } |
---|
7325 | /^X\(\/\/\)[^/].*/{ |
---|
7326 | s//\1/ |
---|
7327 | q |
---|
7328 | } |
---|
7329 | /^X\(\/\/\)$/{ |
---|
7330 | s//\1/ |
---|
7331 | q |
---|
7332 | } |
---|
7333 | /^X\(\/\).*/{ |
---|
7334 | s//\1/ |
---|
7335 | q |
---|
7336 | } |
---|
7337 | s/.*/./; q'`/stamp-h$_am_stamp_count |
---|
7338 | ;; |
---|
7339 | |
---|
7340 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
---|
7341 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
---|
7342 | ;; |
---|
7343 | esac |
---|
7344 | |
---|
7345 | |
---|
7346 | case $ac_file$ac_mode in |
---|
7347 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
---|
7348 | # Autoconf 2.62 quotes --file arguments for eval, but not when files |
---|
7349 | # are listed without --file. Let's play safe and only enable the eval |
---|
7350 | # if we detect the quoting. |
---|
7351 | case $CONFIG_FILES in |
---|
7352 | *\'*) eval set x "$CONFIG_FILES" ;; |
---|
7353 | *) set x $CONFIG_FILES ;; |
---|
7354 | esac |
---|
7355 | shift |
---|
7356 | for mf |
---|
7357 | do |
---|
7358 | # Strip MF so we end up with the name of the file. |
---|
7359 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
---|
7360 | # Check whether this is an Automake generated Makefile or not. |
---|
7361 | # We used to match only the files named `Makefile.in', but |
---|
7362 | # some people rename them; so instead we look at the file content. |
---|
7363 | # Grep'ing the first line is not enough: some people post-process |
---|
7364 | # each Makefile.in and add a new line on top of each file to say so. |
---|
7365 | # Grep'ing the whole file is not good either: AIX grep has a line |
---|
7366 | # limit of 2048, but all sed's we know have understand at least 4000. |
---|
7367 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
---|
7368 | dirpart=`$as_dirname -- "$mf" || |
---|
7369 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
7370 | X"$mf" : 'X\(//\)[^/]' \| \ |
---|
7371 | X"$mf" : 'X\(//\)$' \| \ |
---|
7372 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
---|
7373 | $as_echo X"$mf" | |
---|
7374 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
7375 | s//\1/ |
---|
7376 | q |
---|
7377 | } |
---|
7378 | /^X\(\/\/\)[^/].*/{ |
---|
7379 | s//\1/ |
---|
7380 | q |
---|
7381 | } |
---|
7382 | /^X\(\/\/\)$/{ |
---|
7383 | s//\1/ |
---|
7384 | q |
---|
7385 | } |
---|
7386 | /^X\(\/\).*/{ |
---|
7387 | s//\1/ |
---|
7388 | q |
---|
7389 | } |
---|
7390 | s/.*/./; q'` |
---|
7391 | else |
---|
7392 | continue |
---|
7393 | fi |
---|
7394 | # Extract the definition of DEPDIR, am__include, and am__quote |
---|
7395 | # from the Makefile without running `make'. |
---|
7396 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
---|
7397 | test -z "$DEPDIR" && continue |
---|
7398 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
---|
7399 | test -z "am__include" && continue |
---|
7400 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
---|
7401 | # When using ansi2knr, U may be empty or an underscore; expand it |
---|
7402 | U=`sed -n 's/^U = //p' < "$mf"` |
---|
7403 | # Find all dependency output files, they are included files with |
---|
7404 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
---|
7405 | # simplest approach to changing $(DEPDIR) to its actual value in the |
---|
7406 | # expansion. |
---|
7407 | for file in `sed -n " |
---|
7408 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
---|
7409 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
---|
7410 | # Make sure the directory exists. |
---|
7411 | test -f "$dirpart/$file" && continue |
---|
7412 | fdir=`$as_dirname -- "$file" || |
---|
7413 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
7414 | X"$file" : 'X\(//\)[^/]' \| \ |
---|
7415 | X"$file" : 'X\(//\)$' \| \ |
---|
7416 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
---|
7417 | $as_echo X"$file" | |
---|
7418 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
7419 | s//\1/ |
---|
7420 | q |
---|
7421 | } |
---|
7422 | /^X\(\/\/\)[^/].*/{ |
---|
7423 | s//\1/ |
---|
7424 | q |
---|
7425 | } |
---|
7426 | /^X\(\/\/\)$/{ |
---|
7427 | s//\1/ |
---|
7428 | q |
---|
7429 | } |
---|
7430 | /^X\(\/\).*/{ |
---|
7431 | s//\1/ |
---|
7432 | q |
---|
7433 | } |
---|
7434 | s/.*/./; q'` |
---|
7435 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
---|
7436 | # echo "creating $dirpart/$file" |
---|
7437 | echo '# dummy' > "$dirpart/$file" |
---|
7438 | done |
---|
7439 | done |
---|
7440 | } |
---|
7441 | ;; |
---|
7442 | |
---|
7443 | esac |
---|
7444 | done # for ac_tag |
---|
7445 | |
---|
7446 | |
---|
7447 | as_fn_exit 0 |
---|
7448 | _ACEOF |
---|
7449 | ac_clean_files=$ac_clean_files_save |
---|
7450 | |
---|
7451 | test $ac_write_fail = 0 || |
---|
7452 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
---|
7453 | |
---|
7454 | |
---|
7455 | # configure is writing to config.log, and then calls config.status. |
---|
7456 | # config.status does its own redirection, appending to config.log. |
---|
7457 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
7458 | # by configure, so config.status won't be able to write to it; its |
---|
7459 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
7460 | # effectively closing config.log, so it can be properly (re)opened and |
---|
7461 | # appended to by config.status. When coming back to configure, we |
---|
7462 | # need to make the FD available again. |
---|
7463 | if test "$no_create" != yes; then |
---|
7464 | ac_cs_success=: |
---|
7465 | ac_config_status_args= |
---|
7466 | test "$silent" = yes && |
---|
7467 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
7468 | exec 5>/dev/null |
---|
7469 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
7470 | exec 5>>config.log |
---|
7471 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
7472 | # would make configure fail if this is the last instruction. |
---|
7473 | $ac_cs_success || as_fn_exit 1 |
---|
7474 | fi |
---|
7475 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
---|
7476 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
---|
7477 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
---|
7478 | fi |
---|
7479 | |
---|
7480 | |
---|
7481 | # Final text |
---|
7482 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cforall configuraton completed. Type \"make -j 8 install\"." >&5 |
---|
7483 | $as_echo "Cforall configuraton completed. Type \"make -j 8 install\"." >&6; } |
---|