Commit | Line | Data |
---|---|---|
b26e2ae7 JM |
1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. | |
3 | # Generated by GNU Autoconf 2.69. | |
4 | # | |
5 | # | |
6 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | |
7 | # | |
8 | # | |
9 | # This configure script is free software; the Free Software Foundation | |
10 | # gives unlimited permission to copy, distribute and modify it. | |
11 | ## -------------------- ## | |
12 | ## M4sh Initialization. ## | |
13 | ## -------------------- ## | |
14 | ||
15 | # Be more Bourne compatible | |
16 | DUALCASE=1; export DUALCASE # for MKS sh | |
17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
18 | emulate sh | |
19 | NULLCMD=: | |
20 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
21 | # is contrary to our usage. Disable this feature. | |
22 | alias -g '${1+"$@"}'='"$@"' | |
23 | setopt NO_GLOB_SUBST | |
24 | else | |
25 | case `(set -o) 2>/dev/null` in #( | |
26 | *posix*) : | |
27 | set -o posix ;; #( | |
28 | *) : | |
29 | ;; | |
30 | esac | |
31 | fi | |
32 | ||
33 | ||
34 | as_nl=' | |
35 | ' | |
36 | export as_nl | |
37 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
38 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
39 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
40 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
41 | # Prefer a ksh shell builtin over an external printf program on Solaris, | |
42 | # but without wasting forks for bash or zsh. | |
43 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
44 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
45 | as_echo='print -r --' | |
46 | as_echo_n='print -rn --' | |
47 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
48 | as_echo='printf %s\n' | |
49 | as_echo_n='printf %s' | |
50 | else | |
51 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
52 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
53 | as_echo_n='/usr/ucb/echo -n' | |
54 | else | |
55 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
56 | as_echo_n_body='eval | |
57 | arg=$1; | |
58 | case $arg in #( | |
59 | *"$as_nl"*) | |
60 | expr "X$arg" : "X\\(.*\\)$as_nl"; | |
61 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
62 | esac; | |
63 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
64 | ' | |
65 | export as_echo_n_body | |
66 | as_echo_n='sh -c $as_echo_n_body as_echo' | |
67 | fi | |
68 | export as_echo_body | |
69 | as_echo='sh -c $as_echo_body as_echo' | |
70 | fi | |
71 | ||
72 | # The user is always right. | |
73 | if test "${PATH_SEPARATOR+set}" != set; then | |
74 | PATH_SEPARATOR=: | |
75 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
76 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
77 | PATH_SEPARATOR=';' | |
78 | } | |
79 | fi | |
80 | ||
81 | ||
82 | # IFS | |
83 | # We need space, tab and new line, in precisely that order. Quoting is | |
84 | # there to prevent editors from complaining about space-tab. | |
85 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
86 | # splitting by setting IFS to empty value.) | |
87 | IFS=" "" $as_nl" | |
88 | ||
89 | # Find who we are. Look in the path if we contain no directory separator. | |
90 | as_myself= | |
91 | case $0 in #(( | |
92 | *[\\/]* ) as_myself=$0 ;; | |
93 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
94 | for as_dir in $PATH | |
95 | do | |
96 | IFS=$as_save_IFS | |
97 | test -z "$as_dir" && as_dir=. | |
98 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
99 | done | |
100 | IFS=$as_save_IFS | |
101 | ||
102 | ;; | |
103 | esac | |
104 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
105 | # in which case we are not to be found in the path. | |
106 | if test "x$as_myself" = x; then | |
107 | as_myself=$0 | |
108 | fi | |
109 | if test ! -f "$as_myself"; then | |
110 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
111 | exit 1 | |
112 | fi | |
113 | ||
114 | # Unset variables that we do not need and which cause bugs (e.g. in | |
115 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
116 | # suppresses any "Segmentation fault" message there. '((' could | |
117 | # trigger a bug in pdksh 5.2.14. | |
118 | for as_var in BASH_ENV ENV MAIL MAILPATH | |
119 | do eval test x\${$as_var+set} = xset \ | |
120 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
121 | done | |
122 | PS1='$ ' | |
123 | PS2='> ' | |
124 | PS4='+ ' | |
125 | ||
126 | # NLS nuisances. | |
127 | LC_ALL=C | |
128 | export LC_ALL | |
129 | LANGUAGE=C | |
130 | export LANGUAGE | |
131 | ||
132 | # CDPATH. | |
133 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
134 | ||
135 | # Use a proper internal environment variable to ensure we don't fall | |
136 | # into an infinite loop, continuously re-executing ourselves. | |
137 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | |
138 | _as_can_reexec=no; export _as_can_reexec; | |
139 | # We cannot yet assume a decent shell, so we have to provide a | |
140 | # neutralization value for shells without unset; and this also | |
141 | # works around shells that cannot unset nonexistent variables. | |
142 | # Preserve -v and -x to the replacement shell. | |
143 | BASH_ENV=/dev/null | |
144 | ENV=/dev/null | |
145 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
146 | case $- in # (((( | |
147 | *v*x* | *x*v* ) as_opts=-vx ;; | |
148 | *v* ) as_opts=-v ;; | |
149 | *x* ) as_opts=-x ;; | |
150 | * ) as_opts= ;; | |
151 | esac | |
152 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
153 | # Admittedly, this is quite paranoid, since all the known shells bail | |
154 | # out after a failed `exec'. | |
155 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
156 | as_fn_exit 255 | |
157 | fi | |
158 | # We don't want this to propagate to other subprocesses. | |
159 | { _as_can_reexec=; unset _as_can_reexec;} | |
160 | if test "x$CONFIG_SHELL" = x; then | |
161 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | |
162 | emulate sh | |
163 | NULLCMD=: | |
164 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
165 | # is contrary to our usage. Disable this feature. | |
166 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
167 | setopt NO_GLOB_SUBST | |
168 | else | |
169 | case \`(set -o) 2>/dev/null\` in #( | |
170 | *posix*) : | |
171 | set -o posix ;; #( | |
172 | *) : | |
173 | ;; | |
174 | esac | |
175 | fi | |
176 | " | |
177 | as_required="as_fn_return () { (exit \$1); } | |
178 | as_fn_success () { as_fn_return 0; } | |
179 | as_fn_failure () { as_fn_return 1; } | |
180 | as_fn_ret_success () { return 0; } | |
181 | as_fn_ret_failure () { return 1; } | |
182 | ||
183 | exitcode=0 | |
184 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
185 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
186 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
187 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
188 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
189 | ||
190 | else | |
191 | exitcode=1; echo positional parameters were not saved. | |
192 | fi | |
193 | test x\$exitcode = x0 || exit 1 | |
194 | test -x / || exit 1" | |
195 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
196 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
197 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
d3562f83 | 198 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" |
b26e2ae7 JM |
199 | if (eval "$as_required") 2>/dev/null; then : |
200 | as_have_required=yes | |
201 | else | |
202 | as_have_required=no | |
203 | fi | |
204 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
205 | ||
206 | else | |
207 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
208 | as_found=false | |
209 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
210 | do | |
211 | IFS=$as_save_IFS | |
212 | test -z "$as_dir" && as_dir=. | |
213 | as_found=: | |
214 | case $as_dir in #( | |
215 | /*) | |
216 | for as_base in sh bash ksh sh5; do | |
217 | # Try only shells that exist, to save several forks. | |
218 | as_shell=$as_dir/$as_base | |
219 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
220 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
221 | CONFIG_SHELL=$as_shell as_have_required=yes | |
222 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
223 | break 2 | |
224 | fi | |
225 | fi | |
226 | done;; | |
227 | esac | |
228 | as_found=false | |
229 | done | |
230 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
231 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | |
232 | CONFIG_SHELL=$SHELL as_have_required=yes | |
233 | fi; } | |
234 | IFS=$as_save_IFS | |
235 | ||
236 | ||
237 | if test "x$CONFIG_SHELL" != x; then : | |
238 | export CONFIG_SHELL | |
239 | # We cannot yet assume a decent shell, so we have to provide a | |
240 | # neutralization value for shells without unset; and this also | |
241 | # works around shells that cannot unset nonexistent variables. | |
242 | # Preserve -v and -x to the replacement shell. | |
243 | BASH_ENV=/dev/null | |
244 | ENV=/dev/null | |
245 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
246 | case $- in # (((( | |
247 | *v*x* | *x*v* ) as_opts=-vx ;; | |
248 | *v* ) as_opts=-v ;; | |
249 | *x* ) as_opts=-x ;; | |
250 | * ) as_opts= ;; | |
251 | esac | |
252 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
253 | # Admittedly, this is quite paranoid, since all the known shells bail | |
254 | # out after a failed `exec'. | |
255 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
256 | exit 255 | |
257 | fi | |
258 | ||
259 | if test x$as_have_required = xno; then : | |
260 | $as_echo "$0: This script requires a shell more modern than all" | |
261 | $as_echo "$0: the shells that I found on your system." | |
262 | if test x${ZSH_VERSION+set} = xset ; then | |
263 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
264 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
265 | else | |
266 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, | |
267 | $0: including any error possibly output before this | |
268 | $0: message. Then install a modern shell, or manually run | |
269 | $0: the script under such a shell if you do have one." | |
270 | fi | |
271 | exit 1 | |
272 | fi | |
273 | fi | |
274 | fi | |
275 | SHELL=${CONFIG_SHELL-/bin/sh} | |
276 | export SHELL | |
277 | # Unset more variables known to interfere with behavior of common tools. | |
278 | CLICOLOR_FORCE= GREP_OPTIONS= | |
279 | unset CLICOLOR_FORCE GREP_OPTIONS | |
280 | ||
281 | ## --------------------- ## | |
282 | ## M4sh Shell Functions. ## | |
283 | ## --------------------- ## | |
284 | # as_fn_unset VAR | |
285 | # --------------- | |
286 | # Portably unset VAR. | |
287 | as_fn_unset () | |
288 | { | |
289 | { eval $1=; unset $1;} | |
290 | } | |
291 | as_unset=as_fn_unset | |
292 | ||
293 | # as_fn_set_status STATUS | |
294 | # ----------------------- | |
295 | # Set $? to STATUS, without forking. | |
296 | as_fn_set_status () | |
297 | { | |
298 | return $1 | |
299 | } # as_fn_set_status | |
300 | ||
301 | # as_fn_exit STATUS | |
302 | # ----------------- | |
303 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
304 | as_fn_exit () | |
305 | { | |
306 | set +e | |
307 | as_fn_set_status $1 | |
308 | exit $1 | |
309 | } # as_fn_exit | |
310 | ||
311 | # as_fn_mkdir_p | |
312 | # ------------- | |
313 | # Create "$as_dir" as a directory, including parents if necessary. | |
314 | as_fn_mkdir_p () | |
315 | { | |
316 | ||
317 | case $as_dir in #( | |
318 | -*) as_dir=./$as_dir;; | |
319 | esac | |
320 | test -d "$as_dir" || eval $as_mkdir_p || { | |
321 | as_dirs= | |
322 | while :; do | |
323 | case $as_dir in #( | |
324 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
325 | *) as_qdir=$as_dir;; | |
326 | esac | |
327 | as_dirs="'$as_qdir' $as_dirs" | |
328 | as_dir=`$as_dirname -- "$as_dir" || | |
329 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
330 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
331 | X"$as_dir" : 'X\(//\)$' \| \ | |
332 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
333 | $as_echo X"$as_dir" | | |
334 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
335 | s//\1/ | |
336 | q | |
337 | } | |
338 | /^X\(\/\/\)[^/].*/{ | |
339 | s//\1/ | |
340 | q | |
341 | } | |
342 | /^X\(\/\/\)$/{ | |
343 | s//\1/ | |
344 | q | |
345 | } | |
346 | /^X\(\/\).*/{ | |
347 | s//\1/ | |
348 | q | |
349 | } | |
350 | s/.*/./; q'` | |
351 | test -d "$as_dir" && break | |
352 | done | |
353 | test -z "$as_dirs" || eval "mkdir $as_dirs" | |
354 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
355 | ||
356 | ||
357 | } # as_fn_mkdir_p | |
358 | ||
359 | # as_fn_executable_p FILE | |
360 | # ----------------------- | |
361 | # Test if FILE is an executable regular file. | |
362 | as_fn_executable_p () | |
363 | { | |
364 | test -f "$1" && test -x "$1" | |
365 | } # as_fn_executable_p | |
366 | # as_fn_append VAR VALUE | |
367 | # ---------------------- | |
368 | # Append the text in VALUE to the end of the definition contained in VAR. Take | |
369 | # advantage of any shell optimizations that allow amortized linear growth over | |
370 | # repeated appends, instead of the typical quadratic growth present in naive | |
371 | # implementations. | |
372 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
373 | eval 'as_fn_append () | |
374 | { | |
375 | eval $1+=\$2 | |
376 | }' | |
377 | else | |
378 | as_fn_append () | |
379 | { | |
380 | eval $1=\$$1\$2 | |
381 | } | |
382 | fi # as_fn_append | |
383 | ||
384 | # as_fn_arith ARG... | |
385 | # ------------------ | |
386 | # Perform arithmetic evaluation on the ARGs, and store the result in the | |
387 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
388 | # must be portable across $(()) and expr. | |
389 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
390 | eval 'as_fn_arith () | |
391 | { | |
392 | as_val=$(( $* )) | |
393 | }' | |
394 | else | |
395 | as_fn_arith () | |
396 | { | |
397 | as_val=`expr "$@" || test $? -eq 1` | |
398 | } | |
399 | fi # as_fn_arith | |
400 | ||
401 | ||
402 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
403 | # ---------------------------------------- | |
404 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
405 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
406 | # script with STATUS, using 1 if that was 0. | |
407 | as_fn_error () | |
408 | { | |
409 | as_status=$1; test $as_status -eq 0 && as_status=1 | |
410 | if test "$4"; then | |
411 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
412 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
413 | fi | |
414 | $as_echo "$as_me: error: $2" >&2 | |
415 | as_fn_exit $as_status | |
416 | } # as_fn_error | |
417 | ||
418 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
419 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
420 | as_expr=expr | |
421 | else | |
422 | as_expr=false | |
423 | fi | |
424 | ||
425 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
426 | as_basename=basename | |
427 | else | |
428 | as_basename=false | |
429 | fi | |
430 | ||
431 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
432 | as_dirname=dirname | |
433 | else | |
434 | as_dirname=false | |
435 | fi | |
436 | ||
437 | as_me=`$as_basename -- "$0" || | |
438 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
439 | X"$0" : 'X\(//\)$' \| \ | |
440 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
441 | $as_echo X/"$0" | | |
442 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
443 | s//\1/ | |
444 | q | |
445 | } | |
446 | /^X\/\(\/\/\)$/{ | |
447 | s//\1/ | |
448 | q | |
449 | } | |
450 | /^X\/\(\/\).*/{ | |
451 | s//\1/ | |
452 | q | |
453 | } | |
454 | s/.*/./; q'` | |
455 | ||
456 | # Avoid depending upon Character Ranges. | |
457 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
458 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
459 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
460 | as_cr_digits='0123456789' | |
461 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
462 | ||
463 | ||
464 | as_lineno_1=$LINENO as_lineno_1a=$LINENO | |
465 | as_lineno_2=$LINENO as_lineno_2a=$LINENO | |
466 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | |
467 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | |
468 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | |
469 | sed -n ' | |
470 | p | |
471 | /[$]LINENO/= | |
472 | ' <$as_myself | | |
473 | sed ' | |
474 | s/[$]LINENO.*/&-/ | |
475 | t lineno | |
476 | b | |
477 | :lineno | |
478 | N | |
479 | :loop | |
480 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
481 | t loop | |
482 | s/-\n.*// | |
483 | ' >$as_me.lineno && | |
484 | chmod +x "$as_me.lineno" || | |
485 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | |
486 | ||
487 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | |
488 | # already done that, so ensure we don't try to do so again and fall | |
489 | # in an infinite loop. This has already happened in practice. | |
490 | _as_can_reexec=no; export _as_can_reexec | |
491 | # Don't try to exec as it changes $[0], causing all sort of problems | |
492 | # (the dirname of $[0] is not the place where we might find the | |
493 | # original and so on. Autoconf is especially sensitive to this). | |
494 | . "./$as_me.lineno" | |
495 | # Exit status is that of the last command. | |
496 | exit | |
497 | } | |
498 | ||
499 | ECHO_C= ECHO_N= ECHO_T= | |
500 | case `echo -n x` in #((((( | |
501 | -n*) | |
502 | case `echo 'xy\c'` in | |
503 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
504 | xy) ECHO_C='\c';; | |
505 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
506 | ECHO_T=' ';; | |
507 | esac;; | |
508 | *) | |
509 | ECHO_N='-n';; | |
510 | esac | |
511 | ||
512 | rm -f conf$$ conf$$.exe conf$$.file | |
513 | if test -d conf$$.dir; then | |
514 | rm -f conf$$.dir/conf$$.file | |
515 | else | |
516 | rm -f conf$$.dir | |
517 | mkdir conf$$.dir 2>/dev/null | |
518 | fi | |
519 | if (echo >conf$$.file) 2>/dev/null; then | |
520 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
521 | as_ln_s='ln -s' | |
522 | # ... but there are two gotchas: | |
523 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
524 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
525 | # In both cases, we have to default to `cp -pR'. | |
526 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
527 | as_ln_s='cp -pR' | |
528 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
529 | as_ln_s=ln | |
530 | else | |
531 | as_ln_s='cp -pR' | |
532 | fi | |
533 | else | |
534 | as_ln_s='cp -pR' | |
535 | fi | |
536 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
537 | rmdir conf$$.dir 2>/dev/null | |
538 | ||
539 | if mkdir -p . 2>/dev/null; then | |
540 | as_mkdir_p='mkdir -p "$as_dir"' | |
541 | else | |
542 | test -d ./-p && rmdir ./-p | |
543 | as_mkdir_p=false | |
544 | fi | |
545 | ||
546 | as_test_x='test -x' | |
547 | as_executable_p=as_fn_executable_p | |
548 | ||
549 | # Sed expression to map a string onto a valid CPP name. | |
550 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
551 | ||
552 | # Sed expression to map a string onto a valid variable name. | |
553 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
554 | ||
b26e2ae7 JM |
555 | |
556 | test -n "$DJDIR" || exec 7<&0 </dev/null | |
557 | exec 6>&1 | |
558 | ||
559 | # Name of the host. | |
560 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | |
561 | # so uname gets run too. | |
562 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
563 | ||
564 | # | |
565 | # Initializations. | |
566 | # | |
567 | ac_default_prefix=/usr/local | |
568 | ac_clean_files= | |
569 | ac_config_libobj_dir=. | |
570 | LIBOBJS= | |
571 | cross_compiling=no | |
572 | subdirs= | |
573 | MFLAGS= | |
574 | MAKEFLAGS= | |
575 | ||
576 | # Identity of this package. | |
577 | PACKAGE_NAME= | |
578 | PACKAGE_TARNAME= | |
579 | PACKAGE_VERSION= | |
580 | PACKAGE_STRING= | |
581 | PACKAGE_BUGREPORT= | |
582 | PACKAGE_URL= | |
583 | ||
584 | ac_unique_file="Makefile.in" | |
b26e2ae7 JM |
585 | ac_subst_vars='LTLIBOBJS |
586 | LIBOBJS | |
36bb57e4 MF |
587 | SIM_COMMON_BUILD_FALSE |
588 | SIM_COMMON_BUILD_TRUE | |
760b3e8b | 589 | sim_reserved_bits |
760b3e8b | 590 | sim_float |
b26e2ae7 | 591 | cgen_breaks |
b26e2ae7 JM |
592 | target_alias |
593 | host_alias | |
594 | build_alias | |
595 | LIBS | |
596 | ECHO_T | |
597 | ECHO_N | |
598 | ECHO_C | |
599 | DEFS | |
600 | mandir | |
601 | localedir | |
602 | libdir | |
603 | psdir | |
604 | pdfdir | |
605 | dvidir | |
606 | htmldir | |
607 | infodir | |
608 | docdir | |
609 | oldincludedir | |
610 | includedir | |
611 | localstatedir | |
612 | sharedstatedir | |
613 | sysconfdir | |
614 | datadir | |
615 | datarootdir | |
616 | libexecdir | |
617 | sbindir | |
618 | bindir | |
619 | program_transform_name | |
620 | prefix | |
621 | exec_prefix | |
622 | PACKAGE_URL | |
623 | PACKAGE_BUGREPORT | |
624 | PACKAGE_STRING | |
625 | PACKAGE_VERSION | |
626 | PACKAGE_TARNAME | |
627 | PACKAGE_NAME | |
628 | PATH_SEPARATOR | |
136da8cd | 629 | SHELL |
ba307cdd | 630 | sim_bitsize' |
b26e2ae7 JM |
631 | ac_subst_files='' |
632 | ac_user_opts=' | |
633 | enable_option_checking | |
0316fb52 | 634 | enable_sim_bitsize |
b26e2ae7 JM |
635 | ' |
636 | ac_precious_vars='build_alias | |
637 | host_alias | |
bc56166f | 638 | target_alias' |
b26e2ae7 JM |
639 | |
640 | ||
641 | # Initialize some variables set by options. | |
642 | ac_init_help= | |
643 | ac_init_version=false | |
644 | ac_unrecognized_opts= | |
645 | ac_unrecognized_sep= | |
646 | # The variables have the same names as the options, with | |
647 | # dashes changed to underlines. | |
648 | cache_file=/dev/null | |
649 | exec_prefix=NONE | |
650 | no_create= | |
651 | no_recursion= | |
652 | prefix=NONE | |
653 | program_prefix=NONE | |
654 | program_suffix=NONE | |
655 | program_transform_name=s,x,x, | |
656 | silent= | |
657 | site= | |
658 | srcdir= | |
659 | verbose= | |
660 | x_includes=NONE | |
661 | x_libraries=NONE | |
662 | ||
663 | # Installation directory options. | |
664 | # These are left unexpanded so users can "make install exec_prefix=/foo" | |
665 | # and all the variables that are supposed to be based on exec_prefix | |
666 | # by default will actually change. | |
667 | # Use braces instead of parens because sh, perl, etc. also accept them. | |
668 | # (The list follows the same order as the GNU Coding Standards.) | |
669 | bindir='${exec_prefix}/bin' | |
670 | sbindir='${exec_prefix}/sbin' | |
671 | libexecdir='${exec_prefix}/libexec' | |
672 | datarootdir='${prefix}/share' | |
673 | datadir='${datarootdir}' | |
674 | sysconfdir='${prefix}/etc' | |
675 | sharedstatedir='${prefix}/com' | |
676 | localstatedir='${prefix}/var' | |
677 | includedir='${prefix}/include' | |
678 | oldincludedir='/usr/include' | |
679 | docdir='${datarootdir}/doc/${PACKAGE}' | |
680 | infodir='${datarootdir}/info' | |
681 | htmldir='${docdir}' | |
682 | dvidir='${docdir}' | |
683 | pdfdir='${docdir}' | |
684 | psdir='${docdir}' | |
685 | libdir='${exec_prefix}/lib' | |
686 | localedir='${datarootdir}/locale' | |
687 | mandir='${datarootdir}/man' | |
688 | ||
689 | ac_prev= | |
690 | ac_dashdash= | |
691 | for ac_option | |
692 | do | |
693 | # If the previous option needs an argument, assign it. | |
694 | if test -n "$ac_prev"; then | |
695 | eval $ac_prev=\$ac_option | |
696 | ac_prev= | |
697 | continue | |
698 | fi | |
699 | ||
700 | case $ac_option in | |
701 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
702 | *=) ac_optarg= ;; | |
703 | *) ac_optarg=yes ;; | |
704 | esac | |
705 | ||
706 | # Accept the important Cygnus configure options, so we can diagnose typos. | |
707 | ||
708 | case $ac_dashdash$ac_option in | |
709 | --) | |
710 | ac_dashdash=yes ;; | |
711 | ||
712 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
713 | ac_prev=bindir ;; | |
714 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
715 | bindir=$ac_optarg ;; | |
716 | ||
717 | -build | --build | --buil | --bui | --bu) | |
718 | ac_prev=build_alias ;; | |
719 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
720 | build_alias=$ac_optarg ;; | |
721 | ||
722 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
723 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
724 | ac_prev=cache_file ;; | |
725 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
726 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
727 | cache_file=$ac_optarg ;; | |
728 | ||
729 | --config-cache | -C) | |
730 | cache_file=config.cache ;; | |
731 | ||
732 | -datadir | --datadir | --datadi | --datad) | |
733 | ac_prev=datadir ;; | |
734 | -datadir=* | --datadir=* | --datadi=* | --datad=*) | |
735 | datadir=$ac_optarg ;; | |
736 | ||
737 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
738 | | --dataroo | --dataro | --datar) | |
739 | ac_prev=datarootdir ;; | |
740 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
741 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
742 | datarootdir=$ac_optarg ;; | |
743 | ||
744 | -disable-* | --disable-*) | |
745 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
746 | # Reject names that are not valid shell variable names. | |
747 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
748 | as_fn_error $? "invalid feature name: $ac_useropt" | |
749 | ac_useropt_orig=$ac_useropt | |
750 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
751 | case $ac_user_opts in | |
752 | *" | |
753 | "enable_$ac_useropt" | |
754 | "*) ;; | |
755 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
756 | ac_unrecognized_sep=', ';; | |
757 | esac | |
758 | eval enable_$ac_useropt=no ;; | |
759 | ||
760 | -docdir | --docdir | --docdi | --doc | --do) | |
761 | ac_prev=docdir ;; | |
762 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
763 | docdir=$ac_optarg ;; | |
764 | ||
765 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
766 | ac_prev=dvidir ;; | |
767 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
768 | dvidir=$ac_optarg ;; | |
769 | ||
770 | -enable-* | --enable-*) | |
771 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
772 | # Reject names that are not valid shell variable names. | |
773 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
774 | as_fn_error $? "invalid feature name: $ac_useropt" | |
775 | ac_useropt_orig=$ac_useropt | |
776 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
777 | case $ac_user_opts in | |
778 | *" | |
779 | "enable_$ac_useropt" | |
780 | "*) ;; | |
781 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
782 | ac_unrecognized_sep=', ';; | |
783 | esac | |
784 | eval enable_$ac_useropt=\$ac_optarg ;; | |
785 | ||
786 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
787 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
788 | | --exec | --exe | --ex) | |
789 | ac_prev=exec_prefix ;; | |
790 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
791 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
792 | | --exec=* | --exe=* | --ex=*) | |
793 | exec_prefix=$ac_optarg ;; | |
794 | ||
795 | -gas | --gas | --ga | --g) | |
796 | # Obsolete; use --with-gas. | |
797 | with_gas=yes ;; | |
798 | ||
799 | -help | --help | --hel | --he | -h) | |
800 | ac_init_help=long ;; | |
801 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
802 | ac_init_help=recursive ;; | |
803 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
804 | ac_init_help=short ;; | |
805 | ||
806 | -host | --host | --hos | --ho) | |
807 | ac_prev=host_alias ;; | |
808 | -host=* | --host=* | --hos=* | --ho=*) | |
809 | host_alias=$ac_optarg ;; | |
810 | ||
811 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
812 | ac_prev=htmldir ;; | |
813 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
814 | | --ht=*) | |
815 | htmldir=$ac_optarg ;; | |
816 | ||
817 | -includedir | --includedir | --includedi | --included | --include \ | |
818 | | --includ | --inclu | --incl | --inc) | |
819 | ac_prev=includedir ;; | |
820 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
821 | | --includ=* | --inclu=* | --incl=* | --inc=*) | |
822 | includedir=$ac_optarg ;; | |
823 | ||
824 | -infodir | --infodir | --infodi | --infod | --info | --inf) | |
825 | ac_prev=infodir ;; | |
826 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
827 | infodir=$ac_optarg ;; | |
828 | ||
829 | -libdir | --libdir | --libdi | --libd) | |
830 | ac_prev=libdir ;; | |
831 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
832 | libdir=$ac_optarg ;; | |
833 | ||
834 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
835 | | --libexe | --libex | --libe) | |
836 | ac_prev=libexecdir ;; | |
837 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
838 | | --libexe=* | --libex=* | --libe=*) | |
839 | libexecdir=$ac_optarg ;; | |
840 | ||
841 | -localedir | --localedir | --localedi | --localed | --locale) | |
842 | ac_prev=localedir ;; | |
843 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
844 | localedir=$ac_optarg ;; | |
845 | ||
846 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
847 | | --localstate | --localstat | --localsta | --localst | --locals) | |
848 | ac_prev=localstatedir ;; | |
849 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
850 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | |
851 | localstatedir=$ac_optarg ;; | |
852 | ||
853 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
854 | ac_prev=mandir ;; | |
855 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
856 | mandir=$ac_optarg ;; | |
857 | ||
858 | -nfp | --nfp | --nf) | |
859 | # Obsolete; use --without-fp. | |
860 | with_fp=no ;; | |
861 | ||
862 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
863 | | --no-cr | --no-c | -n) | |
864 | no_create=yes ;; | |
865 | ||
866 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
867 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
868 | no_recursion=yes ;; | |
869 | ||
870 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
871 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
872 | | --oldin | --oldi | --old | --ol | --o) | |
873 | ac_prev=oldincludedir ;; | |
874 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
875 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
876 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
877 | oldincludedir=$ac_optarg ;; | |
878 | ||
879 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
880 | ac_prev=prefix ;; | |
881 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
882 | prefix=$ac_optarg ;; | |
883 | ||
884 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
885 | | --program-pre | --program-pr | --program-p) | |
886 | ac_prev=program_prefix ;; | |
887 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
888 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
889 | program_prefix=$ac_optarg ;; | |
890 | ||
891 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
892 | | --program-suf | --program-su | --program-s) | |
893 | ac_prev=program_suffix ;; | |
894 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
895 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
896 | program_suffix=$ac_optarg ;; | |
897 | ||
898 | -program-transform-name | --program-transform-name \ | |
899 | | --program-transform-nam | --program-transform-na \ | |
900 | | --program-transform-n | --program-transform- \ | |
901 | | --program-transform | --program-transfor \ | |
902 | | --program-transfo | --program-transf \ | |
903 | | --program-trans | --program-tran \ | |
904 | | --progr-tra | --program-tr | --program-t) | |
905 | ac_prev=program_transform_name ;; | |
906 | -program-transform-name=* | --program-transform-name=* \ | |
907 | | --program-transform-nam=* | --program-transform-na=* \ | |
908 | | --program-transform-n=* | --program-transform-=* \ | |
909 | | --program-transform=* | --program-transfor=* \ | |
910 | | --program-transfo=* | --program-transf=* \ | |
911 | | --program-trans=* | --program-tran=* \ | |
912 | | --progr-tra=* | --program-tr=* | --program-t=*) | |
913 | program_transform_name=$ac_optarg ;; | |
914 | ||
915 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
916 | ac_prev=pdfdir ;; | |
917 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
918 | pdfdir=$ac_optarg ;; | |
919 | ||
920 | -psdir | --psdir | --psdi | --psd | --ps) | |
921 | ac_prev=psdir ;; | |
922 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
923 | psdir=$ac_optarg ;; | |
924 | ||
925 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
926 | | -silent | --silent | --silen | --sile | --sil) | |
927 | silent=yes ;; | |
928 | ||
929 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
930 | ac_prev=sbindir ;; | |
931 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
932 | | --sbi=* | --sb=*) | |
933 | sbindir=$ac_optarg ;; | |
934 | ||
935 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
936 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
937 | | --sharedst | --shareds | --shared | --share | --shar \ | |
938 | | --sha | --sh) | |
939 | ac_prev=sharedstatedir ;; | |
940 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
941 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
942 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
943 | | --sha=* | --sh=*) | |
944 | sharedstatedir=$ac_optarg ;; | |
945 | ||
946 | -site | --site | --sit) | |
947 | ac_prev=site ;; | |
948 | -site=* | --site=* | --sit=*) | |
949 | site=$ac_optarg ;; | |
950 | ||
951 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
952 | ac_prev=srcdir ;; | |
953 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
954 | srcdir=$ac_optarg ;; | |
955 | ||
956 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
957 | | --syscon | --sysco | --sysc | --sys | --sy) | |
958 | ac_prev=sysconfdir ;; | |
959 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
960 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
961 | sysconfdir=$ac_optarg ;; | |
962 | ||
963 | -target | --target | --targe | --targ | --tar | --ta | --t) | |
964 | ac_prev=target_alias ;; | |
965 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
966 | target_alias=$ac_optarg ;; | |
967 | ||
968 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
969 | verbose=yes ;; | |
970 | ||
971 | -version | --version | --versio | --versi | --vers | -V) | |
972 | ac_init_version=: ;; | |
973 | ||
974 | -with-* | --with-*) | |
975 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
976 | # Reject names that are not valid shell variable names. | |
977 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
978 | as_fn_error $? "invalid package name: $ac_useropt" | |
979 | ac_useropt_orig=$ac_useropt | |
980 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
981 | case $ac_user_opts in | |
982 | *" | |
983 | "with_$ac_useropt" | |
984 | "*) ;; | |
985 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
986 | ac_unrecognized_sep=', ';; | |
987 | esac | |
988 | eval with_$ac_useropt=\$ac_optarg ;; | |
989 | ||
990 | -without-* | --without-*) | |
991 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
992 | # Reject names that are not valid shell variable names. | |
993 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
994 | as_fn_error $? "invalid package name: $ac_useropt" | |
995 | ac_useropt_orig=$ac_useropt | |
996 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
997 | case $ac_user_opts in | |
998 | *" | |
999 | "with_$ac_useropt" | |
1000 | "*) ;; | |
1001 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1002 | ac_unrecognized_sep=', ';; | |
1003 | esac | |
1004 | eval with_$ac_useropt=no ;; | |
1005 | ||
1006 | --x) | |
1007 | # Obsolete; use --with-x. | |
1008 | with_x=yes ;; | |
1009 | ||
1010 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
1011 | | --x-incl | --x-inc | --x-in | --x-i) | |
1012 | ac_prev=x_includes ;; | |
1013 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
1014 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
1015 | x_includes=$ac_optarg ;; | |
1016 | ||
1017 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
1018 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
1019 | ac_prev=x_libraries ;; | |
1020 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
1021 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
1022 | x_libraries=$ac_optarg ;; | |
1023 | ||
1024 | -*) as_fn_error $? "unrecognized option: \`$ac_option' | |
1025 | Try \`$0 --help' for more information" | |
1026 | ;; | |
1027 | ||
1028 | *=*) | |
1029 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
1030 | # Reject names that are not valid shell variable names. | |
1031 | case $ac_envvar in #( | |
1032 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | |
1033 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
1034 | esac | |
1035 | eval $ac_envvar=\$ac_optarg | |
1036 | export $ac_envvar ;; | |
1037 | ||
1038 | *) | |
1039 | # FIXME: should be removed in autoconf 3.0. | |
1040 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
1041 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
1042 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
1043 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | |
1044 | ;; | |
1045 | ||
1046 | esac | |
1047 | done | |
1048 | ||
1049 | if test -n "$ac_prev"; then | |
1050 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
1051 | as_fn_error $? "missing argument to $ac_option" | |
1052 | fi | |
1053 | ||
1054 | if test -n "$ac_unrecognized_opts"; then | |
1055 | case $enable_option_checking in | |
1056 | no) ;; | |
1057 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1058 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1059 | esac | |
1060 | fi | |
1061 | ||
1062 | # Check all directory arguments for consistency. | |
1063 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |
1064 | datadir sysconfdir sharedstatedir localstatedir includedir \ | |
1065 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
1066 | libdir localedir mandir | |
1067 | do | |
1068 | eval ac_val=\$$ac_var | |
1069 | # Remove trailing slashes. | |
1070 | case $ac_val in | |
1071 | */ ) | |
1072 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
1073 | eval $ac_var=\$ac_val;; | |
1074 | esac | |
1075 | # Be sure to have absolute directory names. | |
1076 | case $ac_val in | |
1077 | [\\/$]* | ?:[\\/]* ) continue;; | |
1078 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
1079 | esac | |
1080 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | |
1081 | done | |
1082 | ||
1083 | # There might be people who depend on the old broken behavior: `$host' | |
1084 | # used to hold the argument of --host etc. | |
1085 | # FIXME: To remove some day. | |
1086 | build=$build_alias | |
1087 | host=$host_alias | |
1088 | target=$target_alias | |
1089 | ||
1090 | # FIXME: To remove some day. | |
1091 | if test "x$host_alias" != x; then | |
1092 | if test "x$build_alias" = x; then | |
1093 | cross_compiling=maybe | |
1094 | elif test "x$build_alias" != "x$host_alias"; then | |
1095 | cross_compiling=yes | |
1096 | fi | |
1097 | fi | |
1098 | ||
1099 | ac_tool_prefix= | |
1100 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
1101 | ||
1102 | test "$silent" = yes && exec 6>/dev/null | |
1103 | ||
1104 | ||
1105 | ac_pwd=`pwd` && test -n "$ac_pwd" && | |
1106 | ac_ls_di=`ls -di .` && | |
1107 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
1108 | as_fn_error $? "working directory cannot be determined" | |
1109 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
1110 | as_fn_error $? "pwd does not report name of working directory" | |
1111 | ||
1112 | ||
1113 | # Find the source files, if location was not specified. | |
1114 | if test -z "$srcdir"; then | |
1115 | ac_srcdir_defaulted=yes | |
1116 | # Try the directory containing this script, then the parent directory. | |
1117 | ac_confdir=`$as_dirname -- "$as_myself" || | |
1118 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
1119 | X"$as_myself" : 'X\(//\)[^/]' \| \ | |
1120 | X"$as_myself" : 'X\(//\)$' \| \ | |
1121 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | |
1122 | $as_echo X"$as_myself" | | |
1123 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
1124 | s//\1/ | |
1125 | q | |
1126 | } | |
1127 | /^X\(\/\/\)[^/].*/{ | |
1128 | s//\1/ | |
1129 | q | |
1130 | } | |
1131 | /^X\(\/\/\)$/{ | |
1132 | s//\1/ | |
1133 | q | |
1134 | } | |
1135 | /^X\(\/\).*/{ | |
1136 | s//\1/ | |
1137 | q | |
1138 | } | |
1139 | s/.*/./; q'` | |
1140 | srcdir=$ac_confdir | |
1141 | if test ! -r "$srcdir/$ac_unique_file"; then | |
1142 | srcdir=.. | |
1143 | fi | |
1144 | else | |
1145 | ac_srcdir_defaulted=no | |
1146 | fi | |
1147 | if test ! -r "$srcdir/$ac_unique_file"; then | |
1148 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | |
1149 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | |
1150 | fi | |
1151 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | |
1152 | ac_abs_confdir=`( | |
1153 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | |
1154 | pwd)` | |
1155 | # When building in place, set srcdir=. | |
1156 | if test "$ac_abs_confdir" = "$ac_pwd"; then | |
1157 | srcdir=. | |
1158 | fi | |
1159 | # Remove unnecessary trailing slashes from srcdir. | |
1160 | # Double slashes in file names in object file debugging info | |
1161 | # mess up M-x gdb in Emacs. | |
1162 | case $srcdir in | |
1163 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
1164 | esac | |
1165 | for ac_var in $ac_precious_vars; do | |
1166 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
1167 | eval ac_env_${ac_var}_value=\$${ac_var} | |
1168 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
1169 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
1170 | done | |
1171 | ||
1172 | # | |
1173 | # Report the --help message. | |
1174 | # | |
1175 | if test "$ac_init_help" = "long"; then | |
1176 | # Omit some internal or obsolete options to make the list less imposing. | |
1177 | # This message is too long to be a string in the A/UX 3.1 sh. | |
1178 | cat <<_ACEOF | |
1179 | \`configure' configures this package to adapt to many kinds of systems. | |
1180 | ||
1181 | Usage: $0 [OPTION]... [VAR=VALUE]... | |
1182 | ||
1183 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
1184 | VAR=VALUE. See below for descriptions of some of the useful variables. | |
1185 | ||
1186 | Defaults for the options are specified in brackets. | |
1187 | ||
1188 | Configuration: | |
1189 | -h, --help display this help and exit | |
1190 | --help=short display options specific to this package | |
1191 | --help=recursive display the short help of all the included packages | |
1192 | -V, --version display version information and exit | |
1193 | -q, --quiet, --silent do not print \`checking ...' messages | |
1194 | --cache-file=FILE cache test results in FILE [disabled] | |
1195 | -C, --config-cache alias for \`--cache-file=config.cache' | |
1196 | -n, --no-create do not create output files | |
1197 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
1198 | ||
1199 | Installation directories: | |
1200 | --prefix=PREFIX install architecture-independent files in PREFIX | |
1201 | [$ac_default_prefix] | |
1202 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
1203 | [PREFIX] | |
1204 | ||
1205 | By default, \`make install' will install all the files in | |
1206 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
1207 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
1208 | for instance \`--prefix=\$HOME'. | |
1209 | ||
1210 | For better control, use the options below. | |
1211 | ||
1212 | Fine tuning of the installation directories: | |
1213 | --bindir=DIR user executables [EPREFIX/bin] | |
1214 | --sbindir=DIR system admin executables [EPREFIX/sbin] | |
1215 | --libexecdir=DIR program executables [EPREFIX/libexec] | |
1216 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
1217 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
1218 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
1219 | --libdir=DIR object code libraries [EPREFIX/lib] | |
1220 | --includedir=DIR C header files [PREFIX/include] | |
1221 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
1222 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
1223 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
1224 | --infodir=DIR info documentation [DATAROOTDIR/info] | |
1225 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1226 | --mandir=DIR man documentation [DATAROOTDIR/man] | |
1227 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | |
1228 | --htmldir=DIR html documentation [DOCDIR] | |
1229 | --dvidir=DIR dvi documentation [DOCDIR] | |
1230 | --pdfdir=DIR pdf documentation [DOCDIR] | |
1231 | --psdir=DIR ps documentation [DOCDIR] | |
1232 | _ACEOF | |
1233 | ||
1234 | cat <<\_ACEOF | |
b26e2ae7 JM |
1235 | _ACEOF |
1236 | fi | |
1237 | ||
1238 | if test -n "$ac_init_help"; then | |
1239 | ||
1240 | cat <<\_ACEOF | |
1241 | ||
1242 | Optional Features: | |
1243 | --disable-option-checking ignore unrecognized --enable/--with options | |
1244 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
1245 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
0316fb52 | 1246 | --enable-sim-bitsize=N Specify target bitsize (32 or 64) |
b26e2ae7 | 1247 | |
b26e2ae7 JM |
1248 | Report bugs to the package provider. |
1249 | _ACEOF | |
1250 | ac_status=$? | |
1251 | fi | |
1252 | ||
1253 | if test "$ac_init_help" = "recursive"; then | |
1254 | # If there are subdirs, report their specific --help. | |
1255 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
1256 | test -d "$ac_dir" || | |
1257 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1258 | continue | |
1259 | ac_builddir=. | |
1260 | ||
1261 | case "$ac_dir" in | |
1262 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1263 | *) | |
1264 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
1265 | # A ".." for each directory in $ac_dir_suffix. | |
1266 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
1267 | case $ac_top_builddir_sub in | |
1268 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1269 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
1270 | esac ;; | |
1271 | esac | |
1272 | ac_abs_top_builddir=$ac_pwd | |
1273 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
1274 | # for backward compatibility: | |
1275 | ac_top_builddir=$ac_top_build_prefix | |
1276 | ||
1277 | case $srcdir in | |
1278 | .) # We are building in place. | |
1279 | ac_srcdir=. | |
1280 | ac_top_srcdir=$ac_top_builddir_sub | |
1281 | ac_abs_top_srcdir=$ac_pwd ;; | |
1282 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
1283 | ac_srcdir=$srcdir$ac_dir_suffix; | |
1284 | ac_top_srcdir=$srcdir | |
1285 | ac_abs_top_srcdir=$srcdir ;; | |
1286 | *) # Relative name. | |
1287 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
1288 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
1289 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
1290 | esac | |
1291 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
1292 | ||
1293 | cd "$ac_dir" || { ac_status=$?; continue; } | |
1294 | # Check for guested configure. | |
1295 | if test -f "$ac_srcdir/configure.gnu"; then | |
1296 | echo && | |
1297 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
1298 | elif test -f "$ac_srcdir/configure"; then | |
1299 | echo && | |
1300 | $SHELL "$ac_srcdir/configure" --help=recursive | |
1301 | else | |
1302 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
1303 | fi || ac_status=$? | |
1304 | cd "$ac_pwd" || { ac_status=$?; break; } | |
1305 | done | |
1306 | fi | |
1307 | ||
1308 | test -n "$ac_init_help" && exit $ac_status | |
1309 | if $ac_init_version; then | |
1310 | cat <<\_ACEOF | |
1311 | configure | |
1312 | generated by GNU Autoconf 2.69 | |
1313 | ||
1314 | Copyright (C) 2012 Free Software Foundation, Inc. | |
1315 | This configure script is free software; the Free Software Foundation | |
1316 | gives unlimited permission to copy, distribute and modify it. | |
1317 | _ACEOF | |
1318 | exit | |
1319 | fi | |
1320 | ||
1321 | ## ------------------------ ## | |
1322 | ## Autoconf initialization. ## | |
1323 | ## ------------------------ ## | |
b26e2ae7 JM |
1324 | cat >config.log <<_ACEOF |
1325 | This file contains any messages produced by compilers while | |
1326 | running configure, to aid debugging if configure makes a mistake. | |
1327 | ||
1328 | It was created by $as_me, which was | |
1329 | generated by GNU Autoconf 2.69. Invocation command line was | |
1330 | ||
1331 | $ $0 $@ | |
1332 | ||
1333 | _ACEOF | |
1334 | exec 5>>config.log | |
1335 | { | |
1336 | cat <<_ASUNAME | |
1337 | ## --------- ## | |
1338 | ## Platform. ## | |
1339 | ## --------- ## | |
1340 | ||
1341 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
1342 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
1343 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
1344 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
1345 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
1346 | ||
1347 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
1348 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
1349 | ||
1350 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
1351 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
1352 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
1353 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | |
1354 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
1355 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
1356 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
1357 | ||
1358 | _ASUNAME | |
1359 | ||
1360 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1361 | for as_dir in $PATH | |
1362 | do | |
1363 | IFS=$as_save_IFS | |
1364 | test -z "$as_dir" && as_dir=. | |
1365 | $as_echo "PATH: $as_dir" | |
1366 | done | |
1367 | IFS=$as_save_IFS | |
1368 | ||
1369 | } >&5 | |
1370 | ||
1371 | cat >&5 <<_ACEOF | |
1372 | ||
1373 | ||
1374 | ## ----------- ## | |
1375 | ## Core tests. ## | |
1376 | ## ----------- ## | |
1377 | ||
1378 | _ACEOF | |
1379 | ||
1380 | ||
1381 | # Keep a trace of the command line. | |
1382 | # Strip out --no-create and --no-recursion so they do not pile up. | |
1383 | # Strip out --silent because we don't want to record it for future runs. | |
1384 | # Also quote any args containing shell meta-characters. | |
1385 | # Make two passes to allow for proper duplicate-argument suppression. | |
1386 | ac_configure_args= | |
1387 | ac_configure_args0= | |
1388 | ac_configure_args1= | |
1389 | ac_must_keep_next=false | |
1390 | for ac_pass in 1 2 | |
1391 | do | |
1392 | for ac_arg | |
1393 | do | |
1394 | case $ac_arg in | |
1395 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
1396 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
1397 | | -silent | --silent | --silen | --sile | --sil) | |
1398 | continue ;; | |
1399 | *\'*) | |
1400 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1401 | esac | |
1402 | case $ac_pass in | |
1403 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | |
1404 | 2) | |
1405 | as_fn_append ac_configure_args1 " '$ac_arg'" | |
1406 | if test $ac_must_keep_next = true; then | |
1407 | ac_must_keep_next=false # Got value, back to normal. | |
1408 | else | |
1409 | case $ac_arg in | |
1410 | *=* | --config-cache | -C | -disable-* | --disable-* \ | |
1411 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
1412 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
1413 | | -with-* | --with-* | -without-* | --without-* | --x) | |
1414 | case "$ac_configure_args0 " in | |
1415 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
1416 | esac | |
1417 | ;; | |
1418 | -* ) ac_must_keep_next=true ;; | |
1419 | esac | |
1420 | fi | |
1421 | as_fn_append ac_configure_args " '$ac_arg'" | |
1422 | ;; | |
1423 | esac | |
1424 | done | |
1425 | done | |
1426 | { ac_configure_args0=; unset ac_configure_args0;} | |
1427 | { ac_configure_args1=; unset ac_configure_args1;} | |
1428 | ||
1429 | # When interrupted or exit'd, cleanup temporary files, and complete | |
1430 | # config.log. We remove comments because anyway the quotes in there | |
1431 | # would cause problems or look ugly. | |
1432 | # WARNING: Use '\'' to represent an apostrophe within the trap. | |
1433 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | |
1434 | trap 'exit_status=$? | |
1435 | # Save into config.log some information that might help in debugging. | |
1436 | { | |
1437 | echo | |
1438 | ||
1439 | $as_echo "## ---------------- ## | |
1440 | ## Cache variables. ## | |
1441 | ## ---------------- ##" | |
1442 | echo | |
1443 | # The following way of writing the cache mishandles newlines in values, | |
1444 | ( | |
1445 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
1446 | eval ac_val=\$$ac_var | |
1447 | case $ac_val in #( | |
1448 | *${as_nl}*) | |
1449 | case $ac_var in #( | |
1450 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
1451 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
1452 | esac | |
1453 | case $ac_var in #( | |
1454 | _ | IFS | as_nl) ;; #( | |
1455 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
1456 | *) { eval $ac_var=; unset $ac_var;} ;; | |
1457 | esac ;; | |
1458 | esac | |
1459 | done | |
1460 | (set) 2>&1 | | |
1461 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | |
1462 | *${as_nl}ac_space=\ *) | |
1463 | sed -n \ | |
1464 | "s/'\''/'\''\\\\'\'''\''/g; | |
1465 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | |
1466 | ;; #( | |
1467 | *) | |
1468 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
1469 | ;; | |
1470 | esac | | |
1471 | sort | |
1472 | ) | |
1473 | echo | |
1474 | ||
1475 | $as_echo "## ----------------- ## | |
1476 | ## Output variables. ## | |
1477 | ## ----------------- ##" | |
1478 | echo | |
1479 | for ac_var in $ac_subst_vars | |
1480 | do | |
1481 | eval ac_val=\$$ac_var | |
1482 | case $ac_val in | |
1483 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1484 | esac | |
1485 | $as_echo "$ac_var='\''$ac_val'\''" | |
1486 | done | sort | |
1487 | echo | |
1488 | ||
1489 | if test -n "$ac_subst_files"; then | |
1490 | $as_echo "## ------------------- ## | |
1491 | ## File substitutions. ## | |
1492 | ## ------------------- ##" | |
1493 | echo | |
1494 | for ac_var in $ac_subst_files | |
1495 | do | |
1496 | eval ac_val=\$$ac_var | |
1497 | case $ac_val in | |
1498 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1499 | esac | |
1500 | $as_echo "$ac_var='\''$ac_val'\''" | |
1501 | done | sort | |
1502 | echo | |
1503 | fi | |
1504 | ||
1505 | if test -s confdefs.h; then | |
1506 | $as_echo "## ----------- ## | |
1507 | ## confdefs.h. ## | |
1508 | ## ----------- ##" | |
1509 | echo | |
1510 | cat confdefs.h | |
1511 | echo | |
1512 | fi | |
1513 | test "$ac_signal" != 0 && | |
1514 | $as_echo "$as_me: caught signal $ac_signal" | |
1515 | $as_echo "$as_me: exit $exit_status" | |
1516 | } >&5 | |
1517 | rm -f core *.core core.conftest.* && | |
1518 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | |
1519 | exit $exit_status | |
1520 | ' 0 | |
1521 | for ac_signal in 1 2 13 15; do | |
1522 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | |
1523 | done | |
1524 | ac_signal=0 | |
1525 | ||
1526 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
1527 | rm -f -r conftest* confdefs.h | |
1528 | ||
1529 | $as_echo "/* confdefs.h */" > confdefs.h | |
1530 | ||
1531 | # Predefined preprocessor variables. | |
1532 | ||
1533 | cat >>confdefs.h <<_ACEOF | |
1534 | #define PACKAGE_NAME "$PACKAGE_NAME" | |
1535 | _ACEOF | |
1536 | ||
1537 | cat >>confdefs.h <<_ACEOF | |
1538 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
1539 | _ACEOF | |
1540 | ||
1541 | cat >>confdefs.h <<_ACEOF | |
1542 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
1543 | _ACEOF | |
1544 | ||
1545 | cat >>confdefs.h <<_ACEOF | |
1546 | #define PACKAGE_STRING "$PACKAGE_STRING" | |
1547 | _ACEOF | |
1548 | ||
1549 | cat >>confdefs.h <<_ACEOF | |
1550 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
1551 | _ACEOF | |
1552 | ||
1553 | cat >>confdefs.h <<_ACEOF | |
1554 | #define PACKAGE_URL "$PACKAGE_URL" | |
1555 | _ACEOF | |
1556 | ||
1557 | ||
1558 | # Let the site file select an alternate cache file if it wants to. | |
1559 | # Prefer an explicitly selected file to automatically selected ones. | |
1560 | ac_site_file1=NONE | |
1561 | ac_site_file2=NONE | |
1562 | if test -n "$CONFIG_SITE"; then | |
1563 | # We do not want a PATH search for config.site. | |
1564 | case $CONFIG_SITE in #(( | |
1565 | -*) ac_site_file1=./$CONFIG_SITE;; | |
1566 | */*) ac_site_file1=$CONFIG_SITE;; | |
1567 | *) ac_site_file1=./$CONFIG_SITE;; | |
1568 | esac | |
1569 | elif test "x$prefix" != xNONE; then | |
1570 | ac_site_file1=$prefix/share/config.site | |
1571 | ac_site_file2=$prefix/etc/config.site | |
1572 | else | |
1573 | ac_site_file1=$ac_default_prefix/share/config.site | |
1574 | ac_site_file2=$ac_default_prefix/etc/config.site | |
1575 | fi | |
1576 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |
1577 | do | |
1578 | test "x$ac_site_file" = xNONE && continue | |
1579 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | |
1580 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | |
1581 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
1582 | sed 's/^/| /' "$ac_site_file" >&5 | |
1583 | . "$ac_site_file" \ | |
1584 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
1585 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
1586 | as_fn_error $? "failed to load site script $ac_site_file | |
1587 | See \`config.log' for more details" "$LINENO" 5; } | |
1588 | fi | |
1589 | done | |
1590 | ||
1591 | if test -r "$cache_file"; then | |
1592 | # Some versions of bash will fail to source /dev/null (special files | |
1593 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. | |
1594 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | |
1595 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | |
1596 | $as_echo "$as_me: loading cache $cache_file" >&6;} | |
1597 | case $cache_file in | |
1598 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | |
1599 | *) . "./$cache_file";; | |
1600 | esac | |
1601 | fi | |
1602 | else | |
1603 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | |
1604 | $as_echo "$as_me: creating cache $cache_file" >&6;} | |
1605 | >$cache_file | |
1606 | fi | |
1607 | ||
1608 | # Check that the precious variables saved in the cache have kept the same | |
1609 | # value. | |
1610 | ac_cache_corrupted=false | |
1611 | for ac_var in $ac_precious_vars; do | |
1612 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
1613 | eval ac_new_set=\$ac_env_${ac_var}_set | |
1614 | eval ac_old_val=\$ac_cv_env_${ac_var}_value | |
1615 | eval ac_new_val=\$ac_env_${ac_var}_value | |
1616 | case $ac_old_set,$ac_new_set in | |
1617 | set,) | |
1618 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
1619 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
1620 | ac_cache_corrupted=: ;; | |
1621 | ,set) | |
1622 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | |
1623 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
1624 | ac_cache_corrupted=: ;; | |
1625 | ,);; | |
1626 | *) | |
1627 | if test "x$ac_old_val" != "x$ac_new_val"; then | |
1628 | # differences in whitespace do not lead to failure. | |
1629 | ac_old_val_w=`echo x $ac_old_val` | |
1630 | ac_new_val_w=`echo x $ac_new_val` | |
1631 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | |
1632 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | |
1633 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
1634 | ac_cache_corrupted=: | |
1635 | else | |
1636 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
1637 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
1638 | eval $ac_var=\$ac_old_val | |
1639 | fi | |
1640 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | |
1641 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
1642 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | |
1643 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
1644 | fi;; | |
1645 | esac | |
1646 | # Pass precious variables to config.status. | |
1647 | if test "$ac_new_set" = set; then | |
1648 | case $ac_new_val in | |
1649 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1650 | *) ac_arg=$ac_var=$ac_new_val ;; | |
1651 | esac | |
1652 | case " $ac_configure_args " in | |
1653 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
1654 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | |
1655 | esac | |
1656 | fi | |
1657 | done | |
1658 | if $ac_cache_corrupted; then | |
1659 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
1660 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
1661 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | |
1662 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
1663 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | |
1664 | fi | |
1665 | ## -------------------- ## | |
1666 | ## Main body of script. ## | |
1667 | ## -------------------- ## | |
1668 | ||
1669 | ac_ext=c | |
1670 | ac_cpp='$CPP $CPPFLAGS' | |
1671 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1672 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1673 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
1674 | ||
1675 | ||
b26e2ae7 JM |
1676 | |
1677 | ||
0316fb52 JM |
1678 | wire_word_bitsize="64" |
1679 | wire_word_msb="" | |
1680 | wire_address_bitsize="" | |
1681 | wire_cell_bitsize="" | |
1682 | # Check whether --enable-sim-bitsize was given. | |
1683 | if test "${enable_sim_bitsize+set}" = set; then : | |
1684 | enableval=$enable_sim_bitsize; sim_bitsize= | |
1685 | case "${enableval}" in | |
1686 | 64,63 | 64,63,* ) sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=63";; | |
1687 | 32,31 | 32,31,* ) sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31";; | |
1688 | 64,0 | 64,0,* ) sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0";; | |
1689 | 32,0 | 64,0,* ) sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0";; | |
1690 | 32) if test x"$wire_word_msb" != x -a x"$wire_word_msb" != x0; then | |
1691 | sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31" | |
1692 | else | |
1693 | sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0" | |
1694 | fi ;; | |
1695 | 64) if test x"$wire_word_msb" != x -a x"$wire_word_msb" != x0; then | |
1696 | sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=63" | |
1697 | else | |
1698 | sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=0" | |
1699 | fi ;; | |
1700 | *) as_fn_error $? "\"--enable-sim-bitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5 ;; | |
1701 | esac | |
1702 | # address bitsize | |
1703 | tmp=`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9]*,*//"` | |
1704 | case x"${tmp}" in | |
1705 | x ) ;; | |
1706 | x32 | x32,* ) sim_bitsize="${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZE=32" ;; | |
1707 | x64 | x64,* ) sim_bitsize="${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZE=64" ;; | |
1708 | * ) as_fn_error $? "\"--enable-sim-bitsize was given address size $enableval. Expected 32 or 64\"" "$LINENO" 5 ;; | |
1709 | esac | |
1710 | # cell bitsize | |
1711 | tmp=`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9*]*,*[0-9]*,*//"` | |
1712 | case x"${tmp}" in | |
1713 | x ) ;; | |
1714 | x32 | x32,* ) sim_bitsize="${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE=32" ;; | |
1715 | x64 | x64,* ) sim_bitsize="${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE=64" ;; | |
1716 | * ) as_fn_error $? "\"--enable-sim-bitsize was given cell size $enableval. Expected 32 or 64\"" "$LINENO" 5 ;; | |
1717 | esac | |
1718 | if test x"$silent" != x"yes" && test x"$sim_bitsize" != x""; then | |
1719 | echo "Setting bitsize flags = $sim_bitsize" 6>&1 | |
1720 | fi | |
1721 | else | |
1722 | sim_bitsize="" | |
1723 | if test x"$wire_word_bitsize" != x; then | |
1724 | sim_bitsize="$sim_bitsize -DWITH_TARGET_WORD_BITSIZE=$wire_word_bitsize" | |
1725 | fi | |
1726 | if test x"$wire_word_msb" != x; then | |
1727 | sim_bitsize="$sim_bitsize -DWITH_TARGET_WORD_MSB=$wire_word_msb" | |
1728 | fi | |
1729 | if test x"$wire_address_bitsize" != x; then | |
1730 | sim_bitsize="$sim_bitsize -DWITH_TARGET_ADDRESS_BITSIZE=$wire_address_bitsize" | |
1731 | fi | |
1732 | if test x"$wire_cell_bitsize" != x; then | |
1733 | sim_bitsize="$sim_bitsize -DWITH_TARGET_CELL_BITSIZE=$wire_cell_bitsize" | |
1734 | fi | |
1735 | fi | |
1736 | ||
b26e2ae7 | 1737 | |
b26e2ae7 JM |
1738 | cgen_breaks="" |
1739 | if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then | |
1740 | cgen_breaks="break cgen_rtx_error"; | |
1741 | fi | |
1742 | ||
1743 | ac_config_files="$ac_config_files Makefile.sim:Makefile.in" | |
1744 | ||
1745 | ac_config_files="$ac_config_files Make-common.sim:../common/Make-common.in" | |
1746 | ||
1747 | ac_config_files="$ac_config_files .gdbinit:../common/gdbinit.in" | |
1748 | ||
1749 | ac_config_commands="$ac_config_commands Makefile" | |
1750 | ||
1751 | ac_config_commands="$ac_config_commands stamp-h" | |
1752 | ||
760b3e8b MF |
1753 | |
1754 | ||
1755 | ||
1756 | ||
1757 | ||
36bb57e4 MF |
1758 | SIM_COMMON_BUILD_TRUE='#' |
1759 | SIM_COMMON_BUILD_FALSE= | |
1760 | ||
1761 | ||
1762 | ||
b26e2ae7 JM |
1763 | cat >confcache <<\_ACEOF |
1764 | # This file is a shell script that caches the results of configure | |
1765 | # tests run on this system so they can be shared between configure | |
1766 | # scripts and configure runs, see configure's option --config-cache. | |
1767 | # It is not useful on other systems. If it contains results you don't | |
1768 | # want to keep, you may remove or edit it. | |
1769 | # | |
1770 | # config.status only pays attention to the cache file if you give it | |
1771 | # the --recheck option to rerun configure. | |
1772 | # | |
1773 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | |
1774 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
1775 | # following values. | |
1776 | ||
1777 | _ACEOF | |
1778 | ||
1779 | # The following way of writing the cache mishandles newlines in values, | |
1780 | # but we know of no workaround that is simple, portable, and efficient. | |
1781 | # So, we kill variables containing newlines. | |
1782 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
1783 | # and sets the high bit in the cache file unless we assign to the vars. | |
1784 | ( | |
1785 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
1786 | eval ac_val=\$$ac_var | |
1787 | case $ac_val in #( | |
1788 | *${as_nl}*) | |
1789 | case $ac_var in #( | |
1790 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
1791 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
1792 | esac | |
1793 | case $ac_var in #( | |
1794 | _ | IFS | as_nl) ;; #( | |
1795 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
1796 | *) { eval $ac_var=; unset $ac_var;} ;; | |
1797 | esac ;; | |
1798 | esac | |
1799 | done | |
1800 | ||
1801 | (set) 2>&1 | | |
1802 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | |
1803 | *${as_nl}ac_space=\ *) | |
1804 | # `set' does not quote correctly, so add quotes: double-quote | |
1805 | # substitution turns \\\\ into \\, and sed turns \\ into \. | |
1806 | sed -n \ | |
1807 | "s/'/'\\\\''/g; | |
1808 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
1809 | ;; #( | |
1810 | *) | |
1811 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
1812 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
1813 | ;; | |
1814 | esac | | |
1815 | sort | |
1816 | ) | | |
1817 | sed ' | |
1818 | /^ac_cv_env_/b end | |
1819 | t clear | |
1820 | :clear | |
1821 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
1822 | t end | |
1823 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
1824 | :end' >>confcache | |
1825 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | |
1826 | if test -w "$cache_file"; then | |
1827 | if test "x$cache_file" != "x/dev/null"; then | |
1828 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | |
1829 | $as_echo "$as_me: updating cache $cache_file" >&6;} | |
1830 | if test ! -f "$cache_file" || test -h "$cache_file"; then | |
1831 | cat confcache >"$cache_file" | |
1832 | else | |
1833 | case $cache_file in #( | |
1834 | */* | ?:*) | |
1835 | mv -f confcache "$cache_file"$$ && | |
1836 | mv -f "$cache_file"$$ "$cache_file" ;; #( | |
1837 | *) | |
1838 | mv -f confcache "$cache_file" ;; | |
1839 | esac | |
1840 | fi | |
1841 | fi | |
1842 | else | |
1843 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | |
1844 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
1845 | fi | |
1846 | fi | |
1847 | rm -f confcache | |
1848 | ||
1849 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
1850 | # Let make expand exec_prefix. | |
1851 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
1852 | ||
52d37d2c MF |
1853 | # Transform confdefs.h into DEFS. |
1854 | # Protect against shell expansion while executing Makefile rules. | |
1855 | # Protect against Makefile macro expansion. | |
1856 | # | |
1857 | # If the first sed substitution is executed (which looks for macros that | |
1858 | # take arguments), then branch to the quote section. Otherwise, | |
1859 | # look for a macro that doesn't take arguments. | |
1860 | ac_script=' | |
1861 | :mline | |
1862 | /\\$/{ | |
1863 | N | |
1864 | s,\\\n,, | |
1865 | b mline | |
1866 | } | |
1867 | t clear | |
1868 | :clear | |
1869 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g | |
1870 | t quote | |
1871 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g | |
1872 | t quote | |
1873 | b any | |
1874 | :quote | |
1875 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g | |
1876 | s/\[/\\&/g | |
1877 | s/\]/\\&/g | |
1878 | s/\$/$$/g | |
1879 | H | |
1880 | :any | |
1881 | ${ | |
1882 | g | |
1883 | s/^\n// | |
1884 | s/\n/ /g | |
1885 | p | |
1886 | } | |
1887 | ' | |
1888 | DEFS=`sed -n "$ac_script" confdefs.h` | |
1889 | ||
b26e2ae7 JM |
1890 | |
1891 | ac_libobjs= | |
1892 | ac_ltlibobjs= | |
1893 | U= | |
1894 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
1895 | # 1. Remove the extension, and $U if already installed. | |
1896 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | |
1897 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | |
1898 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |
1899 | # will be set to the directory where LIBOBJS objects are built. | |
1900 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
1901 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | |
1902 | done | |
1903 | LIBOBJS=$ac_libobjs | |
1904 | ||
1905 | LTLIBOBJS=$ac_ltlibobjs | |
1906 | ||
1907 | ||
b26e2ae7 JM |
1908 | |
1909 | : "${CONFIG_STATUS=./config.status}" | |
1910 | ac_write_fail=0 | |
1911 | ac_clean_files_save=$ac_clean_files | |
1912 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
1913 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | |
1914 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
1915 | as_write_fail=0 | |
1916 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
1917 | #! $SHELL | |
1918 | # Generated by $as_me. | |
1919 | # Run this file to recreate the current configuration. | |
1920 | # Compiler output produced by configure, useful for debugging | |
1921 | # configure, is in config.log if it exists. | |
1922 | ||
1923 | debug=false | |
1924 | ac_cs_recheck=false | |
1925 | ac_cs_silent=false | |
1926 | ||
1927 | SHELL=\${CONFIG_SHELL-$SHELL} | |
1928 | export SHELL | |
1929 | _ASEOF | |
1930 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | |
1931 | ## -------------------- ## | |
1932 | ## M4sh Initialization. ## | |
1933 | ## -------------------- ## | |
1934 | ||
1935 | # Be more Bourne compatible | |
1936 | DUALCASE=1; export DUALCASE # for MKS sh | |
1937 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
1938 | emulate sh | |
1939 | NULLCMD=: | |
1940 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
1941 | # is contrary to our usage. Disable this feature. | |
1942 | alias -g '${1+"$@"}'='"$@"' | |
1943 | setopt NO_GLOB_SUBST | |
1944 | else | |
1945 | case `(set -o) 2>/dev/null` in #( | |
1946 | *posix*) : | |
1947 | set -o posix ;; #( | |
1948 | *) : | |
1949 | ;; | |
1950 | esac | |
1951 | fi | |
1952 | ||
1953 | ||
1954 | as_nl=' | |
1955 | ' | |
1956 | export as_nl | |
1957 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
1958 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
1959 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
1960 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
1961 | # Prefer a ksh shell builtin over an external printf program on Solaris, | |
1962 | # but without wasting forks for bash or zsh. | |
1963 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
1964 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
1965 | as_echo='print -r --' | |
1966 | as_echo_n='print -rn --' | |
1967 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
1968 | as_echo='printf %s\n' | |
1969 | as_echo_n='printf %s' | |
1970 | else | |
1971 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
1972 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
1973 | as_echo_n='/usr/ucb/echo -n' | |
1974 | else | |
1975 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
1976 | as_echo_n_body='eval | |
1977 | arg=$1; | |
1978 | case $arg in #( | |
1979 | *"$as_nl"*) | |
1980 | expr "X$arg" : "X\\(.*\\)$as_nl"; | |
1981 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
1982 | esac; | |
1983 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
1984 | ' | |
1985 | export as_echo_n_body | |
1986 | as_echo_n='sh -c $as_echo_n_body as_echo' | |
1987 | fi | |
1988 | export as_echo_body | |
1989 | as_echo='sh -c $as_echo_body as_echo' | |
1990 | fi | |
1991 | ||
1992 | # The user is always right. | |
1993 | if test "${PATH_SEPARATOR+set}" != set; then | |
1994 | PATH_SEPARATOR=: | |
1995 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
1996 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
1997 | PATH_SEPARATOR=';' | |
1998 | } | |
1999 | fi | |
2000 | ||
2001 | ||
2002 | # IFS | |
2003 | # We need space, tab and new line, in precisely that order. Quoting is | |
2004 | # there to prevent editors from complaining about space-tab. | |
2005 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
2006 | # splitting by setting IFS to empty value.) | |
2007 | IFS=" "" $as_nl" | |
2008 | ||
2009 | # Find who we are. Look in the path if we contain no directory separator. | |
2010 | as_myself= | |
2011 | case $0 in #(( | |
2012 | *[\\/]* ) as_myself=$0 ;; | |
2013 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2014 | for as_dir in $PATH | |
2015 | do | |
2016 | IFS=$as_save_IFS | |
2017 | test -z "$as_dir" && as_dir=. | |
2018 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
2019 | done | |
2020 | IFS=$as_save_IFS | |
2021 | ||
2022 | ;; | |
2023 | esac | |
2024 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
2025 | # in which case we are not to be found in the path. | |
2026 | if test "x$as_myself" = x; then | |
2027 | as_myself=$0 | |
2028 | fi | |
2029 | if test ! -f "$as_myself"; then | |
2030 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
2031 | exit 1 | |
2032 | fi | |
2033 | ||
2034 | # Unset variables that we do not need and which cause bugs (e.g. in | |
2035 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
2036 | # suppresses any "Segmentation fault" message there. '((' could | |
2037 | # trigger a bug in pdksh 5.2.14. | |
2038 | for as_var in BASH_ENV ENV MAIL MAILPATH | |
2039 | do eval test x\${$as_var+set} = xset \ | |
2040 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
2041 | done | |
2042 | PS1='$ ' | |
2043 | PS2='> ' | |
2044 | PS4='+ ' | |
2045 | ||
2046 | # NLS nuisances. | |
2047 | LC_ALL=C | |
2048 | export LC_ALL | |
2049 | LANGUAGE=C | |
2050 | export LANGUAGE | |
2051 | ||
2052 | # CDPATH. | |
2053 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
2054 | ||
2055 | ||
2056 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
2057 | # ---------------------------------------- | |
2058 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
2059 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
2060 | # script with STATUS, using 1 if that was 0. | |
2061 | as_fn_error () | |
2062 | { | |
2063 | as_status=$1; test $as_status -eq 0 && as_status=1 | |
2064 | if test "$4"; then | |
2065 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
2066 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
2067 | fi | |
2068 | $as_echo "$as_me: error: $2" >&2 | |
2069 | as_fn_exit $as_status | |
2070 | } # as_fn_error | |
2071 | ||
2072 | ||
2073 | # as_fn_set_status STATUS | |
2074 | # ----------------------- | |
2075 | # Set $? to STATUS, without forking. | |
2076 | as_fn_set_status () | |
2077 | { | |
2078 | return $1 | |
2079 | } # as_fn_set_status | |
2080 | ||
2081 | # as_fn_exit STATUS | |
2082 | # ----------------- | |
2083 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
2084 | as_fn_exit () | |
2085 | { | |
2086 | set +e | |
2087 | as_fn_set_status $1 | |
2088 | exit $1 | |
2089 | } # as_fn_exit | |
2090 | ||
2091 | # as_fn_unset VAR | |
2092 | # --------------- | |
2093 | # Portably unset VAR. | |
2094 | as_fn_unset () | |
2095 | { | |
2096 | { eval $1=; unset $1;} | |
2097 | } | |
2098 | as_unset=as_fn_unset | |
2099 | # as_fn_append VAR VALUE | |
2100 | # ---------------------- | |
2101 | # Append the text in VALUE to the end of the definition contained in VAR. Take | |
2102 | # advantage of any shell optimizations that allow amortized linear growth over | |
2103 | # repeated appends, instead of the typical quadratic growth present in naive | |
2104 | # implementations. | |
2105 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
2106 | eval 'as_fn_append () | |
2107 | { | |
2108 | eval $1+=\$2 | |
2109 | }' | |
2110 | else | |
2111 | as_fn_append () | |
2112 | { | |
2113 | eval $1=\$$1\$2 | |
2114 | } | |
2115 | fi # as_fn_append | |
2116 | ||
2117 | # as_fn_arith ARG... | |
2118 | # ------------------ | |
2119 | # Perform arithmetic evaluation on the ARGs, and store the result in the | |
2120 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
2121 | # must be portable across $(()) and expr. | |
2122 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
2123 | eval 'as_fn_arith () | |
2124 | { | |
2125 | as_val=$(( $* )) | |
2126 | }' | |
2127 | else | |
2128 | as_fn_arith () | |
2129 | { | |
2130 | as_val=`expr "$@" || test $? -eq 1` | |
2131 | } | |
2132 | fi # as_fn_arith | |
2133 | ||
2134 | ||
2135 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
2136 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
2137 | as_expr=expr | |
2138 | else | |
2139 | as_expr=false | |
2140 | fi | |
2141 | ||
2142 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
2143 | as_basename=basename | |
2144 | else | |
2145 | as_basename=false | |
2146 | fi | |
2147 | ||
2148 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
2149 | as_dirname=dirname | |
2150 | else | |
2151 | as_dirname=false | |
2152 | fi | |
2153 | ||
2154 | as_me=`$as_basename -- "$0" || | |
2155 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
2156 | X"$0" : 'X\(//\)$' \| \ | |
2157 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
2158 | $as_echo X/"$0" | | |
2159 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
2160 | s//\1/ | |
2161 | q | |
2162 | } | |
2163 | /^X\/\(\/\/\)$/{ | |
2164 | s//\1/ | |
2165 | q | |
2166 | } | |
2167 | /^X\/\(\/\).*/{ | |
2168 | s//\1/ | |
2169 | q | |
2170 | } | |
2171 | s/.*/./; q'` | |
2172 | ||
2173 | # Avoid depending upon Character Ranges. | |
2174 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
2175 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
2176 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
2177 | as_cr_digits='0123456789' | |
2178 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
2179 | ||
2180 | ECHO_C= ECHO_N= ECHO_T= | |
2181 | case `echo -n x` in #((((( | |
2182 | -n*) | |
2183 | case `echo 'xy\c'` in | |
2184 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
2185 | xy) ECHO_C='\c';; | |
2186 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
2187 | ECHO_T=' ';; | |
2188 | esac;; | |
2189 | *) | |
2190 | ECHO_N='-n';; | |
2191 | esac | |
2192 | ||
2193 | rm -f conf$$ conf$$.exe conf$$.file | |
2194 | if test -d conf$$.dir; then | |
2195 | rm -f conf$$.dir/conf$$.file | |
2196 | else | |
2197 | rm -f conf$$.dir | |
2198 | mkdir conf$$.dir 2>/dev/null | |
2199 | fi | |
2200 | if (echo >conf$$.file) 2>/dev/null; then | |
2201 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
2202 | as_ln_s='ln -s' | |
2203 | # ... but there are two gotchas: | |
2204 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
2205 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
2206 | # In both cases, we have to default to `cp -pR'. | |
2207 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
2208 | as_ln_s='cp -pR' | |
2209 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
2210 | as_ln_s=ln | |
2211 | else | |
2212 | as_ln_s='cp -pR' | |
2213 | fi | |
2214 | else | |
2215 | as_ln_s='cp -pR' | |
2216 | fi | |
2217 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
2218 | rmdir conf$$.dir 2>/dev/null | |
2219 | ||
2220 | ||
2221 | # as_fn_mkdir_p | |
2222 | # ------------- | |
2223 | # Create "$as_dir" as a directory, including parents if necessary. | |
2224 | as_fn_mkdir_p () | |
2225 | { | |
2226 | ||
2227 | case $as_dir in #( | |
2228 | -*) as_dir=./$as_dir;; | |
2229 | esac | |
2230 | test -d "$as_dir" || eval $as_mkdir_p || { | |
2231 | as_dirs= | |
2232 | while :; do | |
2233 | case $as_dir in #( | |
2234 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
2235 | *) as_qdir=$as_dir;; | |
2236 | esac | |
2237 | as_dirs="'$as_qdir' $as_dirs" | |
2238 | as_dir=`$as_dirname -- "$as_dir" || | |
2239 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
2240 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
2241 | X"$as_dir" : 'X\(//\)$' \| \ | |
2242 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
2243 | $as_echo X"$as_dir" | | |
2244 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
2245 | s//\1/ | |
2246 | q | |
2247 | } | |
2248 | /^X\(\/\/\)[^/].*/{ | |
2249 | s//\1/ | |
2250 | q | |
2251 | } | |
2252 | /^X\(\/\/\)$/{ | |
2253 | s//\1/ | |
2254 | q | |
2255 | } | |
2256 | /^X\(\/\).*/{ | |
2257 | s//\1/ | |
2258 | q | |
2259 | } | |
2260 | s/.*/./; q'` | |
2261 | test -d "$as_dir" && break | |
2262 | done | |
2263 | test -z "$as_dirs" || eval "mkdir $as_dirs" | |
2264 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
2265 | ||
2266 | ||
2267 | } # as_fn_mkdir_p | |
2268 | if mkdir -p . 2>/dev/null; then | |
2269 | as_mkdir_p='mkdir -p "$as_dir"' | |
2270 | else | |
2271 | test -d ./-p && rmdir ./-p | |
2272 | as_mkdir_p=false | |
2273 | fi | |
2274 | ||
2275 | ||
2276 | # as_fn_executable_p FILE | |
2277 | # ----------------------- | |
2278 | # Test if FILE is an executable regular file. | |
2279 | as_fn_executable_p () | |
2280 | { | |
2281 | test -f "$1" && test -x "$1" | |
2282 | } # as_fn_executable_p | |
2283 | as_test_x='test -x' | |
2284 | as_executable_p=as_fn_executable_p | |
2285 | ||
2286 | # Sed expression to map a string onto a valid CPP name. | |
2287 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
2288 | ||
2289 | # Sed expression to map a string onto a valid variable name. | |
2290 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
2291 | ||
2292 | ||
2293 | exec 6>&1 | |
2294 | ## ----------------------------------- ## | |
2295 | ## Main body of $CONFIG_STATUS script. ## | |
2296 | ## ----------------------------------- ## | |
2297 | _ASEOF | |
2298 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
2299 | ||
2300 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
2301 | # Save the log message, to keep $0 and so on meaningful, and to | |
2302 | # report actual input values of CONFIG_FILES etc. instead of their | |
2303 | # values after options handling. | |
2304 | ac_log=" | |
2305 | This file was extended by $as_me, which was | |
2306 | generated by GNU Autoconf 2.69. Invocation command line was | |
2307 | ||
2308 | CONFIG_FILES = $CONFIG_FILES | |
2309 | CONFIG_HEADERS = $CONFIG_HEADERS | |
2310 | CONFIG_LINKS = $CONFIG_LINKS | |
2311 | CONFIG_COMMANDS = $CONFIG_COMMANDS | |
2312 | $ $0 $@ | |
2313 | ||
2314 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
2315 | " | |
2316 | ||
2317 | _ACEOF | |
2318 | ||
2319 | case $ac_config_files in *" | |
2320 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
2321 | esac | |
2322 | ||
b26e2ae7 JM |
2323 | |
2324 | ||
2325 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
2326 | # Files that config.status was made for. | |
2327 | config_files="$ac_config_files" | |
b26e2ae7 JM |
2328 | config_commands="$ac_config_commands" |
2329 | ||
2330 | _ACEOF | |
2331 | ||
2332 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
2333 | ac_cs_usage="\ | |
2334 | \`$as_me' instantiates files and other configuration actions | |
2335 | from templates according to the current configuration. Unless the files | |
2336 | and actions are specified as TAGs, all are instantiated by default. | |
2337 | ||
2338 | Usage: $0 [OPTION]... [TAG]... | |
2339 | ||
2340 | -h, --help print this help, then exit | |
2341 | -V, --version print version number and configuration settings, then exit | |
2342 | --config print configuration, then exit | |
2343 | -q, --quiet, --silent | |
2344 | do not print progress messages | |
2345 | -d, --debug don't remove temporary files | |
2346 | --recheck update $as_me by reconfiguring in the same conditions | |
2347 | --file=FILE[:TEMPLATE] | |
2348 | instantiate the configuration file FILE | |
b26e2ae7 JM |
2349 | |
2350 | Configuration files: | |
2351 | $config_files | |
2352 | ||
b26e2ae7 JM |
2353 | Configuration commands: |
2354 | $config_commands | |
2355 | ||
2356 | Report bugs to the package provider." | |
2357 | ||
2358 | _ACEOF | |
2359 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
2360 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
2361 | ac_cs_version="\\ | |
2362 | config.status | |
2363 | configured by $0, generated by GNU Autoconf 2.69, | |
2364 | with options \\"\$ac_cs_config\\" | |
2365 | ||
2366 | Copyright (C) 2012 Free Software Foundation, Inc. | |
2367 | This config.status script is free software; the Free Software Foundation | |
2368 | gives unlimited permission to copy, distribute and modify it." | |
2369 | ||
2370 | ac_pwd='$ac_pwd' | |
2371 | srcdir='$srcdir' | |
b26e2ae7 JM |
2372 | test -n "\$AWK" || AWK=awk |
2373 | _ACEOF | |
2374 | ||
2375 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
2376 | # The default lists apply if the user does not specify any file. | |
2377 | ac_need_defaults=: | |
2378 | while test $# != 0 | |
2379 | do | |
2380 | case $1 in | |
2381 | --*=?*) | |
2382 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
2383 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
2384 | ac_shift=: | |
2385 | ;; | |
2386 | --*=) | |
2387 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
2388 | ac_optarg= | |
2389 | ac_shift=: | |
2390 | ;; | |
2391 | *) | |
2392 | ac_option=$1 | |
2393 | ac_optarg=$2 | |
2394 | ac_shift=shift | |
2395 | ;; | |
2396 | esac | |
2397 | ||
2398 | case $ac_option in | |
2399 | # Handling of the options. | |
2400 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
2401 | ac_cs_recheck=: ;; | |
2402 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
2403 | $as_echo "$ac_cs_version"; exit ;; | |
2404 | --config | --confi | --conf | --con | --co | --c ) | |
2405 | $as_echo "$ac_cs_config"; exit ;; | |
2406 | --debug | --debu | --deb | --de | --d | -d ) | |
2407 | debug=: ;; | |
2408 | --file | --fil | --fi | --f ) | |
2409 | $ac_shift | |
2410 | case $ac_optarg in | |
2411 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
2412 | '') as_fn_error $? "missing file argument" ;; | |
2413 | esac | |
2414 | as_fn_append CONFIG_FILES " '$ac_optarg'" | |
2415 | ac_need_defaults=false;; | |
52d37d2c | 2416 | --he | --h | --help | --hel | -h ) |
b26e2ae7 JM |
2417 | $as_echo "$ac_cs_usage"; exit ;; |
2418 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
2419 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
2420 | ac_cs_silent=: ;; | |
2421 | ||
2422 | # This is an error. | |
2423 | -*) as_fn_error $? "unrecognized option: \`$1' | |
2424 | Try \`$0 --help' for more information." ;; | |
2425 | ||
2426 | *) as_fn_append ac_config_targets " $1" | |
2427 | ac_need_defaults=false ;; | |
2428 | ||
2429 | esac | |
2430 | shift | |
2431 | done | |
2432 | ||
2433 | ac_configure_extra_args= | |
2434 | ||
2435 | if $ac_cs_silent; then | |
2436 | exec 6>/dev/null | |
2437 | ac_configure_extra_args="$ac_configure_extra_args --silent" | |
2438 | fi | |
2439 | ||
2440 | _ACEOF | |
2441 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
2442 | if \$ac_cs_recheck; then | |
2443 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
2444 | shift | |
2445 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
2446 | CONFIG_SHELL='$SHELL' | |
2447 | export CONFIG_SHELL | |
2448 | exec "\$@" | |
2449 | fi | |
2450 | ||
2451 | _ACEOF | |
2452 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
2453 | exec 5>>config.log | |
2454 | { | |
2455 | echo | |
2456 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
2457 | ## Running $as_me. ## | |
2458 | _ASBOX | |
2459 | $as_echo "$ac_log" | |
2460 | } >&5 | |
2461 | ||
2462 | _ACEOF | |
2463 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
b26e2ae7 JM |
2464 | _ACEOF |
2465 | ||
2466 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
2467 | ||
2468 | # Handling of arguments. | |
2469 | for ac_config_target in $ac_config_targets | |
2470 | do | |
2471 | case $ac_config_target in | |
b26e2ae7 JM |
2472 | "Makefile.sim") CONFIG_FILES="$CONFIG_FILES Makefile.sim:Makefile.in" ;; |
2473 | "Make-common.sim") CONFIG_FILES="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;; | |
2474 | ".gdbinit") CONFIG_FILES="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;; | |
2475 | "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;; | |
2476 | "stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS stamp-h" ;; | |
2477 | ||
2478 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
2479 | esac | |
2480 | done | |
2481 | ||
2482 | ||
2483 | # If the user did not use the arguments to specify the items to instantiate, | |
2484 | # then the envvar interface is used. Set only those that are not. | |
2485 | # We use the long form for the default assignment because of an extremely | |
2486 | # bizarre bug on SunOS 4.1.3. | |
2487 | if $ac_need_defaults; then | |
2488 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
b26e2ae7 JM |
2489 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
2490 | fi | |
2491 | ||
2492 | # Have a temporary directory for convenience. Make it in the build tree | |
2493 | # simply because there is no reason against having it here, and in addition, | |
2494 | # creating and moving files from /tmp can sometimes cause problems. | |
2495 | # Hook for its removal unless debugging. | |
2496 | # Note that there is a small window in which the directory will not be cleaned: | |
2497 | # after its creation but before its name has been assigned to `$tmp'. | |
2498 | $debug || | |
2499 | { | |
2500 | tmp= ac_tmp= | |
2501 | trap 'exit_status=$? | |
2502 | : "${ac_tmp:=$tmp}" | |
2503 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | |
2504 | ' 0 | |
2505 | trap 'as_fn_exit 1' 1 2 13 15 | |
2506 | } | |
2507 | # Create a (secure) tmp directory for tmp files. | |
2508 | ||
2509 | { | |
2510 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
2511 | test -d "$tmp" | |
2512 | } || | |
2513 | { | |
2514 | tmp=./conf$$-$RANDOM | |
2515 | (umask 077 && mkdir "$tmp") | |
2516 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | |
2517 | ac_tmp=$tmp | |
2518 | ||
2519 | # Set up the scripts for CONFIG_FILES section. | |
2520 | # No need to generate them if there are no CONFIG_FILES. | |
2521 | # This happens for instance with `./config.status config.h'. | |
2522 | if test -n "$CONFIG_FILES"; then | |
2523 | ||
2524 | ||
2525 | ac_cr=`echo X | tr X '\015'` | |
2526 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | |
2527 | # But we know of no other shell where ac_cr would be empty at this | |
2528 | # point, so we can use a bashism as a fallback. | |
2529 | if test "x$ac_cr" = x; then | |
2530 | eval ac_cr=\$\'\\r\' | |
2531 | fi | |
2532 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
2533 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
2534 | ac_cs_awk_cr='\\r' | |
2535 | else | |
2536 | ac_cs_awk_cr=$ac_cr | |
2537 | fi | |
2538 | ||
2539 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | |
2540 | _ACEOF | |
2541 | ||
2542 | ||
2543 | { | |
2544 | echo "cat >conf$$subs.awk <<_ACEOF" && | |
2545 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
2546 | echo "_ACEOF" | |
2547 | } >conf$$subs.sh || | |
2548 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
2549 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | |
2550 | ac_delim='%!_!# ' | |
2551 | for ac_last_try in false false false false false :; do | |
2552 | . ./conf$$subs.sh || | |
2553 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
2554 | ||
2555 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
2556 | if test $ac_delim_n = $ac_delim_num; then | |
2557 | break | |
2558 | elif $ac_last_try; then | |
2559 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
2560 | else | |
2561 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
2562 | fi | |
2563 | done | |
2564 | rm -f conf$$subs.sh | |
2565 | ||
2566 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
2567 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | |
2568 | _ACEOF | |
2569 | sed -n ' | |
2570 | h | |
2571 | s/^/S["/; s/!.*/"]=/ | |
2572 | p | |
2573 | g | |
2574 | s/^[^!]*!// | |
2575 | :repl | |
2576 | t repl | |
2577 | s/'"$ac_delim"'$// | |
2578 | t delim | |
2579 | :nl | |
2580 | h | |
2581 | s/\(.\{148\}\)..*/\1/ | |
2582 | t more1 | |
2583 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
2584 | p | |
2585 | n | |
2586 | b repl | |
2587 | :more1 | |
2588 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
2589 | p | |
2590 | g | |
2591 | s/.\{148\}// | |
2592 | t nl | |
2593 | :delim | |
2594 | h | |
2595 | s/\(.\{148\}\)..*/\1/ | |
2596 | t more2 | |
2597 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
2598 | p | |
2599 | b | |
2600 | :more2 | |
2601 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
2602 | p | |
2603 | g | |
2604 | s/.\{148\}// | |
2605 | t delim | |
2606 | ' <conf$$subs.awk | sed ' | |
2607 | /^[^""]/{ | |
2608 | N | |
2609 | s/\n// | |
2610 | } | |
2611 | ' >>$CONFIG_STATUS || ac_write_fail=1 | |
2612 | rm -f conf$$subs.awk | |
2613 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
2614 | _ACAWK | |
2615 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | |
2616 | for (key in S) S_is_set[key] = 1 | |
2617 | FS = "\a" | |
2618 | ||
2619 | } | |
2620 | { | |
2621 | line = $ 0 | |
2622 | nfields = split(line, field, "@") | |
2623 | substed = 0 | |
2624 | len = length(field[1]) | |
2625 | for (i = 2; i < nfields; i++) { | |
2626 | key = field[i] | |
2627 | keylen = length(key) | |
2628 | if (S_is_set[key]) { | |
2629 | value = S[key] | |
2630 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
2631 | len += length(value) + length(field[++i]) | |
2632 | substed = 1 | |
2633 | } else | |
2634 | len += 1 + keylen | |
2635 | } | |
2636 | ||
2637 | print line | |
2638 | } | |
2639 | ||
2640 | _ACAWK | |
2641 | _ACEOF | |
2642 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
2643 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
2644 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
2645 | else | |
2646 | cat | |
2647 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | |
2648 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | |
2649 | _ACEOF | |
2650 | ||
2651 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | |
2652 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | |
2653 | # trailing colons and then remove the whole line if VPATH becomes empty | |
2654 | # (actually we leave an empty line to preserve line numbers). | |
2655 | if test "x$srcdir" = x.; then | |
2656 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | |
2657 | h | |
2658 | s/// | |
2659 | s/^/:/ | |
2660 | s/[ ]*$/:/ | |
2661 | s/:\$(srcdir):/:/g | |
2662 | s/:\${srcdir}:/:/g | |
2663 | s/:@srcdir@:/:/g | |
2664 | s/^:*// | |
2665 | s/:*$// | |
2666 | x | |
2667 | s/\(=[ ]*\).*/\1/ | |
2668 | G | |
2669 | s/\n// | |
2670 | s/^[^=]*=[ ]*$// | |
2671 | }' | |
2672 | fi | |
2673 | ||
2674 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
2675 | fi # test -n "$CONFIG_FILES" | |
2676 | ||
b26e2ae7 | 2677 | |
52d37d2c | 2678 | eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" |
b26e2ae7 JM |
2679 | shift |
2680 | for ac_tag | |
2681 | do | |
2682 | case $ac_tag in | |
2683 | :[FHLC]) ac_mode=$ac_tag; continue;; | |
2684 | esac | |
2685 | case $ac_mode$ac_tag in | |
2686 | :[FHL]*:*);; | |
2687 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | |
2688 | :[FH]-) ac_tag=-:-;; | |
2689 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
2690 | esac | |
2691 | ac_save_IFS=$IFS | |
2692 | IFS=: | |
2693 | set x $ac_tag | |
2694 | IFS=$ac_save_IFS | |
2695 | shift | |
2696 | ac_file=$1 | |
2697 | shift | |
2698 | ||
2699 | case $ac_mode in | |
2700 | :L) ac_source=$1;; | |
2701 | :[FH]) | |
2702 | ac_file_inputs= | |
2703 | for ac_f | |
2704 | do | |
2705 | case $ac_f in | |
2706 | -) ac_f="$ac_tmp/stdin";; | |
2707 | *) # Look for the file first in the build tree, then in the source tree | |
2708 | # (if the path is not absolute). The absolute path cannot be DOS-style, | |
2709 | # because $ac_f cannot contain `:'. | |
2710 | test -f "$ac_f" || | |
2711 | case $ac_f in | |
2712 | [\\/$]*) false;; | |
2713 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
2714 | esac || | |
2715 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
2716 | esac | |
2717 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
2718 | as_fn_append ac_file_inputs " '$ac_f'" | |
2719 | done | |
2720 | ||
2721 | # Let's still pretend it is `configure' which instantiates (i.e., don't | |
2722 | # use $as_me), people would be surprised to read: | |
2723 | # /* config.h. Generated by config.status. */ | |
2724 | configure_input='Generated from '` | |
2725 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
2726 | `' by configure.' | |
2727 | if test x"$ac_file" != x-; then | |
2728 | configure_input="$ac_file. $configure_input" | |
2729 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
2730 | $as_echo "$as_me: creating $ac_file" >&6;} | |
2731 | fi | |
2732 | # Neutralize special characters interpreted by sed in replacement strings. | |
2733 | case $configure_input in #( | |
2734 | *\&* | *\|* | *\\* ) | |
2735 | ac_sed_conf_input=`$as_echo "$configure_input" | | |
2736 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
2737 | *) ac_sed_conf_input=$configure_input;; | |
2738 | esac | |
2739 | ||
2740 | case $ac_tag in | |
2741 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ | |
2742 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | |
2743 | esac | |
2744 | ;; | |
2745 | esac | |
2746 | ||
2747 | ac_dir=`$as_dirname -- "$ac_file" || | |
2748 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
2749 | X"$ac_file" : 'X\(//\)[^/]' \| \ | |
2750 | X"$ac_file" : 'X\(//\)$' \| \ | |
2751 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
2752 | $as_echo X"$ac_file" | | |
2753 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
2754 | s//\1/ | |
2755 | q | |
2756 | } | |
2757 | /^X\(\/\/\)[^/].*/{ | |
2758 | s//\1/ | |
2759 | q | |
2760 | } | |
2761 | /^X\(\/\/\)$/{ | |
2762 | s//\1/ | |
2763 | q | |
2764 | } | |
2765 | /^X\(\/\).*/{ | |
2766 | s//\1/ | |
2767 | q | |
2768 | } | |
2769 | s/.*/./; q'` | |
2770 | as_dir="$ac_dir"; as_fn_mkdir_p | |
2771 | ac_builddir=. | |
2772 | ||
2773 | case "$ac_dir" in | |
2774 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
2775 | *) | |
2776 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
2777 | # A ".." for each directory in $ac_dir_suffix. | |
2778 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
2779 | case $ac_top_builddir_sub in | |
2780 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
2781 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
2782 | esac ;; | |
2783 | esac | |
2784 | ac_abs_top_builddir=$ac_pwd | |
2785 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
2786 | # for backward compatibility: | |
2787 | ac_top_builddir=$ac_top_build_prefix | |
2788 | ||
2789 | case $srcdir in | |
2790 | .) # We are building in place. | |
2791 | ac_srcdir=. | |
2792 | ac_top_srcdir=$ac_top_builddir_sub | |
2793 | ac_abs_top_srcdir=$ac_pwd ;; | |
2794 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
2795 | ac_srcdir=$srcdir$ac_dir_suffix; | |
2796 | ac_top_srcdir=$srcdir | |
2797 | ac_abs_top_srcdir=$srcdir ;; | |
2798 | *) # Relative name. | |
2799 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
2800 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
2801 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
2802 | esac | |
2803 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
2804 | ||
2805 | ||
2806 | case $ac_mode in | |
2807 | :F) | |
2808 | # | |
2809 | # CONFIG_FILE | |
2810 | # | |
2811 | ||
b26e2ae7 JM |
2812 | _ACEOF |
2813 | ||
2814 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
2815 | # If the template does not know about datarootdir, expand it. | |
2816 | # FIXME: This hack should be removed a few years after 2.60. | |
2817 | ac_datarootdir_hack=; ac_datarootdir_seen= | |
2818 | ac_sed_dataroot=' | |
2819 | /datarootdir/ { | |
2820 | p | |
2821 | q | |
2822 | } | |
2823 | /@datadir@/p | |
2824 | /@docdir@/p | |
2825 | /@infodir@/p | |
2826 | /@localedir@/p | |
2827 | /@mandir@/p' | |
2828 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | |
2829 | *datarootdir*) ac_datarootdir_seen=yes;; | |
2830 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
2831 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | |
2832 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
2833 | _ACEOF | |
2834 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
2835 | ac_datarootdir_hack=' | |
2836 | s&@datadir@&$datadir&g | |
2837 | s&@docdir@&$docdir&g | |
2838 | s&@infodir@&$infodir&g | |
2839 | s&@localedir@&$localedir&g | |
2840 | s&@mandir@&$mandir&g | |
2841 | s&\\\${datarootdir}&$datarootdir&g' ;; | |
2842 | esac | |
2843 | _ACEOF | |
2844 | ||
2845 | # Neutralize VPATH when `$srcdir' = `.'. | |
2846 | # Shell code in configure.ac might set extrasub. | |
2847 | # FIXME: do we really want to maintain this feature? | |
2848 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
2849 | ac_sed_extra="$ac_vpsub | |
2850 | $extrasub | |
2851 | _ACEOF | |
2852 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
2853 | :t | |
2854 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
2855 | s|@configure_input@|$ac_sed_conf_input|;t t | |
2856 | s&@top_builddir@&$ac_top_builddir_sub&;t t | |
2857 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
2858 | s&@srcdir@&$ac_srcdir&;t t | |
2859 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
2860 | s&@top_srcdir@&$ac_top_srcdir&;t t | |
2861 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
2862 | s&@builddir@&$ac_builddir&;t t | |
2863 | s&@abs_builddir@&$ac_abs_builddir&;t t | |
2864 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
b26e2ae7 JM |
2865 | $ac_datarootdir_hack |
2866 | " | |
2867 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | |
2868 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
2869 | ||
2870 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
2871 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | |
2872 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | |
2873 | "$ac_tmp/out"`; test -z "$ac_out"; } && | |
2874 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
2875 | which seems to be undefined. Please make sure it is defined" >&5 | |
2876 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
2877 | which seems to be undefined. Please make sure it is defined" >&2;} | |
2878 | ||
2879 | rm -f "$ac_tmp/stdin" | |
2880 | case $ac_file in | |
2881 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | |
2882 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | |
2883 | esac \ | |
2884 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
2885 | ;; | |
52d37d2c | 2886 | |
b26e2ae7 JM |
2887 | |
2888 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | |
2889 | $as_echo "$as_me: executing $ac_file commands" >&6;} | |
2890 | ;; | |
2891 | esac | |
2892 | ||
2893 | ||
2894 | case $ac_file$ac_mode in | |
b26e2ae7 JM |
2895 | "Makefile":C) echo "Merging Makefile.sim+Make-common.sim into Makefile ..." |
2896 | rm -f Makesim1.tmp Makesim2.tmp Makefile | |
2897 | sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim >Makesim1.tmp | |
2898 | sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim >Makesim2.tmp | |
2899 | sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \ | |
2900 | -e '/^## COMMON_POST_/ r Makesim2.tmp' \ | |
2901 | <Makefile.sim >Makefile | |
2902 | rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp | |
2903 | ;; | |
2904 | "stamp-h":C) echo > stamp-h ;; | |
2905 | ||
2906 | esac | |
2907 | done # for ac_tag | |
2908 | ||
2909 | ||
2910 | as_fn_exit 0 | |
2911 | _ACEOF | |
2912 | ac_clean_files=$ac_clean_files_save | |
2913 | ||
2914 | test $ac_write_fail = 0 || | |
2915 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
2916 | ||
2917 | ||
2918 | # configure is writing to config.log, and then calls config.status. | |
2919 | # config.status does its own redirection, appending to config.log. | |
2920 | # Unfortunately, on DOS this fails, as config.log is still kept open | |
2921 | # by configure, so config.status won't be able to write to it; its | |
2922 | # output is simply discarded. So we exec the FD to /dev/null, | |
2923 | # effectively closing config.log, so it can be properly (re)opened and | |
2924 | # appended to by config.status. When coming back to configure, we | |
2925 | # need to make the FD available again. | |
2926 | if test "$no_create" != yes; then | |
2927 | ac_cs_success=: | |
2928 | ac_config_status_args= | |
2929 | test "$silent" = yes && | |
2930 | ac_config_status_args="$ac_config_status_args --quiet" | |
2931 | exec 5>/dev/null | |
2932 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | |
2933 | exec 5>>config.log | |
2934 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
2935 | # would make configure fail if this is the last instruction. | |
2936 | $ac_cs_success || as_fn_exit 1 | |
2937 | fi | |
2938 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
2939 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
2940 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
2941 | fi | |
2942 | ||
2943 |