Debian Codegraph @

configure

raw symbols SCIP
1 #! /bin/shscip-shell filesystem . . `/bin/sh`.
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for dosbox 0.74-3.
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 testscip-shell system . . test. -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/nullscip-shell filesystem . . `/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/nullscip-shell filesystem . . `/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 testscip-shell system . . test. -z "$BASH_VERSION$ZSH_VERSION" \
44 && (testscip-shell system . . test. "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (testscip-shell system . . test. "X`printfscip-shell system . . printf. %s $as_echo`" = "X$as_echo") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if testscip-shell system . . test. "X`(/usr/ucb/echoscip-shell filesystem . . `/usr/ucb/echo`. -n -n $as_echo) 2>/dev/nullscip-shell filesystem . . `/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 -nscip-shell filesystem . . `/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 testscip-shell system . . test. "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/binscip-shell filesystem . . `/bin;/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && {
76 (PATH='/bin:/binscip-shell filesystem . . `/bin:/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/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 testscip-shell system . . test. -z "$as_dir" && as_dir=.
98 testscip-shell system . . 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 testscip-shell system . . test. "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if testscip-shell system . . 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/nullscip-shell filesystem . . `/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/nullscip-shell filesystem . . `/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 testscip-shell system . . test. x"${_as_can_reexec}" != xno && testscip-shell system . . 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/nullscip-shell filesystem . . `/dev/null`.
144 ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
145 (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/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_exitscip-shell shell dosbox 0.74-3-5 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 testscip-shell system . . 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'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :
201 as_have_required=yes
202 else
203 as_have_required=no
204 fi
205 if testscip-shell system . . test. x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :
206
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 do
212 IFS=$as_save_IFS
213 testscip-shell system . . test. -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in #(
216 /*)
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { testscip-shell system . . test. -f "$as_shell" || testscip-shell system . . test. -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :
224 break 2
225 fi
226 fi
227 done;;
228 esac
229 as_found=false
230 done
231 $as_found || { if { testscip-shell system . . test. -f "$SHELL" || testscip-shell system . . test. -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234 fi; }
235 IFS=$as_save_IFS
236
237
238 if testscip-shell system . . test. "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
245 ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
246 (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
258 fi
259
260 if testscip-shell system . . test. x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if testscip-shell system . . test. x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 $as_echo "$0: Please tell [email protected] about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
271 fi
272 exit 1
273 fi
274 fi
275 fi
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
281
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unsetscip-shell shell dosbox 0.74-3-5 as_fn_unset(). ()
289 {
290 { eval $1=; unset $1;}
291 }
292 as_unset=as_fn_unset
293
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
297 as_fn_set_statusscip-shell shell dosbox 0.74-3-5 as_fn_set_status(). ()
298 {
299 return $1
300 } # as_fn_set_status
301
302 # as_fn_exit STATUS
303 # -----------------
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305 as_fn_exitscip-shell shell dosbox 0.74-3-5 as_fn_exit(). ()
306 {
307 set +e
308 as_fn_set_statusscip-shell shell dosbox 0.74-3-5 as_fn_set_status(). $1
309 exit $1
310 } # as_fn_exit
311
312 # as_fn_mkdir_p
313 # -------------
314 # Create "$as_dir" as a directory, including parents if necessary.
315 as_fn_mkdir_pscip-shell shell dosbox 0.74-3-5 as_fn_mkdir_p(). ()
316 {
317
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 testscip-shell system . . test. -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
334 $as_echo X"$as_dir" |
335 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
337 q
338 }
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
341 q
342 }
343 /^X\(\/\/\)$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\).*/{
348 s//\1/
349 q
350 }
351 s/.*/./; q'`
352 testscip-shell system . . test. -d "$as_dir" && break
353 done
354 testscip-shell system . . test. -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || testscip-shell system . . test. -d "$as_dir" || as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "cannot create directory $as_dir"
356
357
358 } # as_fn_mkdir_p
359
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). ()
364 {
365 testscip-shell system . . test. -f "$1" && testscip-shell system . . test. -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
372 # implementations.
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :
374 eval 'as_fn_append ()
375 {
376 eval $1+=\$2
377 }'
378 else
379 as_fn_appendscip-shell shell dosbox 0.74-3-5 as_fn_append(). ()
380 {
381 eval $1=\$$1\$2
382 }
383 fi # as_fn_append
384
385 # as_fn_arith ARG...
386 # ------------------
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :
391 eval 'as_fn_arith ()
392 {
393 as_val=$(( $* ))
394 }'
395 else
396 as_fn_arithscip-shell shell dosbox 0.74-3-5 as_fn_arith(). ()
397 {
398 as_val=`exprscip-shell system . . expr. "$@" || testscip-shell system . . test. $? -eq 1`
399 }
400 fi # as_fn_arith
401
402
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
408 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). ()
409 {
410 as_status=$1; testscip-shell system . . test. $as_status -eq 0 && as_status=1
411 if testscip-shell system . . test. "$4"; then
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 fi
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exitscip-shell shell dosbox 0.74-3-5 as_fn_exit(). $as_status
417 } # as_fn_error
418
419 if exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
420 testscip-shell system . . test. "X`exprscip-shell system . . expr. 00001 : '.*\(...\)'`" = X001; then
421 as_expr=expr
422 else
423 as_expr=false
424 fi
425
426 if (basenamescip-shell system . . basename. -- /scip-shell filesystem . . `/`.) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && testscip-shell system . . test. "X`basenamescip-shell system . . basename. -- /scip-shell filesystem . . `/`. 2>&1`" = "X/"; then
427 as_basename=basename
428 else
429 as_basename=false
430 fi
431
432 if (as_dir=`dirnamescip-shell system . . dirname. -- /scip-shell filesystem . . `/`.` && testscip-shell system . . test. "X$as_dir" = X/) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
433 as_dirname=dirname
434 else
435 as_dirname=false
436 fi
437
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
442 $as_echo X/"$0" |
443 sedscip-shell system . . sed. '/^.*\/\([^/][^/]*\)\/*$/{
444 s//\1/
445 q
446 }
447 /^X\/\(\/\/\)$/{
448 s//\1/
449 q
450 }
451 /^X\/\(\/\).*/{
452 s//\1/
453 q
454 }
455 s/.*/./; q'`
456
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
470 sedscip-shell system . . sed. -n '
471 p
472 /[$]LINENO/=
473 ' <$as_myself |
474 sedscip-shell system . . sed. '
475 s/[$]LINENO.*/&-/
476 t lineno
477 b
478 :lineno
479 N
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
485 chmodscip-shell system . . chmod. +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exitscip-shell shell dosbox 0.74-3-5 as_fn_exit(). 1; }
487
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
495 . "./$as_me.lineno"
496 # Exit status is that of the last command.
497 exit
498 }
499
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echoscip-shell system . . echo. -n x` in #(((((
502 -n*)
503 case `echoscip-shell system . . echo. 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 xy) ECHO_C='\c';;
506 *) echoscip-shell system . . echo. `echoscip-shell system . . echo. ksh88 bug on AIX 6.1` > /dev/nullscip-shell filesystem . . `/dev/null`.
507 ECHO_T=' ';;
508 esac;;
509 *)
510 ECHO_N='-n';;
511 esac
512
513 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.file
514 if testscip-shell system . . test. -d conf$$.dir; then
515 rmscip-shell system . . rm. -f conf$$.dir/conf$$.file
516 else
517 rmscip-shell system . . rm. -f conf$$.dir
518 mkdirscip-shell system . . mkdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`.
519 fi
520 if (echoscip-shell system . . echo. >conf$$.file) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
521 if lnscip-shell system . . ln. -s conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
522 as_ln_s='ln -s'
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 lnscip-shell system . . ln. -s conf$$.file conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. && testscip-shell system . . test. ! -f conf$$.exe ||
528 as_ln_s='cp -pR'
529 elif lnscip-shell system . . ln. conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
530 as_ln_s=ln
531 else
532 as_ln_s='cp -pR'
533 fi
534 else
535 as_ln_s='cp -pR'
536 fi
537 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdirscip-shell system . . rmdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`.
539
540 if mkdirscip-shell system . . mkdir. -p . 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
541 as_mkdir_p='mkdir -p "$as_dir"'
542 else
543 testscip-shell system . . test. -d ./-p && rmdirscip-shell system . . rmdir. ./-p
544 as_mkdir_p=false
545 fi
546
547 as_test_x='test -x'
548 as_executable_p=as_fn_executable_p
549
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557 testscip-shell system . . test. -n "$DJDIR" || exec 7<&0 </dev/nullscip-shell filesystem . . `/dev/null`.
558 exec 6>&1
559
560 # Name of the host.
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
564
565 #
566 # Initializations.
567 #
568 ac_default_prefix=/usr/localscip-shell filesystem . . `/usr/local`.
569 ac_clean_files=
570 ac_config_libobj_dir=.
571 LIBOBJS=
572 cross_compiling=no
573 subdirs=
574 MFLAGS=
575 MAKEFLAGS=
576
577 # Identity of this package.
578 PACKAGE_NAME='dosbox'
579 PACKAGE_TARNAME='dosbox'
580 PACKAGE_VERSION='0.74-3'
581 PACKAGE_STRING='dosbox 0.74-3'
582 PACKAGE_BUGREPORT=''
583 PACKAGE_URL=''
584
585 ac_unique_file="README"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
588 #include <stdio.h>
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
591 #endif
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
594 #endif
595 #ifdef STDC_HEADERS
596 # include <stdlib.h>
597 # include <stddef.h>
598 #else
599 # ifdef HAVE_STDLIB_H
600 # include <stdlib.h>
601 # endif
602 #endif
603 #ifdef HAVE_STRING_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 # include <memory.h>
606 # endif
607 # include <string.h>
608 #endif
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
611 #endif
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
614 #endif
615 #ifdef HAVE_STDINT_H
616 # include <stdint.h>
617 #endif
618 #ifdef HAVE_UNISTD_H
619 # include <unistd.h>
620 #endif"
621
622 ac_subst_vars='am__EXEEXT_FALSE
623 am__EXEEXT_TRUE
624 LTLIBOBJS
625 LIBOBJS
626 HAVE_WINDRES_FALSE
627 HAVE_WINDRES_TRUE
628 WINDRES
629 ALSA_LIBS
630 ALSA_CFLAGS
631 EGREP
632 GREP
633 SDL_LIBS
634 SDL_CFLAGS
635 SDL_CONFIG
636 RANLIB
637 am__fastdepCXX_FALSE
638 am__fastdepCXX_TRUE
639 CXXDEPMODE
640 ac_ct_CXX
641 CXXFLAGS
642 CXX
643 CPP
644 am__fastdepCC_FALSE
645 am__fastdepCC_TRUE
646 CCDEPMODE
647 am__nodep
648 AMDEPBACKSLASH
649 AMDEP_FALSE
650 AMDEP_TRUE
651 am__quote
652 am__include
653 DEPDIR
654 OBJEXT
655 EXEEXT
656 ac_ct_CC
657 CPPFLAGS
658 LDFLAGS
659 CFLAGS
660 CC
661 AM_BACKSLASH
662 AM_DEFAULT_VERBOSITY
663 AM_DEFAULT_V
664 AM_V
665 am__untar
666 am__tar
667 AMTAR
668 am__leading_dot
669 SET_MAKE
670 AWK
671 mkdir_p
672 MKDIR_P
673 INSTALL_STRIP_PROGRAM
674 STRIP
675 install_sh
676 MAKEINFO
677 AUTOHEADER
678 AUTOMAKE
679 AUTOCONF
680 ACLOCAL
681 VERSION
682 PACKAGE
683 CYGPATH_W
684 am__isrc
685 INSTALL_DATA
686 INSTALL_SCRIPT
687 INSTALL_PROGRAM
688 host_os
689 host_vendor
690 host_cpu
691 host
692 build_os
693 build_vendor
694 build_cpu
695 build
696 target_alias
697 host_alias
698 build_alias
699 LIBS
700 ECHO_T
701 ECHO_N
702 ECHO_C
703 DEFS
704 mandir
705 localedir
706 libdir
707 psdir
708 pdfdir
709 dvidir
710 htmldir
711 infodir
712 docdir
713 oldincludedir
714 includedir
715 runstatedir
716 localstatedir
717 sharedstatedir
718 sysconfdir
719 datadir
720 datarootdir
721 libexecdir
722 sbindir
723 bindir
724 program_transform_name
725 prefix
726 exec_prefix
727 PACKAGE_URL
728 PACKAGE_BUGREPORT
729 PACKAGE_STRING
730 PACKAGE_VERSION
731 PACKAGE_TARNAME
732 PACKAGE_NAME
733 PATH_SEPARATOR
734 SHELL'
735 ac_subst_files=''
736 ac_user_opts='
737 enable_option_checking
738 enable_silent_rules
739 enable_dependency_tracking
740 with_sdl_prefix
741 with_sdl_exec_prefix
742 enable_sdltest
743 enable_alsa_midi
744 with_alsa_prefix
745 with_alsa_inc_prefix
746 enable_alsatest
747 enable_debug
748 enable_core_inline
749 enable_dynamic_core
750 enable_dynamic_x86
751 enable_dynrec
752 enable_fpu
753 enable_fpu_x86
754 enable_unaligned_memory
755 enable_opengl
756 '
757 ac_precious_vars='build_alias
758 host_alias
759 target_alias
760 CC
761 CFLAGS
762 LDFLAGS
763 LIBS
764 CPPFLAGS
765 CPP
766 CXX
767 CXXFLAGS
768 CCC'
769
770
771 # Initialize some variables set by options.
772 ac_init_help=
773 ac_init_version=false
774 ac_unrecognized_opts=
775 ac_unrecognized_sep=
776 # The variables have the same names as the options, with
777 # dashes changed to underlines.
778 cache_file=/dev/nullscip-shell filesystem . . `/dev/null`.
779 exec_prefix=NONE
780 no_create=
781 no_recursion=
782 prefix=NONE
783 program_prefix=NONE
784 program_suffix=NONE
785 program_transform_name=s,x,x,
786 silent=
787 site=
788 srcdir=
789 verbose=
790 x_includes=NONE
791 x_libraries=NONE
792
793 # Installation directory options.
794 # These are left unexpanded so users can "make install exec_prefix=/foo"
795 # and all the variables that are supposed to be based on exec_prefix
796 # by default will actually change.
797 # Use braces instead of parens because sh, perl, etc. also accept them.
798 # (The list follows the same order as the GNU Coding Standards.)
799 bindir='${exec_prefix}/bin'
800 sbindir='${exec_prefix}/sbin'
801 libexecdir='${exec_prefix}/libexec'
802 datarootdir='${prefix}/share'
803 datadir='${datarootdir}'
804 sysconfdir='${prefix}/etc'
805 sharedstatedir='${prefix}/com'
806 localstatedir='${prefix}/var'
807 runstatedir='${localstatedir}/run'
808 includedir='${prefix}/include'
809 oldincludedir='/usr/includescip-shell filesystem . . `/usr/include`.'
810 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
811 infodir='${datarootdir}/info'
812 htmldir='${docdir}'
813 dvidir='${docdir}'
814 pdfdir='${docdir}'
815 psdir='${docdir}'
816 libdir='${exec_prefix}/lib'
817 localedir='${datarootdir}/locale'
818 mandir='${datarootdir}/man'
819
820 ac_prev=
821 ac_dashdash=
822 for ac_option
823 do
824 # If the previous option needs an argument, assign it.
825 if testscip-shell system . . test. -n "$ac_prev"; then
826 eval $ac_prev=\$ac_option
827 ac_prev=
828 continue
829 fi
830
831 case $ac_option in
832 *=?*) ac_optarg=`exprscip-shell system . . expr. "X$ac_option" : '[^=]*=\(.*\)'` ;;
833 *=) ac_optarg= ;;
834 *) ac_optarg=yes ;;
835 esac
836
837 # Accept the important Cygnus configure options, so we can diagnose typos.
838
839 case $ac_dashdash$ac_option in
840 --)
841 ac_dashdash=yes ;;
842
843 -bindir | --bindir | --bindi | --bind | --bin | --bi)
844 ac_prev=bindir ;;
845 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
846 bindir=$ac_optarg ;;
847
848 -build | --build | --buil | --bui | --bu)
849 ac_prev=build_alias ;;
850 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
851 build_alias=$ac_optarg ;;
852
853 -cache-file | --cache-file | --cache-fil | --cache-fi \
854 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
855 ac_prev=cache_file ;;
856 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
857 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
858 cache_file=$ac_optarg ;;
859
860 --config-cache | -C)
861 cache_file=config.cache ;;
862
863 -datadir | --datadir | --datadi | --datad)
864 ac_prev=datadir ;;
865 -datadir=* | --datadir=* | --datadi=* | --datad=*)
866 datadir=$ac_optarg ;;
867
868 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
869 | --dataroo | --dataro | --datar)
870 ac_prev=datarootdir ;;
871 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
872 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
873 datarootdir=$ac_optarg ;;
874
875 -disable-* | --disable-*)
876 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*disable-\(.*\)'`
877 # Reject names that are not valid shell variable names.
878 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
879 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "invalid feature name: $ac_useropt"
880 ac_useropt_orig=$ac_useropt
881 ac_useropt=`$as_echo "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
882 case $ac_user_opts in
883 *"
884 "enable_$ac_useropt"
885 "*) ;;
886 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
887 ac_unrecognized_sep=', ';;
888 esac
889 eval enable_$ac_useropt=no ;;
890
891 -docdir | --docdir | --docdi | --doc | --do)
892 ac_prev=docdir ;;
893 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
894 docdir=$ac_optarg ;;
895
896 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
897 ac_prev=dvidir ;;
898 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
899 dvidir=$ac_optarg ;;
900
901 -enable-* | --enable-*)
902 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*enable-\([^=]*\)'`
903 # Reject names that are not valid shell variable names.
904 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
905 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "invalid feature name: $ac_useropt"
906 ac_useropt_orig=$ac_useropt
907 ac_useropt=`$as_echo "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
908 case $ac_user_opts in
909 *"
910 "enable_$ac_useropt"
911 "*) ;;
912 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
913 ac_unrecognized_sep=', ';;
914 esac
915 eval enable_$ac_useropt=\$ac_optarg ;;
916
917 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
918 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
919 | --exec | --exe | --ex)
920 ac_prev=exec_prefix ;;
921 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
922 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
923 | --exec=* | --exe=* | --ex=*)
924 exec_prefix=$ac_optarg ;;
925
926 -gas | --gas | --ga | --g)
927 # Obsolete; use --with-gas.
928 with_gas=yes ;;
929
930 -help | --help | --hel | --he | -h)
931 ac_init_help=long ;;
932 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
933 ac_init_help=recursive ;;
934 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
935 ac_init_help=short ;;
936
937 -host | --host | --hos | --ho)
938 ac_prev=host_alias ;;
939 -host=* | --host=* | --hos=* | --ho=*)
940 host_alias=$ac_optarg ;;
941
942 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
943 ac_prev=htmldir ;;
944 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
945 | --ht=*)
946 htmldir=$ac_optarg ;;
947
948 -includedir | --includedir | --includedi | --included | --include \
949 | --includ | --inclu | --incl | --inc)
950 ac_prev=includedir ;;
951 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
952 | --includ=* | --inclu=* | --incl=* | --inc=*)
953 includedir=$ac_optarg ;;
954
955 -infodir | --infodir | --infodi | --infod | --info | --inf)
956 ac_prev=infodir ;;
957 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
958 infodir=$ac_optarg ;;
959
960 -libdir | --libdir | --libdi | --libd)
961 ac_prev=libdir ;;
962 -libdir=* | --libdir=* | --libdi=* | --libd=*)
963 libdir=$ac_optarg ;;
964
965 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
966 | --libexe | --libex | --libe)
967 ac_prev=libexecdir ;;
968 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
969 | --libexe=* | --libex=* | --libe=*)
970 libexecdir=$ac_optarg ;;
971
972 -localedir | --localedir | --localedi | --localed | --locale)
973 ac_prev=localedir ;;
974 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
975 localedir=$ac_optarg ;;
976
977 -localstatedir | --localstatedir | --localstatedi | --localstated \
978 | --localstate | --localstat | --localsta | --localst | --locals)
979 ac_prev=localstatedir ;;
980 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
981 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
982 localstatedir=$ac_optarg ;;
983
984 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
985 ac_prev=mandir ;;
986 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
987 mandir=$ac_optarg ;;
988
989 -nfp | --nfp | --nf)
990 # Obsolete; use --without-fp.
991 with_fp=no ;;
992
993 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
994 | --no-cr | --no-c | -n)
995 no_create=yes ;;
996
997 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
998 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
999 no_recursion=yes ;;
1000
1001 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1002 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1003 | --oldin | --oldi | --old | --ol | --o)
1004 ac_prev=oldincludedir ;;
1005 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1006 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1007 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1008 oldincludedir=$ac_optarg ;;
1009
1010 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1011 ac_prev=prefix ;;
1012 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1013 prefix=$ac_optarg ;;
1014
1015 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1016 | --program-pre | --program-pr | --program-p)
1017 ac_prev=program_prefix ;;
1018 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1019 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1020 program_prefix=$ac_optarg ;;
1021
1022 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1023 | --program-suf | --program-su | --program-s)
1024 ac_prev=program_suffix ;;
1025 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1026 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1027 program_suffix=$ac_optarg ;;
1028
1029 -program-transform-name | --program-transform-name \
1030 | --program-transform-nam | --program-transform-na \
1031 | --program-transform-n | --program-transform- \
1032 | --program-transform | --program-transfor \
1033 | --program-transfo | --program-transf \
1034 | --program-trans | --program-tran \
1035 | --progr-tra | --program-tr | --program-t)
1036 ac_prev=program_transform_name ;;
1037 -program-transform-name=* | --program-transform-name=* \
1038 | --program-transform-nam=* | --program-transform-na=* \
1039 | --program-transform-n=* | --program-transform-=* \
1040 | --program-transform=* | --program-transfor=* \
1041 | --program-transfo=* | --program-transf=* \
1042 | --program-trans=* | --program-tran=* \
1043 | --progr-tra=* | --program-tr=* | --program-t=*)
1044 program_transform_name=$ac_optarg ;;
1045
1046 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1047 ac_prev=pdfdir ;;
1048 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1049 pdfdir=$ac_optarg ;;
1050
1051 -psdir | --psdir | --psdi | --psd | --ps)
1052 ac_prev=psdir ;;
1053 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1054 psdir=$ac_optarg ;;
1055
1056 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1057 | -silent | --silent | --silen | --sile | --sil)
1058 silent=yes ;;
1059
1060 -runstatedir | --runstatedir | --runstatedi | --runstated \
1061 | --runstate | --runstat | --runsta | --runst | --runs \
1062 | --run | --ru | --r)
1063 ac_prev=runstatedir ;;
1064 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1065 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1066 | --run=* | --ru=* | --r=*)
1067 runstatedir=$ac_optarg ;;
1068
1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1070 ac_prev=sbindir ;;
1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1072 | --sbi=* | --sb=*)
1073 sbindir=$ac_optarg ;;
1074
1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1077 | --sharedst | --shareds | --shared | --share | --shar \
1078 | --sha | --sh)
1079 ac_prev=sharedstatedir ;;
1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1083 | --sha=* | --sh=*)
1084 sharedstatedir=$ac_optarg ;;
1085
1086 -site | --site | --sit)
1087 ac_prev=site ;;
1088 -site=* | --site=* | --sit=*)
1089 site=$ac_optarg ;;
1090
1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1092 ac_prev=srcdir ;;
1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1094 srcdir=$ac_optarg ;;
1095
1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1097 | --syscon | --sysco | --sysc | --sys | --sy)
1098 ac_prev=sysconfdir ;;
1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1101 sysconfdir=$ac_optarg ;;
1102
1103 -target | --target | --targe | --targ | --tar | --ta | --t)
1104 ac_prev=target_alias ;;
1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1106 target_alias=$ac_optarg ;;
1107
1108 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109 verbose=yes ;;
1110
1111 -version | --version | --versio | --versi | --vers | -V)
1112 ac_init_version=: ;;
1113
1114 -with-* | --with-*)
1115 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1118 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "invalid package name: $ac_useropt"
1119 ac_useropt_orig=$ac_useropt
1120 ac_useropt=`$as_echo "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1122 *"
1123 "with_$ac_useropt"
1124 "*) ;;
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1126 ac_unrecognized_sep=', ';;
1127 esac
1128 eval with_$ac_useropt=\$ac_optarg ;;
1129
1130 -without-* | --without-*)
1131 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*without-\(.*\)'`
1132 # Reject names that are not valid shell variable names.
1133 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1134 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "invalid package name: $ac_useropt"
1135 ac_useropt_orig=$ac_useropt
1136 ac_useropt=`$as_echo "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1138 *"
1139 "with_$ac_useropt"
1140 "*) ;;
1141 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1142 ac_unrecognized_sep=', ';;
1143 esac
1144 eval with_$ac_useropt=no ;;
1145
1146 --x)
1147 # Obsolete; use --with-x.
1148 with_x=yes ;;
1149
1150 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1151 | --x-incl | --x-inc | --x-in | --x-i)
1152 ac_prev=x_includes ;;
1153 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1154 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1155 x_includes=$ac_optarg ;;
1156
1157 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1158 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1159 ac_prev=x_libraries ;;
1160 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1161 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1162 x_libraries=$ac_optarg ;;
1163
1164 -*) as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "unrecognized option: \`$ac_option'
1165 Try \`$0 --help' for more information"
1166 ;;
1167
1168 *=*)
1169 ac_envvar=`exprscip-shell system . . expr. "x$ac_option" : 'x\([^=]*\)='`
1170 # Reject names that are not valid shell variable names.
1171 case $ac_envvar in #(
1172 '' | [0-9]* | *[!_$as_cr_alnum]* )
1173 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "invalid variable name: \`$ac_envvar'" ;;
1174 esac
1175 eval $ac_envvar=\$ac_optarg
1176 export $ac_envvar ;;
1177
1178 *)
1179 # FIXME: should be removed in autoconf 3.0.
1180 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1181 exprscip-shell system . . expr. "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1182 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1183 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1184 ;;
1185
1186 esac
1187 done
1188
1189 if testscip-shell system . . test. -n "$ac_prev"; then
1190 ac_option=--`echoscip-shell system . . echo. $ac_prev | sedscip-shell system . . sed. 's/_/-/g'`
1191 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "missing argument to $ac_option"
1192 fi
1193
1194 if testscip-shell system . . test. -n "$ac_unrecognized_opts"; then
1195 case $enable_option_checking in
1196 no) ;;
1197 fatal) as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "unrecognized options: $ac_unrecognized_opts" ;;
1198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1199 esac
1200 fi
1201
1202 # Check all directory arguments for consistency.
1203 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1204 datadir sysconfdir sharedstatedir localstatedir includedir \
1205 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1206 libdir localedir mandir runstatedir
1207 do
1208 eval ac_val=\$$ac_var
1209 # Remove trailing slashes.
1210 case $ac_val in
1211 */ )
1212 ac_val=`exprscip-shell system . . expr. "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1213 eval $ac_var=\$ac_val;;
1214 esac
1215 # Be sure to have absolute directory names.
1216 case $ac_val in
1217 [\\/$]* | ?:[\\/]* ) continue;;
1218 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1219 esac
1220 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "expected an absolute directory name for --$ac_var: $ac_val"
1221 done
1222
1223 # There might be people who depend on the old broken behavior: `$host'
1224 # used to hold the argument of --host etc.
1225 # FIXME: To remove some day.
1226 build=$build_alias
1227 host=$host_alias
1228 target=$target_alias
1229
1230 # FIXME: To remove some day.
1231 if testscip-shell system . . test. "x$host_alias" != x; then
1232 if testscip-shell system . . test. "x$build_alias" = x; then
1233 cross_compiling=maybe
1234 elif testscip-shell system . . test. "x$build_alias" != "x$host_alias"; then
1235 cross_compiling=yes
1236 fi
1237 fi
1238
1239 ac_tool_prefix=
1240 testscip-shell system . . test. -n "$host_alias" && ac_tool_prefix=$host_alias-
1241
1242 testscip-shell system . . test. "$silent" = yes && exec 6>/dev/nullscip-shell filesystem . . `/dev/null`.
1243
1244
1245 ac_pwd=`pwdscip-shell system . . pwd.` && testscip-shell system . . test. -n "$ac_pwd" &&
1246 ac_ls_di=`lsscip-shell system . . ls. -di .` &&
1247 ac_pwd_ls_di=`cd "$ac_pwd" && lsscip-shell system . . ls. -di .` ||
1248 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "working directory cannot be determined"
1249 testscip-shell system . . test. "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1250 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "pwd does not report name of working directory"
1251
1252
1253 # Find the source files, if location was not specified.
1254 if testscip-shell system . . test. -z "$srcdir"; then
1255 ac_srcdir_defaulted=yes
1256 # Try the directory containing this script, then the parent directory.
1257 ac_confdir=`$as_dirname -- "$as_myself" ||
1258 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1259 X"$as_myself" : 'X\(//\)[^/]' \| \
1260 X"$as_myself" : 'X\(//\)$' \| \
1261 X"$as_myself" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
1262 $as_echo X"$as_myself" |
1263 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264 s//\1/
1265 q
1266 }
1267 /^X\(\/\/\)[^/].*/{
1268 s//\1/
1269 q
1270 }
1271 /^X\(\/\/\)$/{
1272 s//\1/
1273 q
1274 }
1275 /^X\(\/\).*/{
1276 s//\1/
1277 q
1278 }
1279 s/.*/./; q'`
1280 srcdir=$ac_confdir
1281 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1282 srcdir=..
1283 fi
1284 else
1285 ac_srcdir_defaulted=no
1286 fi
1287 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1288 testscip-shell system . . test. "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1289 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "cannot find sources ($ac_unique_file) in $srcdir"
1290 fi
1291 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1292 ac_abs_confdir=`(
1293 cd "$srcdir" && testscip-shell system . . test. -r "./$ac_unique_file" || as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "$ac_msg"
1294 pwdscip-shell system . . pwd.)`
1295 # When building in place, set srcdir=.
1296 if testscip-shell system . . test. "$ac_abs_confdir" = "$ac_pwd"; then
1297 srcdir=.
1298 fi
1299 # Remove unnecessary trailing slashes from srcdir.
1300 # Double slashes in file names in object file debugging info
1301 # mess up M-x gdb in Emacs.
1302 case $srcdir in
1303 */) srcdir=`exprscip-shell system . . expr. "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1304 esac
1305 for ac_var in $ac_precious_vars; do
1306 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1307 eval ac_env_${ac_var}_value=\$${ac_var}
1308 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1309 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1310 done
1311
1312 #
1313 # Report the --help message.
1314 #
1315 if testscip-shell system . . test. "$ac_init_help" = "long"; then
1316 # Omit some internal or obsolete options to make the list less imposing.
1317 # This message is too long to be a string in the A/UX 3.1 sh.
1318 catscip-shell system . . cat. <<_ACEOF
1319 \`configure' configures dosbox 0.74-3 to adapt to many kinds of systems.
1320
1321 Usage: $0 [OPTION]... [VAR=VALUE]...
1322
1323 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1324 VAR=VALUE. See below for descriptions of some of the useful variables.
1325
1326 Defaults for the options are specified in brackets.
1327
1328 Configuration:
1329 -h, --help display this help and exit
1330 --help=short display options specific to this package
1331 --help=recursive display the short help of all the included packages
1332 -V, --version display version information and exit
1333 -q, --quiet, --silent do not print \`checking ...' messages
1334 --cache-file=FILE cache test results in FILE [disabled]
1335 -C, --config-cache alias for \`--cache-file=config.cache'
1336 -n, --no-create do not create output files
1337 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1338
1339 Installation directories:
1340 --prefix=PREFIX install architecture-independent files in PREFIX
1341 [$ac_default_prefix]
1342 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1343 [PREFIX]
1344
1345 By default, \`make install' will install all the files in
1346 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1347 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1348 for instance \`--prefix=\$HOME'.
1349
1350 For better control, use the options below.
1351
1352 Fine tuning of the installation directories:
1353 --bindir=DIR user executables [EPREFIX/bin]
1354 --sbindir=DIR system admin executables [EPREFIX/sbin]
1355 --libexecdir=DIR program executables [EPREFIX/libexec]
1356 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1357 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1358 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1359 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1360 --libdir=DIR object code libraries [EPREFIX/lib]
1361 --includedir=DIR C header files [PREFIX/include]
1362 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1363 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1364 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1365 --infodir=DIR info documentation [DATAROOTDIR/info]
1366 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1367 --mandir=DIR man documentation [DATAROOTDIR/man]
1368 --docdir=DIR documentation root [DATAROOTDIR/doc/dosbox]
1369 --htmldir=DIR html documentation [DOCDIR]
1370 --dvidir=DIR dvi documentation [DOCDIR]
1371 --pdfdir=DIR pdf documentation [DOCDIR]
1372 --psdir=DIR ps documentation [DOCDIR]
1373 _ACEOF
1374
1375 catscip-shell system . . cat. <<\_ACEOF
1376
1377 Program names:
1378 --program-prefix=PREFIX prepend PREFIX to installed program names
1379 --program-suffix=SUFFIX append SUFFIX to installed program names
1380 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1381
1382 System types:
1383 --build=BUILD configure for building on BUILD [guessed]
1384 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1385 _ACEOF
1386 fi
1387
1388 if testscip-shell system . . test. -n "$ac_init_help"; then
1389 case $ac_init_help in
1390 short | recursive ) echoscip-shell system . . echo. "Configuration of dosbox 0.74-3:";;
1391 esac
1392 catscip-shell system . . cat. <<\_ACEOF
1393
1394 Optional Features:
1395 --disable-option-checking ignore unrecognized --enable/--with options
1396 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1397 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1398 --enable-silent-rules less verbose build output (undo: "make V=1")
1399 --disable-silent-rules verbose build output (undo: "make V=0")
1400 --enable-dependency-tracking
1401 do not reject slow dependency extractors
1402 --disable-dependency-tracking
1403 speeds up one-time build
1404 --disable-sdltest Do not try to compile and run a test SDL program
1405 --enable-alsa-midi compile with alsa midi support (default yes)
1406 --disable-alsatest Do not try to compile and run a test Alsa program
1407 --enable-debug Enable debug mode
1408 --enable-core-inline Enable inlined memory handling in CPU Core
1409 --disable-dynamic-core Disable all dynamic cores
1410 --disable-dynamic-x86 Disable x86 dynamic cpu core
1411 --disable-dynrec Disable recompiling cpu core
1412 --disable-fpu Disable fpu support
1413 --disable-fpu-x86 Disable x86 assembly fpu core
1414 --disable-unaligned-memory
1415 Disable unaligned memory access
1416 --disable-opengl Disable opengl support
1417
1418 Optional Packages:
1419 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1420 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1421 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1422 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1423 --with-alsa-prefix=PFX Prefix where Alsa library is installed(optional)
1424 --with-alsa-inc-prefix=PFX Prefix where include libraries are (optional)
1425
1426 Some influential environment variables:
1427 CC C compiler command
1428 CFLAGS C compiler flags
1429 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1430 nonstandard directory <lib dir>
1431 LIBS libraries to pass to the linker, e.g. -l<library>
1432 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1433 you have headers in a nonstandard directory <include dir>
1434 CPP C preprocessor
1435 CXX C++ compiler command
1436 CXXFLAGS C++ compiler flags
1437
1438 Use these variables to override the choices made by `configure' or to help
1439 it to find libraries and programs with nonstandard names/locations.
1440
1441 Report bugs to the package provider.
1442 _ACEOF
1443 ac_status=$?
1444 fi
1445
1446 if testscip-shell system . . test. "$ac_init_help" = "recursive"; then
1447 # If there are subdirs, report their specific --help.
1448 for ac_dir in : $ac_subdirs_all; do testscip-shell system . . test. "x$ac_dir" = x: && continue
1449 testscip-shell system . . test. -d "$ac_dir" ||
1450 { cd "$srcdir" && ac_pwd=`pwdscip-shell system . . pwd.` && srcdir=. && testscip-shell system . . test. -d "$ac_dir"; } ||
1451 continue
1452 ac_builddir=.
1453
1454 case "$ac_dir" in
1455 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1456 *)
1457 ac_dir_suffix=/`$as_echo "$ac_dir" | sedscip-shell system . . sed. 's|^\.[\\/]||'`
1458 # A ".." for each directory in $ac_dir_suffix.
1459 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sedscip-shell system . . sed. 's|/[^\\/]*|/..|g;s|/||'`
1460 case $ac_top_builddir_sub in
1461 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1462 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1463 esac ;;
1464 esac
1465 ac_abs_top_builddir=$ac_pwd
1466 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1467 # for backward compatibility:
1468 ac_top_builddir=$ac_top_build_prefix
1469
1470 case $srcdir in
1471 .) # We are building in place.
1472 ac_srcdir=.
1473 ac_top_srcdir=$ac_top_builddir_sub
1474 ac_abs_top_srcdir=$ac_pwd ;;
1475 [\\/]* | ?:[\\/]* ) # Absolute name.
1476 ac_srcdir=$srcdir$ac_dir_suffix;
1477 ac_top_srcdir=$srcdir
1478 ac_abs_top_srcdir=$srcdir ;;
1479 *) # Relative name.
1480 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1481 ac_top_srcdir=$ac_top_build_prefix$srcdir
1482 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1483 esac
1484 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1485
1486 cd "$ac_dir" || { ac_status=$?; continue; }
1487 # Check for guested configure.
1488 if testscip-shell system . . test. -f "$ac_srcdir/configure.gnu"; then
1489 echoscip-shell system . . echo. &&
1490 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1491 elif testscip-shell system . . test. -f "$ac_srcdir/configure"; then
1492 echoscip-shell system . . echo. &&
1493 $SHELL "$ac_srcdir/configure" --help=recursive
1494 else
1495 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1496 fi || ac_status=$?
1497 cd "$ac_pwd" || { ac_status=$?; break; }
1498 done
1499 fi
1500
1501 testscip-shell system . . test. -n "$ac_init_help" && exit $ac_status
1502 if $ac_init_version; then
1503 catscip-shell system . . cat. <<\_ACEOF
1504 dosbox configure 0.74-3
1505 generated by GNU Autoconf 2.69
1506
1507 Copyright (C) 2012 Free Software Foundation, Inc.
1508 This configure script is free software; the Free Software Foundation
1509 gives unlimited permission to copy, distribute and modify it.
1510 _ACEOF
1511 exit
1512 fi
1513
1514 ## ------------------------ ##
1515 ## Autoconf initialization. ##
1516 ## ------------------------ ##
1517
1518 # ac_fn_c_try_compile LINENO
1519 # --------------------------
1520 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1521 ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). ()
1522 {
1523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1524 rmscip-shell system . . rm. -f conftest.$ac_objext
1525 if { { ac_try="$ac_compile"
1526 case "(($ac_try" in
1527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1528 *) ac_try_echo=$ac_try;;
1529 esac
1530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1531 $as_echo "$ac_try_echo"; } >&5
1532 (eval "$ac_compile") 2>conftest.err
1533 ac_status=$?
1534 if testscip-shell system . . test. -s conftest.err; then
1535 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1536 catscip-shell system . . cat. conftest.er1 >&5
1537 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1538 fi
1539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540 testscip-shell system . . test. $ac_status = 0; } && {
1541 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1542 testscip-shell system . . test. ! -s conftest.err
1543 } && testscip-shell system . . test. -s conftest.$ac_objext; then :
1544 ac_retval=0
1545 else
1546 $as_echo "$as_me: failed program was:" >&5
1547 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1548
1549 ac_retval=1
1550 fi
1551 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1552 as_fn_set_statusscip-shell shell dosbox 0.74-3-5 as_fn_set_status(). $ac_retval
1553
1554 } # ac_fn_c_try_compile
1555
1556 # ac_fn_c_try_cpp LINENO
1557 # ----------------------
1558 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1559 ac_fn_c_try_cppscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_cpp(). ()
1560 {
1561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1562 if { { ac_try="$ac_cpp conftest.$ac_ext"
1563 case "(($ac_try" in
1564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1565 *) ac_try_echo=$ac_try;;
1566 esac
1567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1568 $as_echo "$ac_try_echo"; } >&5
1569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1570 ac_status=$?
1571 if testscip-shell system . . test. -s conftest.err; then
1572 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1573 catscip-shell system . . cat. conftest.er1 >&5
1574 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1575 fi
1576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1577 testscip-shell system . . test. $ac_status = 0; } > conftest.i && {
1578 testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1579 testscip-shell system . . test. ! -s conftest.err
1580 }; then :
1581 ac_retval=0
1582 else
1583 $as_echo "$as_me: failed program was:" >&5
1584 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1585
1586 ac_retval=1
1587 fi
1588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1589 as_fn_set_statusscip-shell shell dosbox 0.74-3-5 as_fn_set_status(). $ac_retval
1590
1591 } # ac_fn_c_try_cpp
1592
1593 # ac_fn_cxx_try_compile LINENO
1594 # ----------------------------
1595 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1596 ac_fn_cxx_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_cxx_try_compile(). ()
1597 {
1598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599 rmscip-shell system . . rm. -f conftest.$ac_objext
1600 if { { ac_try="$ac_compile"
1601 case "(($ac_try" in
1602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1603 *) ac_try_echo=$ac_try;;
1604 esac
1605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_compile") 2>conftest.err
1608 ac_status=$?
1609 if testscip-shell system . . test. -s conftest.err; then
1610 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1611 catscip-shell system . . cat. conftest.er1 >&5
1612 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1613 fi
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 testscip-shell system . . test. $ac_status = 0; } && {
1616 testscip-shell system . . test. -z "$ac_cxx_werror_flag" ||
1617 testscip-shell system . . test. ! -s conftest.err
1618 } && testscip-shell system . . test. -s conftest.$ac_objext; then :
1619 ac_retval=0
1620 else
1621 $as_echo "$as_me: failed program was:" >&5
1622 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1623
1624 ac_retval=1
1625 fi
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 as_fn_set_statusscip-shell shell dosbox 0.74-3-5 as_fn_set_status(). $ac_retval
1628
1629 } # ac_fn_cxx_try_compile
1630
1631 # ac_fn_c_try_run LINENO
1632 # ----------------------
1633 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1634 # that executables *can* be run.
1635 ac_fn_c_try_runscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_run(). ()
1636 {
1637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1638 if { { ac_try="$ac_link"
1639 case "(($ac_try" in
1640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1642 esac
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_link") 2>&5
1646 ac_status=$?
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 testscip-shell system . . test. $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1649 { { case "(($ac_try" in
1650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651 *) ac_try_echo=$ac_try;;
1652 esac
1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_try") 2>&5
1656 ac_status=$?
1657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1658 testscip-shell system . . test. $ac_status = 0; }; }; then :
1659 ac_retval=0
1660 else
1661 $as_echo "$as_me: program exited with status $ac_status" >&5
1662 $as_echo "$as_me: failed program was:" >&5
1663 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1664
1665 ac_retval=$ac_status
1666 fi
1667 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 as_fn_set_statusscip-shell shell dosbox 0.74-3-5 as_fn_set_status(). $ac_retval
1670
1671 } # ac_fn_c_try_run
1672
1673 # ac_fn_c_try_link LINENO
1674 # -----------------------
1675 # Try to link conftest.$ac_ext, and return whether this succeeded.
1676 ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). ()
1677 {
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
1680 if { { ac_try="$ac_link"
1681 case "(($ac_try" in
1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1684 esac
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_link") 2>conftest.err
1688 ac_status=$?
1689 if testscip-shell system . . test. -s conftest.err; then
1690 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1691 catscip-shell system . . cat. conftest.er1 >&5
1692 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1693 fi
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 testscip-shell system . . test. $ac_status = 0; } && {
1696 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1697 testscip-shell system . . test. ! -s conftest.err
1698 } && testscip-shell system . . test. -s conftest$ac_exeext && {
1699 testscip-shell system . . test. "$cross_compiling" = yes ||
1700 testscip-shell system . . test. -x conftest$ac_exeext
1701 }; then :
1702 ac_retval=0
1703 else
1704 $as_echo "$as_me: failed program was:" >&5
1705 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1706
1707 ac_retval=1
1708 fi
1709 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1710 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1711 # interfere with the next link command; also delete a directory that is
1712 # left behind by Apple's compiler. We do this before executing the actions.
1713 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715 as_fn_set_statusscip-shell shell dosbox 0.74-3-5 as_fn_set_status(). $ac_retval
1716
1717 } # ac_fn_c_try_link
1718
1719 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1720 # -------------------------------------------
1721 # Tests whether TYPE exists after having included INCLUDES, setting cache
1722 # variable VAR accordingly.
1723 ac_fn_c_check_typescip-shell shell dosbox 0.74-3-5 ac_fn_c_check_type(). ()
1724 {
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727 $as_echo_n "checking for $2... " >&6; }
1728 if eval \${$3+:} false; then :
1729 $as_echo_n "(cached) " >&6
1730 else
1731 eval "$3=no"
1732 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1733 /* end confdefs.h. */
1734 $4
1735 int
1736 main ()
1737 {
1738 if (sizeof ($2))
1739 return 0;
1740 ;
1741 return 0;
1742 }
1743 _ACEOF
1744 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
1745 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1746 /* end confdefs.h. */
1747 $4
1748 int
1749 main ()
1750 {
1751 if (sizeof (($2)))
1752 return 0;
1753 ;
1754 return 0;
1755 }
1756 _ACEOF
1757 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
1758
1759 else
1760 eval "$3=yes"
1761 fi
1762 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1763 fi
1764 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1765 fi
1766 eval ac_res=\$$3
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768 $as_echo "$ac_res" >&6; }
1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1770
1771 } # ac_fn_c_check_type
1772
1773 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1774 # -------------------------------------------------------
1775 # Tests whether HEADER exists and can be compiled using the include files in
1776 # INCLUDES, setting the cache variable VAR accordingly.
1777 ac_fn_c_check_header_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_check_header_compile(). ()
1778 {
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1781 $as_echo_n "checking for $2... " >&6; }
1782 if eval \${$3+:} false; then :
1783 $as_echo_n "(cached) " >&6
1784 else
1785 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1786 /* end confdefs.h. */
1787 $4
1788 #include <$2>
1789 _ACEOF
1790 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
1791 eval "$3=yes"
1792 else
1793 eval "$3=no"
1794 fi
1795 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1796 fi
1797 eval ac_res=\$$3
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1799 $as_echo "$ac_res" >&6; }
1800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1801
1802 } # ac_fn_c_check_header_compile
1803
1804 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1805 # --------------------------------------------
1806 # Tries to find the compile-time value of EXPR in a program that includes
1807 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1808 # computed
1809 ac_fn_c_compute_intscip-shell shell dosbox 0.74-3-5 ac_fn_c_compute_int(). ()
1810 {
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 if testscip-shell system . . test. "$cross_compiling" = yes; then
1813 # Depending upon the size, compute the lo and hi bounds.
1814 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1815 /* end confdefs.h. */
1816 $4
1817 int
1818 main ()
1819 {
1820 static int test_array [1 - 2 * !(($2) >= 0)];
1821 test_array [0] = 0;
1822 return test_array [0];
1823
1824 ;
1825 return 0;
1826 }
1827 _ACEOF
1828 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
1829 ac_lo=0 ac_mid=0
1830 while :; do
1831 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1832 /* end confdefs.h. */
1833 $4
1834 int
1835 main ()
1836 {
1837 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1838 test_array [0] = 0;
1839 return test_array [0];
1840
1841 ;
1842 return 0;
1843 }
1844 _ACEOF
1845 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
1846 ac_hi=$ac_mid; break
1847 else
1848 as_fn_arithscip-shell shell dosbox 0.74-3-5 as_fn_arith(). $ac_mid + 1 && ac_lo=$as_val
1849 if testscip-shell system . . test. $ac_lo -le $ac_mid; then
1850 ac_lo= ac_hi=
1851 break
1852 fi
1853 as_fn_arithscip-shell shell dosbox 0.74-3-5 as_fn_arith(). 2 '*' $ac_mid + 1 && ac_mid=$as_val
1854 fi
1855 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1856 done
1857 else
1858 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1859 /* end confdefs.h. */
1860 $4
1861 int
1862 main ()
1863 {
1864 static int test_array [1 - 2 * !(($2) < 0)];
1865 test_array [0] = 0;
1866 return test_array [0];
1867
1868 ;
1869 return 0;
1870 }
1871 _ACEOF
1872 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
1873 ac_hi=-1 ac_mid=-1
1874 while :; do
1875 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1876 /* end confdefs.h. */
1877 $4
1878 int
1879 main ()
1880 {
1881 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1882 test_array [0] = 0;
1883 return test_array [0];
1884
1885 ;
1886 return 0;
1887 }
1888 _ACEOF
1889 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
1890 ac_lo=$ac_mid; break
1891 else
1892 as_fn_arithscip-shell shell dosbox 0.74-3-5 as_fn_arith(). '(' $ac_mid ')' - 1 && ac_hi=$as_val
1893 if testscip-shell system . . test. $ac_mid -le $ac_hi; then
1894 ac_lo= ac_hi=
1895 break
1896 fi
1897 as_fn_arithscip-shell shell dosbox 0.74-3-5 as_fn_arith(). 2 '*' $ac_mid && ac_mid=$as_val
1898 fi
1899 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1900 done
1901 else
1902 ac_lo= ac_hi=
1903 fi
1904 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1905 fi
1906 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1907 # Binary search between lo and hi bounds.
1908 while testscip-shell system . . test. "x$ac_lo" != "x$ac_hi"; do
1909 as_fn_arithscip-shell shell dosbox 0.74-3-5 as_fn_arith(). '(' $ac_hi - $ac_lo ')' /scip-shell filesystem . . `/`. 2 + $ac_lo && ac_mid=$as_val
1910 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1911 /* end confdefs.h. */
1912 $4
1913 int
1914 main ()
1915 {
1916 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1917 test_array [0] = 0;
1918 return test_array [0];
1919
1920 ;
1921 return 0;
1922 }
1923 _ACEOF
1924 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
1925 ac_hi=$ac_mid
1926 else
1927 as_fn_arithscip-shell shell dosbox 0.74-3-5 as_fn_arith(). '(' $ac_mid ')' + 1 && ac_lo=$as_val
1928 fi
1929 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1930 done
1931 case $ac_lo in #((
1932 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1933 '') ac_retval=1 ;;
1934 esac
1935 else
1936 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h. */
1938 $4
1939 static long int longval () { return $2; }
1940 static unsigned long int ulongval () { return $2; }
1941 #include <stdio.h>
1942 #include <stdlib.h>
1943 int
1944 main ()
1945 {
1946
1947 FILE *f = fopen ("conftest.val", "w");
1948 if (! f)
1949 return 1;
1950 if (($2) < 0)
1951 {
1952 long int i = longval ();
1953 if (i != ($2))
1954 return 1;
1955 fprintf (f, "%ld", i);
1956 }
1957 else
1958 {
1959 unsigned long int i = ulongval ();
1960 if (i != ($2))
1961 return 1;
1962 fprintf (f, "%lu", i);
1963 }
1964 /* Do not output a trailing newline, as this causes \r\n confusion
1965 on some platforms. */
1966 return ferror (f) || fclose (f) != 0;
1967
1968 ;
1969 return 0;
1970 }
1971 _ACEOF
1972 if ac_fn_c_try_runscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_run(). "$LINENO"; then :
1973 echoscip-shell system . . echo. >>conftest.val; read $3 <conftest.val; ac_retval=0
1974 else
1975 ac_retval=1
1976 fi
1977 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1978 conftest.$ac_objext conftest.beam conftest.$ac_ext
1979 rmscip-shell system . . rm. -f conftest.val
1980
1981 fi
1982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1983 as_fn_set_statusscip-shell shell dosbox 0.74-3-5 as_fn_set_status(). $ac_retval
1984
1985 } # ac_fn_c_compute_int
1986
1987 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1988 # -------------------------------------------------------
1989 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1990 # the include files in INCLUDES and setting the cache variable VAR
1991 # accordingly.
1992 ac_fn_c_check_header_mongrelscip-shell shell dosbox 0.74-3-5 ac_fn_c_check_header_mongrel(). ()
1993 {
1994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995 if eval \${$3+:} false; then :
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1997 $as_echo_n "checking for $2... " >&6; }
1998 if eval \${$3+:} false; then :
1999 $as_echo_n "(cached) " >&6
2000 fi
2001 eval ac_res=\$$3
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2003 $as_echo "$ac_res" >&6; }
2004 else
2005 # Is the header compilable?
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2007 $as_echo_n "checking $2 usability... " >&6; }
2008 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2009 /* end confdefs.h. */
2010 $4
2011 #include <$2>
2012 _ACEOF
2013 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
2014 ac_header_compiler=yes
2015 else
2016 ac_header_compiler=no
2017 fi
2018 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2020 $as_echo "$ac_header_compiler" >&6; }
2021
2022 # Is the header present?
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2024 $as_echo_n "checking $2 presence... " >&6; }
2025 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2026 /* end confdefs.h. */
2027 #include <$2>
2028 _ACEOF
2029 if ac_fn_c_try_cppscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_cpp(). "$LINENO"; then :
2030 ac_header_preproc=yes
2031 else
2032 ac_header_preproc=no
2033 fi
2034 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2036 $as_echo "$ac_header_preproc" >&6; }
2037
2038 # So? What about this header?
2039 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2040 yes:no: )
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2042 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2044 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2045 ;;
2046 no:yes:* )
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2048 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2050 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2052 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2054 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2056 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2057 ;;
2058 esac
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060 $as_echo_n "checking for $2... " >&6; }
2061 if eval \${$3+:} false; then :
2062 $as_echo_n "(cached) " >&6
2063 else
2064 eval "$3=\$ac_header_compiler"
2065 fi
2066 eval ac_res=\$$3
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2068 $as_echo "$ac_res" >&6; }
2069 fi
2070 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2071
2072 } # ac_fn_c_check_header_mongrel
2073
2074 # ac_fn_c_check_func LINENO FUNC VAR
2075 # ----------------------------------
2076 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2077 ac_fn_c_check_funcscip-shell shell dosbox 0.74-3-5 ac_fn_c_check_func(). ()
2078 {
2079 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2081 $as_echo_n "checking for $2... " >&6; }
2082 if eval \${$3+:} false; then :
2083 $as_echo_n "(cached) " >&6
2084 else
2085 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h. */
2087 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2089 #define $2 innocuous_$2
2090
2091 /* System header to define __stub macros and hopefully few prototypes,
2092 which can conflict with char $2 (); below.
2093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2094 <limits.h> exists even on freestanding compilers. */
2095
2096 #ifdef __STDC__
2097 # include <limits.h>
2098 #else
2099 # include <assert.h>
2100 #endif
2101
2102 #undef $2
2103
2104 /* Override any GCC internal prototype to avoid an error.
2105 Use char because int might match the return type of a GCC
2106 builtin and then its argument prototype would still apply. */
2107 #ifdef __cplusplus
2108 extern "C"
2109 #endif
2110 char $2 ();
2111 /* The GNU C library defines this for functions which it implements
2112 to always fail with ENOSYS. Some functions are actually named
2113 something starting with __ and the normal name is an alias. */
2114 #if defined __stub_$2 || defined __stub___$2
2115 choke me
2116 #endif
2117
2118 int
2119 main ()
2120 {
2121 return $2 ();
2122 ;
2123 return 0;
2124 }
2125 _ACEOF
2126 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
2127 eval "$3=yes"
2128 else
2129 eval "$3=no"
2130 fi
2131 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
2132 conftest$ac_exeext conftest.$ac_ext
2133 fi
2134 eval ac_res=\$$3
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2136 $as_echo "$ac_res" >&6; }
2137 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2138
2139 } # ac_fn_c_check_func
2140 catscip-shell system . . cat. >config.log <<_ACEOF
2141 This file contains any messages produced by compilers while
2142 running configure, to aid debugging if configure makes a mistake.
2143
2144 It was created by dosbox $as_me 0.74-3, which was
2145 generated by GNU Autoconf 2.69. Invocation command line was
2146
2147 $ $0 $@
2148
2149 _ACEOF
2150 exec 5>>config.log
2151 {
2152 catscip-shell system . . cat. <<_ASUNAME
2153 ## --------- ##
2154 ## Platform. ##
2155 ## --------- ##
2156
2157 hostname = `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
2158 uname -m = `(unamescip-shell system . . uname. -m) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2159 uname -r = `(unamescip-shell system . . uname. -r) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2160 uname -s = `(unamescip-shell system . . uname. -s) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2161 uname -v = `(unamescip-shell system . . uname. -v) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2162
2163 /usr/bin/uname -p = `(/usr/bin/unamescip-shell filesystem . . `/usr/bin/uname`. -p) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2164 /bin/uname -X = `(/bin/unamescip-shell filesystem . . `/bin/uname`. -X) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2165
2166 /bin/arch = `(/bin/archscip-shell filesystem . . `/bin/arch`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2167 /usr/bin/arch -k = `(/usr/bin/archscip-shell filesystem . . `/usr/bin/arch`. -k) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2168 /usr/convex/getsysinfo = `(/usr/convex/getsysinfoscip-shell filesystem . . `/usr/convex/getsysinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2169 /usr/bin/hostinfo = `(/usr/bin/hostinfoscip-shell filesystem . . `/usr/bin/hostinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2170 /bin/machine = `(/bin/machinescip-shell filesystem . . `/bin/machine`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2171 /usr/bin/oslevel = `(/usr/bin/oslevelscip-shell filesystem . . `/usr/bin/oslevel`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2172 /bin/universe = `(/bin/universescip-shell filesystem . . `/bin/universe`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2173
2174 _ASUNAME
2175
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 for as_dir in $PATH
2178 do
2179 IFS=$as_save_IFS
2180 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2181 $as_echo "PATH: $as_dir"
2182 done
2183 IFS=$as_save_IFS
2184
2185 } >&5
2186
2187 catscip-shell system . . cat. >&5 <<_ACEOF
2188
2189
2190 ## ----------- ##
2191 ## Core tests. ##
2192 ## ----------- ##
2193
2194 _ACEOF
2195
2196
2197 # Keep a trace of the command line.
2198 # Strip out --no-create and --no-recursion so they do not pile up.
2199 # Strip out --silent because we don't want to record it for future runs.
2200 # Also quote any args containing shell meta-characters.
2201 # Make two passes to allow for proper duplicate-argument suppression.
2202 ac_configure_args=
2203 ac_configure_args0=
2204 ac_configure_args1=
2205 ac_must_keep_next=false
2206 for ac_pass in 1 2
2207 do
2208 for ac_arg
2209 do
2210 case $ac_arg in
2211 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2212 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2213 | -silent | --silent | --silen | --sile | --sil)
2214 continue ;;
2215 *\'*)
2216 ac_arg=`$as_echo "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2217 esac
2218 case $ac_pass in
2219 1) as_fn_appendscip-shell shell dosbox 0.74-3-5 as_fn_append(). ac_configure_args0 " '$ac_arg'" ;;
2220 2)
2221 as_fn_appendscip-shell shell dosbox 0.74-3-5 as_fn_append(). ac_configure_args1 " '$ac_arg'"
2222 if testscip-shell system . . test. $ac_must_keep_next = true; then
2223 ac_must_keep_next=false # Got value, back to normal.
2224 else
2225 case $ac_arg in
2226 *=* | --config-cache | -C | -disable-* | --disable-* \
2227 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2228 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2229 | -with-* | --with-* | -without-* | --without-* | --x)
2230 case "$ac_configure_args0 " in
2231 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2232 esac
2233 ;;
2234 -* ) ac_must_keep_next=true ;;
2235 esac
2236 fi
2237 as_fn_appendscip-shell shell dosbox 0.74-3-5 as_fn_append(). ac_configure_args " '$ac_arg'"
2238 ;;
2239 esac
2240 done
2241 done
2242 { ac_configure_args0=; unset ac_configure_args0;}
2243 { ac_configure_args1=; unset ac_configure_args1;}
2244
2245 # When interrupted or exit'd, cleanup temporary files, and complete
2246 # config.log. We remove comments because anyway the quotes in there
2247 # would cause problems or look ugly.
2248 # WARNING: Use '\'' to represent an apostrophe within the trap.
2249 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2250 trap 'exit_status=$?
2251 # Save into config.log some information that might help in debugging.
2252 {
2253 echo
2254
2255 $as_echo "## ---------------- ##
2256 ## Cache variables. ##
2257 ## ---------------- ##"
2258 echo
2259 # The following way of writing the cache mishandles newlines in values,
2260 (
2261 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2262 eval ac_val=\$$ac_var
2263 case $ac_val in #(
2264 *${as_nl}*)
2265 case $ac_var in #(
2266 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2267 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2268 esac
2269 case $ac_var in #(
2270 _ | IFS | as_nl) ;; #(
2271 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2272 *) { eval $ac_var=; unset $ac_var;} ;;
2273 esac ;;
2274 esac
2275 done
2276 (set) 2>&1 |
2277 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2278 *${as_nl}ac_space=\ *)
2279 sed -n \
2280 "s/'\''/'\''\\\\'\'''\''/g;
2281 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2282 ;; #(
2283 *)
2284 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2285 ;;
2286 esac |
2287 sort
2288 )
2289 echo
2290
2291 $as_echo "## ----------------- ##
2292 ## Output variables. ##
2293 ## ----------------- ##"
2294 echo
2295 for ac_var in $ac_subst_vars
2296 do
2297 eval ac_val=\$$ac_var
2298 case $ac_val in
2299 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2300 esac
2301 $as_echo "$ac_var='\''$ac_val'\''"
2302 done | sort
2303 echo
2304
2305 if test -n "$ac_subst_files"; then
2306 $as_echo "## ------------------- ##
2307 ## File substitutions. ##
2308 ## ------------------- ##"
2309 echo
2310 for ac_var in $ac_subst_files
2311 do
2312 eval ac_val=\$$ac_var
2313 case $ac_val in
2314 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2315 esac
2316 $as_echo "$ac_var='\''$ac_val'\''"
2317 done | sort
2318 echo
2319 fi
2320
2321 if test -s confdefs.h; then
2322 $as_echo "## ----------- ##
2323 ## confdefs.h. ##
2324 ## ----------- ##"
2325 echo
2326 cat confdefs.h
2327 echo
2328 fi
2329 test "$ac_signal" != 0 &&
2330 $as_echo "$as_me: caught signal $ac_signal"
2331 $as_echo "$as_me: exit $exit_status"
2332 } >&5
2333 rm -f core *.core core.conftest.* &&
2334 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2335 exit $exit_status
2336 ' 0
2337 for ac_signal in 1 2 13 15; do
2338 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2339 done
2340 ac_signal=0
2341
2342 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2343 rmscip-shell system . . rm. -f -r conftest* confdefs.h
2344
2345 $as_echo "/* confdefs.h */" > confdefs.h
2346
2347 # Predefined preprocessor variables.
2348
2349 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2350 #define PACKAGE_NAME "$PACKAGE_NAME"
2351 _ACEOF
2352
2353 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2354 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2355 _ACEOF
2356
2357 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2358 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2359 _ACEOF
2360
2361 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2362 #define PACKAGE_STRING "$PACKAGE_STRING"
2363 _ACEOF
2364
2365 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2366 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2367 _ACEOF
2368
2369 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2370 #define PACKAGE_URL "$PACKAGE_URL"
2371 _ACEOF
2372
2373
2374 # Let the site file select an alternate cache file if it wants to.
2375 # Prefer an explicitly selected file to automatically selected ones.
2376 ac_site_file1=NONE
2377 ac_site_file2=NONE
2378 if testscip-shell system . . test. -n "$CONFIG_SITE"; then
2379 # We do not want a PATH search for config.site.
2380 case $CONFIG_SITE in #((
2381 -*) ac_site_file1=./$CONFIG_SITE;;
2382 */*) ac_site_file1=$CONFIG_SITE;;
2383 *) ac_site_file1=./$CONFIG_SITE;;
2384 esac
2385 elif testscip-shell system . . test. "x$prefix" != xNONE; then
2386 ac_site_file1=$prefix/share/config.site
2387 ac_site_file2=$prefix/etc/config.site
2388 else
2389 ac_site_file1=$ac_default_prefix/share/config.site
2390 ac_site_file2=$ac_default_prefix/etc/config.site
2391 fi
2392 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2393 do
2394 testscip-shell system . . test. "x$ac_site_file" = xNONE && continue
2395 if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$ac_site_file" && testscip-shell system . . test. -r "$ac_site_file"; then
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2397 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2398 sedscip-shell system . . sed. 's/^/| /' "$ac_site_file" >&5
2399 . "$ac_site_file" \
2400 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2402 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "failed to load site script $ac_site_file
2403 See \`config.log' for more details" "$LINENO" 5; }
2404 fi
2405 done
2406
2407 if testscip-shell system . . test. -r "$cache_file"; then
2408 # Some versions of bash will fail to source /dev/null (special files
2409 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2410 if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$cache_file" && testscip-shell system . . test. -f "$cache_file"; then
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2412 $as_echo "$as_me: loading cache $cache_file" >&6;}
2413 case $cache_file in
2414 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2415 *) . "./$cache_file";;
2416 esac
2417 fi
2418 else
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2420 $as_echo "$as_me: creating cache $cache_file" >&6;}
2421 >$cache_file
2422 fi
2423
2424 # Check that the precious variables saved in the cache have kept the same
2425 # value.
2426 ac_cache_corrupted=false
2427 for ac_var in $ac_precious_vars; do
2428 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2429 eval ac_new_set=\$ac_env_${ac_var}_set
2430 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2431 eval ac_new_val=\$ac_env_${ac_var}_value
2432 case $ac_old_set,$ac_new_set in
2433 set,)
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2435 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2436 ac_cache_corrupted=: ;;
2437 ,set)
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2439 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2440 ac_cache_corrupted=: ;;
2441 ,);;
2442 *)
2443 if testscip-shell system . . test. "x$ac_old_val" != "x$ac_new_val"; then
2444 # differences in whitespace do not lead to failure.
2445 ac_old_val_w=`echoscip-shell system . . echo. x $ac_old_val`
2446 ac_new_val_w=`echoscip-shell system . . echo. x $ac_new_val`
2447 if testscip-shell system . . test. "$ac_old_val_w" != "$ac_new_val_w"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2449 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2450 ac_cache_corrupted=:
2451 else
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2453 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2454 eval $ac_var=\$ac_old_val
2455 fi
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2457 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2459 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2460 fi;;
2461 esac
2462 # Pass precious variables to config.status.
2463 if testscip-shell system . . test. "$ac_new_set" = set; then
2464 case $ac_new_val in
2465 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2466 *) ac_arg=$ac_var=$ac_new_val ;;
2467 esac
2468 case " $ac_configure_args " in
2469 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2470 *) as_fn_appendscip-shell shell dosbox 0.74-3-5 as_fn_append(). ac_configure_args " '$ac_arg'" ;;
2471 esac
2472 fi
2473 done
2474 if $ac_cache_corrupted; then
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2478 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2479 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2480 fi
2481 ## -------------------- ##
2482 ## Main body of script. ##
2483 ## -------------------- ##
2484
2485 ac_ext=c
2486 ac_cpp='$CPP $CPPFLAGS'
2487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2490
2491
2492
2493
2494
2495 ac_aux_dir=
2496 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2497 if testscip-shell system . . test. -f "$ac_dir/install-sh"; then
2498 ac_aux_dir=$ac_dir
2499 ac_install_sh="$ac_aux_dir/install-sh -c"
2500 break
2501 elif testscip-shell system . . test. -f "$ac_dir/install.sh"; then
2502 ac_aux_dir=$ac_dir
2503 ac_install_sh="$ac_aux_dir/install.sh -c"
2504 break
2505 elif testscip-shell system . . test. -f "$ac_dir/shtool"; then
2506 ac_aux_dir=$ac_dir
2507 ac_install_sh="$ac_aux_dir/shtool install -c"
2508 break
2509 fi
2510 done
2511 if testscip-shell system . . test. -z "$ac_aux_dir"; then
2512 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2513 fi
2514
2515 # These three variables are undocumented and unsupported,
2516 # and are intended to be withdrawn in a future Autoconf release.
2517 # They can cause serious problems if a builder's source tree is in a directory
2518 # whose full name contains unusual characters.
2519 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2520 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2521 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2522
2523
2524 # Make sure we can run config.sub.
2525 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 ||
2526 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2527
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2529 $as_echo_n "checking build system type... " >&6; }
2530 if ${ac_cv_build+:} false; then :
2531 $as_echo_n "(cached) " >&6
2532 else
2533 ac_build_alias=$build_alias
2534 testscip-shell system . . test. "x$ac_build_alias" = x &&
2535 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2536 testscip-shell system . . test. "x$ac_build_alias" = x &&
2537 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "cannot guess build type; you must specify one" "$LINENO" 5
2538 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2539 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2540
2541 fi
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2543 $as_echo "$ac_cv_build" >&6; }
2544 case $ac_cv_build in
2545 *-*-*) ;;
2546 *) as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "invalid value of canonical build" "$LINENO" 5;;
2547 esac
2548 build=$ac_cv_build
2549 ac_save_IFS=$IFS; IFS='-'
2550 set x $ac_cv_build
2551 shift
2552 build_cpu=$1
2553 build_vendor=$2
2554 shift; shift
2555 # Remember, the first character of IFS is used to create $*,
2556 # except with old shells:
2557 build_os=$*
2558 IFS=$ac_save_IFS
2559 case $build_os in *\ *) build_os=`echoscip-shell system . . echo. "$build_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
2560
2561
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2563 $as_echo_n "checking host system type... " >&6; }
2564 if ${ac_cv_host+:} false; then :
2565 $as_echo_n "(cached) " >&6
2566 else
2567 if testscip-shell system . . test. "x$host_alias" = x; then
2568 ac_cv_host=$ac_cv_build
2569 else
2570 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2571 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2572 fi
2573
2574 fi
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2576 $as_echo "$ac_cv_host" >&6; }
2577 case $ac_cv_host in
2578 *-*-*) ;;
2579 *) as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "invalid value of canonical host" "$LINENO" 5;;
2580 esac
2581 host=$ac_cv_host
2582 ac_save_IFS=$IFS; IFS='-'
2583 set x $ac_cv_host
2584 shift
2585 host_cpu=$1
2586 host_vendor=$2
2587 shift; shift
2588 # Remember, the first character of IFS is used to create $*,
2589 # except with old shells:
2590 host_os=$*
2591 IFS=$ac_save_IFS
2592 case $host_os in *\ *) host_os=`echoscip-shell system . . echo. "$host_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
2593
2594
2595
2596
2597 am__api_version='1.15'
2598
2599 # Find a good install program. We prefer a C program (faster),
2600 # so one script is as good as another. But avoid the broken or
2601 # incompatible versions:
2602 # SysV /etc/install, /usr/sbin/install
2603 # SunOS /usr/etc/install
2604 # IRIX /sbin/install
2605 # AIX /bin/install
2606 # AmigaOS /C/install, which installs bootblocks on floppy discs
2607 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2608 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2609 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2610 # OS/2's system install, which has a completely different semantic
2611 # ./install, which can be erroneously created by make from ./install.sh.
2612 # Reject install programs that cannot install multiple files.
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2614 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2615 if testscip-shell system . . test. -z "$INSTALL"; then
2616 if ${ac_cv_path_install+:} false; then :
2617 $as_echo_n "(cached) " >&6
2618 else
2619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2620 for as_dir in $PATH
2621 do
2622 IFS=$as_save_IFS
2623 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2624 # Account for people who put trailing slashes in PATH elements.
2625 case $as_dir/ in #((
2626 ./ | .// | /[cC]/* | \
2627 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2628 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2629 /usr/ucb/* ) ;;
2630 *)
2631 # OSF1 and SCO ODT 3.0 have their own names for install.
2632 # Don't use installbsd from OSF since it installs stuff as root
2633 # by default.
2634 for ac_prog in ginstall scoinst install; do
2635 for ac_exec_ext in '' $ac_executable_extensions; do
2636 if as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_prog$ac_exec_ext"; then
2637 if testscip-shell system . . test. $ac_prog = install &&
2638 grepscip-shell system . . grep. dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
2639 # AIX install. It has an incompatible calling convention.
2640 :
2641 elif testscip-shell system . . test. $ac_prog = install &&
2642 grepscip-shell system . . grep. pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
2643 # program-specific install script used by HP pwplus--don't use.
2644 :
2645 else
2646 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
2647 echoscip-shell system . . echo. one > conftest.one
2648 echoscip-shell system . . echo. two > conftest.two
2649 mkdirscip-shell system . . mkdir. conftest.dir
2650 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwdscip-shell system . . pwd.`/conftest.dir" &&
2651 testscip-shell system . . test. -s conftest.one && testscip-shell system . . test. -s conftest.two &&
2652 testscip-shell system . . test. -s conftest.dir/conftest.one &&
2653 testscip-shell system . . test. -s conftest.dir/conftest.two
2654 then
2655 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2656 break 3
2657 fi
2658 fi
2659 fi
2660 done
2661 done
2662 ;;
2663 esac
2664
2665 done
2666 IFS=$as_save_IFS
2667
2668 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
2669
2670 fi
2671 if testscip-shell system . . test. "${ac_cv_path_install+set}" = set; then
2672 INSTALL=$ac_cv_path_install
2673 else
2674 # As a last resort, use the slow shell script. Don't cache a
2675 # value for INSTALL within a source directory, because that will
2676 # break other packages using the cache if that directory is
2677 # removed, or if the value is a relative name.
2678 INSTALL=$ac_install_sh
2679 fi
2680 fi
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2682 $as_echo "$INSTALL" >&6; }
2683
2684 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2685 # It thinks the first close brace ends the variable substitution.
2686 testscip-shell system . . test. -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2687
2688 testscip-shell system . . test. -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2689
2690 testscip-shell system . . test. -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2691
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2693 $as_echo_n "checking whether build environment is sane... " >&6; }
2694 # Reject unsafe characters in $srcdir or the absolute working directory
2695 # name. Accept space and tab only in the latter.
2696 am_lf='
2697 '
2698 case `pwdscip-shell system . . pwd.` in
2699 *[\\\"\#\$\&\'\`$am_lf]*)
2700 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "unsafe absolute working directory name" "$LINENO" 5;;
2701 esac
2702 case $srcdir in
2703 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2704 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2705 esac
2706
2707 # Do 'set' in a subshell so we don't clobber the current shell's
2708 # arguments. Must try -L first in case configure is actually a
2709 # symlink; some systems play weird games with the mod time of symlinks
2710 # (eg FreeBSD returns the mod time of the symlink's containing
2711 # directory).
2712 if (
2713 am_has_slept=no
2714 for am_try in 1 2; do
2715 echoscip-shell system . . echo. "timestamp, slept: $am_has_slept" > conftest.file
2716 set X `lsscip-shell system . . ls. -Lt "$srcdir/configure" conftest.file 2> /dev/nullscip-shell filesystem . . `/dev/null`.`
2717 if testscip-shell system . . test. "$*" = "X"; then
2718 # -L didn't work.
2719 set X `lsscip-shell system . . ls. -t "$srcdir/configure" conftest.file`
2720 fi
2721 if testscip-shell system . . test. "$*" != "X $srcdir/configure conftest.file" \
2722 && testscip-shell system . . test. "$*" != "X conftest.file $srcdir/configure"; then
2723
2724 # If neither matched, then we have a broken ls. This can happen
2725 # if, for instance, CONFIG_SHELL is bash and it inherits a
2726 # broken ls alias from the environment. This has actually
2727 # happened. Such a system could not be considered "sane".
2728 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "ls -t appears to fail. Make sure there is not a broken
2729 alias in your environment" "$LINENO" 5
2730 fi
2731 if testscip-shell system . . test. "$2" = conftest.file || testscip-shell system . . test. $am_try -eq 2; then
2732 break
2733 fi
2734 # Just in case.
2735 sleepscip-shell system . . sleep. 1
2736 am_has_slept=yes
2737 done
2738 testscip-shell system . . test. "$2" = conftest.file
2739 )
2740 then
2741 # Ok.
2742 :
2743 else
2744 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "newly created file is older than distributed files!
2745 Check your system clock" "$LINENO" 5
2746 fi
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2748 $as_echo "yes" >&6; }
2749 # If we didn't sleep, we still need to ensure time stamps of config.status and
2750 # generated files are strictly newer.
2751 am_sleep_pid=
2752 if grepscip-shell system . . grep. 'slept: no' conftest.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
2753 ( sleepscip-shell system . . sleep. 1 ) &
2754 am_sleep_pid=$!
2755 fi
2756
2757 rmscip-shell system . . rm. -f conftest.file
2758
2759 testscip-shell system . . test. "$program_prefix" != NONE &&
2760 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2761 # Use a double $ so make ignores it.
2762 testscip-shell system . . test. "$program_suffix" != NONE &&
2763 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2764 # Double any \ or $.
2765 # By default was `s,x,x', remove it if useless.
2766 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2767 program_transform_name=`$as_echo "$program_transform_name" | sedscip-shell system . . sed. "$ac_script"`
2768
2769 # Expand $ac_aux_dir to an absolute path.
2770 am_aux_dir=`cd "$ac_aux_dir" && pwdscip-shell system . . pwd.`
2771
2772 if testscip-shell system . . test. x"${MISSING+set}" != xset; then
2773 case $am_aux_dir in
2774 *\ * | *\ *)
2775 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2776 *)
2777 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2778 esac
2779 fi
2780 # Use eval to expand $SHELL
2781 if eval "$MISSING --is-lightweight"; then
2782 am_missing_run="$MISSING "
2783 else
2784 am_missing_run=
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2786 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2787 fi
2788
2789 if testscip-shell system . . test. x"${install_sh+set}" != xset; then
2790 case $am_aux_dir in
2791 *\ * | *\ *)
2792 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2793 *)
2794 install_sh="\${SHELL} $am_aux_dir/install-sh"
2795 esac
2796 fi
2797
2798 # Installed binaries are usually stripped using 'strip' when the user
2799 # run "make install-strip". However 'strip' might not be the right
2800 # tool to use in cross-compilation environments, therefore Automake
2801 # will honor the 'STRIP' environment variable to overrule this program.
2802 if testscip-shell system . . test. "$cross_compiling" != no; then
2803 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
2804 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2805 set dummy ${ac_tool_prefix}strip; ac_word=$2
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2807 $as_echo_n "checking for $ac_word... " >&6; }
2808 if ${ac_cv_prog_STRIP+:} false; then :
2809 $as_echo_n "(cached) " >&6
2810 else
2811 if testscip-shell system . . test. -n "$STRIP"; then
2812 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2813 else
2814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2815 for as_dir in $PATH
2816 do
2817 IFS=$as_save_IFS
2818 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2819 for ac_exec_ext in '' $ac_executable_extensions; do
2820 if as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
2821 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2823 break 2
2824 fi
2825 done
2826 done
2827 IFS=$as_save_IFS
2828
2829 fi
2830 fi
2831 STRIP=$ac_cv_prog_STRIP
2832 if testscip-shell system . . test. -n "$STRIP"; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2834 $as_echo "$STRIP" >&6; }
2835 else
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2837 $as_echo "no" >&6; }
2838 fi
2839
2840
2841 fi
2842 if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then
2843 ac_ct_STRIP=$STRIP
2844 # Extract the first word of "strip", so it can be a program name with args.
2845 set dummy strip; ac_word=$2
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2847 $as_echo_n "checking for $ac_word... " >&6; }
2848 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2849 $as_echo_n "(cached) " >&6
2850 else
2851 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
2852 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2853 else
2854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2855 for as_dir in $PATH
2856 do
2857 IFS=$as_save_IFS
2858 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2859 for ac_exec_ext in '' $ac_executable_extensions; do
2860 if as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
2861 ac_cv_prog_ac_ct_STRIP="strip"
2862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 break 2
2864 fi
2865 done
2866 done
2867 IFS=$as_save_IFS
2868
2869 fi
2870 fi
2871 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2872 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2874 $as_echo "$ac_ct_STRIP" >&6; }
2875 else
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2877 $as_echo "no" >&6; }
2878 fi
2879
2880 if testscip-shell system . . test. "x$ac_ct_STRIP" = x; then
2881 STRIP=":"
2882 else
2883 case $cross_compiling:$ac_tool_warned in
2884 yes:)
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2887 ac_tool_warned=yes ;;
2888 esac
2889 STRIP=$ac_ct_STRIP
2890 fi
2891 else
2892 STRIP="$ac_cv_prog_STRIP"
2893 fi
2894
2895 fi
2896 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2897
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2899 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2900 if testscip-shell system . . test. -z "$MKDIR_P"; then
2901 if ${ac_cv_path_mkdir+:} false; then :
2902 $as_echo_n "(cached) " >&6
2903 else
2904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2905 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2906 do
2907 IFS=$as_save_IFS
2908 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2909 for ac_prog in mkdir gmkdir; do
2910 for ac_exec_ext in '' $ac_executable_extensions; do
2911 as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_prog$ac_exec_ext" || continue
2912 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2913 'mkdir (GNU coreutils) '* | \
2914 'mkdir (coreutils) '* | \
2915 'mkdir (fileutils) '4.1*)
2916 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2917 break 3;;
2918 esac
2919 done
2920 done
2921 done
2922 IFS=$as_save_IFS
2923
2924 fi
2925
2926 testscip-shell system . . test. -d ./--version && rmdirscip-shell system . . rmdir. ./--version
2927 if testscip-shell system . . test. "${ac_cv_path_mkdir+set}" = set; then
2928 MKDIR_P="$ac_cv_path_mkdir -p"
2929 else
2930 # As a last resort, use the slow shell script. Don't cache a
2931 # value for MKDIR_P within a source directory, because that will
2932 # break other packages using the cache if that directory is
2933 # removed, or if the value is a relative name.
2934 MKDIR_P="$ac_install_sh -d"
2935 fi
2936 fi
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2938 $as_echo "$MKDIR_P" >&6; }
2939
2940 for ac_prog in gawk mawk nawk awk
2941 do
2942 # Extract the first word of "$ac_prog", so it can be a program name with args.
2943 set dummy $ac_prog; ac_word=$2
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2945 $as_echo_n "checking for $ac_word... " >&6; }
2946 if ${ac_cv_prog_AWK+:} false; then :
2947 $as_echo_n "(cached) " >&6
2948 else
2949 if testscip-shell system . . test. -n "$AWK"; then
2950 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2951 else
2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953 for as_dir in $PATH
2954 do
2955 IFS=$as_save_IFS
2956 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2957 for ac_exec_ext in '' $ac_executable_extensions; do
2958 if as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
2959 ac_cv_prog_AWK="$ac_prog"
2960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2961 break 2
2962 fi
2963 done
2964 done
2965 IFS=$as_save_IFS
2966
2967 fi
2968 fi
2969 AWK=$ac_cv_prog_AWK
2970 if testscip-shell system . . test. -n "$AWK"; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2972 $as_echo "$AWK" >&6; }
2973 else
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2976 fi
2977
2978
2979 testscip-shell system . . test. -n "$AWK" && break
2980 done
2981
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2983 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2984 set x ${MAKE-make}
2985 ac_make=`$as_echo "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2986 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2987 $as_echo_n "(cached) " >&6
2988 else
2989 catscip-shell system . . cat. >conftest.make <<\_ACEOF
2990 SHELL = /bin/sh
2991 all:
2992 @echo '@@@%%%=$(MAKE)=@@@%%%'
2993 _ACEOF
2994 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2995 case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
2996 *@@@%%%=?*=@@@%%%*)
2997 eval ac_cv_prog_make_${ac_make}_set=yes;;
2998 *)
2999 eval ac_cv_prog_make_${ac_make}_set=no;;
3000 esac
3001 rmscip-shell system . . rm. -f conftest.make
3002 fi
3003 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3005 $as_echo "yes" >&6; }
3006 SET_MAKE=
3007 else
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3009 $as_echo "no" >&6; }
3010 SET_MAKE="MAKE=${MAKE-make}"
3011 fi
3012
3013 rmscip-shell system . . rm. -rf .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
3014 mkdirscip-shell system . . mkdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
3015 if testscip-shell system . . test. -d .tst; then
3016 am__leading_dot=.
3017 else
3018 am__leading_dot=_
3019 fi
3020 rmdirscip-shell system . . rmdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
3021
3022 # Check whether --enable-silent-rules was given.
3023 if testscip-shell system . . test. "${enable_silent_rules+set}" = set; then :
3024 enableval=$enable_silent_rules;
3025 fi
3026
3027 case $enable_silent_rules in # (((
3028 yes) AM_DEFAULT_VERBOSITY=0;;
3029 no) AM_DEFAULT_VERBOSITY=1;;
3030 *) AM_DEFAULT_VERBOSITY=1;;
3031 esac
3032 am_make=${MAKE-make}
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3034 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3035 if ${am_cv_make_support_nested_variables+:} false; then :
3036 $as_echo_n "(cached) " >&6
3037 else
3038 if $as_echo 'TRUE=$(BAR$(V))
3039 BAR0=false
3040 BAR1=true
3041 V=1
3042 am__doit:
3043 @$(TRUE)
3044 .PHONY: am__doit' | $am_make -f - >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
3045 am_cv_make_support_nested_variables=yes
3046 else
3047 am_cv_make_support_nested_variables=no
3048 fi
3049 fi
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3051 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3052 if testscip-shell system . . test. $am_cv_make_support_nested_variables = yes; then
3053 AM_V='$(V)'
3054 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3055 else
3056 AM_V=$AM_DEFAULT_VERBOSITY
3057 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3058 fi
3059 AM_BACKSLASH='\'
3060
3061 if testscip-shell system . . test. "`cd $srcdir && pwdscip-shell system . . pwd.`" != "`pwdscip-shell system . . pwd.`"; then
3062 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3063 # is not polluted with repeated "-I."
3064 am__isrc=' -I$(srcdir)'
3065 # test to see if srcdir already configured
3066 if testscip-shell system . . test. -f $srcdir/config.status; then
3067 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3068 fi
3069 fi
3070
3071 # test whether we have cygpath
3072 if testscip-shell system . . test. -z "$CYGPATH_W"; then
3073 if (cygpath --version) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
3074 CYGPATH_W='cygpath -w'
3075 else
3076 CYGPATH_W=echo
3077 fi
3078 fi
3079
3080
3081 # Define the identity of the package.
3082 PACKAGE='dosbox'
3083 VERSION='0.74-3'
3084
3085
3086 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
3087 #define PACKAGE "$PACKAGE"
3088 _ACEOF
3089
3090
3091 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
3092 #define VERSION "$VERSION"
3093 _ACEOF
3094
3095 # Some tools Automake needs.
3096
3097 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3098
3099
3100 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3101
3102
3103 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3104
3105
3106 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3107
3108
3109 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3110
3111 # For better backward compatibility. To be removed once Automake 1.9.x
3112 # dies out for good. For more background, see:
3113 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3114 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3115 mkdir_p='$(MKDIR_P)'
3116
3117 # We need awk for the "check" target (and possibly the TAP driver). The
3118 # system "awk" is bad on some platforms.
3119 # Always define AMTAR for backward compatibility. Yes, it's still used
3120 # in the wild :-( We should find a proper way to deprecate it ...
3121 AMTAR='$${TAR-tar}'
3122
3123
3124 # We'll loop over all known methods to create a tar archive until one works.
3125 _am_tools='gnutar pax cpio none'
3126
3127 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3128
3129
3130
3131
3132
3133
3134 # POSIX will say in a future version that running "rm -f" with no argument
3135 # is OK; and we want to be able to make that assumption in our Makefile
3136 # recipes. So use an aggressive probe to check that the usage we want is
3137 # actually supported "in the wild" to an acceptable degree.
3138 # See automake bug#10828.
3139 # To make any issue more visible, cause the running configure to be aborted
3140 # by default if the 'rm' program in use doesn't match our expectations; the
3141 # user can still override this though.
3142 if rmscip-shell system . . rm. -f && rmscip-shell system . . rm. -fr && rmscip-shell system . . rm. -rf; then : OK; else
3143 catscip-shell system . . cat. >&2 <<'END'
3144 Oops!
3145
3146 Your 'rm' program seems unable to run without file operands specified
3147 on the command line, even when the '-f' option is present. This is contrary
3148 to the behaviour of most rm programs out there, and not conforming with
3149 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3150
3151 Please tell [email protected] about your system, including the value
3152 of your $PATH and any error possibly output before this message. This
3153 can help us improve future automake versions.
3154
3155 END
3156 if testscip-shell system . . test. x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3157 echoscip-shell system . . echo. 'Configuration will proceed anyway, since you have set the' >&2
3158 echoscip-shell system . . echo. 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3159 echoscip-shell system . . echo. >&2
3160 else
3161 catscip-shell system . . cat. >&2 <<'END'
3162 Aborting the configuration process, to ensure you take notice of the issue.
3163
3164 You can download and install GNU coreutils to get an 'rm' implementation
3165 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3166
3167 If you want to complete the configuration process using your problematic
3168 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3169 to "yes", and re-run configure.
3170
3171 END
3172 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3173 fi
3174 fi
3175
3176 ac_config_headers="$ac_config_headers config.h"
3177
3178
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3180 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3181 set x ${MAKE-make}
3182 ac_make=`$as_echo "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3183 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3184 $as_echo_n "(cached) " >&6
3185 else
3186 catscip-shell system . . cat. >conftest.make <<\_ACEOF
3187 SHELL = /bin/sh
3188 all:
3189 @echo '@@@%%%=$(MAKE)=@@@%%%'
3190 _ACEOF
3191 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3192 case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
3193 *@@@%%%=?*=@@@%%%*)
3194 eval ac_cv_prog_make_${ac_make}_set=yes;;
3195 *)
3196 eval ac_cv_prog_make_${ac_make}_set=no;;
3197 esac
3198 rmscip-shell system . . rm. -f conftest.make
3199 fi
3200 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3202 $as_echo "yes" >&6; }
3203 SET_MAKE=
3204 else
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3207 SET_MAKE="MAKE=${MAKE-make}"
3208 fi
3209
3210 ac_ext=c
3211 ac_cpp='$CPP $CPPFLAGS'
3212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3215 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3216 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3217 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if ${ac_cv_prog_CC+:} false; then :
3221 $as_echo_n "(cached) " >&6
3222 else
3223 if testscip-shell system . . test. -n "$CC"; then
3224 ac_cv_prog_CC="$CC" # Let the user override the test.
3225 else
3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 for as_dir in $PATH
3228 do
3229 IFS=$as_save_IFS
3230 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3231 for ac_exec_ext in '' $ac_executable_extensions; do
3232 if as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
3233 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3235 break 2
3236 fi
3237 done
3238 done
3239 IFS=$as_save_IFS
3240
3241 fi
3242 fi
3243 CC=$ac_cv_prog_CC
3244 if testscip-shell system . . test. -n "$CC"; then
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3246 $as_echo "$CC" >&6; }
3247 else
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3250 fi
3251
3252
3253 fi
3254 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
3255 ac_ct_CC=$CC
3256 # Extract the first word of "gcc", so it can be a program name with args.
3257 set dummy gcc; ac_word=$2
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259 $as_echo_n "checking for $ac_word... " >&6; }
3260 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3261 $as_echo_n "(cached) " >&6
3262 else
3263 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3264 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3265 else
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267 for as_dir in $PATH
3268 do
3269 IFS=$as_save_IFS
3270 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3271 for ac_exec_ext in '' $ac_executable_extensions; do
3272 if as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
3273 ac_cv_prog_ac_ct_CC="gcc"
3274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 break 2
3276 fi
3277 done
3278 done
3279 IFS=$as_save_IFS
3280
3281 fi
3282 fi
3283 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3284 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3286 $as_echo "$ac_ct_CC" >&6; }
3287 else
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289 $as_echo "no" >&6; }
3290 fi
3291
3292 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3293 CC=""
3294 else
3295 case $cross_compiling:$ac_tool_warned in
3296 yes:)
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3299 ac_tool_warned=yes ;;
3300 esac
3301 CC=$ac_ct_CC
3302 fi
3303 else
3304 CC="$ac_cv_prog_CC"
3305 fi
3306
3307 if testscip-shell system . . test. -z "$CC"; then
3308 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3309 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3310 set dummy ${ac_tool_prefix}cc; ac_word=$2
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3312 $as_echo_n "checking for $ac_word... " >&6; }
3313 if ${ac_cv_prog_CC+:} false; then :
3314 $as_echo_n "(cached) " >&6
3315 else
3316 if testscip-shell system . . test. -n "$CC"; then
3317 ac_cv_prog_CC="$CC" # Let the user override the test.
3318 else
3319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3320 for as_dir in $PATH
3321 do
3322 IFS=$as_save_IFS
3323 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3324 for ac_exec_ext in '' $ac_executable_extensions; do
3325 if as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
3326 ac_cv_prog_CC="${ac_tool_prefix}cc"
3327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3328 break 2
3329 fi
3330 done
3331 done
3332 IFS=$as_save_IFS
3333
3334 fi
3335 fi
3336 CC=$ac_cv_prog_CC
3337 if testscip-shell system . . test. -n "$CC"; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3339 $as_echo "$CC" >&6; }
3340 else
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342 $as_echo "no" >&6; }
3343 fi
3344
3345
3346 fi
3347 fi
3348 if testscip-shell system . . test. -z "$CC"; then
3349 # Extract the first word of "cc", so it can be a program name with args.
3350 set dummy cc; ac_word=$2
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3352 $as_echo_n "checking for $ac_word... " >&6; }
3353 if ${ac_cv_prog_CC+:} false; then :
3354 $as_echo_n "(cached) " >&6
3355 else
3356 if testscip-shell system . . test. -n "$CC"; then
3357 ac_cv_prog_CC="$CC" # Let the user override the test.
3358 else
3359 ac_prog_rejected=no
3360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3361 for as_dir in $PATH
3362 do
3363 IFS=$as_save_IFS
3364 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3365 for ac_exec_ext in '' $ac_executable_extensions; do
3366 if as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
3367 if testscip-shell system . . test. "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then
3368 ac_prog_rejected=yes
3369 continue
3370 fi
3371 ac_cv_prog_CC="cc"
3372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3373 break 2
3374 fi
3375 done
3376 done
3377 IFS=$as_save_IFS
3378
3379 if testscip-shell system . . test. $ac_prog_rejected = yes; then
3380 # We found a bogon in the path, so make sure we never use it.
3381 set dummy $ac_cv_prog_CC
3382 shift
3383 if testscip-shell system . . test. $# != 0; then
3384 # We chose a different compiler from the bogus one.
3385 # However, it has the same basename, so the bogon will be chosen
3386 # first if we set CC to just the basename; use the full file name.
3387 shift
3388 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3389 fi
3390 fi
3391 fi
3392 fi
3393 CC=$ac_cv_prog_CC
3394 if testscip-shell system . . test. -n "$CC"; then
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3396 $as_echo "$CC" >&6; }
3397 else
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3399 $as_echo "no" >&6; }
3400 fi
3401
3402
3403 fi
3404 if testscip-shell system . . test. -z "$CC"; then
3405 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3406 for ac_prog in cl.exe
3407 do
3408 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3409 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3411 $as_echo_n "checking for $ac_word... " >&6; }
3412 if ${ac_cv_prog_CC+:} false; then :
3413 $as_echo_n "(cached) " >&6
3414 else
3415 if testscip-shell system . . test. -n "$CC"; then
3416 ac_cv_prog_CC="$CC" # Let the user override the test.
3417 else
3418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3419 for as_dir in $PATH
3420 do
3421 IFS=$as_save_IFS
3422 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3423 for ac_exec_ext in '' $ac_executable_extensions; do
3424 if as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
3425 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3427 break 2
3428 fi
3429 done
3430 done
3431 IFS=$as_save_IFS
3432
3433 fi
3434 fi
3435 CC=$ac_cv_prog_CC
3436 if testscip-shell system . . test. -n "$CC"; then
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3438 $as_echo "$CC" >&6; }
3439 else
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3441 $as_echo "no" >&6; }
3442 fi
3443
3444
3445 testscip-shell system . . test. -n "$CC" && break
3446 done
3447 fi
3448 if testscip-shell system . . test. -z "$CC"; then
3449 ac_ct_CC=$CC
3450 for ac_prog in cl.exe
3451 do
3452 # Extract the first word of "$ac_prog", so it can be a program name with args.
3453 set dummy $ac_prog; ac_word=$2
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3455 $as_echo_n "checking for $ac_word... " >&6; }
3456 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3457 $as_echo_n "(cached) " >&6
3458 else
3459 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3460 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3461 else
3462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3463 for as_dir in $PATH
3464 do
3465 IFS=$as_save_IFS
3466 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3467 for ac_exec_ext in '' $ac_executable_extensions; do
3468 if as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
3469 ac_cv_prog_ac_ct_CC="$ac_prog"
3470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3471 break 2
3472 fi
3473 done
3474 done
3475 IFS=$as_save_IFS
3476
3477 fi
3478 fi
3479 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3480 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3482 $as_echo "$ac_ct_CC" >&6; }
3483 else
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3485 $as_echo "no" >&6; }
3486 fi
3487
3488
3489 testscip-shell system . . test. -n "$ac_ct_CC" && break
3490 done
3491
3492 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3493 CC=""
3494 else
3495 case $cross_compiling:$ac_tool_warned in
3496 yes:)
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3499 ac_tool_warned=yes ;;
3500 esac
3501 CC=$ac_ct_CC
3502 fi
3503 fi
3504
3505 fi
3506
3507
3508 testscip-shell system . . test. -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3510 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "no acceptable C compiler found in \$PATH
3511 See \`config.log' for more details" "$LINENO" 5; }
3512
3513 # Provide some information about the compiler.
3514 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3515 set X $ac_compile
3516 ac_compiler=$2
3517 for ac_option in --version -v -V -qversion; do
3518 { { ac_try="$ac_compiler $ac_option >&5"
3519 case "(($ac_try" in
3520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3521 *) ac_try_echo=$ac_try;;
3522 esac
3523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3524 $as_echo "$ac_try_echo"; } >&5
3525 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3526 ac_status=$?
3527 if testscip-shell system . . test. -s conftest.err; then
3528 sedscip-shell system . . sed. '10a\
3529 ... rest of stderr output deleted ...
3530 10q' conftest.err >conftest.er1
3531 catscip-shell system . . cat. conftest.er1 >&5
3532 fi
3533 rmscip-shell system . . rm. -f conftest.er1 conftest.err
3534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3535 testscip-shell system . . test. $ac_status = 0; }
3536 done
3537
3538 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3539 /* end confdefs.h. */
3540
3541 int
3542 main ()
3543 {
3544
3545 ;
3546 return 0;
3547 }
3548 _ACEOF
3549 ac_clean_files_save=$ac_clean_files
3550 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3551 # Try to create an executable without -o first, disregard a.out.
3552 # It will help us diagnose broken compilers, and finding out an intuition
3553 # of exeext.
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3555 $as_echo_n "checking whether the C compiler works... " >&6; }
3556 ac_link_default=`$as_echo "$ac_link" | sedscip-shell system . . sed. 's/ -o *conftest[^ ]*//'`
3557
3558 # The possible output files:
3559 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3560
3561 ac_rmfiles=
3562 for ac_file in $ac_files
3563 do
3564 case $ac_file in
3565 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3566 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3567 esac
3568 done
3569 rmscip-shell system . . rm. -f $ac_rmfiles
3570
3571 if { { ac_try="$ac_link_default"
3572 case "(($ac_try" in
3573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3574 *) ac_try_echo=$ac_try;;
3575 esac
3576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3577 $as_echo "$ac_try_echo"; } >&5
3578 (eval "$ac_link_default") 2>&5
3579 ac_status=$?
3580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3581 testscip-shell system . . test. $ac_status = 0; }; then :
3582 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3583 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3584 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3585 # so that the user can short-circuit this test for compilers unknown to
3586 # Autoconf.
3587 for ac_file in $ac_files ''
3588 do
3589 testscip-shell system . . test. -f "$ac_file" || continue
3590 case $ac_file in
3591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3592 ;;
3593 [ab].out )
3594 # We found the default executable, but exeext='' is most
3595 # certainly right.
3596 break;;
3597 *.* )
3598 if testscip-shell system . . test. "${ac_cv_exeext+set}" = set && testscip-shell system . . test. "$ac_cv_exeext" != no;
3599 then :; else
3600 ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
3601 fi
3602 # We set ac_cv_exeext here because the later test for it is not
3603 # safe: cross compilers may not add the suffix if given an `-o'
3604 # argument, so we may need to know it at that point already.
3605 # Even if this section looks crufty: it has the advantage of
3606 # actually working.
3607 break;;
3608 * )
3609 break;;
3610 esac
3611 done
3612 testscip-shell system . . test. "$ac_cv_exeext" = no && ac_cv_exeext=
3613
3614 else
3615 ac_file=''
3616 fi
3617 if testscip-shell system . . test. -z "$ac_file"; then :
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619 $as_echo "no" >&6; }
3620 $as_echo "$as_me: failed program was:" >&5
3621 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3622
3623 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3625 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). 77 "C compiler cannot create executables
3626 See \`config.log' for more details" "$LINENO" 5; }
3627 else
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3629 $as_echo "yes" >&6; }
3630 fi
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3632 $as_echo_n "checking for C compiler default output file name... " >&6; }
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3634 $as_echo "$ac_file" >&6; }
3635 ac_exeext=$ac_cv_exeext
3636
3637 rmscip-shell system . . rm. -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3638 ac_clean_files=$ac_clean_files_save
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3640 $as_echo_n "checking for suffix of executables... " >&6; }
3641 if { { ac_try="$ac_link"
3642 case "(($ac_try" in
3643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3644 *) ac_try_echo=$ac_try;;
3645 esac
3646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3647 $as_echo "$ac_try_echo"; } >&5
3648 (eval "$ac_link") 2>&5
3649 ac_status=$?
3650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3651 testscip-shell system . . test. $ac_status = 0; }; then :
3652 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3653 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3654 # work properly (i.e., refer to `conftest.exe'), while it won't with
3655 # `rm'.
3656 for ac_file in conftest.exe conftest conftest.*; do
3657 testscip-shell system . . test. -f "$ac_file" || continue
3658 case $ac_file in
3659 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3660 *.* ) ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
3661 break;;
3662 * ) break;;
3663 esac
3664 done
3665 else
3666 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3668 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "cannot compute suffix of executables: cannot compile and link
3669 See \`config.log' for more details" "$LINENO" 5; }
3670 fi
3671 rmscip-shell system . . rm. -f conftest conftest$ac_cv_exeext
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3673 $as_echo "$ac_cv_exeext" >&6; }
3674
3675 rmscip-shell system . . rm. -f conftest.$ac_ext
3676 EXEEXT=$ac_cv_exeext
3677 ac_exeext=$EXEEXT
3678 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3679 /* end confdefs.h. */
3680 #include <stdio.h>
3681 int
3682 main ()
3683 {
3684 FILE *f = fopen ("conftest.out", "w");
3685 return ferror (f) || fclose (f) != 0;
3686
3687 ;
3688 return 0;
3689 }
3690 _ACEOF
3691 ac_clean_files="$ac_clean_files conftest.out"
3692 # Check that the compiler produces executables we can run. If not, either
3693 # the compiler is broken, or we cross compile.
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3695 $as_echo_n "checking whether we are cross compiling... " >&6; }
3696 if testscip-shell system . . test. "$cross_compiling" != yes; then
3697 { { ac_try="$ac_link"
3698 case "(($ac_try" in
3699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3700 *) ac_try_echo=$ac_try;;
3701 esac
3702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3703 $as_echo "$ac_try_echo"; } >&5
3704 (eval "$ac_link") 2>&5
3705 ac_status=$?
3706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3707 testscip-shell system . . test. $ac_status = 0; }
3708 if { ac_try='./conftest$ac_cv_exeext'
3709 { { case "(($ac_try" in
3710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3711 *) ac_try_echo=$ac_try;;
3712 esac
3713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3714 $as_echo "$ac_try_echo"; } >&5
3715 (eval "$ac_try") 2>&5
3716 ac_status=$?
3717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3718 testscip-shell system . . test. $ac_status = 0; }; }; then
3719 cross_compiling=no
3720 else
3721 if testscip-shell system . . test. "$cross_compiling" = maybe; then
3722 cross_compiling=yes
3723 else
3724 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3726 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "cannot run C compiled programs.
3727 If you meant to cross compile, use \`--host'.
3728 See \`config.log' for more details" "$LINENO" 5; }
3729 fi
3730 fi
3731 fi
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3733 $as_echo "$cross_compiling" >&6; }
3734
3735 rmscip-shell system . . rm. -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3736 ac_clean_files=$ac_clean_files_save
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3738 $as_echo_n "checking for suffix of object files... " >&6; }
3739 if ${ac_cv_objext+:} false; then :
3740 $as_echo_n "(cached) " >&6
3741 else
3742 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3743 /* end confdefs.h. */
3744
3745 int
3746 main ()
3747 {
3748
3749 ;
3750 return 0;
3751 }
3752 _ACEOF
3753 rmscip-shell system . . rm. -f conftest.o conftest.obj
3754 if { { ac_try="$ac_compile"
3755 case "(($ac_try" in
3756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3757 *) ac_try_echo=$ac_try;;
3758 esac
3759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3760 $as_echo "$ac_try_echo"; } >&5
3761 (eval "$ac_compile") 2>&5
3762 ac_status=$?
3763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3764 testscip-shell system . . test. $ac_status = 0; }; then :
3765 for ac_file in conftest.o conftest.obj conftest.*; do
3766 testscip-shell system . . test. -f "$ac_file" || continue;
3767 case $ac_file in
3768 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3769 *) ac_cv_objext=`exprscip-shell system . . expr. "$ac_file" : '.*\.\(.*\)'`
3770 break;;
3771 esac
3772 done
3773 else
3774 $as_echo "$as_me: failed program was:" >&5
3775 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3776
3777 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3779 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "cannot compute suffix of object files: cannot compile
3780 See \`config.log' for more details" "$LINENO" 5; }
3781 fi
3782 rmscip-shell system . . rm. -f conftest.$ac_cv_objext conftest.$ac_ext
3783 fi
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3785 $as_echo "$ac_cv_objext" >&6; }
3786 OBJEXT=$ac_cv_objext
3787 ac_objext=$OBJEXT
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3789 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3790 if ${ac_cv_c_compiler_gnu+:} false; then :
3791 $as_echo_n "(cached) " >&6
3792 else
3793 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3795
3796 int
3797 main ()
3798 {
3799 #ifndef __GNUC__
3800 choke me
3801 #endif
3802
3803 ;
3804 return 0;
3805 }
3806 _ACEOF
3807 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
3808 ac_compiler_gnu=yes
3809 else
3810 ac_compiler_gnu=no
3811 fi
3812 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3813 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3814
3815 fi
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3817 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3818 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
3819 GCC=yes
3820 else
3821 GCC=
3822 fi
3823 ac_test_CFLAGS=${CFLAGS+set}
3824 ac_save_CFLAGS=$CFLAGS
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3826 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3827 if ${ac_cv_prog_cc_g+:} false; then :
3828 $as_echo_n "(cached) " >&6
3829 else
3830 ac_save_c_werror_flag=$ac_c_werror_flag
3831 ac_c_werror_flag=yes
3832 ac_cv_prog_cc_g=no
3833 CFLAGS="-g"
3834 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3835 /* end confdefs.h. */
3836
3837 int
3838 main ()
3839 {
3840
3841 ;
3842 return 0;
3843 }
3844 _ACEOF
3845 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
3846 ac_cv_prog_cc_g=yes
3847 else
3848 CFLAGS=""
3849 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3850 /* end confdefs.h. */
3851
3852 int
3853 main ()
3854 {
3855
3856 ;
3857 return 0;
3858 }
3859 _ACEOF
3860 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
3861
3862 else
3863 ac_c_werror_flag=$ac_save_c_werror_flag
3864 CFLAGS="-g"
3865 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h. */
3867
3868 int
3869 main ()
3870 {
3871
3872 ;
3873 return 0;
3874 }
3875 _ACEOF
3876 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
3877 ac_cv_prog_cc_g=yes
3878 fi
3879 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3880 fi
3881 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3882 fi
3883 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3884 ac_c_werror_flag=$ac_save_c_werror_flag
3885 fi
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3887 $as_echo "$ac_cv_prog_cc_g" >&6; }
3888 if testscip-shell system . . test. "$ac_test_CFLAGS" = set; then
3889 CFLAGS=$ac_save_CFLAGS
3890 elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then
3891 if testscip-shell system . . test. "$GCC" = yes; then
3892 CFLAGS="-g -O2"
3893 else
3894 CFLAGS="-g"
3895 fi
3896 else
3897 if testscip-shell system . . test. "$GCC" = yes; then
3898 CFLAGS="-O2"
3899 else
3900 CFLAGS=
3901 fi
3902 fi
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3904 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3905 if ${ac_cv_prog_cc_c89+:} false; then :
3906 $as_echo_n "(cached) " >&6
3907 else
3908 ac_cv_prog_cc_c89=no
3909 ac_save_CC=$CC
3910 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3912 #include <stdarg.h>
3913 #include <stdio.h>
3914 struct stat;
3915 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3916 struct buf { int x; };
3917 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3918 static char *e (p, i)
3919 char **p;
3920 int i;
3921 {
3922 return p[i];
3923 }
3924 static char *f (char * (*g) (char **, int), char **p, ...)
3925 {
3926 char *s;
3927 va_list v;
3928 va_start (v,p);
3929 s = g (p, va_arg (v,int));
3930 va_end (v);
3931 return s;
3932 }
3933
3934 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3935 function prototypes and stuff, but not '\xHH' hex character constants.
3936 These don't provoke an error unfortunately, instead are silently treated
3937 as 'x'. The following induces an error, until -std is added to get
3938 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3939 array size at least. It's necessary to write '\x00'==0 to get something
3940 that's true only with -std. */
3941 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3942
3943 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3944 inside strings and character constants. */
3945 #define FOO(x) 'x'
3946 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3947
3948 int test (int i, double x);
3949 struct s1 {int (*f) (int a);};
3950 struct s2 {int (*f) (double a);};
3951 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3952 int argc;
3953 char **argv;
3954 int
3955 main ()
3956 {
3957 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3958 ;
3959 return 0;
3960 }
3961 _ACEOF
3962 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3963 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3964 do
3965 CC="$ac_save_CC $ac_arg"
3966 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
3967 ac_cv_prog_cc_c89=$ac_arg
3968 fi
3969 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext
3970 testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break
3971 done
3972 rmscip-shell system . . rm. -f conftest.$ac_ext
3973 CC=$ac_save_CC
3974
3975 fi
3976 # AC_CACHE_VAL
3977 case "x$ac_cv_prog_cc_c89" in
3978 x)
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3980 $as_echo "none needed" >&6; } ;;
3981 xno)
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3983 $as_echo "unsupported" >&6; } ;;
3984 *)
3985 CC="$CC $ac_cv_prog_cc_c89"
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3987 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3988 esac
3989 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != xno; then :
3990
3991 fi
3992
3993 ac_ext=c
3994 ac_cpp='$CPP $CPPFLAGS'
3995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3998
3999 ac_ext=c
4000 ac_cpp='$CPP $CPPFLAGS'
4001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4005 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4006 if ${am_cv_prog_cc_c_o+:} false; then :
4007 $as_echo_n "(cached) " >&6
4008 else
4009 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h. */
4011
4012 int
4013 main ()
4014 {
4015
4016 ;
4017 return 0;
4018 }
4019 _ACEOF
4020 # Make sure it works both with $CC and with simple cc.
4021 # Following AC_PROG_CC_C_O, we do the test twice because some
4022 # compilers refuse to overwrite an existing .o file with -o,
4023 # though they will create one.
4024 am_cv_prog_cc_c_o=yes
4025 for am_i in 1 2; do
4026 if { echoscip-shell system . . echo. "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4027 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4028 ac_status=$?
4029 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); } \
4031 && testscip-shell system . . test. -f conftest2.$ac_objext; then
4032 : OK
4033 else
4034 am_cv_prog_cc_c_o=no
4035 break
4036 fi
4037 done
4038 rmscip-shell system . . rm. -f core conftest*
4039 unset am_i
4040 fi
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4042 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4043 if testscip-shell system . . test. "$am_cv_prog_cc_c_o" != yes; then
4044 # Losing compiler, so override with the script.
4045 # FIXME: It is wrong to rewrite CC.
4046 # But if we don't then we get into trouble of one sort or another.
4047 # A longer-term fix would be to have automake use am__CC in this case,
4048 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4049 CC="$am_aux_dir/compile $CC"
4050 fi
4051 ac_ext=c
4052 ac_cpp='$CPP $CPPFLAGS'
4053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4056
4057 DEPDIR="${am__leading_dot}deps"
4058
4059 ac_config_commands="$ac_config_commands depfiles"
4060
4061
4062 am_make=${MAKE-make}
4063 catscip-shell system . . cat. > confinc << 'END'
4064 am__doit:
4065 @echo this is the am__doit target
4066 .PHONY: am__doit
4067 END
4068 # If we don't find an include directive, just comment out the code.
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4070 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4071 am__include="#"
4072 am__quote=
4073 _am_result=none
4074 # First try GNU make style include.
4075 echoscip-shell system . . echo. "include confinc" > confmf
4076 # Ignore all kinds of additional output from 'make'.
4077 case `$am_make -s -f confmf 2> /dev/nullscip-shell filesystem . . `/dev/null`.` in #(
4078 *the\ am__doit\ target*)
4079 am__include=include
4080 am__quote=
4081 _am_result=GNU
4082 ;;
4083 esac
4084 # Now try BSD make style include.
4085 if testscip-shell system . . test. "$am__include" = "#"; then
4086 echoscip-shell system . . echo. '.include "confinc"' > confmf
4087 case `$am_make -s -f confmf 2> /dev/nullscip-shell filesystem . . `/dev/null`.` in #(
4088 *the\ am__doit\ target*)
4089 am__include=.include
4090 am__quote="\""
4091 _am_result=BSD
4092 ;;
4093 esac
4094 fi
4095
4096
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4098 $as_echo "$_am_result" >&6; }
4099 rmscip-shell system . . rm. -f confinc confmf
4100
4101 # Check whether --enable-dependency-tracking was given.
4102 if testscip-shell system . . test. "${enable_dependency_tracking+set}" = set; then :
4103 enableval=$enable_dependency_tracking;
4104 fi
4105
4106 if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then
4107 am_depcomp="$ac_aux_dir/depcomp"
4108 AMDEPBACKSLASH='\'
4109 am__nodep='_no'
4110 fi
4111 if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then
4112 AMDEP_TRUE=
4113 AMDEP_FALSE='#'
4114 else
4115 AMDEP_TRUE='#'
4116 AMDEP_FALSE=
4117 fi
4118
4119
4120
4121 depcc="$CC" am_compiler_list=
4122
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4124 $as_echo_n "checking dependency style of $depcc... " >&6; }
4125 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4126 $as_echo_n "(cached) " >&6
4127 else
4128 if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then
4129 # We make a subdir and do the tests there. Otherwise we can end up
4130 # making bogus files that we don't know about and never remove. For
4131 # instance it was reported that on HP-UX the gcc test will end up
4132 # making a dummy file named 'D' -- because '-MD' means "put the output
4133 # in D".
4134 rmscip-shell system . . rm. -rf conftest.dir
4135 mkdirscip-shell system . . mkdir. conftest.dir
4136 # Copy depcomp to subdir because otherwise we won't find it if we're
4137 # using a relative directory.
4138 cpscip-shell system . . cp. "$am_depcomp" conftest.dir
4139 cd conftest.dir
4140 # We will build objects and dependencies in a subdirectory because
4141 # it helps to detect inapplicable dependency modes. For instance
4142 # both Tru64's cc and ICC support -MD to output dependencies as a
4143 # side effect of compilation, but ICC will put the dependencies in
4144 # the current directory while Tru64 will put them in the object
4145 # directory.
4146 mkdirscip-shell system . . mkdir. sub
4147
4148 am_cv_CC_dependencies_compiler_type=none
4149 if testscip-shell system . . test. "$am_compiler_list" = ""; then
4150 am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4151 fi
4152 am__universal=false
4153 case " $depcc " in #(
4154 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4155 esac
4156
4157 for depmode in $am_compiler_list; do
4158 # Setup a source with many dependencies, because some compilers
4159 # like to wrap large dependency lists on column 80 (with \), and
4160 # we should not choose a depcomp mode which is confused by this.
4161 #
4162 # We need to recreate these files for each test, as the compiler may
4163 # overwrite some of them when testing with obscure command lines.
4164 # This happens at least with the AIX C compiler.
4165 : > sub/conftest.c
4166 for i in 1 2 3 4 5 6; do
4167 echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c
4168 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4169 # Solaris 10 /bin/sh.
4170 echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h
4171 done
4172 echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4173
4174 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4175 # mode. It turns out that the SunPro C++ compiler does not properly
4176 # handle '-M -o', and we need to detect this. Also, some Intel
4177 # versions had trouble with output in subdirs.
4178 am__obj=sub/conftest.${OBJEXT-o}
4179 am__minus_obj="-o $am__obj"
4180 case $depmode in
4181 gcc)
4182 # This depmode causes a compiler race in universal mode.
4183 testscip-shell system . . test. "$am__universal" = false || continue
4184 ;;
4185 nosideeffect)
4186 # After this tag, mechanisms are not by side-effect, so they'll
4187 # only be used when explicitly requested.
4188 if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then
4189 continue
4190 else
4191 break
4192 fi
4193 ;;
4194 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4195 # This compiler won't grok '-c -o', but also, the minuso test has
4196 # not run yet. These depmodes are late enough in the game, and
4197 # so weak that their functioning should not be impacted.
4198 am__obj=conftest.${OBJEXT-o}
4199 am__minus_obj=
4200 ;;
4201 none) break ;;
4202 esac
4203 if depmode=$depmode \
4204 source=sub/conftest.c object=$am__obj \
4205 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4206 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4207 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err &&
4208 grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4209 grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4210 grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4211 ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
4212 # icc doesn't choke on unknown options, it will just issue warnings
4213 # or remarks (even with -Werror). So we grep stderr for any message
4214 # that says an option was ignored or not supported.
4215 # When given -MP, icc 7.0 and 7.1 complain thusly:
4216 # icc: Command line warning: ignoring option '-M'; no argument required
4217 # The diagnosis changed in icc 8.0:
4218 # icc: Command line remark: option '-MP' not supported
4219 if (grepscip-shell system . . grep. 'ignoring option' conftest.err ||
4220 grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
4221 am_cv_CC_dependencies_compiler_type=$depmode
4222 break
4223 fi
4224 fi
4225 done
4226
4227 cd ..
4228 rmscip-shell system . . rm. -rf conftest.dir
4229 else
4230 am_cv_CC_dependencies_compiler_type=none
4231 fi
4232
4233 fi
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4235 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4236 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4237
4238 if
4239 testscip-shell system . . test. "x$enable_dependency_tracking" != xno \
4240 && testscip-shell system . . test. "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4241 am__fastdepCC_TRUE=
4242 am__fastdepCC_FALSE='#'
4243 else
4244 am__fastdepCC_TRUE='#'
4245 am__fastdepCC_FALSE=
4246 fi
4247
4248
4249 ac_ext=c
4250 ac_cpp='$CPP $CPPFLAGS'
4251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4255 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4256 # On Suns, sometimes $CPP names a directory.
4257 if testscip-shell system . . test. -n "$CPP" && testscip-shell system . . test. -d "$CPP"; then
4258 CPP=
4259 fi
4260 if testscip-shell system . . test. -z "$CPP"; then
4261 if ${ac_cv_prog_CPP+:} false; then :
4262 $as_echo_n "(cached) " >&6
4263 else
4264 # Double quotes because CPP needs to be expanded
4265 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cppscip-shell filesystem . . `/lib/cpp`."
4266 do
4267 ac_preproc_ok=false
4268 for ac_c_preproc_warn_flag in '' yes
4269 do
4270 # Use a header file that comes with gcc, so configuring glibc
4271 # with a fresh cross-compiler works.
4272 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4273 # <limits.h> exists even on freestanding compilers.
4274 # On the NeXT, cc -E runs the code through the compiler's parser,
4275 # not just through cpp. "Syntax error" is here to catch this case.
4276 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4278 #ifdef __STDC__
4279 # include <limits.h>
4280 #else
4281 # include <assert.h>
4282 #endif
4283 Syntax error
4284 _ACEOF
4285 if ac_fn_c_try_cppscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_cpp(). "$LINENO"; then :
4286
4287 else
4288 # Broken: fails on valid input.
4289 continue
4290 fi
4291 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
4292
4293 # OK, works on sane cases. Now check whether nonexistent headers
4294 # can be detected and how.
4295 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4296 /* end confdefs.h. */
4297 #include <ac_nonexistent.h>
4298 _ACEOF
4299 if ac_fn_c_try_cppscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_cpp(). "$LINENO"; then :
4300 # Broken: success on invalid input.
4301 continue
4302 else
4303 # Passes both tests.
4304 ac_preproc_ok=:
4305 break
4306 fi
4307 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
4308
4309 done
4310 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4311 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
4312 if $ac_preproc_ok; then :
4313 break
4314 fi
4315
4316 done
4317 ac_cv_prog_CPP=$CPP
4318
4319 fi
4320 CPP=$ac_cv_prog_CPP
4321 else
4322 ac_cv_prog_CPP=$CPP
4323 fi
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4325 $as_echo "$CPP" >&6; }
4326 ac_preproc_ok=false
4327 for ac_c_preproc_warn_flag in '' yes
4328 do
4329 # Use a header file that comes with gcc, so configuring glibc
4330 # with a fresh cross-compiler works.
4331 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4332 # <limits.h> exists even on freestanding compilers.
4333 # On the NeXT, cc -E runs the code through the compiler's parser,
4334 # not just through cpp. "Syntax error" is here to catch this case.
4335 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4336 /* end confdefs.h. */
4337 #ifdef __STDC__
4338 # include <limits.h>
4339 #else
4340 # include <assert.h>
4341 #endif
4342 Syntax error
4343 _ACEOF
4344 if ac_fn_c_try_cppscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_cpp(). "$LINENO"; then :
4345
4346 else
4347 # Broken: fails on valid input.
4348 continue
4349 fi
4350 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
4351
4352 # OK, works on sane cases. Now check whether nonexistent headers
4353 # can be detected and how.
4354 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4355 /* end confdefs.h. */
4356 #include <ac_nonexistent.h>
4357 _ACEOF
4358 if ac_fn_c_try_cppscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_cpp(). "$LINENO"; then :
4359 # Broken: success on invalid input.
4360 continue
4361 else
4362 # Passes both tests.
4363 ac_preproc_ok=:
4364 break
4365 fi
4366 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
4367
4368 done
4369 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4370 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
4371 if $ac_preproc_ok; then :
4372
4373 else
4374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4376 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "C preprocessor \"$CPP\" fails sanity check
4377 See \`config.log' for more details" "$LINENO" 5; }
4378 fi
4379
4380 ac_ext=c
4381 ac_cpp='$CPP $CPPFLAGS'
4382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4385
4386 ac_ext=cpp
4387 ac_cpp='$CXXCPP $CPPFLAGS'
4388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4391 if testscip-shell system . . test. -z "$CXX"; then
4392 if testscip-shell system . . test. -n "$CCC"; then
4393 CXX=$CCC
4394 else
4395 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
4396 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4397 do
4398 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4399 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401 $as_echo_n "checking for $ac_word... " >&6; }
4402 if ${ac_cv_prog_CXX+:} false; then :
4403 $as_echo_n "(cached) " >&6
4404 else
4405 if testscip-shell system . . test. -n "$CXX"; then
4406 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4407 else
4408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4409 for as_dir in $PATH
4410 do
4411 IFS=$as_save_IFS
4412 testscip-shell system . . test. -z "$as_dir" && as_dir=.
4413 for ac_exec_ext in '' $ac_executable_extensions; do
4414 if as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
4415 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 break 2
4418 fi
4419 done
4420 done
4421 IFS=$as_save_IFS
4422
4423 fi
4424 fi
4425 CXX=$ac_cv_prog_CXX
4426 if testscip-shell system . . test. -n "$CXX"; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4428 $as_echo "$CXX" >&6; }
4429 else
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4432 fi
4433
4434
4435 testscip-shell system . . test. -n "$CXX" && break
4436 done
4437 fi
4438 if testscip-shell system . . test. -z "$CXX"; then
4439 ac_ct_CXX=$CXX
4440 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4441 do
4442 # Extract the first word of "$ac_prog", so it can be a program name with args.
4443 set dummy $ac_prog; ac_word=$2
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4445 $as_echo_n "checking for $ac_word... " >&6; }
4446 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4447 $as_echo_n "(cached) " >&6
4448 else
4449 if testscip-shell system . . test. -n "$ac_ct_CXX"; then
4450 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4451 else
4452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453 for as_dir in $PATH
4454 do
4455 IFS=$as_save_IFS
4456 testscip-shell system . . test. -z "$as_dir" && as_dir=.
4457 for ac_exec_ext in '' $ac_executable_extensions; do
4458 if as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
4459 ac_cv_prog_ac_ct_CXX="$ac_prog"
4460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 break 2
4462 fi
4463 done
4464 done
4465 IFS=$as_save_IFS
4466
4467 fi
4468 fi
4469 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4470 if testscip-shell system . . test. -n "$ac_ct_CXX"; then
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4472 $as_echo "$ac_ct_CXX" >&6; }
4473 else
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4475 $as_echo "no" >&6; }
4476 fi
4477
4478
4479 testscip-shell system . . test. -n "$ac_ct_CXX" && break
4480 done
4481
4482 if testscip-shell system . . test. "x$ac_ct_CXX" = x; then
4483 CXX="g++"
4484 else
4485 case $cross_compiling:$ac_tool_warned in
4486 yes:)
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4489 ac_tool_warned=yes ;;
4490 esac
4491 CXX=$ac_ct_CXX
4492 fi
4493 fi
4494
4495 fi
4496 fi
4497 # Provide some information about the compiler.
4498 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4499 set X $ac_compile
4500 ac_compiler=$2
4501 for ac_option in --version -v -V -qversion; do
4502 { { ac_try="$ac_compiler $ac_option >&5"
4503 case "(($ac_try" in
4504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4505 *) ac_try_echo=$ac_try;;
4506 esac
4507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4508 $as_echo "$ac_try_echo"; } >&5
4509 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4510 ac_status=$?
4511 if testscip-shell system . . test. -s conftest.err; then
4512 sedscip-shell system . . sed. '10a\
4513 ... rest of stderr output deleted ...
4514 10q' conftest.err >conftest.er1
4515 catscip-shell system . . cat. conftest.er1 >&5
4516 fi
4517 rmscip-shell system . . rm. -f conftest.er1 conftest.err
4518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4519 testscip-shell system . . test. $ac_status = 0; }
4520 done
4521
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4523 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4524 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4525 $as_echo_n "(cached) " >&6
4526 else
4527 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4529
4530 int
4531 main ()
4532 {
4533 #ifndef __GNUC__
4534 choke me
4535 #endif
4536
4537 ;
4538 return 0;
4539 }
4540 _ACEOF
4541 if ac_fn_cxx_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_cxx_try_compile(). "$LINENO"; then :
4542 ac_compiler_gnu=yes
4543 else
4544 ac_compiler_gnu=no
4545 fi
4546 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4547 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4548
4549 fi
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4551 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4552 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
4553 GXX=yes
4554 else
4555 GXX=
4556 fi
4557 ac_test_CXXFLAGS=${CXXFLAGS+set}
4558 ac_save_CXXFLAGS=$CXXFLAGS
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4560 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4561 if ${ac_cv_prog_cxx_g+:} false; then :
4562 $as_echo_n "(cached) " >&6
4563 else
4564 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4565 ac_cxx_werror_flag=yes
4566 ac_cv_prog_cxx_g=no
4567 CXXFLAGS="-g"
4568 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4570
4571 int
4572 main ()
4573 {
4574
4575 ;
4576 return 0;
4577 }
4578 _ACEOF
4579 if ac_fn_cxx_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_cxx_try_compile(). "$LINENO"; then :
4580 ac_cv_prog_cxx_g=yes
4581 else
4582 CXXFLAGS=""
4583 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4584 /* end confdefs.h. */
4585
4586 int
4587 main ()
4588 {
4589
4590 ;
4591 return 0;
4592 }
4593 _ACEOF
4594 if ac_fn_cxx_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_cxx_try_compile(). "$LINENO"; then :
4595
4596 else
4597 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4598 CXXFLAGS="-g"
4599 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4601
4602 int
4603 main ()
4604 {
4605
4606 ;
4607 return 0;
4608 }
4609 _ACEOF
4610 if ac_fn_cxx_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_cxx_try_compile(). "$LINENO"; then :
4611 ac_cv_prog_cxx_g=yes
4612 fi
4613 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4614 fi
4615 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4616 fi
4617 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4618 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4619 fi
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4621 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4622 if testscip-shell system . . test. "$ac_test_CXXFLAGS" = set; then
4623 CXXFLAGS=$ac_save_CXXFLAGS
4624 elif testscip-shell system . . test. $ac_cv_prog_cxx_g = yes; then
4625 if testscip-shell system . . test. "$GXX" = yes; then
4626 CXXFLAGS="-g -O2"
4627 else
4628 CXXFLAGS="-g"
4629 fi
4630 else
4631 if testscip-shell system . . test. "$GXX" = yes; then
4632 CXXFLAGS="-O2"
4633 else
4634 CXXFLAGS=
4635 fi
4636 fi
4637 ac_ext=c
4638 ac_cpp='$CPP $CPPFLAGS'
4639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4642
4643 depcc="$CXX" am_compiler_list=
4644
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4646 $as_echo_n "checking dependency style of $depcc... " >&6; }
4647 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4648 $as_echo_n "(cached) " >&6
4649 else
4650 if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then
4651 # We make a subdir and do the tests there. Otherwise we can end up
4652 # making bogus files that we don't know about and never remove. For
4653 # instance it was reported that on HP-UX the gcc test will end up
4654 # making a dummy file named 'D' -- because '-MD' means "put the output
4655 # in D".
4656 rmscip-shell system . . rm. -rf conftest.dir
4657 mkdirscip-shell system . . mkdir. conftest.dir
4658 # Copy depcomp to subdir because otherwise we won't find it if we're
4659 # using a relative directory.
4660 cpscip-shell system . . cp. "$am_depcomp" conftest.dir
4661 cd conftest.dir
4662 # We will build objects and dependencies in a subdirectory because
4663 # it helps to detect inapplicable dependency modes. For instance
4664 # both Tru64's cc and ICC support -MD to output dependencies as a
4665 # side effect of compilation, but ICC will put the dependencies in
4666 # the current directory while Tru64 will put them in the object
4667 # directory.
4668 mkdirscip-shell system . . mkdir. sub
4669
4670 am_cv_CXX_dependencies_compiler_type=none
4671 if testscip-shell system . . test. "$am_compiler_list" = ""; then
4672 am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4673 fi
4674 am__universal=false
4675 case " $depcc " in #(
4676 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4677 esac
4678
4679 for depmode in $am_compiler_list; do
4680 # Setup a source with many dependencies, because some compilers
4681 # like to wrap large dependency lists on column 80 (with \), and
4682 # we should not choose a depcomp mode which is confused by this.
4683 #
4684 # We need to recreate these files for each test, as the compiler may
4685 # overwrite some of them when testing with obscure command lines.
4686 # This happens at least with the AIX C compiler.
4687 : > sub/conftest.c
4688 for i in 1 2 3 4 5 6; do
4689 echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c
4690 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4691 # Solaris 10 /bin/sh.
4692 echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h
4693 done
4694 echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4695
4696 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4697 # mode. It turns out that the SunPro C++ compiler does not properly
4698 # handle '-M -o', and we need to detect this. Also, some Intel
4699 # versions had trouble with output in subdirs.
4700 am__obj=sub/conftest.${OBJEXT-o}
4701 am__minus_obj="-o $am__obj"
4702 case $depmode in
4703 gcc)
4704 # This depmode causes a compiler race in universal mode.
4705 testscip-shell system . . test. "$am__universal" = false || continue
4706 ;;
4707 nosideeffect)
4708 # After this tag, mechanisms are not by side-effect, so they'll
4709 # only be used when explicitly requested.
4710 if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then
4711 continue
4712 else
4713 break
4714 fi
4715 ;;
4716 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4717 # This compiler won't grok '-c -o', but also, the minuso test has
4718 # not run yet. These depmodes are late enough in the game, and
4719 # so weak that their functioning should not be impacted.
4720 am__obj=conftest.${OBJEXT-o}
4721 am__minus_obj=
4722 ;;
4723 none) break ;;
4724 esac
4725 if depmode=$depmode \
4726 source=sub/conftest.c object=$am__obj \
4727 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4728 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4729 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err &&
4730 grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4731 grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4732 grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4733 ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
4734 # icc doesn't choke on unknown options, it will just issue warnings
4735 # or remarks (even with -Werror). So we grep stderr for any message
4736 # that says an option was ignored or not supported.
4737 # When given -MP, icc 7.0 and 7.1 complain thusly:
4738 # icc: Command line warning: ignoring option '-M'; no argument required
4739 # The diagnosis changed in icc 8.0:
4740 # icc: Command line remark: option '-MP' not supported
4741 if (grepscip-shell system . . grep. 'ignoring option' conftest.err ||
4742 grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
4743 am_cv_CXX_dependencies_compiler_type=$depmode
4744 break
4745 fi
4746 fi
4747 done
4748
4749 cd ..
4750 rmscip-shell system . . rm. -rf conftest.dir
4751 else
4752 am_cv_CXX_dependencies_compiler_type=none
4753 fi
4754
4755 fi
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4757 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4758 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4759
4760 if
4761 testscip-shell system . . test. "x$enable_dependency_tracking" != xno \
4762 && testscip-shell system . . test. "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4763 am__fastdepCXX_TRUE=
4764 am__fastdepCXX_FALSE='#'
4765 else
4766 am__fastdepCXX_TRUE='#'
4767 am__fastdepCXX_FALSE=
4768 fi
4769
4770
4771
4772 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
4773 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4774 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4776 $as_echo_n "checking for $ac_word... " >&6; }
4777 if ${ac_cv_prog_RANLIB+:} false; then :
4778 $as_echo_n "(cached) " >&6
4779 else
4780 if testscip-shell system . . test. -n "$RANLIB"; then
4781 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4782 else
4783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4784 for as_dir in $PATH
4785 do
4786 IFS=$as_save_IFS
4787 testscip-shell system . . test. -z "$as_dir" && as_dir=.
4788 for ac_exec_ext in '' $ac_executable_extensions; do
4789 if as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
4790 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4792 break 2
4793 fi
4794 done
4795 done
4796 IFS=$as_save_IFS
4797
4798 fi
4799 fi
4800 RANLIB=$ac_cv_prog_RANLIB
4801 if testscip-shell system . . test. -n "$RANLIB"; then
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4803 $as_echo "$RANLIB" >&6; }
4804 else
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4806 $as_echo "no" >&6; }
4807 fi
4808
4809
4810 fi
4811 if testscip-shell system . . test. -z "$ac_cv_prog_RANLIB"; then
4812 ac_ct_RANLIB=$RANLIB
4813 # Extract the first word of "ranlib", so it can be a program name with args.
4814 set dummy ranlib; ac_word=$2
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816 $as_echo_n "checking for $ac_word... " >&6; }
4817 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4818 $as_echo_n "(cached) " >&6
4819 else
4820 if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then
4821 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4822 else
4823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4824 for as_dir in $PATH
4825 do
4826 IFS=$as_save_IFS
4827 testscip-shell system . . test. -z "$as_dir" && as_dir=.
4828 for ac_exec_ext in '' $ac_executable_extensions; do
4829 if as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
4830 ac_cv_prog_ac_ct_RANLIB="ranlib"
4831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4832 break 2
4833 fi
4834 done
4835 done
4836 IFS=$as_save_IFS
4837
4838 fi
4839 fi
4840 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4841 if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4843 $as_echo "$ac_ct_RANLIB" >&6; }
4844 else
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846 $as_echo "no" >&6; }
4847 fi
4848
4849 if testscip-shell system . . test. "x$ac_ct_RANLIB" = x; then
4850 RANLIB=":"
4851 else
4852 case $cross_compiling:$ac_tool_warned in
4853 yes:)
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4856 ac_tool_warned=yes ;;
4857 esac
4858 RANLIB=$ac_ct_RANLIB
4859 fi
4860 else
4861 RANLIB="$ac_cv_prog_RANLIB"
4862 fi
4863
4864
4865 if testscip-shell system . . test. x$host = xi386-pc-os2-emx ; then
4866 CXXFLAGS="$CXXFLAGS -Zmt"
4867 LDFLAGS="$LDFLAGS -Zomf -Zmt"
4868 fi
4869
4870 SDL_VERSION=1.2.0
4871
4872
4873 # Check whether --with-sdl-prefix was given.
4874 if testscip-shell system . . test. "${with_sdl_prefix+set}" = set; then :
4875 withval=$with_sdl_prefix; sdl_prefix="$withval"
4876 else
4877 sdl_prefix=""
4878 fi
4879
4880
4881 # Check whether --with-sdl-exec-prefix was given.
4882 if testscip-shell system . . test. "${with_sdl_exec_prefix+set}" = set; then :
4883 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
4884 else
4885 sdl_exec_prefix=""
4886 fi
4887
4888 # Check whether --enable-sdltest was given.
4889 if testscip-shell system . . test. "${enable_sdltest+set}" = set; then :
4890 enableval=$enable_sdltest;
4891 else
4892 enable_sdltest=yes
4893 fi
4894
4895
4896 if testscip-shell system . . test. x$sdl_exec_prefix != x ; then
4897 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
4898 if testscip-shell system . . test. x${SDL_CONFIG+set} != xset ; then
4899 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
4900 fi
4901 fi
4902 if testscip-shell system . . test. x$sdl_prefix != x ; then
4903 sdl_args="$sdl_args --prefix=$sdl_prefix"
4904 if testscip-shell system . . test. x${SDL_CONFIG+set} != xset ; then
4905 SDL_CONFIG=$sdl_prefix/bin/sdl-config
4906 fi
4907 fi
4908
4909 # Extract the first word of "sdl-config", so it can be a program name with args.
4910 set dummy sdl-config; ac_word=$2
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4912 $as_echo_n "checking for $ac_word... " >&6; }
4913 if ${ac_cv_path_SDL_CONFIG+:} false; then :
4914 $as_echo_n "(cached) " >&6
4915 else
4916 case $SDL_CONFIG in
4917 [\\/]* | ?:[\\/]*)
4918 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
4919 ;;
4920 *)
4921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4922 for as_dir in $PATH
4923 do
4924 IFS=$as_save_IFS
4925 testscip-shell system . . test. -z "$as_dir" && as_dir=.
4926 for ac_exec_ext in '' $ac_executable_extensions; do
4927 if as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
4928 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 break 2
4931 fi
4932 done
4933 done
4934 IFS=$as_save_IFS
4935
4936 testscip-shell system . . test. -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
4937 ;;
4938 esac
4939 fi
4940 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
4941 if testscip-shell system . . test. -n "$SDL_CONFIG"; then
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
4943 $as_echo "$SDL_CONFIG" >&6; }
4944 else
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4947 fi
4948
4949
4950 min_sdl_version=$SDL_VERSION
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
4952 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
4953 no_sdl=""
4954 if testscip-shell system . . test. "$SDL_CONFIG" = "no" ; then
4955 no_sdl=yes
4956 else
4957 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
4958 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
4959
4960 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
4961 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4962 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
4963 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4964 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
4965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4966 if testscip-shell system . . test. "x$enable_sdltest" = "xyes" ; then
4967 ac_save_CFLAGS="$CFLAGS"
4968 ac_save_LIBS="$LIBS"
4969 CFLAGS="$CFLAGS $SDL_CFLAGS"
4970 LIBS="$LIBS $SDL_LIBS"
4971 rmscip-shell system . . rm. -f conf.sdltest
4972 if testscip-shell system . . test. "$cross_compiling" = yes; then :
4973 echoscip-shell system . . echo. $ac_n "cross compiling; assumed OK... $ac_c"
4974 else
4975 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4976 /* end confdefs.h. */
4977
4978 #include <stdio.h>
4979 #include <stdlib.h>
4980 #include <string.h>
4981 #include "SDL.h"
4982
4983 char*
4984 my_strdup (char *str)
4985 {
4986 char *new_str;
4987
4988 if (str)
4989 {
4990 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
4991 strcpy (new_str, str);
4992 }
4993 else
4994 new_str = NULL;
4995
4996 return new_str;
4997 }
4998
4999 int main (int argc, char *argv[])
5000 {
5001 int major, minor, micro;
5002 char *tmp_version;
5003
5004 /* This hangs on some systems (?)
5005 system ("touch conf.sdltest");
5006 */
5007 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
5008
5009 /* HP/UX 9 (%@#!) writes to sscanf strings */
5010 tmp_version = my_strdup("$min_sdl_version");
5011 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
5012 printf("%s, bad version string\n", "$min_sdl_version");
5013 exit(1);
5014 }
5015
5016 if (($sdl_major_version > major) ||
5017 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
5018 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
5019 {
5020 return 0;
5021 }
5022 else
5023 {
5024 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
5025 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
5026 printf("*** best to upgrade to the required version.\n");
5027 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
5028 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
5029 printf("*** config.cache before re-running configure\n");
5030 return 1;
5031 }
5032 }
5033
5034
5035 _ACEOF
5036 if ac_fn_c_try_runscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_run(). "$LINENO"; then :
5037
5038 else
5039 no_sdl=yes
5040 fi
5041 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5042 conftest.$ac_objext conftest.beam conftest.$ac_ext
5043 fi
5044
5045 CFLAGS="$ac_save_CFLAGS"
5046 LIBS="$ac_save_LIBS"
5047 fi
5048 fi
5049 if testscip-shell system . . test. "x$no_sdl" = x ; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5051 $as_echo "yes" >&6; }
5052 :
5053 else
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5056 if testscip-shell system . . test. "$SDL_CONFIG" = "no" ; then
5057 echoscip-shell system . . echo. "*** The sdl-config script installed by SDL could not be found"
5058 echoscip-shell system . . echo. "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
5059 echoscip-shell system . . echo. "*** your path, or set the SDL_CONFIG environment variable to the"
5060 echoscip-shell system . . echo. "*** full path to sdl-config."
5061 else
5062 if testscip-shell system . . test. -f conf.sdltest ; then
5063 :
5064 else
5065 echoscip-shell system . . echo. "*** Could not run SDL test program, checking why..."
5066 CFLAGS="$CFLAGS $SDL_CFLAGS"
5067 LIBS="$LIBS $SDL_LIBS"
5068 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5069 /* end confdefs.h. */
5070
5071 #include <stdio.h>
5072 #include "SDL.h"
5073
5074 int
5075 main ()
5076 {
5077 return 0;
5078 ;
5079 return 0;
5080 }
5081 _ACEOF
5082 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
5083 echoscip-shell system . . echo. "*** The test program compiled, but did not run. This usually means"
5084 echoscip-shell system . . echo. "*** that the run-time linker is not finding SDL or finding the wrong"
5085 echoscip-shell system . . echo. "*** version of SDL. If it is not finding SDL, you'll need to set your"
5086 echoscip-shell system . . echo. "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
5087 echoscip-shell system . . echo. "*** to the installed location Also, make sure you have run ldconfig if that"
5088 echoscip-shell system . . echo. "*** is required on your system"
5089 echoscip-shell system . . echo. "***"
5090 echoscip-shell system . . echo. "*** If you have an old version installed, it is best to remove it, although"
5091 echoscip-shell system . . echo. "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
5092 else
5093 echoscip-shell system . . echo. "*** The test program failed to compile or link. See the file config.log for the"
5094 echoscip-shell system . . echo. "*** exact error that occured. This usually means SDL was incorrectly installed"
5095 echoscip-shell system . . echo. "*** or that you have moved SDL since it was installed. In the latter case, you"
5096 echoscip-shell system . . echo. "*** may want to edit the sdl-config script: $SDL_CONFIG"
5097 fi
5098 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
5099 conftest$ac_exeext conftest.$ac_ext
5100 CFLAGS="$ac_save_CFLAGS"
5101 LIBS="$ac_save_LIBS"
5102 fi
5103 fi
5104 SDL_CFLAGS=""
5105 SDL_LIBS=""
5106 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "*** SDL version $SDL_VERSION not found!" "$LINENO" 5
5107
5108 fi
5109
5110
5111 rmscip-shell system . . rm. -f conf.sdltest
5112
5113 LIBS="$LIBS $SDL_LIBS"
5114 CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
5115
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDL version only being 1.2.X" >&5
5117 $as_echo_n "checking SDL version only being 1.2.X... " >&6; }
5118 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5119 /* end confdefs.h. */
5120
5121 #include "SDL.h"
5122 void blah(){
5123 #if SDL_MINOR_VERSION != 2
5124 #error "Only SDL 1.2 supported"
5125 #endif
5126 ;
5127 }
5128
5129 _ACEOF
5130 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5132 $as_echo "yes" >&6; }
5133 else
5134
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5137 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "Only libSDL 1.2.X supported" "$LINENO" 5
5138 fi
5139 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5140
5141
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5143 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5144 if ${ac_cv_c_const+:} false; then :
5145 $as_echo_n "(cached) " >&6
5146 else
5147 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5148 /* end confdefs.h. */
5149
5150 int
5151 main ()
5152 {
5153
5154 #ifndef __cplusplus
5155 /* Ultrix mips cc rejects this sort of thing. */
5156 typedef int charset[2];
5157 const charset cs = { 0, 0 };
5158 /* SunOS 4.1.1 cc rejects this. */
5159 char const *const *pcpcc;
5160 char **ppc;
5161 /* NEC SVR4.0.2 mips cc rejects this. */
5162 struct point {int x, y;};
5163 static struct point const zero = {0,0};
5164 /* AIX XL C 1.02.0.0 rejects this.
5165 It does not let you subtract one const X* pointer from another in
5166 an arm of an if-expression whose if-part is not a constant
5167 expression */
5168 const char *g = "string";
5169 pcpcc = &g + (g ? g-g : 0);
5170 /* HPUX 7.0 cc rejects these. */
5171 ++pcpcc;
5172 ppc = (char**) pcpcc;
5173 pcpcc = (char const *const *) ppc;
5174 { /* SCO 3.2v4 cc rejects this sort of thing. */
5175 char tx;
5176 char *t = &tx;
5177 char const *s = 0 ? (char *) 0 : (char const *) 0;
5178
5179 *t++ = 0;
5180 if (s) return 0;
5181 }
5182 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5183 int x[] = {25, 17};
5184 const int *foo = &x[0];
5185 ++foo;
5186 }
5187 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5188 typedef const int *iptr;
5189 iptr p = 0;
5190 ++p;
5191 }
5192 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5193 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5194 struct s { int j; const int *ap[3]; } bx;
5195 struct s *b = &bx; b->j = 5;
5196 }
5197 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5198 const int foo = 10;
5199 if (!foo) return 0;
5200 }
5201 return !cs[0] && !zero.x;
5202 #endif
5203
5204 ;
5205 return 0;
5206 }
5207 _ACEOF
5208 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
5209 ac_cv_c_const=yes
5210 else
5211 ac_cv_c_const=no
5212 fi
5213 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5214 fi
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5216 $as_echo "$ac_cv_c_const" >&6; }
5217 if testscip-shell system . . test. $ac_cv_c_const = no; then
5218
5219 $as_echo "#define const /**/" >>confdefs.h
5220
5221 fi
5222
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5224 $as_echo_n "checking for inline... " >&6; }
5225 if ${ac_cv_c_inline+:} false; then :
5226 $as_echo_n "(cached) " >&6
5227 else
5228 ac_cv_c_inline=no
5229 for ac_kw in inline __inline__ __inline; do
5230 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5231 /* end confdefs.h. */
5232 #ifndef __cplusplus
5233 typedef int foo_t;
5234 static $ac_kw foo_t static_foo () {return 0; }
5235 $ac_kw foo_t foo () {return 0; }
5236 #endif
5237
5238 _ACEOF
5239 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
5240 ac_cv_c_inline=$ac_kw
5241 fi
5242 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5243 testscip-shell system . . test. "$ac_cv_c_inline" != no && break
5244 done
5245
5246 fi
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5248 $as_echo "$ac_cv_c_inline" >&6; }
5249
5250 case $ac_cv_c_inline in
5251 inline | yes) ;;
5252 *)
5253 case $ac_cv_c_inline in
5254 no) ac_val=;;
5255 *) ac_val=$ac_cv_c_inline;;
5256 esac
5257 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
5258 #ifndef __cplusplus
5259 #define inline $ac_val
5260 #endif
5261 _ACEOF
5262 ;;
5263 esac
5264
5265
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5267 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5268 if ${ac_cv_path_GREP+:} false; then :
5269 $as_echo_n "(cached) " >&6
5270 else
5271 if testscip-shell system . . test. -z "$GREP"; then
5272 ac_path_GREP_found=false
5273 # Loop through the user's path and test for each of PROGNAME-LIST
5274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5275 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5276 do
5277 IFS=$as_save_IFS
5278 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5279 for ac_prog in grep ggrep; do
5280 for ac_exec_ext in '' $ac_executable_extensions; do
5281 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5282 as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$ac_path_GREP" || continue
5283 # Check for GNU ac_path_GREP and select it if it is found.
5284 # Check for GNU $ac_path_GREP
5285 case `"$ac_path_GREP" --version 2>&1` in
5286 *GNU*)
5287 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5288 *)
5289 ac_count=0
5290 $as_echo_n 0123456789 >"conftest.in"
5291 while :
5292 do
5293 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
5294 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
5295 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
5296 $as_echo 'GREP' >> "conftest.nl"
5297 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
5298 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
5299 as_fn_arithscip-shell shell dosbox 0.74-3-5 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
5300 if testscip-shell system . . test. $ac_count -gt ${ac_path_GREP_max-0}; then
5301 # Best one so far, save it but keep looking for a better one
5302 ac_cv_path_GREP="$ac_path_GREP"
5303 ac_path_GREP_max=$ac_count
5304 fi
5305 # 10*(2^10) chars as input seems more than enough
5306 testscip-shell system . . test. $ac_count -gt 10 && break
5307 done
5308 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
5309 esac
5310
5311 $ac_path_GREP_found && break 3
5312 done
5313 done
5314 done
5315 IFS=$as_save_IFS
5316 if testscip-shell system . . test. -z "$ac_cv_path_GREP"; then
5317 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5318 fi
5319 else
5320 ac_cv_path_GREP=$GREP
5321 fi
5322
5323 fi
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5325 $as_echo "$ac_cv_path_GREP" >&6; }
5326 GREP="$ac_cv_path_GREP"
5327
5328
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5330 $as_echo_n "checking for egrep... " >&6; }
5331 if ${ac_cv_path_EGREP+:} false; then :
5332 $as_echo_n "(cached) " >&6
5333 else
5334 if echoscip-shell system . . echo. a | $GREP -E '(a|b)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
5335 then ac_cv_path_EGREP="$GREP -E"
5336 else
5337 if testscip-shell system . . test. -z "$EGREP"; then
5338 ac_path_EGREP_found=false
5339 # Loop through the user's path and test for each of PROGNAME-LIST
5340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5341 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5342 do
5343 IFS=$as_save_IFS
5344 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5345 for ac_prog in egrep; do
5346 for ac_exec_ext in '' $ac_executable_extensions; do
5347 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5348 as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$ac_path_EGREP" || continue
5349 # Check for GNU ac_path_EGREP and select it if it is found.
5350 # Check for GNU $ac_path_EGREP
5351 case `"$ac_path_EGREP" --version 2>&1` in
5352 *GNU*)
5353 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5354 *)
5355 ac_count=0
5356 $as_echo_n 0123456789 >"conftest.in"
5357 while :
5358 do
5359 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
5360 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
5361 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
5362 $as_echo 'EGREP' >> "conftest.nl"
5363 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
5364 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
5365 as_fn_arithscip-shell shell dosbox 0.74-3-5 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
5366 if testscip-shell system . . test. $ac_count -gt ${ac_path_EGREP_max-0}; then
5367 # Best one so far, save it but keep looking for a better one
5368 ac_cv_path_EGREP="$ac_path_EGREP"
5369 ac_path_EGREP_max=$ac_count
5370 fi
5371 # 10*(2^10) chars as input seems more than enough
5372 testscip-shell system . . test. $ac_count -gt 10 && break
5373 done
5374 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
5375 esac
5376
5377 $ac_path_EGREP_found && break 3
5378 done
5379 done
5380 done
5381 IFS=$as_save_IFS
5382 if testscip-shell system . . test. -z "$ac_cv_path_EGREP"; then
5383 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5384 fi
5385 else
5386 ac_cv_path_EGREP=$EGREP
5387 fi
5388
5389 fi
5390 fi
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5392 $as_echo "$ac_cv_path_EGREP" >&6; }
5393 EGREP="$ac_cv_path_EGREP"
5394
5395
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5397 $as_echo_n "checking for ANSI C header files... " >&6; }
5398 if ${ac_cv_header_stdc+:} false; then :
5399 $as_echo_n "(cached) " >&6
5400 else
5401 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5403 #include <stdlib.h>
5404 #include <stdarg.h>
5405 #include <string.h>
5406 #include <float.h>
5407
5408 int
5409 main ()
5410 {
5411
5412 ;
5413 return 0;
5414 }
5415 _ACEOF
5416 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
5417 ac_cv_header_stdc=yes
5418 else
5419 ac_cv_header_stdc=no
5420 fi
5421 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5422
5423 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
5424 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5425 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5426 /* end confdefs.h. */
5427 #include <string.h>
5428
5429 _ACEOF
5430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5431 $EGREP "memchr" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :
5432
5433 else
5434 ac_cv_header_stdc=no
5435 fi
5436 rmscip-shell system . . rm. -f conftest*
5437
5438 fi
5439
5440 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
5441 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5442 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5443 /* end confdefs.h. */
5444 #include <stdlib.h>
5445
5446 _ACEOF
5447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5448 $EGREP "free" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :
5449
5450 else
5451 ac_cv_header_stdc=no
5452 fi
5453 rmscip-shell system . . rm. -f conftest*
5454
5455 fi
5456
5457 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
5458 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5459 if testscip-shell system . . test. "$cross_compiling" = yes; then :
5460 :
5461 else
5462 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5463 /* end confdefs.h. */
5464 #include <ctype.h>
5465 #include <stdlib.h>
5466 #if ((' ' & 0x0FF) == 0x020)
5467 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5468 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5469 #else
5470 # define ISLOWER(c) \
5471 (('a' <= (c) && (c) <= 'i') \
5472 || ('j' <= (c) && (c) <= 'r') \
5473 || ('s' <= (c) && (c) <= 'z'))
5474 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5475 #endif
5476
5477 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5478 int
5479 main ()
5480 {
5481 int i;
5482 for (i = 0; i < 256; i++)
5483 if (XOR (islower (i), ISLOWER (i))
5484 || toupper (i) != TOUPPER (i))
5485 return 2;
5486 return 0;
5487 }
5488 _ACEOF
5489 if ac_fn_c_try_runscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_run(). "$LINENO"; then :
5490
5491 else
5492 ac_cv_header_stdc=no
5493 fi
5494 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5495 conftest.$ac_objext conftest.beam conftest.$ac_ext
5496 fi
5497
5498 fi
5499 fi
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5501 $as_echo "$ac_cv_header_stdc" >&6; }
5502 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
5503
5504 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5505
5506 fi
5507
5508 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5509 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5510 inttypes.h stdint.h unistd.h
5511 do :
5512 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5513 ac_fn_c_check_header_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_check_header_compile(). "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5514 "
5515 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5516 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
5517 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5518 _ACEOF
5519
5520 fi
5521
5522 done
5523
5524
5525 ac_fn_c_check_typescip-shell shell dosbox 0.74-3-5 ac_fn_c_check_type(). "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5526 if testscip-shell system . . test. "x$ac_cv_type_size_t" = xyes; then :
5527
5528 else
5529
5530 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
5531 #define size_t unsigned int
5532 _ACEOF
5533
5534 fi
5535
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5537 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5538 if ${ac_cv_struct_tm+:} false; then :
5539 $as_echo_n "(cached) " >&6
5540 else
5541 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5542 /* end confdefs.h. */
5543 #include <sys/types.h>
5544 #include <time.h>
5545
5546 int
5547 main ()
5548 {
5549 struct tm tm;
5550 int *p = &tm.tm_sec;
5551 return !p;
5552 ;
5553 return 0;
5554 }
5555 _ACEOF
5556 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
5557 ac_cv_struct_tm=time.h
5558 else
5559 ac_cv_struct_tm=sys/time.h
5560 fi
5561 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5562 fi
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5564 $as_echo "$ac_cv_struct_tm" >&6; }
5565 if testscip-shell system . . test. $ac_cv_struct_tm = sys/time.h; then
5566
5567 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5568
5569 fi
5570
5571 # The cast to long int works around a bug in the HP C Compiler
5572 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5573 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5574 # This bug is HP SR number 8606223364.
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned char" >&5
5576 $as_echo_n "checking size of unsigned char... " >&6; }
5577 if ${ac_cv_sizeof_unsigned_char+:} false; then :
5578 $as_echo_n "(cached) " >&6
5579 else
5580 if ac_fn_c_compute_intscip-shell shell dosbox 0.74-3-5 ac_fn_c_compute_int(). "$LINENO" "(long int) (sizeof (unsigned char))" "ac_cv_sizeof_unsigned_char" "$ac_includes_default"; then :
5581
5582 else
5583 if testscip-shell system . . test. "$ac_cv_type_unsigned_char" = yes; then
5584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5586 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). 77 "cannot compute sizeof (unsigned char)
5587 See \`config.log' for more details" "$LINENO" 5; }
5588 else
5589 ac_cv_sizeof_unsigned_char=0
5590 fi
5591 fi
5592
5593 fi
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_char" >&5
5595 $as_echo "$ac_cv_sizeof_unsigned_char" >&6; }
5596
5597
5598
5599 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
5600 #define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
5601 _ACEOF
5602
5603
5604 # The cast to long int works around a bug in the HP C Compiler
5605 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5606 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5607 # This bug is HP SR number 8606223364.
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
5609 $as_echo_n "checking size of unsigned short... " >&6; }
5610 if ${ac_cv_sizeof_unsigned_short+:} false; then :
5611 $as_echo_n "(cached) " >&6
5612 else
5613 if ac_fn_c_compute_intscip-shell shell dosbox 0.74-3-5 ac_fn_c_compute_int(). "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
5614
5615 else
5616 if testscip-shell system . . test. "$ac_cv_type_unsigned_short" = yes; then
5617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5619 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). 77 "cannot compute sizeof (unsigned short)
5620 See \`config.log' for more details" "$LINENO" 5; }
5621 else
5622 ac_cv_sizeof_unsigned_short=0
5623 fi
5624 fi
5625
5626 fi
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
5628 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
5629
5630
5631
5632 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
5633 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
5634 _ACEOF
5635
5636
5637 # The cast to long int works around a bug in the HP C Compiler
5638 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5639 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5640 # This bug is HP SR number 8606223364.
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
5642 $as_echo_n "checking size of unsigned int... " >&6; }
5643 if ${ac_cv_sizeof_unsigned_int+:} false; then :
5644 $as_echo_n "(cached) " >&6
5645 else
5646 if ac_fn_c_compute_intscip-shell shell dosbox 0.74-3-5 ac_fn_c_compute_int(). "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
5647
5648 else
5649 if testscip-shell system . . test. "$ac_cv_type_unsigned_int" = yes; then
5650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5652 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). 77 "cannot compute sizeof (unsigned int)
5653 See \`config.log' for more details" "$LINENO" 5; }
5654 else
5655 ac_cv_sizeof_unsigned_int=0
5656 fi
5657 fi
5658
5659 fi
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
5661 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
5662
5663
5664
5665 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
5666 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
5667 _ACEOF
5668
5669
5670 # The cast to long int works around a bug in the HP C Compiler
5671 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5672 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5673 # This bug is HP SR number 8606223364.
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
5675 $as_echo_n "checking size of unsigned long... " >&6; }
5676 if ${ac_cv_sizeof_unsigned_long+:} false; then :
5677 $as_echo_n "(cached) " >&6
5678 else
5679 if ac_fn_c_compute_intscip-shell shell dosbox 0.74-3-5 ac_fn_c_compute_int(). "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
5680
5681 else
5682 if testscip-shell system . . test. "$ac_cv_type_unsigned_long" = yes; then
5683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5685 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). 77 "cannot compute sizeof (unsigned long)
5686 See \`config.log' for more details" "$LINENO" 5; }
5687 else
5688 ac_cv_sizeof_unsigned_long=0
5689 fi
5690 fi
5691
5692 fi
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
5694 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
5695
5696
5697
5698 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
5699 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
5700 _ACEOF
5701
5702
5703 # The cast to long int works around a bug in the HP C Compiler
5704 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5705 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5706 # This bug is HP SR number 8606223364.
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long long" >&5
5708 $as_echo_n "checking size of unsigned long long... " >&6; }
5709 if ${ac_cv_sizeof_unsigned_long_long+:} false; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 if ac_fn_c_compute_intscip-shell shell dosbox 0.74-3-5 ac_fn_c_compute_int(). "$LINENO" "(long int) (sizeof (unsigned long long))" "ac_cv_sizeof_unsigned_long_long" "$ac_includes_default"; then :
5713
5714 else
5715 if testscip-shell system . . test. "$ac_cv_type_unsigned_long_long" = yes; then
5716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5718 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). 77 "cannot compute sizeof (unsigned long long)
5719 See \`config.log' for more details" "$LINENO" 5; }
5720 else
5721 ac_cv_sizeof_unsigned_long_long=0
5722 fi
5723 fi
5724
5725 fi
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long_long" >&5
5727 $as_echo "$ac_cv_sizeof_unsigned_long_long" >&6; }
5728
5729
5730
5731 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
5732 #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
5733 _ACEOF
5734
5735
5736 # The cast to long int works around a bug in the HP C Compiler
5737 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5738 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5739 # This bug is HP SR number 8606223364.
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int *" >&5
5741 $as_echo_n "checking size of int *... " >&6; }
5742 if ${ac_cv_sizeof_int_p+:} false; then :
5743 $as_echo_n "(cached) " >&6
5744 else
5745 if ac_fn_c_compute_intscip-shell shell dosbox 0.74-3-5 ac_fn_c_compute_int(). "$LINENO" "(long int) (sizeof (int *))" "ac_cv_sizeof_int_p" "$ac_includes_default"; then :
5746
5747 else
5748 if testscip-shell system . . test. "$ac_cv_type_int_p" = yes; then
5749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5751 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). 77 "cannot compute sizeof (int *)
5752 See \`config.log' for more details" "$LINENO" 5; }
5753 else
5754 ac_cv_sizeof_int_p=0
5755 fi
5756 fi
5757
5758 fi
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int_p" >&5
5760 $as_echo "$ac_cv_sizeof_int_p" >&6; }
5761
5762
5763
5764 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
5765 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
5766 _ACEOF
5767
5768
5769
5770 for ac_header in stdlib.h sys/types.h
5771 do :
5772 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5773 ac_fn_c_check_header_mongrelscip-shell shell dosbox 0.74-3-5 ac_fn_c_check_header_mongrel(). "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5774 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5775 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
5776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5777 _ACEOF
5778
5779 fi
5780
5781 done
5782
5783 for ac_header in sys/socket.h netinet/in.h pwd.h
5784 do :
5785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5786 ac_fn_c_check_header_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_check_header_compile(). "$LINENO" "$ac_header" "$as_ac_Header" "#include <stdio.h>
5787 #ifdef STDC_HEADERS
5788 # include <stdlib.h>
5789 # include <stddef.h>
5790 #else
5791 # ifdef HAVE_STDLIB_H
5792 # include <stdlib.h>
5793 # endif
5794 #endif
5795 #ifdef HAVE_SYS_TYPES_H
5796 # include <sys/types.h>
5797 #endif
5798
5799 "
5800 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5801 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
5802 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5803 _ACEOF
5804
5805 fi
5806
5807 done
5808
5809
5810 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5811 /* end confdefs.h. */
5812
5813 #include <stdio.h>
5814 #ifdef STDC_HEADERS
5815 # include <stdlib.h>
5816 # include <stddef.h>
5817 #else
5818 # ifdef HAVE_STDLIB_H
5819 # include <stdlib.h>
5820 # endif
5821 #endif
5822 #ifdef HAVE_SYS_TYPES_H
5823 # include <sys/types.h>
5824 #endif
5825 #ifdef HAVE_SYS_SOCKET_H
5826 #include <sys/socket.h>
5827 #endif
5828
5829 _ACEOF
5830 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
5831
5832 else
5833
5834 $as_echo "#define socklen_t int" >>confdefs.h
5835
5836 fi
5837 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5838
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ can be included" >&5
5840 $as_echo_n "checking if environ can be included... " >&6; }
5841 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5842 /* end confdefs.h. */
5843
5844 #include <unistd.h>
5845 #include <stdlib.h>
5846 int
5847 main ()
5848 {
5849 *environ;
5850 ;
5851 return 0;
5852 }
5853 _ACEOF
5854 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5856 $as_echo "yes" >&6; };
5857 $as_echo "#define ENVIRON_INCLUDED 1" >>confdefs.h
5858
5859 else
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861 $as_echo "no" >&6; }
5862 fi
5863 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
5864 conftest$ac_exeext conftest.$ac_ext
5865
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ can be linked" >&5
5867 $as_echo_n "checking if environ can be linked... " >&6; }
5868 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5869 /* end confdefs.h. */
5870 extern char ** environ;
5871 int
5872 main ()
5873 {
5874 *environ;
5875 ;
5876 return 0;
5877 }
5878 _ACEOF
5879 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5881 $as_echo "yes" >&6; };
5882 $as_echo "#define ENVIRON_LINKED 1" >>confdefs.h
5883
5884 else
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5887 fi
5888 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
5889 conftest$ac_exeext conftest.$ac_ext
5890
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if dirent includes d_type" >&5
5892 $as_echo_n "checking if dirent includes d_type... " >&6; }
5893 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5894 /* end confdefs.h. */
5895
5896 #include <sys/types.h>
5897 #include <dirent.h>
5898 void blah(){
5899 struct dirent d_test;
5900 d_test.d_type = 0;
5901 }
5902 _ACEOF
5903 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5905 $as_echo "yes" >&6; };
5906 $as_echo "#define DIRENT_HAS_D_TYPE 1" >>confdefs.h
5907
5908 else
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5910 $as_echo "no" >&6; }
5911 fi
5912 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5913
5914
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in libm" >&5
5916 $as_echo_n "checking for powf in libm... " >&6; };
5917 LIBS_BACKUP=$LIBS;
5918 LIBS="$LIBS -lm";
5919 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5920 /* end confdefs.h. */
5921 #include <math.h>
5922 int
5923 main ()
5924 {
5925
5926 powf(1.0f, 1.0f);
5927
5928 ;
5929 return 0;
5930 }
5931 _ACEOF
5932 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5934 $as_echo "yes" >&6; }
5935 else
5936
5937 $as_echo "#define DB_HAVE_NO_POWF 1" >>confdefs.h
5938
5939 fi
5940 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
5941 conftest$ac_exeext conftest.$ac_ext
5942 LIBS=$LIBS_BACKUP
5943
5944
5945
5946 #Check if the compiler support attributes
5947
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler allows __attribute__" >&5
5949 $as_echo_n "checking if compiler allows __attribute__... " >&6; }
5950 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5951 /* end confdefs.h. */
5952
5953 typedef struct { } __attribute__((packed)) junk;
5954 int
5955 main ()
5956 {
5957
5958 ;
5959 return 0;
5960 }
5961 _ACEOF
5962 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5964 $as_echo "yes" >&6; };$as_echo "#define C_HAS_ATTRIBUTE 1" >>confdefs.h
5965
5966 else
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5968 $as_echo "no" >&6; }
5969 fi
5970 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5971
5972
5973 #Check if the compiler supports certain attributes
5974 OLDCFLAGS="$CFLAGS"
5975 CFLAGS="-Werror"
5976
5977
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler allows __attribute__((always_inline)) " >&5
5979 $as_echo_n "checking if compiler allows __attribute__((always_inline)) ... " >&6; }
5980 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5981 /* end confdefs.h. */
5982 inline void __attribute__((always_inline)) test(){}
5983
5984 _ACEOF
5985 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5987 $as_echo "yes" >&6; };$as_echo "#define C_ATTRIBUTE_ALWAYS_INLINE 1" >>confdefs.h
5988
5989 else
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5991 $as_echo "no" >&6; }
5992 fi
5993 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5994
5995
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler allows __attribute__((fastcall)) " >&5
5997 $as_echo_n "checking if compiler allows __attribute__((fastcall)) ... " >&6; }
5998 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5999 /* end confdefs.h. */
6000 void __attribute__((fastcall)) test(){}
6001
6002 _ACEOF
6003 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6005 $as_echo "yes" >&6; };$as_echo "#define C_ATTRIBUTE_FASTCALL 1" >>confdefs.h
6006
6007 else
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6009 $as_echo "no" >&6; }
6010 fi
6011 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6012
6013
6014 CFLAGS="$OLDCFLAGS"
6015
6016
6017 #Check if the compiler supports __builtin_expect
6018 #Switch language to c++
6019 ac_ext=cpp
6020 ac_cpp='$CXXCPP $CPPFLAGS'
6021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6024
6025
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler allows __builtin_expect" >&5
6027 $as_echo_n "checking if compiler allows __builtin_expect... " >&6; }
6028
6029 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6030 /* end confdefs.h. */
6031
6032 int
6033 main ()
6034 {
6035
6036 int x=10;if( __builtin_expect ((x==1),0) ) ;
6037
6038 ;
6039 return 0;
6040 }
6041 _ACEOF
6042 if ac_fn_cxx_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_cxx_try_compile(). "$LINENO"; then :
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6044 $as_echo "yes" >&6; };$as_echo "#define C_HAS_BUILTIN_EXPECT 1" >>confdefs.h
6045
6046 else
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 $as_echo "no" >&6; }
6049 fi
6050 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6051 #switch language back
6052 ac_ext=c
6053 ac_cpp='$CPP $CPPFLAGS'
6054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6057
6058
6059 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991
6060 BACKUP_CFLAGS="$CFLAGS"
6061 CFLAGS="-mno-ms-bitfields"
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mno-ms-bitfields" >&5
6063 $as_echo_n "checking if compiler supports -mno-ms-bitfields... " >&6; }
6064 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6065 /* end confdefs.h. */
6066
6067 void blah(){
6068 ;
6069 }
6070
6071 _ACEOF
6072 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
6073
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6075 $as_echo "yes" >&6; }
6076 CXXFLAGS="$CXXFLAGS -mno-ms-bitfields"
6077
6078 else
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 $as_echo "no" >&6; }
6081 fi
6082 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6083 CFLAGS="$BACKUP_CFLAGS"
6084
6085 # Check whether --enable-alsa-midi was given.
6086 if testscip-shell system . . test. "${enable_alsa_midi+set}" = set; then :
6087 enableval=$enable_alsa_midi; case "${enableval}" in
6088 yes) alsa_midi=true;;
6089 no) alsa_midi=false;;
6090 esac
6091 else
6092 alsa_midi=true
6093 fi
6094
6095 if testscip-shell system . . test. x$alsa_midi = xtrue ; then
6096 alsa_save_CFLAGS="$CFLAGS"
6097 alsa_save_LDFLAGS="$LDFLAGS"
6098 alsa_save_LIBS="$LIBS"
6099 alsa_found=yes
6100
6101
6102 # Check whether --with-alsa-prefix was given.
6103 if testscip-shell system . . test. "${with_alsa_prefix+set}" = set; then :
6104 withval=$with_alsa_prefix; alsa_prefix="$withval"
6105 else
6106 alsa_prefix=""
6107 fi
6108
6109
6110
6111 # Check whether --with-alsa-inc-prefix was given.
6112 if testscip-shell system . . test. "${with_alsa_inc_prefix+set}" = set; then :
6113 withval=$with_alsa_inc_prefix; alsa_inc_prefix="$withval"
6114 else
6115 alsa_inc_prefix=""
6116 fi
6117
6118
6119 # Check whether --enable-alsatest was given.
6120 if testscip-shell system . . test. "${enable_alsatest+set}" = set; then :
6121 enableval=$enable_alsatest; enable_alsatest=no
6122 else
6123 enable_alsatest=yes
6124 fi
6125
6126
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA CFLAGS" >&5
6128 $as_echo_n "checking for ALSA CFLAGS... " >&6; }
6129 if testscip-shell system . . test. "$alsa_inc_prefix" != "" ; then
6130 ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix"
6131 CFLAGS="$CFLAGS -I$alsa_inc_prefix"
6132 fi
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5
6134 $as_echo "$ALSA_CFLAGS" >&6; }
6135
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA LDFLAGS" >&5
6137 $as_echo_n "checking for ALSA LDFLAGS... " >&6; }
6138 if testscip-shell system . . test. "$alsa_prefix" != "" ; then
6139 ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix"
6140 LDFLAGS="$LDFLAGS $ALSA_LIBS"
6141 fi
6142
6143 ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
6144 LIBS=`echoscip-shell system . . echo. $LIBS | sedscip-shell system . . sed. 's/-lm//'`
6145 LIBS=`echoscip-shell system . . echo. $LIBS | sedscip-shell system . . sed. 's/-ldl//'`
6146 LIBS=`echoscip-shell system . . echo. $LIBS | sedscip-shell system . . sed. 's/-lpthread//'`
6147 LIBS=`echoscip-shell system . . echo. $LIBS | sedscip-shell system . . sed. 's/ //'`
6148 LIBS="$ALSA_LIBS $LIBS"
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5
6150 $as_echo "$ALSA_LIBS" >&6; }
6151
6152 min_alsa_version=0.9.0
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libasound headers version >= $min_alsa_version" >&5
6154 $as_echo_n "checking for libasound headers version >= $min_alsa_version... " >&6; }
6155 no_alsa=""
6156 alsa_min_major_version=`echoscip-shell system . . echo. $min_alsa_version | \
6157 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
6158 alsa_min_minor_version=`echoscip-shell system . . echo. $min_alsa_version | \
6159 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
6160 alsa_min_micro_version=`echoscip-shell system . . echo. $min_alsa_version | \
6161 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
6162
6163
6164 ac_ext=c
6165 ac_cpp='$CPP $CPPFLAGS'
6166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6169
6170 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6171 /* end confdefs.h. */
6172
6173 #include <alsa/asoundlib.h>
6174
6175 int
6176 main ()
6177 {
6178
6179 /* ensure backward compatibility */
6180 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
6181 #define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR
6182 #endif
6183 #if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR)
6184 #define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR
6185 #endif
6186 #if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR)
6187 #define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR
6188 #endif
6189
6190 # if(SND_LIB_MAJOR > $alsa_min_major_version)
6191 exit(0);
6192 # else
6193 # if(SND_LIB_MAJOR < $alsa_min_major_version)
6194 # error not present
6195 # endif
6196
6197 # if(SND_LIB_MINOR > $alsa_min_minor_version)
6198 exit(0);
6199 # else
6200 # if(SND_LIB_MINOR < $alsa_min_minor_version)
6201 # error not present
6202 # endif
6203
6204 # if(SND_LIB_SUBMINOR < $alsa_min_micro_version)
6205 # error not present
6206 # endif
6207 # endif
6208 # endif
6209 exit(0);
6210
6211 ;
6212 return 0;
6213 }
6214 _ACEOF
6215 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found." >&5
6217 $as_echo "found." >&6; }
6218 else
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not present." >&5
6220 $as_echo "not present." >&6; }
6221
6222 alsa_found=no
6223
6224 fi
6225 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6226 ac_ext=c
6227 ac_cpp='$CPP $CPPFLAGS'
6228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6231
6232
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_ctl_open in -lasound" >&5
6234 $as_echo_n "checking for snd_ctl_open in -lasound... " >&6; }
6235 if ${ac_cv_lib_asound_snd_ctl_open+:} false; then :
6236 $as_echo_n "(cached) " >&6
6237 else
6238 ac_check_lib_save_LIBS=$LIBS
6239 LIBS="-lasound $LIBS"
6240 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6241 /* end confdefs.h. */
6242
6243 /* Override any GCC internal prototype to avoid an error.
6244 Use char because int might match the return type of a GCC
6245 builtin and then its argument prototype would still apply. */
6246 #ifdef __cplusplus
6247 extern "C"
6248 #endif
6249 char snd_ctl_open ();
6250 int
6251 main ()
6252 {
6253 return snd_ctl_open ();
6254 ;
6255 return 0;
6256 }
6257 _ACEOF
6258 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
6259 ac_cv_lib_asound_snd_ctl_open=yes
6260 else
6261 ac_cv_lib_asound_snd_ctl_open=no
6262 fi
6263 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
6264 conftest$ac_exeext conftest.$ac_ext
6265 LIBS=$ac_check_lib_save_LIBS
6266 fi
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_ctl_open" >&5
6268 $as_echo "$ac_cv_lib_asound_snd_ctl_open" >&6; }
6269 if testscip-shell system . . test. "x$ac_cv_lib_asound_snd_ctl_open" = xyes; then :
6270 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
6271 #define HAVE_LIBASOUND 1
6272 _ACEOF
6273
6274 LIBS="-lasound $LIBS"
6275
6276 else
6277
6278 alsa_found=no
6279
6280 fi
6281
6282
6283 if testscip-shell system . . test. "x$alsa_found" = "xyes" ; then
6284
6285 $as_echo "#define HAVE_ALSA 1" >>confdefs.h
6286
6287 LIBS=`echoscip-shell system . . echo. $LIBS | sedscip-shell system . . sed. 's/-lasound//g'`
6288 LIBS=`echoscip-shell system . . echo. $LIBS | sedscip-shell system . . sed. 's/ //'`
6289 LIBS="-lasound $LIBS"
6290 fi
6291 if testscip-shell system . . test. "x$alsa_found" = "xno" ; then
6292 :
6293 CFLAGS="$alsa_save_CFLAGS"
6294 LDFLAGS="$alsa_save_LDFLAGS"
6295 LIBS="$alsa_save_LIBS"
6296 ALSA_CFLAGS=""
6297 ALSA_LIBS=""
6298 fi
6299
6300
6301
6302
6303 CXXFLAGS="$CXXFLAGS $ALSA_CFLAGS"
6304 fi
6305
6306 #Check for big endian machine, should #define WORDS_BIGENDIAN if so
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
6308 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
6309 if ${ac_cv_c_bigendian+:} false; then :
6310 $as_echo_n "(cached) " >&6
6311 else
6312 ac_cv_c_bigendian=unknown
6313 # See if we're dealing with a universal compiler.
6314 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6315 /* end confdefs.h. */
6316 #ifndef __APPLE_CC__
6317 not a universal capable compiler
6318 #endif
6319 typedef int dummy;
6320
6321 _ACEOF
6322 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
6323
6324 # Check for potential -arch flags. It is not universal unless
6325 # there are at least two -arch flags with different values.
6326 ac_arch=
6327 ac_prev=
6328 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
6329 if testscip-shell system . . test. -n "$ac_prev"; then
6330 case $ac_word in
6331 i?86 | x86_64 | ppc | ppc64)
6332 if testscip-shell system . . test. -z "$ac_arch" || testscip-shell system . . test. "$ac_arch" = "$ac_word"; then
6333 ac_arch=$ac_word
6334 else
6335 ac_cv_c_bigendian=universal
6336 break
6337 fi
6338 ;;
6339 esac
6340 ac_prev=
6341 elif testscip-shell system . . test. "x$ac_word" = "x-arch"; then
6342 ac_prev=arch
6343 fi
6344 done
6345 fi
6346 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6347 if testscip-shell system . . test. $ac_cv_c_bigendian = unknown; then
6348 # See if sys/param.h defines the BYTE_ORDER macro.
6349 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6350 /* end confdefs.h. */
6351 #include <sys/types.h>
6352 #include <sys/param.h>
6353
6354 int
6355 main ()
6356 {
6357 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6358 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6359 && LITTLE_ENDIAN)
6360 bogus endian macros
6361 #endif
6362
6363 ;
6364 return 0;
6365 }
6366 _ACEOF
6367 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
6368 # It does; now see whether it defined to BIG_ENDIAN or not.
6369 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6370 /* end confdefs.h. */
6371 #include <sys/types.h>
6372 #include <sys/param.h>
6373
6374 int
6375 main ()
6376 {
6377 #if BYTE_ORDER != BIG_ENDIAN
6378 not big endian
6379 #endif
6380
6381 ;
6382 return 0;
6383 }
6384 _ACEOF
6385 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
6386 ac_cv_c_bigendian=yes
6387 else
6388 ac_cv_c_bigendian=no
6389 fi
6390 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6391 fi
6392 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6393 fi
6394 if testscip-shell system . . test. $ac_cv_c_bigendian = unknown; then
6395 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6396 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6397 /* end confdefs.h. */
6398 #include <limits.h>
6399
6400 int
6401 main ()
6402 {
6403 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6404 bogus endian macros
6405 #endif
6406
6407 ;
6408 return 0;
6409 }
6410 _ACEOF
6411 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
6412 # It does; now see whether it defined to _BIG_ENDIAN or not.
6413 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6414 /* end confdefs.h. */
6415 #include <limits.h>
6416
6417 int
6418 main ()
6419 {
6420 #ifndef _BIG_ENDIAN
6421 not big endian
6422 #endif
6423
6424 ;
6425 return 0;
6426 }
6427 _ACEOF
6428 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
6429 ac_cv_c_bigendian=yes
6430 else
6431 ac_cv_c_bigendian=no
6432 fi
6433 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6434 fi
6435 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6436 fi
6437 if testscip-shell system . . test. $ac_cv_c_bigendian = unknown; then
6438 # Compile a test program.
6439 if testscip-shell system . . test. "$cross_compiling" = yes; then :
6440 # Try to guess by grepping values from an object file.
6441 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6442 /* end confdefs.h. */
6443 short int ascii_mm[] =
6444 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6445 short int ascii_ii[] =
6446 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6447 int use_ascii (int i) {
6448 return ascii_mm[i] + ascii_ii[i];
6449 }
6450 short int ebcdic_ii[] =
6451 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6452 short int ebcdic_mm[] =
6453 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6454 int use_ebcdic (int i) {
6455 return ebcdic_mm[i] + ebcdic_ii[i];
6456 }
6457 extern int foo;
6458
6459 int
6460 main ()
6461 {
6462 return use_ascii (foo) == use_ebcdic (foo);
6463 ;
6464 return 0;
6465 }
6466 _ACEOF
6467 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
6468 if grepscip-shell system . . grep. BIGenDianSyS conftest.$ac_objext >/dev/nullscip-shell filesystem . . `/dev/null`.; then
6469 ac_cv_c_bigendian=yes
6470 fi
6471 if grepscip-shell system . . grep. LiTTleEnDian conftest.$ac_objext >/dev/nullscip-shell filesystem . . `/dev/null`. ; then
6472 if testscip-shell system . . test. "$ac_cv_c_bigendian" = unknown; then
6473 ac_cv_c_bigendian=no
6474 else
6475 # finding both strings is unlikely to happen, but who knows?
6476 ac_cv_c_bigendian=unknown
6477 fi
6478 fi
6479 fi
6480 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6481 else
6482 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6483 /* end confdefs.h. */
6484 $ac_includes_default
6485 int
6486 main ()
6487 {
6488
6489 /* Are we little or big endian? From Harbison&Steele. */
6490 union
6491 {
6492 long int l;
6493 char c[sizeof (long int)];
6494 } u;
6495 u.l = 1;
6496 return u.c[sizeof (long int) - 1] == 1;
6497
6498 ;
6499 return 0;
6500 }
6501 _ACEOF
6502 if ac_fn_c_try_runscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_run(). "$LINENO"; then :
6503 ac_cv_c_bigendian=no
6504 else
6505 ac_cv_c_bigendian=yes
6506 fi
6507 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6508 conftest.$ac_objext conftest.beam conftest.$ac_ext
6509 fi
6510
6511 fi
6512 fi
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6514 $as_echo "$ac_cv_c_bigendian" >&6; }
6515 case $ac_cv_c_bigendian in #(
6516 yes)
6517 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6518 ;; #(
6519 no)
6520 ;; #(
6521 universal)
6522
6523 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6524
6525 ;; #(
6526 *)
6527 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "unknown endianness
6528 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6529 esac
6530
6531
6532 #Features to enable/disable
6533
6534
6535 # Check whether --enable-debug was given.
6536 if testscip-shell system . . test. "${enable_debug+set}" = set; then :
6537 enableval=$enable_debug;
6538 ac_fn_c_check_header_mongrelscip-shell shell dosbox 0.74-3-5 ac_fn_c_check_header_mongrel(). "$LINENO" "curses.h" "ac_cv_header_curses_h" "$ac_includes_default"
6539 if testscip-shell system . . test. "x$ac_cv_header_curses_h" = xyes; then :
6540 have_curses_h=yes
6541 fi
6542
6543
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcurses" >&5
6545 $as_echo_n "checking for initscr in -lcurses... " >&6; }
6546 if ${ac_cv_lib_curses_initscr+:} false; then :
6547 $as_echo_n "(cached) " >&6
6548 else
6549 ac_check_lib_save_LIBS=$LIBS
6550 LIBS="-lcurses $LIBS"
6551 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6552 /* end confdefs.h. */
6553
6554 /* Override any GCC internal prototype to avoid an error.
6555 Use char because int might match the return type of a GCC
6556 builtin and then its argument prototype would still apply. */
6557 #ifdef __cplusplus
6558 extern "C"
6559 #endif
6560 char initscr ();
6561 int
6562 main ()
6563 {
6564 return initscr ();
6565 ;
6566 return 0;
6567 }
6568 _ACEOF
6569 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
6570 ac_cv_lib_curses_initscr=yes
6571 else
6572 ac_cv_lib_curses_initscr=no
6573 fi
6574 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
6575 conftest$ac_exeext conftest.$ac_ext
6576 LIBS=$ac_check_lib_save_LIBS
6577 fi
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_initscr" >&5
6579 $as_echo "$ac_cv_lib_curses_initscr" >&6; }
6580 if testscip-shell system . . test. "x$ac_cv_lib_curses_initscr" = xyes; then :
6581 have_curses_lib=yes
6582 fi
6583
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
6585 $as_echo_n "checking for initscr in -lncurses... " >&6; }
6586 if ${ac_cv_lib_ncurses_initscr+:} false; then :
6587 $as_echo_n "(cached) " >&6
6588 else
6589 ac_check_lib_save_LIBS=$LIBS
6590 LIBS="-lncurses $LIBS"
6591 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6592 /* end confdefs.h. */
6593
6594 /* Override any GCC internal prototype to avoid an error.
6595 Use char because int might match the return type of a GCC
6596 builtin and then its argument prototype would still apply. */
6597 #ifdef __cplusplus
6598 extern "C"
6599 #endif
6600 char initscr ();
6601 int
6602 main ()
6603 {
6604 return initscr ();
6605 ;
6606 return 0;
6607 }
6608 _ACEOF
6609 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
6610 ac_cv_lib_ncurses_initscr=yes
6611 else
6612 ac_cv_lib_ncurses_initscr=no
6613 fi
6614 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
6615 conftest$ac_exeext conftest.$ac_ext
6616 LIBS=$ac_check_lib_save_LIBS
6617 fi
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
6619 $as_echo "$ac_cv_lib_ncurses_initscr" >&6; }
6620 if testscip-shell system . . test. "x$ac_cv_lib_ncurses_initscr" = xyes; then :
6621 have_ncurses_lib=yes
6622 fi
6623
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lpdcurses" >&5
6625 $as_echo_n "checking for initscr in -lpdcurses... " >&6; }
6626 if ${ac_cv_lib_pdcurses_initscr+:} false; then :
6627 $as_echo_n "(cached) " >&6
6628 else
6629 ac_check_lib_save_LIBS=$LIBS
6630 LIBS="-lpdcurses $LIBS"
6631 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6632 /* end confdefs.h. */
6633
6634 /* Override any GCC internal prototype to avoid an error.
6635 Use char because int might match the return type of a GCC
6636 builtin and then its argument prototype would still apply. */
6637 #ifdef __cplusplus
6638 extern "C"
6639 #endif
6640 char initscr ();
6641 int
6642 main ()
6643 {
6644 return initscr ();
6645 ;
6646 return 0;
6647 }
6648 _ACEOF
6649 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
6650 ac_cv_lib_pdcurses_initscr=yes
6651 else
6652 ac_cv_lib_pdcurses_initscr=no
6653 fi
6654 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
6655 conftest$ac_exeext conftest.$ac_ext
6656 LIBS=$ac_check_lib_save_LIBS
6657 fi
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pdcurses_initscr" >&5
6659 $as_echo "$ac_cv_lib_pdcurses_initscr" >&6; }
6660 if testscip-shell system . . test. "x$ac_cv_lib_pdcurses_initscr" = xyes; then :
6661 have_pdcurses_lib=yes
6662 fi
6663
6664
6665 if testscip-shell system . . test. x$enable_debug = xno; then
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Debugger not enabled" >&5
6667 $as_echo "Debugger not enabled" >&6; }
6668 elif testscip-shell system . . test. x$have_ncurses_lib = xyes -a x$have_curses_h = xyes ; then
6669 LIBS="$LIBS -lncurses"
6670 $as_echo "#define C_DEBUG 1" >>confdefs.h
6671
6672 if testscip-shell system . . test. x$enable_debug = xheavy ; then
6673 $as_echo "#define C_HEAVY_DEBUG 1" >>confdefs.h
6674
6675 fi
6676 elif testscip-shell system . . test. x$have_curses_lib = xyes -a x$have_curses_h = xyes ; then
6677 LIBS="$LIBS -lcurses"
6678 $as_echo "#define C_DEBUG 1" >>confdefs.h
6679
6680 if testscip-shell system . . test. x$enable_debug = xheavy ; then
6681 $as_echo "#define C_HEAVY_DEBUG 1" >>confdefs.h
6682
6683 fi
6684 elif testscip-shell system . . test. x$have_pdcurses_lib = xyes -a x$have_curses_h = xyes ; then
6685 LIBS="$LIBS -lpdcurses"
6686 $as_echo "#define C_DEBUG 1" >>confdefs.h
6687
6688 if testscip-shell system . . test. x$enable_debug = xheavy ; then
6689 $as_echo "#define C_HEAVY_DEBUG 1" >>confdefs.h
6690
6691 fi
6692 else
6693 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "Can't find curses, which is required for debug mode" "$LINENO" 5
6694 fi
6695
6696 fi
6697
6698
6699
6700 # Check whether --enable-core-inline was given.
6701 if testscip-shell system . . test. "${enable_core_inline+set}" = set; then :
6702 enableval=$enable_core_inline;
6703 if testscip-shell system . . test. x$enable_core_inline = xyes ; then
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabling inlined memory handling in CPU Core" >&5
6705 $as_echo "enabling inlined memory handling in CPU Core" >&6; }
6706 $as_echo "#define C_CORE_INLINE 1" >>confdefs.h
6707
6708 fi
6709
6710 fi
6711
6712
6713
6714
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu type" >&5
6716 $as_echo_n "checking for target cpu type... " >&6; }
6717 case "$host_cpu" in
6718 x86_64 | amd64)
6719 $as_echo "#define C_TARGETCPU X86_64" >>confdefs.h
6720
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: x86-64 bit compatible" >&5
6722 $as_echo "x86-64 bit compatible" >&6; }
6723 c_targetcpu="x86_64"
6724 c_unalignedmemory=yes
6725 ;;
6726 i?86)
6727 $as_echo "#define C_TARGETCPU X86" >>confdefs.h
6728
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: x86 compatible" >&5
6730 $as_echo "x86 compatible" >&6; }
6731 c_targetcpu="x86"
6732 c_unalignedmemory=yes
6733 ;;
6734 powerpc*)
6735 $as_echo "#define C_TARGETCPU POWERPC" >>confdefs.h
6736
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Power PC" >&5
6738 $as_echo "Power PC" >&6; }
6739 c_targetcpu="powerpc"
6740 c_unalignedmemory=yes
6741 ;;
6742 m68k*)
6743 $as_echo "#define C_TARGETCPU M68K" >>confdefs.h
6744
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Motorola 68000" >&5
6746 $as_echo "Motorola 68000" >&6; }
6747 c_targetcpu="m68k"
6748 c_unalignedmemory=yes
6749 ;;
6750 *)
6751 $as_echo "#define C_TARGETCPU UNKNOWN" >>confdefs.h
6752
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
6754 $as_echo "unknown" >&6; }
6755 c_unalignedmemory=no
6756 ;;
6757 esac
6758
6759 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6760 /* end confdefs.h. */
6761
6762 #if SIZEOF_INT_P != 4
6763 #error size intp is not 4, this not something to worry about
6764 #endif
6765 void blah() {
6766 ;
6767 }
6768
6769 _ACEOF
6770 if ac_fn_c_try_compilescip-shell shell dosbox 0.74-3-5 ac_fn_c_try_compile(). "$LINENO"; then :
6771 c_sizep=4
6772 else
6773 c_sizep=0
6774 fi
6775 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6776
6777
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Apple user wants to override the build process to produce a 32 bit binary" >&5
6779 $as_echo_n "checking whether Apple user wants to override the build process to produce a 32 bit binary... " >&6; }
6780 case "$host" in
6781 *-*-darwin*)
6782 if testscip-shell system . . test. x$c_targetcpu = xx86_64 -a x$c_sizep = x4 ; then
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6784 $as_echo "yes" >&6; }
6785 $as_echo "#define C_TARGETCPU X86" >>confdefs.h
6786
6787 c_targetcpu="x86"
6788 else
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 $as_echo "no" >&6; }
6791 fi
6792 ;;
6793 *)
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, not on Apple" >&5
6795 $as_echo "no, not on Apple" >&6; }
6796 ;;
6797 esac
6798
6799 # Check whether --enable-dynamic-core was given.
6800 if testscip-shell system . . test. "${enable_dynamic_core+set}" = set; then :
6801 enableval=$enable_dynamic_core;
6802 else
6803 enable_dynamic_core=yes
6804 fi
6805
6806
6807
6808 # Check whether --enable-dynamic-x86 was given.
6809 if testscip-shell system . . test. "${enable_dynamic_x86+set}" = set; then :
6810 enableval=$enable_dynamic_x86;
6811 else
6812 enable_dynamic_x86=yes
6813 fi
6814
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether x86 dynamic cpu core will be enabled" >&5
6816 $as_echo_n "checking whether x86 dynamic cpu core will be enabled... " >&6; }
6817 if testscip-shell system . . test. x$enable_dynamic_x86 = xno -o x$enable_dynamic_core = xno; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819 $as_echo "no" >&6; }
6820 else
6821 if testscip-shell system . . test. x$c_targetcpu = xx86 ; then
6822 $as_echo "#define C_DYNAMIC_X86 1" >>confdefs.h
6823
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6825 $as_echo "yes" >&6; }
6826 else
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6828 $as_echo "no" >&6; }
6829 fi
6830 fi
6831
6832
6833 # Check whether --enable-dynrec was given.
6834 if testscip-shell system . . test. "${enable_dynrec+set}" = set; then :
6835 enableval=$enable_dynrec;
6836 else
6837 enable_dynrec=yes
6838 fi
6839
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether recompiling cpu core will be enabled" >&5
6841 $as_echo_n "checking whether recompiling cpu core will be enabled... " >&6; }
6842 if testscip-shell system . . test. x$enable_dynrec = xno -o x$enable_dynamic_core = xno; then
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6844 $as_echo "no" >&6; }
6845 else
6846 if testscip-shell system . . test. x$c_targetcpu = xx86 ; then
6847 if testscip-shell system . . test. x$enable_dynamic_x86 = xno ; then
6848 $as_echo "#define C_DYNREC 1" >>confdefs.h
6849
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6851 $as_echo "yes" >&6; }
6852 else
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using dynamic-x86" >&5
6854 $as_echo "no, using dynamic-x86" >&6; }
6855 fi
6856 else
6857 if testscip-shell system . . test. x$c_targetcpu = xx86_64 ; then
6858 $as_echo "#define C_DYNREC 1" >>confdefs.h
6859
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6861 $as_echo "yes" >&6; }
6862 else
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6864 $as_echo "no" >&6; }
6865 fi
6866 fi
6867 fi
6868
6869
6870 # Check whether --enable-fpu was given.
6871 if testscip-shell system . . test. "${enable_fpu+set}" = set; then :
6872 enableval=$enable_fpu;
6873 else
6874 enable_fpu=yes
6875 fi
6876
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpu emulation will be enabled" >&5
6878 $as_echo_n "checking whether fpu emulation will be enabled... " >&6; }
6879 if testscip-shell system . . test. x$enable_fpu = xyes ; then
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6881 $as_echo "yes" >&6; }
6882 $as_echo "#define C_FPU 1" >>confdefs.h
6883
6884 else
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6886 $as_echo "no" >&6; }
6887 fi
6888
6889
6890 # Check whether --enable-fpu-x86 was given.
6891 if testscip-shell system . . test. "${enable_fpu_x86+set}" = set; then :
6892 enableval=$enable_fpu_x86;
6893 else
6894 enable_fpu_x86=yes
6895 fi
6896
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether x86 assembly fpu core will be enabled" >&5
6898 $as_echo_n "checking whether x86 assembly fpu core will be enabled... " >&6; }
6899 if testscip-shell system . . test. x$enable_fpu_x86 = xno ; then
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901 $as_echo "no" >&6; }
6902 else
6903 if testscip-shell system . . test. x$enable_fpu = xyes; then
6904 if testscip-shell system . . test. x$c_targetcpu = xx86 ; then
6905 $as_echo "#define C_FPU_X86 1" >>confdefs.h
6906
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6908 $as_echo "yes" >&6; }
6909 else
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6912 fi
6913 else
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6915 $as_echo "no" >&6; }
6916 fi
6917 fi
6918
6919
6920 # Check whether --enable-unaligned_memory was given.
6921 if testscip-shell system . . test. "${enable_unaligned_memory+set}" = set; then :
6922 enableval=$enable_unaligned_memory;
6923 else
6924 enable_unaligned_memory=yes
6925 fi
6926
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable unaligned memory access" >&5
6928 $as_echo_n "checking whether to enable unaligned memory access... " >&6; }
6929 if testscip-shell system . . test. x$enable_unaligned_memory = xyes -a x$c_unalignedmemory = xyes; then
6930 $as_echo "#define C_UNALIGNED_MEMORY 1" >>confdefs.h
6931
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6933 $as_echo "yes" >&6; }
6934 else
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6936 $as_echo "no" >&6; }
6937 fi
6938
6939
6940 ac_fn_c_check_header_mongrelscip-shell shell dosbox 0.74-3-5 ac_fn_c_check_header_mongrel(). "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
6941 if testscip-shell system . . test. "x$ac_cv_header_png_h" = xyes; then :
6942 have_png_h=yes
6943 fi
6944
6945
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_io_ptr in -lpng" >&5
6947 $as_echo_n "checking for png_get_io_ptr in -lpng... " >&6; }
6948 if ${ac_cv_lib_png_png_get_io_ptr+:} false; then :
6949 $as_echo_n "(cached) " >&6
6950 else
6951 ac_check_lib_save_LIBS=$LIBS
6952 LIBS="-lpng -lz $LIBS"
6953 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6954 /* end confdefs.h. */
6955
6956 /* Override any GCC internal prototype to avoid an error.
6957 Use char because int might match the return type of a GCC
6958 builtin and then its argument prototype would still apply. */
6959 #ifdef __cplusplus
6960 extern "C"
6961 #endif
6962 char png_get_io_ptr ();
6963 int
6964 main ()
6965 {
6966 return png_get_io_ptr ();
6967 ;
6968 return 0;
6969 }
6970 _ACEOF
6971 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
6972 ac_cv_lib_png_png_get_io_ptr=yes
6973 else
6974 ac_cv_lib_png_png_get_io_ptr=no
6975 fi
6976 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
6977 conftest$ac_exeext conftest.$ac_ext
6978 LIBS=$ac_check_lib_save_LIBS
6979 fi
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_io_ptr" >&5
6981 $as_echo "$ac_cv_lib_png_png_get_io_ptr" >&6; }
6982 if testscip-shell system . . test. "x$ac_cv_lib_png_png_get_io_ptr" = xyes; then :
6983 have_png_lib=yes
6984 fi
6985
6986 if testscip-shell system . . test. x$have_png_lib = xyes -a x$have_png_h = xyes ; then
6987 LIBS="$LIBS -lpng -lz"
6988 $as_echo "#define C_SSHOT 1" >>confdefs.h
6989
6990 else
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find libpng, screenshot support disabled" >&5
6992 $as_echo "$as_me: WARNING: Can't find libpng, screenshot support disabled" >&2;}
6993 fi
6994
6995
6996
6997 ac_fn_c_check_header_mongrelscip-shell shell dosbox 0.74-3-5 ac_fn_c_check_header_mongrel(). "$LINENO" "SDL_net.h" "ac_cv_header_SDL_net_h" "$ac_includes_default"
6998 if testscip-shell system . . test. "x$ac_cv_header_SDL_net_h" = xyes; then :
6999 have_sdl_net_h=yes
7000 fi
7001
7002
7003
7004 if testscip-shell system . . test. x$host = xi386-pc-os2-emx ; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDLNet_Init in SDL_net" >&5
7006 $as_echo_n "checking for SDLNet_Init in SDL_net... " >&6; };
7007 LIBS_BACKUP=$LIBS;
7008 LIBS="$LIBS -lSDL_Net";
7009 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7010 /* end confdefs.h. */
7011 #include <SDL_Net.h>
7012 int
7013 main ()
7014 {
7015
7016 SDLNet_Init ();
7017
7018 ;
7019 return 0;
7020 }
7021 _ACEOF
7022 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7024 $as_echo "yes" >&6; }; have_sdl_net_lib=yes
7025 else
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7027 $as_echo "no" >&6; }
7028 fi
7029 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
7030 conftest$ac_exeext conftest.$ac_ext
7031 LIBS=$LIBS_BACKUP
7032 else
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDLNet_Init in -lSDL_net" >&5
7034 $as_echo_n "checking for SDLNet_Init in -lSDL_net... " >&6; }
7035 if ${ac_cv_lib_SDL_net_SDLNet_Init+:} false; then :
7036 $as_echo_n "(cached) " >&6
7037 else
7038 ac_check_lib_save_LIBS=$LIBS
7039 LIBS="-lSDL_net $LIBS"
7040 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7041 /* end confdefs.h. */
7042
7043 /* Override any GCC internal prototype to avoid an error.
7044 Use char because int might match the return type of a GCC
7045 builtin and then its argument prototype would still apply. */
7046 #ifdef __cplusplus
7047 extern "C"
7048 #endif
7049 char SDLNet_Init ();
7050 int
7051 main ()
7052 {
7053 return SDLNet_Init ();
7054 ;
7055 return 0;
7056 }
7057 _ACEOF
7058 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
7059 ac_cv_lib_SDL_net_SDLNet_Init=yes
7060 else
7061 ac_cv_lib_SDL_net_SDLNet_Init=no
7062 fi
7063 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
7064 conftest$ac_exeext conftest.$ac_ext
7065 LIBS=$ac_check_lib_save_LIBS
7066 fi
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_net_SDLNet_Init" >&5
7068 $as_echo "$ac_cv_lib_SDL_net_SDLNet_Init" >&6; }
7069 if testscip-shell system . . test. "x$ac_cv_lib_SDL_net_SDLNet_Init" = xyes; then :
7070 have_sdl_net_lib=yes
7071 fi
7072
7073 fi
7074 if testscip-shell system . . test. x$have_sdl_net_lib = xyes -a x$have_sdl_net_h = xyes ; then
7075 LIBS="$LIBS -lSDL_net"
7076 $as_echo "#define C_MODEM 1" >>confdefs.h
7077
7078 $as_echo "#define C_IPX 1" >>confdefs.h
7079
7080 else
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find SDL_net, internal modem and ipx disabled" >&5
7082 $as_echo "$as_me: WARNING: Can't find SDL_net, internal modem and ipx disabled" >&2;}
7083 fi
7084
7085
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lX11" >&5
7087 $as_echo_n "checking for main in -lX11... " >&6; }
7088 if ${ac_cv_lib_X11_main+:} false; then :
7089 $as_echo_n "(cached) " >&6
7090 else
7091 ac_check_lib_save_LIBS=$LIBS
7092 LIBS="-lX11 $LIBS"
7093 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7094 /* end confdefs.h. */
7095
7096
7097 int
7098 main ()
7099 {
7100 return main ();
7101 ;
7102 return 0;
7103 }
7104 _ACEOF
7105 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
7106 ac_cv_lib_X11_main=yes
7107 else
7108 ac_cv_lib_X11_main=no
7109 fi
7110 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
7111 conftest$ac_exeext conftest.$ac_ext
7112 LIBS=$ac_check_lib_save_LIBS
7113 fi
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_main" >&5
7115 $as_echo "$ac_cv_lib_X11_main" >&6; }
7116 if testscip-shell system . . test. "x$ac_cv_lib_X11_main" = xyes; then :
7117 have_x11_lib=yes
7118 else
7119 have_x11_lib=no
7120 fi
7121
7122 ac_fn_c_check_header_mongrelscip-shell shell dosbox 0.74-3-5 ac_fn_c_check_header_mongrel(). "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "$ac_includes_default"
7123 if testscip-shell system . . test. "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
7124 have_x11_h=yes
7125 else
7126 have_x11_h=no
7127 fi
7128
7129
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XKBlib support" >&5
7131 $as_echo_n "checking for XKBlib support... " >&6; }
7132 if testscip-shell system . . test. x$have_x11_lib = xyes -a x$have_x11_h = xyes ; then
7133 LIBS="$LIBS -lX11"
7134 $as_echo "#define C_X11_XKB 1" >>confdefs.h
7135
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7137 $as_echo "yes" >&6; }
7138 else
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7140 $as_echo "no" >&6; }
7141 fi
7142
7143
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lGL" >&5
7145 $as_echo_n "checking for main in -lGL... " >&6; }
7146 if ${ac_cv_lib_GL_main+:} false; then :
7147 $as_echo_n "(cached) " >&6
7148 else
7149 ac_check_lib_save_LIBS=$LIBS
7150 LIBS="-lGL $LIBS"
7151 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7152 /* end confdefs.h. */
7153
7154
7155 int
7156 main ()
7157 {
7158 return main ();
7159 ;
7160 return 0;
7161 }
7162 _ACEOF
7163 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
7164 ac_cv_lib_GL_main=yes
7165 else
7166 ac_cv_lib_GL_main=no
7167 fi
7168 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
7169 conftest$ac_exeext conftest.$ac_ext
7170 LIBS=$ac_check_lib_save_LIBS
7171 fi
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_main" >&5
7173 $as_echo "$ac_cv_lib_GL_main" >&6; }
7174 if testscip-shell system . . test. "x$ac_cv_lib_GL_main" = xyes; then :
7175 have_gl_lib=yes
7176 else
7177 have_gl_lib=no
7178 fi
7179
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lopengl32" >&5
7181 $as_echo_n "checking for main in -lopengl32... " >&6; }
7182 if ${ac_cv_lib_opengl32_main+:} false; then :
7183 $as_echo_n "(cached) " >&6
7184 else
7185 ac_check_lib_save_LIBS=$LIBS
7186 LIBS="-lopengl32 $LIBS"
7187 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7188 /* end confdefs.h. */
7189
7190
7191 int
7192 main ()
7193 {
7194 return main ();
7195 ;
7196 return 0;
7197 }
7198 _ACEOF
7199 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
7200 ac_cv_lib_opengl32_main=yes
7201 else
7202 ac_cv_lib_opengl32_main=no
7203 fi
7204 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
7205 conftest$ac_exeext conftest.$ac_ext
7206 LIBS=$ac_check_lib_save_LIBS
7207 fi
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opengl32_main" >&5
7209 $as_echo "$ac_cv_lib_opengl32_main" >&6; }
7210 if testscip-shell system . . test. "x$ac_cv_lib_opengl32_main" = xyes; then :
7211 have_opengl32_lib=yes
7212 else
7213 have_opengl32_lib=no
7214 fi
7215
7216 ac_fn_c_check_header_mongrelscip-shell shell dosbox 0.74-3-5 ac_fn_c_check_header_mongrel(). "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
7217 if testscip-shell system . . test. "x$ac_cv_header_GL_gl_h" = xyes; then :
7218 have_gl_h=yes
7219 else
7220 have_gl_h=no
7221 fi
7222
7223
7224 # Check whether --enable-opengl was given.
7225 if testscip-shell system . . test. "${enable_opengl+set}" = set; then :
7226 enableval=$enable_opengl;
7227 else
7228 enable_opengl=yes
7229 fi
7230
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether opengl display output will be enabled" >&5
7232 $as_echo_n "checking whether opengl display output will be enabled... " >&6; }
7233 if testscip-shell system . . test. x$enable_opengl = xyes; then
7234 case "$host" in
7235 *-*-darwin*)
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7237 $as_echo "yes" >&6; }
7238 LIBS="$LIBS -framework OpenGL"
7239 $as_echo "#define C_OPENGL 1" >>confdefs.h
7240
7241 ;;
7242 *)
7243 if testscip-shell system . . test. x$have_gl_h = xyes -a x$have_gl_lib = xyes ; then
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7245 $as_echo "yes" >&6; }
7246 LIBS="$LIBS -lGL"
7247 $as_echo "#define C_OPENGL 1" >>confdefs.h
7248
7249 elif testscip-shell system . . test. x$have_gl_h = xyes -a x$have_opengl32_lib = xyes ; then
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7251 $as_echo "yes" >&6; }
7252 LIBS="$LIBS -lopengl32"
7253 $as_echo "#define C_OPENGL 1" >>confdefs.h
7254
7255 else
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7257 $as_echo "no" >&6; }
7258 fi
7259 ;;
7260 esac
7261 else
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7263 $as_echo "no" >&6; }
7264 fi
7265
7266
7267 ac_fn_c_check_header_mongrelscip-shell shell dosbox 0.74-3-5 ac_fn_c_check_header_mongrel(). "$LINENO" "SDL_sound.h" "ac_cv_header_SDL_sound_h" "$ac_includes_default"
7268 if testscip-shell system . . test. "x$ac_cv_header_SDL_sound_h" = xyes; then :
7269 have_SDL_sound_h=yes
7270 fi
7271
7272
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sound_Init in -lSDL_sound" >&5
7274 $as_echo_n "checking for Sound_Init in -lSDL_sound... " >&6; }
7275 if ${ac_cv_lib_SDL_sound_Sound_Init+:} false; then :
7276 $as_echo_n "(cached) " >&6
7277 else
7278 ac_check_lib_save_LIBS=$LIBS
7279 LIBS="-lSDL_sound $LIBS"
7280 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7281 /* end confdefs.h. */
7282
7283 /* Override any GCC internal prototype to avoid an error.
7284 Use char because int might match the return type of a GCC
7285 builtin and then its argument prototype would still apply. */
7286 #ifdef __cplusplus
7287 extern "C"
7288 #endif
7289 char Sound_Init ();
7290 int
7291 main ()
7292 {
7293 return Sound_Init ();
7294 ;
7295 return 0;
7296 }
7297 _ACEOF
7298 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
7299 ac_cv_lib_SDL_sound_Sound_Init=yes
7300 else
7301 ac_cv_lib_SDL_sound_Sound_Init=no
7302 fi
7303 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
7304 conftest$ac_exeext conftest.$ac_ext
7305 LIBS=$ac_check_lib_save_LIBS
7306 fi
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_sound_Sound_Init" >&5
7308 $as_echo "$ac_cv_lib_SDL_sound_Sound_Init" >&6; }
7309 if testscip-shell system . . test. "x$ac_cv_lib_SDL_sound_Sound_Init" = xyes; then :
7310 have_SDL_sound_init=yes
7311 fi
7312
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sound_Seek in -lSDL_sound" >&5
7314 $as_echo_n "checking for Sound_Seek in -lSDL_sound... " >&6; }
7315 if ${ac_cv_lib_SDL_sound_Sound_Seek+:} false; then :
7316 $as_echo_n "(cached) " >&6
7317 else
7318 ac_check_lib_save_LIBS=$LIBS
7319 LIBS="-lSDL_sound $LIBS"
7320 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7321 /* end confdefs.h. */
7322
7323 /* Override any GCC internal prototype to avoid an error.
7324 Use char because int might match the return type of a GCC
7325 builtin and then its argument prototype would still apply. */
7326 #ifdef __cplusplus
7327 extern "C"
7328 #endif
7329 char Sound_Seek ();
7330 int
7331 main ()
7332 {
7333 return Sound_Seek ();
7334 ;
7335 return 0;
7336 }
7337 _ACEOF
7338 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
7339 ac_cv_lib_SDL_sound_Sound_Seek=yes
7340 else
7341 ac_cv_lib_SDL_sound_Sound_Seek=no
7342 fi
7343 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
7344 conftest$ac_exeext conftest.$ac_ext
7345 LIBS=$ac_check_lib_save_LIBS
7346 fi
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_sound_Sound_Seek" >&5
7348 $as_echo "$ac_cv_lib_SDL_sound_Sound_Seek" >&6; }
7349 if testscip-shell system . . test. "x$ac_cv_lib_SDL_sound_Sound_Seek" = xyes; then :
7350 have_SDL_sound_seek=yes
7351 fi
7352
7353 if testscip-shell system . . test. x$have_SDL_sound_h = xyes -a x$have_SDL_sound_init = xyes ; then
7354 if testscip-shell system . . test. x$have_SDL_sound_seek = xyes ; then
7355 LIBS="-lSDL_sound $LIBS"
7356 $as_echo "#define C_SDL_SOUND 1" >>confdefs.h
7357
7358 else
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find SoundSeek in libSDL_Sound, libSDL_sound support disabled" >&5
7360 $as_echo "$as_me: WARNING: Can't find SoundSeek in libSDL_Sound, libSDL_sound support disabled" >&2;}
7361 fi
7362 else
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find libSDL_sound, libSDL_sound support disabled" >&5
7364 $as_echo "$as_me: WARNING: Can't find libSDL_sound, libSDL_sound support disabled" >&2;}
7365 fi
7366
7367
7368 ac_fn_c_check_header_mongrelscip-shell shell dosbox 0.74-3-5 ac_fn_c_check_header_mongrel(). "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
7369 if testscip-shell system . . test. "x$ac_cv_header_sys_mman_h" = xyes; then :
7370
7371 ac_fn_c_check_funcscip-shell shell dosbox 0.74-3-5 ac_fn_c_check_func(). "$LINENO" "mprotect" "ac_cv_func_mprotect"
7372 if testscip-shell system . . test. "x$ac_cv_func_mprotect" = xyes; then :
7373 $as_echo "#define C_HAVE_MPROTECT 1" >>confdefs.h
7374
7375 fi
7376
7377
7378 fi
7379
7380
7381
7382 for ac_func in realpath
7383 do :
7384 ac_fn_c_check_funcscip-shell shell dosbox 0.74-3-5 ac_fn_c_check_func(). "$LINENO" "realpath" "ac_cv_func_realpath"
7385 if testscip-shell system . . test. "x$ac_cv_func_realpath" = xyes; then :
7386 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
7387 #define HAVE_REALPATH 1
7388 _ACEOF
7389
7390 fi
7391 done
7392
7393
7394
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setpriority support" >&5
7396 $as_echo_n "checking for setpriority support... " >&6; }
7397 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7398 /* end confdefs.h. */
7399
7400 #include <sys/resource.h>
7401 int main(int argc,char * argv) {
7402 return setpriority (PRIO_PROCESS, 0,PRIO_MIN+PRIO_MAX);
7403 };
7404
7405 _ACEOF
7406 if ac_fn_c_try_linkscip-shell shell dosbox 0.74-3-5 ac_fn_c_try_link(). "$LINENO"; then :
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7408 $as_echo "yes" >&6; };$as_echo "#define C_SET_PRIORITY 1" >>confdefs.h
7409
7410 else
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7413 fi
7414 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
7415 conftest$ac_exeext conftest.$ac_ext
7416
7417
7418 case "$host" in
7419 *-*-cygwin* | *-*-mingw32*)
7420 LIBS="$LIBS -lwinmm"
7421 for ac_header in ddraw.h
7422 do :
7423 ac_fn_c_check_header_mongrelscip-shell shell dosbox 0.74-3-5 ac_fn_c_check_header_mongrel(). "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "$ac_includes_default"
7424 if testscip-shell system . . test. "x$ac_cv_header_ddraw_h" = xyes; then :
7425 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
7426 #define HAVE_DDRAW_H 1
7427 _ACEOF
7428
7429 fi
7430
7431 done
7432
7433
7434 $as_echo "#define C_DIRECTSERIAL 1" >>confdefs.h
7435
7436 if testscip-shell system . . test. x$have_sdl_net_lib = xyes -a x$have_sdl_net_h = xyes ; then
7437 LIBS="$LIBS -lws2_32"
7438 fi
7439 ;;
7440 *-*-darwin*)
7441
7442 $as_echo "#define MACOSX 1" >>confdefs.h
7443
7444 LIBS="$LIBS -framework CoreMIDI -framework AudioUnit -framework AudioToolbox"
7445
7446 $as_echo "#define C_DIRECTSERIAL 1" >>confdefs.h
7447
7448 ;;
7449 *-*-linux*)
7450
7451 $as_echo "#define LINUX 1" >>confdefs.h
7452
7453
7454 $as_echo "#define C_DIRECTSERIAL 1" >>confdefs.h
7455
7456 ;;
7457 *-*-freebsd* | *-*-dragonfly* | *-*-netbsd* | *-*-openbsd*)
7458
7459 $as_echo "#define BSD 1" >>confdefs.h
7460
7461
7462 $as_echo "#define C_DIRECTSERIAL 1" >>confdefs.h
7463
7464 ;;
7465 *-*-os2-emx*)
7466
7467 $as_echo "#define OS2 1" >>confdefs.h
7468
7469
7470 $as_echo "#define C_DIRECTSERIAL 1" >>confdefs.h
7471
7472 ;;
7473 esac
7474
7475 case "$host" in
7476 *-*-cygwin* | *-*-mingw32*)
7477 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
7478 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
7479 set dummy ${ac_tool_prefix}windres; ac_word=$2
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7481 $as_echo_n "checking for $ac_word... " >&6; }
7482 if ${ac_cv_prog_WINDRES+:} false; then :
7483 $as_echo_n "(cached) " >&6
7484 else
7485 if testscip-shell system . . test. -n "$WINDRES"; then
7486 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7487 else
7488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7489 for as_dir in $PATH
7490 do
7491 IFS=$as_save_IFS
7492 testscip-shell system . . test. -z "$as_dir" && as_dir=.
7493 for ac_exec_ext in '' $ac_executable_extensions; do
7494 if as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
7495 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
7496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7497 break 2
7498 fi
7499 done
7500 done
7501 IFS=$as_save_IFS
7502
7503 fi
7504 fi
7505 WINDRES=$ac_cv_prog_WINDRES
7506 if testscip-shell system . . test. -n "$WINDRES"; then
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
7508 $as_echo "$WINDRES" >&6; }
7509 else
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7511 $as_echo "no" >&6; }
7512 fi
7513
7514
7515 fi
7516 if testscip-shell system . . test. -z "$ac_cv_prog_WINDRES"; then
7517 ac_ct_WINDRES=$WINDRES
7518 # Extract the first word of "windres", so it can be a program name with args.
7519 set dummy windres; ac_word=$2
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7521 $as_echo_n "checking for $ac_word... " >&6; }
7522 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
7523 $as_echo_n "(cached) " >&6
7524 else
7525 if testscip-shell system . . test. -n "$ac_ct_WINDRES"; then
7526 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
7527 else
7528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7529 for as_dir in $PATH
7530 do
7531 IFS=$as_save_IFS
7532 testscip-shell system . . test. -z "$as_dir" && as_dir=.
7533 for ac_exec_ext in '' $ac_executable_extensions; do
7534 if as_fn_executable_pscip-shell shell dosbox 0.74-3-5 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
7535 ac_cv_prog_ac_ct_WINDRES="windres"
7536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7537 break 2
7538 fi
7539 done
7540 done
7541 IFS=$as_save_IFS
7542
7543 fi
7544 fi
7545 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
7546 if testscip-shell system . . test. -n "$ac_ct_WINDRES"; then
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
7548 $as_echo "$ac_ct_WINDRES" >&6; }
7549 else
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7551 $as_echo "no" >&6; }
7552 fi
7553
7554 if testscip-shell system . . test. "x$ac_ct_WINDRES" = x; then
7555 WINDRES=":"
7556 else
7557 case $cross_compiling:$ac_tool_warned in
7558 yes:)
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7561 ac_tool_warned=yes ;;
7562 esac
7563 WINDRES=$ac_ct_WINDRES
7564 fi
7565 else
7566 WINDRES="$ac_cv_prog_WINDRES"
7567 fi
7568
7569 ;;
7570 *)
7571 WINDRES=":"
7572 ;;
7573 esac
7574 if testscip-shell system . . test. "x$WINDRES" != "x:"; then
7575 HAVE_WINDRES_TRUE=
7576 HAVE_WINDRES_FALSE='#'
7577 else
7578 HAVE_WINDRES_TRUE='#'
7579 HAVE_WINDRES_FALSE=
7580 fi
7581
7582
7583
7584
7585 ac_config_files="$ac_config_files Makefile src/Makefile src/cpu/Makefile src/cpu/core_full/Makefile src/cpu/core_normal/Makefile src/cpu/core_dyn_x86/Makefile src/cpu/core_dynrec/Makefile src/debug/Makefile src/dos/Makefile src/fpu/Makefile src/gui/Makefile src/hardware/Makefile src/hardware/mame/Makefile src/hardware/serialport/Makefile src/ints/Makefile src/libs/Makefile src/libs/zmbv/Makefile src/libs/gui_tk/Makefile src/misc/Makefile src/shell/Makefile src/platform/Makefile src/platform/visualc/Makefile visualc_net/Makefile include/Makefile docs/Makefile"
7586
7587 catscip-shell system . . cat. >confcache <<\_ACEOF
7588 # This file is a shell script that caches the results of configure
7589 # tests run on this system so they can be shared between configure
7590 # scripts and configure runs, see configure's option --config-cache.
7591 # It is not useful on other systems. If it contains results you don't
7592 # want to keep, you may remove or edit it.
7593 #
7594 # config.status only pays attention to the cache file if you give it
7595 # the --recheck option to rerun configure.
7596 #
7597 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7598 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7599 # following values.
7600
7601 _ACEOF
7602
7603 # The following way of writing the cache mishandles newlines in values,
7604 # but we know of no workaround that is simple, portable, and efficient.
7605 # So, we kill variables containing newlines.
7606 # Ultrix sh set writes to stderr and can't be redirected directly,
7607 # and sets the high bit in the cache file unless we assign to the vars.
7608 (
7609 for ac_var in `(set) 2>&1 | sedscip-shell system . . sed. -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7610 eval ac_val=\$$ac_var
7611 case $ac_val in #(
7612 *${as_nl}*)
7613 case $ac_var in #(
7614 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7615 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7616 esac
7617 case $ac_var in #(
7618 _ | IFS | as_nl) ;; #(
7619 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7620 *) { eval $ac_var=; unset $ac_var;} ;;
7621 esac ;;
7622 esac
7623 done
7624
7625 (set) 2>&1 |
7626 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7627 *${as_nl}ac_space=\ *)
7628 # `set' does not quote correctly, so add quotes: double-quote
7629 # substitution turns \\\\ into \\, and sed turns \\ into \.
7630 sedscip-shell system . . sed. -n \
7631 "s/'/'\\\\''/g;
7632 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7633 ;; #(
7634 *)
7635 # `set' quotes correctly as required by POSIX, so do not add quotes.
7636 sedscip-shell system . . sed. -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7637 ;;
7638 esac |
7639 sortscip-shell system . . sort.
7640 ) |
7641 sedscip-shell system . . sed. '
7642 /^ac_cv_env_/b end
7643 t clear
7644 :clear
7645 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7646 t end
7647 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7648 :end' >>confcache
7649 if diffscip-shell system . . diff. "$cache_file" confcache >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
7650 if testscip-shell system . . test. -w "$cache_file"; then
7651 if testscip-shell system . . test. "x$cache_file" != "x/dev/null"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7653 $as_echo "$as_me: updating cache $cache_file" >&6;}
7654 if testscip-shell system . . test. ! -f "$cache_file" || testscip-shell system . . test. -h "$cache_file"; then
7655 catscip-shell system . . cat. confcache >"$cache_file"
7656 else
7657 case $cache_file in #(
7658 */* | ?:*)
7659 mvscip-shell system . . mv. -f confcache "$cache_file"$$ &&
7660 mvscip-shell system . . mv. -f "$cache_file"$$ "$cache_file" ;; #(
7661 *)
7662 mvscip-shell system . . mv. -f confcache "$cache_file" ;;
7663 esac
7664 fi
7665 fi
7666 else
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7668 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7669 fi
7670 fi
7671 rmscip-shell system . . rm. -f confcache
7672
7673 testscip-shell system . . test. "x$prefix" = xNONE && prefix=$ac_default_prefix
7674 # Let make expand exec_prefix.
7675 testscip-shell system . . test. "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7676
7677 DEFS=-DHAVE_CONFIG_H
7678
7679 ac_libobjs=
7680 ac_ltlibobjs=
7681 U=
7682 for ac_i in : $LIBOBJS; do testscip-shell system . . test. "x$ac_i" = x: && continue
7683 # 1. Remove the extension, and $U if already installed.
7684 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7685 ac_i=`$as_echo "$ac_i" | sedscip-shell system . . sed. "$ac_script"`
7686 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7687 # will be set to the directory where LIBOBJS objects are built.
7688 as_fn_appendscip-shell shell dosbox 0.74-3-5 as_fn_append(). ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7689 as_fn_appendscip-shell shell dosbox 0.74-3-5 as_fn_append(). ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7690 done
7691 LIBOBJS=$ac_libobjs
7692
7693 LTLIBOBJS=$ac_ltlibobjs
7694
7695
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7697 $as_echo_n "checking that generated files are newer than configure... " >&6; }
7698 if testscip-shell system . . test. -n "$am_sleep_pid"; then
7699 # Hide warnings about reused PIDs.
7700 wait $am_sleep_pid 2>/dev/nullscip-shell filesystem . . `/dev/null`.
7701 fi
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7703 $as_echo "done" >&6; }
7704 if testscip-shell system . . test. -n "$EXEEXT"; then
7705 am__EXEEXT_TRUE=
7706 am__EXEEXT_FALSE='#'
7707 else
7708 am__EXEEXT_TRUE='#'
7709 am__EXEEXT_FALSE=
7710 fi
7711
7712 if testscip-shell system . . test. -z "${AMDEP_TRUE}" && testscip-shell system . . test. -z "${AMDEP_FALSE}"; then
7713 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "conditional \"AMDEP\" was never defined.
7714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7715 fi
7716 if testscip-shell system . . test. -z "${am__fastdepCC_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCC_FALSE}"; then
7717 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "conditional \"am__fastdepCC\" was never defined.
7718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7719 fi
7720 if testscip-shell system . . test. -z "${am__fastdepCXX_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCXX_FALSE}"; then
7721 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "conditional \"am__fastdepCXX\" was never defined.
7722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7723 fi
7724
7725 if testscip-shell system . . test. -z "${HAVE_WINDRES_TRUE}" && testscip-shell system . . test. -z "${HAVE_WINDRES_FALSE}"; then
7726 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "conditional \"HAVE_WINDRES\" was never defined.
7727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7728 fi
7729
7730 : "${CONFIG_STATUS=./config.status}"
7731 ac_write_fail=0
7732 ac_clean_files_save=$ac_clean_files
7733 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7735 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7736 as_write_fail=0
7737 catscip-shell system . . cat. >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7738 #! $SHELL
7739 # Generated by $as_me.
7740 # Run this file to recreate the current configuration.
7741 # Compiler output produced by configure, useful for debugging
7742 # configure, is in config.log if it exists.
7743
7744 debug=false
7745 ac_cs_recheck=false
7746 ac_cs_silent=false
7747
7748 SHELL=\${CONFIG_SHELL-$SHELL}
7749 export SHELL
7750 _ASEOF
7751 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7752 ## -------------------- ##
7753 ## M4sh Initialization. ##
7754 ## -------------------- ##
7755
7756 # Be more Bourne compatible
7757 DUALCASE=1; export DUALCASE # for MKS sh
7758 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7759 emulate sh
7760 NULLCMD=:
7761 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7762 # is contrary to our usage. Disable this feature.
7763 alias -g '${1+"$@"}'='"$@"'
7764 setopt NO_GLOB_SUBST
7765 else
7766 case `(set -o) 2>/dev/null` in #(
7767 *posix*) :
7768 set -o posix ;; #(
7769 *) :
7770 ;;
7771 esac
7772 fi
7773
7774
7775 as_nl='
7776 '
7777 export as_nl
7778 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7779 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7780 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7781 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7782 # Prefer a ksh shell builtin over an external printf program on Solaris,
7783 # but without wasting forks for bash or zsh.
7784 if test -z "$BASH_VERSION$ZSH_VERSION" \
7785 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7786 as_echo='print -r --'
7787 as_echo_n='print -rn --'
7788 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7789 as_echo='printf %s\n'
7790 as_echo_n='printf %s'
7791 else
7792 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7793 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7794 as_echo_n='/usr/ucb/echo -n'
7795 else
7796 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7797 as_echo_n_body='eval
7798 arg=$1;
7799 case $arg in #(
7800 *"$as_nl"*)
7801 expr "X$arg" : "X\\(.*\\)$as_nl";
7802 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7803 esac;
7804 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7805 '
7806 export as_echo_n_body
7807 as_echo_n='sh -c $as_echo_n_body as_echo'
7808 fi
7809 export as_echo_body
7810 as_echo='sh -c $as_echo_body as_echo'
7811 fi
7812
7813 # The user is always right.
7814 if test "${PATH_SEPARATOR+set}" != set; then
7815 PATH_SEPARATOR=:
7816 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7817 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7818 PATH_SEPARATOR=';'
7819 }
7820 fi
7821
7822
7823 # IFS
7824 # We need space, tab and new line, in precisely that order. Quoting is
7825 # there to prevent editors from complaining about space-tab.
7826 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7827 # splitting by setting IFS to empty value.)
7828 IFS=" "" $as_nl"
7829
7830 # Find who we are. Look in the path if we contain no directory separator.
7831 as_myself=
7832 case $0 in #((
7833 *[\\/]* ) as_myself=$0 ;;
7834 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7835 for as_dir in $PATH
7836 do
7837 IFS=$as_save_IFS
7838 test -z "$as_dir" && as_dir=.
7839 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7840 done
7841 IFS=$as_save_IFS
7842
7843 ;;
7844 esac
7845 # We did not find ourselves, most probably we were run as `sh COMMAND'
7846 # in which case we are not to be found in the path.
7847 if test "x$as_myself" = x; then
7848 as_myself=$0
7849 fi
7850 if test ! -f "$as_myself"; then
7851 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7852 exit 1
7853 fi
7854
7855 # Unset variables that we do not need and which cause bugs (e.g. in
7856 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7857 # suppresses any "Segmentation fault" message there. '((' could
7858 # trigger a bug in pdksh 5.2.14.
7859 for as_var in BASH_ENV ENV MAIL MAILPATH
7860 do eval test x\${$as_var+set} = xset \
7861 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7862 done
7863 PS1='$ '
7864 PS2='> '
7865 PS4='+ '
7866
7867 # NLS nuisances.
7868 LC_ALL=C
7869 export LC_ALL
7870 LANGUAGE=C
7871 export LANGUAGE
7872
7873 # CDPATH.
7874 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7875
7876
7877 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7878 # ----------------------------------------
7879 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7880 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7881 # script with STATUS, using 1 if that was 0.
7882 as_fn_error ()
7883 {
7884 as_status=$1; test $as_status -eq 0 && as_status=1
7885 if test "$4"; then
7886 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7887 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7888 fi
7889 $as_echo "$as_me: error: $2" >&2
7890 as_fn_exit $as_status
7891 } # as_fn_error
7892
7893
7894 # as_fn_set_status STATUS
7895 # -----------------------
7896 # Set $? to STATUS, without forking.
7897 as_fn_set_status ()
7898 {
7899 return $1
7900 } # as_fn_set_status
7901
7902 # as_fn_exit STATUS
7903 # -----------------
7904 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7905 as_fn_exit ()
7906 {
7907 set +e
7908 as_fn_set_status $1
7909 exit $1
7910 } # as_fn_exit
7911
7912 # as_fn_unset VAR
7913 # ---------------
7914 # Portably unset VAR.
7915 as_fn_unset ()
7916 {
7917 { eval $1=; unset $1;}
7918 }
7919 as_unset=as_fn_unset
7920 # as_fn_append VAR VALUE
7921 # ----------------------
7922 # Append the text in VALUE to the end of the definition contained in VAR. Take
7923 # advantage of any shell optimizations that allow amortized linear growth over
7924 # repeated appends, instead of the typical quadratic growth present in naive
7925 # implementations.
7926 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7927 eval 'as_fn_append ()
7928 {
7929 eval $1+=\$2
7930 }'
7931 else
7932 as_fn_append ()
7933 {
7934 eval $1=\$$1\$2
7935 }
7936 fi # as_fn_append
7937
7938 # as_fn_arith ARG...
7939 # ------------------
7940 # Perform arithmetic evaluation on the ARGs, and store the result in the
7941 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7942 # must be portable across $(()) and expr.
7943 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7944 eval 'as_fn_arith ()
7945 {
7946 as_val=$(( $* ))
7947 }'
7948 else
7949 as_fn_arith ()
7950 {
7951 as_val=`expr "$@" || test $? -eq 1`
7952 }
7953 fi # as_fn_arith
7954
7955
7956 if expr a : '\(a\)' >/dev/null 2>&1 &&
7957 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7958 as_expr=expr
7959 else
7960 as_expr=false
7961 fi
7962
7963 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7964 as_basename=basename
7965 else
7966 as_basename=false
7967 fi
7968
7969 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7970 as_dirname=dirname
7971 else
7972 as_dirname=false
7973 fi
7974
7975 as_me=`$as_basename -- "$0" ||
7976 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7977 X"$0" : 'X\(//\)$' \| \
7978 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7979 $as_echo X/"$0" |
7980 sed '/^.*\/\([^/][^/]*\)\/*$/{
7981 s//\1/
7982 q
7983 }
7984 /^X\/\(\/\/\)$/{
7985 s//\1/
7986 q
7987 }
7988 /^X\/\(\/\).*/{
7989 s//\1/
7990 q
7991 }
7992 s/.*/./; q'`
7993
7994 # Avoid depending upon Character Ranges.
7995 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7996 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7997 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7998 as_cr_digits='0123456789'
7999 as_cr_alnum=$as_cr_Letters$as_cr_digits
8000
8001 ECHO_C= ECHO_N= ECHO_T=
8002 case `echo -n x` in #(((((
8003 -n*)
8004 case `echo 'xy\c'` in
8005 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8006 xy) ECHO_C='\c';;
8007 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8008 ECHO_T=' ';;
8009 esac;;
8010 *)
8011 ECHO_N='-n';;
8012 esac
8013
8014 rm -f conf$$ conf$$.exe conf$$.file
8015 if test -d conf$$.dir; then
8016 rm -f conf$$.dir/conf$$.file
8017 else
8018 rm -f conf$$.dir
8019 mkdir conf$$.dir 2>/dev/null
8020 fi
8021 if (echo >conf$$.file) 2>/dev/null; then
8022 if ln -s conf$$.file conf$$ 2>/dev/null; then
8023 as_ln_s='ln -s'
8024 # ... but there are two gotchas:
8025 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8026 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8027 # In both cases, we have to default to `cp -pR'.
8028 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8029 as_ln_s='cp -pR'
8030 elif ln conf$$.file conf$$ 2>/dev/null; then
8031 as_ln_s=ln
8032 else
8033 as_ln_s='cp -pR'
8034 fi
8035 else
8036 as_ln_s='cp -pR'
8037 fi
8038 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8039 rmdir conf$$.dir 2>/dev/null
8040
8041
8042 # as_fn_mkdir_p
8043 # -------------
8044 # Create "$as_dir" as a directory, including parents if necessary.
8045 as_fn_mkdir_p ()
8046 {
8047
8048 case $as_dir in #(
8049 -*) as_dir=./$as_dir;;
8050 esac
8051 test -d "$as_dir" || eval $as_mkdir_p || {
8052 as_dirs=
8053 while :; do
8054 case $as_dir in #(
8055 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8056 *) as_qdir=$as_dir;;
8057 esac
8058 as_dirs="'$as_qdir' $as_dirs"
8059 as_dir=`$as_dirname -- "$as_dir" ||
8060 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8061 X"$as_dir" : 'X\(//\)[^/]' \| \
8062 X"$as_dir" : 'X\(//\)$' \| \
8063 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8064 $as_echo X"$as_dir" |
8065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8066 s//\1/
8067 q
8068 }
8069 /^X\(\/\/\)[^/].*/{
8070 s//\1/
8071 q
8072 }
8073 /^X\(\/\/\)$/{
8074 s//\1/
8075 q
8076 }
8077 /^X\(\/\).*/{
8078 s//\1/
8079 q
8080 }
8081 s/.*/./; q'`
8082 test -d "$as_dir" && break
8083 done
8084 test -z "$as_dirs" || eval "mkdir $as_dirs"
8085 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8086
8087
8088 } # as_fn_mkdir_p
8089 if mkdir -p . 2>/dev/null; then
8090 as_mkdir_p='mkdir -p "$as_dir"'
8091 else
8092 test -d ./-p && rmdir ./-p
8093 as_mkdir_p=false
8094 fi
8095
8096
8097 # as_fn_executable_p FILE
8098 # -----------------------
8099 # Test if FILE is an executable regular file.
8100 as_fn_executable_p ()
8101 {
8102 test -f "$1" && test -x "$1"
8103 } # as_fn_executable_p
8104 as_test_x='test -x'
8105 as_executable_p=as_fn_executable_p
8106
8107 # Sed expression to map a string onto a valid CPP name.
8108 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8109
8110 # Sed expression to map a string onto a valid variable name.
8111 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8112
8113
8114 exec 6>&1
8115 ## ----------------------------------- ##
8116 ## Main body of $CONFIG_STATUS script. ##
8117 ## ----------------------------------- ##
8118 _ASEOF
8119 testscip-shell system . . test. $as_write_fail = 0 && chmodscip-shell system . . chmod. +x $CONFIG_STATUS || ac_write_fail=1
8120
8121 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8122 # Save the log message, to keep $0 and so on meaningful, and to
8123 # report actual input values of CONFIG_FILES etc. instead of their
8124 # values after options handling.
8125 ac_log="
8126 This file was extended by dosbox $as_me 0.74-3, which was
8127 generated by GNU Autoconf 2.69. Invocation command line was
8128
8129 CONFIG_FILES = $CONFIG_FILES
8130 CONFIG_HEADERS = $CONFIG_HEADERS
8131 CONFIG_LINKS = $CONFIG_LINKS
8132 CONFIG_COMMANDS = $CONFIG_COMMANDS
8133 $ $0 $@
8134
8135 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8136 "
8137
8138 _ACEOF
8139
8140 case $ac_config_files in *"
8141 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8142 esac
8143
8144 case $ac_config_headers in *"
8145 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8146 esac
8147
8148
8149 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8150 # Files that config.status was made for.
8151 config_files="$ac_config_files"
8152 config_headers="$ac_config_headers"
8153 config_commands="$ac_config_commands"
8154
8155 _ACEOF
8156
8157 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8158 ac_cs_usage="\
8159 \`$as_me' instantiates files and other configuration actions
8160 from templates according to the current configuration. Unless the files
8161 and actions are specified as TAGs, all are instantiated by default.
8162
8163 Usage: $0 [OPTION]... [TAG]...
8164
8165 -h, --help print this help, then exit
8166 -V, --version print version number and configuration settings, then exit
8167 --config print configuration, then exit
8168 -q, --quiet, --silent
8169 do not print progress messages
8170 -d, --debug don't remove temporary files
8171 --recheck update $as_me by reconfiguring in the same conditions
8172 --file=FILE[:TEMPLATE]
8173 instantiate the configuration file FILE
8174 --header=FILE[:TEMPLATE]
8175 instantiate the configuration header FILE
8176
8177 Configuration files:
8178 $config_files
8179
8180 Configuration headers:
8181 $config_headers
8182
8183 Configuration commands:
8184 $config_commands
8185
8186 Report bugs to the package provider."
8187
8188 _ACEOF
8189 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8190 ac_cs_config="`$as_echo "$ac_configure_args" | sedscip-shell system . . sed. 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8191 ac_cs_version="\\
8192 dosbox config.status 0.74-3
8193 configured by $0, generated by GNU Autoconf 2.69,
8194 with options \\"\$ac_cs_config\\"
8195
8196 Copyright (C) 2012 Free Software Foundation, Inc.
8197 This config.status script is free software; the Free Software Foundation
8198 gives unlimited permission to copy, distribute and modify it."
8199
8200 ac_pwd='$ac_pwd'
8201 srcdir='$srcdir'
8202 INSTALL='$INSTALL'
8203 MKDIR_P='$MKDIR_P'
8204 AWK='$AWK'
8205 test -n "\$AWK" || AWK=awk
8206 _ACEOF
8207
8208 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8209 # The default lists apply if the user does not specify any file.
8210 ac_need_defaults=:
8211 while test $# != 0
8212 do
8213 case $1 in
8214 --*=?*)
8215 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8216 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8217 ac_shift=:
8218 ;;
8219 --*=)
8220 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8221 ac_optarg=
8222 ac_shift=:
8223 ;;
8224 *)
8225 ac_option=$1
8226 ac_optarg=$2
8227 ac_shift=shift
8228 ;;
8229 esac
8230
8231 case $ac_option in
8232 # Handling of the options.
8233 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8234 ac_cs_recheck=: ;;
8235 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8236 $as_echo "$ac_cs_version"; exit ;;
8237 --config | --confi | --conf | --con | --co | --c )
8238 $as_echo "$ac_cs_config"; exit ;;
8239 --debug | --debu | --deb | --de | --d | -d )
8240 debug=: ;;
8241 --file | --fil | --fi | --f )
8242 $ac_shift
8243 case $ac_optarg in
8244 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8245 '') as_fn_error $? "missing file argument" ;;
8246 esac
8247 as_fn_append CONFIG_FILES " '$ac_optarg'"
8248 ac_need_defaults=false;;
8249 --header | --heade | --head | --hea )
8250 $ac_shift
8251 case $ac_optarg in
8252 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8253 esac
8254 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8255 ac_need_defaults=false;;
8256 --he | --h)
8257 # Conflict between --help and --header
8258 as_fn_error $? "ambiguous option: \`$1'
8259 Try \`$0 --help' for more information.";;
8260 --help | --hel | -h )
8261 $as_echo "$ac_cs_usage"; exit ;;
8262 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8263 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8264 ac_cs_silent=: ;;
8265
8266 # This is an error.
8267 -*) as_fn_error $? "unrecognized option: \`$1'
8268 Try \`$0 --help' for more information." ;;
8269
8270 *) as_fn_append ac_config_targets " $1"
8271 ac_need_defaults=false ;;
8272
8273 esac
8274 shift
8275 done
8276
8277 ac_configure_extra_args=
8278
8279 if $ac_cs_silent; then
8280 exec 6>/dev/null
8281 ac_configure_extra_args="$ac_configure_extra_args --silent"
8282 fi
8283
8284 _ACEOF
8285 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8286 if \$ac_cs_recheck; then
8287 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8288 shift
8289 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8290 CONFIG_SHELL='$SHELL'
8291 export CONFIG_SHELL
8292 exec "\$@"
8293 fi
8294
8295 _ACEOF
8296 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8297 exec 5>>config.log
8298 {
8299 echo
8300 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8301 ## Running $as_me. ##
8302 _ASBOX
8303 $as_echo "$ac_log"
8304 } >&5
8305
8306 _ACEOF
8307 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8308 #
8309 # INIT-COMMANDS
8310 #
8311 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8312
8313 _ACEOF
8314
8315 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8316
8317 # Handling of arguments.
8318 for ac_config_target in $ac_config_targets
8319 do
8320 case $ac_config_target in
8321 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8322 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8323 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8324 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8325 "src/cpu/Makefile") CONFIG_FILES="$CONFIG_FILES src/cpu/Makefile" ;;
8326 "src/cpu/core_full/Makefile") CONFIG_FILES="$CONFIG_FILES src/cpu/core_full/Makefile" ;;
8327 "src/cpu/core_normal/Makefile") CONFIG_FILES="$CONFIG_FILES src/cpu/core_normal/Makefile" ;;
8328 "src/cpu/core_dyn_x86/Makefile") CONFIG_FILES="$CONFIG_FILES src/cpu/core_dyn_x86/Makefile" ;;
8329 "src/cpu/core_dynrec/Makefile") CONFIG_FILES="$CONFIG_FILES src/cpu/core_dynrec/Makefile" ;;
8330 "src/debug/Makefile") CONFIG_FILES="$CONFIG_FILES src/debug/Makefile" ;;
8331 "src/dos/Makefile") CONFIG_FILES="$CONFIG_FILES src/dos/Makefile" ;;
8332 "src/fpu/Makefile") CONFIG_FILES="$CONFIG_FILES src/fpu/Makefile" ;;
8333 "src/gui/Makefile") CONFIG_FILES="$CONFIG_FILES src/gui/Makefile" ;;
8334 "src/hardware/Makefile") CONFIG_FILES="$CONFIG_FILES src/hardware/Makefile" ;;
8335 "src/hardware/mame/Makefile") CONFIG_FILES="$CONFIG_FILES src/hardware/mame/Makefile" ;;
8336 "src/hardware/serialport/Makefile") CONFIG_FILES="$CONFIG_FILES src/hardware/serialport/Makefile" ;;
8337 "src/ints/Makefile") CONFIG_FILES="$CONFIG_FILES src/ints/Makefile" ;;
8338 "src/libs/Makefile") CONFIG_FILES="$CONFIG_FILES src/libs/Makefile" ;;
8339 "src/libs/zmbv/Makefile") CONFIG_FILES="$CONFIG_FILES src/libs/zmbv/Makefile" ;;
8340 "src/libs/gui_tk/Makefile") CONFIG_FILES="$CONFIG_FILES src/libs/gui_tk/Makefile" ;;
8341 "src/misc/Makefile") CONFIG_FILES="$CONFIG_FILES src/misc/Makefile" ;;
8342 "src/shell/Makefile") CONFIG_FILES="$CONFIG_FILES src/shell/Makefile" ;;
8343 "src/platform/Makefile") CONFIG_FILES="$CONFIG_FILES src/platform/Makefile" ;;
8344 "src/platform/visualc/Makefile") CONFIG_FILES="$CONFIG_FILES src/platform/visualc/Makefile" ;;
8345 "visualc_net/Makefile") CONFIG_FILES="$CONFIG_FILES visualc_net/Makefile" ;;
8346 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
8347 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
8348
8349 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8350 esac
8351 done
8352
8353
8354 # If the user did not use the arguments to specify the items to instantiate,
8355 # then the envvar interface is used. Set only those that are not.
8356 # We use the long form for the default assignment because of an extremely
8357 # bizarre bug on SunOS 4.1.3.
8358 if $ac_need_defaults; then
8359 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8360 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8361 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8362 fi
8363
8364 # Have a temporary directory for convenience. Make it in the build tree
8365 # simply because there is no reason against having it here, and in addition,
8366 # creating and moving files from /tmp can sometimes cause problems.
8367 # Hook for its removal unless debugging.
8368 # Note that there is a small window in which the directory will not be cleaned:
8369 # after its creation but before its name has been assigned to `$tmp'.
8370 $debug ||
8371 {
8372 tmp= ac_tmp=
8373 trap 'exit_status=$?
8374 : "${ac_tmp:=$tmp}"
8375 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8376 ' 0
8377 trap 'as_fn_exit 1' 1 2 13 15
8378 }
8379 # Create a (secure) tmp directory for tmp files.
8380
8381 {
8382 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8383 test -d "$tmp"
8384 } ||
8385 {
8386 tmp=./conf$$-$RANDOM
8387 (umask 077 && mkdir "$tmp")
8388 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8389 ac_tmp=$tmp
8390
8391 # Set up the scripts for CONFIG_FILES section.
8392 # No need to generate them if there are no CONFIG_FILES.
8393 # This happens for instance with `./config.status config.h'.
8394 if test -n "$CONFIG_FILES"; then
8395
8396
8397 ac_cr=`echo X | tr X '\015'`
8398 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8399 # But we know of no other shell where ac_cr would be empty at this
8400 # point, so we can use a bashism as a fallback.
8401 if test "x$ac_cr" = x; then
8402 eval ac_cr=\$\'\\r\'
8403 fi
8404 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8405 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8406 ac_cs_awk_cr='\\r'
8407 else
8408 ac_cs_awk_cr=$ac_cr
8409 fi
8410
8411 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8412 _ACEOF
8413
8414
8415 {
8416 echoscip-shell system . . echo. "cat >conf$$subs.awk <<_ACEOF" &&
8417 echoscip-shell system . . echo. "$ac_subst_vars" | sedscip-shell system . . sed. 's/.*/&!$&$ac_delim/' &&
8418 echoscip-shell system . . echo. "_ACEOF"
8419 } >conf$$subs.sh ||
8420 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
8421 ac_delim_num=`echoscip-shell system . . echo. "$ac_subst_vars" | grepscip-shell system . . grep. -c '^'`
8422 ac_delim='%!_!# '
8423 for ac_last_try in false false false false false :; do
8424 . ./conf$$subs.sh ||
8425 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
8426
8427 ac_delim_n=`sedscip-shell system . . sed. -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grepscip-shell system . . grep. -c X`
8428 if testscip-shell system . . test. $ac_delim_n = $ac_delim_num; then
8429 break
8430 elif $ac_last_try; then
8431 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
8432 else
8433 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8434 fi
8435 done
8436 rmscip-shell system . . rm. -f conf$$subs.sh
8437
8438 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8439 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8440 _ACEOF
8441 sedscip-shell system . . sed. -n '
8442 h
8443 s/^/S["/; s/!.*/"]=/
8444 p
8445 g
8446 s/^[^!]*!//
8447 :repl
8448 t repl
8449 s/'"$ac_delim"'$//
8450 t delim
8451 :nl
8452 h
8453 s/\(.\{148\}\)..*/\1/
8454 t more1
8455 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8456 p
8457 n
8458 b repl
8459 :more1
8460 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8461 p
8462 g
8463 s/.\{148\}//
8464 t nl
8465 :delim
8466 h
8467 s/\(.\{148\}\)..*/\1/
8468 t more2
8469 s/["\\]/\\&/g; s/^/"/; s/$/"/
8470 p
8471 b
8472 :more2
8473 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8474 p
8475 g
8476 s/.\{148\}//
8477 t delim
8478 ' <conf$$subs.awk | sedscip-shell system . . sed. '
8479 /^[^""]/{
8480 N
8481 s/\n//
8482 }
8483 ' >>$CONFIG_STATUS || ac_write_fail=1
8484 rmscip-shell system . . rm. -f conf$$subs.awk
8485 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8486 _ACAWK
8487 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8488 for (key in S) S_is_set[key] = 1
8489 FS = ""
8490
8491 }
8492 {
8493 line = $ 0
8494 nfields = split(line, field, "@")
8495 substed = 0
8496 len = length(field[1])
8497 for (i = 2; i < nfields; i++) {
8498 key = field[i]
8499 keylen = length(key)
8500 if (S_is_set[key]) {
8501 value = S[key]
8502 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8503 len += length(value) + length(field[++i])
8504 substed = 1
8505 } else
8506 len += 1 + keylen
8507 }
8508
8509 print line
8510 }
8511
8512 _ACAWK
8513 _ACEOF
8514 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8515 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8516 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8517 else
8518 cat
8519 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8520 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8521 _ACEOF
8522
8523 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8524 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8525 # trailing colons and then remove the whole line if VPATH becomes empty
8526 # (actually we leave an empty line to preserve line numbers).
8527 if testscip-shell system . . test. "x$srcdir" = x.; then
8528 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8529 h
8530 s///
8531 s/^/:/
8532 s/[ ]*$/:/
8533 s/:\$(srcdir):/:/g
8534 s/:\${srcdir}:/:/g
8535 s/:@srcdir@:/:/g
8536 s/^:*//
8537 s/:*$//
8538 x
8539 s/\(=[ ]*\).*/\1/
8540 G
8541 s/\n//
8542 s/^[^=]*=[ ]*$//
8543 }'
8544 fi
8545
8546 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8547 fi # test -n "$CONFIG_FILES"
8548
8549 # Set up the scripts for CONFIG_HEADERS section.
8550 # No need to generate them if there are no CONFIG_HEADERS.
8551 # This happens for instance with `./config.status Makefile'.
8552 if test -n "$CONFIG_HEADERS"; then
8553 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8554 BEGIN {
8555 _ACEOF
8556
8557 # Transform confdefs.h into an awk script `defines.awk', embedded as
8558 # here-document in config.status, that substitutes the proper values into
8559 # config.h.in to produce config.h.
8560
8561 # Create a delimiter string that does not exist in confdefs.h, to ease
8562 # handling of long lines.
8563 ac_delim='%!_!# '
8564 for ac_last_try in false false :; do
8565 ac_tt=`sedscip-shell system . . sed. -n "/$ac_delim/p" confdefs.h`
8566 if testscip-shell system . . test. -z "$ac_tt"; then
8567 break
8568 elif $ac_last_try; then
8569 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8570 else
8571 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8572 fi
8573 done
8574
8575 # For the awk script, D is an array of macro values keyed by name,
8576 # likewise P contains macro parameters if any. Preserve backslash
8577 # newline sequences.
8578
8579 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8580 sedscip-shell system . . sed. -n '
8581 s/.\{148\}/&'"$ac_delim"'/g
8582 t rset
8583 :rset
8584 s/^[ ]*#[ ]*define[ ][ ]*/ /
8585 t def
8586 d
8587 :def
8588 s/\\$//
8589 t bsnl
8590 s/["\\]/\\&/g
8591 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8592 D["\1"]=" \3"/p
8593 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8594 d
8595 :bsnl
8596 s/["\\]/\\&/g
8597 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8598 D["\1"]=" \3\\\\\\n"\\/p
8599 t cont
8600 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8601 t cont
8602 d
8603 :cont
8604 n
8605 s/.\{148\}/&'"$ac_delim"'/g
8606 t clear
8607 :clear
8608 s/\\$//
8609 t bsnlc
8610 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8611 d
8612 :bsnlc
8613 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8614 b cont
8615 ' <confdefs.h | sedscip-shell system . . sed. '
8616 s/'"$ac_delim"'/"\\\
8617 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8618
8619 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8620 for (key in D) D_is_set[key] = 1
8621 FS = ""
8622 }
8623 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8624 line = \$ 0
8625 split(line, arg, " ")
8626 if (arg[1] == "#") {
8627 defundef = arg[2]
8628 mac1 = arg[3]
8629 } else {
8630 defundef = substr(arg[1], 2)
8631 mac1 = arg[2]
8632 }
8633 split(mac1, mac2, "(") #)
8634 macro = mac2[1]
8635 prefix = substr(line, 1, index(line, defundef) - 1)
8636 if (D_is_set[macro]) {
8637 # Preserve the white space surrounding the "#".
8638 print prefix "define", macro P[macro] D[macro]
8639 next
8640 } else {
8641 # Replace #undef with comments. This is necessary, for example,
8642 # in the case of _POSIX_SOURCE, which is predefined and required
8643 # on some systems where configure will not decide to define it.
8644 if (defundef == "undef") {
8645 print "/*", prefix defundef, macro, "*/"
8646 next
8647 }
8648 }
8649 }
8650 { print }
8651 _ACAWK
8652 _ACEOF
8653 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8654 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8655 fi # test -n "$CONFIG_HEADERS"
8656
8657
8658 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8659 shift
8660 for ac_tag
8661 do
8662 case $ac_tag in
8663 :[FHLC]) ac_mode=$ac_tag; continue;;
8664 esac
8665 case $ac_mode$ac_tag in
8666 :[FHL]*:*);;
8667 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8668 :[FH]-) ac_tag=-:-;;
8669 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8670 esac
8671 ac_save_IFS=$IFS
8672 IFS=:
8673 set x $ac_tag
8674 IFS=$ac_save_IFS
8675 shift
8676 ac_file=$1
8677 shift
8678
8679 case $ac_mode in
8680 :L) ac_source=$1;;
8681 :[FH])
8682 ac_file_inputs=
8683 for ac_f
8684 do
8685 case $ac_f in
8686 -) ac_f="$ac_tmp/stdin";;
8687 *) # Look for the file first in the build tree, then in the source tree
8688 # (if the path is not absolute). The absolute path cannot be DOS-style,
8689 # because $ac_f cannot contain `:'.
8690 test -f "$ac_f" ||
8691 case $ac_f in
8692 [\\/$]*) false;;
8693 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8694 esac ||
8695 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8696 esac
8697 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8698 as_fn_append ac_file_inputs " '$ac_f'"
8699 done
8700
8701 # Let's still pretend it is `configure' which instantiates (i.e., don't
8702 # use $as_me), people would be surprised to read:
8703 # /* config.h. Generated by config.status. */
8704 configure_input='Generated from '`
8705 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8706 `' by configure.'
8707 if test x"$ac_file" != x-; then
8708 configure_input="$ac_file. $configure_input"
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8710 $as_echo "$as_me: creating $ac_file" >&6;}
8711 fi
8712 # Neutralize special characters interpreted by sed in replacement strings.
8713 case $configure_input in #(
8714 *\&* | *\|* | *\\* )
8715 ac_sed_conf_input=`$as_echo "$configure_input" |
8716 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8717 *) ac_sed_conf_input=$configure_input;;
8718 esac
8719
8720 case $ac_tag in
8721 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8722 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8723 esac
8724 ;;
8725 esac
8726
8727 ac_dir=`$as_dirname -- "$ac_file" ||
8728 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8729 X"$ac_file" : 'X\(//\)[^/]' \| \
8730 X"$ac_file" : 'X\(//\)$' \| \
8731 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8732 $as_echo X"$ac_file" |
8733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8734 s//\1/
8735 q
8736 }
8737 /^X\(\/\/\)[^/].*/{
8738 s//\1/
8739 q
8740 }
8741 /^X\(\/\/\)$/{
8742 s//\1/
8743 q
8744 }
8745 /^X\(\/\).*/{
8746 s//\1/
8747 q
8748 }
8749 s/.*/./; q'`
8750 as_dir="$ac_dir"; as_fn_mkdir_p
8751 ac_builddir=.
8752
8753 case "$ac_dir" in
8754 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8755 *)
8756 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8757 # A ".." for each directory in $ac_dir_suffix.
8758 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8759 case $ac_top_builddir_sub in
8760 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8761 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8762 esac ;;
8763 esac
8764 ac_abs_top_builddir=$ac_pwd
8765 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8766 # for backward compatibility:
8767 ac_top_builddir=$ac_top_build_prefix
8768
8769 case $srcdir in
8770 .) # We are building in place.
8771 ac_srcdir=.
8772 ac_top_srcdir=$ac_top_builddir_sub
8773 ac_abs_top_srcdir=$ac_pwd ;;
8774 [\\/]* | ?:[\\/]* ) # Absolute name.
8775 ac_srcdir=$srcdir$ac_dir_suffix;
8776 ac_top_srcdir=$srcdir
8777 ac_abs_top_srcdir=$srcdir ;;
8778 *) # Relative name.
8779 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8780 ac_top_srcdir=$ac_top_build_prefix$srcdir
8781 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8782 esac
8783 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8784
8785
8786 case $ac_mode in
8787 :F)
8788 #
8789 # CONFIG_FILE
8790 #
8791
8792 case $INSTALL in
8793 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8794 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8795 esac
8796 ac_MKDIR_P=$MKDIR_P
8797 case $MKDIR_P in
8798 [\\/$]* | ?:[\\/]* ) ;;
8799 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8800 esac
8801 _ACEOF
8802
8803 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8804 # If the template does not know about datarootdir, expand it.
8805 # FIXME: This hack should be removed a few years after 2.60.
8806 ac_datarootdir_hack=; ac_datarootdir_seen=
8807 ac_sed_dataroot='
8808 /datarootdir/ {
8809 p
8810 q
8811 }
8812 /@datadir@/p
8813 /@docdir@/p
8814 /@infodir@/p
8815 /@localedir@/p
8816 /@mandir@/p'
8817 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8818 *datarootdir*) ac_datarootdir_seen=yes;;
8819 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8821 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8822 _ACEOF
8823 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8824 ac_datarootdir_hack='
8825 s&@datadir@&$datadir&g
8826 s&@docdir@&$docdir&g
8827 s&@infodir@&$infodir&g
8828 s&@localedir@&$localedir&g
8829 s&@mandir@&$mandir&g
8830 s&\\\${datarootdir}&$datarootdir&g' ;;
8831 esac
8832 _ACEOF
8833
8834 # Neutralize VPATH when `$srcdir' = `.'.
8835 # Shell code in configure.ac might set extrasub.
8836 # FIXME: do we really want to maintain this feature?
8837 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8838 ac_sed_extra="$ac_vpsub
8839 $extrasub
8840 _ACEOF
8841 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8842 :t
8843 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8844 s|@configure_input@|$ac_sed_conf_input|;t t
8845 s&@top_builddir@&$ac_top_builddir_sub&;t t
8846 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8847 s&@srcdir@&$ac_srcdir&;t t
8848 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8849 s&@top_srcdir@&$ac_top_srcdir&;t t
8850 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8851 s&@builddir@&$ac_builddir&;t t
8852 s&@abs_builddir@&$ac_abs_builddir&;t t
8853 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8854 s&@INSTALL@&$ac_INSTALL&;t t
8855 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8856 $ac_datarootdir_hack
8857 "
8858 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8859 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8860
8861 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8862 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8863 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8864 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8866 which seems to be undefined. Please make sure it is defined" >&5
8867 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8868 which seems to be undefined. Please make sure it is defined" >&2;}
8869
8870 rm -f "$ac_tmp/stdin"
8871 case $ac_file in
8872 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8873 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8874 esac \
8875 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8876 ;;
8877 :H)
8878 #
8879 # CONFIG_HEADER
8880 #
8881 if test x"$ac_file" != x-; then
8882 {
8883 $as_echo "/* $configure_input */" \
8884 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8885 } >"$ac_tmp/config.h" \
8886 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8887 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8889 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8890 else
8891 rm -f "$ac_file"
8892 mv "$ac_tmp/config.h" "$ac_file" \
8893 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8894 fi
8895 else
8896 $as_echo "/* $configure_input */" \
8897 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8898 || as_fn_error $? "could not create -" "$LINENO" 5
8899 fi
8900 # Compute "$ac_file"'s index in $config_headers.
8901 _am_arg="$ac_file"
8902 _am_stamp_count=1
8903 for _am_header in $config_headers :; do
8904 case $_am_header in
8905 $_am_arg | $_am_arg:* )
8906 break ;;
8907 * )
8908 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8909 esac
8910 done
8911 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8912 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8913 X"$_am_arg" : 'X\(//\)[^/]' \| \
8914 X"$_am_arg" : 'X\(//\)$' \| \
8915 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8916 $as_echo X"$_am_arg" |
8917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8918 s//\1/
8919 q
8920 }
8921 /^X\(\/\/\)[^/].*/{
8922 s//\1/
8923 q
8924 }
8925 /^X\(\/\/\)$/{
8926 s//\1/
8927 q
8928 }
8929 /^X\(\/\).*/{
8930 s//\1/
8931 q
8932 }
8933 s/.*/./; q'`/stamp-h$_am_stamp_count
8934 ;;
8935
8936 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8937 $as_echo "$as_me: executing $ac_file commands" >&6;}
8938 ;;
8939 esac
8940
8941
8942 case $ac_file$ac_mode in
8943 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8944 # Older Autoconf quotes --file arguments for eval, but not when files
8945 # are listed without --file. Let's play safe and only enable the eval
8946 # if we detect the quoting.
8947 case $CONFIG_FILES in
8948 *\'*) eval set x "$CONFIG_FILES" ;;
8949 *) set x $CONFIG_FILES ;;
8950 esac
8951 shift
8952 for mf
8953 do
8954 # Strip MF so we end up with the name of the file.
8955 mf=`echo "$mf" | sed -e 's/:.*$//'`
8956 # Check whether this is an Automake generated Makefile or not.
8957 # We used to match only the files named 'Makefile.in', but
8958 # some people rename them; so instead we look at the file content.
8959 # Grep'ing the first line is not enough: some people post-process
8960 # each Makefile.in and add a new line on top of each file to say so.
8961 # Grep'ing the whole file is not good either: AIX grep has a line
8962 # limit of 2048, but all sed's we know have understand at least 4000.
8963 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8964 dirpart=`$as_dirname -- "$mf" ||
8965 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8966 X"$mf" : 'X\(//\)[^/]' \| \
8967 X"$mf" : 'X\(//\)$' \| \
8968 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8969 $as_echo X"$mf" |
8970 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8971 s//\1/
8972 q
8973 }
8974 /^X\(\/\/\)[^/].*/{
8975 s//\1/
8976 q
8977 }
8978 /^X\(\/\/\)$/{
8979 s//\1/
8980 q
8981 }
8982 /^X\(\/\).*/{
8983 s//\1/
8984 q
8985 }
8986 s/.*/./; q'`
8987 else
8988 continue
8989 fi
8990 # Extract the definition of DEPDIR, am__include, and am__quote
8991 # from the Makefile without running 'make'.
8992 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8993 test -z "$DEPDIR" && continue
8994 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8995 test -z "$am__include" && continue
8996 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8997 # Find all dependency output files, they are included files with
8998 # $(DEPDIR) in their names. We invoke sed twice because it is the
8999 # simplest approach to changing $(DEPDIR) to its actual value in the
9000 # expansion.
9001 for file in `sed -n "
9002 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9003 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
9004 # Make sure the directory exists.
9005 test -f "$dirpart/$file" && continue
9006 fdir=`$as_dirname -- "$file" ||
9007 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9008 X"$file" : 'X\(//\)[^/]' \| \
9009 X"$file" : 'X\(//\)$' \| \
9010 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9011 $as_echo X"$file" |
9012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9013 s//\1/
9014 q
9015 }
9016 /^X\(\/\/\)[^/].*/{
9017 s//\1/
9018 q
9019 }
9020 /^X\(\/\/\)$/{
9021 s//\1/
9022 q
9023 }
9024 /^X\(\/\).*/{
9025 s//\1/
9026 q
9027 }
9028 s/.*/./; q'`
9029 as_dir=$dirpart/$fdir; as_fn_mkdir_p
9030 # echo "creating $dirpart/$file"
9031 echo '# dummy' > "$dirpart/$file"
9032 done
9033 done
9034 }
9035 ;;
9036
9037 esac
9038 done # for ac_tag
9039
9040
9041 as_fn_exit 0
9042 _ACEOF
9043 ac_clean_files=$ac_clean_files_save
9044
9045 testscip-shell system . . test. $ac_write_fail = 0 ||
9046 as_fn_errorscip-shell shell dosbox 0.74-3-5 as_fn_error(). $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9047
9048
9049 # configure is writing to config.log, and then calls config.status.
9050 # config.status does its own redirection, appending to config.log.
9051 # Unfortunately, on DOS this fails, as config.log is still kept open
9052 # by configure, so config.status won't be able to write to it; its
9053 # output is simply discarded. So we exec the FD to /dev/null,
9054 # effectively closing config.log, so it can be properly (re)opened and
9055 # appended to by config.status. When coming back to configure, we
9056 # need to make the FD available again.
9057 if testscip-shell system . . test. "$no_create" != yes; then
9058 ac_cs_success=:
9059 ac_config_status_args=
9060 testscip-shell system . . test. "$silent" = yes &&
9061 ac_config_status_args="$ac_config_status_args --quiet"
9062 exec 5>/dev/nullscip-shell filesystem . . `/dev/null`.
9063 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9064 exec 5>>config.log
9065 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9066 # would make configure fail if this is the last instruction.
9067 $ac_cs_success || as_fn_exitscip-shell shell dosbox 0.74-3-5 as_fn_exit(). 1
9068 fi
9069 if testscip-shell system . . test. -n "$ac_unrecognized_opts" && testscip-shell system . . test. "$enable_option_checking" != no; then
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9071 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9072 fi
9073