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