Debian Codegraph @

configure

raw symbols SCIP
1 #! /bin/shscip-shell filesystem . . `/bin/sh`.
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for CppUTest 4.0.
4 #
5 # Report bugs to <https://github.com/cpputest/cpputest>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if testscip-shell system . . test. -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if testscip-shell system . . test. -z "$BASH_VERSION$ZSH_VERSION" \
46 && (testscip-shell system . . test. "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (testscip-shell system . . test. "X`printfscip-shell system . . printf. %s $as_echo`" = "X$as_echo") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 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
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -nscip-shell filesystem . . `/usr/ucb/echo -n`.'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if testscip-shell system . . test. "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/binscip-shell filesystem . . `/bin;/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && {
78 (PATH='/bin:/binscip-shell filesystem . . `/bin:/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 testscip-shell system . . test. -z "$as_dir" && as_dir=.
100 testscip-shell system . . test. -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if testscip-shell system . . test. "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if testscip-shell system . . test. ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if testscip-shell system . . test. x"${_as_can_reexec}" != xno && testscip-shell system . . test. "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
146 ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
147 (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exitscip-shell shell cpputest 4.0-3 as_fn_exit(). 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if testscip-shell system . . test. "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :
211 as_have_required=yes
212 else
213 as_have_required=no
214 fi
215 if testscip-shell system . . test. x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :
216
217 else
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222 IFS=$as_save_IFS
223 testscip-shell system . . test. -z "$as_dir" && as_dir=.
224 as_found=:
225 case $as_dir in #(
226 /*)
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { testscip-shell system . . test. -f "$as_shell" || testscip-shell system . . test. -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :
234 break 2
235 fi
236 fi
237 done;;
238 esac
239 as_found=false
240 done
241 $as_found || { if { testscip-shell system . . test. -f "$SHELL" || testscip-shell system . . test. -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248 if testscip-shell system . . test. "x$CONFIG_SHELL" != x; then :
249 export CONFIG_SHELL
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
255 ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
256 (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258 *v*x* | *x*v* ) as_opts=-vx ;;
259 *v* ) as_opts=-v ;;
260 *x* ) as_opts=-x ;;
261 * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270 if testscip-shell system . . test. x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if testscip-shell system . . test. x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276 else
277 $as_echo "$0: Please tell [email protected] and
278 $0: https://github.com/cpputest/cpputest about your system,
279 $0: including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
282 fi
283 exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unsetscip-shell shell cpputest 4.0-3 as_fn_unset(). ()
300 {
301 { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_statusscip-shell shell cpputest 4.0-3 as_fn_set_status(). ()
309 {
310 return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exitscip-shell shell cpputest 4.0-3 as_fn_exit(). ()
317 {
318 set +e
319 as_fn_set_statusscip-shell shell cpputest 4.0-3 as_fn_set_status(). $1
320 exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_pscip-shell shell cpputest 4.0-3 as_fn_mkdir_p(). ()
327 {
328
329 case $as_dir in #(
330 -*) as_dir=./$as_dir;;
331 esac
332 testscip-shell system . . test. -d "$as_dir" || eval $as_mkdir_p || {
333 as_dirs=
334 while :; do
335 case $as_dir in #(
336 *\'*) as_qdir=`$as_echo "$as_dir" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`;; #'(
337 *) as_qdir=$as_dir;;
338 esac
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
345 $as_echo X"$as_dir" |
346 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\/\)[^/].*/{
351 s//\1/
352 q
353 }
354 /^X\(\/\/\)$/{
355 s//\1/
356 q
357 }
358 /^X\(\/\).*/{
359 s//\1/
360 q
361 }
362 s/.*/./; q'`
363 testscip-shell system . . test. -d "$as_dir" && break
364 done
365 testscip-shell system . . test. -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || testscip-shell system . . test. -d "$as_dir" || as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). ()
375 {
376 testscip-shell system . . test. -f "$1" && testscip-shell system . . test. -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :
385 eval 'as_fn_append ()
386 {
387 eval $1+=\$2
388 }'
389 else
390 as_fn_appendscip-shell shell cpputest 4.0-3 as_fn_append(). ()
391 {
392 eval $1=\$$1\$2
393 }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :
402 eval 'as_fn_arith ()
403 {
404 as_val=$(( $* ))
405 }'
406 else
407 as_fn_arithscip-shell shell cpputest 4.0-3 as_fn_arith(). ()
408 {
409 as_val=`exprscip-shell system . . expr. "$@" || testscip-shell system . . test. $? -eq 1`
410 }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). ()
420 {
421 as_status=$1; testscip-shell system . . test. $as_status -eq 0 && as_status=1
422 if testscip-shell system . . test. "$4"; then
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425 fi
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exitscip-shell shell cpputest 4.0-3 as_fn_exit(). $as_status
428 } # as_fn_error
429
430 if exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
431 testscip-shell system . . test. "X`exprscip-shell system . . expr. 00001 : '.*\(...\)'`" = X001; then
432 as_expr=expr
433 else
434 as_expr=false
435 fi
436
437 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
438 as_basename=basename
439 else
440 as_basename=false
441 fi
442
443 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
444 as_dirname=dirname
445 else
446 as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
453 $as_echo X/"$0" |
454 sedscip-shell system . . sed. '/^.*\/\([^/][^/]*\)\/*$/{
455 s//\1/
456 q
457 }
458 /^X\/\(\/\/\)$/{
459 s//\1/
460 q
461 }
462 /^X\/\(\/\).*/{
463 s//\1/
464 q
465 }
466 s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 sedscip-shell system . . sed. -n '
482 p
483 /[$]LINENO/=
484 ' <$as_myself |
485 sedscip-shell system . . sed. '
486 s/[$]LINENO.*/&-/
487 t lineno
488 b
489 :lineno
490 N
491 :loop
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 t loop
494 s/-\n.*//
495 ' >$as_me.lineno &&
496 chmodscip-shell system . . chmod. +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exitscip-shell shell cpputest 4.0-3 as_fn_exit(). 1; }
498
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
506 . "./$as_me.lineno"
507 # Exit status is that of the last command.
508 exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echoscip-shell system . . echo. -n x` in #(((((
513 -n*)
514 case `echoscip-shell system . . echo. 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
516 xy) ECHO_C='\c';;
517 *) echoscip-shell system . . echo. `echoscip-shell system . . echo. ksh88 bug on AIX 6.1` > /dev/nullscip-shell filesystem . . `/dev/null`.
518 ECHO_T=' ';;
519 esac;;
520 *)
521 ECHO_N='-n';;
522 esac
523
524 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.file
525 if testscip-shell system . . test. -d conf$$.dir; then
526 rmscip-shell system . . rm. -f conf$$.dir/conf$$.file
527 else
528 rmscip-shell system . . rm. -f conf$$.dir
529 mkdirscip-shell system . . mkdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`.
530 fi
531 if (echoscip-shell system . . echo. >conf$$.file) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
532 if lnscip-shell system . . ln. -s conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
533 as_ln_s='ln -s'
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 lnscip-shell system . . ln. -s conf$$.file conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. && testscip-shell system . . test. ! -f conf$$.exe ||
539 as_ln_s='cp -pR'
540 elif lnscip-shell system . . ln. conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
541 as_ln_s=ln
542 else
543 as_ln_s='cp -pR'
544 fi
545 else
546 as_ln_s='cp -pR'
547 fi
548 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdirscip-shell system . . rmdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`.
550
551 if mkdirscip-shell system . . mkdir. -p . 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
552 as_mkdir_p='mkdir -p "$as_dir"'
553 else
554 testscip-shell system . . test. -d ./-p && rmdirscip-shell system . . rmdir. ./-p
555 as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 testscip-shell system . . test. -n "$DJDIR" || exec 7<&0 </dev/nullscip-shell filesystem . . `/dev/null`.
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/localscip-shell filesystem . . `/usr/local`.
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='CppUTest'
592 PACKAGE_TARNAME='cpputest'
593 PACKAGE_VERSION='4.0'
594 PACKAGE_STRING='CppUTest 4.0'
595 PACKAGE_BUGREPORT='https://github.com/cpputest/cpputest'
596 PACKAGE_URL=''
597
598 ac_unique_file="src/CppUTest/Utest.cpp"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
601 #include <stdio.h>
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
604 #endif
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
607 #endif
608 #ifdef STDC_HEADERS
609 # include <stdlib.h>
610 # include <stddef.h>
611 #else
612 # ifdef HAVE_STDLIB_H
613 # include <stdlib.h>
614 # endif
615 #endif
616 #ifdef HAVE_STRING_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 # include <memory.h>
619 # endif
620 # include <string.h>
621 #endif
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_UNISTD_H
632 # include <unistd.h>
633 #endif"
634
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 ALL_FILES_IN_GIT
640 MOSTLYCLEANFILES
641 CPPUTEST_LDFLAGS
642 CPPUTEST_LDADD
643 CPPUTEST_ADDITIONAL_CPPFLAGS
644 CPPUTEST_CPPFLAGS
645 CPPUTEST_ADDITIONAL_CXXFLAGS
646 CPPUTEST_CXXFLAGS
647 CPPUTEST_ADDITIONAL_CFLAGS
648 CPPUTEST_CFLAGS
649 INCLUDE_CPPUTEST_EXT
650 CPP_PLATFORM
651 INCLUDE_GMOCKTESTS_FALSE
652 INCLUDE_GMOCKTESTS_TRUE
653 GMOCK_HOME
654 INCLUDE_CPPUTEST_EXT_FALSE
655 INCLUDE_CPPUTEST_EXT_TRUE
656 TEST_COMPILER_IS_CLANG_FALSE
657 TEST_COMPILER_IS_CLANG_TRUE
658 CPPUTEST_HAS_DASH
659 CPPUTEST_HAS_VALGRIND
660 CPPUTEST_HAS_LCOV
661 CPPUTEST_HAS_CLANG
662 CPPUTEST_HAS_GCC
663 PTHREAD_CFLAGS
664 PTHREAD_LIBS
665 PTHREAD_CC
666 acx_pthread_config
667 CXXCPP
668 am__fastdepCXX_FALSE
669 am__fastdepCXX_TRUE
670 CXXDEPMODE
671 ac_ct_CXX
672 CXXFLAGS
673 CXX
674 CPPUTEST_ON_MACOSX
675 CPP
676 LT_SYS_LIBRARY_PATH
677 OTOOL64
678 OTOOL
679 LIPO
680 NMEDIT
681 DSYMUTIL
682 MANIFEST_TOOL
683 RANLIB
684 ac_ct_AR
685 AR
686 DLLTOOL
687 OBJDUMP
688 LN_S
689 NM
690 ac_ct_DUMPBIN
691 DUMPBIN
692 LD
693 FGREP
694 EGREP
695 GREP
696 SED
697 am__fastdepCC_FALSE
698 am__fastdepCC_TRUE
699 CCDEPMODE
700 am__nodep
701 AMDEPBACKSLASH
702 AMDEP_FALSE
703 AMDEP_TRUE
704 am__include
705 DEPDIR
706 OBJEXT
707 EXEEXT
708 ac_ct_CC
709 CPPFLAGS
710 LDFLAGS
711 CFLAGS
712 CC
713 host_os
714 host_vendor
715 host_cpu
716 host
717 build_os
718 build_vendor
719 build_cpu
720 build
721 LIBTOOL
722 AM_BACKSLASH
723 AM_DEFAULT_VERBOSITY
724 AM_DEFAULT_V
725 AM_V
726 am__untar
727 am__tar
728 AMTAR
729 am__leading_dot
730 SET_MAKE
731 AWK
732 mkdir_p
733 MKDIR_P
734 INSTALL_STRIP_PROGRAM
735 STRIP
736 install_sh
737 MAKEINFO
738 AUTOHEADER
739 AUTOMAKE
740 AUTOCONF
741 ACLOCAL
742 VERSION
743 PACKAGE
744 CYGPATH_W
745 am__isrc
746 INSTALL_DATA
747 INSTALL_SCRIPT
748 INSTALL_PROGRAM
749 target_alias
750 host_alias
751 build_alias
752 LIBS
753 ECHO_T
754 ECHO_N
755 ECHO_C
756 DEFS
757 mandir
758 localedir
759 libdir
760 psdir
761 pdfdir
762 dvidir
763 htmldir
764 infodir
765 docdir
766 oldincludedir
767 includedir
768 localstatedir
769 sharedstatedir
770 sysconfdir
771 datadir
772 datarootdir
773 libexecdir
774 sbindir
775 bindir
776 program_transform_name
777 prefix
778 exec_prefix
779 PACKAGE_URL
780 PACKAGE_BUGREPORT
781 PACKAGE_STRING
782 PACKAGE_VERSION
783 PACKAGE_TARNAME
784 PACKAGE_NAME
785 PATH_SEPARATOR
786 SHELL
787 am__quote'
788 ac_subst_files=''
789 ac_user_opts='
790 enable_option_checking
791 enable_silent_rules
792 enable_shared
793 enable_static
794 with_pic
795 enable_fast_install
796 with_aix_soname
797 enable_dependency_tracking
798 with_gnu_ld
799 with_sysroot
800 enable_libtool_lock
801 enable_std_c
802 enable_std_cpp
803 enable_std_cpp98
804 enable_std_cpp11
805 enable_std_cpp14
806 enable_std_cpp17
807 enable_std_cpp20
808 enable_cpputest_flags
809 enable_memory_leak_detection
810 enable_extensions
811 enable_longlong
812 enable_generate_map_file
813 enable_coverage
814 enable_sanitize_address
815 '
816 ac_precious_vars='build_alias
817 host_alias
818 target_alias
819 CC
820 CFLAGS
821 LDFLAGS
822 LIBS
823 CPPFLAGS
824 LT_SYS_LIBRARY_PATH
825 CPP
826 CXX
827 CXXFLAGS
828 CCC
829 CXXCPP
830 GMOCK_HOME'
831
832
833 # Initialize some variables set by options.
834 ac_init_help=
835 ac_init_version=false
836 ac_unrecognized_opts=
837 ac_unrecognized_sep=
838 # The variables have the same names as the options, with
839 # dashes changed to underlines.
840 cache_file=/dev/nullscip-shell filesystem . . `/dev/null`.
841 exec_prefix=NONE
842 no_create=
843 no_recursion=
844 prefix=NONE
845 program_prefix=NONE
846 program_suffix=NONE
847 program_transform_name=s,x,x,
848 silent=
849 site=
850 srcdir=
851 verbose=
852 x_includes=NONE
853 x_libraries=NONE
854
855 # Installation directory options.
856 # These are left unexpanded so users can "make install exec_prefix=/foo"
857 # and all the variables that are supposed to be based on exec_prefix
858 # by default will actually change.
859 # Use braces instead of parens because sh, perl, etc. also accept them.
860 # (The list follows the same order as the GNU Coding Standards.)
861 bindir='${exec_prefix}/bin'
862 sbindir='${exec_prefix}/sbin'
863 libexecdir='${exec_prefix}/libexec'
864 datarootdir='${prefix}/share'
865 datadir='${datarootdir}'
866 sysconfdir='${prefix}/etc'
867 sharedstatedir='${prefix}/com'
868 localstatedir='${prefix}/var'
869 includedir='${prefix}/include'
870 oldincludedir='/usr/includescip-shell filesystem . . `/usr/include`.'
871 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
872 infodir='${datarootdir}/info'
873 htmldir='${docdir}'
874 dvidir='${docdir}'
875 pdfdir='${docdir}'
876 psdir='${docdir}'
877 libdir='${exec_prefix}/lib'
878 localedir='${datarootdir}/locale'
879 mandir='${datarootdir}/man'
880
881 ac_prev=
882 ac_dashdash=
883 for ac_option
884 do
885 # If the previous option needs an argument, assign it.
886 if testscip-shell system . . test. -n "$ac_prev"; then
887 eval $ac_prev=\$ac_option
888 ac_prev=
889 continue
890 fi
891
892 case $ac_option in
893 *=?*) ac_optarg=`exprscip-shell system . . expr. "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 *=) ac_optarg= ;;
895 *) ac_optarg=yes ;;
896 esac
897
898 # Accept the important Cygnus configure options, so we can diagnose typos.
899
900 case $ac_dashdash$ac_option in
901 --)
902 ac_dashdash=yes ;;
903
904 -bindir | --bindir | --bindi | --bind | --bin | --bi)
905 ac_prev=bindir ;;
906 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
907 bindir=$ac_optarg ;;
908
909 -build | --build | --buil | --bui | --bu)
910 ac_prev=build_alias ;;
911 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
912 build_alias=$ac_optarg ;;
913
914 -cache-file | --cache-file | --cache-fil | --cache-fi \
915 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
916 ac_prev=cache_file ;;
917 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
918 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
919 cache_file=$ac_optarg ;;
920
921 --config-cache | -C)
922 cache_file=config.cache ;;
923
924 -datadir | --datadir | --datadi | --datad)
925 ac_prev=datadir ;;
926 -datadir=* | --datadir=* | --datadi=* | --datad=*)
927 datadir=$ac_optarg ;;
928
929 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
930 | --dataroo | --dataro | --datar)
931 ac_prev=datarootdir ;;
932 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
933 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
934 datarootdir=$ac_optarg ;;
935
936 -disable-* | --disable-*)
937 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*disable-\(.*\)'`
938 # Reject names that are not valid shell variable names.
939 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
940 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "invalid feature name: $ac_useropt"
941 ac_useropt_orig=$ac_useropt
942 ac_useropt=`$as_echo "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
943 case $ac_user_opts in
944 *"
945 "enable_$ac_useropt"
946 "*) ;;
947 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
948 ac_unrecognized_sep=', ';;
949 esac
950 eval enable_$ac_useropt=no ;;
951
952 -docdir | --docdir | --docdi | --doc | --do)
953 ac_prev=docdir ;;
954 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
955 docdir=$ac_optarg ;;
956
957 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
958 ac_prev=dvidir ;;
959 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
960 dvidir=$ac_optarg ;;
961
962 -enable-* | --enable-*)
963 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*enable-\([^=]*\)'`
964 # Reject names that are not valid shell variable names.
965 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
966 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "invalid feature name: $ac_useropt"
967 ac_useropt_orig=$ac_useropt
968 ac_useropt=`$as_echo "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
969 case $ac_user_opts in
970 *"
971 "enable_$ac_useropt"
972 "*) ;;
973 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
974 ac_unrecognized_sep=', ';;
975 esac
976 eval enable_$ac_useropt=\$ac_optarg ;;
977
978 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
979 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
980 | --exec | --exe | --ex)
981 ac_prev=exec_prefix ;;
982 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
983 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
984 | --exec=* | --exe=* | --ex=*)
985 exec_prefix=$ac_optarg ;;
986
987 -gas | --gas | --ga | --g)
988 # Obsolete; use --with-gas.
989 with_gas=yes ;;
990
991 -help | --help | --hel | --he | -h)
992 ac_init_help=long ;;
993 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
994 ac_init_help=recursive ;;
995 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
996 ac_init_help=short ;;
997
998 -host | --host | --hos | --ho)
999 ac_prev=host_alias ;;
1000 -host=* | --host=* | --hos=* | --ho=*)
1001 host_alias=$ac_optarg ;;
1002
1003 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1004 ac_prev=htmldir ;;
1005 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1006 | --ht=*)
1007 htmldir=$ac_optarg ;;
1008
1009 -includedir | --includedir | --includedi | --included | --include \
1010 | --includ | --inclu | --incl | --inc)
1011 ac_prev=includedir ;;
1012 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1013 | --includ=* | --inclu=* | --incl=* | --inc=*)
1014 includedir=$ac_optarg ;;
1015
1016 -infodir | --infodir | --infodi | --infod | --info | --inf)
1017 ac_prev=infodir ;;
1018 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1019 infodir=$ac_optarg ;;
1020
1021 -libdir | --libdir | --libdi | --libd)
1022 ac_prev=libdir ;;
1023 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1024 libdir=$ac_optarg ;;
1025
1026 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1027 | --libexe | --libex | --libe)
1028 ac_prev=libexecdir ;;
1029 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1030 | --libexe=* | --libex=* | --libe=*)
1031 libexecdir=$ac_optarg ;;
1032
1033 -localedir | --localedir | --localedi | --localed | --locale)
1034 ac_prev=localedir ;;
1035 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1036 localedir=$ac_optarg ;;
1037
1038 -localstatedir | --localstatedir | --localstatedi | --localstated \
1039 | --localstate | --localstat | --localsta | --localst | --locals)
1040 ac_prev=localstatedir ;;
1041 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1042 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1043 localstatedir=$ac_optarg ;;
1044
1045 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1046 ac_prev=mandir ;;
1047 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1048 mandir=$ac_optarg ;;
1049
1050 -nfp | --nfp | --nf)
1051 # Obsolete; use --without-fp.
1052 with_fp=no ;;
1053
1054 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1055 | --no-cr | --no-c | -n)
1056 no_create=yes ;;
1057
1058 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1059 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1060 no_recursion=yes ;;
1061
1062 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1063 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1064 | --oldin | --oldi | --old | --ol | --o)
1065 ac_prev=oldincludedir ;;
1066 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1067 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1068 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1069 oldincludedir=$ac_optarg ;;
1070
1071 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1072 ac_prev=prefix ;;
1073 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1074 prefix=$ac_optarg ;;
1075
1076 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1077 | --program-pre | --program-pr | --program-p)
1078 ac_prev=program_prefix ;;
1079 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1080 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1081 program_prefix=$ac_optarg ;;
1082
1083 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1084 | --program-suf | --program-su | --program-s)
1085 ac_prev=program_suffix ;;
1086 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1087 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1088 program_suffix=$ac_optarg ;;
1089
1090 -program-transform-name | --program-transform-name \
1091 | --program-transform-nam | --program-transform-na \
1092 | --program-transform-n | --program-transform- \
1093 | --program-transform | --program-transfor \
1094 | --program-transfo | --program-transf \
1095 | --program-trans | --program-tran \
1096 | --progr-tra | --program-tr | --program-t)
1097 ac_prev=program_transform_name ;;
1098 -program-transform-name=* | --program-transform-name=* \
1099 | --program-transform-nam=* | --program-transform-na=* \
1100 | --program-transform-n=* | --program-transform-=* \
1101 | --program-transform=* | --program-transfor=* \
1102 | --program-transfo=* | --program-transf=* \
1103 | --program-trans=* | --program-tran=* \
1104 | --progr-tra=* | --program-tr=* | --program-t=*)
1105 program_transform_name=$ac_optarg ;;
1106
1107 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1108 ac_prev=pdfdir ;;
1109 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1110 pdfdir=$ac_optarg ;;
1111
1112 -psdir | --psdir | --psdi | --psd | --ps)
1113 ac_prev=psdir ;;
1114 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1115 psdir=$ac_optarg ;;
1116
1117 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1118 | -silent | --silent | --silen | --sile | --sil)
1119 silent=yes ;;
1120
1121 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1122 ac_prev=sbindir ;;
1123 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1124 | --sbi=* | --sb=*)
1125 sbindir=$ac_optarg ;;
1126
1127 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1128 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1129 | --sharedst | --shareds | --shared | --share | --shar \
1130 | --sha | --sh)
1131 ac_prev=sharedstatedir ;;
1132 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1133 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1134 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1135 | --sha=* | --sh=*)
1136 sharedstatedir=$ac_optarg ;;
1137
1138 -site | --site | --sit)
1139 ac_prev=site ;;
1140 -site=* | --site=* | --sit=*)
1141 site=$ac_optarg ;;
1142
1143 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1144 ac_prev=srcdir ;;
1145 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1146 srcdir=$ac_optarg ;;
1147
1148 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1149 | --syscon | --sysco | --sysc | --sys | --sy)
1150 ac_prev=sysconfdir ;;
1151 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1152 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1153 sysconfdir=$ac_optarg ;;
1154
1155 -target | --target | --targe | --targ | --tar | --ta | --t)
1156 ac_prev=target_alias ;;
1157 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1158 target_alias=$ac_optarg ;;
1159
1160 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1161 verbose=yes ;;
1162
1163 -version | --version | --versio | --versi | --vers | -V)
1164 ac_init_version=: ;;
1165
1166 -with-* | --with-*)
1167 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*with-\([^=]*\)'`
1168 # Reject names that are not valid shell variable names.
1169 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1170 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "invalid package name: $ac_useropt"
1171 ac_useropt_orig=$ac_useropt
1172 ac_useropt=`$as_echo "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1173 case $ac_user_opts in
1174 *"
1175 "with_$ac_useropt"
1176 "*) ;;
1177 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1178 ac_unrecognized_sep=', ';;
1179 esac
1180 eval with_$ac_useropt=\$ac_optarg ;;
1181
1182 -without-* | --without-*)
1183 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*without-\(.*\)'`
1184 # Reject names that are not valid shell variable names.
1185 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1186 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "invalid package name: $ac_useropt"
1187 ac_useropt_orig=$ac_useropt
1188 ac_useropt=`$as_echo "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1189 case $ac_user_opts in
1190 *"
1191 "with_$ac_useropt"
1192 "*) ;;
1193 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1194 ac_unrecognized_sep=', ';;
1195 esac
1196 eval with_$ac_useropt=no ;;
1197
1198 --x)
1199 # Obsolete; use --with-x.
1200 with_x=yes ;;
1201
1202 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1203 | --x-incl | --x-inc | --x-in | --x-i)
1204 ac_prev=x_includes ;;
1205 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1206 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1207 x_includes=$ac_optarg ;;
1208
1209 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1210 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1211 ac_prev=x_libraries ;;
1212 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1213 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1214 x_libraries=$ac_optarg ;;
1215
1216 -*) as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "unrecognized option: \`$ac_option'
1217 Try \`$0 --help' for more information"
1218 ;;
1219
1220 *=*)
1221 ac_envvar=`exprscip-shell system . . expr. "x$ac_option" : 'x\([^=]*\)='`
1222 # Reject names that are not valid shell variable names.
1223 case $ac_envvar in #(
1224 '' | [0-9]* | *[!_$as_cr_alnum]* )
1225 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "invalid variable name: \`$ac_envvar'" ;;
1226 esac
1227 eval $ac_envvar=\$ac_optarg
1228 export $ac_envvar ;;
1229
1230 *)
1231 # FIXME: should be removed in autoconf 3.0.
1232 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1233 exprscip-shell system . . expr. "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1234 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1235 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1236 ;;
1237
1238 esac
1239 done
1240
1241 if testscip-shell system . . test. -n "$ac_prev"; then
1242 ac_option=--`echoscip-shell system . . echo. $ac_prev | sedscip-shell system . . sed. 's/_/-/g'`
1243 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "missing argument to $ac_option"
1244 fi
1245
1246 if testscip-shell system . . test. -n "$ac_unrecognized_opts"; then
1247 case $enable_option_checking in
1248 no) ;;
1249 fatal) as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "unrecognized options: $ac_unrecognized_opts" ;;
1250 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1251 esac
1252 fi
1253
1254 # Check all directory arguments for consistency.
1255 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1256 datadir sysconfdir sharedstatedir localstatedir includedir \
1257 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1258 libdir localedir mandir
1259 do
1260 eval ac_val=\$$ac_var
1261 # Remove trailing slashes.
1262 case $ac_val in
1263 */ )
1264 ac_val=`exprscip-shell system . . expr. "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1265 eval $ac_var=\$ac_val;;
1266 esac
1267 # Be sure to have absolute directory names.
1268 case $ac_val in
1269 [\\/$]* | ?:[\\/]* ) continue;;
1270 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1271 esac
1272 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "expected an absolute directory name for --$ac_var: $ac_val"
1273 done
1274
1275 # There might be people who depend on the old broken behavior: `$host'
1276 # used to hold the argument of --host etc.
1277 # FIXME: To remove some day.
1278 build=$build_alias
1279 host=$host_alias
1280 target=$target_alias
1281
1282 # FIXME: To remove some day.
1283 if testscip-shell system . . test. "x$host_alias" != x; then
1284 if testscip-shell system . . test. "x$build_alias" = x; then
1285 cross_compiling=maybe
1286 elif testscip-shell system . . test. "x$build_alias" != "x$host_alias"; then
1287 cross_compiling=yes
1288 fi
1289 fi
1290
1291 ac_tool_prefix=
1292 testscip-shell system . . test. -n "$host_alias" && ac_tool_prefix=$host_alias-
1293
1294 testscip-shell system . . test. "$silent" = yes && exec 6>/dev/nullscip-shell filesystem . . `/dev/null`.
1295
1296
1297 ac_pwd=`pwdscip-shell system . . pwd.` && testscip-shell system . . test. -n "$ac_pwd" &&
1298 ac_ls_di=`lsscip-shell system . . ls. -di .` &&
1299 ac_pwd_ls_di=`cd "$ac_pwd" && lsscip-shell system . . ls. -di .` ||
1300 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "working directory cannot be determined"
1301 testscip-shell system . . test. "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "pwd does not report name of working directory"
1303
1304
1305 # Find the source files, if location was not specified.
1306 if testscip-shell system . . test. -z "$srcdir"; then
1307 ac_srcdir_defaulted=yes
1308 # Try the directory containing this script, then the parent directory.
1309 ac_confdir=`$as_dirname -- "$as_myself" ||
1310 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1311 X"$as_myself" : 'X\(//\)[^/]' \| \
1312 X"$as_myself" : 'X\(//\)$' \| \
1313 X"$as_myself" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
1314 $as_echo X"$as_myself" |
1315 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1316 s//\1/
1317 q
1318 }
1319 /^X\(\/\/\)[^/].*/{
1320 s//\1/
1321 q
1322 }
1323 /^X\(\/\/\)$/{
1324 s//\1/
1325 q
1326 }
1327 /^X\(\/\).*/{
1328 s//\1/
1329 q
1330 }
1331 s/.*/./; q'`
1332 srcdir=$ac_confdir
1333 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1334 srcdir=..
1335 fi
1336 else
1337 ac_srcdir_defaulted=no
1338 fi
1339 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1340 testscip-shell system . . test. "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1341 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "cannot find sources ($ac_unique_file) in $srcdir"
1342 fi
1343 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1344 ac_abs_confdir=`(
1345 cd "$srcdir" && testscip-shell system . . test. -r "./$ac_unique_file" || as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "$ac_msg"
1346 pwdscip-shell system . . pwd.)`
1347 # When building in place, set srcdir=.
1348 if testscip-shell system . . test. "$ac_abs_confdir" = "$ac_pwd"; then
1349 srcdir=.
1350 fi
1351 # Remove unnecessary trailing slashes from srcdir.
1352 # Double slashes in file names in object file debugging info
1353 # mess up M-x gdb in Emacs.
1354 case $srcdir in
1355 */) srcdir=`exprscip-shell system . . expr. "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1356 esac
1357 for ac_var in $ac_precious_vars; do
1358 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1359 eval ac_env_${ac_var}_value=\$${ac_var}
1360 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1361 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1362 done
1363
1364 #
1365 # Report the --help message.
1366 #
1367 if testscip-shell system . . test. "$ac_init_help" = "long"; then
1368 # Omit some internal or obsolete options to make the list less imposing.
1369 # This message is too long to be a string in the A/UX 3.1 sh.
1370 catscip-shell system . . cat. <<_ACEOF
1371 \`configure' configures CppUTest 4.0 to adapt to many kinds of systems.
1372
1373 Usage: $0 [OPTION]... [VAR=VALUE]...
1374
1375 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1376 VAR=VALUE. See below for descriptions of some of the useful variables.
1377
1378 Defaults for the options are specified in brackets.
1379
1380 Configuration:
1381 -h, --help display this help and exit
1382 --help=short display options specific to this package
1383 --help=recursive display the short help of all the included packages
1384 -V, --version display version information and exit
1385 -q, --quiet, --silent do not print \`checking ...' messages
1386 --cache-file=FILE cache test results in FILE [disabled]
1387 -C, --config-cache alias for \`--cache-file=config.cache'
1388 -n, --no-create do not create output files
1389 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1390
1391 Installation directories:
1392 --prefix=PREFIX install architecture-independent files in PREFIX
1393 [$ac_default_prefix]
1394 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1395 [PREFIX]
1396
1397 By default, \`make install' will install all the files in
1398 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1399 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1400 for instance \`--prefix=\$HOME'.
1401
1402 For better control, use the options below.
1403
1404 Fine tuning of the installation directories:
1405 --bindir=DIR user executables [EPREFIX/bin]
1406 --sbindir=DIR system admin executables [EPREFIX/sbin]
1407 --libexecdir=DIR program executables [EPREFIX/libexec]
1408 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1409 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1410 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1411 --libdir=DIR object code libraries [EPREFIX/lib]
1412 --includedir=DIR C header files [PREFIX/include]
1413 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1414 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1415 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1416 --infodir=DIR info documentation [DATAROOTDIR/info]
1417 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1418 --mandir=DIR man documentation [DATAROOTDIR/man]
1419 --docdir=DIR documentation root [DATAROOTDIR/doc/cpputest]
1420 --htmldir=DIR html documentation [DOCDIR]
1421 --dvidir=DIR dvi documentation [DOCDIR]
1422 --pdfdir=DIR pdf documentation [DOCDIR]
1423 --psdir=DIR ps documentation [DOCDIR]
1424 _ACEOF
1425
1426 catscip-shell system . . cat. <<\_ACEOF
1427
1428 Program names:
1429 --program-prefix=PREFIX prepend PREFIX to installed program names
1430 --program-suffix=SUFFIX append SUFFIX to installed program names
1431 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1432
1433 System types:
1434 --build=BUILD configure for building on BUILD [guessed]
1435 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1436 _ACEOF
1437 fi
1438
1439 if testscip-shell system . . test. -n "$ac_init_help"; then
1440 case $ac_init_help in
1441 short | recursive ) echoscip-shell system . . echo. "Configuration of CppUTest 4.0:";;
1442 esac
1443 catscip-shell system . . cat. <<\_ACEOF
1444
1445 Optional Features:
1446 --disable-option-checking ignore unrecognized --enable/--with options
1447 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1448 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1449 --enable-silent-rules less verbose build output (undo: "make V=1")
1450 --disable-silent-rules verbose build output (undo: "make V=0")
1451 --enable-shared[=PKGS] build shared libraries [default=yes]
1452 --enable-static[=PKGS] build static libraries [default=yes]
1453 --enable-fast-install[=PKGS]
1454 optimize for fast installation [default=yes]
1455 --enable-dependency-tracking
1456 do not reject slow dependency extractors
1457 --disable-dependency-tracking
1458 speeds up one-time build
1459 --disable-libtool-lock avoid locking (might break parallel builds)
1460 --disable-std-c disable the use of Standard C Library (warning:
1461 requires implementing Platforms/GccNoStdC)
1462 --disable-std-cpp disable the use of Standard C++ Library
1463 --enable-std-cpp98 enable the use of Standard C++ 98 (if the compiler
1464 supports that)
1465 --enable-std-cpp11 enable the use of Standard C++ 11 (if the compiler
1466 supports that)
1467 --enable-std-cpp14 enable the use of Standard C++ 14 (if the compiler
1468 supports that)
1469 --enable-std-cpp17 enable the use of Standard C++ 17 (if the compiler
1470 supports that)
1471 --enable-std-cpp20 enable the use of Standard C++ 20 (if the compiler
1472 supports that)
1473 --disable-cpputest-flags
1474 disable CFLAGS/CPPFLAGS/CXXFLAGS set by CppUTest
1475 --disable-memory-leak-detection
1476 disable memory leak detection
1477 --disable-extensions disable CppUTest extension library
1478 --disable-longlong disable support for long long type
1479 --enable-generate-map-file
1480 enable the creation of a map file
1481 --enable-coverage enable running with coverage
1482 --enable-sanitize-address
1483 enable running with address sanitizer
1484
1485 Optional Packages:
1486 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1487 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1488 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1489 both]
1490 --with-aix-soname=aix|svr4|both
1491 shared library versioning (aka "SONAME") variant to
1492 provide on AIX, [default=aix].
1493 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1494 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1495 compiler's sysroot if not specified).
1496
1497 Some influential environment variables:
1498 CC C compiler command
1499 CFLAGS C compiler flags
1500 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1501 nonstandard directory <lib dir>
1502 LIBS libraries to pass to the linker, e.g. -l<library>
1503 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1504 you have headers in a nonstandard directory <include dir>
1505 LT_SYS_LIBRARY_PATH
1506 User-defined run-time library search path.
1507 CPP C preprocessor
1508 CXX C++ compiler command
1509 CXXFLAGS C++ compiler flags
1510 CXXCPP C++ preprocessor
1511 GMOCK_HOME Directory where gmock is installed so the gmock tests can run
1512
1513 Use these variables to override the choices made by `configure' or to help
1514 it to find libraries and programs with nonstandard names/locations.
1515
1516 Report bugs to <https://github.com/cpputest/cpputest>.
1517 _ACEOF
1518 ac_status=$?
1519 fi
1520
1521 if testscip-shell system . . test. "$ac_init_help" = "recursive"; then
1522 # If there are subdirs, report their specific --help.
1523 for ac_dir in : $ac_subdirs_all; do testscip-shell system . . test. "x$ac_dir" = x: && continue
1524 testscip-shell system . . test. -d "$ac_dir" ||
1525 { cd "$srcdir" && ac_pwd=`pwdscip-shell system . . pwd.` && srcdir=. && testscip-shell system . . test. -d "$ac_dir"; } ||
1526 continue
1527 ac_builddir=.
1528
1529 case "$ac_dir" in
1530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 *)
1532 ac_dir_suffix=/`$as_echo "$ac_dir" | sedscip-shell system . . sed. 's|^\.[\\/]||'`
1533 # A ".." for each directory in $ac_dir_suffix.
1534 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sedscip-shell system . . sed. 's|/[^\\/]*|/..|g;s|/||'`
1535 case $ac_top_builddir_sub in
1536 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1537 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1538 esac ;;
1539 esac
1540 ac_abs_top_builddir=$ac_pwd
1541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1542 # for backward compatibility:
1543 ac_top_builddir=$ac_top_build_prefix
1544
1545 case $srcdir in
1546 .) # We are building in place.
1547 ac_srcdir=.
1548 ac_top_srcdir=$ac_top_builddir_sub
1549 ac_abs_top_srcdir=$ac_pwd ;;
1550 [\\/]* | ?:[\\/]* ) # Absolute name.
1551 ac_srcdir=$srcdir$ac_dir_suffix;
1552 ac_top_srcdir=$srcdir
1553 ac_abs_top_srcdir=$srcdir ;;
1554 *) # Relative name.
1555 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1556 ac_top_srcdir=$ac_top_build_prefix$srcdir
1557 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1558 esac
1559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1560
1561 cd "$ac_dir" || { ac_status=$?; continue; }
1562 # Check for guested configure.
1563 if testscip-shell system . . test. -f "$ac_srcdir/configure.gnu"; then
1564 echoscip-shell system . . echo. &&
1565 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1566 elif testscip-shell system . . test. -f "$ac_srcdir/configure"; then
1567 echoscip-shell system . . echo. &&
1568 $SHELL "$ac_srcdir/configure" --help=recursive
1569 else
1570 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1571 fi || ac_status=$?
1572 cd "$ac_pwd" || { ac_status=$?; break; }
1573 done
1574 fi
1575
1576 testscip-shell system . . test. -n "$ac_init_help" && exit $ac_status
1577 if $ac_init_version; then
1578 catscip-shell system . . cat. <<\_ACEOF
1579 CppUTest configure 4.0
1580 generated by GNU Autoconf 2.69
1581
1582 Copyright (C) 2012 Free Software Foundation, Inc.
1583 This configure script is free software; the Free Software Foundation
1584 gives unlimited permission to copy, distribute and modify it.
1585 _ACEOF
1586 exit
1587 fi
1588
1589 ## ------------------------ ##
1590 ## Autoconf initialization. ##
1591 ## ------------------------ ##
1592
1593 # ac_fn_c_try_compile LINENO
1594 # --------------------------
1595 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1596 ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). ()
1597 {
1598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599 rmscip-shell system . . rm. -f conftest.$ac_objext
1600 if { { ac_try="$ac_compile"
1601 case "(($ac_try" in
1602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1603 *) ac_try_echo=$ac_try;;
1604 esac
1605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_compile") 2>conftest.err
1608 ac_status=$?
1609 if testscip-shell system . . test. -s conftest.err; then
1610 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1611 catscip-shell system . . cat. conftest.er1 >&5
1612 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1613 fi
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 testscip-shell system . . test. $ac_status = 0; } && {
1616 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1617 testscip-shell system . . test. ! -s conftest.err
1618 } && testscip-shell system . . test. -s conftest.$ac_objext; then :
1619 ac_retval=0
1620 else
1621 $as_echo "$as_me: failed program was:" >&5
1622 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1623
1624 ac_retval=1
1625 fi
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 as_fn_set_statusscip-shell shell cpputest 4.0-3 as_fn_set_status(). $ac_retval
1628
1629 } # ac_fn_c_try_compile
1630
1631 # ac_fn_c_try_link LINENO
1632 # -----------------------
1633 # Try to link conftest.$ac_ext, and return whether this succeeded.
1634 ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). ()
1635 {
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
1638 if { { ac_try="$ac_link"
1639 case "(($ac_try" in
1640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1642 esac
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_link") 2>conftest.err
1646 ac_status=$?
1647 if testscip-shell system . . test. -s conftest.err; then
1648 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1649 catscip-shell system . . cat. conftest.er1 >&5
1650 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1651 fi
1652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1653 testscip-shell system . . test. $ac_status = 0; } && {
1654 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1655 testscip-shell system . . test. ! -s conftest.err
1656 } && testscip-shell system . . test. -s conftest$ac_exeext && {
1657 testscip-shell system . . test. "$cross_compiling" = yes ||
1658 testscip-shell system . . test. -x conftest$ac_exeext
1659 }; then :
1660 ac_retval=0
1661 else
1662 $as_echo "$as_me: failed program was:" >&5
1663 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1664
1665 ac_retval=1
1666 fi
1667 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1668 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1669 # interfere with the next link command; also delete a directory that is
1670 # left behind by Apple's compiler. We do this before executing the actions.
1671 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673 as_fn_set_statusscip-shell shell cpputest 4.0-3 as_fn_set_status(). $ac_retval
1674
1675 } # ac_fn_c_try_link
1676
1677 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1678 # -------------------------------------------------------
1679 # Tests whether HEADER exists and can be compiled using the include files in
1680 # INCLUDES, setting the cache variable VAR accordingly.
1681 ac_fn_c_check_header_compilescip-shell shell cpputest 4.0-3 ac_fn_c_check_header_compile(). ()
1682 {
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1685 $as_echo_n "checking for $2... " >&6; }
1686 if eval \${$3+:} false; then :
1687 $as_echo_n "(cached) " >&6
1688 else
1689 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1690 /* end confdefs.h. */
1691 $4
1692 #include <$2>
1693 _ACEOF
1694 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
1695 eval "$3=yes"
1696 else
1697 eval "$3=no"
1698 fi
1699 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1700 fi
1701 eval ac_res=\$$3
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1703 $as_echo "$ac_res" >&6; }
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705
1706 } # ac_fn_c_check_header_compile
1707
1708 # ac_fn_c_try_cpp LINENO
1709 # ----------------------
1710 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1711 ac_fn_c_try_cppscip-shell shell cpputest 4.0-3 ac_fn_c_try_cpp(). ()
1712 {
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 if { { ac_try="$ac_cpp conftest.$ac_ext"
1715 case "(($ac_try" in
1716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1717 *) ac_try_echo=$ac_try;;
1718 esac
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1722 ac_status=$?
1723 if testscip-shell system . . test. -s conftest.err; then
1724 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1725 catscip-shell system . . cat. conftest.er1 >&5
1726 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1727 fi
1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 testscip-shell system . . test. $ac_status = 0; } > conftest.i && {
1730 testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1731 testscip-shell system . . test. ! -s conftest.err
1732 }; then :
1733 ac_retval=0
1734 else
1735 $as_echo "$as_me: failed program was:" >&5
1736 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1737
1738 ac_retval=1
1739 fi
1740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1741 as_fn_set_statusscip-shell shell cpputest 4.0-3 as_fn_set_status(). $ac_retval
1742
1743 } # ac_fn_c_try_cpp
1744
1745 # ac_fn_c_try_run LINENO
1746 # ----------------------
1747 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1748 # that executables *can* be run.
1749 ac_fn_c_try_runscip-shell shell cpputest 4.0-3 ac_fn_c_try_run(). ()
1750 {
1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752 if { { ac_try="$ac_link"
1753 case "(($ac_try" in
1754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1755 *) ac_try_echo=$ac_try;;
1756 esac
1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759 (eval "$ac_link") 2>&5
1760 ac_status=$?
1761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1762 testscip-shell system . . test. $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1763 { { case "(($ac_try" in
1764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765 *) ac_try_echo=$ac_try;;
1766 esac
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_try") 2>&5
1770 ac_status=$?
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 testscip-shell system . . test. $ac_status = 0; }; }; then :
1773 ac_retval=0
1774 else
1775 $as_echo "$as_me: program exited with status $ac_status" >&5
1776 $as_echo "$as_me: failed program was:" >&5
1777 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1778
1779 ac_retval=$ac_status
1780 fi
1781 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783 as_fn_set_statusscip-shell shell cpputest 4.0-3 as_fn_set_status(). $ac_retval
1784
1785 } # ac_fn_c_try_run
1786
1787 # ac_fn_c_check_func LINENO FUNC VAR
1788 # ----------------------------------
1789 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1790 ac_fn_c_check_funcscip-shell shell cpputest 4.0-3 ac_fn_c_check_func(). ()
1791 {
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1794 $as_echo_n "checking for $2... " >&6; }
1795 if eval \${$3+:} false; then :
1796 $as_echo_n "(cached) " >&6
1797 else
1798 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1799 /* end confdefs.h. */
1800 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1802 #define $2 innocuous_$2
1803
1804 /* System header to define __stub macros and hopefully few prototypes,
1805 which can conflict with char $2 (); below.
1806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1807 <limits.h> exists even on freestanding compilers. */
1808
1809 #ifdef __STDC__
1810 # include <limits.h>
1811 #else
1812 # include <assert.h>
1813 #endif
1814
1815 #undef $2
1816
1817 /* Override any GCC internal prototype to avoid an error.
1818 Use char because int might match the return type of a GCC
1819 builtin and then its argument prototype would still apply. */
1820 #ifdef __cplusplus
1821 extern "C"
1822 #endif
1823 char $2 ();
1824 /* The GNU C library defines this for functions which it implements
1825 to always fail with ENOSYS. Some functions are actually named
1826 something starting with __ and the normal name is an alias. */
1827 #if defined __stub_$2 || defined __stub___$2
1828 choke me
1829 #endif
1830
1831 int
1832 main ()
1833 {
1834 return $2 ();
1835 ;
1836 return 0;
1837 }
1838 _ACEOF
1839 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
1840 eval "$3=yes"
1841 else
1842 eval "$3=no"
1843 fi
1844 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
1845 conftest$ac_exeext conftest.$ac_ext
1846 fi
1847 eval ac_res=\$$3
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1849 $as_echo "$ac_res" >&6; }
1850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851
1852 } # ac_fn_c_check_func
1853
1854 # ac_fn_cxx_try_compile LINENO
1855 # ----------------------------
1856 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1857 ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). ()
1858 {
1859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1860 rmscip-shell system . . rm. -f conftest.$ac_objext
1861 if { { ac_try="$ac_compile"
1862 case "(($ac_try" in
1863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1864 *) ac_try_echo=$ac_try;;
1865 esac
1866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867 $as_echo "$ac_try_echo"; } >&5
1868 (eval "$ac_compile") 2>conftest.err
1869 ac_status=$?
1870 if testscip-shell system . . test. -s conftest.err; then
1871 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1872 catscip-shell system . . cat. conftest.er1 >&5
1873 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1874 fi
1875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1876 testscip-shell system . . test. $ac_status = 0; } && {
1877 testscip-shell system . . test. -z "$ac_cxx_werror_flag" ||
1878 testscip-shell system . . test. ! -s conftest.err
1879 } && testscip-shell system . . test. -s conftest.$ac_objext; then :
1880 ac_retval=0
1881 else
1882 $as_echo "$as_me: failed program was:" >&5
1883 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1884
1885 ac_retval=1
1886 fi
1887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888 as_fn_set_statusscip-shell shell cpputest 4.0-3 as_fn_set_status(). $ac_retval
1889
1890 } # ac_fn_cxx_try_compile
1891
1892 # ac_fn_cxx_try_cpp LINENO
1893 # ------------------------
1894 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1895 ac_fn_cxx_try_cppscip-shell shell cpputest 4.0-3 ac_fn_cxx_try_cpp(). ()
1896 {
1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898 if { { ac_try="$ac_cpp conftest.$ac_ext"
1899 case "(($ac_try" in
1900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1901 *) ac_try_echo=$ac_try;;
1902 esac
1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1906 ac_status=$?
1907 if testscip-shell system . . test. -s conftest.err; then
1908 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1909 catscip-shell system . . cat. conftest.er1 >&5
1910 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1911 fi
1912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1913 testscip-shell system . . test. $ac_status = 0; } > conftest.i && {
1914 testscip-shell system . . test. -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1915 testscip-shell system . . test. ! -s conftest.err
1916 }; then :
1917 ac_retval=0
1918 else
1919 $as_echo "$as_me: failed program was:" >&5
1920 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1921
1922 ac_retval=1
1923 fi
1924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1925 as_fn_set_statusscip-shell shell cpputest 4.0-3 as_fn_set_status(). $ac_retval
1926
1927 } # ac_fn_cxx_try_cpp
1928
1929 # ac_fn_cxx_try_link LINENO
1930 # -------------------------
1931 # Try to link conftest.$ac_ext, and return whether this succeeded.
1932 ac_fn_cxx_try_linkscip-shell shell cpputest 4.0-3 ac_fn_cxx_try_link(). ()
1933 {
1934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
1936 if { { ac_try="$ac_link"
1937 case "(($ac_try" in
1938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1939 *) ac_try_echo=$ac_try;;
1940 esac
1941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1942 $as_echo "$ac_try_echo"; } >&5
1943 (eval "$ac_link") 2>conftest.err
1944 ac_status=$?
1945 if testscip-shell system . . test. -s conftest.err; then
1946 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1947 catscip-shell system . . cat. conftest.er1 >&5
1948 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1949 fi
1950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1951 testscip-shell system . . test. $ac_status = 0; } && {
1952 testscip-shell system . . test. -z "$ac_cxx_werror_flag" ||
1953 testscip-shell system . . test. ! -s conftest.err
1954 } && testscip-shell system . . test. -s conftest$ac_exeext && {
1955 testscip-shell system . . test. "$cross_compiling" = yes ||
1956 testscip-shell system . . test. -x conftest$ac_exeext
1957 }; then :
1958 ac_retval=0
1959 else
1960 $as_echo "$as_me: failed program was:" >&5
1961 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1962
1963 ac_retval=1
1964 fi
1965 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1966 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1967 # interfere with the next link command; also delete a directory that is
1968 # left behind by Apple's compiler. We do this before executing the actions.
1969 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1971 as_fn_set_statusscip-shell shell cpputest 4.0-3 as_fn_set_status(). $ac_retval
1972
1973 } # ac_fn_cxx_try_link
1974
1975 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1976 # --------------------------------------------
1977 # Tries to find the compile-time value of EXPR in a program that includes
1978 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1979 # computed
1980 ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). ()
1981 {
1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983 if testscip-shell system . . test. "$cross_compiling" = yes; then
1984 # Depending upon the size, compute the lo and hi bounds.
1985 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1986 /* end confdefs.h. */
1987 $4
1988 int
1989 main ()
1990 {
1991 static int test_array [1 - 2 * !(($2) >= 0)];
1992 test_array [0] = 0;
1993 return test_array [0];
1994
1995 ;
1996 return 0;
1997 }
1998 _ACEOF
1999 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
2000 ac_lo=0 ac_mid=0
2001 while :; do
2002 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2003 /* end confdefs.h. */
2004 $4
2005 int
2006 main ()
2007 {
2008 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2009 test_array [0] = 0;
2010 return test_array [0];
2011
2012 ;
2013 return 0;
2014 }
2015 _ACEOF
2016 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
2017 ac_hi=$ac_mid; break
2018 else
2019 as_fn_arithscip-shell shell cpputest 4.0-3 as_fn_arith(). $ac_mid + 1 && ac_lo=$as_val
2020 if testscip-shell system . . test. $ac_lo -le $ac_mid; then
2021 ac_lo= ac_hi=
2022 break
2023 fi
2024 as_fn_arithscip-shell shell cpputest 4.0-3 as_fn_arith(). 2 '*' $ac_mid + 1 && ac_mid=$as_val
2025 fi
2026 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2027 done
2028 else
2029 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2030 /* end confdefs.h. */
2031 $4
2032 int
2033 main ()
2034 {
2035 static int test_array [1 - 2 * !(($2) < 0)];
2036 test_array [0] = 0;
2037 return test_array [0];
2038
2039 ;
2040 return 0;
2041 }
2042 _ACEOF
2043 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
2044 ac_hi=-1 ac_mid=-1
2045 while :; do
2046 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2047 /* end confdefs.h. */
2048 $4
2049 int
2050 main ()
2051 {
2052 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2053 test_array [0] = 0;
2054 return test_array [0];
2055
2056 ;
2057 return 0;
2058 }
2059 _ACEOF
2060 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
2061 ac_lo=$ac_mid; break
2062 else
2063 as_fn_arithscip-shell shell cpputest 4.0-3 as_fn_arith(). '(' $ac_mid ')' - 1 && ac_hi=$as_val
2064 if testscip-shell system . . test. $ac_mid -le $ac_hi; then
2065 ac_lo= ac_hi=
2066 break
2067 fi
2068 as_fn_arithscip-shell shell cpputest 4.0-3 as_fn_arith(). 2 '*' $ac_mid && ac_mid=$as_val
2069 fi
2070 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2071 done
2072 else
2073 ac_lo= ac_hi=
2074 fi
2075 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2076 fi
2077 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2078 # Binary search between lo and hi bounds.
2079 while testscip-shell system . . test. "x$ac_lo" != "x$ac_hi"; do
2080 as_fn_arithscip-shell shell cpputest 4.0-3 as_fn_arith(). '(' $ac_hi - $ac_lo ')' /scip-shell filesystem . . `/`. 2 + $ac_lo && ac_mid=$as_val
2081 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2083 $4
2084 int
2085 main ()
2086 {
2087 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2088 test_array [0] = 0;
2089 return test_array [0];
2090
2091 ;
2092 return 0;
2093 }
2094 _ACEOF
2095 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
2096 ac_hi=$ac_mid
2097 else
2098 as_fn_arithscip-shell shell cpputest 4.0-3 as_fn_arith(). '(' $ac_mid ')' + 1 && ac_lo=$as_val
2099 fi
2100 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 done
2102 case $ac_lo in #((
2103 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2104 '') ac_retval=1 ;;
2105 esac
2106 else
2107 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2109 $4
2110 static long int longval () { return $2; }
2111 static unsigned long int ulongval () { return $2; }
2112 #include <stdio.h>
2113 #include <stdlib.h>
2114 int
2115 main ()
2116 {
2117
2118 FILE *f = fopen ("conftest.val", "w");
2119 if (! f)
2120 return 1;
2121 if (($2) < 0)
2122 {
2123 long int i = longval ();
2124 if (i != ($2))
2125 return 1;
2126 fprintf (f, "%ld", i);
2127 }
2128 else
2129 {
2130 unsigned long int i = ulongval ();
2131 if (i != ($2))
2132 return 1;
2133 fprintf (f, "%lu", i);
2134 }
2135 /* Do not output a trailing newline, as this causes \r\n confusion
2136 on some platforms. */
2137 return ferror (f) || fclose (f) != 0;
2138
2139 ;
2140 return 0;
2141 }
2142 _ACEOF
2143 if ac_fn_c_try_runscip-shell shell cpputest 4.0-3 ac_fn_c_try_run(). "$LINENO"; then :
2144 echoscip-shell system . . echo. >>conftest.val; read $3 <conftest.val; ac_retval=0
2145 else
2146 ac_retval=1
2147 fi
2148 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2149 conftest.$ac_objext conftest.beam conftest.$ac_ext
2150 rmscip-shell system . . rm. -f conftest.val
2151
2152 fi
2153 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2154 as_fn_set_statusscip-shell shell cpputest 4.0-3 as_fn_set_status(). $ac_retval
2155
2156 } # ac_fn_c_compute_int
2157
2158 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2159 # -------------------------------------------------------
2160 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2161 # the include files in INCLUDES and setting the cache variable VAR
2162 # accordingly.
2163 ac_fn_c_check_header_mongrelscip-shell shell cpputest 4.0-3 ac_fn_c_check_header_mongrel(). ()
2164 {
2165 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2166 if eval \${$3+:} false; then :
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2168 $as_echo_n "checking for $2... " >&6; }
2169 if eval \${$3+:} false; then :
2170 $as_echo_n "(cached) " >&6
2171 fi
2172 eval ac_res=\$$3
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2174 $as_echo "$ac_res" >&6; }
2175 else
2176 # Is the header compilable?
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2178 $as_echo_n "checking $2 usability... " >&6; }
2179 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2180 /* end confdefs.h. */
2181 $4
2182 #include <$2>
2183 _ACEOF
2184 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
2185 ac_header_compiler=yes
2186 else
2187 ac_header_compiler=no
2188 fi
2189 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2191 $as_echo "$ac_header_compiler" >&6; }
2192
2193 # Is the header present?
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2195 $as_echo_n "checking $2 presence... " >&6; }
2196 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2197 /* end confdefs.h. */
2198 #include <$2>
2199 _ACEOF
2200 if ac_fn_c_try_cppscip-shell shell cpputest 4.0-3 ac_fn_c_try_cpp(). "$LINENO"; then :
2201 ac_header_preproc=yes
2202 else
2203 ac_header_preproc=no
2204 fi
2205 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2207 $as_echo "$ac_header_preproc" >&6; }
2208
2209 # So? What about this header?
2210 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2211 yes:no: )
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2213 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2215 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2216 ;;
2217 no:yes:* )
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2219 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2221 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2223 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2225 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2228 ( $as_echo "## --------------------------------------------------- ##
2229 ## Report this to https://github.com/cpputest/cpputest ##
2230 ## --------------------------------------------------- ##"
2231 ) | sedscip-shell system . . sed. "s/^/$as_me: WARNING: /" >&2
2232 ;;
2233 esac
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2235 $as_echo_n "checking for $2... " >&6; }
2236 if eval \${$3+:} false; then :
2237 $as_echo_n "(cached) " >&6
2238 else
2239 eval "$3=\$ac_header_compiler"
2240 fi
2241 eval ac_res=\$$3
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2243 $as_echo "$ac_res" >&6; }
2244 fi
2245 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2246
2247 } # ac_fn_c_check_header_mongrel
2248
2249 # ac_fn_c_find_intX_t LINENO BITS VAR
2250 # -----------------------------------
2251 # Finds a signed integer type with width BITS, setting cache variable VAR
2252 # accordingly.
2253 ac_fn_c_find_intX_tscip-shell shell cpputest 4.0-3 ac_fn_c_find_intX_t(). ()
2254 {
2255 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2257 $as_echo_n "checking for int$2_t... " >&6; }
2258 if eval \${$3+:} false; then :
2259 $as_echo_n "(cached) " >&6
2260 else
2261 eval "$3=no"
2262 # Order is important - never check a type that is potentially smaller
2263 # than half of the expected target width.
2264 for ac_type in int$2_t 'int' 'long int' \
2265 'long long int' 'short int' 'signed char'; do
2266 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2267 /* end confdefs.h. */
2268 $ac_includes_default
2269 enum { N = $2 / 2 - 1 };
2270 int
2271 main ()
2272 {
2273 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2274 test_array [0] = 0;
2275 return test_array [0];
2276
2277 ;
2278 return 0;
2279 }
2280 _ACEOF
2281 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
2282 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2283 /* end confdefs.h. */
2284 $ac_includes_default
2285 enum { N = $2 / 2 - 1 };
2286 int
2287 main ()
2288 {
2289 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
2290 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2291 test_array [0] = 0;
2292 return test_array [0];
2293
2294 ;
2295 return 0;
2296 }
2297 _ACEOF
2298 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
2299
2300 else
2301 case $ac_type in #(
2302 int$2_t) :
2303 eval "$3=yes" ;; #(
2304 *) :
2305 eval "$3=\$ac_type" ;;
2306 esac
2307 fi
2308 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2309 fi
2310 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2311 if eval test \"x\$"$3"\" = x"no"; then :
2312
2313 else
2314 break
2315 fi
2316 done
2317 fi
2318 eval ac_res=\$$3
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2320 $as_echo "$ac_res" >&6; }
2321 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2322
2323 } # ac_fn_c_find_intX_t
2324
2325 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2326 # -------------------------------------------
2327 # Tests whether TYPE exists after having included INCLUDES, setting cache
2328 # variable VAR accordingly.
2329 ac_fn_c_check_typescip-shell shell cpputest 4.0-3 ac_fn_c_check_type(). ()
2330 {
2331 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2333 $as_echo_n "checking for $2... " >&6; }
2334 if eval \${$3+:} false; then :
2335 $as_echo_n "(cached) " >&6
2336 else
2337 eval "$3=no"
2338 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2339 /* end confdefs.h. */
2340 $4
2341 int
2342 main ()
2343 {
2344 if (sizeof ($2))
2345 return 0;
2346 ;
2347 return 0;
2348 }
2349 _ACEOF
2350 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
2351 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2352 /* end confdefs.h. */
2353 $4
2354 int
2355 main ()
2356 {
2357 if (sizeof (($2)))
2358 return 0;
2359 ;
2360 return 0;
2361 }
2362 _ACEOF
2363 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
2364
2365 else
2366 eval "$3=yes"
2367 fi
2368 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2369 fi
2370 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 fi
2372 eval ac_res=\$$3
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2374 $as_echo "$ac_res" >&6; }
2375 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2376
2377 } # ac_fn_c_check_type
2378
2379 # ac_fn_c_find_uintX_t LINENO BITS VAR
2380 # ------------------------------------
2381 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2382 # accordingly.
2383 ac_fn_c_find_uintX_tscip-shell shell cpputest 4.0-3 ac_fn_c_find_uintX_t(). ()
2384 {
2385 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2387 $as_echo_n "checking for uint$2_t... " >&6; }
2388 if eval \${$3+:} false; then :
2389 $as_echo_n "(cached) " >&6
2390 else
2391 eval "$3=no"
2392 # Order is important - never check a type that is potentially smaller
2393 # than half of the expected target width.
2394 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2395 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2396 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2397 /* end confdefs.h. */
2398 $ac_includes_default
2399 int
2400 main ()
2401 {
2402 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2403 test_array [0] = 0;
2404 return test_array [0];
2405
2406 ;
2407 return 0;
2408 }
2409 _ACEOF
2410 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
2411 case $ac_type in #(
2412 uint$2_t) :
2413 eval "$3=yes" ;; #(
2414 *) :
2415 eval "$3=\$ac_type" ;;
2416 esac
2417 fi
2418 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2419 if eval test \"x\$"$3"\" = x"no"; then :
2420
2421 else
2422 break
2423 fi
2424 done
2425 fi
2426 eval ac_res=\$$3
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2428 $as_echo "$ac_res" >&6; }
2429 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2430
2431 } # ac_fn_c_find_uintX_t
2432 catscip-shell system . . cat. >config.log <<_ACEOF
2433 This file contains any messages produced by compilers while
2434 running configure, to aid debugging if configure makes a mistake.
2435
2436 It was created by CppUTest $as_me 4.0, which was
2437 generated by GNU Autoconf 2.69. Invocation command line was
2438
2439 $ $0 $@
2440
2441 _ACEOF
2442 exec 5>>config.log
2443 {
2444 catscip-shell system . . cat. <<_ASUNAME
2445 ## --------- ##
2446 ## Platform. ##
2447 ## --------- ##
2448
2449 hostname = `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
2450 uname -m = `(unamescip-shell system . . uname. -m) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2451 uname -r = `(unamescip-shell system . . uname. -r) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2452 uname -s = `(unamescip-shell system . . uname. -s) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2453 uname -v = `(unamescip-shell system . . uname. -v) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2454
2455 /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`
2456 /bin/uname -X = `(/bin/unamescip-shell filesystem . . `/bin/uname`. -X) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2457
2458 /bin/arch = `(/bin/archscip-shell filesystem . . `/bin/arch`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2459 /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`
2460 /usr/convex/getsysinfo = `(/usr/convex/getsysinfoscip-shell filesystem . . `/usr/convex/getsysinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2461 /usr/bin/hostinfo = `(/usr/bin/hostinfoscip-shell filesystem . . `/usr/bin/hostinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2462 /bin/machine = `(/bin/machinescip-shell filesystem . . `/bin/machine`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2463 /usr/bin/oslevel = `(/usr/bin/oslevelscip-shell filesystem . . `/usr/bin/oslevel`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2464 /bin/universe = `(/bin/universescip-shell filesystem . . `/bin/universe`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2465
2466 _ASUNAME
2467
2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 for as_dir in $PATH
2470 do
2471 IFS=$as_save_IFS
2472 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2473 $as_echo "PATH: $as_dir"
2474 done
2475 IFS=$as_save_IFS
2476
2477 } >&5
2478
2479 catscip-shell system . . cat. >&5 <<_ACEOF
2480
2481
2482 ## ----------- ##
2483 ## Core tests. ##
2484 ## ----------- ##
2485
2486 _ACEOF
2487
2488
2489 # Keep a trace of the command line.
2490 # Strip out --no-create and --no-recursion so they do not pile up.
2491 # Strip out --silent because we don't want to record it for future runs.
2492 # Also quote any args containing shell meta-characters.
2493 # Make two passes to allow for proper duplicate-argument suppression.
2494 ac_configure_args=
2495 ac_configure_args0=
2496 ac_configure_args1=
2497 ac_must_keep_next=false
2498 for ac_pass in 1 2
2499 do
2500 for ac_arg
2501 do
2502 case $ac_arg in
2503 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2504 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2505 | -silent | --silent | --silen | --sile | --sil)
2506 continue ;;
2507 *\'*)
2508 ac_arg=`$as_echo "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2509 esac
2510 case $ac_pass in
2511 1) as_fn_appendscip-shell shell cpputest 4.0-3 as_fn_append(). ac_configure_args0 " '$ac_arg'" ;;
2512 2)
2513 as_fn_appendscip-shell shell cpputest 4.0-3 as_fn_append(). ac_configure_args1 " '$ac_arg'"
2514 if testscip-shell system . . test. $ac_must_keep_next = true; then
2515 ac_must_keep_next=false # Got value, back to normal.
2516 else
2517 case $ac_arg in
2518 *=* | --config-cache | -C | -disable-* | --disable-* \
2519 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2520 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2521 | -with-* | --with-* | -without-* | --without-* | --x)
2522 case "$ac_configure_args0 " in
2523 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2524 esac
2525 ;;
2526 -* ) ac_must_keep_next=true ;;
2527 esac
2528 fi
2529 as_fn_appendscip-shell shell cpputest 4.0-3 as_fn_append(). ac_configure_args " '$ac_arg'"
2530 ;;
2531 esac
2532 done
2533 done
2534 { ac_configure_args0=; unset ac_configure_args0;}
2535 { ac_configure_args1=; unset ac_configure_args1;}
2536
2537 # When interrupted or exit'd, cleanup temporary files, and complete
2538 # config.log. We remove comments because anyway the quotes in there
2539 # would cause problems or look ugly.
2540 # WARNING: Use '\'' to represent an apostrophe within the trap.
2541 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2542 trap 'exit_status=$?
2543 # Save into config.log some information that might help in debugging.
2544 {
2545 echo
2546
2547 $as_echo "## ---------------- ##
2548 ## Cache variables. ##
2549 ## ---------------- ##"
2550 echo
2551 # The following way of writing the cache mishandles newlines in values,
2552 (
2553 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2554 eval ac_val=\$$ac_var
2555 case $ac_val in #(
2556 *${as_nl}*)
2557 case $ac_var in #(
2558 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2559 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2560 esac
2561 case $ac_var in #(
2562 _ | IFS | as_nl) ;; #(
2563 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2564 *) { eval $ac_var=; unset $ac_var;} ;;
2565 esac ;;
2566 esac
2567 done
2568 (set) 2>&1 |
2569 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2570 *${as_nl}ac_space=\ *)
2571 sed -n \
2572 "s/'\''/'\''\\\\'\'''\''/g;
2573 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2574 ;; #(
2575 *)
2576 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2577 ;;
2578 esac |
2579 sort
2580 )
2581 echo
2582
2583 $as_echo "## ----------------- ##
2584 ## Output variables. ##
2585 ## ----------------- ##"
2586 echo
2587 for ac_var in $ac_subst_vars
2588 do
2589 eval ac_val=\$$ac_var
2590 case $ac_val in
2591 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2592 esac
2593 $as_echo "$ac_var='\''$ac_val'\''"
2594 done | sort
2595 echo
2596
2597 if test -n "$ac_subst_files"; then
2598 $as_echo "## ------------------- ##
2599 ## File substitutions. ##
2600 ## ------------------- ##"
2601 echo
2602 for ac_var in $ac_subst_files
2603 do
2604 eval ac_val=\$$ac_var
2605 case $ac_val in
2606 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2607 esac
2608 $as_echo "$ac_var='\''$ac_val'\''"
2609 done | sort
2610 echo
2611 fi
2612
2613 if test -s confdefs.h; then
2614 $as_echo "## ----------- ##
2615 ## confdefs.h. ##
2616 ## ----------- ##"
2617 echo
2618 cat confdefs.h
2619 echo
2620 fi
2621 test "$ac_signal" != 0 &&
2622 $as_echo "$as_me: caught signal $ac_signal"
2623 $as_echo "$as_me: exit $exit_status"
2624 } >&5
2625 rm -f core *.core core.conftest.* &&
2626 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2627 exit $exit_status
2628 ' 0
2629 for ac_signal in 1 2 13 15; do
2630 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2631 done
2632 ac_signal=0
2633
2634 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2635 rmscip-shell system . . rm. -f -r conftest* confdefs.h
2636
2637 $as_echo "/* confdefs.h */" > confdefs.h
2638
2639 # Predefined preprocessor variables.
2640
2641 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2642 #define PACKAGE_NAME "$PACKAGE_NAME"
2643 _ACEOF
2644
2645 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2646 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2647 _ACEOF
2648
2649 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2650 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2651 _ACEOF
2652
2653 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2654 #define PACKAGE_STRING "$PACKAGE_STRING"
2655 _ACEOF
2656
2657 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2658 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2659 _ACEOF
2660
2661 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2662 #define PACKAGE_URL "$PACKAGE_URL"
2663 _ACEOF
2664
2665
2666 # Let the site file select an alternate cache file if it wants to.
2667 # Prefer an explicitly selected file to automatically selected ones.
2668 ac_site_file1=NONE
2669 ac_site_file2=NONE
2670 if testscip-shell system . . test. -n "$CONFIG_SITE"; then
2671 # We do not want a PATH search for config.site.
2672 case $CONFIG_SITE in #((
2673 -*) ac_site_file1=./$CONFIG_SITE;;
2674 */*) ac_site_file1=$CONFIG_SITE;;
2675 *) ac_site_file1=./$CONFIG_SITE;;
2676 esac
2677 elif testscip-shell system . . test. "x$prefix" != xNONE; then
2678 ac_site_file1=$prefix/share/config.site
2679 ac_site_file2=$prefix/etc/config.site
2680 else
2681 ac_site_file1=$ac_default_prefix/share/config.site
2682 ac_site_file2=$ac_default_prefix/etc/config.site
2683 fi
2684 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2685 do
2686 testscip-shell system . . test. "x$ac_site_file" = xNONE && continue
2687 if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$ac_site_file" && testscip-shell system . . test. -r "$ac_site_file"; then
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2689 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2690 sedscip-shell system . . sed. 's/^/| /' "$ac_site_file" >&5
2691 . "$ac_site_file" \
2692 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2694 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "failed to load site script $ac_site_file
2695 See \`config.log' for more details" "$LINENO" 5; }
2696 fi
2697 done
2698
2699 if testscip-shell system . . test. -r "$cache_file"; then
2700 # Some versions of bash will fail to source /dev/null (special files
2701 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2702 if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$cache_file" && testscip-shell system . . test. -f "$cache_file"; then
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2704 $as_echo "$as_me: loading cache $cache_file" >&6;}
2705 case $cache_file in
2706 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2707 *) . "./$cache_file";;
2708 esac
2709 fi
2710 else
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2712 $as_echo "$as_me: creating cache $cache_file" >&6;}
2713 >$cache_file
2714 fi
2715
2716 # Check that the precious variables saved in the cache have kept the same
2717 # value.
2718 ac_cache_corrupted=false
2719 for ac_var in $ac_precious_vars; do
2720 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2721 eval ac_new_set=\$ac_env_${ac_var}_set
2722 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2723 eval ac_new_val=\$ac_env_${ac_var}_value
2724 case $ac_old_set,$ac_new_set in
2725 set,)
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2727 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2728 ac_cache_corrupted=: ;;
2729 ,set)
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2731 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2732 ac_cache_corrupted=: ;;
2733 ,);;
2734 *)
2735 if testscip-shell system . . test. "x$ac_old_val" != "x$ac_new_val"; then
2736 # differences in whitespace do not lead to failure.
2737 ac_old_val_w=`echoscip-shell system . . echo. x $ac_old_val`
2738 ac_new_val_w=`echoscip-shell system . . echo. x $ac_new_val`
2739 if testscip-shell system . . test. "$ac_old_val_w" != "$ac_new_val_w"; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2741 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2742 ac_cache_corrupted=:
2743 else
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2745 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2746 eval $ac_var=\$ac_old_val
2747 fi
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2749 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2751 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2752 fi;;
2753 esac
2754 # Pass precious variables to config.status.
2755 if testscip-shell system . . test. "$ac_new_set" = set; then
2756 case $ac_new_val in
2757 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2758 *) ac_arg=$ac_var=$ac_new_val ;;
2759 esac
2760 case " $ac_configure_args " in
2761 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2762 *) as_fn_appendscip-shell shell cpputest 4.0-3 as_fn_append(). ac_configure_args " '$ac_arg'" ;;
2763 esac
2764 fi
2765 done
2766 if $ac_cache_corrupted; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2770 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2771 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2772 fi
2773 ## -------------------- ##
2774 ## Main body of script. ##
2775 ## -------------------- ##
2776
2777 ac_ext=c
2778 ac_cpp='$CPP $CPPFLAGS'
2779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2782
2783
2784 ac_aux_dir=
2785 for ac_dir in . "$srcdir"/.; do
2786 if testscip-shell system . . test. -f "$ac_dir/install-sh"; then
2787 ac_aux_dir=$ac_dir
2788 ac_install_sh="$ac_aux_dir/install-sh -c"
2789 break
2790 elif testscip-shell system . . test. -f "$ac_dir/install.sh"; then
2791 ac_aux_dir=$ac_dir
2792 ac_install_sh="$ac_aux_dir/install.sh -c"
2793 break
2794 elif testscip-shell system . . test. -f "$ac_dir/shtool"; then
2795 ac_aux_dir=$ac_dir
2796 ac_install_sh="$ac_aux_dir/shtool install -c"
2797 break
2798 fi
2799 done
2800 if testscip-shell system . . test. -z "$ac_aux_dir"; then
2801 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2802 fi
2803
2804 # These three variables are undocumented and unsupported,
2805 # and are intended to be withdrawn in a future Autoconf release.
2806 # They can cause serious problems if a builder's source tree is in a directory
2807 # whose full name contains unusual characters.
2808 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2809 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2810 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2811
2812
2813 am__api_version='1.16'
2814
2815 # Find a good install program. We prefer a C program (faster),
2816 # so one script is as good as another. But avoid the broken or
2817 # incompatible versions:
2818 # SysV /etc/install, /usr/sbin/install
2819 # SunOS /usr/etc/install
2820 # IRIX /sbin/install
2821 # AIX /bin/install
2822 # AmigaOS /C/install, which installs bootblocks on floppy discs
2823 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2824 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2825 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2826 # OS/2's system install, which has a completely different semantic
2827 # ./install, which can be erroneously created by make from ./install.sh.
2828 # Reject install programs that cannot install multiple files.
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2830 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2831 if testscip-shell system . . test. -z "$INSTALL"; then
2832 if ${ac_cv_path_install+:} false; then :
2833 $as_echo_n "(cached) " >&6
2834 else
2835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2836 for as_dir in $PATH
2837 do
2838 IFS=$as_save_IFS
2839 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2840 # Account for people who put trailing slashes in PATH elements.
2841 case $as_dir/ in #((
2842 ./ | .// | /[cC]/* | \
2843 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2844 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2845 /usr/ucb/* ) ;;
2846 *)
2847 # OSF1 and SCO ODT 3.0 have their own names for install.
2848 # Don't use installbsd from OSF since it installs stuff as root
2849 # by default.
2850 for ac_prog in ginstall scoinst install; do
2851 for ac_exec_ext in '' $ac_executable_extensions; do
2852 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_prog$ac_exec_ext"; then
2853 if testscip-shell system . . test. $ac_prog = install &&
2854 grepscip-shell system . . grep. dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
2855 # AIX install. It has an incompatible calling convention.
2856 :
2857 elif testscip-shell system . . test. $ac_prog = install &&
2858 grepscip-shell system . . grep. pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
2859 # program-specific install script used by HP pwplus--don't use.
2860 :
2861 else
2862 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
2863 echoscip-shell system . . echo. one > conftest.one
2864 echoscip-shell system . . echo. two > conftest.two
2865 mkdirscip-shell system . . mkdir. conftest.dir
2866 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwdscip-shell system . . pwd.`/conftest.dir" &&
2867 testscip-shell system . . test. -s conftest.one && testscip-shell system . . test. -s conftest.two &&
2868 testscip-shell system . . test. -s conftest.dir/conftest.one &&
2869 testscip-shell system . . test. -s conftest.dir/conftest.two
2870 then
2871 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2872 break 3
2873 fi
2874 fi
2875 fi
2876 done
2877 done
2878 ;;
2879 esac
2880
2881 done
2882 IFS=$as_save_IFS
2883
2884 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
2885
2886 fi
2887 if testscip-shell system . . test. "${ac_cv_path_install+set}" = set; then
2888 INSTALL=$ac_cv_path_install
2889 else
2890 # As a last resort, use the slow shell script. Don't cache a
2891 # value for INSTALL within a source directory, because that will
2892 # break other packages using the cache if that directory is
2893 # removed, or if the value is a relative name.
2894 INSTALL=$ac_install_sh
2895 fi
2896 fi
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2898 $as_echo "$INSTALL" >&6; }
2899
2900 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2901 # It thinks the first close brace ends the variable substitution.
2902 testscip-shell system . . test. -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2903
2904 testscip-shell system . . test. -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2905
2906 testscip-shell system . . test. -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2907
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2909 $as_echo_n "checking whether build environment is sane... " >&6; }
2910 # Reject unsafe characters in $srcdir or the absolute working directory
2911 # name. Accept space and tab only in the latter.
2912 am_lf='
2913 '
2914 case `pwdscip-shell system . . pwd.` in
2915 *[\\\"\#\$\&\'\`$am_lf]*)
2916 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "unsafe absolute working directory name" "$LINENO" 5;;
2917 esac
2918 case $srcdir in
2919 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2920 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2921 esac
2922
2923 # Do 'set' in a subshell so we don't clobber the current shell's
2924 # arguments. Must try -L first in case configure is actually a
2925 # symlink; some systems play weird games with the mod time of symlinks
2926 # (eg FreeBSD returns the mod time of the symlink's containing
2927 # directory).
2928 if (
2929 am_has_slept=no
2930 for am_try in 1 2; do
2931 echoscip-shell system . . echo. "timestamp, slept: $am_has_slept" > conftest.file
2932 set X `lsscip-shell system . . ls. -Lt "$srcdir/configure" conftest.file 2> /dev/nullscip-shell filesystem . . `/dev/null`.`
2933 if testscip-shell system . . test. "$*" = "X"; then
2934 # -L didn't work.
2935 set X `lsscip-shell system . . ls. -t "$srcdir/configure" conftest.file`
2936 fi
2937 if testscip-shell system . . test. "$*" != "X $srcdir/configure conftest.file" \
2938 && testscip-shell system . . test. "$*" != "X conftest.file $srcdir/configure"; then
2939
2940 # If neither matched, then we have a broken ls. This can happen
2941 # if, for instance, CONFIG_SHELL is bash and it inherits a
2942 # broken ls alias from the environment. This has actually
2943 # happened. Such a system could not be considered "sane".
2944 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "ls -t appears to fail. Make sure there is not a broken
2945 alias in your environment" "$LINENO" 5
2946 fi
2947 if testscip-shell system . . test. "$2" = conftest.file || testscip-shell system . . test. $am_try -eq 2; then
2948 break
2949 fi
2950 # Just in case.
2951 sleepscip-shell system . . sleep. 1
2952 am_has_slept=yes
2953 done
2954 testscip-shell system . . test. "$2" = conftest.file
2955 )
2956 then
2957 # Ok.
2958 :
2959 else
2960 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "newly created file is older than distributed files!
2961 Check your system clock" "$LINENO" 5
2962 fi
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2964 $as_echo "yes" >&6; }
2965 # If we didn't sleep, we still need to ensure time stamps of config.status and
2966 # generated files are strictly newer.
2967 am_sleep_pid=
2968 if grepscip-shell system . . grep. 'slept: no' conftest.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
2969 ( sleepscip-shell system . . sleep. 1 ) &
2970 am_sleep_pid=$!
2971 fi
2972
2973 rmscip-shell system . . rm. -f conftest.file
2974
2975 testscip-shell system . . test. "$program_prefix" != NONE &&
2976 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2977 # Use a double $ so make ignores it.
2978 testscip-shell system . . test. "$program_suffix" != NONE &&
2979 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2980 # Double any \ or $.
2981 # By default was `s,x,x', remove it if useless.
2982 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2983 program_transform_name=`$as_echo "$program_transform_name" | sedscip-shell system . . sed. "$ac_script"`
2984
2985 # Expand $ac_aux_dir to an absolute path.
2986 am_aux_dir=`cd "$ac_aux_dir" && pwdscip-shell system . . pwd.`
2987
2988 if testscip-shell system . . test. x"${MISSING+set}" != xset; then
2989 case $am_aux_dir in
2990 *\ * | *\ *)
2991 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2992 *)
2993 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2994 esac
2995 fi
2996 # Use eval to expand $SHELL
2997 if eval "$MISSING --is-lightweight"; then
2998 am_missing_run="$MISSING "
2999 else
3000 am_missing_run=
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3002 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3003 fi
3004
3005 if testscip-shell system . . test. x"${install_sh+set}" != xset; then
3006 case $am_aux_dir in
3007 *\ * | *\ *)
3008 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3009 *)
3010 install_sh="\${SHELL} $am_aux_dir/install-sh"
3011 esac
3012 fi
3013
3014 # Installed binaries are usually stripped using 'strip' when the user
3015 # run "make install-strip". However 'strip' might not be the right
3016 # tool to use in cross-compilation environments, therefore Automake
3017 # will honor the 'STRIP' environment variable to overrule this program.
3018 if testscip-shell system . . test. "$cross_compiling" != no; then
3019 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3020 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3021 set dummy ${ac_tool_prefix}strip; ac_word=$2
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3023 $as_echo_n "checking for $ac_word... " >&6; }
3024 if ${ac_cv_prog_STRIP+:} false; then :
3025 $as_echo_n "(cached) " >&6
3026 else
3027 if testscip-shell system . . test. -n "$STRIP"; then
3028 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3029 else
3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031 for as_dir in $PATH
3032 do
3033 IFS=$as_save_IFS
3034 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3035 for ac_exec_ext in '' $ac_executable_extensions; do
3036 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
3037 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 break 2
3040 fi
3041 done
3042 done
3043 IFS=$as_save_IFS
3044
3045 fi
3046 fi
3047 STRIP=$ac_cv_prog_STRIP
3048 if testscip-shell system . . test. -n "$STRIP"; then
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3050 $as_echo "$STRIP" >&6; }
3051 else
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053 $as_echo "no" >&6; }
3054 fi
3055
3056
3057 fi
3058 if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then
3059 ac_ct_STRIP=$STRIP
3060 # Extract the first word of "strip", so it can be a program name with args.
3061 set dummy strip; ac_word=$2
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3063 $as_echo_n "checking for $ac_word... " >&6; }
3064 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3065 $as_echo_n "(cached) " >&6
3066 else
3067 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
3068 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3069 else
3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071 for as_dir in $PATH
3072 do
3073 IFS=$as_save_IFS
3074 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3075 for ac_exec_ext in '' $ac_executable_extensions; do
3076 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
3077 ac_cv_prog_ac_ct_STRIP="strip"
3078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3079 break 2
3080 fi
3081 done
3082 done
3083 IFS=$as_save_IFS
3084
3085 fi
3086 fi
3087 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3088 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3090 $as_echo "$ac_ct_STRIP" >&6; }
3091 else
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3093 $as_echo "no" >&6; }
3094 fi
3095
3096 if testscip-shell system . . test. "x$ac_ct_STRIP" = x; then
3097 STRIP=":"
3098 else
3099 case $cross_compiling:$ac_tool_warned in
3100 yes:)
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3103 ac_tool_warned=yes ;;
3104 esac
3105 STRIP=$ac_ct_STRIP
3106 fi
3107 else
3108 STRIP="$ac_cv_prog_STRIP"
3109 fi
3110
3111 fi
3112 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3113
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3115 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3116 if testscip-shell system . . test. -z "$MKDIR_P"; then
3117 if ${ac_cv_path_mkdir+:} false; then :
3118 $as_echo_n "(cached) " >&6
3119 else
3120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3121 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3122 do
3123 IFS=$as_save_IFS
3124 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3125 for ac_prog in mkdir gmkdir; do
3126 for ac_exec_ext in '' $ac_executable_extensions; do
3127 as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_prog$ac_exec_ext" || continue
3128 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3129 'mkdir (GNU coreutils) '* | \
3130 'mkdir (coreutils) '* | \
3131 'mkdir (fileutils) '4.1*)
3132 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3133 break 3;;
3134 esac
3135 done
3136 done
3137 done
3138 IFS=$as_save_IFS
3139
3140 fi
3141
3142 testscip-shell system . . test. -d ./--version && rmdirscip-shell system . . rmdir. ./--version
3143 if testscip-shell system . . test. "${ac_cv_path_mkdir+set}" = set; then
3144 MKDIR_P="$ac_cv_path_mkdir -p"
3145 else
3146 # As a last resort, use the slow shell script. Don't cache a
3147 # value for MKDIR_P within a source directory, because that will
3148 # break other packages using the cache if that directory is
3149 # removed, or if the value is a relative name.
3150 MKDIR_P="$ac_install_sh -d"
3151 fi
3152 fi
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3154 $as_echo "$MKDIR_P" >&6; }
3155
3156 for ac_prog in gawk mawk nawk awk
3157 do
3158 # Extract the first word of "$ac_prog", so it can be a program name with args.
3159 set dummy $ac_prog; ac_word=$2
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3161 $as_echo_n "checking for $ac_word... " >&6; }
3162 if ${ac_cv_prog_AWK+:} false; then :
3163 $as_echo_n "(cached) " >&6
3164 else
3165 if testscip-shell system . . test. -n "$AWK"; then
3166 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3167 else
3168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3169 for as_dir in $PATH
3170 do
3171 IFS=$as_save_IFS
3172 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3173 for ac_exec_ext in '' $ac_executable_extensions; do
3174 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
3175 ac_cv_prog_AWK="$ac_prog"
3176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3177 break 2
3178 fi
3179 done
3180 done
3181 IFS=$as_save_IFS
3182
3183 fi
3184 fi
3185 AWK=$ac_cv_prog_AWK
3186 if testscip-shell system . . test. -n "$AWK"; then
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3188 $as_echo "$AWK" >&6; }
3189 else
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3191 $as_echo "no" >&6; }
3192 fi
3193
3194
3195 testscip-shell system . . test. -n "$AWK" && break
3196 done
3197
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3199 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3200 set x ${MAKE-make}
3201 ac_make=`$as_echo "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3202 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3203 $as_echo_n "(cached) " >&6
3204 else
3205 catscip-shell system . . cat. >conftest.make <<\_ACEOF
3206 SHELL = /bin/sh
3207 all:
3208 @echo '@@@%%%=$(MAKE)=@@@%%%'
3209 _ACEOF
3210 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3211 case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
3212 *@@@%%%=?*=@@@%%%*)
3213 eval ac_cv_prog_make_${ac_make}_set=yes;;
3214 *)
3215 eval ac_cv_prog_make_${ac_make}_set=no;;
3216 esac
3217 rmscip-shell system . . rm. -f conftest.make
3218 fi
3219 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3221 $as_echo "yes" >&6; }
3222 SET_MAKE=
3223 else
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225 $as_echo "no" >&6; }
3226 SET_MAKE="MAKE=${MAKE-make}"
3227 fi
3228
3229 rmscip-shell system . . rm. -rf .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
3230 mkdirscip-shell system . . mkdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
3231 if testscip-shell system . . test. -d .tst; then
3232 am__leading_dot=.
3233 else
3234 am__leading_dot=_
3235 fi
3236 rmdirscip-shell system . . rmdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
3237
3238 # Check whether --enable-silent-rules was given.
3239 if testscip-shell system . . test. "${enable_silent_rules+set}" = set; then :
3240 enableval=$enable_silent_rules;
3241 fi
3242
3243 case $enable_silent_rules in # (((
3244 yes) AM_DEFAULT_VERBOSITY=0;;
3245 no) AM_DEFAULT_VERBOSITY=1;;
3246 *) AM_DEFAULT_VERBOSITY=1;;
3247 esac
3248 am_make=${MAKE-make}
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3250 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3251 if ${am_cv_make_support_nested_variables+:} false; then :
3252 $as_echo_n "(cached) " >&6
3253 else
3254 if $as_echo 'TRUE=$(BAR$(V))
3255 BAR0=false
3256 BAR1=true
3257 V=1
3258 am__doit:
3259 @$(TRUE)
3260 .PHONY: am__doit' | $am_make -f - >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
3261 am_cv_make_support_nested_variables=yes
3262 else
3263 am_cv_make_support_nested_variables=no
3264 fi
3265 fi
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3267 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3268 if testscip-shell system . . test. $am_cv_make_support_nested_variables = yes; then
3269 AM_V='$(V)'
3270 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3271 else
3272 AM_V=$AM_DEFAULT_VERBOSITY
3273 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3274 fi
3275 AM_BACKSLASH='\'
3276
3277 if testscip-shell system . . test. "`cd $srcdir && pwdscip-shell system . . pwd.`" != "`pwdscip-shell system . . pwd.`"; then
3278 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3279 # is not polluted with repeated "-I."
3280 am__isrc=' -I$(srcdir)'
3281 # test to see if srcdir already configured
3282 if testscip-shell system . . test. -f $srcdir/config.status; then
3283 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3284 fi
3285 fi
3286
3287 # test whether we have cygpath
3288 if testscip-shell system . . test. -z "$CYGPATH_W"; then
3289 if (cygpath --version) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
3290 CYGPATH_W='cygpath -w'
3291 else
3292 CYGPATH_W=echo
3293 fi
3294 fi
3295
3296
3297 # Define the identity of the package.
3298 PACKAGE='cpputest'
3299 VERSION='4.0'
3300
3301
3302 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
3303 #define PACKAGE "$PACKAGE"
3304 _ACEOF
3305
3306
3307 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
3308 #define VERSION "$VERSION"
3309 _ACEOF
3310
3311 # Some tools Automake needs.
3312
3313 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3314
3315
3316 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3317
3318
3319 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3320
3321
3322 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3323
3324
3325 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3326
3327 # For better backward compatibility. To be removed once Automake 1.9.x
3328 # dies out for good. For more background, see:
3329 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3330 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3331 mkdir_p='$(MKDIR_P)'
3332
3333 # We need awk for the "check" target (and possibly the TAP driver). The
3334 # system "awk" is bad on some platforms.
3335 # Always define AMTAR for backward compatibility. Yes, it's still used
3336 # in the wild :-( We should find a proper way to deprecate it ...
3337 AMTAR='$${TAR-tar}'
3338
3339
3340 # We'll loop over all known methods to create a tar archive until one works.
3341 _am_tools='gnutar pax cpio none'
3342
3343 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3344
3345
3346
3347
3348
3349
3350 # POSIX will say in a future version that running "rm -f" with no argument
3351 # is OK; and we want to be able to make that assumption in our Makefile
3352 # recipes. So use an aggressive probe to check that the usage we want is
3353 # actually supported "in the wild" to an acceptable degree.
3354 # See automake bug#10828.
3355 # To make any issue more visible, cause the running configure to be aborted
3356 # by default if the 'rm' program in use doesn't match our expectations; the
3357 # user can still override this though.
3358 if rmscip-shell system . . rm. -f && rmscip-shell system . . rm. -fr && rmscip-shell system . . rm. -rf; then : OK; else
3359 catscip-shell system . . cat. >&2 <<'END'
3360 Oops!
3361
3362 Your 'rm' program seems unable to run without file operands specified
3363 on the command line, even when the '-f' option is present. This is contrary
3364 to the behaviour of most rm programs out there, and not conforming with
3365 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3366
3367 Please tell [email protected] about your system, including the value
3368 of your $PATH and any error possibly output before this message. This
3369 can help us improve future automake versions.
3370
3371 END
3372 if testscip-shell system . . test. x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3373 echoscip-shell system . . echo. 'Configuration will proceed anyway, since you have set the' >&2
3374 echoscip-shell system . . echo. 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3375 echoscip-shell system . . echo. >&2
3376 else
3377 catscip-shell system . . cat. >&2 <<'END'
3378 Aborting the configuration process, to ensure you take notice of the issue.
3379
3380 You can download and install GNU coreutils to get an 'rm' implementation
3381 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3382
3383 If you want to complete the configuration process using your problematic
3384 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3385 to "yes", and re-run configure.
3386
3387 END
3388 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3389 fi
3390 fi
3391
3392
3393 ac_config_headers="$ac_config_headers config.h"
3394
3395
3396 ac_config_commands="$ac_config_commands generated/CppUTestGeneratedConfig.h"
3397
3398 ac_config_files="$ac_config_files cpputest.pc"
3399
3400
3401 enable_dlopen=yes
3402
3403
3404
3405 case `pwdscip-shell system . . pwd.` in
3406 *\ * | *\ *)
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3408 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3409 esac
3410
3411
3412
3413 macro_version='2.4.6'
3414 macro_revision='2.4.6'
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428 ltmain=$ac_aux_dir/ltmain.sh
3429
3430 # Make sure we can run config.sub.
3431 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 ||
3432 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3433
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3435 $as_echo_n "checking build system type... " >&6; }
3436 if ${ac_cv_build+:} false; then :
3437 $as_echo_n "(cached) " >&6
3438 else
3439 ac_build_alias=$build_alias
3440 testscip-shell system . . test. "x$ac_build_alias" = x &&
3441 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3442 testscip-shell system . . test. "x$ac_build_alias" = x &&
3443 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "cannot guess build type; you must specify one" "$LINENO" 5
3444 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3445 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3446
3447 fi
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3449 $as_echo "$ac_cv_build" >&6; }
3450 case $ac_cv_build in
3451 *-*-*) ;;
3452 *) as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "invalid value of canonical build" "$LINENO" 5;;
3453 esac
3454 build=$ac_cv_build
3455 ac_save_IFS=$IFS; IFS='-'
3456 set x $ac_cv_build
3457 shift
3458 build_cpu=$1
3459 build_vendor=$2
3460 shift; shift
3461 # Remember, the first character of IFS is used to create $*,
3462 # except with old shells:
3463 build_os=$*
3464 IFS=$ac_save_IFS
3465 case $build_os in *\ *) build_os=`echoscip-shell system . . echo. "$build_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
3466
3467
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3469 $as_echo_n "checking host system type... " >&6; }
3470 if ${ac_cv_host+:} false; then :
3471 $as_echo_n "(cached) " >&6
3472 else
3473 if testscip-shell system . . test. "x$host_alias" = x; then
3474 ac_cv_host=$ac_cv_build
3475 else
3476 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3477 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3478 fi
3479
3480 fi
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3482 $as_echo "$ac_cv_host" >&6; }
3483 case $ac_cv_host in
3484 *-*-*) ;;
3485 *) as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "invalid value of canonical host" "$LINENO" 5;;
3486 esac
3487 host=$ac_cv_host
3488 ac_save_IFS=$IFS; IFS='-'
3489 set x $ac_cv_host
3490 shift
3491 host_cpu=$1
3492 host_vendor=$2
3493 shift; shift
3494 # Remember, the first character of IFS is used to create $*,
3495 # except with old shells:
3496 host_os=$*
3497 IFS=$ac_save_IFS
3498 case $host_os in *\ *) host_os=`echoscip-shell system . . echo. "$host_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
3499
3500
3501 # Backslashify metacharacters that are still active within
3502 # double-quoted strings.
3503 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3504
3505 # Same as above, but do not quote variable references.
3506 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3507
3508 # Sed substitution to delay expansion of an escaped shell variable in a
3509 # double_quote_subst'ed string.
3510 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3511
3512 # Sed substitution to delay expansion of an escaped single quote.
3513 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3514
3515 # Sed substitution to avoid accidental globbing in evaled expressions
3516 no_glob_subst='s/\*/\\\*/g'
3517
3518 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3519 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3520 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3521
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3523 $as_echo_n "checking how to print strings... " >&6; }
3524 # Test print first, because it will be a builtin if present.
3525 if testscip-shell system . . test. "X`( print -r -- -n ) 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = X-n && \
3526 test "X`print -r -- $ECHO 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = "X$ECHO"; then
3527 ECHO='print -r --'
3528 elif testscip-shell system . . test. "X`printfscip-shell system . . printf. %s $ECHO 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = "X$ECHO"; then
3529 ECHO='printf %s\n'
3530 else
3531 # Use this function as a fallback that always works.
3532 func_fallback_echoscip-shell shell cpputest 4.0-3 func_fallback_echo(). ()
3533 {
3534 eval 'cat <<_LTECHO_EOF
3535 $1
3536 _LTECHO_EOF'
3537 }
3538 ECHO='func_fallback_echo'
3539 fi
3540
3541 # func_echo_all arg...
3542 # Invoke $ECHO with all args, space-separated.
3543 func_echo_allscip-shell shell cpputest 4.0-3 func_echo_all(). ()
3544 {
3545 $ECHO ""
3546 }
3547
3548 case $ECHO in
3549 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3550 $as_echo "printf" >&6; } ;;
3551 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3552 $as_echo "print -r" >&6; } ;;
3553 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3554 $as_echo "cat" >&6; } ;;
3555 esac
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570 DEPDIR="${am__leading_dot}deps"
3571
3572 ac_config_commands="$ac_config_commands depfiles"
3573
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3575 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3576 catscip-shell system . . cat. > confinc.mk << 'END'
3577 am__doit:
3578 @echo this is the am__doit target >confinc.out
3579 .PHONY: am__doit
3580 END
3581 am__include="#"
3582 am__quote=
3583 # BSD make does it like this.
3584 echoscip-shell system . . echo. '.include "confinc.mk" # ignored' > confmf.BSD
3585 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3586 echoscip-shell system . . echo. 'include confinc.mk # ignored' > confmf.GNU
3587 _am_result=no
3588 for s in GNU BSD; do
3589 { echoscip-shell system . . echo. "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3590 (${MAKE-make} -f confmf.$s && catscip-shell system . . cat. confinc.out) >&5 2>&5
3591 ac_status=$?
3592 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); }
3594 case $?:`catscip-shell system . . cat. confinc.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #(
3595 '0:this is the am__doit target') :
3596 case $s in #(
3597 BSD) :
3598 am__include='.include' am__quote='"' ;; #(
3599 *) :
3600 am__include='include' am__quote='' ;;
3601 esac ;; #(
3602 *) :
3603 ;;
3604 esac
3605 if testscip-shell system . . test. "$am__include" != "#"; then
3606 _am_result="yes ($s style)"
3607 break
3608 fi
3609 done
3610 rmscip-shell system . . rm. -f confinc.* confmf.*
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3612 $as_echo "${_am_result}" >&6; }
3613
3614 # Check whether --enable-dependency-tracking was given.
3615 if testscip-shell system . . test. "${enable_dependency_tracking+set}" = set; then :
3616 enableval=$enable_dependency_tracking;
3617 fi
3618
3619 if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then
3620 am_depcomp="$ac_aux_dir/depcomp"
3621 AMDEPBACKSLASH='\'
3622 am__nodep='_no'
3623 fi
3624 if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then
3625 AMDEP_TRUE=
3626 AMDEP_FALSE='#'
3627 else
3628 AMDEP_TRUE='#'
3629 AMDEP_FALSE=
3630 fi
3631
3632
3633 ac_ext=c
3634 ac_cpp='$CPP $CPPFLAGS'
3635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3638 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3639 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3640 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3642 $as_echo_n "checking for $ac_word... " >&6; }
3643 if ${ac_cv_prog_CC+:} false; then :
3644 $as_echo_n "(cached) " >&6
3645 else
3646 if testscip-shell system . . test. -n "$CC"; then
3647 ac_cv_prog_CC="$CC" # Let the user override the test.
3648 else
3649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3650 for as_dir in $PATH
3651 do
3652 IFS=$as_save_IFS
3653 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3654 for ac_exec_ext in '' $ac_executable_extensions; do
3655 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
3656 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3658 break 2
3659 fi
3660 done
3661 done
3662 IFS=$as_save_IFS
3663
3664 fi
3665 fi
3666 CC=$ac_cv_prog_CC
3667 if testscip-shell system . . test. -n "$CC"; then
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3669 $as_echo "$CC" >&6; }
3670 else
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3672 $as_echo "no" >&6; }
3673 fi
3674
3675
3676 fi
3677 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
3678 ac_ct_CC=$CC
3679 # Extract the first word of "gcc", so it can be a program name with args.
3680 set dummy gcc; ac_word=$2
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682 $as_echo_n "checking for $ac_word... " >&6; }
3683 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3684 $as_echo_n "(cached) " >&6
3685 else
3686 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3687 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3688 else
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690 for as_dir in $PATH
3691 do
3692 IFS=$as_save_IFS
3693 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3694 for ac_exec_ext in '' $ac_executable_extensions; do
3695 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
3696 ac_cv_prog_ac_ct_CC="gcc"
3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3698 break 2
3699 fi
3700 done
3701 done
3702 IFS=$as_save_IFS
3703
3704 fi
3705 fi
3706 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3707 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3709 $as_echo "$ac_ct_CC" >&6; }
3710 else
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 $as_echo "no" >&6; }
3713 fi
3714
3715 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3716 CC=""
3717 else
3718 case $cross_compiling:$ac_tool_warned in
3719 yes:)
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3722 ac_tool_warned=yes ;;
3723 esac
3724 CC=$ac_ct_CC
3725 fi
3726 else
3727 CC="$ac_cv_prog_CC"
3728 fi
3729
3730 if testscip-shell system . . test. -z "$CC"; then
3731 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3732 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3733 set dummy ${ac_tool_prefix}cc; ac_word=$2
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3735 $as_echo_n "checking for $ac_word... " >&6; }
3736 if ${ac_cv_prog_CC+:} false; then :
3737 $as_echo_n "(cached) " >&6
3738 else
3739 if testscip-shell system . . test. -n "$CC"; then
3740 ac_cv_prog_CC="$CC" # Let the user override the test.
3741 else
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743 for as_dir in $PATH
3744 do
3745 IFS=$as_save_IFS
3746 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
3749 ac_cv_prog_CC="${ac_tool_prefix}cc"
3750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 break 2
3752 fi
3753 done
3754 done
3755 IFS=$as_save_IFS
3756
3757 fi
3758 fi
3759 CC=$ac_cv_prog_CC
3760 if testscip-shell system . . test. -n "$CC"; then
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3762 $as_echo "$CC" >&6; }
3763 else
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765 $as_echo "no" >&6; }
3766 fi
3767
3768
3769 fi
3770 fi
3771 if testscip-shell system . . test. -z "$CC"; then
3772 # Extract the first word of "cc", so it can be a program name with args.
3773 set dummy cc; ac_word=$2
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3775 $as_echo_n "checking for $ac_word... " >&6; }
3776 if ${ac_cv_prog_CC+:} false; then :
3777 $as_echo_n "(cached) " >&6
3778 else
3779 if testscip-shell system . . test. -n "$CC"; then
3780 ac_cv_prog_CC="$CC" # Let the user override the test.
3781 else
3782 ac_prog_rejected=no
3783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3784 for as_dir in $PATH
3785 do
3786 IFS=$as_save_IFS
3787 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3788 for ac_exec_ext in '' $ac_executable_extensions; do
3789 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
3790 if testscip-shell system . . test. "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then
3791 ac_prog_rejected=yes
3792 continue
3793 fi
3794 ac_cv_prog_CC="cc"
3795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 break 2
3797 fi
3798 done
3799 done
3800 IFS=$as_save_IFS
3801
3802 if testscip-shell system . . test. $ac_prog_rejected = yes; then
3803 # We found a bogon in the path, so make sure we never use it.
3804 set dummy $ac_cv_prog_CC
3805 shift
3806 if testscip-shell system . . test. $# != 0; then
3807 # We chose a different compiler from the bogus one.
3808 # However, it has the same basename, so the bogon will be chosen
3809 # first if we set CC to just the basename; use the full file name.
3810 shift
3811 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3812 fi
3813 fi
3814 fi
3815 fi
3816 CC=$ac_cv_prog_CC
3817 if testscip-shell system . . test. -n "$CC"; then
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3819 $as_echo "$CC" >&6; }
3820 else
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3822 $as_echo "no" >&6; }
3823 fi
3824
3825
3826 fi
3827 if testscip-shell system . . test. -z "$CC"; then
3828 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3829 for ac_prog in cl.exe
3830 do
3831 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3832 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if ${ac_cv_prog_CC+:} false; then :
3836 $as_echo_n "(cached) " >&6
3837 else
3838 if testscip-shell system . . test. -n "$CC"; then
3839 ac_cv_prog_CC="$CC" # Let the user override the test.
3840 else
3841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3842 for as_dir in $PATH
3843 do
3844 IFS=$as_save_IFS
3845 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3846 for ac_exec_ext in '' $ac_executable_extensions; do
3847 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
3848 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3850 break 2
3851 fi
3852 done
3853 done
3854 IFS=$as_save_IFS
3855
3856 fi
3857 fi
3858 CC=$ac_cv_prog_CC
3859 if testscip-shell system . . test. -n "$CC"; then
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3861 $as_echo "$CC" >&6; }
3862 else
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3864 $as_echo "no" >&6; }
3865 fi
3866
3867
3868 testscip-shell system . . test. -n "$CC" && break
3869 done
3870 fi
3871 if testscip-shell system . . test. -z "$CC"; then
3872 ac_ct_CC=$CC
3873 for ac_prog in cl.exe
3874 do
3875 # Extract the first word of "$ac_prog", so it can be a program name with args.
3876 set dummy $ac_prog; ac_word=$2
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3878 $as_echo_n "checking for $ac_word... " >&6; }
3879 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3880 $as_echo_n "(cached) " >&6
3881 else
3882 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3883 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3884 else
3885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3886 for as_dir in $PATH
3887 do
3888 IFS=$as_save_IFS
3889 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3890 for ac_exec_ext in '' $ac_executable_extensions; do
3891 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
3892 ac_cv_prog_ac_ct_CC="$ac_prog"
3893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3894 break 2
3895 fi
3896 done
3897 done
3898 IFS=$as_save_IFS
3899
3900 fi
3901 fi
3902 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3903 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3905 $as_echo "$ac_ct_CC" >&6; }
3906 else
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3908 $as_echo "no" >&6; }
3909 fi
3910
3911
3912 testscip-shell system . . test. -n "$ac_ct_CC" && break
3913 done
3914
3915 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3916 CC=""
3917 else
3918 case $cross_compiling:$ac_tool_warned in
3919 yes:)
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3922 ac_tool_warned=yes ;;
3923 esac
3924 CC=$ac_ct_CC
3925 fi
3926 fi
3927
3928 fi
3929
3930
3931 testscip-shell system . . test. -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3933 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "no acceptable C compiler found in \$PATH
3934 See \`config.log' for more details" "$LINENO" 5; }
3935
3936 # Provide some information about the compiler.
3937 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3938 set X $ac_compile
3939 ac_compiler=$2
3940 for ac_option in --version -v -V -qversion; do
3941 { { ac_try="$ac_compiler $ac_option >&5"
3942 case "(($ac_try" in
3943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3944 *) ac_try_echo=$ac_try;;
3945 esac
3946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3947 $as_echo "$ac_try_echo"; } >&5
3948 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3949 ac_status=$?
3950 if testscip-shell system . . test. -s conftest.err; then
3951 sedscip-shell system . . sed. '10a\
3952 ... rest of stderr output deleted ...
3953 10q' conftest.err >conftest.er1
3954 catscip-shell system . . cat. conftest.er1 >&5
3955 fi
3956 rmscip-shell system . . rm. -f conftest.er1 conftest.err
3957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3958 testscip-shell system . . test. $ac_status = 0; }
3959 done
3960
3961 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3962 /* end confdefs.h. */
3963
3964 int
3965 main ()
3966 {
3967
3968 ;
3969 return 0;
3970 }
3971 _ACEOF
3972 ac_clean_files_save=$ac_clean_files
3973 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3974 # Try to create an executable without -o first, disregard a.out.
3975 # It will help us diagnose broken compilers, and finding out an intuition
3976 # of exeext.
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3978 $as_echo_n "checking whether the C compiler works... " >&6; }
3979 ac_link_default=`$as_echo "$ac_link" | sedscip-shell system . . sed. 's/ -o *conftest[^ ]*//'`
3980
3981 # The possible output files:
3982 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3983
3984 ac_rmfiles=
3985 for ac_file in $ac_files
3986 do
3987 case $ac_file in
3988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3989 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3990 esac
3991 done
3992 rmscip-shell system . . rm. -f $ac_rmfiles
3993
3994 if { { ac_try="$ac_link_default"
3995 case "(($ac_try" in
3996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997 *) ac_try_echo=$ac_try;;
3998 esac
3999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4000 $as_echo "$ac_try_echo"; } >&5
4001 (eval "$ac_link_default") 2>&5
4002 ac_status=$?
4003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4004 testscip-shell system . . test. $ac_status = 0; }; then :
4005 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4006 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4007 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4008 # so that the user can short-circuit this test for compilers unknown to
4009 # Autoconf.
4010 for ac_file in $ac_files ''
4011 do
4012 testscip-shell system . . test. -f "$ac_file" || continue
4013 case $ac_file in
4014 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4015 ;;
4016 [ab].out )
4017 # We found the default executable, but exeext='' is most
4018 # certainly right.
4019 break;;
4020 *.* )
4021 if testscip-shell system . . test. "${ac_cv_exeext+set}" = set && testscip-shell system . . test. "$ac_cv_exeext" != no;
4022 then :; else
4023 ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
4024 fi
4025 # We set ac_cv_exeext here because the later test for it is not
4026 # safe: cross compilers may not add the suffix if given an `-o'
4027 # argument, so we may need to know it at that point already.
4028 # Even if this section looks crufty: it has the advantage of
4029 # actually working.
4030 break;;
4031 * )
4032 break;;
4033 esac
4034 done
4035 testscip-shell system . . test. "$ac_cv_exeext" = no && ac_cv_exeext=
4036
4037 else
4038 ac_file=''
4039 fi
4040 if testscip-shell system . . test. -z "$ac_file"; then :
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4042 $as_echo "no" >&6; }
4043 $as_echo "$as_me: failed program was:" >&5
4044 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4045
4046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4048 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). 77 "C compiler cannot create executables
4049 See \`config.log' for more details" "$LINENO" 5; }
4050 else
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4052 $as_echo "yes" >&6; }
4053 fi
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4055 $as_echo_n "checking for C compiler default output file name... " >&6; }
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4057 $as_echo "$ac_file" >&6; }
4058 ac_exeext=$ac_cv_exeext
4059
4060 rmscip-shell system . . rm. -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4061 ac_clean_files=$ac_clean_files_save
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4063 $as_echo_n "checking for suffix of executables... " >&6; }
4064 if { { ac_try="$ac_link"
4065 case "(($ac_try" in
4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4068 esac
4069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4070 $as_echo "$ac_try_echo"; } >&5
4071 (eval "$ac_link") 2>&5
4072 ac_status=$?
4073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4074 testscip-shell system . . test. $ac_status = 0; }; then :
4075 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4076 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4077 # work properly (i.e., refer to `conftest.exe'), while it won't with
4078 # `rm'.
4079 for ac_file in conftest.exe conftest conftest.*; do
4080 testscip-shell system . . test. -f "$ac_file" || continue
4081 case $ac_file in
4082 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4083 *.* ) ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
4084 break;;
4085 * ) break;;
4086 esac
4087 done
4088 else
4089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4091 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "cannot compute suffix of executables: cannot compile and link
4092 See \`config.log' for more details" "$LINENO" 5; }
4093 fi
4094 rmscip-shell system . . rm. -f conftest conftest$ac_cv_exeext
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4096 $as_echo "$ac_cv_exeext" >&6; }
4097
4098 rmscip-shell system . . rm. -f conftest.$ac_ext
4099 EXEEXT=$ac_cv_exeext
4100 ac_exeext=$EXEEXT
4101 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4102 /* end confdefs.h. */
4103 #include <stdio.h>
4104 int
4105 main ()
4106 {
4107 FILE *f = fopen ("conftest.out", "w");
4108 return ferror (f) || fclose (f) != 0;
4109
4110 ;
4111 return 0;
4112 }
4113 _ACEOF
4114 ac_clean_files="$ac_clean_files conftest.out"
4115 # Check that the compiler produces executables we can run. If not, either
4116 # the compiler is broken, or we cross compile.
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4118 $as_echo_n "checking whether we are cross compiling... " >&6; }
4119 if testscip-shell system . . test. "$cross_compiling" != yes; then
4120 { { ac_try="$ac_link"
4121 case "(($ac_try" in
4122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4123 *) ac_try_echo=$ac_try;;
4124 esac
4125 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4126 $as_echo "$ac_try_echo"; } >&5
4127 (eval "$ac_link") 2>&5
4128 ac_status=$?
4129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4130 testscip-shell system . . test. $ac_status = 0; }
4131 if { ac_try='./conftest$ac_cv_exeext'
4132 { { case "(($ac_try" in
4133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4134 *) ac_try_echo=$ac_try;;
4135 esac
4136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4137 $as_echo "$ac_try_echo"; } >&5
4138 (eval "$ac_try") 2>&5
4139 ac_status=$?
4140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4141 testscip-shell system . . test. $ac_status = 0; }; }; then
4142 cross_compiling=no
4143 else
4144 if testscip-shell system . . test. "$cross_compiling" = maybe; then
4145 cross_compiling=yes
4146 else
4147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4149 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "cannot run C compiled programs.
4150 If you meant to cross compile, use \`--host'.
4151 See \`config.log' for more details" "$LINENO" 5; }
4152 fi
4153 fi
4154 fi
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4156 $as_echo "$cross_compiling" >&6; }
4157
4158 rmscip-shell system . . rm. -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4159 ac_clean_files=$ac_clean_files_save
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4161 $as_echo_n "checking for suffix of object files... " >&6; }
4162 if ${ac_cv_objext+:} false; then :
4163 $as_echo_n "(cached) " >&6
4164 else
4165 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4167
4168 int
4169 main ()
4170 {
4171
4172 ;
4173 return 0;
4174 }
4175 _ACEOF
4176 rmscip-shell system . . rm. -f conftest.o conftest.obj
4177 if { { ac_try="$ac_compile"
4178 case "(($ac_try" in
4179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4180 *) ac_try_echo=$ac_try;;
4181 esac
4182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4183 $as_echo "$ac_try_echo"; } >&5
4184 (eval "$ac_compile") 2>&5
4185 ac_status=$?
4186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4187 testscip-shell system . . test. $ac_status = 0; }; then :
4188 for ac_file in conftest.o conftest.obj conftest.*; do
4189 testscip-shell system . . test. -f "$ac_file" || continue;
4190 case $ac_file in
4191 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4192 *) ac_cv_objext=`exprscip-shell system . . expr. "$ac_file" : '.*\.\(.*\)'`
4193 break;;
4194 esac
4195 done
4196 else
4197 $as_echo "$as_me: failed program was:" >&5
4198 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4199
4200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4202 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "cannot compute suffix of object files: cannot compile
4203 See \`config.log' for more details" "$LINENO" 5; }
4204 fi
4205 rmscip-shell system . . rm. -f conftest.$ac_cv_objext conftest.$ac_ext
4206 fi
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4208 $as_echo "$ac_cv_objext" >&6; }
4209 OBJEXT=$ac_cv_objext
4210 ac_objext=$OBJEXT
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4212 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4213 if ${ac_cv_c_compiler_gnu+:} false; then :
4214 $as_echo_n "(cached) " >&6
4215 else
4216 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4218
4219 int
4220 main ()
4221 {
4222 #ifndef __GNUC__
4223 choke me
4224 #endif
4225
4226 ;
4227 return 0;
4228 }
4229 _ACEOF
4230 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
4231 ac_compiler_gnu=yes
4232 else
4233 ac_compiler_gnu=no
4234 fi
4235 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4237
4238 fi
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4240 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4241 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
4242 GCC=yes
4243 else
4244 GCC=
4245 fi
4246 ac_test_CFLAGS=${CFLAGS+set}
4247 ac_save_CFLAGS=$CFLAGS
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4249 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4250 if ${ac_cv_prog_cc_g+:} false; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 ac_save_c_werror_flag=$ac_c_werror_flag
4254 ac_c_werror_flag=yes
4255 ac_cv_prog_cc_g=no
4256 CFLAGS="-g"
4257 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4259
4260 int
4261 main ()
4262 {
4263
4264 ;
4265 return 0;
4266 }
4267 _ACEOF
4268 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
4269 ac_cv_prog_cc_g=yes
4270 else
4271 CFLAGS=""
4272 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4274
4275 int
4276 main ()
4277 {
4278
4279 ;
4280 return 0;
4281 }
4282 _ACEOF
4283 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
4284
4285 else
4286 ac_c_werror_flag=$ac_save_c_werror_flag
4287 CFLAGS="-g"
4288 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4289 /* end confdefs.h. */
4290
4291 int
4292 main ()
4293 {
4294
4295 ;
4296 return 0;
4297 }
4298 _ACEOF
4299 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
4300 ac_cv_prog_cc_g=yes
4301 fi
4302 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303 fi
4304 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4305 fi
4306 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4307 ac_c_werror_flag=$ac_save_c_werror_flag
4308 fi
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4310 $as_echo "$ac_cv_prog_cc_g" >&6; }
4311 if testscip-shell system . . test. "$ac_test_CFLAGS" = set; then
4312 CFLAGS=$ac_save_CFLAGS
4313 elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then
4314 if testscip-shell system . . test. "$GCC" = yes; then
4315 CFLAGS="-g -O2"
4316 else
4317 CFLAGS="-g"
4318 fi
4319 else
4320 if testscip-shell system . . test. "$GCC" = yes; then
4321 CFLAGS="-O2"
4322 else
4323 CFLAGS=
4324 fi
4325 fi
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4327 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4328 if ${ac_cv_prog_cc_c89+:} false; then :
4329 $as_echo_n "(cached) " >&6
4330 else
4331 ac_cv_prog_cc_c89=no
4332 ac_save_CC=$CC
4333 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4335 #include <stdarg.h>
4336 #include <stdio.h>
4337 struct stat;
4338 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4339 struct buf { int x; };
4340 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4341 static char *e (p, i)
4342 char **p;
4343 int i;
4344 {
4345 return p[i];
4346 }
4347 static char *f (char * (*g) (char **, int), char **p, ...)
4348 {
4349 char *s;
4350 va_list v;
4351 va_start (v,p);
4352 s = g (p, va_arg (v,int));
4353 va_end (v);
4354 return s;
4355 }
4356
4357 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4358 function prototypes and stuff, but not '\xHH' hex character constants.
4359 These don't provoke an error unfortunately, instead are silently treated
4360 as 'x'. The following induces an error, until -std is added to get
4361 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4362 array size at least. It's necessary to write '\x00'==0 to get something
4363 that's true only with -std. */
4364 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4365
4366 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4367 inside strings and character constants. */
4368 #define FOO(x) 'x'
4369 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4370
4371 int test (int i, double x);
4372 struct s1 {int (*f) (int a);};
4373 struct s2 {int (*f) (double a);};
4374 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4375 int argc;
4376 char **argv;
4377 int
4378 main ()
4379 {
4380 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4381 ;
4382 return 0;
4383 }
4384 _ACEOF
4385 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4386 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4387 do
4388 CC="$ac_save_CC $ac_arg"
4389 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
4390 ac_cv_prog_cc_c89=$ac_arg
4391 fi
4392 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext
4393 testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break
4394 done
4395 rmscip-shell system . . rm. -f conftest.$ac_ext
4396 CC=$ac_save_CC
4397
4398 fi
4399 # AC_CACHE_VAL
4400 case "x$ac_cv_prog_cc_c89" in
4401 x)
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4403 $as_echo "none needed" >&6; } ;;
4404 xno)
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4406 $as_echo "unsupported" >&6; } ;;
4407 *)
4408 CC="$CC $ac_cv_prog_cc_c89"
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4410 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4411 esac
4412 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != xno; then :
4413
4414 fi
4415
4416 ac_ext=c
4417 ac_cpp='$CPP $CPPFLAGS'
4418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4421
4422 ac_ext=c
4423 ac_cpp='$CPP $CPPFLAGS'
4424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4428 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4429 if ${am_cv_prog_cc_c_o+:} false; then :
4430 $as_echo_n "(cached) " >&6
4431 else
4432 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4433 /* end confdefs.h. */
4434
4435 int
4436 main ()
4437 {
4438
4439 ;
4440 return 0;
4441 }
4442 _ACEOF
4443 # Make sure it works both with $CC and with simple cc.
4444 # Following AC_PROG_CC_C_O, we do the test twice because some
4445 # compilers refuse to overwrite an existing .o file with -o,
4446 # though they will create one.
4447 am_cv_prog_cc_c_o=yes
4448 for am_i in 1 2; do
4449 if { echoscip-shell system . . echo. "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4450 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4451 ac_status=$?
4452 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); } \
4454 && testscip-shell system . . test. -f conftest2.$ac_objext; then
4455 : OK
4456 else
4457 am_cv_prog_cc_c_o=no
4458 break
4459 fi
4460 done
4461 rmscip-shell system . . rm. -f core conftest*
4462 unset am_i
4463 fi
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4465 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4466 if testscip-shell system . . test. "$am_cv_prog_cc_c_o" != yes; then
4467 # Losing compiler, so override with the script.
4468 # FIXME: It is wrong to rewrite CC.
4469 # But if we don't then we get into trouble of one sort or another.
4470 # A longer-term fix would be to have automake use am__CC in this case,
4471 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4472 CC="$am_aux_dir/compile $CC"
4473 fi
4474 ac_ext=c
4475 ac_cpp='$CPP $CPPFLAGS'
4476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4479
4480
4481 depcc="$CC" am_compiler_list=
4482
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4484 $as_echo_n "checking dependency style of $depcc... " >&6; }
4485 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4486 $as_echo_n "(cached) " >&6
4487 else
4488 if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then
4489 # We make a subdir and do the tests there. Otherwise we can end up
4490 # making bogus files that we don't know about and never remove. For
4491 # instance it was reported that on HP-UX the gcc test will end up
4492 # making a dummy file named 'D' -- because '-MD' means "put the output
4493 # in D".
4494 rmscip-shell system . . rm. -rf conftest.dir
4495 mkdirscip-shell system . . mkdir. conftest.dir
4496 # Copy depcomp to subdir because otherwise we won't find it if we're
4497 # using a relative directory.
4498 cpscip-shell system . . cp. "$am_depcomp" conftest.dir
4499 cd conftest.dir
4500 # We will build objects and dependencies in a subdirectory because
4501 # it helps to detect inapplicable dependency modes. For instance
4502 # both Tru64's cc and ICC support -MD to output dependencies as a
4503 # side effect of compilation, but ICC will put the dependencies in
4504 # the current directory while Tru64 will put them in the object
4505 # directory.
4506 mkdirscip-shell system . . mkdir. sub
4507
4508 am_cv_CC_dependencies_compiler_type=none
4509 if testscip-shell system . . test. "$am_compiler_list" = ""; then
4510 am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4511 fi
4512 am__universal=false
4513 case " $depcc " in #(
4514 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4515 esac
4516
4517 for depmode in $am_compiler_list; do
4518 # Setup a source with many dependencies, because some compilers
4519 # like to wrap large dependency lists on column 80 (with \), and
4520 # we should not choose a depcomp mode which is confused by this.
4521 #
4522 # We need to recreate these files for each test, as the compiler may
4523 # overwrite some of them when testing with obscure command lines.
4524 # This happens at least with the AIX C compiler.
4525 : > sub/conftest.c
4526 for i in 1 2 3 4 5 6; do
4527 echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c
4528 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4529 # Solaris 10 /bin/sh.
4530 echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h
4531 done
4532 echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4533
4534 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4535 # mode. It turns out that the SunPro C++ compiler does not properly
4536 # handle '-M -o', and we need to detect this. Also, some Intel
4537 # versions had trouble with output in subdirs.
4538 am__obj=sub/conftest.${OBJEXT-o}
4539 am__minus_obj="-o $am__obj"
4540 case $depmode in
4541 gcc)
4542 # This depmode causes a compiler race in universal mode.
4543 testscip-shell system . . test. "$am__universal" = false || continue
4544 ;;
4545 nosideeffect)
4546 # After this tag, mechanisms are not by side-effect, so they'll
4547 # only be used when explicitly requested.
4548 if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then
4549 continue
4550 else
4551 break
4552 fi
4553 ;;
4554 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4555 # This compiler won't grok '-c -o', but also, the minuso test has
4556 # not run yet. These depmodes are late enough in the game, and
4557 # so weak that their functioning should not be impacted.
4558 am__obj=conftest.${OBJEXT-o}
4559 am__minus_obj=
4560 ;;
4561 none) break ;;
4562 esac
4563 if depmode=$depmode \
4564 source=sub/conftest.c object=$am__obj \
4565 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4566 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4567 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err &&
4568 grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4569 grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4570 grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4571 ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
4572 # icc doesn't choke on unknown options, it will just issue warnings
4573 # or remarks (even with -Werror). So we grep stderr for any message
4574 # that says an option was ignored or not supported.
4575 # When given -MP, icc 7.0 and 7.1 complain thusly:
4576 # icc: Command line warning: ignoring option '-M'; no argument required
4577 # The diagnosis changed in icc 8.0:
4578 # icc: Command line remark: option '-MP' not supported
4579 if (grepscip-shell system . . grep. 'ignoring option' conftest.err ||
4580 grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
4581 am_cv_CC_dependencies_compiler_type=$depmode
4582 break
4583 fi
4584 fi
4585 done
4586
4587 cd ..
4588 rmscip-shell system . . rm. -rf conftest.dir
4589 else
4590 am_cv_CC_dependencies_compiler_type=none
4591 fi
4592
4593 fi
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4595 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4596 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4597
4598 if
4599 testscip-shell system . . test. "x$enable_dependency_tracking" != xno \
4600 && testscip-shell system . . test. "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4601 am__fastdepCC_TRUE=
4602 am__fastdepCC_FALSE='#'
4603 else
4604 am__fastdepCC_TRUE='#'
4605 am__fastdepCC_FALSE=
4606 fi
4607
4608
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4610 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4611 if ${ac_cv_path_SED+:} false; then :
4612 $as_echo_n "(cached) " >&6
4613 else
4614 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4615 for ac_i in 1 2 3 4 5 6 7; do
4616 ac_script="$ac_script$as_nl$ac_script"
4617 done
4618 echoscip-shell system . . echo. "$ac_script" 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 99q >conftest.sed
4619 { ac_script=; unset ac_script;}
4620 if testscip-shell system . . test. -z "$SED"; then
4621 ac_path_SED_found=false
4622 # Loop through the user's path and test for each of PROGNAME-LIST
4623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4624 for as_dir in $PATH
4625 do
4626 IFS=$as_save_IFS
4627 testscip-shell system . . test. -z "$as_dir" && as_dir=.
4628 for ac_prog in sed gsed; do
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4631 as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$ac_path_SED" || continue
4632 # Check for GNU ac_path_SED and select it if it is found.
4633 # Check for GNU $ac_path_SED
4634 case `"$ac_path_SED" --version 2>&1` in
4635 *GNU*)
4636 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4637 *)
4638 ac_count=0
4639 $as_echo_n 0123456789 >"conftest.in"
4640 while :
4641 do
4642 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
4643 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
4644 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
4645 $as_echo '' >> "conftest.nl"
4646 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
4647 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
4648 as_fn_arithscip-shell shell cpputest 4.0-3 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
4649 if testscip-shell system . . test. $ac_count -gt ${ac_path_SED_max-0}; then
4650 # Best one so far, save it but keep looking for a better one
4651 ac_cv_path_SED="$ac_path_SED"
4652 ac_path_SED_max=$ac_count
4653 fi
4654 # 10*(2^10) chars as input seems more than enough
4655 testscip-shell system . . test. $ac_count -gt 10 && break
4656 done
4657 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
4658 esac
4659
4660 $ac_path_SED_found && break 3
4661 done
4662 done
4663 done
4664 IFS=$as_save_IFS
4665 if testscip-shell system . . test. -z "$ac_cv_path_SED"; then
4666 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4667 fi
4668 else
4669 ac_cv_path_SED=$SED
4670 fi
4671
4672 fi
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4674 $as_echo "$ac_cv_path_SED" >&6; }
4675 SED="$ac_cv_path_SED"
4676 rmscip-shell system . . rm. -f conftest.sed
4677
4678 testscip-shell system . . test. -z "$SED" && SED=sed
4679 Xsed="$SED -e 1s/^X//"
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4692 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4693 if ${ac_cv_path_GREP+:} false; then :
4694 $as_echo_n "(cached) " >&6
4695 else
4696 if testscip-shell system . . test. -z "$GREP"; then
4697 ac_path_GREP_found=false
4698 # Loop through the user's path and test for each of PROGNAME-LIST
4699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4700 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4701 do
4702 IFS=$as_save_IFS
4703 testscip-shell system . . test. -z "$as_dir" && as_dir=.
4704 for ac_prog in grep ggrep; do
4705 for ac_exec_ext in '' $ac_executable_extensions; do
4706 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4707 as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$ac_path_GREP" || continue
4708 # Check for GNU ac_path_GREP and select it if it is found.
4709 # Check for GNU $ac_path_GREP
4710 case `"$ac_path_GREP" --version 2>&1` in
4711 *GNU*)
4712 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4713 *)
4714 ac_count=0
4715 $as_echo_n 0123456789 >"conftest.in"
4716 while :
4717 do
4718 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
4719 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
4720 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
4721 $as_echo 'GREP' >> "conftest.nl"
4722 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
4723 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
4724 as_fn_arithscip-shell shell cpputest 4.0-3 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
4725 if testscip-shell system . . test. $ac_count -gt ${ac_path_GREP_max-0}; then
4726 # Best one so far, save it but keep looking for a better one
4727 ac_cv_path_GREP="$ac_path_GREP"
4728 ac_path_GREP_max=$ac_count
4729 fi
4730 # 10*(2^10) chars as input seems more than enough
4731 testscip-shell system . . test. $ac_count -gt 10 && break
4732 done
4733 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
4734 esac
4735
4736 $ac_path_GREP_found && break 3
4737 done
4738 done
4739 done
4740 IFS=$as_save_IFS
4741 if testscip-shell system . . test. -z "$ac_cv_path_GREP"; then
4742 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4743 fi
4744 else
4745 ac_cv_path_GREP=$GREP
4746 fi
4747
4748 fi
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4750 $as_echo "$ac_cv_path_GREP" >&6; }
4751 GREP="$ac_cv_path_GREP"
4752
4753
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4755 $as_echo_n "checking for egrep... " >&6; }
4756 if ${ac_cv_path_EGREP+:} false; then :
4757 $as_echo_n "(cached) " >&6
4758 else
4759 if echoscip-shell system . . echo. a | $GREP -E '(a|b)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
4760 then ac_cv_path_EGREP="$GREP -E"
4761 else
4762 if testscip-shell system . . test. -z "$EGREP"; then
4763 ac_path_EGREP_found=false
4764 # Loop through the user's path and test for each of PROGNAME-LIST
4765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4767 do
4768 IFS=$as_save_IFS
4769 testscip-shell system . . test. -z "$as_dir" && as_dir=.
4770 for ac_prog in egrep; do
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4773 as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$ac_path_EGREP" || continue
4774 # Check for GNU ac_path_EGREP and select it if it is found.
4775 # Check for GNU $ac_path_EGREP
4776 case `"$ac_path_EGREP" --version 2>&1` in
4777 *GNU*)
4778 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4779 *)
4780 ac_count=0
4781 $as_echo_n 0123456789 >"conftest.in"
4782 while :
4783 do
4784 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
4785 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
4786 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
4787 $as_echo 'EGREP' >> "conftest.nl"
4788 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
4789 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
4790 as_fn_arithscip-shell shell cpputest 4.0-3 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
4791 if testscip-shell system . . test. $ac_count -gt ${ac_path_EGREP_max-0}; then
4792 # Best one so far, save it but keep looking for a better one
4793 ac_cv_path_EGREP="$ac_path_EGREP"
4794 ac_path_EGREP_max=$ac_count
4795 fi
4796 # 10*(2^10) chars as input seems more than enough
4797 testscip-shell system . . test. $ac_count -gt 10 && break
4798 done
4799 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
4800 esac
4801
4802 $ac_path_EGREP_found && break 3
4803 done
4804 done
4805 done
4806 IFS=$as_save_IFS
4807 if testscip-shell system . . test. -z "$ac_cv_path_EGREP"; then
4808 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4809 fi
4810 else
4811 ac_cv_path_EGREP=$EGREP
4812 fi
4813
4814 fi
4815 fi
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4817 $as_echo "$ac_cv_path_EGREP" >&6; }
4818 EGREP="$ac_cv_path_EGREP"
4819
4820
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4822 $as_echo_n "checking for fgrep... " >&6; }
4823 if ${ac_cv_path_FGREP+:} false; then :
4824 $as_echo_n "(cached) " >&6
4825 else
4826 if echoscip-shell system . . echo. 'ab*c' | $GREP -F 'ab*c' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
4827 then ac_cv_path_FGREP="$GREP -F"
4828 else
4829 if testscip-shell system . . test. -z "$FGREP"; then
4830 ac_path_FGREP_found=false
4831 # Loop through the user's path and test for each of PROGNAME-LIST
4832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4833 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4834 do
4835 IFS=$as_save_IFS
4836 testscip-shell system . . test. -z "$as_dir" && as_dir=.
4837 for ac_prog in fgrep; do
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4840 as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$ac_path_FGREP" || continue
4841 # Check for GNU ac_path_FGREP and select it if it is found.
4842 # Check for GNU $ac_path_FGREP
4843 case `"$ac_path_FGREP" --version 2>&1` in
4844 *GNU*)
4845 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4846 *)
4847 ac_count=0
4848 $as_echo_n 0123456789 >"conftest.in"
4849 while :
4850 do
4851 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
4852 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
4853 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
4854 $as_echo 'FGREP' >> "conftest.nl"
4855 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
4856 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
4857 as_fn_arithscip-shell shell cpputest 4.0-3 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
4858 if testscip-shell system . . test. $ac_count -gt ${ac_path_FGREP_max-0}; then
4859 # Best one so far, save it but keep looking for a better one
4860 ac_cv_path_FGREP="$ac_path_FGREP"
4861 ac_path_FGREP_max=$ac_count
4862 fi
4863 # 10*(2^10) chars as input seems more than enough
4864 testscip-shell system . . test. $ac_count -gt 10 && break
4865 done
4866 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
4867 esac
4868
4869 $ac_path_FGREP_found && break 3
4870 done
4871 done
4872 done
4873 IFS=$as_save_IFS
4874 if testscip-shell system . . test. -z "$ac_cv_path_FGREP"; then
4875 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4876 fi
4877 else
4878 ac_cv_path_FGREP=$FGREP
4879 fi
4880
4881 fi
4882 fi
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4884 $as_echo "$ac_cv_path_FGREP" >&6; }
4885 FGREP="$ac_cv_path_FGREP"
4886
4887
4888 testscip-shell system . . test. -z "$GREP" && GREP=grep
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908 # Check whether --with-gnu-ld was given.
4909 if testscip-shell system . . test. "${with_gnu_ld+set}" = set; then :
4910 withval=$with_gnu_ld; testscip-shell system . . test. no = "$withval" || with_gnu_ld=yes
4911 else
4912 with_gnu_ld=no
4913 fi
4914
4915 ac_prog=ld
4916 if testscip-shell system . . test. yes = "$GCC"; then
4917 # Check if gcc -print-prog-name=ld gives a path.
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4919 $as_echo_n "checking for ld used by $CC... " >&6; }
4920 case $host in
4921 *-*-mingw*)
4922 # gcc leaves a trailing carriage return, which upsets mingw
4923 ac_prog=`($CC -print-prog-name=ld) 2>&5 | trscip-shell system . . tr. -d '\015'` ;;
4924 *)
4925 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4926 esac
4927 case $ac_prog in
4928 # Accept absolute paths.
4929 [\\/]* | ?:[\\/]*)
4930 re_direlt='/[^/][^/]*/\.\./scip-shell filesystem . . `/[^/][^/]*/\.\./`.'
4931 # Canonicalize the pathname of ld
4932 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4933 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; do
4934 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4935 done
4936 testscip-shell system . . test. -z "$LD" && LD=$ac_prog
4937 ;;
4938 "")
4939 # If it fails, then pretend we aren't using GCC.
4940 ac_prog=ld
4941 ;;
4942 *)
4943 # If it is relative, then search for the first ld in PATH.
4944 with_gnu_ld=unknown
4945 ;;
4946 esac
4947 elif testscip-shell system . . test. yes = "$with_gnu_ld"; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4949 $as_echo_n "checking for GNU ld... " >&6; }
4950 else
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4952 $as_echo_n "checking for non-GNU ld... " >&6; }
4953 fi
4954 if ${lt_cv_path_LD+:} false; then :
4955 $as_echo_n "(cached) " >&6
4956 else
4957 if testscip-shell system . . test. -z "$LD"; then
4958 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4959 for ac_dir in $PATH; do
4960 IFS=$lt_save_ifs
4961 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
4962 if testscip-shell system . . test. -f "$ac_dir/$ac_prog" || testscip-shell system . . test. -f "$ac_dir/$ac_prog$ac_exeext"; then
4963 lt_cv_path_LD=$ac_dir/$ac_prog
4964 # Check to see if the program is GNU ld. I'd rather use --version,
4965 # but apparently some variants of GNU ld only accept -v.
4966 # Break only if it was the GNU/non-GNU ld that we prefer.
4967 case `"$lt_cv_path_LD" -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
4968 *GNU* | *'with BFD'*)
4969 testscip-shell system . . test. no != "$with_gnu_ld" && break
4970 ;;
4971 *)
4972 testscip-shell system . . test. yes != "$with_gnu_ld" && break
4973 ;;
4974 esac
4975 fi
4976 done
4977 IFS=$lt_save_ifs
4978 else
4979 lt_cv_path_LD=$LD # Let the user override the test with a path.
4980 fi
4981 fi
4982
4983 LD=$lt_cv_path_LD
4984 if testscip-shell system . . test. -n "$LD"; then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4986 $as_echo "$LD" >&6; }
4987 else
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4990 fi
4991 testscip-shell system . . test. -z "$LD" && as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "no acceptable ld found in \$PATH" "$LINENO" 5
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4993 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4994 if ${lt_cv_prog_gnu_ld+:} false; then :
4995 $as_echo_n "(cached) " >&6
4996 else
4997 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4998 case `$LD -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
4999 *GNU* | *'with BFD'*)
5000 lt_cv_prog_gnu_ld=yes
5001 ;;
5002 *)
5003 lt_cv_prog_gnu_ld=no
5004 ;;
5005 esac
5006 fi
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5008 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5009 with_gnu_ld=$lt_cv_prog_gnu_ld
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5020 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5021 if ${lt_cv_path_NM+:} false; then :
5022 $as_echo_n "(cached) " >&6
5023 else
5024 if testscip-shell system . . test. -n "$NM"; then
5025 # Let the user override the test.
5026 lt_cv_path_NM=$NM
5027 else
5028 lt_nm_to_check=${ac_tool_prefix}nm
5029 if testscip-shell system . . test. -n "$ac_tool_prefix" && testscip-shell system . . test. "$build" = "$host"; then
5030 lt_nm_to_check="$lt_nm_to_check nm"
5031 fi
5032 for lt_tmp_nm in $lt_nm_to_check; do
5033 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5034 for ac_dir in $PATH /usr/ccs/bin/elfscip-shell filesystem . . `/usr/ccs/bin/elf`. /usr/ccs/binscip-shell filesystem . . `/usr/ccs/bin`. /usr/ucbscip-shell filesystem . . `/usr/ucb`. /binscip-shell filesystem . . `/bin`.; do
5035 IFS=$lt_save_ifs
5036 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
5037 tmp_nm=$ac_dir/$lt_tmp_nm
5038 if testscip-shell system . . test. -f "$tmp_nm" || testscip-shell system . . test. -f "$tmp_nm$ac_exeext"; then
5039 # Check to see if the nm accepts a BSD-compat flag.
5040 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5041 # nm: unknown option "B" ignored
5042 # Tru64's nm complains that /dev/null is an invalid object file
5043 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5044 case $build_os in
5045 mingw*) lt_bad_file=conftest.nm/nofile ;;
5046 *) lt_bad_file=/dev/nullscip-shell filesystem . . `/dev/null`. ;;
5047 esac
5048 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sedscip-shell system . . sed. '1q'` in
5049 *$lt_bad_file* | *'Invalid file or object type'*)
5050 lt_cv_path_NM="$tmp_nm -B"
5051 break 2
5052 ;;
5053 *)
5054 case `"$tmp_nm" -p /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 | sedscip-shell system . . sed. '1q'` in
5055 */dev/null*)
5056 lt_cv_path_NM="$tmp_nm -p"
5057 break 2
5058 ;;
5059 *)
5060 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5061 continue # so that we can try to find one that supports BSD flags
5062 ;;
5063 esac
5064 ;;
5065 esac
5066 fi
5067 done
5068 IFS=$lt_save_ifs
5069 done
5070 : ${lt_cv_path_NM=no}
5071 fi
5072 fi
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5074 $as_echo "$lt_cv_path_NM" >&6; }
5075 if testscip-shell system . . test. no != "$lt_cv_path_NM"; then
5076 NM=$lt_cv_path_NM
5077 else
5078 # Didn't find any BSD compatible name lister, look for dumpbin.
5079 if testscip-shell system . . test. -n "$DUMPBIN"; then :
5080 # Let the user override the test.
5081 else
5082 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5083 for ac_prog in dumpbin "link -dump"
5084 do
5085 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5086 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5088 $as_echo_n "checking for $ac_word... " >&6; }
5089 if ${ac_cv_prog_DUMPBIN+:} false; then :
5090 $as_echo_n "(cached) " >&6
5091 else
5092 if testscip-shell system . . test. -n "$DUMPBIN"; then
5093 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5094 else
5095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5096 for as_dir in $PATH
5097 do
5098 IFS=$as_save_IFS
5099 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5100 for ac_exec_ext in '' $ac_executable_extensions; do
5101 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
5102 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5104 break 2
5105 fi
5106 done
5107 done
5108 IFS=$as_save_IFS
5109
5110 fi
5111 fi
5112 DUMPBIN=$ac_cv_prog_DUMPBIN
5113 if testscip-shell system . . test. -n "$DUMPBIN"; then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5115 $as_echo "$DUMPBIN" >&6; }
5116 else
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118 $as_echo "no" >&6; }
5119 fi
5120
5121
5122 testscip-shell system . . test. -n "$DUMPBIN" && break
5123 done
5124 fi
5125 if testscip-shell system . . test. -z "$DUMPBIN"; then
5126 ac_ct_DUMPBIN=$DUMPBIN
5127 for ac_prog in dumpbin "link -dump"
5128 do
5129 # Extract the first word of "$ac_prog", so it can be a program name with args.
5130 set dummy $ac_prog; ac_word=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5134 $as_echo_n "(cached) " >&6
5135 else
5136 if testscip-shell system . . test. -n "$ac_ct_DUMPBIN"; then
5137 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5138 else
5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5140 for as_dir in $PATH
5141 do
5142 IFS=$as_save_IFS
5143 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5144 for ac_exec_ext in '' $ac_executable_extensions; do
5145 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
5146 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5148 break 2
5149 fi
5150 done
5151 done
5152 IFS=$as_save_IFS
5153
5154 fi
5155 fi
5156 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5157 if testscip-shell system . . test. -n "$ac_ct_DUMPBIN"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5159 $as_echo "$ac_ct_DUMPBIN" >&6; }
5160 else
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5163 fi
5164
5165
5166 testscip-shell system . . test. -n "$ac_ct_DUMPBIN" && break
5167 done
5168
5169 if testscip-shell system . . test. "x$ac_ct_DUMPBIN" = x; then
5170 DUMPBIN=":"
5171 else
5172 case $cross_compiling:$ac_tool_warned in
5173 yes:)
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5176 ac_tool_warned=yes ;;
5177 esac
5178 DUMPBIN=$ac_ct_DUMPBIN
5179 fi
5180 fi
5181
5182 case `$DUMPBIN -symbols -headers /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 | sedscip-shell system . . sed. '1q'` in
5183 *COFF*)
5184 DUMPBIN="$DUMPBIN -symbols -headers"
5185 ;;
5186 *)
5187 DUMPBIN=:
5188 ;;
5189 esac
5190 fi
5191
5192 if testscip-shell system . . test. : != "$DUMPBIN"; then
5193 NM=$DUMPBIN
5194 fi
5195 fi
5196 testscip-shell system . . test. -z "$NM" && NM=nm
5197
5198
5199
5200
5201
5202
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5204 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5205 if ${lt_cv_nm_interface+:} false; then :
5206 $as_echo_n "(cached) " >&6
5207 else
5208 lt_cv_nm_interface="BSD nm"
5209 echoscip-shell system . . echo. "int some_variable = 0;" > conftest.$ac_ext
5210 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5211 (eval "$ac_compile" 2>conftest.err)
5212 catscip-shell system . . cat. conftest.err >&5
5213 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5214 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5215 catscip-shell system . . cat. conftest.err >&5
5216 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5217 catscip-shell system . . cat. conftest.out >&5
5218 if $GREP 'External.*some_variable' conftest.out > /dev/nullscip-shell filesystem . . `/dev/null`.; then
5219 lt_cv_nm_interface="MS dumpbin"
5220 fi
5221 rmscip-shell system . . rm. -f conftest*
5222 fi
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5224 $as_echo "$lt_cv_nm_interface" >&6; }
5225
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5227 $as_echo_n "checking whether ln -s works... " >&6; }
5228 LN_S=$as_ln_s
5229 if testscip-shell system . . test. "$LN_S" = "ln -s"; then
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5231 $as_echo "yes" >&6; }
5232 else
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5234 $as_echo "no, using $LN_S" >&6; }
5235 fi
5236
5237 # find the maximum length of command line arguments
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5239 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5240 if ${lt_cv_sys_max_cmd_len+:} false; then :
5241 $as_echo_n "(cached) " >&6
5242 else
5243 i=0
5244 teststring=ABCD
5245
5246 case $build_os in
5247 msdosdjgpp*)
5248 # On DJGPP, this test can blow up pretty badly due to problems in libc
5249 # (any single argument exceeding 2000 bytes causes a buffer overrun
5250 # during glob expansion). Even if it were fixed, the result of this
5251 # check would be larger than it should be.
5252 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5253 ;;
5254
5255 gnu*)
5256 # Under GNU Hurd, this test is not required because there is
5257 # no limit to the length of command line arguments.
5258 # Libtool will interpret -1 as no limit whatsoever
5259 lt_cv_sys_max_cmd_len=-1;
5260 ;;
5261
5262 cygwin* | mingw* | cegcc*)
5263 # On Win9x/ME, this test blows up -- it succeeds, but takes
5264 # about 5 minutes as the teststring grows exponentially.
5265 # Worse, since 9x/ME are not pre-emptively multitasking,
5266 # you end up with a "frozen" computer, even though with patience
5267 # the test eventually succeeds (with a max line length of 256k).
5268 # Instead, let's just punt: use the minimum linelength reported by
5269 # all of the supported platforms: 8192 (on NT/2K/XP).
5270 lt_cv_sys_max_cmd_len=8192;
5271 ;;
5272
5273 mint*)
5274 # On MiNT this can take a long time and run out of memory.
5275 lt_cv_sys_max_cmd_len=8192;
5276 ;;
5277
5278 amigaos*)
5279 # On AmigaOS with pdksh, this test takes hours, literally.
5280 # So we just punt and use a minimum line length of 8192.
5281 lt_cv_sys_max_cmd_len=8192;
5282 ;;
5283
5284 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5285 # This has been around since 386BSD, at least. Likely further.
5286 if testscip-shell system . . test. -x /sbin/sysctlscip-shell filesystem . . `/sbin/sysctl`.; then
5287 lt_cv_sys_max_cmd_len=`/sbin/sysctlscip-shell filesystem . . `/sbin/sysctl`. -n kern.argmax`
5288 elif testscip-shell system . . test. -x /usr/sbin/sysctlscip-shell filesystem . . `/usr/sbin/sysctl`.; then
5289 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctlscip-shell filesystem . . `/usr/sbin/sysctl`. -n kern.argmax`
5290 else
5291 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5292 fi
5293 # And add a safety zone
5294 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \/ 4`
5295 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \* 3`
5296 ;;
5297
5298 interix*)
5299 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5300 lt_cv_sys_max_cmd_len=196608
5301 ;;
5302
5303 os2*)
5304 # The test takes a long time on OS/2.
5305 lt_cv_sys_max_cmd_len=8192
5306 ;;
5307
5308 osf*)
5309 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5310 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5311 # nice to cause kernel panics so lets avoid the loop below.
5312 # First set a reasonable default.
5313 lt_cv_sys_max_cmd_len=16384
5314 #
5315 if testscip-shell system . . test. -x /sbin/sysconfigscip-shell filesystem . . `/sbin/sysconfig`.; then
5316 case `/sbin/sysconfigscip-shell filesystem . . `/sbin/sysconfig`. -q proc exec_disable_arg_limit` in
5317 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5318 esac
5319 fi
5320 ;;
5321 sco3.2v5*)
5322 lt_cv_sys_max_cmd_len=102400
5323 ;;
5324 sysv5* | sco5v6* | sysv4.2uw2*)
5325 kargmax=`grepscip-shell system . . grep. ARG_MAX /etc/conf/cf.d/stunescip-shell filesystem . . `/etc/conf/cf.d/stune`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
5326 if testscip-shell system . . test. -n "$kargmax"; then
5327 lt_cv_sys_max_cmd_len=`echoscip-shell system . . echo. $kargmax | sedscip-shell system . . sed. 's/.*[ ]//'`
5328 else
5329 lt_cv_sys_max_cmd_len=32768
5330 fi
5331 ;;
5332 *)
5333 lt_cv_sys_max_cmd_len=`(getconfscip-shell system . . getconf. ARG_MAX) 2> /dev/nullscip-shell filesystem . . `/dev/null`.`
5334 if testscip-shell system . . test. -n "$lt_cv_sys_max_cmd_len" && \
5335 test undefined != "$lt_cv_sys_max_cmd_len"; then
5336 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \/ 4`
5337 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \* 3`
5338 else
5339 # Make teststring a little bigger before we do anything with it.
5340 # a 1K string should be a reasonable start.
5341 for i in 1 2 3 4 5 6 7 8; do
5342 teststring=$teststring$teststring
5343 done
5344 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5345 # If test is not a shell built-in, we'll probably end up computing a
5346 # maximum length that is only half of the actual maximum length, but
5347 # we can't tell.
5348 while { testscip-shell system . . test. X`envscip-shell system . . env. echo "$teststring$teststring" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` \
5349 = "X$teststring$teststring"; } >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
5350 testscip-shell system . . test. 17 != "$i" # 1/2 MB should be enough
5351 do
5352 i=`exprscip-shell system . . expr. $i + 1`
5353 teststring=$teststring$teststring
5354 done
5355 # Only check the string length outside the loop.
5356 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. "X$teststring" : ".*" 2>&1`
5357 teststring=
5358 # Add a significant safety factor because C++ compilers can tack on
5359 # massive amounts of additional arguments before passing them to the
5360 # linker. It appears as though 1/2 is a usable value.
5361 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \/ 2`
5362 fi
5363 ;;
5364 esac
5365
5366 fi
5367
5368 if testscip-shell system . . test. -n "$lt_cv_sys_max_cmd_len"; then
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5370 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5371 else
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5373 $as_echo "none" >&6; }
5374 fi
5375 max_cmd_len=$lt_cv_sys_max_cmd_len
5376
5377
5378
5379
5380
5381
5382 : ${CP="cp -f"}
5383 : ${MV="mv -f"}
5384 : ${RM="rm -f"}
5385
5386 if ( (MAIL=60; unset MAIL) || exit) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
5387 lt_unset=unset
5388 else
5389 lt_unset=false
5390 fi
5391
5392
5393
5394
5395
5396 # test EBCDIC or ASCII
5397 case `echoscip-shell system . . echo. X|trscip-shell system . . tr. X '\101'` in
5398 A) # ASCII based system
5399 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5400 lt_SP2NL='tr \040 \012'
5401 lt_NL2SP='tr \015\012 \040\040'
5402 ;;
5403 *) # EBCDIC based system
5404 lt_SP2NL='tr \100 \n'
5405 lt_NL2SP='tr \r\n \100\100'
5406 ;;
5407 esac
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5418 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5419 if ${lt_cv_to_host_file_cmd+:} false; then :
5420 $as_echo_n "(cached) " >&6
5421 else
5422 case $host in
5423 *-*-mingw* )
5424 case $build in
5425 *-*-mingw* ) # actually msys
5426 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5427 ;;
5428 *-*-cygwin* )
5429 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5430 ;;
5431 * ) # otherwise, assume *nix
5432 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5433 ;;
5434 esac
5435 ;;
5436 *-*-cygwin* )
5437 case $build in
5438 *-*-mingw* ) # actually msys
5439 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5440 ;;
5441 *-*-cygwin* )
5442 lt_cv_to_host_file_cmd=func_convert_file_noop
5443 ;;
5444 * ) # otherwise, assume *nix
5445 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5446 ;;
5447 esac
5448 ;;
5449 * ) # unhandled hosts (and "normal" native builds)
5450 lt_cv_to_host_file_cmd=func_convert_file_noop
5451 ;;
5452 esac
5453
5454 fi
5455
5456 to_host_file_cmd=$lt_cv_to_host_file_cmd
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5458 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5459
5460
5461
5462
5463
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5465 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5466 if ${lt_cv_to_tool_file_cmd+:} false; then :
5467 $as_echo_n "(cached) " >&6
5468 else
5469 #assume ordinary cross tools, or native build.
5470 lt_cv_to_tool_file_cmd=func_convert_file_noop
5471 case $host in
5472 *-*-mingw* )
5473 case $build in
5474 *-*-mingw* ) # actually msys
5475 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5476 ;;
5477 esac
5478 ;;
5479 esac
5480
5481 fi
5482
5483 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5485 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5486
5487
5488
5489
5490
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5492 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5493 if ${lt_cv_ld_reload_flag+:} false; then :
5494 $as_echo_n "(cached) " >&6
5495 else
5496 lt_cv_ld_reload_flag='-r'
5497 fi
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5499 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5500 reload_flag=$lt_cv_ld_reload_flag
5501 case $reload_flag in
5502 "" | " "*) ;;
5503 *) reload_flag=" $reload_flag" ;;
5504 esac
5505 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5506 case $host_os in
5507 cygwin* | mingw* | pw32* | cegcc*)
5508 if testscip-shell system . . test. yes != "$GCC"; then
5509 reload_cmds=false
5510 fi
5511 ;;
5512 darwin*)
5513 if testscip-shell system . . test. yes = "$GCC"; then
5514 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5515 else
5516 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5517 fi
5518 ;;
5519 esac
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5530 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5531 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5533 $as_echo_n "checking for $ac_word... " >&6; }
5534 if ${ac_cv_prog_OBJDUMP+:} false; then :
5535 $as_echo_n "(cached) " >&6
5536 else
5537 if testscip-shell system . . test. -n "$OBJDUMP"; then
5538 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5539 else
5540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5541 for as_dir in $PATH
5542 do
5543 IFS=$as_save_IFS
5544 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5545 for ac_exec_ext in '' $ac_executable_extensions; do
5546 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
5547 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5549 break 2
5550 fi
5551 done
5552 done
5553 IFS=$as_save_IFS
5554
5555 fi
5556 fi
5557 OBJDUMP=$ac_cv_prog_OBJDUMP
5558 if testscip-shell system . . test. -n "$OBJDUMP"; then
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5560 $as_echo "$OBJDUMP" >&6; }
5561 else
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5563 $as_echo "no" >&6; }
5564 fi
5565
5566
5567 fi
5568 if testscip-shell system . . test. -z "$ac_cv_prog_OBJDUMP"; then
5569 ac_ct_OBJDUMP=$OBJDUMP
5570 # Extract the first word of "objdump", so it can be a program name with args.
5571 set dummy objdump; ac_word=$2
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573 $as_echo_n "checking for $ac_word... " >&6; }
5574 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5575 $as_echo_n "(cached) " >&6
5576 else
5577 if testscip-shell system . . test. -n "$ac_ct_OBJDUMP"; then
5578 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5579 else
5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581 for as_dir in $PATH
5582 do
5583 IFS=$as_save_IFS
5584 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5585 for ac_exec_ext in '' $ac_executable_extensions; do
5586 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
5587 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589 break 2
5590 fi
5591 done
5592 done
5593 IFS=$as_save_IFS
5594
5595 fi
5596 fi
5597 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5598 if testscip-shell system . . test. -n "$ac_ct_OBJDUMP"; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5600 $as_echo "$ac_ct_OBJDUMP" >&6; }
5601 else
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5603 $as_echo "no" >&6; }
5604 fi
5605
5606 if testscip-shell system . . test. "x$ac_ct_OBJDUMP" = x; then
5607 OBJDUMP="false"
5608 else
5609 case $cross_compiling:$ac_tool_warned in
5610 yes:)
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5613 ac_tool_warned=yes ;;
5614 esac
5615 OBJDUMP=$ac_ct_OBJDUMP
5616 fi
5617 else
5618 OBJDUMP="$ac_cv_prog_OBJDUMP"
5619 fi
5620
5621 testscip-shell system . . test. -z "$OBJDUMP" && OBJDUMP=objdump
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5632 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5633 if ${lt_cv_deplibs_check_method+:} false; then :
5634 $as_echo_n "(cached) " >&6
5635 else
5636 lt_cv_file_magic_cmd='$MAGIC_CMD'
5637 lt_cv_file_magic_test_file=
5638 lt_cv_deplibs_check_method='unknown'
5639 # Need to set the preceding variable on all platforms that support
5640 # interlibrary dependencies.
5641 # 'none' -- dependencies not supported.
5642 # 'unknown' -- same as none, but documents that we really don't know.
5643 # 'pass_all' -- all dependencies passed with no checks.
5644 # 'test_compile' -- check by making test program.
5645 # 'file_magic [[regex]]' -- check by looking for files in library path
5646 # that responds to the $file_magic_cmd with a given extended regex.
5647 # If you have 'file' or equivalent on your system and you're not sure
5648 # whether 'pass_all' will *always* work, you probably want this one.
5649
5650 case $host_os in
5651 aix[4-9]*)
5652 lt_cv_deplibs_check_method=pass_all
5653 ;;
5654
5655 beos*)
5656 lt_cv_deplibs_check_method=pass_all
5657 ;;
5658
5659 bsdi[45]*)
5660 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5661 lt_cv_file_magic_cmd='/usr/bin/file -Lscip-shell filesystem . . `/usr/bin/file -L`.'
5662 lt_cv_file_magic_test_file=/shlib/libc.soscip-shell filesystem . . `/shlib/libc.so`.
5663 ;;
5664
5665 cygwin*)
5666 # func_win32_libid is a shell function defined in ltmain.sh
5667 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5668 lt_cv_file_magic_cmd='func_win32_libid'
5669 ;;
5670
5671 mingw* | pw32*)
5672 # Base MSYS/MinGW do not provide the 'file' command needed by
5673 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5674 # unless we find 'file', for example because we are cross-compiling.
5675 if ( filescip-shell system . . file. /scip-shell filesystem . . `/`. ) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
5676 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5677 lt_cv_file_magic_cmd='func_win32_libid'
5678 else
5679 # Keep this pattern in sync with the one in func_win32_libid.
5680 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5681 lt_cv_file_magic_cmd='$OBJDUMP -f'
5682 fi
5683 ;;
5684
5685 cegcc*)
5686 # use the weaker test based on 'objdump'. See mingw*.
5687 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5688 lt_cv_file_magic_cmd='$OBJDUMP -f'
5689 ;;
5690
5691 darwin* | rhapsody*)
5692 lt_cv_deplibs_check_method=pass_all
5693 ;;
5694
5695 freebsd* | dragonfly*)
5696 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ > /dev/nullscip-shell filesystem . . `/dev/null`.; then
5697 case $host_cpu in
5698 i*86 )
5699 # Not sure whether the presence of OpenBSD here was a mistake.
5700 # Let's accept both of them until this is cleared up.
5701 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5702 lt_cv_file_magic_cmd=/usr/bin/filescip-shell filesystem . . `/usr/bin/file`.
5703 lt_cv_file_magic_test_file=`echoscip-shell system . . echo. /usr/lib/libc.so.*`
5704 ;;
5705 esac
5706 else
5707 lt_cv_deplibs_check_method=pass_all
5708 fi
5709 ;;
5710
5711 haiku*)
5712 lt_cv_deplibs_check_method=pass_all
5713 ;;
5714
5715 hpux10.20* | hpux11*)
5716 lt_cv_file_magic_cmd=/usr/bin/filescip-shell filesystem . . `/usr/bin/file`.
5717 case $host_cpu in
5718 ia64*)
5719 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5720 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.soscip-shell filesystem . . `/usr/lib/hpux32/libc.so`.
5721 ;;
5722 hppa*64*)
5723 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5724 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.slscip-shell filesystem . . `/usr/lib/pa20_64/libc.sl`.
5725 ;;
5726 *)
5727 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5728 lt_cv_file_magic_test_file=/usr/lib/libc.slscip-shell filesystem . . `/usr/lib/libc.sl`.
5729 ;;
5730 esac
5731 ;;
5732
5733 interix[3-9]*)
5734 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5735 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5736 ;;
5737
5738 irix5* | irix6* | nonstopux*)
5739 case $LD in
5740 *-32|*"-32 ") libmagic=32-bit;;
5741 *-n32|*"-n32 ") libmagic=N32;;
5742 *-64|*"-64 ") libmagic=64-bit;;
5743 *) libmagic=never-match;;
5744 esac
5745 lt_cv_deplibs_check_method=pass_all
5746 ;;
5747
5748 # This must be glibc/ELF.
5749 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5750 lt_cv_deplibs_check_method=pass_all
5751 ;;
5752
5753 netbsd*)
5754 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ > /dev/nullscip-shell filesystem . . `/dev/null`.; then
5755 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5756 else
5757 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5758 fi
5759 ;;
5760
5761 newos6*)
5762 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5763 lt_cv_file_magic_cmd=/usr/bin/filescip-shell filesystem . . `/usr/bin/file`.
5764 lt_cv_file_magic_test_file=/usr/lib/libnls.soscip-shell filesystem . . `/usr/lib/libnls.so`.
5765 ;;
5766
5767 *nto* | *qnx*)
5768 lt_cv_deplibs_check_method=pass_all
5769 ;;
5770
5771 openbsd* | bitrig*)
5772 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then
5773 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5774 else
5775 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5776 fi
5777 ;;
5778
5779 osf3* | osf4* | osf5*)
5780 lt_cv_deplibs_check_method=pass_all
5781 ;;
5782
5783 rdos*)
5784 lt_cv_deplibs_check_method=pass_all
5785 ;;
5786
5787 solaris*)
5788 lt_cv_deplibs_check_method=pass_all
5789 ;;
5790
5791 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5792 lt_cv_deplibs_check_method=pass_all
5793 ;;
5794
5795 sysv4 | sysv4.3*)
5796 case $host_vendor in
5797 motorola)
5798 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5799 lt_cv_file_magic_test_file=`echoscip-shell system . . echo. /usr/lib/libc.so*`
5800 ;;
5801 ncr)
5802 lt_cv_deplibs_check_method=pass_all
5803 ;;
5804 sequent)
5805 lt_cv_file_magic_cmd='/bin/filescip-shell filesystem . . `/bin/file`.'
5806 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5807 ;;
5808 sni)
5809 lt_cv_file_magic_cmd='/bin/filescip-shell filesystem . . `/bin/file`.'
5810 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5811 lt_cv_file_magic_test_file=/lib/libc.soscip-shell filesystem . . `/lib/libc.so`.
5812 ;;
5813 siemens)
5814 lt_cv_deplibs_check_method=pass_all
5815 ;;
5816 pc)
5817 lt_cv_deplibs_check_method=pass_all
5818 ;;
5819 esac
5820 ;;
5821
5822 tpf*)
5823 lt_cv_deplibs_check_method=pass_all
5824 ;;
5825 os2*)
5826 lt_cv_deplibs_check_method=pass_all
5827 ;;
5828 esac
5829
5830 fi
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5832 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5833
5834 file_magic_glob=
5835 want_nocaseglob=no
5836 if testscip-shell system . . test. "$build" = "$host"; then
5837 case $host_os in
5838 mingw* | pw32*)
5839 if ( shopt | grepscip-shell system . . grep. nocaseglob ) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
5840 want_nocaseglob=yes
5841 else
5842 file_magic_glob=`echoscip-shell system . . echo. aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5843 fi
5844 ;;
5845 esac
5846 fi
5847
5848 file_magic_cmd=$lt_cv_file_magic_cmd
5849 deplibs_check_method=$lt_cv_deplibs_check_method
5850 testscip-shell system . . test. -z "$deplibs_check_method" && deplibs_check_method=unknown
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5874 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5875 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5877 $as_echo_n "checking for $ac_word... " >&6; }
5878 if ${ac_cv_prog_DLLTOOL+:} false; then :
5879 $as_echo_n "(cached) " >&6
5880 else
5881 if testscip-shell system . . test. -n "$DLLTOOL"; then
5882 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5883 else
5884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5885 for as_dir in $PATH
5886 do
5887 IFS=$as_save_IFS
5888 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5889 for ac_exec_ext in '' $ac_executable_extensions; do
5890 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
5891 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5893 break 2
5894 fi
5895 done
5896 done
5897 IFS=$as_save_IFS
5898
5899 fi
5900 fi
5901 DLLTOOL=$ac_cv_prog_DLLTOOL
5902 if testscip-shell system . . test. -n "$DLLTOOL"; then
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5904 $as_echo "$DLLTOOL" >&6; }
5905 else
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5907 $as_echo "no" >&6; }
5908 fi
5909
5910
5911 fi
5912 if testscip-shell system . . test. -z "$ac_cv_prog_DLLTOOL"; then
5913 ac_ct_DLLTOOL=$DLLTOOL
5914 # Extract the first word of "dlltool", so it can be a program name with args.
5915 set dummy dlltool; ac_word=$2
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917 $as_echo_n "checking for $ac_word... " >&6; }
5918 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5919 $as_echo_n "(cached) " >&6
5920 else
5921 if testscip-shell system . . test. -n "$ac_ct_DLLTOOL"; then
5922 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5923 else
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5925 for as_dir in $PATH
5926 do
5927 IFS=$as_save_IFS
5928 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5929 for ac_exec_ext in '' $ac_executable_extensions; do
5930 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
5931 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 break 2
5934 fi
5935 done
5936 done
5937 IFS=$as_save_IFS
5938
5939 fi
5940 fi
5941 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5942 if testscip-shell system . . test. -n "$ac_ct_DLLTOOL"; then
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5944 $as_echo "$ac_ct_DLLTOOL" >&6; }
5945 else
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5947 $as_echo "no" >&6; }
5948 fi
5949
5950 if testscip-shell system . . test. "x$ac_ct_DLLTOOL" = x; then
5951 DLLTOOL="false"
5952 else
5953 case $cross_compiling:$ac_tool_warned in
5954 yes:)
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5957 ac_tool_warned=yes ;;
5958 esac
5959 DLLTOOL=$ac_ct_DLLTOOL
5960 fi
5961 else
5962 DLLTOOL="$ac_cv_prog_DLLTOOL"
5963 fi
5964
5965 testscip-shell system . . test. -z "$DLLTOOL" && DLLTOOL=dlltool
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5977 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5978 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5979 $as_echo_n "(cached) " >&6
5980 else
5981 lt_cv_sharedlib_from_linklib_cmd='unknown'
5982
5983 case $host_os in
5984 cygwin* | mingw* | pw32* | cegcc*)
5985 # two different shell functions defined in ltmain.sh;
5986 # decide which one to use based on capabilities of $DLLTOOL
5987 case `$DLLTOOL --help 2>&1` in
5988 *--identify-strict*)
5989 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5990 ;;
5991 *)
5992 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5993 ;;
5994 esac
5995 ;;
5996 *)
5997 # fallback: assume linklib IS sharedlib
5998 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5999 ;;
6000 esac
6001
6002 fi
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6004 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6005 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6006 testscip-shell system . . test. -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6007
6008
6009
6010
6011
6012
6013
6014
6015 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
6016 for ac_prog in ar
6017 do
6018 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6019 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; }
6022 if ${ac_cv_prog_AR+:} false; then :
6023 $as_echo_n "(cached) " >&6
6024 else
6025 if testscip-shell system . . test. -n "$AR"; then
6026 ac_cv_prog_AR="$AR" # Let the user override the test.
6027 else
6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 for as_dir in $PATH
6030 do
6031 IFS=$as_save_IFS
6032 testscip-shell system . . test. -z "$as_dir" && as_dir=.
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
6035 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037 break 2
6038 fi
6039 done
6040 done
6041 IFS=$as_save_IFS
6042
6043 fi
6044 fi
6045 AR=$ac_cv_prog_AR
6046 if testscip-shell system . . test. -n "$AR"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6048 $as_echo "$AR" >&6; }
6049 else
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6052 fi
6053
6054
6055 testscip-shell system . . test. -n "$AR" && break
6056 done
6057 fi
6058 if testscip-shell system . . test. -z "$AR"; then
6059 ac_ct_AR=$AR
6060 for ac_prog in ar
6061 do
6062 # Extract the first word of "$ac_prog", so it can be a program name with args.
6063 set dummy $ac_prog; ac_word=$2
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065 $as_echo_n "checking for $ac_word... " >&6; }
6066 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6067 $as_echo_n "(cached) " >&6
6068 else
6069 if testscip-shell system . . test. -n "$ac_ct_AR"; then
6070 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6071 else
6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 for as_dir in $PATH
6074 do
6075 IFS=$as_save_IFS
6076 testscip-shell system . . test. -z "$as_dir" && as_dir=.
6077 for ac_exec_ext in '' $ac_executable_extensions; do
6078 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
6079 ac_cv_prog_ac_ct_AR="$ac_prog"
6080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6081 break 2
6082 fi
6083 done
6084 done
6085 IFS=$as_save_IFS
6086
6087 fi
6088 fi
6089 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6090 if testscip-shell system . . test. -n "$ac_ct_AR"; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6092 $as_echo "$ac_ct_AR" >&6; }
6093 else
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 $as_echo "no" >&6; }
6096 fi
6097
6098
6099 testscip-shell system . . test. -n "$ac_ct_AR" && break
6100 done
6101
6102 if testscip-shell system . . test. "x$ac_ct_AR" = x; then
6103 AR="false"
6104 else
6105 case $cross_compiling:$ac_tool_warned in
6106 yes:)
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6109 ac_tool_warned=yes ;;
6110 esac
6111 AR=$ac_ct_AR
6112 fi
6113 fi
6114
6115 : ${AR=ar}
6116 : ${AR_FLAGS=cru}
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6129 $as_echo_n "checking for archiver @FILE support... " >&6; }
6130 if ${lt_cv_ar_at_file+:} false; then :
6131 $as_echo_n "(cached) " >&6
6132 else
6133 lt_cv_ar_at_file=no
6134 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6135 /* end confdefs.h. */
6136
6137 int
6138 main ()
6139 {
6140
6141 ;
6142 return 0;
6143 }
6144 _ACEOF
6145 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
6146 echoscip-shell system . . echo. conftest.$ac_objext > conftest.lst
6147 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6148 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6149 (eval $lt_ar_try) 2>&5
6150 ac_status=$?
6151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6152 testscip-shell system . . test. $ac_status = 0; }
6153 if testscip-shell system . . test. 0 -eq "$ac_status"; then
6154 # Ensure the archiver fails upon bogus file names.
6155 rmscip-shell system . . rm. -f conftest.$ac_objext libconftest.a
6156 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6157 (eval $lt_ar_try) 2>&5
6158 ac_status=$?
6159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6160 testscip-shell system . . test. $ac_status = 0; }
6161 if testscip-shell system . . test. 0 -ne "$ac_status"; then
6162 lt_cv_ar_at_file=@
6163 fi
6164 fi
6165 rmscip-shell system . . rm. -f conftest.* libconftest.a
6166
6167 fi
6168 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6169
6170 fi
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6172 $as_echo "$lt_cv_ar_at_file" >&6; }
6173
6174 if testscip-shell system . . test. no = "$lt_cv_ar_at_file"; then
6175 archiver_list_spec=
6176 else
6177 archiver_list_spec=$lt_cv_ar_at_file
6178 fi
6179
6180
6181
6182
6183
6184
6185
6186 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
6187 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6188 set dummy ${ac_tool_prefix}strip; ac_word=$2
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6190 $as_echo_n "checking for $ac_word... " >&6; }
6191 if ${ac_cv_prog_STRIP+:} false; then :
6192 $as_echo_n "(cached) " >&6
6193 else
6194 if testscip-shell system . . test. -n "$STRIP"; then
6195 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6196 else
6197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 for as_dir in $PATH
6199 do
6200 IFS=$as_save_IFS
6201 testscip-shell system . . test. -z "$as_dir" && as_dir=.
6202 for ac_exec_ext in '' $ac_executable_extensions; do
6203 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
6204 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6206 break 2
6207 fi
6208 done
6209 done
6210 IFS=$as_save_IFS
6211
6212 fi
6213 fi
6214 STRIP=$ac_cv_prog_STRIP
6215 if testscip-shell system . . test. -n "$STRIP"; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6217 $as_echo "$STRIP" >&6; }
6218 else
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6220 $as_echo "no" >&6; }
6221 fi
6222
6223
6224 fi
6225 if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then
6226 ac_ct_STRIP=$STRIP
6227 # Extract the first word of "strip", so it can be a program name with args.
6228 set dummy strip; ac_word=$2
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6230 $as_echo_n "checking for $ac_word... " >&6; }
6231 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6232 $as_echo_n "(cached) " >&6
6233 else
6234 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
6235 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6236 else
6237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6238 for as_dir in $PATH
6239 do
6240 IFS=$as_save_IFS
6241 testscip-shell system . . test. -z "$as_dir" && as_dir=.
6242 for ac_exec_ext in '' $ac_executable_extensions; do
6243 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
6244 ac_cv_prog_ac_ct_STRIP="strip"
6245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6246 break 2
6247 fi
6248 done
6249 done
6250 IFS=$as_save_IFS
6251
6252 fi
6253 fi
6254 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6255 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6257 $as_echo "$ac_ct_STRIP" >&6; }
6258 else
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6260 $as_echo "no" >&6; }
6261 fi
6262
6263 if testscip-shell system . . test. "x$ac_ct_STRIP" = x; then
6264 STRIP=":"
6265 else
6266 case $cross_compiling:$ac_tool_warned in
6267 yes:)
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6270 ac_tool_warned=yes ;;
6271 esac
6272 STRIP=$ac_ct_STRIP
6273 fi
6274 else
6275 STRIP="$ac_cv_prog_STRIP"
6276 fi
6277
6278 testscip-shell system . . test. -z "$STRIP" && STRIP=:
6279
6280
6281
6282
6283
6284
6285 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
6286 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6287 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6289 $as_echo_n "checking for $ac_word... " >&6; }
6290 if ${ac_cv_prog_RANLIB+:} false; then :
6291 $as_echo_n "(cached) " >&6
6292 else
6293 if testscip-shell system . . test. -n "$RANLIB"; then
6294 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6295 else
6296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297 for as_dir in $PATH
6298 do
6299 IFS=$as_save_IFS
6300 testscip-shell system . . test. -z "$as_dir" && as_dir=.
6301 for ac_exec_ext in '' $ac_executable_extensions; do
6302 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
6303 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6305 break 2
6306 fi
6307 done
6308 done
6309 IFS=$as_save_IFS
6310
6311 fi
6312 fi
6313 RANLIB=$ac_cv_prog_RANLIB
6314 if testscip-shell system . . test. -n "$RANLIB"; then
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6316 $as_echo "$RANLIB" >&6; }
6317 else
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6319 $as_echo "no" >&6; }
6320 fi
6321
6322
6323 fi
6324 if testscip-shell system . . test. -z "$ac_cv_prog_RANLIB"; then
6325 ac_ct_RANLIB=$RANLIB
6326 # Extract the first word of "ranlib", so it can be a program name with args.
6327 set dummy ranlib; ac_word=$2
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6329 $as_echo_n "checking for $ac_word... " >&6; }
6330 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6331 $as_echo_n "(cached) " >&6
6332 else
6333 if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then
6334 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6335 else
6336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6337 for as_dir in $PATH
6338 do
6339 IFS=$as_save_IFS
6340 testscip-shell system . . test. -z "$as_dir" && as_dir=.
6341 for ac_exec_ext in '' $ac_executable_extensions; do
6342 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
6343 ac_cv_prog_ac_ct_RANLIB="ranlib"
6344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6345 break 2
6346 fi
6347 done
6348 done
6349 IFS=$as_save_IFS
6350
6351 fi
6352 fi
6353 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6354 if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6356 $as_echo "$ac_ct_RANLIB" >&6; }
6357 else
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6359 $as_echo "no" >&6; }
6360 fi
6361
6362 if testscip-shell system . . test. "x$ac_ct_RANLIB" = x; then
6363 RANLIB=":"
6364 else
6365 case $cross_compiling:$ac_tool_warned in
6366 yes:)
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6369 ac_tool_warned=yes ;;
6370 esac
6371 RANLIB=$ac_ct_RANLIB
6372 fi
6373 else
6374 RANLIB="$ac_cv_prog_RANLIB"
6375 fi
6376
6377 testscip-shell system . . test. -z "$RANLIB" && RANLIB=:
6378
6379
6380
6381
6382
6383
6384 # Determine commands to create old-style static archives.
6385 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6386 old_postinstall_cmds='chmod 644 $oldlib'
6387 old_postuninstall_cmds=
6388
6389 if testscip-shell system . . test. -n "$RANLIB"; then
6390 case $host_os in
6391 bitrig* | openbsd*)
6392 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6393 ;;
6394 *)
6395 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6396 ;;
6397 esac
6398 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6399 fi
6400
6401 case $host_os in
6402 darwin*)
6403 lock_old_archive_extraction=yes ;;
6404 *)
6405 lock_old_archive_extraction=no ;;
6406 esac
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446 # If no C compiler was specified, use CC.
6447 LTCC=${LTCC-"$CC"}
6448
6449 # If no C compiler flags were specified, use CFLAGS.
6450 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6451
6452 # Allow CC to be a program name with arguments.
6453 compiler=$CC
6454
6455
6456 # Check for command to grab the raw symbol name followed by C symbol from nm.
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6458 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6459 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6460 $as_echo_n "(cached) " >&6
6461 else
6462
6463 # These are sane defaults that work on at least a few old systems.
6464 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6465
6466 # Character class describing NM global symbol codes.
6467 symcode='[BCDEGRST]'
6468
6469 # Regexp to match symbols that can be accessed directly from C.
6470 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6471
6472 # Define system-specific variables.
6473 case $host_os in
6474 aix*)
6475 symcode='[BCDT]'
6476 ;;
6477 cygwin* | mingw* | pw32* | cegcc*)
6478 symcode='[ABCDGISTW]'
6479 ;;
6480 hpux*)
6481 if testscip-shell system . . test. ia64 = "$host_cpu"; then
6482 symcode='[ABCDEGRST]'
6483 fi
6484 ;;
6485 irix* | nonstopux*)
6486 symcode='[BCDEGRST]'
6487 ;;
6488 osf*)
6489 symcode='[BCDEGQRST]'
6490 ;;
6491 solaris*)
6492 symcode='[BDRT]'
6493 ;;
6494 sco3.2v5*)
6495 symcode='[DT]'
6496 ;;
6497 sysv4.2uw2*)
6498 symcode='[DT]'
6499 ;;
6500 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6501 symcode='[ABDT]'
6502 ;;
6503 sysv4)
6504 symcode='[DFNSTU]'
6505 ;;
6506 esac
6507
6508 # If we're using GNU nm, then use its standard symbol codes.
6509 case `$NM -V 2>&1` in
6510 *GNU* | *'with BFD'*)
6511 symcode='[ABCDGIRSTW]' ;;
6512 esac
6513
6514 if testscip-shell system . . test. "$lt_cv_nm_interface" = "MS dumpbin"; then
6515 # Gets list of data symbols to import.
6516 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6517 # Adjust the below global symbol transforms to fixup imported variables.
6518 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6519 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6520 lt_c_name_lib_hook="\
6521 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6522 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6523 else
6524 # Disable hooks by default.
6525 lt_cv_sys_global_symbol_to_import=
6526 lt_cdecl_hook=
6527 lt_c_name_hook=
6528 lt_c_name_lib_hook=
6529 fi
6530
6531 # Transform an extracted symbol line into a proper C declaration.
6532 # Some systems (esp. on ia64) link data and code symbols differently,
6533 # so use this general approach.
6534 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6535 $lt_cdecl_hook\
6536 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6537 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6538
6539 # Transform an extracted symbol line into symbol name and symbol address
6540 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6541 $lt_c_name_hook\
6542 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6543 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6544
6545 # Transform an extracted symbol line into symbol name with lib prefix and
6546 # symbol address.
6547 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6548 $lt_c_name_lib_hook\
6549 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6550 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6551 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6552
6553 # Handle CRLF in mingw tool chain
6554 opt_cr=
6555 case $build_os in
6556 mingw*)
6557 opt_cr=`$ECHO 'x\{0,1\}' | trscip-shell system . . tr. x '\015'` # option cr in regexp
6558 ;;
6559 esac
6560
6561 # Try without a prefix underscore, then with it.
6562 for ac_symprfx in "" "_"; do
6563
6564 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6565 symxfrm="\\1 $ac_symprfx\\2 \\2"
6566
6567 # Write the raw and C identifiers.
6568 if testscip-shell system . . test. "$lt_cv_nm_interface" = "MS dumpbin"; then
6569 # Fake it for dumpbin and say T for any non-static function,
6570 # D for any global variable and I for any imported variable.
6571 # Also find C++ and __fastcall symbols from MSVC++,
6572 # which start with @ or ?.
6573 lt_cv_sys_global_symbol_pipe="$AWK '"\
6574 " {last_section=section; section=\$ 3};"\
6575 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6576 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6577 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6578 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6579 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6580 " \$ 0!~/External *\|/{next};"\
6581 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6582 " {if(hide[section]) next};"\
6583 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6584 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6585 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6586 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6587 " ' prfx=^$ac_symprfx"
6588 else
6589 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6590 fi
6591 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6592
6593 # Check to see that the pipe works correctly.
6594 pipe_works=no
6595
6596 rmscip-shell system . . rm. -f conftest*
6597 catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF
6598 #ifdef __cplusplus
6599 extern "C" {
6600 #endif
6601 char nm_test_var;
6602 void nm_test_func(void);
6603 void nm_test_func(void){}
6604 #ifdef __cplusplus
6605 }
6606 #endif
6607 int main(){nm_test_var='a';nm_test_func();return(0);}
6608 _LT_EOF
6609
6610 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6611 (eval $ac_compile) 2>&5
6612 ac_status=$?
6613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6614 testscip-shell system . . test. $ac_status = 0; }; then
6615 # Now try to grab the symbols.
6616 nlist=conftest.nm
6617 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6618 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6619 ac_status=$?
6620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6621 testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s "$nlist"; then
6622 # Try sorting and uniquifying the output.
6623 if sortscip-shell system . . sort. "$nlist" | uniqscip-shell system . . uniq. > "$nlist"T; then
6624 mvscip-shell system . . mv. -f "$nlist"T "$nlist"
6625 else
6626 rmscip-shell system . . rm. -f "$nlist"T
6627 fi
6628
6629 # Make sure that we snagged all the symbols we need.
6630 if $GREP ' nm_test_var$' "$nlist" >/dev/nullscip-shell filesystem . . `/dev/null`.; then
6631 if $GREP ' nm_test_func$' "$nlist" >/dev/nullscip-shell filesystem . . `/dev/null`.; then
6632 catscip-shell system . . cat. <<_LT_EOF > conftest.$ac_ext
6633 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6634 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6635 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6636 relocations are performed -- see ld's documentation on pseudo-relocs. */
6637 # define LT_DLSYM_CONST
6638 #elif defined __osf__
6639 /* This system does not cope well with relocations in const data. */
6640 # define LT_DLSYM_CONST
6641 #else
6642 # define LT_DLSYM_CONST const
6643 #endif
6644
6645 #ifdef __cplusplus
6646 extern "C" {
6647 #endif
6648
6649 _LT_EOF
6650 # Now generate the symbol file.
6651 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6652
6653 catscip-shell system . . cat. <<_LT_EOF >> conftest.$ac_ext
6654
6655 /* The mapping between symbol names and symbols. */
6656 LT_DLSYM_CONST struct {
6657 const char *name;
6658 void *address;
6659 }
6660 lt__PROGRAM__LTX_preloaded_symbols[] =
6661 {
6662 { "@PROGRAM@", (void *) 0 },
6663 _LT_EOF
6664 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6665 catscip-shell system . . cat. <<\_LT_EOF >> conftest.$ac_ext
6666 {0, (void *) 0}
6667 };
6668
6669 /* This works around a problem in FreeBSD linker */
6670 #ifdef FREEBSD_WORKAROUND
6671 static const void *lt_preloaded_setup() {
6672 return lt__PROGRAM__LTX_preloaded_symbols;
6673 }
6674 #endif
6675
6676 #ifdef __cplusplus
6677 }
6678 #endif
6679 _LT_EOF
6680 # Now try linking the two files.
6681 mvscip-shell system . . mv. conftest.$ac_objext conftstm.$ac_objext
6682 lt_globsym_save_LIBS=$LIBS
6683 lt_globsym_save_CFLAGS=$CFLAGS
6684 LIBS=conftstm.$ac_objext
6685 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6686 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6687 (eval $ac_link) 2>&5
6688 ac_status=$?
6689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6690 testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s conftest$ac_exeext; then
6691 pipe_works=yes
6692 fi
6693 LIBS=$lt_globsym_save_LIBS
6694 CFLAGS=$lt_globsym_save_CFLAGS
6695 else
6696 echoscip-shell system . . echo. "cannot find nm_test_func in $nlist" >&5
6697 fi
6698 else
6699 echoscip-shell system . . echo. "cannot find nm_test_var in $nlist" >&5
6700 fi
6701 else
6702 echoscip-shell system . . echo. "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6703 fi
6704 else
6705 echoscip-shell system . . echo. "$progname: failed program was:" >&5
6706 catscip-shell system . . cat. conftest.$ac_ext >&5
6707 fi
6708 rmscip-shell system . . rm. -rf conftest* conftst*
6709
6710 # Do not use the global_symbol_pipe unless it works.
6711 if testscip-shell system . . test. yes = "$pipe_works"; then
6712 break
6713 else
6714 lt_cv_sys_global_symbol_pipe=
6715 fi
6716 done
6717
6718 fi
6719
6720 if testscip-shell system . . test. -z "$lt_cv_sys_global_symbol_pipe"; then
6721 lt_cv_sys_global_symbol_to_cdecl=
6722 fi
6723 if testscip-shell system . . test. -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6725 $as_echo "failed" >&6; }
6726 else
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6728 $as_echo "ok" >&6; }
6729 fi
6730
6731 # Response file support.
6732 if testscip-shell system . . test. "$lt_cv_nm_interface" = "MS dumpbin"; then
6733 nm_file_list_spec='@'
6734 elif $NM --help 2>/dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. '[@]FILE' >/dev/nullscip-shell filesystem . . `/dev/null`.; then
6735 nm_file_list_spec='@'
6736 fi
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6775 $as_echo_n "checking for sysroot... " >&6; }
6776
6777 # Check whether --with-sysroot was given.
6778 if testscip-shell system . . test. "${with_sysroot+set}" = set; then :
6779 withval=$with_sysroot;
6780 else
6781 with_sysroot=no
6782 fi
6783
6784
6785 lt_sysroot=
6786 case $with_sysroot in #(
6787 yes)
6788 if testscip-shell system . . test. yes = "$GCC"; then
6789 lt_sysroot=`$CC --print-sysroot 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
6790 fi
6791 ;; #(
6792 /*)
6793 lt_sysroot=`echoscip-shell system . . echo. "$with_sysroot" | sedscip-shell system . . sed. -e "$sed_quote_subst"`
6794 ;; #(
6795 no|'')
6796 ;; #(
6797 *)
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6799 $as_echo "$with_sysroot" >&6; }
6800 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "The sysroot must be an absolute path." "$LINENO" 5
6801 ;;
6802 esac
6803
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6805 $as_echo "${lt_sysroot:-no}" >&6; }
6806
6807
6808
6809
6810
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6812 $as_echo_n "checking for a working dd... " >&6; }
6813 if ${ac_cv_path_lt_DD+:} false; then :
6814 $as_echo_n "(cached) " >&6
6815 else
6816 printfscip-shell system . . printf. 0123456789abcdef0123456789abcdef >conftest.i
6817 catscip-shell system . . cat. conftest.i conftest.i >conftest2.i
6818 : ${lt_DD:=$DD}
6819 if testscip-shell system . . test. -z "$lt_DD"; then
6820 ac_path_lt_DD_found=false
6821 # Loop through the user's path and test for each of PROGNAME-LIST
6822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6823 for as_dir in $PATH
6824 do
6825 IFS=$as_save_IFS
6826 testscip-shell system . . test. -z "$as_dir" && as_dir=.
6827 for ac_prog in dd; do
6828 for ac_exec_ext in '' $ac_executable_extensions; do
6829 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6830 as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$ac_path_lt_DD" || continue
6831 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
6832 cmpscip-shell system . . cmp. -s conftest.i conftest.out \
6833 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6834 fi
6835 $ac_path_lt_DD_found && break 3
6836 done
6837 done
6838 done
6839 IFS=$as_save_IFS
6840 if testscip-shell system . . test. -z "$ac_cv_path_lt_DD"; then
6841 :
6842 fi
6843 else
6844 ac_cv_path_lt_DD=$lt_DD
6845 fi
6846
6847 rmscip-shell system . . rm. -f conftest.i conftest2.i conftest.out
6848 fi
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6850 $as_echo "$ac_cv_path_lt_DD" >&6; }
6851
6852
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6854 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6855 if ${lt_cv_truncate_bin+:} false; then :
6856 $as_echo_n "(cached) " >&6
6857 else
6858 printfscip-shell system . . printf. 0123456789abcdef0123456789abcdef >conftest.i
6859 catscip-shell system . . cat. conftest.i conftest.i >conftest2.i
6860 lt_cv_truncate_bin=
6861 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
6862 cmpscip-shell system . . cmp. -s conftest.i conftest.out \
6863 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6864 fi
6865 rmscip-shell system . . rm. -f conftest.i conftest2.i conftest.out
6866 testscip-shell system . . test. -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6867 fi
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6869 $as_echo "$lt_cv_truncate_bin" >&6; }
6870
6871
6872
6873
6874
6875
6876
6877 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6878 func_cc_basenamescip-shell shell cpputest 4.0-3 func_cc_basename(). ()
6879 {
6880 for cc_temp in $*""; do
6881 case $cc_temp in
6882 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6883 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6884 \-*) ;;
6885 *) break;;
6886 esac
6887 done
6888 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6889 }
6890
6891 # Check whether --enable-libtool-lock was given.
6892 if testscip-shell system . . test. "${enable_libtool_lock+set}" = set; then :
6893 enableval=$enable_libtool_lock;
6894 fi
6895
6896 testscip-shell system . . test. no = "$enable_libtool_lock" || enable_libtool_lock=yes
6897
6898 # Some flags need to be propagated to the compiler or linker for good
6899 # libtool support.
6900 case $host in
6901 ia64-*-hpux*)
6902 # Find out what ABI is being produced by ac_compile, and set mode
6903 # options accordingly.
6904 echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext
6905 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6906 (eval $ac_compile) 2>&5
6907 ac_status=$?
6908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6909 testscip-shell system . . test. $ac_status = 0; }; then
6910 case `/usr/bin/filescip-shell filesystem . . `/usr/bin/file`. conftest.$ac_objext` in
6911 *ELF-32*)
6912 HPUX_IA64_MODE=32
6913 ;;
6914 *ELF-64*)
6915 HPUX_IA64_MODE=64
6916 ;;
6917 esac
6918 fi
6919 rmscip-shell system . . rm. -rf conftest*
6920 ;;
6921 *-*-irix6*)
6922 # Find out what ABI is being produced by ac_compile, and set linker
6923 # options accordingly.
6924 echoscip-shell system . . echo. '#line '$LINENO' "configure"' > conftest.$ac_ext
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6926 (eval $ac_compile) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 testscip-shell system . . test. $ac_status = 0; }; then
6930 if testscip-shell system . . test. yes = "$lt_cv_prog_gnu_ld"; then
6931 case `/usr/bin/filescip-shell filesystem . . `/usr/bin/file`. conftest.$ac_objext` in
6932 *32-bit*)
6933 LD="${LD-ld} -melf32bsmip"
6934 ;;
6935 *N32*)
6936 LD="${LD-ld} -melf32bmipn32"
6937 ;;
6938 *64-bit*)
6939 LD="${LD-ld} -melf64bmip"
6940 ;;
6941 esac
6942 else
6943 case `/usr/bin/filescip-shell filesystem . . `/usr/bin/file`. conftest.$ac_objext` in
6944 *32-bit*)
6945 LD="${LD-ld} -32"
6946 ;;
6947 *N32*)
6948 LD="${LD-ld} -n32"
6949 ;;
6950 *64-bit*)
6951 LD="${LD-ld} -64"
6952 ;;
6953 esac
6954 fi
6955 fi
6956 rmscip-shell system . . rm. -rf conftest*
6957 ;;
6958
6959 mips64*-*linux*)
6960 # Find out what ABI is being produced by ac_compile, and set linker
6961 # options accordingly.
6962 echoscip-shell system . . echo. '#line '$LINENO' "configure"' > conftest.$ac_ext
6963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6964 (eval $ac_compile) 2>&5
6965 ac_status=$?
6966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6967 testscip-shell system . . test. $ac_status = 0; }; then
6968 emul=elf
6969 case `/usr/bin/filescip-shell filesystem . . `/usr/bin/file`. conftest.$ac_objext` in
6970 *32-bit*)
6971 emul="${emul}32"
6972 ;;
6973 *64-bit*)
6974 emul="${emul}64"
6975 ;;
6976 esac
6977 case `/usr/bin/filescip-shell filesystem . . `/usr/bin/file`. conftest.$ac_objext` in
6978 *MSB*)
6979 emul="${emul}btsmip"
6980 ;;
6981 *LSB*)
6982 emul="${emul}ltsmip"
6983 ;;
6984 esac
6985 case `/usr/bin/filescip-shell filesystem . . `/usr/bin/file`. conftest.$ac_objext` in
6986 *N32*)
6987 emul="${emul}n32"
6988 ;;
6989 esac
6990 LD="${LD-ld} -m $emul"
6991 fi
6992 rmscip-shell system . . rm. -rf conftest*
6993 ;;
6994
6995 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6996 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6997 # Find out what ABI is being produced by ac_compile, and set linker
6998 # options accordingly. Note that the listed cases only cover the
6999 # situations where additional linker options are needed (such as when
7000 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7001 # vice versa); the common cases where no linker options are needed do
7002 # not appear in the list.
7003 echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext
7004 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7005 (eval $ac_compile) 2>&5
7006 ac_status=$?
7007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7008 testscip-shell system . . test. $ac_status = 0; }; then
7009 case `/usr/bin/filescip-shell filesystem . . `/usr/bin/file`. conftest.o` in
7010 *32-bit*)
7011 case $host in
7012 x86_64-*kfreebsd*-gnu)
7013 LD="${LD-ld} -m elf_i386_fbsd"
7014 ;;
7015 x86_64-*linux*)
7016 case `/usr/bin/filescip-shell filesystem . . `/usr/bin/file`. conftest.o` in
7017 *x86-64*)
7018 LD="${LD-ld} -m elf32_x86_64"
7019 ;;
7020 *)
7021 LD="${LD-ld} -m elf_i386"
7022 ;;
7023 esac
7024 ;;
7025 powerpc64le-*linux*)
7026 LD="${LD-ld} -m elf32lppclinux"
7027 ;;
7028 powerpc64-*linux*)
7029 LD="${LD-ld} -m elf32ppclinux"
7030 ;;
7031 s390x-*linux*)
7032 LD="${LD-ld} -m elf_s390"
7033 ;;
7034 sparc64-*linux*)
7035 LD="${LD-ld} -m elf32_sparc"
7036 ;;
7037 esac
7038 ;;
7039 *64-bit*)
7040 case $host in
7041 x86_64-*kfreebsd*-gnu)
7042 LD="${LD-ld} -m elf_x86_64_fbsd"
7043 ;;
7044 x86_64-*linux*)
7045 LD="${LD-ld} -m elf_x86_64"
7046 ;;
7047 powerpcle-*linux*)
7048 LD="${LD-ld} -m elf64lppc"
7049 ;;
7050 powerpc-*linux*)
7051 LD="${LD-ld} -m elf64ppc"
7052 ;;
7053 s390*-*linux*|s390*-*tpf*)
7054 LD="${LD-ld} -m elf64_s390"
7055 ;;
7056 sparc*-*linux*)
7057 LD="${LD-ld} -m elf64_sparc"
7058 ;;
7059 esac
7060 ;;
7061 esac
7062 fi
7063 rmscip-shell system . . rm. -rf conftest*
7064 ;;
7065
7066 *-*-sco3.2v5*)
7067 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7068 SAVE_CFLAGS=$CFLAGS
7069 CFLAGS="$CFLAGS -belf"
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7071 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7072 if ${lt_cv_cc_needs_belf+:} false; then :
7073 $as_echo_n "(cached) " >&6
7074 else
7075 ac_ext=c
7076 ac_cpp='$CPP $CPPFLAGS'
7077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7080
7081 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7082 /* end confdefs.h. */
7083
7084 int
7085 main ()
7086 {
7087
7088 ;
7089 return 0;
7090 }
7091 _ACEOF
7092 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
7093 lt_cv_cc_needs_belf=yes
7094 else
7095 lt_cv_cc_needs_belf=no
7096 fi
7097 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
7098 conftest$ac_exeext conftest.$ac_ext
7099 ac_ext=c
7100 ac_cpp='$CPP $CPPFLAGS'
7101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7104
7105 fi
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7107 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7108 if testscip-shell system . . test. yes != "$lt_cv_cc_needs_belf"; then
7109 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7110 CFLAGS=$SAVE_CFLAGS
7111 fi
7112 ;;
7113 *-*solaris*)
7114 # Find out what ABI is being produced by ac_compile, and set linker
7115 # options accordingly.
7116 echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext
7117 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7118 (eval $ac_compile) 2>&5
7119 ac_status=$?
7120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7121 testscip-shell system . . test. $ac_status = 0; }; then
7122 case `/usr/bin/filescip-shell filesystem . . `/usr/bin/file`. conftest.o` in
7123 *64-bit*)
7124 case $lt_cv_prog_gnu_ld in
7125 yes*)
7126 case $host in
7127 i?86-*-solaris*|x86_64-*-solaris*)
7128 LD="${LD-ld} -m elf_x86_64"
7129 ;;
7130 sparc*-*-solaris*)
7131 LD="${LD-ld} -m elf64_sparc"
7132 ;;
7133 esac
7134 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7135 if ${LD-ld} -V | grepscip-shell system . . grep. _sol2 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
7136 LD=${LD-ld}_sol2
7137 fi
7138 ;;
7139 *)
7140 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
7141 LD="${LD-ld} -64"
7142 fi
7143 ;;
7144 esac
7145 ;;
7146 esac
7147 fi
7148 rmscip-shell system . . rm. -rf conftest*
7149 ;;
7150 esac
7151
7152 need_locks=$enable_libtool_lock
7153
7154 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
7155 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7156 set dummy ${ac_tool_prefix}mt; ac_word=$2
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7158 $as_echo_n "checking for $ac_word... " >&6; }
7159 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7160 $as_echo_n "(cached) " >&6
7161 else
7162 if testscip-shell system . . test. -n "$MANIFEST_TOOL"; then
7163 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7164 else
7165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7166 for as_dir in $PATH
7167 do
7168 IFS=$as_save_IFS
7169 testscip-shell system . . test. -z "$as_dir" && as_dir=.
7170 for ac_exec_ext in '' $ac_executable_extensions; do
7171 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
7172 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7174 break 2
7175 fi
7176 done
7177 done
7178 IFS=$as_save_IFS
7179
7180 fi
7181 fi
7182 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7183 if testscip-shell system . . test. -n "$MANIFEST_TOOL"; then
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7185 $as_echo "$MANIFEST_TOOL" >&6; }
7186 else
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7188 $as_echo "no" >&6; }
7189 fi
7190
7191
7192 fi
7193 if testscip-shell system . . test. -z "$ac_cv_prog_MANIFEST_TOOL"; then
7194 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7195 # Extract the first word of "mt", so it can be a program name with args.
7196 set dummy mt; ac_word=$2
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7198 $as_echo_n "checking for $ac_word... " >&6; }
7199 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7200 $as_echo_n "(cached) " >&6
7201 else
7202 if testscip-shell system . . test. -n "$ac_ct_MANIFEST_TOOL"; then
7203 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7204 else
7205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7206 for as_dir in $PATH
7207 do
7208 IFS=$as_save_IFS
7209 testscip-shell system . . test. -z "$as_dir" && as_dir=.
7210 for ac_exec_ext in '' $ac_executable_extensions; do
7211 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
7212 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7214 break 2
7215 fi
7216 done
7217 done
7218 IFS=$as_save_IFS
7219
7220 fi
7221 fi
7222 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7223 if testscip-shell system . . test. -n "$ac_ct_MANIFEST_TOOL"; then
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7225 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7226 else
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7228 $as_echo "no" >&6; }
7229 fi
7230
7231 if testscip-shell system . . test. "x$ac_ct_MANIFEST_TOOL" = x; then
7232 MANIFEST_TOOL=":"
7233 else
7234 case $cross_compiling:$ac_tool_warned in
7235 yes:)
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7238 ac_tool_warned=yes ;;
7239 esac
7240 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7241 fi
7242 else
7243 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7244 fi
7245
7246 testscip-shell system . . test. -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7248 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7249 if ${lt_cv_path_mainfest_tool+:} false; then :
7250 $as_echo_n "(cached) " >&6
7251 else
7252 lt_cv_path_mainfest_tool=no
7253 echoscip-shell system . . echo. "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7254 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7255 catscip-shell system . . cat. conftest.err >&5
7256 if $GREP 'Manifest Tool' conftest.out > /dev/nullscip-shell filesystem . . `/dev/null`.; then
7257 lt_cv_path_mainfest_tool=yes
7258 fi
7259 rmscip-shell system . . rm. -f conftest*
7260 fi
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7262 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7263 if testscip-shell system . . test. yes != "$lt_cv_path_mainfest_tool"; then
7264 MANIFEST_TOOL=:
7265 fi
7266
7267
7268
7269
7270
7271
7272 case $host_os in
7273 rhapsody* | darwin*)
7274 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
7275 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7276 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7278 $as_echo_n "checking for $ac_word... " >&6; }
7279 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7280 $as_echo_n "(cached) " >&6
7281 else
7282 if testscip-shell system . . test. -n "$DSYMUTIL"; then
7283 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7284 else
7285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7286 for as_dir in $PATH
7287 do
7288 IFS=$as_save_IFS
7289 testscip-shell system . . test. -z "$as_dir" && as_dir=.
7290 for ac_exec_ext in '' $ac_executable_extensions; do
7291 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
7292 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7294 break 2
7295 fi
7296 done
7297 done
7298 IFS=$as_save_IFS
7299
7300 fi
7301 fi
7302 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7303 if testscip-shell system . . test. -n "$DSYMUTIL"; then
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7305 $as_echo "$DSYMUTIL" >&6; }
7306 else
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7308 $as_echo "no" >&6; }
7309 fi
7310
7311
7312 fi
7313 if testscip-shell system . . test. -z "$ac_cv_prog_DSYMUTIL"; then
7314 ac_ct_DSYMUTIL=$DSYMUTIL
7315 # Extract the first word of "dsymutil", so it can be a program name with args.
7316 set dummy dsymutil; ac_word=$2
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7318 $as_echo_n "checking for $ac_word... " >&6; }
7319 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7320 $as_echo_n "(cached) " >&6
7321 else
7322 if testscip-shell system . . test. -n "$ac_ct_DSYMUTIL"; then
7323 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7324 else
7325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7326 for as_dir in $PATH
7327 do
7328 IFS=$as_save_IFS
7329 testscip-shell system . . test. -z "$as_dir" && as_dir=.
7330 for ac_exec_ext in '' $ac_executable_extensions; do
7331 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
7332 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7334 break 2
7335 fi
7336 done
7337 done
7338 IFS=$as_save_IFS
7339
7340 fi
7341 fi
7342 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7343 if testscip-shell system . . test. -n "$ac_ct_DSYMUTIL"; then
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7345 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7346 else
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7348 $as_echo "no" >&6; }
7349 fi
7350
7351 if testscip-shell system . . test. "x$ac_ct_DSYMUTIL" = x; then
7352 DSYMUTIL=":"
7353 else
7354 case $cross_compiling:$ac_tool_warned in
7355 yes:)
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7358 ac_tool_warned=yes ;;
7359 esac
7360 DSYMUTIL=$ac_ct_DSYMUTIL
7361 fi
7362 else
7363 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7364 fi
7365
7366 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
7367 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7368 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7370 $as_echo_n "checking for $ac_word... " >&6; }
7371 if ${ac_cv_prog_NMEDIT+:} false; then :
7372 $as_echo_n "(cached) " >&6
7373 else
7374 if testscip-shell system . . test. -n "$NMEDIT"; then
7375 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7376 else
7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7378 for as_dir in $PATH
7379 do
7380 IFS=$as_save_IFS
7381 testscip-shell system . . test. -z "$as_dir" && as_dir=.
7382 for ac_exec_ext in '' $ac_executable_extensions; do
7383 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
7384 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7386 break 2
7387 fi
7388 done
7389 done
7390 IFS=$as_save_IFS
7391
7392 fi
7393 fi
7394 NMEDIT=$ac_cv_prog_NMEDIT
7395 if testscip-shell system . . test. -n "$NMEDIT"; then
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7397 $as_echo "$NMEDIT" >&6; }
7398 else
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 $as_echo "no" >&6; }
7401 fi
7402
7403
7404 fi
7405 if testscip-shell system . . test. -z "$ac_cv_prog_NMEDIT"; then
7406 ac_ct_NMEDIT=$NMEDIT
7407 # Extract the first word of "nmedit", so it can be a program name with args.
7408 set dummy nmedit; ac_word=$2
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7410 $as_echo_n "checking for $ac_word... " >&6; }
7411 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7412 $as_echo_n "(cached) " >&6
7413 else
7414 if testscip-shell system . . test. -n "$ac_ct_NMEDIT"; then
7415 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7416 else
7417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7418 for as_dir in $PATH
7419 do
7420 IFS=$as_save_IFS
7421 testscip-shell system . . test. -z "$as_dir" && as_dir=.
7422 for ac_exec_ext in '' $ac_executable_extensions; do
7423 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
7424 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7426 break 2
7427 fi
7428 done
7429 done
7430 IFS=$as_save_IFS
7431
7432 fi
7433 fi
7434 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7435 if testscip-shell system . . test. -n "$ac_ct_NMEDIT"; then
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7437 $as_echo "$ac_ct_NMEDIT" >&6; }
7438 else
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7440 $as_echo "no" >&6; }
7441 fi
7442
7443 if testscip-shell system . . test. "x$ac_ct_NMEDIT" = x; then
7444 NMEDIT=":"
7445 else
7446 case $cross_compiling:$ac_tool_warned in
7447 yes:)
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7450 ac_tool_warned=yes ;;
7451 esac
7452 NMEDIT=$ac_ct_NMEDIT
7453 fi
7454 else
7455 NMEDIT="$ac_cv_prog_NMEDIT"
7456 fi
7457
7458 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
7459 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7460 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7462 $as_echo_n "checking for $ac_word... " >&6; }
7463 if ${ac_cv_prog_LIPO+:} false; then :
7464 $as_echo_n "(cached) " >&6
7465 else
7466 if testscip-shell system . . test. -n "$LIPO"; then
7467 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7468 else
7469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7470 for as_dir in $PATH
7471 do
7472 IFS=$as_save_IFS
7473 testscip-shell system . . test. -z "$as_dir" && as_dir=.
7474 for ac_exec_ext in '' $ac_executable_extensions; do
7475 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
7476 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7478 break 2
7479 fi
7480 done
7481 done
7482 IFS=$as_save_IFS
7483
7484 fi
7485 fi
7486 LIPO=$ac_cv_prog_LIPO
7487 if testscip-shell system . . test. -n "$LIPO"; then
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7489 $as_echo "$LIPO" >&6; }
7490 else
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7492 $as_echo "no" >&6; }
7493 fi
7494
7495
7496 fi
7497 if testscip-shell system . . test. -z "$ac_cv_prog_LIPO"; then
7498 ac_ct_LIPO=$LIPO
7499 # Extract the first word of "lipo", so it can be a program name with args.
7500 set dummy lipo; ac_word=$2
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7502 $as_echo_n "checking for $ac_word... " >&6; }
7503 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7504 $as_echo_n "(cached) " >&6
7505 else
7506 if testscip-shell system . . test. -n "$ac_ct_LIPO"; then
7507 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7508 else
7509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7510 for as_dir in $PATH
7511 do
7512 IFS=$as_save_IFS
7513 testscip-shell system . . test. -z "$as_dir" && as_dir=.
7514 for ac_exec_ext in '' $ac_executable_extensions; do
7515 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
7516 ac_cv_prog_ac_ct_LIPO="lipo"
7517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7518 break 2
7519 fi
7520 done
7521 done
7522 IFS=$as_save_IFS
7523
7524 fi
7525 fi
7526 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7527 if testscip-shell system . . test. -n "$ac_ct_LIPO"; then
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7529 $as_echo "$ac_ct_LIPO" >&6; }
7530 else
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7532 $as_echo "no" >&6; }
7533 fi
7534
7535 if testscip-shell system . . test. "x$ac_ct_LIPO" = x; then
7536 LIPO=":"
7537 else
7538 case $cross_compiling:$ac_tool_warned in
7539 yes:)
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7542 ac_tool_warned=yes ;;
7543 esac
7544 LIPO=$ac_ct_LIPO
7545 fi
7546 else
7547 LIPO="$ac_cv_prog_LIPO"
7548 fi
7549
7550 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
7551 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7552 set dummy ${ac_tool_prefix}otool; ac_word=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7554 $as_echo_n "checking for $ac_word... " >&6; }
7555 if ${ac_cv_prog_OTOOL+:} false; then :
7556 $as_echo_n "(cached) " >&6
7557 else
7558 if testscip-shell system . . test. -n "$OTOOL"; then
7559 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7560 else
7561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7562 for as_dir in $PATH
7563 do
7564 IFS=$as_save_IFS
7565 testscip-shell system . . test. -z "$as_dir" && as_dir=.
7566 for ac_exec_ext in '' $ac_executable_extensions; do
7567 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
7568 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7570 break 2
7571 fi
7572 done
7573 done
7574 IFS=$as_save_IFS
7575
7576 fi
7577 fi
7578 OTOOL=$ac_cv_prog_OTOOL
7579 if testscip-shell system . . test. -n "$OTOOL"; then
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7581 $as_echo "$OTOOL" >&6; }
7582 else
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584 $as_echo "no" >&6; }
7585 fi
7586
7587
7588 fi
7589 if testscip-shell system . . test. -z "$ac_cv_prog_OTOOL"; then
7590 ac_ct_OTOOL=$OTOOL
7591 # Extract the first word of "otool", so it can be a program name with args.
7592 set dummy otool; ac_word=$2
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7594 $as_echo_n "checking for $ac_word... " >&6; }
7595 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7596 $as_echo_n "(cached) " >&6
7597 else
7598 if testscip-shell system . . test. -n "$ac_ct_OTOOL"; then
7599 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7600 else
7601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7602 for as_dir in $PATH
7603 do
7604 IFS=$as_save_IFS
7605 testscip-shell system . . test. -z "$as_dir" && as_dir=.
7606 for ac_exec_ext in '' $ac_executable_extensions; do
7607 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
7608 ac_cv_prog_ac_ct_OTOOL="otool"
7609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7610 break 2
7611 fi
7612 done
7613 done
7614 IFS=$as_save_IFS
7615
7616 fi
7617 fi
7618 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7619 if testscip-shell system . . test. -n "$ac_ct_OTOOL"; then
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7621 $as_echo "$ac_ct_OTOOL" >&6; }
7622 else
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7624 $as_echo "no" >&6; }
7625 fi
7626
7627 if testscip-shell system . . test. "x$ac_ct_OTOOL" = x; then
7628 OTOOL=":"
7629 else
7630 case $cross_compiling:$ac_tool_warned in
7631 yes:)
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7634 ac_tool_warned=yes ;;
7635 esac
7636 OTOOL=$ac_ct_OTOOL
7637 fi
7638 else
7639 OTOOL="$ac_cv_prog_OTOOL"
7640 fi
7641
7642 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
7643 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7644 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7646 $as_echo_n "checking for $ac_word... " >&6; }
7647 if ${ac_cv_prog_OTOOL64+:} false; then :
7648 $as_echo_n "(cached) " >&6
7649 else
7650 if testscip-shell system . . test. -n "$OTOOL64"; then
7651 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7652 else
7653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7654 for as_dir in $PATH
7655 do
7656 IFS=$as_save_IFS
7657 testscip-shell system . . test. -z "$as_dir" && as_dir=.
7658 for ac_exec_ext in '' $ac_executable_extensions; do
7659 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
7660 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7662 break 2
7663 fi
7664 done
7665 done
7666 IFS=$as_save_IFS
7667
7668 fi
7669 fi
7670 OTOOL64=$ac_cv_prog_OTOOL64
7671 if testscip-shell system . . test. -n "$OTOOL64"; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7673 $as_echo "$OTOOL64" >&6; }
7674 else
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7676 $as_echo "no" >&6; }
7677 fi
7678
7679
7680 fi
7681 if testscip-shell system . . test. -z "$ac_cv_prog_OTOOL64"; then
7682 ac_ct_OTOOL64=$OTOOL64
7683 # Extract the first word of "otool64", so it can be a program name with args.
7684 set dummy otool64; ac_word=$2
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7686 $as_echo_n "checking for $ac_word... " >&6; }
7687 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7688 $as_echo_n "(cached) " >&6
7689 else
7690 if testscip-shell system . . test. -n "$ac_ct_OTOOL64"; then
7691 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7692 else
7693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7694 for as_dir in $PATH
7695 do
7696 IFS=$as_save_IFS
7697 testscip-shell system . . test. -z "$as_dir" && as_dir=.
7698 for ac_exec_ext in '' $ac_executable_extensions; do
7699 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
7700 ac_cv_prog_ac_ct_OTOOL64="otool64"
7701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7702 break 2
7703 fi
7704 done
7705 done
7706 IFS=$as_save_IFS
7707
7708 fi
7709 fi
7710 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7711 if testscip-shell system . . test. -n "$ac_ct_OTOOL64"; then
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7713 $as_echo "$ac_ct_OTOOL64" >&6; }
7714 else
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7716 $as_echo "no" >&6; }
7717 fi
7718
7719 if testscip-shell system . . test. "x$ac_ct_OTOOL64" = x; then
7720 OTOOL64=":"
7721 else
7722 case $cross_compiling:$ac_tool_warned in
7723 yes:)
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7726 ac_tool_warned=yes ;;
7727 esac
7728 OTOOL64=$ac_ct_OTOOL64
7729 fi
7730 else
7731 OTOOL64="$ac_cv_prog_OTOOL64"
7732 fi
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7761 $as_echo_n "checking for -single_module linker flag... " >&6; }
7762 if ${lt_cv_apple_cc_single_mod+:} false; then :
7763 $as_echo_n "(cached) " >&6
7764 else
7765 lt_cv_apple_cc_single_mod=no
7766 if testscip-shell system . . test. -z "$LT_MULTI_MODULE"; then
7767 # By default we will add the -single_module flag. You can override
7768 # by either setting the environment variable LT_MULTI_MODULE
7769 # non-empty at configure time, or by adding -multi_module to the
7770 # link flags.
7771 rmscip-shell system . . rm. -rf libconftest.dylib*
7772 echoscip-shell system . . echo. "int foo(void){return 1;}" > conftest.c
7773 echoscip-shell system . . echo. "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7774 -dynamiclib -Wl,-single_module conftest.c" >&5
7775 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7776 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7777 _lt_result=$?
7778 # If there is a non-empty error log, and "single_module"
7779 # appears in it, assume the flag caused a linker warning
7780 if testscip-shell system . . test. -s conftest.err && $GREP single_module conftest.err; then
7781 catscip-shell system . . cat. conftest.err >&5
7782 # Otherwise, if the output was created with a 0 exit code from
7783 # the compiler, it worked.
7784 elif testscip-shell system . . test. -f libconftest.dylib && testscip-shell system . . test. 0 = "$_lt_result"; then
7785 lt_cv_apple_cc_single_mod=yes
7786 else
7787 catscip-shell system . . cat. conftest.err >&5
7788 fi
7789 rmscip-shell system . . rm. -rf libconftest.dylib*
7790 rmscip-shell system . . rm. -f conftest.*
7791 fi
7792 fi
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7794 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7795
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7797 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7798 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7799 $as_echo_n "(cached) " >&6
7800 else
7801 lt_cv_ld_exported_symbols_list=no
7802 save_LDFLAGS=$LDFLAGS
7803 echoscip-shell system . . echo. "_main" > conftest.sym
7804 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7805 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7806 /* end confdefs.h. */
7807
7808 int
7809 main ()
7810 {
7811
7812 ;
7813 return 0;
7814 }
7815 _ACEOF
7816 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
7817 lt_cv_ld_exported_symbols_list=yes
7818 else
7819 lt_cv_ld_exported_symbols_list=no
7820 fi
7821 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
7822 conftest$ac_exeext conftest.$ac_ext
7823 LDFLAGS=$save_LDFLAGS
7824
7825 fi
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7827 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7828
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7830 $as_echo_n "checking for -force_load linker flag... " >&6; }
7831 if ${lt_cv_ld_force_load+:} false; then :
7832 $as_echo_n "(cached) " >&6
7833 else
7834 lt_cv_ld_force_load=no
7835 catscip-shell system . . cat. > conftest.c << _LT_EOF
7836 int forced_loaded() { return 2;}
7837 _LT_EOF
7838 echoscip-shell system . . echo. "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7839 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7840 echoscip-shell system . . echo. "$AR cru libconftest.a conftest.o" >&5
7841 $AR cru libconftest.a conftest.o 2>&5
7842 echoscip-shell system . . echo. "$RANLIB libconftest.a" >&5
7843 $RANLIB libconftest.a 2>&5
7844 catscip-shell system . . cat. > conftest.c << _LT_EOF
7845 int main() { return 0;}
7846 _LT_EOF
7847 echoscip-shell system . . echo. "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7848 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7849 _lt_result=$?
7850 if testscip-shell system . . test. -s conftest.err && $GREP force_load conftest.err; then
7851 catscip-shell system . . cat. conftest.err >&5
7852 elif testscip-shell system . . test. -f conftest && testscip-shell system . . test. 0 = "$_lt_result" && $GREP forced_load conftest >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
7853 lt_cv_ld_force_load=yes
7854 else
7855 catscip-shell system . . cat. conftest.err >&5
7856 fi
7857 rmscip-shell system . . rm. -f conftest.err libconftest.a conftest conftest.c
7858 rmscip-shell system . . rm. -rf conftest.dSYM
7859
7860 fi
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7862 $as_echo "$lt_cv_ld_force_load" >&6; }
7863 case $host_os in
7864 rhapsody* | darwin1.[012])
7865 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7866 darwin1.*)
7867 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7868 darwin*) # darwin 5.x on
7869 # if running on 10.5 or later, the deployment target defaults
7870 # to the OS version, if on x86, and 10.4, the deployment
7871 # target defaults to 10.4. Don't you love it?
7872 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7873 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7874 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7875 10.[012][,.]*)
7876 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7877 10.*)
7878 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7879 esac
7880 ;;
7881 esac
7882 if testscip-shell system . . test. yes = "$lt_cv_apple_cc_single_mod"; then
7883 _lt_dar_single_mod='$single_module'
7884 fi
7885 if testscip-shell system . . test. yes = "$lt_cv_ld_exported_symbols_list"; then
7886 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7887 else
7888 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7889 fi
7890 if testscip-shell system . . test. : != "$DSYMUTIL" && testscip-shell system . . test. no = "$lt_cv_ld_force_load"; then
7891 _lt_dsymutil='~$DSYMUTIL $lib || :'
7892 else
7893 _lt_dsymutil=
7894 fi
7895 ;;
7896 esac
7897
7898 # func_munge_path_list VARIABLE PATH
7899 # -----------------------------------
7900 # VARIABLE is name of variable containing _space_ separated list of
7901 # directories to be munged by the contents of PATH, which is string
7902 # having a format:
7903 # "DIR[:DIR]:"
7904 # string "DIR[ DIR]" will be prepended to VARIABLE
7905 # ":DIR[:DIR]"
7906 # string "DIR[ DIR]" will be appended to VARIABLE
7907 # "DIRP[:DIRP]::[DIRA:]DIRA"
7908 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7909 # "DIRA[ DIRA]" will be appended to VARIABLE
7910 # "DIR[:DIR]"
7911 # VARIABLE will be replaced by "DIR[ DIR]"
7912 func_munge_path_listscip-shell shell cpputest 4.0-3 func_munge_path_list(). ()
7913 {
7914 case x$2 in
7915 x)
7916 ;;
7917 *:)
7918 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7919 ;;
7920 x:*)
7921 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7922 ;;
7923 *::*)
7924 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7925 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7926 ;;
7927 *)
7928 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7929 ;;
7930 esac
7931 }
7932
7933 ac_ext=c
7934 ac_cpp='$CPP $CPPFLAGS'
7935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7939 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7940 # On Suns, sometimes $CPP names a directory.
7941 if testscip-shell system . . test. -n "$CPP" && testscip-shell system . . test. -d "$CPP"; then
7942 CPP=
7943 fi
7944 if testscip-shell system . . test. -z "$CPP"; then
7945 if ${ac_cv_prog_CPP+:} false; then :
7946 $as_echo_n "(cached) " >&6
7947 else
7948 # Double quotes because CPP needs to be expanded
7949 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cppscip-shell filesystem . . `/lib/cpp`."
7950 do
7951 ac_preproc_ok=false
7952 for ac_c_preproc_warn_flag in '' yes
7953 do
7954 # Use a header file that comes with gcc, so configuring glibc
7955 # with a fresh cross-compiler works.
7956 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7957 # <limits.h> exists even on freestanding compilers.
7958 # On the NeXT, cc -E runs the code through the compiler's parser,
7959 # not just through cpp. "Syntax error" is here to catch this case.
7960 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7961 /* end confdefs.h. */
7962 #ifdef __STDC__
7963 # include <limits.h>
7964 #else
7965 # include <assert.h>
7966 #endif
7967 Syntax error
7968 _ACEOF
7969 if ac_fn_c_try_cppscip-shell shell cpputest 4.0-3 ac_fn_c_try_cpp(). "$LINENO"; then :
7970
7971 else
7972 # Broken: fails on valid input.
7973 continue
7974 fi
7975 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
7976
7977 # OK, works on sane cases. Now check whether nonexistent headers
7978 # can be detected and how.
7979 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7980 /* end confdefs.h. */
7981 #include <ac_nonexistent.h>
7982 _ACEOF
7983 if ac_fn_c_try_cppscip-shell shell cpputest 4.0-3 ac_fn_c_try_cpp(). "$LINENO"; then :
7984 # Broken: success on invalid input.
7985 continue
7986 else
7987 # Passes both tests.
7988 ac_preproc_ok=:
7989 break
7990 fi
7991 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
7992
7993 done
7994 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7995 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
7996 if $ac_preproc_ok; then :
7997 break
7998 fi
7999
8000 done
8001 ac_cv_prog_CPP=$CPP
8002
8003 fi
8004 CPP=$ac_cv_prog_CPP
8005 else
8006 ac_cv_prog_CPP=$CPP
8007 fi
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8009 $as_echo "$CPP" >&6; }
8010 ac_preproc_ok=false
8011 for ac_c_preproc_warn_flag in '' yes
8012 do
8013 # Use a header file that comes with gcc, so configuring glibc
8014 # with a fresh cross-compiler works.
8015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8016 # <limits.h> exists even on freestanding compilers.
8017 # On the NeXT, cc -E runs the code through the compiler's parser,
8018 # not just through cpp. "Syntax error" is here to catch this case.
8019 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8020 /* end confdefs.h. */
8021 #ifdef __STDC__
8022 # include <limits.h>
8023 #else
8024 # include <assert.h>
8025 #endif
8026 Syntax error
8027 _ACEOF
8028 if ac_fn_c_try_cppscip-shell shell cpputest 4.0-3 ac_fn_c_try_cpp(). "$LINENO"; then :
8029
8030 else
8031 # Broken: fails on valid input.
8032 continue
8033 fi
8034 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
8035
8036 # OK, works on sane cases. Now check whether nonexistent headers
8037 # can be detected and how.
8038 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8039 /* end confdefs.h. */
8040 #include <ac_nonexistent.h>
8041 _ACEOF
8042 if ac_fn_c_try_cppscip-shell shell cpputest 4.0-3 ac_fn_c_try_cpp(). "$LINENO"; then :
8043 # Broken: success on invalid input.
8044 continue
8045 else
8046 # Passes both tests.
8047 ac_preproc_ok=:
8048 break
8049 fi
8050 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
8051
8052 done
8053 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8054 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
8055 if $ac_preproc_ok; then :
8056
8057 else
8058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8060 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "C preprocessor \"$CPP\" fails sanity check
8061 See \`config.log' for more details" "$LINENO" 5; }
8062 fi
8063
8064 ac_ext=c
8065 ac_cpp='$CPP $CPPFLAGS'
8066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8069
8070
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8072 $as_echo_n "checking for ANSI C header files... " >&6; }
8073 if ${ac_cv_header_stdc+:} false; then :
8074 $as_echo_n "(cached) " >&6
8075 else
8076 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8077 /* end confdefs.h. */
8078 #include <stdlib.h>
8079 #include <stdarg.h>
8080 #include <string.h>
8081 #include <float.h>
8082
8083 int
8084 main ()
8085 {
8086
8087 ;
8088 return 0;
8089 }
8090 _ACEOF
8091 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
8092 ac_cv_header_stdc=yes
8093 else
8094 ac_cv_header_stdc=no
8095 fi
8096 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8097
8098 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
8099 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8100 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8101 /* end confdefs.h. */
8102 #include <string.h>
8103
8104 _ACEOF
8105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8106 $EGREP "memchr" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :
8107
8108 else
8109 ac_cv_header_stdc=no
8110 fi
8111 rmscip-shell system . . rm. -f conftest*
8112
8113 fi
8114
8115 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
8116 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8117 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8118 /* end confdefs.h. */
8119 #include <stdlib.h>
8120
8121 _ACEOF
8122 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8123 $EGREP "free" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :
8124
8125 else
8126 ac_cv_header_stdc=no
8127 fi
8128 rmscip-shell system . . rm. -f conftest*
8129
8130 fi
8131
8132 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
8133 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8134 if testscip-shell system . . test. "$cross_compiling" = yes; then :
8135 :
8136 else
8137 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8138 /* end confdefs.h. */
8139 #include <ctype.h>
8140 #include <stdlib.h>
8141 #if ((' ' & 0x0FF) == 0x020)
8142 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8143 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8144 #else
8145 # define ISLOWER(c) \
8146 (('a' <= (c) && (c) <= 'i') \
8147 || ('j' <= (c) && (c) <= 'r') \
8148 || ('s' <= (c) && (c) <= 'z'))
8149 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8150 #endif
8151
8152 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8153 int
8154 main ()
8155 {
8156 int i;
8157 for (i = 0; i < 256; i++)
8158 if (XOR (islower (i), ISLOWER (i))
8159 || toupper (i) != TOUPPER (i))
8160 return 2;
8161 return 0;
8162 }
8163 _ACEOF
8164 if ac_fn_c_try_runscip-shell shell cpputest 4.0-3 ac_fn_c_try_run(). "$LINENO"; then :
8165
8166 else
8167 ac_cv_header_stdc=no
8168 fi
8169 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8170 conftest.$ac_objext conftest.beam conftest.$ac_ext
8171 fi
8172
8173 fi
8174 fi
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8176 $as_echo "$ac_cv_header_stdc" >&6; }
8177 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
8178
8179 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8180
8181 fi
8182
8183 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8184 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8185 inttypes.h stdint.h unistd.h
8186 do :
8187 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8188 ac_fn_c_check_header_compilescip-shell shell cpputest 4.0-3 ac_fn_c_check_header_compile(). "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8189 "
8190 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8191 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
8192 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8193 _ACEOF
8194
8195 fi
8196
8197 done
8198
8199
8200 for ac_header in dlfcn.h
8201 do :
8202 ac_fn_c_check_header_compilescip-shell shell cpputest 4.0-3 ac_fn_c_check_header_compile(). "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8203 "
8204 if testscip-shell system . . test. "x$ac_cv_header_dlfcn_h" = xyes; then :
8205 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
8206 #define HAVE_DLFCN_H 1
8207 _ACEOF
8208
8209 fi
8210
8211 done
8212
8213
8214
8215
8216
8217 # Set options
8218
8219
8220
8221
8222 enable_win32_dll=no
8223
8224
8225 # Check whether --enable-shared was given.
8226 if testscip-shell system . . test. "${enable_shared+set}" = set; then :
8227 enableval=$enable_shared; p=${PACKAGE-default}
8228 case $enableval in
8229 yes) enable_shared=yes ;;
8230 no) enable_shared=no ;;
8231 *)
8232 enable_shared=no
8233 # Look at the argument we got. We use all the common list separators.
8234 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8235 for pkg in $enableval; do
8236 IFS=$lt_save_ifs
8237 if testscip-shell system . . test. "X$pkg" = "X$p"; then
8238 enable_shared=yes
8239 fi
8240 done
8241 IFS=$lt_save_ifs
8242 ;;
8243 esac
8244 else
8245 enable_shared=yes
8246 fi
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256 # Check whether --enable-static was given.
8257 if testscip-shell system . . test. "${enable_static+set}" = set; then :
8258 enableval=$enable_static; p=${PACKAGE-default}
8259 case $enableval in
8260 yes) enable_static=yes ;;
8261 no) enable_static=no ;;
8262 *)
8263 enable_static=no
8264 # Look at the argument we got. We use all the common list separators.
8265 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8266 for pkg in $enableval; do
8267 IFS=$lt_save_ifs
8268 if testscip-shell system . . test. "X$pkg" = "X$p"; then
8269 enable_static=yes
8270 fi
8271 done
8272 IFS=$lt_save_ifs
8273 ;;
8274 esac
8275 else
8276 enable_static=yes
8277 fi
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288 # Check whether --with-pic was given.
8289 if testscip-shell system . . test. "${with_pic+set}" = set; then :
8290 withval=$with_pic; lt_p=${PACKAGE-default}
8291 case $withval in
8292 yes|no) pic_mode=$withval ;;
8293 *)
8294 pic_mode=default
8295 # Look at the argument we got. We use all the common list separators.
8296 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8297 for lt_pkg in $withval; do
8298 IFS=$lt_save_ifs
8299 if testscip-shell system . . test. "X$lt_pkg" = "X$lt_p"; then
8300 pic_mode=yes
8301 fi
8302 done
8303 IFS=$lt_save_ifs
8304 ;;
8305 esac
8306 else
8307 pic_mode=default
8308 fi
8309
8310
8311
8312
8313
8314
8315
8316
8317 # Check whether --enable-fast-install was given.
8318 if testscip-shell system . . test. "${enable_fast_install+set}" = set; then :
8319 enableval=$enable_fast_install; p=${PACKAGE-default}
8320 case $enableval in
8321 yes) enable_fast_install=yes ;;
8322 no) enable_fast_install=no ;;
8323 *)
8324 enable_fast_install=no
8325 # Look at the argument we got. We use all the common list separators.
8326 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8327 for pkg in $enableval; do
8328 IFS=$lt_save_ifs
8329 if testscip-shell system . . test. "X$pkg" = "X$p"; then
8330 enable_fast_install=yes
8331 fi
8332 done
8333 IFS=$lt_save_ifs
8334 ;;
8335 esac
8336 else
8337 enable_fast_install=yes
8338 fi
8339
8340
8341
8342
8343
8344
8345
8346
8347 shared_archive_member_spec=
8348 case $host,$enable_shared in
8349 power*-*-aix[5-9]*,yes)
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8351 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8352
8353 # Check whether --with-aix-soname was given.
8354 if testscip-shell system . . test. "${with_aix_soname+set}" = set; then :
8355 withval=$with_aix_soname; case $withval in
8356 aix|svr4|both)
8357 ;;
8358 *)
8359 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8360 ;;
8361 esac
8362 lt_cv_with_aix_soname=$with_aix_soname
8363 else
8364 if ${lt_cv_with_aix_soname+:} false; then :
8365 $as_echo_n "(cached) " >&6
8366 else
8367 lt_cv_with_aix_soname=aix
8368 fi
8369
8370 with_aix_soname=$lt_cv_with_aix_soname
8371 fi
8372
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8374 $as_echo "$with_aix_soname" >&6; }
8375 if testscip-shell system . . test. aix != "$with_aix_soname"; then
8376 # For the AIX way of multilib, we name the shared archive member
8377 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8378 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8379 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8380 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8381 if testscip-shell system . . test. 64 = "${OBJECT_MODE-32}"; then
8382 shared_archive_member_spec=shr_64
8383 else
8384 shared_archive_member_spec=shr
8385 fi
8386 fi
8387 ;;
8388 *)
8389 with_aix_soname=aix
8390 ;;
8391 esac
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402 # This can be used to rebuild libtool when needed
8403 LIBTOOL_DEPS=$ltmain
8404
8405 # Always use our own libtool.
8406 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437 testscip-shell system . . test. -z "$LN_S" && LN_S="ln -s"
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452 if testscip-shell system . . test. -n "${ZSH_VERSION+set}"; then
8453 setopt NO_GLOB_SUBST
8454 fi
8455
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8457 $as_echo_n "checking for objdir... " >&6; }
8458 if ${lt_cv_objdir+:} false; then :
8459 $as_echo_n "(cached) " >&6
8460 else
8461 rmscip-shell system . . rm. -f .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`.
8462 mkdirscip-shell system . . mkdir. .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`.
8463 if testscip-shell system . . test. -d .libs; then
8464 lt_cv_objdir=.libs
8465 else
8466 # MS-DOS does not allow filenames that begin with a dot.
8467 lt_cv_objdir=_libs
8468 fi
8469 rmdirscip-shell system . . rmdir. .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`.
8470 fi
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8472 $as_echo "$lt_cv_objdir" >&6; }
8473 objdir=$lt_cv_objdir
8474
8475
8476
8477
8478
8479 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
8480 #define LT_OBJDIR "$lt_cv_objdir/"
8481 _ACEOF
8482
8483
8484
8485
8486 case $host_os in
8487 aix3*)
8488 # AIX sometimes has problems with the GCC collect2 program. For some
8489 # reason, if we set the COLLECT_NAMES environment variable, the problems
8490 # vanish in a puff of smoke.
8491 if testscip-shell system . . test. set != "${COLLECT_NAMES+set}"; then
8492 COLLECT_NAMES=
8493 export COLLECT_NAMES
8494 fi
8495 ;;
8496 esac
8497
8498 # Global variables:
8499 ofile=libtool
8500 can_build_shared=yes
8501
8502 # All known linkers require a '.a' archive for static linking (except MSVC,
8503 # which needs '.lib').
8504 libext=a
8505
8506 with_gnu_ld=$lt_cv_prog_gnu_ld
8507
8508 old_CC=$CC
8509 old_CFLAGS=$CFLAGS
8510
8511 # Set sane defaults for various variables
8512 testscip-shell system . . test. -z "$CC" && CC=cc
8513 testscip-shell system . . test. -z "$LTCC" && LTCC=$CC
8514 testscip-shell system . . test. -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8515 testscip-shell system . . test. -z "$LD" && LD=ld
8516 testscip-shell system . . test. -z "$ac_objext" && ac_objext=o
8517
8518 func_cc_basenamescip-shell shell cpputest 4.0-3 func_cc_basename(). $compiler
8519 cc_basename=$func_cc_basename_result
8520
8521
8522 # Only perform the check for file, if the check method requires it
8523 testscip-shell system . . test. -z "$MAGIC_CMD" && MAGIC_CMD=file
8524 case $deplibs_check_method in
8525 file_magic*)
8526 if testscip-shell system . . test. "$file_magic_cmd" = '$MAGIC_CMD'; then
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8528 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8529 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8530 $as_echo_n "(cached) " >&6
8531 else
8532 case $MAGIC_CMD in
8533 [\\/*] | ?:[\\/]*)
8534 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8535 ;;
8536 *)
8537 lt_save_MAGIC_CMD=$MAGIC_CMD
8538 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8539 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8540 for ac_dir in $ac_dummy; do
8541 IFS=$lt_save_ifs
8542 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
8543 if testscip-shell system . . test. -f "$ac_dir/${ac_tool_prefix}file"; then
8544 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8545 if testscip-shell system . . test. -n "$file_magic_test_file"; then
8546 case $deplibs_check_method in
8547 "file_magic "*)
8548 file_magic_regex=`exprscip-shell system . . expr. "$deplibs_check_method" : "file_magic \(.*\)"`
8549 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8550 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/nullscip-shell filesystem . . `/dev/null`. |
8551 $EGREP "$file_magic_regex" > /dev/nullscip-shell filesystem . . `/dev/null`.; then
8552 :
8553 else
8554 catscip-shell system . . cat. <<_LT_EOF 1>&2
8555
8556 *** Warning: the command libtool uses to detect shared libraries,
8557 *** $file_magic_cmd, produces output that libtool cannot recognize.
8558 *** The result is that libtool may fail to recognize shared libraries
8559 *** as such. This will affect the creation of libtool libraries that
8560 *** depend on shared libraries, but programs linked with such libtool
8561 *** libraries will work regardless of this problem. Nevertheless, you
8562 *** may want to report the problem to your system manager and/or to
8563 *** [email protected]
8564
8565 _LT_EOF
8566 fi ;;
8567 esac
8568 fi
8569 break
8570 fi
8571 done
8572 IFS=$lt_save_ifs
8573 MAGIC_CMD=$lt_save_MAGIC_CMD
8574 ;;
8575 esac
8576 fi
8577
8578 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8579 if testscip-shell system . . test. -n "$MAGIC_CMD"; then
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8581 $as_echo "$MAGIC_CMD" >&6; }
8582 else
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8584 $as_echo "no" >&6; }
8585 fi
8586
8587
8588
8589
8590
8591 if testscip-shell system . . test. -z "$lt_cv_path_MAGIC_CMD"; then
8592 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8594 $as_echo_n "checking for file... " >&6; }
8595 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8596 $as_echo_n "(cached) " >&6
8597 else
8598 case $MAGIC_CMD in
8599 [\\/*] | ?:[\\/]*)
8600 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8601 ;;
8602 *)
8603 lt_save_MAGIC_CMD=$MAGIC_CMD
8604 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8605 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8606 for ac_dir in $ac_dummy; do
8607 IFS=$lt_save_ifs
8608 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
8609 if testscip-shell system . . test. -f "$ac_dir/file"; then
8610 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8611 if testscip-shell system . . test. -n "$file_magic_test_file"; then
8612 case $deplibs_check_method in
8613 "file_magic "*)
8614 file_magic_regex=`exprscip-shell system . . expr. "$deplibs_check_method" : "file_magic \(.*\)"`
8615 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8616 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/nullscip-shell filesystem . . `/dev/null`. |
8617 $EGREP "$file_magic_regex" > /dev/nullscip-shell filesystem . . `/dev/null`.; then
8618 :
8619 else
8620 catscip-shell system . . cat. <<_LT_EOF 1>&2
8621
8622 *** Warning: the command libtool uses to detect shared libraries,
8623 *** $file_magic_cmd, produces output that libtool cannot recognize.
8624 *** The result is that libtool may fail to recognize shared libraries
8625 *** as such. This will affect the creation of libtool libraries that
8626 *** depend on shared libraries, but programs linked with such libtool
8627 *** libraries will work regardless of this problem. Nevertheless, you
8628 *** may want to report the problem to your system manager and/or to
8629 *** [email protected]
8630
8631 _LT_EOF
8632 fi ;;
8633 esac
8634 fi
8635 break
8636 fi
8637 done
8638 IFS=$lt_save_ifs
8639 MAGIC_CMD=$lt_save_MAGIC_CMD
8640 ;;
8641 esac
8642 fi
8643
8644 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8645 if testscip-shell system . . test. -n "$MAGIC_CMD"; then
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8647 $as_echo "$MAGIC_CMD" >&6; }
8648 else
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8650 $as_echo "no" >&6; }
8651 fi
8652
8653
8654 else
8655 MAGIC_CMD=:
8656 fi
8657 fi
8658
8659 fi
8660 ;;
8661 esac
8662
8663 # Use C for the default configuration in the libtool script
8664
8665 lt_save_CC=$CC
8666 ac_ext=c
8667 ac_cpp='$CPP $CPPFLAGS'
8668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8671
8672
8673 # Source file extension for C test sources.
8674 ac_ext=c
8675
8676 # Object file extension for compiled C test sources.
8677 objext=o
8678 objext=$objext
8679
8680 # Code to be used in simple compile tests
8681 lt_simple_compile_test_code="int some_variable = 0;"
8682
8683 # Code to be used in simple link tests
8684 lt_simple_link_test_code='int main(){return(0);}'
8685
8686
8687
8688
8689
8690
8691
8692 # If no C compiler was specified, use CC.
8693 LTCC=${LTCC-"$CC"}
8694
8695 # If no C compiler flags were specified, use CFLAGS.
8696 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8697
8698 # Allow CC to be a program name with arguments.
8699 compiler=$CC
8700
8701 # Save the default compiler, since it gets overwritten when the other
8702 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8703 compiler_DEFAULT=$CC
8704
8705 # save warnings/boilerplate of simple test code
8706 ac_outfile=conftest.$ac_objext
8707 echoscip-shell system . . echo. "$lt_simple_compile_test_code" >conftest.$ac_ext
8708 eval "$ac_compile" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
8709 _lt_compiler_boilerplate=`catscip-shell system . . cat. conftest.err`
8710 $RM conftest*
8711
8712 ac_outfile=conftest.$ac_objext
8713 echoscip-shell system . . echo. "$lt_simple_link_test_code" >conftest.$ac_ext
8714 eval "$ac_link" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
8715 _lt_linker_boilerplate=`catscip-shell system . . cat. conftest.err`
8716 $RM -r conftest*
8717
8718
8719 ## CAVEAT EMPTOR:
8720 ## There is no encapsulation within the following macros, do not change
8721 ## the running order or otherwise move them around unless you know exactly
8722 ## what you are doing...
8723 if testscip-shell system . . test. -n "$compiler"; then
8724
8725 lt_prog_compiler_no_builtin_flag=
8726
8727 if testscip-shell system . . test. yes = "$GCC"; then
8728 case $cc_basename in
8729 nvcc*)
8730 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8731 *)
8732 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8733 esac
8734
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8736 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8737 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8738 $as_echo_n "(cached) " >&6
8739 else
8740 lt_cv_prog_compiler_rtti_exceptions=no
8741 ac_outfile=conftest.$ac_objext
8742 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
8743 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8744 # Insert the option either (1) after the last *FLAGS variable, or
8745 # (2) before a word containing "conftest.", or (3) at the end.
8746 # Note that $ac_compile itself does not contain backslashes and begins
8747 # with a dollar sign (not a hyphen), so the echo should work correctly.
8748 # The option is referenced via a variable to avoid confusing sed.
8749 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
8750 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8751 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8752 -e 's:$: $lt_compiler_flag:'`
8753 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8754 (eval "$lt_compile" 2>conftest.err)
8755 ac_status=$?
8756 catscip-shell system . . cat. conftest.err >&5
8757 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8758 if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then
8759 # The compiler can only warn and ignore the option if not recognized
8760 # So say no if there are warnings other than the usual output.
8761 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp
8762 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
8763 if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
8764 lt_cv_prog_compiler_rtti_exceptions=yes
8765 fi
8766 fi
8767 $RM conftest*
8768
8769 fi
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8771 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8772
8773 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8774 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8775 else
8776 :
8777 fi
8778
8779 fi
8780
8781
8782
8783
8784
8785
8786 lt_prog_compiler_wl=
8787 lt_prog_compiler_pic=
8788 lt_prog_compiler_static=
8789
8790
8791 if testscip-shell system . . test. yes = "$GCC"; then
8792 lt_prog_compiler_wl='-Wl,'
8793 lt_prog_compiler_static='-static'
8794
8795 case $host_os in
8796 aix*)
8797 # All AIX code is PIC.
8798 if testscip-shell system . . test. ia64 = "$host_cpu"; then
8799 # AIX 5 now supports IA64 processor
8800 lt_prog_compiler_static='-Bstatic'
8801 fi
8802 lt_prog_compiler_pic='-fPIC'
8803 ;;
8804
8805 amigaos*)
8806 case $host_cpu in
8807 powerpc)
8808 # see comment about AmigaOS4 .so support
8809 lt_prog_compiler_pic='-fPIC'
8810 ;;
8811 m68k)
8812 # FIXME: we need at least 68020 code to build shared libraries, but
8813 # adding the '-m68020' flag to GCC prevents building anything better,
8814 # like '-m68040'.
8815 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8816 ;;
8817 esac
8818 ;;
8819
8820 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8821 # PIC is the default for these OSes.
8822 ;;
8823
8824 mingw* | cygwin* | pw32* | os2* | cegcc*)
8825 # This hack is so that the source file can tell whether it is being
8826 # built for inclusion in a dll (and should export symbols for example).
8827 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8828 # (--disable-auto-import) libraries
8829 lt_prog_compiler_pic='-DDLL_EXPORT'
8830 case $host_os in
8831 os2*)
8832 lt_prog_compiler_static='$wl-static'
8833 ;;
8834 esac
8835 ;;
8836
8837 darwin* | rhapsody*)
8838 # PIC is the default on this platform
8839 # Common symbols not allowed in MH_DYLIB files
8840 lt_prog_compiler_pic='-fno-common'
8841 ;;
8842
8843 haiku*)
8844 # PIC is the default for Haiku.
8845 # The "-static" flag exists, but is broken.
8846 lt_prog_compiler_static=
8847 ;;
8848
8849 hpux*)
8850 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8851 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8852 # sets the default TLS model and affects inlining.
8853 case $host_cpu in
8854 hppa*64*)
8855 # +Z the default
8856 ;;
8857 *)
8858 lt_prog_compiler_pic='-fPIC'
8859 ;;
8860 esac
8861 ;;
8862
8863 interix[3-9]*)
8864 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8865 # Instead, we relocate shared libraries at runtime.
8866 ;;
8867
8868 msdosdjgpp*)
8869 # Just because we use GCC doesn't mean we suddenly get shared libraries
8870 # on systems that don't support them.
8871 lt_prog_compiler_can_build_shared=no
8872 enable_shared=no
8873 ;;
8874
8875 *nto* | *qnx*)
8876 # QNX uses GNU C++, but need to define -shared option too, otherwise
8877 # it will coredump.
8878 lt_prog_compiler_pic='-fPIC -shared'
8879 ;;
8880
8881 sysv4*MP*)
8882 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
8883 lt_prog_compiler_pic=-Kconform_pic
8884 fi
8885 ;;
8886
8887 *)
8888 lt_prog_compiler_pic='-fPIC'
8889 ;;
8890 esac
8891
8892 case $cc_basename in
8893 nvcc*) # Cuda Compiler Driver 2.2
8894 lt_prog_compiler_wl='-Xlinker '
8895 if testscip-shell system . . test. -n "$lt_prog_compiler_pic"; then
8896 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8897 fi
8898 ;;
8899 esac
8900 else
8901 # PORTME Check for flag to pass linker flags through the system compiler.
8902 case $host_os in
8903 aix*)
8904 lt_prog_compiler_wl='-Wl,'
8905 if testscip-shell system . . test. ia64 = "$host_cpu"; then
8906 # AIX 5 now supports IA64 processor
8907 lt_prog_compiler_static='-Bstatic'
8908 else
8909 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8910 fi
8911 ;;
8912
8913 darwin* | rhapsody*)
8914 # PIC is the default on this platform
8915 # Common symbols not allowed in MH_DYLIB files
8916 lt_prog_compiler_pic='-fno-common'
8917 case $cc_basename in
8918 nagfor*)
8919 # NAG Fortran compiler
8920 lt_prog_compiler_wl='-Wl,-Wl,,'
8921 lt_prog_compiler_pic='-PIC'
8922 lt_prog_compiler_static='-Bstatic'
8923 ;;
8924 esac
8925 ;;
8926
8927 mingw* | cygwin* | pw32* | os2* | cegcc*)
8928 # This hack is so that the source file can tell whether it is being
8929 # built for inclusion in a dll (and should export symbols for example).
8930 lt_prog_compiler_pic='-DDLL_EXPORT'
8931 case $host_os in
8932 os2*)
8933 lt_prog_compiler_static='$wl-static'
8934 ;;
8935 esac
8936 ;;
8937
8938 hpux9* | hpux10* | hpux11*)
8939 lt_prog_compiler_wl='-Wl,'
8940 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8941 # not for PA HP-UX.
8942 case $host_cpu in
8943 hppa*64*|ia64*)
8944 # +Z the default
8945 ;;
8946 *)
8947 lt_prog_compiler_pic='+Z'
8948 ;;
8949 esac
8950 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8951 lt_prog_compiler_static='$wl-a ${wl}archive'
8952 ;;
8953
8954 irix5* | irix6* | nonstopux*)
8955 lt_prog_compiler_wl='-Wl,'
8956 # PIC (with -KPIC) is the default.
8957 lt_prog_compiler_static='-non_shared'
8958 ;;
8959
8960 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8961 case $cc_basename in
8962 # old Intel for x86_64, which still supported -KPIC.
8963 ecc*)
8964 lt_prog_compiler_wl='-Wl,'
8965 lt_prog_compiler_pic='-KPIC'
8966 lt_prog_compiler_static='-static'
8967 ;;
8968 # icc used to be incompatible with GCC.
8969 # ICC 10 doesn't accept -KPIC any more.
8970 icc* | ifort*)
8971 lt_prog_compiler_wl='-Wl,'
8972 lt_prog_compiler_pic='-fPIC'
8973 lt_prog_compiler_static='-static'
8974 ;;
8975 # Lahey Fortran 8.1.
8976 lf95*)
8977 lt_prog_compiler_wl='-Wl,'
8978 lt_prog_compiler_pic='--shared'
8979 lt_prog_compiler_static='--static'
8980 ;;
8981 nagfor*)
8982 # NAG Fortran compiler
8983 lt_prog_compiler_wl='-Wl,-Wl,,'
8984 lt_prog_compiler_pic='-PIC'
8985 lt_prog_compiler_static='-Bstatic'
8986 ;;
8987 tcc*)
8988 # Fabrice Bellard et al's Tiny C Compiler
8989 lt_prog_compiler_wl='-Wl,'
8990 lt_prog_compiler_pic='-fPIC'
8991 lt_prog_compiler_static='-static'
8992 ;;
8993 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8994 # Portland Group compilers (*not* the Pentium gcc compiler,
8995 # which looks to be a dead project)
8996 lt_prog_compiler_wl='-Wl,'
8997 lt_prog_compiler_pic='-fpic'
8998 lt_prog_compiler_static='-Bstatic'
8999 ;;
9000 ccc*)
9001 lt_prog_compiler_wl='-Wl,'
9002 # All Alpha code is PIC.
9003 lt_prog_compiler_static='-non_shared'
9004 ;;
9005 xl* | bgxl* | bgf* | mpixl*)
9006 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9007 lt_prog_compiler_wl='-Wl,'
9008 lt_prog_compiler_pic='-qpic'
9009 lt_prog_compiler_static='-qstaticlink'
9010 ;;
9011 *)
9012 case `$CC -V 2>&1 | sedscip-shell system . . sed. 5q` in
9013 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9014 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9015 lt_prog_compiler_pic='-KPIC'
9016 lt_prog_compiler_static='-Bstatic'
9017 lt_prog_compiler_wl=''
9018 ;;
9019 *Sun\ F* | *Sun*Fortran*)
9020 lt_prog_compiler_pic='-KPIC'
9021 lt_prog_compiler_static='-Bstatic'
9022 lt_prog_compiler_wl='-Qoption ld '
9023 ;;
9024 *Sun\ C*)
9025 # Sun C 5.9
9026 lt_prog_compiler_pic='-KPIC'
9027 lt_prog_compiler_static='-Bstatic'
9028 lt_prog_compiler_wl='-Wl,'
9029 ;;
9030 *Intel*\ [CF]*Compiler*)
9031 lt_prog_compiler_wl='-Wl,'
9032 lt_prog_compiler_pic='-fPIC'
9033 lt_prog_compiler_static='-static'
9034 ;;
9035 *Portland\ Group*)
9036 lt_prog_compiler_wl='-Wl,'
9037 lt_prog_compiler_pic='-fpic'
9038 lt_prog_compiler_static='-Bstatic'
9039 ;;
9040 esac
9041 ;;
9042 esac
9043 ;;
9044
9045 newsos6)
9046 lt_prog_compiler_pic='-KPIC'
9047 lt_prog_compiler_static='-Bstatic'
9048 ;;
9049
9050 *nto* | *qnx*)
9051 # QNX uses GNU C++, but need to define -shared option too, otherwise
9052 # it will coredump.
9053 lt_prog_compiler_pic='-fPIC -shared'
9054 ;;
9055
9056 osf3* | osf4* | osf5*)
9057 lt_prog_compiler_wl='-Wl,'
9058 # All OSF/1 code is PIC.
9059 lt_prog_compiler_static='-non_shared'
9060 ;;
9061
9062 rdos*)
9063 lt_prog_compiler_static='-non_shared'
9064 ;;
9065
9066 solaris*)
9067 lt_prog_compiler_pic='-KPIC'
9068 lt_prog_compiler_static='-Bstatic'
9069 case $cc_basename in
9070 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9071 lt_prog_compiler_wl='-Qoption ld ';;
9072 *)
9073 lt_prog_compiler_wl='-Wl,';;
9074 esac
9075 ;;
9076
9077 sunos4*)
9078 lt_prog_compiler_wl='-Qoption ld '
9079 lt_prog_compiler_pic='-PIC'
9080 lt_prog_compiler_static='-Bstatic'
9081 ;;
9082
9083 sysv4 | sysv4.2uw2* | sysv4.3*)
9084 lt_prog_compiler_wl='-Wl,'
9085 lt_prog_compiler_pic='-KPIC'
9086 lt_prog_compiler_static='-Bstatic'
9087 ;;
9088
9089 sysv4*MP*)
9090 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
9091 lt_prog_compiler_pic='-Kconform_pic'
9092 lt_prog_compiler_static='-Bstatic'
9093 fi
9094 ;;
9095
9096 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9097 lt_prog_compiler_wl='-Wl,'
9098 lt_prog_compiler_pic='-KPIC'
9099 lt_prog_compiler_static='-Bstatic'
9100 ;;
9101
9102 unicos*)
9103 lt_prog_compiler_wl='-Wl,'
9104 lt_prog_compiler_can_build_shared=no
9105 ;;
9106
9107 uts4*)
9108 lt_prog_compiler_pic='-pic'
9109 lt_prog_compiler_static='-Bstatic'
9110 ;;
9111
9112 *)
9113 lt_prog_compiler_can_build_shared=no
9114 ;;
9115 esac
9116 fi
9117
9118 case $host_os in
9119 # For platforms that do not support PIC, -DPIC is meaningless:
9120 *djgpp*)
9121 lt_prog_compiler_pic=
9122 ;;
9123 *)
9124 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9125 ;;
9126 esac
9127
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9129 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9130 if ${lt_cv_prog_compiler_pic+:} false; then :
9131 $as_echo_n "(cached) " >&6
9132 else
9133 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9134 fi
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9136 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9137 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9138
9139 #
9140 # Check to make sure the PIC flag actually works.
9141 #
9142 if testscip-shell system . . test. -n "$lt_prog_compiler_pic"; then
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9144 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9145 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9146 $as_echo_n "(cached) " >&6
9147 else
9148 lt_cv_prog_compiler_pic_works=no
9149 ac_outfile=conftest.$ac_objext
9150 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
9151 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9152 # Insert the option either (1) after the last *FLAGS variable, or
9153 # (2) before a word containing "conftest.", or (3) at the end.
9154 # Note that $ac_compile itself does not contain backslashes and begins
9155 # with a dollar sign (not a hyphen), so the echo should work correctly.
9156 # The option is referenced via a variable to avoid confusing sed.
9157 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
9158 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9159 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9160 -e 's:$: $lt_compiler_flag:'`
9161 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9162 (eval "$lt_compile" 2>conftest.err)
9163 ac_status=$?
9164 catscip-shell system . . cat. conftest.err >&5
9165 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
9166 if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then
9167 # The compiler can only warn and ignore the option if not recognized
9168 # So say no if there are warnings other than the usual output.
9169 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp
9170 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
9171 if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
9172 lt_cv_prog_compiler_pic_works=yes
9173 fi
9174 fi
9175 $RM conftest*
9176
9177 fi
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9179 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9180
9181 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_pic_works"; then
9182 case $lt_prog_compiler_pic in
9183 "" | " "*) ;;
9184 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9185 esac
9186 else
9187 lt_prog_compiler_pic=
9188 lt_prog_compiler_can_build_shared=no
9189 fi
9190
9191 fi
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203 #
9204 # Check to make sure the static flag actually works.
9205 #
9206 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9208 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9209 if ${lt_cv_prog_compiler_static_works+:} false; then :
9210 $as_echo_n "(cached) " >&6
9211 else
9212 lt_cv_prog_compiler_static_works=no
9213 save_LDFLAGS=$LDFLAGS
9214 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9215 echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext
9216 if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then
9217 # The linker can only warn and ignore the option if not recognized
9218 # So say no if there are warnings
9219 if testscip-shell system . . test. -s conftest.err; then
9220 # Append any errors to the config.log.
9221 catscip-shell system . . cat. conftest.err 1>&5
9222 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp
9223 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
9224 if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
9225 lt_cv_prog_compiler_static_works=yes
9226 fi
9227 else
9228 lt_cv_prog_compiler_static_works=yes
9229 fi
9230 fi
9231 $RM -r conftest*
9232 LDFLAGS=$save_LDFLAGS
9233
9234 fi
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9236 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9237
9238 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_static_works"; then
9239 :
9240 else
9241 lt_prog_compiler_static=
9242 fi
9243
9244
9245
9246
9247
9248
9249
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9251 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9252 if ${lt_cv_prog_compiler_c_o+:} false; then :
9253 $as_echo_n "(cached) " >&6
9254 else
9255 lt_cv_prog_compiler_c_o=no
9256 $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`.
9257 mkdirscip-shell system . . mkdir. conftest
9258 cd conftest
9259 mkdirscip-shell system . . mkdir. out
9260 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
9261
9262 lt_compiler_flag="-o out/conftest2.$ac_objext"
9263 # Insert the option either (1) after the last *FLAGS variable, or
9264 # (2) before a word containing "conftest.", or (3) at the end.
9265 # Note that $ac_compile itself does not contain backslashes and begins
9266 # with a dollar sign (not a hyphen), so the echo should work correctly.
9267 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
9268 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9269 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9270 -e 's:$: $lt_compiler_flag:'`
9271 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9272 (eval "$lt_compile" 2>out/conftest.err)
9273 ac_status=$?
9274 catscip-shell system . . cat. out/conftest.err >&5
9275 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
9276 if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext
9277 then
9278 # The compiler can only warn and ignore the option if not recognized
9279 # So say no if there are warnings
9280 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp
9281 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2
9282 if testscip-shell system . . test. ! -s out/conftest.er2 || diffscip-shell system . . diff. out/conftest.exp out/conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
9283 lt_cv_prog_compiler_c_o=yes
9284 fi
9285 fi
9286 chmodscip-shell system . . chmod. u+w . 2>&5
9287 $RM conftest*
9288 # SGI C++ compiler will create directory out/ii_files/ for
9289 # template instantiation
9290 testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files
9291 $RM out/* && rmdirscip-shell system . . rmdir. out
9292 cd ..
9293 $RM -r conftest
9294 $RM conftest*
9295
9296 fi
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9298 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9299
9300
9301
9302
9303
9304
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9306 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9307 if ${lt_cv_prog_compiler_c_o+:} false; then :
9308 $as_echo_n "(cached) " >&6
9309 else
9310 lt_cv_prog_compiler_c_o=no
9311 $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`.
9312 mkdirscip-shell system . . mkdir. conftest
9313 cd conftest
9314 mkdirscip-shell system . . mkdir. out
9315 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
9316
9317 lt_compiler_flag="-o out/conftest2.$ac_objext"
9318 # Insert the option either (1) after the last *FLAGS variable, or
9319 # (2) before a word containing "conftest.", or (3) at the end.
9320 # Note that $ac_compile itself does not contain backslashes and begins
9321 # with a dollar sign (not a hyphen), so the echo should work correctly.
9322 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
9323 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9324 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9325 -e 's:$: $lt_compiler_flag:'`
9326 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9327 (eval "$lt_compile" 2>out/conftest.err)
9328 ac_status=$?
9329 catscip-shell system . . cat. out/conftest.err >&5
9330 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
9331 if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext
9332 then
9333 # The compiler can only warn and ignore the option if not recognized
9334 # So say no if there are warnings
9335 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp
9336 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2
9337 if testscip-shell system . . test. ! -s out/conftest.er2 || diffscip-shell system . . diff. out/conftest.exp out/conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
9338 lt_cv_prog_compiler_c_o=yes
9339 fi
9340 fi
9341 chmodscip-shell system . . chmod. u+w . 2>&5
9342 $RM conftest*
9343 # SGI C++ compiler will create directory out/ii_files/ for
9344 # template instantiation
9345 testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files
9346 $RM out/* && rmdirscip-shell system . . rmdir. out
9347 cd ..
9348 $RM -r conftest
9349 $RM conftest*
9350
9351 fi
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9353 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9354
9355
9356
9357
9358 hard_links=nottested
9359 if testscip-shell system . . test. no = "$lt_cv_prog_compiler_c_o" && testscip-shell system . . test. no != "$need_locks"; then
9360 # do not overwrite the value of need_locks provided by the user
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9362 $as_echo_n "checking if we can lock with hard links... " >&6; }
9363 hard_links=yes
9364 $RM conftest*
9365 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
9366 touchscip-shell system . . touch. conftest.a
9367 lnscip-shell system . . ln. conftest.a conftest.b 2>&5 || hard_links=no
9368 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9370 $as_echo "$hard_links" >&6; }
9371 if testscip-shell system . . test. no = "$hard_links"; then
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9373 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9374 need_locks=warn
9375 fi
9376 else
9377 need_locks=no
9378 fi
9379
9380
9381
9382
9383
9384
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9386 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9387
9388 runpath_var=
9389 allow_undefined_flag=
9390 always_export_symbols=no
9391 archive_cmds=
9392 archive_expsym_cmds=
9393 compiler_needs_object=no
9394 enable_shared_with_static_runtimes=no
9395 export_dynamic_flag_spec=
9396 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9397 hardcode_automatic=no
9398 hardcode_direct=no
9399 hardcode_direct_absolute=no
9400 hardcode_libdir_flag_spec=
9401 hardcode_libdir_separator=
9402 hardcode_minus_L=no
9403 hardcode_shlibpath_var=unsupported
9404 inherit_rpath=no
9405 link_all_deplibs=unknown
9406 module_cmds=
9407 module_expsym_cmds=
9408 old_archive_from_new_cmds=
9409 old_archive_from_expsyms_cmds=
9410 thread_safe_flag_spec=
9411 whole_archive_flag_spec=
9412 # include_expsyms should be a list of space-separated symbols to be *always*
9413 # included in the symbol list
9414 include_expsyms=
9415 # exclude_expsyms can be an extended regexp of symbols to exclude
9416 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9417 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9418 # as well as any symbol that contains 'd'.
9419 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9420 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9421 # platforms (ab)use it in PIC code, but their linkers get confused if
9422 # the symbol is explicitly referenced. Since portable code cannot
9423 # rely on this symbol name, it's probably fine to never include it in
9424 # preloaded symbol tables.
9425 # Exclude shared library initialization/finalization symbols.
9426 extract_expsyms_cmds=
9427
9428 case $host_os in
9429 cygwin* | mingw* | pw32* | cegcc*)
9430 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9431 # When not using gcc, we currently assume that we are using
9432 # Microsoft Visual C++.
9433 if testscip-shell system . . test. yes != "$GCC"; then
9434 with_gnu_ld=no
9435 fi
9436 ;;
9437 interix*)
9438 # we just hope/assume this is gcc and not c89 (= MSVC++)
9439 with_gnu_ld=yes
9440 ;;
9441 openbsd* | bitrig*)
9442 with_gnu_ld=no
9443 ;;
9444 esac
9445
9446 ld_shlibs=yes
9447
9448 # On some targets, GNU ld is compatible enough with the native linker
9449 # that we're better off using the native interface for both.
9450 lt_use_gnu_ld_interface=no
9451 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
9452 case $host_os in
9453 aix*)
9454 # The AIX port of GNU ld has always aspired to compatibility
9455 # with the native linker. However, as the warning in the GNU ld
9456 # block says, versions before 2.19.5* couldn't really create working
9457 # shared libraries, regardless of the interface used.
9458 case `$LD -v 2>&1` in
9459 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9460 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9461 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9462 *)
9463 lt_use_gnu_ld_interface=yes
9464 ;;
9465 esac
9466 ;;
9467 *)
9468 lt_use_gnu_ld_interface=yes
9469 ;;
9470 esac
9471 fi
9472
9473 if testscip-shell system . . test. yes = "$lt_use_gnu_ld_interface"; then
9474 # If archive_cmds runs LD, not CC, wlarc should be empty
9475 wlarc='$wl'
9476
9477 # Set some defaults for GNU ld with shared library support. These
9478 # are reset later if shared libraries are not supported. Putting them
9479 # here allows them to be overridden if necessary.
9480 runpath_var=LD_RUN_PATH
9481 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9482 export_dynamic_flag_spec='$wl--export-dynamic'
9483 # ancient GNU ld didn't support --whole-archive et. al.
9484 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
9485 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9486 else
9487 whole_archive_flag_spec=
9488 fi
9489 supports_anon_versioning=no
9490 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9491 *GNU\ gold*) supports_anon_versioning=yes ;;
9492 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9493 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9494 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9495 *\ 2.11.*) ;; # other 2.11 versions
9496 *) supports_anon_versioning=yes ;;
9497 esac
9498
9499 # See if GNU ld supports shared libraries.
9500 case $host_os in
9501 aix[3-9]*)
9502 # On AIX/PPC, the GNU linker is very broken
9503 if testscip-shell system . . test. ia64 != "$host_cpu"; then
9504 ld_shlibs=no
9505 catscip-shell system . . cat. <<_LT_EOF 1>&2
9506
9507 *** Warning: the GNU linker, at least up to release 2.19, is reported
9508 *** to be unable to reliably create shared libraries on AIX.
9509 *** Therefore, libtool is disabling shared libraries support. If you
9510 *** really care for shared libraries, you may want to install binutils
9511 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9512 *** You will then need to restart the configuration process.
9513
9514 _LT_EOF
9515 fi
9516 ;;
9517
9518 amigaos*)
9519 case $host_cpu in
9520 powerpc)
9521 # see comment about AmigaOS4 .so support
9522 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9523 archive_expsym_cmds=''
9524 ;;
9525 m68k)
9526 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9527 hardcode_libdir_flag_spec='-L$libdir'
9528 hardcode_minus_L=yes
9529 ;;
9530 esac
9531 ;;
9532
9533 beos*)
9534 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
9535 allow_undefined_flag=unsupported
9536 # Joseph Beckenbach <[email protected]> says some releases of gcc
9537 # support --undefined. This deserves some investigation. FIXME
9538 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9539 else
9540 ld_shlibs=no
9541 fi
9542 ;;
9543
9544 cygwin* | mingw* | pw32* | cegcc*)
9545 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9546 # as there is no search path for DLLs.
9547 hardcode_libdir_flag_spec='-L$libdir'
9548 export_dynamic_flag_spec='$wl--export-all-symbols'
9549 allow_undefined_flag=unsupported
9550 always_export_symbols=no
9551 enable_shared_with_static_runtimes=yes
9552 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9553 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9554
9555 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
9556 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9557 # If the export-symbols file already is a .def file, use it as
9558 # is; otherwise, prepend EXPORTS...
9559 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9560 cp $export_symbols $output_objdir/$soname.def;
9561 else
9562 echo EXPORTS > $output_objdir/$soname.def;
9563 cat $export_symbols >> $output_objdir/$soname.def;
9564 fi~
9565 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9566 else
9567 ld_shlibs=no
9568 fi
9569 ;;
9570
9571 haiku*)
9572 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9573 link_all_deplibs=yes
9574 ;;
9575
9576 os2*)
9577 hardcode_libdir_flag_spec='-L$libdir'
9578 hardcode_minus_L=yes
9579 allow_undefined_flag=unsupported
9580 shrext_cmds=.dll
9581 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9582 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9583 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9584 $ECHO EXPORTS >> $output_objdir/$libname.def~
9585 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9586 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9587 emximp -o $lib $output_objdir/$libname.def'
9588 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9589 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9590 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9591 $ECHO EXPORTS >> $output_objdir/$libname.def~
9592 prefix_cmds="$SED"~
9593 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9594 prefix_cmds="$prefix_cmds -e 1d";
9595 fi~
9596 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9597 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9598 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9599 emximp -o $lib $output_objdir/$libname.def'
9600 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9601 enable_shared_with_static_runtimes=yes
9602 ;;
9603
9604 interix[3-9]*)
9605 hardcode_direct=no
9606 hardcode_shlibpath_var=no
9607 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9608 export_dynamic_flag_spec='$wl-E'
9609 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9610 # Instead, shared libraries are loaded at an image base (0x10000000 by
9611 # default) and relocated if they conflict, which is a slow very memory
9612 # consuming and fragmenting process. To avoid this, we pick a random,
9613 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9614 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9615 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9616 archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9617 ;;
9618
9619 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9620 tmp_diet=no
9621 if testscip-shell system . . test. linux-dietlibc = "$host_os"; then
9622 case $cc_basename in
9623 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9624 esac
9625 fi
9626 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`. \
9627 && testscip-shell system . . test. no = "$tmp_diet"
9628 then
9629 tmp_addflag=' $pic_flag'
9630 tmp_sharedflag='-shared'
9631 case $cc_basename,$host_cpu in
9632 pgcc*) # Portland Group C compiler
9633 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9634 tmp_addflag=' $pic_flag'
9635 ;;
9636 pgf77* | pgf90* | pgf95* | pgfortran*)
9637 # Portland Group f77 and f90 compilers
9638 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9639 tmp_addflag=' $pic_flag -Mnomain' ;;
9640 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9641 tmp_addflag=' -i_dynamic' ;;
9642 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9643 tmp_addflag=' -i_dynamic -nofor_main' ;;
9644 ifc* | ifort*) # Intel Fortran compiler
9645 tmp_addflag=' -nofor_main' ;;
9646 lf95*) # Lahey Fortran 8.1
9647 whole_archive_flag_spec=
9648 tmp_sharedflag='--shared' ;;
9649 nagfor*) # NAGFOR 5.3
9650 tmp_sharedflag='-Wl,-shared' ;;
9651 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9652 tmp_sharedflag='-qmkshrobj'
9653 tmp_addflag= ;;
9654 nvcc*) # Cuda Compiler Driver 2.2
9655 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9656 compiler_needs_object=yes
9657 ;;
9658 esac
9659 case `$CC -V 2>&1 | sedscip-shell system . . sed. 5q` in
9660 *Sun\ C*) # Sun C 5.9
9661 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9662 compiler_needs_object=yes
9663 tmp_sharedflag='-G' ;;
9664 *Sun\ F*) # Sun Fortran 8.3
9665 tmp_sharedflag='-G' ;;
9666 esac
9667 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9668
9669 if testscip-shell system . . test. yes = "$supports_anon_versioning"; then
9670 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9671 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9672 echo "local: *; };" >> $output_objdir/$libname.ver~
9673 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9674 fi
9675
9676 case $cc_basename in
9677 tcc*)
9678 export_dynamic_flag_spec='-rdynamic'
9679 ;;
9680 xlf* | bgf* | bgxlf* | mpixlf*)
9681 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9682 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9683 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9684 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9685 if testscip-shell system . . test. yes = "$supports_anon_versioning"; then
9686 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9687 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9688 echo "local: *; };" >> $output_objdir/$libname.ver~
9689 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9690 fi
9691 ;;
9692 esac
9693 else
9694 ld_shlibs=no
9695 fi
9696 ;;
9697
9698 netbsd*)
9699 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
9700 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9701 wlarc=
9702 else
9703 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9704 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9705 fi
9706 ;;
9707
9708 solaris*)
9709 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
9710 ld_shlibs=no
9711 catscip-shell system . . cat. <<_LT_EOF 1>&2
9712
9713 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9714 *** create shared libraries on Solaris systems. Therefore, libtool
9715 *** is disabling shared libraries support. We urge you to upgrade GNU
9716 *** binutils to release 2.9.1 or newer. Another option is to modify
9717 *** your PATH or compiler configuration so that the native linker is
9718 *** used, and then restart.
9719
9720 _LT_EOF
9721 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
9722 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9723 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9724 else
9725 ld_shlibs=no
9726 fi
9727 ;;
9728
9729 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9730 case `$LD -v 2>&1` in
9731 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9732 ld_shlibs=no
9733 catscip-shell system . . cat. <<_LT_EOF 1>&2
9734
9735 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9736 *** reliably create shared libraries on SCO systems. Therefore, libtool
9737 *** is disabling shared libraries support. We urge you to upgrade GNU
9738 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9739 *** your PATH or compiler configuration so that the native linker is
9740 *** used, and then restart.
9741
9742 _LT_EOF
9743 ;;
9744 *)
9745 # For security reasons, it is highly recommended that you always
9746 # use absolute paths for naming shared libraries, and exclude the
9747 # DT_RUNPATH tag from executables and libraries. But doing so
9748 # requires that you compile everything twice, which is a pain.
9749 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
9750 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9751 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9752 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9753 else
9754 ld_shlibs=no
9755 fi
9756 ;;
9757 esac
9758 ;;
9759
9760 sunos4*)
9761 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9762 wlarc=
9763 hardcode_direct=yes
9764 hardcode_shlibpath_var=no
9765 ;;
9766
9767 *)
9768 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
9769 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9770 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9771 else
9772 ld_shlibs=no
9773 fi
9774 ;;
9775 esac
9776
9777 if testscip-shell system . . test. no = "$ld_shlibs"; then
9778 runpath_var=
9779 hardcode_libdir_flag_spec=
9780 export_dynamic_flag_spec=
9781 whole_archive_flag_spec=
9782 fi
9783 else
9784 # PORTME fill in a description of your system's linker (not GNU ld)
9785 case $host_os in
9786 aix3*)
9787 allow_undefined_flag=unsupported
9788 always_export_symbols=yes
9789 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9790 # Note: this linker hardcodes the directories in LIBPATH if there
9791 # are no directories specified by -L.
9792 hardcode_minus_L=yes
9793 if testscip-shell system . . test. yes = "$GCC" && testscip-shell system . . test. -z "$lt_prog_compiler_static"; then
9794 # Neither direct hardcoding nor static linking is supported with a
9795 # broken collect2.
9796 hardcode_direct=unsupported
9797 fi
9798 ;;
9799
9800 aix[4-9]*)
9801 if testscip-shell system . . test. ia64 = "$host_cpu"; then
9802 # On IA64, the linker does run time linking by default, so we don't
9803 # have to do anything special.
9804 aix_use_runtimelinking=no
9805 exp_sym_flag='-Bexport'
9806 no_entry_flag=
9807 else
9808 # If we're using GNU nm, then we don't want the "-C" option.
9809 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9810 # Without the "-l" option, or with the "-B" option, AIX nm treats
9811 # weak defined symbols like other global defined symbols, whereas
9812 # GNU nm marks them as "W".
9813 # While the 'weak' keyword is ignored in the Export File, we need
9814 # it in the Import File for the 'aix-soname' feature, so we have
9815 # to replace the "-B" option with "-P" for AIX nm.
9816 if $NM -V 2>&1 | $GREP 'GNU' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
9817 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9818 else
9819 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9820 fi
9821 aix_use_runtimelinking=no
9822
9823 # Test if we are trying to use run time linking or normal
9824 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9825 # have runtime linking enabled, and use it for executables.
9826 # For shared libraries, we enable/disable runtime linking
9827 # depending on the kind of the shared library created -
9828 # when "with_aix_soname,aix_use_runtimelinking" is:
9829 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9830 # "aix,yes" lib.so shared, rtl:yes, for executables
9831 # lib.a static archive
9832 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9833 # lib.a(lib.so.V) shared, rtl:no, for executables
9834 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9835 # lib.a(lib.so.V) shared, rtl:no
9836 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9837 # lib.a static archive
9838 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9839 for ld_flag in $LDFLAGS; do
9840 if (testscip-shell system . . test. x-brtl = "x$ld_flag" || testscip-shell system . . test. x-Wl,-brtl = "x$ld_flag"); then
9841 aix_use_runtimelinking=yes
9842 break
9843 fi
9844 done
9845 if testscip-shell system . . test. svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9846 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9847 # so we don't have lib.a shared libs to link our executables.
9848 # We have to force runtime linking in this case.
9849 aix_use_runtimelinking=yes
9850 LDFLAGS="$LDFLAGS -Wl,-brtl"
9851 fi
9852 ;;
9853 esac
9854
9855 exp_sym_flag='-bexport'
9856 no_entry_flag='-bnoentry'
9857 fi
9858
9859 # When large executables or shared objects are built, AIX ld can
9860 # have problems creating the table of contents. If linking a library
9861 # or program results in "error TOC overflow" add -mminimal-toc to
9862 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9863 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9864
9865 archive_cmds=''
9866 hardcode_direct=yes
9867 hardcode_direct_absolute=yes
9868 hardcode_libdir_separator=':'
9869 link_all_deplibs=yes
9870 file_list_spec='$wl-f,'
9871 case $with_aix_soname,$aix_use_runtimelinking in
9872 aix,*) ;; # traditional, no import file
9873 svr4,* | *,yes) # use import file
9874 # The Import File defines what to hardcode.
9875 hardcode_direct=no
9876 hardcode_direct_absolute=no
9877 ;;
9878 esac
9879
9880 if testscip-shell system . . test. yes = "$GCC"; then
9881 case $host_os in aix4.[012]|aix4.[012].*)
9882 # We only want to do this on AIX 4.2 and lower, the check
9883 # below for broken collect2 doesn't work under 4.3+
9884 collect2name=`$CC -print-prog-name=collect2`
9885 if testscip-shell system . . test. -f "$collect2name" &&
9886 stringsscip-shell system . . strings. "$collect2name" | $GREP resolve_lib_name >/dev/nullscip-shell filesystem . . `/dev/null`.
9887 then
9888 # We have reworked collect2
9889 :
9890 else
9891 # We have old collect2
9892 hardcode_direct=unsupported
9893 # It fails to find uninstalled libraries when the uninstalled
9894 # path is not listed in the libpath. Setting hardcode_minus_L
9895 # to unsupported forces relinking
9896 hardcode_minus_L=yes
9897 hardcode_libdir_flag_spec='-L$libdir'
9898 hardcode_libdir_separator=
9899 fi
9900 ;;
9901 esac
9902 shared_flag='-shared'
9903 if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then
9904 shared_flag="$shared_flag "'$wl-G'
9905 fi
9906 # Need to ensure runtime linking is disabled for the traditional
9907 # shared library, or the linker may eventually find shared libraries
9908 # /with/ Import File - we do not want to mix them.
9909 shared_flag_aix='-shared'
9910 shared_flag_svr4='-shared $wl-G'
9911 else
9912 # not using gcc
9913 if testscip-shell system . . test. ia64 = "$host_cpu"; then
9914 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9915 # chokes on -Wl,-G. The following line is correct:
9916 shared_flag='-G'
9917 else
9918 if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then
9919 shared_flag='$wl-G'
9920 else
9921 shared_flag='$wl-bM:SRE'
9922 fi
9923 shared_flag_aix='$wl-bM:SRE'
9924 shared_flag_svr4='$wl-G'
9925 fi
9926 fi
9927
9928 export_dynamic_flag_spec='$wl-bexpall'
9929 # It seems that -bexpall does not export symbols beginning with
9930 # underscore (_), so it is better to generate a list of symbols to export.
9931 always_export_symbols=yes
9932 if testscip-shell system . . test. aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9933 # Warning - without using the other runtime loading flags (-brtl),
9934 # -berok will link without error, but may produce a broken library.
9935 allow_undefined_flag='-berok'
9936 # Determine the default libpath from the value encoded in an
9937 # empty executable.
9938 if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then
9939 aix_libpath=$lt_cv_aix_libpath
9940 else
9941 if ${lt_cv_aix_libpath_+:} false; then :
9942 $as_echo_n "(cached) " >&6
9943 else
9944 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9945 /* end confdefs.h. */
9946
9947 int
9948 main ()
9949 {
9950
9951 ;
9952 return 0;
9953 }
9954 _ACEOF
9955 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
9956
9957 lt_aix_libpath_sed='
9958 /Import File Strings/,/^$/ {
9959 /^0/ {
9960 s/^0 *\([^ ]*\) *$/\1/
9961 p
9962 }
9963 }'
9964 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
9965 # Check for a 64-bit object if we didn't find anything.
9966 if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then
9967 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
9968 fi
9969 fi
9970 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
9971 conftest$ac_exeext conftest.$ac_ext
9972 if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then
9973 lt_cv_aix_libpath_=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`.
9974 fi
9975
9976 fi
9977
9978 aix_libpath=$lt_cv_aix_libpath_
9979 fi
9980
9981 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9982 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9983 else
9984 if testscip-shell system . . test. ia64 = "$host_cpu"; then
9985 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9986 allow_undefined_flag="-z nodefs"
9987 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
9988 else
9989 # Determine the default libpath from the value encoded in an
9990 # empty executable.
9991 if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then
9992 aix_libpath=$lt_cv_aix_libpath
9993 else
9994 if ${lt_cv_aix_libpath_+:} false; then :
9995 $as_echo_n "(cached) " >&6
9996 else
9997 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
9999
10000 int
10001 main ()
10002 {
10003
10004 ;
10005 return 0;
10006 }
10007 _ACEOF
10008 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
10009
10010 lt_aix_libpath_sed='
10011 /Import File Strings/,/^$/ {
10012 /^0/ {
10013 s/^0 *\([^ ]*\) *$/\1/
10014 p
10015 }
10016 }'
10017 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
10018 # Check for a 64-bit object if we didn't find anything.
10019 if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then
10020 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
10021 fi
10022 fi
10023 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
10024 conftest$ac_exeext conftest.$ac_ext
10025 if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then
10026 lt_cv_aix_libpath_=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`.
10027 fi
10028
10029 fi
10030
10031 aix_libpath=$lt_cv_aix_libpath_
10032 fi
10033
10034 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10035 # Warning - without using the other run time loading flags,
10036 # -berok will link without error, but may produce a broken library.
10037 no_undefined_flag=' $wl-bernotok'
10038 allow_undefined_flag=' $wl-berok'
10039 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
10040 # We only use this code for GNU lds that support --whole-archive.
10041 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10042 else
10043 # Exported symbols can be pulled into shared objects from archives
10044 whole_archive_flag_spec='$convenience'
10045 fi
10046 archive_cmds_need_lc=yes
10047 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10048 # -brtl affects multiple linker settings, -berok does not and is overridden later
10049 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10050 if testscip-shell system . . test. svr4 != "$with_aix_soname"; then
10051 # This is similar to how AIX traditionally builds its shared libraries.
10052 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10053 fi
10054 if testscip-shell system . . test. aix != "$with_aix_soname"; then
10055 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10056 else
10057 # used by -dlpreopen to get the symbols
10058 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10059 fi
10060 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10061 fi
10062 fi
10063 ;;
10064
10065 amigaos*)
10066 case $host_cpu in
10067 powerpc)
10068 # see comment about AmigaOS4 .so support
10069 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10070 archive_expsym_cmds=''
10071 ;;
10072 m68k)
10073 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10074 hardcode_libdir_flag_spec='-L$libdir'
10075 hardcode_minus_L=yes
10076 ;;
10077 esac
10078 ;;
10079
10080 bsdi[45]*)
10081 export_dynamic_flag_spec=-rdynamic
10082 ;;
10083
10084 cygwin* | mingw* | pw32* | cegcc*)
10085 # When not using gcc, we currently assume that we are using
10086 # Microsoft Visual C++.
10087 # hardcode_libdir_flag_spec is actually meaningless, as there is
10088 # no search path for DLLs.
10089 case $cc_basename in
10090 cl*)
10091 # Native MSVC
10092 hardcode_libdir_flag_spec=' '
10093 allow_undefined_flag=unsupported
10094 always_export_symbols=yes
10095 file_list_spec='@'
10096 # Tell ltmain to make .lib files, not .a files.
10097 libext=lib
10098 # Tell ltmain to make .dll files, not .so files.
10099 shrext_cmds=.dll
10100 # FIXME: Setting linknames here is a bad hack.
10101 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10102 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10103 cp "$export_symbols" "$output_objdir/$soname.def";
10104 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10105 else
10106 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10107 fi~
10108 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10109 linknames='
10110 # The linker will not automatically build a static lib if we build a DLL.
10111 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10112 enable_shared_with_static_runtimes=yes
10113 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10114 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10115 # Don't use ranlib
10116 old_postinstall_cmds='chmod 644 $oldlib'
10117 postlink_cmds='lt_outputfile="@OUTPUT@"~
10118 lt_tool_outputfile="@TOOL_OUTPUT@"~
10119 case $lt_outputfile in
10120 *.exe|*.EXE) ;;
10121 *)
10122 lt_outputfile=$lt_outputfile.exe
10123 lt_tool_outputfile=$lt_tool_outputfile.exe
10124 ;;
10125 esac~
10126 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10127 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10128 $RM "$lt_outputfile.manifest";
10129 fi'
10130 ;;
10131 *)
10132 # Assume MSVC wrapper
10133 hardcode_libdir_flag_spec=' '
10134 allow_undefined_flag=unsupported
10135 # Tell ltmain to make .lib files, not .a files.
10136 libext=lib
10137 # Tell ltmain to make .dll files, not .so files.
10138 shrext_cmds=.dll
10139 # FIXME: Setting linknames here is a bad hack.
10140 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10141 # The linker will automatically build a .lib file if we build a DLL.
10142 old_archive_from_new_cmds='true'
10143 # FIXME: Should let the user specify the lib program.
10144 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10145 enable_shared_with_static_runtimes=yes
10146 ;;
10147 esac
10148 ;;
10149
10150 darwin* | rhapsody*)
10151
10152
10153 archive_cmds_need_lc=no
10154 hardcode_direct=no
10155 hardcode_automatic=yes
10156 hardcode_shlibpath_var=unsupported
10157 if testscip-shell system . . test. yes = "$lt_cv_ld_force_load"; then
10158 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10159
10160 else
10161 whole_archive_flag_spec=''
10162 fi
10163 link_all_deplibs=yes
10164 allow_undefined_flag=$_lt_dar_allow_undefined
10165 case $cc_basename in
10166 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10167 *) _lt_dar_can_shared=$GCC ;;
10168 esac
10169 if testscip-shell system . . test. yes = "$_lt_dar_can_shared"; then
10170 output_verbose_link_cmd=func_echo_all
10171 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10172 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10173 archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
10174 module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
10175
10176 else
10177 ld_shlibs=no
10178 fi
10179
10180 ;;
10181
10182 dgux*)
10183 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10184 hardcode_libdir_flag_spec='-L$libdir'
10185 hardcode_shlibpath_var=no
10186 ;;
10187
10188 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10189 # support. Future versions do this automatically, but an explicit c++rt0.o
10190 # does not break anything, and helps significantly (at the cost of a little
10191 # extra space).
10192 freebsd2.2*)
10193 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10194 hardcode_libdir_flag_spec='-R$libdir'
10195 hardcode_direct=yes
10196 hardcode_shlibpath_var=no
10197 ;;
10198
10199 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10200 freebsd2.*)
10201 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10202 hardcode_direct=yes
10203 hardcode_minus_L=yes
10204 hardcode_shlibpath_var=no
10205 ;;
10206
10207 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10208 freebsd* | dragonfly*)
10209 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10210 hardcode_libdir_flag_spec='-R$libdir'
10211 hardcode_direct=yes
10212 hardcode_shlibpath_var=no
10213 ;;
10214
10215 hpux9*)
10216 if testscip-shell system . . test. yes = "$GCC"; then
10217 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10218 else
10219 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10220 fi
10221 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10222 hardcode_libdir_separator=:
10223 hardcode_direct=yes
10224
10225 # hardcode_minus_L: Not really in the search PATH,
10226 # but as the default location of the library.
10227 hardcode_minus_L=yes
10228 export_dynamic_flag_spec='$wl-E'
10229 ;;
10230
10231 hpux10*)
10232 if testscip-shell system . . test. yes,no = "$GCC,$with_gnu_ld"; then
10233 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10234 else
10235 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10236 fi
10237 if testscip-shell system . . test. no = "$with_gnu_ld"; then
10238 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10239 hardcode_libdir_separator=:
10240 hardcode_direct=yes
10241 hardcode_direct_absolute=yes
10242 export_dynamic_flag_spec='$wl-E'
10243 # hardcode_minus_L: Not really in the search PATH,
10244 # but as the default location of the library.
10245 hardcode_minus_L=yes
10246 fi
10247 ;;
10248
10249 hpux11*)
10250 if testscip-shell system . . test. yes,no = "$GCC,$with_gnu_ld"; then
10251 case $host_cpu in
10252 hppa*64*)
10253 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10254 ;;
10255 ia64*)
10256 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10257 ;;
10258 *)
10259 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10260 ;;
10261 esac
10262 else
10263 case $host_cpu in
10264 hppa*64*)
10265 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10266 ;;
10267 ia64*)
10268 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10269 ;;
10270 *)
10271
10272 # Older versions of the 11.00 compiler do not understand -b yet
10273 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10275 $as_echo_n "checking if $CC understands -b... " >&6; }
10276 if ${lt_cv_prog_compiler__b+:} false; then :
10277 $as_echo_n "(cached) " >&6
10278 else
10279 lt_cv_prog_compiler__b=no
10280 save_LDFLAGS=$LDFLAGS
10281 LDFLAGS="$LDFLAGS -b"
10282 echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext
10283 if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then
10284 # The linker can only warn and ignore the option if not recognized
10285 # So say no if there are warnings
10286 if testscip-shell system . . test. -s conftest.err; then
10287 # Append any errors to the config.log.
10288 catscip-shell system . . cat. conftest.err 1>&5
10289 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp
10290 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
10291 if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
10292 lt_cv_prog_compiler__b=yes
10293 fi
10294 else
10295 lt_cv_prog_compiler__b=yes
10296 fi
10297 fi
10298 $RM -r conftest*
10299 LDFLAGS=$save_LDFLAGS
10300
10301 fi
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10303 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10304
10305 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler__b"; then
10306 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10307 else
10308 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10309 fi
10310
10311 ;;
10312 esac
10313 fi
10314 if testscip-shell system . . test. no = "$with_gnu_ld"; then
10315 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10316 hardcode_libdir_separator=:
10317
10318 case $host_cpu in
10319 hppa*64*|ia64*)
10320 hardcode_direct=no
10321 hardcode_shlibpath_var=no
10322 ;;
10323 *)
10324 hardcode_direct=yes
10325 hardcode_direct_absolute=yes
10326 export_dynamic_flag_spec='$wl-E'
10327
10328 # hardcode_minus_L: Not really in the search PATH,
10329 # but as the default location of the library.
10330 hardcode_minus_L=yes
10331 ;;
10332 esac
10333 fi
10334 ;;
10335
10336 irix5* | irix6* | nonstopux*)
10337 if testscip-shell system . . test. yes = "$GCC"; then
10338 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10339 # Try to use the -exported_symbol ld option, if it does not
10340 # work, assume that -exports_file does not work either and
10341 # implicitly export all symbols.
10342 # This should be the same for all languages, so no per-tag cache variable.
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10344 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10345 if ${lt_cv_irix_exported_symbol+:} false; then :
10346 $as_echo_n "(cached) " >&6
10347 else
10348 save_LDFLAGS=$LDFLAGS
10349 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10350 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10351 /* end confdefs.h. */
10352 int foo (void) { return 0; }
10353 _ACEOF
10354 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
10355 lt_cv_irix_exported_symbol=yes
10356 else
10357 lt_cv_irix_exported_symbol=no
10358 fi
10359 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
10360 conftest$ac_exeext conftest.$ac_ext
10361 LDFLAGS=$save_LDFLAGS
10362 fi
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10364 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10365 if testscip-shell system . . test. yes = "$lt_cv_irix_exported_symbol"; then
10366 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
10367 fi
10368 else
10369 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10370 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
10371 fi
10372 archive_cmds_need_lc='no'
10373 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10374 hardcode_libdir_separator=:
10375 inherit_rpath=yes
10376 link_all_deplibs=yes
10377 ;;
10378
10379 linux*)
10380 case $cc_basename in
10381 tcc*)
10382 # Fabrice Bellard et al's Tiny C Compiler
10383 ld_shlibs=yes
10384 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10385 ;;
10386 esac
10387 ;;
10388
10389 netbsd*)
10390 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
10391 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10392 else
10393 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10394 fi
10395 hardcode_libdir_flag_spec='-R$libdir'
10396 hardcode_direct=yes
10397 hardcode_shlibpath_var=no
10398 ;;
10399
10400 newsos6)
10401 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10402 hardcode_direct=yes
10403 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10404 hardcode_libdir_separator=:
10405 hardcode_shlibpath_var=no
10406 ;;
10407
10408 *nto* | *qnx*)
10409 ;;
10410
10411 openbsd* | bitrig*)
10412 if testscip-shell system . . test. -f /usr/libexec/ld.soscip-shell filesystem . . `/usr/libexec/ld.so`.; then
10413 hardcode_direct=yes
10414 hardcode_shlibpath_var=no
10415 hardcode_direct_absolute=yes
10416 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then
10417 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10418 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10419 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10420 export_dynamic_flag_spec='$wl-E'
10421 else
10422 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10423 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10424 fi
10425 else
10426 ld_shlibs=no
10427 fi
10428 ;;
10429
10430 os2*)
10431 hardcode_libdir_flag_spec='-L$libdir'
10432 hardcode_minus_L=yes
10433 allow_undefined_flag=unsupported
10434 shrext_cmds=.dll
10435 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10436 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10437 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10438 $ECHO EXPORTS >> $output_objdir/$libname.def~
10439 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10440 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10441 emximp -o $lib $output_objdir/$libname.def'
10442 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10443 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10444 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10445 $ECHO EXPORTS >> $output_objdir/$libname.def~
10446 prefix_cmds="$SED"~
10447 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10448 prefix_cmds="$prefix_cmds -e 1d";
10449 fi~
10450 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10451 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10452 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10453 emximp -o $lib $output_objdir/$libname.def'
10454 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10455 enable_shared_with_static_runtimes=yes
10456 ;;
10457
10458 osf3*)
10459 if testscip-shell system . . test. yes = "$GCC"; then
10460 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10461 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10462 else
10463 allow_undefined_flag=' -expect_unresolved \*'
10464 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10465 fi
10466 archive_cmds_need_lc='no'
10467 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10468 hardcode_libdir_separator=:
10469 ;;
10470
10471 osf4* | osf5*) # as osf3* with the addition of -msym flag
10472 if testscip-shell system . . test. yes = "$GCC"; then
10473 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10474 archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10475 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10476 else
10477 allow_undefined_flag=' -expect_unresolved \*'
10478 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10479 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10480 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
10481
10482 # Both c and cxx compiler support -rpath directly
10483 hardcode_libdir_flag_spec='-rpath $libdir'
10484 fi
10485 archive_cmds_need_lc='no'
10486 hardcode_libdir_separator=:
10487 ;;
10488
10489 solaris*)
10490 no_undefined_flag=' -z defs'
10491 if testscip-shell system . . test. yes = "$GCC"; then
10492 wlarc='$wl'
10493 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10494 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10495 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10496 else
10497 case `$CC -V 2>&1` in
10498 *"Compilers 5.0"*)
10499 wlarc=''
10500 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10501 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10502 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10503 ;;
10504 *)
10505 wlarc='$wl'
10506 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10507 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10508 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10509 ;;
10510 esac
10511 fi
10512 hardcode_libdir_flag_spec='-R$libdir'
10513 hardcode_shlibpath_var=no
10514 case $host_os in
10515 solaris2.[0-5] | solaris2.[0-5].*) ;;
10516 *)
10517 # The compiler driver will combine and reorder linker options,
10518 # but understands '-z linker_flag'. GCC discards it without '$wl',
10519 # but is careful enough not to reorder.
10520 # Supported since Solaris 2.6 (maybe 2.5.1?)
10521 if testscip-shell system . . test. yes = "$GCC"; then
10522 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10523 else
10524 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10525 fi
10526 ;;
10527 esac
10528 link_all_deplibs=yes
10529 ;;
10530
10531 sunos4*)
10532 if testscip-shell system . . test. sequent = "$host_vendor"; then
10533 # Use $CC to link under sequent, because it throws in some extra .o
10534 # files that make .init and .fini sections work.
10535 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10536 else
10537 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10538 fi
10539 hardcode_libdir_flag_spec='-L$libdir'
10540 hardcode_direct=yes
10541 hardcode_minus_L=yes
10542 hardcode_shlibpath_var=no
10543 ;;
10544
10545 sysv4)
10546 case $host_vendor in
10547 sni)
10548 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10549 hardcode_direct=yes # is this really true???
10550 ;;
10551 siemens)
10552 ## LD is ld it makes a PLAMLIB
10553 ## CC just makes a GrossModule.
10554 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10555 reload_cmds='$CC -r -o $output$reload_objs'
10556 hardcode_direct=no
10557 ;;
10558 motorola)
10559 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10560 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10561 ;;
10562 esac
10563 runpath_var='LD_RUN_PATH'
10564 hardcode_shlibpath_var=no
10565 ;;
10566
10567 sysv4.3*)
10568 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10569 hardcode_shlibpath_var=no
10570 export_dynamic_flag_spec='-Bexport'
10571 ;;
10572
10573 sysv4*MP*)
10574 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
10575 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10576 hardcode_shlibpath_var=no
10577 runpath_var=LD_RUN_PATH
10578 hardcode_runpath_var=yes
10579 ld_shlibs=yes
10580 fi
10581 ;;
10582
10583 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10584 no_undefined_flag='$wl-z,text'
10585 archive_cmds_need_lc=no
10586 hardcode_shlibpath_var=no
10587 runpath_var='LD_RUN_PATH'
10588
10589 if testscip-shell system . . test. yes = "$GCC"; then
10590 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10591 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10592 else
10593 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10594 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10595 fi
10596 ;;
10597
10598 sysv5* | sco3.2v5* | sco5v6*)
10599 # Note: We CANNOT use -z defs as we might desire, because we do not
10600 # link with -lc, and that would cause any symbols used from libc to
10601 # always be unresolved, which means just about no library would
10602 # ever link correctly. If we're not using GNU ld we use -z text
10603 # though, which does catch some bad symbols but isn't as heavy-handed
10604 # as -z defs.
10605 no_undefined_flag='$wl-z,text'
10606 allow_undefined_flag='$wl-z,nodefs'
10607 archive_cmds_need_lc=no
10608 hardcode_shlibpath_var=no
10609 hardcode_libdir_flag_spec='$wl-R,$libdir'
10610 hardcode_libdir_separator=':'
10611 link_all_deplibs=yes
10612 export_dynamic_flag_spec='$wl-Bexport'
10613 runpath_var='LD_RUN_PATH'
10614
10615 if testscip-shell system . . test. yes = "$GCC"; then
10616 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10617 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10618 else
10619 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10620 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10621 fi
10622 ;;
10623
10624 uts4*)
10625 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10626 hardcode_libdir_flag_spec='-L$libdir'
10627 hardcode_shlibpath_var=no
10628 ;;
10629
10630 *)
10631 ld_shlibs=no
10632 ;;
10633 esac
10634
10635 if testscip-shell system . . test. sni = "$host_vendor"; then
10636 case $host in
10637 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10638 export_dynamic_flag_spec='$wl-Blargedynsym'
10639 ;;
10640 esac
10641 fi
10642 fi
10643
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10645 $as_echo "$ld_shlibs" >&6; }
10646 testscip-shell system . . test. no = "$ld_shlibs" && can_build_shared=no
10647
10648 with_gnu_ld=$with_gnu_ld
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664 #
10665 # Do we need to explicitly link libc?
10666 #
10667 case "x$archive_cmds_need_lc" in
10668 x|xyes)
10669 # Assume -lc should be added
10670 archive_cmds_need_lc=yes
10671
10672 if testscip-shell system . . test. yes,yes = "$GCC,$enable_shared"; then
10673 case $archive_cmds in
10674 *'~'*)
10675 # FIXME: we may have to deal with multi-command sequences.
10676 ;;
10677 '$CC '*)
10678 # Test whether the compiler implicitly links with -lc since on some
10679 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10680 # to ld, don't add -lc before -lgcc.
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10682 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10683 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10684 $as_echo_n "(cached) " >&6
10685 else
10686 $RM conftest*
10687 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
10688
10689 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10690 (eval $ac_compile) 2>&5
10691 ac_status=$?
10692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10693 testscip-shell system . . test. $ac_status = 0; } 2>conftest.err; then
10694 soname=conftest
10695 lib=conftest
10696 libobjs=conftest.$ac_objext
10697 deplibs=
10698 wl=$lt_prog_compiler_wl
10699 pic_flag=$lt_prog_compiler_pic
10700 compiler_flags=-v
10701 linker_flags=-v
10702 verstring=
10703 output_objdir=.
10704 libname=conftest
10705 lt_save_allow_undefined_flag=$allow_undefined_flag
10706 allow_undefined_flag=
10707 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10708 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10709 ac_status=$?
10710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10711 testscip-shell system . . test. $ac_status = 0; }
10712 then
10713 lt_cv_archive_cmds_need_lc=no
10714 else
10715 lt_cv_archive_cmds_need_lc=yes
10716 fi
10717 allow_undefined_flag=$lt_save_allow_undefined_flag
10718 else
10719 catscip-shell system . . cat. conftest.err 1>&5
10720 fi
10721 $RM conftest*
10722
10723 fi
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10725 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10726 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10727 ;;
10728 esac
10729 fi
10730 ;;
10731 esac
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10885 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10886
10887 if testscip-shell system . . test. yes = "$GCC"; then
10888 case $host_os in
10889 darwin*) lt_awk_arg='/^libraries:/,/LR/scip-shell filesystem . . `/^libraries:/,/LR/`.' ;;
10890 *) lt_awk_arg='/^libraries:/scip-shell filesystem . . `/^libraries:/`.' ;;
10891 esac
10892 case $host_os in
10893 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10894 *) lt_sed_strip_eq='s|=/|/|g' ;;
10895 esac
10896 lt_search_path_spec=`$CC -print-search-dirs | awkscip-shell system . . awk. $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10897 case $lt_search_path_spec in
10898 *\;*)
10899 # if the path contains ";" then we assume it to be the separator
10900 # otherwise default to the standard path separator (i.e. ":") - it is
10901 # assumed that no part of a normal pathname contains ";" but that should
10902 # okay in the real world where ";" in dirpaths is itself problematic.
10903 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10904 ;;
10905 *)
10906 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10907 ;;
10908 esac
10909 # Ok, now we have the path, separated by spaces, we can step through it
10910 # and add multilib dir if necessary...
10911 lt_tmp_lt_search_path_spec=
10912 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
10913 # ...but if some path component already ends with the multilib dir we assume
10914 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10915 case "$lt_multi_os_dir; $lt_search_path_spec " in
10916 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10917 lt_multi_os_dir=
10918 ;;
10919 esac
10920 for lt_sys_path in $lt_search_path_spec; do
10921 if testscip-shell system . . test. -d "$lt_sys_path$lt_multi_os_dir"; then
10922 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10923 elif testscip-shell system . . test. -n "$lt_multi_os_dir"; then
10924 testscip-shell system . . test. -d "$lt_sys_path" && \
10925 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10926 fi
10927 done
10928 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awkscip-shell system . . awk. '
10929 BEGIN {RS = " "; FS = "/|\n";} {
10930 lt_foo = "";
10931 lt_count = 0;
10932 for (lt_i = NF; lt_i > 0; lt_i--) {
10933 if ($lt_i != "" && $lt_i != ".") {
10934 if ($lt_i == "..") {
10935 lt_count++;
10936 } else {
10937 if (lt_count == 0) {
10938 lt_foo = "/" $lt_i lt_foo;
10939 } else {
10940 lt_count--;
10941 }
10942 }
10943 }
10944 }
10945 if (lt_foo != "") { lt_freq[lt_foo]++; }
10946 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10947 }'`
10948 # AWK program above erroneously prepends '/' to C:/dos/paths
10949 # for these hosts.
10950 case $host_os in
10951 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10952 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10953 esac
10954 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10955 else
10956 sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`."
10957 fi
10958 library_names_spec=
10959 libname_spec='lib$name'
10960 soname_spec=
10961 shrext_cmds=.so
10962 postinstall_cmds=
10963 postuninstall_cmds=
10964 finish_cmds=
10965 finish_eval=
10966 shlibpath_var=
10967 shlibpath_overrides_runpath=unknown
10968 version_type=none
10969 dynamic_linker="$host_os ld.so"
10970 sys_lib_dlsearch_path_spec="/lib /usr/libscip-shell filesystem . . `/lib /usr/lib`."
10971 need_lib_prefix=unknown
10972 hardcode_into_libs=no
10973
10974 # when you set need_version to no, make sure it does not cause -set_version
10975 # flags to be left without arguments
10976 need_version=unknown
10977
10978
10979
10980 case $host_os in
10981 aix3*)
10982 version_type=linux # correct to gnu/linux during the next big refactor
10983 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10984 shlibpath_var=LIBPATH
10985
10986 # AIX 3 has no versioning support, so we append a major version to the name.
10987 soname_spec='$libname$release$shared_ext$major'
10988 ;;
10989
10990 aix[4-9]*)
10991 version_type=linux # correct to gnu/linux during the next big refactor
10992 need_lib_prefix=no
10993 need_version=no
10994 hardcode_into_libs=yes
10995 if testscip-shell system . . test. ia64 = "$host_cpu"; then
10996 # AIX 5 supports IA64
10997 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10998 shlibpath_var=LD_LIBRARY_PATH
10999 else
11000 # With GCC up to 2.95.x, collect2 would create an import file
11001 # for dependence libraries. The import file would start with
11002 # the line '#! .'. This would cause the generated library to
11003 # depend on '.', always an invalid library. This was fixed in
11004 # development snapshots of GCC prior to 3.0.
11005 case $host_os in
11006 aix4 | aix4.[01] | aix4.[01].*)
11007 if { echoscip-shell system . . echo. '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11008 echoscip-shell system . . echo. ' yes '
11009 echoscip-shell system . . echo. '#endif'; } | $CC -E - | $GREP yes > /dev/nullscip-shell filesystem . . `/dev/null`.; then
11010 :
11011 else
11012 can_build_shared=no
11013 fi
11014 ;;
11015 esac
11016 # Using Import Files as archive members, it is possible to support
11017 # filename-based versioning of shared library archives on AIX. While
11018 # this would work for both with and without runtime linking, it will
11019 # prevent static linking of such archives. So we do filename-based
11020 # shared library versioning with .so extension only, which is used
11021 # when both runtime linking and shared linking is enabled.
11022 # Unfortunately, runtime linking may impact performance, so we do
11023 # not want this to be the default eventually. Also, we use the
11024 # versioned .so libs for executables only if there is the -brtl
11025 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11026 # To allow for filename-based versioning support, we need to create
11027 # libNAME.so.V as an archive file, containing:
11028 # *) an Import File, referring to the versioned filename of the
11029 # archive as well as the shared archive member, telling the
11030 # bitwidth (32 or 64) of that shared object, and providing the
11031 # list of exported symbols of that shared object, eventually
11032 # decorated with the 'weak' keyword
11033 # *) the shared object with the F_LOADONLY flag set, to really avoid
11034 # it being seen by the linker.
11035 # At run time we better use the real file rather than another symlink,
11036 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11037
11038 case $with_aix_soname,$aix_use_runtimelinking in
11039 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11040 # soname into executable. Probably we can add versioning support to
11041 # collect2, so additional links can be useful in future.
11042 aix,yes) # traditional libtool
11043 dynamic_linker='AIX unversionable lib.so'
11044 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11045 # instead of lib<name>.a to let people know that these are not
11046 # typical AIX shared libraries.
11047 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11048 ;;
11049 aix,no) # traditional AIX only
11050 dynamic_linker='AIX lib.a(lib.so.V)'
11051 # We preserve .a as extension for shared libraries through AIX4.2
11052 # and later when we are not doing run time linking.
11053 library_names_spec='$libname$release.a $libname.a'
11054 soname_spec='$libname$release$shared_ext$major'
11055 ;;
11056 svr4,*) # full svr4 only
11057 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11058 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11059 # We do not specify a path in Import Files, so LIBPATH fires.
11060 shlibpath_overrides_runpath=yes
11061 ;;
11062 *,yes) # both, prefer svr4
11063 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11064 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11065 # unpreferred sharedlib libNAME.a needs extra handling
11066 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11067 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11068 # We do not specify a path in Import Files, so LIBPATH fires.
11069 shlibpath_overrides_runpath=yes
11070 ;;
11071 *,no) # both, prefer aix
11072 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11073 library_names_spec='$libname$release.a $libname.a'
11074 soname_spec='$libname$release$shared_ext$major'
11075 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11076 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11077 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11078 ;;
11079 esac
11080 shlibpath_var=LIBPATH
11081 fi
11082 ;;
11083
11084 amigaos*)
11085 case $host_cpu in
11086 powerpc)
11087 # Since July 2007 AmigaOS4 officially supports .so libraries.
11088 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11089 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11090 ;;
11091 m68k)
11092 library_names_spec='$libname.ixlibrary $libname.a'
11093 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11094 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11095 ;;
11096 esac
11097 ;;
11098
11099 beos*)
11100 library_names_spec='$libname$shared_ext'
11101 dynamic_linker="$host_os ld.so"
11102 shlibpath_var=LIBRARY_PATH
11103 ;;
11104
11105 bsdi[45]*)
11106 version_type=linux # correct to gnu/linux during the next big refactor
11107 need_version=no
11108 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11109 soname_spec='$libname$release$shared_ext$major'
11110 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11111 shlibpath_var=LD_LIBRARY_PATH
11112 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib`."
11113 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/local/lib`."
11114 # the default ld.so.conf also contains /usr/contrib/lib and
11115 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11116 # libtool to hard-code these into programs
11117 ;;
11118
11119 cygwin* | mingw* | pw32* | cegcc*)
11120 version_type=windows
11121 shrext_cmds=.dll
11122 need_version=no
11123 need_lib_prefix=no
11124
11125 case $GCC,$cc_basename in
11126 yes,*)
11127 # gcc
11128 library_names_spec='$libname.dll.a'
11129 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11130 postinstall_cmds='base_file=`basename \$file`~
11131 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11132 dldir=$destdir/`dirname \$dlpath`~
11133 test -d \$dldir || mkdir -p \$dldir~
11134 $install_prog $dir/$dlname \$dldir/$dlname~
11135 chmod a+x \$dldir/$dlname~
11136 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11137 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11138 fi'
11139 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11140 dlpath=$dir/\$dldll~
11141 $RM \$dlpath'
11142 shlibpath_overrides_runpath=yes
11143
11144 case $host_os in
11145 cygwin*)
11146 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11147 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11148
11149 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11150 ;;
11151 mingw* | cegcc*)
11152 # MinGW DLLs use traditional 'lib' prefix
11153 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11154 ;;
11155 pw32*)
11156 # pw32 DLLs use 'pw' prefix rather than 'lib'
11157 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11158 ;;
11159 esac
11160 dynamic_linker='Win32 ld.exe'
11161 ;;
11162
11163 *,cl*)
11164 # Native MSVC
11165 libname_spec='$name'
11166 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11167 library_names_spec='$libname.dll.lib'
11168
11169 case $build_os in
11170 mingw*)
11171 sys_lib_search_path_spec=
11172 lt_save_ifs=$IFS
11173 IFS=';'
11174 for lt_path in $LIB
11175 do
11176 IFS=$lt_save_ifs
11177 # Let DOS variable expansion print the short 8.3 style file name.
11178 lt_path=`cd "$lt_path" 2>/dev/nullscip-shell filesystem . . `/dev/null`. && cmd //C "for %i in (".") do @echo %~si"`
11179 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11180 done
11181 IFS=$lt_save_ifs
11182 # Convert to MSYS style.
11183 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sedscip-shell system . . sed. -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11184 ;;
11185 cygwin*)
11186 # Convert to unix form, then to dos form, then back to unix form
11187 # but this time dos style (no spaces!) so that the unix form looks
11188 # like /cygdrive/c/PROGRA~1:/cygdr...
11189 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11190 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11191 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11192 ;;
11193 *)
11194 sys_lib_search_path_spec=$LIB
11195 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/nullscip-shell filesystem . . `/dev/null`.; then
11196 # It is most probably a Windows format PATH.
11197 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11198 else
11199 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11200 fi
11201 # FIXME: find the short name or the path components, as spaces are
11202 # common. (e.g. "Program Files" -> "PROGRA~1")
11203 ;;
11204 esac
11205
11206 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11207 postinstall_cmds='base_file=`basename \$file`~
11208 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11209 dldir=$destdir/`dirname \$dlpath`~
11210 test -d \$dldir || mkdir -p \$dldir~
11211 $install_prog $dir/$dlname \$dldir/$dlname'
11212 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11213 dlpath=$dir/\$dldll~
11214 $RM \$dlpath'
11215 shlibpath_overrides_runpath=yes
11216 dynamic_linker='Win32 link.exe'
11217 ;;
11218
11219 *)
11220 # Assume MSVC wrapper
11221 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11222 dynamic_linker='Win32 ld.exe'
11223 ;;
11224 esac
11225 # FIXME: first we should search . and the directory the executable is in
11226 shlibpath_var=PATH
11227 ;;
11228
11229 darwin* | rhapsody*)
11230 dynamic_linker="$host_os dyld"
11231 version_type=darwin
11232 need_lib_prefix=no
11233 need_version=no
11234 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11235 soname_spec='$libname$release$major$shared_ext'
11236 shlibpath_overrides_runpath=yes
11237 shlibpath_var=DYLD_LIBRARY_PATH
11238 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11239
11240 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11241 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/libscip-shell filesystem . . `/usr/local/lib /lib /usr/lib`.'
11242 ;;
11243
11244 dgux*)
11245 version_type=linux # correct to gnu/linux during the next big refactor
11246 need_lib_prefix=no
11247 need_version=no
11248 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11249 soname_spec='$libname$release$shared_ext$major'
11250 shlibpath_var=LD_LIBRARY_PATH
11251 ;;
11252
11253 freebsd* | dragonfly*)
11254 # DragonFly does not have aout. When/if they implement a new
11255 # versioning mechanism, adjust this.
11256 if testscip-shell system . . test. -x /usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.; then
11257 objformat=`/usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.`
11258 else
11259 case $host_os in
11260 freebsd[23].*) objformat=aout ;;
11261 *) objformat=elf ;;
11262 esac
11263 fi
11264 version_type=freebsd-$objformat
11265 case $version_type in
11266 freebsd-elf*)
11267 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11268 soname_spec='$libname$release$shared_ext$major'
11269 need_version=no
11270 need_lib_prefix=no
11271 ;;
11272 freebsd-*)
11273 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11274 need_version=yes
11275 ;;
11276 esac
11277 shlibpath_var=LD_LIBRARY_PATH
11278 case $host_os in
11279 freebsd2.*)
11280 shlibpath_overrides_runpath=yes
11281 ;;
11282 freebsd3.[01]* | freebsdelf3.[01]*)
11283 shlibpath_overrides_runpath=yes
11284 hardcode_into_libs=yes
11285 ;;
11286 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11287 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11288 shlibpath_overrides_runpath=no
11289 hardcode_into_libs=yes
11290 ;;
11291 *) # from 4.6 on, and DragonFly
11292 shlibpath_overrides_runpath=yes
11293 hardcode_into_libs=yes
11294 ;;
11295 esac
11296 ;;
11297
11298 haiku*)
11299 version_type=linux # correct to gnu/linux during the next big refactor
11300 need_lib_prefix=no
11301 need_version=no
11302 dynamic_linker="$host_os runtime_loader"
11303 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11304 soname_spec='$libname$release$shared_ext$major'
11305 shlibpath_var=LIBRARY_PATH
11306 shlibpath_overrides_runpath=no
11307 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/libscip-shell filesystem . . `/boot/home/config/lib /boot/common/lib /boot/system/lib`.'
11308 hardcode_into_libs=yes
11309 ;;
11310
11311 hpux9* | hpux10* | hpux11*)
11312 # Give a soname corresponding to the major version so that dld.sl refuses to
11313 # link against other versions.
11314 version_type=sunos
11315 need_lib_prefix=no
11316 need_version=no
11317 case $host_cpu in
11318 ia64*)
11319 shrext_cmds='.so'
11320 hardcode_into_libs=yes
11321 dynamic_linker="$host_os dld.so"
11322 shlibpath_var=LD_LIBRARY_PATH
11323 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11324 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11325 soname_spec='$libname$release$shared_ext$major'
11326 if testscip-shell system . . test. 32 = "$HPUX_IA64_MODE"; then
11327 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/libscip-shell filesystem . . `/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib`."
11328 sys_lib_dlsearch_path_spec=/usr/lib/hpux32scip-shell filesystem . . `/usr/lib/hpux32`.
11329 else
11330 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64 /usr/local/lib/hpux64`."
11331 sys_lib_dlsearch_path_spec=/usr/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64`.
11332 fi
11333 ;;
11334 hppa*64*)
11335 shrext_cmds='.sl'
11336 hardcode_into_libs=yes
11337 dynamic_linker="$host_os dld.sl"
11338 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11339 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11340 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11341 soname_spec='$libname$release$shared_ext$major'
11342 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64scip-shell filesystem . . `/usr/lib/pa20_64 /usr/ccs/lib/pa20_64`."
11343 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11344 ;;
11345 *)
11346 shrext_cmds='.sl'
11347 dynamic_linker="$host_os dld.sl"
11348 shlibpath_var=SHLIB_PATH
11349 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11350 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11351 soname_spec='$libname$release$shared_ext$major'
11352 ;;
11353 esac
11354 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11355 postinstall_cmds='chmod 555 $lib'
11356 # or fails outright, so override atomically:
11357 install_override_mode=555
11358 ;;
11359
11360 interix[3-9]*)
11361 version_type=linux # correct to gnu/linux during the next big refactor
11362 need_lib_prefix=no
11363 need_version=no
11364 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11365 soname_spec='$libname$release$shared_ext$major'
11366 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11367 shlibpath_var=LD_LIBRARY_PATH
11368 shlibpath_overrides_runpath=no
11369 hardcode_into_libs=yes
11370 ;;
11371
11372 irix5* | irix6* | nonstopux*)
11373 case $host_os in
11374 nonstopux*) version_type=nonstopux ;;
11375 *)
11376 if testscip-shell system . . test. yes = "$lt_cv_prog_gnu_ld"; then
11377 version_type=linux # correct to gnu/linux during the next big refactor
11378 else
11379 version_type=irix
11380 fi ;;
11381 esac
11382 need_lib_prefix=no
11383 need_version=no
11384 soname_spec='$libname$release$shared_ext$major'
11385 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11386 case $host_os in
11387 irix5* | nonstopux*)
11388 libsuff= shlibsuff=
11389 ;;
11390 *)
11391 case $LD in # libtool.m4 will add one of these switches to LD
11392 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11393 libsuff= shlibsuff= libmagic=32-bit;;
11394 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11395 libsuff=32 shlibsuff=N32 libmagic=N32;;
11396 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11397 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11398 *) libsuff= shlibsuff= libmagic=never-match;;
11399 esac
11400 ;;
11401 esac
11402 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11403 shlibpath_overrides_runpath=no
11404 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11405 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11406 hardcode_into_libs=yes
11407 ;;
11408
11409 # No shared lib support for Linux oldld, aout, or coff.
11410 linux*oldld* | linux*aout* | linux*coff*)
11411 dynamic_linker=no
11412 ;;
11413
11414 linux*android*)
11415 version_type=none # Android doesn't support versioned libraries.
11416 need_lib_prefix=no
11417 need_version=no
11418 library_names_spec='$libname$release$shared_ext'
11419 soname_spec='$libname$release$shared_ext'
11420 finish_cmds=
11421 shlibpath_var=LD_LIBRARY_PATH
11422 shlibpath_overrides_runpath=yes
11423
11424 # This implies no fast_install, which is unacceptable.
11425 # Some rework will be needed to allow for fast_install
11426 # before this can be enabled.
11427 hardcode_into_libs=yes
11428
11429 dynamic_linker='Android linker'
11430 # Don't embed -rpath directories since the linker doesn't support them.
11431 hardcode_libdir_flag_spec='-L$libdir'
11432 ;;
11433
11434 # This must be glibc/ELF.
11435 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11436 version_type=linux # correct to gnu/linux during the next big refactor
11437 need_lib_prefix=no
11438 need_version=no
11439 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11440 soname_spec='$libname$release$shared_ext$major'
11441 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11442 shlibpath_var=LD_LIBRARY_PATH
11443 shlibpath_overrides_runpath=no
11444
11445 # Some binutils ld are patched to set DT_RUNPATH
11446 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11447 $as_echo_n "(cached) " >&6
11448 else
11449 lt_cv_shlibpath_overrides_runpath=no
11450 save_LDFLAGS=$LDFLAGS
11451 save_libdir=$libdir
11452 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11453 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11454 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
11455 /* end confdefs.h. */
11456
11457 int
11458 main ()
11459 {
11460
11461 ;
11462 return 0;
11463 }
11464 _ACEOF
11465 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
11466 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. "RUNPATH.*$libdir" >/dev/nullscip-shell filesystem . . `/dev/null`.; then :
11467 lt_cv_shlibpath_overrides_runpath=yes
11468 fi
11469 fi
11470 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LDFLAGS=$save_LDFLAGS
11473 libdir=$save_libdir
11474
11475 fi
11476
11477 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11478
11479 # This implies no fast_install, which is unacceptable.
11480 # Some rework will be needed to allow for fast_install
11481 # before this can be enabled.
11482 hardcode_into_libs=yes
11483
11484 # Ideally, we could use ldconfig to report *all* directores which are
11485 # searched for libraries, however this is still not possible. Aside from not
11486 # being certain /sbin/ldconfig is available, command
11487 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11488 # even though it is searched at run-time. Try to do the best guess by
11489 # appending ld.so.conf contents (and includes) to the search path.
11490 if testscip-shell system . . test. -f /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`.; then
11491 lt_ld_extra=`awkscip-shell system . . awk. '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }scip-shell filesystem . . `/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }`.' < /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`. | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | trscip-shell system . . tr. '\n' ' '`
11492 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11493 fi
11494
11495 # We used to test for /lib/ld.so.1 and disable shared libraries on
11496 # powerpc, because MkLinux only supported shared libraries with the
11497 # GNU dynamic linker. Since this was broken with cross compilers,
11498 # most powerpc-linux boxes support dynamic linking these days and
11499 # people can always --disable-shared, the test was removed, and we
11500 # assume the GNU/Linux dynamic linker is in use.
11501 dynamic_linker='GNU/Linux ld.so'
11502 ;;
11503
11504 netbsd*)
11505 version_type=sunos
11506 need_lib_prefix=no
11507 need_version=no
11508 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
11509 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11510 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11511 dynamic_linker='NetBSD (a.out) ld.so'
11512 else
11513 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11514 soname_spec='$libname$release$shared_ext$major'
11515 dynamic_linker='NetBSD ld.elf_so'
11516 fi
11517 shlibpath_var=LD_LIBRARY_PATH
11518 shlibpath_overrides_runpath=yes
11519 hardcode_into_libs=yes
11520 ;;
11521
11522 newsos6)
11523 version_type=linux # correct to gnu/linux during the next big refactor
11524 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11525 shlibpath_var=LD_LIBRARY_PATH
11526 shlibpath_overrides_runpath=yes
11527 ;;
11528
11529 *nto* | *qnx*)
11530 version_type=qnx
11531 need_lib_prefix=no
11532 need_version=no
11533 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11534 soname_spec='$libname$release$shared_ext$major'
11535 shlibpath_var=LD_LIBRARY_PATH
11536 shlibpath_overrides_runpath=no
11537 hardcode_into_libs=yes
11538 dynamic_linker='ldqnx.so'
11539 ;;
11540
11541 openbsd* | bitrig*)
11542 version_type=sunos
11543 sys_lib_dlsearch_path_spec=/usr/libscip-shell filesystem . . `/usr/lib`.
11544 need_lib_prefix=no
11545 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then
11546 need_version=no
11547 else
11548 need_version=yes
11549 fi
11550 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11551 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11552 shlibpath_var=LD_LIBRARY_PATH
11553 shlibpath_overrides_runpath=yes
11554 ;;
11555
11556 os2*)
11557 libname_spec='$name'
11558 version_type=windows
11559 shrext_cmds=.dll
11560 need_version=no
11561 need_lib_prefix=no
11562 # OS/2 can only load a DLL with a base name of 8 characters or less.
11563 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11564 v=$($ECHO $release$versuffix | tr -d .-);
11565 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11566 $ECHO $n$v`$shared_ext'
11567 library_names_spec='${libname}_dll.$libext'
11568 dynamic_linker='OS/2 ld.exe'
11569 shlibpath_var=BEGINLIBPATH
11570 sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`."
11571 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11572 postinstall_cmds='base_file=`basename \$file`~
11573 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11574 dldir=$destdir/`dirname \$dlpath`~
11575 test -d \$dldir || mkdir -p \$dldir~
11576 $install_prog $dir/$dlname \$dldir/$dlname~
11577 chmod a+x \$dldir/$dlname~
11578 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11579 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11580 fi'
11581 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11582 dlpath=$dir/\$dldll~
11583 $RM \$dlpath'
11584 ;;
11585
11586 osf3* | osf4* | osf5*)
11587 version_type=osf
11588 need_lib_prefix=no
11589 need_version=no
11590 soname_spec='$libname$release$shared_ext$major'
11591 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11592 shlibpath_var=LD_LIBRARY_PATH
11593 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlibscip-shell filesystem . . `/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib`."
11594 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11595 ;;
11596
11597 rdos*)
11598 dynamic_linker=no
11599 ;;
11600
11601 solaris*)
11602 version_type=linux # correct to gnu/linux during the next big refactor
11603 need_lib_prefix=no
11604 need_version=no
11605 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11606 soname_spec='$libname$release$shared_ext$major'
11607 shlibpath_var=LD_LIBRARY_PATH
11608 shlibpath_overrides_runpath=yes
11609 hardcode_into_libs=yes
11610 # ldd complains unless libraries are executable
11611 postinstall_cmds='chmod +x $lib'
11612 ;;
11613
11614 sunos4*)
11615 version_type=sunos
11616 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11617 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11618 shlibpath_var=LD_LIBRARY_PATH
11619 shlibpath_overrides_runpath=yes
11620 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
11621 need_lib_prefix=no
11622 fi
11623 need_version=yes
11624 ;;
11625
11626 sysv4 | sysv4.3*)
11627 version_type=linux # correct to gnu/linux during the next big refactor
11628 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11629 soname_spec='$libname$release$shared_ext$major'
11630 shlibpath_var=LD_LIBRARY_PATH
11631 case $host_vendor in
11632 sni)
11633 shlibpath_overrides_runpath=no
11634 need_lib_prefix=no
11635 runpath_var=LD_RUN_PATH
11636 ;;
11637 siemens)
11638 need_lib_prefix=no
11639 ;;
11640 motorola)
11641 need_lib_prefix=no
11642 need_version=no
11643 shlibpath_overrides_runpath=no
11644 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/libscip-shell filesystem . . `/lib /usr/lib /usr/ccs/lib`.'
11645 ;;
11646 esac
11647 ;;
11648
11649 sysv4*MP*)
11650 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
11651 version_type=linux # correct to gnu/linux during the next big refactor
11652 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11653 soname_spec='$libname$shared_ext.$major'
11654 shlibpath_var=LD_LIBRARY_PATH
11655 fi
11656 ;;
11657
11658 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11659 version_type=sco
11660 need_lib_prefix=no
11661 need_version=no
11662 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11663 soname_spec='$libname$release$shared_ext$major'
11664 shlibpath_var=LD_LIBRARY_PATH
11665 shlibpath_overrides_runpath=yes
11666 hardcode_into_libs=yes
11667 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
11668 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /libscip-shell filesystem . . `/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib`.'
11669 else
11670 sys_lib_search_path_spec='/usr/ccs/lib /usr/libscip-shell filesystem . . `/usr/ccs/lib /usr/lib`.'
11671 case $host_os in
11672 sco3.2v5*)
11673 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11674 ;;
11675 esac
11676 fi
11677 sys_lib_dlsearch_path_spec='/usr/libscip-shell filesystem . . `/usr/lib`.'
11678 ;;
11679
11680 tpf*)
11681 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11682 version_type=linux # correct to gnu/linux during the next big refactor
11683 need_lib_prefix=no
11684 need_version=no
11685 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11686 shlibpath_var=LD_LIBRARY_PATH
11687 shlibpath_overrides_runpath=no
11688 hardcode_into_libs=yes
11689 ;;
11690
11691 uts4*)
11692 version_type=linux # correct to gnu/linux during the next big refactor
11693 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11694 soname_spec='$libname$release$shared_ext$major'
11695 shlibpath_var=LD_LIBRARY_PATH
11696 ;;
11697
11698 *)
11699 dynamic_linker=no
11700 ;;
11701 esac
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11703 $as_echo "$dynamic_linker" >&6; }
11704 testscip-shell system . . test. no = "$dynamic_linker" && can_build_shared=no
11705
11706 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11707 if testscip-shell system . . test. yes = "$GCC"; then
11708 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11709 fi
11710
11711 if testscip-shell system . . test. set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11712 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11713 fi
11714
11715 if testscip-shell system . . test. set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11716 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11717 fi
11718
11719 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11720 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11721
11722 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11723 func_munge_path_listscip-shell shell cpputest 4.0-3 func_munge_path_list(). sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11724
11725 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11726 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11825 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11826 hardcode_action=
11827 if testscip-shell system . . test. -n "$hardcode_libdir_flag_spec" ||
11828 testscip-shell system . . test. -n "$runpath_var" ||
11829 testscip-shell system . . test. yes = "$hardcode_automatic"; then
11830
11831 # We can hardcode non-existent directories.
11832 if testscip-shell system . . test. no != "$hardcode_direct" &&
11833 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11834 # have to relink, otherwise we might link with an installed library
11835 # when we should be linking with a yet-to-be-installed one
11836 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11837 testscip-shell system . . test. no != "$hardcode_minus_L"; then
11838 # Linking always hardcodes the temporary library directory.
11839 hardcode_action=relink
11840 else
11841 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11842 hardcode_action=immediate
11843 fi
11844 else
11845 # We cannot hardcode anything, or else we can only hardcode existing
11846 # directories.
11847 hardcode_action=unsupported
11848 fi
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11850 $as_echo "$hardcode_action" >&6; }
11851
11852 if testscip-shell system . . test. relink = "$hardcode_action" ||
11853 testscip-shell system . . test. yes = "$inherit_rpath"; then
11854 # Fast installation is not supported
11855 enable_fast_install=no
11856 elif testscip-shell system . . test. yes = "$shlibpath_overrides_runpath" ||
11857 testscip-shell system . . test. no = "$enable_shared"; then
11858 # Fast installation is not necessary
11859 enable_fast_install=needless
11860 fi
11861
11862
11863
11864
11865
11866
11867 if testscip-shell system . . test. yes != "$enable_dlopen"; then
11868 enable_dlopen=unknown
11869 enable_dlopen_self=unknown
11870 enable_dlopen_self_static=unknown
11871 else
11872 lt_cv_dlopen=no
11873 lt_cv_dlopen_libs=
11874
11875 case $host_os in
11876 beos*)
11877 lt_cv_dlopen=load_add_on
11878 lt_cv_dlopen_libs=
11879 lt_cv_dlopen_self=yes
11880 ;;
11881
11882 mingw* | pw32* | cegcc*)
11883 lt_cv_dlopen=LoadLibrary
11884 lt_cv_dlopen_libs=
11885 ;;
11886
11887 cygwin*)
11888 lt_cv_dlopen=dlopen
11889 lt_cv_dlopen_libs=
11890 ;;
11891
11892 darwin*)
11893 # if libdl is installed we need to link against it
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11895 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11896 if ${ac_cv_lib_dl_dlopen+:} false; then :
11897 $as_echo_n "(cached) " >&6
11898 else
11899 ac_check_lib_save_LIBS=$LIBS
11900 LIBS="-ldl $LIBS"
11901 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
11902 /* end confdefs.h. */
11903
11904 /* Override any GCC internal prototype to avoid an error.
11905 Use char because int might match the return type of a GCC
11906 builtin and then its argument prototype would still apply. */
11907 #ifdef __cplusplus
11908 extern "C"
11909 #endif
11910 char dlopen ();
11911 int
11912 main ()
11913 {
11914 return dlopen ();
11915 ;
11916 return 0;
11917 }
11918 _ACEOF
11919 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
11920 ac_cv_lib_dl_dlopen=yes
11921 else
11922 ac_cv_lib_dl_dlopen=no
11923 fi
11924 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
11925 conftest$ac_exeext conftest.$ac_ext
11926 LIBS=$ac_check_lib_save_LIBS
11927 fi
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11929 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11930 if testscip-shell system . . test. "x$ac_cv_lib_dl_dlopen" = xyes; then :
11931 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11932 else
11933
11934 lt_cv_dlopen=dyld
11935 lt_cv_dlopen_libs=
11936 lt_cv_dlopen_self=yes
11937
11938 fi
11939
11940 ;;
11941
11942 tpf*)
11943 # Don't try to run any link tests for TPF. We know it's impossible
11944 # because TPF is a cross-compiler, and we know how we open DSOs.
11945 lt_cv_dlopen=dlopen
11946 lt_cv_dlopen_libs=
11947 lt_cv_dlopen_self=no
11948 ;;
11949
11950 *)
11951 ac_fn_c_check_funcscip-shell shell cpputest 4.0-3 ac_fn_c_check_func(). "$LINENO" "shl_load" "ac_cv_func_shl_load"
11952 if testscip-shell system . . test. "x$ac_cv_func_shl_load" = xyes; then :
11953 lt_cv_dlopen=shl_load
11954 else
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11956 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11957 if ${ac_cv_lib_dld_shl_load+:} false; then :
11958 $as_echo_n "(cached) " >&6
11959 else
11960 ac_check_lib_save_LIBS=$LIBS
11961 LIBS="-ldld $LIBS"
11962 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
11963 /* end confdefs.h. */
11964
11965 /* Override any GCC internal prototype to avoid an error.
11966 Use char because int might match the return type of a GCC
11967 builtin and then its argument prototype would still apply. */
11968 #ifdef __cplusplus
11969 extern "C"
11970 #endif
11971 char shl_load ();
11972 int
11973 main ()
11974 {
11975 return shl_load ();
11976 ;
11977 return 0;
11978 }
11979 _ACEOF
11980 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
11981 ac_cv_lib_dld_shl_load=yes
11982 else
11983 ac_cv_lib_dld_shl_load=no
11984 fi
11985 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
11986 conftest$ac_exeext conftest.$ac_ext
11987 LIBS=$ac_check_lib_save_LIBS
11988 fi
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11990 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11991 if testscip-shell system . . test. "x$ac_cv_lib_dld_shl_load" = xyes; then :
11992 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11993 else
11994 ac_fn_c_check_funcscip-shell shell cpputest 4.0-3 ac_fn_c_check_func(). "$LINENO" "dlopen" "ac_cv_func_dlopen"
11995 if testscip-shell system . . test. "x$ac_cv_func_dlopen" = xyes; then :
11996 lt_cv_dlopen=dlopen
11997 else
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11999 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12000 if ${ac_cv_lib_dl_dlopen+:} false; then :
12001 $as_echo_n "(cached) " >&6
12002 else
12003 ac_check_lib_save_LIBS=$LIBS
12004 LIBS="-ldl $LIBS"
12005 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12007
12008 /* Override any GCC internal prototype to avoid an error.
12009 Use char because int might match the return type of a GCC
12010 builtin and then its argument prototype would still apply. */
12011 #ifdef __cplusplus
12012 extern "C"
12013 #endif
12014 char dlopen ();
12015 int
12016 main ()
12017 {
12018 return dlopen ();
12019 ;
12020 return 0;
12021 }
12022 _ACEOF
12023 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
12024 ac_cv_lib_dl_dlopen=yes
12025 else
12026 ac_cv_lib_dl_dlopen=no
12027 fi
12028 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
12029 conftest$ac_exeext conftest.$ac_ext
12030 LIBS=$ac_check_lib_save_LIBS
12031 fi
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12033 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12034 if testscip-shell system . . test. "x$ac_cv_lib_dl_dlopen" = xyes; then :
12035 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12036 else
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12038 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12039 if ${ac_cv_lib_svld_dlopen+:} false; then :
12040 $as_echo_n "(cached) " >&6
12041 else
12042 ac_check_lib_save_LIBS=$LIBS
12043 LIBS="-lsvld $LIBS"
12044 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
12045 /* end confdefs.h. */
12046
12047 /* Override any GCC internal prototype to avoid an error.
12048 Use char because int might match the return type of a GCC
12049 builtin and then its argument prototype would still apply. */
12050 #ifdef __cplusplus
12051 extern "C"
12052 #endif
12053 char dlopen ();
12054 int
12055 main ()
12056 {
12057 return dlopen ();
12058 ;
12059 return 0;
12060 }
12061 _ACEOF
12062 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
12063 ac_cv_lib_svld_dlopen=yes
12064 else
12065 ac_cv_lib_svld_dlopen=no
12066 fi
12067 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
12068 conftest$ac_exeext conftest.$ac_ext
12069 LIBS=$ac_check_lib_save_LIBS
12070 fi
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12072 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12073 if testscip-shell system . . test. "x$ac_cv_lib_svld_dlopen" = xyes; then :
12074 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12075 else
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12077 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12078 if ${ac_cv_lib_dld_dld_link+:} false; then :
12079 $as_echo_n "(cached) " >&6
12080 else
12081 ac_check_lib_save_LIBS=$LIBS
12082 LIBS="-ldld $LIBS"
12083 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
12084 /* end confdefs.h. */
12085
12086 /* Override any GCC internal prototype to avoid an error.
12087 Use char because int might match the return type of a GCC
12088 builtin and then its argument prototype would still apply. */
12089 #ifdef __cplusplus
12090 extern "C"
12091 #endif
12092 char dld_link ();
12093 int
12094 main ()
12095 {
12096 return dld_link ();
12097 ;
12098 return 0;
12099 }
12100 _ACEOF
12101 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
12102 ac_cv_lib_dld_dld_link=yes
12103 else
12104 ac_cv_lib_dld_dld_link=no
12105 fi
12106 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
12107 conftest$ac_exeext conftest.$ac_ext
12108 LIBS=$ac_check_lib_save_LIBS
12109 fi
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12111 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12112 if testscip-shell system . . test. "x$ac_cv_lib_dld_dld_link" = xyes; then :
12113 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12114 fi
12115
12116
12117 fi
12118
12119
12120 fi
12121
12122
12123 fi
12124
12125
12126 fi
12127
12128
12129 fi
12130
12131 ;;
12132 esac
12133
12134 if testscip-shell system . . test. no = "$lt_cv_dlopen"; then
12135 enable_dlopen=no
12136 else
12137 enable_dlopen=yes
12138 fi
12139
12140 case $lt_cv_dlopen in
12141 dlopen)
12142 save_CPPFLAGS=$CPPFLAGS
12143 testscip-shell system . . test. yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12144
12145 save_LDFLAGS=$LDFLAGS
12146 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12147
12148 save_LIBS=$LIBS
12149 LIBS="$lt_cv_dlopen_libs $LIBS"
12150
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12152 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12153 if ${lt_cv_dlopen_self+:} false; then :
12154 $as_echo_n "(cached) " >&6
12155 else
12156 if testscip-shell system . . test. yes = "$cross_compiling"; then :
12157 lt_cv_dlopen_self=cross
12158 else
12159 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12160 lt_status=$lt_dlunknown
12161 catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF
12162 #line $LINENO "configure"
12163 #include "confdefs.h"
12164
12165 #if HAVE_DLFCN_H
12166 #include <dlfcn.h>
12167 #endif
12168
12169 #include <stdio.h>
12170
12171 #ifdef RTLD_GLOBAL
12172 # define LT_DLGLOBAL RTLD_GLOBAL
12173 #else
12174 # ifdef DL_GLOBAL
12175 # define LT_DLGLOBAL DL_GLOBAL
12176 # else
12177 # define LT_DLGLOBAL 0
12178 # endif
12179 #endif
12180
12181 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12182 find out it does not work in some platform. */
12183 #ifndef LT_DLLAZY_OR_NOW
12184 # ifdef RTLD_LAZY
12185 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12186 # else
12187 # ifdef DL_LAZY
12188 # define LT_DLLAZY_OR_NOW DL_LAZY
12189 # else
12190 # ifdef RTLD_NOW
12191 # define LT_DLLAZY_OR_NOW RTLD_NOW
12192 # else
12193 # ifdef DL_NOW
12194 # define LT_DLLAZY_OR_NOW DL_NOW
12195 # else
12196 # define LT_DLLAZY_OR_NOW 0
12197 # endif
12198 # endif
12199 # endif
12200 # endif
12201 #endif
12202
12203 /* When -fvisibility=hidden is used, assume the code has been annotated
12204 correspondingly for the symbols needed. */
12205 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12206 int fnord () __attribute__((visibility("default")));
12207 #endif
12208
12209 int fnord () { return 42; }
12210 int main ()
12211 {
12212 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12213 int status = $lt_dlunknown;
12214
12215 if (self)
12216 {
12217 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12218 else
12219 {
12220 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12221 else puts (dlerror ());
12222 }
12223 /* dlclose (self); */
12224 }
12225 else
12226 puts (dlerror ());
12227
12228 return status;
12229 }
12230 _LT_EOF
12231 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12232 (eval $ac_link) 2>&5
12233 ac_status=$?
12234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12235 testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s "conftest$ac_exeext" 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
12236 (./conftest; exit; ) >&5 2>/dev/nullscip-shell filesystem . . `/dev/null`.
12237 lt_status=$?
12238 case x$lt_status in
12239 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12240 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12241 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12242 esac
12243 else :
12244 # compilation failed
12245 lt_cv_dlopen_self=no
12246 fi
12247 fi
12248 rmscip-shell system . . rm. -fr conftest*
12249
12250
12251 fi
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12253 $as_echo "$lt_cv_dlopen_self" >&6; }
12254
12255 if testscip-shell system . . test. yes = "$lt_cv_dlopen_self"; then
12256 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12258 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12259 if ${lt_cv_dlopen_self_static+:} false; then :
12260 $as_echo_n "(cached) " >&6
12261 else
12262 if testscip-shell system . . test. yes = "$cross_compiling"; then :
12263 lt_cv_dlopen_self_static=cross
12264 else
12265 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12266 lt_status=$lt_dlunknown
12267 catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF
12268 #line $LINENO "configure"
12269 #include "confdefs.h"
12270
12271 #if HAVE_DLFCN_H
12272 #include <dlfcn.h>
12273 #endif
12274
12275 #include <stdio.h>
12276
12277 #ifdef RTLD_GLOBAL
12278 # define LT_DLGLOBAL RTLD_GLOBAL
12279 #else
12280 # ifdef DL_GLOBAL
12281 # define LT_DLGLOBAL DL_GLOBAL
12282 # else
12283 # define LT_DLGLOBAL 0
12284 # endif
12285 #endif
12286
12287 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12288 find out it does not work in some platform. */
12289 #ifndef LT_DLLAZY_OR_NOW
12290 # ifdef RTLD_LAZY
12291 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12292 # else
12293 # ifdef DL_LAZY
12294 # define LT_DLLAZY_OR_NOW DL_LAZY
12295 # else
12296 # ifdef RTLD_NOW
12297 # define LT_DLLAZY_OR_NOW RTLD_NOW
12298 # else
12299 # ifdef DL_NOW
12300 # define LT_DLLAZY_OR_NOW DL_NOW
12301 # else
12302 # define LT_DLLAZY_OR_NOW 0
12303 # endif
12304 # endif
12305 # endif
12306 # endif
12307 #endif
12308
12309 /* When -fvisibility=hidden is used, assume the code has been annotated
12310 correspondingly for the symbols needed. */
12311 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12312 int fnord () __attribute__((visibility("default")));
12313 #endif
12314
12315 int fnord () { return 42; }
12316 int main ()
12317 {
12318 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12319 int status = $lt_dlunknown;
12320
12321 if (self)
12322 {
12323 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12324 else
12325 {
12326 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12327 else puts (dlerror ());
12328 }
12329 /* dlclose (self); */
12330 }
12331 else
12332 puts (dlerror ());
12333
12334 return status;
12335 }
12336 _LT_EOF
12337 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12338 (eval $ac_link) 2>&5
12339 ac_status=$?
12340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12341 testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s "conftest$ac_exeext" 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
12342 (./conftest; exit; ) >&5 2>/dev/nullscip-shell filesystem . . `/dev/null`.
12343 lt_status=$?
12344 case x$lt_status in
12345 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12346 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12347 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12348 esac
12349 else :
12350 # compilation failed
12351 lt_cv_dlopen_self_static=no
12352 fi
12353 fi
12354 rmscip-shell system . . rm. -fr conftest*
12355
12356
12357 fi
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12359 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12360 fi
12361
12362 CPPFLAGS=$save_CPPFLAGS
12363 LDFLAGS=$save_LDFLAGS
12364 LIBS=$save_LIBS
12365 ;;
12366 esac
12367
12368 case $lt_cv_dlopen_self in
12369 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12370 *) enable_dlopen_self=unknown ;;
12371 esac
12372
12373 case $lt_cv_dlopen_self_static in
12374 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12375 *) enable_dlopen_self_static=unknown ;;
12376 esac
12377 fi
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395 striplib=
12396 old_striplib=
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12398 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12399 if testscip-shell system . . test. -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/nullscip-shell filesystem . . `/dev/null`.; then
12400 testscip-shell system . . test. -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12401 testscip-shell system . . test. -z "$striplib" && striplib="$STRIP --strip-unneeded"
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12403 $as_echo "yes" >&6; }
12404 else
12405 # FIXME - insert some real tests, host_os isn't really good enough
12406 case $host_os in
12407 darwin*)
12408 if testscip-shell system . . test. -n "$STRIP"; then
12409 striplib="$STRIP -x"
12410 old_striplib="$STRIP -S"
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12412 $as_echo "yes" >&6; }
12413 else
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12415 $as_echo "no" >&6; }
12416 fi
12417 ;;
12418 *)
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12420 $as_echo "no" >&6; }
12421 ;;
12422 esac
12423 fi
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436 # Report what library types will actually be built
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12438 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12440 $as_echo "$can_build_shared" >&6; }
12441
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12443 $as_echo_n "checking whether to build shared libraries... " >&6; }
12444 testscip-shell system . . test. no = "$can_build_shared" && enable_shared=no
12445
12446 # On AIX, shared libraries and static libraries use the same namespace, and
12447 # are all built from PIC.
12448 case $host_os in
12449 aix3*)
12450 testscip-shell system . . test. yes = "$enable_shared" && enable_static=no
12451 if testscip-shell system . . test. -n "$RANLIB"; then
12452 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12453 postinstall_cmds='$RANLIB $lib'
12454 fi
12455 ;;
12456
12457 aix[4-9]*)
12458 if testscip-shell system . . test. ia64 != "$host_cpu"; then
12459 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12460 yes,aix,yes) ;; # shared object as lib.so file only
12461 yes,svr4,*) ;; # shared object as lib.so archive member only
12462 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12463 esac
12464 fi
12465 ;;
12466 esac
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12468 $as_echo "$enable_shared" >&6; }
12469
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12471 $as_echo_n "checking whether to build static libraries... " >&6; }
12472 # Make sure either enable_shared or enable_static is yes.
12473 testscip-shell system . . test. yes = "$enable_shared" || enable_static=yes
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12475 $as_echo "$enable_static" >&6; }
12476
12477
12478
12479
12480 fi
12481 ac_ext=c
12482 ac_cpp='$CPP $CPPFLAGS'
12483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12486
12487 CC=$lt_save_CC
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503 ac_config_commands="$ac_config_commands libtool"
12504
12505
12506
12507
12508 # Only expand once:
12509
12510
12511
12512
12513
12514 default_use_std_cpp=yes
12515
12516 case "x$build_os" in
12517 *darwin*)
12518 CPPUTEST_ON_MACOSX=yes
12519
12520 ;;
12521 *mingw*)
12522 default_use_std_cpp=no
12523 ;;
12524 esac
12525
12526 ac_ext=c
12527 ac_cpp='$CPP $CPPFLAGS'
12528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12531 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
12532 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12533 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12535 $as_echo_n "checking for $ac_word... " >&6; }
12536 if ${ac_cv_prog_CC+:} false; then :
12537 $as_echo_n "(cached) " >&6
12538 else
12539 if testscip-shell system . . test. -n "$CC"; then
12540 ac_cv_prog_CC="$CC" # Let the user override the test.
12541 else
12542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12543 for as_dir in $PATH
12544 do
12545 IFS=$as_save_IFS
12546 testscip-shell system . . test. -z "$as_dir" && as_dir=.
12547 for ac_exec_ext in '' $ac_executable_extensions; do
12548 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
12549 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12551 break 2
12552 fi
12553 done
12554 done
12555 IFS=$as_save_IFS
12556
12557 fi
12558 fi
12559 CC=$ac_cv_prog_CC
12560 if testscip-shell system . . test. -n "$CC"; then
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12562 $as_echo "$CC" >&6; }
12563 else
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12565 $as_echo "no" >&6; }
12566 fi
12567
12568
12569 fi
12570 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
12571 ac_ct_CC=$CC
12572 # Extract the first word of "gcc", so it can be a program name with args.
12573 set dummy gcc; ac_word=$2
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12575 $as_echo_n "checking for $ac_word... " >&6; }
12576 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12577 $as_echo_n "(cached) " >&6
12578 else
12579 if testscip-shell system . . test. -n "$ac_ct_CC"; then
12580 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12581 else
12582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12583 for as_dir in $PATH
12584 do
12585 IFS=$as_save_IFS
12586 testscip-shell system . . test. -z "$as_dir" && as_dir=.
12587 for ac_exec_ext in '' $ac_executable_extensions; do
12588 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
12589 ac_cv_prog_ac_ct_CC="gcc"
12590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12591 break 2
12592 fi
12593 done
12594 done
12595 IFS=$as_save_IFS
12596
12597 fi
12598 fi
12599 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12600 if testscip-shell system . . test. -n "$ac_ct_CC"; then
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12602 $as_echo "$ac_ct_CC" >&6; }
12603 else
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12605 $as_echo "no" >&6; }
12606 fi
12607
12608 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
12609 CC=""
12610 else
12611 case $cross_compiling:$ac_tool_warned in
12612 yes:)
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12615 ac_tool_warned=yes ;;
12616 esac
12617 CC=$ac_ct_CC
12618 fi
12619 else
12620 CC="$ac_cv_prog_CC"
12621 fi
12622
12623 if testscip-shell system . . test. -z "$CC"; then
12624 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
12625 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12626 set dummy ${ac_tool_prefix}cc; ac_word=$2
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12628 $as_echo_n "checking for $ac_word... " >&6; }
12629 if ${ac_cv_prog_CC+:} false; then :
12630 $as_echo_n "(cached) " >&6
12631 else
12632 if testscip-shell system . . test. -n "$CC"; then
12633 ac_cv_prog_CC="$CC" # Let the user override the test.
12634 else
12635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12636 for as_dir in $PATH
12637 do
12638 IFS=$as_save_IFS
12639 testscip-shell system . . test. -z "$as_dir" && as_dir=.
12640 for ac_exec_ext in '' $ac_executable_extensions; do
12641 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
12642 ac_cv_prog_CC="${ac_tool_prefix}cc"
12643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12644 break 2
12645 fi
12646 done
12647 done
12648 IFS=$as_save_IFS
12649
12650 fi
12651 fi
12652 CC=$ac_cv_prog_CC
12653 if testscip-shell system . . test. -n "$CC"; then
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12655 $as_echo "$CC" >&6; }
12656 else
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12658 $as_echo "no" >&6; }
12659 fi
12660
12661
12662 fi
12663 fi
12664 if testscip-shell system . . test. -z "$CC"; then
12665 # Extract the first word of "cc", so it can be a program name with args.
12666 set dummy cc; ac_word=$2
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12668 $as_echo_n "checking for $ac_word... " >&6; }
12669 if ${ac_cv_prog_CC+:} false; then :
12670 $as_echo_n "(cached) " >&6
12671 else
12672 if testscip-shell system . . test. -n "$CC"; then
12673 ac_cv_prog_CC="$CC" # Let the user override the test.
12674 else
12675 ac_prog_rejected=no
12676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12677 for as_dir in $PATH
12678 do
12679 IFS=$as_save_IFS
12680 testscip-shell system . . test. -z "$as_dir" && as_dir=.
12681 for ac_exec_ext in '' $ac_executable_extensions; do
12682 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
12683 if testscip-shell system . . test. "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then
12684 ac_prog_rejected=yes
12685 continue
12686 fi
12687 ac_cv_prog_CC="cc"
12688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12689 break 2
12690 fi
12691 done
12692 done
12693 IFS=$as_save_IFS
12694
12695 if testscip-shell system . . test. $ac_prog_rejected = yes; then
12696 # We found a bogon in the path, so make sure we never use it.
12697 set dummy $ac_cv_prog_CC
12698 shift
12699 if testscip-shell system . . test. $# != 0; then
12700 # We chose a different compiler from the bogus one.
12701 # However, it has the same basename, so the bogon will be chosen
12702 # first if we set CC to just the basename; use the full file name.
12703 shift
12704 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12705 fi
12706 fi
12707 fi
12708 fi
12709 CC=$ac_cv_prog_CC
12710 if testscip-shell system . . test. -n "$CC"; then
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12712 $as_echo "$CC" >&6; }
12713 else
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12715 $as_echo "no" >&6; }
12716 fi
12717
12718
12719 fi
12720 if testscip-shell system . . test. -z "$CC"; then
12721 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
12722 for ac_prog in cl.exe
12723 do
12724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12727 $as_echo_n "checking for $ac_word... " >&6; }
12728 if ${ac_cv_prog_CC+:} false; then :
12729 $as_echo_n "(cached) " >&6
12730 else
12731 if testscip-shell system . . test. -n "$CC"; then
12732 ac_cv_prog_CC="$CC" # Let the user override the test.
12733 else
12734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12735 for as_dir in $PATH
12736 do
12737 IFS=$as_save_IFS
12738 testscip-shell system . . test. -z "$as_dir" && as_dir=.
12739 for ac_exec_ext in '' $ac_executable_extensions; do
12740 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
12741 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12743 break 2
12744 fi
12745 done
12746 done
12747 IFS=$as_save_IFS
12748
12749 fi
12750 fi
12751 CC=$ac_cv_prog_CC
12752 if testscip-shell system . . test. -n "$CC"; then
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12754 $as_echo "$CC" >&6; }
12755 else
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12757 $as_echo "no" >&6; }
12758 fi
12759
12760
12761 testscip-shell system . . test. -n "$CC" && break
12762 done
12763 fi
12764 if testscip-shell system . . test. -z "$CC"; then
12765 ac_ct_CC=$CC
12766 for ac_prog in cl.exe
12767 do
12768 # Extract the first word of "$ac_prog", so it can be a program name with args.
12769 set dummy $ac_prog; ac_word=$2
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12771 $as_echo_n "checking for $ac_word... " >&6; }
12772 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12773 $as_echo_n "(cached) " >&6
12774 else
12775 if testscip-shell system . . test. -n "$ac_ct_CC"; then
12776 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12777 else
12778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12779 for as_dir in $PATH
12780 do
12781 IFS=$as_save_IFS
12782 testscip-shell system . . test. -z "$as_dir" && as_dir=.
12783 for ac_exec_ext in '' $ac_executable_extensions; do
12784 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
12785 ac_cv_prog_ac_ct_CC="$ac_prog"
12786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12787 break 2
12788 fi
12789 done
12790 done
12791 IFS=$as_save_IFS
12792
12793 fi
12794 fi
12795 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12796 if testscip-shell system . . test. -n "$ac_ct_CC"; then
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12798 $as_echo "$ac_ct_CC" >&6; }
12799 else
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12801 $as_echo "no" >&6; }
12802 fi
12803
12804
12805 testscip-shell system . . test. -n "$ac_ct_CC" && break
12806 done
12807
12808 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
12809 CC=""
12810 else
12811 case $cross_compiling:$ac_tool_warned in
12812 yes:)
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12815 ac_tool_warned=yes ;;
12816 esac
12817 CC=$ac_ct_CC
12818 fi
12819 fi
12820
12821 fi
12822
12823
12824 testscip-shell system . . test. -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12826 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "no acceptable C compiler found in \$PATH
12827 See \`config.log' for more details" "$LINENO" 5; }
12828
12829 # Provide some information about the compiler.
12830 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12831 set X $ac_compile
12832 ac_compiler=$2
12833 for ac_option in --version -v -V -qversion; do
12834 { { ac_try="$ac_compiler $ac_option >&5"
12835 case "(($ac_try" in
12836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12837 *) ac_try_echo=$ac_try;;
12838 esac
12839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12840 $as_echo "$ac_try_echo"; } >&5
12841 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12842 ac_status=$?
12843 if testscip-shell system . . test. -s conftest.err; then
12844 sedscip-shell system . . sed. '10a\
12845 ... rest of stderr output deleted ...
12846 10q' conftest.err >conftest.er1
12847 catscip-shell system . . cat. conftest.er1 >&5
12848 fi
12849 rmscip-shell system . . rm. -f conftest.er1 conftest.err
12850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12851 testscip-shell system . . test. $ac_status = 0; }
12852 done
12853
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12855 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12856 if ${ac_cv_c_compiler_gnu+:} false; then :
12857 $as_echo_n "(cached) " >&6
12858 else
12859 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
12860 /* end confdefs.h. */
12861
12862 int
12863 main ()
12864 {
12865 #ifndef __GNUC__
12866 choke me
12867 #endif
12868
12869 ;
12870 return 0;
12871 }
12872 _ACEOF
12873 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
12874 ac_compiler_gnu=yes
12875 else
12876 ac_compiler_gnu=no
12877 fi
12878 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12879 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12880
12881 fi
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12883 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12884 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
12885 GCC=yes
12886 else
12887 GCC=
12888 fi
12889 ac_test_CFLAGS=${CFLAGS+set}
12890 ac_save_CFLAGS=$CFLAGS
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12892 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12893 if ${ac_cv_prog_cc_g+:} false; then :
12894 $as_echo_n "(cached) " >&6
12895 else
12896 ac_save_c_werror_flag=$ac_c_werror_flag
12897 ac_c_werror_flag=yes
12898 ac_cv_prog_cc_g=no
12899 CFLAGS="-g"
12900 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
12901 /* end confdefs.h. */
12902
12903 int
12904 main ()
12905 {
12906
12907 ;
12908 return 0;
12909 }
12910 _ACEOF
12911 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
12912 ac_cv_prog_cc_g=yes
12913 else
12914 CFLAGS=""
12915 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
12916 /* end confdefs.h. */
12917
12918 int
12919 main ()
12920 {
12921
12922 ;
12923 return 0;
12924 }
12925 _ACEOF
12926 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
12927
12928 else
12929 ac_c_werror_flag=$ac_save_c_werror_flag
12930 CFLAGS="-g"
12931 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
12932 /* end confdefs.h. */
12933
12934 int
12935 main ()
12936 {
12937
12938 ;
12939 return 0;
12940 }
12941 _ACEOF
12942 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
12943 ac_cv_prog_cc_g=yes
12944 fi
12945 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12946 fi
12947 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12948 fi
12949 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12950 ac_c_werror_flag=$ac_save_c_werror_flag
12951 fi
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12953 $as_echo "$ac_cv_prog_cc_g" >&6; }
12954 if testscip-shell system . . test. "$ac_test_CFLAGS" = set; then
12955 CFLAGS=$ac_save_CFLAGS
12956 elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then
12957 if testscip-shell system . . test. "$GCC" = yes; then
12958 CFLAGS="-g -O2"
12959 else
12960 CFLAGS="-g"
12961 fi
12962 else
12963 if testscip-shell system . . test. "$GCC" = yes; then
12964 CFLAGS="-O2"
12965 else
12966 CFLAGS=
12967 fi
12968 fi
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12970 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12971 if ${ac_cv_prog_cc_c89+:} false; then :
12972 $as_echo_n "(cached) " >&6
12973 else
12974 ac_cv_prog_cc_c89=no
12975 ac_save_CC=$CC
12976 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
12977 /* end confdefs.h. */
12978 #include <stdarg.h>
12979 #include <stdio.h>
12980 struct stat;
12981 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12982 struct buf { int x; };
12983 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12984 static char *e (p, i)
12985 char **p;
12986 int i;
12987 {
12988 return p[i];
12989 }
12990 static char *f (char * (*g) (char **, int), char **p, ...)
12991 {
12992 char *s;
12993 va_list v;
12994 va_start (v,p);
12995 s = g (p, va_arg (v,int));
12996 va_end (v);
12997 return s;
12998 }
12999
13000 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13001 function prototypes and stuff, but not '\xHH' hex character constants.
13002 These don't provoke an error unfortunately, instead are silently treated
13003 as 'x'. The following induces an error, until -std is added to get
13004 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13005 array size at least. It's necessary to write '\x00'==0 to get something
13006 that's true only with -std. */
13007 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13008
13009 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13010 inside strings and character constants. */
13011 #define FOO(x) 'x'
13012 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13013
13014 int test (int i, double x);
13015 struct s1 {int (*f) (int a);};
13016 struct s2 {int (*f) (double a);};
13017 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13018 int argc;
13019 char **argv;
13020 int
13021 main ()
13022 {
13023 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13024 ;
13025 return 0;
13026 }
13027 _ACEOF
13028 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13029 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13030 do
13031 CC="$ac_save_CC $ac_arg"
13032 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
13033 ac_cv_prog_cc_c89=$ac_arg
13034 fi
13035 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext
13036 testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break
13037 done
13038 rmscip-shell system . . rm. -f conftest.$ac_ext
13039 CC=$ac_save_CC
13040
13041 fi
13042 # AC_CACHE_VAL
13043 case "x$ac_cv_prog_cc_c89" in
13044 x)
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13046 $as_echo "none needed" >&6; } ;;
13047 xno)
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13049 $as_echo "unsupported" >&6; } ;;
13050 *)
13051 CC="$CC $ac_cv_prog_cc_c89"
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13053 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13054 esac
13055 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != xno; then :
13056
13057 fi
13058
13059 ac_ext=c
13060 ac_cpp='$CPP $CPPFLAGS'
13061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13064
13065 ac_ext=c
13066 ac_cpp='$CPP $CPPFLAGS'
13067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13071 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13072 if ${am_cv_prog_cc_c_o+:} false; then :
13073 $as_echo_n "(cached) " >&6
13074 else
13075 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13076 /* end confdefs.h. */
13077
13078 int
13079 main ()
13080 {
13081
13082 ;
13083 return 0;
13084 }
13085 _ACEOF
13086 # Make sure it works both with $CC and with simple cc.
13087 # Following AC_PROG_CC_C_O, we do the test twice because some
13088 # compilers refuse to overwrite an existing .o file with -o,
13089 # though they will create one.
13090 am_cv_prog_cc_c_o=yes
13091 for am_i in 1 2; do
13092 if { echoscip-shell system . . echo. "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
13093 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
13094 ac_status=$?
13095 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); } \
13097 && testscip-shell system . . test. -f conftest2.$ac_objext; then
13098 : OK
13099 else
13100 am_cv_prog_cc_c_o=no
13101 break
13102 fi
13103 done
13104 rmscip-shell system . . rm. -f core conftest*
13105 unset am_i
13106 fi
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
13108 $as_echo "$am_cv_prog_cc_c_o" >&6; }
13109 if testscip-shell system . . test. "$am_cv_prog_cc_c_o" != yes; then
13110 # Losing compiler, so override with the script.
13111 # FIXME: It is wrong to rewrite CC.
13112 # But if we don't then we get into trouble of one sort or another.
13113 # A longer-term fix would be to have automake use am__CC in this case,
13114 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13115 CC="$am_aux_dir/compile $CC"
13116 fi
13117 ac_ext=c
13118 ac_cpp='$CPP $CPPFLAGS'
13119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13122
13123
13124 depcc="$CC" am_compiler_list=
13125
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13127 $as_echo_n "checking dependency style of $depcc... " >&6; }
13128 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13129 $as_echo_n "(cached) " >&6
13130 else
13131 if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then
13132 # We make a subdir and do the tests there. Otherwise we can end up
13133 # making bogus files that we don't know about and never remove. For
13134 # instance it was reported that on HP-UX the gcc test will end up
13135 # making a dummy file named 'D' -- because '-MD' means "put the output
13136 # in D".
13137 rmscip-shell system . . rm. -rf conftest.dir
13138 mkdirscip-shell system . . mkdir. conftest.dir
13139 # Copy depcomp to subdir because otherwise we won't find it if we're
13140 # using a relative directory.
13141 cpscip-shell system . . cp. "$am_depcomp" conftest.dir
13142 cd conftest.dir
13143 # We will build objects and dependencies in a subdirectory because
13144 # it helps to detect inapplicable dependency modes. For instance
13145 # both Tru64's cc and ICC support -MD to output dependencies as a
13146 # side effect of compilation, but ICC will put the dependencies in
13147 # the current directory while Tru64 will put them in the object
13148 # directory.
13149 mkdirscip-shell system . . mkdir. sub
13150
13151 am_cv_CC_dependencies_compiler_type=none
13152 if testscip-shell system . . test. "$am_compiler_list" = ""; then
13153 am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13154 fi
13155 am__universal=false
13156 case " $depcc " in #(
13157 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13158 esac
13159
13160 for depmode in $am_compiler_list; do
13161 # Setup a source with many dependencies, because some compilers
13162 # like to wrap large dependency lists on column 80 (with \), and
13163 # we should not choose a depcomp mode which is confused by this.
13164 #
13165 # We need to recreate these files for each test, as the compiler may
13166 # overwrite some of them when testing with obscure command lines.
13167 # This happens at least with the AIX C compiler.
13168 : > sub/conftest.c
13169 for i in 1 2 3 4 5 6; do
13170 echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c
13171 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13172 # Solaris 10 /bin/sh.
13173 echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h
13174 done
13175 echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13176
13177 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13178 # mode. It turns out that the SunPro C++ compiler does not properly
13179 # handle '-M -o', and we need to detect this. Also, some Intel
13180 # versions had trouble with output in subdirs.
13181 am__obj=sub/conftest.${OBJEXT-o}
13182 am__minus_obj="-o $am__obj"
13183 case $depmode in
13184 gcc)
13185 # This depmode causes a compiler race in universal mode.
13186 testscip-shell system . . test. "$am__universal" = false || continue
13187 ;;
13188 nosideeffect)
13189 # After this tag, mechanisms are not by side-effect, so they'll
13190 # only be used when explicitly requested.
13191 if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then
13192 continue
13193 else
13194 break
13195 fi
13196 ;;
13197 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13198 # This compiler won't grok '-c -o', but also, the minuso test has
13199 # not run yet. These depmodes are late enough in the game, and
13200 # so weak that their functioning should not be impacted.
13201 am__obj=conftest.${OBJEXT-o}
13202 am__minus_obj=
13203 ;;
13204 none) break ;;
13205 esac
13206 if depmode=$depmode \
13207 source=sub/conftest.c object=$am__obj \
13208 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13209 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13210 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err &&
13211 grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
13212 grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
13213 grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
13214 ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
13215 # icc doesn't choke on unknown options, it will just issue warnings
13216 # or remarks (even with -Werror). So we grep stderr for any message
13217 # that says an option was ignored or not supported.
13218 # When given -MP, icc 7.0 and 7.1 complain thusly:
13219 # icc: Command line warning: ignoring option '-M'; no argument required
13220 # The diagnosis changed in icc 8.0:
13221 # icc: Command line remark: option '-MP' not supported
13222 if (grepscip-shell system . . grep. 'ignoring option' conftest.err ||
13223 grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
13224 am_cv_CC_dependencies_compiler_type=$depmode
13225 break
13226 fi
13227 fi
13228 done
13229
13230 cd ..
13231 rmscip-shell system . . rm. -rf conftest.dir
13232 else
13233 am_cv_CC_dependencies_compiler_type=none
13234 fi
13235
13236 fi
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13238 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13239 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13240
13241 if
13242 testscip-shell system . . test. "x$enable_dependency_tracking" != xno \
13243 && testscip-shell system . . test. "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13244 am__fastdepCC_TRUE=
13245 am__fastdepCC_FALSE='#'
13246 else
13247 am__fastdepCC_TRUE='#'
13248 am__fastdepCC_FALSE=
13249 fi
13250
13251
13252 ac_ext=c
13253 ac_cpp='$CPP $CPPFLAGS'
13254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13258 $as_echo_n "checking how to run the C preprocessor... " >&6; }
13259 # On Suns, sometimes $CPP names a directory.
13260 if testscip-shell system . . test. -n "$CPP" && testscip-shell system . . test. -d "$CPP"; then
13261 CPP=
13262 fi
13263 if testscip-shell system . . test. -z "$CPP"; then
13264 if ${ac_cv_prog_CPP+:} false; then :
13265 $as_echo_n "(cached) " >&6
13266 else
13267 # Double quotes because CPP needs to be expanded
13268 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cppscip-shell filesystem . . `/lib/cpp`."
13269 do
13270 ac_preproc_ok=false
13271 for ac_c_preproc_warn_flag in '' yes
13272 do
13273 # Use a header file that comes with gcc, so configuring glibc
13274 # with a fresh cross-compiler works.
13275 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13276 # <limits.h> exists even on freestanding compilers.
13277 # On the NeXT, cc -E runs the code through the compiler's parser,
13278 # not just through cpp. "Syntax error" is here to catch this case.
13279 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13280 /* end confdefs.h. */
13281 #ifdef __STDC__
13282 # include <limits.h>
13283 #else
13284 # include <assert.h>
13285 #endif
13286 Syntax error
13287 _ACEOF
13288 if ac_fn_c_try_cppscip-shell shell cpputest 4.0-3 ac_fn_c_try_cpp(). "$LINENO"; then :
13289
13290 else
13291 # Broken: fails on valid input.
13292 continue
13293 fi
13294 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
13295
13296 # OK, works on sane cases. Now check whether nonexistent headers
13297 # can be detected and how.
13298 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13300 #include <ac_nonexistent.h>
13301 _ACEOF
13302 if ac_fn_c_try_cppscip-shell shell cpputest 4.0-3 ac_fn_c_try_cpp(). "$LINENO"; then :
13303 # Broken: success on invalid input.
13304 continue
13305 else
13306 # Passes both tests.
13307 ac_preproc_ok=:
13308 break
13309 fi
13310 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
13311
13312 done
13313 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13314 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
13315 if $ac_preproc_ok; then :
13316 break
13317 fi
13318
13319 done
13320 ac_cv_prog_CPP=$CPP
13321
13322 fi
13323 CPP=$ac_cv_prog_CPP
13324 else
13325 ac_cv_prog_CPP=$CPP
13326 fi
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13328 $as_echo "$CPP" >&6; }
13329 ac_preproc_ok=false
13330 for ac_c_preproc_warn_flag in '' yes
13331 do
13332 # Use a header file that comes with gcc, so configuring glibc
13333 # with a fresh cross-compiler works.
13334 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13335 # <limits.h> exists even on freestanding compilers.
13336 # On the NeXT, cc -E runs the code through the compiler's parser,
13337 # not just through cpp. "Syntax error" is here to catch this case.
13338 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13340 #ifdef __STDC__
13341 # include <limits.h>
13342 #else
13343 # include <assert.h>
13344 #endif
13345 Syntax error
13346 _ACEOF
13347 if ac_fn_c_try_cppscip-shell shell cpputest 4.0-3 ac_fn_c_try_cpp(). "$LINENO"; then :
13348
13349 else
13350 # Broken: fails on valid input.
13351 continue
13352 fi
13353 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
13354
13355 # OK, works on sane cases. Now check whether nonexistent headers
13356 # can be detected and how.
13357 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13358 /* end confdefs.h. */
13359 #include <ac_nonexistent.h>
13360 _ACEOF
13361 if ac_fn_c_try_cppscip-shell shell cpputest 4.0-3 ac_fn_c_try_cpp(). "$LINENO"; then :
13362 # Broken: success on invalid input.
13363 continue
13364 else
13365 # Passes both tests.
13366 ac_preproc_ok=:
13367 break
13368 fi
13369 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
13370
13371 done
13372 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13373 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
13374 if $ac_preproc_ok; then :
13375
13376 else
13377 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13379 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "C preprocessor \"$CPP\" fails sanity check
13380 See \`config.log' for more details" "$LINENO" 5; }
13381 fi
13382
13383 ac_ext=c
13384 ac_cpp='$CPP $CPPFLAGS'
13385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13388
13389 ac_ext=cpp
13390 ac_cpp='$CXXCPP $CPPFLAGS'
13391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13394 if testscip-shell system . . test. -z "$CXX"; then
13395 if testscip-shell system . . test. -n "$CCC"; then
13396 CXX=$CCC
13397 else
13398 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
13399 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13400 do
13401 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13402 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13404 $as_echo_n "checking for $ac_word... " >&6; }
13405 if ${ac_cv_prog_CXX+:} false; then :
13406 $as_echo_n "(cached) " >&6
13407 else
13408 if testscip-shell system . . test. -n "$CXX"; then
13409 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13410 else
13411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13412 for as_dir in $PATH
13413 do
13414 IFS=$as_save_IFS
13415 testscip-shell system . . test. -z "$as_dir" && as_dir=.
13416 for ac_exec_ext in '' $ac_executable_extensions; do
13417 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
13418 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13420 break 2
13421 fi
13422 done
13423 done
13424 IFS=$as_save_IFS
13425
13426 fi
13427 fi
13428 CXX=$ac_cv_prog_CXX
13429 if testscip-shell system . . test. -n "$CXX"; then
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13431 $as_echo "$CXX" >&6; }
13432 else
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13434 $as_echo "no" >&6; }
13435 fi
13436
13437
13438 testscip-shell system . . test. -n "$CXX" && break
13439 done
13440 fi
13441 if testscip-shell system . . test. -z "$CXX"; then
13442 ac_ct_CXX=$CXX
13443 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13444 do
13445 # Extract the first word of "$ac_prog", so it can be a program name with args.
13446 set dummy $ac_prog; ac_word=$2
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13448 $as_echo_n "checking for $ac_word... " >&6; }
13449 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
13450 $as_echo_n "(cached) " >&6
13451 else
13452 if testscip-shell system . . test. -n "$ac_ct_CXX"; then
13453 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13454 else
13455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13456 for as_dir in $PATH
13457 do
13458 IFS=$as_save_IFS
13459 testscip-shell system . . test. -z "$as_dir" && as_dir=.
13460 for ac_exec_ext in '' $ac_executable_extensions; do
13461 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
13462 ac_cv_prog_ac_ct_CXX="$ac_prog"
13463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13464 break 2
13465 fi
13466 done
13467 done
13468 IFS=$as_save_IFS
13469
13470 fi
13471 fi
13472 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13473 if testscip-shell system . . test. -n "$ac_ct_CXX"; then
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13475 $as_echo "$ac_ct_CXX" >&6; }
13476 else
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13478 $as_echo "no" >&6; }
13479 fi
13480
13481
13482 testscip-shell system . . test. -n "$ac_ct_CXX" && break
13483 done
13484
13485 if testscip-shell system . . test. "x$ac_ct_CXX" = x; then
13486 CXX="g++"
13487 else
13488 case $cross_compiling:$ac_tool_warned in
13489 yes:)
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13492 ac_tool_warned=yes ;;
13493 esac
13494 CXX=$ac_ct_CXX
13495 fi
13496 fi
13497
13498 fi
13499 fi
13500 # Provide some information about the compiler.
13501 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13502 set X $ac_compile
13503 ac_compiler=$2
13504 for ac_option in --version -v -V -qversion; do
13505 { { ac_try="$ac_compiler $ac_option >&5"
13506 case "(($ac_try" in
13507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13508 *) ac_try_echo=$ac_try;;
13509 esac
13510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13511 $as_echo "$ac_try_echo"; } >&5
13512 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13513 ac_status=$?
13514 if testscip-shell system . . test. -s conftest.err; then
13515 sedscip-shell system . . sed. '10a\
13516 ... rest of stderr output deleted ...
13517 10q' conftest.err >conftest.er1
13518 catscip-shell system . . cat. conftest.er1 >&5
13519 fi
13520 rmscip-shell system . . rm. -f conftest.er1 conftest.err
13521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13522 testscip-shell system . . test. $ac_status = 0; }
13523 done
13524
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13526 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13527 if ${ac_cv_cxx_compiler_gnu+:} false; then :
13528 $as_echo_n "(cached) " >&6
13529 else
13530 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13531 /* end confdefs.h. */
13532
13533 int
13534 main ()
13535 {
13536 #ifndef __GNUC__
13537 choke me
13538 #endif
13539
13540 ;
13541 return 0;
13542 }
13543 _ACEOF
13544 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
13545 ac_compiler_gnu=yes
13546 else
13547 ac_compiler_gnu=no
13548 fi
13549 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13550 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13551
13552 fi
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13554 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13555 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
13556 GXX=yes
13557 else
13558 GXX=
13559 fi
13560 ac_test_CXXFLAGS=${CXXFLAGS+set}
13561 ac_save_CXXFLAGS=$CXXFLAGS
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13563 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13564 if ${ac_cv_prog_cxx_g+:} false; then :
13565 $as_echo_n "(cached) " >&6
13566 else
13567 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13568 ac_cxx_werror_flag=yes
13569 ac_cv_prog_cxx_g=no
13570 CXXFLAGS="-g"
13571 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13572 /* end confdefs.h. */
13573
13574 int
13575 main ()
13576 {
13577
13578 ;
13579 return 0;
13580 }
13581 _ACEOF
13582 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
13583 ac_cv_prog_cxx_g=yes
13584 else
13585 CXXFLAGS=""
13586 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13587 /* end confdefs.h. */
13588
13589 int
13590 main ()
13591 {
13592
13593 ;
13594 return 0;
13595 }
13596 _ACEOF
13597 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
13598
13599 else
13600 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13601 CXXFLAGS="-g"
13602 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13603 /* end confdefs.h. */
13604
13605 int
13606 main ()
13607 {
13608
13609 ;
13610 return 0;
13611 }
13612 _ACEOF
13613 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
13614 ac_cv_prog_cxx_g=yes
13615 fi
13616 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13617 fi
13618 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13619 fi
13620 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13621 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13622 fi
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13624 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13625 if testscip-shell system . . test. "$ac_test_CXXFLAGS" = set; then
13626 CXXFLAGS=$ac_save_CXXFLAGS
13627 elif testscip-shell system . . test. $ac_cv_prog_cxx_g = yes; then
13628 if testscip-shell system . . test. "$GXX" = yes; then
13629 CXXFLAGS="-g -O2"
13630 else
13631 CXXFLAGS="-g"
13632 fi
13633 else
13634 if testscip-shell system . . test. "$GXX" = yes; then
13635 CXXFLAGS="-O2"
13636 else
13637 CXXFLAGS=
13638 fi
13639 fi
13640 ac_ext=c
13641 ac_cpp='$CPP $CPPFLAGS'
13642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13645
13646 depcc="$CXX" am_compiler_list=
13647
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13649 $as_echo_n "checking dependency style of $depcc... " >&6; }
13650 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
13651 $as_echo_n "(cached) " >&6
13652 else
13653 if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then
13654 # We make a subdir and do the tests there. Otherwise we can end up
13655 # making bogus files that we don't know about and never remove. For
13656 # instance it was reported that on HP-UX the gcc test will end up
13657 # making a dummy file named 'D' -- because '-MD' means "put the output
13658 # in D".
13659 rmscip-shell system . . rm. -rf conftest.dir
13660 mkdirscip-shell system . . mkdir. conftest.dir
13661 # Copy depcomp to subdir because otherwise we won't find it if we're
13662 # using a relative directory.
13663 cpscip-shell system . . cp. "$am_depcomp" conftest.dir
13664 cd conftest.dir
13665 # We will build objects and dependencies in a subdirectory because
13666 # it helps to detect inapplicable dependency modes. For instance
13667 # both Tru64's cc and ICC support -MD to output dependencies as a
13668 # side effect of compilation, but ICC will put the dependencies in
13669 # the current directory while Tru64 will put them in the object
13670 # directory.
13671 mkdirscip-shell system . . mkdir. sub
13672
13673 am_cv_CXX_dependencies_compiler_type=none
13674 if testscip-shell system . . test. "$am_compiler_list" = ""; then
13675 am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13676 fi
13677 am__universal=false
13678 case " $depcc " in #(
13679 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13680 esac
13681
13682 for depmode in $am_compiler_list; do
13683 # Setup a source with many dependencies, because some compilers
13684 # like to wrap large dependency lists on column 80 (with \), and
13685 # we should not choose a depcomp mode which is confused by this.
13686 #
13687 # We need to recreate these files for each test, as the compiler may
13688 # overwrite some of them when testing with obscure command lines.
13689 # This happens at least with the AIX C compiler.
13690 : > sub/conftest.c
13691 for i in 1 2 3 4 5 6; do
13692 echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c
13693 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13694 # Solaris 10 /bin/sh.
13695 echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h
13696 done
13697 echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13698
13699 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13700 # mode. It turns out that the SunPro C++ compiler does not properly
13701 # handle '-M -o', and we need to detect this. Also, some Intel
13702 # versions had trouble with output in subdirs.
13703 am__obj=sub/conftest.${OBJEXT-o}
13704 am__minus_obj="-o $am__obj"
13705 case $depmode in
13706 gcc)
13707 # This depmode causes a compiler race in universal mode.
13708 testscip-shell system . . test. "$am__universal" = false || continue
13709 ;;
13710 nosideeffect)
13711 # After this tag, mechanisms are not by side-effect, so they'll
13712 # only be used when explicitly requested.
13713 if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then
13714 continue
13715 else
13716 break
13717 fi
13718 ;;
13719 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13720 # This compiler won't grok '-c -o', but also, the minuso test has
13721 # not run yet. These depmodes are late enough in the game, and
13722 # so weak that their functioning should not be impacted.
13723 am__obj=conftest.${OBJEXT-o}
13724 am__minus_obj=
13725 ;;
13726 none) break ;;
13727 esac
13728 if depmode=$depmode \
13729 source=sub/conftest.c object=$am__obj \
13730 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13731 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13732 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err &&
13733 grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
13734 grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
13735 grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
13736 ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
13737 # icc doesn't choke on unknown options, it will just issue warnings
13738 # or remarks (even with -Werror). So we grep stderr for any message
13739 # that says an option was ignored or not supported.
13740 # When given -MP, icc 7.0 and 7.1 complain thusly:
13741 # icc: Command line warning: ignoring option '-M'; no argument required
13742 # The diagnosis changed in icc 8.0:
13743 # icc: Command line remark: option '-MP' not supported
13744 if (grepscip-shell system . . grep. 'ignoring option' conftest.err ||
13745 grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
13746 am_cv_CXX_dependencies_compiler_type=$depmode
13747 break
13748 fi
13749 fi
13750 done
13751
13752 cd ..
13753 rmscip-shell system . . rm. -rf conftest.dir
13754 else
13755 am_cv_CXX_dependencies_compiler_type=none
13756 fi
13757
13758 fi
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13760 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13761 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13762
13763 if
13764 testscip-shell system . . test. "x$enable_dependency_tracking" != xno \
13765 && testscip-shell system . . test. "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13766 am__fastdepCXX_TRUE=
13767 am__fastdepCXX_FALSE='#'
13768 else
13769 am__fastdepCXX_TRUE='#'
13770 am__fastdepCXX_FALSE=
13771 fi
13772
13773
13774
13775
13776 func_stripname_cnfscip-shell shell cpputest 4.0-3 func_stripname_cnf(). ()
13777 {
13778 case $2 in
13779 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
13780 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
13781 esac
13782 } # func_stripname_cnf
13783
13784 if testscip-shell system . . test. -n "$CXX" && ( testscip-shell system . . test. no != "$CXX" &&
13785 ( (testscip-shell system . . test. g++ = "$CXX" && `g++ -v >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1` ) ||
13786 (testscip-shell system . . test. g++ != "$CXX"))); then
13787 ac_ext=cpp
13788 ac_cpp='$CXXCPP $CPPFLAGS'
13789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13793 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13794 if testscip-shell system . . test. -z "$CXXCPP"; then
13795 if ${ac_cv_prog_CXXCPP+:} false; then :
13796 $as_echo_n "(cached) " >&6
13797 else
13798 # Double quotes because CXXCPP needs to be expanded
13799 for CXXCPP in "$CXX -E" "/lib/cppscip-shell filesystem . . `/lib/cpp`."
13800 do
13801 ac_preproc_ok=false
13802 for ac_cxx_preproc_warn_flag in '' yes
13803 do
13804 # Use a header file that comes with gcc, so configuring glibc
13805 # with a fresh cross-compiler works.
13806 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13807 # <limits.h> exists even on freestanding compilers.
13808 # On the NeXT, cc -E runs the code through the compiler's parser,
13809 # not just through cpp. "Syntax error" is here to catch this case.
13810 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13811 /* end confdefs.h. */
13812 #ifdef __STDC__
13813 # include <limits.h>
13814 #else
13815 # include <assert.h>
13816 #endif
13817 Syntax error
13818 _ACEOF
13819 if ac_fn_cxx_try_cppscip-shell shell cpputest 4.0-3 ac_fn_cxx_try_cpp(). "$LINENO"; then :
13820
13821 else
13822 # Broken: fails on valid input.
13823 continue
13824 fi
13825 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
13826
13827 # OK, works on sane cases. Now check whether nonexistent headers
13828 # can be detected and how.
13829 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13830 /* end confdefs.h. */
13831 #include <ac_nonexistent.h>
13832 _ACEOF
13833 if ac_fn_cxx_try_cppscip-shell shell cpputest 4.0-3 ac_fn_cxx_try_cpp(). "$LINENO"; then :
13834 # Broken: success on invalid input.
13835 continue
13836 else
13837 # Passes both tests.
13838 ac_preproc_ok=:
13839 break
13840 fi
13841 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
13842
13843 done
13844 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13845 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
13846 if $ac_preproc_ok; then :
13847 break
13848 fi
13849
13850 done
13851 ac_cv_prog_CXXCPP=$CXXCPP
13852
13853 fi
13854 CXXCPP=$ac_cv_prog_CXXCPP
13855 else
13856 ac_cv_prog_CXXCPP=$CXXCPP
13857 fi
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13859 $as_echo "$CXXCPP" >&6; }
13860 ac_preproc_ok=false
13861 for ac_cxx_preproc_warn_flag in '' yes
13862 do
13863 # Use a header file that comes with gcc, so configuring glibc
13864 # with a fresh cross-compiler works.
13865 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13866 # <limits.h> exists even on freestanding compilers.
13867 # On the NeXT, cc -E runs the code through the compiler's parser,
13868 # not just through cpp. "Syntax error" is here to catch this case.
13869 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13871 #ifdef __STDC__
13872 # include <limits.h>
13873 #else
13874 # include <assert.h>
13875 #endif
13876 Syntax error
13877 _ACEOF
13878 if ac_fn_cxx_try_cppscip-shell shell cpputest 4.0-3 ac_fn_cxx_try_cpp(). "$LINENO"; then :
13879
13880 else
13881 # Broken: fails on valid input.
13882 continue
13883 fi
13884 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
13885
13886 # OK, works on sane cases. Now check whether nonexistent headers
13887 # can be detected and how.
13888 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13890 #include <ac_nonexistent.h>
13891 _ACEOF
13892 if ac_fn_cxx_try_cppscip-shell shell cpputest 4.0-3 ac_fn_cxx_try_cpp(). "$LINENO"; then :
13893 # Broken: success on invalid input.
13894 continue
13895 else
13896 # Passes both tests.
13897 ac_preproc_ok=:
13898 break
13899 fi
13900 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
13901
13902 done
13903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13904 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
13905 if $ac_preproc_ok; then :
13906
13907 else
13908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13910 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13911 See \`config.log' for more details" "$LINENO" 5; }
13912 fi
13913
13914 ac_ext=c
13915 ac_cpp='$CPP $CPPFLAGS'
13916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13919
13920 else
13921 _lt_caught_CXX_error=yes
13922 fi
13923
13924 ac_ext=cpp
13925 ac_cpp='$CXXCPP $CPPFLAGS'
13926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13929
13930 archive_cmds_need_lc_CXX=no
13931 allow_undefined_flag_CXX=
13932 always_export_symbols_CXX=no
13933 archive_expsym_cmds_CXX=
13934 compiler_needs_object_CXX=no
13935 export_dynamic_flag_spec_CXX=
13936 hardcode_direct_CXX=no
13937 hardcode_direct_absolute_CXX=no
13938 hardcode_libdir_flag_spec_CXX=
13939 hardcode_libdir_separator_CXX=
13940 hardcode_minus_L_CXX=no
13941 hardcode_shlibpath_var_CXX=unsupported
13942 hardcode_automatic_CXX=no
13943 inherit_rpath_CXX=no
13944 module_cmds_CXX=
13945 module_expsym_cmds_CXX=
13946 link_all_deplibs_CXX=unknown
13947 old_archive_cmds_CXX=$old_archive_cmds
13948 reload_flag_CXX=$reload_flag
13949 reload_cmds_CXX=$reload_cmds
13950 no_undefined_flag_CXX=
13951 whole_archive_flag_spec_CXX=
13952 enable_shared_with_static_runtimes_CXX=no
13953
13954 # Source file extension for C++ test sources.
13955 ac_ext=cpp
13956
13957 # Object file extension for compiled C++ test sources.
13958 objext=o
13959 objext_CXX=$objext
13960
13961 # No sense in running all these tests if we already determined that
13962 # the CXX compiler isn't working. Some variables (like enable_shared)
13963 # are currently assumed to apply to all compilers on this platform,
13964 # and will be corrupted by setting them based on a non-working compiler.
13965 if testscip-shell system . . test. yes != "$_lt_caught_CXX_error"; then
13966 # Code to be used in simple compile tests
13967 lt_simple_compile_test_code="int some_variable = 0;"
13968
13969 # Code to be used in simple link tests
13970 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13971
13972 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13973
13974
13975
13976
13977
13978
13979 # If no C compiler was specified, use CC.
13980 LTCC=${LTCC-"$CC"}
13981
13982 # If no C compiler flags were specified, use CFLAGS.
13983 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13984
13985 # Allow CC to be a program name with arguments.
13986 compiler=$CC
13987
13988
13989 # save warnings/boilerplate of simple test code
13990 ac_outfile=conftest.$ac_objext
13991 echoscip-shell system . . echo. "$lt_simple_compile_test_code" >conftest.$ac_ext
13992 eval "$ac_compile" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
13993 _lt_compiler_boilerplate=`catscip-shell system . . cat. conftest.err`
13994 $RM conftest*
13995
13996 ac_outfile=conftest.$ac_objext
13997 echoscip-shell system . . echo. "$lt_simple_link_test_code" >conftest.$ac_ext
13998 eval "$ac_link" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
13999 _lt_linker_boilerplate=`catscip-shell system . . cat. conftest.err`
14000 $RM -r conftest*
14001
14002
14003 # Allow CC to be a program name with arguments.
14004 lt_save_CC=$CC
14005 lt_save_CFLAGS=$CFLAGS
14006 lt_save_LD=$LD
14007 lt_save_GCC=$GCC
14008 GCC=$GXX
14009 lt_save_with_gnu_ld=$with_gnu_ld
14010 lt_save_path_LD=$lt_cv_path_LD
14011 if testscip-shell system . . test. -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14012 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14013 else
14014 $as_unset lt_cv_prog_gnu_ld
14015 fi
14016 if testscip-shell system . . test. -n "${lt_cv_path_LDCXX+set}"; then
14017 lt_cv_path_LD=$lt_cv_path_LDCXX
14018 else
14019 $as_unset lt_cv_path_LD
14020 fi
14021 testscip-shell system . . test. -z "${LDCXX+set}" || LD=$LDCXX
14022 CC=${CXX-"c++"}
14023 CFLAGS=$CXXFLAGS
14024 compiler=$CC
14025 compiler_CXX=$CC
14026 func_cc_basenamescip-shell shell cpputest 4.0-3 func_cc_basename(). $compiler
14027 cc_basename=$func_cc_basename_result
14028
14029
14030 if testscip-shell system . . test. -n "$compiler"; then
14031 # We don't want -fno-exception when compiling C++ code, so set the
14032 # no_builtin_flag separately
14033 if testscip-shell system . . test. yes = "$GXX"; then
14034 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14035 else
14036 lt_prog_compiler_no_builtin_flag_CXX=
14037 fi
14038
14039 if testscip-shell system . . test. yes = "$GXX"; then
14040 # Set up default GNU C++ configuration
14041
14042
14043
14044 # Check whether --with-gnu-ld was given.
14045 if testscip-shell system . . test. "${with_gnu_ld+set}" = set; then :
14046 withval=$with_gnu_ld; testscip-shell system . . test. no = "$withval" || with_gnu_ld=yes
14047 else
14048 with_gnu_ld=no
14049 fi
14050
14051 ac_prog=ld
14052 if testscip-shell system . . test. yes = "$GCC"; then
14053 # Check if gcc -print-prog-name=ld gives a path.
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14055 $as_echo_n "checking for ld used by $CC... " >&6; }
14056 case $host in
14057 *-*-mingw*)
14058 # gcc leaves a trailing carriage return, which upsets mingw
14059 ac_prog=`($CC -print-prog-name=ld) 2>&5 | trscip-shell system . . tr. -d '\015'` ;;
14060 *)
14061 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14062 esac
14063 case $ac_prog in
14064 # Accept absolute paths.
14065 [\\/]* | ?:[\\/]*)
14066 re_direlt='/[^/][^/]*/\.\./scip-shell filesystem . . `/[^/][^/]*/\.\./`.'
14067 # Canonicalize the pathname of ld
14068 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14069 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; do
14070 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14071 done
14072 testscip-shell system . . test. -z "$LD" && LD=$ac_prog
14073 ;;
14074 "")
14075 # If it fails, then pretend we aren't using GCC.
14076 ac_prog=ld
14077 ;;
14078 *)
14079 # If it is relative, then search for the first ld in PATH.
14080 with_gnu_ld=unknown
14081 ;;
14082 esac
14083 elif testscip-shell system . . test. yes = "$with_gnu_ld"; then
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14085 $as_echo_n "checking for GNU ld... " >&6; }
14086 else
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14088 $as_echo_n "checking for non-GNU ld... " >&6; }
14089 fi
14090 if ${lt_cv_path_LD+:} false; then :
14091 $as_echo_n "(cached) " >&6
14092 else
14093 if testscip-shell system . . test. -z "$LD"; then
14094 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
14095 for ac_dir in $PATH; do
14096 IFS=$lt_save_ifs
14097 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
14098 if testscip-shell system . . test. -f "$ac_dir/$ac_prog" || testscip-shell system . . test. -f "$ac_dir/$ac_prog$ac_exeext"; then
14099 lt_cv_path_LD=$ac_dir/$ac_prog
14100 # Check to see if the program is GNU ld. I'd rather use --version,
14101 # but apparently some variants of GNU ld only accept -v.
14102 # Break only if it was the GNU/non-GNU ld that we prefer.
14103 case `"$lt_cv_path_LD" -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
14104 *GNU* | *'with BFD'*)
14105 testscip-shell system . . test. no != "$with_gnu_ld" && break
14106 ;;
14107 *)
14108 testscip-shell system . . test. yes != "$with_gnu_ld" && break
14109 ;;
14110 esac
14111 fi
14112 done
14113 IFS=$lt_save_ifs
14114 else
14115 lt_cv_path_LD=$LD # Let the user override the test with a path.
14116 fi
14117 fi
14118
14119 LD=$lt_cv_path_LD
14120 if testscip-shell system . . test. -n "$LD"; then
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14122 $as_echo "$LD" >&6; }
14123 else
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14125 $as_echo "no" >&6; }
14126 fi
14127 testscip-shell system . . test. -z "$LD" && as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "no acceptable ld found in \$PATH" "$LINENO" 5
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14129 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14130 if ${lt_cv_prog_gnu_ld+:} false; then :
14131 $as_echo_n "(cached) " >&6
14132 else
14133 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14134 case `$LD -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
14135 *GNU* | *'with BFD'*)
14136 lt_cv_prog_gnu_ld=yes
14137 ;;
14138 *)
14139 lt_cv_prog_gnu_ld=no
14140 ;;
14141 esac
14142 fi
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14144 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14145 with_gnu_ld=$lt_cv_prog_gnu_ld
14146
14147
14148
14149
14150
14151
14152
14153 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14154 # archiving commands below assume that GNU ld is being used.
14155 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
14156 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14157 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14158
14159 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14160 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14161
14162 # If archive_cmds runs LD, not CC, wlarc should be empty
14163 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14164 # investigate it a little bit more. (MM)
14165 wlarc='$wl'
14166
14167 # ancient GNU ld didn't support --whole-archive et. al.
14168 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14169 $GREP 'no-whole-archive' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
14170 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14171 else
14172 whole_archive_flag_spec_CXX=
14173 fi
14174 else
14175 with_gnu_ld=no
14176 wlarc=
14177
14178 # A generic and very simple default shared library creation
14179 # command for GNU C++ for the case where it uses the native
14180 # linker, instead of GNU ld. If possible, this setting should
14181 # overridden to take advantage of the native linker features on
14182 # the platform it is being used on.
14183 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14184 fi
14185
14186 # Commands to make compiler produce verbose output that lists
14187 # what "hidden" libraries, object files and flags are used when
14188 # linking a shared library.
14189 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14190
14191 else
14192 GXX=no
14193 with_gnu_ld=no
14194 wlarc=
14195 fi
14196
14197 # PORTME: fill in a description of your system's C++ link characteristics
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14199 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14200 ld_shlibs_CXX=yes
14201 case $host_os in
14202 aix3*)
14203 # FIXME: insert proper C++ library support
14204 ld_shlibs_CXX=no
14205 ;;
14206 aix[4-9]*)
14207 if testscip-shell system . . test. ia64 = "$host_cpu"; then
14208 # On IA64, the linker does run time linking by default, so we don't
14209 # have to do anything special.
14210 aix_use_runtimelinking=no
14211 exp_sym_flag='-Bexport'
14212 no_entry_flag=
14213 else
14214 aix_use_runtimelinking=no
14215
14216 # Test if we are trying to use run time linking or normal
14217 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14218 # have runtime linking enabled, and use it for executables.
14219 # For shared libraries, we enable/disable runtime linking
14220 # depending on the kind of the shared library created -
14221 # when "with_aix_soname,aix_use_runtimelinking" is:
14222 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
14223 # "aix,yes" lib.so shared, rtl:yes, for executables
14224 # lib.a static archive
14225 # "both,no" lib.so.V(shr.o) shared, rtl:yes
14226 # lib.a(lib.so.V) shared, rtl:no, for executables
14227 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14228 # lib.a(lib.so.V) shared, rtl:no
14229 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
14230 # lib.a static archive
14231 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14232 for ld_flag in $LDFLAGS; do
14233 case $ld_flag in
14234 *-brtl*)
14235 aix_use_runtimelinking=yes
14236 break
14237 ;;
14238 esac
14239 done
14240 if testscip-shell system . . test. svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14241 # With aix-soname=svr4, we create the lib.so.V shared archives only,
14242 # so we don't have lib.a shared libs to link our executables.
14243 # We have to force runtime linking in this case.
14244 aix_use_runtimelinking=yes
14245 LDFLAGS="$LDFLAGS -Wl,-brtl"
14246 fi
14247 ;;
14248 esac
14249
14250 exp_sym_flag='-bexport'
14251 no_entry_flag='-bnoentry'
14252 fi
14253
14254 # When large executables or shared objects are built, AIX ld can
14255 # have problems creating the table of contents. If linking a library
14256 # or program results in "error TOC overflow" add -mminimal-toc to
14257 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14258 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14259
14260 archive_cmds_CXX=''
14261 hardcode_direct_CXX=yes
14262 hardcode_direct_absolute_CXX=yes
14263 hardcode_libdir_separator_CXX=':'
14264 link_all_deplibs_CXX=yes
14265 file_list_spec_CXX='$wl-f,'
14266 case $with_aix_soname,$aix_use_runtimelinking in
14267 aix,*) ;; # no import file
14268 svr4,* | *,yes) # use import file
14269 # The Import File defines what to hardcode.
14270 hardcode_direct_CXX=no
14271 hardcode_direct_absolute_CXX=no
14272 ;;
14273 esac
14274
14275 if testscip-shell system . . test. yes = "$GXX"; then
14276 case $host_os in aix4.[012]|aix4.[012].*)
14277 # We only want to do this on AIX 4.2 and lower, the check
14278 # below for broken collect2 doesn't work under 4.3+
14279 collect2name=`$CC -print-prog-name=collect2`
14280 if testscip-shell system . . test. -f "$collect2name" &&
14281 stringsscip-shell system . . strings. "$collect2name" | $GREP resolve_lib_name >/dev/nullscip-shell filesystem . . `/dev/null`.
14282 then
14283 # We have reworked collect2
14284 :
14285 else
14286 # We have old collect2
14287 hardcode_direct_CXX=unsupported
14288 # It fails to find uninstalled libraries when the uninstalled
14289 # path is not listed in the libpath. Setting hardcode_minus_L
14290 # to unsupported forces relinking
14291 hardcode_minus_L_CXX=yes
14292 hardcode_libdir_flag_spec_CXX='-L$libdir'
14293 hardcode_libdir_separator_CXX=
14294 fi
14295 esac
14296 shared_flag='-shared'
14297 if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then
14298 shared_flag=$shared_flag' $wl-G'
14299 fi
14300 # Need to ensure runtime linking is disabled for the traditional
14301 # shared library, or the linker may eventually find shared libraries
14302 # /with/ Import File - we do not want to mix them.
14303 shared_flag_aix='-shared'
14304 shared_flag_svr4='-shared $wl-G'
14305 else
14306 # not using gcc
14307 if testscip-shell system . . test. ia64 = "$host_cpu"; then
14308 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14309 # chokes on -Wl,-G. The following line is correct:
14310 shared_flag='-G'
14311 else
14312 if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then
14313 shared_flag='$wl-G'
14314 else
14315 shared_flag='$wl-bM:SRE'
14316 fi
14317 shared_flag_aix='$wl-bM:SRE'
14318 shared_flag_svr4='$wl-G'
14319 fi
14320 fi
14321
14322 export_dynamic_flag_spec_CXX='$wl-bexpall'
14323 # It seems that -bexpall does not export symbols beginning with
14324 # underscore (_), so it is better to generate a list of symbols to
14325 # export.
14326 always_export_symbols_CXX=yes
14327 if testscip-shell system . . test. aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14328 # Warning - without using the other runtime loading flags (-brtl),
14329 # -berok will link without error, but may produce a broken library.
14330 # The "-G" linker flag allows undefined symbols.
14331 no_undefined_flag_CXX='-bernotok'
14332 # Determine the default libpath from the value encoded in an empty
14333 # executable.
14334 if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then
14335 aix_libpath=$lt_cv_aix_libpath
14336 else
14337 if ${lt_cv_aix_libpath__CXX+:} false; then :
14338 $as_echo_n "(cached) " >&6
14339 else
14340 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
14341 /* end confdefs.h. */
14342
14343 int
14344 main ()
14345 {
14346
14347 ;
14348 return 0;
14349 }
14350 _ACEOF
14351 if ac_fn_cxx_try_linkscip-shell shell cpputest 4.0-3 ac_fn_cxx_try_link(). "$LINENO"; then :
14352
14353 lt_aix_libpath_sed='
14354 /Import File Strings/,/^$/ {
14355 /^0/ {
14356 s/^0 *\([^ ]*\) *$/\1/
14357 p
14358 }
14359 }'
14360 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
14361 # Check for a 64-bit object if we didn't find anything.
14362 if testscip-shell system . . test. -z "$lt_cv_aix_libpath__CXX"; then
14363 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
14364 fi
14365 fi
14366 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
14367 conftest$ac_exeext conftest.$ac_ext
14368 if testscip-shell system . . test. -z "$lt_cv_aix_libpath__CXX"; then
14369 lt_cv_aix_libpath__CXX=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`.
14370 fi
14371
14372 fi
14373
14374 aix_libpath=$lt_cv_aix_libpath__CXX
14375 fi
14376
14377 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14378
14379 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
14380 else
14381 if testscip-shell system . . test. ia64 = "$host_cpu"; then
14382 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14383 allow_undefined_flag_CXX="-z nodefs"
14384 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
14385 else
14386 # Determine the default libpath from the value encoded in an
14387 # empty executable.
14388 if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then
14389 aix_libpath=$lt_cv_aix_libpath
14390 else
14391 if ${lt_cv_aix_libpath__CXX+:} false; then :
14392 $as_echo_n "(cached) " >&6
14393 else
14394 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
14395 /* end confdefs.h. */
14396
14397 int
14398 main ()
14399 {
14400
14401 ;
14402 return 0;
14403 }
14404 _ACEOF
14405 if ac_fn_cxx_try_linkscip-shell shell cpputest 4.0-3 ac_fn_cxx_try_link(). "$LINENO"; then :
14406
14407 lt_aix_libpath_sed='
14408 /Import File Strings/,/^$/ {
14409 /^0/ {
14410 s/^0 *\([^ ]*\) *$/\1/
14411 p
14412 }
14413 }'
14414 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
14415 # Check for a 64-bit object if we didn't find anything.
14416 if testscip-shell system . . test. -z "$lt_cv_aix_libpath__CXX"; then
14417 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
14418 fi
14419 fi
14420 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
14421 conftest$ac_exeext conftest.$ac_ext
14422 if testscip-shell system . . test. -z "$lt_cv_aix_libpath__CXX"; then
14423 lt_cv_aix_libpath__CXX=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`.
14424 fi
14425
14426 fi
14427
14428 aix_libpath=$lt_cv_aix_libpath__CXX
14429 fi
14430
14431 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14432 # Warning - without using the other run time loading flags,
14433 # -berok will link without error, but may produce a broken library.
14434 no_undefined_flag_CXX=' $wl-bernotok'
14435 allow_undefined_flag_CXX=' $wl-berok'
14436 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
14437 # We only use this code for GNU lds that support --whole-archive.
14438 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14439 else
14440 # Exported symbols can be pulled into shared objects from archives
14441 whole_archive_flag_spec_CXX='$convenience'
14442 fi
14443 archive_cmds_need_lc_CXX=yes
14444 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14445 # -brtl affects multiple linker settings, -berok does not and is overridden later
14446 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14447 if testscip-shell system . . test. svr4 != "$with_aix_soname"; then
14448 # This is similar to how AIX traditionally builds its shared
14449 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14450 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
14451 fi
14452 if testscip-shell system . . test. aix != "$with_aix_soname"; then
14453 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
14454 else
14455 # used by -dlpreopen to get the symbols
14456 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
14457 fi
14458 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14459 fi
14460 fi
14461 ;;
14462
14463 beos*)
14464 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
14465 allow_undefined_flag_CXX=unsupported
14466 # Joseph Beckenbach <[email protected]> says some releases of gcc
14467 # support --undefined. This deserves some investigation. FIXME
14468 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14469 else
14470 ld_shlibs_CXX=no
14471 fi
14472 ;;
14473
14474 chorus*)
14475 case $cc_basename in
14476 *)
14477 # FIXME: insert proper C++ library support
14478 ld_shlibs_CXX=no
14479 ;;
14480 esac
14481 ;;
14482
14483 cygwin* | mingw* | pw32* | cegcc*)
14484 case $GXX,$cc_basename in
14485 ,cl* | no,cl*)
14486 # Native MSVC
14487 # hardcode_libdir_flag_spec is actually meaningless, as there is
14488 # no search path for DLLs.
14489 hardcode_libdir_flag_spec_CXX=' '
14490 allow_undefined_flag_CXX=unsupported
14491 always_export_symbols_CXX=yes
14492 file_list_spec_CXX='@'
14493 # Tell ltmain to make .lib files, not .a files.
14494 libext=lib
14495 # Tell ltmain to make .dll files, not .so files.
14496 shrext_cmds=.dll
14497 # FIXME: Setting linknames here is a bad hack.
14498 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14499 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14500 cp "$export_symbols" "$output_objdir/$soname.def";
14501 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14502 else
14503 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14504 fi~
14505 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14506 linknames='
14507 # The linker will not automatically build a static lib if we build a DLL.
14508 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14509 enable_shared_with_static_runtimes_CXX=yes
14510 # Don't use ranlib
14511 old_postinstall_cmds_CXX='chmod 644 $oldlib'
14512 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14513 lt_tool_outputfile="@TOOL_OUTPUT@"~
14514 case $lt_outputfile in
14515 *.exe|*.EXE) ;;
14516 *)
14517 lt_outputfile=$lt_outputfile.exe
14518 lt_tool_outputfile=$lt_tool_outputfile.exe
14519 ;;
14520 esac~
14521 func_to_tool_file "$lt_outputfile"~
14522 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14523 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14524 $RM "$lt_outputfile.manifest";
14525 fi'
14526 ;;
14527 *)
14528 # g++
14529 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14530 # as there is no search path for DLLs.
14531 hardcode_libdir_flag_spec_CXX='-L$libdir'
14532 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14533 allow_undefined_flag_CXX=unsupported
14534 always_export_symbols_CXX=no
14535 enable_shared_with_static_runtimes_CXX=yes
14536
14537 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
14538 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14539 # If the export-symbols file already is a .def file, use it as
14540 # is; otherwise, prepend EXPORTS...
14541 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14542 cp $export_symbols $output_objdir/$soname.def;
14543 else
14544 echo EXPORTS > $output_objdir/$soname.def;
14545 cat $export_symbols >> $output_objdir/$soname.def;
14546 fi~
14547 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14548 else
14549 ld_shlibs_CXX=no
14550 fi
14551 ;;
14552 esac
14553 ;;
14554 darwin* | rhapsody*)
14555
14556
14557 archive_cmds_need_lc_CXX=no
14558 hardcode_direct_CXX=no
14559 hardcode_automatic_CXX=yes
14560 hardcode_shlibpath_var_CXX=unsupported
14561 if testscip-shell system . . test. yes = "$lt_cv_ld_force_load"; then
14562 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14563
14564 else
14565 whole_archive_flag_spec_CXX=''
14566 fi
14567 link_all_deplibs_CXX=yes
14568 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14569 case $cc_basename in
14570 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14571 *) _lt_dar_can_shared=$GCC ;;
14572 esac
14573 if testscip-shell system . . test. yes = "$_lt_dar_can_shared"; then
14574 output_verbose_link_cmd=func_echo_all
14575 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
14576 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14577 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
14578 module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
14579 if testscip-shell system . . test. yes != "$lt_cv_apple_cc_single_mod"; then
14580 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
14581 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
14582 fi
14583
14584 else
14585 ld_shlibs_CXX=no
14586 fi
14587
14588 ;;
14589
14590 os2*)
14591 hardcode_libdir_flag_spec_CXX='-L$libdir'
14592 hardcode_minus_L_CXX=yes
14593 allow_undefined_flag_CXX=unsupported
14594 shrext_cmds=.dll
14595 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14596 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14597 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14598 $ECHO EXPORTS >> $output_objdir/$libname.def~
14599 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14600 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14601 emximp -o $lib $output_objdir/$libname.def'
14602 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14603 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14604 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14605 $ECHO EXPORTS >> $output_objdir/$libname.def~
14606 prefix_cmds="$SED"~
14607 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14608 prefix_cmds="$prefix_cmds -e 1d";
14609 fi~
14610 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14611 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14612 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14613 emximp -o $lib $output_objdir/$libname.def'
14614 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14615 enable_shared_with_static_runtimes_CXX=yes
14616 ;;
14617
14618 dgux*)
14619 case $cc_basename in
14620 ec++*)
14621 # FIXME: insert proper C++ library support
14622 ld_shlibs_CXX=no
14623 ;;
14624 ghcx*)
14625 # Green Hills C++ Compiler
14626 # FIXME: insert proper C++ library support
14627 ld_shlibs_CXX=no
14628 ;;
14629 *)
14630 # FIXME: insert proper C++ library support
14631 ld_shlibs_CXX=no
14632 ;;
14633 esac
14634 ;;
14635
14636 freebsd2.*)
14637 # C++ shared libraries reported to be fairly broken before
14638 # switch to ELF
14639 ld_shlibs_CXX=no
14640 ;;
14641
14642 freebsd-elf*)
14643 archive_cmds_need_lc_CXX=no
14644 ;;
14645
14646 freebsd* | dragonfly*)
14647 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14648 # conventions
14649 ld_shlibs_CXX=yes
14650 ;;
14651
14652 haiku*)
14653 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14654 link_all_deplibs_CXX=yes
14655 ;;
14656
14657 hpux9*)
14658 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14659 hardcode_libdir_separator_CXX=:
14660 export_dynamic_flag_spec_CXX='$wl-E'
14661 hardcode_direct_CXX=yes
14662 hardcode_minus_L_CXX=yes # Not in the search PATH,
14663 # but as the default
14664 # location of the library.
14665
14666 case $cc_basename in
14667 CC*)
14668 # FIXME: insert proper C++ library support
14669 ld_shlibs_CXX=no
14670 ;;
14671 aCC*)
14672 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14673 # Commands to make compiler produce verbose output that lists
14674 # what "hidden" libraries, object files and flags are used when
14675 # linking a shared library.
14676 #
14677 # There doesn't appear to be a way to prevent this compiler from
14678 # explicitly linking system object files so we need to strip them
14679 # from the output so that they don't get included in the library
14680 # dependencies.
14681 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14682 ;;
14683 *)
14684 if testscip-shell system . . test. yes = "$GXX"; then
14685 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14686 else
14687 # FIXME: insert proper C++ library support
14688 ld_shlibs_CXX=no
14689 fi
14690 ;;
14691 esac
14692 ;;
14693
14694 hpux10*|hpux11*)
14695 if testscip-shell system . . test. no = "$with_gnu_ld"; then
14696 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14697 hardcode_libdir_separator_CXX=:
14698
14699 case $host_cpu in
14700 hppa*64*|ia64*)
14701 ;;
14702 *)
14703 export_dynamic_flag_spec_CXX='$wl-E'
14704 ;;
14705 esac
14706 fi
14707 case $host_cpu in
14708 hppa*64*|ia64*)
14709 hardcode_direct_CXX=no
14710 hardcode_shlibpath_var_CXX=no
14711 ;;
14712 *)
14713 hardcode_direct_CXX=yes
14714 hardcode_direct_absolute_CXX=yes
14715 hardcode_minus_L_CXX=yes # Not in the search PATH,
14716 # but as the default
14717 # location of the library.
14718 ;;
14719 esac
14720
14721 case $cc_basename in
14722 CC*)
14723 # FIXME: insert proper C++ library support
14724 ld_shlibs_CXX=no
14725 ;;
14726 aCC*)
14727 case $host_cpu in
14728 hppa*64*)
14729 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14730 ;;
14731 ia64*)
14732 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14733 ;;
14734 *)
14735 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14736 ;;
14737 esac
14738 # Commands to make compiler produce verbose output that lists
14739 # what "hidden" libraries, object files and flags are used when
14740 # linking a shared library.
14741 #
14742 # There doesn't appear to be a way to prevent this compiler from
14743 # explicitly linking system object files so we need to strip them
14744 # from the output so that they don't get included in the library
14745 # dependencies.
14746 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14747 ;;
14748 *)
14749 if testscip-shell system . . test. yes = "$GXX"; then
14750 if testscip-shell system . . test. no = "$with_gnu_ld"; then
14751 case $host_cpu in
14752 hppa*64*)
14753 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14754 ;;
14755 ia64*)
14756 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14757 ;;
14758 *)
14759 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14760 ;;
14761 esac
14762 fi
14763 else
14764 # FIXME: insert proper C++ library support
14765 ld_shlibs_CXX=no
14766 fi
14767 ;;
14768 esac
14769 ;;
14770
14771 interix[3-9]*)
14772 hardcode_direct_CXX=no
14773 hardcode_shlibpath_var_CXX=no
14774 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14775 export_dynamic_flag_spec_CXX='$wl-E'
14776 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14777 # Instead, shared libraries are loaded at an image base (0x10000000 by
14778 # default) and relocated if they conflict, which is a slow very memory
14779 # consuming and fragmenting process. To avoid this, we pick a random,
14780 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14781 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14782 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14783 archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14784 ;;
14785 irix5* | irix6*)
14786 case $cc_basename in
14787 CC*)
14788 # SGI C++
14789 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14790
14791 # Archives containing C++ object files must be created using
14792 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14793 # necessary to make sure instantiated templates are included
14794 # in the archive.
14795 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14796 ;;
14797 *)
14798 if testscip-shell system . . test. yes = "$GXX"; then
14799 if testscip-shell system . . test. no = "$with_gnu_ld"; then
14800 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
14801 else
14802 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
14803 fi
14804 fi
14805 link_all_deplibs_CXX=yes
14806 ;;
14807 esac
14808 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14809 hardcode_libdir_separator_CXX=:
14810 inherit_rpath_CXX=yes
14811 ;;
14812
14813 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14814 case $cc_basename in
14815 KCC*)
14816 # Kuck and Associates, Inc. (KAI) C++ Compiler
14817
14818 # KCC will only create a shared library if the output file
14819 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14820 # to its proper name (with version) after linking.
14821 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14822 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
14823 # Commands to make compiler produce verbose output that lists
14824 # what "hidden" libraries, object files and flags are used when
14825 # linking a shared library.
14826 #
14827 # There doesn't appear to be a way to prevent this compiler from
14828 # explicitly linking system object files so we need to strip them
14829 # from the output so that they don't get included in the library
14830 # dependencies.
14831 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14832
14833 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14834 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14835
14836 # Archives containing C++ object files must be created using
14837 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14838 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14839 ;;
14840 icpc* | ecpc* )
14841 # Intel C++
14842 with_gnu_ld=yes
14843 # version 8.0 and above of icpc choke on multiply defined symbols
14844 # if we add $predep_objects and $postdep_objects, however 7.1 and
14845 # earlier do not add the objects themselves.
14846 case `$CC -V 2>&1` in
14847 *"Version 7."*)
14848 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14849 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14850 ;;
14851 *) # Version 8.0 or newer
14852 tmp_idyn=
14853 case $host_cpu in
14854 ia64*) tmp_idyn=' -i_dynamic';;
14855 esac
14856 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14857 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14858 ;;
14859 esac
14860 archive_cmds_need_lc_CXX=no
14861 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14862 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14863 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14864 ;;
14865 pgCC* | pgcpp*)
14866 # Portland Group C++ compiler
14867 case `$CC -V` in
14868 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14869 prelink_cmds_CXX='tpldir=Template.dir~
14870 rm -rf $tpldir~
14871 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14872 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14873 old_archive_cmds_CXX='tpldir=Template.dir~
14874 rm -rf $tpldir~
14875 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14876 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14877 $RANLIB $oldlib'
14878 archive_cmds_CXX='tpldir=Template.dir~
14879 rm -rf $tpldir~
14880 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14881 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14882 archive_expsym_cmds_CXX='tpldir=Template.dir~
14883 rm -rf $tpldir~
14884 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14885 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14886 ;;
14887 *) # Version 6 and above use weak symbols
14888 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14889 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14890 ;;
14891 esac
14892
14893 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14894 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14895 whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
14896 ;;
14897 cxx*)
14898 # Compaq C++
14899 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14900 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
14901
14902 runpath_var=LD_RUN_PATH
14903 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14904 hardcode_libdir_separator_CXX=:
14905
14906 # Commands to make compiler produce verbose output that lists
14907 # what "hidden" libraries, object files and flags are used when
14908 # linking a shared library.
14909 #
14910 # There doesn't appear to be a way to prevent this compiler from
14911 # explicitly linking system object files so we need to strip them
14912 # from the output so that they don't get included in the library
14913 # dependencies.
14914 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
14915 ;;
14916 xl* | mpixl* | bgxl*)
14917 # IBM XL 8.0 on PPC, with GNU ld
14918 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14919 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14920 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14921 if testscip-shell system . . test. yes = "$supports_anon_versioning"; then
14922 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14923 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14924 echo "local: *; };" >> $output_objdir/$libname.ver~
14925 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14926 fi
14927 ;;
14928 *)
14929 case `$CC -V 2>&1 | sedscip-shell system . . sed. 5q` in
14930 *Sun\ C*)
14931 # Sun C++ 5.9
14932 no_undefined_flag_CXX=' -zdefs'
14933 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14934 archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
14935 hardcode_libdir_flag_spec_CXX='-R$libdir'
14936 whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
14937 compiler_needs_object_CXX=yes
14938
14939 # Not sure whether something based on
14940 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14941 # would be better.
14942 output_verbose_link_cmd='func_echo_all'
14943
14944 # Archives containing C++ object files must be created using
14945 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14946 # necessary to make sure instantiated templates are included
14947 # in the archive.
14948 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14949 ;;
14950 esac
14951 ;;
14952 esac
14953 ;;
14954
14955 lynxos*)
14956 # FIXME: insert proper C++ library support
14957 ld_shlibs_CXX=no
14958 ;;
14959
14960 m88k*)
14961 # FIXME: insert proper C++ library support
14962 ld_shlibs_CXX=no
14963 ;;
14964
14965 mvs*)
14966 case $cc_basename in
14967 cxx*)
14968 # FIXME: insert proper C++ library support
14969 ld_shlibs_CXX=no
14970 ;;
14971 *)
14972 # FIXME: insert proper C++ library support
14973 ld_shlibs_CXX=no
14974 ;;
14975 esac
14976 ;;
14977
14978 netbsd*)
14979 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
14980 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14981 wlarc=
14982 hardcode_libdir_flag_spec_CXX='-R$libdir'
14983 hardcode_direct_CXX=yes
14984 hardcode_shlibpath_var_CXX=no
14985 fi
14986 # Workaround some broken pre-1.5 toolchains
14987 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14988 ;;
14989
14990 *nto* | *qnx*)
14991 ld_shlibs_CXX=yes
14992 ;;
14993
14994 openbsd* | bitrig*)
14995 if testscip-shell system . . test. -f /usr/libexec/ld.soscip-shell filesystem . . `/usr/libexec/ld.so`.; then
14996 hardcode_direct_CXX=yes
14997 hardcode_shlibpath_var_CXX=no
14998 hardcode_direct_absolute_CXX=yes
14999 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15000 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15001 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__`"; then
15002 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15003 export_dynamic_flag_spec_CXX='$wl-E'
15004 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15005 fi
15006 output_verbose_link_cmd=func_echo_all
15007 else
15008 ld_shlibs_CXX=no
15009 fi
15010 ;;
15011
15012 osf3* | osf4* | osf5*)
15013 case $cc_basename in
15014 KCC*)
15015 # Kuck and Associates, Inc. (KAI) C++ Compiler
15016
15017 # KCC will only create a shared library if the output file
15018 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15019 # to its proper name (with version) after linking.
15020 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15021
15022 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15023 hardcode_libdir_separator_CXX=:
15024
15025 # Archives containing C++ object files must be created using
15026 # the KAI C++ compiler.
15027 case $host in
15028 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15029 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15030 esac
15031 ;;
15032 RCC*)
15033 # Rational C++ 2.4.1
15034 # FIXME: insert proper C++ library support
15035 ld_shlibs_CXX=no
15036 ;;
15037 cxx*)
15038 case $host in
15039 osf3*)
15040 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15041 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15042 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15043 ;;
15044 *)
15045 allow_undefined_flag_CXX=' -expect_unresolved \*'
15046 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15047 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15048 echo "-hidden">> $lib.exp~
15049 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
15050 $RM $lib.exp'
15051 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15052 ;;
15053 esac
15054
15055 hardcode_libdir_separator_CXX=:
15056
15057 # Commands to make compiler produce verbose output that lists
15058 # what "hidden" libraries, object files and flags are used when
15059 # linking a shared library.
15060 #
15061 # There doesn't appear to be a way to prevent this compiler from
15062 # explicitly linking system object files so we need to strip them
15063 # from the output so that they don't get included in the library
15064 # dependencies.
15065 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15066 ;;
15067 *)
15068 if testscip-shell system . . test. yes,no = "$GXX,$with_gnu_ld"; then
15069 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15070 case $host in
15071 osf3*)
15072 archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
15073 ;;
15074 *)
15075 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
15076 ;;
15077 esac
15078
15079 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15080 hardcode_libdir_separator_CXX=:
15081
15082 # Commands to make compiler produce verbose output that lists
15083 # what "hidden" libraries, object files and flags are used when
15084 # linking a shared library.
15085 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15086
15087 else
15088 # FIXME: insert proper C++ library support
15089 ld_shlibs_CXX=no
15090 fi
15091 ;;
15092 esac
15093 ;;
15094
15095 psos*)
15096 # FIXME: insert proper C++ library support
15097 ld_shlibs_CXX=no
15098 ;;
15099
15100 sunos4*)
15101 case $cc_basename in
15102 CC*)
15103 # Sun C++ 4.x
15104 # FIXME: insert proper C++ library support
15105 ld_shlibs_CXX=no
15106 ;;
15107 lcc*)
15108 # Lucid
15109 # FIXME: insert proper C++ library support
15110 ld_shlibs_CXX=no
15111 ;;
15112 *)
15113 # FIXME: insert proper C++ library support
15114 ld_shlibs_CXX=no
15115 ;;
15116 esac
15117 ;;
15118
15119 solaris*)
15120 case $cc_basename in
15121 CC* | sunCC*)
15122 # Sun C++ 4.2, 5.x and Centerline C++
15123 archive_cmds_need_lc_CXX=yes
15124 no_undefined_flag_CXX=' -zdefs'
15125 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15126 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15127 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15128
15129 hardcode_libdir_flag_spec_CXX='-R$libdir'
15130 hardcode_shlibpath_var_CXX=no
15131 case $host_os in
15132 solaris2.[0-5] | solaris2.[0-5].*) ;;
15133 *)
15134 # The compiler driver will combine and reorder linker options,
15135 # but understands '-z linker_flag'.
15136 # Supported since Solaris 2.6 (maybe 2.5.1?)
15137 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15138 ;;
15139 esac
15140 link_all_deplibs_CXX=yes
15141
15142 output_verbose_link_cmd='func_echo_all'
15143
15144 # Archives containing C++ object files must be created using
15145 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15146 # necessary to make sure instantiated templates are included
15147 # in the archive.
15148 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15149 ;;
15150 gcx*)
15151 # Green Hills C++ Compiler
15152 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15153
15154 # The C++ compiler must be used to create the archive.
15155 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15156 ;;
15157 *)
15158 # GNU C++ compiler with Solaris linker
15159 if testscip-shell system . . test. yes,no = "$GXX,$with_gnu_ld"; then
15160 no_undefined_flag_CXX=' $wl-z ${wl}defs'
15161 if $CC --version | $GREP -v '^2\.7' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
15162 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15163 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15164 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15165
15166 # Commands to make compiler produce verbose output that lists
15167 # what "hidden" libraries, object files and flags are used when
15168 # linking a shared library.
15169 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15170 else
15171 # g++ 2.7 appears to require '-G' NOT '-shared' on this
15172 # platform.
15173 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15174 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15175 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15176
15177 # Commands to make compiler produce verbose output that lists
15178 # what "hidden" libraries, object files and flags are used when
15179 # linking a shared library.
15180 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15181 fi
15182
15183 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
15184 case $host_os in
15185 solaris2.[0-5] | solaris2.[0-5].*) ;;
15186 *)
15187 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15188 ;;
15189 esac
15190 fi
15191 ;;
15192 esac
15193 ;;
15194
15195 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15196 no_undefined_flag_CXX='$wl-z,text'
15197 archive_cmds_need_lc_CXX=no
15198 hardcode_shlibpath_var_CXX=no
15199 runpath_var='LD_RUN_PATH'
15200
15201 case $cc_basename in
15202 CC*)
15203 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15204 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15205 ;;
15206 *)
15207 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15208 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15209 ;;
15210 esac
15211 ;;
15212
15213 sysv5* | sco3.2v5* | sco5v6*)
15214 # Note: We CANNOT use -z defs as we might desire, because we do not
15215 # link with -lc, and that would cause any symbols used from libc to
15216 # always be unresolved, which means just about no library would
15217 # ever link correctly. If we're not using GNU ld we use -z text
15218 # though, which does catch some bad symbols but isn't as heavy-handed
15219 # as -z defs.
15220 no_undefined_flag_CXX='$wl-z,text'
15221 allow_undefined_flag_CXX='$wl-z,nodefs'
15222 archive_cmds_need_lc_CXX=no
15223 hardcode_shlibpath_var_CXX=no
15224 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
15225 hardcode_libdir_separator_CXX=':'
15226 link_all_deplibs_CXX=yes
15227 export_dynamic_flag_spec_CXX='$wl-Bexport'
15228 runpath_var='LD_RUN_PATH'
15229
15230 case $cc_basename in
15231 CC*)
15232 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15233 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15234 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15235 '"$old_archive_cmds_CXX"
15236 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15237 '"$reload_cmds_CXX"
15238 ;;
15239 *)
15240 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15241 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15242 ;;
15243 esac
15244 ;;
15245
15246 tandem*)
15247 case $cc_basename in
15248 NCC*)
15249 # NonStop-UX NCC 3.20
15250 # FIXME: insert proper C++ library support
15251 ld_shlibs_CXX=no
15252 ;;
15253 *)
15254 # FIXME: insert proper C++ library support
15255 ld_shlibs_CXX=no
15256 ;;
15257 esac
15258 ;;
15259
15260 vxworks*)
15261 # FIXME: insert proper C++ library support
15262 ld_shlibs_CXX=no
15263 ;;
15264
15265 *)
15266 # FIXME: insert proper C++ library support
15267 ld_shlibs_CXX=no
15268 ;;
15269 esac
15270
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15272 $as_echo "$ld_shlibs_CXX" >&6; }
15273 testscip-shell system . . test. no = "$ld_shlibs_CXX" && can_build_shared=no
15274
15275 GCC_CXX=$GXX
15276 LD_CXX=$LD
15277
15278 ## CAVEAT EMPTOR:
15279 ## There is no encapsulation within the following macros, do not change
15280 ## the running order or otherwise move them around unless you know exactly
15281 ## what you are doing...
15282 # Dependencies to place before and after the object being linked:
15283 predep_objects_CXX=
15284 postdep_objects_CXX=
15285 predeps_CXX=
15286 postdeps_CXX=
15287 compiler_lib_search_path_CXX=
15288
15289 catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF
15290 class Foo
15291 {
15292 public:
15293 Foo (void) { a = 0; }
15294 private:
15295 int a;
15296 };
15297 _LT_EOF
15298
15299
15300 _lt_libdeps_save_CFLAGS=$CFLAGS
15301 case "$CC $CFLAGS " in #(
15302 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15303 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15304 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15305 esac
15306
15307 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15308 (eval $ac_compile) 2>&5
15309 ac_status=$?
15310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15311 testscip-shell system . . test. $ac_status = 0; }; then
15312 # Parse the compiler output and extract the necessary
15313 # objects, libraries and library flags.
15314
15315 # Sentinel used to keep track of whether or not we are before
15316 # the conftest object file.
15317 pre_test_object_deps_done=no
15318
15319 for p in `eval "$output_verbose_link_cmd"`; do
15320 case $prev$p in
15321
15322 -L* | -R* | -l*)
15323 # Some compilers place space between "-{L,R}" and the path.
15324 # Remove the space.
15325 if testscip-shell system . . test. x-L = "$p" ||
15326 testscip-shell system . . test. x-R = "$p"; then
15327 prev=$p
15328 continue
15329 fi
15330
15331 # Expand the sysroot to ease extracting the directories later.
15332 if testscip-shell system . . test. -z "$prev"; then
15333 case $p in
15334 -L*) func_stripname_cnfscip-shell shell cpputest 4.0-3 func_stripname_cnf(). '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15335 -R*) func_stripname_cnfscip-shell shell cpputest 4.0-3 func_stripname_cnf(). '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15336 -l*) func_stripname_cnfscip-shell shell cpputest 4.0-3 func_stripname_cnf(). '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15337 esac
15338 fi
15339 case $p in
15340 =*) func_stripname_cnfscip-shell shell cpputest 4.0-3 func_stripname_cnf(). '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15341 esac
15342 if testscip-shell system . . test. no = "$pre_test_object_deps_done"; then
15343 case $prev in
15344 -L | -R)
15345 # Internal compiler library paths should come after those
15346 # provided the user. The postdeps already come after the
15347 # user supplied libs so there is no need to process them.
15348 if testscip-shell system . . test. -z "$compiler_lib_search_path_CXX"; then
15349 compiler_lib_search_path_CXX=$prev$p
15350 else
15351 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15352 fi
15353 ;;
15354 # The "-l" case would never come before the object being
15355 # linked, so don't bother handling this case.
15356 esac
15357 else
15358 if testscip-shell system . . test. -z "$postdeps_CXX"; then
15359 postdeps_CXX=$prev$p
15360 else
15361 postdeps_CXX="${postdeps_CXX} $prev$p"
15362 fi
15363 fi
15364 prev=
15365 ;;
15366
15367 *.lto.$objext) ;; # Ignore GCC LTO objects
15368 *.$objext)
15369 # This assumes that the test object file only shows up
15370 # once in the compiler output.
15371 if testscip-shell system . . test. "$p" = "conftest.$objext"; then
15372 pre_test_object_deps_done=yes
15373 continue
15374 fi
15375
15376 if testscip-shell system . . test. no = "$pre_test_object_deps_done"; then
15377 if testscip-shell system . . test. -z "$predep_objects_CXX"; then
15378 predep_objects_CXX=$p
15379 else
15380 predep_objects_CXX="$predep_objects_CXX $p"
15381 fi
15382 else
15383 if testscip-shell system . . test. -z "$postdep_objects_CXX"; then
15384 postdep_objects_CXX=$p
15385 else
15386 postdep_objects_CXX="$postdep_objects_CXX $p"
15387 fi
15388 fi
15389 ;;
15390
15391 *) ;; # Ignore the rest.
15392
15393 esac
15394 done
15395
15396 # Clean up.
15397 rmscip-shell system . . rm. -f a.out a.exe
15398 else
15399 echoscip-shell system . . echo. "libtool.m4: error: problem compiling CXX test program"
15400 fi
15401
15402 $RM -f confest.$objext
15403 CFLAGS=$_lt_libdeps_save_CFLAGS
15404
15405 # PORTME: override above test on systems where it is broken
15406 case $host_os in
15407 interix[3-9]*)
15408 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15409 # hack all around it, let's just trust "g++" to DTRT.
15410 predep_objects_CXX=
15411 postdep_objects_CXX=
15412 postdeps_CXX=
15413 ;;
15414 esac
15415
15416
15417 case " $postdeps_CXX " in
15418 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15419 esac
15420 compiler_lib_search_dirs_CXX=
15421 if testscip-shell system . . test. -n "${compiler_lib_search_path_CXX}"; then
15422 compiler_lib_search_dirs_CXX=`echoscip-shell system . . echo. " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15423 fi
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455 lt_prog_compiler_wl_CXX=
15456 lt_prog_compiler_pic_CXX=
15457 lt_prog_compiler_static_CXX=
15458
15459
15460 # C++ specific cases for pic, static, wl, etc.
15461 if testscip-shell system . . test. yes = "$GXX"; then
15462 lt_prog_compiler_wl_CXX='-Wl,'
15463 lt_prog_compiler_static_CXX='-static'
15464
15465 case $host_os in
15466 aix*)
15467 # All AIX code is PIC.
15468 if testscip-shell system . . test. ia64 = "$host_cpu"; then
15469 # AIX 5 now supports IA64 processor
15470 lt_prog_compiler_static_CXX='-Bstatic'
15471 fi
15472 lt_prog_compiler_pic_CXX='-fPIC'
15473 ;;
15474
15475 amigaos*)
15476 case $host_cpu in
15477 powerpc)
15478 # see comment about AmigaOS4 .so support
15479 lt_prog_compiler_pic_CXX='-fPIC'
15480 ;;
15481 m68k)
15482 # FIXME: we need at least 68020 code to build shared libraries, but
15483 # adding the '-m68020' flag to GCC prevents building anything better,
15484 # like '-m68040'.
15485 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15486 ;;
15487 esac
15488 ;;
15489
15490 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15491 # PIC is the default for these OSes.
15492 ;;
15493 mingw* | cygwin* | os2* | pw32* | cegcc*)
15494 # This hack is so that the source file can tell whether it is being
15495 # built for inclusion in a dll (and should export symbols for example).
15496 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15497 # (--disable-auto-import) libraries
15498 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15499 case $host_os in
15500 os2*)
15501 lt_prog_compiler_static_CXX='$wl-static'
15502 ;;
15503 esac
15504 ;;
15505 darwin* | rhapsody*)
15506 # PIC is the default on this platform
15507 # Common symbols not allowed in MH_DYLIB files
15508 lt_prog_compiler_pic_CXX='-fno-common'
15509 ;;
15510 *djgpp*)
15511 # DJGPP does not support shared libraries at all
15512 lt_prog_compiler_pic_CXX=
15513 ;;
15514 haiku*)
15515 # PIC is the default for Haiku.
15516 # The "-static" flag exists, but is broken.
15517 lt_prog_compiler_static_CXX=
15518 ;;
15519 interix[3-9]*)
15520 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15521 # Instead, we relocate shared libraries at runtime.
15522 ;;
15523 sysv4*MP*)
15524 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
15525 lt_prog_compiler_pic_CXX=-Kconform_pic
15526 fi
15527 ;;
15528 hpux*)
15529 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15530 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15531 # sets the default TLS model and affects inlining.
15532 case $host_cpu in
15533 hppa*64*)
15534 ;;
15535 *)
15536 lt_prog_compiler_pic_CXX='-fPIC'
15537 ;;
15538 esac
15539 ;;
15540 *qnx* | *nto*)
15541 # QNX uses GNU C++, but need to define -shared option too, otherwise
15542 # it will coredump.
15543 lt_prog_compiler_pic_CXX='-fPIC -shared'
15544 ;;
15545 *)
15546 lt_prog_compiler_pic_CXX='-fPIC'
15547 ;;
15548 esac
15549 else
15550 case $host_os in
15551 aix[4-9]*)
15552 # All AIX code is PIC.
15553 if testscip-shell system . . test. ia64 = "$host_cpu"; then
15554 # AIX 5 now supports IA64 processor
15555 lt_prog_compiler_static_CXX='-Bstatic'
15556 else
15557 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15558 fi
15559 ;;
15560 chorus*)
15561 case $cc_basename in
15562 cxch68*)
15563 # Green Hills C++ Compiler
15564 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15565 ;;
15566 esac
15567 ;;
15568 mingw* | cygwin* | os2* | pw32* | cegcc*)
15569 # This hack is so that the source file can tell whether it is being
15570 # built for inclusion in a dll (and should export symbols for example).
15571 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15572 ;;
15573 dgux*)
15574 case $cc_basename in
15575 ec++*)
15576 lt_prog_compiler_pic_CXX='-KPIC'
15577 ;;
15578 ghcx*)
15579 # Green Hills C++ Compiler
15580 lt_prog_compiler_pic_CXX='-pic'
15581 ;;
15582 *)
15583 ;;
15584 esac
15585 ;;
15586 freebsd* | dragonfly*)
15587 # FreeBSD uses GNU C++
15588 ;;
15589 hpux9* | hpux10* | hpux11*)
15590 case $cc_basename in
15591 CC*)
15592 lt_prog_compiler_wl_CXX='-Wl,'
15593 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15594 if testscip-shell system . . test. ia64 != "$host_cpu"; then
15595 lt_prog_compiler_pic_CXX='+Z'
15596 fi
15597 ;;
15598 aCC*)
15599 lt_prog_compiler_wl_CXX='-Wl,'
15600 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15601 case $host_cpu in
15602 hppa*64*|ia64*)
15603 # +Z the default
15604 ;;
15605 *)
15606 lt_prog_compiler_pic_CXX='+Z'
15607 ;;
15608 esac
15609 ;;
15610 *)
15611 ;;
15612 esac
15613 ;;
15614 interix*)
15615 # This is c89, which is MS Visual C++ (no shared libs)
15616 # Anyone wants to do a port?
15617 ;;
15618 irix5* | irix6* | nonstopux*)
15619 case $cc_basename in
15620 CC*)
15621 lt_prog_compiler_wl_CXX='-Wl,'
15622 lt_prog_compiler_static_CXX='-non_shared'
15623 # CC pic flag -KPIC is the default.
15624 ;;
15625 *)
15626 ;;
15627 esac
15628 ;;
15629 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15630 case $cc_basename in
15631 KCC*)
15632 # KAI C++ Compiler
15633 lt_prog_compiler_wl_CXX='--backend -Wl,'
15634 lt_prog_compiler_pic_CXX='-fPIC'
15635 ;;
15636 ecpc* )
15637 # old Intel C++ for x86_64, which still supported -KPIC.
15638 lt_prog_compiler_wl_CXX='-Wl,'
15639 lt_prog_compiler_pic_CXX='-KPIC'
15640 lt_prog_compiler_static_CXX='-static'
15641 ;;
15642 icpc* )
15643 # Intel C++, used to be incompatible with GCC.
15644 # ICC 10 doesn't accept -KPIC any more.
15645 lt_prog_compiler_wl_CXX='-Wl,'
15646 lt_prog_compiler_pic_CXX='-fPIC'
15647 lt_prog_compiler_static_CXX='-static'
15648 ;;
15649 pgCC* | pgcpp*)
15650 # Portland Group C++ compiler
15651 lt_prog_compiler_wl_CXX='-Wl,'
15652 lt_prog_compiler_pic_CXX='-fpic'
15653 lt_prog_compiler_static_CXX='-Bstatic'
15654 ;;
15655 cxx*)
15656 # Compaq C++
15657 # Make sure the PIC flag is empty. It appears that all Alpha
15658 # Linux and Compaq Tru64 Unix objects are PIC.
15659 lt_prog_compiler_pic_CXX=
15660 lt_prog_compiler_static_CXX='-non_shared'
15661 ;;
15662 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15663 # IBM XL 8.0, 9.0 on PPC and BlueGene
15664 lt_prog_compiler_wl_CXX='-Wl,'
15665 lt_prog_compiler_pic_CXX='-qpic'
15666 lt_prog_compiler_static_CXX='-qstaticlink'
15667 ;;
15668 *)
15669 case `$CC -V 2>&1 | sedscip-shell system . . sed. 5q` in
15670 *Sun\ C*)
15671 # Sun C++ 5.9
15672 lt_prog_compiler_pic_CXX='-KPIC'
15673 lt_prog_compiler_static_CXX='-Bstatic'
15674 lt_prog_compiler_wl_CXX='-Qoption ld '
15675 ;;
15676 esac
15677 ;;
15678 esac
15679 ;;
15680 lynxos*)
15681 ;;
15682 m88k*)
15683 ;;
15684 mvs*)
15685 case $cc_basename in
15686 cxx*)
15687 lt_prog_compiler_pic_CXX='-W c,exportall'
15688 ;;
15689 *)
15690 ;;
15691 esac
15692 ;;
15693 netbsd*)
15694 ;;
15695 *qnx* | *nto*)
15696 # QNX uses GNU C++, but need to define -shared option too, otherwise
15697 # it will coredump.
15698 lt_prog_compiler_pic_CXX='-fPIC -shared'
15699 ;;
15700 osf3* | osf4* | osf5*)
15701 case $cc_basename in
15702 KCC*)
15703 lt_prog_compiler_wl_CXX='--backend -Wl,'
15704 ;;
15705 RCC*)
15706 # Rational C++ 2.4.1
15707 lt_prog_compiler_pic_CXX='-pic'
15708 ;;
15709 cxx*)
15710 # Digital/Compaq C++
15711 lt_prog_compiler_wl_CXX='-Wl,'
15712 # Make sure the PIC flag is empty. It appears that all Alpha
15713 # Linux and Compaq Tru64 Unix objects are PIC.
15714 lt_prog_compiler_pic_CXX=
15715 lt_prog_compiler_static_CXX='-non_shared'
15716 ;;
15717 *)
15718 ;;
15719 esac
15720 ;;
15721 psos*)
15722 ;;
15723 solaris*)
15724 case $cc_basename in
15725 CC* | sunCC*)
15726 # Sun C++ 4.2, 5.x and Centerline C++
15727 lt_prog_compiler_pic_CXX='-KPIC'
15728 lt_prog_compiler_static_CXX='-Bstatic'
15729 lt_prog_compiler_wl_CXX='-Qoption ld '
15730 ;;
15731 gcx*)
15732 # Green Hills C++ Compiler
15733 lt_prog_compiler_pic_CXX='-PIC'
15734 ;;
15735 *)
15736 ;;
15737 esac
15738 ;;
15739 sunos4*)
15740 case $cc_basename in
15741 CC*)
15742 # Sun C++ 4.x
15743 lt_prog_compiler_pic_CXX='-pic'
15744 lt_prog_compiler_static_CXX='-Bstatic'
15745 ;;
15746 lcc*)
15747 # Lucid
15748 lt_prog_compiler_pic_CXX='-pic'
15749 ;;
15750 *)
15751 ;;
15752 esac
15753 ;;
15754 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15755 case $cc_basename in
15756 CC*)
15757 lt_prog_compiler_wl_CXX='-Wl,'
15758 lt_prog_compiler_pic_CXX='-KPIC'
15759 lt_prog_compiler_static_CXX='-Bstatic'
15760 ;;
15761 esac
15762 ;;
15763 tandem*)
15764 case $cc_basename in
15765 NCC*)
15766 # NonStop-UX NCC 3.20
15767 lt_prog_compiler_pic_CXX='-KPIC'
15768 ;;
15769 *)
15770 ;;
15771 esac
15772 ;;
15773 vxworks*)
15774 ;;
15775 *)
15776 lt_prog_compiler_can_build_shared_CXX=no
15777 ;;
15778 esac
15779 fi
15780
15781 case $host_os in
15782 # For platforms that do not support PIC, -DPIC is meaningless:
15783 *djgpp*)
15784 lt_prog_compiler_pic_CXX=
15785 ;;
15786 *)
15787 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15788 ;;
15789 esac
15790
15791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15792 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15793 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15794 $as_echo_n "(cached) " >&6
15795 else
15796 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15797 fi
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15799 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15800 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15801
15802 #
15803 # Check to make sure the PIC flag actually works.
15804 #
15805 if testscip-shell system . . test. -n "$lt_prog_compiler_pic_CXX"; then
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15807 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15808 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15809 $as_echo_n "(cached) " >&6
15810 else
15811 lt_cv_prog_compiler_pic_works_CXX=no
15812 ac_outfile=conftest.$ac_objext
15813 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
15814 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15815 # Insert the option either (1) after the last *FLAGS variable, or
15816 # (2) before a word containing "conftest.", or (3) at the end.
15817 # Note that $ac_compile itself does not contain backslashes and begins
15818 # with a dollar sign (not a hyphen), so the echo should work correctly.
15819 # The option is referenced via a variable to avoid confusing sed.
15820 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
15821 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15822 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15823 -e 's:$: $lt_compiler_flag:'`
15824 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15825 (eval "$lt_compile" 2>conftest.err)
15826 ac_status=$?
15827 catscip-shell system . . cat. conftest.err >&5
15828 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
15829 if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then
15830 # The compiler can only warn and ignore the option if not recognized
15831 # So say no if there are warnings other than the usual output.
15832 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp
15833 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
15834 if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
15835 lt_cv_prog_compiler_pic_works_CXX=yes
15836 fi
15837 fi
15838 $RM conftest*
15839
15840 fi
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15842 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15843
15844 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15845 case $lt_prog_compiler_pic_CXX in
15846 "" | " "*) ;;
15847 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15848 esac
15849 else
15850 lt_prog_compiler_pic_CXX=
15851 lt_prog_compiler_can_build_shared_CXX=no
15852 fi
15853
15854 fi
15855
15856
15857
15858
15859
15860 #
15861 # Check to make sure the static flag actually works.
15862 #
15863 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15865 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15866 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15867 $as_echo_n "(cached) " >&6
15868 else
15869 lt_cv_prog_compiler_static_works_CXX=no
15870 save_LDFLAGS=$LDFLAGS
15871 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15872 echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext
15873 if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then
15874 # The linker can only warn and ignore the option if not recognized
15875 # So say no if there are warnings
15876 if testscip-shell system . . test. -s conftest.err; then
15877 # Append any errors to the config.log.
15878 catscip-shell system . . cat. conftest.err 1>&5
15879 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp
15880 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
15881 if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
15882 lt_cv_prog_compiler_static_works_CXX=yes
15883 fi
15884 else
15885 lt_cv_prog_compiler_static_works_CXX=yes
15886 fi
15887 fi
15888 $RM -r conftest*
15889 LDFLAGS=$save_LDFLAGS
15890
15891 fi
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15893 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15894
15895 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15896 :
15897 else
15898 lt_prog_compiler_static_CXX=
15899 fi
15900
15901
15902
15903
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15905 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15906 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15907 $as_echo_n "(cached) " >&6
15908 else
15909 lt_cv_prog_compiler_c_o_CXX=no
15910 $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`.
15911 mkdirscip-shell system . . mkdir. conftest
15912 cd conftest
15913 mkdirscip-shell system . . mkdir. out
15914 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
15915
15916 lt_compiler_flag="-o out/conftest2.$ac_objext"
15917 # Insert the option either (1) after the last *FLAGS variable, or
15918 # (2) before a word containing "conftest.", or (3) at the end.
15919 # Note that $ac_compile itself does not contain backslashes and begins
15920 # with a dollar sign (not a hyphen), so the echo should work correctly.
15921 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
15922 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15923 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15924 -e 's:$: $lt_compiler_flag:'`
15925 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15926 (eval "$lt_compile" 2>out/conftest.err)
15927 ac_status=$?
15928 catscip-shell system . . cat. out/conftest.err >&5
15929 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
15930 if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext
15931 then
15932 # The compiler can only warn and ignore the option if not recognized
15933 # So say no if there are warnings
15934 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp
15935 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2
15936 if testscip-shell system . . test. ! -s out/conftest.er2 || diffscip-shell system . . diff. out/conftest.exp out/conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
15937 lt_cv_prog_compiler_c_o_CXX=yes
15938 fi
15939 fi
15940 chmodscip-shell system . . chmod. u+w . 2>&5
15941 $RM conftest*
15942 # SGI C++ compiler will create directory out/ii_files/ for
15943 # template instantiation
15944 testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files
15945 $RM out/* && rmdirscip-shell system . . rmdir. out
15946 cd ..
15947 $RM -r conftest
15948 $RM conftest*
15949
15950 fi
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15952 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15953
15954
15955
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15957 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15958 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15959 $as_echo_n "(cached) " >&6
15960 else
15961 lt_cv_prog_compiler_c_o_CXX=no
15962 $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`.
15963 mkdirscip-shell system . . mkdir. conftest
15964 cd conftest
15965 mkdirscip-shell system . . mkdir. out
15966 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
15967
15968 lt_compiler_flag="-o out/conftest2.$ac_objext"
15969 # Insert the option either (1) after the last *FLAGS variable, or
15970 # (2) before a word containing "conftest.", or (3) at the end.
15971 # Note that $ac_compile itself does not contain backslashes and begins
15972 # with a dollar sign (not a hyphen), so the echo should work correctly.
15973 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
15974 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15975 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15976 -e 's:$: $lt_compiler_flag:'`
15977 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15978 (eval "$lt_compile" 2>out/conftest.err)
15979 ac_status=$?
15980 catscip-shell system . . cat. out/conftest.err >&5
15981 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
15982 if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext
15983 then
15984 # The compiler can only warn and ignore the option if not recognized
15985 # So say no if there are warnings
15986 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp
15987 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2
15988 if testscip-shell system . . test. ! -s out/conftest.er2 || diffscip-shell system . . diff. out/conftest.exp out/conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
15989 lt_cv_prog_compiler_c_o_CXX=yes
15990 fi
15991 fi
15992 chmodscip-shell system . . chmod. u+w . 2>&5
15993 $RM conftest*
15994 # SGI C++ compiler will create directory out/ii_files/ for
15995 # template instantiation
15996 testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files
15997 $RM out/* && rmdirscip-shell system . . rmdir. out
15998 cd ..
15999 $RM -r conftest
16000 $RM conftest*
16001
16002 fi
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16004 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16005
16006
16007
16008
16009 hard_links=nottested
16010 if testscip-shell system . . test. no = "$lt_cv_prog_compiler_c_o_CXX" && testscip-shell system . . test. no != "$need_locks"; then
16011 # do not overwrite the value of need_locks provided by the user
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16013 $as_echo_n "checking if we can lock with hard links... " >&6; }
16014 hard_links=yes
16015 $RM conftest*
16016 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
16017 touchscip-shell system . . touch. conftest.a
16018 lnscip-shell system . . ln. conftest.a conftest.b 2>&5 || hard_links=no
16019 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16021 $as_echo "$hard_links" >&6; }
16022 if testscip-shell system . . test. no = "$hard_links"; then
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16024 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16025 need_locks=warn
16026 fi
16027 else
16028 need_locks=no
16029 fi
16030
16031
16032
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16034 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16035
16036 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16037 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16038 case $host_os in
16039 aix[4-9]*)
16040 # If we're using GNU nm, then we don't want the "-C" option.
16041 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16042 # Without the "-l" option, or with the "-B" option, AIX nm treats
16043 # weak defined symbols like other global defined symbols, whereas
16044 # GNU nm marks them as "W".
16045 # While the 'weak' keyword is ignored in the Export File, we need
16046 # it in the Import File for the 'aix-soname' feature, so we have
16047 # to replace the "-B" option with "-P" for AIX nm.
16048 if $NM -V 2>&1 | $GREP 'GNU' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
16049 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
16050 else
16051 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
16052 fi
16053 ;;
16054 pw32*)
16055 export_symbols_cmds_CXX=$ltdll_cmds
16056 ;;
16057 cygwin* | mingw* | cegcc*)
16058 case $cc_basename in
16059 cl*)
16060 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16061 ;;
16062 *)
16063 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
16064 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16065 ;;
16066 esac
16067 ;;
16068 *)
16069 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16070 ;;
16071 esac
16072
16073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16074 $as_echo "$ld_shlibs_CXX" >&6; }
16075 testscip-shell system . . test. no = "$ld_shlibs_CXX" && can_build_shared=no
16076
16077 with_gnu_ld_CXX=$with_gnu_ld
16078
16079
16080
16081
16082
16083
16084 #
16085 # Do we need to explicitly link libc?
16086 #
16087 case "x$archive_cmds_need_lc_CXX" in
16088 x|xyes)
16089 # Assume -lc should be added
16090 archive_cmds_need_lc_CXX=yes
16091
16092 if testscip-shell system . . test. yes,yes = "$GCC,$enable_shared"; then
16093 case $archive_cmds_CXX in
16094 *'~'*)
16095 # FIXME: we may have to deal with multi-command sequences.
16096 ;;
16097 '$CC '*)
16098 # Test whether the compiler implicitly links with -lc since on some
16099 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16100 # to ld, don't add -lc before -lgcc.
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16102 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16103 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16104 $as_echo_n "(cached) " >&6
16105 else
16106 $RM conftest*
16107 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
16108
16109 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16110 (eval $ac_compile) 2>&5
16111 ac_status=$?
16112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16113 testscip-shell system . . test. $ac_status = 0; } 2>conftest.err; then
16114 soname=conftest
16115 lib=conftest
16116 libobjs=conftest.$ac_objext
16117 deplibs=
16118 wl=$lt_prog_compiler_wl_CXX
16119 pic_flag=$lt_prog_compiler_pic_CXX
16120 compiler_flags=-v
16121 linker_flags=-v
16122 verstring=
16123 output_objdir=.
16124 libname=conftest
16125 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16126 allow_undefined_flag_CXX=
16127 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16128 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16129 ac_status=$?
16130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16131 testscip-shell system . . test. $ac_status = 0; }
16132 then
16133 lt_cv_archive_cmds_need_lc_CXX=no
16134 else
16135 lt_cv_archive_cmds_need_lc_CXX=yes
16136 fi
16137 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16138 else
16139 catscip-shell system . . cat. conftest.err 1>&5
16140 fi
16141 $RM conftest*
16142
16143 fi
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16145 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16146 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16147 ;;
16148 esac
16149 fi
16150 ;;
16151 esac
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16215 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16216
16217 library_names_spec=
16218 libname_spec='lib$name'
16219 soname_spec=
16220 shrext_cmds=.so
16221 postinstall_cmds=
16222 postuninstall_cmds=
16223 finish_cmds=
16224 finish_eval=
16225 shlibpath_var=
16226 shlibpath_overrides_runpath=unknown
16227 version_type=none
16228 dynamic_linker="$host_os ld.so"
16229 sys_lib_dlsearch_path_spec="/lib /usr/libscip-shell filesystem . . `/lib /usr/lib`."
16230 need_lib_prefix=unknown
16231 hardcode_into_libs=no
16232
16233 # when you set need_version to no, make sure it does not cause -set_version
16234 # flags to be left without arguments
16235 need_version=unknown
16236
16237
16238
16239 case $host_os in
16240 aix3*)
16241 version_type=linux # correct to gnu/linux during the next big refactor
16242 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16243 shlibpath_var=LIBPATH
16244
16245 # AIX 3 has no versioning support, so we append a major version to the name.
16246 soname_spec='$libname$release$shared_ext$major'
16247 ;;
16248
16249 aix[4-9]*)
16250 version_type=linux # correct to gnu/linux during the next big refactor
16251 need_lib_prefix=no
16252 need_version=no
16253 hardcode_into_libs=yes
16254 if testscip-shell system . . test. ia64 = "$host_cpu"; then
16255 # AIX 5 supports IA64
16256 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16257 shlibpath_var=LD_LIBRARY_PATH
16258 else
16259 # With GCC up to 2.95.x, collect2 would create an import file
16260 # for dependence libraries. The import file would start with
16261 # the line '#! .'. This would cause the generated library to
16262 # depend on '.', always an invalid library. This was fixed in
16263 # development snapshots of GCC prior to 3.0.
16264 case $host_os in
16265 aix4 | aix4.[01] | aix4.[01].*)
16266 if { echoscip-shell system . . echo. '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16267 echoscip-shell system . . echo. ' yes '
16268 echoscip-shell system . . echo. '#endif'; } | $CC -E - | $GREP yes > /dev/nullscip-shell filesystem . . `/dev/null`.; then
16269 :
16270 else
16271 can_build_shared=no
16272 fi
16273 ;;
16274 esac
16275 # Using Import Files as archive members, it is possible to support
16276 # filename-based versioning of shared library archives on AIX. While
16277 # this would work for both with and without runtime linking, it will
16278 # prevent static linking of such archives. So we do filename-based
16279 # shared library versioning with .so extension only, which is used
16280 # when both runtime linking and shared linking is enabled.
16281 # Unfortunately, runtime linking may impact performance, so we do
16282 # not want this to be the default eventually. Also, we use the
16283 # versioned .so libs for executables only if there is the -brtl
16284 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16285 # To allow for filename-based versioning support, we need to create
16286 # libNAME.so.V as an archive file, containing:
16287 # *) an Import File, referring to the versioned filename of the
16288 # archive as well as the shared archive member, telling the
16289 # bitwidth (32 or 64) of that shared object, and providing the
16290 # list of exported symbols of that shared object, eventually
16291 # decorated with the 'weak' keyword
16292 # *) the shared object with the F_LOADONLY flag set, to really avoid
16293 # it being seen by the linker.
16294 # At run time we better use the real file rather than another symlink,
16295 # but for link time we create the symlink libNAME.so -> libNAME.so.V
16296
16297 case $with_aix_soname,$aix_use_runtimelinking in
16298 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16299 # soname into executable. Probably we can add versioning support to
16300 # collect2, so additional links can be useful in future.
16301 aix,yes) # traditional libtool
16302 dynamic_linker='AIX unversionable lib.so'
16303 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16304 # instead of lib<name>.a to let people know that these are not
16305 # typical AIX shared libraries.
16306 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16307 ;;
16308 aix,no) # traditional AIX only
16309 dynamic_linker='AIX lib.a(lib.so.V)'
16310 # We preserve .a as extension for shared libraries through AIX4.2
16311 # and later when we are not doing run time linking.
16312 library_names_spec='$libname$release.a $libname.a'
16313 soname_spec='$libname$release$shared_ext$major'
16314 ;;
16315 svr4,*) # full svr4 only
16316 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16317 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16318 # We do not specify a path in Import Files, so LIBPATH fires.
16319 shlibpath_overrides_runpath=yes
16320 ;;
16321 *,yes) # both, prefer svr4
16322 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16323 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16324 # unpreferred sharedlib libNAME.a needs extra handling
16325 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
16326 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
16327 # We do not specify a path in Import Files, so LIBPATH fires.
16328 shlibpath_overrides_runpath=yes
16329 ;;
16330 *,no) # both, prefer aix
16331 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16332 library_names_spec='$libname$release.a $libname.a'
16333 soname_spec='$libname$release$shared_ext$major'
16334 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16335 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
16336 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
16337 ;;
16338 esac
16339 shlibpath_var=LIBPATH
16340 fi
16341 ;;
16342
16343 amigaos*)
16344 case $host_cpu in
16345 powerpc)
16346 # Since July 2007 AmigaOS4 officially supports .so libraries.
16347 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16348 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16349 ;;
16350 m68k)
16351 library_names_spec='$libname.ixlibrary $libname.a'
16352 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16353 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16354 ;;
16355 esac
16356 ;;
16357
16358 beos*)
16359 library_names_spec='$libname$shared_ext'
16360 dynamic_linker="$host_os ld.so"
16361 shlibpath_var=LIBRARY_PATH
16362 ;;
16363
16364 bsdi[45]*)
16365 version_type=linux # correct to gnu/linux during the next big refactor
16366 need_version=no
16367 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16368 soname_spec='$libname$release$shared_ext$major'
16369 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16370 shlibpath_var=LD_LIBRARY_PATH
16371 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib`."
16372 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/local/lib`."
16373 # the default ld.so.conf also contains /usr/contrib/lib and
16374 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16375 # libtool to hard-code these into programs
16376 ;;
16377
16378 cygwin* | mingw* | pw32* | cegcc*)
16379 version_type=windows
16380 shrext_cmds=.dll
16381 need_version=no
16382 need_lib_prefix=no
16383
16384 case $GCC,$cc_basename in
16385 yes,*)
16386 # gcc
16387 library_names_spec='$libname.dll.a'
16388 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16389 postinstall_cmds='base_file=`basename \$file`~
16390 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16391 dldir=$destdir/`dirname \$dlpath`~
16392 test -d \$dldir || mkdir -p \$dldir~
16393 $install_prog $dir/$dlname \$dldir/$dlname~
16394 chmod a+x \$dldir/$dlname~
16395 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16396 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16397 fi'
16398 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16399 dlpath=$dir/\$dldll~
16400 $RM \$dlpath'
16401 shlibpath_overrides_runpath=yes
16402
16403 case $host_os in
16404 cygwin*)
16405 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16406 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16407
16408 ;;
16409 mingw* | cegcc*)
16410 # MinGW DLLs use traditional 'lib' prefix
16411 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16412 ;;
16413 pw32*)
16414 # pw32 DLLs use 'pw' prefix rather than 'lib'
16415 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16416 ;;
16417 esac
16418 dynamic_linker='Win32 ld.exe'
16419 ;;
16420
16421 *,cl*)
16422 # Native MSVC
16423 libname_spec='$name'
16424 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16425 library_names_spec='$libname.dll.lib'
16426
16427 case $build_os in
16428 mingw*)
16429 sys_lib_search_path_spec=
16430 lt_save_ifs=$IFS
16431 IFS=';'
16432 for lt_path in $LIB
16433 do
16434 IFS=$lt_save_ifs
16435 # Let DOS variable expansion print the short 8.3 style file name.
16436 lt_path=`cd "$lt_path" 2>/dev/nullscip-shell filesystem . . `/dev/null`. && cmd //C "for %i in (".") do @echo %~si"`
16437 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16438 done
16439 IFS=$lt_save_ifs
16440 # Convert to MSYS style.
16441 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sedscip-shell system . . sed. -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16442 ;;
16443 cygwin*)
16444 # Convert to unix form, then to dos form, then back to unix form
16445 # but this time dos style (no spaces!) so that the unix form looks
16446 # like /cygdrive/c/PROGRA~1:/cygdr...
16447 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16448 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
16449 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16450 ;;
16451 *)
16452 sys_lib_search_path_spec=$LIB
16453 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/nullscip-shell filesystem . . `/dev/null`.; then
16454 # It is most probably a Windows format PATH.
16455 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16456 else
16457 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16458 fi
16459 # FIXME: find the short name or the path components, as spaces are
16460 # common. (e.g. "Program Files" -> "PROGRA~1")
16461 ;;
16462 esac
16463
16464 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16465 postinstall_cmds='base_file=`basename \$file`~
16466 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16467 dldir=$destdir/`dirname \$dlpath`~
16468 test -d \$dldir || mkdir -p \$dldir~
16469 $install_prog $dir/$dlname \$dldir/$dlname'
16470 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16471 dlpath=$dir/\$dldll~
16472 $RM \$dlpath'
16473 shlibpath_overrides_runpath=yes
16474 dynamic_linker='Win32 link.exe'
16475 ;;
16476
16477 *)
16478 # Assume MSVC wrapper
16479 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16480 dynamic_linker='Win32 ld.exe'
16481 ;;
16482 esac
16483 # FIXME: first we should search . and the directory the executable is in
16484 shlibpath_var=PATH
16485 ;;
16486
16487 darwin* | rhapsody*)
16488 dynamic_linker="$host_os dyld"
16489 version_type=darwin
16490 need_lib_prefix=no
16491 need_version=no
16492 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16493 soname_spec='$libname$release$major$shared_ext'
16494 shlibpath_overrides_runpath=yes
16495 shlibpath_var=DYLD_LIBRARY_PATH
16496 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16497
16498 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/libscip-shell filesystem . . `/usr/local/lib /lib /usr/lib`.'
16499 ;;
16500
16501 dgux*)
16502 version_type=linux # correct to gnu/linux during the next big refactor
16503 need_lib_prefix=no
16504 need_version=no
16505 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16506 soname_spec='$libname$release$shared_ext$major'
16507 shlibpath_var=LD_LIBRARY_PATH
16508 ;;
16509
16510 freebsd* | dragonfly*)
16511 # DragonFly does not have aout. When/if they implement a new
16512 # versioning mechanism, adjust this.
16513 if testscip-shell system . . test. -x /usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.; then
16514 objformat=`/usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.`
16515 else
16516 case $host_os in
16517 freebsd[23].*) objformat=aout ;;
16518 *) objformat=elf ;;
16519 esac
16520 fi
16521 version_type=freebsd-$objformat
16522 case $version_type in
16523 freebsd-elf*)
16524 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16525 soname_spec='$libname$release$shared_ext$major'
16526 need_version=no
16527 need_lib_prefix=no
16528 ;;
16529 freebsd-*)
16530 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16531 need_version=yes
16532 ;;
16533 esac
16534 shlibpath_var=LD_LIBRARY_PATH
16535 case $host_os in
16536 freebsd2.*)
16537 shlibpath_overrides_runpath=yes
16538 ;;
16539 freebsd3.[01]* | freebsdelf3.[01]*)
16540 shlibpath_overrides_runpath=yes
16541 hardcode_into_libs=yes
16542 ;;
16543 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16544 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16545 shlibpath_overrides_runpath=no
16546 hardcode_into_libs=yes
16547 ;;
16548 *) # from 4.6 on, and DragonFly
16549 shlibpath_overrides_runpath=yes
16550 hardcode_into_libs=yes
16551 ;;
16552 esac
16553 ;;
16554
16555 haiku*)
16556 version_type=linux # correct to gnu/linux during the next big refactor
16557 need_lib_prefix=no
16558 need_version=no
16559 dynamic_linker="$host_os runtime_loader"
16560 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16561 soname_spec='$libname$release$shared_ext$major'
16562 shlibpath_var=LIBRARY_PATH
16563 shlibpath_overrides_runpath=no
16564 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/libscip-shell filesystem . . `/boot/home/config/lib /boot/common/lib /boot/system/lib`.'
16565 hardcode_into_libs=yes
16566 ;;
16567
16568 hpux9* | hpux10* | hpux11*)
16569 # Give a soname corresponding to the major version so that dld.sl refuses to
16570 # link against other versions.
16571 version_type=sunos
16572 need_lib_prefix=no
16573 need_version=no
16574 case $host_cpu in
16575 ia64*)
16576 shrext_cmds='.so'
16577 hardcode_into_libs=yes
16578 dynamic_linker="$host_os dld.so"
16579 shlibpath_var=LD_LIBRARY_PATH
16580 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16581 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16582 soname_spec='$libname$release$shared_ext$major'
16583 if testscip-shell system . . test. 32 = "$HPUX_IA64_MODE"; then
16584 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/libscip-shell filesystem . . `/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib`."
16585 sys_lib_dlsearch_path_spec=/usr/lib/hpux32scip-shell filesystem . . `/usr/lib/hpux32`.
16586 else
16587 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64 /usr/local/lib/hpux64`."
16588 sys_lib_dlsearch_path_spec=/usr/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64`.
16589 fi
16590 ;;
16591 hppa*64*)
16592 shrext_cmds='.sl'
16593 hardcode_into_libs=yes
16594 dynamic_linker="$host_os dld.sl"
16595 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16596 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16597 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16598 soname_spec='$libname$release$shared_ext$major'
16599 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64scip-shell filesystem . . `/usr/lib/pa20_64 /usr/ccs/lib/pa20_64`."
16600 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16601 ;;
16602 *)
16603 shrext_cmds='.sl'
16604 dynamic_linker="$host_os dld.sl"
16605 shlibpath_var=SHLIB_PATH
16606 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16607 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16608 soname_spec='$libname$release$shared_ext$major'
16609 ;;
16610 esac
16611 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16612 postinstall_cmds='chmod 555 $lib'
16613 # or fails outright, so override atomically:
16614 install_override_mode=555
16615 ;;
16616
16617 interix[3-9]*)
16618 version_type=linux # correct to gnu/linux during the next big refactor
16619 need_lib_prefix=no
16620 need_version=no
16621 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16622 soname_spec='$libname$release$shared_ext$major'
16623 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16624 shlibpath_var=LD_LIBRARY_PATH
16625 shlibpath_overrides_runpath=no
16626 hardcode_into_libs=yes
16627 ;;
16628
16629 irix5* | irix6* | nonstopux*)
16630 case $host_os in
16631 nonstopux*) version_type=nonstopux ;;
16632 *)
16633 if testscip-shell system . . test. yes = "$lt_cv_prog_gnu_ld"; then
16634 version_type=linux # correct to gnu/linux during the next big refactor
16635 else
16636 version_type=irix
16637 fi ;;
16638 esac
16639 need_lib_prefix=no
16640 need_version=no
16641 soname_spec='$libname$release$shared_ext$major'
16642 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16643 case $host_os in
16644 irix5* | nonstopux*)
16645 libsuff= shlibsuff=
16646 ;;
16647 *)
16648 case $LD in # libtool.m4 will add one of these switches to LD
16649 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16650 libsuff= shlibsuff= libmagic=32-bit;;
16651 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16652 libsuff=32 shlibsuff=N32 libmagic=N32;;
16653 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16654 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16655 *) libsuff= shlibsuff= libmagic=never-match;;
16656 esac
16657 ;;
16658 esac
16659 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16660 shlibpath_overrides_runpath=no
16661 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16662 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16663 hardcode_into_libs=yes
16664 ;;
16665
16666 # No shared lib support for Linux oldld, aout, or coff.
16667 linux*oldld* | linux*aout* | linux*coff*)
16668 dynamic_linker=no
16669 ;;
16670
16671 linux*android*)
16672 version_type=none # Android doesn't support versioned libraries.
16673 need_lib_prefix=no
16674 need_version=no
16675 library_names_spec='$libname$release$shared_ext'
16676 soname_spec='$libname$release$shared_ext'
16677 finish_cmds=
16678 shlibpath_var=LD_LIBRARY_PATH
16679 shlibpath_overrides_runpath=yes
16680
16681 # This implies no fast_install, which is unacceptable.
16682 # Some rework will be needed to allow for fast_install
16683 # before this can be enabled.
16684 hardcode_into_libs=yes
16685
16686 dynamic_linker='Android linker'
16687 # Don't embed -rpath directories since the linker doesn't support them.
16688 hardcode_libdir_flag_spec_CXX='-L$libdir'
16689 ;;
16690
16691 # This must be glibc/ELF.
16692 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16693 version_type=linux # correct to gnu/linux during the next big refactor
16694 need_lib_prefix=no
16695 need_version=no
16696 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16697 soname_spec='$libname$release$shared_ext$major'
16698 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16699 shlibpath_var=LD_LIBRARY_PATH
16700 shlibpath_overrides_runpath=no
16701
16702 # Some binutils ld are patched to set DT_RUNPATH
16703 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16704 $as_echo_n "(cached) " >&6
16705 else
16706 lt_cv_shlibpath_overrides_runpath=no
16707 save_LDFLAGS=$LDFLAGS
16708 save_libdir=$libdir
16709 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16710 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16711 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16712 /* end confdefs.h. */
16713
16714 int
16715 main ()
16716 {
16717
16718 ;
16719 return 0;
16720 }
16721 _ACEOF
16722 if ac_fn_cxx_try_linkscip-shell shell cpputest 4.0-3 ac_fn_cxx_try_link(). "$LINENO"; then :
16723 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. "RUNPATH.*$libdir" >/dev/nullscip-shell filesystem . . `/dev/null`.; then :
16724 lt_cv_shlibpath_overrides_runpath=yes
16725 fi
16726 fi
16727 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
16728 conftest$ac_exeext conftest.$ac_ext
16729 LDFLAGS=$save_LDFLAGS
16730 libdir=$save_libdir
16731
16732 fi
16733
16734 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16735
16736 # This implies no fast_install, which is unacceptable.
16737 # Some rework will be needed to allow for fast_install
16738 # before this can be enabled.
16739 hardcode_into_libs=yes
16740
16741 # Ideally, we could use ldconfig to report *all* directores which are
16742 # searched for libraries, however this is still not possible. Aside from not
16743 # being certain /sbin/ldconfig is available, command
16744 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16745 # even though it is searched at run-time. Try to do the best guess by
16746 # appending ld.so.conf contents (and includes) to the search path.
16747 if testscip-shell system . . test. -f /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`.; then
16748 lt_ld_extra=`awkscip-shell system . . awk. '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }scip-shell filesystem . . `/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }`.' < /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`. | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | trscip-shell system . . tr. '\n' ' '`
16749 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16750 fi
16751
16752 # We used to test for /lib/ld.so.1 and disable shared libraries on
16753 # powerpc, because MkLinux only supported shared libraries with the
16754 # GNU dynamic linker. Since this was broken with cross compilers,
16755 # most powerpc-linux boxes support dynamic linking these days and
16756 # people can always --disable-shared, the test was removed, and we
16757 # assume the GNU/Linux dynamic linker is in use.
16758 dynamic_linker='GNU/Linux ld.so'
16759 ;;
16760
16761 netbsd*)
16762 version_type=sunos
16763 need_lib_prefix=no
16764 need_version=no
16765 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
16766 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16767 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16768 dynamic_linker='NetBSD (a.out) ld.so'
16769 else
16770 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16771 soname_spec='$libname$release$shared_ext$major'
16772 dynamic_linker='NetBSD ld.elf_so'
16773 fi
16774 shlibpath_var=LD_LIBRARY_PATH
16775 shlibpath_overrides_runpath=yes
16776 hardcode_into_libs=yes
16777 ;;
16778
16779 newsos6)
16780 version_type=linux # correct to gnu/linux during the next big refactor
16781 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16782 shlibpath_var=LD_LIBRARY_PATH
16783 shlibpath_overrides_runpath=yes
16784 ;;
16785
16786 *nto* | *qnx*)
16787 version_type=qnx
16788 need_lib_prefix=no
16789 need_version=no
16790 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16791 soname_spec='$libname$release$shared_ext$major'
16792 shlibpath_var=LD_LIBRARY_PATH
16793 shlibpath_overrides_runpath=no
16794 hardcode_into_libs=yes
16795 dynamic_linker='ldqnx.so'
16796 ;;
16797
16798 openbsd* | bitrig*)
16799 version_type=sunos
16800 sys_lib_dlsearch_path_spec=/usr/libscip-shell filesystem . . `/usr/lib`.
16801 need_lib_prefix=no
16802 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then
16803 need_version=no
16804 else
16805 need_version=yes
16806 fi
16807 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16808 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16809 shlibpath_var=LD_LIBRARY_PATH
16810 shlibpath_overrides_runpath=yes
16811 ;;
16812
16813 os2*)
16814 libname_spec='$name'
16815 version_type=windows
16816 shrext_cmds=.dll
16817 need_version=no
16818 need_lib_prefix=no
16819 # OS/2 can only load a DLL with a base name of 8 characters or less.
16820 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16821 v=$($ECHO $release$versuffix | tr -d .-);
16822 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16823 $ECHO $n$v`$shared_ext'
16824 library_names_spec='${libname}_dll.$libext'
16825 dynamic_linker='OS/2 ld.exe'
16826 shlibpath_var=BEGINLIBPATH
16827 sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`."
16828 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16829 postinstall_cmds='base_file=`basename \$file`~
16830 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16831 dldir=$destdir/`dirname \$dlpath`~
16832 test -d \$dldir || mkdir -p \$dldir~
16833 $install_prog $dir/$dlname \$dldir/$dlname~
16834 chmod a+x \$dldir/$dlname~
16835 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16836 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16837 fi'
16838 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16839 dlpath=$dir/\$dldll~
16840 $RM \$dlpath'
16841 ;;
16842
16843 osf3* | osf4* | osf5*)
16844 version_type=osf
16845 need_lib_prefix=no
16846 need_version=no
16847 soname_spec='$libname$release$shared_ext$major'
16848 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16849 shlibpath_var=LD_LIBRARY_PATH
16850 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlibscip-shell filesystem . . `/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib`."
16851 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16852 ;;
16853
16854 rdos*)
16855 dynamic_linker=no
16856 ;;
16857
16858 solaris*)
16859 version_type=linux # correct to gnu/linux during the next big refactor
16860 need_lib_prefix=no
16861 need_version=no
16862 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16863 soname_spec='$libname$release$shared_ext$major'
16864 shlibpath_var=LD_LIBRARY_PATH
16865 shlibpath_overrides_runpath=yes
16866 hardcode_into_libs=yes
16867 # ldd complains unless libraries are executable
16868 postinstall_cmds='chmod +x $lib'
16869 ;;
16870
16871 sunos4*)
16872 version_type=sunos
16873 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16874 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16875 shlibpath_var=LD_LIBRARY_PATH
16876 shlibpath_overrides_runpath=yes
16877 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
16878 need_lib_prefix=no
16879 fi
16880 need_version=yes
16881 ;;
16882
16883 sysv4 | sysv4.3*)
16884 version_type=linux # correct to gnu/linux during the next big refactor
16885 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16886 soname_spec='$libname$release$shared_ext$major'
16887 shlibpath_var=LD_LIBRARY_PATH
16888 case $host_vendor in
16889 sni)
16890 shlibpath_overrides_runpath=no
16891 need_lib_prefix=no
16892 runpath_var=LD_RUN_PATH
16893 ;;
16894 siemens)
16895 need_lib_prefix=no
16896 ;;
16897 motorola)
16898 need_lib_prefix=no
16899 need_version=no
16900 shlibpath_overrides_runpath=no
16901 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/libscip-shell filesystem . . `/lib /usr/lib /usr/ccs/lib`.'
16902 ;;
16903 esac
16904 ;;
16905
16906 sysv4*MP*)
16907 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
16908 version_type=linux # correct to gnu/linux during the next big refactor
16909 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16910 soname_spec='$libname$shared_ext.$major'
16911 shlibpath_var=LD_LIBRARY_PATH
16912 fi
16913 ;;
16914
16915 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16916 version_type=sco
16917 need_lib_prefix=no
16918 need_version=no
16919 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16920 soname_spec='$libname$release$shared_ext$major'
16921 shlibpath_var=LD_LIBRARY_PATH
16922 shlibpath_overrides_runpath=yes
16923 hardcode_into_libs=yes
16924 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
16925 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /libscip-shell filesystem . . `/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib`.'
16926 else
16927 sys_lib_search_path_spec='/usr/ccs/lib /usr/libscip-shell filesystem . . `/usr/ccs/lib /usr/lib`.'
16928 case $host_os in
16929 sco3.2v5*)
16930 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16931 ;;
16932 esac
16933 fi
16934 sys_lib_dlsearch_path_spec='/usr/libscip-shell filesystem . . `/usr/lib`.'
16935 ;;
16936
16937 tpf*)
16938 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16939 version_type=linux # correct to gnu/linux during the next big refactor
16940 need_lib_prefix=no
16941 need_version=no
16942 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16943 shlibpath_var=LD_LIBRARY_PATH
16944 shlibpath_overrides_runpath=no
16945 hardcode_into_libs=yes
16946 ;;
16947
16948 uts4*)
16949 version_type=linux # correct to gnu/linux during the next big refactor
16950 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16951 soname_spec='$libname$release$shared_ext$major'
16952 shlibpath_var=LD_LIBRARY_PATH
16953 ;;
16954
16955 *)
16956 dynamic_linker=no
16957 ;;
16958 esac
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16960 $as_echo "$dynamic_linker" >&6; }
16961 testscip-shell system . . test. no = "$dynamic_linker" && can_build_shared=no
16962
16963 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16964 if testscip-shell system . . test. yes = "$GCC"; then
16965 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16966 fi
16967
16968 if testscip-shell system . . test. set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16969 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16970 fi
16971
16972 if testscip-shell system . . test. set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16973 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16974 fi
16975
16976 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16977 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16978
16979 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16980 func_munge_path_listscip-shell shell cpputest 4.0-3 func_munge_path_list(). sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16981
16982 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16983 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17025 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17026 hardcode_action_CXX=
17027 if testscip-shell system . . test. -n "$hardcode_libdir_flag_spec_CXX" ||
17028 testscip-shell system . . test. -n "$runpath_var_CXX" ||
17029 testscip-shell system . . test. yes = "$hardcode_automatic_CXX"; then
17030
17031 # We can hardcode non-existent directories.
17032 if testscip-shell system . . test. no != "$hardcode_direct_CXX" &&
17033 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17034 # have to relink, otherwise we might link with an installed library
17035 # when we should be linking with a yet-to-be-installed one
17036 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17037 testscip-shell system . . test. no != "$hardcode_minus_L_CXX"; then
17038 # Linking always hardcodes the temporary library directory.
17039 hardcode_action_CXX=relink
17040 else
17041 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17042 hardcode_action_CXX=immediate
17043 fi
17044 else
17045 # We cannot hardcode anything, or else we can only hardcode existing
17046 # directories.
17047 hardcode_action_CXX=unsupported
17048 fi
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17050 $as_echo "$hardcode_action_CXX" >&6; }
17051
17052 if testscip-shell system . . test. relink = "$hardcode_action_CXX" ||
17053 testscip-shell system . . test. yes = "$inherit_rpath_CXX"; then
17054 # Fast installation is not supported
17055 enable_fast_install=no
17056 elif testscip-shell system . . test. yes = "$shlibpath_overrides_runpath" ||
17057 testscip-shell system . . test. no = "$enable_shared"; then
17058 # Fast installation is not necessary
17059 enable_fast_install=needless
17060 fi
17061
17062
17063
17064
17065
17066
17067
17068 fi # test -n "$compiler"
17069
17070 CC=$lt_save_CC
17071 CFLAGS=$lt_save_CFLAGS
17072 LDCXX=$LD
17073 LD=$lt_save_LD
17074 GCC=$lt_save_GCC
17075 with_gnu_ld=$lt_save_with_gnu_ld
17076 lt_cv_path_LDCXX=$lt_cv_path_LD
17077 lt_cv_path_LD=$lt_save_path_LD
17078 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17079 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17080 fi # test yes != "$_lt_caught_CXX_error"
17081
17082 ac_ext=c
17083 ac_cpp='$CPP $CPPFLAGS'
17084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17087
17088
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
17090 $as_echo_n "checking whether ln -s works... " >&6; }
17091 LN_S=$as_ln_s
17092 if testscip-shell system . . test. "$LN_S" = "ln -s"; then
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17094 $as_echo "yes" >&6; }
17095 else
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
17097 $as_echo "no, using $LN_S" >&6; }
17098 fi
17099
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
17101 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
17102 set x ${MAKE-make}
17103 ac_make=`$as_echo "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
17104 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
17105 $as_echo_n "(cached) " >&6
17106 else
17107 catscip-shell system . . cat. >conftest.make <<\_ACEOF
17108 SHELL = /bin/sh
17109 all:
17110 @echo '@@@%%%=$(MAKE)=@@@%%%'
17111 _ACEOF
17112 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
17113 case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
17114 *@@@%%%=?*=@@@%%%*)
17115 eval ac_cv_prog_make_${ac_make}_set=yes;;
17116 *)
17117 eval ac_cv_prog_make_${ac_make}_set=no;;
17118 esac
17119 rmscip-shell system . . rm. -f conftest.make
17120 fi
17121 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17123 $as_echo "yes" >&6; }
17124 SET_MAKE=
17125 else
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17127 $as_echo "no" >&6; }
17128 SET_MAKE="MAKE=${MAKE-make}"
17129 fi
17130
17131
17132 # Check whether --enable-silent-rules was given.
17133 if testscip-shell system . . test. "${enable_silent_rules+set}" = set; then :
17134 enableval=$enable_silent_rules;
17135 fi
17136
17137 case $enable_silent_rules in # (((
17138 yes) AM_DEFAULT_VERBOSITY=0;;
17139 no) AM_DEFAULT_VERBOSITY=1;;
17140 *) AM_DEFAULT_VERBOSITY=1;;
17141 esac
17142 am_make=${MAKE-make}
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
17144 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
17145 if ${am_cv_make_support_nested_variables+:} false; then :
17146 $as_echo_n "(cached) " >&6
17147 else
17148 if $as_echo 'TRUE=$(BAR$(V))
17149 BAR0=false
17150 BAR1=true
17151 V=1
17152 am__doit:
17153 @$(TRUE)
17154 .PHONY: am__doit' | $am_make -f - >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
17155 am_cv_make_support_nested_variables=yes
17156 else
17157 am_cv_make_support_nested_variables=no
17158 fi
17159 fi
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
17161 $as_echo "$am_cv_make_support_nested_variables" >&6; }
17162 if testscip-shell system . . test. $am_cv_make_support_nested_variables = yes; then
17163 AM_V='$(V)'
17164 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
17165 else
17166 AM_V=$AM_DEFAULT_VERBOSITY
17167 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
17168 fi
17169 AM_BACKSLASH='\'
17170
17171
17172
17173
17174
17175 ac_ext=c
17176 ac_cpp='$CPP $CPPFLAGS'
17177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17180
17181 acx_pthread_ok=no
17182
17183 # We used to check for pthread.h first, but this fails if pthread.h
17184 # requires special compiler flags (e.g. on True64 or Sequent).
17185 # It gets checked for in the link test anyway.
17186
17187 # First of all, check if the user has set any of the PTHREAD_LIBS,
17188 # etcetera environment variables, and if threads linking works using
17189 # them:
17190 if testscip-shell system . . test. x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
17191 save_CFLAGS="$CFLAGS"
17192 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17193 save_LIBS="$LIBS"
17194 LIBS="$PTHREAD_LIBS $LIBS"
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17196 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17197 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
17198 /* end confdefs.h. */
17199
17200 /* Override any GCC internal prototype to avoid an error.
17201 Use char because int might match the return type of a GCC
17202 builtin and then its argument prototype would still apply. */
17203 #ifdef __cplusplus
17204 extern "C"
17205 #endif
17206 char pthread_join ();
17207 int
17208 main ()
17209 {
17210 return pthread_join ();
17211 ;
17212 return 0;
17213 }
17214 _ACEOF
17215 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
17216 acx_pthread_ok=yes
17217 fi
17218 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
17219 conftest$ac_exeext conftest.$ac_ext
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17221 $as_echo "$acx_pthread_ok" >&6; }
17222 if testscip-shell system . . test. x"$acx_pthread_ok" = xno; then
17223 PTHREAD_LIBS=""
17224 PTHREAD_CFLAGS=""
17225 fi
17226 LIBS="$save_LIBS"
17227 CFLAGS="$save_CFLAGS"
17228 fi
17229
17230 # We must check for the threads library under a number of different
17231 # names; the ordering is very important because some systems
17232 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17233 # libraries is broken (non-POSIX).
17234
17235 # Create a list of thread flags to try. Items starting with a "-" are
17236 # C compiler flags, and other items are library names, except for "none"
17237 # which indicates that we try without any flags at all, and "pthread-config"
17238 # which is a program returning the flags for the Pth emulation library.
17239
17240 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17241
17242 # The ordering *is* (sometimes) important. Some notes on the
17243 # individual items follow:
17244
17245 # pthreads: AIX (must check this before -lpthread)
17246 # none: in case threads are in libc; should be tried before -Kthread and
17247 # other compiler flags to prevent continual compiler warnings
17248 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17249 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17250 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
17251 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
17252 # -pthreads: Solaris/gcc
17253 # -mthreads: Mingw32/gcc, Lynx/gcc
17254 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
17255 # doesn't hurt to check since this sometimes defines pthreads too;
17256 # also defines -D_REENTRANT)
17257 # ... -mt is also the pthreads flag for HP/aCC
17258 # pthread: Linux, etcetera
17259 # --thread-safe: KAI C++
17260 # pthread-config: use pthread-config program (for GNU Pth library)
17261
17262 case "${host_cpu}-${host_os}" in
17263 *solaris*)
17264
17265 # On Solaris (at least, for some versions), libc contains stubbed
17266 # (non-functional) versions of the pthreads routines, so link-based
17267 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
17268 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
17269 # a function called by this macro, so we could check for that, but
17270 # who knows whether they'll stub that too in a future libc.) So,
17271 # we'll just look for -pthreads and -lpthread first:
17272
17273 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
17274 ;;
17275 esac
17276
17277 if testscip-shell system . . test. x"$acx_pthread_ok" = xno; then
17278 for flag in $acx_pthread_flags; do
17279
17280 case $flag in
17281 none)
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
17283 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
17284 ;;
17285
17286 -*)
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
17288 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
17289 PTHREAD_CFLAGS="$flag"
17290 ;;
17291
17292 pthread-config)
17293 # Extract the first word of "pthread-config", so it can be a program name with args.
17294 set dummy pthread-config; ac_word=$2
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17296 $as_echo_n "checking for $ac_word... " >&6; }
17297 if ${ac_cv_prog_acx_pthread_config+:} false; then :
17298 $as_echo_n "(cached) " >&6
17299 else
17300 if testscip-shell system . . test. -n "$acx_pthread_config"; then
17301 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
17302 else
17303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17304 for as_dir in $PATH
17305 do
17306 IFS=$as_save_IFS
17307 testscip-shell system . . test. -z "$as_dir" && as_dir=.
17308 for ac_exec_ext in '' $ac_executable_extensions; do
17309 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
17310 ac_cv_prog_acx_pthread_config="yes"
17311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17312 break 2
17313 fi
17314 done
17315 done
17316 IFS=$as_save_IFS
17317
17318 testscip-shell system . . test. -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
17319 fi
17320 fi
17321 acx_pthread_config=$ac_cv_prog_acx_pthread_config
17322 if testscip-shell system . . test. -n "$acx_pthread_config"; then
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
17324 $as_echo "$acx_pthread_config" >&6; }
17325 else
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17327 $as_echo "no" >&6; }
17328 fi
17329
17330
17331 if testscip-shell system . . test. x"$acx_pthread_config" = xno; then continue; fi
17332 PTHREAD_CFLAGS="`pthread-config --cflags`"
17333 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
17334 ;;
17335
17336 *)
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
17338 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
17339 PTHREAD_LIBS="-l$flag"
17340 ;;
17341 esac
17342
17343 save_LIBS="$LIBS"
17344 save_CFLAGS="$CFLAGS"
17345 LIBS="$PTHREAD_LIBS $LIBS"
17346 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17347
17348 # Check for various functions. We must include pthread.h,
17349 # since some functions may be macros. (On the Sequent, we
17350 # need a special flag -Kthread to make this header compile.)
17351 # We check for pthread_join because it is in -lpthread on IRIX
17352 # while pthread_create is in libc. We check for pthread_attr_init
17353 # due to DEC craziness with -lpthreads. We check for
17354 # pthread_cleanup_push because it is one of the few pthread
17355 # functions on Solaris that doesn't have a non-functional libc stub.
17356 # We try pthread_create on general principles.
17357 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17359 #include <pthread.h>
17360 int
17361 main ()
17362 {
17363 pthread_t th; pthread_join(th, 0);
17364 pthread_attr_init(0); pthread_cleanup_push(0, 0);
17365 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
17366 ;
17367 return 0;
17368 }
17369 _ACEOF
17370 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
17371 acx_pthread_ok=yes
17372 fi
17373 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
17374 conftest$ac_exeext conftest.$ac_ext
17375
17376 LIBS="$save_LIBS"
17377 CFLAGS="$save_CFLAGS"
17378
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17380 $as_echo "$acx_pthread_ok" >&6; }
17381 if testscip-shell system . . test. "x$acx_pthread_ok" = xyes; then
17382 break;
17383 fi
17384
17385 PTHREAD_LIBS=""
17386 PTHREAD_CFLAGS=""
17387 done
17388 fi
17389
17390 # Various other checks:
17391 if testscip-shell system . . test. "x$acx_pthread_ok" = xyes; then
17392 save_LIBS="$LIBS"
17393 LIBS="$PTHREAD_LIBS $LIBS"
17394 save_CFLAGS="$CFLAGS"
17395 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17396
17397 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
17399 $as_echo_n "checking for joinable pthread attribute... " >&6; }
17400 attr_name=unknown
17401 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
17402 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h. */
17404 #include <pthread.h>
17405 int
17406 main ()
17407 {
17408 int attr=$attr; return attr;
17409 ;
17410 return 0;
17411 }
17412 _ACEOF
17413 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
17414 attr_name=$attr; break
17415 fi
17416 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
17417 conftest$ac_exeext conftest.$ac_ext
17418 done
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
17420 $as_echo "$attr_name" >&6; }
17421 if testscip-shell system . . test. "$attr_name" != PTHREAD_CREATE_JOINABLE; then
17422
17423 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
17424 #define PTHREAD_CREATE_JOINABLE $attr_name
17425 _ACEOF
17426
17427 fi
17428
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
17430 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
17431 flag=no
17432 case "${host_cpu}-${host_os}" in
17433 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
17434 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
17435 esac
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
17437 $as_echo "${flag}" >&6; }
17438 if testscip-shell system . . test. "x$flag" != xno; then
17439 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
17440 fi
17441
17442 LIBS="$save_LIBS"
17443 CFLAGS="$save_CFLAGS"
17444
17445 # More AIX lossage: must compile with xlc_r or cc_r
17446 if testscip-shell system . . test. x"$GCC" != xyes; then
17447 for ac_prog in xlc_r cc_r
17448 do
17449 # Extract the first word of "$ac_prog", so it can be a program name with args.
17450 set dummy $ac_prog; ac_word=$2
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17452 $as_echo_n "checking for $ac_word... " >&6; }
17453 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
17454 $as_echo_n "(cached) " >&6
17455 else
17456 if testscip-shell system . . test. -n "$PTHREAD_CC"; then
17457 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
17458 else
17459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17460 for as_dir in $PATH
17461 do
17462 IFS=$as_save_IFS
17463 testscip-shell system . . test. -z "$as_dir" && as_dir=.
17464 for ac_exec_ext in '' $ac_executable_extensions; do
17465 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
17466 ac_cv_prog_PTHREAD_CC="$ac_prog"
17467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17468 break 2
17469 fi
17470 done
17471 done
17472 IFS=$as_save_IFS
17473
17474 fi
17475 fi
17476 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
17477 if testscip-shell system . . test. -n "$PTHREAD_CC"; then
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
17479 $as_echo "$PTHREAD_CC" >&6; }
17480 else
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17482 $as_echo "no" >&6; }
17483 fi
17484
17485
17486 testscip-shell system . . test. -n "$PTHREAD_CC" && break
17487 done
17488 testscip-shell system . . test. -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
17489
17490 else
17491 PTHREAD_CC=$CC
17492 fi
17493 else
17494 PTHREAD_CC="$CC"
17495 fi
17496
17497
17498
17499
17500
17501 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17502 if testscip-shell system . . test. x"$acx_pthread_ok" = xyes; then
17503 LIBS="$PTHREAD_LIBS $LIBS"
17504 :
17505 else
17506 acx_pthread_ok=no
17507
17508 fi
17509 ac_ext=c
17510 ac_cpp='$CPP $CPPFLAGS'
17511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17514
17515
17516
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler vendor" >&5
17518 $as_echo_n "checking for C compiler vendor... " >&6; }
17519 if ${ax_cv_c_compiler_vendor+:} false; then :
17520 $as_echo_n "(cached) " >&6
17521 else
17522
17523 vendors="
17524 intel: __ICC,__ECC,__INTEL_COMPILER
17525 ibm: __xlc__,__xlC__,__IBMC__,__IBMCPP__,__ibmxl__
17526 pathscale: __PATHCC__,__PATHSCALE__
17527 clang: __clang__
17528 cray: _CRAYC
17529 fujitsu: __FUJITSU
17530 sdcc: SDCC,__SDCC
17531 sx: _SX
17532 portland: __PGI
17533 gnu: __GNUC__
17534 sun: __SUNPRO_C,__SUNPRO_CC,__SUNPRO_F90,__SUNPRO_F95
17535 hp: __HP_cc,__HP_aCC
17536 dec: __DECC,__DECCXX,__DECC_VER,__DECCXX_VER
17537 borland: __BORLANDC__,__CODEGEARC__,__TURBOC__
17538 comeau: __COMO__
17539 kai: __KCC
17540 lcc: __LCC__
17541 sgi: __sgi,sgi
17542 microsoft: _MSC_VER
17543 metrowerks: __MWERKS__
17544 watcom: __WATCOMC__
17545 tcc: __TINYC__
17546 unknown: UNKNOWN
17547 "
17548 for ventest in $vendors; do
17549 case $ventest in
17550 *:)
17551 vendor=$ventest
17552 continue
17553 ;;
17554 *)
17555 vencpp="defined("`echoscip-shell system . . echo. $ventest | sedscip-shell system . . sed. 's/,/) || defined(/g'`")"
17556 ;;
17557 esac
17558
17559 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
17560 /* end confdefs.h. */
17561
17562 int
17563 main ()
17564 {
17565
17566 #if !($vencpp)
17567 thisisanerror;
17568 #endif
17569
17570 ;
17571 return 0;
17572 }
17573 _ACEOF
17574 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
17575 break
17576 fi
17577 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17578 done
17579
17580 ax_cv_c_compiler_vendor=`echoscip-shell system . . echo. $vendor | cutscip-shell system . . cut. -d: -f1`
17581
17582 fi
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_vendor" >&5
17584 $as_echo "$ax_cv_c_compiler_vendor" >&6; }
17585
17586
17587
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
17589 $as_echo_n "checking for C compiler version... " >&6; }
17590 if ${ax_cv_c_compiler_version+:} false; then :
17591 $as_echo_n "(cached) " >&6
17592 else
17593 case $ax_cv_c_compiler_vendor in #(
17594 intel) :
17595 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__INTEL_COMPILER/100" "_ax_c_compiler_version_major" ""; then :
17596
17597 else
17598 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17600 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_INTEL unknown intel compiler version
17601 See \`config.log' for more details" "$LINENO" 5; }
17602 fi
17603
17604 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(__INTEL_COMPILER%100)/10" "_ax_c_compiler_version_minor" ""; then :
17605
17606 else
17607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17609 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_INTEL unknown intel compiler version
17610 See \`config.log' for more details" "$LINENO" 5; }
17611 fi
17612
17613 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(__INTEL_COMPILER%10)" "_ax_c_compiler_version_patch" ""; then :
17614
17615 else
17616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17618 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_INTEL unknown intel compiler version
17619 See \`config.log' for more details" "$LINENO" 5; }
17620 fi
17621
17622 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
17623 ;; #(
17624 ibm) :
17625 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
17626 /* end confdefs.h. */
17627
17628
17629 int
17630 main ()
17631 {
17632
17633 #if defined(__COMPILER_VER__)
17634 choke me;
17635 #endif
17636
17637 ;
17638 return 0;
17639 }
17640 _ACEOF
17641 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
17642
17643 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__xlC__/100" "_ax_c_compiler_version_major" ""; then :
17644
17645 else
17646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17648 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler major version
17649 See \`config.log' for more details" "$LINENO" 5; }
17650 fi
17651
17652 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__xlC__%100" "_ax_c_compiler_version_minor" ""; then :
17653
17654 else
17655 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17657 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler minor version
17658 See \`config.log' for more details" "$LINENO" 5; }
17659 fi
17660
17661 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__xlC_ver__/0x100" "_ax_c_compiler_version_patch" ""; then :
17662
17663 else
17664 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17666 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler patch version
17667 See \`config.log' for more details" "$LINENO" 5; }
17668 fi
17669
17670 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__xlC_ver__%0x100" "_ax_c_compiler_version_build" ""; then :
17671
17672 else
17673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17675 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler build version
17676 See \`config.log' for more details" "$LINENO" 5; }
17677 fi
17678
17679 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch.$_ax_c_compiler_version_build"
17680
17681 else
17682
17683 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__xlC__%1000" "_ax_c_compiler_version_patch" ""; then :
17684
17685 else
17686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17688 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler patch version
17689 See \`config.log' for more details" "$LINENO" 5; }
17690 fi
17691
17692 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(__xlC__/10000)%10" "_ax_c_compiler_version_minor" ""; then :
17693
17694 else
17695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17697 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler minor version
17698 See \`config.log' for more details" "$LINENO" 5; }
17699 fi
17700
17701 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(__xlC__/100000)%10" "_ax_c_compiler_version_major" ""; then :
17702
17703 else
17704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17706 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler major version
17707 See \`config.log' for more details" "$LINENO" 5; }
17708 fi
17709
17710 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
17711
17712 fi
17713 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17714 ;; #(
17715 pathscale) :
17716
17717 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__PATHCC__" "_ax_c_compiler_version_major" ""; then :
17718
17719 else
17720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17722 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_PATHSCALE unknown pathscale major
17723 See \`config.log' for more details" "$LINENO" 5; }
17724 fi
17725
17726 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__PATHCC_MINOR__" "_ax_c_compiler_version_minor" ""; then :
17727
17728 else
17729 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17731 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_PATHSCALE unknown pathscale minor
17732 See \`config.log' for more details" "$LINENO" 5; }
17733 fi
17734
17735 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__PATHCC_PATCHLEVEL__" "_ax_c_compiler_version_patch" ""; then :
17736
17737 else
17738 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17740 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_PATHSCALE unknown pathscale patch level
17741 See \`config.log' for more details" "$LINENO" 5; }
17742 fi
17743
17744 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
17745 ;; #(
17746 clang) :
17747
17748 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__clang_major__" "_ax_c_compiler_version_major" ""; then :
17749
17750 else
17751 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17753 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_CLANG unknown clang major
17754 See \`config.log' for more details" "$LINENO" 5; }
17755 fi
17756
17757 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__clang_minor__" "_ax_c_compiler_version_minor" ""; then :
17758
17759 else
17760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17762 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_CLANG unknown clang minor
17763 See \`config.log' for more details" "$LINENO" 5; }
17764 fi
17765
17766 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__clang_patchlevel__" "_ax_c_compiler_version_patch" ""; then :
17767
17768 else
17769 0
17770 fi
17771
17772 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
17773 ;; #(
17774 cray) :
17775
17776 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "_RELEASE" "_ax_c_compiler_version_major" ""; then :
17777
17778 else
17779 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17781 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_CRAY unknown crayc release
17782 See \`config.log' for more details" "$LINENO" 5; }
17783 fi
17784
17785 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "_RELEASE_MINOR" "_ax_c_compiler_version_minor" ""; then :
17786
17787 else
17788 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17790 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_CRAY unknown crayc minor
17791 See \`config.log' for more details" "$LINENO" 5; }
17792 fi
17793
17794 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor"
17795 ;; #(
17796 fujitsu) :
17797
17798 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__FCC_VERSION" "ax_cv_c_compiler_version" ""; then :
17799
17800 else
17801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17803 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_FUJITSUunknown fujitsu release
17804 See \`config.log' for more details" "$LINENO" 5; }
17805 fi
17806
17807 ;; #(
17808 gnu) :
17809
17810 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__GNUC__" "_ax_c_compiler_version_major" ""; then :
17811
17812 else
17813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17815 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_GNU unknown gcc major
17816 See \`config.log' for more details" "$LINENO" 5; }
17817 fi
17818
17819 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__GNUC_MINOR__" "_ax_c_compiler_version_minor" ""; then :
17820
17821 else
17822 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17824 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_GNU unknown gcc minor
17825 See \`config.log' for more details" "$LINENO" 5; }
17826 fi
17827
17828 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__GNUC_PATCHLEVEL__" "_ax_c_compiler_version_patch" ""; then :
17829
17830 else
17831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17833 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_GNU unknown gcc patch level
17834 See \`config.log' for more details" "$LINENO" 5; }
17835 fi
17836
17837 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
17838 ;; #(
17839 sun) :
17840
17841
17842 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "!!(
17843 #if defined(__SUNPRO_CC)
17844 __SUNPRO_CC
17845 #else
17846 __SUNPRO_C
17847 #endif
17848 < 0x1000)" "_ax_c_compiler_version_until59" ""; then :
17849
17850 else
17851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17853 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_SUN unknown sun release version
17854 See \`config.log' for more details" "$LINENO" 5; }
17855 fi
17856
17857 if testscip-shell system . . test. "X$_ax_c_compiler_version_until59" = X1; then :
17858 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "
17859 #if defined(__SUNPRO_CC)
17860 __SUNPRO_CC
17861 #else
17862 __SUNPRO_C
17863 #endif
17864 % 0x10" "_ax_c_compiler_version_patch" ""; then :
17865
17866 else
17867 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17869 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_SUN unknown sun patch version
17870 See \`config.log' for more details" "$LINENO" 5; }
17871 fi
17872
17873 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(
17874 #if defined(__SUNPRO_CC)
17875 __SUNPRO_CC
17876 #else
17877 __SUNPRO_C
17878 #endif
17879 / 0x10) % 0x10" "_ax_c_compiler_version_minor" ""; then :
17880
17881 else
17882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17884 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_SUN unknown sun minor version
17885 See \`config.log' for more details" "$LINENO" 5; }
17886 fi
17887
17888 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(
17889 #if defined(__SUNPRO_CC)
17890 __SUNPRO_CC
17891 #else
17892 __SUNPRO_C
17893 #endif
17894 / 0x100)" "_ax_c_compiler_version_major" ""; then :
17895
17896 else
17897 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17899 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_SUN unknown sun major version
17900 See \`config.log' for more details" "$LINENO" 5; }
17901 fi
17902
17903
17904 else
17905 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "
17906 #if defined(__SUNPRO_CC)
17907 __SUNPRO_CC
17908 #else
17909 __SUNPRO_C
17910 #endif
17911 % 0x10" "_ax_c_compiler_version_patch" ""; then :
17912
17913 else
17914 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17916 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_SUN unknown sun patch version
17917 See \`config.log' for more details" "$LINENO" 5; }
17918 fi
17919
17920 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(
17921 #if defined(__SUNPRO_CC)
17922 __SUNPRO_CC
17923 #else
17924 __SUNPRO_C
17925 #endif
17926 / 0x100) % 0x100" "_ax_c_compiler_version_minor" ""; then :
17927
17928 else
17929 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17931 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_SUN unknown sun minor version
17932 See \`config.log' for more details" "$LINENO" 5; }
17933 fi
17934
17935 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(
17936 #if defined(__SUNPRO_CC)
17937 __SUNPRO_CC
17938 #else
17939 __SUNPRO_C
17940 #endif
17941 / 0x1000)" "_ax_c_compiler_version_major" ""; then :
17942
17943 else
17944 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17945 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17946 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_SUN unknown sun major version
17947 See \`config.log' for more details" "$LINENO" 5; }
17948 fi
17949
17950
17951 fi
17952 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
17953 ;; #(
17954 hp) :
17955
17956
17957 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "!!(
17958 #if defined(__HP_cc)
17959 __HP_cc
17960 #else
17961 __HP_aCC
17962 #endif
17963 <= 1)" "_ax_c_compiler_version_untilA0121" ""; then :
17964
17965 else
17966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17968 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_HP unknown hp release version
17969 See \`config.log' for more details" "$LINENO" 5; }
17970 fi
17971
17972 if testscip-shell system . . test. "X$_ax_c_compiler_version_untilA0121" = X1; then :
17973 ax_cv_c_compiler_version="01.21.00"
17974
17975 else
17976 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(
17977 #if defined(__HP_cc)
17978 __HP_cc
17979 #else
17980 __HP_aCC
17981 #endif
17982 % 100)" "_ax_c_compiler_version_patch" ""; then :
17983
17984 else
17985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17987 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_HP unknown hp release version
17988 See \`config.log' for more details" "$LINENO" 5; }
17989 fi
17990
17991 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "((
17992 #if defined(__HP_cc)
17993 __HP_cc
17994 #else
17995 __HP_aCC
17996 #endif
17997 / 100)%100)" "_ax_c_compiler_version_minor" ""; then :
17998
17999 else
18000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18002 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_HP unknown hp minor version
18003 See \`config.log' for more details" "$LINENO" 5; }
18004 fi
18005
18006 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "((
18007 #if defined(__HP_cc)
18008 __HP_cc
18009 #else
18010 __HP_aCC
18011 #endif
18012 / 10000)%100)" "_ax_c_compiler_version_major" ""; then :
18013
18014 else
18015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18017 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_HP unknown hp major version
18018 See \`config.log' for more details" "$LINENO" 5; }
18019 fi
18020
18021 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
18022
18023 fi
18024 ;; #(
18025 dec) :
18026
18027 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(
18028 #if defined(__DECC_VER)
18029 __DECC_VER
18030 #else
18031 __DECCXX_VER
18032 #endif
18033 % 10000)" "_ax_c_compiler_version_patch" ""; then :
18034
18035 else
18036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18038 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_DEC unknown dec release version
18039 See \`config.log' for more details" "$LINENO" 5; }
18040 fi
18041
18042 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "((
18043 #if defined(__DECC_VER)
18044 __DECC_VER
18045 #else
18046 __DECCXX_VER
18047 #endif
18048 / 100000UL)%100)" "_ax_c_compiler_version_minor" ""; then :
18049
18050 else
18051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18053 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_DEC unknown dec minor version
18054 See \`config.log' for more details" "$LINENO" 5; }
18055 fi
18056
18057 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "((
18058 #if defined(__DECC_VER)
18059 __DECC_VER
18060 #else
18061 __DECCXX_VER
18062 #endif
18063 / 10000000UL)%100)" "_ax_c_compiler_version_major" ""; then :
18064
18065 else
18066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18068 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_DEC unknown dec major version
18069 See \`config.log' for more details" "$LINENO" 5; }
18070 fi
18071
18072 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
18073 ;; #(
18074 borland) :
18075
18076
18077 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
18078 /* end confdefs.h. */
18079
18080 int
18081 main ()
18082 {
18083
18084 #if defined(__TURBOC__)
18085 __TURBOC__
18086 #else
18087 choke me
18088 #endif
18089
18090 ;
18091 return 0;
18092 }
18093 _ACEOF
18094 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
18095 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "
18096 #if defined(__TURBOC__)
18097 __TURBOC__
18098 #else
18099 choke me
18100 #endif
18101 " "_ax_c_compiler_version_turboc_raw" ""; then :
18102
18103 else
18104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18106 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_BORLAND unknown turboc version
18107 See \`config.log' for more details" "$LINENO" 5; }
18108 fi
18109
18110 if testscip-shell system . . test. $_ax_c_compiler_version_turboc_raw -lt 661 || testscip-shell system . . test. $_ax_c_compiler_version_turboc_raw -gt 1023; then :
18111 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "
18112 #if defined(__TURBOC__)
18113 __TURBOC__
18114 #else
18115 choke me
18116 #endif
18117 % 0x100" "_ax_c_compiler_version_minor" ""; then :
18118
18119 else
18120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18122 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_BORLAND unknown turboc minor version
18123 See \`config.log' for more details" "$LINENO" 5; }
18124 fi
18125
18126 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(
18127 #if defined(__TURBOC__)
18128 __TURBOC__
18129 #else
18130 choke me
18131 #endif
18132 /0x100)%0x100" "_ax_c_compiler_version_major" ""; then :
18133
18134 else
18135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18137 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_BORLAND unknown turboc major version
18138 See \`config.log' for more details" "$LINENO" 5; }
18139 fi
18140
18141 ax_cv_c_compiler_version="0turboc:$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor"
18142 else
18143 case $_ax_c_compiler_version_turboc_raw in #(
18144 661) :
18145 ax_cv_c_compiler_version="0turboc:1.00" ;; #(
18146 662) :
18147 ax_cv_c_compiler_version="0turboc:1.01" ;; #(
18148 663) :
18149 ax_cv_c_compiler_version="0turboc:2.00" ;; #(
18150 *) :
18151
18152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: [_AX_COMPILER_VERSION_BORLAND] unknown turboc version between 0x295 and 0x400 please report bug" >&5
18153 $as_echo "$as_me: WARNING: [_AX_COMPILER_VERSION_BORLAND] unknown turboc version between 0x295 and 0x400 please report bug" >&2;}
18154 ax_cv_c_compiler_version=""
18155 ;;
18156 esac
18157
18158 fi
18159
18160 else
18161 # borlandc
18162
18163 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "
18164 #if defined(__BORLANDC__)
18165 __BORLANDC__
18166 #else
18167 __CODEGEARC__
18168 #endif
18169 " "_ax_c_compiler_version_borlandc_raw" ""; then :
18170
18171 else
18172 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18174 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_BORLAND unknown borlandc version
18175 See \`config.log' for more details" "$LINENO" 5; }
18176 fi
18177
18178 case $_ax_c_compiler_version_borlandc_raw in #(
18179 512 ) :
18180 ax_cv_c_compiler_version="1borlanc:2.00" ;; #(
18181 1024) :
18182 ax_cv_c_compiler_version="1borlanc:3.00" ;; #(
18183 1024) :
18184 ax_cv_c_compiler_version="1borlanc:3.00" ;; #(
18185 1040) :
18186 ax_cv_c_compiler_version="1borlanc:3.1" ;; #(
18187 1106) :
18188 ax_cv_c_compiler_version="1borlanc:4.0" ;; #(
18189 1280) :
18190 ax_cv_c_compiler_version="1borlanc:5.0" ;; #(
18191 1312) :
18192 ax_cv_c_compiler_version="1borlanc:5.02" ;; #(
18193 1328) :
18194 ax_cv_c_compiler_version="2cppbuilder:3.0" ;; #(
18195 1344) :
18196 ax_cv_c_compiler_version="2cppbuilder:4.0" ;; #(
18197 1360) :
18198 ax_cv_c_compiler_version="3borlancpp:5.5" ;; #(
18199 1361) :
18200 ax_cv_c_compiler_version="3borlancpp:5.51" ;; #(
18201 1378) :
18202 ax_cv_c_compiler_version="3borlancpp:5.6.4" ;; #(
18203 1392) :
18204 ax_cv_c_compiler_version="4cppbuilder:2006" ;; #(
18205 1424) :
18206 ax_cv_c_compiler_version="4cppbuilder:2007" ;; #(
18207 1555) :
18208 ax_cv_c_compiler_version="4cppbuilder:2009" ;; #(
18209 1569) :
18210 ax_cv_c_compiler_version="4cppbuilder:2010" ;; #(
18211 1584) :
18212 ax_cv_c_compiler_version="5xe" ;; #(
18213 1600) :
18214 ax_cv_c_compiler_version="5xe:2" ;; #(
18215 1616) :
18216 ax_cv_c_compiler_version="5xe:3" ;; #(
18217 1632) :
18218 ax_cv_c_compiler_version="5xe:4" ;; #(
18219 *) :
18220
18221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: [_AX_COMPILER_VERSION_BORLAND] Unknown borlandc compiler version $_ax_c_compiler_version_borlandc_raw please report bug" >&5
18222 $as_echo "$as_me: WARNING: [_AX_COMPILER_VERSION_BORLAND] Unknown borlandc compiler version $_ax_c_compiler_version_borlandc_raw please report bug" >&2;}
18223 ;;
18224 esac
18225
18226 fi
18227 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18228 ;; #(
18229 comeau) :
18230 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__COMO_VERSION__%100" "_ax_c_compiler_version_minor" ""; then :
18231
18232 else
18233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18235 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_COMEAU unknown comeau compiler minor version
18236 See \`config.log' for more details" "$LINENO" 5; }
18237 fi
18238
18239 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(__COMO_VERSION__/100)%10" "_ax_c_compiler_version_major" ""; then :
18240
18241 else
18242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18244 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_COMEAU unknown comeau compiler major version
18245 See \`config.log' for more details" "$LINENO" 5; }
18246 fi
18247
18248 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor"
18249 ;; #(
18250 kai) :
18251
18252 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__KCC_VERSION%100" "_ax_c_compiler_version_patch" ""; then :
18253
18254 else
18255 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18257 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_KAI unknown kay compiler patch version
18258 See \`config.log' for more details" "$LINENO" 5; }
18259 fi
18260
18261 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(__KCC_VERSION/100)%10" "_ax_c_compiler_version_minor" ""; then :
18262
18263 else
18264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18266 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_KAI unknown kay compiler minor version
18267 See \`config.log' for more details" "$LINENO" 5; }
18268 fi
18269
18270 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(__KCC_VERSION/1000)%10" "_ax_c_compiler_version_major" ""; then :
18271
18272 else
18273 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18275 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_KAI unknown kay compiler major version
18276 See \`config.log' for more details" "$LINENO" 5; }
18277 fi
18278
18279 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
18280 ;; #(
18281 sgi) :
18282
18283
18284 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "
18285 #if defined(_COMPILER_VERSION)
18286 _COMPILER_VERSION
18287 #else
18288 _SGI_COMPILER_VERSION
18289 #endif
18290 %10" "_ax_c_compiler_version_patch" ""; then :
18291
18292 else
18293 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18295 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_SGI unknown SGI compiler patch version
18296 See \`config.log' for more details" "$LINENO" 5; }
18297 fi
18298
18299 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(
18300 #if defined(_COMPILER_VERSION)
18301 _COMPILER_VERSION
18302 #else
18303 _SGI_COMPILER_VERSION
18304 #endif
18305 /10)%10" "_ax_c_compiler_version_minor" ""; then :
18306
18307 else
18308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18310 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_SGI unknown SGI compiler minor version
18311 See \`config.log' for more details" "$LINENO" 5; }
18312 fi
18313
18314 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(
18315 #if defined(_COMPILER_VERSION)
18316 _COMPILER_VERSION
18317 #else
18318 _SGI_COMPILER_VERSION
18319 #endif
18320 /100)%10" "_ax_c_compiler_version_major" ""; then :
18321
18322 else
18323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18325 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_SGI unknown SGI compiler major version
18326 See \`config.log' for more details" "$LINENO" 5; }
18327 fi
18328
18329 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
18330 ;; #(
18331 microsoft) :
18332
18333 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "_MSC_VER%100" "_ax_c_compiler_version_minor" ""; then :
18334
18335 else
18336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18338 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_MICROSOFT unknown microsoft compiler minor version
18339 See \`config.log' for more details" "$LINENO" 5; }
18340 fi
18341
18342 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(_MSC_VER/100)%100" "_ax_c_compiler_version_major" ""; then :
18343
18344 else
18345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18347 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_MICROSOFT unknown microsoft compiler major version
18348 See \`config.log' for more details" "$LINENO" 5; }
18349 fi
18350
18351 _ax_c_compiler_version_patch=0
18352 _ax_c_compiler_version_build=0
18353 # special case for version 6
18354 if testscip-shell system . . test. "X$_ax_c_compiler_version_major" = "X12"; then :
18355 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "_MSC_FULL_VER%1000" "_ax_c_compiler_version_patch" ""; then :
18356
18357 else
18358 _ax_c_compiler_version_patch=0
18359 fi
18360
18361 fi
18362 # for version 7
18363 if testscip-shell system . . test. "X$_ax_c_compiler_version_major" = "X13"; then :
18364 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "_MSC_FULL_VER%1000" "_ax_c_compiler_version_patch" ""; then :
18365
18366 else
18367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18369 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_MICROSOFT unknown microsoft compiler patch version
18370 See \`config.log' for more details" "$LINENO" 5; }
18371 fi
18372
18373
18374 fi
18375 # for version > 8
18376 if testscip-shell system . . test. $_ax_c_compiler_version_major -ge 14; then :
18377 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "_MSC_FULL_VER%10000" "_ax_c_compiler_version_patch" ""; then :
18378
18379 else
18380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18382 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_MICROSOFT unknown microsoft compiler patch version
18383 See \`config.log' for more details" "$LINENO" 5; }
18384 fi
18385
18386
18387 fi
18388 if testscip-shell system . . test. $_ax_c_compiler_version_major -ge 15; then :
18389 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "_MSC_BUILD" "_ax_c_compiler_version_build" ""; then :
18390
18391 else
18392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18394 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_MICROSOFT unknown microsoft compiler build version
18395 See \`config.log' for more details" "$LINENO" 5; }
18396 fi
18397
18398
18399 fi
18400 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch.$_ax_c_compiler_version_build"
18401 ;; #(
18402 metrowerks) :
18403 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__MWERKS__%0x100" "_ax_c_compiler_version_patch" ""; then :
18404
18405 else
18406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18408 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_METROWERKS unknown metrowerks compiler patch version
18409 See \`config.log' for more details" "$LINENO" 5; }
18410 fi
18411
18412 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(__MWERKS__/0x100)%0x10" "_ax_c_compiler_version_minor" ""; then :
18413
18414 else
18415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18417 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_METROWERKS unknown metrowerks compiler minor version
18418 See \`config.log' for more details" "$LINENO" 5; }
18419 fi
18420
18421 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(__MWERKS__/0x1000)%0x10" "_ax_c_compiler_version_major" ""; then :
18422
18423 else
18424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18426 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_METROWERKS unknown metrowerks compiler major version
18427 See \`config.log' for more details" "$LINENO" 5; }
18428 fi
18429
18430 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
18431 ;; #(
18432 watcom) :
18433 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__WATCOMC__%100" "_ax_c_compiler_version_minor" ""; then :
18434
18435 else
18436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18438 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_WATCOM unknown watcom compiler minor version
18439 See \`config.log' for more details" "$LINENO" 5; }
18440 fi
18441
18442 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "(__WATCOMC__/100)%100" "_ax_c_compiler_version_major" ""; then :
18443
18444 else
18445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18447 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_WATCOM unknown watcom compiler major version
18448 See \`config.log' for more details" "$LINENO" 5; }
18449 fi
18450
18451 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor"
18452 ;; #(
18453 portland) :
18454
18455 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__PGIC__" "_ax_c_compiler_version_major" ""; then :
18456
18457 else
18458 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18460 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_PORTLAND unknown pgi major
18461 See \`config.log' for more details" "$LINENO" 5; }
18462 fi
18463
18464 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__PGIC_MINOR__" "_ax_c_compiler_version_minor" ""; then :
18465
18466 else
18467 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18469 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_PORTLAND unknown pgi minor
18470 See \`config.log' for more details" "$LINENO" 5; }
18471 fi
18472
18473 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "__PGIC_PATCHLEVEL__" "_ax_c_compiler_version_patch" ""; then :
18474
18475 else
18476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18478 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_PORTLAND unknown pgi patch level
18479 See \`config.log' for more details" "$LINENO" 5; }
18480 fi
18481
18482 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
18483 ;; #(
18484 tcc) :
18485
18486 ax_cv_c_compiler_version=`tcc -v | $SED 's/^[ ]*tcc[ ]\+version[ ]\+\([0-9.]\+\).*/\1/g'`
18487 ;; #(
18488 sdcc) :
18489
18490 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "/* avoid parse error with comments */
18491 #if(defined(__SDCC_VERSION_MAJOR))
18492 __SDCC_VERSION_MAJOR
18493 #else
18494 SDCC/100
18495 #endif
18496 " "_ax_c_compiler_version_major" ""; then :
18497
18498 else
18499 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18501 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_SDCC unknown sdcc major
18502 See \`config.log' for more details" "$LINENO" 5; }
18503 fi
18504
18505 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "/* avoid parse error with comments */
18506 #if(defined(__SDCC_VERSION_MINOR))
18507 __SDCC_VERSION_MINOR
18508 #else
18509 (SDCC%100)/10
18510 #endif
18511 " "_ax_c_compiler_version_minor" ""; then :
18512
18513 else
18514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18516 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_SDCC unknown sdcc minor
18517 See \`config.log' for more details" "$LINENO" 5; }
18518 fi
18519
18520 if ac_fn_c_compute_intscip-shell shell cpputest 4.0-3 ac_fn_c_compute_int(). "$LINENO" "
18521 /* avoid parse error with comments */
18522 #if(defined(__SDCC_VERSION_PATCH))
18523 __SDCC_VERSION_PATCH
18524 #elsif(defined(_SDCC_VERSION_PATCHLEVEL))
18525 __SDCC_VERSION_PATCHLEVEL
18526 #else
18527 SDCC%10
18528 #endif
18529 " "_ax_c_compiler_version_patch" ""; then :
18530
18531 else
18532 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18534 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "_AX_COMPILER_VERSION_SDCC unknown sdcc patch level
18535 See \`config.log' for more details" "$LINENO" 5; }
18536 fi
18537
18538 ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
18539 ;; #(
18540 *) :
18541 ax_cv_c_compiler_version="" ;;
18542 esac
18543
18544 fi
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_version" >&5
18546 $as_echo "$ax_cv_c_compiler_version" >&6; }
18547
18548 # This additional -lpthread was added due to a bug on gcc for MacOSX: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42159
18549 # According to the bug report, a workaround is to link -lpthread. Even the ACX_PTHREAD doesn't do that, so we add an
18550 # additional check if that it possible, and if it is, then we link pthread
18551
18552 saved_libs="$LIBS"
18553 LIBS=-lpthread
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can link -lpthread to work around a gcc bug (on MacOSX)" >&5
18555 $as_echo_n "checking if we can link -lpthread to work around a gcc bug (on MacOSX)... " >&6; }
18556 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
18557 /* end confdefs.h. */
18558
18559 int
18560 main ()
18561 {
18562
18563 ;
18564 return 0;
18565 }
18566 _ACEOF
18567 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18569 $as_echo "yes" >&6; }; HACK_TO_USE_PTHREAD_LIBS=" -lpthread"
18570 else
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18572 $as_echo "no" >&6; }
18573 fi
18574 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
18575 conftest$ac_exeext conftest.$ac_ext
18576 LIBS="$saved_libs $HACK_TO_USE_PTHREAD_LIBS"
18577
18578 for ac_header in stddef.h stdint.h stdlib.h string.h sys/time.h unistd.h
18579 do :
18580 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18581 ac_fn_c_check_header_mongrelscip-shell shell cpputest 4.0-3 ac_fn_c_check_header_mongrel(). "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18582 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18583 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
18584 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18585 _ACEOF
18586
18587 fi
18588
18589 done
18590
18591
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18593 $as_echo_n "checking for inline... " >&6; }
18594 if ${ac_cv_c_inline+:} false; then :
18595 $as_echo_n "(cached) " >&6
18596 else
18597 ac_cv_c_inline=no
18598 for ac_kw in inline __inline__ __inline; do
18599 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
18600 /* end confdefs.h. */
18601 #ifndef __cplusplus
18602 typedef int foo_t;
18603 static $ac_kw foo_t static_foo () {return 0; }
18604 $ac_kw foo_t foo () {return 0; }
18605 #endif
18606
18607 _ACEOF
18608 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
18609 ac_cv_c_inline=$ac_kw
18610 fi
18611 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18612 testscip-shell system . . test. "$ac_cv_c_inline" != no && break
18613 done
18614
18615 fi
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18617 $as_echo "$ac_cv_c_inline" >&6; }
18618
18619 case $ac_cv_c_inline in
18620 inline | yes) ;;
18621 *)
18622 case $ac_cv_c_inline in
18623 no) ac_val=;;
18624 *) ac_val=$ac_cv_c_inline;;
18625 esac
18626 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
18627 #ifndef __cplusplus
18628 #define inline $ac_val
18629 #endif
18630 _ACEOF
18631 ;;
18632 esac
18633
18634 ac_fn_c_find_intX_tscip-shell shell cpputest 4.0-3 ac_fn_c_find_intX_t(). "$LINENO" "16" "ac_cv_c_int16_t"
18635 case $ac_cv_c_int16_t in #(
18636 no|yes) ;; #(
18637 *)
18638
18639 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
18640 #define int16_t $ac_cv_c_int16_t
18641 _ACEOF
18642 ;;
18643 esac
18644
18645 ac_fn_c_find_intX_tscip-shell shell cpputest 4.0-3 ac_fn_c_find_intX_t(). "$LINENO" "32" "ac_cv_c_int32_t"
18646 case $ac_cv_c_int32_t in #(
18647 no|yes) ;; #(
18648 *)
18649
18650 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
18651 #define int32_t $ac_cv_c_int32_t
18652 _ACEOF
18653 ;;
18654 esac
18655
18656 ac_fn_c_find_intX_tscip-shell shell cpputest 4.0-3 ac_fn_c_find_intX_t(). "$LINENO" "64" "ac_cv_c_int64_t"
18657 case $ac_cv_c_int64_t in #(
18658 no|yes) ;; #(
18659 *)
18660
18661 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
18662 #define int64_t $ac_cv_c_int64_t
18663 _ACEOF
18664 ;;
18665 esac
18666
18667 ac_fn_c_find_intX_tscip-shell shell cpputest 4.0-3 ac_fn_c_find_intX_t(). "$LINENO" "8" "ac_cv_c_int8_t"
18668 case $ac_cv_c_int8_t in #(
18669 no|yes) ;; #(
18670 *)
18671
18672 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
18673 #define int8_t $ac_cv_c_int8_t
18674 _ACEOF
18675 ;;
18676 esac
18677
18678 ac_fn_c_check_typescip-shell shell cpputest 4.0-3 ac_fn_c_check_type(). "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
18679 if testscip-shell system . . test. "x$ac_cv_type_pid_t" = xyes; then :
18680
18681 else
18682
18683 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
18684 #define pid_t int
18685 _ACEOF
18686
18687 fi
18688
18689 ac_fn_c_check_typescip-shell shell cpputest 4.0-3 ac_fn_c_check_type(). "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18690 if testscip-shell system . . test. "x$ac_cv_type_size_t" = xyes; then :
18691
18692 else
18693
18694 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
18695 #define size_t unsigned int
18696 _ACEOF
18697
18698 fi
18699
18700 ac_fn_c_find_uintX_tscip-shell shell cpputest 4.0-3 ac_fn_c_find_uintX_t(). "$LINENO" "16" "ac_cv_c_uint16_t"
18701 case $ac_cv_c_uint16_t in #(
18702 no|yes) ;; #(
18703 *)
18704
18705
18706 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
18707 #define uint16_t $ac_cv_c_uint16_t
18708 _ACEOF
18709 ;;
18710 esac
18711
18712 ac_fn_c_find_uintX_tscip-shell shell cpputest 4.0-3 ac_fn_c_find_uintX_t(). "$LINENO" "32" "ac_cv_c_uint32_t"
18713 case $ac_cv_c_uint32_t in #(
18714 no|yes) ;; #(
18715 *)
18716
18717 $as_echo "#define _UINT32_T 1" >>confdefs.h
18718
18719
18720 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
18721 #define uint32_t $ac_cv_c_uint32_t
18722 _ACEOF
18723 ;;
18724 esac
18725
18726 ac_fn_c_find_uintX_tscip-shell shell cpputest 4.0-3 ac_fn_c_find_uintX_t(). "$LINENO" "64" "ac_cv_c_uint64_t"
18727 case $ac_cv_c_uint64_t in #(
18728 no|yes) ;; #(
18729 *)
18730
18731 $as_echo "#define _UINT64_T 1" >>confdefs.h
18732
18733
18734 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
18735 #define uint64_t $ac_cv_c_uint64_t
18736 _ACEOF
18737 ;;
18738 esac
18739
18740 ac_fn_c_find_uintX_tscip-shell shell cpputest 4.0-3 ac_fn_c_find_uintX_t(). "$LINENO" "8" "ac_cv_c_uint8_t"
18741 case $ac_cv_c_uint8_t in #(
18742 no|yes) ;; #(
18743 *)
18744
18745 $as_echo "#define _UINT8_T 1" >>confdefs.h
18746
18747
18748 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
18749 #define uint8_t $ac_cv_c_uint8_t
18750 _ACEOF
18751 ;;
18752 esac
18753
18754
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
18756 $as_echo_n "checking for unsigned long long int... " >&6; }
18757 if ${ac_cv_type_unsigned_long_long_int+:} false; then :
18758 $as_echo_n "(cached) " >&6
18759 else
18760 ac_cv_type_unsigned_long_long_int=yes
18761 if testscip-shell system . . test. "x${ac_cv_prog_cc_c99-no}" = xno; then
18762 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
18763 /* end confdefs.h. */
18764
18765 /* For now, do not test the preprocessor; as of 2007 there are too many
18766 implementations with broken preprocessors. Perhaps this can
18767 be revisited in 2012. In the meantime, code should not expect
18768 #if to work with literals wider than 32 bits. */
18769 /* Test literals. */
18770 long long int ll = 9223372036854775807ll;
18771 long long int nll = -9223372036854775807LL;
18772 unsigned long long int ull = 18446744073709551615ULL;
18773 /* Test constant expressions. */
18774 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
18775 ? 1 : -1)];
18776 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
18777 ? 1 : -1)];
18778 int i = 63;
18779 int
18780 main ()
18781 {
18782 /* Test availability of runtime routines for shift and division. */
18783 long long int llmax = 9223372036854775807ll;
18784 unsigned long long int ullmax = 18446744073709551615ull;
18785 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
18786 | (llmax / ll) | (llmax % ll)
18787 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
18788 | (ullmax / ull) | (ullmax % ull));
18789 ;
18790 return 0;
18791 }
18792
18793 _ACEOF
18794 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
18795
18796 else
18797 ac_cv_type_unsigned_long_long_int=no
18798 fi
18799 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
18800 conftest$ac_exeext conftest.$ac_ext
18801 fi
18802 fi
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
18804 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
18805 if testscip-shell system . . test. $ac_cv_type_unsigned_long_long_int = yes; then
18806
18807 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
18808
18809 fi
18810
18811
18812
18813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
18814 $as_echo_n "checking for long long int... " >&6; }
18815 if ${ac_cv_type_long_long_int+:} false; then :
18816 $as_echo_n "(cached) " >&6
18817 else
18818 ac_cv_type_long_long_int=yes
18819 if testscip-shell system . . test. "x${ac_cv_prog_cc_c99-no}" = xno; then
18820 ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
18821 if testscip-shell system . . test. $ac_cv_type_long_long_int = yes; then
18822 if testscip-shell system . . test. "$cross_compiling" = yes; then :
18823 :
18824 else
18825 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
18826 /* end confdefs.h. */
18827 #include <limits.h>
18828 #ifndef LLONG_MAX
18829 # define HALF \
18830 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
18831 # define LLONG_MAX (HALF - 1 + HALF)
18832 #endif
18833 int
18834 main ()
18835 {
18836 long long int n = 1;
18837 int i;
18838 for (i = 0; ; i++)
18839 {
18840 long long int m = n << i;
18841 if (m >> i != n)
18842 return 1;
18843 if (LLONG_MAX / 2 < m)
18844 break;
18845 }
18846 return 0;
18847 ;
18848 return 0;
18849 }
18850 _ACEOF
18851 if ac_fn_c_try_runscip-shell shell cpputest 4.0-3 ac_fn_c_try_run(). "$LINENO"; then :
18852
18853 else
18854 ac_cv_type_long_long_int=no
18855 fi
18856 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18857 conftest.$ac_objext conftest.beam conftest.$ac_ext
18858 fi
18859
18860 fi
18861 fi
18862 fi
18863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
18864 $as_echo "$ac_cv_type_long_long_int" >&6; }
18865 if testscip-shell system . . test. $ac_cv_type_long_long_int = yes; then
18866
18867 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
18868
18869 fi
18870
18871
18872 # Checks for library functions.
18873 for ac_header in vfork.h
18874 do :
18875 ac_fn_c_check_header_mongrelscip-shell shell cpputest 4.0-3 ac_fn_c_check_header_mongrel(). "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
18876 if testscip-shell system . . test. "x$ac_cv_header_vfork_h" = xyes; then :
18877 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
18878 #define HAVE_VFORK_H 1
18879 _ACEOF
18880
18881 fi
18882
18883 done
18884
18885 for ac_func in fork vfork
18886 do :
18887 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18888 ac_fn_c_check_funcscip-shell shell cpputest 4.0-3 ac_fn_c_check_func(). "$LINENO" "$ac_func" "$as_ac_var"
18889 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18890 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
18891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18892 _ACEOF
18893
18894 fi
18895 done
18896
18897 if testscip-shell system . . test. "x$ac_cv_func_fork" = xyes; then
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
18899 $as_echo_n "checking for working fork... " >&6; }
18900 if ${ac_cv_func_fork_works+:} false; then :
18901 $as_echo_n "(cached) " >&6
18902 else
18903 if testscip-shell system . . test. "$cross_compiling" = yes; then :
18904 ac_cv_func_fork_works=cross
18905 else
18906 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
18907 /* end confdefs.h. */
18908 $ac_includes_default
18909 int
18910 main ()
18911 {
18912
18913 /* By Ruediger Kuhlmann. */
18914 return fork () < 0;
18915
18916 ;
18917 return 0;
18918 }
18919 _ACEOF
18920 if ac_fn_c_try_runscip-shell shell cpputest 4.0-3 ac_fn_c_try_run(). "$LINENO"; then :
18921 ac_cv_func_fork_works=yes
18922 else
18923 ac_cv_func_fork_works=no
18924 fi
18925 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18926 conftest.$ac_objext conftest.beam conftest.$ac_ext
18927 fi
18928
18929 fi
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
18931 $as_echo "$ac_cv_func_fork_works" >&6; }
18932
18933 else
18934 ac_cv_func_fork_works=$ac_cv_func_fork
18935 fi
18936 if testscip-shell system . . test. "x$ac_cv_func_fork_works" = xcross; then
18937 case $host in
18938 *-*-amigaos* | *-*-msdosdjgpp*)
18939 # Override, as these systems have only a dummy fork() stub
18940 ac_cv_func_fork_works=no
18941 ;;
18942 *)
18943 ac_cv_func_fork_works=yes
18944 ;;
18945 esac
18946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
18947 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
18948 fi
18949 ac_cv_func_vfork_works=$ac_cv_func_vfork
18950 if testscip-shell system . . test. "x$ac_cv_func_vfork" = xyes; then
18951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
18952 $as_echo_n "checking for working vfork... " >&6; }
18953 if ${ac_cv_func_vfork_works+:} false; then :
18954 $as_echo_n "(cached) " >&6
18955 else
18956 if testscip-shell system . . test. "$cross_compiling" = yes; then :
18957 ac_cv_func_vfork_works=cross
18958 else
18959 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
18960 /* end confdefs.h. */
18961 /* Thanks to Paul Eggert for this test. */
18962 $ac_includes_default
18963 #include <sys/wait.h>
18964 #ifdef HAVE_VFORK_H
18965 # include <vfork.h>
18966 #endif
18967 /* On some sparc systems, changes by the child to local and incoming
18968 argument registers are propagated back to the parent. The compiler
18969 is told about this with #include <vfork.h>, but some compilers
18970 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
18971 static variable whose address is put into a register that is
18972 clobbered by the vfork. */
18973 static void
18974 #ifdef __cplusplus
18975 sparc_address_test (int arg)
18976 # else
18977 sparc_address_test (arg) int arg;
18978 #endif
18979 {
18980 static pid_t child;
18981 if (!child) {
18982 child = vfork ();
18983 if (child < 0) {
18984 perror ("vfork");
18985 _exit(2);
18986 }
18987 if (!child) {
18988 arg = getpid();
18989 write(-1, "", 0);
18990 _exit (arg);
18991 }
18992 }
18993 }
18994
18995 int
18996 main ()
18997 {
18998 pid_t parent = getpid ();
18999 pid_t child;
19000
19001 sparc_address_test (0);
19002
19003 child = vfork ();
19004
19005 if (child == 0) {
19006 /* Here is another test for sparc vfork register problems. This
19007 test uses lots of local variables, at least as many local
19008 variables as main has allocated so far including compiler
19009 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
19010 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
19011 reuse the register of parent for one of the local variables,
19012 since it will think that parent can't possibly be used any more
19013 in this routine. Assigning to the local variable will thus
19014 munge parent in the parent process. */
19015 pid_t
19016 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
19017 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
19018 /* Convince the compiler that p..p7 are live; otherwise, it might
19019 use the same hardware register for all 8 local variables. */
19020 if (p != p1 || p != p2 || p != p3 || p != p4
19021 || p != p5 || p != p6 || p != p7)
19022 _exit(1);
19023
19024 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
19025 from child file descriptors. If the child closes a descriptor
19026 before it execs or exits, this munges the parent's descriptor
19027 as well. Test for this by closing stdout in the child. */
19028 _exit(close(fileno(stdout)) != 0);
19029 } else {
19030 int status;
19031 struct stat st;
19032
19033 while (wait(&status) != child)
19034 ;
19035 return (
19036 /* Was there some problem with vforking? */
19037 child < 0
19038
19039 /* Did the child fail? (This shouldn't happen.) */
19040 || status
19041
19042 /* Did the vfork/compiler bug occur? */
19043 || parent != getpid()
19044
19045 /* Did the file descriptor bug occur? */
19046 || fstat(fileno(stdout), &st) != 0
19047 );
19048 }
19049 }
19050 _ACEOF
19051 if ac_fn_c_try_runscip-shell shell cpputest 4.0-3 ac_fn_c_try_run(). "$LINENO"; then :
19052 ac_cv_func_vfork_works=yes
19053 else
19054 ac_cv_func_vfork_works=no
19055 fi
19056 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19057 conftest.$ac_objext conftest.beam conftest.$ac_ext
19058 fi
19059
19060 fi
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
19062 $as_echo "$ac_cv_func_vfork_works" >&6; }
19063
19064 fi;
19065 if testscip-shell system . . test. "x$ac_cv_func_fork_works" = xcross; then
19066 ac_cv_func_vfork_works=$ac_cv_func_vfork
19067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
19068 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
19069 fi
19070
19071 if testscip-shell system . . test. "x$ac_cv_func_vfork_works" = xyes; then
19072
19073 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
19074
19075 else
19076
19077 $as_echo "#define vfork fork" >>confdefs.h
19078
19079 fi
19080 if testscip-shell system . . test. "x$ac_cv_func_fork_works" = xyes; then
19081
19082 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
19083
19084 fi
19085
19086 for ac_func in gettimeofday memset strstr strdup pthread_mutex_lock
19087 do :
19088 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19089 ac_fn_c_check_funcscip-shell shell cpputest 4.0-3 ac_fn_c_check_func(). "$LINENO" "$ac_func" "$as_ac_var"
19090 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19091 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
19092 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19093 _ACEOF
19094
19095 fi
19096 done
19097
19098
19099 # Extract the first word of "gcc", so it can be a program name with args.
19100 set dummy gcc; ac_word=$2
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19102 $as_echo_n "checking for $ac_word... " >&6; }
19103 if ${ac_cv_prog_CPPUTEST_HAS_GCC+:} false; then :
19104 $as_echo_n "(cached) " >&6
19105 else
19106 if testscip-shell system . . test. -n "$CPPUTEST_HAS_GCC"; then
19107 ac_cv_prog_CPPUTEST_HAS_GCC="$CPPUTEST_HAS_GCC" # Let the user override the test.
19108 else
19109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19110 for as_dir in $PATH
19111 do
19112 IFS=$as_save_IFS
19113 testscip-shell system . . test. -z "$as_dir" && as_dir=.
19114 for ac_exec_ext in '' $ac_executable_extensions; do
19115 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
19116 ac_cv_prog_CPPUTEST_HAS_GCC="yes"
19117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19118 break 2
19119 fi
19120 done
19121 done
19122 IFS=$as_save_IFS
19123
19124 testscip-shell system . . test. -z "$ac_cv_prog_CPPUTEST_HAS_GCC" && ac_cv_prog_CPPUTEST_HAS_GCC="no"
19125 fi
19126 fi
19127 CPPUTEST_HAS_GCC=$ac_cv_prog_CPPUTEST_HAS_GCC
19128 if testscip-shell system . . test. -n "$CPPUTEST_HAS_GCC"; then
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUTEST_HAS_GCC" >&5
19130 $as_echo "$CPPUTEST_HAS_GCC" >&6; }
19131 else
19132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19133 $as_echo "no" >&6; }
19134 fi
19135
19136
19137 # Extract the first word of "clang", so it can be a program name with args.
19138 set dummy clang; ac_word=$2
19139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19140 $as_echo_n "checking for $ac_word... " >&6; }
19141 if ${ac_cv_prog_CPPUTEST_HAS_CLANG+:} false; then :
19142 $as_echo_n "(cached) " >&6
19143 else
19144 if testscip-shell system . . test. -n "$CPPUTEST_HAS_CLANG"; then
19145 ac_cv_prog_CPPUTEST_HAS_CLANG="$CPPUTEST_HAS_CLANG" # Let the user override the test.
19146 else
19147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19148 for as_dir in $PATH
19149 do
19150 IFS=$as_save_IFS
19151 testscip-shell system . . test. -z "$as_dir" && as_dir=.
19152 for ac_exec_ext in '' $ac_executable_extensions; do
19153 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
19154 ac_cv_prog_CPPUTEST_HAS_CLANG="yes"
19155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19156 break 2
19157 fi
19158 done
19159 done
19160 IFS=$as_save_IFS
19161
19162 testscip-shell system . . test. -z "$ac_cv_prog_CPPUTEST_HAS_CLANG" && ac_cv_prog_CPPUTEST_HAS_CLANG="no"
19163 fi
19164 fi
19165 CPPUTEST_HAS_CLANG=$ac_cv_prog_CPPUTEST_HAS_CLANG
19166 if testscip-shell system . . test. -n "$CPPUTEST_HAS_CLANG"; then
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUTEST_HAS_CLANG" >&5
19168 $as_echo "$CPPUTEST_HAS_CLANG" >&6; }
19169 else
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19171 $as_echo "no" >&6; }
19172 fi
19173
19174
19175 # Extract the first word of "lcov", so it can be a program name with args.
19176 set dummy lcov; ac_word=$2
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19178 $as_echo_n "checking for $ac_word... " >&6; }
19179 if ${ac_cv_prog_CPPUTEST_HAS_LCOV+:} false; then :
19180 $as_echo_n "(cached) " >&6
19181 else
19182 if testscip-shell system . . test. -n "$CPPUTEST_HAS_LCOV"; then
19183 ac_cv_prog_CPPUTEST_HAS_LCOV="$CPPUTEST_HAS_LCOV" # Let the user override the test.
19184 else
19185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19186 for as_dir in $PATH
19187 do
19188 IFS=$as_save_IFS
19189 testscip-shell system . . test. -z "$as_dir" && as_dir=.
19190 for ac_exec_ext in '' $ac_executable_extensions; do
19191 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
19192 ac_cv_prog_CPPUTEST_HAS_LCOV="yes"
19193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19194 break 2
19195 fi
19196 done
19197 done
19198 IFS=$as_save_IFS
19199
19200 testscip-shell system . . test. -z "$ac_cv_prog_CPPUTEST_HAS_LCOV" && ac_cv_prog_CPPUTEST_HAS_LCOV="no"
19201 fi
19202 fi
19203 CPPUTEST_HAS_LCOV=$ac_cv_prog_CPPUTEST_HAS_LCOV
19204 if testscip-shell system . . test. -n "$CPPUTEST_HAS_LCOV"; then
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUTEST_HAS_LCOV" >&5
19206 $as_echo "$CPPUTEST_HAS_LCOV" >&6; }
19207 else
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19209 $as_echo "no" >&6; }
19210 fi
19211
19212
19213 # Extract the first word of "valgrind", so it can be a program name with args.
19214 set dummy valgrind; ac_word=$2
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19216 $as_echo_n "checking for $ac_word... " >&6; }
19217 if ${ac_cv_prog_CPPUTEST_HAS_VALGRIND+:} false; then :
19218 $as_echo_n "(cached) " >&6
19219 else
19220 if testscip-shell system . . test. -n "$CPPUTEST_HAS_VALGRIND"; then
19221 ac_cv_prog_CPPUTEST_HAS_VALGRIND="$CPPUTEST_HAS_VALGRIND" # Let the user override the test.
19222 else
19223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19224 for as_dir in $PATH
19225 do
19226 IFS=$as_save_IFS
19227 testscip-shell system . . test. -z "$as_dir" && as_dir=.
19228 for ac_exec_ext in '' $ac_executable_extensions; do
19229 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
19230 ac_cv_prog_CPPUTEST_HAS_VALGRIND="yes"
19231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19232 break 2
19233 fi
19234 done
19235 done
19236 IFS=$as_save_IFS
19237
19238 testscip-shell system . . test. -z "$ac_cv_prog_CPPUTEST_HAS_VALGRIND" && ac_cv_prog_CPPUTEST_HAS_VALGRIND="no"
19239 fi
19240 fi
19241 CPPUTEST_HAS_VALGRIND=$ac_cv_prog_CPPUTEST_HAS_VALGRIND
19242 if testscip-shell system . . test. -n "$CPPUTEST_HAS_VALGRIND"; then
19243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUTEST_HAS_VALGRIND" >&5
19244 $as_echo "$CPPUTEST_HAS_VALGRIND" >&6; }
19245 else
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19247 $as_echo "no" >&6; }
19248 fi
19249
19250
19251 # Extract the first word of "dash", so it can be a program name with args.
19252 set dummy dash; ac_word=$2
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19254 $as_echo_n "checking for $ac_word... " >&6; }
19255 if ${ac_cv_prog_CPPUTEST_HAS_DASH+:} false; then :
19256 $as_echo_n "(cached) " >&6
19257 else
19258 if testscip-shell system . . test. -n "$CPPUTEST_HAS_DASH"; then
19259 ac_cv_prog_CPPUTEST_HAS_DASH="$CPPUTEST_HAS_DASH" # Let the user override the test.
19260 else
19261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19262 for as_dir in $PATH
19263 do
19264 IFS=$as_save_IFS
19265 testscip-shell system . . test. -z "$as_dir" && as_dir=.
19266 for ac_exec_ext in '' $ac_executable_extensions; do
19267 if as_fn_executable_pscip-shell shell cpputest 4.0-3 as_fn_executable_p(). "$as_dir/$ac_word$ac_exec_ext"; then
19268 ac_cv_prog_CPPUTEST_HAS_DASH="yes"
19269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19270 break 2
19271 fi
19272 done
19273 done
19274 IFS=$as_save_IFS
19275
19276 testscip-shell system . . test. -z "$ac_cv_prog_CPPUTEST_HAS_DASH" && ac_cv_prog_CPPUTEST_HAS_DASH="no"
19277 fi
19278 fi
19279 CPPUTEST_HAS_DASH=$ac_cv_prog_CPPUTEST_HAS_DASH
19280 if testscip-shell system . . test. -n "$CPPUTEST_HAS_DASH"; then
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUTEST_HAS_DASH" >&5
19282 $as_echo "$CPPUTEST_HAS_DASH" >&6; }
19283 else
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19285 $as_echo "no" >&6; }
19286 fi
19287
19288
19289
19290 # Checking for warning flags on the compiler
19291 saved_cflags="$CFLAGS"
19292 saved_cxxflags="$CXXFLAGS"
19293 saved_ldflags="$LDFLAGS"
19294
19295 if testscip-shell system . . test. "x$USE_MAINTAINER_MODE" = "xyes"; then
19296 # FLag -Werror.
19297 CFLAGS=-Werror
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC and CXX supports -Werror" >&5
19299 $as_echo_n "checking whether CC and CXX supports -Werror... " >&6; }
19300 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19301 /* end confdefs.h. */
19302
19303 int
19304 main ()
19305 {
19306
19307 ;
19308 return 0;
19309 }
19310 _ACEOF
19311 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19313 $as_echo "yes" >&6; }; CPPUTEST_CWARNINGFLAGS_STRICT="${CPPUTEST_CWARNINGFLAGS} -Werror"; CPPUTEST_CXXWARNINGFLAGS_STRICT="${CPPUTEST_CXXWARNINGFLAGS} -Werror"
19314 else
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19316 $as_echo "no" >&6; }
19317 fi
19318 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19319 CFLAGS="$saved_cflags"
19320 fi
19321
19322 ac_ext=cpp
19323 ac_cpp='$CXXCPP $CPPFLAGS'
19324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19327
19328 #####################################################################################
19329 ##### C++ checks
19330
19331 # FLag -std=c++1y
19332 CXXFLAGS="-Werror -std=c++1y"
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -std=c++1y" >&5
19334 $as_echo_n "checking whether CXX supports -std=c++1y... " >&6; }
19335 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19336 /* end confdefs.h. */
19337
19338 int
19339 main ()
19340 {
19341
19342 ;
19343 return 0;
19344 }
19345 _ACEOF
19346 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19348 $as_echo "yes" >&6; }; CPPUTEST_CPP14FLAG="-std=c++1y"
19349 else
19350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19351 $as_echo "no" >&6; }
19352 fi
19353 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19354 CXXFLAGS="$saved_cxxflags"
19355
19356 # FLag std=c++14
19357 CXXFLAGS="-Werror -std=c++14"
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -std=c++14" >&5
19359 $as_echo_n "checking whether CXX supports -std=c++14... " >&6; }
19360 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19361 /* end confdefs.h. */
19362
19363 int
19364 main ()
19365 {
19366
19367 ;
19368 return 0;
19369 }
19370 _ACEOF
19371 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
19372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19373 $as_echo "yes" >&6; }; CPPUTEST_CPP14FLAG="-std=c++14"
19374 else
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19376 $as_echo "no" >&6; }
19377 fi
19378 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19379 CXXFLAGS="$saved_cxxflags"
19380
19381 # FLag std=c++17
19382 CXXFLAGS="-Werror -std=c++17"
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -std=c++17" >&5
19384 $as_echo_n "checking whether CXX supports -std=c++17... " >&6; }
19385 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19386 /* end confdefs.h. */
19387
19388 int
19389 main ()
19390 {
19391
19392 ;
19393 return 0;
19394 }
19395 _ACEOF
19396 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
19397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19398 $as_echo "yes" >&6; }; CPPUTEST_CPP17FLAG="-std=c++17"
19399 else
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19401 $as_echo "no" >&6; }
19402 fi
19403 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19404 CXXFLAGS="$saved_cxxflags"
19405
19406 # FLag std=c++20
19407 CXXFLAGS="-Werror -std=c++2a"
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -std=c++2a" >&5
19409 $as_echo_n "checking whether CXX supports -std=c++2a... " >&6; }
19410 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h. */
19412
19413 int
19414 main ()
19415 {
19416
19417 ;
19418 return 0;
19419 }
19420 _ACEOF
19421 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
19422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19423 $as_echo "yes" >&6; }; CPPUTEST_CPP20FLAG="-std=c++2a"
19424 else
19425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19426 $as_echo "no" >&6; }
19427 fi
19428 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19429 CXXFLAGS="$saved_cxxflags"
19430
19431 # FLag std=c++20
19432 CXXFLAGS="-Werror -std=c++20"
19433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -std=c++20" >&5
19434 $as_echo_n "checking whether CXX supports -std=c++20... " >&6; }
19435 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19436 /* end confdefs.h. */
19437
19438 int
19439 main ()
19440 {
19441
19442 ;
19443 return 0;
19444 }
19445 _ACEOF
19446 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19448 $as_echo "yes" >&6; }; CPPUTEST_CPP20FLAG="-std=c++20"
19449 else
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19451 $as_echo "no" >&6; }
19452 fi
19453 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19454 CXXFLAGS="$saved_cxxflags"
19455
19456 #####################################################################################
19457 ##### C++ version checks
19458
19459 ### Checking for C++ version compiler flags
19460
19461 # FLag -std=c++98
19462 CXXFLAGS="-Werror -std=c++98"
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -std=c++98" >&5
19464 $as_echo_n "checking whether CXX supports -std=c++98... " >&6; }
19465 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19466 /* end confdefs.h. */
19467
19468 int
19469 main ()
19470 {
19471
19472 ;
19473 return 0;
19474 }
19475 _ACEOF
19476 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
19477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19478 $as_echo "yes" >&6; }; CPPUTEST_CPP98FLAG="-std=c++98"
19479 else
19480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19481 $as_echo "no" >&6; }
19482 fi
19483 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19484 CXXFLAGS="$saved_cxxflags"
19485
19486 # FLag -std=c++0x
19487 CXXFLAGS="-Werror -std=c++0x"
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -std=c++0x" >&5
19489 $as_echo_n "checking whether CXX supports -std=c++0x... " >&6; }
19490 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19491 /* end confdefs.h. */
19492
19493 int
19494 main ()
19495 {
19496
19497 ;
19498 return 0;
19499 }
19500 _ACEOF
19501 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19503 $as_echo "yes" >&6; }; CPPUTEST_CPP11FLAG="-std=c++0x"
19504 else
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19506 $as_echo "no" >&6; }
19507 fi
19508 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19509 CXXFLAGS="$saved_cxxflags"
19510
19511 CXXFLAGS="-Werror -std=c++11"
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -std=c++11" >&5
19513 $as_echo_n "checking whether CXX supports -std=c++11... " >&6; }
19514 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19515 /* end confdefs.h. */
19516
19517 int
19518 main ()
19519 {
19520
19521 ;
19522 return 0;
19523 }
19524 _ACEOF
19525 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19527 $as_echo "yes" >&6; }; CPPUTEST_CPP11FLAG="-std=c++11"
19528 else
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19530 $as_echo "no" >&6; }
19531 fi
19532 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19533 CXXFLAGS="$saved_cxxflags"
19534
19535 CXXFLAGS="-Werror -stdlib=libc++"
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -stdlib=libc++" >&5
19537 $as_echo_n "checking whether CXX supports -stdlib=libc++... " >&6; }
19538 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19539 /* end confdefs.h. */
19540 #include <cstdio>
19541 int
19542 main ()
19543 {
19544
19545 ;
19546 return 0;
19547 }
19548 _ACEOF
19549 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
19550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19551 $as_echo "yes" >&6; }; CPPUTEST_CPP11FLAG="${CPPUTEST_CPP11FLAG} -stdlib=libc++"
19552 else
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19554 $as_echo "no" >&6; }
19555 fi
19556 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19557 CXXFLAGS="$saved_cxxflags"
19558
19559 # Flag -Wno-c++98-compat
19560 CXXFLAGS="-Werror -Wno-c++98-compat"
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -Wno-c++98-compat" >&5
19562 $as_echo_n "checking whether CXX supports -Wno-c++98-compat... " >&6; }
19563 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19564 /* end confdefs.h. */
19565
19566 int
19567 main ()
19568 {
19569
19570 ;
19571 return 0;
19572 }
19573 _ACEOF
19574 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
19575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19576 $as_echo "yes" >&6; }; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wno-c++98-compat"
19577 else
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19579 $as_echo "no" >&6; }
19580 fi
19581 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19582 CXXFLAGS="$saved_cxxflags"
19583
19584 # Flag -Wno-c++98-compat-pedantic
19585 CXXFLAGS="-Werror -Wno-c++98-compat-pedantic"
19586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -Wno-c++98-compat-pedantic" >&5
19587 $as_echo_n "checking whether CXX supports -Wno-c++98-compat-pedantic... " >&6; }
19588 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19589 /* end confdefs.h. */
19590
19591 int
19592 main ()
19593 {
19594
19595 ;
19596 return 0;
19597 }
19598 _ACEOF
19599 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19601 $as_echo "yes" >&6; }; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wno-c++98-compat-pedantic"
19602 else
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19604 $as_echo "no" >&6; }
19605 fi
19606 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19607 CXXFLAGS="$saved_cxxflags"
19608
19609 # Flag -Wno-c++14-compat
19610 CXXFLAGS="-Werror -Wno-c++14-compat"
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -Wno-c++14-compat" >&5
19612 $as_echo_n "checking whether CXX supports -Wno-c++14-compat... " >&6; }
19613 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19614 /* end confdefs.h. */
19615
19616 int
19617 main ()
19618 {
19619
19620 ;
19621 return 0;
19622 }
19623 _ACEOF
19624 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19626 $as_echo "yes" >&6; }; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wno-c++14-compat"
19627 else
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19629 $as_echo "no" >&6; }
19630 fi
19631 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19632 CXXFLAGS="$saved_cxxflags"
19633
19634 ac_ext=c
19635 ac_cpp='$CPP $CPPFLAGS'
19636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19639
19640
19641 # FLag -Wno-c++11-long-long. This must be on if it is available as otherwise long long is supported but causes a warning.
19642 CFLAGS="-Werror -Wno-c++11-long-long"
19643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC and CXX supports -Wno-c++11-long-long" >&5
19644 $as_echo_n "checking whether CC and CXX supports -Wno-c++11-long-long... " >&6; }
19645 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19646 /* end confdefs.h. */
19647
19648 int
19649 main ()
19650 {
19651
19652 ;
19653 return 0;
19654 }
19655 _ACEOF
19656 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19658 $as_echo "yes" >&6; }; CPPUTEST_CWARNINGFLAGS="${CPPUTEST_CWARNINGFLAGS} -Wno-c++11-long-long" CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wno-c++11-long-long"
19659 else
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19661 $as_echo "no" >&6; }
19662 fi
19663 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19664 CFLAGS="$saved_cflags"
19665
19666 # FLag -Wno-long-long must be on for C.
19667 CFLAGS="-Werror -Wno-long-long"
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC and CXX supports -Wno-long-long" >&5
19669 $as_echo_n "checking whether CC and CXX supports -Wno-long-long... " >&6; }
19670 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19671 /* end confdefs.h. */
19672
19673 int
19674 main ()
19675 {
19676
19677 ;
19678 return 0;
19679 }
19680 _ACEOF
19681 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19683 $as_echo "yes" >&6; }; CPPUTEST_CWARNINGFLAGS="${CPPUTEST_CWARNINGFLAGS} -Wno-long-long" CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wno-long-long"
19684 else
19685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19686 $as_echo "no" >&6; }
19687 fi
19688 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19689 CFLAGS="$saved_cflags"
19690
19691
19692 #####################################################################################
19693 ##### More of these warnings
19694 # FLag -Weverything.
19695 CFLAGS="-Werror -Weverything -Wno-unused-macros"
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC and CXX supports -Weverything" >&5
19697 $as_echo_n "checking whether CC and CXX supports -Weverything... " >&6; }
19698 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19699 /* end confdefs.h. */
19700
19701 int
19702 main ()
19703 {
19704
19705 ;
19706 return 0;
19707 }
19708 _ACEOF
19709 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
19710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19711 $as_echo "yes" >&6; }; CPPUTEST_CWARNINGFLAGS="${CPPUTEST_CWARNINGFLAGS} -Weverything"; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Weverything"
19712 else
19713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19714 $as_echo "no" >&6; }
19715 fi
19716 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19717 CFLAGS="$saved_cflags"
19718
19719 # FLag -Wall.
19720 CFLAGS="-Werror -Wall"
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC and CXX supports -Wall" >&5
19722 $as_echo_n "checking whether CC and CXX supports -Wall... " >&6; }
19723 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19724 /* end confdefs.h. */
19725
19726 int
19727 main ()
19728 {
19729
19730 ;
19731 return 0;
19732 }
19733 _ACEOF
19734 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19736 $as_echo "yes" >&6; }; CPPUTEST_CWARNINGFLAGS="${CPPUTEST_CWARNINGFLAGS} -Wall"; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wall"
19737 else
19738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19739 $as_echo "no" >&6; }
19740 fi
19741 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19742 CFLAGS="$saved_cflags"
19743
19744 # FLag -Wextra.
19745 CFLAGS="-Werror -Wextra"
19746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC and CXX supports -Wextra" >&5
19747 $as_echo_n "checking whether CC and CXX supports -Wextra... " >&6; }
19748 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19749 /* end confdefs.h. */
19750
19751 int
19752 main ()
19753 {
19754
19755 ;
19756 return 0;
19757 }
19758 _ACEOF
19759 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19761 $as_echo "yes" >&6; }; CPPUTEST_CWARNINGFLAGS="${CPPUTEST_CWARNINGFLAGS} -Wextra"; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wextra"
19762 else
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19764 $as_echo "no" >&6; }
19765 fi
19766 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19767 CFLAGS="$saved_cflags"
19768
19769 # FLag -Wshadow.
19770 CFLAGS="-Werror -Wshadow"
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC and CXX supports -Wshadow" >&5
19772 $as_echo_n "checking whether CC and CXX supports -Wshadow... " >&6; }
19773 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19774 /* end confdefs.h. */
19775
19776 int
19777 main ()
19778 {
19779
19780 ;
19781 return 0;
19782 }
19783 _ACEOF
19784 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19786 $as_echo "yes" >&6; }; CPPUTEST_CWARNINGFLAGS="${CPPUTEST_CWARNINGFLAGS} -Wshadow"; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wshadow"
19787 else
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19789 $as_echo "no" >&6; }
19790 fi
19791 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19792 CFLAGS="$saved_cflags"
19793
19794 # FLag -Wswitch-default
19795 CFLAGS="-Werror -Wswitch-default"
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC and CXX supports -Wswitch-default" >&5
19797 $as_echo_n "checking whether CC and CXX supports -Wswitch-default... " >&6; }
19798 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h. */
19800
19801 int
19802 main ()
19803 {
19804
19805 ;
19806 return 0;
19807 }
19808 _ACEOF
19809 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19811 $as_echo "yes" >&6; }; CPPUTEST_CWARNINGFLAGS="${CPPUTEST_CWARNINGFLAGS} -Wswitch-default"; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wswitch-default"
19812 else
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19814 $as_echo "no" >&6; }
19815 fi
19816 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19817 CFLAGS="$saved_cflags"
19818
19819 # FLag -Wswitch-enum
19820 CFLAGS="-Werror -Wswitch-enum"
19821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC and CXX supports -Wswitch-enum" >&5
19822 $as_echo_n "checking whether CC and CXX supports -Wswitch-enum... " >&6; }
19823 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19824 /* end confdefs.h. */
19825
19826 int
19827 main ()
19828 {
19829
19830 ;
19831 return 0;
19832 }
19833 _ACEOF
19834 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
19835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19836 $as_echo "yes" >&6; }; CPPUTEST_CWARNINGFLAGS="${CPPUTEST_CWARNINGFLAGS} -Wswitch-enum"; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wswitch-enum"
19837 else
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19839 $as_echo "no" >&6; }
19840 fi
19841 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19842 CFLAGS="$saved_cflags"
19843
19844 # FLag -Wconversion
19845 CFLAGS="-Werror -Wconversion"
19846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC and CXX supports -Wconversion" >&5
19847 $as_echo_n "checking whether CC and CXX supports -Wconversion... " >&6; }
19848 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19849 /* end confdefs.h. */
19850
19851 int
19852 main ()
19853 {
19854
19855 ;
19856 return 0;
19857 }
19858 _ACEOF
19859 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19861 $as_echo "yes" >&6; }; CPPUTEST_CWARNINGFLAGS="${CPPUTEST_CWARNINGFLAGS} -Wconversion"; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wconversion"
19862 else
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19864 $as_echo "no" >&6; }
19865 fi
19866 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867 CFLAGS="$saved_cflags"
19868
19869 # FLag -pedantic
19870 CFLAGS="-Werror -pedantic"
19871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC and CXX supports -pedantic" >&5
19872 $as_echo_n "checking whether CC and CXX supports -pedantic... " >&6; }
19873 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19874 /* end confdefs.h. */
19875
19876 int
19877 main ()
19878 {
19879
19880 ;
19881 return 0;
19882 }
19883 _ACEOF
19884 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19886 $as_echo "yes" >&6; }; CPPUTEST_CWARNINGFLAGS="${CPPUTEST_CWARNINGFLAGS} -pedantic"; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -pedantic"
19887 else
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19889 $as_echo "no" >&6; }
19890 fi
19891 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19892 CFLAGS="$saved_cflags"
19893
19894 # FLag -Wsign-conversion
19895 CFLAGS="-Werror -Wsign-conversion"
19896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -Wsign-conversion" >&5
19897 $as_echo_n "checking whether CC supports -Wsign-conversion... " >&6; }
19898 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19899 /* end confdefs.h. */
19900
19901 int
19902 main ()
19903 {
19904
19905 ;
19906 return 0;
19907 }
19908 _ACEOF
19909 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19911 $as_echo "yes" >&6; }; CPPUTEST_CWARNINGFLAGS="${CPPUTEST_CWARNINGFLAGS} -Wsign-conversion"
19912 else
19913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19914 $as_echo "no" >&6; }
19915 fi
19916 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19917 CFLAGS="$saved_cflags"
19918
19919 ##### C++ Warnings
19920 # FLag -Wsign-conversion (for CXX)
19921 ac_ext=cpp
19922 ac_cpp='$CXXCPP $CPPFLAGS'
19923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19926
19927
19928 CXXFLAGS="-Werror -Wsign-conversion"
19929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -Wsign-conversion" >&5
19930 $as_echo_n "checking whether CXX supports -Wsign-conversion... " >&6; }
19931 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19932 /* end confdefs.h. */
19933
19934 int
19935 main ()
19936 {
19937
19938 ;
19939 return 0;
19940 }
19941 _ACEOF
19942 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
19943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19944 $as_echo "yes" >&6; }; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wsign-conversion"
19945 else
19946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19947 $as_echo "no" >&6; }
19948 fi
19949 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19950 CXXFLAGS="$saved_cxxflags"
19951
19952 # FLag -Woverloaded-virtual
19953 CXXFLAGS="-Werror -Woverloaded-virtual"
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -Woverloaded-virtual" >&5
19955 $as_echo_n "checking whether CXX supports -Woverloaded-virtual... " >&6; }
19956 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19957 /* end confdefs.h. */
19958
19959 int
19960 main ()
19961 {
19962
19963 ;
19964 return 0;
19965 }
19966 _ACEOF
19967 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19969 $as_echo "yes" >&6; }; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Woverloaded-virtual"
19970 else
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19972 $as_echo "no" >&6; }
19973 fi
19974 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19975 CXXFLAGS="$saved_cxxflags"
19976
19977 ac_ext=c
19978 ac_cpp='$CPP $CPPFLAGS'
19979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19982
19983
19984 # FLag -Wstrict-prototypes
19985 CFLAGS="-Werror -Wstrict-prototypes"
19986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -Wstrict-prototypes" >&5
19987 $as_echo_n "checking whether CC supports -Wstrict-prototypes... " >&6; }
19988 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19989 /* end confdefs.h. */
19990
19991 int
19992 main ()
19993 {
19994
19995 ;
19996 return 0;
19997 }
19998 _ACEOF
19999 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
20000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20001 $as_echo "yes" >&6; }; CPPUTEST_CWARNINGFLAGS="${CPPUTEST_CWARNINGFLAGS} -Wstrict-prototypes"
20002 else
20003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20004 $as_echo "no" >&6; }
20005 fi
20006 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20007 CFLAGS="$saved_cflags"
20008
20009
20010 #####################################################################################
20011 ##### Less of these warnings
20012 #
20013 # Disable some warnings as CppUTest has this and can't be prevented at the moment.
20014 # FLag -Wno-disabled-macro-expansion.
20015 CFLAGS="-Werror -Wno-disabled-macro-expansion"
20016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC and CXX supports -Wno-disabled-macro-expansion" >&5
20017 $as_echo_n "checking whether CC and CXX supports -Wno-disabled-macro-expansion... " >&6; }
20018 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20019 /* end confdefs.h. */
20020
20021 int
20022 main ()
20023 {
20024
20025 ;
20026 return 0;
20027 }
20028 _ACEOF
20029 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
20030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20031 $as_echo "yes" >&6; }; CPPUTEST_CWARNINGFLAGS="${CPPUTEST_CWARNINGFLAGS} -Wno-disabled-macro-expansion"; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wno-disabled-macro-expansion"
20032 else
20033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20034 $as_echo "no" >&6; }
20035 fi
20036 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20037 CFLAGS="$saved_cflags"
20038
20039 # FLag -Wno-padded.
20040 CFLAGS="-Werror -Wno-padded"
20041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC and CXX supports -Wno-padded" >&5
20042 $as_echo_n "checking whether CC and CXX supports -Wno-padded... " >&6; }
20043 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20044 /* end confdefs.h. */
20045
20046 int
20047 main ()
20048 {
20049
20050 ;
20051 return 0;
20052 }
20053 _ACEOF
20054 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
20055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20056 $as_echo "yes" >&6; }; CPPUTEST_CWARNINGFLAGS="${CPPUTEST_CWARNINGFLAGS} -Wno-padded"; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wno-padded"
20057 else
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20059 $as_echo "no" >&6; }
20060 fi
20061 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20062 CFLAGS="$saved_cflags"
20063
20064 # FLag -Wno-reserved-id-macro.
20065 CFLAGS="-Werror -Wno-reserved-id-macro"
20066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC and CXX supports -Wno-reserved-id-macro" >&5
20067 $as_echo_n "checking whether CC and CXX supports -Wno-reserved-id-macro... " >&6; }
20068 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20069 /* end confdefs.h. */
20070
20071 int
20072 main ()
20073 {
20074
20075 ;
20076 return 0;
20077 }
20078 _ACEOF
20079 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
20080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20081 $as_echo "yes" >&6; }; CPPUTEST_CWARNINGFLAGS="${CPPUTEST_CWARNINGFLAGS} -Wno-reserved-id-macro"; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wno-reserved-id-macro"
20082 else
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20084 $as_echo "no" >&6; }
20085 fi
20086 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20087 CFLAGS="$saved_cflags"
20088
20089 # FLag -Wno-keyword-macro.
20090 CFLAGS="-Werror -Wno-keyword-macro"
20091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC and CXX supports -Wno-keyword-macro" >&5
20092 $as_echo_n "checking whether CC and CXX supports -Wno-keyword-macro... " >&6; }
20093 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20094 /* end confdefs.h. */
20095
20096 int
20097 main ()
20098 {
20099
20100 ;
20101 return 0;
20102 }
20103 _ACEOF
20104 if ac_fn_c_try_compilescip-shell shell cpputest 4.0-3 ac_fn_c_try_compile(). "$LINENO"; then :
20105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20106 $as_echo "yes" >&6; }; CPPUTEST_CWARNINGFLAGS="${CPPUTEST_CWARNINGFLAGS} -Wno-keyword-macro"; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wno-keyword-macro"
20107 else
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20109 $as_echo "no" >&6; }
20110 fi
20111 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20112 CFLAGS="$saved_cflags"
20113
20114 ac_ext=cpp
20115 ac_cpp='$CXXCPP $CPPFLAGS'
20116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20119
20120 # FLag -Wno-global-constructors.
20121 CXXFLAGS="-Werror -Wno-global-constructors"
20122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -Wno-global-constructors" >&5
20123 $as_echo_n "checking whether CXX supports -Wno-global-constructors... " >&6; }
20124 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20125 /* end confdefs.h. */
20126
20127 int
20128 main ()
20129 {
20130
20131 ;
20132 return 0;
20133 }
20134 _ACEOF
20135 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
20136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20137 $as_echo "yes" >&6; }; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wno-global-constructors"
20138 else
20139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20140 $as_echo "no" >&6; }
20141 fi
20142 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20143 CXXFLAGS="$saved_cxxflags"
20144
20145 # FLag -Wno-exit-time-destructors.
20146 CXXFLAGS="-Werror -Wno-exit-time-destructors"
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -Wno-exit-time-destructors" >&5
20148 $as_echo_n "checking whether CXX supports -Wno-exit-time-destructors... " >&6; }
20149 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20150 /* end confdefs.h. */
20151
20152 int
20153 main ()
20154 {
20155
20156 ;
20157 return 0;
20158 }
20159 _ACEOF
20160 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20162 $as_echo "yes" >&6; }; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wno-exit-time-destructors"
20163 else
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20165 $as_echo "no" >&6; }
20166 fi
20167 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20168 CXXFLAGS="$saved_cxxflags"
20169
20170 # FLag -Wno-weak-vtables.
20171 CXXFLAGS="-Werror -Wno-weak-vtables"
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -Wno-weak-vtables" >&5
20173 $as_echo_n "checking whether CXX supports -Wno-weak-vtables... " >&6; }
20174 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20175 /* end confdefs.h. */
20176
20177 int
20178 main ()
20179 {
20180
20181 ;
20182 return 0;
20183 }
20184 _ACEOF
20185 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
20186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20187 $as_echo "yes" >&6; }; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wno-weak-vtables"
20188 else
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20190 $as_echo "no" >&6; }
20191 fi
20192 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20193 CXXFLAGS="$saved_cxxflags"
20194
20195 # FLag -Wno-old-style-cast.
20196 CXXFLAGS="-Werror -Wno-old-style-cast"
20197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -Wno-old-style-cast" >&5
20198 $as_echo_n "checking whether CXX supports -Wno-old-style-cast... " >&6; }
20199 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20200 /* end confdefs.h. */
20201
20202 int
20203 main ()
20204 {
20205
20206 ;
20207 return 0;
20208 }
20209 _ACEOF
20210 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
20211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20212 $as_echo "yes" >&6; }; CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} -Wno-old-style-cast"
20213 else
20214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20215 $as_echo "no" >&6; }
20216 fi
20217 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20218 CXXFLAGS="$saved_cxxflags"
20219
20220 ac_ext=c
20221 ac_cpp='$CPP $CPPFLAGS'
20222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20225
20226
20227 #####################################################
20228 ######## End warning section
20229
20230 # FLag --coverage
20231 ac_ext=cpp
20232 ac_cpp='$CXXCPP $CPPFLAGS'
20233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20236
20237 CXXFLAGS="-Werror --coverage"
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX and the linker supports --coverage (broken in clang 3.3)" >&5
20239 $as_echo_n "checking whether CXX and the linker supports --coverage (broken in clang 3.3)... " >&6; }
20240 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20241 /* end confdefs.h. */
20242
20243 int
20244 main ()
20245 {
20246
20247 ;
20248 return 0;
20249 }
20250 _ACEOF
20251 if ac_fn_cxx_try_linkscip-shell shell cpputest 4.0-3 ac_fn_cxx_try_link(). "$LINENO"; then :
20252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20253 $as_echo "yes" >&6; }; coverage_flag_supported="yes"
20254 else
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20256 $as_echo "no" >&6; }
20257 fi
20258 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
20259 conftest$ac_exeext conftest.$ac_ext
20260 CXXFLAGS="$saved_cxxflags"
20261 ac_ext=c
20262 ac_cpp='$CPP $CPPFLAGS'
20263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20266
20267
20268 ######################################################
20269 # Exception Handling
20270 #
20271 # Checking for strange exception handling behavior, related to bugs in compilers...
20272 ac_ext=cpp
20273 ac_cpp='$CXXCPP $CPPFLAGS'
20274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20277
20278
20279 # Can we use operator delete without exception handling specifier? (clang warns on this!)
20280 CXXFLAGS="-Werror"
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports operator delete without exception handling specifier" >&5
20282 $as_echo_n "checking whether CXX supports operator delete without exception handling specifier... " >&6; }
20283 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20284 /* end confdefs.h. */
20285 #include <new>\nvoid operator delete(void* mem);
20286 int
20287 main ()
20288 {
20289
20290 ;
20291 return 0;
20292 }
20293 _ACEOF
20294 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
20295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20296 $as_echo "yes" >&6; }
20297 else
20298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20299 $as_echo "no" >&6; }; UT_DELETE_MUST_HAVE_EXCEPTION_SPECIFIER="yes"
20300 fi
20301 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20302 CXXFLAGS="$saved_cxxflags"
20303
20304 # Can we use operator new with exception specifier (g++4.7 on MacOSX is broken here)
20305 CXXFLAGS="-Werror"
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports operator new with exception handling specifier" >&5
20307 $as_echo_n "checking whether CXX supports operator new with exception handling specifier... " >&6; }
20308 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20309 /* end confdefs.h. */
20310 #include <new>\nvoid* operator new(size_t size) throw(std::bad_alloc);;
20311 int
20312 main ()
20313 {
20314
20315 ;
20316 return 0;
20317 }
20318 _ACEOF
20319 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20321 $as_echo "yes" >&6; }
20322 else
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20324 $as_echo "no" >&6; }; UT_NEW_CANT_HAVE_EXCEPTION_SPECIFIER="yes"
20325 fi
20326 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20327 CXXFLAGS="$saved_cxxflags"
20328
20329 # FLag -Wno-missing-exception-spec
20330 CXXFLAGS="-Werror -Wno-missing-exception-spec"
20331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXX supports -Wno-missing-exception-spec" >&5
20332 $as_echo_n "checking whether CXX supports -Wno-missing-exception-spec... " >&6; }
20333 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20334 /* end confdefs.h. */
20335
20336 int
20337 main ()
20338 {
20339
20340 ;
20341 return 0;
20342 }
20343 _ACEOF
20344 if ac_fn_cxx_try_compilescip-shell shell cpputest 4.0-3 ac_fn_cxx_try_compile(). "$LINENO"; then :
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20346 $as_echo "yes" >&6; }; CPPUTEST_CXX_NO_INC_WARNINGFLAGS="${CPPUTEST_CXX_NO_INC_WARNINGFLAGS} -Wno-missing-exception-spec"
20347 else
20348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20349 $as_echo "no" >&6; }
20350 fi
20351 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20352 CXXFLAGS="$saved_cxxflags"
20353
20354 ac_ext=c
20355 ac_cpp='$CPP $CPPFLAGS'
20356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20359
20360
20361 ##### Linker checking.
20362 #
20363 # TBD!
20364 # Things that need to be fixed!
20365 #
20366 # The below code is checking for the -Qunused-arguments which is a linker flag. However, it says gcc supports it, while in fact, it doesn't.
20367 # As a workaround, we'll just check whether it is clang hardcoded, this is not in the automake spirit and will need to be fixed.
20368 #
20369 # LDFLAGS=
20370 # AC_MSG_CHECKING([whether LD supports -Qunused-arguments])
20371 # AC_LINK_IFELSE([AC_LANG_PROGRAM([])], [AC_MSG_RESULT([yes]); CPPUTEST_NO_UNUSED_ARGUMENT_WARNING=" -Qunused-arguments" ], [AC_MSG_RESULT([no])])
20372 # LDFLAGS="$saved_ldflags"
20373
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CXXLD supports -Qunused-arguments linker option" >&5
20375 $as_echo_n "checking whether CXXLD supports -Qunused-arguments linker option... " >&6; }
20376 OUTPUT_WHEN_CLANG_COMPILER=`${CXX} --version | grepscip-shell system . . grep. clang`
20377 if ! testscip-shell system . . test. -z "$OUTPUT_WHEN_CLANG_COMPILER"; then
20378 TEST_COMPILER_IS_CLANG_TRUE=
20379 TEST_COMPILER_IS_CLANG_FALSE='#'
20380 else
20381 TEST_COMPILER_IS_CLANG_TRUE='#'
20382 TEST_COMPILER_IS_CLANG_FALSE=
20383 fi
20384
20385 if testscip-shell system . . test. -z "$TEST_COMPILER_IS_CLANG_TRUE"; then :
20386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20387 $as_echo "yes" >&6; }; CPPUTEST_NO_UNUSED_ARGUMENT_WARNING=" ${CPPUTEST_NO_UNUSED_ARGUMENT_WARNING} -Qunused-arguments"
20388 else
20389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20390 $as_echo "no" >&6; }; CPPUTEST_NO_UNUSED_ARGUMENT_WARNING="${CPPUTEST_NO_UNUSED_ARGUMENT_WARNING} "
20391 fi
20392
20393 # Checking for options for creating map files
20394 LDFLAGS=" -Wl,-map,filename.map.txt"
20395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether LD supports -Wl,-map" >&5
20396 $as_echo_n "checking whether LD supports -Wl,-map... " >&6; }
20397 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20398 /* end confdefs.h. */
20399
20400 int
20401 main ()
20402 {
20403
20404 ;
20405 return 0;
20406 }
20407 _ACEOF
20408 if ac_fn_c_try_linkscip-shell shell cpputest 4.0-3 ac_fn_c_try_link(). "$LINENO"; then :
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20410 $as_echo "yes" >&6; }; CPPUTEST_LD_MAP_GENERATION=" -Wl,-map,filename.map.txt"
20411 else
20412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20413 $as_echo "no" >&6; }
20414 fi
20415 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \
20416 conftest$ac_exeext conftest.$ac_ext
20417 LDFLAGS="$saved_ldflags"
20418
20419 # Different features
20420 # Check whether --enable-std-c was given.
20421 if testscip-shell system . . test. "${enable_std_c+set}" = set; then :
20422 enableval=$enable_std_c; use_std_c=${enableval}
20423 else
20424 use_std_c=yes
20425 fi
20426
20427
20428 # Check whether --enable-std-cpp was given.
20429 if testscip-shell system . . test. "${enable_std_cpp+set}" = set; then :
20430 enableval=$enable_std_cpp; use_std_cpp=${enableval}
20431 else
20432 use_std_cpp=${default_use_std_cpp}
20433 fi
20434
20435
20436 # Check whether --enable-std-cpp98 was given.
20437 if testscip-shell system . . test. "${enable_std_cpp98+set}" = set; then :
20438 enableval=$enable_std_cpp98; use_std_cpp98=${enableval}
20439 else
20440 use_std_cpp98=no
20441 fi
20442
20443
20444 # Check whether --enable-std-cpp11 was given.
20445 if testscip-shell system . . test. "${enable_std_cpp11+set}" = set; then :
20446 enableval=$enable_std_cpp11; use_std_cpp11=${enableval}
20447 else
20448 use_std_cpp11=no
20449 fi
20450
20451
20452 # Check whether --enable-std-cpp14 was given.
20453 if testscip-shell system . . test. "${enable_std_cpp14+set}" = set; then :
20454 enableval=$enable_std_cpp14; use_std_cpp14=${enableval}
20455 else
20456 use_std_cpp14=no
20457 fi
20458
20459
20460 # Check whether --enable-std-cpp17 was given.
20461 if testscip-shell system . . test. "${enable_std_cpp17+set}" = set; then :
20462 enableval=$enable_std_cpp17; use_std_cpp17=${enableval}
20463 else
20464 use_std_cpp17=no
20465 fi
20466
20467
20468 # Check whether --enable-std-cpp20 was given.
20469 if testscip-shell system . . test. "${enable_std_cpp20+set}" = set; then :
20470 enableval=$enable_std_cpp20; use_std_cpp20=${enableval}
20471 else
20472 use_std_cpp20=no
20473 fi
20474
20475
20476 # Check whether --enable-cpputest-flags was given.
20477 if testscip-shell system . . test. "${enable_cpputest_flags+set}" = set; then :
20478 enableval=$enable_cpputest_flags; cpputest_flags=${enableval}
20479 else
20480 cpputest_flags=yes
20481 fi
20482
20483
20484 # Check whether --enable-memory-leak-detection was given.
20485 if testscip-shell system . . test. "${enable_memory_leak_detection+set}" = set; then :
20486 enableval=$enable_memory_leak_detection; memory_leak_detection=${enableval}
20487 else
20488 memory_leak_detection=yes
20489 fi
20490
20491
20492 # Check whether --enable-extensions was given.
20493 if testscip-shell system . . test. "${enable_extensions+set}" = set; then :
20494 enableval=$enable_extensions; cpputest_ext=${enableval}
20495 else
20496 cpputest_ext=yes
20497 fi
20498
20499
20500 # Check whether --enable-longlong was given.
20501 if testscip-shell system . . test. "${enable_longlong+set}" = set; then :
20502 enableval=$enable_longlong; use_longlong=${enableval}
20503 else
20504 use_longlong=yes
20505 fi
20506
20507
20508 # Check whether --enable-generate-map-file was given.
20509 if testscip-shell system . . test. "${enable_generate_map_file+set}" = set; then :
20510 enableval=$enable_generate_map_file; generate_map_file=${enableval}
20511 else
20512 generate_map_file=no
20513 fi
20514
20515
20516 # Check whether --enable-coverage was given.
20517 if testscip-shell system . . test. "${enable_coverage+set}" = set; then :
20518 enableval=$enable_coverage; coverage=${enableval}
20519 else
20520 coverage=no
20521 fi
20522
20523
20524 # Check whether --enable-sanitize-address was given.
20525 if testscip-shell system . . test. "${enable_sanitize_address+set}" = set; then :
20526 enableval=$enable_sanitize_address; sanitize_address=${enableval}
20527 else
20528 sanitize_address=no
20529 fi
20530
20531
20532 ############################## Setting options ###############################
20533
20534 if testscip-shell system . . test. "x${cpputest_ext}" = xyes; then
20535 INCLUDE_CPPUTEST_EXT_TRUE=
20536 INCLUDE_CPPUTEST_EXT_FALSE='#'
20537 else
20538 INCLUDE_CPPUTEST_EXT_TRUE='#'
20539 INCLUDE_CPPUTEST_EXT_FALSE=
20540 fi
20541
20542
20543 # Dealing with not having a Standard C library... (usually for Kernel development)
20544 if testscip-shell system . . test. "x${use_std_c}" = xno; then
20545 use_std_cpp=no
20546 memory_leak_detection=no
20547 CPPUTEST_CPPFLAGS="${CPPUTEST_CPPFLAGS} -nostdinc"
20548 CPPUTEST_LDFLAGS="${CPPUTEST_LDFLAGS} -nostdlib"
20549
20550 $as_echo "#define STD_C_LIB_DISABLED 1" >>confdefs.h
20551
20552 CPP_PLATFORM="GccNoStdC"
20553 else
20554 CPP_PLATFORM="Gcc"
20555 fi
20556
20557 # Using standard C++
20558 if testscip-shell system . . test. "x${use_std_cpp}" = xno; then
20559
20560 $as_echo "#define STD_CPP_LIB_DISABLED 1" >>confdefs.h
20561
20562 if testscip-shell system . . test. "x${use_std_c}" = xyes; then
20563 CPPUTEST_CXXFLAGS="${CPPUTEST_CXXFLAGS} -nostdinc++ ${CPPUTEST_CXX_NO_INC_WARNINGFLAGS}"
20564
20565 # Since automake passes the CXXFLAGS to the linker, this will cause warnings with clang 3.2 (which become errors)
20566 CPPUTEST_LDFLAGS="${CPPUTEST_LDFLAGS} ${CPPUTEST_NO_UNUSED_ARGUMENT_WARNING}"
20567
20568 fi
20569 fi
20570 cpp_standard_used="default"
20571
20572 # Using the C++98 standard?
20573 if testscip-shell system . . test. "x${use_std_cpp98}" = xyes; then
20574 CPPUTEST_CXXFLAGS="${CPPUTEST_CXXFLAGS} ${CPPUTEST_CPP98FLAG}"
20575 cpp_standard_used="C++98"
20576 fi
20577
20578 # Using the C++11 standard?
20579 if testscip-shell system . . test. "x${use_std_cpp11}" = xyes; then
20580 CPPUTEST_CXXFLAGS="${CPPUTEST_CXXFLAGS} ${CPPUTEST_CPP11FLAG}"
20581 cpp_standard_used="C++11"
20582 fi
20583
20584 # Using the C++14 standard?
20585 if testscip-shell system . . test. "x${use_std_cpp14}" = xyes; then
20586 CPPUTEST_CXXFLAGS="${CPPUTEST_CXXFLAGS} ${CPPUTEST_CPP14FLAG}"
20587 cpp_standard_used="C++14"
20588 fi
20589
20590 # Using the C++17 standard?
20591 if testscip-shell system . . test. "x${use_std_cpp17}" = xyes; then
20592 CPPUTEST_CXXFLAGS="${CPPUTEST_CXXFLAGS} ${CPPUTEST_CPP17FLAG}"
20593 cpp_standard_used="C++17"
20594 fi
20595
20596 # Using the C++20 standard?
20597 if testscip-shell system . . test. "x${use_std_cpp20}" = xyes; then
20598 CPPUTEST_CXXFLAGS="${CPPUTEST_CXXFLAGS} ${CPPUTEST_CPP20FLAG}"
20599 cpp_standard_used="C++20"
20600 fi
20601
20602 # Dealing with memory leak detection
20603 if testscip-shell system . . test. "x${memory_leak_detection}" = xno; then
20604
20605 $as_echo "#define MEM_LEAK_DETECTION_DISABLED 1" >>confdefs.h
20606
20607 else
20608 CPPUTEST_CXXFLAGS="${CPPUTEST_CXXFLAGS} -include ${srcdir}/include/CppUTest/MemoryLeakDetectorNewMacros.h"
20609 CPPUTEST_CPPFLAGS="${CPPUTEST_CPPFLAGS} -include ${srcdir}/include/CppUTest/MemoryLeakDetectorMallocMacros.h"
20610 fi
20611
20612 # Disabling long long support
20613 if testscip-shell system . . test. "x${use_longlong}" = xno; then
20614
20615 $as_echo "#define LONG_LONG_DISABLED 1" >>confdefs.h
20616
20617 fi
20618
20619 # Dealing with address sanitizer
20620 if testscip-shell system . . test. "x${sanitize_address}" = xyes; then
20621 CPPUTEST_CFLAGS="${CPPUTEST_CFLAGS} -fsanitize=address -fno-omit-frame-pointer"
20622 CPPUTEST_CXXFLAGS="${CPPUTEST_CXXFLAGS} -fsanitize=address -fno-omit-frame-pointer"
20623 CPPUTEST_LDFLAGS="${CPPUTEST_CXXFLAGS} -fsanitize=address -fno-omit-frame-pointer"
20624 fi
20625
20626 # Generating map files.
20627 if testscip-shell system . . test. "x${generate_map_file}" = xyes; then
20628 CPPUTEST_LDFLAGS="${CPPUTEST_LDFLAGS} ${CPPUTEST_LD_MAP_GENERATION}"
20629 MOSTLYCLEANFILES="${MOSTLYCLEANFILES} *.map.txt"
20630 fi
20631
20632 if testscip-shell system . . test. "x${coverage_flag_supported}" = xyes; then
20633 if testscip-shell system . . test. "x${coverage}" = xyes; then
20634 CPPUTEST_CXXFLAGS="${CPPUTEST_CXXFLAGS} --coverage"
20635 CPPUTEST_CFLAGS="${CPPUTEST_CFLAGS} --coverage"
20636 MOSTLYCLEANFILES="${MOSTLYCLEANFILES} *.gcda *.gcno"
20637 fi
20638 fi
20639
20640 # GMock, check whether we can compile the GMock tests.
20641
20642
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the availability of gmock via the GMOCK_HOME variable" >&5
20644 $as_echo_n "checking for the availability of gmock via the GMOCK_HOME variable... " >&6; }
20645
20646 if testscip-shell system . . test. -n "${GMOCK_HOME}"; then
20647 INCLUDE_GMOCKTESTS_TRUE=
20648 INCLUDE_GMOCKTESTS_FALSE='#'
20649 else
20650 INCLUDE_GMOCKTESTS_TRUE='#'
20651 INCLUDE_GMOCKTESTS_FALSE=
20652 fi
20653
20654 if testscip-shell system . . test. -n "${GMOCK_HOME}"; then
20655
20656
20657 $as_echo "#define INCLUDE_GTEST_TESTS 1" >>confdefs.h
20658
20659
20660
20661 if testscip-shell system . . test. -z "${GTEST_HOME}"; then
20662 GTEST_HOME=${GMOCK_HOME}/gtest
20663 fi
20664
20665 CPPUTEST_CPPFLAGS="${CPPUTEST_CPPFLAGS} -I${GMOCK_HOME}/include -I${GTEST_HOME}/include -I${GTEST_HOME}"
20666 CPPUTEST_CXXFLAGS="${CPPUTEST_CXXFLAGS} -DGTEST_USE_OWN_TR1_TUPLE=1 -DGMOCK_RENAME_MAIN=1"
20667 if testscip-shell system . . test. -e ${GMOCK_HOME}/lib/libgmock.la && tscip-shell system . . test.estscip-shell system . . test. -e ${GTEST_HOME}/lib/libgtest.la; then \
20668 CPPUTEST_LDADD="${CPPUTEST_LDADD} ${GMOCK_HOME}/lib/libgmock.la ${GTEST_HOME}/lib/libgtest.la"; \
20669 elif testscip-shell system . . test. -e ${GMOCK_HOME}/libgmock.a && testscip-shell system . . test. -e ${GTEST_HOME}/libgtest.a; then \
20670 CPPUTEST_LDADD="${CPPUTEST_LDADD} ${GMOCK_HOME}/libgmock.a ${GTEST_HOME}/libgtest.a"; \
20671 elif testscip-shell system . . test. -e ${GMOCK_HOME}/libgmock.a && testscip-shell system . . test. -e ${GMOCK_HOME}/gtest/libgtest.a; then \
20672 CPPUTEST_LDADD="${CPPUTEST_LDADD} ${GMOCK_HOME}/libgmock.a ${GMOCK_HOME}/gtest/libgtest.a"; \
20673 else \
20674 as_fn_error $? "
20675 -------------------------------------
20676 GMOCK_HOME was set, but couldn't find the compiled library.
20677 Did you compile it?
20678 -------------------------------------" "$LINENO" 5;
20679 fi
20680
20681 # In Travis, do not show warnings. The GTest warnings cause a log overflow that errors the build. Nice :)
20682 if testscip-shell system . . test. -n "${TRAVIS_BRANCH}"; then
20683 CPPUTEST_CWARNINGFLAGS=""
20684 CPPUTEST_CXXWARNINGFLAGS=""
20685 fi
20686
20687 else
20688 # When we don't compile with GMock, we can be a bit stricter on warnings.
20689 CPPUTEST_CWARNINGFLAGS="${CPPUTEST_CWARNINGFLAGS} ${CPPUTEST_CWARNINGFLAGS_STRICT}"
20690 CPPUTEST_CXXWARNINGFLAGS="${CPPUTEST_CXXWARNINGFLAGS} ${CPPUTEST_CXXWARNINGFLAGS_STRICT}"
20691
20692 fi
20693
20694
20695 CPPUTEST_CFLAGS="${CPPUTEST_CFLAGS} ${CPPUTEST_CWARNINGFLAGS}"
20696 CPPUTEST_CXXFLAGS="${CPPUTEST_CXXFLAGS} ${CPPUTEST_CXXWARNINGFLAGS}"
20697 CPPUTEST_CPPFLAGS="${CPPUTEST_CPPFLAGS} -I ${srcdir}/include ${CPPUTEST_CPPWARNINGFLAGS}"
20698
20699 if testscip-shell system . . test. "x${cpputest_flags}" = xno; then
20700 CPPUTEST_CFLAGS=""
20701 CPPUTEST_CXXFLAGS=""
20702 CPPUTEST_CPPFLAGS=""
20703 fi
20704
20705
20706 ############################## Values ########################################
20707
20708 ### All files in git
20709 if testscip-shell system . . test. -e "${srcdir}/.git"; then
20710 ALL_FILES_IN_GIT="`gitscip-shell system . . git. --git-dir=${srcdir}/.git ls-files | trscip-shell system . . tr. ' \n' ' '`"
20711 fi
20712
20713 # Variables to substitute
20714
20715
20716
20717
20718
20719 # Replacement of tool flags
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735 ac_config_files="$ac_config_files Makefile"
20736
20737 catscip-shell system . . cat. >confcache <<\_ACEOF
20738 # This file is a shell script that caches the results of configure
20739 # tests run on this system so they can be shared between configure
20740 # scripts and configure runs, see configure's option --config-cache.
20741 # It is not useful on other systems. If it contains results you don't
20742 # want to keep, you may remove or edit it.
20743 #
20744 # config.status only pays attention to the cache file if you give it
20745 # the --recheck option to rerun configure.
20746 #
20747 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20748 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20749 # following values.
20750
20751 _ACEOF
20752
20753 # The following way of writing the cache mishandles newlines in values,
20754 # but we know of no workaround that is simple, portable, and efficient.
20755 # So, we kill variables containing newlines.
20756 # Ultrix sh set writes to stderr and can't be redirected directly,
20757 # and sets the high bit in the cache file unless we assign to the vars.
20758 (
20759 for ac_var in `(set) 2>&1 | sedscip-shell system . . sed. -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20760 eval ac_val=\$$ac_var
20761 case $ac_val in #(
20762 *${as_nl}*)
20763 case $ac_var in #(
20764 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20765 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20766 esac
20767 case $ac_var in #(
20768 _ | IFS | as_nl) ;; #(
20769 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20770 *) { eval $ac_var=; unset $ac_var;} ;;
20771 esac ;;
20772 esac
20773 done
20774
20775 (set) 2>&1 |
20776 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20777 *${as_nl}ac_space=\ *)
20778 # `set' does not quote correctly, so add quotes: double-quote
20779 # substitution turns \\\\ into \\, and sed turns \\ into \.
20780 sedscip-shell system . . sed. -n \
20781 "s/'/'\\\\''/g;
20782 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20783 ;; #(
20784 *)
20785 # `set' quotes correctly as required by POSIX, so do not add quotes.
20786 sedscip-shell system . . sed. -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20787 ;;
20788 esac |
20789 sortscip-shell system . . sort.
20790 ) |
20791 sedscip-shell system . . sed. '
20792 /^ac_cv_env_/b end
20793 t clear
20794 :clear
20795 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20796 t end
20797 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20798 :end' >>confcache
20799 if diffscip-shell system . . diff. "$cache_file" confcache >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
20800 if testscip-shell system . . test. -w "$cache_file"; then
20801 if testscip-shell system . . test. "x$cache_file" != "x/dev/null"; then
20802 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20803 $as_echo "$as_me: updating cache $cache_file" >&6;}
20804 if testscip-shell system . . test. ! -f "$cache_file" || testscip-shell system . . test. -h "$cache_file"; then
20805 catscip-shell system . . cat. confcache >"$cache_file"
20806 else
20807 case $cache_file in #(
20808 */* | ?:*)
20809 mvscip-shell system . . mv. -f confcache "$cache_file"$$ &&
20810 mvscip-shell system . . mv. -f "$cache_file"$$ "$cache_file" ;; #(
20811 *)
20812 mvscip-shell system . . mv. -f confcache "$cache_file" ;;
20813 esac
20814 fi
20815 fi
20816 else
20817 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20818 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20819 fi
20820 fi
20821 rmscip-shell system . . rm. -f confcache
20822
20823 testscip-shell system . . test. "x$prefix" = xNONE && prefix=$ac_default_prefix
20824 # Let make expand exec_prefix.
20825 testscip-shell system . . test. "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20826
20827 DEFS=-DHAVE_CONFIG_H
20828
20829 ac_libobjs=
20830 ac_ltlibobjs=
20831 U=
20832 for ac_i in : $LIBOBJS; do testscip-shell system . . test. "x$ac_i" = x: && continue
20833 # 1. Remove the extension, and $U if already installed.
20834 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20835 ac_i=`$as_echo "$ac_i" | sedscip-shell system . . sed. "$ac_script"`
20836 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20837 # will be set to the directory where LIBOBJS objects are built.
20838 as_fn_appendscip-shell shell cpputest 4.0-3 as_fn_append(). ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20839 as_fn_appendscip-shell shell cpputest 4.0-3 as_fn_append(). ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20840 done
20841 LIBOBJS=$ac_libobjs
20842
20843 LTLIBOBJS=$ac_ltlibobjs
20844
20845
20846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20847 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20848 if testscip-shell system . . test. -n "$am_sleep_pid"; then
20849 # Hide warnings about reused PIDs.
20850 wait $am_sleep_pid 2>/dev/nullscip-shell filesystem . . `/dev/null`.
20851 fi
20852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20853 $as_echo "done" >&6; }
20854 if testscip-shell system . . test. -n "$EXEEXT"; then
20855 am__EXEEXT_TRUE=
20856 am__EXEEXT_FALSE='#'
20857 else
20858 am__EXEEXT_TRUE='#'
20859 am__EXEEXT_FALSE=
20860 fi
20861
20862 if testscip-shell system . . test. -z "${AMDEP_TRUE}" && testscip-shell system . . test. -z "${AMDEP_FALSE}"; then
20863 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "conditional \"AMDEP\" was never defined.
20864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20865 fi
20866 if testscip-shell system . . test. -z "${am__fastdepCC_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCC_FALSE}"; then
20867 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "conditional \"am__fastdepCC\" was never defined.
20868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20869 fi
20870 if testscip-shell system . . test. -z "${am__fastdepCC_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCC_FALSE}"; then
20871 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "conditional \"am__fastdepCC\" was never defined.
20872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20873 fi
20874 if testscip-shell system . . test. -z "${am__fastdepCXX_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCXX_FALSE}"; then
20875 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "conditional \"am__fastdepCXX\" was never defined.
20876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20877 fi
20878 if testscip-shell system . . test. -z "${TEST_COMPILER_IS_CLANG_TRUE}" && testscip-shell system . . test. -z "${TEST_COMPILER_IS_CLANG_FALSE}"; then
20879 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "conditional \"TEST_COMPILER_IS_CLANG\" was never defined.
20880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20881 fi
20882 if testscip-shell system . . test. -z "${INCLUDE_CPPUTEST_EXT_TRUE}" && testscip-shell system . . test. -z "${INCLUDE_CPPUTEST_EXT_FALSE}"; then
20883 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "conditional \"INCLUDE_CPPUTEST_EXT\" was never defined.
20884 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20885 fi
20886 if testscip-shell system . . test. -z "${INCLUDE_GMOCKTESTS_TRUE}" && testscip-shell system . . test. -z "${INCLUDE_GMOCKTESTS_FALSE}"; then
20887 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "conditional \"INCLUDE_GMOCKTESTS\" was never defined.
20888 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20889 fi
20890
20891 : "${CONFIG_STATUS=./config.status}"
20892 ac_write_fail=0
20893 ac_clean_files_save=$ac_clean_files
20894 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20895 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20896 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20897 as_write_fail=0
20898 catscip-shell system . . cat. >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20899 #! $SHELL
20900 # Generated by $as_me.
20901 # Run this file to recreate the current configuration.
20902 # Compiler output produced by configure, useful for debugging
20903 # configure, is in config.log if it exists.
20904
20905 debug=false
20906 ac_cs_recheck=false
20907 ac_cs_silent=false
20908
20909 SHELL=\${CONFIG_SHELL-$SHELL}
20910 export SHELL
20911 _ASEOF
20912 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20913 ## -------------------- ##
20914 ## M4sh Initialization. ##
20915 ## -------------------- ##
20916
20917 # Be more Bourne compatible
20918 DUALCASE=1; export DUALCASE # for MKS sh
20919 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20920 emulate sh
20921 NULLCMD=:
20922 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20923 # is contrary to our usage. Disable this feature.
20924 alias -g '${1+"$@"}'='"$@"'
20925 setopt NO_GLOB_SUBST
20926 else
20927 case `(set -o) 2>/dev/null` in #(
20928 *posix*) :
20929 set -o posix ;; #(
20930 *) :
20931 ;;
20932 esac
20933 fi
20934
20935
20936 as_nl='
20937 '
20938 export as_nl
20939 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20940 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20941 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20942 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20943 # Prefer a ksh shell builtin over an external printf program on Solaris,
20944 # but without wasting forks for bash or zsh.
20945 if test -z "$BASH_VERSION$ZSH_VERSION" \
20946 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20947 as_echo='print -r --'
20948 as_echo_n='print -rn --'
20949 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20950 as_echo='printf %s\n'
20951 as_echo_n='printf %s'
20952 else
20953 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20954 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20955 as_echo_n='/usr/ucb/echo -n'
20956 else
20957 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20958 as_echo_n_body='eval
20959 arg=$1;
20960 case $arg in #(
20961 *"$as_nl"*)
20962 expr "X$arg" : "X\\(.*\\)$as_nl";
20963 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20964 esac;
20965 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20966 '
20967 export as_echo_n_body
20968 as_echo_n='sh -c $as_echo_n_body as_echo'
20969 fi
20970 export as_echo_body
20971 as_echo='sh -c $as_echo_body as_echo'
20972 fi
20973
20974 # The user is always right.
20975 if test "${PATH_SEPARATOR+set}" != set; then
20976 PATH_SEPARATOR=:
20977 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20978 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20979 PATH_SEPARATOR=';'
20980 }
20981 fi
20982
20983
20984 # IFS
20985 # We need space, tab and new line, in precisely that order. Quoting is
20986 # there to prevent editors from complaining about space-tab.
20987 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20988 # splitting by setting IFS to empty value.)
20989 IFS=" "" $as_nl"
20990
20991 # Find who we are. Look in the path if we contain no directory separator.
20992 as_myself=
20993 case $0 in #((
20994 *[\\/]* ) as_myself=$0 ;;
20995 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20996 for as_dir in $PATH
20997 do
20998 IFS=$as_save_IFS
20999 test -z "$as_dir" && as_dir=.
21000 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21001 done
21002 IFS=$as_save_IFS
21003
21004 ;;
21005 esac
21006 # We did not find ourselves, most probably we were run as `sh COMMAND'
21007 # in which case we are not to be found in the path.
21008 if test "x$as_myself" = x; then
21009 as_myself=$0
21010 fi
21011 if test ! -f "$as_myself"; then
21012 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21013 exit 1
21014 fi
21015
21016 # Unset variables that we do not need and which cause bugs (e.g. in
21017 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21018 # suppresses any "Segmentation fault" message there. '((' could
21019 # trigger a bug in pdksh 5.2.14.
21020 for as_var in BASH_ENV ENV MAIL MAILPATH
21021 do eval test x\${$as_var+set} = xset \
21022 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21023 done
21024 PS1='$ '
21025 PS2='> '
21026 PS4='+ '
21027
21028 # NLS nuisances.
21029 LC_ALL=C
21030 export LC_ALL
21031 LANGUAGE=C
21032 export LANGUAGE
21033
21034 # CDPATH.
21035 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21036
21037
21038 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21039 # ----------------------------------------
21040 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21041 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21042 # script with STATUS, using 1 if that was 0.
21043 as_fn_error ()
21044 {
21045 as_status=$1; test $as_status -eq 0 && as_status=1
21046 if test "$4"; then
21047 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21048 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21049 fi
21050 $as_echo "$as_me: error: $2" >&2
21051 as_fn_exit $as_status
21052 } # as_fn_error
21053
21054
21055 # as_fn_set_status STATUS
21056 # -----------------------
21057 # Set $? to STATUS, without forking.
21058 as_fn_set_status ()
21059 {
21060 return $1
21061 } # as_fn_set_status
21062
21063 # as_fn_exit STATUS
21064 # -----------------
21065 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21066 as_fn_exit ()
21067 {
21068 set +e
21069 as_fn_set_status $1
21070 exit $1
21071 } # as_fn_exit
21072
21073 # as_fn_unset VAR
21074 # ---------------
21075 # Portably unset VAR.
21076 as_fn_unset ()
21077 {
21078 { eval $1=; unset $1;}
21079 }
21080 as_unset=as_fn_unset
21081 # as_fn_append VAR VALUE
21082 # ----------------------
21083 # Append the text in VALUE to the end of the definition contained in VAR. Take
21084 # advantage of any shell optimizations that allow amortized linear growth over
21085 # repeated appends, instead of the typical quadratic growth present in naive
21086 # implementations.
21087 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21088 eval 'as_fn_append ()
21089 {
21090 eval $1+=\$2
21091 }'
21092 else
21093 as_fn_append ()
21094 {
21095 eval $1=\$$1\$2
21096 }
21097 fi # as_fn_append
21098
21099 # as_fn_arith ARG...
21100 # ------------------
21101 # Perform arithmetic evaluation on the ARGs, and store the result in the
21102 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21103 # must be portable across $(()) and expr.
21104 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21105 eval 'as_fn_arith ()
21106 {
21107 as_val=$(( $* ))
21108 }'
21109 else
21110 as_fn_arith ()
21111 {
21112 as_val=`expr "$@" || test $? -eq 1`
21113 }
21114 fi # as_fn_arith
21115
21116
21117 if expr a : '\(a\)' >/dev/null 2>&1 &&
21118 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21119 as_expr=expr
21120 else
21121 as_expr=false
21122 fi
21123
21124 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21125 as_basename=basename
21126 else
21127 as_basename=false
21128 fi
21129
21130 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21131 as_dirname=dirname
21132 else
21133 as_dirname=false
21134 fi
21135
21136 as_me=`$as_basename -- "$0" ||
21137 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21138 X"$0" : 'X\(//\)$' \| \
21139 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21140 $as_echo X/"$0" |
21141 sed '/^.*\/\([^/][^/]*\)\/*$/{
21142 s//\1/
21143 q
21144 }
21145 /^X\/\(\/\/\)$/{
21146 s//\1/
21147 q
21148 }
21149 /^X\/\(\/\).*/{
21150 s//\1/
21151 q
21152 }
21153 s/.*/./; q'`
21154
21155 # Avoid depending upon Character Ranges.
21156 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21157 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21158 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21159 as_cr_digits='0123456789'
21160 as_cr_alnum=$as_cr_Letters$as_cr_digits
21161
21162 ECHO_C= ECHO_N= ECHO_T=
21163 case `echo -n x` in #(((((
21164 -n*)
21165 case `echo 'xy\c'` in
21166 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21167 xy) ECHO_C='\c';;
21168 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21169 ECHO_T=' ';;
21170 esac;;
21171 *)
21172 ECHO_N='-n';;
21173 esac
21174
21175 rm -f conf$$ conf$$.exe conf$$.file
21176 if test -d conf$$.dir; then
21177 rm -f conf$$.dir/conf$$.file
21178 else
21179 rm -f conf$$.dir
21180 mkdir conf$$.dir 2>/dev/null
21181 fi
21182 if (echo >conf$$.file) 2>/dev/null; then
21183 if ln -s conf$$.file conf$$ 2>/dev/null; then
21184 as_ln_s='ln -s'
21185 # ... but there are two gotchas:
21186 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21187 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21188 # In both cases, we have to default to `cp -pR'.
21189 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21190 as_ln_s='cp -pR'
21191 elif ln conf$$.file conf$$ 2>/dev/null; then
21192 as_ln_s=ln
21193 else
21194 as_ln_s='cp -pR'
21195 fi
21196 else
21197 as_ln_s='cp -pR'
21198 fi
21199 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21200 rmdir conf$$.dir 2>/dev/null
21201
21202
21203 # as_fn_mkdir_p
21204 # -------------
21205 # Create "$as_dir" as a directory, including parents if necessary.
21206 as_fn_mkdir_p ()
21207 {
21208
21209 case $as_dir in #(
21210 -*) as_dir=./$as_dir;;
21211 esac
21212 test -d "$as_dir" || eval $as_mkdir_p || {
21213 as_dirs=
21214 while :; do
21215 case $as_dir in #(
21216 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21217 *) as_qdir=$as_dir;;
21218 esac
21219 as_dirs="'$as_qdir' $as_dirs"
21220 as_dir=`$as_dirname -- "$as_dir" ||
21221 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21222 X"$as_dir" : 'X\(//\)[^/]' \| \
21223 X"$as_dir" : 'X\(//\)$' \| \
21224 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21225 $as_echo X"$as_dir" |
21226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21227 s//\1/
21228 q
21229 }
21230 /^X\(\/\/\)[^/].*/{
21231 s//\1/
21232 q
21233 }
21234 /^X\(\/\/\)$/{
21235 s//\1/
21236 q
21237 }
21238 /^X\(\/\).*/{
21239 s//\1/
21240 q
21241 }
21242 s/.*/./; q'`
21243 test -d "$as_dir" && break
21244 done
21245 test -z "$as_dirs" || eval "mkdir $as_dirs"
21246 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21247
21248
21249 } # as_fn_mkdir_p
21250 if mkdir -p . 2>/dev/null; then
21251 as_mkdir_p='mkdir -p "$as_dir"'
21252 else
21253 test -d ./-p && rmdir ./-p
21254 as_mkdir_p=false
21255 fi
21256
21257
21258 # as_fn_executable_p FILE
21259 # -----------------------
21260 # Test if FILE is an executable regular file.
21261 as_fn_executable_p ()
21262 {
21263 test -f "$1" && test -x "$1"
21264 } # as_fn_executable_p
21265 as_test_x='test -x'
21266 as_executable_p=as_fn_executable_p
21267
21268 # Sed expression to map a string onto a valid CPP name.
21269 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21270
21271 # Sed expression to map a string onto a valid variable name.
21272 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21273
21274
21275 exec 6>&1
21276 ## ----------------------------------- ##
21277 ## Main body of $CONFIG_STATUS script. ##
21278 ## ----------------------------------- ##
21279 _ASEOF
21280 testscip-shell system . . test. $as_write_fail = 0 && chmodscip-shell system . . chmod. +x $CONFIG_STATUS || ac_write_fail=1
21281
21282 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21283 # Save the log message, to keep $0 and so on meaningful, and to
21284 # report actual input values of CONFIG_FILES etc. instead of their
21285 # values after options handling.
21286 ac_log="
21287 This file was extended by CppUTest $as_me 4.0, which was
21288 generated by GNU Autoconf 2.69. Invocation command line was
21289
21290 CONFIG_FILES = $CONFIG_FILES
21291 CONFIG_HEADERS = $CONFIG_HEADERS
21292 CONFIG_LINKS = $CONFIG_LINKS
21293 CONFIG_COMMANDS = $CONFIG_COMMANDS
21294 $ $0 $@
21295
21296 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21297 "
21298
21299 _ACEOF
21300
21301 case $ac_config_files in *"
21302 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21303 esac
21304
21305 case $ac_config_headers in *"
21306 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21307 esac
21308
21309
21310 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21311 # Files that config.status was made for.
21312 config_files="$ac_config_files"
21313 config_headers="$ac_config_headers"
21314 config_commands="$ac_config_commands"
21315
21316 _ACEOF
21317
21318 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21319 ac_cs_usage="\
21320 \`$as_me' instantiates files and other configuration actions
21321 from templates according to the current configuration. Unless the files
21322 and actions are specified as TAGs, all are instantiated by default.
21323
21324 Usage: $0 [OPTION]... [TAG]...
21325
21326 -h, --help print this help, then exit
21327 -V, --version print version number and configuration settings, then exit
21328 --config print configuration, then exit
21329 -q, --quiet, --silent
21330 do not print progress messages
21331 -d, --debug don't remove temporary files
21332 --recheck update $as_me by reconfiguring in the same conditions
21333 --file=FILE[:TEMPLATE]
21334 instantiate the configuration file FILE
21335 --header=FILE[:TEMPLATE]
21336 instantiate the configuration header FILE
21337
21338 Configuration files:
21339 $config_files
21340
21341 Configuration headers:
21342 $config_headers
21343
21344 Configuration commands:
21345 $config_commands
21346
21347 Report bugs to <https://github.com/cpputest/cpputest>."
21348
21349 _ACEOF
21350 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21351 ac_cs_config="`$as_echo "$ac_configure_args" | sedscip-shell system . . sed. 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21352 ac_cs_version="\\
21353 CppUTest config.status 4.0
21354 configured by $0, generated by GNU Autoconf 2.69,
21355 with options \\"\$ac_cs_config\\"
21356
21357 Copyright (C) 2012 Free Software Foundation, Inc.
21358 This config.status script is free software; the Free Software Foundation
21359 gives unlimited permission to copy, distribute and modify it."
21360
21361 ac_pwd='$ac_pwd'
21362 srcdir='$srcdir'
21363 INSTALL='$INSTALL'
21364 MKDIR_P='$MKDIR_P'
21365 AWK='$AWK'
21366 test -n "\$AWK" || AWK=awk
21367 _ACEOF
21368
21369 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21370 # The default lists apply if the user does not specify any file.
21371 ac_need_defaults=:
21372 while test $# != 0
21373 do
21374 case $1 in
21375 --*=?*)
21376 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21377 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21378 ac_shift=:
21379 ;;
21380 --*=)
21381 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21382 ac_optarg=
21383 ac_shift=:
21384 ;;
21385 *)
21386 ac_option=$1
21387 ac_optarg=$2
21388 ac_shift=shift
21389 ;;
21390 esac
21391
21392 case $ac_option in
21393 # Handling of the options.
21394 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21395 ac_cs_recheck=: ;;
21396 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21397 $as_echo "$ac_cs_version"; exit ;;
21398 --config | --confi | --conf | --con | --co | --c )
21399 $as_echo "$ac_cs_config"; exit ;;
21400 --debug | --debu | --deb | --de | --d | -d )
21401 debug=: ;;
21402 --file | --fil | --fi | --f )
21403 $ac_shift
21404 case $ac_optarg in
21405 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21406 '') as_fn_error $? "missing file argument" ;;
21407 esac
21408 as_fn_append CONFIG_FILES " '$ac_optarg'"
21409 ac_need_defaults=false;;
21410 --header | --heade | --head | --hea )
21411 $ac_shift
21412 case $ac_optarg in
21413 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21414 esac
21415 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21416 ac_need_defaults=false;;
21417 --he | --h)
21418 # Conflict between --help and --header
21419 as_fn_error $? "ambiguous option: \`$1'
21420 Try \`$0 --help' for more information.";;
21421 --help | --hel | -h )
21422 $as_echo "$ac_cs_usage"; exit ;;
21423 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21424 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21425 ac_cs_silent=: ;;
21426
21427 # This is an error.
21428 -*) as_fn_error $? "unrecognized option: \`$1'
21429 Try \`$0 --help' for more information." ;;
21430
21431 *) as_fn_append ac_config_targets " $1"
21432 ac_need_defaults=false ;;
21433
21434 esac
21435 shift
21436 done
21437
21438 ac_configure_extra_args=
21439
21440 if $ac_cs_silent; then
21441 exec 6>/dev/null
21442 ac_configure_extra_args="$ac_configure_extra_args --silent"
21443 fi
21444
21445 _ACEOF
21446 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21447 if \$ac_cs_recheck; then
21448 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21449 shift
21450 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21451 CONFIG_SHELL='$SHELL'
21452 export CONFIG_SHELL
21453 exec "\$@"
21454 fi
21455
21456 _ACEOF
21457 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21458 exec 5>>config.log
21459 {
21460 echo
21461 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21462 ## Running $as_me. ##
21463 _ASBOX
21464 $as_echo "$ac_log"
21465 } >&5
21466
21467 _ACEOF
21468 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21469 #
21470 # INIT-COMMANDS
21471 #
21472 PACKAGE="$PACKAGE"
21473 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
21474
21475
21476 # The HP-UX ksh and POSIX shell print the target directory to stdout
21477 # if CDPATH is set.
21478 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21479
21480 sed_quote_subst='$sed_quote_subst'
21481 double_quote_subst='$double_quote_subst'
21482 delay_variable_subst='$delay_variable_subst'
21483 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21484 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21485 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21486 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21487 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21488 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21489 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
21490 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21491 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21492 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21493 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21494 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21495 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21496 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21497 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21498 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21499 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21500 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21501 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21502 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21503 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21504 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21505 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21506 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21507 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21508 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21509 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21510 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21511 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21512 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21513 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21514 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21515 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21516 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21517 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21518 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21519 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21520 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21521 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21522 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21523 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21524 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21525 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21526 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21527 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21528 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21529 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21530 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21531 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21532 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21533 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21534 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21535 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21536 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21537 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21538 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21539 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
21540 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21541 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
21542 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
21543 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21544 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21545 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
21546 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21547 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21548 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21549 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21550 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21551 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21552 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21553 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21554 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21555 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21556 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21557 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21558 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21559 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21560 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21561 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21562 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21563 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21564 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21565 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21566 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21567 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21568 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21569 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21570 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21571 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21572 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21573 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21574 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21575 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21576 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21577 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21578 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21579 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21580 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21581 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21582 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21583 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21584 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21585 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21586 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21587 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21588 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21589 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21590 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21591 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21592 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21593 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21594 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21595 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21596 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21597 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21598 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21599 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21600 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21601 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21602 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21603 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21604 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21605 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21606 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21607 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21608 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21609 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21610 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
21611 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
21612 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21613 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21614 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21615 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21616 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21617 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21618 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21619 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21620 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21621 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21622 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21623 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21624 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21625 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21626 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21627 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21628 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21629 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21630 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21631 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21632 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21633 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21634 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21635 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21636 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21637 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21638 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21639 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21640 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21641 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21642 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21643 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21644 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21645 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21646 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21647 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21648 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21649 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21650 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21651 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21652 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21653 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21654 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21655 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21656 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21657 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21658 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21659 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21660 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21661 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21662 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21663 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21664 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21665 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21666 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21667 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21668 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21669 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21670 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21671 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21672
21673 LTCC='$LTCC'
21674 LTCFLAGS='$LTCFLAGS'
21675 compiler='$compiler_DEFAULT'
21676
21677 # A function that is used when there is no print builtin or printf.
21678 func_fallback_echo ()
21679 {
21680 eval 'cat <<_LTECHO_EOF
21681 \$1
21682 _LTECHO_EOF'
21683 }
21684
21685 # Quote evaled strings.
21686 for var in SHELL \
21687 ECHO \
21688 PATH_SEPARATOR \
21689 SED \
21690 GREP \
21691 EGREP \
21692 FGREP \
21693 LD \
21694 NM \
21695 LN_S \
21696 lt_SP2NL \
21697 lt_NL2SP \
21698 reload_flag \
21699 OBJDUMP \
21700 deplibs_check_method \
21701 file_magic_cmd \
21702 file_magic_glob \
21703 want_nocaseglob \
21704 DLLTOOL \
21705 sharedlib_from_linklib_cmd \
21706 AR \
21707 AR_FLAGS \
21708 archiver_list_spec \
21709 STRIP \
21710 RANLIB \
21711 CC \
21712 CFLAGS \
21713 compiler \
21714 lt_cv_sys_global_symbol_pipe \
21715 lt_cv_sys_global_symbol_to_cdecl \
21716 lt_cv_sys_global_symbol_to_import \
21717 lt_cv_sys_global_symbol_to_c_name_address \
21718 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21719 lt_cv_nm_interface \
21720 nm_file_list_spec \
21721 lt_cv_truncate_bin \
21722 lt_prog_compiler_no_builtin_flag \
21723 lt_prog_compiler_pic \
21724 lt_prog_compiler_wl \
21725 lt_prog_compiler_static \
21726 lt_cv_prog_compiler_c_o \
21727 need_locks \
21728 MANIFEST_TOOL \
21729 DSYMUTIL \
21730 NMEDIT \
21731 LIPO \
21732 OTOOL \
21733 OTOOL64 \
21734 shrext_cmds \
21735 export_dynamic_flag_spec \
21736 whole_archive_flag_spec \
21737 compiler_needs_object \
21738 with_gnu_ld \
21739 allow_undefined_flag \
21740 no_undefined_flag \
21741 hardcode_libdir_flag_spec \
21742 hardcode_libdir_separator \
21743 exclude_expsyms \
21744 include_expsyms \
21745 file_list_spec \
21746 variables_saved_for_relink \
21747 libname_spec \
21748 library_names_spec \
21749 soname_spec \
21750 install_override_mode \
21751 finish_eval \
21752 old_striplib \
21753 striplib \
21754 compiler_lib_search_dirs \
21755 predep_objects \
21756 postdep_objects \
21757 predeps \
21758 postdeps \
21759 compiler_lib_search_path \
21760 LD_CXX \
21761 reload_flag_CXX \
21762 compiler_CXX \
21763 lt_prog_compiler_no_builtin_flag_CXX \
21764 lt_prog_compiler_pic_CXX \
21765 lt_prog_compiler_wl_CXX \
21766 lt_prog_compiler_static_CXX \
21767 lt_cv_prog_compiler_c_o_CXX \
21768 export_dynamic_flag_spec_CXX \
21769 whole_archive_flag_spec_CXX \
21770 compiler_needs_object_CXX \
21771 with_gnu_ld_CXX \
21772 allow_undefined_flag_CXX \
21773 no_undefined_flag_CXX \
21774 hardcode_libdir_flag_spec_CXX \
21775 hardcode_libdir_separator_CXX \
21776 exclude_expsyms_CXX \
21777 include_expsyms_CXX \
21778 file_list_spec_CXX \
21779 compiler_lib_search_dirs_CXX \
21780 predep_objects_CXX \
21781 postdep_objects_CXX \
21782 predeps_CXX \
21783 postdeps_CXX \
21784 compiler_lib_search_path_CXX; do
21785 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21786 *[\\\\\\\`\\"\\\$]*)
21787 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21788 ;;
21789 *)
21790 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21791 ;;
21792 esac
21793 done
21794
21795 # Double-quote double-evaled strings.
21796 for var in reload_cmds \
21797 old_postinstall_cmds \
21798 old_postuninstall_cmds \
21799 old_archive_cmds \
21800 extract_expsyms_cmds \
21801 old_archive_from_new_cmds \
21802 old_archive_from_expsyms_cmds \
21803 archive_cmds \
21804 archive_expsym_cmds \
21805 module_cmds \
21806 module_expsym_cmds \
21807 export_symbols_cmds \
21808 prelink_cmds \
21809 postlink_cmds \
21810 postinstall_cmds \
21811 postuninstall_cmds \
21812 finish_cmds \
21813 sys_lib_search_path_spec \
21814 configure_time_dlsearch_path \
21815 configure_time_lt_sys_library_path \
21816 reload_cmds_CXX \
21817 old_archive_cmds_CXX \
21818 old_archive_from_new_cmds_CXX \
21819 old_archive_from_expsyms_cmds_CXX \
21820 archive_cmds_CXX \
21821 archive_expsym_cmds_CXX \
21822 module_cmds_CXX \
21823 module_expsym_cmds_CXX \
21824 export_symbols_cmds_CXX \
21825 prelink_cmds_CXX \
21826 postlink_cmds_CXX; do
21827 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21828 *[\\\\\\\`\\"\\\$]*)
21829 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21830 ;;
21831 *)
21832 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21833 ;;
21834 esac
21835 done
21836
21837 ac_aux_dir='$ac_aux_dir'
21838
21839 # See if we are running on zsh, and set the options that allow our
21840 # commands through without removal of \ escapes INIT.
21841 if test -n "\${ZSH_VERSION+set}"; then
21842 setopt NO_GLOB_SUBST
21843 fi
21844
21845
21846 PACKAGE='$PACKAGE'
21847 VERSION='$VERSION'
21848 RM='$RM'
21849 ofile='$ofile'
21850
21851
21852
21853
21854
21855
21856 _ACEOF
21857
21858 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21859
21860 # Handling of arguments.
21861 for ac_config_target in $ac_config_targets
21862 do
21863 case $ac_config_target in
21864 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21865 "generated/CppUTestGeneratedConfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS generated/CppUTestGeneratedConfig.h" ;;
21866 "cpputest.pc") CONFIG_FILES="$CONFIG_FILES cpputest.pc" ;;
21867 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21868 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
21869 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21870
21871 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21872 esac
21873 done
21874
21875
21876 # If the user did not use the arguments to specify the items to instantiate,
21877 # then the envvar interface is used. Set only those that are not.
21878 # We use the long form for the default assignment because of an extremely
21879 # bizarre bug on SunOS 4.1.3.
21880 if $ac_need_defaults; then
21881 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21882 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21883 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21884 fi
21885
21886 # Have a temporary directory for convenience. Make it in the build tree
21887 # simply because there is no reason against having it here, and in addition,
21888 # creating and moving files from /tmp can sometimes cause problems.
21889 # Hook for its removal unless debugging.
21890 # Note that there is a small window in which the directory will not be cleaned:
21891 # after its creation but before its name has been assigned to `$tmp'.
21892 $debug ||
21893 {
21894 tmp= ac_tmp=
21895 trap 'exit_status=$?
21896 : "${ac_tmp:=$tmp}"
21897 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21898 ' 0
21899 trap 'as_fn_exit 1' 1 2 13 15
21900 }
21901 # Create a (secure) tmp directory for tmp files.
21902
21903 {
21904 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21905 test -d "$tmp"
21906 } ||
21907 {
21908 tmp=./conf$$-$RANDOM
21909 (umask 077 && mkdir "$tmp")
21910 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21911 ac_tmp=$tmp
21912
21913 # Set up the scripts for CONFIG_FILES section.
21914 # No need to generate them if there are no CONFIG_FILES.
21915 # This happens for instance with `./config.status config.h'.
21916 if test -n "$CONFIG_FILES"; then
21917
21918
21919 ac_cr=`echo X | tr X '\015'`
21920 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21921 # But we know of no other shell where ac_cr would be empty at this
21922 # point, so we can use a bashism as a fallback.
21923 if test "x$ac_cr" = x; then
21924 eval ac_cr=\$\'\\r\'
21925 fi
21926 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21927 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21928 ac_cs_awk_cr='\\r'
21929 else
21930 ac_cs_awk_cr=$ac_cr
21931 fi
21932
21933 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21934 _ACEOF
21935
21936
21937 {
21938 echoscip-shell system . . echo. "cat >conf$$subs.awk <<_ACEOF" &&
21939 echoscip-shell system . . echo. "$ac_subst_vars" | sedscip-shell system . . sed. 's/.*/&!$&$ac_delim/' &&
21940 echoscip-shell system . . echo. "_ACEOF"
21941 } >conf$$subs.sh ||
21942 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
21943 ac_delim_num=`echoscip-shell system . . echo. "$ac_subst_vars" | grepscip-shell system . . grep. -c '^'`
21944 ac_delim='%!_!# '
21945 for ac_last_try in false false false false false :; do
21946 . ./conf$$subs.sh ||
21947 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
21948
21949 ac_delim_n=`sedscip-shell system . . sed. -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grepscip-shell system . . grep. -c X`
21950 if testscip-shell system . . test. $ac_delim_n = $ac_delim_num; then
21951 break
21952 elif $ac_last_try; then
21953 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
21954 else
21955 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21956 fi
21957 done
21958 rmscip-shell system . . rm. -f conf$$subs.sh
21959
21960 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21961 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21962 _ACEOF
21963 sedscip-shell system . . sed. -n '
21964 h
21965 s/^/S["/; s/!.*/"]=/
21966 p
21967 g
21968 s/^[^!]*!//
21969 :repl
21970 t repl
21971 s/'"$ac_delim"'$//
21972 t delim
21973 :nl
21974 h
21975 s/\(.\{148\}\)..*/\1/
21976 t more1
21977 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21978 p
21979 n
21980 b repl
21981 :more1
21982 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21983 p
21984 g
21985 s/.\{148\}//
21986 t nl
21987 :delim
21988 h
21989 s/\(.\{148\}\)..*/\1/
21990 t more2
21991 s/["\\]/\\&/g; s/^/"/; s/$/"/
21992 p
21993 b
21994 :more2
21995 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21996 p
21997 g
21998 s/.\{148\}//
21999 t delim
22000 ' <conf$$subs.awk | sedscip-shell system . . sed. '
22001 /^[^""]/{
22002 N
22003 s/\n//
22004 }
22005 ' >>$CONFIG_STATUS || ac_write_fail=1
22006 rmscip-shell system . . rm. -f conf$$subs.awk
22007 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22008 _ACAWK
22009 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22010 for (key in S) S_is_set[key] = 1
22011 FS = ""
22012
22013 }
22014 {
22015 line = $ 0
22016 nfields = split(line, field, "@")
22017 substed = 0
22018 len = length(field[1])
22019 for (i = 2; i < nfields; i++) {
22020 key = field[i]
22021 keylen = length(key)
22022 if (S_is_set[key]) {
22023 value = S[key]
22024 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22025 len += length(value) + length(field[++i])
22026 substed = 1
22027 } else
22028 len += 1 + keylen
22029 }
22030
22031 print line
22032 }
22033
22034 _ACAWK
22035 _ACEOF
22036 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22037 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22038 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22039 else
22040 cat
22041 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22042 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22043 _ACEOF
22044
22045 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22046 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22047 # trailing colons and then remove the whole line if VPATH becomes empty
22048 # (actually we leave an empty line to preserve line numbers).
22049 if testscip-shell system . . test. "x$srcdir" = x.; then
22050 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22051 h
22052 s///
22053 s/^/:/
22054 s/[ ]*$/:/
22055 s/:\$(srcdir):/:/g
22056 s/:\${srcdir}:/:/g
22057 s/:@srcdir@:/:/g
22058 s/^:*//
22059 s/:*$//
22060 x
22061 s/\(=[ ]*\).*/\1/
22062 G
22063 s/\n//
22064 s/^[^=]*=[ ]*$//
22065 }'
22066 fi
22067
22068 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22069 fi # test -n "$CONFIG_FILES"
22070
22071 # Set up the scripts for CONFIG_HEADERS section.
22072 # No need to generate them if there are no CONFIG_HEADERS.
22073 # This happens for instance with `./config.status Makefile'.
22074 if test -n "$CONFIG_HEADERS"; then
22075 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22076 BEGIN {
22077 _ACEOF
22078
22079 # Transform confdefs.h into an awk script `defines.awk', embedded as
22080 # here-document in config.status, that substitutes the proper values into
22081 # config.h.in to produce config.h.
22082
22083 # Create a delimiter string that does not exist in confdefs.h, to ease
22084 # handling of long lines.
22085 ac_delim='%!_!# '
22086 for ac_last_try in false false :; do
22087 ac_tt=`sedscip-shell system . . sed. -n "/$ac_delim/p" confdefs.h`
22088 if testscip-shell system . . test. -z "$ac_tt"; then
22089 break
22090 elif $ac_last_try; then
22091 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22092 else
22093 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22094 fi
22095 done
22096
22097 # For the awk script, D is an array of macro values keyed by name,
22098 # likewise P contains macro parameters if any. Preserve backslash
22099 # newline sequences.
22100
22101 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22102 sedscip-shell system . . sed. -n '
22103 s/.\{148\}/&'"$ac_delim"'/g
22104 t rset
22105 :rset
22106 s/^[ ]*#[ ]*define[ ][ ]*/ /
22107 t def
22108 d
22109 :def
22110 s/\\$//
22111 t bsnl
22112 s/["\\]/\\&/g
22113 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22114 D["\1"]=" \3"/p
22115 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22116 d
22117 :bsnl
22118 s/["\\]/\\&/g
22119 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22120 D["\1"]=" \3\\\\\\n"\\/p
22121 t cont
22122 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22123 t cont
22124 d
22125 :cont
22126 n
22127 s/.\{148\}/&'"$ac_delim"'/g
22128 t clear
22129 :clear
22130 s/\\$//
22131 t bsnlc
22132 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22133 d
22134 :bsnlc
22135 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22136 b cont
22137 ' <confdefs.h | sedscip-shell system . . sed. '
22138 s/'"$ac_delim"'/"\\\
22139 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22140
22141 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22142 for (key in D) D_is_set[key] = 1
22143 FS = ""
22144 }
22145 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22146 line = \$ 0
22147 split(line, arg, " ")
22148 if (arg[1] == "#") {
22149 defundef = arg[2]
22150 mac1 = arg[3]
22151 } else {
22152 defundef = substr(arg[1], 2)
22153 mac1 = arg[2]
22154 }
22155 split(mac1, mac2, "(") #)
22156 macro = mac2[1]
22157 prefix = substr(line, 1, index(line, defundef) - 1)
22158 if (D_is_set[macro]) {
22159 # Preserve the white space surrounding the "#".
22160 print prefix "define", macro P[macro] D[macro]
22161 next
22162 } else {
22163 # Replace #undef with comments. This is necessary, for example,
22164 # in the case of _POSIX_SOURCE, which is predefined and required
22165 # on some systems where configure will not decide to define it.
22166 if (defundef == "undef") {
22167 print "/*", prefix defundef, macro, "*/"
22168 next
22169 }
22170 }
22171 }
22172 { print }
22173 _ACAWK
22174 _ACEOF
22175 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22176 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22177 fi # test -n "$CONFIG_HEADERS"
22178
22179
22180 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22181 shift
22182 for ac_tag
22183 do
22184 case $ac_tag in
22185 :[FHLC]) ac_mode=$ac_tag; continue;;
22186 esac
22187 case $ac_mode$ac_tag in
22188 :[FHL]*:*);;
22189 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22190 :[FH]-) ac_tag=-:-;;
22191 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22192 esac
22193 ac_save_IFS=$IFS
22194 IFS=:
22195 set x $ac_tag
22196 IFS=$ac_save_IFS
22197 shift
22198 ac_file=$1
22199 shift
22200
22201 case $ac_mode in
22202 :L) ac_source=$1;;
22203 :[FH])
22204 ac_file_inputs=
22205 for ac_f
22206 do
22207 case $ac_f in
22208 -) ac_f="$ac_tmp/stdin";;
22209 *) # Look for the file first in the build tree, then in the source tree
22210 # (if the path is not absolute). The absolute path cannot be DOS-style,
22211 # because $ac_f cannot contain `:'.
22212 test -f "$ac_f" ||
22213 case $ac_f in
22214 [\\/$]*) false;;
22215 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22216 esac ||
22217 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22218 esac
22219 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22220 as_fn_append ac_file_inputs " '$ac_f'"
22221 done
22222
22223 # Let's still pretend it is `configure' which instantiates (i.e., don't
22224 # use $as_me), people would be surprised to read:
22225 # /* config.h. Generated by config.status. */
22226 configure_input='Generated from '`
22227 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22228 `' by configure.'
22229 if test x"$ac_file" != x-; then
22230 configure_input="$ac_file. $configure_input"
22231 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22232 $as_echo "$as_me: creating $ac_file" >&6;}
22233 fi
22234 # Neutralize special characters interpreted by sed in replacement strings.
22235 case $configure_input in #(
22236 *\&* | *\|* | *\\* )
22237 ac_sed_conf_input=`$as_echo "$configure_input" |
22238 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22239 *) ac_sed_conf_input=$configure_input;;
22240 esac
22241
22242 case $ac_tag in
22243 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22244 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22245 esac
22246 ;;
22247 esac
22248
22249 ac_dir=`$as_dirname -- "$ac_file" ||
22250 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22251 X"$ac_file" : 'X\(//\)[^/]' \| \
22252 X"$ac_file" : 'X\(//\)$' \| \
22253 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22254 $as_echo X"$ac_file" |
22255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22256 s//\1/
22257 q
22258 }
22259 /^X\(\/\/\)[^/].*/{
22260 s//\1/
22261 q
22262 }
22263 /^X\(\/\/\)$/{
22264 s//\1/
22265 q
22266 }
22267 /^X\(\/\).*/{
22268 s//\1/
22269 q
22270 }
22271 s/.*/./; q'`
22272 as_dir="$ac_dir"; as_fn_mkdir_p
22273 ac_builddir=.
22274
22275 case "$ac_dir" in
22276 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22277 *)
22278 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22279 # A ".." for each directory in $ac_dir_suffix.
22280 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22281 case $ac_top_builddir_sub in
22282 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22283 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22284 esac ;;
22285 esac
22286 ac_abs_top_builddir=$ac_pwd
22287 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22288 # for backward compatibility:
22289 ac_top_builddir=$ac_top_build_prefix
22290
22291 case $srcdir in
22292 .) # We are building in place.
22293 ac_srcdir=.
22294 ac_top_srcdir=$ac_top_builddir_sub
22295 ac_abs_top_srcdir=$ac_pwd ;;
22296 [\\/]* | ?:[\\/]* ) # Absolute name.
22297 ac_srcdir=$srcdir$ac_dir_suffix;
22298 ac_top_srcdir=$srcdir
22299 ac_abs_top_srcdir=$srcdir ;;
22300 *) # Relative name.
22301 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22302 ac_top_srcdir=$ac_top_build_prefix$srcdir
22303 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22304 esac
22305 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22306
22307
22308 case $ac_mode in
22309 :F)
22310 #
22311 # CONFIG_FILE
22312 #
22313
22314 case $INSTALL in
22315 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22316 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22317 esac
22318 ac_MKDIR_P=$MKDIR_P
22319 case $MKDIR_P in
22320 [\\/$]* | ?:[\\/]* ) ;;
22321 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
22322 esac
22323 _ACEOF
22324
22325 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22326 # If the template does not know about datarootdir, expand it.
22327 # FIXME: This hack should be removed a few years after 2.60.
22328 ac_datarootdir_hack=; ac_datarootdir_seen=
22329 ac_sed_dataroot='
22330 /datarootdir/ {
22331 p
22332 q
22333 }
22334 /@datadir@/p
22335 /@docdir@/p
22336 /@infodir@/p
22337 /@localedir@/p
22338 /@mandir@/p'
22339 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22340 *datarootdir*) ac_datarootdir_seen=yes;;
22341 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22343 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22344 _ACEOF
22345 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22346 ac_datarootdir_hack='
22347 s&@datadir@&$datadir&g
22348 s&@docdir@&$docdir&g
22349 s&@infodir@&$infodir&g
22350 s&@localedir@&$localedir&g
22351 s&@mandir@&$mandir&g
22352 s&\\\${datarootdir}&$datarootdir&g' ;;
22353 esac
22354 _ACEOF
22355
22356 # Neutralize VPATH when `$srcdir' = `.'.
22357 # Shell code in configure.ac might set extrasub.
22358 # FIXME: do we really want to maintain this feature?
22359 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22360 ac_sed_extra="$ac_vpsub
22361 $extrasub
22362 _ACEOF
22363 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22364 :t
22365 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22366 s|@configure_input@|$ac_sed_conf_input|;t t
22367 s&@top_builddir@&$ac_top_builddir_sub&;t t
22368 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22369 s&@srcdir@&$ac_srcdir&;t t
22370 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22371 s&@top_srcdir@&$ac_top_srcdir&;t t
22372 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22373 s&@builddir@&$ac_builddir&;t t
22374 s&@abs_builddir@&$ac_abs_builddir&;t t
22375 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22376 s&@INSTALL@&$ac_INSTALL&;t t
22377 s&@MKDIR_P@&$ac_MKDIR_P&;t t
22378 $ac_datarootdir_hack
22379 "
22380 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22381 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22382
22383 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22384 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22385 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22386 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22388 which seems to be undefined. Please make sure it is defined" >&5
22389 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22390 which seems to be undefined. Please make sure it is defined" >&2;}
22391
22392 rm -f "$ac_tmp/stdin"
22393 case $ac_file in
22394 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22395 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22396 esac \
22397 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22398 ;;
22399 :H)
22400 #
22401 # CONFIG_HEADER
22402 #
22403 if test x"$ac_file" != x-; then
22404 {
22405 $as_echo "/* $configure_input */" \
22406 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22407 } >"$ac_tmp/config.h" \
22408 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22409 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22410 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22411 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22412 else
22413 rm -f "$ac_file"
22414 mv "$ac_tmp/config.h" "$ac_file" \
22415 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22416 fi
22417 else
22418 $as_echo "/* $configure_input */" \
22419 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22420 || as_fn_error $? "could not create -" "$LINENO" 5
22421 fi
22422 # Compute "$ac_file"'s index in $config_headers.
22423 _am_arg="$ac_file"
22424 _am_stamp_count=1
22425 for _am_header in $config_headers :; do
22426 case $_am_header in
22427 $_am_arg | $_am_arg:* )
22428 break ;;
22429 * )
22430 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22431 esac
22432 done
22433 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22434 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22435 X"$_am_arg" : 'X\(//\)[^/]' \| \
22436 X"$_am_arg" : 'X\(//\)$' \| \
22437 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22438 $as_echo X"$_am_arg" |
22439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22440 s//\1/
22441 q
22442 }
22443 /^X\(\/\/\)[^/].*/{
22444 s//\1/
22445 q
22446 }
22447 /^X\(\/\/\)$/{
22448 s//\1/
22449 q
22450 }
22451 /^X\(\/\).*/{
22452 s//\1/
22453 q
22454 }
22455 s/.*/./; q'`/stamp-h$_am_stamp_count
22456 ;;
22457
22458 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22459 $as_echo "$as_me: executing $ac_file commands" >&6;}
22460 ;;
22461 esac
22462
22463
22464 case $ac_file$ac_mode in
22465 "generated/CppUTestGeneratedConfig.h":C) ac_prefix_conf_OUT=`echo generated/CppUTestGeneratedConfig.h`
22466 ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"`
22467 ac_prefix_conf_PKG=`echo $PACKAGE`
22468 ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
22469 ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"`
22470 ac_prefix_conf_INP=`echo "" | sed -e 's/ *//'`
22471 if test ".$ac_prefix_conf_INP" = "."; then
22472 for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue
22473 case "$ac_file" in
22474 *.h) ac_prefix_conf_INP=$ac_file ;;
22475 *)
22476 esac
22477 test ".$ac_prefix_conf_INP" != "." && break
22478 done
22479 fi
22480 if test ".$ac_prefix_conf_INP" = "."; then
22481 case "$ac_prefix_conf_OUT" in
22482 */*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"`
22483 ;;
22484 *-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"`
22485 ;;
22486 *) ac_prefix_conf_INP=config.h
22487 ;;
22488 esac
22489 fi
22490 if test -z "$ac_prefix_conf_PKG" ; then
22491 as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5
22492 else
22493 if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
22494 ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP"
22495 fi fi
22496 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
22497 $as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
22498 if test -f $ac_prefix_conf_INP ; then
22499 $as_echo "s/^#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
22500 $as_echo "s/^#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
22501 $as_echo "s/^#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1\\" >> conftest.prefix
22502 $as_echo "#define $ac_prefix_conf_UPP""_\\1\\2\\" >> conftest.prefix
22503 $as_echo "#endif/" >> conftest.prefix
22504 $as_echo "s/^#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1\\" >> conftest.prefix
22505 $as_echo "#define $ac_prefix_conf_LOW""_\\1\\2\\" >> conftest.prefix
22506 $as_echo "#endif/" >> conftest.prefix
22507 # now executing _script on _DEF input to create _OUT output file
22508 echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h
22509 echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
22510 echo ' ' >>$tmp/pconfig.h
22511 echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h
22512
22513 sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h
22514 echo ' ' >>$tmp/pconfig.h
22515 echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
22516 echo "#endif" >>$tmp/pconfig.h
22517 if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then
22518 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5
22519 $as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
22520 else
22521 ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" ||
22522 $as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22523 X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
22524 X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
22525 X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
22526 $as_echo X"$ac_prefix_conf_OUT" |
22527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22528 s//\1/
22529 q
22530 }
22531 /^X\(\/\/\)[^/].*/{
22532 s//\1/
22533 q
22534 }
22535 /^X\(\/\/\)$/{
22536 s//\1/
22537 q
22538 }
22539 /^X\(\/\).*/{
22540 s//\1/
22541 q
22542 }
22543 s/.*/./; q'`
22544 as_dir="$ac_dir"; as_fn_mkdir_p
22545 rm -f "$ac_prefix_conf_OUT"
22546 mv $tmp/pconfig.h "$ac_prefix_conf_OUT"
22547 fi
22548 else
22549 as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5
22550 fi
22551 rm -f conftest.*
22552 fi
22553 ;;
22554 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
22555 # Older Autoconf quotes --file arguments for eval, but not when files
22556 # are listed without --file. Let's play safe and only enable the eval
22557 # if we detect the quoting.
22558 # TODO: see whether this extra hack can be removed once we start
22559 # requiring Autoconf 2.70 or later.
22560 case $CONFIG_FILES in #(
22561 *\'*) :
22562 eval set x "$CONFIG_FILES" ;; #(
22563 *) :
22564 set x $CONFIG_FILES ;; #(
22565 *) :
22566 ;;
22567 esac
22568 shift
22569 # Used to flag and report bootstrapping failures.
22570 am_rc=0
22571 for am_mf
22572 do
22573 # Strip MF so we end up with the name of the file.
22574 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
22575 # Check whether this is an Automake generated Makefile which includes
22576 # dependency-tracking related rules and includes.
22577 # Grep'ing the whole file directly is not great: AIX grep has a line
22578 # limit of 2048, but all sed's we know have understand at least 4000.
22579 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
22580 || continue
22581 am_dirpart=`$as_dirname -- "$am_mf" ||
22582 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22583 X"$am_mf" : 'X\(//\)[^/]' \| \
22584 X"$am_mf" : 'X\(//\)$' \| \
22585 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
22586 $as_echo X"$am_mf" |
22587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22588 s//\1/
22589 q
22590 }
22591 /^X\(\/\/\)[^/].*/{
22592 s//\1/
22593 q
22594 }
22595 /^X\(\/\/\)$/{
22596 s//\1/
22597 q
22598 }
22599 /^X\(\/\).*/{
22600 s//\1/
22601 q
22602 }
22603 s/.*/./; q'`
22604 am_filepart=`$as_basename -- "$am_mf" ||
22605 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
22606 X"$am_mf" : 'X\(//\)$' \| \
22607 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
22608 $as_echo X/"$am_mf" |
22609 sed '/^.*\/\([^/][^/]*\)\/*$/{
22610 s//\1/
22611 q
22612 }
22613 /^X\/\(\/\/\)$/{
22614 s//\1/
22615 q
22616 }
22617 /^X\/\(\/\).*/{
22618 s//\1/
22619 q
22620 }
22621 s/.*/./; q'`
22622 { echo "$as_me:$LINENO: cd "$am_dirpart" \
22623 && sed -e '/# am--include-marker/d' "$am_filepart" \
22624 | $MAKE -f - am--depfiles" >&5
22625 (cd "$am_dirpart" \
22626 && sed -e '/# am--include-marker/d' "$am_filepart" \
22627 | $MAKE -f - am--depfiles) >&5 2>&5
22628 ac_status=$?
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); } || am_rc=$?
22631 done
22632 if test $am_rc -ne 0; then
22633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22635 as_fn_error $? "Something went wrong bootstrapping makefile fragments
22636 for automatic dependency tracking. If GNU make was not used, consider
22637 re-running the configure script with MAKE=\"gmake\" (or whatever is
22638 necessary). You can also try re-running configure with the
22639 '--disable-dependency-tracking' option to at least be able to build
22640 the package (albeit without support for automatic dependency tracking).
22641 See \`config.log' for more details" "$LINENO" 5; }
22642 fi
22643 { am_dirpart=; unset am_dirpart;}
22644 { am_filepart=; unset am_filepart;}
22645 { am_mf=; unset am_mf;}
22646 { am_rc=; unset am_rc;}
22647 rm -f conftest-deps.mk
22648 }
22649 ;;
22650 "libtool":C)
22651
22652 # See if we are running on zsh, and set the options that allow our
22653 # commands through without removal of \ escapes.
22654 if test -n "${ZSH_VERSION+set}"; then
22655 setopt NO_GLOB_SUBST
22656 fi
22657
22658 cfgfile=${ofile}T
22659 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22660 $RM "$cfgfile"
22661
22662 cat <<_LT_EOF >> "$cfgfile"
22663 #! $SHELL
22664 # Generated automatically by $as_me ($PACKAGE) $VERSION
22665 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22666 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22667
22668 # Provide generalized library-building support services.
22669 # Written by Gordon Matzigkeit, 1996
22670
22671 # Copyright (C) 2014 Free Software Foundation, Inc.
22672 # This is free software; see the source for copying conditions. There is NO
22673 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22674
22675 # GNU Libtool is free software; you can redistribute it and/or modify
22676 # it under the terms of the GNU General Public License as published by
22677 # the Free Software Foundation; either version 2 of of the License, or
22678 # (at your option) any later version.
22679 #
22680 # As a special exception to the GNU General Public License, if you
22681 # distribute this file as part of a program or library that is built
22682 # using GNU Libtool, you may include this file under the same
22683 # distribution terms that you use for the rest of that program.
22684 #
22685 # GNU Libtool is distributed in the hope that it will be useful, but
22686 # WITHOUT ANY WARRANTY; without even the implied warranty of
22687 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22688 # GNU General Public License for more details.
22689 #
22690 # You should have received a copy of the GNU General Public License
22691 # along with this program. If not, see <http://www.gnu.org/licenses/>.
22692
22693
22694 # The names of the tagged configurations supported by this script.
22695 available_tags='CXX '
22696
22697 # Configured defaults for sys_lib_dlsearch_path munging.
22698 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
22699
22700 # ### BEGIN LIBTOOL CONFIG
22701
22702 # Which release of libtool.m4 was used?
22703 macro_version=$macro_version
22704 macro_revision=$macro_revision
22705
22706 # Whether or not to build shared libraries.
22707 build_libtool_libs=$enable_shared
22708
22709 # Whether or not to build static libraries.
22710 build_old_libs=$enable_static
22711
22712 # What type of objects to build.
22713 pic_mode=$pic_mode
22714
22715 # Whether or not to optimize for fast installation.
22716 fast_install=$enable_fast_install
22717
22718 # Shared archive member basename,for filename based shared library versioning on AIX.
22719 shared_archive_member_spec=$shared_archive_member_spec
22720
22721 # Shell to use when invoking shell scripts.
22722 SHELL=$lt_SHELL
22723
22724 # An echo program that protects backslashes.
22725 ECHO=$lt_ECHO
22726
22727 # The PATH separator for the build system.
22728 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22729
22730 # The host system.
22731 host_alias=$host_alias
22732 host=$host
22733 host_os=$host_os
22734
22735 # The build system.
22736 build_alias=$build_alias
22737 build=$build
22738 build_os=$build_os
22739
22740 # A sed program that does not truncate output.
22741 SED=$lt_SED
22742
22743 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22744 Xsed="\$SED -e 1s/^X//"
22745
22746 # A grep program that handles long lines.
22747 GREP=$lt_GREP
22748
22749 # An ERE matcher.
22750 EGREP=$lt_EGREP
22751
22752 # A literal string matcher.
22753 FGREP=$lt_FGREP
22754
22755 # A BSD- or MS-compatible name lister.
22756 NM=$lt_NM
22757
22758 # Whether we need soft or hard links.
22759 LN_S=$lt_LN_S
22760
22761 # What is the maximum length of a command?
22762 max_cmd_len=$max_cmd_len
22763
22764 # Object file suffix (normally "o").
22765 objext=$ac_objext
22766
22767 # Executable file suffix (normally "").
22768 exeext=$exeext
22769
22770 # whether the shell understands "unset".
22771 lt_unset=$lt_unset
22772
22773 # turn spaces into newlines.
22774 SP2NL=$lt_lt_SP2NL
22775
22776 # turn newlines into spaces.
22777 NL2SP=$lt_lt_NL2SP
22778
22779 # convert \$build file names to \$host format.
22780 to_host_file_cmd=$lt_cv_to_host_file_cmd
22781
22782 # convert \$build files to toolchain format.
22783 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22784
22785 # An object symbol dumper.
22786 OBJDUMP=$lt_OBJDUMP
22787
22788 # Method to check whether dependent libraries are shared objects.
22789 deplibs_check_method=$lt_deplibs_check_method
22790
22791 # Command to use when deplibs_check_method = "file_magic".
22792 file_magic_cmd=$lt_file_magic_cmd
22793
22794 # How to find potential files when deplibs_check_method = "file_magic".
22795 file_magic_glob=$lt_file_magic_glob
22796
22797 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22798 want_nocaseglob=$lt_want_nocaseglob
22799
22800 # DLL creation program.
22801 DLLTOOL=$lt_DLLTOOL
22802
22803 # Command to associate shared and link libraries.
22804 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22805
22806 # The archiver.
22807 AR=$lt_AR
22808
22809 # Flags to create an archive.
22810 AR_FLAGS=$lt_AR_FLAGS
22811
22812 # How to feed a file listing to the archiver.
22813 archiver_list_spec=$lt_archiver_list_spec
22814
22815 # A symbol stripping program.
22816 STRIP=$lt_STRIP
22817
22818 # Commands used to install an old-style archive.
22819 RANLIB=$lt_RANLIB
22820 old_postinstall_cmds=$lt_old_postinstall_cmds
22821 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22822
22823 # Whether to use a lock for old archive extraction.
22824 lock_old_archive_extraction=$lock_old_archive_extraction
22825
22826 # A C compiler.
22827 LTCC=$lt_CC
22828
22829 # LTCC compiler flags.
22830 LTCFLAGS=$lt_CFLAGS
22831
22832 # Take the output of nm and produce a listing of raw symbols and C names.
22833 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22834
22835 # Transform the output of nm in a proper C declaration.
22836 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22837
22838 # Transform the output of nm into a list of symbols to manually relocate.
22839 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
22840
22841 # Transform the output of nm in a C name address pair.
22842 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22843
22844 # Transform the output of nm in a C name address pair when lib prefix is needed.
22845 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22846
22847 # The name lister interface.
22848 nm_interface=$lt_lt_cv_nm_interface
22849
22850 # Specify filename containing input files for \$NM.
22851 nm_file_list_spec=$lt_nm_file_list_spec
22852
22853 # The root where to search for dependent libraries,and where our libraries should be installed.
22854 lt_sysroot=$lt_sysroot
22855
22856 # Command to truncate a binary pipe.
22857 lt_truncate_bin=$lt_lt_cv_truncate_bin
22858
22859 # The name of the directory that contains temporary libtool files.
22860 objdir=$objdir
22861
22862 # Used to examine libraries when file_magic_cmd begins with "file".
22863 MAGIC_CMD=$MAGIC_CMD
22864
22865 # Must we lock files when doing compilation?
22866 need_locks=$lt_need_locks
22867
22868 # Manifest tool.
22869 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22870
22871 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22872 DSYMUTIL=$lt_DSYMUTIL
22873
22874 # Tool to change global to local symbols on Mac OS X.
22875 NMEDIT=$lt_NMEDIT
22876
22877 # Tool to manipulate fat objects and archives on Mac OS X.
22878 LIPO=$lt_LIPO
22879
22880 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22881 OTOOL=$lt_OTOOL
22882
22883 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22884 OTOOL64=$lt_OTOOL64
22885
22886 # Old archive suffix (normally "a").
22887 libext=$libext
22888
22889 # Shared library suffix (normally ".so").
22890 shrext_cmds=$lt_shrext_cmds
22891
22892 # The commands to extract the exported symbol list from a shared archive.
22893 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22894
22895 # Variables whose values should be saved in libtool wrapper scripts and
22896 # restored at link time.
22897 variables_saved_for_relink=$lt_variables_saved_for_relink
22898
22899 # Do we need the "lib" prefix for modules?
22900 need_lib_prefix=$need_lib_prefix
22901
22902 # Do we need a version for libraries?
22903 need_version=$need_version
22904
22905 # Library versioning type.
22906 version_type=$version_type
22907
22908 # Shared library runtime path variable.
22909 runpath_var=$runpath_var
22910
22911 # Shared library path variable.
22912 shlibpath_var=$shlibpath_var
22913
22914 # Is shlibpath searched before the hard-coded library search path?
22915 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22916
22917 # Format of library name prefix.
22918 libname_spec=$lt_libname_spec
22919
22920 # List of archive names. First name is the real one, the rest are links.
22921 # The last name is the one that the linker finds with -lNAME
22922 library_names_spec=$lt_library_names_spec
22923
22924 # The coded name of the library, if different from the real name.
22925 soname_spec=$lt_soname_spec
22926
22927 # Permission mode override for installation of shared libraries.
22928 install_override_mode=$lt_install_override_mode
22929
22930 # Command to use after installation of a shared archive.
22931 postinstall_cmds=$lt_postinstall_cmds
22932
22933 # Command to use after uninstallation of a shared archive.
22934 postuninstall_cmds=$lt_postuninstall_cmds
22935
22936 # Commands used to finish a libtool library installation in a directory.
22937 finish_cmds=$lt_finish_cmds
22938
22939 # As "finish_cmds", except a single script fragment to be evaled but
22940 # not shown.
22941 finish_eval=$lt_finish_eval
22942
22943 # Whether we should hardcode library paths into libraries.
22944 hardcode_into_libs=$hardcode_into_libs
22945
22946 # Compile-time system search path for libraries.
22947 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22948
22949 # Detected run-time system search path for libraries.
22950 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
22951
22952 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
22953 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
22954
22955 # Whether dlopen is supported.
22956 dlopen_support=$enable_dlopen
22957
22958 # Whether dlopen of programs is supported.
22959 dlopen_self=$enable_dlopen_self
22960
22961 # Whether dlopen of statically linked programs is supported.
22962 dlopen_self_static=$enable_dlopen_self_static
22963
22964 # Commands to strip libraries.
22965 old_striplib=$lt_old_striplib
22966 striplib=$lt_striplib
22967
22968
22969 # The linker used to build libraries.
22970 LD=$lt_LD
22971
22972 # How to create reloadable object files.
22973 reload_flag=$lt_reload_flag
22974 reload_cmds=$lt_reload_cmds
22975
22976 # Commands used to build an old-style archive.
22977 old_archive_cmds=$lt_old_archive_cmds
22978
22979 # A language specific compiler.
22980 CC=$lt_compiler
22981
22982 # Is the compiler the GNU compiler?
22983 with_gcc=$GCC
22984
22985 # Compiler flag to turn off builtin functions.
22986 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22987
22988 # Additional compiler flags for building library objects.
22989 pic_flag=$lt_lt_prog_compiler_pic
22990
22991 # How to pass a linker flag through the compiler.
22992 wl=$lt_lt_prog_compiler_wl
22993
22994 # Compiler flag to prevent dynamic linking.
22995 link_static_flag=$lt_lt_prog_compiler_static
22996
22997 # Does compiler simultaneously support -c and -o options?
22998 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22999
23000 # Whether or not to add -lc for building shared libraries.
23001 build_libtool_need_lc=$archive_cmds_need_lc
23002
23003 # Whether or not to disallow shared libs when runtime libs are static.
23004 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23005
23006 # Compiler flag to allow reflexive dlopens.
23007 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23008
23009 # Compiler flag to generate shared objects directly from archives.
23010 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23011
23012 # Whether the compiler copes with passing no objects directly.
23013 compiler_needs_object=$lt_compiler_needs_object
23014
23015 # Create an old-style archive from a shared archive.
23016 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23017
23018 # Create a temporary old-style archive to link instead of a shared archive.
23019 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23020
23021 # Commands used to build a shared archive.
23022 archive_cmds=$lt_archive_cmds
23023 archive_expsym_cmds=$lt_archive_expsym_cmds
23024
23025 # Commands used to build a loadable module if different from building
23026 # a shared archive.
23027 module_cmds=$lt_module_cmds
23028 module_expsym_cmds=$lt_module_expsym_cmds
23029
23030 # Whether we are building with GNU ld or not.
23031 with_gnu_ld=$lt_with_gnu_ld
23032
23033 # Flag that allows shared libraries with undefined symbols to be built.
23034 allow_undefined_flag=$lt_allow_undefined_flag
23035
23036 # Flag that enforces no undefined symbols.
23037 no_undefined_flag=$lt_no_undefined_flag
23038
23039 # Flag to hardcode \$libdir into a binary during linking.
23040 # This must work even if \$libdir does not exist
23041 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23042
23043 # Whether we need a single "-rpath" flag with a separated argument.
23044 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23045
23046 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23047 # DIR into the resulting binary.
23048 hardcode_direct=$hardcode_direct
23049
23050 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23051 # DIR into the resulting binary and the resulting library dependency is
23052 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23053 # library is relocated.
23054 hardcode_direct_absolute=$hardcode_direct_absolute
23055
23056 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23057 # into the resulting binary.
23058 hardcode_minus_L=$hardcode_minus_L
23059
23060 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23061 # into the resulting binary.
23062 hardcode_shlibpath_var=$hardcode_shlibpath_var
23063
23064 # Set to "yes" if building a shared library automatically hardcodes DIR
23065 # into the library and all subsequent libraries and executables linked
23066 # against it.
23067 hardcode_automatic=$hardcode_automatic
23068
23069 # Set to yes if linker adds runtime paths of dependent libraries
23070 # to runtime path list.
23071 inherit_rpath=$inherit_rpath
23072
23073 # Whether libtool must link a program against all its dependency libraries.
23074 link_all_deplibs=$link_all_deplibs
23075
23076 # Set to "yes" if exported symbols are required.
23077 always_export_symbols=$always_export_symbols
23078
23079 # The commands to list exported symbols.
23080 export_symbols_cmds=$lt_export_symbols_cmds
23081
23082 # Symbols that should not be listed in the preloaded symbols.
23083 exclude_expsyms=$lt_exclude_expsyms
23084
23085 # Symbols that must always be exported.
23086 include_expsyms=$lt_include_expsyms
23087
23088 # Commands necessary for linking programs (against libraries) with templates.
23089 prelink_cmds=$lt_prelink_cmds
23090
23091 # Commands necessary for finishing linking programs.
23092 postlink_cmds=$lt_postlink_cmds
23093
23094 # Specify filename containing input files.
23095 file_list_spec=$lt_file_list_spec
23096
23097 # How to hardcode a shared library path into an executable.
23098 hardcode_action=$hardcode_action
23099
23100 # The directories searched by this compiler when creating a shared library.
23101 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23102
23103 # Dependencies to place before and after the objects being linked to
23104 # create a shared library.
23105 predep_objects=$lt_predep_objects
23106 postdep_objects=$lt_postdep_objects
23107 predeps=$lt_predeps
23108 postdeps=$lt_postdeps
23109
23110 # The library search path used internally by the compiler when linking
23111 # a shared library.
23112 compiler_lib_search_path=$lt_compiler_lib_search_path
23113
23114 # ### END LIBTOOL CONFIG
23115
23116 _LT_EOF
23117
23118 cat <<'_LT_EOF' >> "$cfgfile"
23119
23120 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
23121
23122 # func_munge_path_list VARIABLE PATH
23123 # -----------------------------------
23124 # VARIABLE is name of variable containing _space_ separated list of
23125 # directories to be munged by the contents of PATH, which is string
23126 # having a format:
23127 # "DIR[:DIR]:"
23128 # string "DIR[ DIR]" will be prepended to VARIABLE
23129 # ":DIR[:DIR]"
23130 # string "DIR[ DIR]" will be appended to VARIABLE
23131 # "DIRP[:DIRP]::[DIRA:]DIRA"
23132 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
23133 # "DIRA[ DIRA]" will be appended to VARIABLE
23134 # "DIR[:DIR]"
23135 # VARIABLE will be replaced by "DIR[ DIR]"
23136 func_munge_path_list ()
23137 {
23138 case x$2 in
23139 x)
23140 ;;
23141 *:)
23142 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
23143 ;;
23144 x:*)
23145 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
23146 ;;
23147 *::*)
23148 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
23149 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
23150 ;;
23151 *)
23152 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
23153 ;;
23154 esac
23155 }
23156
23157
23158 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
23159 func_cc_basename ()
23160 {
23161 for cc_temp in $*""; do
23162 case $cc_temp in
23163 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23164 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23165 \-*) ;;
23166 *) break;;
23167 esac
23168 done
23169 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
23170 }
23171
23172
23173 # ### END FUNCTIONS SHARED WITH CONFIGURE
23174
23175 _LT_EOF
23176
23177 case $host_os in
23178 aix3*)
23179 cat <<\_LT_EOF >> "$cfgfile"
23180 # AIX sometimes has problems with the GCC collect2 program. For some
23181 # reason, if we set the COLLECT_NAMES environment variable, the problems
23182 # vanish in a puff of smoke.
23183 if test set != "${COLLECT_NAMES+set}"; then
23184 COLLECT_NAMES=
23185 export COLLECT_NAMES
23186 fi
23187 _LT_EOF
23188 ;;
23189 esac
23190
23191
23192 ltmain=$ac_aux_dir/ltmain.sh
23193
23194
23195 # We use sed instead of cat because bash on DJGPP gets confused if
23196 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23197 # text mode, it properly converts lines to CR/LF. This bash problem
23198 # is reportedly fixed, but why not run on old versions too?
23199 sed '$q' "$ltmain" >> "$cfgfile" \
23200 || (rm -f "$cfgfile"; exit 1)
23201
23202 mv -f "$cfgfile" "$ofile" ||
23203 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23204 chmod +x "$ofile"
23205
23206
23207 cat <<_LT_EOF >> "$ofile"
23208
23209 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23210
23211 # The linker used to build libraries.
23212 LD=$lt_LD_CXX
23213
23214 # How to create reloadable object files.
23215 reload_flag=$lt_reload_flag_CXX
23216 reload_cmds=$lt_reload_cmds_CXX
23217
23218 # Commands used to build an old-style archive.
23219 old_archive_cmds=$lt_old_archive_cmds_CXX
23220
23221 # A language specific compiler.
23222 CC=$lt_compiler_CXX
23223
23224 # Is the compiler the GNU compiler?
23225 with_gcc=$GCC_CXX
23226
23227 # Compiler flag to turn off builtin functions.
23228 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23229
23230 # Additional compiler flags for building library objects.
23231 pic_flag=$lt_lt_prog_compiler_pic_CXX
23232
23233 # How to pass a linker flag through the compiler.
23234 wl=$lt_lt_prog_compiler_wl_CXX
23235
23236 # Compiler flag to prevent dynamic linking.
23237 link_static_flag=$lt_lt_prog_compiler_static_CXX
23238
23239 # Does compiler simultaneously support -c and -o options?
23240 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23241
23242 # Whether or not to add -lc for building shared libraries.
23243 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23244
23245 # Whether or not to disallow shared libs when runtime libs are static.
23246 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23247
23248 # Compiler flag to allow reflexive dlopens.
23249 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23250
23251 # Compiler flag to generate shared objects directly from archives.
23252 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23253
23254 # Whether the compiler copes with passing no objects directly.
23255 compiler_needs_object=$lt_compiler_needs_object_CXX
23256
23257 # Create an old-style archive from a shared archive.
23258 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23259
23260 # Create a temporary old-style archive to link instead of a shared archive.
23261 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23262
23263 # Commands used to build a shared archive.
23264 archive_cmds=$lt_archive_cmds_CXX
23265 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23266
23267 # Commands used to build a loadable module if different from building
23268 # a shared archive.
23269 module_cmds=$lt_module_cmds_CXX
23270 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23271
23272 # Whether we are building with GNU ld or not.
23273 with_gnu_ld=$lt_with_gnu_ld_CXX
23274
23275 # Flag that allows shared libraries with undefined symbols to be built.
23276 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23277
23278 # Flag that enforces no undefined symbols.
23279 no_undefined_flag=$lt_no_undefined_flag_CXX
23280
23281 # Flag to hardcode \$libdir into a binary during linking.
23282 # This must work even if \$libdir does not exist
23283 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23284
23285 # Whether we need a single "-rpath" flag with a separated argument.
23286 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23287
23288 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23289 # DIR into the resulting binary.
23290 hardcode_direct=$hardcode_direct_CXX
23291
23292 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23293 # DIR into the resulting binary and the resulting library dependency is
23294 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23295 # library is relocated.
23296 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23297
23298 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23299 # into the resulting binary.
23300 hardcode_minus_L=$hardcode_minus_L_CXX
23301
23302 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23303 # into the resulting binary.
23304 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23305
23306 # Set to "yes" if building a shared library automatically hardcodes DIR
23307 # into the library and all subsequent libraries and executables linked
23308 # against it.
23309 hardcode_automatic=$hardcode_automatic_CXX
23310
23311 # Set to yes if linker adds runtime paths of dependent libraries
23312 # to runtime path list.
23313 inherit_rpath=$inherit_rpath_CXX
23314
23315 # Whether libtool must link a program against all its dependency libraries.
23316 link_all_deplibs=$link_all_deplibs_CXX
23317
23318 # Set to "yes" if exported symbols are required.
23319 always_export_symbols=$always_export_symbols_CXX
23320
23321 # The commands to list exported symbols.
23322 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23323
23324 # Symbols that should not be listed in the preloaded symbols.
23325 exclude_expsyms=$lt_exclude_expsyms_CXX
23326
23327 # Symbols that must always be exported.
23328 include_expsyms=$lt_include_expsyms_CXX
23329
23330 # Commands necessary for linking programs (against libraries) with templates.
23331 prelink_cmds=$lt_prelink_cmds_CXX
23332
23333 # Commands necessary for finishing linking programs.
23334 postlink_cmds=$lt_postlink_cmds_CXX
23335
23336 # Specify filename containing input files.
23337 file_list_spec=$lt_file_list_spec_CXX
23338
23339 # How to hardcode a shared library path into an executable.
23340 hardcode_action=$hardcode_action_CXX
23341
23342 # The directories searched by this compiler when creating a shared library.
23343 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23344
23345 # Dependencies to place before and after the objects being linked to
23346 # create a shared library.
23347 predep_objects=$lt_predep_objects_CXX
23348 postdep_objects=$lt_postdep_objects_CXX
23349 predeps=$lt_predeps_CXX
23350 postdeps=$lt_postdeps_CXX
23351
23352 # The library search path used internally by the compiler when linking
23353 # a shared library.
23354 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23355
23356 # ### END LIBTOOL TAG CONFIG: CXX
23357 _LT_EOF
23358
23359 ;;
23360
23361 esac
23362 done # for ac_tag
23363
23364
23365 as_fn_exit 0
23366 _ACEOF
23367 ac_clean_files=$ac_clean_files_save
23368
23369 testscip-shell system . . test. $ac_write_fail = 0 ||
23370 as_fn_errorscip-shell shell cpputest 4.0-3 as_fn_error(). $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23371
23372
23373 # configure is writing to config.log, and then calls config.status.
23374 # config.status does its own redirection, appending to config.log.
23375 # Unfortunately, on DOS this fails, as config.log is still kept open
23376 # by configure, so config.status won't be able to write to it; its
23377 # output is simply discarded. So we exec the FD to /dev/null,
23378 # effectively closing config.log, so it can be properly (re)opened and
23379 # appended to by config.status. When coming back to configure, we
23380 # need to make the FD available again.
23381 if testscip-shell system . . test. "$no_create" != yes; then
23382 ac_cs_success=:
23383 ac_config_status_args=
23384 testscip-shell system . . test. "$silent" = yes &&
23385 ac_config_status_args="$ac_config_status_args --quiet"
23386 exec 5>/dev/nullscip-shell filesystem . . `/dev/null`.
23387 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23388 exec 5>>config.log
23389 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23390 # would make configure fail if this is the last instruction.
23391 $ac_cs_success || as_fn_exitscip-shell shell cpputest 4.0-3 as_fn_exit(). 1
23392 fi
23393 if testscip-shell system . . test. -n "$ac_unrecognized_opts" && testscip-shell system . . test. "$enable_option_checking" != no; then
23394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23395 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23396 fi
23397
23398
23399
23400 echoscip-shell system . . echo. \
23401 "----------------------------------------------------------------
23402
23403 ${PACKAGE_NAME} Version ${PACKAGE_VERSION}
23404
23405 Current compiler options:
23406 CC: ${CC}
23407 CXX: ${CXX}
23408 CC version: ${ax_cv_c_compiler_version}
23409 CXX version: ${ax_cv_cxx_compiler_version}
23410 LD: ${LD}
23411 Default CFLAGS: ${CFLAGS}
23412 Default CXXFLAGS: ${CXXFLAGS}
23413 CppUTest CFLAGS: ${CPPUTEST_CFLAGS}
23414 CppUTest CXXFLAGS: ${CPPUTEST_CXXFLAGS}
23415 CppUTest CPPFLAGS: ${CPPUTEST_CPPFLAGS}
23416 CppUTest LDFLAGS: ${CPPUTEST_LDFLAGS}
23417 CppUTest LIB: ${LIBS}
23418
23419 Features configured in ${PACKAGE_NAME}:
23420 C++ standard used: ${cpp_standard_used}
23421 Memory Leak Detection: ${memory_leak_detection}
23422 Compiling extensions: ${cpputest_ext}
23423 Use Long Long (if available): ${use_longlong}
23424 Disable CppUTest compile/link flags: ${cpputest_flags}
23425 Address sanitizer: ${sanitize_address}
23426
23427 Using Standard C++ Library: ${use_std_cpp}
23428 Using Standard C Library: ${use_std_c}
23429
23430 Generating map file: ${generate_map_file}
23431 Compiling w coverage info: ${coverage}
23432
23433 ----------------------------------------------------------------"