1 | #! /bin/sh |
---|
2 | # Guess values for system-dependent variables and create Makefiles. |
---|
3 | # Generated by GNU Autoconf 2.69 for cfa-cc 1.0.0.0. |
---|
4 | # |
---|
5 | # Report bugs to <cforall@plg.uwaterloo.ca>. |
---|
6 | # |
---|
7 | # |
---|
8 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
---|
9 | # |
---|
10 | # |
---|
11 | # This configure script is free software; the Free Software Foundation |
---|
12 | # gives unlimited permission to copy, distribute and modify it. |
---|
13 | ## -------------------- ## |
---|
14 | ## M4sh Initialization. ## |
---|
15 | ## -------------------- ## |
---|
16 | |
---|
17 | # Be more Bourne compatible |
---|
18 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
20 | emulate sh |
---|
21 | NULLCMD=: |
---|
22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
23 | # is contrary to our usage. Disable this feature. |
---|
24 | alias -g '${1+"$@"}'='"$@"' |
---|
25 | setopt NO_GLOB_SUBST |
---|
26 | else |
---|
27 | case `(set -o) 2>/dev/null` in #( |
---|
28 | *posix*) : |
---|
29 | set -o posix ;; #( |
---|
30 | *) : |
---|
31 | ;; |
---|
32 | esac |
---|
33 | fi |
---|
34 | |
---|
35 | |
---|
36 | as_nl=' |
---|
37 | ' |
---|
38 | export as_nl |
---|
39 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
43 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
44 | # but without wasting forks for bash or zsh. |
---|
45 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
47 | as_echo='print -r --' |
---|
48 | as_echo_n='print -rn --' |
---|
49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
50 | as_echo='printf %s\n' |
---|
51 | as_echo_n='printf %s' |
---|
52 | else |
---|
53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
55 | as_echo_n='/usr/ucb/echo -n' |
---|
56 | else |
---|
57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
58 | as_echo_n_body='eval |
---|
59 | arg=$1; |
---|
60 | case $arg in #( |
---|
61 | *"$as_nl"*) |
---|
62 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
64 | esac; |
---|
65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
66 | ' |
---|
67 | export as_echo_n_body |
---|
68 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
69 | fi |
---|
70 | export as_echo_body |
---|
71 | as_echo='sh -c $as_echo_body as_echo' |
---|
72 | fi |
---|
73 | |
---|
74 | # The user is always right. |
---|
75 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
76 | PATH_SEPARATOR=: |
---|
77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
79 | PATH_SEPARATOR=';' |
---|
80 | } |
---|
81 | fi |
---|
82 | |
---|
83 | |
---|
84 | # IFS |
---|
85 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
86 | # there to prevent editors from complaining about space-tab. |
---|
87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
88 | # splitting by setting IFS to empty value.) |
---|
89 | IFS=" "" $as_nl" |
---|
90 | |
---|
91 | # Find who we are. Look in the path if we contain no directory separator. |
---|
92 | as_myself= |
---|
93 | case $0 in #(( |
---|
94 | *[\\/]* ) as_myself=$0 ;; |
---|
95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
96 | for as_dir in $PATH |
---|
97 | do |
---|
98 | IFS=$as_save_IFS |
---|
99 | test -z "$as_dir" && as_dir=. |
---|
100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
101 | done |
---|
102 | IFS=$as_save_IFS |
---|
103 | |
---|
104 | ;; |
---|
105 | esac |
---|
106 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
107 | # in which case we are not to be found in the path. |
---|
108 | if test "x$as_myself" = x; then |
---|
109 | as_myself=$0 |
---|
110 | fi |
---|
111 | if test ! -f "$as_myself"; then |
---|
112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
113 | exit 1 |
---|
114 | fi |
---|
115 | |
---|
116 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
117 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
118 | # suppresses any "Segmentation fault" message there. '((' could |
---|
119 | # trigger a bug in pdksh 5.2.14. |
---|
120 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
121 | do eval test x\${$as_var+set} = xset \ |
---|
122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
123 | done |
---|
124 | PS1='$ ' |
---|
125 | PS2='> ' |
---|
126 | PS4='+ ' |
---|
127 | |
---|
128 | # NLS nuisances. |
---|
129 | LC_ALL=C |
---|
130 | export LC_ALL |
---|
131 | LANGUAGE=C |
---|
132 | export LANGUAGE |
---|
133 | |
---|
134 | # CDPATH. |
---|
135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
136 | |
---|
137 | # Use a proper internal environment variable to ensure we don't fall |
---|
138 | # into an infinite loop, continuously re-executing ourselves. |
---|
139 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
---|
140 | _as_can_reexec=no; export _as_can_reexec; |
---|
141 | # We cannot yet assume a decent shell, so we have to provide a |
---|
142 | # neutralization value for shells without unset; and this also |
---|
143 | # works around shells that cannot unset nonexistent variables. |
---|
144 | # Preserve -v and -x to the replacement shell. |
---|
145 | BASH_ENV=/dev/null |
---|
146 | ENV=/dev/null |
---|
147 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
148 | case $- in # (((( |
---|
149 | *v*x* | *x*v* ) as_opts=-vx ;; |
---|
150 | *v* ) as_opts=-v ;; |
---|
151 | *x* ) as_opts=-x ;; |
---|
152 | * ) as_opts= ;; |
---|
153 | esac |
---|
154 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
---|
155 | # Admittedly, this is quite paranoid, since all the known shells bail |
---|
156 | # out after a failed `exec'. |
---|
157 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
---|
158 | as_fn_exit 255 |
---|
159 | fi |
---|
160 | # We don't want this to propagate to other subprocesses. |
---|
161 | { _as_can_reexec=; unset _as_can_reexec;} |
---|
162 | if test "x$CONFIG_SHELL" = x; then |
---|
163 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
---|
164 | emulate sh |
---|
165 | NULLCMD=: |
---|
166 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
---|
167 | # is contrary to our usage. Disable this feature. |
---|
168 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
---|
169 | setopt NO_GLOB_SUBST |
---|
170 | else |
---|
171 | case \`(set -o) 2>/dev/null\` in #( |
---|
172 | *posix*) : |
---|
173 | set -o posix ;; #( |
---|
174 | *) : |
---|
175 | ;; |
---|
176 | esac |
---|
177 | fi |
---|
178 | " |
---|
179 | as_required="as_fn_return () { (exit \$1); } |
---|
180 | as_fn_success () { as_fn_return 0; } |
---|
181 | as_fn_failure () { as_fn_return 1; } |
---|
182 | as_fn_ret_success () { return 0; } |
---|
183 | as_fn_ret_failure () { return 1; } |
---|
184 | |
---|
185 | exitcode=0 |
---|
186 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
---|
187 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
---|
188 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
---|
189 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
---|
190 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
---|
191 | |
---|
192 | else |
---|
193 | exitcode=1; echo positional parameters were not saved. |
---|
194 | fi |
---|
195 | test x\$exitcode = x0 || exit 1 |
---|
196 | test -x / || exit 1" |
---|
197 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
---|
198 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
---|
199 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
---|
200 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" |
---|
201 | if (eval "$as_required") 2>/dev/null; then : |
---|
202 | as_have_required=yes |
---|
203 | else |
---|
204 | as_have_required=no |
---|
205 | fi |
---|
206 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
---|
207 | |
---|
208 | else |
---|
209 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
210 | as_found=false |
---|
211 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
212 | do |
---|
213 | IFS=$as_save_IFS |
---|
214 | test -z "$as_dir" && as_dir=. |
---|
215 | as_found=: |
---|
216 | case $as_dir in #( |
---|
217 | /*) |
---|
218 | for as_base in sh bash ksh sh5; do |
---|
219 | # Try only shells that exist, to save several forks. |
---|
220 | as_shell=$as_dir/$as_base |
---|
221 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
---|
222 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
223 | CONFIG_SHELL=$as_shell as_have_required=yes |
---|
224 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
225 | break 2 |
---|
226 | fi |
---|
227 | fi |
---|
228 | done;; |
---|
229 | esac |
---|
230 | as_found=false |
---|
231 | done |
---|
232 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
---|
233 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
---|
234 | CONFIG_SHELL=$SHELL as_have_required=yes |
---|
235 | fi; } |
---|
236 | IFS=$as_save_IFS |
---|
237 | |
---|
238 | |
---|
239 | if test "x$CONFIG_SHELL" != x; then : |
---|
240 | export CONFIG_SHELL |
---|
241 | # We cannot yet assume a decent shell, so we have to provide a |
---|
242 | # neutralization value for shells without unset; and this also |
---|
243 | # works around shells that cannot unset nonexistent variables. |
---|
244 | # Preserve -v and -x to the replacement shell. |
---|
245 | BASH_ENV=/dev/null |
---|
246 | ENV=/dev/null |
---|
247 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
248 | case $- in # (((( |
---|
249 | *v*x* | *x*v* ) as_opts=-vx ;; |
---|
250 | *v* ) as_opts=-v ;; |
---|
251 | *x* ) as_opts=-x ;; |
---|
252 | * ) as_opts= ;; |
---|
253 | esac |
---|
254 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
---|
255 | # Admittedly, this is quite paranoid, since all the known shells bail |
---|
256 | # out after a failed `exec'. |
---|
257 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
---|
258 | exit 255 |
---|
259 | fi |
---|
260 | |
---|
261 | if test x$as_have_required = xno; then : |
---|
262 | $as_echo "$0: This script requires a shell more modern than all" |
---|
263 | $as_echo "$0: the shells that I found on your system." |
---|
264 | if test x${ZSH_VERSION+set} = xset ; then |
---|
265 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
---|
266 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
---|
267 | else |
---|
268 | $as_echo "$0: Please tell bug-autoconf@gnu.org and |
---|
269 | $0: cforall@plg.uwaterloo.ca about your system, including |
---|
270 | $0: any error possibly output before this message. Then |
---|
271 | $0: install a modern shell, or manually run the script |
---|
272 | $0: under such a shell if you do have one." |
---|
273 | fi |
---|
274 | exit 1 |
---|
275 | fi |
---|
276 | fi |
---|
277 | fi |
---|
278 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
279 | export SHELL |
---|
280 | # Unset more variables known to interfere with behavior of common tools. |
---|
281 | CLICOLOR_FORCE= GREP_OPTIONS= |
---|
282 | unset CLICOLOR_FORCE GREP_OPTIONS |
---|
283 | |
---|
284 | ## --------------------- ## |
---|
285 | ## M4sh Shell Functions. ## |
---|
286 | ## --------------------- ## |
---|
287 | # as_fn_unset VAR |
---|
288 | # --------------- |
---|
289 | # Portably unset VAR. |
---|
290 | as_fn_unset () |
---|
291 | { |
---|
292 | { eval $1=; unset $1;} |
---|
293 | } |
---|
294 | as_unset=as_fn_unset |
---|
295 | |
---|
296 | # as_fn_set_status STATUS |
---|
297 | # ----------------------- |
---|
298 | # Set $? to STATUS, without forking. |
---|
299 | as_fn_set_status () |
---|
300 | { |
---|
301 | return $1 |
---|
302 | } # as_fn_set_status |
---|
303 | |
---|
304 | # as_fn_exit STATUS |
---|
305 | # ----------------- |
---|
306 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
307 | as_fn_exit () |
---|
308 | { |
---|
309 | set +e |
---|
310 | as_fn_set_status $1 |
---|
311 | exit $1 |
---|
312 | } # as_fn_exit |
---|
313 | |
---|
314 | # as_fn_mkdir_p |
---|
315 | # ------------- |
---|
316 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
317 | as_fn_mkdir_p () |
---|
318 | { |
---|
319 | |
---|
320 | case $as_dir in #( |
---|
321 | -*) as_dir=./$as_dir;; |
---|
322 | esac |
---|
323 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
324 | as_dirs= |
---|
325 | while :; do |
---|
326 | case $as_dir in #( |
---|
327 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
328 | *) as_qdir=$as_dir;; |
---|
329 | esac |
---|
330 | as_dirs="'$as_qdir' $as_dirs" |
---|
331 | as_dir=`$as_dirname -- "$as_dir" || |
---|
332 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
333 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
334 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
335 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
336 | $as_echo X"$as_dir" | |
---|
337 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
338 | s//\1/ |
---|
339 | q |
---|
340 | } |
---|
341 | /^X\(\/\/\)[^/].*/{ |
---|
342 | s//\1/ |
---|
343 | q |
---|
344 | } |
---|
345 | /^X\(\/\/\)$/{ |
---|
346 | s//\1/ |
---|
347 | q |
---|
348 | } |
---|
349 | /^X\(\/\).*/{ |
---|
350 | s//\1/ |
---|
351 | q |
---|
352 | } |
---|
353 | s/.*/./; q'` |
---|
354 | test -d "$as_dir" && break |
---|
355 | done |
---|
356 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
357 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
358 | |
---|
359 | |
---|
360 | } # as_fn_mkdir_p |
---|
361 | |
---|
362 | # as_fn_executable_p FILE |
---|
363 | # ----------------------- |
---|
364 | # Test if FILE is an executable regular file. |
---|
365 | as_fn_executable_p () |
---|
366 | { |
---|
367 | test -f "$1" && test -x "$1" |
---|
368 | } # as_fn_executable_p |
---|
369 | # as_fn_append VAR VALUE |
---|
370 | # ---------------------- |
---|
371 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
372 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
373 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
374 | # implementations. |
---|
375 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
376 | eval 'as_fn_append () |
---|
377 | { |
---|
378 | eval $1+=\$2 |
---|
379 | }' |
---|
380 | else |
---|
381 | as_fn_append () |
---|
382 | { |
---|
383 | eval $1=\$$1\$2 |
---|
384 | } |
---|
385 | fi # as_fn_append |
---|
386 | |
---|
387 | # as_fn_arith ARG... |
---|
388 | # ------------------ |
---|
389 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
390 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
391 | # must be portable across $(()) and expr. |
---|
392 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
393 | eval 'as_fn_arith () |
---|
394 | { |
---|
395 | as_val=$(( $* )) |
---|
396 | }' |
---|
397 | else |
---|
398 | as_fn_arith () |
---|
399 | { |
---|
400 | as_val=`expr "$@" || test $? -eq 1` |
---|
401 | } |
---|
402 | fi # as_fn_arith |
---|
403 | |
---|
404 | |
---|
405 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
406 | # ---------------------------------------- |
---|
407 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
408 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
409 | # script with STATUS, using 1 if that was 0. |
---|
410 | as_fn_error () |
---|
411 | { |
---|
412 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
413 | if test "$4"; then |
---|
414 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
415 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
416 | fi |
---|
417 | $as_echo "$as_me: error: $2" >&2 |
---|
418 | as_fn_exit $as_status |
---|
419 | } # as_fn_error |
---|
420 | |
---|
421 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
422 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
423 | as_expr=expr |
---|
424 | else |
---|
425 | as_expr=false |
---|
426 | fi |
---|
427 | |
---|
428 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
429 | as_basename=basename |
---|
430 | else |
---|
431 | as_basename=false |
---|
432 | fi |
---|
433 | |
---|
434 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
435 | as_dirname=dirname |
---|
436 | else |
---|
437 | as_dirname=false |
---|
438 | fi |
---|
439 | |
---|
440 | as_me=`$as_basename -- "$0" || |
---|
441 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
442 | X"$0" : 'X\(//\)$' \| \ |
---|
443 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
444 | $as_echo X/"$0" | |
---|
445 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
446 | s//\1/ |
---|
447 | q |
---|
448 | } |
---|
449 | /^X\/\(\/\/\)$/{ |
---|
450 | s//\1/ |
---|
451 | q |
---|
452 | } |
---|
453 | /^X\/\(\/\).*/{ |
---|
454 | s//\1/ |
---|
455 | q |
---|
456 | } |
---|
457 | s/.*/./; q'` |
---|
458 | |
---|
459 | # Avoid depending upon Character Ranges. |
---|
460 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
461 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
462 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
463 | as_cr_digits='0123456789' |
---|
464 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
465 | |
---|
466 | |
---|
467 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
---|
468 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
---|
469 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
---|
470 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
---|
471 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
---|
472 | sed -n ' |
---|
473 | p |
---|
474 | /[$]LINENO/= |
---|
475 | ' <$as_myself | |
---|
476 | sed ' |
---|
477 | s/[$]LINENO.*/&-/ |
---|
478 | t lineno |
---|
479 | b |
---|
480 | :lineno |
---|
481 | N |
---|
482 | :loop |
---|
483 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
484 | t loop |
---|
485 | s/-\n.*// |
---|
486 | ' >$as_me.lineno && |
---|
487 | chmod +x "$as_me.lineno" || |
---|
488 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
---|
489 | |
---|
490 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
---|
491 | # already done that, so ensure we don't try to do so again and fall |
---|
492 | # in an infinite loop. This has already happened in practice. |
---|
493 | _as_can_reexec=no; export _as_can_reexec |
---|
494 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
495 | # (the dirname of $[0] is not the place where we might find the |
---|
496 | # original and so on. Autoconf is especially sensitive to this). |
---|
497 | . "./$as_me.lineno" |
---|
498 | # Exit status is that of the last command. |
---|
499 | exit |
---|
500 | } |
---|
501 | |
---|
502 | ECHO_C= ECHO_N= ECHO_T= |
---|
503 | case `echo -n x` in #((((( |
---|
504 | -n*) |
---|
505 | case `echo 'xy\c'` in |
---|
506 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
507 | xy) ECHO_C='\c';; |
---|
508 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
509 | ECHO_T=' ';; |
---|
510 | esac;; |
---|
511 | *) |
---|
512 | ECHO_N='-n';; |
---|
513 | esac |
---|
514 | |
---|
515 | rm -f conf$$ conf$$.exe conf$$.file |
---|
516 | if test -d conf$$.dir; then |
---|
517 | rm -f conf$$.dir/conf$$.file |
---|
518 | else |
---|
519 | rm -f conf$$.dir |
---|
520 | mkdir conf$$.dir 2>/dev/null |
---|
521 | fi |
---|
522 | if (echo >conf$$.file) 2>/dev/null; then |
---|
523 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
524 | as_ln_s='ln -s' |
---|
525 | # ... but there are two gotchas: |
---|
526 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
527 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
528 | # In both cases, we have to default to `cp -pR'. |
---|
529 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
530 | as_ln_s='cp -pR' |
---|
531 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
532 | as_ln_s=ln |
---|
533 | else |
---|
534 | as_ln_s='cp -pR' |
---|
535 | fi |
---|
536 | else |
---|
537 | as_ln_s='cp -pR' |
---|
538 | fi |
---|
539 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
540 | rmdir conf$$.dir 2>/dev/null |
---|
541 | |
---|
542 | if mkdir -p . 2>/dev/null; then |
---|
543 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
544 | else |
---|
545 | test -d ./-p && rmdir ./-p |
---|
546 | as_mkdir_p=false |
---|
547 | fi |
---|
548 | |
---|
549 | as_test_x='test -x' |
---|
550 | as_executable_p=as_fn_executable_p |
---|
551 | |
---|
552 | # Sed expression to map a string onto a valid CPP name. |
---|
553 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
554 | |
---|
555 | # Sed expression to map a string onto a valid variable name. |
---|
556 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
557 | |
---|
558 | |
---|
559 | test -n "$DJDIR" || exec 7<&0 </dev/null |
---|
560 | exec 6>&1 |
---|
561 | |
---|
562 | # Name of the host. |
---|
563 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
---|
564 | # so uname gets run too. |
---|
565 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
566 | |
---|
567 | # |
---|
568 | # Initializations. |
---|
569 | # |
---|
570 | ac_default_prefix=/usr/local |
---|
571 | ac_clean_files= |
---|
572 | ac_config_libobj_dir=. |
---|
573 | LIBOBJS= |
---|
574 | cross_compiling=no |
---|
575 | subdirs= |
---|
576 | MFLAGS= |
---|
577 | MAKEFLAGS= |
---|
578 | |
---|
579 | # Identity of this package. |
---|
580 | PACKAGE_NAME='cfa-cc' |
---|
581 | PACKAGE_TARNAME='cfa-cc' |
---|
582 | PACKAGE_VERSION='1.0.0.0' |
---|
583 | PACKAGE_STRING='cfa-cc 1.0.0.0' |
---|
584 | PACKAGE_BUGREPORT='cforall@plg.uwaterloo.ca' |
---|
585 | PACKAGE_URL='' |
---|
586 | |
---|
587 | ac_subst_vars='am__EXEEXT_FALSE |
---|
588 | am__EXEEXT_TRUE |
---|
589 | LTLIBOBJS |
---|
590 | LIBOBJS |
---|
591 | RANLIB |
---|
592 | am__fastdepCCAS_FALSE |
---|
593 | am__fastdepCCAS_TRUE |
---|
594 | CCASDEPMODE |
---|
595 | CCASFLAGS |
---|
596 | CCAS |
---|
597 | am__fastdepCC_FALSE |
---|
598 | am__fastdepCC_TRUE |
---|
599 | CCDEPMODE |
---|
600 | ac_ct_CC |
---|
601 | CFLAGS |
---|
602 | CC |
---|
603 | am__fastdepCXX_FALSE |
---|
604 | am__fastdepCXX_TRUE |
---|
605 | CXXDEPMODE |
---|
606 | am__nodep |
---|
607 | AMDEPBACKSLASH |
---|
608 | AMDEP_FALSE |
---|
609 | AMDEP_TRUE |
---|
610 | am__quote |
---|
611 | am__include |
---|
612 | DEPDIR |
---|
613 | OBJEXT |
---|
614 | EXEEXT |
---|
615 | ac_ct_CXX |
---|
616 | CPPFLAGS |
---|
617 | LDFLAGS |
---|
618 | CXXFLAGS |
---|
619 | CXX |
---|
620 | CFA_LIBDIR |
---|
621 | CFA_BINDIR |
---|
622 | CFA_INCDIR |
---|
623 | CFA_PREFIX |
---|
624 | CFA_NAME |
---|
625 | BUILDLIB_FALSE |
---|
626 | BUILDLIB_TRUE |
---|
627 | CONFIG_BUILDLIB |
---|
628 | CONFIG_CFAFLAGS |
---|
629 | CONFIG_CFLAGS |
---|
630 | ARCH_FLAGS |
---|
631 | CFACPP |
---|
632 | CFACC |
---|
633 | DRIVER_DIR |
---|
634 | CONFIGURATION |
---|
635 | ARCHITECTURE |
---|
636 | am__untar |
---|
637 | am__tar |
---|
638 | AMTAR |
---|
639 | am__leading_dot |
---|
640 | SET_MAKE |
---|
641 | AWK |
---|
642 | mkdir_p |
---|
643 | MKDIR_P |
---|
644 | INSTALL_STRIP_PROGRAM |
---|
645 | STRIP |
---|
646 | install_sh |
---|
647 | MAKEINFO |
---|
648 | AUTOHEADER |
---|
649 | AUTOMAKE |
---|
650 | AUTOCONF |
---|
651 | ACLOCAL |
---|
652 | VERSION |
---|
653 | PACKAGE |
---|
654 | CYGPATH_W |
---|
655 | am__isrc |
---|
656 | INSTALL_DATA |
---|
657 | INSTALL_SCRIPT |
---|
658 | INSTALL_PROGRAM |
---|
659 | AM_BACKSLASH |
---|
660 | AM_DEFAULT_VERBOSITY |
---|
661 | AM_DEFAULT_V |
---|
662 | AM_V |
---|
663 | target_alias |
---|
664 | host_alias |
---|
665 | build_alias |
---|
666 | LIBS |
---|
667 | ECHO_T |
---|
668 | ECHO_N |
---|
669 | ECHO_C |
---|
670 | DEFS |
---|
671 | mandir |
---|
672 | localedir |
---|
673 | libdir |
---|
674 | psdir |
---|
675 | pdfdir |
---|
676 | dvidir |
---|
677 | htmldir |
---|
678 | infodir |
---|
679 | docdir |
---|
680 | oldincludedir |
---|
681 | includedir |
---|
682 | runstatedir |
---|
683 | localstatedir |
---|
684 | sharedstatedir |
---|
685 | sysconfdir |
---|
686 | datadir |
---|
687 | datarootdir |
---|
688 | libexecdir |
---|
689 | sbindir |
---|
690 | bindir |
---|
691 | program_transform_name |
---|
692 | prefix |
---|
693 | exec_prefix |
---|
694 | PACKAGE_URL |
---|
695 | PACKAGE_BUGREPORT |
---|
696 | PACKAGE_STRING |
---|
697 | PACKAGE_VERSION |
---|
698 | PACKAGE_TARNAME |
---|
699 | PACKAGE_NAME |
---|
700 | PATH_SEPARATOR |
---|
701 | SHELL' |
---|
702 | ac_subst_files='' |
---|
703 | ac_user_opts=' |
---|
704 | enable_option_checking |
---|
705 | enable_silent_rules |
---|
706 | with_cfa_name |
---|
707 | enable_dependency_tracking |
---|
708 | ' |
---|
709 | ac_precious_vars='build_alias |
---|
710 | host_alias |
---|
711 | target_alias |
---|
712 | ARCHITECTURE |
---|
713 | CONFIGURATION |
---|
714 | DRIVER_DIR |
---|
715 | CXX |
---|
716 | CXXFLAGS |
---|
717 | LDFLAGS |
---|
718 | LIBS |
---|
719 | CPPFLAGS |
---|
720 | CCC |
---|
721 | CC |
---|
722 | CFLAGS |
---|
723 | CCAS |
---|
724 | CCASFLAGS' |
---|
725 | |
---|
726 | |
---|
727 | # Initialize some variables set by options. |
---|
728 | ac_init_help= |
---|
729 | ac_init_version=false |
---|
730 | ac_unrecognized_opts= |
---|
731 | ac_unrecognized_sep= |
---|
732 | # The variables have the same names as the options, with |
---|
733 | # dashes changed to underlines. |
---|
734 | cache_file=/dev/null |
---|
735 | exec_prefix=NONE |
---|
736 | no_create= |
---|
737 | no_recursion= |
---|
738 | prefix=NONE |
---|
739 | program_prefix=NONE |
---|
740 | program_suffix=NONE |
---|
741 | program_transform_name=s,x,x, |
---|
742 | silent= |
---|
743 | site= |
---|
744 | srcdir= |
---|
745 | verbose= |
---|
746 | x_includes=NONE |
---|
747 | x_libraries=NONE |
---|
748 | |
---|
749 | # Installation directory options. |
---|
750 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
751 | # and all the variables that are supposed to be based on exec_prefix |
---|
752 | # by default will actually change. |
---|
753 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
754 | # (The list follows the same order as the GNU Coding Standards.) |
---|
755 | bindir='${exec_prefix}/bin' |
---|
756 | sbindir='${exec_prefix}/sbin' |
---|
757 | libexecdir='${exec_prefix}/libexec' |
---|
758 | datarootdir='${prefix}/share' |
---|
759 | datadir='${datarootdir}' |
---|
760 | sysconfdir='${prefix}/etc' |
---|
761 | sharedstatedir='${prefix}/com' |
---|
762 | localstatedir='${prefix}/var' |
---|
763 | runstatedir='${localstatedir}/run' |
---|
764 | includedir='${prefix}/include' |
---|
765 | oldincludedir='/usr/include' |
---|
766 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
---|
767 | infodir='${datarootdir}/info' |
---|
768 | htmldir='${docdir}' |
---|
769 | dvidir='${docdir}' |
---|
770 | pdfdir='${docdir}' |
---|
771 | psdir='${docdir}' |
---|
772 | libdir='${exec_prefix}/lib' |
---|
773 | localedir='${datarootdir}/locale' |
---|
774 | mandir='${datarootdir}/man' |
---|
775 | |
---|
776 | ac_prev= |
---|
777 | ac_dashdash= |
---|
778 | for ac_option |
---|
779 | do |
---|
780 | # If the previous option needs an argument, assign it. |
---|
781 | if test -n "$ac_prev"; then |
---|
782 | eval $ac_prev=\$ac_option |
---|
783 | ac_prev= |
---|
784 | continue |
---|
785 | fi |
---|
786 | |
---|
787 | case $ac_option in |
---|
788 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
789 | *=) ac_optarg= ;; |
---|
790 | *) ac_optarg=yes ;; |
---|
791 | esac |
---|
792 | |
---|
793 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
794 | |
---|
795 | case $ac_dashdash$ac_option in |
---|
796 | --) |
---|
797 | ac_dashdash=yes ;; |
---|
798 | |
---|
799 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
800 | ac_prev=bindir ;; |
---|
801 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
802 | bindir=$ac_optarg ;; |
---|
803 | |
---|
804 | -build | --build | --buil | --bui | --bu) |
---|
805 | ac_prev=build_alias ;; |
---|
806 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
807 | build_alias=$ac_optarg ;; |
---|
808 | |
---|
809 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
810 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
811 | ac_prev=cache_file ;; |
---|
812 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
813 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
814 | cache_file=$ac_optarg ;; |
---|
815 | |
---|
816 | --config-cache | -C) |
---|
817 | cache_file=config.cache ;; |
---|
818 | |
---|
819 | -datadir | --datadir | --datadi | --datad) |
---|
820 | ac_prev=datadir ;; |
---|
821 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
822 | datadir=$ac_optarg ;; |
---|
823 | |
---|
824 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
825 | | --dataroo | --dataro | --datar) |
---|
826 | ac_prev=datarootdir ;; |
---|
827 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
828 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
829 | datarootdir=$ac_optarg ;; |
---|
830 | |
---|
831 | -disable-* | --disable-*) |
---|
832 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
833 | # Reject names that are not valid shell variable names. |
---|
834 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
835 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
836 | ac_useropt_orig=$ac_useropt |
---|
837 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
838 | case $ac_user_opts in |
---|
839 | *" |
---|
840 | "enable_$ac_useropt" |
---|
841 | "*) ;; |
---|
842 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
---|
843 | ac_unrecognized_sep=', ';; |
---|
844 | esac |
---|
845 | eval enable_$ac_useropt=no ;; |
---|
846 | |
---|
847 | -docdir | --docdir | --docdi | --doc | --do) |
---|
848 | ac_prev=docdir ;; |
---|
849 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
850 | docdir=$ac_optarg ;; |
---|
851 | |
---|
852 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
853 | ac_prev=dvidir ;; |
---|
854 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
855 | dvidir=$ac_optarg ;; |
---|
856 | |
---|
857 | -enable-* | --enable-*) |
---|
858 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
859 | # Reject names that are not valid shell variable names. |
---|
860 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
861 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
862 | ac_useropt_orig=$ac_useropt |
---|
863 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
864 | case $ac_user_opts in |
---|
865 | *" |
---|
866 | "enable_$ac_useropt" |
---|
867 | "*) ;; |
---|
868 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
---|
869 | ac_unrecognized_sep=', ';; |
---|
870 | esac |
---|
871 | eval enable_$ac_useropt=\$ac_optarg ;; |
---|
872 | |
---|
873 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
874 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
875 | | --exec | --exe | --ex) |
---|
876 | ac_prev=exec_prefix ;; |
---|
877 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
878 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
879 | | --exec=* | --exe=* | --ex=*) |
---|
880 | exec_prefix=$ac_optarg ;; |
---|
881 | |
---|
882 | -gas | --gas | --ga | --g) |
---|
883 | # Obsolete; use --with-gas. |
---|
884 | with_gas=yes ;; |
---|
885 | |
---|
886 | -help | --help | --hel | --he | -h) |
---|
887 | ac_init_help=long ;; |
---|
888 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
889 | ac_init_help=recursive ;; |
---|
890 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
891 | ac_init_help=short ;; |
---|
892 | |
---|
893 | -host | --host | --hos | --ho) |
---|
894 | ac_prev=host_alias ;; |
---|
895 | -host=* | --host=* | --hos=* | --ho=*) |
---|
896 | host_alias=$ac_optarg ;; |
---|
897 | |
---|
898 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
899 | ac_prev=htmldir ;; |
---|
900 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
901 | | --ht=*) |
---|
902 | htmldir=$ac_optarg ;; |
---|
903 | |
---|
904 | -includedir | --includedir | --includedi | --included | --include \ |
---|
905 | | --includ | --inclu | --incl | --inc) |
---|
906 | ac_prev=includedir ;; |
---|
907 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
908 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
909 | includedir=$ac_optarg ;; |
---|
910 | |
---|
911 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
912 | ac_prev=infodir ;; |
---|
913 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
914 | infodir=$ac_optarg ;; |
---|
915 | |
---|
916 | -libdir | --libdir | --libdi | --libd) |
---|
917 | ac_prev=libdir ;; |
---|
918 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
919 | libdir=$ac_optarg ;; |
---|
920 | |
---|
921 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
922 | | --libexe | --libex | --libe) |
---|
923 | ac_prev=libexecdir ;; |
---|
924 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
925 | | --libexe=* | --libex=* | --libe=*) |
---|
926 | libexecdir=$ac_optarg ;; |
---|
927 | |
---|
928 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
929 | ac_prev=localedir ;; |
---|
930 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
931 | localedir=$ac_optarg ;; |
---|
932 | |
---|
933 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
934 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
935 | ac_prev=localstatedir ;; |
---|
936 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
937 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
938 | localstatedir=$ac_optarg ;; |
---|
939 | |
---|
940 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
941 | ac_prev=mandir ;; |
---|
942 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
943 | mandir=$ac_optarg ;; |
---|
944 | |
---|
945 | -nfp | --nfp | --nf) |
---|
946 | # Obsolete; use --without-fp. |
---|
947 | with_fp=no ;; |
---|
948 | |
---|
949 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
950 | | --no-cr | --no-c | -n) |
---|
951 | no_create=yes ;; |
---|
952 | |
---|
953 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
954 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
955 | no_recursion=yes ;; |
---|
956 | |
---|
957 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
958 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
959 | | --oldin | --oldi | --old | --ol | --o) |
---|
960 | ac_prev=oldincludedir ;; |
---|
961 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
962 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
963 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
964 | oldincludedir=$ac_optarg ;; |
---|
965 | |
---|
966 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
967 | ac_prev=prefix ;; |
---|
968 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
969 | prefix=$ac_optarg ;; |
---|
970 | |
---|
971 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
972 | | --program-pre | --program-pr | --program-p) |
---|
973 | ac_prev=program_prefix ;; |
---|
974 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
975 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
976 | program_prefix=$ac_optarg ;; |
---|
977 | |
---|
978 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
979 | | --program-suf | --program-su | --program-s) |
---|
980 | ac_prev=program_suffix ;; |
---|
981 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
982 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
983 | program_suffix=$ac_optarg ;; |
---|
984 | |
---|
985 | -program-transform-name | --program-transform-name \ |
---|
986 | | --program-transform-nam | --program-transform-na \ |
---|
987 | | --program-transform-n | --program-transform- \ |
---|
988 | | --program-transform | --program-transfor \ |
---|
989 | | --program-transfo | --program-transf \ |
---|
990 | | --program-trans | --program-tran \ |
---|
991 | | --progr-tra | --program-tr | --program-t) |
---|
992 | ac_prev=program_transform_name ;; |
---|
993 | -program-transform-name=* | --program-transform-name=* \ |
---|
994 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
995 | | --program-transform-n=* | --program-transform-=* \ |
---|
996 | | --program-transform=* | --program-transfor=* \ |
---|
997 | | --program-transfo=* | --program-transf=* \ |
---|
998 | | --program-trans=* | --program-tran=* \ |
---|
999 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
1000 | program_transform_name=$ac_optarg ;; |
---|
1001 | |
---|
1002 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
1003 | ac_prev=pdfdir ;; |
---|
1004 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
1005 | pdfdir=$ac_optarg ;; |
---|
1006 | |
---|
1007 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
1008 | ac_prev=psdir ;; |
---|
1009 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
1010 | psdir=$ac_optarg ;; |
---|
1011 | |
---|
1012 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1013 | | -silent | --silent | --silen | --sile | --sil) |
---|
1014 | silent=yes ;; |
---|
1015 | |
---|
1016 | -runstatedir | --runstatedir | --runstatedi | --runstated \ |
---|
1017 | | --runstate | --runstat | --runsta | --runst | --runs \ |
---|
1018 | | --run | --ru | --r) |
---|
1019 | ac_prev=runstatedir ;; |
---|
1020 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
---|
1021 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
---|
1022 | | --run=* | --ru=* | --r=*) |
---|
1023 | runstatedir=$ac_optarg ;; |
---|
1024 | |
---|
1025 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
1026 | ac_prev=sbindir ;; |
---|
1027 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
1028 | | --sbi=* | --sb=*) |
---|
1029 | sbindir=$ac_optarg ;; |
---|
1030 | |
---|
1031 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
1032 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
1033 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
1034 | | --sha | --sh) |
---|
1035 | ac_prev=sharedstatedir ;; |
---|
1036 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
1037 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
1038 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
1039 | | --sha=* | --sh=*) |
---|
1040 | sharedstatedir=$ac_optarg ;; |
---|
1041 | |
---|
1042 | -site | --site | --sit) |
---|
1043 | ac_prev=site ;; |
---|
1044 | -site=* | --site=* | --sit=*) |
---|
1045 | site=$ac_optarg ;; |
---|
1046 | |
---|
1047 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
1048 | ac_prev=srcdir ;; |
---|
1049 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
1050 | srcdir=$ac_optarg ;; |
---|
1051 | |
---|
1052 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
1053 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
1054 | ac_prev=sysconfdir ;; |
---|
1055 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
1056 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
1057 | sysconfdir=$ac_optarg ;; |
---|
1058 | |
---|
1059 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
1060 | ac_prev=target_alias ;; |
---|
1061 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
1062 | target_alias=$ac_optarg ;; |
---|
1063 | |
---|
1064 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
1065 | verbose=yes ;; |
---|
1066 | |
---|
1067 | -version | --version | --versio | --versi | --vers | -V) |
---|
1068 | ac_init_version=: ;; |
---|
1069 | |
---|
1070 | -with-* | --with-*) |
---|
1071 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
1072 | # Reject names that are not valid shell variable names. |
---|
1073 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
1074 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
1075 | ac_useropt_orig=$ac_useropt |
---|
1076 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
1077 | case $ac_user_opts in |
---|
1078 | *" |
---|
1079 | "with_$ac_useropt" |
---|
1080 | "*) ;; |
---|
1081 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
---|
1082 | ac_unrecognized_sep=', ';; |
---|
1083 | esac |
---|
1084 | eval with_$ac_useropt=\$ac_optarg ;; |
---|
1085 | |
---|
1086 | -without-* | --without-*) |
---|
1087 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
1088 | # Reject names that are not valid shell variable names. |
---|
1089 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
1090 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
1091 | ac_useropt_orig=$ac_useropt |
---|
1092 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
1093 | case $ac_user_opts in |
---|
1094 | *" |
---|
1095 | "with_$ac_useropt" |
---|
1096 | "*) ;; |
---|
1097 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
---|
1098 | ac_unrecognized_sep=', ';; |
---|
1099 | esac |
---|
1100 | eval with_$ac_useropt=no ;; |
---|
1101 | |
---|
1102 | --x) |
---|
1103 | # Obsolete; use --with-x. |
---|
1104 | with_x=yes ;; |
---|
1105 | |
---|
1106 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
1107 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
1108 | ac_prev=x_includes ;; |
---|
1109 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
1110 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
1111 | x_includes=$ac_optarg ;; |
---|
1112 | |
---|
1113 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
1114 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
1115 | ac_prev=x_libraries ;; |
---|
1116 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
1117 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
1118 | x_libraries=$ac_optarg ;; |
---|
1119 | |
---|
1120 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
---|
1121 | Try \`$0 --help' for more information" |
---|
1122 | ;; |
---|
1123 | |
---|
1124 | *=*) |
---|
1125 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
1126 | # Reject names that are not valid shell variable names. |
---|
1127 | case $ac_envvar in #( |
---|
1128 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
---|
1129 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
---|
1130 | esac |
---|
1131 | eval $ac_envvar=\$ac_optarg |
---|
1132 | export $ac_envvar ;; |
---|
1133 | |
---|
1134 | *) |
---|
1135 | # FIXME: should be removed in autoconf 3.0. |
---|
1136 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
1137 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
1138 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
1139 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
---|
1140 | ;; |
---|
1141 | |
---|
1142 | esac |
---|
1143 | done |
---|
1144 | |
---|
1145 | if test -n "$ac_prev"; then |
---|
1146 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
1147 | as_fn_error $? "missing argument to $ac_option" |
---|
1148 | fi |
---|
1149 | |
---|
1150 | if test -n "$ac_unrecognized_opts"; then |
---|
1151 | case $enable_option_checking in |
---|
1152 | no) ;; |
---|
1153 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
---|
1154 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
---|
1155 | esac |
---|
1156 | fi |
---|
1157 | |
---|
1158 | # Check all directory arguments for consistency. |
---|
1159 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
1160 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
1161 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
1162 | libdir localedir mandir runstatedir |
---|
1163 | do |
---|
1164 | eval ac_val=\$$ac_var |
---|
1165 | # Remove trailing slashes. |
---|
1166 | case $ac_val in |
---|
1167 | */ ) |
---|
1168 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
---|
1169 | eval $ac_var=\$ac_val;; |
---|
1170 | esac |
---|
1171 | # Be sure to have absolute directory names. |
---|
1172 | case $ac_val in |
---|
1173 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
1174 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
1175 | esac |
---|
1176 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
---|
1177 | done |
---|
1178 | |
---|
1179 | # There might be people who depend on the old broken behavior: `$host' |
---|
1180 | # used to hold the argument of --host etc. |
---|
1181 | # FIXME: To remove some day. |
---|
1182 | build=$build_alias |
---|
1183 | host=$host_alias |
---|
1184 | target=$target_alias |
---|
1185 | |
---|
1186 | # FIXME: To remove some day. |
---|
1187 | if test "x$host_alias" != x; then |
---|
1188 | if test "x$build_alias" = x; then |
---|
1189 | cross_compiling=maybe |
---|
1190 | elif test "x$build_alias" != "x$host_alias"; then |
---|
1191 | cross_compiling=yes |
---|
1192 | fi |
---|
1193 | fi |
---|
1194 | |
---|
1195 | ac_tool_prefix= |
---|
1196 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
1197 | |
---|
1198 | test "$silent" = yes && exec 6>/dev/null |
---|
1199 | |
---|
1200 | |
---|
1201 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
1202 | ac_ls_di=`ls -di .` && |
---|
1203 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
1204 | as_fn_error $? "working directory cannot be determined" |
---|
1205 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
1206 | as_fn_error $? "pwd does not report name of working directory" |
---|
1207 | |
---|
1208 | |
---|
1209 | # Find the source files, if location was not specified. |
---|
1210 | if test -z "$srcdir"; then |
---|
1211 | ac_srcdir_defaulted=yes |
---|
1212 | # Try the directory containing this script, then the parent directory. |
---|
1213 | ac_confdir=`$as_dirname -- "$as_myself" || |
---|
1214 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
1215 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
---|
1216 | X"$as_myself" : 'X\(//\)$' \| \ |
---|
1217 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
---|
1218 | $as_echo X"$as_myself" | |
---|
1219 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
1220 | s//\1/ |
---|
1221 | q |
---|
1222 | } |
---|
1223 | /^X\(\/\/\)[^/].*/{ |
---|
1224 | s//\1/ |
---|
1225 | q |
---|
1226 | } |
---|
1227 | /^X\(\/\/\)$/{ |
---|
1228 | s//\1/ |
---|
1229 | q |
---|
1230 | } |
---|
1231 | /^X\(\/\).*/{ |
---|
1232 | s//\1/ |
---|
1233 | q |
---|
1234 | } |
---|
1235 | s/.*/./; q'` |
---|
1236 | srcdir=$ac_confdir |
---|
1237 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1238 | srcdir=.. |
---|
1239 | fi |
---|
1240 | else |
---|
1241 | ac_srcdir_defaulted=no |
---|
1242 | fi |
---|
1243 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1244 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
1245 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
---|
1246 | fi |
---|
1247 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
1248 | ac_abs_confdir=`( |
---|
1249 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
---|
1250 | pwd)` |
---|
1251 | # When building in place, set srcdir=. |
---|
1252 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
1253 | srcdir=. |
---|
1254 | fi |
---|
1255 | # Remove unnecessary trailing slashes from srcdir. |
---|
1256 | # Double slashes in file names in object file debugging info |
---|
1257 | # mess up M-x gdb in Emacs. |
---|
1258 | case $srcdir in |
---|
1259 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
1260 | esac |
---|
1261 | for ac_var in $ac_precious_vars; do |
---|
1262 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
1263 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
1264 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
1265 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
1266 | done |
---|
1267 | |
---|
1268 | # |
---|
1269 | # Report the --help message. |
---|
1270 | # |
---|
1271 | if test "$ac_init_help" = "long"; then |
---|
1272 | # Omit some internal or obsolete options to make the list less imposing. |
---|
1273 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
1274 | cat <<_ACEOF |
---|
1275 | \`configure' configures cfa-cc 1.0.0.0 to adapt to many kinds of systems. |
---|
1276 | |
---|
1277 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
1278 | |
---|
1279 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
1280 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
1281 | |
---|
1282 | Defaults for the options are specified in brackets. |
---|
1283 | |
---|
1284 | Configuration: |
---|
1285 | -h, --help display this help and exit |
---|
1286 | --help=short display options specific to this package |
---|
1287 | --help=recursive display the short help of all the included packages |
---|
1288 | -V, --version display version information and exit |
---|
1289 | -q, --quiet, --silent do not print \`checking ...' messages |
---|
1290 | --cache-file=FILE cache test results in FILE [disabled] |
---|
1291 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
1292 | -n, --no-create do not create output files |
---|
1293 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
1294 | |
---|
1295 | Installation directories: |
---|
1296 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
1297 | [$ac_default_prefix] |
---|
1298 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
1299 | [PREFIX] |
---|
1300 | |
---|
1301 | By default, \`make install' will install all the files in |
---|
1302 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
1303 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
1304 | for instance \`--prefix=\$HOME'. |
---|
1305 | |
---|
1306 | For better control, use the options below. |
---|
1307 | |
---|
1308 | Fine tuning of the installation directories: |
---|
1309 | --bindir=DIR user executables [EPREFIX/bin] |
---|
1310 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
1311 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
1312 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
1313 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
1314 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
1315 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
---|
1316 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
1317 | --includedir=DIR C header files [PREFIX/include] |
---|
1318 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
1319 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
1320 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
1321 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
1322 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
1323 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
1324 | --docdir=DIR documentation root [DATAROOTDIR/doc/cfa-cc] |
---|
1325 | --htmldir=DIR html documentation [DOCDIR] |
---|
1326 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
1327 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
1328 | --psdir=DIR ps documentation [DOCDIR] |
---|
1329 | _ACEOF |
---|
1330 | |
---|
1331 | cat <<\_ACEOF |
---|
1332 | |
---|
1333 | Program names: |
---|
1334 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
1335 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
1336 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
---|
1337 | _ACEOF |
---|
1338 | fi |
---|
1339 | |
---|
1340 | if test -n "$ac_init_help"; then |
---|
1341 | case $ac_init_help in |
---|
1342 | short | recursive ) echo "Configuration of cfa-cc 1.0.0.0:";; |
---|
1343 | esac |
---|
1344 | cat <<\_ACEOF |
---|
1345 | |
---|
1346 | Optional Features: |
---|
1347 | --disable-option-checking ignore unrecognized --enable/--with options |
---|
1348 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
1349 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
1350 | --enable-silent-rules less verbose build output (undo: "make V=1") |
---|
1351 | --disable-silent-rules verbose build output (undo: "make V=0") |
---|
1352 | --enable-dependency-tracking |
---|
1353 | do not reject slow dependency extractors |
---|
1354 | --disable-dependency-tracking |
---|
1355 | speeds up one-time build |
---|
1356 | |
---|
1357 | Optional Packages: |
---|
1358 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
1359 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
1360 | --with-cfa-name=NAME NAME too which cfa will be installed |
---|
1361 | |
---|
1362 | Some influential environment variables: |
---|
1363 | ARCHITECTURE |
---|
1364 | The architecture to use when building libcfa |
---|
1365 | CONFIGURATION |
---|
1366 | The configuration to use when building libcfa, options are: |
---|
1367 | deubg, nodebug, nolib (prelude-only) |
---|
1368 | DRIVER_DIR The path to the cforall driver directory |
---|
1369 | CXX C++ compiler command |
---|
1370 | CXXFLAGS C++ compiler flags |
---|
1371 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
1372 | nonstandard directory <lib dir> |
---|
1373 | LIBS libraries to pass to the linker, e.g. -l<library> |
---|
1374 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
---|
1375 | you have headers in a nonstandard directory <include dir> |
---|
1376 | CC C compiler command |
---|
1377 | CFLAGS C compiler flags |
---|
1378 | CCAS assembler compiler command (defaults to CC) |
---|
1379 | CCASFLAGS assembler compiler flags (defaults to CFLAGS) |
---|
1380 | |
---|
1381 | Use these variables to override the choices made by `configure' or to help |
---|
1382 | it to find libraries and programs with nonstandard names/locations. |
---|
1383 | |
---|
1384 | Report bugs to <cforall@plg.uwaterloo.ca>. |
---|
1385 | _ACEOF |
---|
1386 | ac_status=$? |
---|
1387 | fi |
---|
1388 | |
---|
1389 | if test "$ac_init_help" = "recursive"; then |
---|
1390 | # If there are subdirs, report their specific --help. |
---|
1391 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
1392 | test -d "$ac_dir" || |
---|
1393 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
---|
1394 | continue |
---|
1395 | ac_builddir=. |
---|
1396 | |
---|
1397 | case "$ac_dir" in |
---|
1398 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1399 | *) |
---|
1400 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
1401 | # A ".." for each directory in $ac_dir_suffix. |
---|
1402 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
1403 | case $ac_top_builddir_sub in |
---|
1404 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1405 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
1406 | esac ;; |
---|
1407 | esac |
---|
1408 | ac_abs_top_builddir=$ac_pwd |
---|
1409 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
1410 | # for backward compatibility: |
---|
1411 | ac_top_builddir=$ac_top_build_prefix |
---|
1412 | |
---|
1413 | case $srcdir in |
---|
1414 | .) # We are building in place. |
---|
1415 | ac_srcdir=. |
---|
1416 | ac_top_srcdir=$ac_top_builddir_sub |
---|
1417 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
1418 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
1419 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
1420 | ac_top_srcdir=$srcdir |
---|
1421 | ac_abs_top_srcdir=$srcdir ;; |
---|
1422 | *) # Relative name. |
---|
1423 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
1424 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
1425 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
1426 | esac |
---|
1427 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
1428 | |
---|
1429 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
1430 | # Check for guested configure. |
---|
1431 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
1432 | echo && |
---|
1433 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
1434 | elif test -f "$ac_srcdir/configure"; then |
---|
1435 | echo && |
---|
1436 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
1437 | else |
---|
1438 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
1439 | fi || ac_status=$? |
---|
1440 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
1441 | done |
---|
1442 | fi |
---|
1443 | |
---|
1444 | test -n "$ac_init_help" && exit $ac_status |
---|
1445 | if $ac_init_version; then |
---|
1446 | cat <<\_ACEOF |
---|
1447 | cfa-cc configure 1.0.0.0 |
---|
1448 | generated by GNU Autoconf 2.69 |
---|
1449 | |
---|
1450 | Copyright (C) 2012 Free Software Foundation, Inc. |
---|
1451 | This configure script is free software; the Free Software Foundation |
---|
1452 | gives unlimited permission to copy, distribute and modify it. |
---|
1453 | _ACEOF |
---|
1454 | exit |
---|
1455 | fi |
---|
1456 | |
---|
1457 | ## ------------------------ ## |
---|
1458 | ## Autoconf initialization. ## |
---|
1459 | ## ------------------------ ## |
---|
1460 | |
---|
1461 | # ac_fn_cxx_try_compile LINENO |
---|
1462 | # ---------------------------- |
---|
1463 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
---|
1464 | ac_fn_cxx_try_compile () |
---|
1465 | { |
---|
1466 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1467 | rm -f conftest.$ac_objext |
---|
1468 | if { { ac_try="$ac_compile" |
---|
1469 | case "(($ac_try" in |
---|
1470 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1471 | *) ac_try_echo=$ac_try;; |
---|
1472 | esac |
---|
1473 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1474 | $as_echo "$ac_try_echo"; } >&5 |
---|
1475 | (eval "$ac_compile") 2>conftest.err |
---|
1476 | ac_status=$? |
---|
1477 | if test -s conftest.err; then |
---|
1478 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
1479 | cat conftest.er1 >&5 |
---|
1480 | mv -f conftest.er1 conftest.err |
---|
1481 | fi |
---|
1482 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1483 | test $ac_status = 0; } && { |
---|
1484 | test -z "$ac_cxx_werror_flag" || |
---|
1485 | test ! -s conftest.err |
---|
1486 | } && test -s conftest.$ac_objext; then : |
---|
1487 | ac_retval=0 |
---|
1488 | else |
---|
1489 | $as_echo "$as_me: failed program was:" >&5 |
---|
1490 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1491 | |
---|
1492 | ac_retval=1 |
---|
1493 | fi |
---|
1494 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1495 | as_fn_set_status $ac_retval |
---|
1496 | |
---|
1497 | } # ac_fn_cxx_try_compile |
---|
1498 | |
---|
1499 | # ac_fn_c_try_compile LINENO |
---|
1500 | # -------------------------- |
---|
1501 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
---|
1502 | ac_fn_c_try_compile () |
---|
1503 | { |
---|
1504 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1505 | rm -f conftest.$ac_objext |
---|
1506 | if { { ac_try="$ac_compile" |
---|
1507 | case "(($ac_try" in |
---|
1508 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1509 | *) ac_try_echo=$ac_try;; |
---|
1510 | esac |
---|
1511 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1512 | $as_echo "$ac_try_echo"; } >&5 |
---|
1513 | (eval "$ac_compile") 2>conftest.err |
---|
1514 | ac_status=$? |
---|
1515 | if test -s conftest.err; then |
---|
1516 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
1517 | cat conftest.er1 >&5 |
---|
1518 | mv -f conftest.er1 conftest.err |
---|
1519 | fi |
---|
1520 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1521 | test $ac_status = 0; } && { |
---|
1522 | test -z "$ac_c_werror_flag" || |
---|
1523 | test ! -s conftest.err |
---|
1524 | } && test -s conftest.$ac_objext; then : |
---|
1525 | ac_retval=0 |
---|
1526 | else |
---|
1527 | $as_echo "$as_me: failed program was:" >&5 |
---|
1528 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1529 | |
---|
1530 | ac_retval=1 |
---|
1531 | fi |
---|
1532 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1533 | as_fn_set_status $ac_retval |
---|
1534 | |
---|
1535 | } # ac_fn_c_try_compile |
---|
1536 | cat >config.log <<_ACEOF |
---|
1537 | This file contains any messages produced by compilers while |
---|
1538 | running configure, to aid debugging if configure makes a mistake. |
---|
1539 | |
---|
1540 | It was created by cfa-cc $as_me 1.0.0.0, which was |
---|
1541 | generated by GNU Autoconf 2.69. Invocation command line was |
---|
1542 | |
---|
1543 | $ $0 $@ |
---|
1544 | |
---|
1545 | _ACEOF |
---|
1546 | exec 5>>config.log |
---|
1547 | { |
---|
1548 | cat <<_ASUNAME |
---|
1549 | ## --------- ## |
---|
1550 | ## Platform. ## |
---|
1551 | ## --------- ## |
---|
1552 | |
---|
1553 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
1554 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
1555 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
1556 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
1557 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
1558 | |
---|
1559 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
1560 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
1561 | |
---|
1562 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
1563 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
1564 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
1565 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
1566 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
1567 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
1568 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
1569 | |
---|
1570 | _ASUNAME |
---|
1571 | |
---|
1572 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1573 | for as_dir in $PATH |
---|
1574 | do |
---|
1575 | IFS=$as_save_IFS |
---|
1576 | test -z "$as_dir" && as_dir=. |
---|
1577 | $as_echo "PATH: $as_dir" |
---|
1578 | done |
---|
1579 | IFS=$as_save_IFS |
---|
1580 | |
---|
1581 | } >&5 |
---|
1582 | |
---|
1583 | cat >&5 <<_ACEOF |
---|
1584 | |
---|
1585 | |
---|
1586 | ## ----------- ## |
---|
1587 | ## Core tests. ## |
---|
1588 | ## ----------- ## |
---|
1589 | |
---|
1590 | _ACEOF |
---|
1591 | |
---|
1592 | |
---|
1593 | # Keep a trace of the command line. |
---|
1594 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
1595 | # Strip out --silent because we don't want to record it for future runs. |
---|
1596 | # Also quote any args containing shell meta-characters. |
---|
1597 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
1598 | ac_configure_args= |
---|
1599 | ac_configure_args0= |
---|
1600 | ac_configure_args1= |
---|
1601 | ac_must_keep_next=false |
---|
1602 | for ac_pass in 1 2 |
---|
1603 | do |
---|
1604 | for ac_arg |
---|
1605 | do |
---|
1606 | case $ac_arg in |
---|
1607 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
1608 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1609 | | -silent | --silent | --silen | --sile | --sil) |
---|
1610 | continue ;; |
---|
1611 | *\'*) |
---|
1612 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1613 | esac |
---|
1614 | case $ac_pass in |
---|
1615 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
---|
1616 | 2) |
---|
1617 | as_fn_append ac_configure_args1 " '$ac_arg'" |
---|
1618 | if test $ac_must_keep_next = true; then |
---|
1619 | ac_must_keep_next=false # Got value, back to normal. |
---|
1620 | else |
---|
1621 | case $ac_arg in |
---|
1622 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
1623 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
1624 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
1625 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
1626 | case "$ac_configure_args0 " in |
---|
1627 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
1628 | esac |
---|
1629 | ;; |
---|
1630 | -* ) ac_must_keep_next=true ;; |
---|
1631 | esac |
---|
1632 | fi |
---|
1633 | as_fn_append ac_configure_args " '$ac_arg'" |
---|
1634 | ;; |
---|
1635 | esac |
---|
1636 | done |
---|
1637 | done |
---|
1638 | { ac_configure_args0=; unset ac_configure_args0;} |
---|
1639 | { ac_configure_args1=; unset ac_configure_args1;} |
---|
1640 | |
---|
1641 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
1642 | # config.log. We remove comments because anyway the quotes in there |
---|
1643 | # would cause problems or look ugly. |
---|
1644 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
1645 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
1646 | trap 'exit_status=$? |
---|
1647 | # Save into config.log some information that might help in debugging. |
---|
1648 | { |
---|
1649 | echo |
---|
1650 | |
---|
1651 | $as_echo "## ---------------- ## |
---|
1652 | ## Cache variables. ## |
---|
1653 | ## ---------------- ##" |
---|
1654 | echo |
---|
1655 | # The following way of writing the cache mishandles newlines in values, |
---|
1656 | ( |
---|
1657 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
1658 | eval ac_val=\$$ac_var |
---|
1659 | case $ac_val in #( |
---|
1660 | *${as_nl}*) |
---|
1661 | case $ac_var in #( |
---|
1662 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
1663 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
1664 | esac |
---|
1665 | case $ac_var in #( |
---|
1666 | _ | IFS | as_nl) ;; #( |
---|
1667 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
1668 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
1669 | esac ;; |
---|
1670 | esac |
---|
1671 | done |
---|
1672 | (set) 2>&1 | |
---|
1673 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
1674 | *${as_nl}ac_space=\ *) |
---|
1675 | sed -n \ |
---|
1676 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
1677 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
1678 | ;; #( |
---|
1679 | *) |
---|
1680 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
1681 | ;; |
---|
1682 | esac | |
---|
1683 | sort |
---|
1684 | ) |
---|
1685 | echo |
---|
1686 | |
---|
1687 | $as_echo "## ----------------- ## |
---|
1688 | ## Output variables. ## |
---|
1689 | ## ----------------- ##" |
---|
1690 | echo |
---|
1691 | for ac_var in $ac_subst_vars |
---|
1692 | do |
---|
1693 | eval ac_val=\$$ac_var |
---|
1694 | case $ac_val in |
---|
1695 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
1696 | esac |
---|
1697 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
1698 | done | sort |
---|
1699 | echo |
---|
1700 | |
---|
1701 | if test -n "$ac_subst_files"; then |
---|
1702 | $as_echo "## ------------------- ## |
---|
1703 | ## File substitutions. ## |
---|
1704 | ## ------------------- ##" |
---|
1705 | echo |
---|
1706 | for ac_var in $ac_subst_files |
---|
1707 | do |
---|
1708 | eval ac_val=\$$ac_var |
---|
1709 | case $ac_val in |
---|
1710 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
1711 | esac |
---|
1712 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
1713 | done | sort |
---|
1714 | echo |
---|
1715 | fi |
---|
1716 | |
---|
1717 | if test -s confdefs.h; then |
---|
1718 | $as_echo "## ----------- ## |
---|
1719 | ## confdefs.h. ## |
---|
1720 | ## ----------- ##" |
---|
1721 | echo |
---|
1722 | cat confdefs.h |
---|
1723 | echo |
---|
1724 | fi |
---|
1725 | test "$ac_signal" != 0 && |
---|
1726 | $as_echo "$as_me: caught signal $ac_signal" |
---|
1727 | $as_echo "$as_me: exit $exit_status" |
---|
1728 | } >&5 |
---|
1729 | rm -f core *.core core.conftest.* && |
---|
1730 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
1731 | exit $exit_status |
---|
1732 | ' 0 |
---|
1733 | for ac_signal in 1 2 13 15; do |
---|
1734 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
---|
1735 | done |
---|
1736 | ac_signal=0 |
---|
1737 | |
---|
1738 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
1739 | rm -f -r conftest* confdefs.h |
---|
1740 | |
---|
1741 | $as_echo "/* confdefs.h */" > confdefs.h |
---|
1742 | |
---|
1743 | # Predefined preprocessor variables. |
---|
1744 | |
---|
1745 | cat >>confdefs.h <<_ACEOF |
---|
1746 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
1747 | _ACEOF |
---|
1748 | |
---|
1749 | cat >>confdefs.h <<_ACEOF |
---|
1750 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
1751 | _ACEOF |
---|
1752 | |
---|
1753 | cat >>confdefs.h <<_ACEOF |
---|
1754 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
1755 | _ACEOF |
---|
1756 | |
---|
1757 | cat >>confdefs.h <<_ACEOF |
---|
1758 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
1759 | _ACEOF |
---|
1760 | |
---|
1761 | cat >>confdefs.h <<_ACEOF |
---|
1762 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
1763 | _ACEOF |
---|
1764 | |
---|
1765 | cat >>confdefs.h <<_ACEOF |
---|
1766 | #define PACKAGE_URL "$PACKAGE_URL" |
---|
1767 | _ACEOF |
---|
1768 | |
---|
1769 | |
---|
1770 | # Let the site file select an alternate cache file if it wants to. |
---|
1771 | # Prefer an explicitly selected file to automatically selected ones. |
---|
1772 | ac_site_file1=NONE |
---|
1773 | ac_site_file2=NONE |
---|
1774 | if test -n "$CONFIG_SITE"; then |
---|
1775 | # We do not want a PATH search for config.site. |
---|
1776 | case $CONFIG_SITE in #(( |
---|
1777 | -*) ac_site_file1=./$CONFIG_SITE;; |
---|
1778 | */*) ac_site_file1=$CONFIG_SITE;; |
---|
1779 | *) ac_site_file1=./$CONFIG_SITE;; |
---|
1780 | esac |
---|
1781 | elif test "x$prefix" != xNONE; then |
---|
1782 | ac_site_file1=$prefix/share/config.site |
---|
1783 | ac_site_file2=$prefix/etc/config.site |
---|
1784 | else |
---|
1785 | ac_site_file1=$ac_default_prefix/share/config.site |
---|
1786 | ac_site_file2=$ac_default_prefix/etc/config.site |
---|
1787 | fi |
---|
1788 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
---|
1789 | do |
---|
1790 | test "x$ac_site_file" = xNONE && continue |
---|
1791 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
---|
1792 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
---|
1793 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
1794 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
1795 | . "$ac_site_file" \ |
---|
1796 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
1797 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
1798 | as_fn_error $? "failed to load site script $ac_site_file |
---|
1799 | See \`config.log' for more details" "$LINENO" 5; } |
---|
1800 | fi |
---|
1801 | done |
---|
1802 | |
---|
1803 | if test -r "$cache_file"; then |
---|
1804 | # Some versions of bash will fail to source /dev/null (special files |
---|
1805 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
---|
1806 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
---|
1807 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
---|
1808 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
---|
1809 | case $cache_file in |
---|
1810 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
1811 | *) . "./$cache_file";; |
---|
1812 | esac |
---|
1813 | fi |
---|
1814 | else |
---|
1815 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
---|
1816 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
---|
1817 | >$cache_file |
---|
1818 | fi |
---|
1819 | |
---|
1820 | # Check that the precious variables saved in the cache have kept the same |
---|
1821 | # value. |
---|
1822 | ac_cache_corrupted=false |
---|
1823 | for ac_var in $ac_precious_vars; do |
---|
1824 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
1825 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
1826 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
1827 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
1828 | case $ac_old_set,$ac_new_set in |
---|
1829 | set,) |
---|
1830 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
1831 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
1832 | ac_cache_corrupted=: ;; |
---|
1833 | ,set) |
---|
1834 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
---|
1835 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
1836 | ac_cache_corrupted=: ;; |
---|
1837 | ,);; |
---|
1838 | *) |
---|
1839 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
1840 | # differences in whitespace do not lead to failure. |
---|
1841 | ac_old_val_w=`echo x $ac_old_val` |
---|
1842 | ac_new_val_w=`echo x $ac_new_val` |
---|
1843 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
---|
1844 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
1845 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
1846 | ac_cache_corrupted=: |
---|
1847 | else |
---|
1848 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
---|
1849 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
---|
1850 | eval $ac_var=\$ac_old_val |
---|
1851 | fi |
---|
1852 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
---|
1853 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
---|
1854 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
---|
1855 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
---|
1856 | fi;; |
---|
1857 | esac |
---|
1858 | # Pass precious variables to config.status. |
---|
1859 | if test "$ac_new_set" = set; then |
---|
1860 | case $ac_new_val in |
---|
1861 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1862 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
1863 | esac |
---|
1864 | case " $ac_configure_args " in |
---|
1865 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
1866 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
---|
1867 | esac |
---|
1868 | fi |
---|
1869 | done |
---|
1870 | if $ac_cache_corrupted; then |
---|
1871 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
1872 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
1873 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
---|
1874 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
1875 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
---|
1876 | fi |
---|
1877 | ## -------------------- ## |
---|
1878 | ## Main body of script. ## |
---|
1879 | ## -------------------- ## |
---|
1880 | |
---|
1881 | ac_ext=c |
---|
1882 | ac_cpp='$CPP $CPPFLAGS' |
---|
1883 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1884 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1885 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1886 | |
---|
1887 | |
---|
1888 | ac_aux_dir= |
---|
1889 | for ac_dir in ./automake "$srcdir"/./automake; do |
---|
1890 | if test -f "$ac_dir/install-sh"; then |
---|
1891 | ac_aux_dir=$ac_dir |
---|
1892 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
1893 | break |
---|
1894 | elif test -f "$ac_dir/install.sh"; then |
---|
1895 | ac_aux_dir=$ac_dir |
---|
1896 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
1897 | break |
---|
1898 | elif test -f "$ac_dir/shtool"; then |
---|
1899 | ac_aux_dir=$ac_dir |
---|
1900 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
1901 | break |
---|
1902 | fi |
---|
1903 | done |
---|
1904 | if test -z "$ac_aux_dir"; then |
---|
1905 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in ./automake \"$srcdir\"/./automake" "$LINENO" 5 |
---|
1906 | fi |
---|
1907 | |
---|
1908 | # These three variables are undocumented and unsupported, |
---|
1909 | # and are intended to be withdrawn in a future Autoconf release. |
---|
1910 | # They can cause serious problems if a builder's source tree is in a directory |
---|
1911 | # whose full name contains unusual characters. |
---|
1912 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
---|
1913 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
---|
1914 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
---|
1915 | |
---|
1916 | |
---|
1917 | # Check whether --enable-silent-rules was given. |
---|
1918 | if test "${enable_silent_rules+set}" = set; then : |
---|
1919 | enableval=$enable_silent_rules; |
---|
1920 | fi |
---|
1921 | |
---|
1922 | case $enable_silent_rules in # ((( |
---|
1923 | yes) AM_DEFAULT_VERBOSITY=0;; |
---|
1924 | no) AM_DEFAULT_VERBOSITY=1;; |
---|
1925 | *) AM_DEFAULT_VERBOSITY=0;; |
---|
1926 | esac |
---|
1927 | am_make=${MAKE-make} |
---|
1928 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
---|
1929 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
---|
1930 | if ${am_cv_make_support_nested_variables+:} false; then : |
---|
1931 | $as_echo_n "(cached) " >&6 |
---|
1932 | else |
---|
1933 | if $as_echo 'TRUE=$(BAR$(V)) |
---|
1934 | BAR0=false |
---|
1935 | BAR1=true |
---|
1936 | V=1 |
---|
1937 | am__doit: |
---|
1938 | @$(TRUE) |
---|
1939 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
---|
1940 | am_cv_make_support_nested_variables=yes |
---|
1941 | else |
---|
1942 | am_cv_make_support_nested_variables=no |
---|
1943 | fi |
---|
1944 | fi |
---|
1945 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
---|
1946 | $as_echo "$am_cv_make_support_nested_variables" >&6; } |
---|
1947 | if test $am_cv_make_support_nested_variables = yes; then |
---|
1948 | AM_V='$(V)' |
---|
1949 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
---|
1950 | else |
---|
1951 | AM_V=$AM_DEFAULT_VERBOSITY |
---|
1952 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
---|
1953 | fi |
---|
1954 | AM_BACKSLASH='\' |
---|
1955 | |
---|
1956 | |
---|
1957 | |
---|
1958 | |
---|
1959 | |
---|
1960 | |
---|
1961 | |
---|
1962 | |
---|
1963 | |
---|
1964 | |
---|
1965 | am__api_version='1.15' |
---|
1966 | |
---|
1967 | # Find a good install program. We prefer a C program (faster), |
---|
1968 | # so one script is as good as another. But avoid the broken or |
---|
1969 | # incompatible versions: |
---|
1970 | # SysV /etc/install, /usr/sbin/install |
---|
1971 | # SunOS /usr/etc/install |
---|
1972 | # IRIX /sbin/install |
---|
1973 | # AIX /bin/install |
---|
1974 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
1975 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
1976 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
1977 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
1978 | # OS/2's system install, which has a completely different semantic |
---|
1979 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
1980 | # Reject install programs that cannot install multiple files. |
---|
1981 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
---|
1982 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
---|
1983 | if test -z "$INSTALL"; then |
---|
1984 | if ${ac_cv_path_install+:} false; then : |
---|
1985 | $as_echo_n "(cached) " >&6 |
---|
1986 | else |
---|
1987 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1988 | for as_dir in $PATH |
---|
1989 | do |
---|
1990 | IFS=$as_save_IFS |
---|
1991 | test -z "$as_dir" && as_dir=. |
---|
1992 | # Account for people who put trailing slashes in PATH elements. |
---|
1993 | case $as_dir/ in #(( |
---|
1994 | ./ | .// | /[cC]/* | \ |
---|
1995 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
1996 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
---|
1997 | /usr/ucb/* ) ;; |
---|
1998 | *) |
---|
1999 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
2000 | # Don't use installbsd from OSF since it installs stuff as root |
---|
2001 | # by default. |
---|
2002 | for ac_prog in ginstall scoinst install; do |
---|
2003 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2004 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
---|
2005 | if test $ac_prog = install && |
---|
2006 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
2007 | # AIX install. It has an incompatible calling convention. |
---|
2008 | : |
---|
2009 | elif test $ac_prog = install && |
---|
2010 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
2011 | # program-specific install script used by HP pwplus--don't use. |
---|
2012 | : |
---|
2013 | else |
---|
2014 | rm -rf conftest.one conftest.two conftest.dir |
---|
2015 | echo one > conftest.one |
---|
2016 | echo two > conftest.two |
---|
2017 | mkdir conftest.dir |
---|
2018 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
---|
2019 | test -s conftest.one && test -s conftest.two && |
---|
2020 | test -s conftest.dir/conftest.one && |
---|
2021 | test -s conftest.dir/conftest.two |
---|
2022 | then |
---|
2023 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
2024 | break 3 |
---|
2025 | fi |
---|
2026 | fi |
---|
2027 | fi |
---|
2028 | done |
---|
2029 | done |
---|
2030 | ;; |
---|
2031 | esac |
---|
2032 | |
---|
2033 | done |
---|
2034 | IFS=$as_save_IFS |
---|
2035 | |
---|
2036 | rm -rf conftest.one conftest.two conftest.dir |
---|
2037 | |
---|
2038 | fi |
---|
2039 | if test "${ac_cv_path_install+set}" = set; then |
---|
2040 | INSTALL=$ac_cv_path_install |
---|
2041 | else |
---|
2042 | # As a last resort, use the slow shell script. Don't cache a |
---|
2043 | # value for INSTALL within a source directory, because that will |
---|
2044 | # break other packages using the cache if that directory is |
---|
2045 | # removed, or if the value is a relative name. |
---|
2046 | INSTALL=$ac_install_sh |
---|
2047 | fi |
---|
2048 | fi |
---|
2049 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
---|
2050 | $as_echo "$INSTALL" >&6; } |
---|
2051 | |
---|
2052 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
2053 | # It thinks the first close brace ends the variable substitution. |
---|
2054 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
2055 | |
---|
2056 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
2057 | |
---|
2058 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
2059 | |
---|
2060 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
---|
2061 | $as_echo_n "checking whether build environment is sane... " >&6; } |
---|
2062 | # Reject unsafe characters in $srcdir or the absolute working directory |
---|
2063 | # name. Accept space and tab only in the latter. |
---|
2064 | am_lf=' |
---|
2065 | ' |
---|
2066 | case `pwd` in |
---|
2067 | *[\\\"\#\$\&\'\`$am_lf]*) |
---|
2068 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
---|
2069 | esac |
---|
2070 | case $srcdir in |
---|
2071 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
---|
2072 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
---|
2073 | esac |
---|
2074 | |
---|
2075 | # Do 'set' in a subshell so we don't clobber the current shell's |
---|
2076 | # arguments. Must try -L first in case configure is actually a |
---|
2077 | # symlink; some systems play weird games with the mod time of symlinks |
---|
2078 | # (eg FreeBSD returns the mod time of the symlink's containing |
---|
2079 | # directory). |
---|
2080 | if ( |
---|
2081 | am_has_slept=no |
---|
2082 | for am_try in 1 2; do |
---|
2083 | echo "timestamp, slept: $am_has_slept" > conftest.file |
---|
2084 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
---|
2085 | if test "$*" = "X"; then |
---|
2086 | # -L didn't work. |
---|
2087 | set X `ls -t "$srcdir/configure" conftest.file` |
---|
2088 | fi |
---|
2089 | if test "$*" != "X $srcdir/configure conftest.file" \ |
---|
2090 | && test "$*" != "X conftest.file $srcdir/configure"; then |
---|
2091 | |
---|
2092 | # If neither matched, then we have a broken ls. This can happen |
---|
2093 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
---|
2094 | # broken ls alias from the environment. This has actually |
---|
2095 | # happened. Such a system could not be considered "sane". |
---|
2096 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
---|
2097 | alias in your environment" "$LINENO" 5 |
---|
2098 | fi |
---|
2099 | if test "$2" = conftest.file || test $am_try -eq 2; then |
---|
2100 | break |
---|
2101 | fi |
---|
2102 | # Just in case. |
---|
2103 | sleep 1 |
---|
2104 | am_has_slept=yes |
---|
2105 | done |
---|
2106 | test "$2" = conftest.file |
---|
2107 | ) |
---|
2108 | then |
---|
2109 | # Ok. |
---|
2110 | : |
---|
2111 | else |
---|
2112 | as_fn_error $? "newly created file is older than distributed files! |
---|
2113 | Check your system clock" "$LINENO" 5 |
---|
2114 | fi |
---|
2115 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
2116 | $as_echo "yes" >&6; } |
---|
2117 | # If we didn't sleep, we still need to ensure time stamps of config.status and |
---|
2118 | # generated files are strictly newer. |
---|
2119 | am_sleep_pid= |
---|
2120 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
---|
2121 | ( sleep 1 ) & |
---|
2122 | am_sleep_pid=$! |
---|
2123 | fi |
---|
2124 | |
---|
2125 | rm -f conftest.file |
---|
2126 | |
---|
2127 | test "$program_prefix" != NONE && |
---|
2128 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
---|
2129 | # Use a double $ so make ignores it. |
---|
2130 | test "$program_suffix" != NONE && |
---|
2131 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
---|
2132 | # Double any \ or $. |
---|
2133 | # By default was `s,x,x', remove it if useless. |
---|
2134 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
---|
2135 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
---|
2136 | |
---|
2137 | # Expand $ac_aux_dir to an absolute path. |
---|
2138 | am_aux_dir=`cd "$ac_aux_dir" && pwd` |
---|
2139 | |
---|
2140 | if test x"${MISSING+set}" != xset; then |
---|
2141 | case $am_aux_dir in |
---|
2142 | *\ * | *\ *) |
---|
2143 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
---|
2144 | *) |
---|
2145 | MISSING="\${SHELL} $am_aux_dir/missing" ;; |
---|
2146 | esac |
---|
2147 | fi |
---|
2148 | # Use eval to expand $SHELL |
---|
2149 | if eval "$MISSING --is-lightweight"; then |
---|
2150 | am_missing_run="$MISSING " |
---|
2151 | else |
---|
2152 | am_missing_run= |
---|
2153 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
---|
2154 | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
---|
2155 | fi |
---|
2156 | |
---|
2157 | if test x"${install_sh+set}" != xset; then |
---|
2158 | case $am_aux_dir in |
---|
2159 | *\ * | *\ *) |
---|
2160 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
---|
2161 | *) |
---|
2162 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
---|
2163 | esac |
---|
2164 | fi |
---|
2165 | |
---|
2166 | # Installed binaries are usually stripped using 'strip' when the user |
---|
2167 | # run "make install-strip". However 'strip' might not be the right |
---|
2168 | # tool to use in cross-compilation environments, therefore Automake |
---|
2169 | # will honor the 'STRIP' environment variable to overrule this program. |
---|
2170 | if test "$cross_compiling" != no; then |
---|
2171 | if test -n "$ac_tool_prefix"; then |
---|
2172 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
---|
2173 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
---|
2174 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2175 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2176 | if ${ac_cv_prog_STRIP+:} false; then : |
---|
2177 | $as_echo_n "(cached) " >&6 |
---|
2178 | else |
---|
2179 | if test -n "$STRIP"; then |
---|
2180 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
---|
2181 | else |
---|
2182 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2183 | for as_dir in $PATH |
---|
2184 | do |
---|
2185 | IFS=$as_save_IFS |
---|
2186 | test -z "$as_dir" && as_dir=. |
---|
2187 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2188 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2189 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
---|
2190 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2191 | break 2 |
---|
2192 | fi |
---|
2193 | done |
---|
2194 | done |
---|
2195 | IFS=$as_save_IFS |
---|
2196 | |
---|
2197 | fi |
---|
2198 | fi |
---|
2199 | STRIP=$ac_cv_prog_STRIP |
---|
2200 | if test -n "$STRIP"; then |
---|
2201 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
---|
2202 | $as_echo "$STRIP" >&6; } |
---|
2203 | else |
---|
2204 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2205 | $as_echo "no" >&6; } |
---|
2206 | fi |
---|
2207 | |
---|
2208 | |
---|
2209 | fi |
---|
2210 | if test -z "$ac_cv_prog_STRIP"; then |
---|
2211 | ac_ct_STRIP=$STRIP |
---|
2212 | # Extract the first word of "strip", so it can be a program name with args. |
---|
2213 | set dummy strip; ac_word=$2 |
---|
2214 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2215 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2216 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
---|
2217 | $as_echo_n "(cached) " >&6 |
---|
2218 | else |
---|
2219 | if test -n "$ac_ct_STRIP"; then |
---|
2220 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
---|
2221 | else |
---|
2222 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2223 | for as_dir in $PATH |
---|
2224 | do |
---|
2225 | IFS=$as_save_IFS |
---|
2226 | test -z "$as_dir" && as_dir=. |
---|
2227 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2228 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2229 | ac_cv_prog_ac_ct_STRIP="strip" |
---|
2230 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2231 | break 2 |
---|
2232 | fi |
---|
2233 | done |
---|
2234 | done |
---|
2235 | IFS=$as_save_IFS |
---|
2236 | |
---|
2237 | fi |
---|
2238 | fi |
---|
2239 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
---|
2240 | if test -n "$ac_ct_STRIP"; then |
---|
2241 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
---|
2242 | $as_echo "$ac_ct_STRIP" >&6; } |
---|
2243 | else |
---|
2244 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2245 | $as_echo "no" >&6; } |
---|
2246 | fi |
---|
2247 | |
---|
2248 | if test "x$ac_ct_STRIP" = x; then |
---|
2249 | STRIP=":" |
---|
2250 | else |
---|
2251 | case $cross_compiling:$ac_tool_warned in |
---|
2252 | yes:) |
---|
2253 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
2254 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
2255 | ac_tool_warned=yes ;; |
---|
2256 | esac |
---|
2257 | STRIP=$ac_ct_STRIP |
---|
2258 | fi |
---|
2259 | else |
---|
2260 | STRIP="$ac_cv_prog_STRIP" |
---|
2261 | fi |
---|
2262 | |
---|
2263 | fi |
---|
2264 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
---|
2265 | |
---|
2266 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
---|
2267 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
---|
2268 | if test -z "$MKDIR_P"; then |
---|
2269 | if ${ac_cv_path_mkdir+:} false; then : |
---|
2270 | $as_echo_n "(cached) " >&6 |
---|
2271 | else |
---|
2272 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2273 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
---|
2274 | do |
---|
2275 | IFS=$as_save_IFS |
---|
2276 | test -z "$as_dir" && as_dir=. |
---|
2277 | for ac_prog in mkdir gmkdir; do |
---|
2278 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2279 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
---|
2280 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
---|
2281 | 'mkdir (GNU coreutils) '* | \ |
---|
2282 | 'mkdir (coreutils) '* | \ |
---|
2283 | 'mkdir (fileutils) '4.1*) |
---|
2284 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
---|
2285 | break 3;; |
---|
2286 | esac |
---|
2287 | done |
---|
2288 | done |
---|
2289 | done |
---|
2290 | IFS=$as_save_IFS |
---|
2291 | |
---|
2292 | fi |
---|
2293 | |
---|
2294 | test -d ./--version && rmdir ./--version |
---|
2295 | if test "${ac_cv_path_mkdir+set}" = set; then |
---|
2296 | MKDIR_P="$ac_cv_path_mkdir -p" |
---|
2297 | else |
---|
2298 | # As a last resort, use the slow shell script. Don't cache a |
---|
2299 | # value for MKDIR_P within a source directory, because that will |
---|
2300 | # break other packages using the cache if that directory is |
---|
2301 | # removed, or if the value is a relative name. |
---|
2302 | MKDIR_P="$ac_install_sh -d" |
---|
2303 | fi |
---|
2304 | fi |
---|
2305 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
---|
2306 | $as_echo "$MKDIR_P" >&6; } |
---|
2307 | |
---|
2308 | for ac_prog in gawk mawk nawk awk |
---|
2309 | do |
---|
2310 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
2311 | set dummy $ac_prog; ac_word=$2 |
---|
2312 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2313 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2314 | if ${ac_cv_prog_AWK+:} false; then : |
---|
2315 | $as_echo_n "(cached) " >&6 |
---|
2316 | else |
---|
2317 | if test -n "$AWK"; then |
---|
2318 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
---|
2319 | else |
---|
2320 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2321 | for as_dir in $PATH |
---|
2322 | do |
---|
2323 | IFS=$as_save_IFS |
---|
2324 | test -z "$as_dir" && as_dir=. |
---|
2325 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2326 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2327 | ac_cv_prog_AWK="$ac_prog" |
---|
2328 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2329 | break 2 |
---|
2330 | fi |
---|
2331 | done |
---|
2332 | done |
---|
2333 | IFS=$as_save_IFS |
---|
2334 | |
---|
2335 | fi |
---|
2336 | fi |
---|
2337 | AWK=$ac_cv_prog_AWK |
---|
2338 | if test -n "$AWK"; then |
---|
2339 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
---|
2340 | $as_echo "$AWK" >&6; } |
---|
2341 | else |
---|
2342 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2343 | $as_echo "no" >&6; } |
---|
2344 | fi |
---|
2345 | |
---|
2346 | |
---|
2347 | test -n "$AWK" && break |
---|
2348 | done |
---|
2349 | |
---|
2350 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
---|
2351 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
---|
2352 | set x ${MAKE-make} |
---|
2353 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
---|
2354 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
---|
2355 | $as_echo_n "(cached) " >&6 |
---|
2356 | else |
---|
2357 | cat >conftest.make <<\_ACEOF |
---|
2358 | SHELL = /bin/sh |
---|
2359 | all: |
---|
2360 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
---|
2361 | _ACEOF |
---|
2362 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
---|
2363 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
---|
2364 | *@@@%%%=?*=@@@%%%*) |
---|
2365 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
---|
2366 | *) |
---|
2367 | eval ac_cv_prog_make_${ac_make}_set=no;; |
---|
2368 | esac |
---|
2369 | rm -f conftest.make |
---|
2370 | fi |
---|
2371 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
---|
2372 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
2373 | $as_echo "yes" >&6; } |
---|
2374 | SET_MAKE= |
---|
2375 | else |
---|
2376 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2377 | $as_echo "no" >&6; } |
---|
2378 | SET_MAKE="MAKE=${MAKE-make}" |
---|
2379 | fi |
---|
2380 | |
---|
2381 | rm -rf .tst 2>/dev/null |
---|
2382 | mkdir .tst 2>/dev/null |
---|
2383 | if test -d .tst; then |
---|
2384 | am__leading_dot=. |
---|
2385 | else |
---|
2386 | am__leading_dot=_ |
---|
2387 | fi |
---|
2388 | rmdir .tst 2>/dev/null |
---|
2389 | |
---|
2390 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
---|
2391 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
---|
2392 | # is not polluted with repeated "-I." |
---|
2393 | am__isrc=' -I$(srcdir)' |
---|
2394 | # test to see if srcdir already configured |
---|
2395 | if test -f $srcdir/config.status; then |
---|
2396 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
---|
2397 | fi |
---|
2398 | fi |
---|
2399 | |
---|
2400 | # test whether we have cygpath |
---|
2401 | if test -z "$CYGPATH_W"; then |
---|
2402 | if (cygpath --version) >/dev/null 2>/dev/null; then |
---|
2403 | CYGPATH_W='cygpath -w' |
---|
2404 | else |
---|
2405 | CYGPATH_W=echo |
---|
2406 | fi |
---|
2407 | fi |
---|
2408 | |
---|
2409 | |
---|
2410 | # Define the identity of the package. |
---|
2411 | PACKAGE='cfa-cc' |
---|
2412 | VERSION='1.0.0.0' |
---|
2413 | |
---|
2414 | |
---|
2415 | cat >>confdefs.h <<_ACEOF |
---|
2416 | #define PACKAGE "$PACKAGE" |
---|
2417 | _ACEOF |
---|
2418 | |
---|
2419 | |
---|
2420 | cat >>confdefs.h <<_ACEOF |
---|
2421 | #define VERSION "$VERSION" |
---|
2422 | _ACEOF |
---|
2423 | |
---|
2424 | # Some tools Automake needs. |
---|
2425 | |
---|
2426 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
---|
2427 | |
---|
2428 | |
---|
2429 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
---|
2430 | |
---|
2431 | |
---|
2432 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
---|
2433 | |
---|
2434 | |
---|
2435 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
---|
2436 | |
---|
2437 | |
---|
2438 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
---|
2439 | |
---|
2440 | # For better backward compatibility. To be removed once Automake 1.9.x |
---|
2441 | # dies out for good. For more background, see: |
---|
2442 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
---|
2443 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
---|
2444 | mkdir_p='$(MKDIR_P)' |
---|
2445 | |
---|
2446 | # We need awk for the "check" target (and possibly the TAP driver). The |
---|
2447 | # system "awk" is bad on some platforms. |
---|
2448 | # Always define AMTAR for backward compatibility. Yes, it's still used |
---|
2449 | # in the wild :-( We should find a proper way to deprecate it ... |
---|
2450 | AMTAR='$${TAR-tar}' |
---|
2451 | |
---|
2452 | |
---|
2453 | # We'll loop over all known methods to create a tar archive until one works. |
---|
2454 | _am_tools='gnutar pax cpio none' |
---|
2455 | |
---|
2456 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
---|
2457 | |
---|
2458 | |
---|
2459 | |
---|
2460 | |
---|
2461 | |
---|
2462 | |
---|
2463 | # POSIX will say in a future version that running "rm -f" with no argument |
---|
2464 | # is OK; and we want to be able to make that assumption in our Makefile |
---|
2465 | # recipes. So use an aggressive probe to check that the usage we want is |
---|
2466 | # actually supported "in the wild" to an acceptable degree. |
---|
2467 | # See automake bug#10828. |
---|
2468 | # To make any issue more visible, cause the running configure to be aborted |
---|
2469 | # by default if the 'rm' program in use doesn't match our expectations; the |
---|
2470 | # user can still override this though. |
---|
2471 | if rm -f && rm -fr && rm -rf; then : OK; else |
---|
2472 | cat >&2 <<'END' |
---|
2473 | Oops! |
---|
2474 | |
---|
2475 | Your 'rm' program seems unable to run without file operands specified |
---|
2476 | on the command line, even when the '-f' option is present. This is contrary |
---|
2477 | to the behaviour of most rm programs out there, and not conforming with |
---|
2478 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
---|
2479 | |
---|
2480 | Please tell bug-automake@gnu.org about your system, including the value |
---|
2481 | of your $PATH and any error possibly output before this message. This |
---|
2482 | can help us improve future automake versions. |
---|
2483 | |
---|
2484 | END |
---|
2485 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
---|
2486 | echo 'Configuration will proceed anyway, since you have set the' >&2 |
---|
2487 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
---|
2488 | echo >&2 |
---|
2489 | else |
---|
2490 | cat >&2 <<'END' |
---|
2491 | Aborting the configuration process, to ensure you take notice of the issue. |
---|
2492 | |
---|
2493 | You can download and install GNU coreutils to get an 'rm' implementation |
---|
2494 | that behaves properly: <http://www.gnu.org/software/coreutils/>. |
---|
2495 | |
---|
2496 | If you want to complete the configuration process using your problematic |
---|
2497 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
---|
2498 | to "yes", and re-run configure. |
---|
2499 | |
---|
2500 | END |
---|
2501 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
---|
2502 | fi |
---|
2503 | fi |
---|
2504 | |
---|
2505 | |
---|
2506 | # don't use the default CFLAGS as they unconditonnaly add -O2 |
---|
2507 | : ${CFLAGS=""} |
---|
2508 | |
---|
2509 | # Allow program name tansformation |
---|
2510 | # will fill program_transform_name with appropriate sed regex |
---|
2511 | |
---|
2512 | |
---|
2513 | |
---|
2514 | |
---|
2515 | |
---|
2516 | |
---|
2517 | CFACC=${DRIVER_DIR}cfa |
---|
2518 | CFACPP=${DRIVER_DIR}cfa-cpp |
---|
2519 | |
---|
2520 | |
---|
2521 | |
---|
2522 | #============================================================================== |
---|
2523 | #Handle specific flags |
---|
2524 | case $ARCHITECTURE in |
---|
2525 | "x64" ) ARCH_FLAGS="-m64";; |
---|
2526 | "x86" ) ARCH_FLAGS="-m32";; |
---|
2527 | "arm" ) ARCH_FLAGS="";; |
---|
2528 | esac |
---|
2529 | |
---|
2530 | |
---|
2531 | |
---|
2532 | case $CONFIGURATION in |
---|
2533 | "debug" ) |
---|
2534 | CONFIG_CFLAGS="-O0 -g" |
---|
2535 | CONFIG_CFAFLAGS="-debug" |
---|
2536 | CONFIG_BUILDLIB="yes" |
---|
2537 | ;; |
---|
2538 | "nodebug" ) |
---|
2539 | CONFIG_CFLAGS="-O2 -s" |
---|
2540 | CONFIG_CFAFLAGS="-nodebug" |
---|
2541 | CONFIG_BUILDLIB="yes" |
---|
2542 | ;; |
---|
2543 | "nolib" ) |
---|
2544 | CONFIG_CFLAGS="-O2 -s" |
---|
2545 | CONFIG_CFAFLAGS="-nodebug" |
---|
2546 | CONFIG_BUILDLIB="no" |
---|
2547 | ;; |
---|
2548 | esac |
---|
2549 | |
---|
2550 | |
---|
2551 | |
---|
2552 | |
---|
2553 | |
---|
2554 | if test "x${CONFIG_BUILDLIB}" = "xyes"; then |
---|
2555 | BUILDLIB_TRUE= |
---|
2556 | BUILDLIB_FALSE='#' |
---|
2557 | else |
---|
2558 | BUILDLIB_TRUE='#' |
---|
2559 | BUILDLIB_FALSE= |
---|
2560 | fi |
---|
2561 | |
---|
2562 | |
---|
2563 | #============================================================================== |
---|
2564 | #Trasforming cc1 will break compilation |
---|
2565 | |
---|
2566 | if test "${program_transform_name}" = ""; then |
---|
2567 | as_fn_error $? "Program transform not supported. |
---|
2568 | Use --with-cfa-name='[Desired name here]' instead" "$LINENO" 5 |
---|
2569 | fi |
---|
2570 | |
---|
2571 | #Define the new name of the installed command |
---|
2572 | |
---|
2573 | # Check whether --with-cfa-name was given. |
---|
2574 | if test "${with_cfa_name+set}" = set; then : |
---|
2575 | withval=$with_cfa_name; cfa_name=$withval |
---|
2576 | else |
---|
2577 | cfa_name="cfa" |
---|
2578 | fi |
---|
2579 | |
---|
2580 | |
---|
2581 | CFA_NAME=${cfa_name} |
---|
2582 | |
---|
2583 | |
---|
2584 | |
---|
2585 | #============================================================================== |
---|
2586 | # Installation paths |
---|
2587 | |
---|
2588 | if test "x$prefix" = "xNONE"; then |
---|
2589 | cfa_prefix=${ac_default_prefix} |
---|
2590 | else |
---|
2591 | cfa_prefix=${prefix} |
---|
2592 | fi |
---|
2593 | cfa_prefix="$(readlink -m ${cfa_prefix})/" |
---|
2594 | |
---|
2595 | cat >>confdefs.h <<_ACEOF |
---|
2596 | #define CFA_PREFIX "${cfa_prefix}" |
---|
2597 | _ACEOF |
---|
2598 | |
---|
2599 | CFA_PREFIX=${cfa_prefix} |
---|
2600 | |
---|
2601 | |
---|
2602 | if test "$includedir" = '${prefix}/include'; then |
---|
2603 | cfa_incdir="${cfa_prefix}include/${cfa_name}" |
---|
2604 | else |
---|
2605 | cfa_incdir=${includedir} |
---|
2606 | fi |
---|
2607 | cfa_incdir="$(readlink -m ${cfa_incdir})/" |
---|
2608 | |
---|
2609 | cat >>confdefs.h <<_ACEOF |
---|
2610 | #define CFA_INCDIR "${cfa_incdir}" |
---|
2611 | _ACEOF |
---|
2612 | |
---|
2613 | CFA_INCDIR=${cfa_incdir} |
---|
2614 | |
---|
2615 | |
---|
2616 | if test "$bindir" = '${exec_prefix}/bin'; then |
---|
2617 | cfa_bindir="${cfa_prefix}bin" |
---|
2618 | else |
---|
2619 | cfa_bindir=${bindir} |
---|
2620 | fi |
---|
2621 | cfa_bindir="$(readlink -m ${cfa_bindir})/" |
---|
2622 | |
---|
2623 | cat >>confdefs.h <<_ACEOF |
---|
2624 | #define CFA_BINDIR "${cfa_bindir}" |
---|
2625 | _ACEOF |
---|
2626 | |
---|
2627 | CFA_BINDIR=${cfa_bindir} |
---|
2628 | |
---|
2629 | |
---|
2630 | if test "$libdir" = '${exec_prefix}/lib'; then |
---|
2631 | if test "${ARCHITECTURE}" != ""; then |
---|
2632 | cfa_libdir="${cfa_prefix}lib/${cfa_name}/${ARCHITECTURE}-${CONFIGURATION}/" |
---|
2633 | else |
---|
2634 | cfa_libdir="${cfa_prefix}lib/${cfa_name}/" |
---|
2635 | fi |
---|
2636 | else |
---|
2637 | cfa_libdir="${libdir}/${ARCHITECTURE}${CONFIGURATION}" |
---|
2638 | fi |
---|
2639 | cfa_libdir="$(readlink -m ${cfa_libdir})/" |
---|
2640 | |
---|
2641 | cat >>confdefs.h <<_ACEOF |
---|
2642 | #define CFA_LIBDIR "${cfa_libdir}" |
---|
2643 | _ACEOF |
---|
2644 | |
---|
2645 | CFA_LIBDIR=${cfa_libdir} |
---|
2646 | |
---|
2647 | |
---|
2648 | |
---|
2649 | # Checks for programs. |
---|
2650 | ac_ext=cpp |
---|
2651 | ac_cpp='$CXXCPP $CPPFLAGS' |
---|
2652 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2653 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2654 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
---|
2655 | if test -z "$CXX"; then |
---|
2656 | if test -n "$CCC"; then |
---|
2657 | CXX=$CCC |
---|
2658 | else |
---|
2659 | if test -n "$ac_tool_prefix"; then |
---|
2660 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
---|
2661 | do |
---|
2662 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
2663 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
2664 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2665 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2666 | if ${ac_cv_prog_CXX+:} false; then : |
---|
2667 | $as_echo_n "(cached) " >&6 |
---|
2668 | else |
---|
2669 | if test -n "$CXX"; then |
---|
2670 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
---|
2671 | else |
---|
2672 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2673 | for as_dir in $PATH |
---|
2674 | do |
---|
2675 | IFS=$as_save_IFS |
---|
2676 | test -z "$as_dir" && as_dir=. |
---|
2677 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2678 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2679 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
---|
2680 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2681 | break 2 |
---|
2682 | fi |
---|
2683 | done |
---|
2684 | done |
---|
2685 | IFS=$as_save_IFS |
---|
2686 | |
---|
2687 | fi |
---|
2688 | fi |
---|
2689 | CXX=$ac_cv_prog_CXX |
---|
2690 | if test -n "$CXX"; then |
---|
2691 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
---|
2692 | $as_echo "$CXX" >&6; } |
---|
2693 | else |
---|
2694 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2695 | $as_echo "no" >&6; } |
---|
2696 | fi |
---|
2697 | |
---|
2698 | |
---|
2699 | test -n "$CXX" && break |
---|
2700 | done |
---|
2701 | fi |
---|
2702 | if test -z "$CXX"; then |
---|
2703 | ac_ct_CXX=$CXX |
---|
2704 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
---|
2705 | do |
---|
2706 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
2707 | set dummy $ac_prog; ac_word=$2 |
---|
2708 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2709 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2710 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
---|
2711 | $as_echo_n "(cached) " >&6 |
---|
2712 | else |
---|
2713 | if test -n "$ac_ct_CXX"; then |
---|
2714 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
---|
2715 | else |
---|
2716 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2717 | for as_dir in $PATH |
---|
2718 | do |
---|
2719 | IFS=$as_save_IFS |
---|
2720 | test -z "$as_dir" && as_dir=. |
---|
2721 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2722 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2723 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
---|
2724 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2725 | break 2 |
---|
2726 | fi |
---|
2727 | done |
---|
2728 | done |
---|
2729 | IFS=$as_save_IFS |
---|
2730 | |
---|
2731 | fi |
---|
2732 | fi |
---|
2733 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
---|
2734 | if test -n "$ac_ct_CXX"; then |
---|
2735 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
---|
2736 | $as_echo "$ac_ct_CXX" >&6; } |
---|
2737 | else |
---|
2738 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2739 | $as_echo "no" >&6; } |
---|
2740 | fi |
---|
2741 | |
---|
2742 | |
---|
2743 | test -n "$ac_ct_CXX" && break |
---|
2744 | done |
---|
2745 | |
---|
2746 | if test "x$ac_ct_CXX" = x; then |
---|
2747 | CXX="g++" |
---|
2748 | else |
---|
2749 | case $cross_compiling:$ac_tool_warned in |
---|
2750 | yes:) |
---|
2751 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
2752 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
2753 | ac_tool_warned=yes ;; |
---|
2754 | esac |
---|
2755 | CXX=$ac_ct_CXX |
---|
2756 | fi |
---|
2757 | fi |
---|
2758 | |
---|
2759 | fi |
---|
2760 | fi |
---|
2761 | # Provide some information about the compiler. |
---|
2762 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
---|
2763 | set X $ac_compile |
---|
2764 | ac_compiler=$2 |
---|
2765 | for ac_option in --version -v -V -qversion; do |
---|
2766 | { { ac_try="$ac_compiler $ac_option >&5" |
---|
2767 | case "(($ac_try" in |
---|
2768 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2769 | *) ac_try_echo=$ac_try;; |
---|
2770 | esac |
---|
2771 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
2772 | $as_echo "$ac_try_echo"; } >&5 |
---|
2773 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
---|
2774 | ac_status=$? |
---|
2775 | if test -s conftest.err; then |
---|
2776 | sed '10a\ |
---|
2777 | ... rest of stderr output deleted ... |
---|
2778 | 10q' conftest.err >conftest.er1 |
---|
2779 | cat conftest.er1 >&5 |
---|
2780 | fi |
---|
2781 | rm -f conftest.er1 conftest.err |
---|
2782 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
2783 | test $ac_status = 0; } |
---|
2784 | done |
---|
2785 | |
---|
2786 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
2787 | /* end confdefs.h. */ |
---|
2788 | |
---|
2789 | int |
---|
2790 | main () |
---|
2791 | { |
---|
2792 | |
---|
2793 | ; |
---|
2794 | return 0; |
---|
2795 | } |
---|
2796 | _ACEOF |
---|
2797 | ac_clean_files_save=$ac_clean_files |
---|
2798 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
---|
2799 | # Try to create an executable without -o first, disregard a.out. |
---|
2800 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
2801 | # of exeext. |
---|
2802 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 |
---|
2803 | $as_echo_n "checking whether the C++ compiler works... " >&6; } |
---|
2804 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
2805 | |
---|
2806 | # The possible output files: |
---|
2807 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
---|
2808 | |
---|
2809 | ac_rmfiles= |
---|
2810 | for ac_file in $ac_files |
---|
2811 | do |
---|
2812 | case $ac_file in |
---|
2813 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
2814 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
---|
2815 | esac |
---|
2816 | done |
---|
2817 | rm -f $ac_rmfiles |
---|
2818 | |
---|
2819 | if { { ac_try="$ac_link_default" |
---|
2820 | case "(($ac_try" in |
---|
2821 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2822 | *) ac_try_echo=$ac_try;; |
---|
2823 | esac |
---|
2824 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
2825 | $as_echo "$ac_try_echo"; } >&5 |
---|
2826 | (eval "$ac_link_default") 2>&5 |
---|
2827 | ac_status=$? |
---|
2828 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
2829 | test $ac_status = 0; }; then : |
---|
2830 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
---|
2831 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
---|
2832 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
---|
2833 | # so that the user can short-circuit this test for compilers unknown to |
---|
2834 | # Autoconf. |
---|
2835 | for ac_file in $ac_files '' |
---|
2836 | do |
---|
2837 | test -f "$ac_file" || continue |
---|
2838 | case $ac_file in |
---|
2839 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
---|
2840 | ;; |
---|
2841 | [ab].out ) |
---|
2842 | # We found the default executable, but exeext='' is most |
---|
2843 | # certainly right. |
---|
2844 | break;; |
---|
2845 | *.* ) |
---|
2846 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
---|
2847 | then :; else |
---|
2848 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2849 | fi |
---|
2850 | # We set ac_cv_exeext here because the later test for it is not |
---|
2851 | # safe: cross compilers may not add the suffix if given an `-o' |
---|
2852 | # argument, so we may need to know it at that point already. |
---|
2853 | # Even if this section looks crufty: it has the advantage of |
---|
2854 | # actually working. |
---|
2855 | break;; |
---|
2856 | * ) |
---|
2857 | break;; |
---|
2858 | esac |
---|
2859 | done |
---|
2860 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
---|
2861 | |
---|
2862 | else |
---|
2863 | ac_file='' |
---|
2864 | fi |
---|
2865 | if test -z "$ac_file"; then : |
---|
2866 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2867 | $as_echo "no" >&6; } |
---|
2868 | $as_echo "$as_me: failed program was:" >&5 |
---|
2869 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2870 | |
---|
2871 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
2872 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2873 | as_fn_error 77 "C++ compiler cannot create executables |
---|
2874 | See \`config.log' for more details" "$LINENO" 5; } |
---|
2875 | else |
---|
2876 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
2877 | $as_echo "yes" >&6; } |
---|
2878 | fi |
---|
2879 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 |
---|
2880 | $as_echo_n "checking for C++ compiler default output file name... " >&6; } |
---|
2881 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
---|
2882 | $as_echo "$ac_file" >&6; } |
---|
2883 | ac_exeext=$ac_cv_exeext |
---|
2884 | |
---|
2885 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
---|
2886 | ac_clean_files=$ac_clean_files_save |
---|
2887 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
---|
2888 | $as_echo_n "checking for suffix of executables... " >&6; } |
---|
2889 | if { { ac_try="$ac_link" |
---|
2890 | case "(($ac_try" in |
---|
2891 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2892 | *) ac_try_echo=$ac_try;; |
---|
2893 | esac |
---|
2894 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
2895 | $as_echo "$ac_try_echo"; } >&5 |
---|
2896 | (eval "$ac_link") 2>&5 |
---|
2897 | ac_status=$? |
---|
2898 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
2899 | test $ac_status = 0; }; then : |
---|
2900 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
2901 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
2902 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
2903 | # `rm'. |
---|
2904 | for ac_file in conftest.exe conftest conftest.*; do |
---|
2905 | test -f "$ac_file" || continue |
---|
2906 | case $ac_file in |
---|
2907 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
2908 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2909 | break;; |
---|
2910 | * ) break;; |
---|
2911 | esac |
---|
2912 | done |
---|
2913 | else |
---|
2914 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
2915 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2916 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
---|
2917 | See \`config.log' for more details" "$LINENO" 5; } |
---|
2918 | fi |
---|
2919 | rm -f conftest conftest$ac_cv_exeext |
---|
2920 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
---|
2921 | $as_echo "$ac_cv_exeext" >&6; } |
---|
2922 | |
---|
2923 | rm -f conftest.$ac_ext |
---|
2924 | EXEEXT=$ac_cv_exeext |
---|
2925 | ac_exeext=$EXEEXT |
---|
2926 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
2927 | /* end confdefs.h. */ |
---|
2928 | #include <stdio.h> |
---|
2929 | int |
---|
2930 | main () |
---|
2931 | { |
---|
2932 | FILE *f = fopen ("conftest.out", "w"); |
---|
2933 | return ferror (f) || fclose (f) != 0; |
---|
2934 | |
---|
2935 | ; |
---|
2936 | return 0; |
---|
2937 | } |
---|
2938 | _ACEOF |
---|
2939 | ac_clean_files="$ac_clean_files conftest.out" |
---|
2940 | # Check that the compiler produces executables we can run. If not, either |
---|
2941 | # the compiler is broken, or we cross compile. |
---|
2942 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
---|
2943 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
---|
2944 | if test "$cross_compiling" != yes; then |
---|
2945 | { { ac_try="$ac_link" |
---|
2946 | case "(($ac_try" in |
---|
2947 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2948 | *) ac_try_echo=$ac_try;; |
---|
2949 | esac |
---|
2950 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
2951 | $as_echo "$ac_try_echo"; } >&5 |
---|
2952 | (eval "$ac_link") 2>&5 |
---|
2953 | ac_status=$? |
---|
2954 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
2955 | test $ac_status = 0; } |
---|
2956 | if { ac_try='./conftest$ac_cv_exeext' |
---|
2957 | { { case "(($ac_try" in |
---|
2958 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2959 | *) ac_try_echo=$ac_try;; |
---|
2960 | esac |
---|
2961 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
2962 | $as_echo "$ac_try_echo"; } >&5 |
---|
2963 | (eval "$ac_try") 2>&5 |
---|
2964 | ac_status=$? |
---|
2965 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
2966 | test $ac_status = 0; }; }; then |
---|
2967 | cross_compiling=no |
---|
2968 | else |
---|
2969 | if test "$cross_compiling" = maybe; then |
---|
2970 | cross_compiling=yes |
---|
2971 | else |
---|
2972 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
2973 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2974 | as_fn_error $? "cannot run C++ compiled programs. |
---|
2975 | If you meant to cross compile, use \`--host'. |
---|
2976 | See \`config.log' for more details" "$LINENO" 5; } |
---|
2977 | fi |
---|
2978 | fi |
---|
2979 | fi |
---|
2980 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
---|
2981 | $as_echo "$cross_compiling" >&6; } |
---|
2982 | |
---|
2983 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
---|
2984 | ac_clean_files=$ac_clean_files_save |
---|
2985 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
---|
2986 | $as_echo_n "checking for suffix of object files... " >&6; } |
---|
2987 | if ${ac_cv_objext+:} false; then : |
---|
2988 | $as_echo_n "(cached) " >&6 |
---|
2989 | else |
---|
2990 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
2991 | /* end confdefs.h. */ |
---|
2992 | |
---|
2993 | int |
---|
2994 | main () |
---|
2995 | { |
---|
2996 | |
---|
2997 | ; |
---|
2998 | return 0; |
---|
2999 | } |
---|
3000 | _ACEOF |
---|
3001 | rm -f conftest.o conftest.obj |
---|
3002 | if { { ac_try="$ac_compile" |
---|
3003 | case "(($ac_try" in |
---|
3004 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3005 | *) ac_try_echo=$ac_try;; |
---|
3006 | esac |
---|
3007 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3008 | $as_echo "$ac_try_echo"; } >&5 |
---|
3009 | (eval "$ac_compile") 2>&5 |
---|
3010 | ac_status=$? |
---|
3011 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3012 | test $ac_status = 0; }; then : |
---|
3013 | for ac_file in conftest.o conftest.obj conftest.*; do |
---|
3014 | test -f "$ac_file" || continue; |
---|
3015 | case $ac_file in |
---|
3016 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
---|
3017 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
3018 | break;; |
---|
3019 | esac |
---|
3020 | done |
---|
3021 | else |
---|
3022 | $as_echo "$as_me: failed program was:" >&5 |
---|
3023 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3024 | |
---|
3025 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
3026 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3027 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
---|
3028 | See \`config.log' for more details" "$LINENO" 5; } |
---|
3029 | fi |
---|
3030 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
3031 | fi |
---|
3032 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
---|
3033 | $as_echo "$ac_cv_objext" >&6; } |
---|
3034 | OBJEXT=$ac_cv_objext |
---|
3035 | ac_objext=$OBJEXT |
---|
3036 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
---|
3037 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
---|
3038 | if ${ac_cv_cxx_compiler_gnu+:} false; then : |
---|
3039 | $as_echo_n "(cached) " >&6 |
---|
3040 | else |
---|
3041 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3042 | /* end confdefs.h. */ |
---|
3043 | |
---|
3044 | int |
---|
3045 | main () |
---|
3046 | { |
---|
3047 | #ifndef __GNUC__ |
---|
3048 | choke me |
---|
3049 | #endif |
---|
3050 | |
---|
3051 | ; |
---|
3052 | return 0; |
---|
3053 | } |
---|
3054 | _ACEOF |
---|
3055 | if ac_fn_cxx_try_compile "$LINENO"; then : |
---|
3056 | ac_compiler_gnu=yes |
---|
3057 | else |
---|
3058 | ac_compiler_gnu=no |
---|
3059 | fi |
---|
3060 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3061 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
---|
3062 | |
---|
3063 | fi |
---|
3064 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
---|
3065 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
---|
3066 | if test $ac_compiler_gnu = yes; then |
---|
3067 | GXX=yes |
---|
3068 | else |
---|
3069 | GXX= |
---|
3070 | fi |
---|
3071 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
---|
3072 | ac_save_CXXFLAGS=$CXXFLAGS |
---|
3073 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
---|
3074 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
---|
3075 | if ${ac_cv_prog_cxx_g+:} false; then : |
---|
3076 | $as_echo_n "(cached) " >&6 |
---|
3077 | else |
---|
3078 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
---|
3079 | ac_cxx_werror_flag=yes |
---|
3080 | ac_cv_prog_cxx_g=no |
---|
3081 | CXXFLAGS="-g" |
---|
3082 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3083 | /* end confdefs.h. */ |
---|
3084 | |
---|
3085 | int |
---|
3086 | main () |
---|
3087 | { |
---|
3088 | |
---|
3089 | ; |
---|
3090 | return 0; |
---|
3091 | } |
---|
3092 | _ACEOF |
---|
3093 | if ac_fn_cxx_try_compile "$LINENO"; then : |
---|
3094 | ac_cv_prog_cxx_g=yes |
---|
3095 | else |
---|
3096 | CXXFLAGS="" |
---|
3097 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3098 | /* end confdefs.h. */ |
---|
3099 | |
---|
3100 | int |
---|
3101 | main () |
---|
3102 | { |
---|
3103 | |
---|
3104 | ; |
---|
3105 | return 0; |
---|
3106 | } |
---|
3107 | _ACEOF |
---|
3108 | if ac_fn_cxx_try_compile "$LINENO"; then : |
---|
3109 | |
---|
3110 | else |
---|
3111 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
---|
3112 | CXXFLAGS="-g" |
---|
3113 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3114 | /* end confdefs.h. */ |
---|
3115 | |
---|
3116 | int |
---|
3117 | main () |
---|
3118 | { |
---|
3119 | |
---|
3120 | ; |
---|
3121 | return 0; |
---|
3122 | } |
---|
3123 | _ACEOF |
---|
3124 | if ac_fn_cxx_try_compile "$LINENO"; then : |
---|
3125 | ac_cv_prog_cxx_g=yes |
---|
3126 | fi |
---|
3127 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3128 | fi |
---|
3129 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3130 | fi |
---|
3131 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3132 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
---|
3133 | fi |
---|
3134 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
---|
3135 | $as_echo "$ac_cv_prog_cxx_g" >&6; } |
---|
3136 | if test "$ac_test_CXXFLAGS" = set; then |
---|
3137 | CXXFLAGS=$ac_save_CXXFLAGS |
---|
3138 | elif test $ac_cv_prog_cxx_g = yes; then |
---|
3139 | if test "$GXX" = yes; then |
---|
3140 | CXXFLAGS="-g -O2" |
---|
3141 | else |
---|
3142 | CXXFLAGS="-g" |
---|
3143 | fi |
---|
3144 | else |
---|
3145 | if test "$GXX" = yes; then |
---|
3146 | CXXFLAGS="-O2" |
---|
3147 | else |
---|
3148 | CXXFLAGS= |
---|
3149 | fi |
---|
3150 | fi |
---|
3151 | ac_ext=c |
---|
3152 | ac_cpp='$CPP $CPPFLAGS' |
---|
3153 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3154 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3155 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3156 | DEPDIR="${am__leading_dot}deps" |
---|
3157 | |
---|
3158 | ac_config_commands="$ac_config_commands depfiles" |
---|
3159 | |
---|
3160 | |
---|
3161 | am_make=${MAKE-make} |
---|
3162 | cat > confinc << 'END' |
---|
3163 | am__doit: |
---|
3164 | @echo this is the am__doit target |
---|
3165 | .PHONY: am__doit |
---|
3166 | END |
---|
3167 | # If we don't find an include directive, just comment out the code. |
---|
3168 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
---|
3169 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
---|
3170 | am__include="#" |
---|
3171 | am__quote= |
---|
3172 | _am_result=none |
---|
3173 | # First try GNU make style include. |
---|
3174 | echo "include confinc" > confmf |
---|
3175 | # Ignore all kinds of additional output from 'make'. |
---|
3176 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
3177 | *the\ am__doit\ target*) |
---|
3178 | am__include=include |
---|
3179 | am__quote= |
---|
3180 | _am_result=GNU |
---|
3181 | ;; |
---|
3182 | esac |
---|
3183 | # Now try BSD make style include. |
---|
3184 | if test "$am__include" = "#"; then |
---|
3185 | echo '.include "confinc"' > confmf |
---|
3186 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
3187 | *the\ am__doit\ target*) |
---|
3188 | am__include=.include |
---|
3189 | am__quote="\"" |
---|
3190 | _am_result=BSD |
---|
3191 | ;; |
---|
3192 | esac |
---|
3193 | fi |
---|
3194 | |
---|
3195 | |
---|
3196 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
---|
3197 | $as_echo "$_am_result" >&6; } |
---|
3198 | rm -f confinc confmf |
---|
3199 | |
---|
3200 | # Check whether --enable-dependency-tracking was given. |
---|
3201 | if test "${enable_dependency_tracking+set}" = set; then : |
---|
3202 | enableval=$enable_dependency_tracking; |
---|
3203 | fi |
---|
3204 | |
---|
3205 | if test "x$enable_dependency_tracking" != xno; then |
---|
3206 | am_depcomp="$ac_aux_dir/depcomp" |
---|
3207 | AMDEPBACKSLASH='\' |
---|
3208 | am__nodep='_no' |
---|
3209 | fi |
---|
3210 | if test "x$enable_dependency_tracking" != xno; then |
---|
3211 | AMDEP_TRUE= |
---|
3212 | AMDEP_FALSE='#' |
---|
3213 | else |
---|
3214 | AMDEP_TRUE='#' |
---|
3215 | AMDEP_FALSE= |
---|
3216 | fi |
---|
3217 | |
---|
3218 | |
---|
3219 | |
---|
3220 | depcc="$CXX" am_compiler_list= |
---|
3221 | |
---|
3222 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
---|
3223 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
---|
3224 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
---|
3225 | $as_echo_n "(cached) " >&6 |
---|
3226 | else |
---|
3227 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
3228 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
3229 | # making bogus files that we don't know about and never remove. For |
---|
3230 | # instance it was reported that on HP-UX the gcc test will end up |
---|
3231 | # making a dummy file named 'D' -- because '-MD' means "put the output |
---|
3232 | # in D". |
---|
3233 | rm -rf conftest.dir |
---|
3234 | mkdir conftest.dir |
---|
3235 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
3236 | # using a relative directory. |
---|
3237 | cp "$am_depcomp" conftest.dir |
---|
3238 | cd conftest.dir |
---|
3239 | # We will build objects and dependencies in a subdirectory because |
---|
3240 | # it helps to detect inapplicable dependency modes. For instance |
---|
3241 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
3242 | # side effect of compilation, but ICC will put the dependencies in |
---|
3243 | # the current directory while Tru64 will put them in the object |
---|
3244 | # directory. |
---|
3245 | mkdir sub |
---|
3246 | |
---|
3247 | am_cv_CXX_dependencies_compiler_type=none |
---|
3248 | if test "$am_compiler_list" = ""; then |
---|
3249 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
3250 | fi |
---|
3251 | am__universal=false |
---|
3252 | case " $depcc " in #( |
---|
3253 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
---|
3254 | esac |
---|
3255 | |
---|
3256 | for depmode in $am_compiler_list; do |
---|
3257 | # Setup a source with many dependencies, because some compilers |
---|
3258 | # like to wrap large dependency lists on column 80 (with \), and |
---|
3259 | # we should not choose a depcomp mode which is confused by this. |
---|
3260 | # |
---|
3261 | # We need to recreate these files for each test, as the compiler may |
---|
3262 | # overwrite some of them when testing with obscure command lines. |
---|
3263 | # This happens at least with the AIX C compiler. |
---|
3264 | : > sub/conftest.c |
---|
3265 | for i in 1 2 3 4 5 6; do |
---|
3266 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
3267 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
---|
3268 | # Solaris 10 /bin/sh. |
---|
3269 | echo '/* dummy */' > sub/conftst$i.h |
---|
3270 | done |
---|
3271 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
3272 | |
---|
3273 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
---|
3274 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
3275 | # handle '-M -o', and we need to detect this. Also, some Intel |
---|
3276 | # versions had trouble with output in subdirs. |
---|
3277 | am__obj=sub/conftest.${OBJEXT-o} |
---|
3278 | am__minus_obj="-o $am__obj" |
---|
3279 | case $depmode in |
---|
3280 | gcc) |
---|
3281 | # This depmode causes a compiler race in universal mode. |
---|
3282 | test "$am__universal" = false || continue |
---|
3283 | ;; |
---|
3284 | nosideeffect) |
---|
3285 | # After this tag, mechanisms are not by side-effect, so they'll |
---|
3286 | # only be used when explicitly requested. |
---|
3287 | if test "x$enable_dependency_tracking" = xyes; then |
---|
3288 | continue |
---|
3289 | else |
---|
3290 | break |
---|
3291 | fi |
---|
3292 | ;; |
---|
3293 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
---|
3294 | # This compiler won't grok '-c -o', but also, the minuso test has |
---|
3295 | # not run yet. These depmodes are late enough in the game, and |
---|
3296 | # so weak that their functioning should not be impacted. |
---|
3297 | am__obj=conftest.${OBJEXT-o} |
---|
3298 | am__minus_obj= |
---|
3299 | ;; |
---|
3300 | none) break ;; |
---|
3301 | esac |
---|
3302 | if depmode=$depmode \ |
---|
3303 | source=sub/conftest.c object=$am__obj \ |
---|
3304 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
3305 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
---|
3306 | >/dev/null 2>conftest.err && |
---|
3307 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
---|
3308 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
3309 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
---|
3310 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
3311 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
3312 | # or remarks (even with -Werror). So we grep stderr for any message |
---|
3313 | # that says an option was ignored or not supported. |
---|
3314 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
---|
3315 | # icc: Command line warning: ignoring option '-M'; no argument required |
---|
3316 | # The diagnosis changed in icc 8.0: |
---|
3317 | # icc: Command line remark: option '-MP' not supported |
---|
3318 | if (grep 'ignoring option' conftest.err || |
---|
3319 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
---|
3320 | am_cv_CXX_dependencies_compiler_type=$depmode |
---|
3321 | break |
---|
3322 | fi |
---|
3323 | fi |
---|
3324 | done |
---|
3325 | |
---|
3326 | cd .. |
---|
3327 | rm -rf conftest.dir |
---|
3328 | else |
---|
3329 | am_cv_CXX_dependencies_compiler_type=none |
---|
3330 | fi |
---|
3331 | |
---|
3332 | fi |
---|
3333 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
---|
3334 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
---|
3335 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
---|
3336 | |
---|
3337 | if |
---|
3338 | test "x$enable_dependency_tracking" != xno \ |
---|
3339 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
---|
3340 | am__fastdepCXX_TRUE= |
---|
3341 | am__fastdepCXX_FALSE='#' |
---|
3342 | else |
---|
3343 | am__fastdepCXX_TRUE='#' |
---|
3344 | am__fastdepCXX_FALSE= |
---|
3345 | fi |
---|
3346 | |
---|
3347 | |
---|
3348 | ac_ext=c |
---|
3349 | ac_cpp='$CPP $CPPFLAGS' |
---|
3350 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3351 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3352 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3353 | if test -n "$ac_tool_prefix"; then |
---|
3354 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
3355 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
3356 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
3357 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3358 | if ${ac_cv_prog_CC+:} false; then : |
---|
3359 | $as_echo_n "(cached) " >&6 |
---|
3360 | else |
---|
3361 | if test -n "$CC"; then |
---|
3362 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
3363 | else |
---|
3364 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3365 | for as_dir in $PATH |
---|
3366 | do |
---|
3367 | IFS=$as_save_IFS |
---|
3368 | test -z "$as_dir" && as_dir=. |
---|
3369 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3370 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3371 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
3372 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3373 | break 2 |
---|
3374 | fi |
---|
3375 | done |
---|
3376 | done |
---|
3377 | IFS=$as_save_IFS |
---|
3378 | |
---|
3379 | fi |
---|
3380 | fi |
---|
3381 | CC=$ac_cv_prog_CC |
---|
3382 | if test -n "$CC"; then |
---|
3383 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
3384 | $as_echo "$CC" >&6; } |
---|
3385 | else |
---|
3386 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3387 | $as_echo "no" >&6; } |
---|
3388 | fi |
---|
3389 | |
---|
3390 | |
---|
3391 | fi |
---|
3392 | if test -z "$ac_cv_prog_CC"; then |
---|
3393 | ac_ct_CC=$CC |
---|
3394 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
3395 | set dummy gcc; ac_word=$2 |
---|
3396 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
3397 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3398 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
---|
3399 | $as_echo_n "(cached) " >&6 |
---|
3400 | else |
---|
3401 | if test -n "$ac_ct_CC"; then |
---|
3402 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
3403 | else |
---|
3404 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3405 | for as_dir in $PATH |
---|
3406 | do |
---|
3407 | IFS=$as_save_IFS |
---|
3408 | test -z "$as_dir" && as_dir=. |
---|
3409 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3410 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3411 | ac_cv_prog_ac_ct_CC="gcc" |
---|
3412 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3413 | break 2 |
---|
3414 | fi |
---|
3415 | done |
---|
3416 | done |
---|
3417 | IFS=$as_save_IFS |
---|
3418 | |
---|
3419 | fi |
---|
3420 | fi |
---|
3421 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
3422 | if test -n "$ac_ct_CC"; then |
---|
3423 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
---|
3424 | $as_echo "$ac_ct_CC" >&6; } |
---|
3425 | else |
---|
3426 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3427 | $as_echo "no" >&6; } |
---|
3428 | fi |
---|
3429 | |
---|
3430 | if test "x$ac_ct_CC" = x; then |
---|
3431 | CC="" |
---|
3432 | else |
---|
3433 | case $cross_compiling:$ac_tool_warned in |
---|
3434 | yes:) |
---|
3435 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
3436 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
3437 | ac_tool_warned=yes ;; |
---|
3438 | esac |
---|
3439 | CC=$ac_ct_CC |
---|
3440 | fi |
---|
3441 | else |
---|
3442 | CC="$ac_cv_prog_CC" |
---|
3443 | fi |
---|
3444 | |
---|
3445 | if test -z "$CC"; then |
---|
3446 | if test -n "$ac_tool_prefix"; then |
---|
3447 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
3448 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
3449 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
3450 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3451 | if ${ac_cv_prog_CC+:} false; then : |
---|
3452 | $as_echo_n "(cached) " >&6 |
---|
3453 | else |
---|
3454 | if test -n "$CC"; then |
---|
3455 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
3456 | else |
---|
3457 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3458 | for as_dir in $PATH |
---|
3459 | do |
---|
3460 | IFS=$as_save_IFS |
---|
3461 | test -z "$as_dir" && as_dir=. |
---|
3462 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3463 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3464 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
3465 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3466 | break 2 |
---|
3467 | fi |
---|
3468 | done |
---|
3469 | done |
---|
3470 | IFS=$as_save_IFS |
---|
3471 | |
---|
3472 | fi |
---|
3473 | fi |
---|
3474 | CC=$ac_cv_prog_CC |
---|
3475 | if test -n "$CC"; then |
---|
3476 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
3477 | $as_echo "$CC" >&6; } |
---|
3478 | else |
---|
3479 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3480 | $as_echo "no" >&6; } |
---|
3481 | fi |
---|
3482 | |
---|
3483 | |
---|
3484 | fi |
---|
3485 | fi |
---|
3486 | if test -z "$CC"; then |
---|
3487 | # Extract the first word of "cc", so it can be a program name with args. |
---|
3488 | set dummy cc; ac_word=$2 |
---|
3489 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
3490 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3491 | if ${ac_cv_prog_CC+:} false; then : |
---|
3492 | $as_echo_n "(cached) " >&6 |
---|
3493 | else |
---|
3494 | if test -n "$CC"; then |
---|
3495 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
3496 | else |
---|
3497 | ac_prog_rejected=no |
---|
3498 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3499 | for as_dir in $PATH |
---|
3500 | do |
---|
3501 | IFS=$as_save_IFS |
---|
3502 | test -z "$as_dir" && as_dir=. |
---|
3503 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3504 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3505 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
3506 | ac_prog_rejected=yes |
---|
3507 | continue |
---|
3508 | fi |
---|
3509 | ac_cv_prog_CC="cc" |
---|
3510 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3511 | break 2 |
---|
3512 | fi |
---|
3513 | done |
---|
3514 | done |
---|
3515 | IFS=$as_save_IFS |
---|
3516 | |
---|
3517 | if test $ac_prog_rejected = yes; then |
---|
3518 | # We found a bogon in the path, so make sure we never use it. |
---|
3519 | set dummy $ac_cv_prog_CC |
---|
3520 | shift |
---|
3521 | if test $# != 0; then |
---|
3522 | # We chose a different compiler from the bogus one. |
---|
3523 | # However, it has the same basename, so the bogon will be chosen |
---|
3524 | # first if we set CC to just the basename; use the full file name. |
---|
3525 | shift |
---|
3526 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
3527 | fi |
---|
3528 | fi |
---|
3529 | fi |
---|
3530 | fi |
---|
3531 | CC=$ac_cv_prog_CC |
---|
3532 | if test -n "$CC"; then |
---|
3533 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
3534 | $as_echo "$CC" >&6; } |
---|
3535 | else |
---|
3536 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3537 | $as_echo "no" >&6; } |
---|
3538 | fi |
---|
3539 | |
---|
3540 | |
---|
3541 | fi |
---|
3542 | if test -z "$CC"; then |
---|
3543 | if test -n "$ac_tool_prefix"; then |
---|
3544 | for ac_prog in cl.exe |
---|
3545 | do |
---|
3546 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
3547 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
3548 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
3549 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3550 | if ${ac_cv_prog_CC+:} false; then : |
---|
3551 | $as_echo_n "(cached) " >&6 |
---|
3552 | else |
---|
3553 | if test -n "$CC"; then |
---|
3554 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
3555 | else |
---|
3556 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3557 | for as_dir in $PATH |
---|
3558 | do |
---|
3559 | IFS=$as_save_IFS |
---|
3560 | test -z "$as_dir" && as_dir=. |
---|
3561 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3562 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3563 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
3564 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3565 | break 2 |
---|
3566 | fi |
---|
3567 | done |
---|
3568 | done |
---|
3569 | IFS=$as_save_IFS |
---|
3570 | |
---|
3571 | fi |
---|
3572 | fi |
---|
3573 | CC=$ac_cv_prog_CC |
---|
3574 | if test -n "$CC"; then |
---|
3575 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
3576 | $as_echo "$CC" >&6; } |
---|
3577 | else |
---|
3578 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3579 | $as_echo "no" >&6; } |
---|
3580 | fi |
---|
3581 | |
---|
3582 | |
---|
3583 | test -n "$CC" && break |
---|
3584 | done |
---|
3585 | fi |
---|
3586 | if test -z "$CC"; then |
---|
3587 | ac_ct_CC=$CC |
---|
3588 | for ac_prog in cl.exe |
---|
3589 | do |
---|
3590 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
3591 | set dummy $ac_prog; ac_word=$2 |
---|
3592 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
3593 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3594 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
---|
3595 | $as_echo_n "(cached) " >&6 |
---|
3596 | else |
---|
3597 | if test -n "$ac_ct_CC"; then |
---|
3598 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
3599 | else |
---|
3600 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3601 | for as_dir in $PATH |
---|
3602 | do |
---|
3603 | IFS=$as_save_IFS |
---|
3604 | test -z "$as_dir" && as_dir=. |
---|
3605 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3606 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3607 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
3608 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3609 | break 2 |
---|
3610 | fi |
---|
3611 | done |
---|
3612 | done |
---|
3613 | IFS=$as_save_IFS |
---|
3614 | |
---|
3615 | fi |
---|
3616 | fi |
---|
3617 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
3618 | if test -n "$ac_ct_CC"; then |
---|
3619 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
---|
3620 | $as_echo "$ac_ct_CC" >&6; } |
---|
3621 | else |
---|
3622 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3623 | $as_echo "no" >&6; } |
---|
3624 | fi |
---|
3625 | |
---|
3626 | |
---|
3627 | test -n "$ac_ct_CC" && break |
---|
3628 | done |
---|
3629 | |
---|
3630 | if test "x$ac_ct_CC" = x; then |
---|
3631 | CC="" |
---|
3632 | else |
---|
3633 | case $cross_compiling:$ac_tool_warned in |
---|
3634 | yes:) |
---|
3635 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
3636 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
3637 | ac_tool_warned=yes ;; |
---|
3638 | esac |
---|
3639 | CC=$ac_ct_CC |
---|
3640 | fi |
---|
3641 | fi |
---|
3642 | |
---|
3643 | fi |
---|
3644 | |
---|
3645 | |
---|
3646 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
3647 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3648 | as_fn_error $? "no acceptable C compiler found in \$PATH |
---|
3649 | See \`config.log' for more details" "$LINENO" 5; } |
---|
3650 | |
---|
3651 | # Provide some information about the compiler. |
---|
3652 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
---|
3653 | set X $ac_compile |
---|
3654 | ac_compiler=$2 |
---|
3655 | for ac_option in --version -v -V -qversion; do |
---|
3656 | { { ac_try="$ac_compiler $ac_option >&5" |
---|
3657 | case "(($ac_try" in |
---|
3658 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3659 | *) ac_try_echo=$ac_try;; |
---|
3660 | esac |
---|
3661 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3662 | $as_echo "$ac_try_echo"; } >&5 |
---|
3663 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
---|
3664 | ac_status=$? |
---|
3665 | if test -s conftest.err; then |
---|
3666 | sed '10a\ |
---|
3667 | ... rest of stderr output deleted ... |
---|
3668 | 10q' conftest.err >conftest.er1 |
---|
3669 | cat conftest.er1 >&5 |
---|
3670 | fi |
---|
3671 | rm -f conftest.er1 conftest.err |
---|
3672 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3673 | test $ac_status = 0; } |
---|
3674 | done |
---|
3675 | |
---|
3676 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
---|
3677 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
---|
3678 | if ${ac_cv_c_compiler_gnu+:} false; then : |
---|
3679 | $as_echo_n "(cached) " >&6 |
---|
3680 | else |
---|
3681 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3682 | /* end confdefs.h. */ |
---|
3683 | |
---|
3684 | int |
---|
3685 | main () |
---|
3686 | { |
---|
3687 | #ifndef __GNUC__ |
---|
3688 | choke me |
---|
3689 | #endif |
---|
3690 | |
---|
3691 | ; |
---|
3692 | return 0; |
---|
3693 | } |
---|
3694 | _ACEOF |
---|
3695 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
3696 | ac_compiler_gnu=yes |
---|
3697 | else |
---|
3698 | ac_compiler_gnu=no |
---|
3699 | fi |
---|
3700 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3701 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
3702 | |
---|
3703 | fi |
---|
3704 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
---|
3705 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
---|
3706 | if test $ac_compiler_gnu = yes; then |
---|
3707 | GCC=yes |
---|
3708 | else |
---|
3709 | GCC= |
---|
3710 | fi |
---|
3711 | ac_test_CFLAGS=${CFLAGS+set} |
---|
3712 | ac_save_CFLAGS=$CFLAGS |
---|
3713 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
---|
3714 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
---|
3715 | if ${ac_cv_prog_cc_g+:} false; then : |
---|
3716 | $as_echo_n "(cached) " >&6 |
---|
3717 | else |
---|
3718 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
3719 | ac_c_werror_flag=yes |
---|
3720 | ac_cv_prog_cc_g=no |
---|
3721 | CFLAGS="-g" |
---|
3722 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3723 | /* end confdefs.h. */ |
---|
3724 | |
---|
3725 | int |
---|
3726 | main () |
---|
3727 | { |
---|
3728 | |
---|
3729 | ; |
---|
3730 | return 0; |
---|
3731 | } |
---|
3732 | _ACEOF |
---|
3733 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
3734 | ac_cv_prog_cc_g=yes |
---|
3735 | else |
---|
3736 | CFLAGS="" |
---|
3737 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3738 | /* end confdefs.h. */ |
---|
3739 | |
---|
3740 | int |
---|
3741 | main () |
---|
3742 | { |
---|
3743 | |
---|
3744 | ; |
---|
3745 | return 0; |
---|
3746 | } |
---|
3747 | _ACEOF |
---|
3748 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
3749 | |
---|
3750 | else |
---|
3751 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
3752 | CFLAGS="-g" |
---|
3753 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3754 | /* end confdefs.h. */ |
---|
3755 | |
---|
3756 | int |
---|
3757 | main () |
---|
3758 | { |
---|
3759 | |
---|
3760 | ; |
---|
3761 | return 0; |
---|
3762 | } |
---|
3763 | _ACEOF |
---|
3764 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
3765 | ac_cv_prog_cc_g=yes |
---|
3766 | fi |
---|
3767 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3768 | fi |
---|
3769 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3770 | fi |
---|
3771 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3772 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
3773 | fi |
---|
3774 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
---|
3775 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
---|
3776 | if test "$ac_test_CFLAGS" = set; then |
---|
3777 | CFLAGS=$ac_save_CFLAGS |
---|
3778 | elif test $ac_cv_prog_cc_g = yes; then |
---|
3779 | if test "$GCC" = yes; then |
---|
3780 | CFLAGS="-g -O2" |
---|
3781 | else |
---|
3782 | CFLAGS="-g" |
---|
3783 | fi |
---|
3784 | else |
---|
3785 | if test "$GCC" = yes; then |
---|
3786 | CFLAGS="-O2" |
---|
3787 | else |
---|
3788 | CFLAGS= |
---|
3789 | fi |
---|
3790 | fi |
---|
3791 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
---|
3792 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
---|
3793 | if ${ac_cv_prog_cc_c89+:} false; then : |
---|
3794 | $as_echo_n "(cached) " >&6 |
---|
3795 | else |
---|
3796 | ac_cv_prog_cc_c89=no |
---|
3797 | ac_save_CC=$CC |
---|
3798 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3799 | /* end confdefs.h. */ |
---|
3800 | #include <stdarg.h> |
---|
3801 | #include <stdio.h> |
---|
3802 | struct stat; |
---|
3803 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
3804 | struct buf { int x; }; |
---|
3805 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
3806 | static char *e (p, i) |
---|
3807 | char **p; |
---|
3808 | int i; |
---|
3809 | { |
---|
3810 | return p[i]; |
---|
3811 | } |
---|
3812 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
3813 | { |
---|
3814 | char *s; |
---|
3815 | va_list v; |
---|
3816 | va_start (v,p); |
---|
3817 | s = g (p, va_arg (v,int)); |
---|
3818 | va_end (v); |
---|
3819 | return s; |
---|
3820 | } |
---|
3821 | |
---|
3822 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
3823 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
3824 | These don't provoke an error unfortunately, instead are silently treated |
---|
3825 | as 'x'. The following induces an error, until -std is added to get |
---|
3826 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
3827 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
3828 | that's true only with -std. */ |
---|
3829 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
3830 | |
---|
3831 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
3832 | inside strings and character constants. */ |
---|
3833 | #define FOO(x) 'x' |
---|
3834 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
3835 | |
---|
3836 | int test (int i, double x); |
---|
3837 | struct s1 {int (*f) (int a);}; |
---|
3838 | struct s2 {int (*f) (double a);}; |
---|
3839 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
3840 | int argc; |
---|
3841 | char **argv; |
---|
3842 | int |
---|
3843 | main () |
---|
3844 | { |
---|
3845 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
3846 | ; |
---|
3847 | return 0; |
---|
3848 | } |
---|
3849 | _ACEOF |
---|
3850 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
3851 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
3852 | do |
---|
3853 | CC="$ac_save_CC $ac_arg" |
---|
3854 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
3855 | ac_cv_prog_cc_c89=$ac_arg |
---|
3856 | fi |
---|
3857 | rm -f core conftest.err conftest.$ac_objext |
---|
3858 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
3859 | done |
---|
3860 | rm -f conftest.$ac_ext |
---|
3861 | CC=$ac_save_CC |
---|
3862 | |
---|
3863 | fi |
---|
3864 | # AC_CACHE_VAL |
---|
3865 | case "x$ac_cv_prog_cc_c89" in |
---|
3866 | x) |
---|
3867 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
---|
3868 | $as_echo "none needed" >&6; } ;; |
---|
3869 | xno) |
---|
3870 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
---|
3871 | $as_echo "unsupported" >&6; } ;; |
---|
3872 | *) |
---|
3873 | CC="$CC $ac_cv_prog_cc_c89" |
---|
3874 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
---|
3875 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
---|
3876 | esac |
---|
3877 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
---|
3878 | |
---|
3879 | fi |
---|
3880 | |
---|
3881 | ac_ext=c |
---|
3882 | ac_cpp='$CPP $CPPFLAGS' |
---|
3883 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3884 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3885 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3886 | |
---|
3887 | ac_ext=c |
---|
3888 | ac_cpp='$CPP $CPPFLAGS' |
---|
3889 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3890 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3891 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3892 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
---|
3893 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
---|
3894 | if ${am_cv_prog_cc_c_o+:} false; then : |
---|
3895 | $as_echo_n "(cached) " >&6 |
---|
3896 | else |
---|
3897 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3898 | /* end confdefs.h. */ |
---|
3899 | |
---|
3900 | int |
---|
3901 | main () |
---|
3902 | { |
---|
3903 | |
---|
3904 | ; |
---|
3905 | return 0; |
---|
3906 | } |
---|
3907 | _ACEOF |
---|
3908 | # Make sure it works both with $CC and with simple cc. |
---|
3909 | # Following AC_PROG_CC_C_O, we do the test twice because some |
---|
3910 | # compilers refuse to overwrite an existing .o file with -o, |
---|
3911 | # though they will create one. |
---|
3912 | am_cv_prog_cc_c_o=yes |
---|
3913 | for am_i in 1 2; do |
---|
3914 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
---|
3915 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
---|
3916 | ac_status=$? |
---|
3917 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3918 | (exit $ac_status); } \ |
---|
3919 | && test -f conftest2.$ac_objext; then |
---|
3920 | : OK |
---|
3921 | else |
---|
3922 | am_cv_prog_cc_c_o=no |
---|
3923 | break |
---|
3924 | fi |
---|
3925 | done |
---|
3926 | rm -f core conftest* |
---|
3927 | unset am_i |
---|
3928 | fi |
---|
3929 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
---|
3930 | $as_echo "$am_cv_prog_cc_c_o" >&6; } |
---|
3931 | if test "$am_cv_prog_cc_c_o" != yes; then |
---|
3932 | # Losing compiler, so override with the script. |
---|
3933 | # FIXME: It is wrong to rewrite CC. |
---|
3934 | # But if we don't then we get into trouble of one sort or another. |
---|
3935 | # A longer-term fix would be to have automake use am__CC in this case, |
---|
3936 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
---|
3937 | CC="$am_aux_dir/compile $CC" |
---|
3938 | fi |
---|
3939 | ac_ext=c |
---|
3940 | ac_cpp='$CPP $CPPFLAGS' |
---|
3941 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3942 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3943 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3944 | |
---|
3945 | |
---|
3946 | depcc="$CC" am_compiler_list= |
---|
3947 | |
---|
3948 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
---|
3949 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
---|
3950 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
---|
3951 | $as_echo_n "(cached) " >&6 |
---|
3952 | else |
---|
3953 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
3954 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
3955 | # making bogus files that we don't know about and never remove. For |
---|
3956 | # instance it was reported that on HP-UX the gcc test will end up |
---|
3957 | # making a dummy file named 'D' -- because '-MD' means "put the output |
---|
3958 | # in D". |
---|
3959 | rm -rf conftest.dir |
---|
3960 | mkdir conftest.dir |
---|
3961 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
3962 | # using a relative directory. |
---|
3963 | cp "$am_depcomp" conftest.dir |
---|
3964 | cd conftest.dir |
---|
3965 | # We will build objects and dependencies in a subdirectory because |
---|
3966 | # it helps to detect inapplicable dependency modes. For instance |
---|
3967 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
3968 | # side effect of compilation, but ICC will put the dependencies in |
---|
3969 | # the current directory while Tru64 will put them in the object |
---|
3970 | # directory. |
---|
3971 | mkdir sub |
---|
3972 | |
---|
3973 | am_cv_CC_dependencies_compiler_type=none |
---|
3974 | if test "$am_compiler_list" = ""; then |
---|
3975 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
3976 | fi |
---|
3977 | am__universal=false |
---|
3978 | case " $depcc " in #( |
---|
3979 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
---|
3980 | esac |
---|
3981 | |
---|
3982 | for depmode in $am_compiler_list; do |
---|
3983 | # Setup a source with many dependencies, because some compilers |
---|
3984 | # like to wrap large dependency lists on column 80 (with \), and |
---|
3985 | # we should not choose a depcomp mode which is confused by this. |
---|
3986 | # |
---|
3987 | # We need to recreate these files for each test, as the compiler may |
---|
3988 | # overwrite some of them when testing with obscure command lines. |
---|
3989 | # This happens at least with the AIX C compiler. |
---|
3990 | : > sub/conftest.c |
---|
3991 | for i in 1 2 3 4 5 6; do |
---|
3992 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
3993 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
---|
3994 | # Solaris 10 /bin/sh. |
---|
3995 | echo '/* dummy */' > sub/conftst$i.h |
---|
3996 | done |
---|
3997 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
3998 | |
---|
3999 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
---|
4000 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
4001 | # handle '-M -o', and we need to detect this. Also, some Intel |
---|
4002 | # versions had trouble with output in subdirs. |
---|
4003 | am__obj=sub/conftest.${OBJEXT-o} |
---|
4004 | am__minus_obj="-o $am__obj" |
---|
4005 | case $depmode in |
---|
4006 | gcc) |
---|
4007 | # This depmode causes a compiler race in universal mode. |
---|
4008 | test "$am__universal" = false || continue |
---|
4009 | ;; |
---|
4010 | nosideeffect) |
---|
4011 | # After this tag, mechanisms are not by side-effect, so they'll |
---|
4012 | # only be used when explicitly requested. |
---|
4013 | if test "x$enable_dependency_tracking" = xyes; then |
---|
4014 | continue |
---|
4015 | else |
---|
4016 | break |
---|
4017 | fi |
---|
4018 | ;; |
---|
4019 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
---|
4020 | # This compiler won't grok '-c -o', but also, the minuso test has |
---|
4021 | # not run yet. These depmodes are late enough in the game, and |
---|
4022 | # so weak that their functioning should not be impacted. |
---|
4023 | am__obj=conftest.${OBJEXT-o} |
---|
4024 | am__minus_obj= |
---|
4025 | ;; |
---|
4026 | none) break ;; |
---|
4027 | esac |
---|
4028 | if depmode=$depmode \ |
---|
4029 | source=sub/conftest.c object=$am__obj \ |
---|
4030 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
4031 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
---|
4032 | >/dev/null 2>conftest.err && |
---|
4033 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
---|
4034 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
4035 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
---|
4036 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
4037 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
4038 | # or remarks (even with -Werror). So we grep stderr for any message |
---|
4039 | # that says an option was ignored or not supported. |
---|
4040 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
---|
4041 | # icc: Command line warning: ignoring option '-M'; no argument required |
---|
4042 | # The diagnosis changed in icc 8.0: |
---|
4043 | # icc: Command line remark: option '-MP' not supported |
---|
4044 | if (grep 'ignoring option' conftest.err || |
---|
4045 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
---|
4046 | am_cv_CC_dependencies_compiler_type=$depmode |
---|
4047 | break |
---|
4048 | fi |
---|
4049 | fi |
---|
4050 | done |
---|
4051 | |
---|
4052 | cd .. |
---|
4053 | rm -rf conftest.dir |
---|
4054 | else |
---|
4055 | am_cv_CC_dependencies_compiler_type=none |
---|
4056 | fi |
---|
4057 | |
---|
4058 | fi |
---|
4059 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
---|
4060 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
---|
4061 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
---|
4062 | |
---|
4063 | if |
---|
4064 | test "x$enable_dependency_tracking" != xno \ |
---|
4065 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
---|
4066 | am__fastdepCC_TRUE= |
---|
4067 | am__fastdepCC_FALSE='#' |
---|
4068 | else |
---|
4069 | am__fastdepCC_TRUE='#' |
---|
4070 | am__fastdepCC_FALSE= |
---|
4071 | fi |
---|
4072 | |
---|
4073 | |
---|
4074 | # By default we simply use the C compiler to build assembly code. |
---|
4075 | |
---|
4076 | test "${CCAS+set}" = set || CCAS=$CC |
---|
4077 | test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS |
---|
4078 | |
---|
4079 | |
---|
4080 | |
---|
4081 | depcc="$CCAS" am_compiler_list= |
---|
4082 | |
---|
4083 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
---|
4084 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
---|
4085 | if ${am_cv_CCAS_dependencies_compiler_type+:} false; then : |
---|
4086 | $as_echo_n "(cached) " >&6 |
---|
4087 | else |
---|
4088 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
4089 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
4090 | # making bogus files that we don't know about and never remove. For |
---|
4091 | # instance it was reported that on HP-UX the gcc test will end up |
---|
4092 | # making a dummy file named 'D' -- because '-MD' means "put the output |
---|
4093 | # in D". |
---|
4094 | rm -rf conftest.dir |
---|
4095 | mkdir conftest.dir |
---|
4096 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
4097 | # using a relative directory. |
---|
4098 | cp "$am_depcomp" conftest.dir |
---|
4099 | cd conftest.dir |
---|
4100 | # We will build objects and dependencies in a subdirectory because |
---|
4101 | # it helps to detect inapplicable dependency modes. For instance |
---|
4102 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
4103 | # side effect of compilation, but ICC will put the dependencies in |
---|
4104 | # the current directory while Tru64 will put them in the object |
---|
4105 | # directory. |
---|
4106 | mkdir sub |
---|
4107 | |
---|
4108 | am_cv_CCAS_dependencies_compiler_type=none |
---|
4109 | if test "$am_compiler_list" = ""; then |
---|
4110 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
4111 | fi |
---|
4112 | am__universal=false |
---|
4113 | |
---|
4114 | |
---|
4115 | for depmode in $am_compiler_list; do |
---|
4116 | # Setup a source with many dependencies, because some compilers |
---|
4117 | # like to wrap large dependency lists on column 80 (with \), and |
---|
4118 | # we should not choose a depcomp mode which is confused by this. |
---|
4119 | # |
---|
4120 | # We need to recreate these files for each test, as the compiler may |
---|
4121 | # overwrite some of them when testing with obscure command lines. |
---|
4122 | # This happens at least with the AIX C compiler. |
---|
4123 | : > sub/conftest.c |
---|
4124 | for i in 1 2 3 4 5 6; do |
---|
4125 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
4126 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
---|
4127 | # Solaris 10 /bin/sh. |
---|
4128 | echo '/* dummy */' > sub/conftst$i.h |
---|
4129 | done |
---|
4130 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
4131 | |
---|
4132 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
---|
4133 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
4134 | # handle '-M -o', and we need to detect this. Also, some Intel |
---|
4135 | # versions had trouble with output in subdirs. |
---|
4136 | am__obj=sub/conftest.${OBJEXT-o} |
---|
4137 | am__minus_obj="-o $am__obj" |
---|
4138 | case $depmode in |
---|
4139 | gcc) |
---|
4140 | # This depmode causes a compiler race in universal mode. |
---|
4141 | test "$am__universal" = false || continue |
---|
4142 | ;; |
---|
4143 | nosideeffect) |
---|
4144 | # After this tag, mechanisms are not by side-effect, so they'll |
---|
4145 | # only be used when explicitly requested. |
---|
4146 | if test "x$enable_dependency_tracking" = xyes; then |
---|
4147 | continue |
---|
4148 | else |
---|
4149 | break |
---|
4150 | fi |
---|
4151 | ;; |
---|
4152 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
---|
4153 | # This compiler won't grok '-c -o', but also, the minuso test has |
---|
4154 | # not run yet. These depmodes are late enough in the game, and |
---|
4155 | # so weak that their functioning should not be impacted. |
---|
4156 | am__obj=conftest.${OBJEXT-o} |
---|
4157 | am__minus_obj= |
---|
4158 | ;; |
---|
4159 | none) break ;; |
---|
4160 | esac |
---|
4161 | if depmode=$depmode \ |
---|
4162 | source=sub/conftest.c object=$am__obj \ |
---|
4163 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
4164 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
---|
4165 | >/dev/null 2>conftest.err && |
---|
4166 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
---|
4167 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
4168 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
---|
4169 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
4170 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
4171 | # or remarks (even with -Werror). So we grep stderr for any message |
---|
4172 | # that says an option was ignored or not supported. |
---|
4173 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
---|
4174 | # icc: Command line warning: ignoring option '-M'; no argument required |
---|
4175 | # The diagnosis changed in icc 8.0: |
---|
4176 | # icc: Command line remark: option '-MP' not supported |
---|
4177 | if (grep 'ignoring option' conftest.err || |
---|
4178 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
---|
4179 | am_cv_CCAS_dependencies_compiler_type=$depmode |
---|
4180 | break |
---|
4181 | fi |
---|
4182 | fi |
---|
4183 | done |
---|
4184 | |
---|
4185 | cd .. |
---|
4186 | rm -rf conftest.dir |
---|
4187 | else |
---|
4188 | am_cv_CCAS_dependencies_compiler_type=none |
---|
4189 | fi |
---|
4190 | |
---|
4191 | fi |
---|
4192 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5 |
---|
4193 | $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; } |
---|
4194 | CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type |
---|
4195 | |
---|
4196 | if |
---|
4197 | test "x$enable_dependency_tracking" != xno \ |
---|
4198 | && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then |
---|
4199 | am__fastdepCCAS_TRUE= |
---|
4200 | am__fastdepCCAS_FALSE='#' |
---|
4201 | else |
---|
4202 | am__fastdepCCAS_TRUE='#' |
---|
4203 | am__fastdepCCAS_FALSE= |
---|
4204 | fi |
---|
4205 | |
---|
4206 | |
---|
4207 | |
---|
4208 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
---|
4209 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
---|
4210 | set x ${MAKE-make} |
---|
4211 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
---|
4212 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
---|
4213 | $as_echo_n "(cached) " >&6 |
---|
4214 | else |
---|
4215 | cat >conftest.make <<\_ACEOF |
---|
4216 | SHELL = /bin/sh |
---|
4217 | all: |
---|
4218 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
---|
4219 | _ACEOF |
---|
4220 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
---|
4221 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
---|
4222 | *@@@%%%=?*=@@@%%%*) |
---|
4223 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
---|
4224 | *) |
---|
4225 | eval ac_cv_prog_make_${ac_make}_set=no;; |
---|
4226 | esac |
---|
4227 | rm -f conftest.make |
---|
4228 | fi |
---|
4229 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
---|
4230 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
4231 | $as_echo "yes" >&6; } |
---|
4232 | SET_MAKE= |
---|
4233 | else |
---|
4234 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4235 | $as_echo "no" >&6; } |
---|
4236 | SET_MAKE="MAKE=${MAKE-make}" |
---|
4237 | fi |
---|
4238 | |
---|
4239 | if test -n "$ac_tool_prefix"; then |
---|
4240 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
---|
4241 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
---|
4242 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4243 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4244 | if ${ac_cv_prog_RANLIB+:} false; then : |
---|
4245 | $as_echo_n "(cached) " >&6 |
---|
4246 | else |
---|
4247 | if test -n "$RANLIB"; then |
---|
4248 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
---|
4249 | else |
---|
4250 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4251 | for as_dir in $PATH |
---|
4252 | do |
---|
4253 | IFS=$as_save_IFS |
---|
4254 | test -z "$as_dir" && as_dir=. |
---|
4255 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4256 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
4257 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
---|
4258 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4259 | break 2 |
---|
4260 | fi |
---|
4261 | done |
---|
4262 | done |
---|
4263 | IFS=$as_save_IFS |
---|
4264 | |
---|
4265 | fi |
---|
4266 | fi |
---|
4267 | RANLIB=$ac_cv_prog_RANLIB |
---|
4268 | if test -n "$RANLIB"; then |
---|
4269 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
---|
4270 | $as_echo "$RANLIB" >&6; } |
---|
4271 | else |
---|
4272 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4273 | $as_echo "no" >&6; } |
---|
4274 | fi |
---|
4275 | |
---|
4276 | |
---|
4277 | fi |
---|
4278 | if test -z "$ac_cv_prog_RANLIB"; then |
---|
4279 | ac_ct_RANLIB=$RANLIB |
---|
4280 | # Extract the first word of "ranlib", so it can be a program name with args. |
---|
4281 | set dummy ranlib; ac_word=$2 |
---|
4282 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4283 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4284 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
---|
4285 | $as_echo_n "(cached) " >&6 |
---|
4286 | else |
---|
4287 | if test -n "$ac_ct_RANLIB"; then |
---|
4288 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
---|
4289 | else |
---|
4290 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4291 | for as_dir in $PATH |
---|
4292 | do |
---|
4293 | IFS=$as_save_IFS |
---|
4294 | test -z "$as_dir" && as_dir=. |
---|
4295 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4296 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
4297 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
---|
4298 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4299 | break 2 |
---|
4300 | fi |
---|
4301 | done |
---|
4302 | done |
---|
4303 | IFS=$as_save_IFS |
---|
4304 | |
---|
4305 | fi |
---|
4306 | fi |
---|
4307 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
---|
4308 | if test -n "$ac_ct_RANLIB"; then |
---|
4309 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
---|
4310 | $as_echo "$ac_ct_RANLIB" >&6; } |
---|
4311 | else |
---|
4312 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4313 | $as_echo "no" >&6; } |
---|
4314 | fi |
---|
4315 | |
---|
4316 | if test "x$ac_ct_RANLIB" = x; then |
---|
4317 | RANLIB=":" |
---|
4318 | else |
---|
4319 | case $cross_compiling:$ac_tool_warned in |
---|
4320 | yes:) |
---|
4321 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
4322 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
4323 | ac_tool_warned=yes ;; |
---|
4324 | esac |
---|
4325 | RANLIB=$ac_ct_RANLIB |
---|
4326 | fi |
---|
4327 | else |
---|
4328 | RANLIB="$ac_cv_prog_RANLIB" |
---|
4329 | fi |
---|
4330 | |
---|
4331 | |
---|
4332 | ac_config_files="$ac_config_files Makefile src/Makefile prelude/Makefile" |
---|
4333 | |
---|
4334 | |
---|
4335 | cat >confcache <<\_ACEOF |
---|
4336 | # This file is a shell script that caches the results of configure |
---|
4337 | # tests run on this system so they can be shared between configure |
---|
4338 | # scripts and configure runs, see configure's option --config-cache. |
---|
4339 | # It is not useful on other systems. If it contains results you don't |
---|
4340 | # want to keep, you may remove or edit it. |
---|
4341 | # |
---|
4342 | # config.status only pays attention to the cache file if you give it |
---|
4343 | # the --recheck option to rerun configure. |
---|
4344 | # |
---|
4345 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
4346 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
4347 | # following values. |
---|
4348 | |
---|
4349 | _ACEOF |
---|
4350 | |
---|
4351 | # The following way of writing the cache mishandles newlines in values, |
---|
4352 | # but we know of no workaround that is simple, portable, and efficient. |
---|
4353 | # So, we kill variables containing newlines. |
---|
4354 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
4355 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
4356 | ( |
---|
4357 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
4358 | eval ac_val=\$$ac_var |
---|
4359 | case $ac_val in #( |
---|
4360 | *${as_nl}*) |
---|
4361 | case $ac_var in #( |
---|
4362 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
4363 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
4364 | esac |
---|
4365 | case $ac_var in #( |
---|
4366 | _ | IFS | as_nl) ;; #( |
---|
4367 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
4368 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
4369 | esac ;; |
---|
4370 | esac |
---|
4371 | done |
---|
4372 | |
---|
4373 | (set) 2>&1 | |
---|
4374 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
4375 | *${as_nl}ac_space=\ *) |
---|
4376 | # `set' does not quote correctly, so add quotes: double-quote |
---|
4377 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
---|
4378 | sed -n \ |
---|
4379 | "s/'/'\\\\''/g; |
---|
4380 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
4381 | ;; #( |
---|
4382 | *) |
---|
4383 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
4384 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
4385 | ;; |
---|
4386 | esac | |
---|
4387 | sort |
---|
4388 | ) | |
---|
4389 | sed ' |
---|
4390 | /^ac_cv_env_/b end |
---|
4391 | t clear |
---|
4392 | :clear |
---|
4393 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
4394 | t end |
---|
4395 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
4396 | :end' >>confcache |
---|
4397 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
4398 | if test -w "$cache_file"; then |
---|
4399 | if test "x$cache_file" != "x/dev/null"; then |
---|
4400 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
---|
4401 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
---|
4402 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
---|
4403 | cat confcache >"$cache_file" |
---|
4404 | else |
---|
4405 | case $cache_file in #( |
---|
4406 | */* | ?:*) |
---|
4407 | mv -f confcache "$cache_file"$$ && |
---|
4408 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
---|
4409 | *) |
---|
4410 | mv -f confcache "$cache_file" ;; |
---|
4411 | esac |
---|
4412 | fi |
---|
4413 | fi |
---|
4414 | else |
---|
4415 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
---|
4416 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
4417 | fi |
---|
4418 | fi |
---|
4419 | rm -f confcache |
---|
4420 | |
---|
4421 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
4422 | # Let make expand exec_prefix. |
---|
4423 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
4424 | |
---|
4425 | # Transform confdefs.h into DEFS. |
---|
4426 | # Protect against shell expansion while executing Makefile rules. |
---|
4427 | # Protect against Makefile macro expansion. |
---|
4428 | # |
---|
4429 | # If the first sed substitution is executed (which looks for macros that |
---|
4430 | # take arguments), then branch to the quote section. Otherwise, |
---|
4431 | # look for a macro that doesn't take arguments. |
---|
4432 | ac_script=' |
---|
4433 | :mline |
---|
4434 | /\\$/{ |
---|
4435 | N |
---|
4436 | s,\\\n,, |
---|
4437 | b mline |
---|
4438 | } |
---|
4439 | t clear |
---|
4440 | :clear |
---|
4441 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
---|
4442 | t quote |
---|
4443 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
---|
4444 | t quote |
---|
4445 | b any |
---|
4446 | :quote |
---|
4447 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
---|
4448 | s/\[/\\&/g |
---|
4449 | s/\]/\\&/g |
---|
4450 | s/\$/$$/g |
---|
4451 | H |
---|
4452 | :any |
---|
4453 | ${ |
---|
4454 | g |
---|
4455 | s/^\n// |
---|
4456 | s/\n/ /g |
---|
4457 | p |
---|
4458 | } |
---|
4459 | ' |
---|
4460 | DEFS=`sed -n "$ac_script" confdefs.h` |
---|
4461 | |
---|
4462 | |
---|
4463 | ac_libobjs= |
---|
4464 | ac_ltlibobjs= |
---|
4465 | U= |
---|
4466 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
4467 | # 1. Remove the extension, and $U if already installed. |
---|
4468 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
4469 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
---|
4470 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
4471 | # will be set to the directory where LIBOBJS objects are built. |
---|
4472 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
4473 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
4474 | done |
---|
4475 | LIBOBJS=$ac_libobjs |
---|
4476 | |
---|
4477 | LTLIBOBJS=$ac_ltlibobjs |
---|
4478 | |
---|
4479 | |
---|
4480 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
---|
4481 | $as_echo_n "checking that generated files are newer than configure... " >&6; } |
---|
4482 | if test -n "$am_sleep_pid"; then |
---|
4483 | # Hide warnings about reused PIDs. |
---|
4484 | wait $am_sleep_pid 2>/dev/null |
---|
4485 | fi |
---|
4486 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
---|
4487 | $as_echo "done" >&6; } |
---|
4488 | if test -n "$EXEEXT"; then |
---|
4489 | am__EXEEXT_TRUE= |
---|
4490 | am__EXEEXT_FALSE='#' |
---|
4491 | else |
---|
4492 | am__EXEEXT_TRUE='#' |
---|
4493 | am__EXEEXT_FALSE= |
---|
4494 | fi |
---|
4495 | |
---|
4496 | if test -z "${BUILDLIB_TRUE}" && test -z "${BUILDLIB_FALSE}"; then |
---|
4497 | as_fn_error $? "conditional \"BUILDLIB\" was never defined. |
---|
4498 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
4499 | fi |
---|
4500 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
---|
4501 | as_fn_error $? "conditional \"AMDEP\" was never defined. |
---|
4502 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
4503 | fi |
---|
4504 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
---|
4505 | as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
---|
4506 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
4507 | fi |
---|
4508 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
---|
4509 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
---|
4510 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
4511 | fi |
---|
4512 | if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then |
---|
4513 | as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined. |
---|
4514 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
4515 | fi |
---|
4516 | |
---|
4517 | : "${CONFIG_STATUS=./config.status}" |
---|
4518 | ac_write_fail=0 |
---|
4519 | ac_clean_files_save=$ac_clean_files |
---|
4520 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
4521 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
---|
4522 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
4523 | as_write_fail=0 |
---|
4524 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
---|
4525 | #! $SHELL |
---|
4526 | # Generated by $as_me. |
---|
4527 | # Run this file to recreate the current configuration. |
---|
4528 | # Compiler output produced by configure, useful for debugging |
---|
4529 | # configure, is in config.log if it exists. |
---|
4530 | |
---|
4531 | debug=false |
---|
4532 | ac_cs_recheck=false |
---|
4533 | ac_cs_silent=false |
---|
4534 | |
---|
4535 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
4536 | export SHELL |
---|
4537 | _ASEOF |
---|
4538 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
---|
4539 | ## -------------------- ## |
---|
4540 | ## M4sh Initialization. ## |
---|
4541 | ## -------------------- ## |
---|
4542 | |
---|
4543 | # Be more Bourne compatible |
---|
4544 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
4545 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
4546 | emulate sh |
---|
4547 | NULLCMD=: |
---|
4548 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
4549 | # is contrary to our usage. Disable this feature. |
---|
4550 | alias -g '${1+"$@"}'='"$@"' |
---|
4551 | setopt NO_GLOB_SUBST |
---|
4552 | else |
---|
4553 | case `(set -o) 2>/dev/null` in #( |
---|
4554 | *posix*) : |
---|
4555 | set -o posix ;; #( |
---|
4556 | *) : |
---|
4557 | ;; |
---|
4558 | esac |
---|
4559 | fi |
---|
4560 | |
---|
4561 | |
---|
4562 | as_nl=' |
---|
4563 | ' |
---|
4564 | export as_nl |
---|
4565 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
4566 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
4567 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
4568 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
4569 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
4570 | # but without wasting forks for bash or zsh. |
---|
4571 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
4572 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
4573 | as_echo='print -r --' |
---|
4574 | as_echo_n='print -rn --' |
---|
4575 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
4576 | as_echo='printf %s\n' |
---|
4577 | as_echo_n='printf %s' |
---|
4578 | else |
---|
4579 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
4580 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
4581 | as_echo_n='/usr/ucb/echo -n' |
---|
4582 | else |
---|
4583 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
4584 | as_echo_n_body='eval |
---|
4585 | arg=$1; |
---|
4586 | case $arg in #( |
---|
4587 | *"$as_nl"*) |
---|
4588 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
4589 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
4590 | esac; |
---|
4591 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
4592 | ' |
---|
4593 | export as_echo_n_body |
---|
4594 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
4595 | fi |
---|
4596 | export as_echo_body |
---|
4597 | as_echo='sh -c $as_echo_body as_echo' |
---|
4598 | fi |
---|
4599 | |
---|
4600 | # The user is always right. |
---|
4601 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
4602 | PATH_SEPARATOR=: |
---|
4603 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
4604 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
4605 | PATH_SEPARATOR=';' |
---|
4606 | } |
---|
4607 | fi |
---|
4608 | |
---|
4609 | |
---|
4610 | # IFS |
---|
4611 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
4612 | # there to prevent editors from complaining about space-tab. |
---|
4613 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
4614 | # splitting by setting IFS to empty value.) |
---|
4615 | IFS=" "" $as_nl" |
---|
4616 | |
---|
4617 | # Find who we are. Look in the path if we contain no directory separator. |
---|
4618 | as_myself= |
---|
4619 | case $0 in #(( |
---|
4620 | *[\\/]* ) as_myself=$0 ;; |
---|
4621 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4622 | for as_dir in $PATH |
---|
4623 | do |
---|
4624 | IFS=$as_save_IFS |
---|
4625 | test -z "$as_dir" && as_dir=. |
---|
4626 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
4627 | done |
---|
4628 | IFS=$as_save_IFS |
---|
4629 | |
---|
4630 | ;; |
---|
4631 | esac |
---|
4632 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
4633 | # in which case we are not to be found in the path. |
---|
4634 | if test "x$as_myself" = x; then |
---|
4635 | as_myself=$0 |
---|
4636 | fi |
---|
4637 | if test ! -f "$as_myself"; then |
---|
4638 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
4639 | exit 1 |
---|
4640 | fi |
---|
4641 | |
---|
4642 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
4643 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
4644 | # suppresses any "Segmentation fault" message there. '((' could |
---|
4645 | # trigger a bug in pdksh 5.2.14. |
---|
4646 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
4647 | do eval test x\${$as_var+set} = xset \ |
---|
4648 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
4649 | done |
---|
4650 | PS1='$ ' |
---|
4651 | PS2='> ' |
---|
4652 | PS4='+ ' |
---|
4653 | |
---|
4654 | # NLS nuisances. |
---|
4655 | LC_ALL=C |
---|
4656 | export LC_ALL |
---|
4657 | LANGUAGE=C |
---|
4658 | export LANGUAGE |
---|
4659 | |
---|
4660 | # CDPATH. |
---|
4661 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
4662 | |
---|
4663 | |
---|
4664 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
4665 | # ---------------------------------------- |
---|
4666 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
4667 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
4668 | # script with STATUS, using 1 if that was 0. |
---|
4669 | as_fn_error () |
---|
4670 | { |
---|
4671 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
4672 | if test "$4"; then |
---|
4673 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
4674 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
4675 | fi |
---|
4676 | $as_echo "$as_me: error: $2" >&2 |
---|
4677 | as_fn_exit $as_status |
---|
4678 | } # as_fn_error |
---|
4679 | |
---|
4680 | |
---|
4681 | # as_fn_set_status STATUS |
---|
4682 | # ----------------------- |
---|
4683 | # Set $? to STATUS, without forking. |
---|
4684 | as_fn_set_status () |
---|
4685 | { |
---|
4686 | return $1 |
---|
4687 | } # as_fn_set_status |
---|
4688 | |
---|
4689 | # as_fn_exit STATUS |
---|
4690 | # ----------------- |
---|
4691 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
4692 | as_fn_exit () |
---|
4693 | { |
---|
4694 | set +e |
---|
4695 | as_fn_set_status $1 |
---|
4696 | exit $1 |
---|
4697 | } # as_fn_exit |
---|
4698 | |
---|
4699 | # as_fn_unset VAR |
---|
4700 | # --------------- |
---|
4701 | # Portably unset VAR. |
---|
4702 | as_fn_unset () |
---|
4703 | { |
---|
4704 | { eval $1=; unset $1;} |
---|
4705 | } |
---|
4706 | as_unset=as_fn_unset |
---|
4707 | # as_fn_append VAR VALUE |
---|
4708 | # ---------------------- |
---|
4709 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
4710 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
4711 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
4712 | # implementations. |
---|
4713 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
4714 | eval 'as_fn_append () |
---|
4715 | { |
---|
4716 | eval $1+=\$2 |
---|
4717 | }' |
---|
4718 | else |
---|
4719 | as_fn_append () |
---|
4720 | { |
---|
4721 | eval $1=\$$1\$2 |
---|
4722 | } |
---|
4723 | fi # as_fn_append |
---|
4724 | |
---|
4725 | # as_fn_arith ARG... |
---|
4726 | # ------------------ |
---|
4727 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
4728 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
4729 | # must be portable across $(()) and expr. |
---|
4730 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
4731 | eval 'as_fn_arith () |
---|
4732 | { |
---|
4733 | as_val=$(( $* )) |
---|
4734 | }' |
---|
4735 | else |
---|
4736 | as_fn_arith () |
---|
4737 | { |
---|
4738 | as_val=`expr "$@" || test $? -eq 1` |
---|
4739 | } |
---|
4740 | fi # as_fn_arith |
---|
4741 | |
---|
4742 | |
---|
4743 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
4744 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
4745 | as_expr=expr |
---|
4746 | else |
---|
4747 | as_expr=false |
---|
4748 | fi |
---|
4749 | |
---|
4750 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
4751 | as_basename=basename |
---|
4752 | else |
---|
4753 | as_basename=false |
---|
4754 | fi |
---|
4755 | |
---|
4756 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
4757 | as_dirname=dirname |
---|
4758 | else |
---|
4759 | as_dirname=false |
---|
4760 | fi |
---|
4761 | |
---|
4762 | as_me=`$as_basename -- "$0" || |
---|
4763 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
4764 | X"$0" : 'X\(//\)$' \| \ |
---|
4765 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
4766 | $as_echo X/"$0" | |
---|
4767 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
4768 | s//\1/ |
---|
4769 | q |
---|
4770 | } |
---|
4771 | /^X\/\(\/\/\)$/{ |
---|
4772 | s//\1/ |
---|
4773 | q |
---|
4774 | } |
---|
4775 | /^X\/\(\/\).*/{ |
---|
4776 | s//\1/ |
---|
4777 | q |
---|
4778 | } |
---|
4779 | s/.*/./; q'` |
---|
4780 | |
---|
4781 | # Avoid depending upon Character Ranges. |
---|
4782 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
4783 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
4784 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
4785 | as_cr_digits='0123456789' |
---|
4786 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
4787 | |
---|
4788 | ECHO_C= ECHO_N= ECHO_T= |
---|
4789 | case `echo -n x` in #((((( |
---|
4790 | -n*) |
---|
4791 | case `echo 'xy\c'` in |
---|
4792 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
4793 | xy) ECHO_C='\c';; |
---|
4794 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
4795 | ECHO_T=' ';; |
---|
4796 | esac;; |
---|
4797 | *) |
---|
4798 | ECHO_N='-n';; |
---|
4799 | esac |
---|
4800 | |
---|
4801 | rm -f conf$$ conf$$.exe conf$$.file |
---|
4802 | if test -d conf$$.dir; then |
---|
4803 | rm -f conf$$.dir/conf$$.file |
---|
4804 | else |
---|
4805 | rm -f conf$$.dir |
---|
4806 | mkdir conf$$.dir 2>/dev/null |
---|
4807 | fi |
---|
4808 | if (echo >conf$$.file) 2>/dev/null; then |
---|
4809 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
4810 | as_ln_s='ln -s' |
---|
4811 | # ... but there are two gotchas: |
---|
4812 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
4813 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
4814 | # In both cases, we have to default to `cp -pR'. |
---|
4815 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
4816 | as_ln_s='cp -pR' |
---|
4817 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
4818 | as_ln_s=ln |
---|
4819 | else |
---|
4820 | as_ln_s='cp -pR' |
---|
4821 | fi |
---|
4822 | else |
---|
4823 | as_ln_s='cp -pR' |
---|
4824 | fi |
---|
4825 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
4826 | rmdir conf$$.dir 2>/dev/null |
---|
4827 | |
---|
4828 | |
---|
4829 | # as_fn_mkdir_p |
---|
4830 | # ------------- |
---|
4831 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
4832 | as_fn_mkdir_p () |
---|
4833 | { |
---|
4834 | |
---|
4835 | case $as_dir in #( |
---|
4836 | -*) as_dir=./$as_dir;; |
---|
4837 | esac |
---|
4838 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
4839 | as_dirs= |
---|
4840 | while :; do |
---|
4841 | case $as_dir in #( |
---|
4842 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
4843 | *) as_qdir=$as_dir;; |
---|
4844 | esac |
---|
4845 | as_dirs="'$as_qdir' $as_dirs" |
---|
4846 | as_dir=`$as_dirname -- "$as_dir" || |
---|
4847 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
4848 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
4849 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
4850 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
4851 | $as_echo X"$as_dir" | |
---|
4852 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
4853 | s//\1/ |
---|
4854 | q |
---|
4855 | } |
---|
4856 | /^X\(\/\/\)[^/].*/{ |
---|
4857 | s//\1/ |
---|
4858 | q |
---|
4859 | } |
---|
4860 | /^X\(\/\/\)$/{ |
---|
4861 | s//\1/ |
---|
4862 | q |
---|
4863 | } |
---|
4864 | /^X\(\/\).*/{ |
---|
4865 | s//\1/ |
---|
4866 | q |
---|
4867 | } |
---|
4868 | s/.*/./; q'` |
---|
4869 | test -d "$as_dir" && break |
---|
4870 | done |
---|
4871 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
4872 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
4873 | |
---|
4874 | |
---|
4875 | } # as_fn_mkdir_p |
---|
4876 | if mkdir -p . 2>/dev/null; then |
---|
4877 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
4878 | else |
---|
4879 | test -d ./-p && rmdir ./-p |
---|
4880 | as_mkdir_p=false |
---|
4881 | fi |
---|
4882 | |
---|
4883 | |
---|
4884 | # as_fn_executable_p FILE |
---|
4885 | # ----------------------- |
---|
4886 | # Test if FILE is an executable regular file. |
---|
4887 | as_fn_executable_p () |
---|
4888 | { |
---|
4889 | test -f "$1" && test -x "$1" |
---|
4890 | } # as_fn_executable_p |
---|
4891 | as_test_x='test -x' |
---|
4892 | as_executable_p=as_fn_executable_p |
---|
4893 | |
---|
4894 | # Sed expression to map a string onto a valid CPP name. |
---|
4895 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
4896 | |
---|
4897 | # Sed expression to map a string onto a valid variable name. |
---|
4898 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
4899 | |
---|
4900 | |
---|
4901 | exec 6>&1 |
---|
4902 | ## ----------------------------------- ## |
---|
4903 | ## Main body of $CONFIG_STATUS script. ## |
---|
4904 | ## ----------------------------------- ## |
---|
4905 | _ASEOF |
---|
4906 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
---|
4907 | |
---|
4908 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
4909 | # Save the log message, to keep $0 and so on meaningful, and to |
---|
4910 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
4911 | # values after options handling. |
---|
4912 | ac_log=" |
---|
4913 | This file was extended by cfa-cc $as_me 1.0.0.0, which was |
---|
4914 | generated by GNU Autoconf 2.69. Invocation command line was |
---|
4915 | |
---|
4916 | CONFIG_FILES = $CONFIG_FILES |
---|
4917 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
4918 | CONFIG_LINKS = $CONFIG_LINKS |
---|
4919 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
4920 | $ $0 $@ |
---|
4921 | |
---|
4922 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
4923 | " |
---|
4924 | |
---|
4925 | _ACEOF |
---|
4926 | |
---|
4927 | case $ac_config_files in *" |
---|
4928 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
---|
4929 | esac |
---|
4930 | |
---|
4931 | |
---|
4932 | |
---|
4933 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
4934 | # Files that config.status was made for. |
---|
4935 | config_files="$ac_config_files" |
---|
4936 | config_commands="$ac_config_commands" |
---|
4937 | |
---|
4938 | _ACEOF |
---|
4939 | |
---|
4940 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
4941 | ac_cs_usage="\ |
---|
4942 | \`$as_me' instantiates files and other configuration actions |
---|
4943 | from templates according to the current configuration. Unless the files |
---|
4944 | and actions are specified as TAGs, all are instantiated by default. |
---|
4945 | |
---|
4946 | Usage: $0 [OPTION]... [TAG]... |
---|
4947 | |
---|
4948 | -h, --help print this help, then exit |
---|
4949 | -V, --version print version number and configuration settings, then exit |
---|
4950 | --config print configuration, then exit |
---|
4951 | -q, --quiet, --silent |
---|
4952 | do not print progress messages |
---|
4953 | -d, --debug don't remove temporary files |
---|
4954 | --recheck update $as_me by reconfiguring in the same conditions |
---|
4955 | --file=FILE[:TEMPLATE] |
---|
4956 | instantiate the configuration file FILE |
---|
4957 | |
---|
4958 | Configuration files: |
---|
4959 | $config_files |
---|
4960 | |
---|
4961 | Configuration commands: |
---|
4962 | $config_commands |
---|
4963 | |
---|
4964 | Report bugs to <cforall@plg.uwaterloo.ca>." |
---|
4965 | |
---|
4966 | _ACEOF |
---|
4967 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
4968 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
---|
4969 | ac_cs_version="\\ |
---|
4970 | cfa-cc config.status 1.0.0.0 |
---|
4971 | configured by $0, generated by GNU Autoconf 2.69, |
---|
4972 | with options \\"\$ac_cs_config\\" |
---|
4973 | |
---|
4974 | Copyright (C) 2012 Free Software Foundation, Inc. |
---|
4975 | This config.status script is free software; the Free Software Foundation |
---|
4976 | gives unlimited permission to copy, distribute and modify it." |
---|
4977 | |
---|
4978 | ac_pwd='$ac_pwd' |
---|
4979 | srcdir='$srcdir' |
---|
4980 | INSTALL='$INSTALL' |
---|
4981 | MKDIR_P='$MKDIR_P' |
---|
4982 | AWK='$AWK' |
---|
4983 | test -n "\$AWK" || AWK=awk |
---|
4984 | _ACEOF |
---|
4985 | |
---|
4986 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
4987 | # The default lists apply if the user does not specify any file. |
---|
4988 | ac_need_defaults=: |
---|
4989 | while test $# != 0 |
---|
4990 | do |
---|
4991 | case $1 in |
---|
4992 | --*=?*) |
---|
4993 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
4994 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
4995 | ac_shift=: |
---|
4996 | ;; |
---|
4997 | --*=) |
---|
4998 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
4999 | ac_optarg= |
---|
5000 | ac_shift=: |
---|
5001 | ;; |
---|
5002 | *) |
---|
5003 | ac_option=$1 |
---|
5004 | ac_optarg=$2 |
---|
5005 | ac_shift=shift |
---|
5006 | ;; |
---|
5007 | esac |
---|
5008 | |
---|
5009 | case $ac_option in |
---|
5010 | # Handling of the options. |
---|
5011 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
5012 | ac_cs_recheck=: ;; |
---|
5013 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
5014 | $as_echo "$ac_cs_version"; exit ;; |
---|
5015 | --config | --confi | --conf | --con | --co | --c ) |
---|
5016 | $as_echo "$ac_cs_config"; exit ;; |
---|
5017 | --debug | --debu | --deb | --de | --d | -d ) |
---|
5018 | debug=: ;; |
---|
5019 | --file | --fil | --fi | --f ) |
---|
5020 | $ac_shift |
---|
5021 | case $ac_optarg in |
---|
5022 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
5023 | '') as_fn_error $? "missing file argument" ;; |
---|
5024 | esac |
---|
5025 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
---|
5026 | ac_need_defaults=false;; |
---|
5027 | --he | --h | --help | --hel | -h ) |
---|
5028 | $as_echo "$ac_cs_usage"; exit ;; |
---|
5029 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
5030 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
5031 | ac_cs_silent=: ;; |
---|
5032 | |
---|
5033 | # This is an error. |
---|
5034 | -*) as_fn_error $? "unrecognized option: \`$1' |
---|
5035 | Try \`$0 --help' for more information." ;; |
---|
5036 | |
---|
5037 | *) as_fn_append ac_config_targets " $1" |
---|
5038 | ac_need_defaults=false ;; |
---|
5039 | |
---|
5040 | esac |
---|
5041 | shift |
---|
5042 | done |
---|
5043 | |
---|
5044 | ac_configure_extra_args= |
---|
5045 | |
---|
5046 | if $ac_cs_silent; then |
---|
5047 | exec 6>/dev/null |
---|
5048 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
5049 | fi |
---|
5050 | |
---|
5051 | _ACEOF |
---|
5052 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5053 | if \$ac_cs_recheck; then |
---|
5054 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
5055 | shift |
---|
5056 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
---|
5057 | CONFIG_SHELL='$SHELL' |
---|
5058 | export CONFIG_SHELL |
---|
5059 | exec "\$@" |
---|
5060 | fi |
---|
5061 | |
---|
5062 | _ACEOF |
---|
5063 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5064 | exec 5>>config.log |
---|
5065 | { |
---|
5066 | echo |
---|
5067 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
5068 | ## Running $as_me. ## |
---|
5069 | _ASBOX |
---|
5070 | $as_echo "$ac_log" |
---|
5071 | } >&5 |
---|
5072 | |
---|
5073 | _ACEOF |
---|
5074 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5075 | # |
---|
5076 | # INIT-COMMANDS |
---|
5077 | # |
---|
5078 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
---|
5079 | |
---|
5080 | _ACEOF |
---|
5081 | |
---|
5082 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5083 | |
---|
5084 | # Handling of arguments. |
---|
5085 | for ac_config_target in $ac_config_targets |
---|
5086 | do |
---|
5087 | case $ac_config_target in |
---|
5088 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
---|
5089 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
5090 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
---|
5091 | "prelude/Makefile") CONFIG_FILES="$CONFIG_FILES prelude/Makefile" ;; |
---|
5092 | |
---|
5093 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
---|
5094 | esac |
---|
5095 | done |
---|
5096 | |
---|
5097 | |
---|
5098 | # If the user did not use the arguments to specify the items to instantiate, |
---|
5099 | # then the envvar interface is used. Set only those that are not. |
---|
5100 | # We use the long form for the default assignment because of an extremely |
---|
5101 | # bizarre bug on SunOS 4.1.3. |
---|
5102 | if $ac_need_defaults; then |
---|
5103 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
5104 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
---|
5105 | fi |
---|
5106 | |
---|
5107 | # Have a temporary directory for convenience. Make it in the build tree |
---|
5108 | # simply because there is no reason against having it here, and in addition, |
---|
5109 | # creating and moving files from /tmp can sometimes cause problems. |
---|
5110 | # Hook for its removal unless debugging. |
---|
5111 | # Note that there is a small window in which the directory will not be cleaned: |
---|
5112 | # after its creation but before its name has been assigned to `$tmp'. |
---|
5113 | $debug || |
---|
5114 | { |
---|
5115 | tmp= ac_tmp= |
---|
5116 | trap 'exit_status=$? |
---|
5117 | : "${ac_tmp:=$tmp}" |
---|
5118 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
---|
5119 | ' 0 |
---|
5120 | trap 'as_fn_exit 1' 1 2 13 15 |
---|
5121 | } |
---|
5122 | # Create a (secure) tmp directory for tmp files. |
---|
5123 | |
---|
5124 | { |
---|
5125 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
5126 | test -d "$tmp" |
---|
5127 | } || |
---|
5128 | { |
---|
5129 | tmp=./conf$$-$RANDOM |
---|
5130 | (umask 077 && mkdir "$tmp") |
---|
5131 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
---|
5132 | ac_tmp=$tmp |
---|
5133 | |
---|
5134 | # Set up the scripts for CONFIG_FILES section. |
---|
5135 | # No need to generate them if there are no CONFIG_FILES. |
---|
5136 | # This happens for instance with `./config.status config.h'. |
---|
5137 | if test -n "$CONFIG_FILES"; then |
---|
5138 | |
---|
5139 | |
---|
5140 | ac_cr=`echo X | tr X '\015'` |
---|
5141 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
---|
5142 | # But we know of no other shell where ac_cr would be empty at this |
---|
5143 | # point, so we can use a bashism as a fallback. |
---|
5144 | if test "x$ac_cr" = x; then |
---|
5145 | eval ac_cr=\$\'\\r\' |
---|
5146 | fi |
---|
5147 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
---|
5148 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
---|
5149 | ac_cs_awk_cr='\\r' |
---|
5150 | else |
---|
5151 | ac_cs_awk_cr=$ac_cr |
---|
5152 | fi |
---|
5153 | |
---|
5154 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
---|
5155 | _ACEOF |
---|
5156 | |
---|
5157 | |
---|
5158 | { |
---|
5159 | echo "cat >conf$$subs.awk <<_ACEOF" && |
---|
5160 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
---|
5161 | echo "_ACEOF" |
---|
5162 | } >conf$$subs.sh || |
---|
5163 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
5164 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
---|
5165 | ac_delim='%!_!# ' |
---|
5166 | for ac_last_try in false false false false false :; do |
---|
5167 | . ./conf$$subs.sh || |
---|
5168 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
5169 | |
---|
5170 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
---|
5171 | if test $ac_delim_n = $ac_delim_num; then |
---|
5172 | break |
---|
5173 | elif $ac_last_try; then |
---|
5174 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
5175 | else |
---|
5176 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
5177 | fi |
---|
5178 | done |
---|
5179 | rm -f conf$$subs.sh |
---|
5180 | |
---|
5181 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5182 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
---|
5183 | _ACEOF |
---|
5184 | sed -n ' |
---|
5185 | h |
---|
5186 | s/^/S["/; s/!.*/"]=/ |
---|
5187 | p |
---|
5188 | g |
---|
5189 | s/^[^!]*!// |
---|
5190 | :repl |
---|
5191 | t repl |
---|
5192 | s/'"$ac_delim"'$// |
---|
5193 | t delim |
---|
5194 | :nl |
---|
5195 | h |
---|
5196 | s/\(.\{148\}\)..*/\1/ |
---|
5197 | t more1 |
---|
5198 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
---|
5199 | p |
---|
5200 | n |
---|
5201 | b repl |
---|
5202 | :more1 |
---|
5203 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
5204 | p |
---|
5205 | g |
---|
5206 | s/.\{148\}// |
---|
5207 | t nl |
---|
5208 | :delim |
---|
5209 | h |
---|
5210 | s/\(.\{148\}\)..*/\1/ |
---|
5211 | t more2 |
---|
5212 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
---|
5213 | p |
---|
5214 | b |
---|
5215 | :more2 |
---|
5216 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
5217 | p |
---|
5218 | g |
---|
5219 | s/.\{148\}// |
---|
5220 | t delim |
---|
5221 | ' <conf$$subs.awk | sed ' |
---|
5222 | /^[^""]/{ |
---|
5223 | N |
---|
5224 | s/\n// |
---|
5225 | } |
---|
5226 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
5227 | rm -f conf$$subs.awk |
---|
5228 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5229 | _ACAWK |
---|
5230 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
---|
5231 | for (key in S) S_is_set[key] = 1 |
---|
5232 | FS = "" |
---|
5233 | |
---|
5234 | } |
---|
5235 | { |
---|
5236 | line = $ 0 |
---|
5237 | nfields = split(line, field, "@") |
---|
5238 | substed = 0 |
---|
5239 | len = length(field[1]) |
---|
5240 | for (i = 2; i < nfields; i++) { |
---|
5241 | key = field[i] |
---|
5242 | keylen = length(key) |
---|
5243 | if (S_is_set[key]) { |
---|
5244 | value = S[key] |
---|
5245 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
---|
5246 | len += length(value) + length(field[++i]) |
---|
5247 | substed = 1 |
---|
5248 | } else |
---|
5249 | len += 1 + keylen |
---|
5250 | } |
---|
5251 | |
---|
5252 | print line |
---|
5253 | } |
---|
5254 | |
---|
5255 | _ACAWK |
---|
5256 | _ACEOF |
---|
5257 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5258 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
---|
5259 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
---|
5260 | else |
---|
5261 | cat |
---|
5262 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
---|
5263 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
---|
5264 | _ACEOF |
---|
5265 | |
---|
5266 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
---|
5267 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
---|
5268 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
5269 | # (actually we leave an empty line to preserve line numbers). |
---|
5270 | if test "x$srcdir" = x.; then |
---|
5271 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
---|
5272 | h |
---|
5273 | s/// |
---|
5274 | s/^/:/ |
---|
5275 | s/[ ]*$/:/ |
---|
5276 | s/:\$(srcdir):/:/g |
---|
5277 | s/:\${srcdir}:/:/g |
---|
5278 | s/:@srcdir@:/:/g |
---|
5279 | s/^:*// |
---|
5280 | s/:*$// |
---|
5281 | x |
---|
5282 | s/\(=[ ]*\).*/\1/ |
---|
5283 | G |
---|
5284 | s/\n// |
---|
5285 | s/^[^=]*=[ ]*$// |
---|
5286 | }' |
---|
5287 | fi |
---|
5288 | |
---|
5289 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5290 | fi # test -n "$CONFIG_FILES" |
---|
5291 | |
---|
5292 | |
---|
5293 | eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" |
---|
5294 | shift |
---|
5295 | for ac_tag |
---|
5296 | do |
---|
5297 | case $ac_tag in |
---|
5298 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
5299 | esac |
---|
5300 | case $ac_mode$ac_tag in |
---|
5301 | :[FHL]*:*);; |
---|
5302 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
---|
5303 | :[FH]-) ac_tag=-:-;; |
---|
5304 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
5305 | esac |
---|
5306 | ac_save_IFS=$IFS |
---|
5307 | IFS=: |
---|
5308 | set x $ac_tag |
---|
5309 | IFS=$ac_save_IFS |
---|
5310 | shift |
---|
5311 | ac_file=$1 |
---|
5312 | shift |
---|
5313 | |
---|
5314 | case $ac_mode in |
---|
5315 | :L) ac_source=$1;; |
---|
5316 | :[FH]) |
---|
5317 | ac_file_inputs= |
---|
5318 | for ac_f |
---|
5319 | do |
---|
5320 | case $ac_f in |
---|
5321 | -) ac_f="$ac_tmp/stdin";; |
---|
5322 | *) # Look for the file first in the build tree, then in the source tree |
---|
5323 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
5324 | # because $ac_f cannot contain `:'. |
---|
5325 | test -f "$ac_f" || |
---|
5326 | case $ac_f in |
---|
5327 | [\\/$]*) false;; |
---|
5328 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
5329 | esac || |
---|
5330 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
---|
5331 | esac |
---|
5332 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
---|
5333 | as_fn_append ac_file_inputs " '$ac_f'" |
---|
5334 | done |
---|
5335 | |
---|
5336 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
5337 | # use $as_me), people would be surprised to read: |
---|
5338 | # /* config.h. Generated by config.status. */ |
---|
5339 | configure_input='Generated from '` |
---|
5340 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
---|
5341 | `' by configure.' |
---|
5342 | if test x"$ac_file" != x-; then |
---|
5343 | configure_input="$ac_file. $configure_input" |
---|
5344 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
---|
5345 | $as_echo "$as_me: creating $ac_file" >&6;} |
---|
5346 | fi |
---|
5347 | # Neutralize special characters interpreted by sed in replacement strings. |
---|
5348 | case $configure_input in #( |
---|
5349 | *\&* | *\|* | *\\* ) |
---|
5350 | ac_sed_conf_input=`$as_echo "$configure_input" | |
---|
5351 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
---|
5352 | *) ac_sed_conf_input=$configure_input;; |
---|
5353 | esac |
---|
5354 | |
---|
5355 | case $ac_tag in |
---|
5356 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
---|
5357 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
---|
5358 | esac |
---|
5359 | ;; |
---|
5360 | esac |
---|
5361 | |
---|
5362 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
5363 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5364 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
5365 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
5366 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
5367 | $as_echo X"$ac_file" | |
---|
5368 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
5369 | s//\1/ |
---|
5370 | q |
---|
5371 | } |
---|
5372 | /^X\(\/\/\)[^/].*/{ |
---|
5373 | s//\1/ |
---|
5374 | q |
---|
5375 | } |
---|
5376 | /^X\(\/\/\)$/{ |
---|
5377 | s//\1/ |
---|
5378 | q |
---|
5379 | } |
---|
5380 | /^X\(\/\).*/{ |
---|
5381 | s//\1/ |
---|
5382 | q |
---|
5383 | } |
---|
5384 | s/.*/./; q'` |
---|
5385 | as_dir="$ac_dir"; as_fn_mkdir_p |
---|
5386 | ac_builddir=. |
---|
5387 | |
---|
5388 | case "$ac_dir" in |
---|
5389 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
5390 | *) |
---|
5391 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
5392 | # A ".." for each directory in $ac_dir_suffix. |
---|
5393 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
5394 | case $ac_top_builddir_sub in |
---|
5395 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
5396 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
5397 | esac ;; |
---|
5398 | esac |
---|
5399 | ac_abs_top_builddir=$ac_pwd |
---|
5400 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
5401 | # for backward compatibility: |
---|
5402 | ac_top_builddir=$ac_top_build_prefix |
---|
5403 | |
---|
5404 | case $srcdir in |
---|
5405 | .) # We are building in place. |
---|
5406 | ac_srcdir=. |
---|
5407 | ac_top_srcdir=$ac_top_builddir_sub |
---|
5408 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
5409 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
5410 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
5411 | ac_top_srcdir=$srcdir |
---|
5412 | ac_abs_top_srcdir=$srcdir ;; |
---|
5413 | *) # Relative name. |
---|
5414 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
5415 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
5416 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
5417 | esac |
---|
5418 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
5419 | |
---|
5420 | |
---|
5421 | case $ac_mode in |
---|
5422 | :F) |
---|
5423 | # |
---|
5424 | # CONFIG_FILE |
---|
5425 | # |
---|
5426 | |
---|
5427 | case $INSTALL in |
---|
5428 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
5429 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
5430 | esac |
---|
5431 | ac_MKDIR_P=$MKDIR_P |
---|
5432 | case $MKDIR_P in |
---|
5433 | [\\/$]* | ?:[\\/]* ) ;; |
---|
5434 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
---|
5435 | esac |
---|
5436 | _ACEOF |
---|
5437 | |
---|
5438 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5439 | # If the template does not know about datarootdir, expand it. |
---|
5440 | # FIXME: This hack should be removed a few years after 2.60. |
---|
5441 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
5442 | ac_sed_dataroot=' |
---|
5443 | /datarootdir/ { |
---|
5444 | p |
---|
5445 | q |
---|
5446 | } |
---|
5447 | /@datadir@/p |
---|
5448 | /@docdir@/p |
---|
5449 | /@infodir@/p |
---|
5450 | /@localedir@/p |
---|
5451 | /@mandir@/p' |
---|
5452 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
---|
5453 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
5454 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
5455 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
5456 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
5457 | _ACEOF |
---|
5458 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5459 | ac_datarootdir_hack=' |
---|
5460 | s&@datadir@&$datadir&g |
---|
5461 | s&@docdir@&$docdir&g |
---|
5462 | s&@infodir@&$infodir&g |
---|
5463 | s&@localedir@&$localedir&g |
---|
5464 | s&@mandir@&$mandir&g |
---|
5465 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
5466 | esac |
---|
5467 | _ACEOF |
---|
5468 | |
---|
5469 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
5470 | # Shell code in configure.ac might set extrasub. |
---|
5471 | # FIXME: do we really want to maintain this feature? |
---|
5472 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5473 | ac_sed_extra="$ac_vpsub |
---|
5474 | $extrasub |
---|
5475 | _ACEOF |
---|
5476 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5477 | :t |
---|
5478 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
5479 | s|@configure_input@|$ac_sed_conf_input|;t t |
---|
5480 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
5481 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
---|
5482 | s&@srcdir@&$ac_srcdir&;t t |
---|
5483 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
5484 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
5485 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
5486 | s&@builddir@&$ac_builddir&;t t |
---|
5487 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
5488 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
5489 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
5490 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
---|
5491 | $ac_datarootdir_hack |
---|
5492 | " |
---|
5493 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
---|
5494 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
5495 | |
---|
5496 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
5497 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
---|
5498 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
---|
5499 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
---|
5500 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
5501 | which seems to be undefined. Please make sure it is defined" >&5 |
---|
5502 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
5503 | which seems to be undefined. Please make sure it is defined" >&2;} |
---|
5504 | |
---|
5505 | rm -f "$ac_tmp/stdin" |
---|
5506 | case $ac_file in |
---|
5507 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
---|
5508 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
---|
5509 | esac \ |
---|
5510 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
5511 | ;; |
---|
5512 | |
---|
5513 | |
---|
5514 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
---|
5515 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
---|
5516 | ;; |
---|
5517 | esac |
---|
5518 | |
---|
5519 | |
---|
5520 | case $ac_file$ac_mode in |
---|
5521 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
---|
5522 | # Older Autoconf quotes --file arguments for eval, but not when files |
---|
5523 | # are listed without --file. Let's play safe and only enable the eval |
---|
5524 | # if we detect the quoting. |
---|
5525 | case $CONFIG_FILES in |
---|
5526 | *\'*) eval set x "$CONFIG_FILES" ;; |
---|
5527 | *) set x $CONFIG_FILES ;; |
---|
5528 | esac |
---|
5529 | shift |
---|
5530 | for mf |
---|
5531 | do |
---|
5532 | # Strip MF so we end up with the name of the file. |
---|
5533 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
---|
5534 | # Check whether this is an Automake generated Makefile or not. |
---|
5535 | # We used to match only the files named 'Makefile.in', but |
---|
5536 | # some people rename them; so instead we look at the file content. |
---|
5537 | # Grep'ing the first line is not enough: some people post-process |
---|
5538 | # each Makefile.in and add a new line on top of each file to say so. |
---|
5539 | # Grep'ing the whole file is not good either: AIX grep has a line |
---|
5540 | # limit of 2048, but all sed's we know have understand at least 4000. |
---|
5541 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
---|
5542 | dirpart=`$as_dirname -- "$mf" || |
---|
5543 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5544 | X"$mf" : 'X\(//\)[^/]' \| \ |
---|
5545 | X"$mf" : 'X\(//\)$' \| \ |
---|
5546 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
---|
5547 | $as_echo X"$mf" | |
---|
5548 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
5549 | s//\1/ |
---|
5550 | q |
---|
5551 | } |
---|
5552 | /^X\(\/\/\)[^/].*/{ |
---|
5553 | s//\1/ |
---|
5554 | q |
---|
5555 | } |
---|
5556 | /^X\(\/\/\)$/{ |
---|
5557 | s//\1/ |
---|
5558 | q |
---|
5559 | } |
---|
5560 | /^X\(\/\).*/{ |
---|
5561 | s//\1/ |
---|
5562 | q |
---|
5563 | } |
---|
5564 | s/.*/./; q'` |
---|
5565 | else |
---|
5566 | continue |
---|
5567 | fi |
---|
5568 | # Extract the definition of DEPDIR, am__include, and am__quote |
---|
5569 | # from the Makefile without running 'make'. |
---|
5570 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
---|
5571 | test -z "$DEPDIR" && continue |
---|
5572 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
---|
5573 | test -z "$am__include" && continue |
---|
5574 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
---|
5575 | # Find all dependency output files, they are included files with |
---|
5576 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
---|
5577 | # simplest approach to changing $(DEPDIR) to its actual value in the |
---|
5578 | # expansion. |
---|
5579 | for file in `sed -n " |
---|
5580 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
---|
5581 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
---|
5582 | # Make sure the directory exists. |
---|
5583 | test -f "$dirpart/$file" && continue |
---|
5584 | fdir=`$as_dirname -- "$file" || |
---|
5585 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5586 | X"$file" : 'X\(//\)[^/]' \| \ |
---|
5587 | X"$file" : 'X\(//\)$' \| \ |
---|
5588 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
---|
5589 | $as_echo X"$file" | |
---|
5590 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
5591 | s//\1/ |
---|
5592 | q |
---|
5593 | } |
---|
5594 | /^X\(\/\/\)[^/].*/{ |
---|
5595 | s//\1/ |
---|
5596 | q |
---|
5597 | } |
---|
5598 | /^X\(\/\/\)$/{ |
---|
5599 | s//\1/ |
---|
5600 | q |
---|
5601 | } |
---|
5602 | /^X\(\/\).*/{ |
---|
5603 | s//\1/ |
---|
5604 | q |
---|
5605 | } |
---|
5606 | s/.*/./; q'` |
---|
5607 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
---|
5608 | # echo "creating $dirpart/$file" |
---|
5609 | echo '# dummy' > "$dirpart/$file" |
---|
5610 | done |
---|
5611 | done |
---|
5612 | } |
---|
5613 | ;; |
---|
5614 | |
---|
5615 | esac |
---|
5616 | done # for ac_tag |
---|
5617 | |
---|
5618 | |
---|
5619 | as_fn_exit 0 |
---|
5620 | _ACEOF |
---|
5621 | ac_clean_files=$ac_clean_files_save |
---|
5622 | |
---|
5623 | test $ac_write_fail = 0 || |
---|
5624 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
---|
5625 | |
---|
5626 | |
---|
5627 | # configure is writing to config.log, and then calls config.status. |
---|
5628 | # config.status does its own redirection, appending to config.log. |
---|
5629 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
5630 | # by configure, so config.status won't be able to write to it; its |
---|
5631 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
5632 | # effectively closing config.log, so it can be properly (re)opened and |
---|
5633 | # appended to by config.status. When coming back to configure, we |
---|
5634 | # need to make the FD available again. |
---|
5635 | if test "$no_create" != yes; then |
---|
5636 | ac_cs_success=: |
---|
5637 | ac_config_status_args= |
---|
5638 | test "$silent" = yes && |
---|
5639 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
5640 | exec 5>/dev/null |
---|
5641 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
5642 | exec 5>>config.log |
---|
5643 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
5644 | # would make configure fail if this is the last instruction. |
---|
5645 | $ac_cs_success || as_fn_exit 1 |
---|
5646 | fi |
---|
5647 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
---|
5648 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
---|
5649 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
---|
5650 | fi |
---|
5651 | |
---|
5652 | |
---|
5653 | # Final text |
---|
5654 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cforall library configuraton completed. Type \"make -j 8 install\"." >&5 |
---|
5655 | $as_echo "Cforall library configuraton completed. Type \"make -j 8 install\"." >&6; } |
---|