Debian Codegraph @

07p/configure

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
1 #! /bin/shscip-shell filesystem . . `/bin/sh`.
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if 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 auto-07p 0.9.2+dfsg-3.1 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 auto-07p 0.9.2+dfsg-3.1 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 auto-07p 0.9.2+dfsg-3.1 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 auto-07p 0.9.2+dfsg-3.1 as_fn_exit(). ()
306 {
307 set +e
308 as_fn_set_statusscip-shell shell auto-07p 0.9.2+dfsg-3.1 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 auto-07p 0.9.2+dfsg-3.1 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 auto-07p 0.9.2+dfsg-3.1 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 auto-07p 0.9.2+dfsg-3.1 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 auto-07p 0.9.2+dfsg-3.1 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 auto-07p 0.9.2+dfsg-3.1 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 auto-07p 0.9.2+dfsg-3.1 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 auto-07p 0.9.2+dfsg-3.1 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 auto-07p 0.9.2+dfsg-3.1 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=
579 PACKAGE_TARNAME=
580 PACKAGE_VERSION=
581 PACKAGE_STRING=
582 PACKAGE_BUGREPORT=
583 PACKAGE_URL=
584
585 ac_unique_file="plaut04/src/gmain.c++"
586 ac_subst_vars='LTLIBOBJS
587 LIBOBJS
588 DEPS_INCLUDES
589 DEPS_LIBS
590 SOXT_OBJS_R3B
591 SOXT_OBJS
592 PLAUT04
593 MOC
594 HAVE_SOXT_CONFIG
595 HAVE_SOQT_CONFIG
596 HAVE_COIN_CONFIG
597 ac_ct_CXX
598 CXXFLAGS
599 CXX
600 TEK2PS
601 GUI
602 PLAUT
603 FFLAGS
604 EGREP
605 GREP
606 X_EXTRA_LIBS
607 X_LIBS
608 X_PRE_LIBS
609 X_CFLAGS
610 CPP
611 XMKMF
612 SET_MAKE
613 FCLIBS
614 host_os
615 host_vendor
616 host_cpu
617 host
618 build_os
619 build_vendor
620 build_cpu
621 build
622 COMPAT
623 FCFLAGS_f90
624 ac_ct_FC
625 FCFLAGS
626 INSTALL_DATA
627 INSTALL_SCRIPT
628 INSTALL_PROGRAM
629 OBJEXT
630 EXEEXT
631 ac_ct_CC
632 CPPFLAGS
633 LDFLAGS
634 CFLAGS
635 CC
636 MPIFILE
637 OPT_FLAG
638 MPIFC
639 FC
640 target_alias
641 host_alias
642 build_alias
643 LIBS
644 ECHO_T
645 ECHO_N
646 ECHO_C
647 DEFS
648 mandir
649 localedir
650 libdir
651 psdir
652 pdfdir
653 dvidir
654 htmldir
655 infodir
656 docdir
657 oldincludedir
658 includedir
659 runstatedir
660 localstatedir
661 sharedstatedir
662 sysconfdir
663 datadir
664 datarootdir
665 libexecdir
666 sbindir
667 bindir
668 program_transform_name
669 prefix
670 exec_prefix
671 PACKAGE_URL
672 PACKAGE_BUGREPORT
673 PACKAGE_STRING
674 PACKAGE_VERSION
675 PACKAGE_TARNAME
676 PACKAGE_NAME
677 PATH_SEPARATOR
678 SHELL'
679 ac_subst_files=''
680 ac_user_opts='
681 enable_option_checking
682 with_optimization_flags
683 with_openmp
684 with_mpi
685 enable_plaut
686 enable_plaut04
687 enable_plaut04_qt
688 enable_gui
689 enable_tek2ps
690 with_x
691 '
692 ac_precious_vars='build_alias
693 host_alias
694 target_alias
695 FC
696 MPIFC
697 CC
698 CFLAGS
699 LDFLAGS
700 LIBS
701 CPPFLAGS
702 FCFLAGS
703 XMKMF
704 CPP
705 CXX
706 CXXFLAGS
707 CCC'
708
709
710 # Initialize some variables set by options.
711 ac_init_help=
712 ac_init_version=false
713 ac_unrecognized_opts=
714 ac_unrecognized_sep=
715 # The variables have the same names as the options, with
716 # dashes changed to underlines.
717 cache_file=/dev/nullscip-shell filesystem . . `/dev/null`.
718 exec_prefix=NONE
719 no_create=
720 no_recursion=
721 prefix=NONE
722 program_prefix=NONE
723 program_suffix=NONE
724 program_transform_name=s,x,x,
725 silent=
726 site=
727 srcdir=
728 verbose=
729 x_includes=NONE
730 x_libraries=NONE
731
732 # Installation directory options.
733 # These are left unexpanded so users can "make install exec_prefix=/foo"
734 # and all the variables that are supposed to be based on exec_prefix
735 # by default will actually change.
736 # Use braces instead of parens because sh, perl, etc. also accept them.
737 # (The list follows the same order as the GNU Coding Standards.)
738 bindir='${exec_prefix}/bin'
739 sbindir='${exec_prefix}/sbin'
740 libexecdir='${exec_prefix}/libexec'
741 datarootdir='${prefix}/share'
742 datadir='${datarootdir}'
743 sysconfdir='${prefix}/etc'
744 sharedstatedir='${prefix}/com'
745 localstatedir='${prefix}/var'
746 runstatedir='${localstatedir}/run'
747 includedir='${prefix}/include'
748 oldincludedir='/usr/includescip-shell filesystem . . `/usr/include`.'
749 docdir='${datarootdir}/doc/${PACKAGE}'
750 infodir='${datarootdir}/info'
751 htmldir='${docdir}'
752 dvidir='${docdir}'
753 pdfdir='${docdir}'
754 psdir='${docdir}'
755 libdir='${exec_prefix}/lib'
756 localedir='${datarootdir}/locale'
757 mandir='${datarootdir}/man'
758
759 ac_prev=
760 ac_dashdash=
761 for ac_option
762 do
763 # If the previous option needs an argument, assign it.
764 if testscip-shell system . . test. -n "$ac_prev"; then
765 eval $ac_prev=\$ac_option
766 ac_prev=
767 continue
768 fi
769
770 case $ac_option in
771 *=?*) ac_optarg=`exprscip-shell system . . expr. "X$ac_option" : '[^=]*=\(.*\)'` ;;
772 *=) ac_optarg= ;;
773 *) ac_optarg=yes ;;
774 esac
775
776 # Accept the important Cygnus configure options, so we can diagnose typos.
777
778 case $ac_dashdash$ac_option in
779 --)
780 ac_dashdash=yes ;;
781
782 -bindir | --bindir | --bindi | --bind | --bin | --bi)
783 ac_prev=bindir ;;
784 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
785 bindir=$ac_optarg ;;
786
787 -build | --build | --buil | --bui | --bu)
788 ac_prev=build_alias ;;
789 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
790 build_alias=$ac_optarg ;;
791
792 -cache-file | --cache-file | --cache-fil | --cache-fi \
793 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
794 ac_prev=cache_file ;;
795 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
796 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
797 cache_file=$ac_optarg ;;
798
799 --config-cache | -C)
800 cache_file=config.cache ;;
801
802 -datadir | --datadir | --datadi | --datad)
803 ac_prev=datadir ;;
804 -datadir=* | --datadir=* | --datadi=* | --datad=*)
805 datadir=$ac_optarg ;;
806
807 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
808 | --dataroo | --dataro | --datar)
809 ac_prev=datarootdir ;;
810 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
811 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
812 datarootdir=$ac_optarg ;;
813
814 -disable-* | --disable-*)
815 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*disable-\(.*\)'`
816 # Reject names that are not valid shell variable names.
817 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
818 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "invalid feature name: $ac_useropt"
819 ac_useropt_orig=$ac_useropt
820 ac_useropt=`$as_echo "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
821 case $ac_user_opts in
822 *"
823 "enable_$ac_useropt"
824 "*) ;;
825 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
826 ac_unrecognized_sep=', ';;
827 esac
828 eval enable_$ac_useropt=no ;;
829
830 -docdir | --docdir | --docdi | --doc | --do)
831 ac_prev=docdir ;;
832 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
833 docdir=$ac_optarg ;;
834
835 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
836 ac_prev=dvidir ;;
837 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
838 dvidir=$ac_optarg ;;
839
840 -enable-* | --enable-*)
841 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*enable-\([^=]*\)'`
842 # Reject names that are not valid shell variable names.
843 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
844 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "invalid feature name: $ac_useropt"
845 ac_useropt_orig=$ac_useropt
846 ac_useropt=`$as_echo "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
847 case $ac_user_opts in
848 *"
849 "enable_$ac_useropt"
850 "*) ;;
851 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
852 ac_unrecognized_sep=', ';;
853 esac
854 eval enable_$ac_useropt=\$ac_optarg ;;
855
856 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
857 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
858 | --exec | --exe | --ex)
859 ac_prev=exec_prefix ;;
860 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
861 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
862 | --exec=* | --exe=* | --ex=*)
863 exec_prefix=$ac_optarg ;;
864
865 -gas | --gas | --ga | --g)
866 # Obsolete; use --with-gas.
867 with_gas=yes ;;
868
869 -help | --help | --hel | --he | -h)
870 ac_init_help=long ;;
871 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
872 ac_init_help=recursive ;;
873 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
874 ac_init_help=short ;;
875
876 -host | --host | --hos | --ho)
877 ac_prev=host_alias ;;
878 -host=* | --host=* | --hos=* | --ho=*)
879 host_alias=$ac_optarg ;;
880
881 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
882 ac_prev=htmldir ;;
883 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
884 | --ht=*)
885 htmldir=$ac_optarg ;;
886
887 -includedir | --includedir | --includedi | --included | --include \
888 | --includ | --inclu | --incl | --inc)
889 ac_prev=includedir ;;
890 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
891 | --includ=* | --inclu=* | --incl=* | --inc=*)
892 includedir=$ac_optarg ;;
893
894 -infodir | --infodir | --infodi | --infod | --info | --inf)
895 ac_prev=infodir ;;
896 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
897 infodir=$ac_optarg ;;
898
899 -libdir | --libdir | --libdi | --libd)
900 ac_prev=libdir ;;
901 -libdir=* | --libdir=* | --libdi=* | --libd=*)
902 libdir=$ac_optarg ;;
903
904 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
905 | --libexe | --libex | --libe)
906 ac_prev=libexecdir ;;
907 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
908 | --libexe=* | --libex=* | --libe=*)
909 libexecdir=$ac_optarg ;;
910
911 -localedir | --localedir | --localedi | --localed | --locale)
912 ac_prev=localedir ;;
913 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
914 localedir=$ac_optarg ;;
915
916 -localstatedir | --localstatedir | --localstatedi | --localstated \
917 | --localstate | --localstat | --localsta | --localst | --locals)
918 ac_prev=localstatedir ;;
919 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
920 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
921 localstatedir=$ac_optarg ;;
922
923 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
924 ac_prev=mandir ;;
925 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
926 mandir=$ac_optarg ;;
927
928 -nfp | --nfp | --nf)
929 # Obsolete; use --without-fp.
930 with_fp=no ;;
931
932 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
933 | --no-cr | --no-c | -n)
934 no_create=yes ;;
935
936 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
937 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
938 no_recursion=yes ;;
939
940 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
941 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
942 | --oldin | --oldi | --old | --ol | --o)
943 ac_prev=oldincludedir ;;
944 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
945 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
946 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
947 oldincludedir=$ac_optarg ;;
948
949 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
950 ac_prev=prefix ;;
951 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
952 prefix=$ac_optarg ;;
953
954 -program-prefix | --program-prefix | --program-prefi | --program-pref \
955 | --program-pre | --program-pr | --program-p)
956 ac_prev=program_prefix ;;
957 -program-prefix=* | --program-prefix=* | --program-prefi=* \
958 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
959 program_prefix=$ac_optarg ;;
960
961 -program-suffix | --program-suffix | --program-suffi | --program-suff \
962 | --program-suf | --program-su | --program-s)
963 ac_prev=program_suffix ;;
964 -program-suffix=* | --program-suffix=* | --program-suffi=* \
965 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
966 program_suffix=$ac_optarg ;;
967
968 -program-transform-name | --program-transform-name \
969 | --program-transform-nam | --program-transform-na \
970 | --program-transform-n | --program-transform- \
971 | --program-transform | --program-transfor \
972 | --program-transfo | --program-transf \
973 | --program-trans | --program-tran \
974 | --progr-tra | --program-tr | --program-t)
975 ac_prev=program_transform_name ;;
976 -program-transform-name=* | --program-transform-name=* \
977 | --program-transform-nam=* | --program-transform-na=* \
978 | --program-transform-n=* | --program-transform-=* \
979 | --program-transform=* | --program-transfor=* \
980 | --program-transfo=* | --program-transf=* \
981 | --program-trans=* | --program-tran=* \
982 | --progr-tra=* | --program-tr=* | --program-t=*)
983 program_transform_name=$ac_optarg ;;
984
985 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
986 ac_prev=pdfdir ;;
987 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
988 pdfdir=$ac_optarg ;;
989
990 -psdir | --psdir | --psdi | --psd | --ps)
991 ac_prev=psdir ;;
992 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
993 psdir=$ac_optarg ;;
994
995 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
996 | -silent | --silent | --silen | --sile | --sil)
997 silent=yes ;;
998
999 -runstatedir | --runstatedir | --runstatedi | --runstated \
1000 | --runstate | --runstat | --runsta | --runst | --runs \
1001 | --run | --ru | --r)
1002 ac_prev=runstatedir ;;
1003 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1004 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1005 | --run=* | --ru=* | --r=*)
1006 runstatedir=$ac_optarg ;;
1007
1008 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1009 ac_prev=sbindir ;;
1010 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1011 | --sbi=* | --sb=*)
1012 sbindir=$ac_optarg ;;
1013
1014 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1015 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1016 | --sharedst | --shareds | --shared | --share | --shar \
1017 | --sha | --sh)
1018 ac_prev=sharedstatedir ;;
1019 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1020 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1021 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1022 | --sha=* | --sh=*)
1023 sharedstatedir=$ac_optarg ;;
1024
1025 -site | --site | --sit)
1026 ac_prev=site ;;
1027 -site=* | --site=* | --sit=*)
1028 site=$ac_optarg ;;
1029
1030 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1031 ac_prev=srcdir ;;
1032 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1033 srcdir=$ac_optarg ;;
1034
1035 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1036 | --syscon | --sysco | --sysc | --sys | --sy)
1037 ac_prev=sysconfdir ;;
1038 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1039 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1040 sysconfdir=$ac_optarg ;;
1041
1042 -target | --target | --targe | --targ | --tar | --ta | --t)
1043 ac_prev=target_alias ;;
1044 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1045 target_alias=$ac_optarg ;;
1046
1047 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1048 verbose=yes ;;
1049
1050 -version | --version | --versio | --versi | --vers | -V)
1051 ac_init_version=: ;;
1052
1053 -with-* | --with-*)
1054 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*with-\([^=]*\)'`
1055 # Reject names that are not valid shell variable names.
1056 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1057 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "invalid package name: $ac_useropt"
1058 ac_useropt_orig=$ac_useropt
1059 ac_useropt=`$as_echo "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1060 case $ac_user_opts in
1061 *"
1062 "with_$ac_useropt"
1063 "*) ;;
1064 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1065 ac_unrecognized_sep=', ';;
1066 esac
1067 eval with_$ac_useropt=\$ac_optarg ;;
1068
1069 -without-* | --without-*)
1070 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*without-\(.*\)'`
1071 # Reject names that are not valid shell variable names.
1072 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1073 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "invalid package name: $ac_useropt"
1074 ac_useropt_orig=$ac_useropt
1075 ac_useropt=`$as_echo "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1076 case $ac_user_opts in
1077 *"
1078 "with_$ac_useropt"
1079 "*) ;;
1080 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1081 ac_unrecognized_sep=', ';;
1082 esac
1083 eval with_$ac_useropt=no ;;
1084
1085 --x)
1086 # Obsolete; use --with-x.
1087 with_x=yes ;;
1088
1089 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1090 | --x-incl | --x-inc | --x-in | --x-i)
1091 ac_prev=x_includes ;;
1092 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1093 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1094 x_includes=$ac_optarg ;;
1095
1096 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1097 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1098 ac_prev=x_libraries ;;
1099 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1100 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1101 x_libraries=$ac_optarg ;;
1102
1103 -*) as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "unrecognized option: \`$ac_option'
1104 Try \`$0 --help' for more information"
1105 ;;
1106
1107 *=*)
1108 ac_envvar=`exprscip-shell system . . expr. "x$ac_option" : 'x\([^=]*\)='`
1109 # Reject names that are not valid shell variable names.
1110 case $ac_envvar in #(
1111 '' | [0-9]* | *[!_$as_cr_alnum]* )
1112 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "invalid variable name: \`$ac_envvar'" ;;
1113 esac
1114 eval $ac_envvar=\$ac_optarg
1115 export $ac_envvar ;;
1116
1117 *)
1118 # FIXME: should be removed in autoconf 3.0.
1119 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1120 exprscip-shell system . . expr. "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1121 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1122 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1123 ;;
1124
1125 esac
1126 done
1127
1128 if testscip-shell system . . test. -n "$ac_prev"; then
1129 ac_option=--`echoscip-shell system . . echo. $ac_prev | sedscip-shell system . . sed. 's/_/-/g'`
1130 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "missing argument to $ac_option"
1131 fi
1132
1133 if testscip-shell system . . test. -n "$ac_unrecognized_opts"; then
1134 case $enable_option_checking in
1135 no) ;;
1136 fatal) as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "unrecognized options: $ac_unrecognized_opts" ;;
1137 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1138 esac
1139 fi
1140
1141 # Check all directory arguments for consistency.
1142 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1143 datadir sysconfdir sharedstatedir localstatedir includedir \
1144 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1145 libdir localedir mandir runstatedir
1146 do
1147 eval ac_val=\$$ac_var
1148 # Remove trailing slashes.
1149 case $ac_val in
1150 */ )
1151 ac_val=`exprscip-shell system . . expr. "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1152 eval $ac_var=\$ac_val;;
1153 esac
1154 # Be sure to have absolute directory names.
1155 case $ac_val in
1156 [\\/$]* | ?:[\\/]* ) continue;;
1157 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1158 esac
1159 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "expected an absolute directory name for --$ac_var: $ac_val"
1160 done
1161
1162 # There might be people who depend on the old broken behavior: `$host'
1163 # used to hold the argument of --host etc.
1164 # FIXME: To remove some day.
1165 build=$build_alias
1166 host=$host_alias
1167 target=$target_alias
1168
1169 # FIXME: To remove some day.
1170 if testscip-shell system . . test. "x$host_alias" != x; then
1171 if testscip-shell system . . test. "x$build_alias" = x; then
1172 cross_compiling=maybe
1173 elif testscip-shell system . . test. "x$build_alias" != "x$host_alias"; then
1174 cross_compiling=yes
1175 fi
1176 fi
1177
1178 ac_tool_prefix=
1179 testscip-shell system . . test. -n "$host_alias" && ac_tool_prefix=$host_alias-
1180
1181 testscip-shell system . . test. "$silent" = yes && exec 6>/dev/nullscip-shell filesystem . . `/dev/null`.
1182
1183
1184 ac_pwd=`pwdscip-shell system . . pwd.` && testscip-shell system . . test. -n "$ac_pwd" &&
1185 ac_ls_di=`lsscip-shell system . . ls. -di .` &&
1186 ac_pwd_ls_di=`cd "$ac_pwd" && lsscip-shell system . . ls. -di .` ||
1187 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "working directory cannot be determined"
1188 testscip-shell system . . test. "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1189 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "pwd does not report name of working directory"
1190
1191
1192 # Find the source files, if location was not specified.
1193 if testscip-shell system . . test. -z "$srcdir"; then
1194 ac_srcdir_defaulted=yes
1195 # Try the directory containing this script, then the parent directory.
1196 ac_confdir=`$as_dirname -- "$as_myself" ||
1197 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1198 X"$as_myself" : 'X\(//\)[^/]' \| \
1199 X"$as_myself" : 'X\(//\)$' \| \
1200 X"$as_myself" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
1201 $as_echo X"$as_myself" |
1202 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1203 s//\1/
1204 q
1205 }
1206 /^X\(\/\/\)[^/].*/{
1207 s//\1/
1208 q
1209 }
1210 /^X\(\/\/\)$/{
1211 s//\1/
1212 q
1213 }
1214 /^X\(\/\).*/{
1215 s//\1/
1216 q
1217 }
1218 s/.*/./; q'`
1219 srcdir=$ac_confdir
1220 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1221 srcdir=..
1222 fi
1223 else
1224 ac_srcdir_defaulted=no
1225 fi
1226 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1227 testscip-shell system . . test. "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1228 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "cannot find sources ($ac_unique_file) in $srcdir"
1229 fi
1230 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1231 ac_abs_confdir=`(
1232 cd "$srcdir" && testscip-shell system . . test. -r "./$ac_unique_file" || as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "$ac_msg"
1233 pwdscip-shell system . . pwd.)`
1234 # When building in place, set srcdir=.
1235 if testscip-shell system . . test. "$ac_abs_confdir" = "$ac_pwd"; then
1236 srcdir=.
1237 fi
1238 # Remove unnecessary trailing slashes from srcdir.
1239 # Double slashes in file names in object file debugging info
1240 # mess up M-x gdb in Emacs.
1241 case $srcdir in
1242 */) srcdir=`exprscip-shell system . . expr. "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1243 esac
1244 for ac_var in $ac_precious_vars; do
1245 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1246 eval ac_env_${ac_var}_value=\$${ac_var}
1247 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1248 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1249 done
1250
1251 #
1252 # Report the --help message.
1253 #
1254 if testscip-shell system . . test. "$ac_init_help" = "long"; then
1255 # Omit some internal or obsolete options to make the list less imposing.
1256 # This message is too long to be a string in the A/UX 3.1 sh.
1257 catscip-shell system . . cat. <<_ACEOF
1258 \`configure' configures this package to adapt to many kinds of systems.
1259
1260 Usage: $0 [OPTION]... [VAR=VALUE]...
1261
1262 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1263 VAR=VALUE. See below for descriptions of some of the useful variables.
1264
1265 Defaults for the options are specified in brackets.
1266
1267 Configuration:
1268 -h, --help display this help and exit
1269 --help=short display options specific to this package
1270 --help=recursive display the short help of all the included packages
1271 -V, --version display version information and exit
1272 -q, --quiet, --silent do not print \`checking ...' messages
1273 --cache-file=FILE cache test results in FILE [disabled]
1274 -C, --config-cache alias for \`--cache-file=config.cache'
1275 -n, --no-create do not create output files
1276 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1277
1278 Installation directories:
1279 --prefix=PREFIX install architecture-independent files in PREFIX
1280 [$ac_default_prefix]
1281 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1282 [PREFIX]
1283
1284 By default, \`make install' will install all the files in
1285 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1286 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1287 for instance \`--prefix=\$HOME'.
1288
1289 For better control, use the options below.
1290
1291 Fine tuning of the installation directories:
1292 --bindir=DIR user executables [EPREFIX/bin]
1293 --sbindir=DIR system admin executables [EPREFIX/sbin]
1294 --libexecdir=DIR program executables [EPREFIX/libexec]
1295 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1296 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1297 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1298 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1299 --libdir=DIR object code libraries [EPREFIX/lib]
1300 --includedir=DIR C header files [PREFIX/include]
1301 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1302 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1303 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1304 --infodir=DIR info documentation [DATAROOTDIR/info]
1305 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1306 --mandir=DIR man documentation [DATAROOTDIR/man]
1307 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1308 --htmldir=DIR html documentation [DOCDIR]
1309 --dvidir=DIR dvi documentation [DOCDIR]
1310 --pdfdir=DIR pdf documentation [DOCDIR]
1311 --psdir=DIR ps documentation [DOCDIR]
1312 _ACEOF
1313
1314 catscip-shell system . . cat. <<\_ACEOF
1315
1316 X features:
1317 --x-includes=DIR X include files are in DIR
1318 --x-libraries=DIR X library files are in DIR
1319
1320 System types:
1321 --build=BUILD configure for building on BUILD [guessed]
1322 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1323 _ACEOF
1324 fi
1325
1326 if testscip-shell system . . test. -n "$ac_init_help"; then
1327
1328 catscip-shell system . . cat. <<\_ACEOF
1329
1330 Optional Features:
1331 --disable-option-checking ignore unrecognized --enable/--with options
1332 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1333 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1334 --enable-plaut Compile the Plaut plotting package (default: yes)
1335 --enable-plaut04 Compile the Plaut04 plotting package (default: yes)
1336 --enable-plaut04-qt Try to use QT instead of Motif/LessTif for Plaut04 (default: yes)
1337 --enable-gui Compile the Motif based GUI package (default: no)
1338 --enable-tek2ps Compile the Tek2ps conversion utility (default: yes)
1339
1340 Optional Packages:
1341 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1342 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1343 --with-optimization-flags=FLAGS Choose an optimization flag to give to the compilers (default: -O)
1344 --with-openmp Try to use OpenMP (default: yes)
1345 --with-mpi Try to use MPI (default: no)
1346 --with-x use the X Window System
1347
1348 Some influential environment variables:
1349 FC Choose a Fortran (>=90) compiler other than the default
1350 MPIFC Command to use to compile MPI programs (default: mpif90)
1351 CC C compiler command
1352 CFLAGS C compiler flags
1353 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1354 nonstandard directory <lib dir>
1355 LIBS libraries to pass to the linker, e.g. -l<library>
1356 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1357 you have headers in a nonstandard directory <include dir>
1358 FCFLAGS Fortran compiler flags
1359 XMKMF Path to xmkmf, Makefile generator for X Window System
1360 CPP C preprocessor
1361 CXX C++ compiler command
1362 CXXFLAGS C++ compiler flags
1363
1364 Use these variables to override the choices made by `configure' or to help
1365 it to find libraries and programs with nonstandard names/locations.
1366
1367 Report bugs to the package provider.
1368 _ACEOF
1369 ac_status=$?
1370 fi
1371
1372 if testscip-shell system . . test. "$ac_init_help" = "recursive"; then
1373 # If there are subdirs, report their specific --help.
1374 for ac_dir in : $ac_subdirs_all; do testscip-shell system . . test. "x$ac_dir" = x: && continue
1375 testscip-shell system . . test. -d "$ac_dir" ||
1376 { cd "$srcdir" && ac_pwd=`pwdscip-shell system . . pwd.` && srcdir=. && testscip-shell system . . test. -d "$ac_dir"; } ||
1377 continue
1378 ac_builddir=.
1379
1380 case "$ac_dir" in
1381 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1382 *)
1383 ac_dir_suffix=/`$as_echo "$ac_dir" | sedscip-shell system . . sed. 's|^\.[\\/]||'`
1384 # A ".." for each directory in $ac_dir_suffix.
1385 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sedscip-shell system . . sed. 's|/[^\\/]*|/..|g;s|/||'`
1386 case $ac_top_builddir_sub in
1387 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1388 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1389 esac ;;
1390 esac
1391 ac_abs_top_builddir=$ac_pwd
1392 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1393 # for backward compatibility:
1394 ac_top_builddir=$ac_top_build_prefix
1395
1396 case $srcdir in
1397 .) # We are building in place.
1398 ac_srcdir=.
1399 ac_top_srcdir=$ac_top_builddir_sub
1400 ac_abs_top_srcdir=$ac_pwd ;;
1401 [\\/]* | ?:[\\/]* ) # Absolute name.
1402 ac_srcdir=$srcdir$ac_dir_suffix;
1403 ac_top_srcdir=$srcdir
1404 ac_abs_top_srcdir=$srcdir ;;
1405 *) # Relative name.
1406 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1407 ac_top_srcdir=$ac_top_build_prefix$srcdir
1408 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1409 esac
1410 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1411
1412 cd "$ac_dir" || { ac_status=$?; continue; }
1413 # Check for guested configure.
1414 if testscip-shell system . . test. -f "$ac_srcdir/configure.gnu"; then
1415 echoscip-shell system . . echo. &&
1416 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1417 elif testscip-shell system . . test. -f "$ac_srcdir/configure"; then
1418 echoscip-shell system . . echo. &&
1419 $SHELL "$ac_srcdir/configure" --help=recursive
1420 else
1421 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1422 fi || ac_status=$?
1423 cd "$ac_pwd" || { ac_status=$?; break; }
1424 done
1425 fi
1426
1427 testscip-shell system . . test. -n "$ac_init_help" && exit $ac_status
1428 if $ac_init_version; then
1429 catscip-shell system . . cat. <<\_ACEOF
1430 configure
1431 generated by GNU Autoconf 2.69
1432
1433 Copyright (C) 2012 Free Software Foundation, Inc.
1434 This configure script is free software; the Free Software Foundation
1435 gives unlimited permission to copy, distribute and modify it.
1436 _ACEOF
1437 exit
1438 fi
1439
1440 ## ------------------------ ##
1441 ## Autoconf initialization. ##
1442 ## ------------------------ ##
1443
1444 # ac_fn_c_try_compile LINENO
1445 # --------------------------
1446 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1447 ac_fn_c_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_compile(). ()
1448 {
1449 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1450 rmscip-shell system . . rm. -f conftest.$ac_objext
1451 if { { ac_try="$ac_compile"
1452 case "(($ac_try" in
1453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1454 *) ac_try_echo=$ac_try;;
1455 esac
1456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1457 $as_echo "$ac_try_echo"; } >&5
1458 (eval "$ac_compile") 2>conftest.err
1459 ac_status=$?
1460 if testscip-shell system . . test. -s conftest.err; then
1461 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1462 catscip-shell system . . cat. conftest.er1 >&5
1463 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1464 fi
1465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1466 testscip-shell system . . test. $ac_status = 0; } && {
1467 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1468 testscip-shell system . . test. ! -s conftest.err
1469 } && testscip-shell system . . test. -s conftest.$ac_objext; then :
1470 ac_retval=0
1471 else
1472 $as_echo "$as_me: failed program was:" >&5
1473 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1474
1475 ac_retval=1
1476 fi
1477 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1478 as_fn_set_statusscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_set_status(). $ac_retval
1479
1480 } # ac_fn_c_try_compile
1481
1482 # ac_fn_fc_try_compile LINENO
1483 # ---------------------------
1484 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1485 ac_fn_fc_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_fc_try_compile(). ()
1486 {
1487 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1488 rmscip-shell system . . rm. -f conftest.$ac_objext
1489 if { { ac_try="$ac_compile"
1490 case "(($ac_try" in
1491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1492 *) ac_try_echo=$ac_try;;
1493 esac
1494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1495 $as_echo "$ac_try_echo"; } >&5
1496 (eval "$ac_compile") 2>conftest.err
1497 ac_status=$?
1498 if testscip-shell system . . test. -s conftest.err; then
1499 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1500 catscip-shell system . . cat. conftest.er1 >&5
1501 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1502 fi
1503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1504 testscip-shell system . . test. $ac_status = 0; } && {
1505 testscip-shell system . . test. -z "$ac_fc_werror_flag" ||
1506 testscip-shell system . . test. ! -s conftest.err
1507 } && testscip-shell system . . test. -s conftest.$ac_objext; then :
1508 ac_retval=0
1509 else
1510 $as_echo "$as_me: failed program was:" >&5
1511 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1512
1513 ac_retval=1
1514 fi
1515 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1516 as_fn_set_statusscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_set_status(). $ac_retval
1517
1518 } # ac_fn_fc_try_compile
1519
1520 # ac_fn_fc_try_link LINENO
1521 # ------------------------
1522 # Try to link conftest.$ac_ext, and return whether this succeeded.
1523 ac_fn_fc_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_fc_try_link(). ()
1524 {
1525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1526 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
1527 if { { ac_try="$ac_link"
1528 case "(($ac_try" in
1529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1530 *) ac_try_echo=$ac_try;;
1531 esac
1532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533 $as_echo "$ac_try_echo"; } >&5
1534 (eval "$ac_link") 2>conftest.err
1535 ac_status=$?
1536 if testscip-shell system . . test. -s conftest.err; then
1537 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1538 catscip-shell system . . cat. conftest.er1 >&5
1539 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1540 fi
1541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542 testscip-shell system . . test. $ac_status = 0; } && {
1543 testscip-shell system . . test. -z "$ac_fc_werror_flag" ||
1544 testscip-shell system . . test. ! -s conftest.err
1545 } && testscip-shell system . . test. -s conftest$ac_exeext && {
1546 testscip-shell system . . test. "$cross_compiling" = yes ||
1547 testscip-shell system . . test. -x conftest$ac_exeext
1548 }; then :
1549 ac_retval=0
1550 else
1551 $as_echo "$as_me: failed program was:" >&5
1552 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1553
1554 ac_retval=1
1555 fi
1556 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1557 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1558 # interfere with the next link command; also delete a directory that is
1559 # left behind by Apple's compiler. We do this before executing the actions.
1560 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1561 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1562 as_fn_set_statusscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_set_status(). $ac_retval
1563
1564 } # ac_fn_fc_try_link
1565
1566 # ac_fn_c_try_link LINENO
1567 # -----------------------
1568 # Try to link conftest.$ac_ext, and return whether this succeeded.
1569 ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). ()
1570 {
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
1573 if { { ac_try="$ac_link"
1574 case "(($ac_try" in
1575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1576 *) ac_try_echo=$ac_try;;
1577 esac
1578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_link") 2>conftest.err
1581 ac_status=$?
1582 if testscip-shell system . . test. -s conftest.err; then
1583 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1584 catscip-shell system . . cat. conftest.er1 >&5
1585 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1586 fi
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 testscip-shell system . . test. $ac_status = 0; } && {
1589 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1590 testscip-shell system . . test. ! -s conftest.err
1591 } && testscip-shell system . . test. -s conftest$ac_exeext && {
1592 testscip-shell system . . test. "$cross_compiling" = yes ||
1593 testscip-shell system . . test. -x conftest$ac_exeext
1594 }; then :
1595 ac_retval=0
1596 else
1597 $as_echo "$as_me: failed program was:" >&5
1598 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1599
1600 ac_retval=1
1601 fi
1602 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1603 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1604 # interfere with the next link command; also delete a directory that is
1605 # left behind by Apple's compiler. We do this before executing the actions.
1606 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1607 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1608 as_fn_set_statusscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_set_status(). $ac_retval
1609
1610 } # ac_fn_c_try_link
1611
1612 # ac_fn_c_try_cpp LINENO
1613 # ----------------------
1614 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1615 ac_fn_c_try_cppscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_cpp(). ()
1616 {
1617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618 if { { ac_try="$ac_cpp conftest.$ac_ext"
1619 case "(($ac_try" in
1620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621 *) ac_try_echo=$ac_try;;
1622 esac
1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1626 ac_status=$?
1627 if testscip-shell system . . test. -s conftest.err; then
1628 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1629 catscip-shell system . . cat. conftest.er1 >&5
1630 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1631 fi
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 testscip-shell system . . test. $ac_status = 0; } > conftest.i && {
1634 testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1635 testscip-shell system . . test. ! -s conftest.err
1636 }; then :
1637 ac_retval=0
1638 else
1639 $as_echo "$as_me: failed program was:" >&5
1640 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1641
1642 ac_retval=1
1643 fi
1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645 as_fn_set_statusscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_set_status(). $ac_retval
1646
1647 } # ac_fn_c_try_cpp
1648
1649 # ac_fn_c_check_func LINENO FUNC VAR
1650 # ----------------------------------
1651 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1652 ac_fn_c_check_funcscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_check_func(). ()
1653 {
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1656 $as_echo_n "checking for $2... " >&6; }
1657 if eval \${$3+:} false; then :
1658 $as_echo_n "(cached) " >&6
1659 else
1660 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1661 /* end confdefs.h. */
1662 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1664 #define $2 innocuous_$2
1665
1666 /* System header to define __stub macros and hopefully few prototypes,
1667 which can conflict with char $2 (); below.
1668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1669 <limits.h> exists even on freestanding compilers. */
1670
1671 #ifdef __STDC__
1672 # include <limits.h>
1673 #else
1674 # include <assert.h>
1675 #endif
1676
1677 #undef $2
1678
1679 /* Override any GCC internal prototype to avoid an error.
1680 Use char because int might match the return type of a GCC
1681 builtin and then its argument prototype would still apply. */
1682 #ifdef __cplusplus
1683 extern "C"
1684 #endif
1685 char $2 ();
1686 /* The GNU C library defines this for functions which it implements
1687 to always fail with ENOSYS. Some functions are actually named
1688 something starting with __ and the normal name is an alias. */
1689 #if defined __stub_$2 || defined __stub___$2
1690 choke me
1691 #endif
1692
1693 #ifdef FC_DUMMY_MAIN
1694 #ifndef FC_DUMMY_MAIN_EQ_F77
1695 # ifdef __cplusplus
1696 extern "C"
1697 # endif
1698 int FC_DUMMY_MAIN() { return 1; }
1699 #endif
1700 #endif
1701 int
1702 main ()
1703 {
1704 return $2 ();
1705 ;
1706 return 0;
1707 }
1708 _ACEOF
1709 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
1710 eval "$3=yes"
1711 else
1712 eval "$3=no"
1713 fi
1714 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
1715 conftest$ac_exeext conftest.$ac_ext
1716 fi
1717 eval ac_res=\$$3
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1719 $as_echo "$ac_res" >&6; }
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721
1722 } # ac_fn_c_check_func
1723
1724 # ac_fn_c_try_run LINENO
1725 # ----------------------
1726 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1727 # that executables *can* be run.
1728 ac_fn_c_try_runscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_run(). ()
1729 {
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 if { { ac_try="$ac_link"
1732 case "(($ac_try" in
1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734 *) ac_try_echo=$ac_try;;
1735 esac
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_link") 2>&5
1739 ac_status=$?
1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 testscip-shell system . . test. $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1742 { { case "(($ac_try" in
1743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1744 *) ac_try_echo=$ac_try;;
1745 esac
1746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_try") 2>&5
1749 ac_status=$?
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 testscip-shell system . . test. $ac_status = 0; }; }; then :
1752 ac_retval=0
1753 else
1754 $as_echo "$as_me: program exited with status $ac_status" >&5
1755 $as_echo "$as_me: failed program was:" >&5
1756 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1757
1758 ac_retval=$ac_status
1759 fi
1760 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762 as_fn_set_statusscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_set_status(). $ac_retval
1763
1764 } # ac_fn_c_try_run
1765
1766 # ac_fn_cxx_try_compile LINENO
1767 # ----------------------------
1768 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1769 ac_fn_cxx_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_cxx_try_compile(). ()
1770 {
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 rmscip-shell system . . rm. -f conftest.$ac_objext
1773 if { { ac_try="$ac_compile"
1774 case "(($ac_try" in
1775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776 *) ac_try_echo=$ac_try;;
1777 esac
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_compile") 2>conftest.err
1781 ac_status=$?
1782 if testscip-shell system . . test. -s conftest.err; then
1783 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1784 catscip-shell system . . cat. conftest.er1 >&5
1785 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1786 fi
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 testscip-shell system . . test. $ac_status = 0; } && {
1789 testscip-shell system . . test. -z "$ac_cxx_werror_flag" ||
1790 testscip-shell system . . test. ! -s conftest.err
1791 } && testscip-shell system . . test. -s conftest.$ac_objext; then :
1792 ac_retval=0
1793 else
1794 $as_echo "$as_me: failed program was:" >&5
1795 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1796
1797 ac_retval=1
1798 fi
1799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800 as_fn_set_statusscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_set_status(). $ac_retval
1801
1802 } # ac_fn_cxx_try_compile
1803
1804 # ac_fn_cxx_try_link LINENO
1805 # -------------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded.
1807 ac_fn_cxx_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_cxx_try_link(). ()
1808 {
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
1811 if { { ac_try="$ac_link"
1812 case "(($ac_try" in
1813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814 *) ac_try_echo=$ac_try;;
1815 esac
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_link") 2>conftest.err
1819 ac_status=$?
1820 if testscip-shell system . . test. -s conftest.err; then
1821 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1822 catscip-shell system . . cat. conftest.er1 >&5
1823 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1824 fi
1825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826 testscip-shell system . . test. $ac_status = 0; } && {
1827 testscip-shell system . . test. -z "$ac_cxx_werror_flag" ||
1828 testscip-shell system . . test. ! -s conftest.err
1829 } && testscip-shell system . . test. -s conftest$ac_exeext && {
1830 testscip-shell system . . test. "$cross_compiling" = yes ||
1831 testscip-shell system . . test. -x conftest$ac_exeext
1832 }; then :
1833 ac_retval=0
1834 else
1835 $as_echo "$as_me: failed program was:" >&5
1836 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1837
1838 ac_retval=1
1839 fi
1840 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1841 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1842 # interfere with the next link command; also delete a directory that is
1843 # left behind by Apple's compiler. We do this before executing the actions.
1844 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846 as_fn_set_statusscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_set_status(). $ac_retval
1847
1848 } # ac_fn_cxx_try_link
1849 catscip-shell system . . cat. >config.log <<_ACEOF
1850 This file contains any messages produced by compilers while
1851 running configure, to aid debugging if configure makes a mistake.
1852
1853 It was created by $as_me, which was
1854 generated by GNU Autoconf 2.69. Invocation command line was
1855
1856 $ $0 $@
1857
1858 _ACEOF
1859 exec 5>>config.log
1860 {
1861 catscip-shell system . . cat. <<_ASUNAME
1862 ## --------- ##
1863 ## Platform. ##
1864 ## --------- ##
1865
1866 hostname = `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
1867 uname -m = `(unamescip-shell system . . uname. -m) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1868 uname -r = `(unamescip-shell system . . uname. -r) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1869 uname -s = `(unamescip-shell system . . uname. -s) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1870 uname -v = `(unamescip-shell system . . uname. -v) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1871
1872 /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`
1873 /bin/uname -X = `(/bin/unamescip-shell filesystem . . `/bin/uname`. -X) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1874
1875 /bin/arch = `(/bin/archscip-shell filesystem . . `/bin/arch`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1876 /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`
1877 /usr/convex/getsysinfo = `(/usr/convex/getsysinfoscip-shell filesystem . . `/usr/convex/getsysinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1878 /usr/bin/hostinfo = `(/usr/bin/hostinfoscip-shell filesystem . . `/usr/bin/hostinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1879 /bin/machine = `(/bin/machinescip-shell filesystem . . `/bin/machine`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1880 /usr/bin/oslevel = `(/usr/bin/oslevelscip-shell filesystem . . `/usr/bin/oslevel`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1881 /bin/universe = `(/bin/universescip-shell filesystem . . `/bin/universe`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1882
1883 _ASUNAME
1884
1885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1886 for as_dir in $PATH
1887 do
1888 IFS=$as_save_IFS
1889 testscip-shell system . . test. -z "$as_dir" && as_dir=.
1890 $as_echo "PATH: $as_dir"
1891 done
1892 IFS=$as_save_IFS
1893
1894 } >&5
1895
1896 catscip-shell system . . cat. >&5 <<_ACEOF
1897
1898
1899 ## ----------- ##
1900 ## Core tests. ##
1901 ## ----------- ##
1902
1903 _ACEOF
1904
1905
1906 # Keep a trace of the command line.
1907 # Strip out --no-create and --no-recursion so they do not pile up.
1908 # Strip out --silent because we don't want to record it for future runs.
1909 # Also quote any args containing shell meta-characters.
1910 # Make two passes to allow for proper duplicate-argument suppression.
1911 ac_configure_args=
1912 ac_configure_args0=
1913 ac_configure_args1=
1914 ac_must_keep_next=false
1915 for ac_pass in 1 2
1916 do
1917 for ac_arg
1918 do
1919 case $ac_arg in
1920 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1921 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1922 | -silent | --silent | --silen | --sile | --sil)
1923 continue ;;
1924 *\'*)
1925 ac_arg=`$as_echo "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
1926 esac
1927 case $ac_pass in
1928 1) as_fn_appendscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_append(). ac_configure_args0 " '$ac_arg'" ;;
1929 2)
1930 as_fn_appendscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_append(). ac_configure_args1 " '$ac_arg'"
1931 if testscip-shell system . . test. $ac_must_keep_next = true; then
1932 ac_must_keep_next=false # Got value, back to normal.
1933 else
1934 case $ac_arg in
1935 *=* | --config-cache | -C | -disable-* | --disable-* \
1936 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1937 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1938 | -with-* | --with-* | -without-* | --without-* | --x)
1939 case "$ac_configure_args0 " in
1940 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1941 esac
1942 ;;
1943 -* ) ac_must_keep_next=true ;;
1944 esac
1945 fi
1946 as_fn_appendscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_append(). ac_configure_args " '$ac_arg'"
1947 ;;
1948 esac
1949 done
1950 done
1951 { ac_configure_args0=; unset ac_configure_args0;}
1952 { ac_configure_args1=; unset ac_configure_args1;}
1953
1954 # When interrupted or exit'd, cleanup temporary files, and complete
1955 # config.log. We remove comments because anyway the quotes in there
1956 # would cause problems or look ugly.
1957 # WARNING: Use '\'' to represent an apostrophe within the trap.
1958 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1959 trap 'exit_status=$?
1960 # Save into config.log some information that might help in debugging.
1961 {
1962 echo
1963
1964 $as_echo "## ---------------- ##
1965 ## Cache variables. ##
1966 ## ---------------- ##"
1967 echo
1968 # The following way of writing the cache mishandles newlines in values,
1969 (
1970 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1971 eval ac_val=\$$ac_var
1972 case $ac_val in #(
1973 *${as_nl}*)
1974 case $ac_var in #(
1975 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1976 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1977 esac
1978 case $ac_var in #(
1979 _ | IFS | as_nl) ;; #(
1980 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1981 *) { eval $ac_var=; unset $ac_var;} ;;
1982 esac ;;
1983 esac
1984 done
1985 (set) 2>&1 |
1986 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1987 *${as_nl}ac_space=\ *)
1988 sed -n \
1989 "s/'\''/'\''\\\\'\'''\''/g;
1990 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1991 ;; #(
1992 *)
1993 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1994 ;;
1995 esac |
1996 sort
1997 )
1998 echo
1999
2000 $as_echo "## ----------------- ##
2001 ## Output variables. ##
2002 ## ----------------- ##"
2003 echo
2004 for ac_var in $ac_subst_vars
2005 do
2006 eval ac_val=\$$ac_var
2007 case $ac_val in
2008 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2009 esac
2010 $as_echo "$ac_var='\''$ac_val'\''"
2011 done | sort
2012 echo
2013
2014 if test -n "$ac_subst_files"; then
2015 $as_echo "## ------------------- ##
2016 ## File substitutions. ##
2017 ## ------------------- ##"
2018 echo
2019 for ac_var in $ac_subst_files
2020 do
2021 eval ac_val=\$$ac_var
2022 case $ac_val in
2023 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2024 esac
2025 $as_echo "$ac_var='\''$ac_val'\''"
2026 done | sort
2027 echo
2028 fi
2029
2030 if test -s confdefs.h; then
2031 $as_echo "## ----------- ##
2032 ## confdefs.h. ##
2033 ## ----------- ##"
2034 echo
2035 cat confdefs.h
2036 echo
2037 fi
2038 test "$ac_signal" != 0 &&
2039 $as_echo "$as_me: caught signal $ac_signal"
2040 $as_echo "$as_me: exit $exit_status"
2041 } >&5
2042 rm -f core *.core core.conftest.* &&
2043 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2044 exit $exit_status
2045 ' 0
2046 for ac_signal in 1 2 13 15; do
2047 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2048 done
2049 ac_signal=0
2050
2051 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2052 rmscip-shell system . . rm. -f -r conftest* confdefs.h
2053
2054 $as_echo "/* confdefs.h */" > confdefs.h
2055
2056 # Predefined preprocessor variables.
2057
2058 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2059 #define PACKAGE_NAME "$PACKAGE_NAME"
2060 _ACEOF
2061
2062 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2063 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2064 _ACEOF
2065
2066 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2067 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2068 _ACEOF
2069
2070 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2071 #define PACKAGE_STRING "$PACKAGE_STRING"
2072 _ACEOF
2073
2074 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2075 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2076 _ACEOF
2077
2078 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2079 #define PACKAGE_URL "$PACKAGE_URL"
2080 _ACEOF
2081
2082
2083 # Let the site file select an alternate cache file if it wants to.
2084 # Prefer an explicitly selected file to automatically selected ones.
2085 ac_site_file1=NONE
2086 ac_site_file2=NONE
2087 if testscip-shell system . . test. -n "$CONFIG_SITE"; then
2088 # We do not want a PATH search for config.site.
2089 case $CONFIG_SITE in #((
2090 -*) ac_site_file1=./$CONFIG_SITE;;
2091 */*) ac_site_file1=$CONFIG_SITE;;
2092 *) ac_site_file1=./$CONFIG_SITE;;
2093 esac
2094 elif testscip-shell system . . test. "x$prefix" != xNONE; then
2095 ac_site_file1=$prefix/share/config.site
2096 ac_site_file2=$prefix/etc/config.site
2097 else
2098 ac_site_file1=$ac_default_prefix/share/config.site
2099 ac_site_file2=$ac_default_prefix/etc/config.site
2100 fi
2101 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2102 do
2103 testscip-shell system . . test. "x$ac_site_file" = xNONE && continue
2104 if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$ac_site_file" && testscip-shell system . . test. -r "$ac_site_file"; then
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2106 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2107 sedscip-shell system . . sed. 's/^/| /' "$ac_site_file" >&5
2108 . "$ac_site_file" \
2109 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2111 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "failed to load site script $ac_site_file
2112 See \`config.log' for more details" "$LINENO" 5; }
2113 fi
2114 done
2115
2116 if testscip-shell system . . test. -r "$cache_file"; then
2117 # Some versions of bash will fail to source /dev/null (special files
2118 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2119 if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$cache_file" && testscip-shell system . . test. -f "$cache_file"; then
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2121 $as_echo "$as_me: loading cache $cache_file" >&6;}
2122 case $cache_file in
2123 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2124 *) . "./$cache_file";;
2125 esac
2126 fi
2127 else
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2129 $as_echo "$as_me: creating cache $cache_file" >&6;}
2130 >$cache_file
2131 fi
2132
2133 # Check that the precious variables saved in the cache have kept the same
2134 # value.
2135 ac_cache_corrupted=false
2136 for ac_var in $ac_precious_vars; do
2137 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2138 eval ac_new_set=\$ac_env_${ac_var}_set
2139 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2140 eval ac_new_val=\$ac_env_${ac_var}_value
2141 case $ac_old_set,$ac_new_set in
2142 set,)
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2144 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2145 ac_cache_corrupted=: ;;
2146 ,set)
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2148 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2149 ac_cache_corrupted=: ;;
2150 ,);;
2151 *)
2152 if testscip-shell system . . test. "x$ac_old_val" != "x$ac_new_val"; then
2153 # differences in whitespace do not lead to failure.
2154 ac_old_val_w=`echoscip-shell system . . echo. x $ac_old_val`
2155 ac_new_val_w=`echoscip-shell system . . echo. x $ac_new_val`
2156 if testscip-shell system . . test. "$ac_old_val_w" != "$ac_new_val_w"; then
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2158 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2159 ac_cache_corrupted=:
2160 else
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2162 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2163 eval $ac_var=\$ac_old_val
2164 fi
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2166 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2168 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2169 fi;;
2170 esac
2171 # Pass precious variables to config.status.
2172 if testscip-shell system . . test. "$ac_new_set" = set; then
2173 case $ac_new_val in
2174 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2175 *) ac_arg=$ac_var=$ac_new_val ;;
2176 esac
2177 case " $ac_configure_args " in
2178 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2179 *) as_fn_appendscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_append(). ac_configure_args " '$ac_arg'" ;;
2180 esac
2181 fi
2182 done
2183 if $ac_cache_corrupted; then
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2187 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2188 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2189 fi
2190 ## -------------------- ##
2191 ## Main body of script. ##
2192 ## -------------------- ##
2193
2194 ac_ext=c
2195 ac_cpp='$CPP $CPPFLAGS'
2196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2199
2200
2201
2202 ac_config_headers="$ac_config_headers include/config.h"
2203
2204
2205
2206
2207
2208
2209 # Check whether --with-optimization-flags was given.
2210 if testscip-shell system . . test. "${with_optimization_flags+set}" = set; then :
2211 withval=$with_optimization_flags; OPT_FLAG=$withval
2212 else
2213 OPT_FLAG="-O"
2214 fi
2215
2216
2217
2218 # Check whether --with-openmp was given.
2219 if testscip-shell system . . test. "${with_openmp+set}" = set; then :
2220 withval=$with_openmp; openmp=$withval
2221 else
2222 openmp="yes"
2223 fi
2224
2225
2226
2227 # Check whether --with-mpi was given.
2228 if testscip-shell system . . test. "${with_mpi+set}" = set; then :
2229 withval=$with_mpi; mpi=$withval
2230 else
2231 mpi="no"
2232 fi
2233
2234
2235 # Check whether --enable-plaut was given.
2236 if testscip-shell system . . test. "${enable_plaut+set}" = set; then :
2237 enableval=$enable_plaut; ENABLE_PLAUT=$enableval
2238 else
2239 ENABLE_PLAUT=yes
2240 fi
2241
2242
2243 # Check whether --enable-plaut04 was given.
2244 if testscip-shell system . . test. "${enable_plaut04+set}" = set; then :
2245 enableval=$enable_plaut04; ENABLE_PLAUT04=$enableval
2246 else
2247 ENABLE_PLAUT04=yes
2248 fi
2249
2250
2251 # Check whether --enable-plaut04-qt was given.
2252 if testscip-shell system . . test. "${enable_plaut04_qt+set}" = set; then :
2253 enableval=$enable_plaut04_qt; ENABLE_PLAUT04_QT=$enableval
2254 else
2255 ENABLE_PLAUT04_QT=yes
2256 fi
2257
2258
2259 # Check whether --enable-gui was given.
2260 if testscip-shell system . . test. "${enable_gui+set}" = set; then :
2261 enableval=$enable_gui; ENABLE_GUI=$enableval
2262 else
2263 ENABLE_GUI=no
2264 fi
2265
2266
2267 # Check whether --enable-tek2ps was given.
2268 if testscip-shell system . . test. "${enable_tek2ps+set}" = set; then :
2269 enableval=$enable_tek2ps; ENABLE_TEK2PS=$enableval
2270 else
2271 ENABLE_TEK2PS=yes
2272 fi
2273
2274
2275
2276
2277
2278 MPIFILE=nompi.f90
2279 if testscip-shell system . . test. x$mpi = "xyes"; then
2280 # We first check for the MPI compilation script. If it exists
2281 # we try and us it to override the default compiler.
2282 if testscip-shell system . . test. x$MPIFC = "x"; then
2283 # sometimes (FC4/5) mpif77 actually calls f95...
2284 for ac_prog in mpif90 mpif95 mpif77
2285 do
2286 # Extract the first word of "$ac_prog", so it can be a program name with args.
2287 set dummy $ac_prog; ac_word=$2
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2289 $as_echo_n "checking for $ac_word... " >&6; }
2290 if ${ac_cv_prog_MPIFC+:} false; then :
2291 $as_echo_n "(cached) " >&6
2292 else
2293 if testscip-shell system . . test. -n "$MPIFC"; then
2294 ac_cv_prog_MPIFC="$MPIFC" # Let the user override the test.
2295 else
2296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2297 for as_dir in $PATH
2298 do
2299 IFS=$as_save_IFS
2300 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2301 for ac_exec_ext in '' $ac_executable_extensions; do
2302 if as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
2303 ac_cv_prog_MPIFC="$ac_prog"
2304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2305 break 2
2306 fi
2307 done
2308 done
2309 IFS=$as_save_IFS
2310
2311 fi
2312 fi
2313 MPIFC=$ac_cv_prog_MPIFC
2314 if testscip-shell system . . test. -n "$MPIFC"; then
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MPIFC" >&5
2316 $as_echo "$MPIFC" >&6; }
2317 else
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2319 $as_echo "no" >&6; }
2320 fi
2321
2322
2323 testscip-shell system . . test. -n "$MPIFC" && break
2324 done
2325 testscip-shell system . . test. -n "$MPIFC" || MPIFC=""no""
2326
2327 if testscip-shell system . . test. x$MPIFC = "xmpif77"; then
2328 if ! ( $MPIFC -v 2>&1 | grepscip-shell system . . grep. f95 > /dev/nullscip-shell filesystem . . `/dev/null`. ) ; then
2329 MPIFC=no
2330 fi
2331 fi
2332 fi
2333 if testscip-shell system . . test. x$MPIFC != "xno"; then
2334 MPI="yes"
2335 MPIFILE=mpi.f90
2336 FC=$MPIFC
2337 fi
2338 fi
2339
2340
2341 ac_ext=c
2342 ac_cpp='$CPP $CPPFLAGS'
2343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2346 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
2347 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2348 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2350 $as_echo_n "checking for $ac_word... " >&6; }
2351 if ${ac_cv_prog_CC+:} false; then :
2352 $as_echo_n "(cached) " >&6
2353 else
2354 if testscip-shell system . . test. -n "$CC"; then
2355 ac_cv_prog_CC="$CC" # Let the user override the test.
2356 else
2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2358 for as_dir in $PATH
2359 do
2360 IFS=$as_save_IFS
2361 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2362 for ac_exec_ext in '' $ac_executable_extensions; do
2363 if as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
2364 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2366 break 2
2367 fi
2368 done
2369 done
2370 IFS=$as_save_IFS
2371
2372 fi
2373 fi
2374 CC=$ac_cv_prog_CC
2375 if testscip-shell system . . test. -n "$CC"; then
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2377 $as_echo "$CC" >&6; }
2378 else
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2380 $as_echo "no" >&6; }
2381 fi
2382
2383
2384 fi
2385 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
2386 ac_ct_CC=$CC
2387 # Extract the first word of "gcc", so it can be a program name with args.
2388 set dummy gcc; ac_word=$2
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2390 $as_echo_n "checking for $ac_word... " >&6; }
2391 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2392 $as_echo_n "(cached) " >&6
2393 else
2394 if testscip-shell system . . test. -n "$ac_ct_CC"; then
2395 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2396 else
2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398 for as_dir in $PATH
2399 do
2400 IFS=$as_save_IFS
2401 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2402 for ac_exec_ext in '' $ac_executable_extensions; do
2403 if as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
2404 ac_cv_prog_ac_ct_CC="gcc"
2405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2406 break 2
2407 fi
2408 done
2409 done
2410 IFS=$as_save_IFS
2411
2412 fi
2413 fi
2414 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2415 if testscip-shell system . . test. -n "$ac_ct_CC"; then
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2417 $as_echo "$ac_ct_CC" >&6; }
2418 else
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2420 $as_echo "no" >&6; }
2421 fi
2422
2423 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
2424 CC=""
2425 else
2426 case $cross_compiling:$ac_tool_warned in
2427 yes:)
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2430 ac_tool_warned=yes ;;
2431 esac
2432 CC=$ac_ct_CC
2433 fi
2434 else
2435 CC="$ac_cv_prog_CC"
2436 fi
2437
2438 if testscip-shell system . . test. -z "$CC"; then
2439 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
2440 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2441 set dummy ${ac_tool_prefix}cc; ac_word=$2
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2443 $as_echo_n "checking for $ac_word... " >&6; }
2444 if ${ac_cv_prog_CC+:} false; then :
2445 $as_echo_n "(cached) " >&6
2446 else
2447 if testscip-shell system . . test. -n "$CC"; then
2448 ac_cv_prog_CC="$CC" # Let the user override the test.
2449 else
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451 for as_dir in $PATH
2452 do
2453 IFS=$as_save_IFS
2454 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2455 for ac_exec_ext in '' $ac_executable_extensions; do
2456 if as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
2457 ac_cv_prog_CC="${ac_tool_prefix}cc"
2458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 break 2
2460 fi
2461 done
2462 done
2463 IFS=$as_save_IFS
2464
2465 fi
2466 fi
2467 CC=$ac_cv_prog_CC
2468 if testscip-shell system . . test. -n "$CC"; then
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2470 $as_echo "$CC" >&6; }
2471 else
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2473 $as_echo "no" >&6; }
2474 fi
2475
2476
2477 fi
2478 fi
2479 if testscip-shell system . . test. -z "$CC"; then
2480 # Extract the first word of "cc", so it can be a program name with args.
2481 set dummy cc; ac_word=$2
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2483 $as_echo_n "checking for $ac_word... " >&6; }
2484 if ${ac_cv_prog_CC+:} false; then :
2485 $as_echo_n "(cached) " >&6
2486 else
2487 if testscip-shell system . . test. -n "$CC"; then
2488 ac_cv_prog_CC="$CC" # Let the user override the test.
2489 else
2490 ac_prog_rejected=no
2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2492 for as_dir in $PATH
2493 do
2494 IFS=$as_save_IFS
2495 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2496 for ac_exec_ext in '' $ac_executable_extensions; do
2497 if as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
2498 if testscip-shell system . . test. "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then
2499 ac_prog_rejected=yes
2500 continue
2501 fi
2502 ac_cv_prog_CC="cc"
2503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2504 break 2
2505 fi
2506 done
2507 done
2508 IFS=$as_save_IFS
2509
2510 if testscip-shell system . . test. $ac_prog_rejected = yes; then
2511 # We found a bogon in the path, so make sure we never use it.
2512 set dummy $ac_cv_prog_CC
2513 shift
2514 if testscip-shell system . . test. $# != 0; then
2515 # We chose a different compiler from the bogus one.
2516 # However, it has the same basename, so the bogon will be chosen
2517 # first if we set CC to just the basename; use the full file name.
2518 shift
2519 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2520 fi
2521 fi
2522 fi
2523 fi
2524 CC=$ac_cv_prog_CC
2525 if testscip-shell system . . test. -n "$CC"; then
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2527 $as_echo "$CC" >&6; }
2528 else
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2530 $as_echo "no" >&6; }
2531 fi
2532
2533
2534 fi
2535 if testscip-shell system . . test. -z "$CC"; then
2536 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
2537 for ac_prog in cl.exe
2538 do
2539 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2540 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2542 $as_echo_n "checking for $ac_word... " >&6; }
2543 if ${ac_cv_prog_CC+:} false; then :
2544 $as_echo_n "(cached) " >&6
2545 else
2546 if testscip-shell system . . test. -n "$CC"; then
2547 ac_cv_prog_CC="$CC" # Let the user override the test.
2548 else
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550 for as_dir in $PATH
2551 do
2552 IFS=$as_save_IFS
2553 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2554 for ac_exec_ext in '' $ac_executable_extensions; do
2555 if as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
2556 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 break 2
2559 fi
2560 done
2561 done
2562 IFS=$as_save_IFS
2563
2564 fi
2565 fi
2566 CC=$ac_cv_prog_CC
2567 if testscip-shell system . . test. -n "$CC"; then
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2569 $as_echo "$CC" >&6; }
2570 else
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2572 $as_echo "no" >&6; }
2573 fi
2574
2575
2576 testscip-shell system . . test. -n "$CC" && break
2577 done
2578 fi
2579 if testscip-shell system . . test. -z "$CC"; then
2580 ac_ct_CC=$CC
2581 for ac_prog in cl.exe
2582 do
2583 # Extract the first word of "$ac_prog", so it can be a program name with args.
2584 set dummy $ac_prog; ac_word=$2
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2586 $as_echo_n "checking for $ac_word... " >&6; }
2587 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2588 $as_echo_n "(cached) " >&6
2589 else
2590 if testscip-shell system . . test. -n "$ac_ct_CC"; then
2591 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2592 else
2593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2594 for as_dir in $PATH
2595 do
2596 IFS=$as_save_IFS
2597 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2598 for ac_exec_ext in '' $ac_executable_extensions; do
2599 if as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
2600 ac_cv_prog_ac_ct_CC="$ac_prog"
2601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2602 break 2
2603 fi
2604 done
2605 done
2606 IFS=$as_save_IFS
2607
2608 fi
2609 fi
2610 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2611 if testscip-shell system . . test. -n "$ac_ct_CC"; then
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2613 $as_echo "$ac_ct_CC" >&6; }
2614 else
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2616 $as_echo "no" >&6; }
2617 fi
2618
2619
2620 testscip-shell system . . test. -n "$ac_ct_CC" && break
2621 done
2622
2623 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
2624 CC=""
2625 else
2626 case $cross_compiling:$ac_tool_warned in
2627 yes:)
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2630 ac_tool_warned=yes ;;
2631 esac
2632 CC=$ac_ct_CC
2633 fi
2634 fi
2635
2636 fi
2637
2638
2639 testscip-shell system . . test. -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2641 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "no acceptable C compiler found in \$PATH
2642 See \`config.log' for more details" "$LINENO" 5; }
2643
2644 # Provide some information about the compiler.
2645 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2646 set X $ac_compile
2647 ac_compiler=$2
2648 for ac_option in --version -v -V -qversion; do
2649 { { ac_try="$ac_compiler $ac_option >&5"
2650 case "(($ac_try" in
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2653 esac
2654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2655 $as_echo "$ac_try_echo"; } >&5
2656 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2657 ac_status=$?
2658 if testscip-shell system . . test. -s conftest.err; then
2659 sedscip-shell system . . sed. '10a\
2660 ... rest of stderr output deleted ...
2661 10q' conftest.err >conftest.er1
2662 catscip-shell system . . cat. conftest.er1 >&5
2663 fi
2664 rmscip-shell system . . rm. -f conftest.er1 conftest.err
2665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2666 testscip-shell system . . test. $ac_status = 0; }
2667 done
2668
2669 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2670 /* end confdefs.h. */
2671
2672 int
2673 main ()
2674 {
2675
2676 ;
2677 return 0;
2678 }
2679 _ACEOF
2680 ac_clean_files_save=$ac_clean_files
2681 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2682 # Try to create an executable without -o first, disregard a.out.
2683 # It will help us diagnose broken compilers, and finding out an intuition
2684 # of exeext.
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2686 $as_echo_n "checking whether the C compiler works... " >&6; }
2687 ac_link_default=`$as_echo "$ac_link" | sedscip-shell system . . sed. 's/ -o *conftest[^ ]*//'`
2688
2689 # The possible output files:
2690 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2691
2692 ac_rmfiles=
2693 for ac_file in $ac_files
2694 do
2695 case $ac_file in
2696 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2697 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2698 esac
2699 done
2700 rmscip-shell system . . rm. -f $ac_rmfiles
2701
2702 if { { ac_try="$ac_link_default"
2703 case "(($ac_try" in
2704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2705 *) ac_try_echo=$ac_try;;
2706 esac
2707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2708 $as_echo "$ac_try_echo"; } >&5
2709 (eval "$ac_link_default") 2>&5
2710 ac_status=$?
2711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2712 testscip-shell system . . test. $ac_status = 0; }; then :
2713 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2714 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2715 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2716 # so that the user can short-circuit this test for compilers unknown to
2717 # Autoconf.
2718 for ac_file in $ac_files ''
2719 do
2720 testscip-shell system . . test. -f "$ac_file" || continue
2721 case $ac_file in
2722 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2723 ;;
2724 [ab].out )
2725 # We found the default executable, but exeext='' is most
2726 # certainly right.
2727 break;;
2728 *.* )
2729 if testscip-shell system . . test. "${ac_cv_exeext+set}" = set && testscip-shell system . . test. "$ac_cv_exeext" != no;
2730 then :; else
2731 ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
2732 fi
2733 # We set ac_cv_exeext here because the later test for it is not
2734 # safe: cross compilers may not add the suffix if given an `-o'
2735 # argument, so we may need to know it at that point already.
2736 # Even if this section looks crufty: it has the advantage of
2737 # actually working.
2738 break;;
2739 * )
2740 break;;
2741 esac
2742 done
2743 testscip-shell system . . test. "$ac_cv_exeext" = no && ac_cv_exeext=
2744
2745 else
2746 ac_file=''
2747 fi
2748 if testscip-shell system . . test. -z "$ac_file"; then :
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750 $as_echo "no" >&6; }
2751 $as_echo "$as_me: failed program was:" >&5
2752 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2753
2754 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2756 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). 77 "C compiler cannot create executables
2757 See \`config.log' for more details" "$LINENO" 5; }
2758 else
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2760 $as_echo "yes" >&6; }
2761 fi
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2763 $as_echo_n "checking for C compiler default output file name... " >&6; }
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2765 $as_echo "$ac_file" >&6; }
2766 ac_exeext=$ac_cv_exeext
2767
2768 rmscip-shell system . . rm. -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2769 ac_clean_files=$ac_clean_files_save
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2771 $as_echo_n "checking for suffix of executables... " >&6; }
2772 if { { ac_try="$ac_link"
2773 case "(($ac_try" in
2774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2775 *) ac_try_echo=$ac_try;;
2776 esac
2777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2778 $as_echo "$ac_try_echo"; } >&5
2779 (eval "$ac_link") 2>&5
2780 ac_status=$?
2781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2782 testscip-shell system . . test. $ac_status = 0; }; then :
2783 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2784 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2785 # work properly (i.e., refer to `conftest.exe'), while it won't with
2786 # `rm'.
2787 for ac_file in conftest.exe conftest conftest.*; do
2788 testscip-shell system . . test. -f "$ac_file" || continue
2789 case $ac_file in
2790 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2791 *.* ) ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
2792 break;;
2793 * ) break;;
2794 esac
2795 done
2796 else
2797 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2799 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "cannot compute suffix of executables: cannot compile and link
2800 See \`config.log' for more details" "$LINENO" 5; }
2801 fi
2802 rmscip-shell system . . rm. -f conftest conftest$ac_cv_exeext
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2804 $as_echo "$ac_cv_exeext" >&6; }
2805
2806 rmscip-shell system . . rm. -f conftest.$ac_ext
2807 EXEEXT=$ac_cv_exeext
2808 ac_exeext=$EXEEXT
2809 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2810 /* end confdefs.h. */
2811 #include <stdio.h>
2812 int
2813 main ()
2814 {
2815 FILE *f = fopen ("conftest.out", "w");
2816 return ferror (f) || fclose (f) != 0;
2817
2818 ;
2819 return 0;
2820 }
2821 _ACEOF
2822 ac_clean_files="$ac_clean_files conftest.out"
2823 # Check that the compiler produces executables we can run. If not, either
2824 # the compiler is broken, or we cross compile.
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2826 $as_echo_n "checking whether we are cross compiling... " >&6; }
2827 if testscip-shell system . . test. "$cross_compiling" != yes; then
2828 { { ac_try="$ac_link"
2829 case "(($ac_try" in
2830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2831 *) ac_try_echo=$ac_try;;
2832 esac
2833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2834 $as_echo "$ac_try_echo"; } >&5
2835 (eval "$ac_link") 2>&5
2836 ac_status=$?
2837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2838 testscip-shell system . . test. $ac_status = 0; }
2839 if { ac_try='./conftest$ac_cv_exeext'
2840 { { case "(($ac_try" in
2841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2842 *) ac_try_echo=$ac_try;;
2843 esac
2844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2845 $as_echo "$ac_try_echo"; } >&5
2846 (eval "$ac_try") 2>&5
2847 ac_status=$?
2848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2849 testscip-shell system . . test. $ac_status = 0; }; }; then
2850 cross_compiling=no
2851 else
2852 if testscip-shell system . . test. "$cross_compiling" = maybe; then
2853 cross_compiling=yes
2854 else
2855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2857 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "cannot run C compiled programs.
2858 If you meant to cross compile, use \`--host'.
2859 See \`config.log' for more details" "$LINENO" 5; }
2860 fi
2861 fi
2862 fi
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2864 $as_echo "$cross_compiling" >&6; }
2865
2866 rmscip-shell system . . rm. -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2867 ac_clean_files=$ac_clean_files_save
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2869 $as_echo_n "checking for suffix of object files... " >&6; }
2870 if ${ac_cv_objext+:} false; then :
2871 $as_echo_n "(cached) " >&6
2872 else
2873 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2874 /* end confdefs.h. */
2875
2876 int
2877 main ()
2878 {
2879
2880 ;
2881 return 0;
2882 }
2883 _ACEOF
2884 rmscip-shell system . . rm. -f conftest.o conftest.obj
2885 if { { ac_try="$ac_compile"
2886 case "(($ac_try" in
2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2888 *) ac_try_echo=$ac_try;;
2889 esac
2890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2891 $as_echo "$ac_try_echo"; } >&5
2892 (eval "$ac_compile") 2>&5
2893 ac_status=$?
2894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2895 testscip-shell system . . test. $ac_status = 0; }; then :
2896 for ac_file in conftest.o conftest.obj conftest.*; do
2897 testscip-shell system . . test. -f "$ac_file" || continue;
2898 case $ac_file in
2899 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2900 *) ac_cv_objext=`exprscip-shell system . . expr. "$ac_file" : '.*\.\(.*\)'`
2901 break;;
2902 esac
2903 done
2904 else
2905 $as_echo "$as_me: failed program was:" >&5
2906 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2907
2908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2910 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "cannot compute suffix of object files: cannot compile
2911 See \`config.log' for more details" "$LINENO" 5; }
2912 fi
2913 rmscip-shell system . . rm. -f conftest.$ac_cv_objext conftest.$ac_ext
2914 fi
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2916 $as_echo "$ac_cv_objext" >&6; }
2917 OBJEXT=$ac_cv_objext
2918 ac_objext=$OBJEXT
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2920 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2921 if ${ac_cv_c_compiler_gnu+:} false; then :
2922 $as_echo_n "(cached) " >&6
2923 else
2924 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2925 /* end confdefs.h. */
2926
2927 int
2928 main ()
2929 {
2930 #ifndef __GNUC__
2931 choke me
2932 #endif
2933
2934 ;
2935 return 0;
2936 }
2937 _ACEOF
2938 if ac_fn_c_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_compile(). "$LINENO"; then :
2939 ac_compiler_gnu=yes
2940 else
2941 ac_compiler_gnu=no
2942 fi
2943 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2944 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2945
2946 fi
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2948 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2949 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
2950 GCC=yes
2951 else
2952 GCC=
2953 fi
2954 ac_test_CFLAGS=${CFLAGS+set}
2955 ac_save_CFLAGS=$CFLAGS
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2957 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2958 if ${ac_cv_prog_cc_g+:} false; then :
2959 $as_echo_n "(cached) " >&6
2960 else
2961 ac_save_c_werror_flag=$ac_c_werror_flag
2962 ac_c_werror_flag=yes
2963 ac_cv_prog_cc_g=no
2964 CFLAGS="-g"
2965 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2966 /* end confdefs.h. */
2967
2968 int
2969 main ()
2970 {
2971
2972 ;
2973 return 0;
2974 }
2975 _ACEOF
2976 if ac_fn_c_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_compile(). "$LINENO"; then :
2977 ac_cv_prog_cc_g=yes
2978 else
2979 CFLAGS=""
2980 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2981 /* end confdefs.h. */
2982
2983 int
2984 main ()
2985 {
2986
2987 ;
2988 return 0;
2989 }
2990 _ACEOF
2991 if ac_fn_c_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_compile(). "$LINENO"; then :
2992
2993 else
2994 ac_c_werror_flag=$ac_save_c_werror_flag
2995 CFLAGS="-g"
2996 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2997 /* end confdefs.h. */
2998
2999 int
3000 main ()
3001 {
3002
3003 ;
3004 return 0;
3005 }
3006 _ACEOF
3007 if ac_fn_c_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_compile(). "$LINENO"; then :
3008 ac_cv_prog_cc_g=yes
3009 fi
3010 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3011 fi
3012 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3013 fi
3014 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3015 ac_c_werror_flag=$ac_save_c_werror_flag
3016 fi
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3018 $as_echo "$ac_cv_prog_cc_g" >&6; }
3019 if testscip-shell system . . test. "$ac_test_CFLAGS" = set; then
3020 CFLAGS=$ac_save_CFLAGS
3021 elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then
3022 if testscip-shell system . . test. "$GCC" = yes; then
3023 CFLAGS="-g -O2"
3024 else
3025 CFLAGS="-g"
3026 fi
3027 else
3028 if testscip-shell system . . test. "$GCC" = yes; then
3029 CFLAGS="-O2"
3030 else
3031 CFLAGS=
3032 fi
3033 fi
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3035 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3036 if ${ac_cv_prog_cc_c89+:} false; then :
3037 $as_echo_n "(cached) " >&6
3038 else
3039 ac_cv_prog_cc_c89=no
3040 ac_save_CC=$CC
3041 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3043 #include <stdarg.h>
3044 #include <stdio.h>
3045 struct stat;
3046 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3047 struct buf { int x; };
3048 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3049 static char *e (p, i)
3050 char **p;
3051 int i;
3052 {
3053 return p[i];
3054 }
3055 static char *f (char * (*g) (char **, int), char **p, ...)
3056 {
3057 char *s;
3058 va_list v;
3059 va_start (v,p);
3060 s = g (p, va_arg (v,int));
3061 va_end (v);
3062 return s;
3063 }
3064
3065 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3066 function prototypes and stuff, but not '\xHH' hex character constants.
3067 These don't provoke an error unfortunately, instead are silently treated
3068 as 'x'. The following induces an error, until -std is added to get
3069 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3070 array size at least. It's necessary to write '\x00'==0 to get something
3071 that's true only with -std. */
3072 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3073
3074 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3075 inside strings and character constants. */
3076 #define FOO(x) 'x'
3077 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3078
3079 int test (int i, double x);
3080 struct s1 {int (*f) (int a);};
3081 struct s2 {int (*f) (double a);};
3082 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3083 int argc;
3084 char **argv;
3085 int
3086 main ()
3087 {
3088 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3089 ;
3090 return 0;
3091 }
3092 _ACEOF
3093 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3094 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3095 do
3096 CC="$ac_save_CC $ac_arg"
3097 if ac_fn_c_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_compile(). "$LINENO"; then :
3098 ac_cv_prog_cc_c89=$ac_arg
3099 fi
3100 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext
3101 testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break
3102 done
3103 rmscip-shell system . . rm. -f conftest.$ac_ext
3104 CC=$ac_save_CC
3105
3106 fi
3107 # AC_CACHE_VAL
3108 case "x$ac_cv_prog_cc_c89" in
3109 x)
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3111 $as_echo "none needed" >&6; } ;;
3112 xno)
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3114 $as_echo "unsupported" >&6; } ;;
3115 *)
3116 CC="$CC $ac_cv_prog_cc_c89"
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3118 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3119 esac
3120 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != xno; then :
3121
3122 fi
3123
3124 ac_ext=c
3125 ac_cpp='$CPP $CPPFLAGS'
3126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3129
3130 # adjust include path if gfortran is installed without MinGW on Windows
3131
3132 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3134 #include <stdio.h>
3135
3136 _ACEOF
3137 if ac_fn_c_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_compile(). "$LINENO"; then :
3138
3139 else
3140 CPPFLAGS="$CPPFLAGS -iwithprefix ../../../../include"
3141 fi
3142 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3143
3144 ac_aux_dir=
3145 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3146 if testscip-shell system . . test. -f "$ac_dir/install-sh"; then
3147 ac_aux_dir=$ac_dir
3148 ac_install_sh="$ac_aux_dir/install-sh -c"
3149 break
3150 elif testscip-shell system . . test. -f "$ac_dir/install.sh"; then
3151 ac_aux_dir=$ac_dir
3152 ac_install_sh="$ac_aux_dir/install.sh -c"
3153 break
3154 elif testscip-shell system . . test. -f "$ac_dir/shtool"; then
3155 ac_aux_dir=$ac_dir
3156 ac_install_sh="$ac_aux_dir/shtool install -c"
3157 break
3158 fi
3159 done
3160 if testscip-shell system . . test. -z "$ac_aux_dir"; then
3161 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3162 fi
3163
3164 # These three variables are undocumented and unsupported,
3165 # and are intended to be withdrawn in a future Autoconf release.
3166 # They can cause serious problems if a builder's source tree is in a directory
3167 # whose full name contains unusual characters.
3168 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3169 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3170 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3171
3172
3173 # Find a good install program. We prefer a C program (faster),
3174 # so one script is as good as another. But avoid the broken or
3175 # incompatible versions:
3176 # SysV /etc/install, /usr/sbin/install
3177 # SunOS /usr/etc/install
3178 # IRIX /sbin/install
3179 # AIX /bin/install
3180 # AmigaOS /C/install, which installs bootblocks on floppy discs
3181 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3182 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3183 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3184 # OS/2's system install, which has a completely different semantic
3185 # ./install, which can be erroneously created by make from ./install.sh.
3186 # Reject install programs that cannot install multiple files.
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3188 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3189 if testscip-shell system . . test. -z "$INSTALL"; then
3190 if ${ac_cv_path_install+:} false; then :
3191 $as_echo_n "(cached) " >&6
3192 else
3193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3194 for as_dir in $PATH
3195 do
3196 IFS=$as_save_IFS
3197 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3198 # Account for people who put trailing slashes in PATH elements.
3199 case $as_dir/ in #((
3200 ./ | .// | /[cC]/* | \
3201 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3202 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3203 /usr/ucb/* ) ;;
3204 *)
3205 # OSF1 and SCO ODT 3.0 have their own names for install.
3206 # Don't use installbsd from OSF since it installs stuff as root
3207 # by default.
3208 for ac_prog in ginstall scoinst install; do
3209 for ac_exec_ext in '' $ac_executable_extensions; do
3210 if as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$as_dir/$ac_prog$ac_exec_ext"; then
3211 if testscip-shell system . . test. $ac_prog = install &&
3212 grepscip-shell system . . grep. dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
3213 # AIX install. It has an incompatible calling convention.
3214 :
3215 elif testscip-shell system . . test. $ac_prog = install &&
3216 grepscip-shell system . . grep. pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
3217 # program-specific install script used by HP pwplus--don't use.
3218 :
3219 else
3220 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
3221 echoscip-shell system . . echo. one > conftest.one
3222 echoscip-shell system . . echo. two > conftest.two
3223 mkdirscip-shell system . . mkdir. conftest.dir
3224 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwdscip-shell system . . pwd.`/conftest.dir" &&
3225 testscip-shell system . . test. -s conftest.one && testscip-shell system . . test. -s conftest.two &&
3226 testscip-shell system . . test. -s conftest.dir/conftest.one &&
3227 testscip-shell system . . test. -s conftest.dir/conftest.two
3228 then
3229 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3230 break 3
3231 fi
3232 fi
3233 fi
3234 done
3235 done
3236 ;;
3237 esac
3238
3239 done
3240 IFS=$as_save_IFS
3241
3242 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
3243
3244 fi
3245 if testscip-shell system . . test. "${ac_cv_path_install+set}" = set; then
3246 INSTALL=$ac_cv_path_install
3247 else
3248 # As a last resort, use the slow shell script. Don't cache a
3249 # value for INSTALL within a source directory, because that will
3250 # break other packages using the cache if that directory is
3251 # removed, or if the value is a relative name.
3252 INSTALL=$ac_install_sh
3253 fi
3254 fi
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3256 $as_echo "$INSTALL" >&6; }
3257
3258 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3259 # It thinks the first close brace ends the variable substitution.
3260 testscip-shell system . . test. -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3261
3262 testscip-shell system . . test. -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3263
3264 testscip-shell system . . test. -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3265
3266
3267 ac_ext=${ac_fc_srcext-f}
3268 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
3269 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
3270 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
3271
3272 if testscip-shell system . . test. x$FCFLAGS != "x"; then
3273 FFLAGS=$FCFLAGS
3274 fi
3275 ac_ext=${ac_fc_srcext-f}
3276 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
3277 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
3278 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
3279 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3280 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
3281 do
3282 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3283 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3285 $as_echo_n "checking for $ac_word... " >&6; }
3286 if ${ac_cv_prog_FC+:} false; then :
3287 $as_echo_n "(cached) " >&6
3288 else
3289 if testscip-shell system . . test. -n "$FC"; then
3290 ac_cv_prog_FC="$FC" # Let the user override the test.
3291 else
3292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3293 for as_dir in $PATH
3294 do
3295 IFS=$as_save_IFS
3296 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3297 for ac_exec_ext in '' $ac_executable_extensions; do
3298 if as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
3299 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
3300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3301 break 2
3302 fi
3303 done
3304 done
3305 IFS=$as_save_IFS
3306
3307 fi
3308 fi
3309 FC=$ac_cv_prog_FC
3310 if testscip-shell system . . test. -n "$FC"; then
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
3312 $as_echo "$FC" >&6; }
3313 else
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3315 $as_echo "no" >&6; }
3316 fi
3317
3318
3319 testscip-shell system . . test. -n "$FC" && break
3320 done
3321 fi
3322 if testscip-shell system . . test. -z "$FC"; then
3323 ac_ct_FC=$FC
3324 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
3325 do
3326 # Extract the first word of "$ac_prog", so it can be a program name with args.
3327 set dummy $ac_prog; ac_word=$2
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3329 $as_echo_n "checking for $ac_word... " >&6; }
3330 if ${ac_cv_prog_ac_ct_FC+:} false; then :
3331 $as_echo_n "(cached) " >&6
3332 else
3333 if testscip-shell system . . test. -n "$ac_ct_FC"; then
3334 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
3335 else
3336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3337 for as_dir in $PATH
3338 do
3339 IFS=$as_save_IFS
3340 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3341 for ac_exec_ext in '' $ac_executable_extensions; do
3342 if as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
3343 ac_cv_prog_ac_ct_FC="$ac_prog"
3344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3345 break 2
3346 fi
3347 done
3348 done
3349 IFS=$as_save_IFS
3350
3351 fi
3352 fi
3353 ac_ct_FC=$ac_cv_prog_ac_ct_FC
3354 if testscip-shell system . . test. -n "$ac_ct_FC"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
3356 $as_echo "$ac_ct_FC" >&6; }
3357 else
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359 $as_echo "no" >&6; }
3360 fi
3361
3362
3363 testscip-shell system . . test. -n "$ac_ct_FC" && break
3364 done
3365
3366 if testscip-shell system . . test. "x$ac_ct_FC" = x; then
3367 FC=""
3368 else
3369 case $cross_compiling:$ac_tool_warned in
3370 yes:)
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3373 ac_tool_warned=yes ;;
3374 esac
3375 FC=$ac_ct_FC
3376 fi
3377 fi
3378
3379
3380 # Provide some information about the compiler.
3381 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
3382 set X $ac_compile
3383 ac_compiler=$2
3384 for ac_option in --version -v -V -qversion; do
3385 { { ac_try="$ac_compiler $ac_option >&5"
3386 case "(($ac_try" in
3387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388 *) ac_try_echo=$ac_try;;
3389 esac
3390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391 $as_echo "$ac_try_echo"; } >&5
3392 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3393 ac_status=$?
3394 if testscip-shell system . . test. -s conftest.err; then
3395 sedscip-shell system . . sed. '10a\
3396 ... rest of stderr output deleted ...
3397 10q' conftest.err >conftest.er1
3398 catscip-shell system . . cat. conftest.er1 >&5
3399 fi
3400 rmscip-shell system . . rm. -f conftest.er1 conftest.err
3401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3402 testscip-shell system . . test. $ac_status = 0; }
3403 done
3404 rmscip-shell system . . rm. -f a.out
3405
3406 # If we don't use `.F' as extension, the preprocessor is not run on the
3407 # input file. (Note that this only needs to work for GNU compilers.)
3408 ac_save_ext=$ac_ext
3409 ac_ext=F
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
3411 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
3412 if ${ac_cv_fc_compiler_gnu+:} false; then :
3413 $as_echo_n "(cached) " >&6
3414 else
3415 catscip-shell system . . cat. > conftest.$ac_ext <<_ACEOF
3416 program main
3417 #ifndef __GNUC__
3418 choke me
3419 #endif
3420
3421 end
3422 _ACEOF
3423 if ac_fn_fc_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_fc_try_compile(). "$LINENO"; then :
3424 ac_compiler_gnu=yes
3425 else
3426 ac_compiler_gnu=no
3427 fi
3428 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
3430
3431 fi
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
3433 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
3434 ac_ext=$ac_save_ext
3435 ac_test_FCFLAGS=${FCFLAGS+set}
3436 ac_save_FCFLAGS=$FCFLAGS
3437 FCFLAGS=
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
3439 $as_echo_n "checking whether $FC accepts -g... " >&6; }
3440 if ${ac_cv_prog_fc_g+:} false; then :
3441 $as_echo_n "(cached) " >&6
3442 else
3443 FCFLAGS=-g
3444 catscip-shell system . . cat. > conftest.$ac_ext <<_ACEOF
3445 program main
3446
3447 end
3448 _ACEOF
3449 if ac_fn_fc_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_fc_try_compile(). "$LINENO"; then :
3450 ac_cv_prog_fc_g=yes
3451 else
3452 ac_cv_prog_fc_g=no
3453 fi
3454 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455
3456 fi
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
3458 $as_echo "$ac_cv_prog_fc_g" >&6; }
3459 if testscip-shell system . . test. "$ac_test_FCFLAGS" = set; then
3460 FCFLAGS=$ac_save_FCFLAGS
3461 elif testscip-shell system . . test. $ac_cv_prog_fc_g = yes; then
3462 if testscip-shell system . . test. "x$ac_cv_fc_compiler_gnu" = xyes; then
3463 FCFLAGS="-g -O2"
3464 else
3465 FCFLAGS="-g"
3466 fi
3467 else
3468 if testscip-shell system . . test. "x$ac_cv_fc_compiler_gnu" = xyes; then
3469 FCFLAGS="-O2"
3470 else
3471 FCFLAGS=
3472 fi
3473 fi
3474
3475 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
3476 GFC=yes
3477 else
3478 GFC=
3479 fi
3480 ac_ext=${ac_fc_srcext-f}
3481 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
3482 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
3483 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
3484
3485
3486 ac_ext=${ac_fc_srcext-f}
3487 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
3488 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
3489 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran flag to compile .f90 files" >&5
3491 $as_echo_n "checking for Fortran flag to compile .f90 files... " >&6; }
3492 if ${ac_cv_fc_srcext_f90+:} false; then :
3493 $as_echo_n "(cached) " >&6
3494 else
3495 ac_ext=f90
3496 ac_fcflags_srcext_save=$ac_fcflags_srcext
3497 ac_fcflags_srcext=
3498 ac_cv_fc_srcext_f90=unknown
3499 case $ac_ext in #(
3500 [fF]77) ac_try=f77;; #(
3501 *) ac_try=f95;;
3502 esac
3503 for ac_flag in none -qsuffix=f=f90 -Tf "-x $ac_try"; do
3504 testscip-shell system . . test. "x$ac_flag" != xnone && ac_fcflags_srcext="$ac_flag"
3505 catscip-shell system . . cat. > conftest.$ac_ext <<_ACEOF
3506 program main
3507
3508 end
3509 _ACEOF
3510 if ac_fn_fc_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_fc_try_compile(). "$LINENO"; then :
3511 ac_cv_fc_srcext_f90=$ac_flag; break
3512 fi
3513 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514 done
3515 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.f90
3516 ac_fcflags_srcext=$ac_fcflags_srcext_save
3517
3518 fi
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_srcext_f90" >&5
3520 $as_echo "$ac_cv_fc_srcext_f90" >&6; }
3521 if testscip-shell system . . test. "x$ac_cv_fc_srcext_f90" = xunknown; then
3522 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "Fortran could not compile .f90 files" "$LINENO" 5
3523 else
3524 ac_fc_srcext=f90
3525 if testscip-shell system . . test. "x$ac_cv_fc_srcext_f90" = xnone; then
3526 ac_fcflags_srcext=""
3527 FCFLAGS_f90=""
3528 else
3529 ac_fcflags_srcext=$ac_cv_fc_srcext_f90
3530 FCFLAGS_f90=$ac_cv_fc_srcext_f90
3531 fi
3532
3533
3534 fi
3535 ac_ext=${ac_fc_srcext-f}
3536 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
3537 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
3538 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
3539
3540 ac_ext=${ac_fc_srcext-f}
3541 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
3542 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
3543 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran flag needed to accept free-form source" >&5
3545 $as_echo_n "checking for Fortran flag needed to accept free-form source... " >&6; }
3546 if ${ac_cv_fc_freeform+:} false; then :
3547 $as_echo_n "(cached) " >&6
3548 else
3549 ac_cv_fc_freeform=unknown
3550 ac_fc_freeform_FCFLAGS_save=$FCFLAGS
3551 for ac_flag in none -ffree-form -FR -free -qfree -Mfree -Mfreeform \
3552 -freeform "-f free" -8 +source=free -nfix --nfix -Free
3553 do
3554 testscip-shell system . . test. "x$ac_flag" != xnone && FCFLAGS="$ac_fc_freeform_FCFLAGS_save $ac_flag"
3555 catscip-shell system . . cat. > conftest.$ac_ext <<_ACEOF
3556
3557 program freeform
3558 ! FIXME: how to best confuse non-freeform compilers?
3559 print *, 'Hello ', &
3560 'world.'
3561 end
3562 _ACEOF
3563 if ac_fn_fc_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_fc_try_compile(). "$LINENO"; then :
3564 ac_cv_fc_freeform=$ac_flag; break
3565 fi
3566 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3567 done
3568 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
3569 FCFLAGS=$ac_fc_freeform_FCFLAGS_save
3570
3571 fi
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_freeform" >&5
3573 $as_echo "$ac_cv_fc_freeform" >&6; }
3574 if testscip-shell system . . test. "x$ac_cv_fc_freeform" = xunknown; then
3575 echoscip-shell system . . echo. Fortran 77 compilers no longer work to compile AUTO.
3576 echoscip-shell system . . echo. Please check with the manual.
3577 exit 1
3578
3579 else
3580 if testscip-shell system . . test. "x$ac_cv_fc_freeform" != xnone; then
3581 FCFLAGS="$FCFLAGS $ac_cv_fc_freeform"
3582 fi
3583
3584 fi
3585 ac_ext=${ac_fc_srcext-f}
3586 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
3587 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
3588 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
3589
3590 # ifc needs -Vaxlib to use FLUSH and ETIME.
3591 COMPAT="f2003"
3592
3593
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for F2003 or pre-F2003 compatibility functions" >&5
3595 $as_echo_n "checking for F2003 or pre-F2003 compatibility functions... " >&6; }
3596 catscip-shell system . . cat. > conftest.$ac_ext <<_ACEOF
3597
3598 program main
3599 real t
3600 character*80 s
3601 print *,'hello'
3602 flush(6)
3603 call cpu_time(t)
3604 t=command_argument_count()
3605 call get_command_argument(0,s)
3606 end
3607
3608 _ACEOF
3609 if ac_fn_fc_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_fc_try_link(). "$LINENO"; then :
3610
3611 else
3612
3613 COMPAT="unix"; catscip-shell system . . cat. > conftest.$ac_ext <<_ACEOF
3614
3615 program main
3616 real t(2),r,etime
3617 character*80 s
3618 print *,'hello'
3619 call flush(6)
3620 r=etime(t)
3621 t=iargc()
3622 call getarg(0,s)
3623 end
3624
3625 _ACEOF
3626 if ac_fn_fc_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_fc_try_link(). "$LINENO"; then :
3627
3628 else
3629 tmp=$FCFLAGS; FCFLAGS="$FCFLAGS -Vaxlib"
3630 catscip-shell system . . cat. > conftest.$ac_ext <<_ACEOF
3631
3632 program main
3633 real t(2),r,etime
3634 character*80 s
3635 print *,'hello'
3636 call flush(6)
3637 r=etime(t)
3638 t=iargc()
3639 call getarg(0,s)
3640 end
3641
3642 _ACEOF
3643 if ac_fn_fc_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_fc_try_link(). "$LINENO"; then :
3644 FFLAGS="$FFLAGS -Vaxlib"
3645 else
3646 FCFLAGS=$tmp;COMPAT="compat"
3647 fi
3648 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
3649 conftest$ac_exeext conftest.$ac_ext
3650 fi
3651 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
3652 conftest$ac_exeext conftest.$ac_ext
3653 fi
3654 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
3655 conftest$ac_exeext conftest.$ac_ext
3656
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPAT.f90" >&5
3658 $as_echo "$COMPAT.f90" >&6; }
3659 # Make sure we can run config.sub.
3660 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 ||
3661 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3662
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3664 $as_echo_n "checking build system type... " >&6; }
3665 if ${ac_cv_build+:} false; then :
3666 $as_echo_n "(cached) " >&6
3667 else
3668 ac_build_alias=$build_alias
3669 testscip-shell system . . test. "x$ac_build_alias" = x &&
3670 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3671 testscip-shell system . . test. "x$ac_build_alias" = x &&
3672 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "cannot guess build type; you must specify one" "$LINENO" 5
3673 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3674 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3675
3676 fi
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3678 $as_echo "$ac_cv_build" >&6; }
3679 case $ac_cv_build in
3680 *-*-*) ;;
3681 *) as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "invalid value of canonical build" "$LINENO" 5;;
3682 esac
3683 build=$ac_cv_build
3684 ac_save_IFS=$IFS; IFS='-'
3685 set x $ac_cv_build
3686 shift
3687 build_cpu=$1
3688 build_vendor=$2
3689 shift; shift
3690 # Remember, the first character of IFS is used to create $*,
3691 # except with old shells:
3692 build_os=$*
3693 IFS=$ac_save_IFS
3694 case $build_os in *\ *) build_os=`echoscip-shell system . . echo. "$build_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
3695
3696
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3698 $as_echo_n "checking host system type... " >&6; }
3699 if ${ac_cv_host+:} false; then :
3700 $as_echo_n "(cached) " >&6
3701 else
3702 if testscip-shell system . . test. "x$host_alias" = x; then
3703 ac_cv_host=$ac_cv_build
3704 else
3705 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3706 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3707 fi
3708
3709 fi
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3711 $as_echo "$ac_cv_host" >&6; }
3712 case $ac_cv_host in
3713 *-*-*) ;;
3714 *) as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "invalid value of canonical host" "$LINENO" 5;;
3715 esac
3716 host=$ac_cv_host
3717 ac_save_IFS=$IFS; IFS='-'
3718 set x $ac_cv_host
3719 shift
3720 host_cpu=$1
3721 host_vendor=$2
3722 shift; shift
3723 # Remember, the first character of IFS is used to create $*,
3724 # except with old shells:
3725 host_os=$*
3726 IFS=$ac_save_IFS
3727 case $host_os in *\ *) host_os=`echoscip-shell system . . echo. "$host_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
3728
3729
3730 ac_ext=${ac_fc_srcext-f}
3731 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
3732 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
3733 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $FC" >&5
3735 $as_echo_n "checking how to get verbose linking output from $FC... " >&6; }
3736 if ${ac_cv_prog_fc_v+:} false; then :
3737 $as_echo_n "(cached) " >&6
3738 else
3739 catscip-shell system . . cat. > conftest.$ac_ext <<_ACEOF
3740 program main
3741
3742 end
3743 _ACEOF
3744 if ac_fn_fc_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_fc_try_compile(). "$LINENO"; then :
3745 ac_cv_prog_fc_v=
3746 # Try some options frequently used verbose output
3747 for ac_verb in -v -verbose --verbose -V -\#\#\#; do
3748 catscip-shell system . . cat. > conftest.$ac_ext <<_ACEOF
3749 program main
3750
3751 end
3752 _ACEOF
3753
3754 # Compile and link our simple test program by passing a flag (argument
3755 # 1 to this macro) to the Fortran compiler in order to get
3756 # "verbose" output that we can then parse for the Fortran linker
3757 # flags.
3758 ac_save_FCFLAGS=$FCFLAGS
3759 FCFLAGS="$FCFLAGS $ac_verb"
3760 eval "set x $ac_link"
3761 shift
3762 $as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5
3763 # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
3764 # LIBRARY_PATH; skip all such settings.
3765 ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |
3766 sedscip-shell system . . sed. '/^Driving:/d; /^Configured with:/d;
3767 '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
3768 $as_echo "$ac_fc_v_output" >&5
3769 FCFLAGS=$ac_save_FCFLAGS
3770
3771 rmscip-shell system . . rm. -rf conftest*
3772
3773 # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
3774 # /foo, /bar, and /baz are search directories for the Fortran linker.
3775 # Here, we change these into -L/foo -L/bar -L/baz (and put it first):
3776 ac_fc_v_output="`echoscip-shell system . . echo. $ac_fc_v_output |
3777 grepscip-shell system . . grep. 'LPATH is:' |
3778 sedscip-shell system . . sed. 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_fc_v_output"
3779
3780 # FIXME: we keep getting bitten by quoted arguments; a more general fix
3781 # that detects unbalanced quotes in FLIBS should be implemented
3782 # and (ugh) tested at some point.
3783 case $ac_fc_v_output in
3784 # With xlf replace commas with spaces,
3785 # and remove "-link" and closing parenthesis.
3786 *xlfentry*)
3787 ac_fc_v_output=`echoscip-shell system . . echo. $ac_fc_v_output |
3788 sedscip-shell system . . sed. '
3789 s/,/ /g
3790 s/ -link / /g
3791 s/) *$//
3792 '
3793 ` ;;
3794
3795 # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
3796 # $LIBS confuse us, and the libraries appear later in the output anyway).
3797 *mGLOB_options_string*)
3798 ac_fc_v_output=`echoscip-shell system . . echo. $ac_fc_v_output | sedscip-shell system . . sed. 's/"-mGLOB[^"]*"/ /g'` ;;
3799
3800 # Portland Group compiler has singly- or doubly-quoted -cmdline argument
3801 # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
3802 # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
3803 *-cmdline\ * | *-ignore\ * | *-def\ *)
3804 ac_fc_v_output=`echoscip-shell system . . echo. $ac_fc_v_output | sedscip-shell system . . sed. "\
3805 s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g
3806 s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g
3807 s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;;
3808
3809 # If we are using fort77 (the f2c wrapper) then filter output and delete quotes.
3810 *fort77*f2c*gcc*)
3811 ac_fc_v_output=`echoscip-shell system . . echo. "$ac_fc_v_output" | sedscip-shell system . . sed. -n '
3812 /:[ ]\+Running[ ]\{1,\}"gcc"/{
3813 /"-c"/d
3814 /[.]c"*/d
3815 s/^.*"gcc"/"gcc"/
3816 s/"//gp
3817 }'` ;;
3818
3819 # If we are using Cray Fortran then delete quotes.
3820 *cft90*)
3821 ac_fc_v_output=`echoscip-shell system . . echo. $ac_fc_v_output | sedscip-shell system . . sed. 's/"//g'` ;;
3822 esac
3823
3824
3825 # look for -l* and *.a constructs in the output
3826 for ac_arg in $ac_fc_v_output; do
3827 case $ac_arg in
3828 [\\/]*.a | ?:[\\/]*.a | -[lLRu]*)
3829 ac_cv_prog_fc_v=$ac_verb
3830 break 2 ;;
3831 esac
3832 done
3833 done
3834 if testscip-shell system . . test. -z "$ac_cv_prog_fc_v"; then
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine how to obtain linking information from $FC" >&5
3836 $as_echo "$as_me: WARNING: cannot determine how to obtain linking information from $FC" >&2;}
3837 fi
3838 else
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compilation failed" >&5
3840 $as_echo "$as_me: WARNING: compilation failed" >&2;}
3841 fi
3842 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3843
3844 fi
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_v" >&5
3846 $as_echo "$ac_cv_prog_fc_v" >&6; }
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran libraries of $FC" >&5
3848 $as_echo_n "checking for Fortran libraries of $FC... " >&6; }
3849 if ${ac_cv_fc_libs+:} false; then :
3850 $as_echo_n "(cached) " >&6
3851 else
3852 if testscip-shell system . . test. "x$FCLIBS" != "x"; then
3853 ac_cv_fc_libs="$FCLIBS" # Let the user override the test.
3854 else
3855
3856 catscip-shell system . . cat. > conftest.$ac_ext <<_ACEOF
3857 program main
3858
3859 end
3860 _ACEOF
3861
3862 # Compile and link our simple test program by passing a flag (argument
3863 # 1 to this macro) to the Fortran compiler in order to get
3864 # "verbose" output that we can then parse for the Fortran linker
3865 # flags.
3866 ac_save_FCFLAGS=$FCFLAGS
3867 FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v"
3868 eval "set x $ac_link"
3869 shift
3870 $as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5
3871 # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
3872 # LIBRARY_PATH; skip all such settings.
3873 ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |
3874 sedscip-shell system . . sed. '/^Driving:/d; /^Configured with:/d;
3875 '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
3876 $as_echo "$ac_fc_v_output" >&5
3877 FCFLAGS=$ac_save_FCFLAGS
3878
3879 rmscip-shell system . . rm. -rf conftest*
3880
3881 # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
3882 # /foo, /bar, and /baz are search directories for the Fortran linker.
3883 # Here, we change these into -L/foo -L/bar -L/baz (and put it first):
3884 ac_fc_v_output="`echoscip-shell system . . echo. $ac_fc_v_output |
3885 grepscip-shell system . . grep. 'LPATH is:' |
3886 sedscip-shell system . . sed. 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_fc_v_output"
3887
3888 # FIXME: we keep getting bitten by quoted arguments; a more general fix
3889 # that detects unbalanced quotes in FLIBS should be implemented
3890 # and (ugh) tested at some point.
3891 case $ac_fc_v_output in
3892 # With xlf replace commas with spaces,
3893 # and remove "-link" and closing parenthesis.
3894 *xlfentry*)
3895 ac_fc_v_output=`echoscip-shell system . . echo. $ac_fc_v_output |
3896 sedscip-shell system . . sed. '
3897 s/,/ /g
3898 s/ -link / /g
3899 s/) *$//
3900 '
3901 ` ;;
3902
3903 # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
3904 # $LIBS confuse us, and the libraries appear later in the output anyway).
3905 *mGLOB_options_string*)
3906 ac_fc_v_output=`echoscip-shell system . . echo. $ac_fc_v_output | sedscip-shell system . . sed. 's/"-mGLOB[^"]*"/ /g'` ;;
3907
3908 # Portland Group compiler has singly- or doubly-quoted -cmdline argument
3909 # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
3910 # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
3911 *-cmdline\ * | *-ignore\ * | *-def\ *)
3912 ac_fc_v_output=`echoscip-shell system . . echo. $ac_fc_v_output | sedscip-shell system . . sed. "\
3913 s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g
3914 s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g
3915 s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;;
3916
3917 # If we are using fort77 (the f2c wrapper) then filter output and delete quotes.
3918 *fort77*f2c*gcc*)
3919 ac_fc_v_output=`echoscip-shell system . . echo. "$ac_fc_v_output" | sedscip-shell system . . sed. -n '
3920 /:[ ]\+Running[ ]\{1,\}"gcc"/{
3921 /"-c"/d
3922 /[.]c"*/d
3923 s/^.*"gcc"/"gcc"/
3924 s/"//gp
3925 }'` ;;
3926
3927 # If we are using Cray Fortran then delete quotes.
3928 *cft90*)
3929 ac_fc_v_output=`echoscip-shell system . . echo. $ac_fc_v_output | sedscip-shell system . . sed. 's/"//g'` ;;
3930 esac
3931
3932
3933
3934 ac_cv_fc_libs=
3935
3936 # Save positional arguments (if any)
3937 ac_save_positional="$@"
3938
3939 set X $ac_fc_v_output
3940 while testscip-shell system . . test. $# != 1; do
3941 shift
3942 ac_arg=$1
3943 case $ac_arg in
3944 [\\/]*.a | ?:[\\/]*.a)
3945 ac_exists=false
3946 for ac_i in $ac_cv_fc_libs; do
3947 if testscip-shell system . . test. x"$ac_arg" = x"$ac_i"; then
3948 ac_exists=true
3949 break
3950 fi
3951 done
3952
3953 if testscip-shell system . . test. x"$ac_exists" = xtrue; then :
3954
3955 else
3956 ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg"
3957 fi
3958 ;;
3959 -bI:*)
3960 ac_exists=false
3961 for ac_i in $ac_cv_fc_libs; do
3962 if testscip-shell system . . test. x"$ac_arg" = x"$ac_i"; then
3963 ac_exists=true
3964 break
3965 fi
3966 done
3967
3968 if testscip-shell system . . test. x"$ac_exists" = xtrue; then :
3969
3970 else
3971 if testscip-shell system . . test. "$ac_compiler_gnu" = yes; then
3972 for ac_link_opt in $ac_arg; do
3973 ac_cv_fc_libs="$ac_cv_fc_libs -Xlinker $ac_link_opt"
3974 done
3975 else
3976 ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg"
3977 fi
3978 fi
3979 ;;
3980 # Ignore these flags.
3981 -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \
3982 |-LANG:=* | -LIST:* | -LNO:* | -link)
3983 ;;
3984 -lkernel32)
3985 case $host_os in
3986 *cygwin*) ;;
3987 *) ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg"
3988 ;;
3989 esac
3990 ;;
3991 -[LRuYz])
3992 # These flags, when seen by themselves, take an argument.
3993 # We remove the space between option and argument and re-iterate
3994 # unless we find an empty arg or a new option (starting with -)
3995 case $2 in
3996 "" | -*);;
3997 *)
3998 ac_arg="$ac_arg$2"
3999 shift; shift
4000 set X $ac_arg "$@"
4001 ;;
4002 esac
4003 ;;
4004 -YP,*)
4005 for ac_j in `$as_echo "$ac_arg" | sedscip-shell system . . sed. -e 's/-YP,/-L/;s/:/ -L/g'`; do
4006 ac_exists=false
4007 for ac_i in $ac_cv_fc_libs; do
4008 if testscip-shell system . . test. x"$ac_j" = x"$ac_i"; then
4009 ac_exists=true
4010 break
4011 fi
4012 done
4013
4014 if testscip-shell system . . test. x"$ac_exists" = xtrue; then :
4015
4016 else
4017 ac_arg="$ac_arg $ac_j"
4018 ac_cv_fc_libs="$ac_cv_fc_libs $ac_j"
4019 fi
4020 done
4021 ;;
4022 -[lLR]*)
4023 ac_exists=false
4024 for ac_i in $ac_cv_fc_libs; do
4025 if testscip-shell system . . test. x"$ac_arg" = x"$ac_i"; then
4026 ac_exists=true
4027 break
4028 fi
4029 done
4030
4031 if testscip-shell system . . test. x"$ac_exists" = xtrue; then :
4032
4033 else
4034 ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg"
4035 fi
4036 ;;
4037 -zallextract*| -zdefaultextract)
4038 ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg"
4039 ;;
4040 # Ignore everything else.
4041 esac
4042 done
4043 # restore positional arguments
4044 set X $ac_save_positional; shift
4045
4046 # We only consider "LD_RUN_PATH" on Solaris systems. If this is seen,
4047 # then we insist that the "run path" must be an absolute path (i.e. it
4048 # must begin with a "/").
4049 case `(unamescip-shell system . . uname. -sr) 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
4050 "SunOS 5"*)
4051 ac_ld_run_path=`$as_echo "$ac_fc_v_output" |
4052 sedscip-shell system . . sed. -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'`
4053 testscip-shell system . . test. "x$ac_ld_run_path" != x &&
4054 if testscip-shell system . . test. "$ac_compiler_gnu" = yes; then
4055 for ac_link_opt in $ac_ld_run_path; do
4056 ac_cv_fc_libs="$ac_cv_fc_libs -Xlinker $ac_link_opt"
4057 done
4058 else
4059 ac_cv_fc_libs="$ac_cv_fc_libs $ac_ld_run_path"
4060 fi
4061 ;;
4062 esac
4063 fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x"
4064
4065 fi
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_libs" >&5
4067 $as_echo "$ac_cv_fc_libs" >&6; }
4068 FCLIBS="$ac_cv_fc_libs"
4069
4070
4071 ac_ext=${ac_fc_srcext-f}
4072 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4073 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4074 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4075
4076 ac_ext=${ac_fc_srcext-f}
4077 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4078 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4079 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4080
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dummy main to link with Fortran libraries" >&5
4082 $as_echo_n "checking for dummy main to link with Fortran libraries... " >&6; }
4083 if ${ac_cv_fc_dummy_main+:} false; then :
4084 $as_echo_n "(cached) " >&6
4085 else
4086 ac_fc_dm_save_LIBS=$LIBS
4087 LIBS="$LIBS $FCLIBS"
4088 ac_fortran_dm_var=FC_DUMMY_MAIN
4089 ac_ext=c
4090 ac_cpp='$CPP $CPPFLAGS'
4091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4094
4095 # First, try linking without a dummy main:
4096 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4098
4099 #ifdef FC_DUMMY_MAIN
4100 #ifndef FC_DUMMY_MAIN_EQ_F77
4101 # ifdef __cplusplus
4102 extern "C"
4103 # endif
4104 int FC_DUMMY_MAIN() { return 1; }
4105 #endif
4106 #endif
4107 int
4108 main ()
4109 {
4110
4111 ;
4112 return 0;
4113 }
4114 _ACEOF
4115 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
4116 ac_cv_fortran_dummy_main=none
4117 else
4118 ac_cv_fortran_dummy_main=unknown
4119 fi
4120 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
4121 conftest$ac_exeext conftest.$ac_ext
4122
4123 if testscip-shell system . . test. $ac_cv_fortran_dummy_main = unknown; then
4124 for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do
4125 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h. */
4127 #define $ac_fortran_dm_var $ac_func
4128 #ifdef FC_DUMMY_MAIN
4129 #ifndef FC_DUMMY_MAIN_EQ_F77
4130 # ifdef __cplusplus
4131 extern "C"
4132 # endif
4133 int FC_DUMMY_MAIN() { return 1; }
4134 #endif
4135 #endif
4136 int
4137 main ()
4138 {
4139
4140 ;
4141 return 0;
4142 }
4143 _ACEOF
4144 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
4145 ac_cv_fortran_dummy_main=$ac_func; break
4146 fi
4147 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
4148 conftest$ac_exeext conftest.$ac_ext
4149 done
4150 fi
4151 ac_ext=${ac_fc_srcext-f}
4152 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4153 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4154 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4155 ac_cv_fc_dummy_main=$ac_cv_fortran_dummy_main
4156 rmscip-shell system . . rm. -rf conftest*
4157 LIBS=$ac_fc_dm_save_LIBS
4158
4159 fi
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_dummy_main" >&5
4161 $as_echo "$ac_cv_fc_dummy_main" >&6; }
4162 FC_DUMMY_MAIN=$ac_cv_fc_dummy_main
4163 if testscip-shell system . . test. "$FC_DUMMY_MAIN" != unknown; then :
4164 fc_dummy="yes"
4165 else
4166 fc_dummy="no"
4167 fi
4168
4169 ac_ext=${ac_fc_srcext-f}
4170 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4171 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4172 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4173
4174 realcc=$CC
4175 if testscip-shell system . . test. x$fc_dummy = "xno"; then
4176 # Use gfortran/g95 to link wrapper functions if possible.
4177 # It appears that otherwise AC_FC_WRAPPERS gets confused on Windows,
4178 # because of spaces in names such as 'Program Files'
4179 CC=$FC
4180 # avoid caching previous result
4181 $as_unset ac_cv_fc_dummy_main
4182 ac_ext=${ac_fc_srcext-f}
4183 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4184 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4185 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4186
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dummy main to link with Fortran libraries" >&5
4188 $as_echo_n "checking for dummy main to link with Fortran libraries... " >&6; }
4189 if ${ac_cv_fc_dummy_main+:} false; then :
4190 $as_echo_n "(cached) " >&6
4191 else
4192 ac_fc_dm_save_LIBS=$LIBS
4193 LIBS="$LIBS $FCLIBS"
4194 ac_fortran_dm_var=FC_DUMMY_MAIN
4195 ac_ext=c
4196 ac_cpp='$CPP $CPPFLAGS'
4197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4200
4201 # First, try linking without a dummy main:
4202 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4203 /* end confdefs.h. */
4204
4205 #ifdef FC_DUMMY_MAIN
4206 #ifndef FC_DUMMY_MAIN_EQ_F77
4207 # ifdef __cplusplus
4208 extern "C"
4209 # endif
4210 int FC_DUMMY_MAIN() { return 1; }
4211 #endif
4212 #endif
4213 int
4214 main ()
4215 {
4216
4217 ;
4218 return 0;
4219 }
4220 _ACEOF
4221 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
4222 ac_cv_fortran_dummy_main=none
4223 else
4224 ac_cv_fortran_dummy_main=unknown
4225 fi
4226 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
4227 conftest$ac_exeext conftest.$ac_ext
4228
4229 if testscip-shell system . . test. $ac_cv_fortran_dummy_main = unknown; then
4230 for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do
4231 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4232 /* end confdefs.h. */
4233 #define $ac_fortran_dm_var $ac_func
4234 #ifdef FC_DUMMY_MAIN
4235 #ifndef FC_DUMMY_MAIN_EQ_F77
4236 # ifdef __cplusplus
4237 extern "C"
4238 # endif
4239 int FC_DUMMY_MAIN() { return 1; }
4240 #endif
4241 #endif
4242 int
4243 main ()
4244 {
4245
4246 ;
4247 return 0;
4248 }
4249 _ACEOF
4250 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
4251 ac_cv_fortran_dummy_main=$ac_func; break
4252 fi
4253 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
4254 conftest$ac_exeext conftest.$ac_ext
4255 done
4256 fi
4257 ac_ext=${ac_fc_srcext-f}
4258 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4259 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4260 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4261 ac_cv_fc_dummy_main=$ac_cv_fortran_dummy_main
4262 rmscip-shell system . . rm. -rf conftest*
4263 LIBS=$ac_fc_dm_save_LIBS
4264
4265 fi
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_dummy_main" >&5
4267 $as_echo "$ac_cv_fc_dummy_main" >&6; }
4268 FC_DUMMY_MAIN=$ac_cv_fc_dummy_main
4269 if testscip-shell system . . test. "$FC_DUMMY_MAIN" != unknown; then :
4270 fc_dummy="yes"
4271 else
4272 fc_dummy="no"
4273 fi
4274
4275 ac_ext=${ac_fc_srcext-f}
4276 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4277 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4278 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4279
4280 fi
4281 if testscip-shell system . . test. x$fc_dummy = "xno"; then
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Warning: can't link C with Fortran\"" >&5
4283 $as_echo "$as_me: WARNING: \"Warning: can't link C with Fortran\"" >&2;}
4284 fi
4285 ac_ext=${ac_fc_srcext-f}
4286 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4287 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4288 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran name-mangling scheme" >&5
4290 $as_echo_n "checking for Fortran name-mangling scheme... " >&6; }
4291 if ${ac_cv_fc_mangling+:} false; then :
4292 $as_echo_n "(cached) " >&6
4293 else
4294 catscip-shell system . . cat. > conftest.$ac_ext <<_ACEOF
4295 subroutine foobar()
4296 return
4297 end
4298 subroutine foo_bar()
4299 return
4300 end
4301 _ACEOF
4302 if ac_fn_fc_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_fc_try_compile(). "$LINENO"; then :
4303 mvscip-shell system . . mv. conftest.$ac_objext cfortran_test.$ac_objext
4304
4305 ac_save_LIBS=$LIBS
4306 LIBS="cfortran_test.$ac_objext $LIBS $FCLIBS"
4307
4308 ac_ext=c
4309 ac_cpp='$CPP $CPPFLAGS'
4310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4313 ac_success=no
4314 for ac_foobar in foobar FOOBAR; do
4315 for ac_underscore in "" "_"; do
4316 ac_func="$ac_foobar$ac_underscore"
4317 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4318 /* end confdefs.h. */
4319
4320 /* Override any GCC internal prototype to avoid an error.
4321 Use char because int might match the return type of a GCC
4322 builtin and then its argument prototype would still apply. */
4323 #ifdef __cplusplus
4324 extern "C"
4325 #endif
4326 char $ac_func ();
4327 #ifdef FC_DUMMY_MAIN
4328 #ifndef FC_DUMMY_MAIN_EQ_F77
4329 # ifdef __cplusplus
4330 extern "C"
4331 # endif
4332 int FC_DUMMY_MAIN() { return 1; }
4333 #endif
4334 #endif
4335 int
4336 main ()
4337 {
4338 return $ac_func ();
4339 ;
4340 return 0;
4341 }
4342 _ACEOF
4343 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
4344 ac_success=yes; break 2
4345 fi
4346 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
4347 conftest$ac_exeext conftest.$ac_ext
4348 done
4349 done
4350 ac_ext=${ac_fc_srcext-f}
4351 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4352 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4353 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4354
4355 if testscip-shell system . . test. "$ac_success" = "yes"; then
4356 case $ac_foobar in
4357 foobar)
4358 ac_case=lower
4359 ac_foo_bar=foo_bar
4360 ;;
4361 FOOBAR)
4362 ac_case=upper
4363 ac_foo_bar=FOO_BAR
4364 ;;
4365 esac
4366
4367 ac_ext=c
4368 ac_cpp='$CPP $CPPFLAGS'
4369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4372 ac_success_extra=no
4373 for ac_extra in "" "_"; do
4374 ac_func="$ac_foo_bar$ac_underscore$ac_extra"
4375 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4376 /* end confdefs.h. */
4377
4378 /* Override any GCC internal prototype to avoid an error.
4379 Use char because int might match the return type of a GCC
4380 builtin and then its argument prototype would still apply. */
4381 #ifdef __cplusplus
4382 extern "C"
4383 #endif
4384 char $ac_func ();
4385 #ifdef FC_DUMMY_MAIN
4386 #ifndef FC_DUMMY_MAIN_EQ_F77
4387 # ifdef __cplusplus
4388 extern "C"
4389 # endif
4390 int FC_DUMMY_MAIN() { return 1; }
4391 #endif
4392 #endif
4393 int
4394 main ()
4395 {
4396 return $ac_func ();
4397 ;
4398 return 0;
4399 }
4400 _ACEOF
4401 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
4402 ac_success_extra=yes; break
4403 fi
4404 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
4405 conftest$ac_exeext conftest.$ac_ext
4406 done
4407 ac_ext=${ac_fc_srcext-f}
4408 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4409 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4410 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4411
4412 if testscip-shell system . . test. "$ac_success_extra" = "yes"; then
4413 ac_cv_fc_mangling="$ac_case case"
4414 if testscip-shell system . . test. -z "$ac_underscore"; then
4415 ac_cv_fc_mangling="$ac_cv_fc_mangling, no underscore"
4416 else
4417 ac_cv_fc_mangling="$ac_cv_fc_mangling, underscore"
4418 fi
4419 if testscip-shell system . . test. -z "$ac_extra"; then
4420 ac_cv_fc_mangling="$ac_cv_fc_mangling, no extra underscore"
4421 else
4422 ac_cv_fc_mangling="$ac_cv_fc_mangling, extra underscore"
4423 fi
4424 else
4425 ac_cv_fc_mangling="unknown"
4426 fi
4427 else
4428 ac_cv_fc_mangling="unknown"
4429 fi
4430
4431 LIBS=$ac_save_LIBS
4432 rmscip-shell system . . rm. -rf conftest*
4433 rmscip-shell system . . rm. -f cfortran_test*
4434 else
4435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4437 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "cannot compile a simple Fortran program
4438 See \`config.log' for more details" "$LINENO" 5; }
4439 fi
4440 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4441
4442 fi
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_mangling" >&5
4444 $as_echo "$ac_cv_fc_mangling" >&6; }
4445
4446 ac_ext=${ac_fc_srcext-f}
4447 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4448 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4449 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4450
4451 ac_ext=${ac_fc_srcext-f}
4452 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4453 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4454 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4455 case $ac_cv_fc_mangling in
4456 "lower case, no underscore, no extra underscore")
4457 $as_echo "#define FC_FUNC(name,NAME) name" >>confdefs.h
4458
4459 $as_echo "#define FC_FUNC_(name,NAME) name" >>confdefs.h
4460 ;;
4461 "lower case, no underscore, extra underscore")
4462 $as_echo "#define FC_FUNC(name,NAME) name" >>confdefs.h
4463
4464 $as_echo "#define FC_FUNC_(name,NAME) name ## _" >>confdefs.h
4465 ;;
4466 "lower case, underscore, no extra underscore")
4467 $as_echo "#define FC_FUNC(name,NAME) name ## _" >>confdefs.h
4468
4469 $as_echo "#define FC_FUNC_(name,NAME) name ## _" >>confdefs.h
4470 ;;
4471 "lower case, underscore, extra underscore")
4472 $as_echo "#define FC_FUNC(name,NAME) name ## _" >>confdefs.h
4473
4474 $as_echo "#define FC_FUNC_(name,NAME) name ## __" >>confdefs.h
4475 ;;
4476 "upper case, no underscore, no extra underscore")
4477 $as_echo "#define FC_FUNC(name,NAME) NAME" >>confdefs.h
4478
4479 $as_echo "#define FC_FUNC_(name,NAME) NAME" >>confdefs.h
4480 ;;
4481 "upper case, no underscore, extra underscore")
4482 $as_echo "#define FC_FUNC(name,NAME) NAME" >>confdefs.h
4483
4484 $as_echo "#define FC_FUNC_(name,NAME) NAME ## _" >>confdefs.h
4485 ;;
4486 "upper case, underscore, no extra underscore")
4487 $as_echo "#define FC_FUNC(name,NAME) NAME ## _" >>confdefs.h
4488
4489 $as_echo "#define FC_FUNC_(name,NAME) NAME ## _" >>confdefs.h
4490 ;;
4491 "upper case, underscore, extra underscore")
4492 $as_echo "#define FC_FUNC(name,NAME) NAME ## _" >>confdefs.h
4493
4494 $as_echo "#define FC_FUNC_(name,NAME) NAME ## __" >>confdefs.h
4495 ;;
4496 *)
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown Fortran name-mangling scheme" >&5
4498 $as_echo "$as_me: WARNING: unknown Fortran name-mangling scheme" >&2;}
4499 ;;
4500 esac
4501
4502 ac_ext=${ac_fc_srcext-f}
4503 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4504 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4505 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4506
4507 CC=$realcc
4508 if testscip-shell system . . test. x$openmp = "xyes"; then
4509 # Check for OpenMP. If it exists we try to use it.
4510
4511
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenMP flag of Fortran compiler" >&5
4513 $as_echo_n "checking for OpenMP flag of Fortran compiler... " >&6; }
4514 if ${ax_cv_fc_openmp+:} false; then :
4515 $as_echo_n "(cached) " >&6
4516 else
4517 saveFCFLAGS=$FCFLAGS
4518 ax_cv_fc_openmp=unknown
4519 # Flags to try: -fopenmp (gcc), -openmp (icc), -mp (SGI & PGI),
4520 # -xopenmp (Sun), -omp (Tru64), -qsmp=omp (AIX), none
4521 ax_openmp_flags="-fopenmp -openmp -mp -xopenmp -omp -qsmp=omp none"
4522 if testscip-shell system . . test. "x$OPENMP_FCFLAGS" != x; then
4523 ax_openmp_flags="$OPENMP_FCFLAGS $ax_openmp_flags"
4524 fi
4525 for ax_openmp_flag in $ax_openmp_flags; do
4526 case $ax_openmp_flag in
4527 none) FCFLAGS=$saveFC ;;
4528 *) FCFLAGS="$saveFCFLAGS $ax_openmp_flag" ;;
4529 esac
4530 catscip-shell system . . cat. > conftest.$ac_ext <<_ACEOF
4531 program main
4532 call omp_set_num_threads
4533 end
4534 _ACEOF
4535 if ac_fn_fc_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_fc_try_link(). "$LINENO"; then :
4536 ax_cv_fc_openmp=$ax_openmp_flag; break
4537 fi
4538 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
4539 conftest$ac_exeext conftest.$ac_ext
4540 done
4541 FCFLAGS=$saveFCFLAGS
4542
4543 fi
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_fc_openmp" >&5
4545 $as_echo "$ax_cv_fc_openmp" >&6; }
4546 if testscip-shell system . . test. "x$ax_cv_fc_openmp" = "xunknown"; then
4547 openmp="no"
4548 else
4549 if testscip-shell system . . test. "x$ax_cv_fc_openmp" != "xnone"; then
4550 OPENMP_FCFLAGS=$ax_cv_fc_openmp
4551 fi
4552 FFLAGS="$FFLAGS $OPENMP_FCFLAGS"
4553 fi
4554
4555 fi
4556 ac_ext=c
4557 ac_cpp='$CPP $CPPFLAGS'
4558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4561
4562
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4564 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4565 set x ${MAKE-make}
4566 ac_make=`$as_echo "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4567 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4568 $as_echo_n "(cached) " >&6
4569 else
4570 catscip-shell system . . cat. >conftest.make <<\_ACEOF
4571 SHELL = /bin/sh
4572 all:
4573 @echo '@@@%%%=$(MAKE)=@@@%%%'
4574 _ACEOF
4575 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4576 case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
4577 *@@@%%%=?*=@@@%%%*)
4578 eval ac_cv_prog_make_${ac_make}_set=yes;;
4579 *)
4580 eval ac_cv_prog_make_${ac_make}_set=no;;
4581 esac
4582 rmscip-shell system . . rm. -f conftest.make
4583 fi
4584 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4586 $as_echo "yes" >&6; }
4587 SET_MAKE=
4588 else
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4590 $as_echo "no" >&6; }
4591 SET_MAKE="MAKE=${MAKE-make}"
4592 fi
4593
4594
4595 #Check for the default X stuff
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4602 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4603 # On Suns, sometimes $CPP names a directory.
4604 if testscip-shell system . . test. -n "$CPP" && testscip-shell system . . test. -d "$CPP"; then
4605 CPP=
4606 fi
4607 if testscip-shell system . . test. -z "$CPP"; then
4608 if ${ac_cv_prog_CPP+:} false; then :
4609 $as_echo_n "(cached) " >&6
4610 else
4611 # Double quotes because CPP needs to be expanded
4612 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cppscip-shell filesystem . . `/lib/cpp`."
4613 do
4614 ac_preproc_ok=false
4615 for ac_c_preproc_warn_flag in '' yes
4616 do
4617 # Use a header file that comes with gcc, so configuring glibc
4618 # with a fresh cross-compiler works.
4619 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4620 # <limits.h> exists even on freestanding compilers.
4621 # On the NeXT, cc -E runs the code through the compiler's parser,
4622 # not just through cpp. "Syntax error" is here to catch this case.
4623 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4624 /* end confdefs.h. */
4625 #ifdef __STDC__
4626 # include <limits.h>
4627 #else
4628 # include <assert.h>
4629 #endif
4630 Syntax error
4631 _ACEOF
4632 if ac_fn_c_try_cppscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_cpp(). "$LINENO"; then :
4633
4634 else
4635 # Broken: fails on valid input.
4636 continue
4637 fi
4638 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
4639
4640 # OK, works on sane cases. Now check whether nonexistent headers
4641 # can be detected and how.
4642 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4644 #include <ac_nonexistent.h>
4645 _ACEOF
4646 if ac_fn_c_try_cppscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_cpp(). "$LINENO"; then :
4647 # Broken: success on invalid input.
4648 continue
4649 else
4650 # Passes both tests.
4651 ac_preproc_ok=:
4652 break
4653 fi
4654 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
4655
4656 done
4657 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4658 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
4659 if $ac_preproc_ok; then :
4660 break
4661 fi
4662
4663 done
4664 ac_cv_prog_CPP=$CPP
4665
4666 fi
4667 CPP=$ac_cv_prog_CPP
4668 else
4669 ac_cv_prog_CPP=$CPP
4670 fi
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4672 $as_echo "$CPP" >&6; }
4673 ac_preproc_ok=false
4674 for ac_c_preproc_warn_flag in '' yes
4675 do
4676 # Use a header file that comes with gcc, so configuring glibc
4677 # with a fresh cross-compiler works.
4678 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4679 # <limits.h> exists even on freestanding compilers.
4680 # On the NeXT, cc -E runs the code through the compiler's parser,
4681 # not just through cpp. "Syntax error" is here to catch this case.
4682 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4683 /* end confdefs.h. */
4684 #ifdef __STDC__
4685 # include <limits.h>
4686 #else
4687 # include <assert.h>
4688 #endif
4689 Syntax error
4690 _ACEOF
4691 if ac_fn_c_try_cppscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_cpp(). "$LINENO"; then :
4692
4693 else
4694 # Broken: fails on valid input.
4695 continue
4696 fi
4697 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
4698
4699 # OK, works on sane cases. Now check whether nonexistent headers
4700 # can be detected and how.
4701 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4702 /* end confdefs.h. */
4703 #include <ac_nonexistent.h>
4704 _ACEOF
4705 if ac_fn_c_try_cppscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_cpp(). "$LINENO"; then :
4706 # Broken: success on invalid input.
4707 continue
4708 else
4709 # Passes both tests.
4710 ac_preproc_ok=:
4711 break
4712 fi
4713 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
4714
4715 done
4716 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4717 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
4718 if $ac_preproc_ok; then :
4719
4720 else
4721 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4723 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "C preprocessor \"$CPP\" fails sanity check
4724 See \`config.log' for more details" "$LINENO" 5; }
4725 fi
4726
4727 ac_ext=c
4728 ac_cpp='$CPP $CPPFLAGS'
4729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4732
4733
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4735 $as_echo_n "checking for X... " >&6; }
4736
4737
4738 # Check whether --with-x was given.
4739 if testscip-shell system . . test. "${with_x+set}" = set; then :
4740 withval=$with_x;
4741 fi
4742
4743 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4744 if testscip-shell system . . test. "x$with_x" = xno; then
4745 # The user explicitly disabled X.
4746 have_x=disabled
4747 else
4748 case $x_includes,$x_libraries in #(
4749 *\'*) as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "cannot use X directory names containing '" "$LINENO" 5;; #(
4750 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
4751 $as_echo_n "(cached) " >&6
4752 else
4753 # One or both of the vars are not set, and there is no cached value.
4754 ac_x_includes=no ac_x_libraries=no
4755 rmscip-shell system . . rm. -f -r conftest.dir
4756 if mkdirscip-shell system . . mkdir. conftest.dir; then
4757 cd conftest.dir
4758 catscip-shell system . . cat. >Imakefile <<'_ACEOF'
4759 incroot:
4760 @echo incroot='${INCROOT}'
4761 usrlibdir:
4762 @echo usrlibdir='${USRLIBDIR}'
4763 libdir:
4764 @echo libdir='${LIBDIR}'
4765 _ACEOF
4766 if (export CC; ${XMKMF-xmkmf}) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`. && testscip-shell system . . test. -f Makefile; then
4767 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4768 for ac_var in incroot usrlibdir libdir; do
4769 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4770 done
4771 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4772 for ac_extension in a so sl dylib la dll; do
4773 if testscip-shell system . . test. ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4774 testscip-shell system . . test. -f "$ac_im_libdir/libX11.$ac_extension"; then
4775 ac_im_usrlibdir=$ac_im_libdir; break
4776 fi
4777 done
4778 # Screen out bogus values from the imake configuration. They are
4779 # bogus both because they are the default anyway, and because
4780 # using them would break gcc on systems where it needs fixed includes.
4781 case $ac_im_incroot in
4782 /usr/include) ac_x_includes= ;;
4783 *) testscip-shell system . . test. -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4784 esac
4785 case $ac_im_usrlibdir in
4786 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4787 *) testscip-shell system . . test. -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4788 esac
4789 fi
4790 cd ..
4791 rmscip-shell system . . rm. -f -r conftest.dir
4792 fi
4793
4794 # Standard set of common directories for X headers.
4795 # Check X11 before X11Rn because it is often a symlink to the current release.
4796 ac_x_header_dirs='
4797 /usr/X11/include
4798 /usr/X11R7/include
4799 /usr/X11R6/include
4800 /usr/X11R5/include
4801 /usr/X11R4/include
4802
4803 /usr/include/X11
4804 /usr/include/X11R7
4805 /usr/include/X11R6
4806 /usr/include/X11R5
4807 /usr/include/X11R4
4808
4809 /usr/local/X11/include
4810 /usr/local/X11R7/include
4811 /usr/local/X11R6/include
4812 /usr/local/X11R5/include
4813 /usr/local/X11R4/include
4814
4815 /usr/local/include/X11
4816 /usr/local/include/X11R7
4817 /usr/local/include/X11R6
4818 /usr/local/include/X11R5
4819 /usr/local/include/X11R4
4820
4821 /usr/X386/include
4822 /usr/x386/include
4823 /usr/XFree86/include/X11
4824
4825 /usr/include
4826 /usr/local/include
4827 /usr/unsupported/include
4828 /usr/athena/include
4829 /usr/local/x11r5/include
4830 /usr/lpp/Xamples/include
4831
4832 /usr/openwin/include
4833 /usr/openwin/share/include'
4834
4835 if testscip-shell system . . test. "$ac_x_includes" = no; then
4836 # Guess where to find include files, by looking for Xlib.h.
4837 # First, try using that file with no special directory specified.
4838 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4839 /* end confdefs.h. */
4840 #include <X11/Xlib.h>
4841 _ACEOF
4842 if ac_fn_c_try_cppscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_cpp(). "$LINENO"; then :
4843 # We can compile using X headers with no special include directory.
4844 ac_x_includes=
4845 else
4846 for ac_dir in $ac_x_header_dirs; do
4847 if testscip-shell system . . test. -r "$ac_dir/X11/Xlib.h"; then
4848 ac_x_includes=$ac_dir
4849 break
4850 fi
4851 done
4852 fi
4853 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
4854 fi # $ac_x_includes = no
4855
4856 if testscip-shell system . . test. "$ac_x_libraries" = no; then
4857 # Check for the libraries.
4858 # See if we find them without any special options.
4859 # Don't add to $LIBS permanently.
4860 ac_save_LIBS=$LIBS
4861 LIBS="-lX11 $LIBS"
4862 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h. */
4864 #include <X11/Xlib.h>
4865 #ifdef FC_DUMMY_MAIN
4866 #ifndef FC_DUMMY_MAIN_EQ_F77
4867 # ifdef __cplusplus
4868 extern "C"
4869 # endif
4870 int FC_DUMMY_MAIN() { return 1; }
4871 #endif
4872 #endif
4873 int
4874 main ()
4875 {
4876 XrmInitialize ()
4877 ;
4878 return 0;
4879 }
4880 _ACEOF
4881 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
4882 LIBS=$ac_save_LIBS
4883 # We can link X programs with no special library path.
4884 ac_x_libraries=
4885 else
4886 LIBS=$ac_save_LIBS
4887 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sedscip-shell system . . sed. s/include/lib/g`
4888 do
4889 # Don't even attempt the hair of trying to link an X program!
4890 for ac_extension in a so sl dylib la dll; do
4891 if testscip-shell system . . test. -r "$ac_dir/libX11.$ac_extension"; then
4892 ac_x_libraries=$ac_dir
4893 break 2
4894 fi
4895 done
4896 done
4897 fi
4898 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
4899 conftest$ac_exeext conftest.$ac_ext
4900 fi # $ac_x_libraries = no
4901
4902 case $ac_x_includes,$ac_x_libraries in #(
4903 no,* | *,no | *\'*)
4904 # Didn't find X, or a directory has "'" in its name.
4905 ac_cv_have_x="have_x=no";; #(
4906 *)
4907 # Record where we found X for the cache.
4908 ac_cv_have_x="have_x=yes\
4909 ac_x_includes='$ac_x_includes'\
4910 ac_x_libraries='$ac_x_libraries'"
4911 esac
4912 fi
4913 ;; #(
4914 *) have_x=yes;;
4915 esac
4916 eval "$ac_cv_have_x"
4917 fi # $with_x != no
4918
4919 if testscip-shell system . . test. "$have_x" != yes; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4921 $as_echo "$have_x" >&6; }
4922 no_x=yes
4923 else
4924 # If each of the values was on the command line, it overrides each guess.
4925 testscip-shell system . . test. "x$x_includes" = xNONE && x_includes=$ac_x_includes
4926 testscip-shell system . . test. "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4927 # Update the cache value to reflect the command line values.
4928 ac_cv_have_x="have_x=yes\
4929 ac_x_includes='$x_includes'\
4930 ac_x_libraries='$x_libraries'"
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4932 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4933 fi
4934
4935 if testscip-shell system . . test. "$no_x" = yes; then
4936 # Not all programs may use this symbol, but it does not hurt to define it.
4937
4938 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
4939
4940 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4941 else
4942 if testscip-shell system . . test. -n "$x_includes"; then
4943 X_CFLAGS="$X_CFLAGS -I$x_includes"
4944 fi
4945
4946 # It would also be nice to do this for all -L options, not just this one.
4947 if testscip-shell system . . test. -n "$x_libraries"; then
4948 X_LIBS="$X_LIBS -L$x_libraries"
4949 # For Solaris; some versions of Sun CC require a space after -R and
4950 # others require no space. Words are not sufficient . . . .
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
4952 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
4953 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4954 ac_xsave_c_werror_flag=$ac_c_werror_flag
4955 ac_c_werror_flag=yes
4956 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4958
4959 #ifdef FC_DUMMY_MAIN
4960 #ifndef FC_DUMMY_MAIN_EQ_F77
4961 # ifdef __cplusplus
4962 extern "C"
4963 # endif
4964 int FC_DUMMY_MAIN() { return 1; }
4965 #endif
4966 #endif
4967 int
4968 main ()
4969 {
4970
4971 ;
4972 return 0;
4973 }
4974 _ACEOF
4975 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 $as_echo "no" >&6; }
4978 X_LIBS="$X_LIBS -R$x_libraries"
4979 else
4980 LIBS="$ac_xsave_LIBS -R $x_libraries"
4981 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4982 /* end confdefs.h. */
4983
4984 #ifdef FC_DUMMY_MAIN
4985 #ifndef FC_DUMMY_MAIN_EQ_F77
4986 # ifdef __cplusplus
4987 extern "C"
4988 # endif
4989 int FC_DUMMY_MAIN() { return 1; }
4990 #endif
4991 #endif
4992 int
4993 main ()
4994 {
4995
4996 ;
4997 return 0;
4998 }
4999 _ACEOF
5000 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5002 $as_echo "yes" >&6; }
5003 X_LIBS="$X_LIBS -R $x_libraries"
5004 else
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
5006 $as_echo "neither works" >&6; }
5007 fi
5008 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
5009 conftest$ac_exeext conftest.$ac_ext
5010 fi
5011 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
5012 conftest$ac_exeext conftest.$ac_ext
5013 ac_c_werror_flag=$ac_xsave_c_werror_flag
5014 LIBS=$ac_xsave_LIBS
5015 fi
5016
5017 # Check for system-dependent libraries X programs must link with.
5018 # Do this before checking for the system-independent R6 libraries
5019 # (-lICE), since we may need -lsocket or whatever for X linking.
5020
5021 if testscip-shell system . . test. "$ISC" = yes; then
5022 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
5023 else
5024 # Martyn Johnson says this is needed for Ultrix, if the X
5025 # libraries were built with DECnet support. And Karl Berry says
5026 # the Alpha needs dnet_stub (dnet does not exist).
5027 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
5028 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5030
5031 /* Override any GCC internal prototype to avoid an error.
5032 Use char because int might match the return type of a GCC
5033 builtin and then its argument prototype would still apply. */
5034 #ifdef __cplusplus
5035 extern "C"
5036 #endif
5037 char XOpenDisplay ();
5038 #ifdef FC_DUMMY_MAIN
5039 #ifndef FC_DUMMY_MAIN_EQ_F77
5040 # ifdef __cplusplus
5041 extern "C"
5042 # endif
5043 int FC_DUMMY_MAIN() { return 1; }
5044 #endif
5045 #endif
5046 int
5047 main ()
5048 {
5049 return XOpenDisplay ();
5050 ;
5051 return 0;
5052 }
5053 _ACEOF
5054 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
5055
5056 else
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
5058 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5059 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
5060 $as_echo_n "(cached) " >&6
5061 else
5062 ac_check_lib_save_LIBS=$LIBS
5063 LIBS="-ldnet $LIBS"
5064 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5065 /* end confdefs.h. */
5066
5067 /* Override any GCC internal prototype to avoid an error.
5068 Use char because int might match the return type of a GCC
5069 builtin and then its argument prototype would still apply. */
5070 #ifdef __cplusplus
5071 extern "C"
5072 #endif
5073 char dnet_ntoa ();
5074 #ifdef FC_DUMMY_MAIN
5075 #ifndef FC_DUMMY_MAIN_EQ_F77
5076 # ifdef __cplusplus
5077 extern "C"
5078 # endif
5079 int FC_DUMMY_MAIN() { return 1; }
5080 #endif
5081 #endif
5082 int
5083 main ()
5084 {
5085 return dnet_ntoa ();
5086 ;
5087 return 0;
5088 }
5089 _ACEOF
5090 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
5091 ac_cv_lib_dnet_dnet_ntoa=yes
5092 else
5093 ac_cv_lib_dnet_dnet_ntoa=no
5094 fi
5095 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
5096 conftest$ac_exeext conftest.$ac_ext
5097 LIBS=$ac_check_lib_save_LIBS
5098 fi
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5100 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5101 if testscip-shell system . . test. "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
5102 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5103 fi
5104
5105 if testscip-shell system . . test. $ac_cv_lib_dnet_dnet_ntoa = no; then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
5107 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5108 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
5109 $as_echo_n "(cached) " >&6
5110 else
5111 ac_check_lib_save_LIBS=$LIBS
5112 LIBS="-ldnet_stub $LIBS"
5113 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5114 /* end confdefs.h. */
5115
5116 /* Override any GCC internal prototype to avoid an error.
5117 Use char because int might match the return type of a GCC
5118 builtin and then its argument prototype would still apply. */
5119 #ifdef __cplusplus
5120 extern "C"
5121 #endif
5122 char dnet_ntoa ();
5123 #ifdef FC_DUMMY_MAIN
5124 #ifndef FC_DUMMY_MAIN_EQ_F77
5125 # ifdef __cplusplus
5126 extern "C"
5127 # endif
5128 int FC_DUMMY_MAIN() { return 1; }
5129 #endif
5130 #endif
5131 int
5132 main ()
5133 {
5134 return dnet_ntoa ();
5135 ;
5136 return 0;
5137 }
5138 _ACEOF
5139 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
5140 ac_cv_lib_dnet_stub_dnet_ntoa=yes
5141 else
5142 ac_cv_lib_dnet_stub_dnet_ntoa=no
5143 fi
5144 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
5145 conftest$ac_exeext conftest.$ac_ext
5146 LIBS=$ac_check_lib_save_LIBS
5147 fi
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5149 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5150 if testscip-shell system . . test. "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
5151 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5152 fi
5153
5154 fi
5155 fi
5156 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
5157 conftest$ac_exeext conftest.$ac_ext
5158 LIBS="$ac_xsave_LIBS"
5159
5160 # [email protected] says -lnsl (and -lsocket) are needed for his 386/AT,
5161 # to get the SysV transport functions.
5162 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5163 # needs -lnsl.
5164 # The nsl library prevents programs from opening the X display
5165 # on Irix 5.2, according to T.E. Dickey.
5166 # The functions gethostbyname, getservbyname, and inet_addr are
5167 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5168 ac_fn_c_check_funcscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_check_func(). "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5169 if testscip-shell system . . test. "x$ac_cv_func_gethostbyname" = xyes; then :
5170
5171 fi
5172
5173 if testscip-shell system . . test. $ac_cv_func_gethostbyname = no; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5175 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5176 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
5177 $as_echo_n "(cached) " >&6
5178 else
5179 ac_check_lib_save_LIBS=$LIBS
5180 LIBS="-lnsl $LIBS"
5181 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5182 /* end confdefs.h. */
5183
5184 /* Override any GCC internal prototype to avoid an error.
5185 Use char because int might match the return type of a GCC
5186 builtin and then its argument prototype would still apply. */
5187 #ifdef __cplusplus
5188 extern "C"
5189 #endif
5190 char gethostbyname ();
5191 #ifdef FC_DUMMY_MAIN
5192 #ifndef FC_DUMMY_MAIN_EQ_F77
5193 # ifdef __cplusplus
5194 extern "C"
5195 # endif
5196 int FC_DUMMY_MAIN() { return 1; }
5197 #endif
5198 #endif
5199 int
5200 main ()
5201 {
5202 return gethostbyname ();
5203 ;
5204 return 0;
5205 }
5206 _ACEOF
5207 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
5208 ac_cv_lib_nsl_gethostbyname=yes
5209 else
5210 ac_cv_lib_nsl_gethostbyname=no
5211 fi
5212 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
5213 conftest$ac_exeext conftest.$ac_ext
5214 LIBS=$ac_check_lib_save_LIBS
5215 fi
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5217 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5218 if testscip-shell system . . test. "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
5219 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
5220 fi
5221
5222 if testscip-shell system . . test. $ac_cv_lib_nsl_gethostbyname = no; then
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
5224 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
5225 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
5226 $as_echo_n "(cached) " >&6
5227 else
5228 ac_check_lib_save_LIBS=$LIBS
5229 LIBS="-lbsd $LIBS"
5230 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5231 /* end confdefs.h. */
5232
5233 /* Override any GCC internal prototype to avoid an error.
5234 Use char because int might match the return type of a GCC
5235 builtin and then its argument prototype would still apply. */
5236 #ifdef __cplusplus
5237 extern "C"
5238 #endif
5239 char gethostbyname ();
5240 #ifdef FC_DUMMY_MAIN
5241 #ifndef FC_DUMMY_MAIN_EQ_F77
5242 # ifdef __cplusplus
5243 extern "C"
5244 # endif
5245 int FC_DUMMY_MAIN() { return 1; }
5246 #endif
5247 #endif
5248 int
5249 main ()
5250 {
5251 return gethostbyname ();
5252 ;
5253 return 0;
5254 }
5255 _ACEOF
5256 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
5257 ac_cv_lib_bsd_gethostbyname=yes
5258 else
5259 ac_cv_lib_bsd_gethostbyname=no
5260 fi
5261 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
5262 conftest$ac_exeext conftest.$ac_ext
5263 LIBS=$ac_check_lib_save_LIBS
5264 fi
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
5266 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
5267 if testscip-shell system . . test. "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
5268 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
5269 fi
5270
5271 fi
5272 fi
5273
5274 # [email protected] says without -lsocket,
5275 # socket/setsockopt and other routines are undefined under SCO ODT
5276 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
5277 # on later versions), says Simon Leinen: it contains gethostby*
5278 # variants that don't use the name server (or something). -lsocket
5279 # must be given before -lnsl if both are needed. We assume that
5280 # if connect needs -lnsl, so does gethostbyname.
5281 ac_fn_c_check_funcscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_check_func(). "$LINENO" "connect" "ac_cv_func_connect"
5282 if testscip-shell system . . test. "x$ac_cv_func_connect" = xyes; then :
5283
5284 fi
5285
5286 if testscip-shell system . . test. $ac_cv_func_connect = no; then
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
5288 $as_echo_n "checking for connect in -lsocket... " >&6; }
5289 if ${ac_cv_lib_socket_connect+:} false; then :
5290 $as_echo_n "(cached) " >&6
5291 else
5292 ac_check_lib_save_LIBS=$LIBS
5293 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5294 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5295 /* end confdefs.h. */
5296
5297 /* Override any GCC internal prototype to avoid an error.
5298 Use char because int might match the return type of a GCC
5299 builtin and then its argument prototype would still apply. */
5300 #ifdef __cplusplus
5301 extern "C"
5302 #endif
5303 char connect ();
5304 #ifdef FC_DUMMY_MAIN
5305 #ifndef FC_DUMMY_MAIN_EQ_F77
5306 # ifdef __cplusplus
5307 extern "C"
5308 # endif
5309 int FC_DUMMY_MAIN() { return 1; }
5310 #endif
5311 #endif
5312 int
5313 main ()
5314 {
5315 return connect ();
5316 ;
5317 return 0;
5318 }
5319 _ACEOF
5320 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
5321 ac_cv_lib_socket_connect=yes
5322 else
5323 ac_cv_lib_socket_connect=no
5324 fi
5325 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
5326 conftest$ac_exeext conftest.$ac_ext
5327 LIBS=$ac_check_lib_save_LIBS
5328 fi
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
5330 $as_echo "$ac_cv_lib_socket_connect" >&6; }
5331 if testscip-shell system . . test. "x$ac_cv_lib_socket_connect" = xyes; then :
5332 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
5333 fi
5334
5335 fi
5336
5337 # Guillermo Gomez says -lposix is necessary on A/UX.
5338 ac_fn_c_check_funcscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_check_func(). "$LINENO" "remove" "ac_cv_func_remove"
5339 if testscip-shell system . . test. "x$ac_cv_func_remove" = xyes; then :
5340
5341 fi
5342
5343 if testscip-shell system . . test. $ac_cv_func_remove = no; then
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
5345 $as_echo_n "checking for remove in -lposix... " >&6; }
5346 if ${ac_cv_lib_posix_remove+:} false; then :
5347 $as_echo_n "(cached) " >&6
5348 else
5349 ac_check_lib_save_LIBS=$LIBS
5350 LIBS="-lposix $LIBS"
5351 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5352 /* end confdefs.h. */
5353
5354 /* Override any GCC internal prototype to avoid an error.
5355 Use char because int might match the return type of a GCC
5356 builtin and then its argument prototype would still apply. */
5357 #ifdef __cplusplus
5358 extern "C"
5359 #endif
5360 char remove ();
5361 #ifdef FC_DUMMY_MAIN
5362 #ifndef FC_DUMMY_MAIN_EQ_F77
5363 # ifdef __cplusplus
5364 extern "C"
5365 # endif
5366 int FC_DUMMY_MAIN() { return 1; }
5367 #endif
5368 #endif
5369 int
5370 main ()
5371 {
5372 return remove ();
5373 ;
5374 return 0;
5375 }
5376 _ACEOF
5377 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
5378 ac_cv_lib_posix_remove=yes
5379 else
5380 ac_cv_lib_posix_remove=no
5381 fi
5382 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
5383 conftest$ac_exeext conftest.$ac_ext
5384 LIBS=$ac_check_lib_save_LIBS
5385 fi
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
5387 $as_echo "$ac_cv_lib_posix_remove" >&6; }
5388 if testscip-shell system . . test. "x$ac_cv_lib_posix_remove" = xyes; then :
5389 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5390 fi
5391
5392 fi
5393
5394 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5395 ac_fn_c_check_funcscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_check_func(). "$LINENO" "shmat" "ac_cv_func_shmat"
5396 if testscip-shell system . . test. "x$ac_cv_func_shmat" = xyes; then :
5397
5398 fi
5399
5400 if testscip-shell system . . test. $ac_cv_func_shmat = no; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
5402 $as_echo_n "checking for shmat in -lipc... " >&6; }
5403 if ${ac_cv_lib_ipc_shmat+:} false; then :
5404 $as_echo_n "(cached) " >&6
5405 else
5406 ac_check_lib_save_LIBS=$LIBS
5407 LIBS="-lipc $LIBS"
5408 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5409 /* end confdefs.h. */
5410
5411 /* Override any GCC internal prototype to avoid an error.
5412 Use char because int might match the return type of a GCC
5413 builtin and then its argument prototype would still apply. */
5414 #ifdef __cplusplus
5415 extern "C"
5416 #endif
5417 char shmat ();
5418 #ifdef FC_DUMMY_MAIN
5419 #ifndef FC_DUMMY_MAIN_EQ_F77
5420 # ifdef __cplusplus
5421 extern "C"
5422 # endif
5423 int FC_DUMMY_MAIN() { return 1; }
5424 #endif
5425 #endif
5426 int
5427 main ()
5428 {
5429 return shmat ();
5430 ;
5431 return 0;
5432 }
5433 _ACEOF
5434 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
5435 ac_cv_lib_ipc_shmat=yes
5436 else
5437 ac_cv_lib_ipc_shmat=no
5438 fi
5439 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
5440 conftest$ac_exeext conftest.$ac_ext
5441 LIBS=$ac_check_lib_save_LIBS
5442 fi
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
5444 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
5445 if testscip-shell system . . test. "x$ac_cv_lib_ipc_shmat" = xyes; then :
5446 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5447 fi
5448
5449 fi
5450 fi
5451
5452 # Check for libraries that X11R6 Xt/Xaw programs need.
5453 ac_save_LDFLAGS=$LDFLAGS
5454 testscip-shell system . . test. -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5455 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5456 # check for ICE first), but we must link in the order -lSM -lICE or
5457 # we get undefined symbols. So assume we have SM if we have ICE.
5458 # These have to be linked with before -lX11, unlike the other
5459 # libraries we check for below, so use a different variable.
5460 # John Interrante, Karl Berry
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
5462 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
5463 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
5464 $as_echo_n "(cached) " >&6
5465 else
5466 ac_check_lib_save_LIBS=$LIBS
5467 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5468 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5469 /* end confdefs.h. */
5470
5471 /* Override any GCC internal prototype to avoid an error.
5472 Use char because int might match the return type of a GCC
5473 builtin and then its argument prototype would still apply. */
5474 #ifdef __cplusplus
5475 extern "C"
5476 #endif
5477 char IceConnectionNumber ();
5478 #ifdef FC_DUMMY_MAIN
5479 #ifndef FC_DUMMY_MAIN_EQ_F77
5480 # ifdef __cplusplus
5481 extern "C"
5482 # endif
5483 int FC_DUMMY_MAIN() { return 1; }
5484 #endif
5485 #endif
5486 int
5487 main ()
5488 {
5489 return IceConnectionNumber ();
5490 ;
5491 return 0;
5492 }
5493 _ACEOF
5494 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
5495 ac_cv_lib_ICE_IceConnectionNumber=yes
5496 else
5497 ac_cv_lib_ICE_IceConnectionNumber=no
5498 fi
5499 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
5500 conftest$ac_exeext conftest.$ac_ext
5501 LIBS=$ac_check_lib_save_LIBS
5502 fi
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5504 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5505 if testscip-shell system . . test. "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
5506 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5507 fi
5508
5509 LDFLAGS=$ac_save_LDFLAGS
5510
5511 fi
5512
5513
5514 # We also need Motif. If we don't find it, X is not useful for us
5515 # so we set the same no_x variable as the above macro
5516 #Now we want to check to see is Motif is installed
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmCreateMainWindow in -lXm" >&5
5518 $as_echo_n "checking for XmCreateMainWindow in -lXm... " >&6; }
5519 if ${ac_cv_lib_Xm_XmCreateMainWindow+:} false; then :
5520 $as_echo_n "(cached) " >&6
5521 else
5522 ac_check_lib_save_LIBS=$LIBS
5523 LIBS="-lXm $X_PRE_LIBS $X_LIBS -lXt -lX11 $X_EXTRA_LIBS $LIBS"
5524 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5525 /* end confdefs.h. */
5526
5527 /* Override any GCC internal prototype to avoid an error.
5528 Use char because int might match the return type of a GCC
5529 builtin and then its argument prototype would still apply. */
5530 #ifdef __cplusplus
5531 extern "C"
5532 #endif
5533 char XmCreateMainWindow ();
5534 #ifdef FC_DUMMY_MAIN
5535 #ifndef FC_DUMMY_MAIN_EQ_F77
5536 # ifdef __cplusplus
5537 extern "C"
5538 # endif
5539 int FC_DUMMY_MAIN() { return 1; }
5540 #endif
5541 #endif
5542 int
5543 main ()
5544 {
5545 return XmCreateMainWindow ();
5546 ;
5547 return 0;
5548 }
5549 _ACEOF
5550 if ac_fn_c_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_link(). "$LINENO"; then :
5551 ac_cv_lib_Xm_XmCreateMainWindow=yes
5552 else
5553 ac_cv_lib_Xm_XmCreateMainWindow=no
5554 fi
5555 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
5556 conftest$ac_exeext conftest.$ac_ext
5557 LIBS=$ac_check_lib_save_LIBS
5558 fi
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_XmCreateMainWindow" >&5
5560 $as_echo "$ac_cv_lib_Xm_XmCreateMainWindow" >&6; }
5561 if testscip-shell system . . test. "x$ac_cv_lib_Xm_XmCreateMainWindow" = xyes; then :
5562 X_LIBS="$X_LIBS -lXm -lXt -lX11"
5563 else
5564 no_x=yes
5565 fi
5566
5567
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5569 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5570 if ${ac_cv_path_GREP+:} false; then :
5571 $as_echo_n "(cached) " >&6
5572 else
5573 if testscip-shell system . . test. -z "$GREP"; then
5574 ac_path_GREP_found=false
5575 # Loop through the user's path and test for each of PROGNAME-LIST
5576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5578 do
5579 IFS=$as_save_IFS
5580 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5581 for ac_prog in grep ggrep; do
5582 for ac_exec_ext in '' $ac_executable_extensions; do
5583 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5584 as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$ac_path_GREP" || continue
5585 # Check for GNU ac_path_GREP and select it if it is found.
5586 # Check for GNU $ac_path_GREP
5587 case `"$ac_path_GREP" --version 2>&1` in
5588 *GNU*)
5589 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5590 *)
5591 ac_count=0
5592 $as_echo_n 0123456789 >"conftest.in"
5593 while :
5594 do
5595 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
5596 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
5597 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
5598 $as_echo 'GREP' >> "conftest.nl"
5599 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
5600 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
5601 as_fn_arithscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
5602 if testscip-shell system . . test. $ac_count -gt ${ac_path_GREP_max-0}; then
5603 # Best one so far, save it but keep looking for a better one
5604 ac_cv_path_GREP="$ac_path_GREP"
5605 ac_path_GREP_max=$ac_count
5606 fi
5607 # 10*(2^10) chars as input seems more than enough
5608 testscip-shell system . . test. $ac_count -gt 10 && break
5609 done
5610 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
5611 esac
5612
5613 $ac_path_GREP_found && break 3
5614 done
5615 done
5616 done
5617 IFS=$as_save_IFS
5618 if testscip-shell system . . test. -z "$ac_cv_path_GREP"; then
5619 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5620 fi
5621 else
5622 ac_cv_path_GREP=$GREP
5623 fi
5624
5625 fi
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5627 $as_echo "$ac_cv_path_GREP" >&6; }
5628 GREP="$ac_cv_path_GREP"
5629
5630
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5632 $as_echo_n "checking for egrep... " >&6; }
5633 if ${ac_cv_path_EGREP+:} false; then :
5634 $as_echo_n "(cached) " >&6
5635 else
5636 if echoscip-shell system . . echo. a | $GREP -E '(a|b)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
5637 then ac_cv_path_EGREP="$GREP -E"
5638 else
5639 if testscip-shell system . . test. -z "$EGREP"; then
5640 ac_path_EGREP_found=false
5641 # Loop through the user's path and test for each of PROGNAME-LIST
5642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5643 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5644 do
5645 IFS=$as_save_IFS
5646 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5647 for ac_prog in egrep; do
5648 for ac_exec_ext in '' $ac_executable_extensions; do
5649 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5650 as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$ac_path_EGREP" || continue
5651 # Check for GNU ac_path_EGREP and select it if it is found.
5652 # Check for GNU $ac_path_EGREP
5653 case `"$ac_path_EGREP" --version 2>&1` in
5654 *GNU*)
5655 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5656 *)
5657 ac_count=0
5658 $as_echo_n 0123456789 >"conftest.in"
5659 while :
5660 do
5661 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
5662 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
5663 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
5664 $as_echo 'EGREP' >> "conftest.nl"
5665 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
5666 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
5667 as_fn_arithscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
5668 if testscip-shell system . . test. $ac_count -gt ${ac_path_EGREP_max-0}; then
5669 # Best one so far, save it but keep looking for a better one
5670 ac_cv_path_EGREP="$ac_path_EGREP"
5671 ac_path_EGREP_max=$ac_count
5672 fi
5673 # 10*(2^10) chars as input seems more than enough
5674 testscip-shell system . . test. $ac_count -gt 10 && break
5675 done
5676 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
5677 esac
5678
5679 $ac_path_EGREP_found && break 3
5680 done
5681 done
5682 done
5683 IFS=$as_save_IFS
5684 if testscip-shell system . . test. -z "$ac_cv_path_EGREP"; then
5685 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5686 fi
5687 else
5688 ac_cv_path_EGREP=$EGREP
5689 fi
5690
5691 fi
5692 fi
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5694 $as_echo "$ac_cv_path_EGREP" >&6; }
5695 EGREP="$ac_cv_path_EGREP"
5696
5697
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5699 $as_echo_n "checking for ANSI C header files... " >&6; }
5700 if ${ac_cv_header_stdc+:} false; then :
5701 $as_echo_n "(cached) " >&6
5702 else
5703 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5704 /* end confdefs.h. */
5705 #include <stdlib.h>
5706 #include <stdarg.h>
5707 #include <string.h>
5708 #include <float.h>
5709
5710 #ifdef FC_DUMMY_MAIN
5711 #ifndef FC_DUMMY_MAIN_EQ_F77
5712 # ifdef __cplusplus
5713 extern "C"
5714 # endif
5715 int FC_DUMMY_MAIN() { return 1; }
5716 #endif
5717 #endif
5718 int
5719 main ()
5720 {
5721
5722 ;
5723 return 0;
5724 }
5725 _ACEOF
5726 if ac_fn_c_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_compile(). "$LINENO"; then :
5727 ac_cv_header_stdc=yes
5728 else
5729 ac_cv_header_stdc=no
5730 fi
5731 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5732
5733 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
5734 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5735 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5736 /* end confdefs.h. */
5737 #include <string.h>
5738
5739 _ACEOF
5740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5741 $EGREP "memchr" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :
5742
5743 else
5744 ac_cv_header_stdc=no
5745 fi
5746 rmscip-shell system . . rm. -f conftest*
5747
5748 fi
5749
5750 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
5751 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5752 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5753 /* end confdefs.h. */
5754 #include <stdlib.h>
5755
5756 _ACEOF
5757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5758 $EGREP "free" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :
5759
5760 else
5761 ac_cv_header_stdc=no
5762 fi
5763 rmscip-shell system . . rm. -f conftest*
5764
5765 fi
5766
5767 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
5768 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5769 if testscip-shell system . . test. "$cross_compiling" = yes; then :
5770 :
5771 else
5772 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5773 /* end confdefs.h. */
5774 #include <ctype.h>
5775 #include <stdlib.h>
5776 #if ((' ' & 0x0FF) == 0x020)
5777 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5778 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5779 #else
5780 # define ISLOWER(c) \
5781 (('a' <= (c) && (c) <= 'i') \
5782 || ('j' <= (c) && (c) <= 'r') \
5783 || ('s' <= (c) && (c) <= 'z'))
5784 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5785 #endif
5786
5787 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5788 int
5789 main ()
5790 {
5791 int i;
5792 for (i = 0; i < 256; i++)
5793 if (XOR (islower (i), ISLOWER (i))
5794 || toupper (i) != TOUPPER (i))
5795 return 2;
5796 return 0;
5797 }
5798 _ACEOF
5799 if ac_fn_c_try_runscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_c_try_run(). "$LINENO"; then :
5800
5801 else
5802 ac_cv_header_stdc=no
5803 fi
5804 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5805 conftest.$ac_objext conftest.beam conftest.$ac_ext
5806 fi
5807
5808 fi
5809 fi
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5811 $as_echo "$ac_cv_header_stdc" >&6; }
5812 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
5813
5814 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5815
5816 fi
5817
5818
5819 CFLAGS="$CPPFLAGS $CFLAGS"
5820
5821 if testscip-shell system . . test. x$ENABLE_PLAUT = xyes; then
5822 PLAUT=plaut
5823 else
5824 PLAUT=""
5825 fi
5826
5827
5828 if testscip-shell system . . test. x$no_x != xyes && testscip-shell system . . test. x$ENABLE_GUI = xyes; then
5829 GUI=gui
5830 else
5831 GUI=""
5832 fi
5833
5834
5835 if testscip-shell system . . test. x$ENABLE_TEK2PS = xyes; then
5836 TEK2PS=tek2ps
5837 else
5838 TEK2PS=""
5839 fi
5840
5841
5842
5843 ac_ext=cpp
5844 ac_cpp='$CXXCPP $CPPFLAGS'
5845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5848 if testscip-shell system . . test. -z "$CXX"; then
5849 if testscip-shell system . . test. -n "$CCC"; then
5850 CXX=$CCC
5851 else
5852 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5853 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5854 do
5855 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5856 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_CXX+:} false; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 if testscip-shell system . . test. -n "$CXX"; then
5863 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5864 else
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH
5867 do
5868 IFS=$as_save_IFS
5869 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 break 2
5875 fi
5876 done
5877 done
5878 IFS=$as_save_IFS
5879
5880 fi
5881 fi
5882 CXX=$ac_cv_prog_CXX
5883 if testscip-shell system . . test. -n "$CXX"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5885 $as_echo "$CXX" >&6; }
5886 else
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5889 fi
5890
5891
5892 testscip-shell system . . test. -n "$CXX" && break
5893 done
5894 fi
5895 if testscip-shell system . . test. -z "$CXX"; then
5896 ac_ct_CXX=$CXX
5897 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5898 do
5899 # Extract the first word of "$ac_prog", so it can be a program name with args.
5900 set dummy $ac_prog; ac_word=$2
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 $as_echo_n "checking for $ac_word... " >&6; }
5903 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5904 $as_echo_n "(cached) " >&6
5905 else
5906 if testscip-shell system . . test. -n "$ac_ct_CXX"; then
5907 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5908 else
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 for as_dir in $PATH
5911 do
5912 IFS=$as_save_IFS
5913 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
5916 ac_cv_prog_ac_ct_CXX="$ac_prog"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 break 2
5919 fi
5920 done
5921 done
5922 IFS=$as_save_IFS
5923
5924 fi
5925 fi
5926 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5927 if testscip-shell system . . test. -n "$ac_ct_CXX"; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5929 $as_echo "$ac_ct_CXX" >&6; }
5930 else
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932 $as_echo "no" >&6; }
5933 fi
5934
5935
5936 testscip-shell system . . test. -n "$ac_ct_CXX" && break
5937 done
5938
5939 if testscip-shell system . . test. "x$ac_ct_CXX" = x; then
5940 CXX="g++"
5941 else
5942 case $cross_compiling:$ac_tool_warned in
5943 yes:)
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5946 ac_tool_warned=yes ;;
5947 esac
5948 CXX=$ac_ct_CXX
5949 fi
5950 fi
5951
5952 fi
5953 fi
5954 # Provide some information about the compiler.
5955 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5956 set X $ac_compile
5957 ac_compiler=$2
5958 for ac_option in --version -v -V -qversion; do
5959 { { ac_try="$ac_compiler $ac_option >&5"
5960 case "(($ac_try" in
5961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5962 *) ac_try_echo=$ac_try;;
5963 esac
5964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5965 $as_echo "$ac_try_echo"; } >&5
5966 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5967 ac_status=$?
5968 if testscip-shell system . . test. -s conftest.err; then
5969 sedscip-shell system . . sed. '10a\
5970 ... rest of stderr output deleted ...
5971 10q' conftest.err >conftest.er1
5972 catscip-shell system . . cat. conftest.er1 >&5
5973 fi
5974 rmscip-shell system . . rm. -f conftest.er1 conftest.err
5975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5976 testscip-shell system . . test. $ac_status = 0; }
5977 done
5978
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5980 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5981 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5982 $as_echo_n "(cached) " >&6
5983 else
5984 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5985 /* end confdefs.h. */
5986
5987 #ifdef FC_DUMMY_MAIN
5988 #ifndef FC_DUMMY_MAIN_EQ_F77
5989 # ifdef __cplusplus
5990 extern "C"
5991 # endif
5992 int FC_DUMMY_MAIN() { return 1; }
5993 #endif
5994 #endif
5995 int
5996 main ()
5997 {
5998 #ifndef __GNUC__
5999 choke me
6000 #endif
6001
6002 ;
6003 return 0;
6004 }
6005 _ACEOF
6006 if ac_fn_cxx_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_cxx_try_compile(). "$LINENO"; then :
6007 ac_compiler_gnu=yes
6008 else
6009 ac_compiler_gnu=no
6010 fi
6011 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6012 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6013
6014 fi
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6016 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6017 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
6018 GXX=yes
6019 else
6020 GXX=
6021 fi
6022 ac_test_CXXFLAGS=${CXXFLAGS+set}
6023 ac_save_CXXFLAGS=$CXXFLAGS
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6025 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
6026 if ${ac_cv_prog_cxx_g+:} false; then :
6027 $as_echo_n "(cached) " >&6
6028 else
6029 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6030 ac_cxx_werror_flag=yes
6031 ac_cv_prog_cxx_g=no
6032 CXXFLAGS="-g"
6033 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6034 /* end confdefs.h. */
6035
6036 #ifdef FC_DUMMY_MAIN
6037 #ifndef FC_DUMMY_MAIN_EQ_F77
6038 # ifdef __cplusplus
6039 extern "C"
6040 # endif
6041 int FC_DUMMY_MAIN() { return 1; }
6042 #endif
6043 #endif
6044 int
6045 main ()
6046 {
6047
6048 ;
6049 return 0;
6050 }
6051 _ACEOF
6052 if ac_fn_cxx_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_cxx_try_compile(). "$LINENO"; then :
6053 ac_cv_prog_cxx_g=yes
6054 else
6055 CXXFLAGS=""
6056 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6057 /* end confdefs.h. */
6058
6059 #ifdef FC_DUMMY_MAIN
6060 #ifndef FC_DUMMY_MAIN_EQ_F77
6061 # ifdef __cplusplus
6062 extern "C"
6063 # endif
6064 int FC_DUMMY_MAIN() { return 1; }
6065 #endif
6066 #endif
6067 int
6068 main ()
6069 {
6070
6071 ;
6072 return 0;
6073 }
6074 _ACEOF
6075 if ac_fn_cxx_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_cxx_try_compile(). "$LINENO"; then :
6076
6077 else
6078 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6079 CXXFLAGS="-g"
6080 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6081 /* end confdefs.h. */
6082
6083 #ifdef FC_DUMMY_MAIN
6084 #ifndef FC_DUMMY_MAIN_EQ_F77
6085 # ifdef __cplusplus
6086 extern "C"
6087 # endif
6088 int FC_DUMMY_MAIN() { return 1; }
6089 #endif
6090 #endif
6091 int
6092 main ()
6093 {
6094
6095 ;
6096 return 0;
6097 }
6098 _ACEOF
6099 if ac_fn_cxx_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_cxx_try_compile(). "$LINENO"; then :
6100 ac_cv_prog_cxx_g=yes
6101 fi
6102 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6103 fi
6104 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6105 fi
6106 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6107 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6108 fi
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6110 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6111 if testscip-shell system . . test. "$ac_test_CXXFLAGS" = set; then
6112 CXXFLAGS=$ac_save_CXXFLAGS
6113 elif testscip-shell system . . test. $ac_cv_prog_cxx_g = yes; then
6114 if testscip-shell system . . test. "$GXX" = yes; then
6115 CXXFLAGS="-g -O2"
6116 else
6117 CXXFLAGS="-g"
6118 fi
6119 else
6120 if testscip-shell system . . test. "$GXX" = yes; then
6121 CXXFLAGS="-O2"
6122 else
6123 CXXFLAGS=
6124 fi
6125 fi
6126 ac_ext=c
6127 ac_cpp='$CPP $CPPFLAGS'
6128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6131
6132 ac_ext=cpp
6133 ac_cpp='$CXXCPP $CPPFLAGS'
6134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6137
6138
6139 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6140 /* end confdefs.h. */
6141
6142 #ifdef FC_DUMMY_MAIN
6143 #ifndef FC_DUMMY_MAIN_EQ_F77
6144 # ifdef __cplusplus
6145 extern "C"
6146 # endif
6147 int FC_DUMMY_MAIN() { return 1; }
6148 #endif
6149 #endif
6150 int
6151 main ()
6152 {
6153
6154 ;
6155 return 0;
6156 }
6157 _ACEOF
6158 if ac_fn_cxx_try_compilescip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_cxx_try_compile(). "$LINENO"; then :
6159 HAVE_CXX="yes"
6160 else
6161 HAVE_CXX="no"
6162 fi
6163 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6164 PLAUT04_TEST=yes
6165 # Extract the first word of "coin-config", so it can be a program name with args.
6166 set dummy coin-config; ac_word=$2
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 $as_echo_n "checking for $ac_word... " >&6; }
6169 if ${ac_cv_prog_HAVE_COIN_CONFIG+:} false; then :
6170 $as_echo_n "(cached) " >&6
6171 else
6172 if testscip-shell system . . test. -n "$HAVE_COIN_CONFIG"; then
6173 ac_cv_prog_HAVE_COIN_CONFIG="$HAVE_COIN_CONFIG" # Let the user override the test.
6174 else
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 for as_dir in $PATH
6177 do
6178 IFS=$as_save_IFS
6179 testscip-shell system . . test. -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
6182 ac_cv_prog_HAVE_COIN_CONFIG="true"
6183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 break 2
6185 fi
6186 done
6187 done
6188 IFS=$as_save_IFS
6189
6190 testscip-shell system . . test. -z "$ac_cv_prog_HAVE_COIN_CONFIG" && ac_cv_prog_HAVE_COIN_CONFIG="false"
6191 fi
6192 fi
6193 HAVE_COIN_CONFIG=$ac_cv_prog_HAVE_COIN_CONFIG
6194 if testscip-shell system . . test. -n "$HAVE_COIN_CONFIG"; then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_COIN_CONFIG" >&5
6196 $as_echo "$HAVE_COIN_CONFIG" >&6; }
6197 else
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 $as_echo "no" >&6; }
6200 fi
6201
6202
6203 COIN_LIBS="-lCoin"
6204 COIN_LDFLAGS=
6205 COIN_INCLUDES=
6206 if testscip-shell system . . test. x$HAVE_COIN_CONFIG = "xtrue"; then
6207 COIN_LIBS="`coin-config --libs`"
6208 COIN_LDFLAGS="`coin-config --ldflags`"
6209 COIN_INCLUDES="`coin-config --cppflags`"
6210 fi
6211 tmp_LIBS=$LIBS
6212 LIBS="$LIBS $DEPS_LIBS $COIN_LIBS"
6213 tmp_LDFLAGS=$LDFLAGS
6214 LDFLAGS="$LDFLAGS $COIN_LDFLAGS"
6215 tmp_CPPFLAGS=$CPPFLAGS
6216 CPPFLAGS="$CPPFLAGS $COIN_INCLUDES"
6217 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6218 /* end confdefs.h. */
6219 #include <Inventor/SoDB.h>
6220 int main(void){SoDB::init();}
6221 _ACEOF
6222 if ac_fn_cxx_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_cxx_try_link(). "$LINENO"; then :
6223 COIN3D="yes"
6224 else
6225 COIN3D="no"
6226 fi
6227 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
6228 conftest$ac_exeext conftest.$ac_ext
6229 if testscip-shell system . . test. x$COIN3D = "xno" && testscip-shell system . . test. x$CXX = "xg++"; then
6230 tmp_CXX=$CXX
6231 # for 64-bit Mac OS try with -m32 to link with 32bit coin
6232 CXX="g++ -m32"
6233 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6234 /* end confdefs.h. */
6235 #include <Inventor/SoDB.h>
6236 int main(void){SoDB::init();}
6237 _ACEOF
6238 if ac_fn_cxx_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_cxx_try_link(). "$LINENO"; then :
6239 COIN3D="yes"
6240 else
6241 COIN3D="no"
6242 fi
6243 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
6244 conftest$ac_exeext conftest.$ac_ext
6245 if testscip-shell system . . test. x$COIN3D = "xno"; then
6246 CXX=$tmp_CXX
6247 fi
6248 fi
6249 LIBS=$tmp_LIBS
6250 LDFLAGS=$tmp_LDFLAGS
6251 CPPFLAGS=$tmp_CPPFLAGS
6252 if testscip-shell system . . test. x$COIN3D = "xno"; then
6253 {
6254 echoscip-shell system . . echo. "configure: error: COIN3D is not installed";
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abort in -lInventor" >&5
6256 $as_echo_n "checking for abort in -lInventor... " >&6; }
6257 if ${ac_cv_lib_Inventor_abort+:} false; then :
6258 $as_echo_n "(cached) " >&6
6259 else
6260 ac_check_lib_save_LIBS=$LIBS
6261 LIBS="-lInventor $LIBS"
6262 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6263 /* end confdefs.h. */
6264
6265 /* Override any GCC internal prototype to avoid an error.
6266 Use char because int might match the return type of a GCC
6267 builtin and then its argument prototype would still apply. */
6268 #ifdef __cplusplus
6269 extern "C"
6270 #endif
6271 char abort ();
6272 #ifdef FC_DUMMY_MAIN
6273 #ifndef FC_DUMMY_MAIN_EQ_F77
6274 # ifdef __cplusplus
6275 extern "C"
6276 # endif
6277 int FC_DUMMY_MAIN() { return 1; }
6278 #endif
6279 #endif
6280 int
6281 main ()
6282 {
6283 return abort ();
6284 ;
6285 return 0;
6286 }
6287 _ACEOF
6288 if ac_fn_cxx_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_cxx_try_link(). "$LINENO"; then :
6289 ac_cv_lib_Inventor_abort=yes
6290 else
6291 ac_cv_lib_Inventor_abort=no
6292 fi
6293 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
6294 conftest$ac_exeext conftest.$ac_ext
6295 LIBS=$ac_check_lib_save_LIBS
6296 fi
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Inventor_abort" >&5
6298 $as_echo "$ac_cv_lib_Inventor_abort" >&6; }
6299 if testscip-shell system . . test. "x$ac_cv_lib_Inventor_abort" = xyes; then :
6300 OI="yes"
6301 else
6302 OI="no"
6303 fi
6304
6305 if testscip-shell system . . test. x$OI = "xno"; then
6306 {
6307 echoscip-shell system . . echo. "configure: error: OI is not installed";
6308 PLAUT04_TEST=no
6309 }
6310 else
6311 {
6312 DEPS_LIBS="$DEPS_LIBS -lInventor"
6313 echoscip-shell system . . echo. "configure: SGI Open Inventor OK. $DEPS_LIBS";
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abort in -lInventorXt" >&5
6315 $as_echo_n "checking for abort in -lInventorXt... " >&6; }
6316 if ${ac_cv_lib_InventorXt_abort+:} false; then :
6317 $as_echo_n "(cached) " >&6
6318 else
6319 ac_check_lib_save_LIBS=$LIBS
6320 LIBS="-lInventorXt $LIBS"
6321 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6322 /* end confdefs.h. */
6323
6324 /* Override any GCC internal prototype to avoid an error.
6325 Use char because int might match the return type of a GCC
6326 builtin and then its argument prototype would still apply. */
6327 #ifdef __cplusplus
6328 extern "C"
6329 #endif
6330 char abort ();
6331 #ifdef FC_DUMMY_MAIN
6332 #ifndef FC_DUMMY_MAIN_EQ_F77
6333 # ifdef __cplusplus
6334 extern "C"
6335 # endif
6336 int FC_DUMMY_MAIN() { return 1; }
6337 #endif
6338 #endif
6339 int
6340 main ()
6341 {
6342 return abort ();
6343 ;
6344 return 0;
6345 }
6346 _ACEOF
6347 if ac_fn_cxx_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_cxx_try_link(). "$LINENO"; then :
6348 ac_cv_lib_InventorXt_abort=yes
6349 else
6350 ac_cv_lib_InventorXt_abort=no
6351 fi
6352 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
6353 conftest$ac_exeext conftest.$ac_ext
6354 LIBS=$ac_check_lib_save_LIBS
6355 fi
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_InventorXt_abort" >&5
6357 $as_echo "$ac_cv_lib_InventorXt_abort" >&6; }
6358 if testscip-shell system . . test. "x$ac_cv_lib_InventorXt_abort" = xyes; then :
6359 OIXTLIB="yes"
6360 else
6361 OIXTLIB="no"
6362 fi
6363
6364 if testscip-shell system . . test. x$OIXTLIB = "xno"; then
6365 { echoscip-shell system . . echo. "configure: error: SGI Open Inventor Xt Library is not installed"; PLAUT04_TEST=no; }
6366 else
6367 {
6368 DEPS_LIBS="$DEPS_LIBS -lInventorXt"
6369 echoscip-shell system . . echo. "configure: SGI Open Inventor Xt OK. $DEPS_LIBS";
6370 }
6371 fi
6372 }
6373 fi
6374 }
6375 else
6376 {
6377 echoscip-shell system . . echo. "configure: Coin3d OK.";
6378 SOXT_LDFLAGS=$COIN_LDFLAGS
6379 SOXT_LIBS=$COIN_LIBS
6380 SOXT_INCLUDES=$COIN_INCLUDES
6381 SOXTLIB="no"
6382 if testscip-shell system . . test. x$ENABLE_PLAUT04_QT = xyes; then
6383 # Extract the first word of "soqt-config", so it can be a program name with args.
6384 set dummy soqt-config; ac_word=$2
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6386 $as_echo_n "checking for $ac_word... " >&6; }
6387 if ${ac_cv_prog_HAVE_SOQT_CONFIG+:} false; then :
6388 $as_echo_n "(cached) " >&6
6389 else
6390 if testscip-shell system . . test. -n "$HAVE_SOQT_CONFIG"; then
6391 ac_cv_prog_HAVE_SOQT_CONFIG="$HAVE_SOQT_CONFIG" # Let the user override the test.
6392 else
6393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6394 for as_dir in $PATH
6395 do
6396 IFS=$as_save_IFS
6397 testscip-shell system . . test. -z "$as_dir" && as_dir=.
6398 for ac_exec_ext in '' $ac_executable_extensions; do
6399 if as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
6400 ac_cv_prog_HAVE_SOQT_CONFIG="true"
6401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6402 break 2
6403 fi
6404 done
6405 done
6406 IFS=$as_save_IFS
6407
6408 testscip-shell system . . test. -z "$ac_cv_prog_HAVE_SOQT_CONFIG" && ac_cv_prog_HAVE_SOQT_CONFIG="false"
6409 fi
6410 fi
6411 HAVE_SOQT_CONFIG=$ac_cv_prog_HAVE_SOQT_CONFIG
6412 if testscip-shell system . . test. -n "$HAVE_SOQT_CONFIG"; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_SOQT_CONFIG" >&5
6414 $as_echo "$HAVE_SOQT_CONFIG" >&6; }
6415 else
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6417 $as_echo "no" >&6; }
6418 fi
6419
6420
6421 if testscip-shell system . . test. x$HAVE_SOQT_CONFIG = "xtrue"; then
6422 SOXT_LIBS="`soqt-config --libs`"
6423 SOXT_LDFLAGS="`soqt-config --ldflags`"
6424 SOXT_INCLUDES="`soqt-config --cppflags` -DSOQT_DLL"
6425 fi
6426 tmp_LIBS=$LIBS
6427 LIBS="$LIBS $DEPS_LIBS $SOXT_LIBS"
6428 tmp_LDFLAGS=$LDFLAGS
6429 LDFLAGS="$LDFLAGS $SOXT_LDFLAGS"
6430 tmp_CPPFLAGS=$CPPFLAGS
6431 CPPFLAGS="$CPPFLAGS $SOXT_INCLUDES"
6432 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6433 /* end confdefs.h. */
6434 #include <Inventor/Qt/SoQt.h>
6435 int main(void){(void)SoQt::init((const char *)0L);}
6436 _ACEOF
6437 if ac_fn_cxx_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_cxx_try_link(). "$LINENO"; then :
6438 SOXTLIB="SoQt"
6439 else
6440 # -lXi is a workaround for Fedora Core 5
6441 tmp_LIBS1="$LIBS"
6442 LIBS="$LIBS -lXi"
6443 tmp_SOXT_LIBS="$SOXT_LIBS"
6444 SOXT_LIBS="$SOXT_LIBS -lXi"
6445 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6446 /* end confdefs.h. */
6447 #include <Inventor/Qt/SoQt.h>
6448 int main(void){(void)SoQt::init((const char *)0L);}
6449 _ACEOF
6450 if ac_fn_cxx_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_cxx_try_link(). "$LINENO"; then :
6451 SOXTLIB="SoQt"
6452 else
6453 #explictly look for Qt (sometimes necessary on Mac OS)
6454 SOXT_LIBS="$tmp_SOXT_LIBS `pkg-config --libs 'QtCore QtGui QtOpenGL'`"
6455 LIBS="$tmp_LIBS1 `pkg-config --libs 'QtCore QtGui QtOpenGL'`"
6456 SOXT_INCLUDES="$SOXT_INCLUDES `pkg-config --cflags 'QtCore QtGui QtOpenGL'`"
6457 CPPFLAGS="$CPPFLAGS `pkg-config --cflags 'QtCore QtGui QtOpenGL'`"
6458 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6459 /* end confdefs.h. */
6460 #include <Inventor/Qt/SoQt.h>
6461 int main(void){(void)SoQt::init((const char *)0L);}
6462 _ACEOF
6463 if ac_fn_cxx_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_cxx_try_link(). "$LINENO"; then :
6464 SOXTLIB="SoQt"
6465 else
6466 SOXTLIB="no"
6467 fi
6468 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
6469 conftest$ac_exeext conftest.$ac_ext
6470 fi
6471 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
6472 conftest$ac_exeext conftest.$ac_ext
6473 fi
6474 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
6475 conftest$ac_exeext conftest.$ac_ext
6476 LIBS=$tmp_LIBS
6477 LDFLAGS=$tmp_LDFLAGS
6478 CPPFLAGS=$tmp_CPPFLAGS
6479 fi
6480 if testscip-shell system . . test. x$SOXTLIB = xno; then
6481 # Extract the first word of "soxt-config", so it can be a program name with args.
6482 set dummy soxt-config; ac_word=$2
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6484 $as_echo_n "checking for $ac_word... " >&6; }
6485 if ${ac_cv_prog_HAVE_SOXT_CONFIG+:} false; then :
6486 $as_echo_n "(cached) " >&6
6487 else
6488 if testscip-shell system . . test. -n "$HAVE_SOXT_CONFIG"; then
6489 ac_cv_prog_HAVE_SOXT_CONFIG="$HAVE_SOXT_CONFIG" # Let the user override the test.
6490 else
6491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492 for as_dir in $PATH
6493 do
6494 IFS=$as_save_IFS
6495 testscip-shell system . . test. -z "$as_dir" && as_dir=.
6496 for ac_exec_ext in '' $ac_executable_extensions; do
6497 if as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
6498 ac_cv_prog_HAVE_SOXT_CONFIG="true"
6499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6500 break 2
6501 fi
6502 done
6503 done
6504 IFS=$as_save_IFS
6505
6506 testscip-shell system . . test. -z "$ac_cv_prog_HAVE_SOXT_CONFIG" && ac_cv_prog_HAVE_SOXT_CONFIG="false"
6507 fi
6508 fi
6509 HAVE_SOXT_CONFIG=$ac_cv_prog_HAVE_SOXT_CONFIG
6510 if testscip-shell system . . test. -n "$HAVE_SOXT_CONFIG"; then
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_SOXT_CONFIG" >&5
6512 $as_echo "$HAVE_SOXT_CONFIG" >&6; }
6513 else
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6515 $as_echo "no" >&6; }
6516 fi
6517
6518
6519 if testscip-shell system . . test. x$HAVE_SOXT_CONFIG = "xtrue"; then
6520 SOXT_LIBS="`soxt-config --libs`"
6521 SOXT_LDFLAGS="`soxt-config --ldflags`"
6522 SOXT_INCLUDES="`soxt-config --cppflags`"
6523 fi
6524 tmp_LIBS=$LIBS
6525 LIBS="$LIBS $DEPS_LIBS $SOXT_LIBS"
6526 tmp_LDFLAGS=$LDFLAGS
6527 LDFLAGS="$LDFLAGS $SOXT_LDFLAGS"
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abort in -lSoXt" >&5
6529 $as_echo_n "checking for abort in -lSoXt... " >&6; }
6530 if ${ac_cv_lib_SoXt_abort+:} false; then :
6531 $as_echo_n "(cached) " >&6
6532 else
6533 ac_check_lib_save_LIBS=$LIBS
6534 LIBS="-lSoXt $LIBS"
6535 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6536 /* end confdefs.h. */
6537
6538 /* Override any GCC internal prototype to avoid an error.
6539 Use char because int might match the return type of a GCC
6540 builtin and then its argument prototype would still apply. */
6541 #ifdef __cplusplus
6542 extern "C"
6543 #endif
6544 char abort ();
6545 #ifdef FC_DUMMY_MAIN
6546 #ifndef FC_DUMMY_MAIN_EQ_F77
6547 # ifdef __cplusplus
6548 extern "C"
6549 # endif
6550 int FC_DUMMY_MAIN() { return 1; }
6551 #endif
6552 #endif
6553 int
6554 main ()
6555 {
6556 return abort ();
6557 ;
6558 return 0;
6559 }
6560 _ACEOF
6561 if ac_fn_cxx_try_linkscip-shell shell auto-07p 0.9.2+dfsg-3.1 ac_fn_cxx_try_link(). "$LINENO"; then :
6562 ac_cv_lib_SoXt_abort=yes
6563 else
6564 ac_cv_lib_SoXt_abort=no
6565 fi
6566 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
6567 conftest$ac_exeext conftest.$ac_ext
6568 LIBS=$ac_check_lib_save_LIBS
6569 fi
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SoXt_abort" >&5
6571 $as_echo "$ac_cv_lib_SoXt_abort" >&6; }
6572 if testscip-shell system . . test. "x$ac_cv_lib_SoXt_abort" = xyes; then :
6573 SOXTLIB="SoXt"
6574 else
6575 SOXTLIB="no"
6576 fi
6577
6578 LIBS=$tmp_LIBS
6579 LDFLAGS=$tmp_LDFLAGS
6580 fi
6581 if testscip-shell system . . test. x$SOXTLIB = "xno"; then
6582 { echoscip-shell system . . echo. "configure: error: Coin3d SoQt/SoXt Library is not installed"; PLAUT04_TEST=no; }
6583 else
6584 {
6585 if testscip-shell system . . test. x$HAVE_SOXT_CONFIG = "xfalse"; then
6586 SOXT_LIBS="-lCoin -l$SOXTLIB"
6587 if testscip-shell system . . test. x$HAVE_COIN_CONFIG = "xtrue"; then
6588 SOXT_LIBS="$COIN_LIBS -l$SOXTLIB"
6589 SOXT_LDFLAGS=$COIN_LDFLAGS
6590 fi
6591 fi
6592 DEPS_LIBS="$SOXT_LDFLAGS $DEPS_LIBS $SOXT_LIBS"
6593 DEPS_INCLUDES="$DEPS_INCLUDES $SOXT_INCLUDES"
6594 echoscip-shell system . . echo. "configure: Coin3d $SOXTLIB OK. $DEPS_INCLUDES $DEPS_LIBS";
6595 }
6596 fi
6597 }
6598 fi
6599
6600 if (testscip-shell system . . test. x$HAVE_SOXT_CONFIG = "xtrue" || testscip-shell system . . test. x$HAVE_SOQT_CONFIG = "xtrue" || \
6601 test x$no_x != xyes) && \
6602 test x$ENABLE_PLAUT04 = xyes && testscip-shell system . . test. x$PLAUT04_TEST = xyes; then
6603 PLAUT04=plaut04
6604 if testscip-shell system . . test. x$SOXTLIB = "xSoXt"; then
6605 DEPS_LIBS="$X_PRE_LIBS $DEPS_LIBS $X_LIBS $X_EXTRA_LIBS"
6606 SOXT_OBJS=gmainxt.o
6607 SOXT_OBJS_R3B=gmainxt.o
6608 else
6609 MOCNAMES="moc-qt3 moc"
6610 if ( echoscip-shell system . . echo. $SOXT_LIBS | grepscip-shell system . . grep. QtGui > /dev/nullscip-shell filesystem . . `/dev/null`. ); then
6611 MOCNAMES="moc-qt4 moc"
6612 fi
6613 if testscip-shell system . . test. -n "$QTDIR"; then
6614 mocpath=$QTDIR/bin:$PATH
6615 else
6616 mocpath=$PATH
6617 fi
6618 for ac_prog in $MOCNAMES
6619 do
6620 # Extract the first word of "$ac_prog", so it can be a program name with args.
6621 set dummy $ac_prog; ac_word=$2
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6623 $as_echo_n "checking for $ac_word... " >&6; }
6624 if ${ac_cv_path_MOC+:} false; then :
6625 $as_echo_n "(cached) " >&6
6626 else
6627 case $MOC in
6628 [\\/]* | ?:[\\/]*)
6629 ac_cv_path_MOC="$MOC" # Let the user override the test with a path.
6630 ;;
6631 *)
6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6633 for as_dir in $mocpath
6634 do
6635 IFS=$as_save_IFS
6636 testscip-shell system . . test. -z "$as_dir" && as_dir=.
6637 for ac_exec_ext in '' $ac_executable_extensions; do
6638 if as_fn_executable_pscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
6639 ac_cv_path_MOC="$as_dir/$ac_word$ac_exec_ext"
6640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6641 break 2
6642 fi
6643 done
6644 done
6645 IFS=$as_save_IFS
6646
6647 ;;
6648 esac
6649 fi
6650 MOC=$ac_cv_path_MOC
6651 if testscip-shell system . . test. -n "$MOC"; then
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
6653 $as_echo "$MOC" >&6; }
6654 else
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6656 $as_echo "no" >&6; }
6657 fi
6658
6659
6660 testscip-shell system . . test. -n "$MOC" && break
6661 done
6662 testscip-shell system . . test. -n "$MOC" || MOC="false"
6663
6664 if testscip-shell system . . test. x"$MOC" = x"false"; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ''moc'' Qt preprocessor not found" >&5
6666 $as_echo "$as_me: WARNING: ''moc'' Qt preprocessor not found" >&2;}
6667 if testscip-shell system . . test. -z "$QTDIR"; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: (QTDIR environment variable not set)" >&5
6669 $as_echo "$as_me: WARNING: (QTDIR environment variable not set)" >&2;}
6670 fi
6671 PLAUT04=""
6672 PLAUT04_TEST="no"
6673 else
6674 SOXT_OBJS="gmainqt.moc.o gmainqt.o"
6675 SOXT_OBJS_R3B="../gmainqt.moc.o gmainqt.o"
6676 X_CFLAGS="$X_CFLAGS -DUSE_SOQT"
6677 fi
6678 fi
6679 else
6680 PLAUT04=""
6681 PLAUT04_TEST="no"
6682 fi
6683
6684
6685
6686
6687
6688
6689
•6690 ac_config_files="$ac_config_files Makefile src/Makefile util/Makefile gui/Makefile plaut/Makefile plaut04/Makefile plaut04/src/Makefile cmds/cmds.make cmds/Makefile gui/auto.makefile cmds/compat.sh"
6691
6692 catscip-shell system . . cat. >confcache <<\_ACEOF
6693 # This file is a shell script that caches the results of configure
6694 # tests run on this system so they can be shared between configure
6695 # scripts and configure runs, see configure's option --config-cache.
6696 # It is not useful on other systems. If it contains results you don't
6697 # want to keep, you may remove or edit it.
6698 #
6699 # config.status only pays attention to the cache file if you give it
6700 # the --recheck option to rerun configure.
6701 #
6702 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6703 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6704 # following values.
6705
6706 _ACEOF
6707
6708 # The following way of writing the cache mishandles newlines in values,
6709 # but we know of no workaround that is simple, portable, and efficient.
6710 # So, we kill variables containing newlines.
6711 # Ultrix sh set writes to stderr and can't be redirected directly,
6712 # and sets the high bit in the cache file unless we assign to the vars.
6713 (
6714 for ac_var in `(set) 2>&1 | sedscip-shell system . . sed. -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6715 eval ac_val=\$$ac_var
6716 case $ac_val in #(
6717 *${as_nl}*)
6718 case $ac_var in #(
6719 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6720 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6721 esac
6722 case $ac_var in #(
6723 _ | IFS | as_nl) ;; #(
6724 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6725 *) { eval $ac_var=; unset $ac_var;} ;;
6726 esac ;;
6727 esac
6728 done
6729
6730 (set) 2>&1 |
6731 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6732 *${as_nl}ac_space=\ *)
6733 # `set' does not quote correctly, so add quotes: double-quote
6734 # substitution turns \\\\ into \\, and sed turns \\ into \.
6735 sedscip-shell system . . sed. -n \
6736 "s/'/'\\\\''/g;
6737 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6738 ;; #(
6739 *)
6740 # `set' quotes correctly as required by POSIX, so do not add quotes.
6741 sedscip-shell system . . sed. -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6742 ;;
6743 esac |
6744 sortscip-shell system . . sort.
6745 ) |
6746 sedscip-shell system . . sed. '
6747 /^ac_cv_env_/b end
6748 t clear
6749 :clear
6750 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6751 t end
6752 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6753 :end' >>confcache
6754 if diffscip-shell system . . diff. "$cache_file" confcache >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
6755 if testscip-shell system . . test. -w "$cache_file"; then
6756 if testscip-shell system . . test. "x$cache_file" != "x/dev/null"; then
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6758 $as_echo "$as_me: updating cache $cache_file" >&6;}
6759 if testscip-shell system . . test. ! -f "$cache_file" || testscip-shell system . . test. -h "$cache_file"; then
6760 catscip-shell system . . cat. confcache >"$cache_file"
6761 else
6762 case $cache_file in #(
6763 */* | ?:*)
6764 mvscip-shell system . . mv. -f confcache "$cache_file"$$ &&
6765 mvscip-shell system . . mv. -f "$cache_file"$$ "$cache_file" ;; #(
6766 *)
6767 mvscip-shell system . . mv. -f confcache "$cache_file" ;;
6768 esac
6769 fi
6770 fi
6771 else
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6773 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6774 fi
6775 fi
6776 rmscip-shell system . . rm. -f confcache
6777
6778 testscip-shell system . . test. "x$prefix" = xNONE && prefix=$ac_default_prefix
6779 # Let make expand exec_prefix.
6780 testscip-shell system . . test. "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6781
6782 DEFS=-DHAVE_CONFIG_H
6783
6784 ac_libobjs=
6785 ac_ltlibobjs=
6786 U=
6787 for ac_i in : $LIBOBJS; do testscip-shell system . . test. "x$ac_i" = x: && continue
6788 # 1. Remove the extension, and $U if already installed.
6789 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6790 ac_i=`$as_echo "$ac_i" | sedscip-shell system . . sed. "$ac_script"`
6791 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6792 # will be set to the directory where LIBOBJS objects are built.
6793 as_fn_appendscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_append(). ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6794 as_fn_appendscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_append(). ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6795 done
6796 LIBOBJS=$ac_libobjs
6797
6798 LTLIBOBJS=$ac_ltlibobjs
6799
6800
6801
6802 : "${CONFIG_STATUS=./config.status}"
6803 ac_write_fail=0
6804 ac_clean_files_save=$ac_clean_files
6805 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6807 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6808 as_write_fail=0
6809 catscip-shell system . . cat. >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6810 #! $SHELL
6811 # Generated by $as_me.
6812 # Run this file to recreate the current configuration.
6813 # Compiler output produced by configure, useful for debugging
6814 # configure, is in config.log if it exists.
6815
6816 debug=false
6817 ac_cs_recheck=false
6818 ac_cs_silent=false
6819
6820 SHELL=\${CONFIG_SHELL-$SHELL}
6821 export SHELL
6822 _ASEOF
6823 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6824 ## -------------------- ##
6825 ## M4sh Initialization. ##
6826 ## -------------------- ##
6827
6828 # Be more Bourne compatible
6829 DUALCASE=1; export DUALCASE # for MKS sh
6830 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6831 emulate sh
6832 NULLCMD=:
6833 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6834 # is contrary to our usage. Disable this feature.
6835 alias -g '${1+"$@"}'='"$@"'
6836 setopt NO_GLOB_SUBST
6837 else
6838 case `(set -o) 2>/dev/null` in #(
6839 *posix*) :
6840 set -o posix ;; #(
6841 *) :
6842 ;;
6843 esac
6844 fi
6845
6846
6847 as_nl='
6848 '
6849 export as_nl
6850 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6851 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6852 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6853 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6854 # Prefer a ksh shell builtin over an external printf program on Solaris,
6855 # but without wasting forks for bash or zsh.
6856 if test -z "$BASH_VERSION$ZSH_VERSION" \
6857 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6858 as_echo='print -r --'
6859 as_echo_n='print -rn --'
6860 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6861 as_echo='printf %s\n'
6862 as_echo_n='printf %s'
6863 else
6864 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6865 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6866 as_echo_n='/usr/ucb/echo -n'
6867 else
6868 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6869 as_echo_n_body='eval
6870 arg=$1;
6871 case $arg in #(
6872 *"$as_nl"*)
6873 expr "X$arg" : "X\\(.*\\)$as_nl";
6874 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6875 esac;
6876 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6877 '
6878 export as_echo_n_body
6879 as_echo_n='sh -c $as_echo_n_body as_echo'
6880 fi
6881 export as_echo_body
6882 as_echo='sh -c $as_echo_body as_echo'
6883 fi
6884
6885 # The user is always right.
6886 if test "${PATH_SEPARATOR+set}" != set; then
6887 PATH_SEPARATOR=:
6888 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6889 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6890 PATH_SEPARATOR=';'
6891 }
6892 fi
6893
6894
6895 # IFS
6896 # We need space, tab and new line, in precisely that order. Quoting is
6897 # there to prevent editors from complaining about space-tab.
6898 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6899 # splitting by setting IFS to empty value.)
6900 IFS=" "" $as_nl"
6901
6902 # Find who we are. Look in the path if we contain no directory separator.
6903 as_myself=
6904 case $0 in #((
6905 *[\\/]* ) as_myself=$0 ;;
6906 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6907 for as_dir in $PATH
6908 do
6909 IFS=$as_save_IFS
6910 test -z "$as_dir" && as_dir=.
6911 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6912 done
6913 IFS=$as_save_IFS
6914
6915 ;;
6916 esac
6917 # We did not find ourselves, most probably we were run as `sh COMMAND'
6918 # in which case we are not to be found in the path.
6919 if test "x$as_myself" = x; then
6920 as_myself=$0
6921 fi
6922 if test ! -f "$as_myself"; then
6923 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6924 exit 1
6925 fi
6926
6927 # Unset variables that we do not need and which cause bugs (e.g. in
6928 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6929 # suppresses any "Segmentation fault" message there. '((' could
6930 # trigger a bug in pdksh 5.2.14.
6931 for as_var in BASH_ENV ENV MAIL MAILPATH
6932 do eval test x\${$as_var+set} = xset \
6933 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6934 done
6935 PS1='$ '
6936 PS2='> '
6937 PS4='+ '
6938
6939 # NLS nuisances.
6940 LC_ALL=C
6941 export LC_ALL
6942 LANGUAGE=C
6943 export LANGUAGE
6944
6945 # CDPATH.
6946 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6947
6948
6949 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6950 # ----------------------------------------
6951 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6952 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6953 # script with STATUS, using 1 if that was 0.
6954 as_fn_error ()
6955 {
6956 as_status=$1; test $as_status -eq 0 && as_status=1
6957 if test "$4"; then
6958 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6959 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6960 fi
6961 $as_echo "$as_me: error: $2" >&2
6962 as_fn_exit $as_status
6963 } # as_fn_error
6964
6965
6966 # as_fn_set_status STATUS
6967 # -----------------------
6968 # Set $? to STATUS, without forking.
6969 as_fn_set_status ()
6970 {
6971 return $1
6972 } # as_fn_set_status
6973
6974 # as_fn_exit STATUS
6975 # -----------------
6976 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6977 as_fn_exit ()
6978 {
6979 set +e
6980 as_fn_set_status $1
6981 exit $1
6982 } # as_fn_exit
6983
6984 # as_fn_unset VAR
6985 # ---------------
6986 # Portably unset VAR.
6987 as_fn_unset ()
6988 {
6989 { eval $1=; unset $1;}
6990 }
6991 as_unset=as_fn_unset
6992 # as_fn_append VAR VALUE
6993 # ----------------------
6994 # Append the text in VALUE to the end of the definition contained in VAR. Take
6995 # advantage of any shell optimizations that allow amortized linear growth over
6996 # repeated appends, instead of the typical quadratic growth present in naive
6997 # implementations.
6998 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6999 eval 'as_fn_append ()
7000 {
7001 eval $1+=\$2
7002 }'
7003 else
7004 as_fn_append ()
7005 {
7006 eval $1=\$$1\$2
7007 }
7008 fi # as_fn_append
7009
7010 # as_fn_arith ARG...
7011 # ------------------
7012 # Perform arithmetic evaluation on the ARGs, and store the result in the
7013 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7014 # must be portable across $(()) and expr.
7015 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7016 eval 'as_fn_arith ()
7017 {
7018 as_val=$(( $* ))
7019 }'
7020 else
7021 as_fn_arith ()
7022 {
7023 as_val=`expr "$@" || test $? -eq 1`
7024 }
7025 fi # as_fn_arith
7026
7027
7028 if expr a : '\(a\)' >/dev/null 2>&1 &&
7029 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7030 as_expr=expr
7031 else
7032 as_expr=false
7033 fi
7034
7035 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7036 as_basename=basename
7037 else
7038 as_basename=false
7039 fi
7040
7041 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7042 as_dirname=dirname
7043 else
7044 as_dirname=false
7045 fi
7046
7047 as_me=`$as_basename -- "$0" ||
7048 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7049 X"$0" : 'X\(//\)$' \| \
7050 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7051 $as_echo X/"$0" |
7052 sed '/^.*\/\([^/][^/]*\)\/*$/{
7053 s//\1/
7054 q
7055 }
7056 /^X\/\(\/\/\)$/{
7057 s//\1/
7058 q
7059 }
7060 /^X\/\(\/\).*/{
7061 s//\1/
7062 q
7063 }
7064 s/.*/./; q'`
7065
7066 # Avoid depending upon Character Ranges.
7067 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7068 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7069 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7070 as_cr_digits='0123456789'
7071 as_cr_alnum=$as_cr_Letters$as_cr_digits
7072
7073 ECHO_C= ECHO_N= ECHO_T=
7074 case `echo -n x` in #(((((
7075 -n*)
7076 case `echo 'xy\c'` in
7077 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7078 xy) ECHO_C='\c';;
7079 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7080 ECHO_T=' ';;
7081 esac;;
7082 *)
7083 ECHO_N='-n';;
7084 esac
7085
7086 rm -f conf$$ conf$$.exe conf$$.file
7087 if test -d conf$$.dir; then
7088 rm -f conf$$.dir/conf$$.file
7089 else
7090 rm -f conf$$.dir
7091 mkdir conf$$.dir 2>/dev/null
7092 fi
7093 if (echo >conf$$.file) 2>/dev/null; then
7094 if ln -s conf$$.file conf$$ 2>/dev/null; then
7095 as_ln_s='ln -s'
7096 # ... but there are two gotchas:
7097 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7098 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7099 # In both cases, we have to default to `cp -pR'.
7100 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7101 as_ln_s='cp -pR'
7102 elif ln conf$$.file conf$$ 2>/dev/null; then
7103 as_ln_s=ln
7104 else
7105 as_ln_s='cp -pR'
7106 fi
7107 else
7108 as_ln_s='cp -pR'
7109 fi
7110 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7111 rmdir conf$$.dir 2>/dev/null
7112
7113
7114 # as_fn_mkdir_p
7115 # -------------
7116 # Create "$as_dir" as a directory, including parents if necessary.
7117 as_fn_mkdir_p ()
7118 {
7119
7120 case $as_dir in #(
7121 -*) as_dir=./$as_dir;;
7122 esac
7123 test -d "$as_dir" || eval $as_mkdir_p || {
7124 as_dirs=
7125 while :; do
7126 case $as_dir in #(
7127 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7128 *) as_qdir=$as_dir;;
7129 esac
7130 as_dirs="'$as_qdir' $as_dirs"
7131 as_dir=`$as_dirname -- "$as_dir" ||
7132 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7133 X"$as_dir" : 'X\(//\)[^/]' \| \
7134 X"$as_dir" : 'X\(//\)$' \| \
7135 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7136 $as_echo X"$as_dir" |
7137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7138 s//\1/
7139 q
7140 }
7141 /^X\(\/\/\)[^/].*/{
7142 s//\1/
7143 q
7144 }
7145 /^X\(\/\/\)$/{
7146 s//\1/
7147 q
7148 }
7149 /^X\(\/\).*/{
7150 s//\1/
7151 q
7152 }
7153 s/.*/./; q'`
7154 test -d "$as_dir" && break
7155 done
7156 test -z "$as_dirs" || eval "mkdir $as_dirs"
7157 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7158
7159
7160 } # as_fn_mkdir_p
7161 if mkdir -p . 2>/dev/null; then
7162 as_mkdir_p='mkdir -p "$as_dir"'
7163 else
7164 test -d ./-p && rmdir ./-p
7165 as_mkdir_p=false
7166 fi
7167
7168
7169 # as_fn_executable_p FILE
7170 # -----------------------
7171 # Test if FILE is an executable regular file.
7172 as_fn_executable_p ()
7173 {
7174 test -f "$1" && test -x "$1"
7175 } # as_fn_executable_p
7176 as_test_x='test -x'
7177 as_executable_p=as_fn_executable_p
7178
7179 # Sed expression to map a string onto a valid CPP name.
7180 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7181
7182 # Sed expression to map a string onto a valid variable name.
7183 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7184
7185
7186 exec 6>&1
7187 ## ----------------------------------- ##
7188 ## Main body of $CONFIG_STATUS script. ##
7189 ## ----------------------------------- ##
7190 _ASEOF
7191 testscip-shell system . . test. $as_write_fail = 0 && chmodscip-shell system . . chmod. +x $CONFIG_STATUS || ac_write_fail=1
7192
7193 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7194 # Save the log message, to keep $0 and so on meaningful, and to
7195 # report actual input values of CONFIG_FILES etc. instead of their
7196 # values after options handling.
7197 ac_log="
7198 This file was extended by $as_me, which was
7199 generated by GNU Autoconf 2.69. Invocation command line was
7200
7201 CONFIG_FILES = $CONFIG_FILES
7202 CONFIG_HEADERS = $CONFIG_HEADERS
7203 CONFIG_LINKS = $CONFIG_LINKS
7204 CONFIG_COMMANDS = $CONFIG_COMMANDS
7205 $ $0 $@
7206
7207 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7208 "
7209
7210 _ACEOF
7211
7212 case $ac_config_files in *"
7213 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7214 esac
7215
7216 case $ac_config_headers in *"
7217 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7218 esac
7219
7220
7221 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7222 # Files that config.status was made for.
7223 config_files="$ac_config_files"
7224 config_headers="$ac_config_headers"
7225
7226 _ACEOF
7227
7228 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7229 ac_cs_usage="\
7230 \`$as_me' instantiates files and other configuration actions
7231 from templates according to the current configuration. Unless the files
7232 and actions are specified as TAGs, all are instantiated by default.
7233
7234 Usage: $0 [OPTION]... [TAG]...
7235
7236 -h, --help print this help, then exit
7237 -V, --version print version number and configuration settings, then exit
7238 --config print configuration, then exit
7239 -q, --quiet, --silent
7240 do not print progress messages
7241 -d, --debug don't remove temporary files
7242 --recheck update $as_me by reconfiguring in the same conditions
7243 --file=FILE[:TEMPLATE]
7244 instantiate the configuration file FILE
7245 --header=FILE[:TEMPLATE]
7246 instantiate the configuration header FILE
7247
7248 Configuration files:
7249 $config_files
7250
7251 Configuration headers:
7252 $config_headers
7253
7254 Report bugs to the package provider."
7255
7256 _ACEOF
7257 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7258 ac_cs_config="`$as_echo "$ac_configure_args" | sedscip-shell system . . sed. 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7259 ac_cs_version="\\
7260 config.status
7261 configured by $0, generated by GNU Autoconf 2.69,
7262 with options \\"\$ac_cs_config\\"
7263
7264 Copyright (C) 2012 Free Software Foundation, Inc.
7265 This config.status script is free software; the Free Software Foundation
7266 gives unlimited permission to copy, distribute and modify it."
7267
7268 ac_pwd='$ac_pwd'
7269 srcdir='$srcdir'
7270 INSTALL='$INSTALL'
7271 test -n "\$AWK" || AWK=awk
7272 _ACEOF
7273
7274 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7275 # The default lists apply if the user does not specify any file.
7276 ac_need_defaults=:
7277 while test $# != 0
7278 do
7279 case $1 in
7280 --*=?*)
7281 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7282 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7283 ac_shift=:
7284 ;;
7285 --*=)
7286 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7287 ac_optarg=
7288 ac_shift=:
7289 ;;
7290 *)
7291 ac_option=$1
7292 ac_optarg=$2
7293 ac_shift=shift
7294 ;;
7295 esac
7296
7297 case $ac_option in
7298 # Handling of the options.
7299 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7300 ac_cs_recheck=: ;;
7301 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7302 $as_echo "$ac_cs_version"; exit ;;
7303 --config | --confi | --conf | --con | --co | --c )
7304 $as_echo "$ac_cs_config"; exit ;;
7305 --debug | --debu | --deb | --de | --d | -d )
7306 debug=: ;;
7307 --file | --fil | --fi | --f )
7308 $ac_shift
7309 case $ac_optarg in
7310 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7311 '') as_fn_error $? "missing file argument" ;;
7312 esac
7313 as_fn_append CONFIG_FILES " '$ac_optarg'"
7314 ac_need_defaults=false;;
7315 --header | --heade | --head | --hea )
7316 $ac_shift
7317 case $ac_optarg in
7318 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7319 esac
7320 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7321 ac_need_defaults=false;;
7322 --he | --h)
7323 # Conflict between --help and --header
7324 as_fn_error $? "ambiguous option: \`$1'
7325 Try \`$0 --help' for more information.";;
7326 --help | --hel | -h )
7327 $as_echo "$ac_cs_usage"; exit ;;
7328 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7329 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7330 ac_cs_silent=: ;;
7331
7332 # This is an error.
7333 -*) as_fn_error $? "unrecognized option: \`$1'
7334 Try \`$0 --help' for more information." ;;
7335
7336 *) as_fn_append ac_config_targets " $1"
7337 ac_need_defaults=false ;;
7338
7339 esac
7340 shift
7341 done
7342
7343 ac_configure_extra_args=
7344
7345 if $ac_cs_silent; then
7346 exec 6>/dev/null
7347 ac_configure_extra_args="$ac_configure_extra_args --silent"
7348 fi
7349
7350 _ACEOF
7351 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7352 if \$ac_cs_recheck; then
7353 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7354 shift
7355 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7356 CONFIG_SHELL='$SHELL'
7357 export CONFIG_SHELL
7358 exec "\$@"
7359 fi
7360
7361 _ACEOF
7362 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7363 exec 5>>config.log
7364 {
7365 echo
7366 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7367 ## Running $as_me. ##
7368 _ASBOX
7369 $as_echo "$ac_log"
7370 } >&5
7371
7372 _ACEOF
7373 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7374 _ACEOF
7375
7376 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7377
7378 # Handling of arguments.
7379 for ac_config_target in $ac_config_targets
7380 do
7381 case $ac_config_target in
7382 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
7383 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7384 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7385 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
7386 "gui/Makefile") CONFIG_FILES="$CONFIG_FILES gui/Makefile" ;;
7387 "tek2ps/Makefile") CONFIG_FILES="$CONFIG_FILES tek2ps/Makefile" ;;
7388 "plaut/Makefile") CONFIG_FILES="$CONFIG_FILES plaut/Makefile" ;;
7389 "plaut04/Makefile") CONFIG_FILES="$CONFIG_FILES plaut04/Makefile" ;;
7390 "plaut04/src/Makefile") CONFIG_FILES="$CONFIG_FILES plaut04/src/Makefile" ;;
7391 "cmds/cmds.make") CONFIG_FILES="$CONFIG_FILES cmds/cmds.make" ;;
7392 "cmds/Makefile") CONFIG_FILES="$CONFIG_FILES cmds/Makefile" ;;
7393 "gui/auto.makefile") CONFIG_FILES="$CONFIG_FILES gui/auto.makefile" ;;
7394 "cmds/compat.sh") CONFIG_FILES="$CONFIG_FILES cmds/compat.sh" ;;
7395
7396 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7397 esac
7398 done
7399
7400
7401 # If the user did not use the arguments to specify the items to instantiate,
7402 # then the envvar interface is used. Set only those that are not.
7403 # We use the long form for the default assignment because of an extremely
7404 # bizarre bug on SunOS 4.1.3.
7405 if $ac_need_defaults; then
7406 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7407 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7408 fi
7409
7410 # Have a temporary directory for convenience. Make it in the build tree
7411 # simply because there is no reason against having it here, and in addition,
7412 # creating and moving files from /tmp can sometimes cause problems.
7413 # Hook for its removal unless debugging.
7414 # Note that there is a small window in which the directory will not be cleaned:
7415 # after its creation but before its name has been assigned to `$tmp'.
7416 $debug ||
7417 {
7418 tmp= ac_tmp=
7419 trap 'exit_status=$?
7420 : "${ac_tmp:=$tmp}"
7421 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7422 ' 0
7423 trap 'as_fn_exit 1' 1 2 13 15
7424 }
7425 # Create a (secure) tmp directory for tmp files.
7426
7427 {
7428 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7429 test -d "$tmp"
7430 } ||
7431 {
7432 tmp=./conf$$-$RANDOM
7433 (umask 077 && mkdir "$tmp")
7434 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7435 ac_tmp=$tmp
7436
7437 # Set up the scripts for CONFIG_FILES section.
7438 # No need to generate them if there are no CONFIG_FILES.
7439 # This happens for instance with `./config.status config.h'.
7440 if test -n "$CONFIG_FILES"; then
7441
7442
7443 ac_cr=`echo X | tr X '\015'`
7444 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7445 # But we know of no other shell where ac_cr would be empty at this
7446 # point, so we can use a bashism as a fallback.
7447 if test "x$ac_cr" = x; then
7448 eval ac_cr=\$\'\\r\'
7449 fi
7450 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7451 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7452 ac_cs_awk_cr='\\r'
7453 else
7454 ac_cs_awk_cr=$ac_cr
7455 fi
7456
7457 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7458 _ACEOF
7459
7460
7461 {
7462 echoscip-shell system . . echo. "cat >conf$$subs.awk <<_ACEOF" &&
7463 echoscip-shell system . . echo. "$ac_subst_vars" | sedscip-shell system . . sed. 's/.*/&!$&$ac_delim/' &&
7464 echoscip-shell system . . echo. "_ACEOF"
7465 } >conf$$subs.sh ||
7466 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
7467 ac_delim_num=`echoscip-shell system . . echo. "$ac_subst_vars" | grepscip-shell system . . grep. -c '^'`
7468 ac_delim='%!_!# '
7469 for ac_last_try in false false false false false :; do
7470 . ./conf$$subs.sh ||
7471 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
7472
7473 ac_delim_n=`sedscip-shell system . . sed. -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grepscip-shell system . . grep. -c X`
7474 if testscip-shell system . . test. $ac_delim_n = $ac_delim_num; then
7475 break
7476 elif $ac_last_try; then
7477 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
7478 else
7479 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7480 fi
7481 done
7482 rmscip-shell system . . rm. -f conf$$subs.sh
7483
7484 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7485 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7486 _ACEOF
7487 sedscip-shell system . . sed. -n '
7488 h
7489 s/^/S["/; s/!.*/"]=/
7490 p
7491 g
7492 s/^[^!]*!//
7493 :repl
7494 t repl
7495 s/'"$ac_delim"'$//
7496 t delim
7497 :nl
7498 h
7499 s/\(.\{148\}\)..*/\1/
7500 t more1
7501 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7502 p
7503 n
7504 b repl
7505 :more1
7506 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7507 p
7508 g
7509 s/.\{148\}//
7510 t nl
7511 :delim
7512 h
7513 s/\(.\{148\}\)..*/\1/
7514 t more2
7515 s/["\\]/\\&/g; s/^/"/; s/$/"/
7516 p
7517 b
7518 :more2
7519 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7520 p
7521 g
7522 s/.\{148\}//
7523 t delim
7524 ' <conf$$subs.awk | sedscip-shell system . . sed. '
7525 /^[^""]/{
7526 N
7527 s/\n//
7528 }
7529 ' >>$CONFIG_STATUS || ac_write_fail=1
7530 rmscip-shell system . . rm. -f conf$$subs.awk
7531 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7532 _ACAWK
7533 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7534 for (key in S) S_is_set[key] = 1
7535 FS = ""
7536
7537 }
7538 {
7539 line = $ 0
7540 nfields = split(line, field, "@")
7541 substed = 0
7542 len = length(field[1])
7543 for (i = 2; i < nfields; i++) {
7544 key = field[i]
7545 keylen = length(key)
7546 if (S_is_set[key]) {
7547 value = S[key]
7548 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7549 len += length(value) + length(field[++i])
7550 substed = 1
7551 } else
7552 len += 1 + keylen
7553 }
7554
7555 print line
7556 }
7557
7558 _ACAWK
7559 _ACEOF
7560 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7561 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7562 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7563 else
7564 cat
7565 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7566 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7567 _ACEOF
7568
7569 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7570 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7571 # trailing colons and then remove the whole line if VPATH becomes empty
7572 # (actually we leave an empty line to preserve line numbers).
7573 if testscip-shell system . . test. "x$srcdir" = x.; then
7574 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7575 h
7576 s///
7577 s/^/:/
7578 s/[ ]*$/:/
7579 s/:\$(srcdir):/:/g
7580 s/:\${srcdir}:/:/g
7581 s/:@srcdir@:/:/g
7582 s/^:*//
7583 s/:*$//
7584 x
7585 s/\(=[ ]*\).*/\1/
7586 G
7587 s/\n//
7588 s/^[^=]*=[ ]*$//
7589 }'
7590 fi
7591
7592 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7593 fi # test -n "$CONFIG_FILES"
7594
7595 # Set up the scripts for CONFIG_HEADERS section.
7596 # No need to generate them if there are no CONFIG_HEADERS.
7597 # This happens for instance with `./config.status Makefile'.
7598 if test -n "$CONFIG_HEADERS"; then
7599 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7600 BEGIN {
7601 _ACEOF
7602
7603 # Transform confdefs.h into an awk script `defines.awk', embedded as
7604 # here-document in config.status, that substitutes the proper values into
7605 # config.h.in to produce config.h.
7606
7607 # Create a delimiter string that does not exist in confdefs.h, to ease
7608 # handling of long lines.
7609 ac_delim='%!_!# '
7610 for ac_last_try in false false :; do
7611 ac_tt=`sedscip-shell system . . sed. -n "/$ac_delim/p" confdefs.h`
7612 if testscip-shell system . . test. -z "$ac_tt"; then
7613 break
7614 elif $ac_last_try; then
7615 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7616 else
7617 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7618 fi
7619 done
7620
7621 # For the awk script, D is an array of macro values keyed by name,
7622 # likewise P contains macro parameters if any. Preserve backslash
7623 # newline sequences.
7624
7625 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7626 sedscip-shell system . . sed. -n '
7627 s/.\{148\}/&'"$ac_delim"'/g
7628 t rset
7629 :rset
7630 s/^[ ]*#[ ]*define[ ][ ]*/ /
7631 t def
7632 d
7633 :def
7634 s/\\$//
7635 t bsnl
7636 s/["\\]/\\&/g
7637 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7638 D["\1"]=" \3"/p
7639 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7640 d
7641 :bsnl
7642 s/["\\]/\\&/g
7643 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7644 D["\1"]=" \3\\\\\\n"\\/p
7645 t cont
7646 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7647 t cont
7648 d
7649 :cont
7650 n
7651 s/.\{148\}/&'"$ac_delim"'/g
7652 t clear
7653 :clear
7654 s/\\$//
7655 t bsnlc
7656 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7657 d
7658 :bsnlc
7659 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7660 b cont
7661 ' <confdefs.h | sedscip-shell system . . sed. '
7662 s/'"$ac_delim"'/"\\\
7663 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7664
7665 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7666 for (key in D) D_is_set[key] = 1
7667 FS = ""
7668 }
7669 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7670 line = \$ 0
7671 split(line, arg, " ")
7672 if (arg[1] == "#") {
7673 defundef = arg[2]
7674 mac1 = arg[3]
7675 } else {
7676 defundef = substr(arg[1], 2)
7677 mac1 = arg[2]
7678 }
7679 split(mac1, mac2, "(") #)
7680 macro = mac2[1]
7681 prefix = substr(line, 1, index(line, defundef) - 1)
7682 if (D_is_set[macro]) {
7683 # Preserve the white space surrounding the "#".
7684 print prefix "define", macro P[macro] D[macro]
7685 next
7686 } else {
7687 # Replace #undef with comments. This is necessary, for example,
7688 # in the case of _POSIX_SOURCE, which is predefined and required
7689 # on some systems where configure will not decide to define it.
7690 if (defundef == "undef") {
7691 print "/*", prefix defundef, macro, "*/"
7692 next
7693 }
7694 }
7695 }
7696 { print }
7697 _ACAWK
7698 _ACEOF
7699 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7700 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7701 fi # test -n "$CONFIG_HEADERS"
7702
7703
7704 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
7705 shift
7706 for ac_tag
7707 do
7708 case $ac_tag in
7709 :[FHLC]) ac_mode=$ac_tag; continue;;
7710 esac
7711 case $ac_mode$ac_tag in
7712 :[FHL]*:*);;
7713 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7714 :[FH]-) ac_tag=-:-;;
7715 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7716 esac
7717 ac_save_IFS=$IFS
7718 IFS=:
7719 set x $ac_tag
7720 IFS=$ac_save_IFS
7721 shift
7722 ac_file=$1
7723 shift
7724
7725 case $ac_mode in
7726 :L) ac_source=$1;;
7727 :[FH])
7728 ac_file_inputs=
7729 for ac_f
7730 do
7731 case $ac_f in
7732 -) ac_f="$ac_tmp/stdin";;
7733 *) # Look for the file first in the build tree, then in the source tree
7734 # (if the path is not absolute). The absolute path cannot be DOS-style,
7735 # because $ac_f cannot contain `:'.
7736 test -f "$ac_f" ||
7737 case $ac_f in
7738 [\\/$]*) false;;
7739 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7740 esac ||
7741 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7742 esac
7743 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7744 as_fn_append ac_file_inputs " '$ac_f'"
7745 done
7746
7747 # Let's still pretend it is `configure' which instantiates (i.e., don't
7748 # use $as_me), people would be surprised to read:
7749 # /* config.h. Generated by config.status. */
7750 configure_input='Generated from '`
7751 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7752 `' by configure.'
7753 if test x"$ac_file" != x-; then
7754 configure_input="$ac_file. $configure_input"
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7756 $as_echo "$as_me: creating $ac_file" >&6;}
7757 fi
7758 # Neutralize special characters interpreted by sed in replacement strings.
7759 case $configure_input in #(
7760 *\&* | *\|* | *\\* )
7761 ac_sed_conf_input=`$as_echo "$configure_input" |
7762 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7763 *) ac_sed_conf_input=$configure_input;;
7764 esac
7765
7766 case $ac_tag in
7767 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7768 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7769 esac
7770 ;;
7771 esac
7772
7773 ac_dir=`$as_dirname -- "$ac_file" ||
7774 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7775 X"$ac_file" : 'X\(//\)[^/]' \| \
7776 X"$ac_file" : 'X\(//\)$' \| \
7777 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7778 $as_echo X"$ac_file" |
7779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7780 s//\1/
7781 q
7782 }
7783 /^X\(\/\/\)[^/].*/{
7784 s//\1/
7785 q
7786 }
7787 /^X\(\/\/\)$/{
7788 s//\1/
7789 q
7790 }
7791 /^X\(\/\).*/{
7792 s//\1/
7793 q
7794 }
7795 s/.*/./; q'`
7796 as_dir="$ac_dir"; as_fn_mkdir_p
7797 ac_builddir=.
7798
7799 case "$ac_dir" in
7800 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7801 *)
7802 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7803 # A ".." for each directory in $ac_dir_suffix.
7804 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7805 case $ac_top_builddir_sub in
7806 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7807 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7808 esac ;;
7809 esac
7810 ac_abs_top_builddir=$ac_pwd
7811 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7812 # for backward compatibility:
7813 ac_top_builddir=$ac_top_build_prefix
7814
7815 case $srcdir in
7816 .) # We are building in place.
7817 ac_srcdir=.
7818 ac_top_srcdir=$ac_top_builddir_sub
7819 ac_abs_top_srcdir=$ac_pwd ;;
7820 [\\/]* | ?:[\\/]* ) # Absolute name.
7821 ac_srcdir=$srcdir$ac_dir_suffix;
7822 ac_top_srcdir=$srcdir
7823 ac_abs_top_srcdir=$srcdir ;;
7824 *) # Relative name.
7825 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7826 ac_top_srcdir=$ac_top_build_prefix$srcdir
7827 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7828 esac
7829 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7830
7831
7832 case $ac_mode in
7833 :F)
7834 #
7835 # CONFIG_FILE
7836 #
7837
7838 case $INSTALL in
7839 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7840 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7841 esac
7842 _ACEOF
7843
7844 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7845 # If the template does not know about datarootdir, expand it.
7846 # FIXME: This hack should be removed a few years after 2.60.
7847 ac_datarootdir_hack=; ac_datarootdir_seen=
7848 ac_sed_dataroot='
7849 /datarootdir/ {
7850 p
7851 q
7852 }
7853 /@datadir@/p
7854 /@docdir@/p
7855 /@infodir@/p
7856 /@localedir@/p
7857 /@mandir@/p'
7858 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7859 *datarootdir*) ac_datarootdir_seen=yes;;
7860 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7862 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7863 _ACEOF
7864 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7865 ac_datarootdir_hack='
7866 s&@datadir@&$datadir&g
7867 s&@docdir@&$docdir&g
7868 s&@infodir@&$infodir&g
7869 s&@localedir@&$localedir&g
7870 s&@mandir@&$mandir&g
7871 s&\\\${datarootdir}&$datarootdir&g' ;;
7872 esac
7873 _ACEOF
7874
7875 # Neutralize VPATH when `$srcdir' = `.'.
7876 # Shell code in configure.ac might set extrasub.
7877 # FIXME: do we really want to maintain this feature?
7878 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7879 ac_sed_extra="$ac_vpsub
7880 $extrasub
7881 _ACEOF
7882 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7883 :t
7884 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7885 s|@configure_input@|$ac_sed_conf_input|;t t
7886 s&@top_builddir@&$ac_top_builddir_sub&;t t
7887 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7888 s&@srcdir@&$ac_srcdir&;t t
7889 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7890 s&@top_srcdir@&$ac_top_srcdir&;t t
7891 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7892 s&@builddir@&$ac_builddir&;t t
7893 s&@abs_builddir@&$ac_abs_builddir&;t t
7894 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7895 s&@INSTALL@&$ac_INSTALL&;t t
7896 $ac_datarootdir_hack
7897 "
7898 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7899 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7900
7901 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7902 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7903 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7904 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7906 which seems to be undefined. Please make sure it is defined" >&5
7907 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7908 which seems to be undefined. Please make sure it is defined" >&2;}
7909
7910 rm -f "$ac_tmp/stdin"
7911 case $ac_file in
7912 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7913 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7914 esac \
7915 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7916 ;;
7917 :H)
7918 #
7919 # CONFIG_HEADER
7920 #
7921 if test x"$ac_file" != x-; then
7922 {
7923 $as_echo "/* $configure_input */" \
7924 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7925 } >"$ac_tmp/config.h" \
7926 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7927 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7929 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7930 else
7931 rm -f "$ac_file"
7932 mv "$ac_tmp/config.h" "$ac_file" \
7933 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7934 fi
7935 else
7936 $as_echo "/* $configure_input */" \
7937 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7938 || as_fn_error $? "could not create -" "$LINENO" 5
7939 fi
7940 ;;
7941
7942
7943 esac
7944
7945 done # for ac_tag
7946
7947
7948 as_fn_exit 0
7949 _ACEOF
7950 ac_clean_files=$ac_clean_files_save
7951
7952 testscip-shell system . . test. $ac_write_fail = 0 ||
7953 as_fn_errorscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_error(). $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7954
7955
7956 # configure is writing to config.log, and then calls config.status.
7957 # config.status does its own redirection, appending to config.log.
7958 # Unfortunately, on DOS this fails, as config.log is still kept open
7959 # by configure, so config.status won't be able to write to it; its
7960 # output is simply discarded. So we exec the FD to /dev/null,
7961 # effectively closing config.log, so it can be properly (re)opened and
7962 # appended to by config.status. When coming back to configure, we
7963 # need to make the FD available again.
7964 if testscip-shell system . . test. "$no_create" != yes; then
7965 ac_cs_success=:
7966 ac_config_status_args=
7967 testscip-shell system . . test. "$silent" = yes &&
7968 ac_config_status_args="$ac_config_status_args --quiet"
7969 exec 5>/dev/nullscip-shell filesystem . . `/dev/null`.
7970 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7971 exec 5>>config.log
7972 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7973 # would make configure fail if this is the last instruction.
7974 $ac_cs_success || as_fn_exitscip-shell shell auto-07p 0.9.2+dfsg-3.1 as_fn_exit(). 1
7975 fi
7976 if testscip-shell system . . test. -n "$ac_unrecognized_opts" && testscip-shell system . . test. "$enable_option_checking" != no; then
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7978 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7979 fi
7980
7981
7982 if testscip-shell system . . test. x$no_x = xyes && testscip-shell system . . test. x$ENABLE_GUI = xyes; then
7983 echoscip-shell system . . echo. "***************************************************"
7984 echoscip-shell system . . echo. "It was requested that the GUI front end be compiled"
7985 echoscip-shell system . . echo. "but the proper X libraries (libX and libXt) and/or "
7986 echoscip-shell system . . echo. "Motif libraries (libXm) could not be found. The "
7987 echoscip-shell system . . echo. "compilation of the GUI had been disabled. "
7988 echoscip-shell system . . echo. "***************************************************"
7989 fi
7990 if testscip-shell system . . test. x$ENABLE_PLAUT04 = xyes && testscip-shell system . . test. x$PLAUT04_TEST = xno; then
7991 echoscip-shell system . . echo. "***************************************************"
7992 echoscip-shell system . . echo. "It was requested that the plotting utility PLAUT04 "
7993 echoscip-shell system . . echo. "be compiled but the proper libraries (Coin3D and "
7994 echoscip-shell system . . echo. "SoQt or SoXt or Open Inventor and Open Inventor Xt)"
7995 echoscip-shell system . . echo. "and perhaps Motif libraries (libXm) could not be "
7996 echoscip-shell system . . echo. "found. The compilation of PLAUT04 is disabled. "
7997 if testscip-shell system . . test. x$HAVE_CXX = xno; then
7998 echoscip-shell system . . echo. "You will also need to install a C++ compiler, e.g. g++."
7999 fi
8000 echoscip-shell system . . echo. "***************************************************"
8001 fi
8002 if testscip-shell system . . test. x$openmp = "xyes" && testscip-shell system . . test. x$MPI != "xyes"; then
8003 echoscip-shell system . . echo. "***************************************************"
8004 echoscip-shell system . . echo. "AUTO has been configured with support for OpenMP"
8005 echoscip-shell system . . echo. "***************************************************"
8006 fi
8007 if testscip-shell system . . test. x$openmp != "xyes" && testscip-shell system . . test. x$MPI = "xyes"; then
8008 echoscip-shell system . . echo. "***************************************************"
8009 echoscip-shell system . . echo. "AUTO has been configured with support for MPI"
8010 echoscip-shell system . . echo. "***************************************************"
8011 fi
8012 if testscip-shell system . . test. x$openmp = "xyes" && testscip-shell system . . test. x$MPI = "xyes"; then
8013 echoscip-shell system . . echo. "***************************************************"
8014 echoscip-shell system . . echo. "AUTO has been configured with support for"
8015 echoscip-shell system . . echo. "OpenMP and MPI"
8016 echoscip-shell system . . echo. "***************************************************"
8017 fi