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