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.71 for c-ares 1.34.8.
4 #
5 # Report bugs to <c-ares mailing list: http://lists.haxx.se/listinfo/c-ares>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if testscip-shell system . . test. ${ZSH_VERSION+y} && (emulate sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
34 ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" "" $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :; else exec 0</dev/nullscip-shell filesystem . . `/dev/null`.; fi
74 if (exec 3>&1) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :; else exec 1>/dev/nullscip-shell filesystem . . `/dev/null`.; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/nullscip-shell filesystem . . `/dev/null`.; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/binscip-shell filesystem . . `/bin;/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && {
81 (PATH='/bin:/binscip-shell filesystem . . `/bin:/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
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 printfscip-shell system . . printf. "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if testscip-shell system . . test. x"${_as_can_reexec}" != xno && testscip-shell system . . test. "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
126 ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
127 (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printfscip-shell system . . printf. "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139 fi
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if testscip-shell system . . test. "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
157 ;;
158 esac
159 fi
160 "
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
177 fi
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186
187 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
188 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
189 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
190 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
191 PATH=/empty FPATH=/empty; export PATH FPATH
192 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
193 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
194 test \$(( 1 + 1 )) = 2 || exit 1"
195 if (eval "$as_required") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
196 then :
197 as_have_required=yes
198 else $as_nop
199 as_have_required=no
200 fi
201 if testscip-shell system . . test. x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
202 then :
203
204 else $as_nop
205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
206 as_found=false
207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
208 do
209 IFS=$as_save_IFS
210 case $as_dir in #(((
211 '') as_dir=./ ;;
212 */) ;;
213 *) as_dir=$as_dir/ ;;
214 esac
215 as_found=:
216 case $as_dir in #(
217 /*)
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir$as_base
221 if { testscip-shell system . . test. -f "$as_shell" || testscip-shell system . . test. -f "$as_shell.exe"; } &&
222 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
223 then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
226 then :
227 break 2
228 fi
229 fi
230 done;;
231 esac
232 as_found=false
233 done
234 IFS=$as_save_IFS
235 if $as_found
236 then :
237
238 else $as_nop
239 if { testscip-shell system . . test. -f "$SHELL" || testscip-shell system . . test. -f "$SHELL.exe"; } &&
240 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
241 then :
242 CONFIG_SHELL=$SHELL as_have_required=yes
243 fi
244 fi
245
246
247 if testscip-shell system . . test. "x$CONFIG_SHELL" != x
248 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 printfscip-shell system . . printf. "%s\n" "$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
271 then :
272 printfscip-shell system . . printf. "%s\n" "$0: This script requires a shell more modern than all"
273 printfscip-shell system . . printf. "%s\n" "$0: the shells that I found on your system."
274 if testscip-shell system . . test. ${ZSH_VERSION+y} ; then
275 printfscip-shell system . . printf. "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276 printfscip-shell system . . printf. "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
277 else
278 printfscip-shell system . . printf. "%s\n" "$0: Please tell [email protected] and c-ares mailing
279 $0: list: http://lists.haxx.se/listinfo/c-ares about your
280 $0: system, including any error possibly output before this
281 $0: message. Then install a modern shell, or manually run
282 $0: the script under such a shell if you do have one."
283 fi
284 exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unsetscip-shell shell shell-project 0.0.0 as_fn_unset(). ()
301 {
302 { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306
307 # as_fn_set_status STATUS
308 # -----------------------
309 # Set $? to STATUS, without forking.
310 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). ()
311 {
312 return $1
313 } # as_fn_set_status
314
315 # as_fn_exit STATUS
316 # -----------------
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 as_fn_exitscip-shell shell shell-project 0.0.0 as_fn_exit(). ()
319 {
320 set +e
321 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $1
322 exit $1
323 } # as_fn_exit
324 # as_fn_nop
325 # ---------
326 # Do nothing but, unlike ":", preserve the value of $?.
327 as_fn_nopscip-shell shell shell-project 0.0.0 as_fn_nop(). ()
328 {
329 return $?
330 }
331 as_nop=as_fn_nop
332
333 # as_fn_mkdir_p
334 # -------------
335 # Create "$as_dir" as a directory, including parents if necessary.
336 as_fn_mkdir_pscip-shell shell shell-project 0.0.0 as_fn_mkdir_p(). ()
337 {
338
339 case $as_dir in #(
340 -*) as_dir=./$as_dir;;
341 esac
342 testscip-shell system . . test. -d "$as_dir" || eval $as_mkdir_p || {
343 as_dirs=
344 while :; do
345 case $as_dir in #(
346 *\'*) as_qdir=`printfscip-shell system . . printf. "%s\n" "$as_dir" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`;; #'(
347 *) as_qdir=$as_dir;;
348 esac
349 as_dirs="'$as_qdir' $as_dirs"
350 as_dir=`$as_dirname -- "$as_dir" ||
351 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
352 X"$as_dir" : 'X\(//\)[^/]' \| \
353 X"$as_dir" : 'X\(//\)$' \| \
354 X"$as_dir" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
355 printfscip-shell system . . printf. "%s\n" X"$as_dir" |
356 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
357 s//\1/
358 q
359 }
360 /^X\(\/\/\)[^/].*/{
361 s//\1/
362 q
363 }
364 /^X\(\/\/\)$/{
365 s//\1/
366 q
367 }
368 /^X\(\/\).*/{
369 s//\1/
370 q
371 }
372 s/.*/./; q'`
373 testscip-shell system . . test. -d "$as_dir" && break
374 done
375 testscip-shell system . . test. -z "$as_dirs" || eval "mkdir $as_dirs"
376 } || testscip-shell system . . test. -d "$as_dir" || as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot create directory $as_dir"
377
378
379 } # as_fn_mkdir_p
380
381 # as_fn_executable_p FILE
382 # -----------------------
383 # Test if FILE is an executable regular file.
384 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). ()
385 {
386 testscip-shell system . . test. -f "$1" && testscip-shell system . . test. -x "$1"
387 } # as_fn_executable_p
388 # as_fn_append VAR VALUE
389 # ----------------------
390 # Append the text in VALUE to the end of the definition contained in VAR. Take
391 # advantage of any shell optimizations that allow amortized linear growth over
392 # repeated appends, instead of the typical quadratic growth present in naive
393 # implementations.
394 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
395 then :
396 eval 'as_fn_append ()
397 {
398 eval $1+=\$2
399 }'
400 else $as_nop
401 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ()
402 {
403 eval $1=\$$1\$2
404 }
405 fi # as_fn_append
406
407 # as_fn_arith ARG...
408 # ------------------
409 # Perform arithmetic evaluation on the ARGs, and store the result in the
410 # global $as_val. Take advantage of shells that can avoid forks. The arguments
411 # must be portable across $(()) and expr.
412 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
413 then :
414 eval 'as_fn_arith ()
415 {
416 as_val=$(( $* ))
417 }'
418 else $as_nop
419 as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). ()
420 {
421 as_val=`exprscip-shell system . . expr. "$@" || testscip-shell system . . test. $? -eq 1`
422 }
423 fi # as_fn_arith
424
425 # as_fn_nop
426 # ---------
427 # Do nothing but, unlike ":", preserve the value of $?.
428 as_fn_nopscip-shell shell shell-project 0.0.0 as_fn_nop(). ()
429 {
430 return $?
431 }
432 as_nop=as_fn_nop
433
434 # as_fn_error STATUS ERROR [LINENO LOG_FD]
435 # ----------------------------------------
436 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
437 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
438 # script with STATUS, using 1 if that was 0.
439 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). ()
440 {
441 as_status=$1; testscip-shell system . . test. $as_status -eq 0 && as_status=1
442 if testscip-shell system . . test. "$4"; then
443 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
444 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
445 fi
446 printfscip-shell system . . printf. "%s\n" "$as_me: error: $2" >&2
447 as_fn_exitscip-shell shell shell-project 0.0.0 as_fn_exit(). $as_status
448 } # as_fn_error
449
450 if exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
451 testscip-shell system . . test. "X`exprscip-shell system . . expr. 00001 : '.*\(...\)'`" = X001; then
452 as_expr=expr
453 else
454 as_expr=false
455 fi
456
457 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
458 as_basename=basename
459 else
460 as_basename=false
461 fi
462
463 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
464 as_dirname=dirname
465 else
466 as_dirname=false
467 fi
468
469 as_me=`$as_basename -- "$0" ||
470 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
471 X"$0" : 'X\(//\)$' \| \
472 X"$0" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
473 printfscip-shell system . . printf. "%s\n" X/"$0" |
474 sedscip-shell system . . sed. '/^.*\/\([^/][^/]*\)\/*$/{
475 s//\1/
476 q
477 }
478 /^X\/\(\/\/\)$/{
479 s//\1/
480 q
481 }
482 /^X\/\(\/\).*/{
483 s//\1/
484 q
485 }
486 s/.*/./; q'`
487
488 # Avoid depending upon Character Ranges.
489 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
490 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
491 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
492 as_cr_digits='0123456789'
493 as_cr_alnum=$as_cr_Letters$as_cr_digits
494
495
496 as_lineno_1=$LINENO as_lineno_1a=$LINENO
497 as_lineno_2=$LINENO as_lineno_2a=$LINENO
498 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
499 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
500 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
501 sedscip-shell system . . sed. -n '
502 p
503 /[$]LINENO/=
504 ' <$as_myself |
505 sedscip-shell system . . sed. '
506 s/[$]LINENO.*/&-/
507 t lineno
508 b
509 :lineno
510 N
511 :loop
512 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
513 t loop
514 s/-\n.*//
515 ' >$as_me.lineno &&
516 chmodscip-shell system . . chmod. +x "$as_me.lineno" ||
517 { printfscip-shell system . . printf. "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exitscip-shell shell shell-project 0.0.0 as_fn_exit(). 1; }
518
519 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
520 # already done that, so ensure we don't try to do so again and fall
521 # in an infinite loop. This has already happened in practice.
522 _as_can_reexec=no; export _as_can_reexec
523 # Don't try to exec as it changes $[0], causing all sort of problems
524 # (the dirname of $[0] is not the place where we might find the
525 # original and so on. Autoconf is especially sensitive to this).
526 . "./$as_me.lineno"
527 # Exit status is that of the last command.
528 exit
529 }
530
531
532 # Determine whether it's possible to make 'echo' print without a newline.
533 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
534 # for compatibility with existing Makefiles.
535 ECHO_C= ECHO_N= ECHO_T=
536 case `echoscip-shell system . . echo. -n x` in #(((((
537 -n*)
538 case `echoscip-shell system . . echo. 'xy\c'` in
539 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
540 xy) ECHO_C='\c';;
541 *) echoscip-shell system . . echo. `echoscip-shell system . . echo. ksh88 bug on AIX 6.1` > /dev/nullscip-shell filesystem . . `/dev/null`.
542 ECHO_T=' ';;
543 esac;;
544 *)
545 ECHO_N='-n';;
546 esac
547
548 # For backward compatibility with old third-party macros, we provide
549 # the shell variables $as_echo and $as_echo_n. New code should use
550 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
551 as_echo='printf %s\n'
552 as_echo_n='printf %s'
553
554
555 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.file
556 if testscip-shell system . . test. -d conf$$.dir; then
557 rmscip-shell system . . rm. -f conf$$.dir/conf$$.file
558 else
559 rmscip-shell system . . rm. -f conf$$.dir
560 mkdirscip-shell system . . mkdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`.
561 fi
562 if (echoscip-shell system . . echo. >conf$$.file) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
563 if lnscip-shell system . . ln. -s conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
564 as_ln_s='ln -s'
565 # ... but there are two gotchas:
566 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
567 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
568 # In both cases, we have to default to `cp -pR'.
569 lnscip-shell system . . ln. -s conf$$.file conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. && testscip-shell system . . test. ! -f conf$$.exe ||
570 as_ln_s='cp -pR'
571 elif lnscip-shell system . . ln. conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
572 as_ln_s=ln
573 else
574 as_ln_s='cp -pR'
575 fi
576 else
577 as_ln_s='cp -pR'
578 fi
579 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
580 rmdirscip-shell system . . rmdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`.
581
582 if mkdirscip-shell system . . mkdir. -p . 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
583 as_mkdir_p='mkdir -p "$as_dir"'
584 else
585 testscip-shell system . . test. -d ./-p && rmdirscip-shell system . . rmdir. ./-p
586 as_mkdir_p=false
587 fi
588
589 as_test_x='test -x'
590 as_executable_p=as_fn_executable_p
591
592 # Sed expression to map a string onto a valid CPP name.
593 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
594
595 # Sed expression to map a string onto a valid variable name.
596 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
597
598 SHELL=${CONFIG_SHELL-/bin/sh}
599
600
601 testscip-shell system . . test. -n "$DJDIR" || exec 7<&0 </dev/nullscip-shell filesystem . . `/dev/null`.
602 exec 6>&1
603
604 # Name of the host.
605 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
606 # so uname gets run too.
607 ac_hostname=`(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
608
609 #
610 # Initializations.
611 #
612 ac_default_prefix=/usr/localscip-shell filesystem . . `/usr/local`.
613 ac_clean_files=
614 ac_config_libobj_dir=.
615 LIBOBJS=
616 cross_compiling=no
617 subdirs=
618 MFLAGS=
619 MAKEFLAGS=
620
621 # Identity of this package.
622 PACKAGE_NAME='c-ares'
623 PACKAGE_TARNAME='c-ares'
624 PACKAGE_VERSION='1.34.8'
625 PACKAGE_STRING='c-ares 1.34.8'
626 PACKAGE_BUGREPORT='c-ares mailing list: http://lists.haxx.se/listinfo/c-ares'
627 PACKAGE_URL=''
628
629 ac_unique_file="src/lib/ares_ipv6.h"
630 # Factoring default headers for most tests.
631 ac_includes_default="\
632 #include <stddef.h>
633 #ifdef HAVE_STDIO_H
634 # include <stdio.h>
635 #endif
636 #ifdef HAVE_STDLIB_H
637 # include <stdlib.h>
638 #endif
639 #ifdef HAVE_STRING_H
640 # include <string.h>
641 #endif
642 #ifdef HAVE_INTTYPES_H
643 # include <inttypes.h>
644 #endif
645 #ifdef HAVE_STDINT_H
646 # include <stdint.h>
647 #endif
648 #ifdef HAVE_STRINGS_H
649 # include <strings.h>
650 #endif
651 #ifdef HAVE_SYS_TYPES_H
652 # include <sys/types.h>
653 #endif
654 #ifdef HAVE_SYS_STAT_H
655 # include <sys/stat.h>
656 #endif
657 #ifdef HAVE_UNISTD_H
658 # include <unistd.h>
659 #endif"
660
661 ac_header_c_list=
662 ac_subst_vars='am__EXEEXT_FALSE
663 am__EXEEXT_TRUE
664 LTLIBOBJS
665 LIBOBJS
666 BUILD_SUBDIRS
667 PKGCONFIG_CFLAGS
668 AM_CPPFLAGS
669 AM_CFLAGS
670 BUILD_TESTS_FALSE
671 BUILD_TESTS_TRUE
672 GMOCK117_LIBS
673 GMOCK117_CFLAGS
674 GMOCK112_LIBS
675 GMOCK112_CFLAGS
676 GMOCK_LIBS
677 GMOCK_CFLAGS
678 PKG_CONFIG_LIBDIR
679 PKG_CONFIG_PATH
680 PKG_CONFIG
681 CARES_PRIVATE_LIBS
682 PTHREAD_CFLAGS
683 PTHREAD_LIBS
684 PTHREAD_CXX
685 PTHREAD_CC
686 ax_pthread_config
687 CPP
688 CARES_SYMBOL_HIDING_CFLAG
689 CARES_SYMBOL_HIDING_FALSE
690 CARES_SYMBOL_HIDING_TRUE
691 CARES_USE_NO_UNDEFINED_FALSE
692 CARES_USE_NO_UNDEFINED_TRUE
693 CODE_COVERAGE_LIBS
694 CODE_COVERAGE_CXXFLAGS
695 CODE_COVERAGE_CFLAGS
696 CODE_COVERAGE_CPPFLAGS
697 GENHTML
698 LCOV
699 GCOV
700 ifnGNUmake
701 ifGNUmake
702 CODE_COVERAGE_ENABLED
703 CODE_COVERAGE_ENABLED_FALSE
704 CODE_COVERAGE_ENABLED_TRUE
705 MAINT
706 MAINTAINER_MODE_FALSE
707 MAINTAINER_MODE_TRUE
708 CARES_RANDOM_FILE
709 CXXCPP
710 LT_SYS_LIBRARY_PATH
711 OTOOL64
712 OTOOL
713 LIPO
714 NMEDIT
715 DSYMUTIL
716 MANIFEST_TOOL
717 RANLIB
718 ac_ct_AR
719 AR
720 FILECMD
721 LN_S
722 NM
723 ac_ct_DUMPBIN
724 DUMPBIN
725 LD
726 FGREP
727 EGREP
728 GREP
729 SED
730 host_os
731 host_vendor
732 host_cpu
733 host
734 build_os
735 build_vendor
736 build_cpu
737 build
738 LIBTOOL
739 OBJDUMP
740 DLLTOOL
741 AS
742 AM_BACKSLASH
743 AM_DEFAULT_VERBOSITY
744 AM_DEFAULT_V
745 AM_V
746 CSCOPE
747 ETAGS
748 CTAGS
749 am__fastdepCXX_FALSE
750 am__fastdepCXX_TRUE
751 CXXDEPMODE
752 am__fastdepCC_FALSE
753 am__fastdepCC_TRUE
754 CCDEPMODE
755 am__nodep
756 AMDEPBACKSLASH
757 AMDEP_FALSE
758 AMDEP_TRUE
759 am__include
760 DEPDIR
761 am__untar
762 am__tar
763 AMTAR
764 am__leading_dot
765 SET_MAKE
766 AWK
767 mkdir_p
768 MKDIR_P
769 INSTALL_STRIP_PROGRAM
770 STRIP
771 install_sh
772 MAKEINFO
773 AUTOHEADER
774 AUTOMAKE
775 AUTOCONF
776 ACLOCAL
777 VERSION
778 PACKAGE
779 CYGPATH_W
780 am__isrc
781 INSTALL_DATA
782 INSTALL_SCRIPT
783 INSTALL_PROGRAM
784 HAVE_CXX17
785 HAVE_CXX14
786 ac_ct_CXX
787 CXXFLAGS
788 CXX
789 OBJEXT
790 EXEEXT
791 ac_ct_CC
792 CPPFLAGS
793 LDFLAGS
794 CFLAGS
795 CC
796 CARES_VERSION_INFO
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 runstatedir
817 localstatedir
818 sharedstatedir
819 sysconfdir
820 datadir
821 datarootdir
822 libexecdir
823 sbindir
824 bindir
825 program_transform_name
826 prefix
827 exec_prefix
828 PACKAGE_URL
829 PACKAGE_BUGREPORT
830 PACKAGE_STRING
831 PACKAGE_VERSION
832 PACKAGE_TARNAME
833 PACKAGE_NAME
834 PATH_SEPARATOR
835 SHELL
836 am__quote'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_dependency_tracking
841 enable_silent_rules
842 enable_shared
843 enable_static
844 with_pic
845 enable_fast_install
846 with_aix_soname
847 with_gnu_ld
848 with_sysroot
849 enable_libtool_lock
850 enable_warnings
851 enable_symbol_hiding
852 enable_tests
853 enable_cares_threads
854 with_random
855 enable_maintainer_mode
856 with_gcov
857 enable_code_coverage
858 enable_largefile
859 enable_libgcc
860 enable_tests_crossbuild
861 '
862 ac_precious_vars='build_alias
863 host_alias
864 target_alias
865 CC
866 CFLAGS
867 LDFLAGS
868 LIBS
869 CPPFLAGS
870 CXX
871 CXXFLAGS
872 CCC
873 LT_SYS_LIBRARY_PATH
874 CXXCPP
875 CPP
876 PKG_CONFIG
877 PKG_CONFIG_PATH
878 PKG_CONFIG_LIBDIR
879 GMOCK_CFLAGS
880 GMOCK_LIBS
881 GMOCK112_CFLAGS
882 GMOCK112_LIBS
883 GMOCK117_CFLAGS
884 GMOCK117_LIBS'
885
886
887 # Initialize some variables set by options.
888 ac_init_help=
889 ac_init_version=false
890 ac_unrecognized_opts=
891 ac_unrecognized_sep=
892 # The variables have the same names as the options, with
893 # dashes changed to underlines.
894 cache_file=/dev/nullscip-shell filesystem . . `/dev/null`.
895 exec_prefix=NONE
896 no_create=
897 no_recursion=
898 prefix=NONE
899 program_prefix=NONE
900 program_suffix=NONE
901 program_transform_name=s,x,x,
902 silent=
903 site=
904 srcdir=
905 verbose=
906 x_includes=NONE
907 x_libraries=NONE
908
909 # Installation directory options.
910 # These are left unexpanded so users can "make install exec_prefix=/foo"
911 # and all the variables that are supposed to be based on exec_prefix
912 # by default will actually change.
913 # Use braces instead of parens because sh, perl, etc. also accept them.
914 # (The list follows the same order as the GNU Coding Standards.)
915 bindir='${exec_prefix}/bin'
916 sbindir='${exec_prefix}/sbin'
917 libexecdir='${exec_prefix}/libexec'
918 datarootdir='${prefix}/share'
919 datadir='${datarootdir}'
920 sysconfdir='${prefix}/etc'
921 sharedstatedir='${prefix}/com'
922 localstatedir='${prefix}/var'
923 runstatedir='${localstatedir}/run'
924 includedir='${prefix}/include'
925 oldincludedir='/usr/includescip-shell filesystem . . `/usr/include`.'
926 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
927 infodir='${datarootdir}/info'
928 htmldir='${docdir}'
929 dvidir='${docdir}'
930 pdfdir='${docdir}'
931 psdir='${docdir}'
932 libdir='${exec_prefix}/lib'
933 localedir='${datarootdir}/locale'
934 mandir='${datarootdir}/man'
935
936 ac_prev=
937 ac_dashdash=
938 for ac_option
939 do
940 # If the previous option needs an argument, assign it.
941 if testscip-shell system . . test. -n "$ac_prev"; then
942 eval $ac_prev=\$ac_option
943 ac_prev=
944 continue
945 fi
946
947 case $ac_option in
948 *=?*) ac_optarg=`exprscip-shell system . . expr. "X$ac_option" : '[^=]*=\(.*\)'` ;;
949 *=) ac_optarg= ;;
950 *) ac_optarg=yes ;;
951 esac
952
953 case $ac_dashdash$ac_option in
954 --)
955 ac_dashdash=yes ;;
956
957 -bindir | --bindir | --bindi | --bind | --bin | --bi)
958 ac_prev=bindir ;;
959 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
960 bindir=$ac_optarg ;;
961
962 -build | --build | --buil | --bui | --bu)
963 ac_prev=build_alias ;;
964 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
965 build_alias=$ac_optarg ;;
966
967 -cache-file | --cache-file | --cache-fil | --cache-fi \
968 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
969 ac_prev=cache_file ;;
970 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
971 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
972 cache_file=$ac_optarg ;;
973
974 --config-cache | -C)
975 cache_file=config.cache ;;
976
977 -datadir | --datadir | --datadi | --datad)
978 ac_prev=datadir ;;
979 -datadir=* | --datadir=* | --datadi=* | --datad=*)
980 datadir=$ac_optarg ;;
981
982 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
983 | --dataroo | --dataro | --datar)
984 ac_prev=datarootdir ;;
985 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
986 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
987 datarootdir=$ac_optarg ;;
988
989 -disable-* | --disable-*)
990 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*disable-\(.*\)'`
991 # Reject names that are not valid shell variable names.
992 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
993 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid feature name: \`$ac_useropt'"
994 ac_useropt_orig=$ac_useropt
995 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
996 case $ac_user_opts in
997 *"
998 "enable_$ac_useropt"
999 "*) ;;
1000 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1001 ac_unrecognized_sep=', ';;
1002 esac
1003 eval enable_$ac_useropt=no ;;
1004
1005 -docdir | --docdir | --docdi | --doc | --do)
1006 ac_prev=docdir ;;
1007 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1008 docdir=$ac_optarg ;;
1009
1010 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1011 ac_prev=dvidir ;;
1012 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1013 dvidir=$ac_optarg ;;
1014
1015 -enable-* | --enable-*)
1016 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1019 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid feature name: \`$ac_useropt'"
1020 ac_useropt_orig=$ac_useropt
1021 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1023 *"
1024 "enable_$ac_useropt"
1025 "*) ;;
1026 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1027 ac_unrecognized_sep=', ';;
1028 esac
1029 eval enable_$ac_useropt=\$ac_optarg ;;
1030
1031 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1032 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1033 | --exec | --exe | --ex)
1034 ac_prev=exec_prefix ;;
1035 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1036 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1037 | --exec=* | --exe=* | --ex=*)
1038 exec_prefix=$ac_optarg ;;
1039
1040 -gas | --gas | --ga | --g)
1041 # Obsolete; use --with-gas.
1042 with_gas=yes ;;
1043
1044 -help | --help | --hel | --he | -h)
1045 ac_init_help=long ;;
1046 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1047 ac_init_help=recursive ;;
1048 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1049 ac_init_help=short ;;
1050
1051 -host | --host | --hos | --ho)
1052 ac_prev=host_alias ;;
1053 -host=* | --host=* | --hos=* | --ho=*)
1054 host_alias=$ac_optarg ;;
1055
1056 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1057 ac_prev=htmldir ;;
1058 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1059 | --ht=*)
1060 htmldir=$ac_optarg ;;
1061
1062 -includedir | --includedir | --includedi | --included | --include \
1063 | --includ | --inclu | --incl | --inc)
1064 ac_prev=includedir ;;
1065 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1066 | --includ=* | --inclu=* | --incl=* | --inc=*)
1067 includedir=$ac_optarg ;;
1068
1069 -infodir | --infodir | --infodi | --infod | --info | --inf)
1070 ac_prev=infodir ;;
1071 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1072 infodir=$ac_optarg ;;
1073
1074 -libdir | --libdir | --libdi | --libd)
1075 ac_prev=libdir ;;
1076 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1077 libdir=$ac_optarg ;;
1078
1079 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1080 | --libexe | --libex | --libe)
1081 ac_prev=libexecdir ;;
1082 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1083 | --libexe=* | --libex=* | --libe=*)
1084 libexecdir=$ac_optarg ;;
1085
1086 -localedir | --localedir | --localedi | --localed | --locale)
1087 ac_prev=localedir ;;
1088 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1089 localedir=$ac_optarg ;;
1090
1091 -localstatedir | --localstatedir | --localstatedi | --localstated \
1092 | --localstate | --localstat | --localsta | --localst | --locals)
1093 ac_prev=localstatedir ;;
1094 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1095 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1096 localstatedir=$ac_optarg ;;
1097
1098 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1099 ac_prev=mandir ;;
1100 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1101 mandir=$ac_optarg ;;
1102
1103 -nfp | --nfp | --nf)
1104 # Obsolete; use --without-fp.
1105 with_fp=no ;;
1106
1107 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1108 | --no-cr | --no-c | -n)
1109 no_create=yes ;;
1110
1111 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1112 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1113 no_recursion=yes ;;
1114
1115 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1116 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1117 | --oldin | --oldi | --old | --ol | --o)
1118 ac_prev=oldincludedir ;;
1119 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1120 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1121 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1122 oldincludedir=$ac_optarg ;;
1123
1124 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1125 ac_prev=prefix ;;
1126 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1127 prefix=$ac_optarg ;;
1128
1129 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1130 | --program-pre | --program-pr | --program-p)
1131 ac_prev=program_prefix ;;
1132 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1133 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1134 program_prefix=$ac_optarg ;;
1135
1136 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1137 | --program-suf | --program-su | --program-s)
1138 ac_prev=program_suffix ;;
1139 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1140 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1141 program_suffix=$ac_optarg ;;
1142
1143 -program-transform-name | --program-transform-name \
1144 | --program-transform-nam | --program-transform-na \
1145 | --program-transform-n | --program-transform- \
1146 | --program-transform | --program-transfor \
1147 | --program-transfo | --program-transf \
1148 | --program-trans | --program-tran \
1149 | --progr-tra | --program-tr | --program-t)
1150 ac_prev=program_transform_name ;;
1151 -program-transform-name=* | --program-transform-name=* \
1152 | --program-transform-nam=* | --program-transform-na=* \
1153 | --program-transform-n=* | --program-transform-=* \
1154 | --program-transform=* | --program-transfor=* \
1155 | --program-transfo=* | --program-transf=* \
1156 | --program-trans=* | --program-tran=* \
1157 | --progr-tra=* | --program-tr=* | --program-t=*)
1158 program_transform_name=$ac_optarg ;;
1159
1160 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1161 ac_prev=pdfdir ;;
1162 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1163 pdfdir=$ac_optarg ;;
1164
1165 -psdir | --psdir | --psdi | --psd | --ps)
1166 ac_prev=psdir ;;
1167 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1168 psdir=$ac_optarg ;;
1169
1170 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1171 | -silent | --silent | --silen | --sile | --sil)
1172 silent=yes ;;
1173
1174 -runstatedir | --runstatedir | --runstatedi | --runstated \
1175 | --runstate | --runstat | --runsta | --runst | --runs \
1176 | --run | --ru | --r)
1177 ac_prev=runstatedir ;;
1178 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1179 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1180 | --run=* | --ru=* | --r=*)
1181 runstatedir=$ac_optarg ;;
1182
1183 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1184 ac_prev=sbindir ;;
1185 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1186 | --sbi=* | --sb=*)
1187 sbindir=$ac_optarg ;;
1188
1189 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1190 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1191 | --sharedst | --shareds | --shared | --share | --shar \
1192 | --sha | --sh)
1193 ac_prev=sharedstatedir ;;
1194 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1195 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1196 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1197 | --sha=* | --sh=*)
1198 sharedstatedir=$ac_optarg ;;
1199
1200 -site | --site | --sit)
1201 ac_prev=site ;;
1202 -site=* | --site=* | --sit=*)
1203 site=$ac_optarg ;;
1204
1205 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1206 ac_prev=srcdir ;;
1207 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1208 srcdir=$ac_optarg ;;
1209
1210 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1211 | --syscon | --sysco | --sysc | --sys | --sy)
1212 ac_prev=sysconfdir ;;
1213 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1214 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1215 sysconfdir=$ac_optarg ;;
1216
1217 -target | --target | --targe | --targ | --tar | --ta | --t)
1218 ac_prev=target_alias ;;
1219 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1220 target_alias=$ac_optarg ;;
1221
1222 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1223 verbose=yes ;;
1224
1225 -version | --version | --versio | --versi | --vers | -V)
1226 ac_init_version=: ;;
1227
1228 -with-* | --with-*)
1229 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*with-\([^=]*\)'`
1230 # Reject names that are not valid shell variable names.
1231 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1232 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid package name: \`$ac_useropt'"
1233 ac_useropt_orig=$ac_useropt
1234 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1235 case $ac_user_opts in
1236 *"
1237 "with_$ac_useropt"
1238 "*) ;;
1239 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1240 ac_unrecognized_sep=', ';;
1241 esac
1242 eval with_$ac_useropt=\$ac_optarg ;;
1243
1244 -without-* | --without-*)
1245 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*without-\(.*\)'`
1246 # Reject names that are not valid shell variable names.
1247 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1248 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid package name: \`$ac_useropt'"
1249 ac_useropt_orig=$ac_useropt
1250 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1251 case $ac_user_opts in
1252 *"
1253 "with_$ac_useropt"
1254 "*) ;;
1255 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1256 ac_unrecognized_sep=', ';;
1257 esac
1258 eval with_$ac_useropt=no ;;
1259
1260 --x)
1261 # Obsolete; use --with-x.
1262 with_x=yes ;;
1263
1264 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1265 | --x-incl | --x-inc | --x-in | --x-i)
1266 ac_prev=x_includes ;;
1267 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1268 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1269 x_includes=$ac_optarg ;;
1270
1271 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1272 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1273 ac_prev=x_libraries ;;
1274 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1275 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1276 x_libraries=$ac_optarg ;;
1277
1278 -*) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unrecognized option: \`$ac_option'
1279 Try \`$0 --help' for more information"
1280 ;;
1281
1282 *=*)
1283 ac_envvar=`exprscip-shell system . . expr. "x$ac_option" : 'x\([^=]*\)='`
1284 # Reject names that are not valid shell variable names.
1285 case $ac_envvar in #(
1286 '' | [0-9]* | *[!_$as_cr_alnum]* )
1287 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid variable name: \`$ac_envvar'" ;;
1288 esac
1289 eval $ac_envvar=\$ac_optarg
1290 export $ac_envvar ;;
1291
1292 *)
1293 # FIXME: should be removed in autoconf 3.0.
1294 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1295 exprscip-shell system . . expr. "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1296 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1297 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1298 ;;
1299
1300 esac
1301 done
1302
1303 if testscip-shell system . . test. -n "$ac_prev"; then
1304 ac_option=--`echoscip-shell system . . echo. $ac_prev | sedscip-shell system . . sed. 's/_/-/g'`
1305 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "missing argument to $ac_option"
1306 fi
1307
1308 if testscip-shell system . . test. -n "$ac_unrecognized_opts"; then
1309 case $enable_option_checking in
1310 no) ;;
1311 fatal) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unrecognized options: $ac_unrecognized_opts" ;;
1312 *) printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1313 esac
1314 fi
1315
1316 # Check all directory arguments for consistency.
1317 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1318 datadir sysconfdir sharedstatedir localstatedir includedir \
1319 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1320 libdir localedir mandir runstatedir
1321 do
1322 eval ac_val=\$$ac_var
1323 # Remove trailing slashes.
1324 case $ac_val in
1325 */ )
1326 ac_val=`exprscip-shell system . . expr. "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1327 eval $ac_var=\$ac_val;;
1328 esac
1329 # Be sure to have absolute directory names.
1330 case $ac_val in
1331 [\\/$]* | ?:[\\/]* ) continue;;
1332 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1333 esac
1334 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "expected an absolute directory name for --$ac_var: $ac_val"
1335 done
1336
1337 # There might be people who depend on the old broken behavior: `$host'
1338 # used to hold the argument of --host etc.
1339 # FIXME: To remove some day.
1340 build=$build_alias
1341 host=$host_alias
1342 target=$target_alias
1343
1344 # FIXME: To remove some day.
1345 if testscip-shell system . . test. "x$host_alias" != x; then
1346 if testscip-shell system . . test. "x$build_alias" = x; then
1347 cross_compiling=maybe
1348 elif testscip-shell system . . test. "x$build_alias" != "x$host_alias"; then
1349 cross_compiling=yes
1350 fi
1351 fi
1352
1353 ac_tool_prefix=
1354 testscip-shell system . . test. -n "$host_alias" && ac_tool_prefix=$host_alias-
1355
1356 testscip-shell system . . test. "$silent" = yes && exec 6>/dev/nullscip-shell filesystem . . `/dev/null`.
1357
1358
1359 ac_pwd=`pwdscip-shell system . . pwd.` && testscip-shell system . . test. -n "$ac_pwd" &&
1360 ac_ls_di=`lsscip-shell system . . ls. -di .` &&
1361 ac_pwd_ls_di=`cd "$ac_pwd" && lsscip-shell system . . ls. -di .` ||
1362 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "working directory cannot be determined"
1363 testscip-shell system . . test. "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1364 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "pwd does not report name of working directory"
1365
1366
1367 # Find the source files, if location was not specified.
1368 if testscip-shell system . . test. -z "$srcdir"; then
1369 ac_srcdir_defaulted=yes
1370 # Try the directory containing this script, then the parent directory.
1371 ac_confdir=`$as_dirname -- "$as_myself" ||
1372 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1373 X"$as_myself" : 'X\(//\)[^/]' \| \
1374 X"$as_myself" : 'X\(//\)$' \| \
1375 X"$as_myself" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
1376 printfscip-shell system . . printf. "%s\n" X"$as_myself" |
1377 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1378 s//\1/
1379 q
1380 }
1381 /^X\(\/\/\)[^/].*/{
1382 s//\1/
1383 q
1384 }
1385 /^X\(\/\/\)$/{
1386 s//\1/
1387 q
1388 }
1389 /^X\(\/\).*/{
1390 s//\1/
1391 q
1392 }
1393 s/.*/./; q'`
1394 srcdir=$ac_confdir
1395 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1396 srcdir=..
1397 fi
1398 else
1399 ac_srcdir_defaulted=no
1400 fi
1401 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1402 testscip-shell system . . test. "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1403 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot find sources ($ac_unique_file) in $srcdir"
1404 fi
1405 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1406 ac_abs_confdir=`(
1407 cd "$srcdir" && testscip-shell system . . test. -r "./$ac_unique_file" || as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "$ac_msg"
1408 pwdscip-shell system . . pwd.)`
1409 # When building in place, set srcdir=.
1410 if testscip-shell system . . test. "$ac_abs_confdir" = "$ac_pwd"; then
1411 srcdir=.
1412 fi
1413 # Remove unnecessary trailing slashes from srcdir.
1414 # Double slashes in file names in object file debugging info
1415 # mess up M-x gdb in Emacs.
1416 case $srcdir in
1417 */) srcdir=`exprscip-shell system . . expr. "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1418 esac
1419 for ac_var in $ac_precious_vars; do
1420 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1421 eval ac_env_${ac_var}_value=\$${ac_var}
1422 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1423 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1424 done
1425
1426 #
1427 # Report the --help message.
1428 #
1429 if testscip-shell system . . test. "$ac_init_help" = "long"; then
1430 # Omit some internal or obsolete options to make the list less imposing.
1431 # This message is too long to be a string in the A/UX 3.1 sh.
1432 catscip-shell system . . cat. <<_ACEOF
1433 \`configure' configures c-ares 1.34.8 to adapt to many kinds of systems.
1434
1435 Usage: $0 [OPTION]... [VAR=VALUE]...
1436
1437 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1438 VAR=VALUE. See below for descriptions of some of the useful variables.
1439
1440 Defaults for the options are specified in brackets.
1441
1442 Configuration:
1443 -h, --help display this help and exit
1444 --help=short display options specific to this package
1445 --help=recursive display the short help of all the included packages
1446 -V, --version display version information and exit
1447 -q, --quiet, --silent do not print \`checking ...' messages
1448 --cache-file=FILE cache test results in FILE [disabled]
1449 -C, --config-cache alias for \`--cache-file=config.cache'
1450 -n, --no-create do not create output files
1451 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1452
1453 Installation directories:
1454 --prefix=PREFIX install architecture-independent files in PREFIX
1455 [$ac_default_prefix]
1456 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1457 [PREFIX]
1458
1459 By default, \`make install' will install all the files in
1460 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1461 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1462 for instance \`--prefix=\$HOME'.
1463
1464 For better control, use the options below.
1465
1466 Fine tuning of the installation directories:
1467 --bindir=DIR user executables [EPREFIX/bin]
1468 --sbindir=DIR system admin executables [EPREFIX/sbin]
1469 --libexecdir=DIR program executables [EPREFIX/libexec]
1470 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1471 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1472 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1473 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1474 --libdir=DIR object code libraries [EPREFIX/lib]
1475 --includedir=DIR C header files [PREFIX/include]
1476 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1477 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1478 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1479 --infodir=DIR info documentation [DATAROOTDIR/info]
1480 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1481 --mandir=DIR man documentation [DATAROOTDIR/man]
1482 --docdir=DIR documentation root [DATAROOTDIR/doc/c-ares]
1483 --htmldir=DIR html documentation [DOCDIR]
1484 --dvidir=DIR dvi documentation [DOCDIR]
1485 --pdfdir=DIR pdf documentation [DOCDIR]
1486 --psdir=DIR ps documentation [DOCDIR]
1487 _ACEOF
1488
1489 catscip-shell system . . cat. <<\_ACEOF
1490
1491 Program names:
1492 --program-prefix=PREFIX prepend PREFIX to installed program names
1493 --program-suffix=SUFFIX append SUFFIX to installed program names
1494 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1495
1496 System types:
1497 --build=BUILD configure for building on BUILD [guessed]
1498 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1499 _ACEOF
1500 fi
1501
1502 if testscip-shell system . . test. -n "$ac_init_help"; then
1503 case $ac_init_help in
1504 short | recursive ) echoscip-shell system . . echo. "Configuration of c-ares 1.34.8:";;
1505 esac
1506 catscip-shell system . . cat. <<\_ACEOF
1507
1508 Optional Features:
1509 --disable-option-checking ignore unrecognized --enable/--with options
1510 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1511 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1512 --enable-dependency-tracking
1513 do not reject slow dependency extractors
1514 --disable-dependency-tracking
1515 speeds up one-time build
1516 --enable-silent-rules less verbose build output (undo: "make V=1")
1517 --disable-silent-rules verbose build output (undo: "make V=0")
1518 --enable-shared[=PKGS] build shared libraries [default=yes]
1519 --enable-static[=PKGS] build static libraries [default=yes]
1520 --enable-fast-install[=PKGS]
1521 optimize for fast installation [default=yes]
1522 --disable-libtool-lock avoid locking (might break parallel builds)
1523 --disable-warnings Disable strict compiler warnings
1524 --disable-symbol-hiding Disable symbol hiding. Enabled by default if the
1525 compiler supports it.
1526 --disable-tests disable building of test suite. Built by default if
1527 GoogleTest is found.
1528 --disable-cares-threads Disable building of thread safety support
1529 --enable-maintainer-mode
1530 enable make rules and dependencies not useful (and
1531 sometimes confusing) to the casual installer
1532 --enable-code-coverage Whether to enable code coverage support
1533 --disable-largefile omit support for large files
1534 --enable-libgcc use libgcc when linking
1535 --enable-tests-crossbuild
1536 Enable test building even when cross building
1537
1538 Optional Packages:
1539 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1540 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1541 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1542 both]
1543 --with-aix-soname=aix|svr4|both
1544 shared library versioning (aka "SONAME") variant to
1545 provide on AIX, [default=aix].
1546 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1547 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1548 compiler's sysroot if not specified).
1549 --with-random=FILE read randomness from FILE (default=/dev/urandom)
1550 --with-gcov=GCOV use given GCOV for coverage (GCOV=gcov).
1551
1552 Some influential environment variables:
1553 CC C compiler command
1554 CFLAGS C compiler flags
1555 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1556 nonstandard directory <lib dir>
1557 LIBS libraries to pass to the linker, e.g. -l<library>
1558 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1559 you have headers in a nonstandard directory <include dir>
1560 CXX C++ compiler command
1561 CXXFLAGS C++ compiler flags
1562 LT_SYS_LIBRARY_PATH
1563 User-defined run-time library search path.
1564 CXXCPP C++ preprocessor
1565 CPP C preprocessor
1566 PKG_CONFIG path to pkg-config utility
1567 PKG_CONFIG_PATH
1568 directories to add to pkg-config's search path
1569 PKG_CONFIG_LIBDIR
1570 path overriding pkg-config's built-in search path
1571 GMOCK_CFLAGS
1572 C compiler flags for GMOCK, overriding pkg-config
1573 GMOCK_LIBS linker flags for GMOCK, overriding pkg-config
1574 GMOCK112_CFLAGS
1575 C compiler flags for GMOCK112, overriding pkg-config
1576 GMOCK112_LIBS
1577 linker flags for GMOCK112, overriding pkg-config
1578 GMOCK117_CFLAGS
1579 C compiler flags for GMOCK117, overriding pkg-config
1580 GMOCK117_LIBS
1581 linker flags for GMOCK117, overriding pkg-config
1582
1583 Use these variables to override the choices made by `configure' or to help
1584 it to find libraries and programs with nonstandard names/locations.
1585
1586 Report bugs to <c-ares mailing list: http://lists.haxx.se/listinfo/c-ares>.
1587 _ACEOF
1588 ac_status=$?
1589 fi
1590
1591 if testscip-shell system . . test. "$ac_init_help" = "recursive"; then
1592 # If there are subdirs, report their specific --help.
1593 for ac_dir in : $ac_subdirs_all; do testscip-shell system . . test. "x$ac_dir" = x: && continue
1594 testscip-shell system . . test. -d "$ac_dir" ||
1595 { cd "$srcdir" && ac_pwd=`pwdscip-shell system . . pwd.` && srcdir=. && testscip-shell system . . test. -d "$ac_dir"; } ||
1596 continue
1597 ac_builddir=.
1598
1599 case "$ac_dir" in
1600 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1601 *)
1602 ac_dir_suffix=/`printfscip-shell system . . printf. "%s\n" "$ac_dir" | sedscip-shell system . . sed. 's|^\.[\\/]||'`
1603 # A ".." for each directory in $ac_dir_suffix.
1604 ac_top_builddir_sub=`printfscip-shell system . . printf. "%s\n" "$ac_dir_suffix" | sedscip-shell system . . sed. 's|/[^\\/]*|/..|g;s|/||'`
1605 case $ac_top_builddir_sub in
1606 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1607 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1608 esac ;;
1609 esac
1610 ac_abs_top_builddir=$ac_pwd
1611 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1612 # for backward compatibility:
1613 ac_top_builddir=$ac_top_build_prefix
1614
1615 case $srcdir in
1616 .) # We are building in place.
1617 ac_srcdir=.
1618 ac_top_srcdir=$ac_top_builddir_sub
1619 ac_abs_top_srcdir=$ac_pwd ;;
1620 [\\/]* | ?:[\\/]* ) # Absolute name.
1621 ac_srcdir=$srcdir$ac_dir_suffix;
1622 ac_top_srcdir=$srcdir
1623 ac_abs_top_srcdir=$srcdir ;;
1624 *) # Relative name.
1625 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1626 ac_top_srcdir=$ac_top_build_prefix$srcdir
1627 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1628 esac
1629 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1630
1631 cd "$ac_dir" || { ac_status=$?; continue; }
1632 # Check for configure.gnu first; this name is used for a wrapper for
1633 # Metaconfig's "Configure" on case-insensitive file systems.
1634 if testscip-shell system . . test. -f "$ac_srcdir/configure.gnu"; then
1635 echoscip-shell system . . echo. &&
1636 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1637 elif testscip-shell system . . test. -f "$ac_srcdir/configure"; then
1638 echoscip-shell system . . echo. &&
1639 $SHELL "$ac_srcdir/configure" --help=recursive
1640 else
1641 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1642 fi || ac_status=$?
1643 cd "$ac_pwd" || { ac_status=$?; break; }
1644 done
1645 fi
1646
1647 testscip-shell system . . test. -n "$ac_init_help" && exit $ac_status
1648 if $ac_init_version; then
1649 catscip-shell system . . cat. <<\_ACEOF
1650 c-ares configure 1.34.8
1651 generated by GNU Autoconf 2.71
1652
1653 Copyright (C) 2021 Free Software Foundation, Inc.
1654 This configure script is free software; the Free Software Foundation
1655 gives unlimited permission to copy, distribute and modify it.
1656 _ACEOF
1657 exit
1658 fi
1659
1660 ## ------------------------ ##
1661 ## Autoconf initialization. ##
1662 ## ------------------------ ##
1663
1664 # ac_fn_c_try_compile LINENO
1665 # --------------------------
1666 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1667 ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). ()
1668 {
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam
1671 if { { ac_try="$ac_compile"
1672 case "(($ac_try" in
1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674 *) ac_try_echo=$ac_try;;
1675 esac
1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1678 (eval "$ac_compile") 2>conftest.err
1679 ac_status=$?
1680 if testscip-shell system . . test. -s conftest.err; then
1681 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1682 catscip-shell system . . cat. conftest.er1 >&5
1683 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1684 fi
1685 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 testscip-shell system . . test. $ac_status = 0; } && {
1687 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1688 testscip-shell system . . test. ! -s conftest.err
1689 } && testscip-shell system . . test. -s conftest.$ac_objext
1690 then :
1691 ac_retval=0
1692 else $as_nop
1693 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1694 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1695
1696 ac_retval=1
1697 fi
1698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1700
1701 } # ac_fn_c_try_compile
1702
1703 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1704 # -------------------------------------------------------
1705 # Tests whether HEADER exists and can be compiled using the include files in
1706 # INCLUDES, setting the cache variable VAR accordingly.
1707 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). ()
1708 {
1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1711 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
1712 if eval test \${$3+y}
1713 then :
1714 printfscip-shell system . . printf. %s "(cached) " >&6
1715 else $as_nop
1716 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1717 /* end confdefs.h. */
1718 $4
1719 #include <$2>
1720 _ACEOF
1721 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
1722 then :
1723 eval "$3=yes"
1724 else $as_nop
1725 eval "$3=no"
1726 fi
1727 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1728 fi
1729 eval ac_res=\$$3
1730 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1731 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
1732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733
1734 } # ac_fn_c_check_header_compile
1735
1736 # ac_fn_cxx_try_compile LINENO
1737 # ----------------------------
1738 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1739 ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). ()
1740 {
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam
1743 if { { ac_try="$ac_compile"
1744 case "(($ac_try" in
1745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1746 *) ac_try_echo=$ac_try;;
1747 esac
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1750 (eval "$ac_compile") 2>conftest.err
1751 ac_status=$?
1752 if testscip-shell system . . test. -s conftest.err; then
1753 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1754 catscip-shell system . . cat. conftest.er1 >&5
1755 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1756 fi
1757 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758 testscip-shell system . . test. $ac_status = 0; } && {
1759 testscip-shell system . . test. -z "$ac_cxx_werror_flag" ||
1760 testscip-shell system . . test. ! -s conftest.err
1761 } && testscip-shell system . . test. -s conftest.$ac_objext
1762 then :
1763 ac_retval=0
1764 else $as_nop
1765 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1766 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1767
1768 ac_retval=1
1769 fi
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1772
1773 } # ac_fn_cxx_try_compile
1774
1775 # ac_fn_c_try_link LINENO
1776 # -----------------------
1777 # Try to link conftest.$ac_ext, and return whether this succeeded.
1778 ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). ()
1779 {
1780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1782 if { { ac_try="$ac_link"
1783 case "(($ac_try" in
1784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785 *) ac_try_echo=$ac_try;;
1786 esac
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1789 (eval "$ac_link") 2>conftest.err
1790 ac_status=$?
1791 if testscip-shell system . . test. -s conftest.err; then
1792 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1793 catscip-shell system . . cat. conftest.er1 >&5
1794 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1795 fi
1796 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797 testscip-shell system . . test. $ac_status = 0; } && {
1798 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1799 testscip-shell system . . test. ! -s conftest.err
1800 } && testscip-shell system . . test. -s conftest$ac_exeext && {
1801 testscip-shell system . . test. "$cross_compiling" = yes ||
1802 testscip-shell system . . test. -x conftest$ac_exeext
1803 }
1804 then :
1805 ac_retval=0
1806 else $as_nop
1807 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1808 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1809
1810 ac_retval=1
1811 fi
1812 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1813 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1814 # interfere with the next link command; also delete a directory that is
1815 # left behind by Apple's compiler. We do this before executing the actions.
1816 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1819
1820 } # ac_fn_c_try_link
1821
1822 # ac_fn_c_check_func LINENO FUNC VAR
1823 # ----------------------------------
1824 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1825 ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). ()
1826 {
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
1830 if eval test \${$3+y}
1831 then :
1832 printfscip-shell system . . printf. %s "(cached) " >&6
1833 else $as_nop
1834 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1835 /* end confdefs.h. */
1836 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1838 #define $2 innocuous_$2
1839
1840 /* System header to define __stub macros and hopefully few prototypes,
1841 which can conflict with char $2 (); below. */
1842
1843 #include <limits.h>
1844 #undef $2
1845
1846 /* Override any GCC internal prototype to avoid an error.
1847 Use char because int might match the return type of a GCC
1848 builtin and then its argument prototype would still apply. */
1849 #ifdef __cplusplus
1850 extern "C"
1851 #endif
1852 char $2 ();
1853 /* The GNU C library defines this for functions which it implements
1854 to always fail with ENOSYS. Some functions are actually named
1855 something starting with __ and the normal name is an alias. */
1856 #if defined __stub_$2 || defined __stub___$2
1857 choke me
1858 #endif
1859
1860 int
1861 main (void)
1862 {
1863 return $2 ();
1864 ;
1865 return 0;
1866 }
1867 _ACEOF
1868 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
1869 then :
1870 eval "$3=yes"
1871 else $as_nop
1872 eval "$3=no"
1873 fi
1874 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
1875 conftest$ac_exeext conftest.$ac_ext
1876 fi
1877 eval ac_res=\$$3
1878 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881
1882 } # ac_fn_c_check_func
1883
1884 # ac_fn_cxx_try_cpp LINENO
1885 # ------------------------
1886 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1887 ac_fn_cxx_try_cppscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_cpp(). ()
1888 {
1889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890 if { { ac_try="$ac_cpp conftest.$ac_ext"
1891 case "(($ac_try" in
1892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1893 *) ac_try_echo=$ac_try;;
1894 esac
1895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1896 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1897 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1898 ac_status=$?
1899 if testscip-shell system . . test. -s conftest.err; then
1900 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1901 catscip-shell system . . cat. conftest.er1 >&5
1902 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1903 fi
1904 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 testscip-shell system . . test. $ac_status = 0; } > conftest.i && {
1906 testscip-shell system . . test. -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1907 testscip-shell system . . test. ! -s conftest.err
1908 }
1909 then :
1910 ac_retval=0
1911 else $as_nop
1912 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1913 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1914
1915 ac_retval=1
1916 fi
1917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1919
1920 } # ac_fn_cxx_try_cpp
1921
1922 # ac_fn_cxx_try_link LINENO
1923 # -------------------------
1924 # Try to link conftest.$ac_ext, and return whether this succeeded.
1925 ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). ()
1926 {
1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1929 if { { ac_try="$ac_link"
1930 case "(($ac_try" in
1931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1932 *) ac_try_echo=$ac_try;;
1933 esac
1934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1935 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1936 (eval "$ac_link") 2>conftest.err
1937 ac_status=$?
1938 if testscip-shell system . . test. -s conftest.err; then
1939 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1940 catscip-shell system . . cat. conftest.er1 >&5
1941 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1942 fi
1943 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1944 testscip-shell system . . test. $ac_status = 0; } && {
1945 testscip-shell system . . test. -z "$ac_cxx_werror_flag" ||
1946 testscip-shell system . . test. ! -s conftest.err
1947 } && testscip-shell system . . test. -s conftest$ac_exeext && {
1948 testscip-shell system . . test. "$cross_compiling" = yes ||
1949 testscip-shell system . . test. -x conftest$ac_exeext
1950 }
1951 then :
1952 ac_retval=0
1953 else $as_nop
1954 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1955 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1956
1957 ac_retval=1
1958 fi
1959 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1960 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1961 # interfere with the next link command; also delete a directory that is
1962 # left behind by Apple's compiler. We do this before executing the actions.
1963 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1964 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1965 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1966
1967 } # ac_fn_cxx_try_link
1968
1969 # ac_fn_c_try_cpp LINENO
1970 # ----------------------
1971 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1972 ac_fn_c_try_cppscip-shell shell shell-project 0.0.0 ac_fn_c_try_cpp(). ()
1973 {
1974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975 if { { ac_try="$ac_cpp conftest.$ac_ext"
1976 case "(($ac_try" in
1977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1978 *) ac_try_echo=$ac_try;;
1979 esac
1980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1981 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1983 ac_status=$?
1984 if testscip-shell system . . test. -s conftest.err; then
1985 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1986 catscip-shell system . . cat. conftest.er1 >&5
1987 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1988 fi
1989 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1990 testscip-shell system . . test. $ac_status = 0; } > conftest.i && {
1991 testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1992 testscip-shell system . . test. ! -s conftest.err
1993 }
1994 then :
1995 ac_retval=0
1996 else $as_nop
1997 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1998 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1999
2000 ac_retval=1
2001 fi
2002 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2003 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
2004
2005 } # ac_fn_c_try_cpp
2006
2007 # ac_fn_c_check_header_preproc LINENO HEADER VAR
2008 # ----------------------------------------------
2009 # Tests whether HEADER exists and can be preprocessed (in isolation), setting
2010 # the cache variable VAR accordingly.
2011 ac_fn_c_check_header_preprocscip-shell shell shell-project 0.0.0 ac_fn_c_check_header_preproc(). ()
2012 {
2013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2014 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2015 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
2016 if eval test \${$3+y}
2017 then :
2018 printfscip-shell system . . printf. %s "(cached) " >&6
2019 else $as_nop
2020 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h. */
2022 #include <$2>
2023 _ACEOF
2024 if ac_fn_c_try_cppscip-shell shell shell-project 0.0.0 ac_fn_c_try_cpp(). "$LINENO"
2025 then :
2026 eval "$3=yes"
2027 else $as_nop
2028 eval "$3=no"
2029 fi
2030 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
2031 fi
2032 eval ac_res=\$$3
2033 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2034 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
2035 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2036
2037 } # ac_fn_c_check_header_preproc
2038
2039 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2040 # ------------------------------------------------------------------
2041 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2042 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2043 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). ()
2044 {
2045 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2046 as_decl_name=`echoscip-shell system . . echo. $2|sedscip-shell system . . sed. 's/ *(.*//'`
2047 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2048 printfscip-shell system . . printf. %s "checking whether $as_decl_name is declared... " >&6; }
2049 if eval test \${$3+y}
2050 then :
2051 printfscip-shell system . . printf. %s "(cached) " >&6
2052 else $as_nop
2053 as_decl_use=`echoscip-shell system . . echo. $2|sedscip-shell system . . sed. -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2054 eval ac_save_FLAGS=\$$6
2055 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). $6 " $5"
2056 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2057 /* end confdefs.h. */
2058 $4
2059 int
2060 main (void)
2061 {
2062 #ifndef $as_decl_name
2063 #ifdef __cplusplus
2064 (void) $as_decl_use;
2065 #else
2066 (void) $as_decl_name;
2067 #endif
2068 #endif
2069
2070 ;
2071 return 0;
2072 }
2073 _ACEOF
2074 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
2075 then :
2076 eval "$3=yes"
2077 else $as_nop
2078 eval "$3=no"
2079 fi
2080 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2081 eval $6=\$ac_save_FLAGS
2082
2083 fi
2084 eval ac_res=\$$3
2085 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2086 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
2087 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2088
2089 } # ac_fn_check_decl
2090
2091 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2092 # -------------------------------------------
2093 # Tests whether TYPE exists after having included INCLUDES, setting cache
2094 # variable VAR accordingly.
2095 ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). ()
2096 {
2097 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2098 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2099 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
2100 if eval test \${$3+y}
2101 then :
2102 printfscip-shell system . . printf. %s "(cached) " >&6
2103 else $as_nop
2104 eval "$3=no"
2105 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2106 /* end confdefs.h. */
2107 $4
2108 int
2109 main (void)
2110 {
2111 if (sizeof ($2))
2112 return 0;
2113 ;
2114 return 0;
2115 }
2116 _ACEOF
2117 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
2118 then :
2119 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2120 /* end confdefs.h. */
2121 $4
2122 int
2123 main (void)
2124 {
2125 if (sizeof (($2)))
2126 return 0;
2127 ;
2128 return 0;
2129 }
2130 _ACEOF
2131 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
2132 then :
2133
2134 else $as_nop
2135 eval "$3=yes"
2136 fi
2137 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2138 fi
2139 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2140 fi
2141 eval ac_res=\$$3
2142 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2143 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
2144 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2145
2146 } # ac_fn_c_check_type
2147
2148 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2149 # ----------------------------------------------------
2150 # Tries to find if the field MEMBER exists in type AGGR, after including
2151 # INCLUDES, setting cache variable VAR accordingly.
2152 ac_fn_c_check_memberscip-shell shell shell-project 0.0.0 ac_fn_c_check_member(). ()
2153 {
2154 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2155 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2156 printfscip-shell system . . printf. %s "checking for $2.$3... " >&6; }
2157 if eval test \${$4+y}
2158 then :
2159 printfscip-shell system . . printf. %s "(cached) " >&6
2160 else $as_nop
2161 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2162 /* end confdefs.h. */
2163 $5
2164 int
2165 main (void)
2166 {
2167 static $2 ac_aggr;
2168 if (ac_aggr.$3)
2169 return 0;
2170 ;
2171 return 0;
2172 }
2173 _ACEOF
2174 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
2175 then :
2176 eval "$4=yes"
2177 else $as_nop
2178 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2179 /* end confdefs.h. */
2180 $5
2181 int
2182 main (void)
2183 {
2184 static $2 ac_aggr;
2185 if (sizeof ac_aggr.$3)
2186 return 0;
2187 ;
2188 return 0;
2189 }
2190 _ACEOF
2191 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
2192 then :
2193 eval "$4=yes"
2194 else $as_nop
2195 eval "$4=no"
2196 fi
2197 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2198 fi
2199 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2200 fi
2201 eval ac_res=\$$4
2202 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2203 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
2204 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2205
2206 } # ac_fn_c_check_member
2207
2208 # ac_fn_c_try_run LINENO
2209 # ----------------------
2210 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
2211 # executables *can* be run.
2212 ac_fn_c_try_runscip-shell shell shell-project 0.0.0 ac_fn_c_try_run(). ()
2213 {
2214 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2215 if { { ac_try="$ac_link"
2216 case "(($ac_try" in
2217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2218 *) ac_try_echo=$ac_try;;
2219 esac
2220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2221 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
2222 (eval "$ac_link") 2>&5
2223 ac_status=$?
2224 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2225 testscip-shell system . . test. $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2226 { { case "(($ac_try" in
2227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2228 *) ac_try_echo=$ac_try;;
2229 esac
2230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2231 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
2232 (eval "$ac_try") 2>&5
2233 ac_status=$?
2234 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2235 testscip-shell system . . test. $ac_status = 0; }; }
2236 then :
2237 ac_retval=0
2238 else $as_nop
2239 printfscip-shell system . . printf. "%s\n" "$as_me: program exited with status $ac_status" >&5
2240 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
2241 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2242
2243 ac_retval=$ac_status
2244 fi
2245 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
2246 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2247 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
2248
2249 } # ac_fn_c_try_run
2250 ac_configure_args_raw=
2251 for ac_arg
2252 do
2253 case $ac_arg in
2254 *\'*)
2255 ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2256 esac
2257 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args_raw " '$ac_arg'"
2258 done
2259
2260 case $ac_configure_args_raw in
2261 *$as_nl*)
2262 ac_safe_unquote= ;;
2263 *)
2264 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2265 ac_unsafe_a="$ac_unsafe_z#~"
2266 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2267 ac_configure_args_raw=` printfscip-shell system . . printf. "%s\n" "$ac_configure_args_raw" | sedscip-shell system . . sed. "$ac_safe_unquote"`;;
2268 esac
2269
2270 catscip-shell system . . cat. >config.log <<_ACEOF
2271 This file contains any messages produced by compilers while
2272 running configure, to aid debugging if configure makes a mistake.
2273
2274 It was created by c-ares $as_me 1.34.8, which was
2275 generated by GNU Autoconf 2.71. Invocation command line was
2276
2277 $ $0$ac_configure_args_raw
2278
2279 _ACEOF
2280 exec 5>>config.log
2281 {
2282 catscip-shell system . . cat. <<_ASUNAME
2283 ## --------- ##
2284 ## Platform. ##
2285 ## --------- ##
2286
2287 hostname = `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
2288 uname -m = `(unamescip-shell system . . uname. -m) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2289 uname -r = `(unamescip-shell system . . uname. -r) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2290 uname -s = `(unamescip-shell system . . uname. -s) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2291 uname -v = `(unamescip-shell system . . uname. -v) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2292
2293 /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`
2294 /bin/uname -X = `(/bin/unamescip-shell filesystem . . `/bin/uname`. -X) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2295
2296 /bin/arch = `(/bin/archscip-shell filesystem . . `/bin/arch`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2297 /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`
2298 /usr/convex/getsysinfo = `(/usr/convex/getsysinfoscip-shell filesystem . . `/usr/convex/getsysinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2299 /usr/bin/hostinfo = `(/usr/bin/hostinfoscip-shell filesystem . . `/usr/bin/hostinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2300 /bin/machine = `(/bin/machinescip-shell filesystem . . `/bin/machine`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2301 /usr/bin/oslevel = `(/usr/bin/oslevelscip-shell filesystem . . `/usr/bin/oslevel`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2302 /bin/universe = `(/bin/universescip-shell filesystem . . `/bin/universe`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2303
2304 _ASUNAME
2305
2306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307 for as_dir in $PATH
2308 do
2309 IFS=$as_save_IFS
2310 case $as_dir in #(((
2311 '') as_dir=./ ;;
2312 */) ;;
2313 *) as_dir=$as_dir/ ;;
2314 esac
2315 printfscip-shell system . . printf. "%s\n" "PATH: $as_dir"
2316 done
2317 IFS=$as_save_IFS
2318
2319 } >&5
2320
2321 catscip-shell system . . cat. >&5 <<_ACEOF
2322
2323
2324 ## ----------- ##
2325 ## Core tests. ##
2326 ## ----------- ##
2327
2328 _ACEOF
2329
2330
2331 # Keep a trace of the command line.
2332 # Strip out --no-create and --no-recursion so they do not pile up.
2333 # Strip out --silent because we don't want to record it for future runs.
2334 # Also quote any args containing shell meta-characters.
2335 # Make two passes to allow for proper duplicate-argument suppression.
2336 ac_configure_args=
2337 ac_configure_args0=
2338 ac_configure_args1=
2339 ac_must_keep_next=false
2340 for ac_pass in 1 2
2341 do
2342 for ac_arg
2343 do
2344 case $ac_arg in
2345 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2346 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2347 | -silent | --silent | --silen | --sile | --sil)
2348 continue ;;
2349 *\'*)
2350 ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2351 esac
2352 case $ac_pass in
2353 1) as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args0 " '$ac_arg'" ;;
2354 2)
2355 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args1 " '$ac_arg'"
2356 if testscip-shell system . . test. $ac_must_keep_next = true; then
2357 ac_must_keep_next=false # Got value, back to normal.
2358 else
2359 case $ac_arg in
2360 *=* | --config-cache | -C | -disable-* | --disable-* \
2361 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2362 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2363 | -with-* | --with-* | -without-* | --without-* | --x)
2364 case "$ac_configure_args0 " in
2365 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2366 esac
2367 ;;
2368 -* ) ac_must_keep_next=true ;;
2369 esac
2370 fi
2371 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args " '$ac_arg'"
2372 ;;
2373 esac
2374 done
2375 done
2376 { ac_configure_args0=; unset ac_configure_args0;}
2377 { ac_configure_args1=; unset ac_configure_args1;}
2378
2379 # When interrupted or exit'd, cleanup temporary files, and complete
2380 # config.log. We remove comments because anyway the quotes in there
2381 # would cause problems or look ugly.
2382 # WARNING: Use '\'' to represent an apostrophe within the trap.
2383 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2384 trap 'exit_status=$?
2385 # Sanitize IFS.
2386 IFS=" "" $as_nl"
2387 # Save into config.log some information that might help in debugging.
2388 {
2389 echo
2390
2391 printf "%s\n" "## ---------------- ##
2392 ## Cache variables. ##
2393 ## ---------------- ##"
2394 echo
2395 # The following way of writing the cache mishandles newlines in values,
2396 (
2397 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2398 eval ac_val=\$$ac_var
2399 case $ac_val in #(
2400 *${as_nl}*)
2401 case $ac_var in #(
2402 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2403 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2404 esac
2405 case $ac_var in #(
2406 _ | IFS | as_nl) ;; #(
2407 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2408 *) { eval $ac_var=; unset $ac_var;} ;;
2409 esac ;;
2410 esac
2411 done
2412 (set) 2>&1 |
2413 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2414 *${as_nl}ac_space=\ *)
2415 sed -n \
2416 "s/'\''/'\''\\\\'\'''\''/g;
2417 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2418 ;; #(
2419 *)
2420 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2421 ;;
2422 esac |
2423 sort
2424 )
2425 echo
2426
2427 printf "%s\n" "## ----------------- ##
2428 ## Output variables. ##
2429 ## ----------------- ##"
2430 echo
2431 for ac_var in $ac_subst_vars
2432 do
2433 eval ac_val=\$$ac_var
2434 case $ac_val in
2435 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2436 esac
2437 printf "%s\n" "$ac_var='\''$ac_val'\''"
2438 done | sort
2439 echo
2440
2441 if test -n "$ac_subst_files"; then
2442 printf "%s\n" "## ------------------- ##
2443 ## File substitutions. ##
2444 ## ------------------- ##"
2445 echo
2446 for ac_var in $ac_subst_files
2447 do
2448 eval ac_val=\$$ac_var
2449 case $ac_val in
2450 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2451 esac
2452 printf "%s\n" "$ac_var='\''$ac_val'\''"
2453 done | sort
2454 echo
2455 fi
2456
2457 if test -s confdefs.h; then
2458 printf "%s\n" "## ----------- ##
2459 ## confdefs.h. ##
2460 ## ----------- ##"
2461 echo
2462 cat confdefs.h
2463 echo
2464 fi
2465 test "$ac_signal" != 0 &&
2466 printf "%s\n" "$as_me: caught signal $ac_signal"
2467 printf "%s\n" "$as_me: exit $exit_status"
2468 } >&5
2469 rm -f core *.core core.conftest.* &&
2470 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2471 exit $exit_status
2472 ' 0
2473 for ac_signal in 1 2 13 15; do
2474 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2475 done
2476 ac_signal=0
2477
2478 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2479 rmscip-shell system . . rm. -f -r conftest* confdefs.h
2480
2481 printfscip-shell system . . printf. "%s\n" "/* confdefs.h */" > confdefs.h
2482
2483 # Predefined preprocessor variables.
2484
2485 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2486
2487 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2488
2489 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2490
2491 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2492
2493 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2494
2495 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2496
2497
2498 # Let the site file select an alternate cache file if it wants to.
2499 # Prefer an explicitly selected file to automatically selected ones.
2500 if testscip-shell system . . test. -n "$CONFIG_SITE"; then
2501 ac_site_files="$CONFIG_SITE"
2502 elif testscip-shell system . . test. "x$prefix" != xNONE; then
2503 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2504 else
2505 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2506 fi
2507
2508 for ac_site_file in $ac_site_files
2509 do
2510 case $ac_site_file in #(
2511 */*) :
2512 ;; #(
2513 *) :
2514 ac_site_file=./$ac_site_file ;;
2515 esac
2516 if testscip-shell system . . test. -f "$ac_site_file" && testscip-shell system . . test. -r "$ac_site_file"; then
2517 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2518 printfscip-shell system . . printf. "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2519 sedscip-shell system . . sed. 's/^/| /' "$ac_site_file" >&5
2520 . "$ac_site_file" \
2521 || { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2522 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2523 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "failed to load site script $ac_site_file
2524 See \`config.log' for more details" "$LINENO" 5; }
2525 fi
2526 done
2527
2528 if testscip-shell system . . test. -r "$cache_file"; then
2529 # Some versions of bash will fail to source /dev/null (special files
2530 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2531 if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$cache_file" && testscip-shell system . . test. -f "$cache_file"; then
2532 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2533 printfscip-shell system . . printf. "%s\n" "$as_me: loading cache $cache_file" >&6;}
2534 case $cache_file in
2535 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2536 *) . "./$cache_file";;
2537 esac
2538 fi
2539 else
2540 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2541 printfscip-shell system . . printf. "%s\n" "$as_me: creating cache $cache_file" >&6;}
2542 >$cache_file
2543 fi
2544
2545 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2546 # Test code for whether the C compiler supports C89 (global declarations)
2547 ac_c_conftest_c89_globals='
2548 /* Does the compiler advertise C89 conformance?
2549 Do not test the value of __STDC__, because some compilers set it to 0
2550 while being otherwise adequately conformant. */
2551 #if !defined __STDC__
2552 # error "Compiler does not advertise C89 conformance"
2553 #endif
2554
2555 #include <stddef.h>
2556 #include <stdarg.h>
2557 struct stat;
2558 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2559 struct buf { int x; };
2560 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2561 static char *e (p, i)
2562 char **p;
2563 int i;
2564 {
2565 return p[i];
2566 }
2567 static char *f (char * (*g) (char **, int), char **p, ...)
2568 {
2569 char *s;
2570 va_list v;
2571 va_start (v,p);
2572 s = g (p, va_arg (v,int));
2573 va_end (v);
2574 return s;
2575 }
2576
2577 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2578 function prototypes and stuff, but not \xHH hex character constants.
2579 These do not provoke an error unfortunately, instead are silently treated
2580 as an "x". The following induces an error, until -std is added to get
2581 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2582 array size at least. It is necessary to write \x00 == 0 to get something
2583 that is true only with -std. */
2584 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2585
2586 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2587 inside strings and character constants. */
2588 #define FOO(x) '\''x'\''
2589 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2590
2591 int test (int i, double x);
2592 struct s1 {int (*f) (int a);};
2593 struct s2 {int (*f) (double a);};
2594 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2595 int, int);'
2596
2597 # Test code for whether the C compiler supports C89 (body of main).
2598 ac_c_conftest_c89_main='
2599 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2600 '
2601
2602 # Test code for whether the C compiler supports C99 (global declarations)
2603 ac_c_conftest_c99_globals='
2604 // Does the compiler advertise C99 conformance?
2605 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2606 # error "Compiler does not advertise C99 conformance"
2607 #endif
2608
2609 #include <stdbool.h>
2610 extern int puts (const char *);
2611 extern int printf (const char *, ...);
2612 extern int dprintf (int, const char *, ...);
2613 extern void *malloc (size_t);
2614
2615 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2616 // dprintf is used instead of fprintf to avoid needing to declare
2617 // FILE and stderr.
2618 #define debug(...) dprintf (2, __VA_ARGS__)
2619 #define showlist(...) puts (#__VA_ARGS__)
2620 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2621 static void
2622 test_varargs_macros (void)
2623 {
2624 int x = 1234;
2625 int y = 5678;
2626 debug ("Flag");
2627 debug ("X = %d\n", x);
2628 showlist (The first, second, and third items.);
2629 report (x>y, "x is %d but y is %d", x, y);
2630 }
2631
2632 // Check long long types.
2633 #define BIG64 18446744073709551615ull
2634 #define BIG32 4294967295ul
2635 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2636 #if !BIG_OK
2637 #error "your preprocessor is broken"
2638 #endif
2639 #if BIG_OK
2640 #else
2641 #error "your preprocessor is broken"
2642 #endif
2643 static long long int bignum = -9223372036854775807LL;
2644 static unsigned long long int ubignum = BIG64;
2645
2646 struct incomplete_array
2647 {
2648 int datasize;
2649 double data[];
2650 };
2651
2652 struct named_init {
2653 int number;
2654 const wchar_t *name;
2655 double average;
2656 };
2657
2658 typedef const char *ccp;
2659
2660 static inline int
2661 test_restrict (ccp restrict text)
2662 {
2663 // See if C++-style comments work.
2664 // Iterate through items via the restricted pointer.
2665 // Also check for declarations in for loops.
2666 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2667 continue;
2668 return 0;
2669 }
2670
2671 // Check varargs and va_copy.
2672 static bool
2673 test_varargs (const char *format, ...)
2674 {
2675 va_list args;
2676 va_start (args, format);
2677 va_list args_copy;
2678 va_copy (args_copy, args);
2679
2680 const char *str = "";
2681 int number = 0;
2682 float fnumber = 0;
2683
2684 while (*format)
2685 {
2686 switch (*format++)
2687 {
2688 case '\''s'\'': // string
2689 str = va_arg (args_copy, const char *);
2690 break;
2691 case '\''d'\'': // int
2692 number = va_arg (args_copy, int);
2693 break;
2694 case '\''f'\'': // float
2695 fnumber = va_arg (args_copy, double);
2696 break;
2697 default:
2698 break;
2699 }
2700 }
2701 va_end (args_copy);
2702 va_end (args);
2703
2704 return *str && number && fnumber;
2705 }
2706 '
2707
2708 # Test code for whether the C compiler supports C99 (body of main).
2709 ac_c_conftest_c99_main='
2710 // Check bool.
2711 _Bool success = false;
2712 success |= (argc != 0);
2713
2714 // Check restrict.
2715 if (test_restrict ("String literal") == 0)
2716 success = true;
2717 char *restrict newvar = "Another string";
2718
2719 // Check varargs.
2720 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2721 test_varargs_macros ();
2722
2723 // Check flexible array members.
2724 struct incomplete_array *ia =
2725 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2726 ia->datasize = 10;
2727 for (int i = 0; i < ia->datasize; ++i)
2728 ia->data[i] = i * 1.234;
2729
2730 // Check named initializers.
2731 struct named_init ni = {
2732 .number = 34,
2733 .name = L"Test wide string",
2734 .average = 543.34343,
2735 };
2736
2737 ni.number = 58;
2738
2739 int dynamic_array[ni.number];
2740 dynamic_array[0] = argv[0][0];
2741 dynamic_array[ni.number - 1] = 543;
2742
2743 // work around unused variable warnings
2744 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2745 || dynamic_array[ni.number - 1] != 543);
2746 '
2747
2748 # Test code for whether the C compiler supports C11 (global declarations)
2749 ac_c_conftest_c11_globals='
2750 // Does the compiler advertise C11 conformance?
2751 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2752 # error "Compiler does not advertise C11 conformance"
2753 #endif
2754
2755 // Check _Alignas.
2756 char _Alignas (double) aligned_as_double;
2757 char _Alignas (0) no_special_alignment;
2758 extern char aligned_as_int;
2759 char _Alignas (0) _Alignas (int) aligned_as_int;
2760
2761 // Check _Alignof.
2762 enum
2763 {
2764 int_alignment = _Alignof (int),
2765 int_array_alignment = _Alignof (int[100]),
2766 char_alignment = _Alignof (char)
2767 };
2768 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2769
2770 // Check _Noreturn.
2771 int _Noreturn does_not_return (void) { for (;;) continue; }
2772
2773 // Check _Static_assert.
2774 struct test_static_assert
2775 {
2776 int x;
2777 _Static_assert (sizeof (int) <= sizeof (long int),
2778 "_Static_assert does not work in struct");
2779 long int y;
2780 };
2781
2782 // Check UTF-8 literals.
2783 #define u8 syntax error!
2784 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2785
2786 // Check duplicate typedefs.
2787 typedef long *long_ptr;
2788 typedef long int *long_ptr;
2789 typedef long_ptr long_ptr;
2790
2791 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2792 struct anonymous
2793 {
2794 union {
2795 struct { int i; int j; };
2796 struct { int k; long int l; } w;
2797 };
2798 int m;
2799 } v1;
2800 '
2801
2802 # Test code for whether the C compiler supports C11 (body of main).
2803 ac_c_conftest_c11_main='
2804 _Static_assert ((offsetof (struct anonymous, i)
2805 == offsetof (struct anonymous, w.k)),
2806 "Anonymous union alignment botch");
2807 v1.i = 2;
2808 v1.w.k = 5;
2809 ok |= v1.i != 5;
2810 '
2811
2812 # Test code for whether the C compiler supports C11 (complete).
2813 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2814 ${ac_c_conftest_c99_globals}
2815 ${ac_c_conftest_c11_globals}
2816
2817 int
2818 main (int argc, char **argv)
2819 {
2820 int ok = 0;
2821 ${ac_c_conftest_c89_main}
2822 ${ac_c_conftest_c99_main}
2823 ${ac_c_conftest_c11_main}
2824 return ok;
2825 }
2826 "
2827
2828 # Test code for whether the C compiler supports C99 (complete).
2829 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2830 ${ac_c_conftest_c99_globals}
2831
2832 int
2833 main (int argc, char **argv)
2834 {
2835 int ok = 0;
2836 ${ac_c_conftest_c89_main}
2837 ${ac_c_conftest_c99_main}
2838 return ok;
2839 }
2840 "
2841
2842 # Test code for whether the C compiler supports C89 (complete).
2843 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2844
2845 int
2846 main (int argc, char **argv)
2847 {
2848 int ok = 0;
2849 ${ac_c_conftest_c89_main}
2850 return ok;
2851 }
2852 "
2853
2854 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2855 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " string.h string_h HAVE_STRING_H"
2856 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2857 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2858 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2859 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2860 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2861 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2862 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2863 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2864 # Test code for whether the C++ compiler supports C++98 (global declarations)
2865 ac_cxx_conftest_cxx98_globals='
2866 // Does the compiler advertise C++98 conformance?
2867 #if !defined __cplusplus || __cplusplus < 199711L
2868 # error "Compiler does not advertise C++98 conformance"
2869 #endif
2870
2871 // These inclusions are to reject old compilers that
2872 // lack the unsuffixed header files.
2873 #include <cstdlib>
2874 #include <exception>
2875
2876 // <cassert> and <cstring> are *not* freestanding headers in C++98.
2877 extern void assert (int);
2878 namespace std {
2879 extern int strcmp (const char *, const char *);
2880 }
2881
2882 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
2883 using std::exception;
2884 using std::strcmp;
2885
2886 namespace {
2887
2888 void test_exception_syntax()
2889 {
2890 try {
2891 throw "test";
2892 } catch (const char *s) {
2893 // Extra parentheses suppress a warning when building autoconf itself,
2894 // due to lint rules shared with more typical C programs.
2895 assert (!(strcmp) (s, "test"));
2896 }
2897 }
2898
2899 template <typename T> struct test_template
2900 {
2901 T const val;
2902 explicit test_template(T t) : val(t) {}
2903 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
2904 };
2905
2906 } // anonymous namespace
2907 '
2908
2909 # Test code for whether the C++ compiler supports C++98 (body of main)
2910 ac_cxx_conftest_cxx98_main='
2911 assert (argc);
2912 assert (! argv[0]);
2913 {
2914 test_exception_syntax ();
2915 test_template<double> tt (2.0);
2916 assert (tt.add (4) == 6.0);
2917 assert (true && !false);
2918 }
2919 '
2920
2921 # Test code for whether the C++ compiler supports C++11 (global declarations)
2922 ac_cxx_conftest_cxx11_globals='
2923 // Does the compiler advertise C++ 2011 conformance?
2924 #if !defined __cplusplus || __cplusplus < 201103L
2925 # error "Compiler does not advertise C++11 conformance"
2926 #endif
2927
2928 namespace cxx11test
2929 {
2930 constexpr int get_val() { return 20; }
2931
2932 struct testinit
2933 {
2934 int i;
2935 double d;
2936 };
2937
2938 class delegate
2939 {
2940 public:
2941 delegate(int n) : n(n) {}
2942 delegate(): delegate(2354) {}
2943
2944 virtual int getval() { return this->n; };
2945 protected:
2946 int n;
2947 };
2948
2949 class overridden : public delegate
2950 {
2951 public:
2952 overridden(int n): delegate(n) {}
2953 virtual int getval() override final { return this->n * 2; }
2954 };
2955
2956 class nocopy
2957 {
2958 public:
2959 nocopy(int i): i(i) {}
2960 nocopy() = default;
2961 nocopy(const nocopy&) = delete;
2962 nocopy & operator=(const nocopy&) = delete;
2963 private:
2964 int i;
2965 };
2966
2967 // for testing lambda expressions
2968 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
2969 {
2970 return f(v);
2971 }
2972
2973 // for testing variadic templates and trailing return types
2974 template <typename V> auto sum(V first) -> V
2975 {
2976 return first;
2977 }
2978 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
2979 {
2980 return first + sum(rest...);
2981 }
2982 }
2983 '
2984
2985 # Test code for whether the C++ compiler supports C++11 (body of main)
2986 ac_cxx_conftest_cxx11_main='
2987 {
2988 // Test auto and decltype
2989 auto a1 = 6538;
2990 auto a2 = 48573953.4;
2991 auto a3 = "String literal";
2992
2993 int total = 0;
2994 for (auto i = a3; *i; ++i) { total += *i; }
2995
2996 decltype(a2) a4 = 34895.034;
2997 }
2998 {
2999 // Test constexpr
3000 short sa[cxx11test::get_val()] = { 0 };
3001 }
3002 {
3003 // Test initializer lists
3004 cxx11test::testinit il = { 4323, 435234.23544 };
3005 }
3006 {
3007 // Test range-based for
3008 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3009 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3010 for (auto &x : array) { x += 23; }
3011 }
3012 {
3013 // Test lambda expressions
3014 using cxx11test::eval;
3015 assert (eval ([](int x) { return x*2; }, 21) == 42);
3016 double d = 2.0;
3017 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3018 assert (d == 5.0);
3019 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3020 assert (d == 5.0);
3021 }
3022 {
3023 // Test use of variadic templates
3024 using cxx11test::sum;
3025 auto a = sum(1);
3026 auto b = sum(1, 2);
3027 auto c = sum(1.0, 2.0, 3.0);
3028 }
3029 {
3030 // Test constructor delegation
3031 cxx11test::delegate d1;
3032 cxx11test::delegate d2();
3033 cxx11test::delegate d3(45);
3034 }
3035 {
3036 // Test override and final
3037 cxx11test::overridden o1(55464);
3038 }
3039 {
3040 // Test nullptr
3041 char *c = nullptr;
3042 }
3043 {
3044 // Test template brackets
3045 test_template<::test_template<int>> v(test_template<int>(12));
3046 }
3047 {
3048 // Unicode literals
3049 char const *utf8 = u8"UTF-8 string \u2500";
3050 char16_t const *utf16 = u"UTF-8 string \u2500";
3051 char32_t const *utf32 = U"UTF-32 string \u2500";
3052 }
3053 '
3054
3055 # Test code for whether the C compiler supports C++11 (complete).
3056 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3057 ${ac_cxx_conftest_cxx11_globals}
3058
3059 int
3060 main (int argc, char **argv)
3061 {
3062 int ok = 0;
3063 ${ac_cxx_conftest_cxx98_main}
3064 ${ac_cxx_conftest_cxx11_main}
3065 return ok;
3066 }
3067 "
3068
3069 # Test code for whether the C compiler supports C++98 (complete).
3070 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3071 int
3072 main (int argc, char **argv)
3073 {
3074 int ok = 0;
3075 ${ac_cxx_conftest_cxx98_main}
3076 return ok;
3077 }
3078 "
3079
3080
3081 # Auxiliary files required by this configure script.
3082 ac_aux_files="config.guess config.sub ltmain.sh missing install-sh compile"
3083
3084 # Locations in which to look for auxiliary files.
3085 ac_aux_dir_candidates="${srcdir}/config"
3086
3087 # Search for a directory containing all of the required auxiliary files,
3088 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3089 # If we don't find one directory that contains all the files we need,
3090 # we report the set of missing files from the *first* directory in
3091 # $ac_aux_dir_candidates and give up.
3092 ac_missing_aux_files=""
3093 ac_first_candidate=:
3094 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096 as_found=false
3097 for as_dir in $ac_aux_dir_candidates
3098 do
3099 IFS=$as_save_IFS
3100 case $as_dir in #(((
3101 '') as_dir=./ ;;
3102 */) ;;
3103 *) as_dir=$as_dir/ ;;
3104 esac
3105 as_found=:
3106
3107 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3108 ac_aux_dir_found=yes
3109 ac_install_sh=
3110 for ac_aux in $ac_aux_files
3111 do
3112 # As a special case, if "install-sh" is required, that requirement
3113 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3114 # and $ac_install_sh is set appropriately for whichever one is found.
3115 if testscip-shell system . . test. x"$ac_aux" = x"install-sh"
3116 then
3117 if testscip-shell system . . test. -f "${as_dir}install-sh"; then
3118 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3119 ac_install_sh="${as_dir}install-sh -c"
3120 elif testscip-shell system . . test. -f "${as_dir}install.sh"; then
3121 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3122 ac_install_sh="${as_dir}install.sh -c"
3123 elif testscip-shell system . . test. -f "${as_dir}shtool"; then
3124 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3125 ac_install_sh="${as_dir}shtool install -c"
3126 else
3127 ac_aux_dir_found=no
3128 if $ac_first_candidate; then
3129 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3130 else
3131 break
3132 fi
3133 fi
3134 else
3135 if testscip-shell system . . test. -f "${as_dir}${ac_aux}"; then
3136 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3137 else
3138 ac_aux_dir_found=no
3139 if $ac_first_candidate; then
3140 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3141 else
3142 break
3143 fi
3144 fi
3145 fi
3146 done
3147 if testscip-shell system . . test. "$ac_aux_dir_found" = yes; then
3148 ac_aux_dir="$as_dir"
3149 break
3150 fi
3151 ac_first_candidate=false
3152
3153 as_found=false
3154 done
3155 IFS=$as_save_IFS
3156 if $as_found
3157 then :
3158
3159 else $as_nop
3160 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3161 fi
3162
3163
3164 # These three variables are undocumented and unsupported,
3165 # and are intended to be withdrawn in a future Autoconf release.
3166 # They can cause serious problems if a builder's source tree is in a directory
3167 # whose full name contains unusual characters.
3168 if testscip-shell system . . test. -f "${ac_aux_dir}config.guess"; then
3169 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3170 fi
3171 if testscip-shell system . . test. -f "${ac_aux_dir}config.sub"; then
3172 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3173 fi
3174 if testscip-shell system . . test. -f "$ac_aux_dir/configure"; then
3175 ac_configure="$SHELL ${ac_aux_dir}configure"
3176 fi
3177
3178 # Check that the precious variables saved in the cache have kept the same
3179 # value.
3180 ac_cache_corrupted=false
3181 for ac_var in $ac_precious_vars; do
3182 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3183 eval ac_new_set=\$ac_env_${ac_var}_set
3184 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3185 eval ac_new_val=\$ac_env_${ac_var}_value
3186 case $ac_old_set,$ac_new_set in
3187 set,)
3188 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3189 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3190 ac_cache_corrupted=: ;;
3191 ,set)
3192 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3193 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3194 ac_cache_corrupted=: ;;
3195 ,);;
3196 *)
3197 if testscip-shell system . . test. "x$ac_old_val" != "x$ac_new_val"; then
3198 # differences in whitespace do not lead to failure.
3199 ac_old_val_w=`echoscip-shell system . . echo. x $ac_old_val`
3200 ac_new_val_w=`echoscip-shell system . . echo. x $ac_new_val`
3201 if testscip-shell system . . test. "$ac_old_val_w" != "$ac_new_val_w"; then
3202 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3203 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3204 ac_cache_corrupted=:
3205 else
3206 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3207 printfscip-shell system . . printf. "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3208 eval $ac_var=\$ac_old_val
3209 fi
3210 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3211 printfscip-shell system . . printf. "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
3212 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3213 printfscip-shell system . . printf. "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
3214 fi;;
3215 esac
3216 # Pass precious variables to config.status.
3217 if testscip-shell system . . test. "$ac_new_set" = set; then
3218 case $ac_new_val in
3219 *\'*) ac_arg=$ac_var=`printfscip-shell system . . printf. "%s\n" "$ac_new_val" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
3220 *) ac_arg=$ac_var=$ac_new_val ;;
3221 esac
3222 case " $ac_configure_args " in
3223 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3224 *) as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args " '$ac_arg'" ;;
3225 esac
3226 fi
3227 done
3228 if $ac_cache_corrupted; then
3229 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3230 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3231 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3232 printfscip-shell system . . printf. "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
3233 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3234 and start over" "$LINENO" 5
3235 fi
3236 ## -------------------- ##
3237 ## Main body of script. ##
3238 ## -------------------- ##
3239
3240 ac_ext=c
3241 ac_cpp='$CPP $CPPFLAGS'
3242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3245
3246
3247
3248 CARES_VERSION_INFO="21:7:19"
3249
3250
3251
3252 ac_config_headers="$ac_config_headers src/lib/ares_config.h include/ares_build.h"
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267 # Expand $ac_aux_dir to an absolute path.
3268 am_aux_dir=`cd "$ac_aux_dir" && pwdscip-shell system . . pwd.`
3269
3270 ac_ext=c
3271 ac_cpp='$CPP $CPPFLAGS'
3272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3275 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3276 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3277 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3278 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3279 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3280 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3281 then :
3282 printfscip-shell system . . printf. %s "(cached) " >&6
3283 else $as_nop
3284 if testscip-shell system . . test. -n "$CC"; then
3285 ac_cv_prog_CC="$CC" # Let the user override the test.
3286 else
3287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3288 for as_dir in $PATH
3289 do
3290 IFS=$as_save_IFS
3291 case $as_dir in #(((
3292 '') as_dir=./ ;;
3293 */) ;;
3294 *) as_dir=$as_dir/ ;;
3295 esac
3296 for ac_exec_ext in '' $ac_executable_extensions; do
3297 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3298 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3299 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3300 break 2
3301 fi
3302 done
3303 done
3304 IFS=$as_save_IFS
3305
3306 fi
3307 fi
3308 CC=$ac_cv_prog_CC
3309 if testscip-shell system . . test. -n "$CC"; then
3310 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3311 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3312 else
3313 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3314 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3315 fi
3316
3317
3318 fi
3319 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
3320 ac_ct_CC=$CC
3321 # Extract the first word of "gcc", so it can be a program name with args.
3322 set dummy gcc; ac_word=$2
3323 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3324 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3325 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
3326 then :
3327 printfscip-shell system . . printf. %s "(cached) " >&6
3328 else $as_nop
3329 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3330 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3331 else
3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3333 for as_dir in $PATH
3334 do
3335 IFS=$as_save_IFS
3336 case $as_dir in #(((
3337 '') as_dir=./ ;;
3338 */) ;;
3339 *) as_dir=$as_dir/ ;;
3340 esac
3341 for ac_exec_ext in '' $ac_executable_extensions; do
3342 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3343 ac_cv_prog_ac_ct_CC="gcc"
3344 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3345 break 2
3346 fi
3347 done
3348 done
3349 IFS=$as_save_IFS
3350
3351 fi
3352 fi
3353 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3354 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3355 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3356 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
3357 else
3358 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3360 fi
3361
3362 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3363 CC=""
3364 else
3365 case $cross_compiling:$ac_tool_warned in
3366 yes:)
3367 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3368 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3369 ac_tool_warned=yes ;;
3370 esac
3371 CC=$ac_ct_CC
3372 fi
3373 else
3374 CC="$ac_cv_prog_CC"
3375 fi
3376
3377 if testscip-shell system . . test. -z "$CC"; then
3378 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3379 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3380 set dummy ${ac_tool_prefix}cc; ac_word=$2
3381 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3382 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3383 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3384 then :
3385 printfscip-shell system . . printf. %s "(cached) " >&6
3386 else $as_nop
3387 if testscip-shell system . . test. -n "$CC"; then
3388 ac_cv_prog_CC="$CC" # Let the user override the test.
3389 else
3390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3391 for as_dir in $PATH
3392 do
3393 IFS=$as_save_IFS
3394 case $as_dir in #(((
3395 '') as_dir=./ ;;
3396 */) ;;
3397 *) as_dir=$as_dir/ ;;
3398 esac
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3401 ac_cv_prog_CC="${ac_tool_prefix}cc"
3402 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3403 break 2
3404 fi
3405 done
3406 done
3407 IFS=$as_save_IFS
3408
3409 fi
3410 fi
3411 CC=$ac_cv_prog_CC
3412 if testscip-shell system . . test. -n "$CC"; then
3413 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3414 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3415 else
3416 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3418 fi
3419
3420
3421 fi
3422 fi
3423 if testscip-shell system . . test. -z "$CC"; then
3424 # Extract the first word of "cc", so it can be a program name with args.
3425 set dummy cc; ac_word=$2
3426 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3427 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3428 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3429 then :
3430 printfscip-shell system . . printf. %s "(cached) " >&6
3431 else $as_nop
3432 if testscip-shell system . . test. -n "$CC"; then
3433 ac_cv_prog_CC="$CC" # Let the user override the test.
3434 else
3435 ac_prog_rejected=no
3436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3437 for as_dir in $PATH
3438 do
3439 IFS=$as_save_IFS
3440 case $as_dir in #(((
3441 '') as_dir=./ ;;
3442 */) ;;
3443 *) as_dir=$as_dir/ ;;
3444 esac
3445 for ac_exec_ext in '' $ac_executable_extensions; do
3446 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3447 if testscip-shell system . . test. "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then
3448 ac_prog_rejected=yes
3449 continue
3450 fi
3451 ac_cv_prog_CC="cc"
3452 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3453 break 2
3454 fi
3455 done
3456 done
3457 IFS=$as_save_IFS
3458
3459 if testscip-shell system . . test. $ac_prog_rejected = yes; then
3460 # We found a bogon in the path, so make sure we never use it.
3461 set dummy $ac_cv_prog_CC
3462 shift
3463 if testscip-shell system . . test. $# != 0; then
3464 # We chose a different compiler from the bogus one.
3465 # However, it has the same basename, so the bogon will be chosen
3466 # first if we set CC to just the basename; use the full file name.
3467 shift
3468 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3469 fi
3470 fi
3471 fi
3472 fi
3473 CC=$ac_cv_prog_CC
3474 if testscip-shell system . . test. -n "$CC"; then
3475 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3476 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3477 else
3478 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3479 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3480 fi
3481
3482
3483 fi
3484 if testscip-shell system . . test. -z "$CC"; then
3485 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3486 for ac_prog in cl.exe
3487 do
3488 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3489 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3490 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3491 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3492 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3493 then :
3494 printfscip-shell system . . printf. %s "(cached) " >&6
3495 else $as_nop
3496 if testscip-shell system . . test. -n "$CC"; then
3497 ac_cv_prog_CC="$CC" # Let the user override the test.
3498 else
3499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500 for as_dir in $PATH
3501 do
3502 IFS=$as_save_IFS
3503 case $as_dir in #(((
3504 '') as_dir=./ ;;
3505 */) ;;
3506 *) as_dir=$as_dir/ ;;
3507 esac
3508 for ac_exec_ext in '' $ac_executable_extensions; do
3509 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3510 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3511 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3512 break 2
3513 fi
3514 done
3515 done
3516 IFS=$as_save_IFS
3517
3518 fi
3519 fi
3520 CC=$ac_cv_prog_CC
3521 if testscip-shell system . . test. -n "$CC"; then
3522 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3523 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3524 else
3525 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3526 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3527 fi
3528
3529
3530 testscip-shell system . . test. -n "$CC" && break
3531 done
3532 fi
3533 if testscip-shell system . . test. -z "$CC"; then
3534 ac_ct_CC=$CC
3535 for ac_prog in cl.exe
3536 do
3537 # Extract the first word of "$ac_prog", so it can be a program name with args.
3538 set dummy $ac_prog; ac_word=$2
3539 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3540 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3541 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
3542 then :
3543 printfscip-shell system . . printf. %s "(cached) " >&6
3544 else $as_nop
3545 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3546 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3547 else
3548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3549 for as_dir in $PATH
3550 do
3551 IFS=$as_save_IFS
3552 case $as_dir in #(((
3553 '') as_dir=./ ;;
3554 */) ;;
3555 *) as_dir=$as_dir/ ;;
3556 esac
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3559 ac_cv_prog_ac_ct_CC="$ac_prog"
3560 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3561 break 2
3562 fi
3563 done
3564 done
3565 IFS=$as_save_IFS
3566
3567 fi
3568 fi
3569 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3570 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3571 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3572 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
3573 else
3574 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3576 fi
3577
3578
3579 testscip-shell system . . test. -n "$ac_ct_CC" && break
3580 done
3581
3582 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3583 CC=""
3584 else
3585 case $cross_compiling:$ac_tool_warned in
3586 yes:)
3587 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3588 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3589 ac_tool_warned=yes ;;
3590 esac
3591 CC=$ac_ct_CC
3592 fi
3593 fi
3594
3595 fi
3596 if testscip-shell system . . test. -z "$CC"; then
3597 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3598 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3599 set dummy ${ac_tool_prefix}clang; ac_word=$2
3600 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3601 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3602 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3603 then :
3604 printfscip-shell system . . printf. %s "(cached) " >&6
3605 else $as_nop
3606 if testscip-shell system . . test. -n "$CC"; then
3607 ac_cv_prog_CC="$CC" # Let the user override the test.
3608 else
3609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 for as_dir in $PATH
3611 do
3612 IFS=$as_save_IFS
3613 case $as_dir in #(((
3614 '') as_dir=./ ;;
3615 */) ;;
3616 *) as_dir=$as_dir/ ;;
3617 esac
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3620 ac_cv_prog_CC="${ac_tool_prefix}clang"
3621 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3622 break 2
3623 fi
3624 done
3625 done
3626 IFS=$as_save_IFS
3627
3628 fi
3629 fi
3630 CC=$ac_cv_prog_CC
3631 if testscip-shell system . . test. -n "$CC"; then
3632 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3633 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3634 else
3635 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3637 fi
3638
3639
3640 fi
3641 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
3642 ac_ct_CC=$CC
3643 # Extract the first word of "clang", so it can be a program name with args.
3644 set dummy clang; ac_word=$2
3645 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3647 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
3648 then :
3649 printfscip-shell system . . printf. %s "(cached) " >&6
3650 else $as_nop
3651 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3652 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3653 else
3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655 for as_dir in $PATH
3656 do
3657 IFS=$as_save_IFS
3658 case $as_dir in #(((
3659 '') as_dir=./ ;;
3660 */) ;;
3661 *) as_dir=$as_dir/ ;;
3662 esac
3663 for ac_exec_ext in '' $ac_executable_extensions; do
3664 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3665 ac_cv_prog_ac_ct_CC="clang"
3666 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3667 break 2
3668 fi
3669 done
3670 done
3671 IFS=$as_save_IFS
3672
3673 fi
3674 fi
3675 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3676 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3677 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3678 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
3679 else
3680 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3681 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3682 fi
3683
3684 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3685 CC=""
3686 else
3687 case $cross_compiling:$ac_tool_warned in
3688 yes:)
3689 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3690 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3691 ac_tool_warned=yes ;;
3692 esac
3693 CC=$ac_ct_CC
3694 fi
3695 else
3696 CC="$ac_cv_prog_CC"
3697 fi
3698
3699 fi
3700
3701
3702 testscip-shell system . . test. -z "$CC" && { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3703 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3704 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable C compiler found in \$PATH
3705 See \`config.log' for more details" "$LINENO" 5; }
3706
3707 # Provide some information about the compiler.
3708 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3709 set X $ac_compile
3710 ac_compiler=$2
3711 for ac_option in --version -v -V -qversion -version; do
3712 { { ac_try="$ac_compiler $ac_option >&5"
3713 case "(($ac_try" in
3714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3715 *) ac_try_echo=$ac_try;;
3716 esac
3717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3718 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3719 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3720 ac_status=$?
3721 if testscip-shell system . . test. -s conftest.err; then
3722 sedscip-shell system . . sed. '10a\
3723 ... rest of stderr output deleted ...
3724 10q' conftest.err >conftest.er1
3725 catscip-shell system . . cat. conftest.er1 >&5
3726 fi
3727 rmscip-shell system . . rm. -f conftest.er1 conftest.err
3728 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3729 testscip-shell system . . test. $ac_status = 0; }
3730 done
3731
3732 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3734
3735 int
3736 main (void)
3737 {
3738
3739 ;
3740 return 0;
3741 }
3742 _ACEOF
3743 ac_clean_files_save=$ac_clean_files
3744 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3745 # Try to create an executable without -o first, disregard a.out.
3746 # It will help us diagnose broken compilers, and finding out an intuition
3747 # of exeext.
3748 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3749 printfscip-shell system . . printf. %s "checking whether the C compiler works... " >&6; }
3750 ac_link_default=`printfscip-shell system . . printf. "%s\n" "$ac_link" | sedscip-shell system . . sed. 's/ -o *conftest[^ ]*//'`
3751
3752 # The possible output files:
3753 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3754
3755 ac_rmfiles=
3756 for ac_file in $ac_files
3757 do
3758 case $ac_file in
3759 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3760 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3761 esac
3762 done
3763 rmscip-shell system . . rm. -f $ac_rmfiles
3764
3765 if { { ac_try="$ac_link_default"
3766 case "(($ac_try" in
3767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3768 *) ac_try_echo=$ac_try;;
3769 esac
3770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3771 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3772 (eval "$ac_link_default") 2>&5
3773 ac_status=$?
3774 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3775 testscip-shell system . . test. $ac_status = 0; }
3776 then :
3777 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3778 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3779 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3780 # so that the user can short-circuit this test for compilers unknown to
3781 # Autoconf.
3782 for ac_file in $ac_files ''
3783 do
3784 testscip-shell system . . test. -f "$ac_file" || continue
3785 case $ac_file in
3786 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3787 ;;
3788 [ab].out )
3789 # We found the default executable, but exeext='' is most
3790 # certainly right.
3791 break;;
3792 *.* )
3793 if testscip-shell system . . test. ${ac_cv_exeext+y} && testscip-shell system . . test. "$ac_cv_exeext" != no;
3794 then :; else
3795 ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
3796 fi
3797 # We set ac_cv_exeext here because the later test for it is not
3798 # safe: cross compilers may not add the suffix if given an `-o'
3799 # argument, so we may need to know it at that point already.
3800 # Even if this section looks crufty: it has the advantage of
3801 # actually working.
3802 break;;
3803 * )
3804 break;;
3805 esac
3806 done
3807 testscip-shell system . . test. "$ac_cv_exeext" = no && ac_cv_exeext=
3808
3809 else $as_nop
3810 ac_file=''
3811 fi
3812 if testscip-shell system . . test. -z "$ac_file"
3813 then :
3814 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3816 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
3817 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3818
3819 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3820 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3821 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 77 "C compiler cannot create executables
3822 See \`config.log' for more details" "$LINENO" 5; }
3823 else $as_nop
3824 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3825 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
3826 fi
3827 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3828 printfscip-shell system . . printf. %s "checking for C compiler default output file name... " >&6; }
3829 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3830 printfscip-shell system . . printf. "%s\n" "$ac_file" >&6; }
3831 ac_exeext=$ac_cv_exeext
3832
3833 rmscip-shell system . . rm. -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3834 ac_clean_files=$ac_clean_files_save
3835 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3836 printfscip-shell system . . printf. %s "checking for suffix of executables... " >&6; }
3837 if { { ac_try="$ac_link"
3838 case "(($ac_try" in
3839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3840 *) ac_try_echo=$ac_try;;
3841 esac
3842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3843 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3844 (eval "$ac_link") 2>&5
3845 ac_status=$?
3846 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3847 testscip-shell system . . test. $ac_status = 0; }
3848 then :
3849 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3850 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3851 # work properly (i.e., refer to `conftest.exe'), while it won't with
3852 # `rm'.
3853 for ac_file in conftest.exe conftest conftest.*; do
3854 testscip-shell system . . test. -f "$ac_file" || continue
3855 case $ac_file in
3856 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3857 *.* ) ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
3858 break;;
3859 * ) break;;
3860 esac
3861 done
3862 else $as_nop
3863 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3864 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3865 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot compute suffix of executables: cannot compile and link
3866 See \`config.log' for more details" "$LINENO" 5; }
3867 fi
3868 rmscip-shell system . . rm. -f conftest conftest$ac_cv_exeext
3869 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3870 printfscip-shell system . . printf. "%s\n" "$ac_cv_exeext" >&6; }
3871
3872 rmscip-shell system . . rm. -f conftest.$ac_ext
3873 EXEEXT=$ac_cv_exeext
3874 ac_exeext=$EXEEXT
3875 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3877 #include <stdio.h>
3878 int
3879 main (void)
3880 {
3881 FILE *f = fopen ("conftest.out", "w");
3882 return ferror (f) || fclose (f) != 0;
3883
3884 ;
3885 return 0;
3886 }
3887 _ACEOF
3888 ac_clean_files="$ac_clean_files conftest.out"
3889 # Check that the compiler produces executables we can run. If not, either
3890 # the compiler is broken, or we cross compile.
3891 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3892 printfscip-shell system . . printf. %s "checking whether we are cross compiling... " >&6; }
3893 if testscip-shell system . . test. "$cross_compiling" != yes; then
3894 { { ac_try="$ac_link"
3895 case "(($ac_try" in
3896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3897 *) ac_try_echo=$ac_try;;
3898 esac
3899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3900 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3901 (eval "$ac_link") 2>&5
3902 ac_status=$?
3903 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3904 testscip-shell system . . test. $ac_status = 0; }
3905 if { ac_try='./conftest$ac_cv_exeext'
3906 { { case "(($ac_try" in
3907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3908 *) ac_try_echo=$ac_try;;
3909 esac
3910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3911 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3912 (eval "$ac_try") 2>&5
3913 ac_status=$?
3914 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3915 testscip-shell system . . test. $ac_status = 0; }; }; then
3916 cross_compiling=no
3917 else
3918 if testscip-shell system . . test. "$cross_compiling" = maybe; then
3919 cross_compiling=yes
3920 else
3921 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3922 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3923 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 77 "cannot run C compiled programs.
3924 If you meant to cross compile, use \`--host'.
3925 See \`config.log' for more details" "$LINENO" 5; }
3926 fi
3927 fi
3928 fi
3929 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3930 printfscip-shell system . . printf. "%s\n" "$cross_compiling" >&6; }
3931
3932 rmscip-shell system . . rm. -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3933 ac_clean_files=$ac_clean_files_save
3934 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3935 printfscip-shell system . . printf. %s "checking for suffix of object files... " >&6; }
3936 if testscip-shell system . . test. ${ac_cv_objext+y}
3937 then :
3938 printfscip-shell system . . printf. %s "(cached) " >&6
3939 else $as_nop
3940 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3941 /* end confdefs.h. */
3942
3943 int
3944 main (void)
3945 {
3946
3947 ;
3948 return 0;
3949 }
3950 _ACEOF
3951 rmscip-shell system . . rm. -f conftest.o conftest.obj
3952 if { { ac_try="$ac_compile"
3953 case "(($ac_try" in
3954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3955 *) ac_try_echo=$ac_try;;
3956 esac
3957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3958 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3959 (eval "$ac_compile") 2>&5
3960 ac_status=$?
3961 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3962 testscip-shell system . . test. $ac_status = 0; }
3963 then :
3964 for ac_file in conftest.o conftest.obj conftest.*; do
3965 testscip-shell system . . test. -f "$ac_file" || continue;
3966 case $ac_file in
3967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3968 *) ac_cv_objext=`exprscip-shell system . . expr. "$ac_file" : '.*\.\(.*\)'`
3969 break;;
3970 esac
3971 done
3972 else $as_nop
3973 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
3974 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3975
3976 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3977 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3978 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot compute suffix of object files: cannot compile
3979 See \`config.log' for more details" "$LINENO" 5; }
3980 fi
3981 rmscip-shell system . . rm. -f conftest.$ac_cv_objext conftest.$ac_ext
3982 fi
3983 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3984 printfscip-shell system . . printf. "%s\n" "$ac_cv_objext" >&6; }
3985 OBJEXT=$ac_cv_objext
3986 ac_objext=$OBJEXT
3987 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3988 printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C... " >&6; }
3989 if testscip-shell system . . test. ${ac_cv_c_compiler_gnu+y}
3990 then :
3991 printfscip-shell system . . printf. %s "(cached) " >&6
3992 else $as_nop
3993 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3994 /* end confdefs.h. */
3995
3996 int
3997 main (void)
3998 {
3999 #ifndef __GNUC__
4000 choke me
4001 #endif
4002
4003 ;
4004 return 0;
4005 }
4006 _ACEOF
4007 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
4008 then :
4009 ac_compiler_gnu=yes
4010 else $as_nop
4011 ac_compiler_gnu=no
4012 fi
4013 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4014 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4015
4016 fi
4017 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4018 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4020
4021 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
4022 GCC=yes
4023 else
4024 GCC=
4025 fi
4026 ac_test_CFLAGS=${CFLAGS+y}
4027 ac_save_CFLAGS=$CFLAGS
4028 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4029 printfscip-shell system . . printf. %s "checking whether $CC accepts -g... " >&6; }
4030 if testscip-shell system . . test. ${ac_cv_prog_cc_g+y}
4031 then :
4032 printfscip-shell system . . printf. %s "(cached) " >&6
4033 else $as_nop
4034 ac_save_c_werror_flag=$ac_c_werror_flag
4035 ac_c_werror_flag=yes
4036 ac_cv_prog_cc_g=no
4037 CFLAGS="-g"
4038 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4039 /* end confdefs.h. */
4040
4041 int
4042 main (void)
4043 {
4044
4045 ;
4046 return 0;
4047 }
4048 _ACEOF
4049 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
4050 then :
4051 ac_cv_prog_cc_g=yes
4052 else $as_nop
4053 CFLAGS=""
4054 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4056
4057 int
4058 main (void)
4059 {
4060
4061 ;
4062 return 0;
4063 }
4064 _ACEOF
4065 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
4066 then :
4067
4068 else $as_nop
4069 ac_c_werror_flag=$ac_save_c_werror_flag
4070 CFLAGS="-g"
4071 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h. */
4073
4074 int
4075 main (void)
4076 {
4077
4078 ;
4079 return 0;
4080 }
4081 _ACEOF
4082 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
4083 then :
4084 ac_cv_prog_cc_g=yes
4085 fi
4086 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4087 fi
4088 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4089 fi
4090 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4091 ac_c_werror_flag=$ac_save_c_werror_flag
4092 fi
4093 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4094 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_g" >&6; }
4095 if testscip-shell system . . test. $ac_test_CFLAGS; then
4096 CFLAGS=$ac_save_CFLAGS
4097 elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then
4098 if testscip-shell system . . test. "$GCC" = yes; then
4099 CFLAGS="-g -O2"
4100 else
4101 CFLAGS="-g"
4102 fi
4103 else
4104 if testscip-shell system . . test. "$GCC" = yes; then
4105 CFLAGS="-O2"
4106 else
4107 CFLAGS=
4108 fi
4109 fi
4110 ac_prog_cc_stdc=no
4111 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
4112 then :
4113 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4114 printfscip-shell system . . printf. %s "checking for $CC option to enable C11 features... " >&6; }
4115 if testscip-shell system . . test. ${ac_cv_prog_cc_c11+y}
4116 then :
4117 printfscip-shell system . . printf. %s "(cached) " >&6
4118 else $as_nop
4119 ac_cv_prog_cc_c11=no
4120 ac_save_CC=$CC
4121 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4123 $ac_c_conftest_c11_program
4124 _ACEOF
4125 for ac_arg in '' -std=gnu11
4126 do
4127 CC="$ac_save_CC $ac_arg"
4128 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
4129 then :
4130 ac_cv_prog_cc_c11=$ac_arg
4131 fi
4132 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4133 testscip-shell system . . test. "x$ac_cv_prog_cc_c11" != "xno" && break
4134 done
4135 rmscip-shell system . . rm. -f conftest.$ac_ext
4136 CC=$ac_save_CC
4137 fi
4138
4139 if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = xno
4140 then :
4141 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4142 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4143 else $as_nop
4144 if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = x
4145 then :
4146 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4147 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4148 else $as_nop
4149 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4150 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4151 CC="$CC $ac_cv_prog_cc_c11"
4152 fi
4153 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4154 ac_prog_cc_stdc=c11
4155 fi
4156 fi
4157 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
4158 then :
4159 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4160 printfscip-shell system . . printf. %s "checking for $CC option to enable C99 features... " >&6; }
4161 if testscip-shell system . . test. ${ac_cv_prog_cc_c99+y}
4162 then :
4163 printfscip-shell system . . printf. %s "(cached) " >&6
4164 else $as_nop
4165 ac_cv_prog_cc_c99=no
4166 ac_save_CC=$CC
4167 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4168 /* end confdefs.h. */
4169 $ac_c_conftest_c99_program
4170 _ACEOF
4171 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4172 do
4173 CC="$ac_save_CC $ac_arg"
4174 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
4175 then :
4176 ac_cv_prog_cc_c99=$ac_arg
4177 fi
4178 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4179 testscip-shell system . . test. "x$ac_cv_prog_cc_c99" != "xno" && break
4180 done
4181 rmscip-shell system . . rm. -f conftest.$ac_ext
4182 CC=$ac_save_CC
4183 fi
4184
4185 if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = xno
4186 then :
4187 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4188 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4189 else $as_nop
4190 if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = x
4191 then :
4192 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4193 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4194 else $as_nop
4195 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4196 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4197 CC="$CC $ac_cv_prog_cc_c99"
4198 fi
4199 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4200 ac_prog_cc_stdc=c99
4201 fi
4202 fi
4203 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
4204 then :
4205 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4206 printfscip-shell system . . printf. %s "checking for $CC option to enable C89 features... " >&6; }
4207 if testscip-shell system . . test. ${ac_cv_prog_cc_c89+y}
4208 then :
4209 printfscip-shell system . . printf. %s "(cached) " >&6
4210 else $as_nop
4211 ac_cv_prog_cc_c89=no
4212 ac_save_CC=$CC
4213 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4215 $ac_c_conftest_c89_program
4216 _ACEOF
4217 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4218 do
4219 CC="$ac_save_CC $ac_arg"
4220 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
4221 then :
4222 ac_cv_prog_cc_c89=$ac_arg
4223 fi
4224 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4225 testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break
4226 done
4227 rmscip-shell system . . rm. -f conftest.$ac_ext
4228 CC=$ac_save_CC
4229 fi
4230
4231 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = xno
4232 then :
4233 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4234 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4235 else $as_nop
4236 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = x
4237 then :
4238 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4239 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4240 else $as_nop
4241 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4242 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4243 CC="$CC $ac_cv_prog_cc_c89"
4244 fi
4245 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4246 ac_prog_cc_stdc=c89
4247 fi
4248 fi
4249
4250 ac_ext=c
4251 ac_cpp='$CPP $CPPFLAGS'
4252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4255
4256
4257 ac_ext=c
4258 ac_cpp='$CPP $CPPFLAGS'
4259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4262 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4263 printfscip-shell system . . printf. %s "checking whether $CC understands -c and -o together... " >&6; }
4264 if testscip-shell system . . test. ${am_cv_prog_cc_c_o+y}
4265 then :
4266 printfscip-shell system . . printf. %s "(cached) " >&6
4267 else $as_nop
4268 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4270
4271 int
4272 main (void)
4273 {
4274
4275 ;
4276 return 0;
4277 }
4278 _ACEOF
4279 # Make sure it works both with $CC and with simple cc.
4280 # Following AC_PROG_CC_C_O, we do the test twice because some
4281 # compilers refuse to overwrite an existing .o file with -o,
4282 # though they will create one.
4283 am_cv_prog_cc_c_o=yes
4284 for am_i in 1 2; do
4285 if { echoscip-shell system . . echo. "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4286 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4287 ac_status=$?
4288 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4289 (exit $ac_status); } \
4290 && testscip-shell system . . test. -f conftest2.$ac_objext; then
4291 : OK
4292 else
4293 am_cv_prog_cc_c_o=no
4294 break
4295 fi
4296 done
4297 rmscip-shell system . . rm. -f core conftest*
4298 unset am_i
4299 fi
4300 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4301 printfscip-shell system . . printf. "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4302 if testscip-shell system . . test. "$am_cv_prog_cc_c_o" != yes; then
4303 # Losing compiler, so override with the script.
4304 # FIXME: It is wrong to rewrite CC.
4305 # But if we don't then we get into trouble of one sort or another.
4306 # A longer-term fix would be to have automake use am__CC in this case,
4307 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4308 CC="$am_aux_dir/compile $CC"
4309 fi
4310 ac_ext=c
4311 ac_cpp='$CPP $CPPFLAGS'
4312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4315
4316
4317
4318 ac_header= ac_cache=
4319 for ac_item in $ac_header_c_list
4320 do
4321 if testscip-shell system . . test. $ac_cache; then
4322 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4323 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4324 printfscip-shell system . . printf. "%s\n" "#define $ac_item 1" >> confdefs.h
4325 fi
4326 ac_header= ac_cache=
4327 elif testscip-shell system . . test. $ac_header; then
4328 ac_cache=$ac_item
4329 else
4330 ac_header=$ac_item
4331 fi
4332 done
4333
4334
4335
4336
4337
4338
4339
4340
4341 if testscip-shell system . . test. $ac_cv_header_stdlib_h = yes && testscip-shell system . . test. $ac_cv_header_string_h = yes
4342 then :
4343
4344 printfscip-shell system . . printf. "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4345
4346 fi
4347
4348
4349
4350
4351
4352
4353 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4354 printfscip-shell system . . printf. %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4355 if testscip-shell system . . test. ${ac_cv_safe_to_define___extensions__+y}
4356 then :
4357 printfscip-shell system . . printf. %s "(cached) " >&6
4358 else $as_nop
4359 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4361
4362 # define __EXTENSIONS__ 1
4363 $ac_includes_default
4364 int
4365 main (void)
4366 {
4367
4368 ;
4369 return 0;
4370 }
4371 _ACEOF
4372 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
4373 then :
4374 ac_cv_safe_to_define___extensions__=yes
4375 else $as_nop
4376 ac_cv_safe_to_define___extensions__=no
4377 fi
4378 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4379 fi
4380 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4381 printfscip-shell system . . printf. "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4382
4383 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4384 printfscip-shell system . . printf. %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4385 if testscip-shell system . . test. ${ac_cv_should_define__xopen_source+y}
4386 then :
4387 printfscip-shell system . . printf. %s "(cached) " >&6
4388 else $as_nop
4389 ac_cv_should_define__xopen_source=no
4390 if testscip-shell system . . test. $ac_cv_header_wchar_h = yes
4391 then :
4392 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */
4394
4395 #include <wchar.h>
4396 mbstate_t x;
4397 int
4398 main (void)
4399 {
4400
4401 ;
4402 return 0;
4403 }
4404 _ACEOF
4405 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
4406 then :
4407
4408 else $as_nop
4409 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4411
4412 #define _XOPEN_SOURCE 500
4413 #include <wchar.h>
4414 mbstate_t x;
4415 int
4416 main (void)
4417 {
4418
4419 ;
4420 return 0;
4421 }
4422 _ACEOF
4423 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
4424 then :
4425 ac_cv_should_define__xopen_source=yes
4426 fi
4427 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4428 fi
4429 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4430 fi
4431 fi
4432 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4433 printfscip-shell system . . printf. "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
4434
4435 printfscip-shell system . . printf. "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
4436
4437 printfscip-shell system . . printf. "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
4438
4439 printfscip-shell system . . printf. "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
4440
4441 printfscip-shell system . . printf. "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
4442
4443 printfscip-shell system . . printf. "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
4444
4445 printfscip-shell system . . printf. "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
4446
4447 printfscip-shell system . . printf. "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4448
4449 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
4450
4451 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
4452
4453 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
4454
4455 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
4456
4457 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
4458
4459 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
4460
4461 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
4462
4463 printfscip-shell system . . printf. "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
4464
4465 if testscip-shell system . . test. $ac_cv_header_minix_config_h = yes
4466 then :
4467 MINIX=yes
4468 printfscip-shell system . . printf. "%s\n" "#define _MINIX 1" >>confdefs.h
4469
4470 printfscip-shell system . . printf. "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
4471
4472 printfscip-shell system . . printf. "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
4473
4474 else $as_nop
4475 MINIX=
4476 fi
4477 if testscip-shell system . . test. $ac_cv_safe_to_define___extensions__ = yes
4478 then :
4479 printfscip-shell system . . printf. "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
4480
4481 fi
4482 if testscip-shell system . . test. $ac_cv_should_define__xopen_source = yes
4483 then :
4484 printfscip-shell system . . printf. "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
4485
4486 fi
4487
4488
4489
4490
4491
4492
4493
4494 ac_ext=cpp
4495 ac_cpp='$CXXCPP $CPPFLAGS'
4496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4499 if testscip-shell system . . test. -z "$CXX"; then
4500 if testscip-shell system . . test. -n "$CCC"; then
4501 CXX=$CCC
4502 else
4503 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
4504 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
4505 do
4506 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4507 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4508 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4509 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4510 if testscip-shell system . . test. ${ac_cv_prog_CXX+y}
4511 then :
4512 printfscip-shell system . . printf. %s "(cached) " >&6
4513 else $as_nop
4514 if testscip-shell system . . test. -n "$CXX"; then
4515 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4516 else
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518 for as_dir in $PATH
4519 do
4520 IFS=$as_save_IFS
4521 case $as_dir in #(((
4522 '') as_dir=./ ;;
4523 */) ;;
4524 *) as_dir=$as_dir/ ;;
4525 esac
4526 for ac_exec_ext in '' $ac_executable_extensions; do
4527 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4528 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4529 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4530 break 2
4531 fi
4532 done
4533 done
4534 IFS=$as_save_IFS
4535
4536 fi
4537 fi
4538 CXX=$ac_cv_prog_CXX
4539 if testscip-shell system . . test. -n "$CXX"; then
4540 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4541 printfscip-shell system . . printf. "%s\n" "$CXX" >&6; }
4542 else
4543 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4544 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4545 fi
4546
4547
4548 testscip-shell system . . test. -n "$CXX" && break
4549 done
4550 fi
4551 if testscip-shell system . . test. -z "$CXX"; then
4552 ac_ct_CXX=$CXX
4553 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
4554 do
4555 # Extract the first word of "$ac_prog", so it can be a program name with args.
4556 set dummy $ac_prog; ac_word=$2
4557 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4558 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4559 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CXX+y}
4560 then :
4561 printfscip-shell system . . printf. %s "(cached) " >&6
4562 else $as_nop
4563 if testscip-shell system . . test. -n "$ac_ct_CXX"; then
4564 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4565 else
4566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4567 for as_dir in $PATH
4568 do
4569 IFS=$as_save_IFS
4570 case $as_dir in #(((
4571 '') as_dir=./ ;;
4572 */) ;;
4573 *) as_dir=$as_dir/ ;;
4574 esac
4575 for ac_exec_ext in '' $ac_executable_extensions; do
4576 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4577 ac_cv_prog_ac_ct_CXX="$ac_prog"
4578 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4579 break 2
4580 fi
4581 done
4582 done
4583 IFS=$as_save_IFS
4584
4585 fi
4586 fi
4587 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4588 if testscip-shell system . . test. -n "$ac_ct_CXX"; then
4589 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4590 printfscip-shell system . . printf. "%s\n" "$ac_ct_CXX" >&6; }
4591 else
4592 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4593 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4594 fi
4595
4596
4597 testscip-shell system . . test. -n "$ac_ct_CXX" && break
4598 done
4599
4600 if testscip-shell system . . test. "x$ac_ct_CXX" = x; then
4601 CXX="g++"
4602 else
4603 case $cross_compiling:$ac_tool_warned in
4604 yes:)
4605 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4606 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4607 ac_tool_warned=yes ;;
4608 esac
4609 CXX=$ac_ct_CXX
4610 fi
4611 fi
4612
4613 fi
4614 fi
4615 # Provide some information about the compiler.
4616 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4617 set X $ac_compile
4618 ac_compiler=$2
4619 for ac_option in --version -v -V -qversion; do
4620 { { ac_try="$ac_compiler $ac_option >&5"
4621 case "(($ac_try" in
4622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4623 *) ac_try_echo=$ac_try;;
4624 esac
4625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4626 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4627 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4628 ac_status=$?
4629 if testscip-shell system . . test. -s conftest.err; then
4630 sedscip-shell system . . sed. '10a\
4631 ... rest of stderr output deleted ...
4632 10q' conftest.err >conftest.er1
4633 catscip-shell system . . cat. conftest.er1 >&5
4634 fi
4635 rmscip-shell system . . rm. -f conftest.er1 conftest.err
4636 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4637 testscip-shell system . . test. $ac_status = 0; }
4638 done
4639
4640 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
4641 printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C++... " >&6; }
4642 if testscip-shell system . . test. ${ac_cv_cxx_compiler_gnu+y}
4643 then :
4644 printfscip-shell system . . printf. %s "(cached) " >&6
4645 else $as_nop
4646 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4648
4649 int
4650 main (void)
4651 {
4652 #ifndef __GNUC__
4653 choke me
4654 #endif
4655
4656 ;
4657 return 0;
4658 }
4659 _ACEOF
4660 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
4661 then :
4662 ac_compiler_gnu=yes
4663 else $as_nop
4664 ac_compiler_gnu=no
4665 fi
4666 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4667 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4668
4669 fi
4670 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4671 printfscip-shell system . . printf. "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
4672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4673
4674 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
4675 GXX=yes
4676 else
4677 GXX=
4678 fi
4679 ac_test_CXXFLAGS=${CXXFLAGS+y}
4680 ac_save_CXXFLAGS=$CXXFLAGS
4681 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4682 printfscip-shell system . . printf. %s "checking whether $CXX accepts -g... " >&6; }
4683 if testscip-shell system . . test. ${ac_cv_prog_cxx_g+y}
4684 then :
4685 printfscip-shell system . . printf. %s "(cached) " >&6
4686 else $as_nop
4687 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4688 ac_cxx_werror_flag=yes
4689 ac_cv_prog_cxx_g=no
4690 CXXFLAGS="-g"
4691 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h. */
4693
4694 int
4695 main (void)
4696 {
4697
4698 ;
4699 return 0;
4700 }
4701 _ACEOF
4702 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
4703 then :
4704 ac_cv_prog_cxx_g=yes
4705 else $as_nop
4706 CXXFLAGS=""
4707 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h. */
4709
4710 int
4711 main (void)
4712 {
4713
4714 ;
4715 return 0;
4716 }
4717 _ACEOF
4718 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
4719 then :
4720
4721 else $as_nop
4722 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4723 CXXFLAGS="-g"
4724 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4726
4727 int
4728 main (void)
4729 {
4730
4731 ;
4732 return 0;
4733 }
4734 _ACEOF
4735 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
4736 then :
4737 ac_cv_prog_cxx_g=yes
4738 fi
4739 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4740 fi
4741 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4742 fi
4743 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4744 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4745 fi
4746 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4747 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_g" >&6; }
4748 if testscip-shell system . . test. $ac_test_CXXFLAGS; then
4749 CXXFLAGS=$ac_save_CXXFLAGS
4750 elif testscip-shell system . . test. $ac_cv_prog_cxx_g = yes; then
4751 if testscip-shell system . . test. "$GXX" = yes; then
4752 CXXFLAGS="-g -O2"
4753 else
4754 CXXFLAGS="-g"
4755 fi
4756 else
4757 if testscip-shell system . . test. "$GXX" = yes; then
4758 CXXFLAGS="-O2"
4759 else
4760 CXXFLAGS=
4761 fi
4762 fi
4763 ac_prog_cxx_stdcxx=no
4764 if testscip-shell system . . test. x$ac_prog_cxx_stdcxx = xno
4765 then :
4766 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
4767 printfscip-shell system . . printf. %s "checking for $CXX option to enable C++11 features... " >&6; }
4768 if testscip-shell system . . test. ${ac_cv_prog_cxx_cxx11+y}
4769 then :
4770 printfscip-shell system . . printf. %s "(cached) " >&6
4771 else $as_nop
4772 ac_cv_prog_cxx_cxx11=no
4773 ac_save_CXX=$CXX
4774 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4775 /* end confdefs.h. */
4776 $ac_cxx_conftest_cxx11_program
4777 _ACEOF
4778 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
4779 do
4780 CXX="$ac_save_CXX $ac_arg"
4781 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
4782 then :
4783 ac_cv_prog_cxx_cxx11=$ac_arg
4784 fi
4785 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4786 testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" != "xno" && break
4787 done
4788 rmscip-shell system . . rm. -f conftest.$ac_ext
4789 CXX=$ac_save_CXX
4790 fi
4791
4792 if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" = xno
4793 then :
4794 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4795 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4796 else $as_nop
4797 if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" = x
4798 then :
4799 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4800 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4801 else $as_nop
4802 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
4803 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
4804 CXX="$CXX $ac_cv_prog_cxx_cxx11"
4805 fi
4806 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
4807 ac_prog_cxx_stdcxx=cxx11
4808 fi
4809 fi
4810 if testscip-shell system . . test. x$ac_prog_cxx_stdcxx = xno
4811 then :
4812 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
4813 printfscip-shell system . . printf. %s "checking for $CXX option to enable C++98 features... " >&6; }
4814 if testscip-shell system . . test. ${ac_cv_prog_cxx_cxx98+y}
4815 then :
4816 printfscip-shell system . . printf. %s "(cached) " >&6
4817 else $as_nop
4818 ac_cv_prog_cxx_cxx98=no
4819 ac_save_CXX=$CXX
4820 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4822 $ac_cxx_conftest_cxx98_program
4823 _ACEOF
4824 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
4825 do
4826 CXX="$ac_save_CXX $ac_arg"
4827 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
4828 then :
4829 ac_cv_prog_cxx_cxx98=$ac_arg
4830 fi
4831 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4832 testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" != "xno" && break
4833 done
4834 rmscip-shell system . . rm. -f conftest.$ac_ext
4835 CXX=$ac_save_CXX
4836 fi
4837
4838 if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" = xno
4839 then :
4840 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4841 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4842 else $as_nop
4843 if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" = x
4844 then :
4845 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4846 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4847 else $as_nop
4848 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
4849 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
4850 CXX="$CXX $ac_cv_prog_cxx_cxx98"
4851 fi
4852 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
4853 ac_prog_cxx_stdcxx=cxx98
4854 fi
4855 fi
4856
4857 ac_ext=cpp
4858 ac_cpp='$CXXCPP $CPPFLAGS'
4859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4862
4863
4864 ax_cxx_compile_alternatives="14 1y" ax_cxx_compile_cxx14_required=false
4865 ac_ext=cpp
4866 ac_cpp='$CXXCPP $CPPFLAGS'
4867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4870 ac_success=no
4871
4872
4873
4874
4875
4876 if testscip-shell system . . test. x$ac_success = xno; then
4877 for alternative in ${ax_cxx_compile_alternatives}; do
4878 for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}" MSVC; do
4879 if testscip-shell system . . test. x"$switch" = xMSVC; then
4880 switch=-std:c++${alternative}
4881 cachevar=`printfscip-shell system . . printf. "%s\n" "ax_cv_cxx_compile_cxx14_${switch}_MSVC" | $as_tr_sh`
4882 else
4883 cachevar=`printfscip-shell system . . printf. "%s\n" "ax_cv_cxx_compile_cxx14_$switch" | $as_tr_sh`
4884 fi
4885 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features with $switch" >&5
4886 printfscip-shell system . . printf. %s "checking whether $CXX supports C++14 features with $switch... " >&6; }
4887 if eval test \${$cachevar+y}
4888 then :
4889 printfscip-shell system . . printf. %s "(cached) " >&6
4890 else $as_nop
4891 ac_save_CXX="$CXX"
4892 CXX="$CXX $switch"
4893 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4894 /* end confdefs.h. */
4895
4896
4897 // If the compiler admits that it is not ready for C++11, why torture it?
4898 // Hopefully, this will speed up the test.
4899
4900 #ifndef __cplusplus
4901
4902 #error "This is not a C++ compiler"
4903
4904 // MSVC always sets __cplusplus to 199711L in older versions; newer versions
4905 // only set it correctly if /Zc:__cplusplus is specified as well as a
4906 // /std:c++NN switch:
4907 //
4908 // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
4909 //
4910 // The value __cplusplus ought to have is available in _MSVC_LANG since
4911 // Visual Studio 2015 Update 3:
4912 //
4913 // https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros
4914 //
4915 // This was also the first MSVC version to support C++14 so we can't use the
4916 // value of either __cplusplus or _MSVC_LANG to quickly rule out MSVC having
4917 // C++11 or C++14 support, but we can check _MSVC_LANG for C++17 and later.
4918 #elif __cplusplus < 201103L && !defined _MSC_VER
4919
4920 #error "This is not a C++11 compiler"
4921
4922 #else
4923
4924 namespace cxx11
4925 {
4926
4927 namespace test_static_assert
4928 {
4929
4930 template <typename T>
4931 struct check
4932 {
4933 static_assert(sizeof(int) <= sizeof(T), "not big enough");
4934 };
4935
4936 }
4937
4938 namespace test_final_override
4939 {
4940
4941 struct Base
4942 {
4943 virtual ~Base() {}
4944 virtual void f() {}
4945 };
4946
4947 struct Derived : public Base
4948 {
4949 virtual ~Derived() override {}
4950 virtual void f() override {}
4951 };
4952
4953 }
4954
4955 namespace test_double_right_angle_brackets
4956 {
4957
4958 template < typename T >
4959 struct check {};
4960
4961 typedef check<void> single_type;
4962 typedef check<check<void>> double_type;
4963 typedef check<check<check<void>>> triple_type;
4964 typedef check<check<check<check<void>>>> quadruple_type;
4965
4966 }
4967
4968 namespace test_decltype
4969 {
4970
4971 int
4972 f()
4973 {
4974 int a = 1;
4975 decltype(a) b = 2;
4976 return a + b;
4977 }
4978
4979 }
4980
4981 namespace test_type_deduction
4982 {
4983
4984 template < typename T1, typename T2 >
4985 struct is_same
4986 {
4987 static const bool value = false;
4988 };
4989
4990 template < typename T >
4991 struct is_same<T, T>
4992 {
4993 static const bool value = true;
4994 };
4995
4996 template < typename T1, typename T2 >
4997 auto
4998 add(T1 a1, T2 a2) -> decltype(a1 + a2)
4999 {
5000 return a1 + a2;
5001 }
5002
5003 int
5004 test(const int c, volatile int v)
5005 {
5006 static_assert(is_same<int, decltype(0)>::value == true, "");
5007 static_assert(is_same<int, decltype(c)>::value == false, "");
5008 static_assert(is_same<int, decltype(v)>::value == false, "");
5009 auto ac = c;
5010 auto av = v;
5011 auto sumi = ac + av + 'x';
5012 auto sumf = ac + av + 1.0;
5013 static_assert(is_same<int, decltype(ac)>::value == true, "");
5014 static_assert(is_same<int, decltype(av)>::value == true, "");
5015 static_assert(is_same<int, decltype(sumi)>::value == true, "");
5016 static_assert(is_same<int, decltype(sumf)>::value == false, "");
5017 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
5018 return (sumf > 0.0) ? sumi : add(c, v);
5019 }
5020
5021 }
5022
5023 namespace test_noexcept
5024 {
5025
5026 int f() { return 0; }
5027 int g() noexcept { return 0; }
5028
5029 static_assert(noexcept(f()) == false, "");
5030 static_assert(noexcept(g()) == true, "");
5031
5032 }
5033
5034 namespace test_constexpr
5035 {
5036
5037 template < typename CharT >
5038 unsigned long constexpr
5039 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
5040 {
5041 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
5042 }
5043
5044 template < typename CharT >
5045 unsigned long constexpr
5046 strlen_c(const CharT *const s) noexcept
5047 {
5048 return strlen_c_r(s, 0UL);
5049 }
5050
5051 static_assert(strlen_c("") == 0UL, "");
5052 static_assert(strlen_c("1") == 1UL, "");
5053 static_assert(strlen_c("example") == 7UL, "");
5054 static_assert(strlen_c("another\0example") == 7UL, "");
5055
5056 }
5057
5058 namespace test_rvalue_references
5059 {
5060
5061 template < int N >
5062 struct answer
5063 {
5064 static constexpr int value = N;
5065 };
5066
5067 answer<1> f(int&) { return answer<1>(); }
5068 answer<2> f(const int&) { return answer<2>(); }
5069 answer<3> f(int&&) { return answer<3>(); }
5070
5071 void
5072 test()
5073 {
5074 int i = 0;
5075 const int c = 0;
5076 static_assert(decltype(f(i))::value == 1, "");
5077 static_assert(decltype(f(c))::value == 2, "");
5078 static_assert(decltype(f(0))::value == 3, "");
5079 }
5080
5081 }
5082
5083 namespace test_uniform_initialization
5084 {
5085
5086 struct test
5087 {
5088 static const int zero {};
5089 static const int one {1};
5090 };
5091
5092 static_assert(test::zero == 0, "");
5093 static_assert(test::one == 1, "");
5094
5095 }
5096
5097 namespace test_lambdas
5098 {
5099
5100 void
5101 test1()
5102 {
5103 auto lambda1 = [](){};
5104 auto lambda2 = lambda1;
5105 lambda1();
5106 lambda2();
5107 }
5108
5109 int
5110 test2()
5111 {
5112 auto a = [](int i, int j){ return i + j; }(1, 2);
5113 auto b = []() -> int { return '0'; }();
5114 auto c = [=](){ return a + b; }();
5115 auto d = [&](){ return c; }();
5116 auto e = [a, &b](int x) mutable {
5117 const auto identity = [](int y){ return y; };
5118 for (auto i = 0; i < a; ++i)
5119 a += b--;
5120 return x + identity(a + b);
5121 }(0);
5122 return a + b + c + d + e;
5123 }
5124
5125 int
5126 test3()
5127 {
5128 const auto nullary = [](){ return 0; };
5129 const auto unary = [](int x){ return x; };
5130 using nullary_t = decltype(nullary);
5131 using unary_t = decltype(unary);
5132 const auto higher1st = [](nullary_t f){ return f(); };
5133 const auto higher2nd = [unary](nullary_t f1){
5134 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
5135 };
5136 return higher1st(nullary) + higher2nd(nullary)(unary);
5137 }
5138
5139 }
5140
5141 namespace test_variadic_templates
5142 {
5143
5144 template <int...>
5145 struct sum;
5146
5147 template <int N0, int... N1toN>
5148 struct sum<N0, N1toN...>
5149 {
5150 static constexpr auto value = N0 + sum<N1toN...>::value;
5151 };
5152
5153 template <>
5154 struct sum<>
5155 {
5156 static constexpr auto value = 0;
5157 };
5158
5159 static_assert(sum<>::value == 0, "");
5160 static_assert(sum<1>::value == 1, "");
5161 static_assert(sum<23>::value == 23, "");
5162 static_assert(sum<1, 2>::value == 3, "");
5163 static_assert(sum<5, 5, 11>::value == 21, "");
5164 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
5165
5166 }
5167
5168 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
5169 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
5170 // because of this.
5171 namespace test_template_alias_sfinae
5172 {
5173
5174 struct foo {};
5175
5176 template<typename T>
5177 using member = typename T::member_type;
5178
5179 template<typename T>
5180 void func(...) {}
5181
5182 template<typename T>
5183 void func(member<T>*) {}
5184
5185 void test();
5186
5187 void test() { func<foo>(0); }
5188
5189 }
5190
5191 } // namespace cxx11
5192
5193 #endif // __cplusplus >= 201103L
5194
5195
5196
5197
5198 // If the compiler admits that it is not ready for C++14, why torture it?
5199 // Hopefully, this will speed up the test.
5200
5201 #ifndef __cplusplus
5202
5203 #error "This is not a C++ compiler"
5204
5205 #elif __cplusplus < 201402L && !defined _MSC_VER
5206
5207 #error "This is not a C++14 compiler"
5208
5209 #else
5210
5211 namespace cxx14
5212 {
5213
5214 namespace test_polymorphic_lambdas
5215 {
5216
5217 int
5218 test()
5219 {
5220 const auto lambda = [](auto&&... args){
5221 const auto istiny = [](auto x){
5222 return (sizeof(x) == 1UL) ? 1 : 0;
5223 };
5224 const int aretiny[] = { istiny(args)... };
5225 return aretiny[0];
5226 };
5227 return lambda(1, 1L, 1.0f, '1');
5228 }
5229
5230 }
5231
5232 namespace test_binary_literals
5233 {
5234
5235 constexpr auto ivii = 0b0000000000101010;
5236 static_assert(ivii == 42, "wrong value");
5237
5238 }
5239
5240 namespace test_generalized_constexpr
5241 {
5242
5243 template < typename CharT >
5244 constexpr unsigned long
5245 strlen_c(const CharT *const s) noexcept
5246 {
5247 auto length = 0UL;
5248 for (auto p = s; *p; ++p)
5249 ++length;
5250 return length;
5251 }
5252
5253 static_assert(strlen_c("") == 0UL, "");
5254 static_assert(strlen_c("x") == 1UL, "");
5255 static_assert(strlen_c("test") == 4UL, "");
5256 static_assert(strlen_c("another\0test") == 7UL, "");
5257
5258 }
5259
5260 namespace test_lambda_init_capture
5261 {
5262
5263 int
5264 test()
5265 {
5266 auto x = 0;
5267 const auto lambda1 = [a = x](int b){ return a + b; };
5268 const auto lambda2 = [a = lambda1(x)](){ return a; };
5269 return lambda2();
5270 }
5271
5272 }
5273
5274 namespace test_digit_separators
5275 {
5276
5277 constexpr auto ten_million = 100'000'000;
5278 static_assert(ten_million == 100000000, "");
5279
5280 }
5281
5282 namespace test_return_type_deduction
5283 {
5284
5285 auto f(int& x) { return x; }
5286 decltype(auto) g(int& x) { return x; }
5287
5288 template < typename T1, typename T2 >
5289 struct is_same
5290 {
5291 static constexpr auto value = false;
5292 };
5293
5294 template < typename T >
5295 struct is_same<T, T>
5296 {
5297 static constexpr auto value = true;
5298 };
5299
5300 int
5301 test()
5302 {
5303 auto x = 0;
5304 static_assert(is_same<int, decltype(f(x))>::value, "");
5305 static_assert(is_same<int&, decltype(g(x))>::value, "");
5306 return x;
5307 }
5308
5309 }
5310
5311 } // namespace cxx14
5312
5313 #endif // __cplusplus >= 201402L
5314
5315
5316
5317 _ACEOF
5318 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
5319 then :
5320 eval $cachevar=yes
5321 else $as_nop
5322 eval $cachevar=no
5323 fi
5324 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5325 CXX="$ac_save_CXX"
5326 fi
5327 eval ac_res=\$$cachevar
5328 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5329 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
5330 if eval test x\$$cachevar = xyes; then
5331 CXX="$CXX $switch"
5332 if testscip-shell system . . test. -n "$CXXCPP" ; then
5333 CXXCPP="$CXXCPP $switch"
5334 fi
5335 ac_success=yes
5336 break
5337 fi
5338 done
5339 if testscip-shell system . . test. x$ac_success = xyes; then
5340 break
5341 fi
5342 done
5343 fi
5344 ac_ext=c
5345 ac_cpp='$CPP $CPPFLAGS'
5346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5349
5350 if testscip-shell system . . test. x$ax_cxx_compile_cxx14_required = xtrue; then
5351 if testscip-shell system . . test. x$ac_success = xno; then
5352 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "*** A compiler with support for C++14 language features is required." "$LINENO" 5
5353 fi
5354 fi
5355 if testscip-shell system . . test. x$ac_success = xno; then
5356 HAVE_CXX14=0
5357 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++14 support was found" >&5
5358 printfscip-shell system . . printf. "%s\n" "$as_me: No compiler with C++14 support was found" >&6;}
5359 else
5360 HAVE_CXX14=1
5361
5362 printfscip-shell system . . printf. "%s\n" "#define HAVE_CXX14 1" >>confdefs.h
5363
5364 fi
5365
5366
5367 ax_cxx_compile_alternatives="17 1z" ax_cxx_compile_cxx17_required=false
5368 ac_ext=cpp
5369 ac_cpp='$CXXCPP $CPPFLAGS'
5370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5373 ac_success=no
5374
5375
5376
5377
5378
5379 if testscip-shell system . . test. x$ac_success = xno; then
5380 for alternative in ${ax_cxx_compile_alternatives}; do
5381 for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}" MSVC; do
5382 if testscip-shell system . . test. x"$switch" = xMSVC; then
5383 switch=-std:c++${alternative}
5384 cachevar=`printfscip-shell system . . printf. "%s\n" "ax_cv_cxx_compile_cxx17_${switch}_MSVC" | $as_tr_sh`
5385 else
5386 cachevar=`printfscip-shell system . . printf. "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | $as_tr_sh`
5387 fi
5388 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5
5389 printfscip-shell system . . printf. %s "checking whether $CXX supports C++17 features with $switch... " >&6; }
5390 if eval test \${$cachevar+y}
5391 then :
5392 printfscip-shell system . . printf. %s "(cached) " >&6
5393 else $as_nop
5394 ac_save_CXX="$CXX"
5395 CXX="$CXX $switch"
5396 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5397 /* end confdefs.h. */
5398
5399
5400 // If the compiler admits that it is not ready for C++11, why torture it?
5401 // Hopefully, this will speed up the test.
5402
5403 #ifndef __cplusplus
5404
5405 #error "This is not a C++ compiler"
5406
5407 // MSVC always sets __cplusplus to 199711L in older versions; newer versions
5408 // only set it correctly if /Zc:__cplusplus is specified as well as a
5409 // /std:c++NN switch:
5410 //
5411 // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
5412 //
5413 // The value __cplusplus ought to have is available in _MSVC_LANG since
5414 // Visual Studio 2015 Update 3:
5415 //
5416 // https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros
5417 //
5418 // This was also the first MSVC version to support C++14 so we can't use the
5419 // value of either __cplusplus or _MSVC_LANG to quickly rule out MSVC having
5420 // C++11 or C++14 support, but we can check _MSVC_LANG for C++17 and later.
5421 #elif __cplusplus < 201103L && !defined _MSC_VER
5422
5423 #error "This is not a C++11 compiler"
5424
5425 #else
5426
5427 namespace cxx11
5428 {
5429
5430 namespace test_static_assert
5431 {
5432
5433 template <typename T>
5434 struct check
5435 {
5436 static_assert(sizeof(int) <= sizeof(T), "not big enough");
5437 };
5438
5439 }
5440
5441 namespace test_final_override
5442 {
5443
5444 struct Base
5445 {
5446 virtual ~Base() {}
5447 virtual void f() {}
5448 };
5449
5450 struct Derived : public Base
5451 {
5452 virtual ~Derived() override {}
5453 virtual void f() override {}
5454 };
5455
5456 }
5457
5458 namespace test_double_right_angle_brackets
5459 {
5460
5461 template < typename T >
5462 struct check {};
5463
5464 typedef check<void> single_type;
5465 typedef check<check<void>> double_type;
5466 typedef check<check<check<void>>> triple_type;
5467 typedef check<check<check<check<void>>>> quadruple_type;
5468
5469 }
5470
5471 namespace test_decltype
5472 {
5473
5474 int
5475 f()
5476 {
5477 int a = 1;
5478 decltype(a) b = 2;
5479 return a + b;
5480 }
5481
5482 }
5483
5484 namespace test_type_deduction
5485 {
5486
5487 template < typename T1, typename T2 >
5488 struct is_same
5489 {
5490 static const bool value = false;
5491 };
5492
5493 template < typename T >
5494 struct is_same<T, T>
5495 {
5496 static const bool value = true;
5497 };
5498
5499 template < typename T1, typename T2 >
5500 auto
5501 add(T1 a1, T2 a2) -> decltype(a1 + a2)
5502 {
5503 return a1 + a2;
5504 }
5505
5506 int
5507 test(const int c, volatile int v)
5508 {
5509 static_assert(is_same<int, decltype(0)>::value == true, "");
5510 static_assert(is_same<int, decltype(c)>::value == false, "");
5511 static_assert(is_same<int, decltype(v)>::value == false, "");
5512 auto ac = c;
5513 auto av = v;
5514 auto sumi = ac + av + 'x';
5515 auto sumf = ac + av + 1.0;
5516 static_assert(is_same<int, decltype(ac)>::value == true, "");
5517 static_assert(is_same<int, decltype(av)>::value == true, "");
5518 static_assert(is_same<int, decltype(sumi)>::value == true, "");
5519 static_assert(is_same<int, decltype(sumf)>::value == false, "");
5520 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
5521 return (sumf > 0.0) ? sumi : add(c, v);
5522 }
5523
5524 }
5525
5526 namespace test_noexcept
5527 {
5528
5529 int f() { return 0; }
5530 int g() noexcept { return 0; }
5531
5532 static_assert(noexcept(f()) == false, "");
5533 static_assert(noexcept(g()) == true, "");
5534
5535 }
5536
5537 namespace test_constexpr
5538 {
5539
5540 template < typename CharT >
5541 unsigned long constexpr
5542 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
5543 {
5544 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
5545 }
5546
5547 template < typename CharT >
5548 unsigned long constexpr
5549 strlen_c(const CharT *const s) noexcept
5550 {
5551 return strlen_c_r(s, 0UL);
5552 }
5553
5554 static_assert(strlen_c("") == 0UL, "");
5555 static_assert(strlen_c("1") == 1UL, "");
5556 static_assert(strlen_c("example") == 7UL, "");
5557 static_assert(strlen_c("another\0example") == 7UL, "");
5558
5559 }
5560
5561 namespace test_rvalue_references
5562 {
5563
5564 template < int N >
5565 struct answer
5566 {
5567 static constexpr int value = N;
5568 };
5569
5570 answer<1> f(int&) { return answer<1>(); }
5571 answer<2> f(const int&) { return answer<2>(); }
5572 answer<3> f(int&&) { return answer<3>(); }
5573
5574 void
5575 test()
5576 {
5577 int i = 0;
5578 const int c = 0;
5579 static_assert(decltype(f(i))::value == 1, "");
5580 static_assert(decltype(f(c))::value == 2, "");
5581 static_assert(decltype(f(0))::value == 3, "");
5582 }
5583
5584 }
5585
5586 namespace test_uniform_initialization
5587 {
5588
5589 struct test
5590 {
5591 static const int zero {};
5592 static const int one {1};
5593 };
5594
5595 static_assert(test::zero == 0, "");
5596 static_assert(test::one == 1, "");
5597
5598 }
5599
5600 namespace test_lambdas
5601 {
5602
5603 void
5604 test1()
5605 {
5606 auto lambda1 = [](){};
5607 auto lambda2 = lambda1;
5608 lambda1();
5609 lambda2();
5610 }
5611
5612 int
5613 test2()
5614 {
5615 auto a = [](int i, int j){ return i + j; }(1, 2);
5616 auto b = []() -> int { return '0'; }();
5617 auto c = [=](){ return a + b; }();
5618 auto d = [&](){ return c; }();
5619 auto e = [a, &b](int x) mutable {
5620 const auto identity = [](int y){ return y; };
5621 for (auto i = 0; i < a; ++i)
5622 a += b--;
5623 return x + identity(a + b);
5624 }(0);
5625 return a + b + c + d + e;
5626 }
5627
5628 int
5629 test3()
5630 {
5631 const auto nullary = [](){ return 0; };
5632 const auto unary = [](int x){ return x; };
5633 using nullary_t = decltype(nullary);
5634 using unary_t = decltype(unary);
5635 const auto higher1st = [](nullary_t f){ return f(); };
5636 const auto higher2nd = [unary](nullary_t f1){
5637 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
5638 };
5639 return higher1st(nullary) + higher2nd(nullary)(unary);
5640 }
5641
5642 }
5643
5644 namespace test_variadic_templates
5645 {
5646
5647 template <int...>
5648 struct sum;
5649
5650 template <int N0, int... N1toN>
5651 struct sum<N0, N1toN...>
5652 {
5653 static constexpr auto value = N0 + sum<N1toN...>::value;
5654 };
5655
5656 template <>
5657 struct sum<>
5658 {
5659 static constexpr auto value = 0;
5660 };
5661
5662 static_assert(sum<>::value == 0, "");
5663 static_assert(sum<1>::value == 1, "");
5664 static_assert(sum<23>::value == 23, "");
5665 static_assert(sum<1, 2>::value == 3, "");
5666 static_assert(sum<5, 5, 11>::value == 21, "");
5667 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
5668
5669 }
5670
5671 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
5672 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
5673 // because of this.
5674 namespace test_template_alias_sfinae
5675 {
5676
5677 struct foo {};
5678
5679 template<typename T>
5680 using member = typename T::member_type;
5681
5682 template<typename T>
5683 void func(...) {}
5684
5685 template<typename T>
5686 void func(member<T>*) {}
5687
5688 void test();
5689
5690 void test() { func<foo>(0); }
5691
5692 }
5693
5694 } // namespace cxx11
5695
5696 #endif // __cplusplus >= 201103L
5697
5698
5699
5700
5701 // If the compiler admits that it is not ready for C++14, why torture it?
5702 // Hopefully, this will speed up the test.
5703
5704 #ifndef __cplusplus
5705
5706 #error "This is not a C++ compiler"
5707
5708 #elif __cplusplus < 201402L && !defined _MSC_VER
5709
5710 #error "This is not a C++14 compiler"
5711
5712 #else
5713
5714 namespace cxx14
5715 {
5716
5717 namespace test_polymorphic_lambdas
5718 {
5719
5720 int
5721 test()
5722 {
5723 const auto lambda = [](auto&&... args){
5724 const auto istiny = [](auto x){
5725 return (sizeof(x) == 1UL) ? 1 : 0;
5726 };
5727 const int aretiny[] = { istiny(args)... };
5728 return aretiny[0];
5729 };
5730 return lambda(1, 1L, 1.0f, '1');
5731 }
5732
5733 }
5734
5735 namespace test_binary_literals
5736 {
5737
5738 constexpr auto ivii = 0b0000000000101010;
5739 static_assert(ivii == 42, "wrong value");
5740
5741 }
5742
5743 namespace test_generalized_constexpr
5744 {
5745
5746 template < typename CharT >
5747 constexpr unsigned long
5748 strlen_c(const CharT *const s) noexcept
5749 {
5750 auto length = 0UL;
5751 for (auto p = s; *p; ++p)
5752 ++length;
5753 return length;
5754 }
5755
5756 static_assert(strlen_c("") == 0UL, "");
5757 static_assert(strlen_c("x") == 1UL, "");
5758 static_assert(strlen_c("test") == 4UL, "");
5759 static_assert(strlen_c("another\0test") == 7UL, "");
5760
5761 }
5762
5763 namespace test_lambda_init_capture
5764 {
5765
5766 int
5767 test()
5768 {
5769 auto x = 0;
5770 const auto lambda1 = [a = x](int b){ return a + b; };
5771 const auto lambda2 = [a = lambda1(x)](){ return a; };
5772 return lambda2();
5773 }
5774
5775 }
5776
5777 namespace test_digit_separators
5778 {
5779
5780 constexpr auto ten_million = 100'000'000;
5781 static_assert(ten_million == 100000000, "");
5782
5783 }
5784
5785 namespace test_return_type_deduction
5786 {
5787
5788 auto f(int& x) { return x; }
5789 decltype(auto) g(int& x) { return x; }
5790
5791 template < typename T1, typename T2 >
5792 struct is_same
5793 {
5794 static constexpr auto value = false;
5795 };
5796
5797 template < typename T >
5798 struct is_same<T, T>
5799 {
5800 static constexpr auto value = true;
5801 };
5802
5803 int
5804 test()
5805 {
5806 auto x = 0;
5807 static_assert(is_same<int, decltype(f(x))>::value, "");
5808 static_assert(is_same<int&, decltype(g(x))>::value, "");
5809 return x;
5810 }
5811
5812 }
5813
5814 } // namespace cxx14
5815
5816 #endif // __cplusplus >= 201402L
5817
5818
5819
5820
5821 // If the compiler admits that it is not ready for C++17, why torture it?
5822 // Hopefully, this will speed up the test.
5823
5824 #ifndef __cplusplus
5825
5826 #error "This is not a C++ compiler"
5827
5828 #elif (defined _MSVC_LANG ? _MSVC_LANG : __cplusplus) < 201703L
5829
5830 #error "This is not a C++17 compiler"
5831
5832 #else
5833
5834 #include <initializer_list>
5835 #include <utility>
5836 #include <type_traits>
5837
5838 namespace cxx17
5839 {
5840
5841 namespace test_constexpr_lambdas
5842 {
5843
5844 constexpr int foo = [](){return 42;}();
5845
5846 }
5847
5848 namespace test::nested_namespace::definitions
5849 {
5850
5851 }
5852
5853 namespace test_fold_expression
5854 {
5855
5856 template<typename... Args>
5857 int multiply(Args... args)
5858 {
5859 return (args * ... * 1);
5860 }
5861
5862 template<typename... Args>
5863 bool all(Args... args)
5864 {
5865 return (args && ...);
5866 }
5867
5868 }
5869
5870 namespace test_extended_static_assert
5871 {
5872
5873 static_assert (true);
5874
5875 }
5876
5877 namespace test_auto_brace_init_list
5878 {
5879
5880 auto foo = {5};
5881 auto bar {5};
5882
5883 static_assert(std::is_same<std::initializer_list<int>, decltype(foo)>::value);
5884 static_assert(std::is_same<int, decltype(bar)>::value);
5885 }
5886
5887 namespace test_typename_in_template_template_parameter
5888 {
5889
5890 template<template<typename> typename X> struct D;
5891
5892 }
5893
5894 namespace test_fallthrough_nodiscard_maybe_unused_attributes
5895 {
5896
5897 int f1()
5898 {
5899 return 42;
5900 }
5901
5902 [[nodiscard]] int f2()
5903 {
5904 [[maybe_unused]] auto unused = f1();
5905
5906 switch (f1())
5907 {
5908 case 17:
5909 f1();
5910 [[fallthrough]];
5911 case 42:
5912 f1();
5913 }
5914 return f1();
5915 }
5916
5917 }
5918
5919 namespace test_extended_aggregate_initialization
5920 {
5921
5922 struct base1
5923 {
5924 int b1, b2 = 42;
5925 };
5926
5927 struct base2
5928 {
5929 base2() {
5930 b3 = 42;
5931 }
5932 int b3;
5933 };
5934
5935 struct derived : base1, base2
5936 {
5937 int d;
5938 };
5939
5940 derived d1 {{1, 2}, {}, 4}; // full initialization
5941 derived d2 {{}, {}, 4}; // value-initialized bases
5942
5943 }
5944
5945 namespace test_general_range_based_for_loop
5946 {
5947
5948 struct iter
5949 {
5950 int i;
5951
5952 int& operator* ()
5953 {
5954 return i;
5955 }
5956
5957 const int& operator* () const
5958 {
5959 return i;
5960 }
5961
5962 iter& operator++()
5963 {
5964 ++i;
5965 return *this;
5966 }
5967 };
5968
5969 struct sentinel
5970 {
5971 int i;
5972 };
5973
5974 bool operator== (const iter& i, const sentinel& s)
5975 {
5976 return i.i == s.i;
5977 }
5978
5979 bool operator!= (const iter& i, const sentinel& s)
5980 {
5981 return !(i == s);
5982 }
5983
5984 struct range
5985 {
5986 iter begin() const
5987 {
5988 return {0};
5989 }
5990
5991 sentinel end() const
5992 {
5993 return {5};
5994 }
5995 };
5996
5997 void f()
5998 {
5999 range r {};
6000
6001 for (auto i : r)
6002 {
6003 [[maybe_unused]] auto v = i;
6004 }
6005 }
6006
6007 }
6008
6009 namespace test_lambda_capture_asterisk_this_by_value
6010 {
6011
6012 struct t
6013 {
6014 int i;
6015 int foo()
6016 {
6017 return [*this]()
6018 {
6019 return i;
6020 }();
6021 }
6022 };
6023
6024 }
6025
6026 namespace test_enum_class_construction
6027 {
6028
6029 enum class byte : unsigned char
6030 {};
6031
6032 byte foo {42};
6033
6034 }
6035
6036 namespace test_constexpr_if
6037 {
6038
6039 template <bool cond>
6040 int f ()
6041 {
6042 if constexpr(cond)
6043 {
6044 return 13;
6045 }
6046 else
6047 {
6048 return 42;
6049 }
6050 }
6051
6052 }
6053
6054 namespace test_selection_statement_with_initializer
6055 {
6056
6057 int f()
6058 {
6059 return 13;
6060 }
6061
6062 int f2()
6063 {
6064 if (auto i = f(); i > 0)
6065 {
6066 return 3;
6067 }
6068
6069 switch (auto i = f(); i + 4)
6070 {
6071 case 17:
6072 return 2;
6073
6074 default:
6075 return 1;
6076 }
6077 }
6078
6079 }
6080
6081 namespace test_template_argument_deduction_for_class_templates
6082 {
6083
6084 template <typename T1, typename T2>
6085 struct pair
6086 {
6087 pair (T1 p1, T2 p2)
6088 : m1 {p1},
6089 m2 {p2}
6090 {}
6091
6092 T1 m1;
6093 T2 m2;
6094 };
6095
6096 void f()
6097 {
6098 [[maybe_unused]] auto p = pair{13, 42u};
6099 }
6100
6101 }
6102
6103 namespace test_non_type_auto_template_parameters
6104 {
6105
6106 template <auto n>
6107 struct B
6108 {};
6109
6110 B<5> b1;
6111 B<'a'> b2;
6112
6113 }
6114
6115 namespace test_structured_bindings
6116 {
6117
6118 int arr[2] = { 1, 2 };
6119 std::pair<int, int> pr = { 1, 2 };
6120
6121 auto f1() -> int(&)[2]
6122 {
6123 return arr;
6124 }
6125
6126 auto f2() -> std::pair<int, int>&
6127 {
6128 return pr;
6129 }
6130
6131 struct S
6132 {
6133 int x1 : 2;
6134 volatile double y1;
6135 };
6136
6137 S f3()
6138 {
6139 return {};
6140 }
6141
6142 auto [ x1, y1 ] = f1();
6143 auto& [ xr1, yr1 ] = f1();
6144 auto [ x2, y2 ] = f2();
6145 auto& [ xr2, yr2 ] = f2();
6146 const auto [ x3, y3 ] = f3();
6147
6148 }
6149
6150 namespace test_exception_spec_type_system
6151 {
6152
6153 struct Good {};
6154 struct Bad {};
6155
6156 void g1() noexcept;
6157 void g2();
6158
6159 template<typename T>
6160 Bad
6161 f(T*, T*);
6162
6163 template<typename T1, typename T2>
6164 Good
6165 f(T1*, T2*);
6166
6167 static_assert (std::is_same_v<Good, decltype(f(g1, g2))>);
6168
6169 }
6170
6171 namespace test_inline_variables
6172 {
6173
6174 template<class T> void f(T)
6175 {}
6176
6177 template<class T> inline T g(T)
6178 {
6179 return T{};
6180 }
6181
6182 template<> inline void f<>(int)
6183 {}
6184
6185 template<> int g<>(int)
6186 {
6187 return 5;
6188 }
6189
6190 }
6191
6192 } // namespace cxx17
6193
6194 #endif // (defined _MSVC_LANG ? _MSVC_LANG : __cplusplus) < 201703L
6195
6196
6197
6198 _ACEOF
6199 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
6200 then :
6201 eval $cachevar=yes
6202 else $as_nop
6203 eval $cachevar=no
6204 fi
6205 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6206 CXX="$ac_save_CXX"
6207 fi
6208 eval ac_res=\$$cachevar
6209 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6210 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
6211 if eval test x\$$cachevar = xyes; then
6212 CXX="$CXX $switch"
6213 if testscip-shell system . . test. -n "$CXXCPP" ; then
6214 CXXCPP="$CXXCPP $switch"
6215 fi
6216 ac_success=yes
6217 break
6218 fi
6219 done
6220 if testscip-shell system . . test. x$ac_success = xyes; then
6221 break
6222 fi
6223 done
6224 fi
6225 ac_ext=c
6226 ac_cpp='$CPP $CPPFLAGS'
6227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6230
6231 if testscip-shell system . . test. x$ax_cxx_compile_cxx17_required = xtrue; then
6232 if testscip-shell system . . test. x$ac_success = xno; then
6233 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "*** A compiler with support for C++17 language features is required." "$LINENO" 5
6234 fi
6235 fi
6236 if testscip-shell system . . test. x$ac_success = xno; then
6237 HAVE_CXX17=0
6238 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++17 support was found" >&5
6239 printfscip-shell system . . printf. "%s\n" "$as_me: No compiler with C++17 support was found" >&6;}
6240 else
6241 HAVE_CXX17=1
6242
6243 printfscip-shell system . . printf. "%s\n" "#define HAVE_CXX17 1" >>confdefs.h
6244
6245 fi
6246
6247
6248 am__api_version='1.16'
6249
6250
6251 # Find a good install program. We prefer a C program (faster),
6252 # so one script is as good as another. But avoid the broken or
6253 # incompatible versions:
6254 # SysV /etc/install, /usr/sbin/install
6255 # SunOS /usr/etc/install
6256 # IRIX /sbin/install
6257 # AIX /bin/install
6258 # AmigaOS /C/install, which installs bootblocks on floppy discs
6259 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6260 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6261 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6262 # OS/2's system install, which has a completely different semantic
6263 # ./install, which can be erroneously created by make from ./install.sh.
6264 # Reject install programs that cannot install multiple files.
6265 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
6266 printfscip-shell system . . printf. %s "checking for a BSD-compatible install... " >&6; }
6267 if testscip-shell system . . test. -z "$INSTALL"; then
6268 if testscip-shell system . . test. ${ac_cv_path_install+y}
6269 then :
6270 printfscip-shell system . . printf. %s "(cached) " >&6
6271 else $as_nop
6272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6273 for as_dir in $PATH
6274 do
6275 IFS=$as_save_IFS
6276 case $as_dir in #(((
6277 '') as_dir=./ ;;
6278 */) ;;
6279 *) as_dir=$as_dir/ ;;
6280 esac
6281 # Account for fact that we put trailing slashes in our PATH walk.
6282 case $as_dir in #((
6283 ./ | /[cC]/* | \
6284 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6285 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
6286 /usr/ucb/* ) ;;
6287 *)
6288 # OSF1 and SCO ODT 3.0 have their own names for install.
6289 # Don't use installbsd from OSF since it installs stuff as root
6290 # by default.
6291 for ac_prog in ginstall scoinst install; do
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext"; then
6294 if testscip-shell system . . test. $ac_prog = install &&
6295 grepscip-shell system . . grep. dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
6296 # AIX install. It has an incompatible calling convention.
6297 :
6298 elif testscip-shell system . . test. $ac_prog = install &&
6299 grepscip-shell system . . grep. pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
6300 # program-specific install script used by HP pwplus--don't use.
6301 :
6302 else
6303 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
6304 echoscip-shell system . . echo. one > conftest.one
6305 echoscip-shell system . . echo. two > conftest.two
6306 mkdirscip-shell system . . mkdir. conftest.dir
6307 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwdscip-shell system . . pwd.`/conftest.dir/" &&
6308 testscip-shell system . . test. -s conftest.one && testscip-shell system . . test. -s conftest.two &&
6309 testscip-shell system . . test. -s conftest.dir/conftest.one &&
6310 testscip-shell system . . test. -s conftest.dir/conftest.two
6311 then
6312 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
6313 break 3
6314 fi
6315 fi
6316 fi
6317 done
6318 done
6319 ;;
6320 esac
6321
6322 done
6323 IFS=$as_save_IFS
6324
6325 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
6326
6327 fi
6328 if testscip-shell system . . test. ${ac_cv_path_install+y}; then
6329 INSTALL=$ac_cv_path_install
6330 else
6331 # As a last resort, use the slow shell script. Don't cache a
6332 # value for INSTALL within a source directory, because that will
6333 # break other packages using the cache if that directory is
6334 # removed, or if the value is a relative name.
6335 INSTALL=$ac_install_sh
6336 fi
6337 fi
6338 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
6339 printfscip-shell system . . printf. "%s\n" "$INSTALL" >&6; }
6340
6341 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6342 # It thinks the first close brace ends the variable substitution.
6343 testscip-shell system . . test. -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6344
6345 testscip-shell system . . test. -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6346
6347 testscip-shell system . . test. -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6348
6349 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
6350 printfscip-shell system . . printf. %s "checking whether build environment is sane... " >&6; }
6351 # Reject unsafe characters in $srcdir or the absolute working directory
6352 # name. Accept space and tab only in the latter.
6353 am_lf='
6354 '
6355 case `pwdscip-shell system . . pwd.` in
6356 *[\\\"\#\$\&\'\`$am_lf]*)
6357 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unsafe absolute working directory name" "$LINENO" 5;;
6358 esac
6359 case $srcdir in
6360 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
6361 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
6362 esac
6363
6364 # Do 'set' in a subshell so we don't clobber the current shell's
6365 # arguments. Must try -L first in case configure is actually a
6366 # symlink; some systems play weird games with the mod time of symlinks
6367 # (eg FreeBSD returns the mod time of the symlink's containing
6368 # directory).
6369 if (
6370 am_has_slept=no
6371 for am_try in 1 2; do
6372 echoscip-shell system . . echo. "timestamp, slept: $am_has_slept" > conftest.file
6373 set X `lsscip-shell system . . ls. -Lt "$srcdir/configure" conftest.file 2> /dev/nullscip-shell filesystem . . `/dev/null`.`
6374 if testscip-shell system . . test. "$*" = "X"; then
6375 # -L didn't work.
6376 set X `lsscip-shell system . . ls. -t "$srcdir/configure" conftest.file`
6377 fi
6378 if testscip-shell system . . test. "$*" != "X $srcdir/configure conftest.file" \
6379 && testscip-shell system . . test. "$*" != "X conftest.file $srcdir/configure"; then
6380
6381 # If neither matched, then we have a broken ls. This can happen
6382 # if, for instance, CONFIG_SHELL is bash and it inherits a
6383 # broken ls alias from the environment. This has actually
6384 # happened. Such a system could not be considered "sane".
6385 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "ls -t appears to fail. Make sure there is not a broken
6386 alias in your environment" "$LINENO" 5
6387 fi
6388 if testscip-shell system . . test. "$2" = conftest.file || testscip-shell system . . test. $am_try -eq 2; then
6389 break
6390 fi
6391 # Just in case.
6392 sleepscip-shell system . . sleep. 1
6393 am_has_slept=yes
6394 done
6395 testscip-shell system . . test. "$2" = conftest.file
6396 )
6397 then
6398 # Ok.
6399 :
6400 else
6401 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "newly created file is older than distributed files!
6402 Check your system clock" "$LINENO" 5
6403 fi
6404 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6405 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
6406 # If we didn't sleep, we still need to ensure time stamps of config.status and
6407 # generated files are strictly newer.
6408 am_sleep_pid=
6409 if grepscip-shell system . . grep. 'slept: no' conftest.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
6410 ( sleepscip-shell system . . sleep. 1 ) &
6411 am_sleep_pid=$!
6412 fi
6413
6414 rmscip-shell system . . rm. -f conftest.file
6415
6416 testscip-shell system . . test. "$program_prefix" != NONE &&
6417 program_transform_name="s&^&$program_prefix&;$program_transform_name"
6418 # Use a double $ so make ignores it.
6419 testscip-shell system . . test. "$program_suffix" != NONE &&
6420 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
6421 # Double any \ or $.
6422 # By default was `s,x,x', remove it if useless.
6423 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
6424 program_transform_name=`printfscip-shell system . . printf. "%s\n" "$program_transform_name" | sedscip-shell system . . sed. "$ac_script"`
6425
6426
6427 if testscip-shell system . . test. x"${MISSING+set}" != xset; then
6428 MISSING="\${SHELL} '$am_aux_dir/missing'"
6429 fi
6430 # Use eval to expand $SHELL
6431 if eval "$MISSING --is-lightweight"; then
6432 am_missing_run="$MISSING "
6433 else
6434 am_missing_run=
6435 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
6436 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
6437 fi
6438
6439 if testscip-shell system . . test. x"${install_sh+set}" != xset; then
6440 case $am_aux_dir in
6441 *\ * | *\ *)
6442 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
6443 *)
6444 install_sh="\${SHELL} $am_aux_dir/install-sh"
6445 esac
6446 fi
6447
6448 # Installed binaries are usually stripped using 'strip' when the user
6449 # run "make install-strip". However 'strip' might not be the right
6450 # tool to use in cross-compilation environments, therefore Automake
6451 # will honor the 'STRIP' environment variable to overrule this program.
6452 if testscip-shell system . . test. "$cross_compiling" != no; then
6453 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
6454 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6455 set dummy ${ac_tool_prefix}strip; ac_word=$2
6456 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6457 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
6458 if testscip-shell system . . test. ${ac_cv_prog_STRIP+y}
6459 then :
6460 printfscip-shell system . . printf. %s "(cached) " >&6
6461 else $as_nop
6462 if testscip-shell system . . test. -n "$STRIP"; then
6463 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6464 else
6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 for as_dir in $PATH
6467 do
6468 IFS=$as_save_IFS
6469 case $as_dir in #(((
6470 '') as_dir=./ ;;
6471 */) ;;
6472 *) as_dir=$as_dir/ ;;
6473 esac
6474 for ac_exec_ext in '' $ac_executable_extensions; do
6475 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
6476 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6477 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6478 break 2
6479 fi
6480 done
6481 done
6482 IFS=$as_save_IFS
6483
6484 fi
6485 fi
6486 STRIP=$ac_cv_prog_STRIP
6487 if testscip-shell system . . test. -n "$STRIP"; then
6488 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6489 printfscip-shell system . . printf. "%s\n" "$STRIP" >&6; }
6490 else
6491 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 printfscip-shell system . . printf. "%s\n" "no" >&6; }
6493 fi
6494
6495
6496 fi
6497 if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then
6498 ac_ct_STRIP=$STRIP
6499 # Extract the first word of "strip", so it can be a program name with args.
6500 set dummy strip; ac_word=$2
6501 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
6503 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_STRIP+y}
6504 then :
6505 printfscip-shell system . . printf. %s "(cached) " >&6
6506 else $as_nop
6507 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
6508 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6509 else
6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 for as_dir in $PATH
6512 do
6513 IFS=$as_save_IFS
6514 case $as_dir in #(((
6515 '') as_dir=./ ;;
6516 */) ;;
6517 *) as_dir=$as_dir/ ;;
6518 esac
6519 for ac_exec_ext in '' $ac_executable_extensions; do
6520 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
6521 ac_cv_prog_ac_ct_STRIP="strip"
6522 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6523 break 2
6524 fi
6525 done
6526 done
6527 IFS=$as_save_IFS
6528
6529 fi
6530 fi
6531 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6532 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
6533 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6534 printfscip-shell system . . printf. "%s\n" "$ac_ct_STRIP" >&6; }
6535 else
6536 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537 printfscip-shell system . . printf. "%s\n" "no" >&6; }
6538 fi
6539
6540 if testscip-shell system . . test. "x$ac_ct_STRIP" = x; then
6541 STRIP=":"
6542 else
6543 case $cross_compiling:$ac_tool_warned in
6544 yes:)
6545 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6546 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6547 ac_tool_warned=yes ;;
6548 esac
6549 STRIP=$ac_ct_STRIP
6550 fi
6551 else
6552 STRIP="$ac_cv_prog_STRIP"
6553 fi
6554
6555 fi
6556 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
6557
6558
6559 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
6560 printfscip-shell system . . printf. %s "checking for a race-free mkdir -p... " >&6; }
6561 if testscip-shell system . . test. -z "$MKDIR_P"; then
6562 if testscip-shell system . . test. ${ac_cv_path_mkdir+y}
6563 then :
6564 printfscip-shell system . . printf. %s "(cached) " >&6
6565 else $as_nop
6566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6567 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
6568 do
6569 IFS=$as_save_IFS
6570 case $as_dir in #(((
6571 '') as_dir=./ ;;
6572 */) ;;
6573 *) as_dir=$as_dir/ ;;
6574 esac
6575 for ac_prog in mkdir gmkdir; do
6576 for ac_exec_ext in '' $ac_executable_extensions; do
6577 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext" || continue
6578 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
6579 'mkdir ('*'coreutils) '* | \
6580 'BusyBox '* | \
6581 'mkdir (fileutils) '4.1*)
6582 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
6583 break 3;;
6584 esac
6585 done
6586 done
6587 done
6588 IFS=$as_save_IFS
6589
6590 fi
6591
6592 testscip-shell system . . test. -d ./--version && rmdirscip-shell system . . rmdir. ./--version
6593 if testscip-shell system . . test. ${ac_cv_path_mkdir+y}; then
6594 MKDIR_P="$ac_cv_path_mkdir -p"
6595 else
6596 # As a last resort, use the slow shell script. Don't cache a
6597 # value for MKDIR_P within a source directory, because that will
6598 # break other packages using the cache if that directory is
6599 # removed, or if the value is a relative name.
6600 MKDIR_P="$ac_install_sh -d"
6601 fi
6602 fi
6603 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
6604 printfscip-shell system . . printf. "%s\n" "$MKDIR_P" >&6; }
6605
6606 for ac_prog in gawk mawk nawk awk
6607 do
6608 # Extract the first word of "$ac_prog", so it can be a program name with args.
6609 set dummy $ac_prog; ac_word=$2
6610 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6611 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
6612 if testscip-shell system . . test. ${ac_cv_prog_AWK+y}
6613 then :
6614 printfscip-shell system . . printf. %s "(cached) " >&6
6615 else $as_nop
6616 if testscip-shell system . . test. -n "$AWK"; then
6617 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6618 else
6619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6620 for as_dir in $PATH
6621 do
6622 IFS=$as_save_IFS
6623 case $as_dir in #(((
6624 '') as_dir=./ ;;
6625 */) ;;
6626 *) as_dir=$as_dir/ ;;
6627 esac
6628 for ac_exec_ext in '' $ac_executable_extensions; do
6629 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
6630 ac_cv_prog_AWK="$ac_prog"
6631 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6632 break 2
6633 fi
6634 done
6635 done
6636 IFS=$as_save_IFS
6637
6638 fi
6639 fi
6640 AWK=$ac_cv_prog_AWK
6641 if testscip-shell system . . test. -n "$AWK"; then
6642 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6643 printfscip-shell system . . printf. "%s\n" "$AWK" >&6; }
6644 else
6645 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6646 printfscip-shell system . . printf. "%s\n" "no" >&6; }
6647 fi
6648
6649
6650 testscip-shell system . . test. -n "$AWK" && break
6651 done
6652
6653 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6654 printfscip-shell system . . printf. %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6655 set x ${MAKE-make}
6656 ac_make=`printfscip-shell system . . printf. "%s\n" "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6657 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
6658 then :
6659 printfscip-shell system . . printf. %s "(cached) " >&6
6660 else $as_nop
6661 catscip-shell system . . cat. >conftest.make <<\_ACEOF
6662 SHELL = /bin/sh
6663 all:
6664 @echo '@@@%%%=$(MAKE)=@@@%%%'
6665 _ACEOF
6666 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6667 case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
6668 *@@@%%%=?*=@@@%%%*)
6669 eval ac_cv_prog_make_${ac_make}_set=yes;;
6670 *)
6671 eval ac_cv_prog_make_${ac_make}_set=no;;
6672 esac
6673 rmscip-shell system . . rm. -f conftest.make
6674 fi
6675 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6676 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6677 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
6678 SET_MAKE=
6679 else
6680 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6681 printfscip-shell system . . printf. "%s\n" "no" >&6; }
6682 SET_MAKE="MAKE=${MAKE-make}"
6683 fi
6684
6685 rmscip-shell system . . rm. -rf .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
6686 mkdirscip-shell system . . mkdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
6687 if testscip-shell system . . test. -d .tst; then
6688 am__leading_dot=.
6689 else
6690 am__leading_dot=_
6691 fi
6692 rmdirscip-shell system . . rmdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
6693
6694 DEPDIR="${am__leading_dot}deps"
6695
6696 ac_config_commands="$ac_config_commands depfiles"
6697
6698 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
6699 printfscip-shell system . . printf. %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
6700 catscip-shell system . . cat. > confinc.mk << 'END'
6701 am__doit:
6702 @echo this is the am__doit target >confinc.out
6703 .PHONY: am__doit
6704 END
6705 am__include="#"
6706 am__quote=
6707 # BSD make does it like this.
6708 echoscip-shell system . . echo. '.include "confinc.mk" # ignored' > confmf.BSD
6709 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
6710 echoscip-shell system . . echo. 'include confinc.mk # ignored' > confmf.GNU
6711 _am_result=no
6712 for s in GNU BSD; do
6713 { echoscip-shell system . . echo. "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
6714 (${MAKE-make} -f confmf.$s && catscip-shell system . . cat. confinc.out) >&5 2>&5
6715 ac_status=$?
6716 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); }
6718 case $?:`catscip-shell system . . cat. confinc.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #(
6719 '0:this is the am__doit target') :
6720 case $s in #(
6721 BSD) :
6722 am__include='.include' am__quote='"' ;; #(
6723 *) :
6724 am__include='include' am__quote='' ;;
6725 esac ;; #(
6726 *) :
6727 ;;
6728 esac
6729 if testscip-shell system . . test. "$am__include" != "#"; then
6730 _am_result="yes ($s style)"
6731 break
6732 fi
6733 done
6734 rmscip-shell system . . rm. -f confinc.* confmf.*
6735 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
6736 printfscip-shell system . . printf. "%s\n" "${_am_result}" >&6; }
6737
6738 # Check whether --enable-dependency-tracking was given.
6739 if testscip-shell system . . test. ${enable_dependency_tracking+y}
6740 then :
6741 enableval=$enable_dependency_tracking;
6742 fi
6743
6744 if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then
6745 am_depcomp="$ac_aux_dir/depcomp"
6746 AMDEPBACKSLASH='\'
6747 am__nodep='_no'
6748 fi
6749 if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then
6750 AMDEP_TRUE=
6751 AMDEP_FALSE='#'
6752 else
6753 AMDEP_TRUE='#'
6754 AMDEP_FALSE=
6755 fi
6756
6757
6758 # Check whether --enable-silent-rules was given.
6759 if testscip-shell system . . test. ${enable_silent_rules+y}
6760 then :
6761 enableval=$enable_silent_rules;
6762 fi
6763
6764 case $enable_silent_rules in # (((
6765 yes) AM_DEFAULT_VERBOSITY=0;;
6766 no) AM_DEFAULT_VERBOSITY=1;;
6767 *) AM_DEFAULT_VERBOSITY=1;;
6768 esac
6769 am_make=${MAKE-make}
6770 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
6771 printfscip-shell system . . printf. %s "checking whether $am_make supports nested variables... " >&6; }
6772 if testscip-shell system . . test. ${am_cv_make_support_nested_variables+y}
6773 then :
6774 printfscip-shell system . . printf. %s "(cached) " >&6
6775 else $as_nop
6776 if printfscip-shell system . . printf. "%s\n" 'TRUE=$(BAR$(V))
6777 BAR0=false
6778 BAR1=true
6779 V=1
6780 am__doit:
6781 @$(TRUE)
6782 .PHONY: am__doit' | $am_make -f - >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
6783 am_cv_make_support_nested_variables=yes
6784 else
6785 am_cv_make_support_nested_variables=no
6786 fi
6787 fi
6788 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
6789 printfscip-shell system . . printf. "%s\n" "$am_cv_make_support_nested_variables" >&6; }
6790 if testscip-shell system . . test. $am_cv_make_support_nested_variables = yes; then
6791 AM_V='$(V)'
6792 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
6793 else
6794 AM_V=$AM_DEFAULT_VERBOSITY
6795 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
6796 fi
6797 AM_BACKSLASH='\'
6798
6799 if testscip-shell system . . test. "`cd $srcdir && pwdscip-shell system . . pwd.`" != "`pwdscip-shell system . . pwd.`"; then
6800 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
6801 # is not polluted with repeated "-I."
6802 am__isrc=' -I$(srcdir)'
6803 # test to see if srcdir already configured
6804 if testscip-shell system . . test. -f $srcdir/config.status; then
6805 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
6806 fi
6807 fi
6808
6809 # test whether we have cygpath
6810 if testscip-shell system . . test. -z "$CYGPATH_W"; then
6811 if (cygpath --version) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
6812 CYGPATH_W='cygpath -w'
6813 else
6814 CYGPATH_W=echo
6815 fi
6816 fi
6817
6818
6819 # Define the identity of the package.
6820 PACKAGE='c-ares'
6821 VERSION='1.34.8'
6822
6823
6824 printfscip-shell system . . printf. "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
6825
6826
6827 printfscip-shell system . . printf. "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
6828
6829 # Some tools Automake needs.
6830
6831 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
6832
6833
6834 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
6835
6836
6837 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
6838
6839
6840 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
6841
6842
6843 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
6844
6845 # For better backward compatibility. To be removed once Automake 1.9.x
6846 # dies out for good. For more background, see:
6847 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
6848 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
6849 mkdir_p='$(MKDIR_P)'
6850
6851 # We need awk for the "check" target (and possibly the TAP driver). The
6852 # system "awk" is bad on some platforms.
6853 # Always define AMTAR for backward compatibility. Yes, it's still used
6854 # in the wild :-( We should find a proper way to deprecate it ...
6855 AMTAR='$${TAR-tar}'
6856
6857
6858 # We'll loop over all known methods to create a tar archive until one works.
6859 _am_tools='gnutar pax cpio none'
6860
6861 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
6862
6863
6864
6865
6866
6867 depcc="$CC" am_compiler_list=
6868
6869 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6870 printfscip-shell system . . printf. %s "checking dependency style of $depcc... " >&6; }
6871 if testscip-shell system . . test. ${am_cv_CC_dependencies_compiler_type+y}
6872 then :
6873 printfscip-shell system . . printf. %s "(cached) " >&6
6874 else $as_nop
6875 if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then
6876 # We make a subdir and do the tests there. Otherwise we can end up
6877 # making bogus files that we don't know about and never remove. For
6878 # instance it was reported that on HP-UX the gcc test will end up
6879 # making a dummy file named 'D' -- because '-MD' means "put the output
6880 # in D".
6881 rmscip-shell system . . rm. -rf conftest.dir
6882 mkdirscip-shell system . . mkdir. conftest.dir
6883 # Copy depcomp to subdir because otherwise we won't find it if we're
6884 # using a relative directory.
6885 cpscip-shell system . . cp. "$am_depcomp" conftest.dir
6886 cd conftest.dir
6887 # We will build objects and dependencies in a subdirectory because
6888 # it helps to detect inapplicable dependency modes. For instance
6889 # both Tru64's cc and ICC support -MD to output dependencies as a
6890 # side effect of compilation, but ICC will put the dependencies in
6891 # the current directory while Tru64 will put them in the object
6892 # directory.
6893 mkdirscip-shell system . . mkdir. sub
6894
6895 am_cv_CC_dependencies_compiler_type=none
6896 if testscip-shell system . . test. "$am_compiler_list" = ""; then
6897 am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6898 fi
6899 am__universal=false
6900 case " $depcc " in #(
6901 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6902 esac
6903
6904 for depmode in $am_compiler_list; do
6905 # Setup a source with many dependencies, because some compilers
6906 # like to wrap large dependency lists on column 80 (with \), and
6907 # we should not choose a depcomp mode which is confused by this.
6908 #
6909 # We need to recreate these files for each test, as the compiler may
6910 # overwrite some of them when testing with obscure command lines.
6911 # This happens at least with the AIX C compiler.
6912 : > sub/conftest.c
6913 for i in 1 2 3 4 5 6; do
6914 echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c
6915 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6916 # Solaris 10 /bin/sh.
6917 echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h
6918 done
6919 echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6920
6921 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6922 # mode. It turns out that the SunPro C++ compiler does not properly
6923 # handle '-M -o', and we need to detect this. Also, some Intel
6924 # versions had trouble with output in subdirs.
6925 am__obj=sub/conftest.${OBJEXT-o}
6926 am__minus_obj="-o $am__obj"
6927 case $depmode in
6928 gcc)
6929 # This depmode causes a compiler race in universal mode.
6930 testscip-shell system . . test. "$am__universal" = false || continue
6931 ;;
6932 nosideeffect)
6933 # After this tag, mechanisms are not by side-effect, so they'll
6934 # only be used when explicitly requested.
6935 if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then
6936 continue
6937 else
6938 break
6939 fi
6940 ;;
6941 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6942 # This compiler won't grok '-c -o', but also, the minuso test has
6943 # not run yet. These depmodes are late enough in the game, and
6944 # so weak that their functioning should not be impacted.
6945 am__obj=conftest.${OBJEXT-o}
6946 am__minus_obj=
6947 ;;
6948 none) break ;;
6949 esac
6950 if depmode=$depmode \
6951 source=sub/conftest.c object=$am__obj \
6952 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6953 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6954 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err &&
6955 grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
6956 grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
6957 grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
6958 ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
6959 # icc doesn't choke on unknown options, it will just issue warnings
6960 # or remarks (even with -Werror). So we grep stderr for any message
6961 # that says an option was ignored or not supported.
6962 # When given -MP, icc 7.0 and 7.1 complain thusly:
6963 # icc: Command line warning: ignoring option '-M'; no argument required
6964 # The diagnosis changed in icc 8.0:
6965 # icc: Command line remark: option '-MP' not supported
6966 if (grepscip-shell system . . grep. 'ignoring option' conftest.err ||
6967 grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
6968 am_cv_CC_dependencies_compiler_type=$depmode
6969 break
6970 fi
6971 fi
6972 done
6973
6974 cd ..
6975 rmscip-shell system . . rm. -rf conftest.dir
6976 else
6977 am_cv_CC_dependencies_compiler_type=none
6978 fi
6979
6980 fi
6981 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6982 printfscip-shell system . . printf. "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
6983 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6984
6985 if
6986 testscip-shell system . . test. "x$enable_dependency_tracking" != xno \
6987 && testscip-shell system . . test. "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6988 am__fastdepCC_TRUE=
6989 am__fastdepCC_FALSE='#'
6990 else
6991 am__fastdepCC_TRUE='#'
6992 am__fastdepCC_FALSE=
6993 fi
6994
6995
6996 depcc="$CXX" am_compiler_list=
6997
6998 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6999 printfscip-shell system . . printf. %s "checking dependency style of $depcc... " >&6; }
7000 if testscip-shell system . . test. ${am_cv_CXX_dependencies_compiler_type+y}
7001 then :
7002 printfscip-shell system . . printf. %s "(cached) " >&6
7003 else $as_nop
7004 if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then
7005 # We make a subdir and do the tests there. Otherwise we can end up
7006 # making bogus files that we don't know about and never remove. For
7007 # instance it was reported that on HP-UX the gcc test will end up
7008 # making a dummy file named 'D' -- because '-MD' means "put the output
7009 # in D".
7010 rmscip-shell system . . rm. -rf conftest.dir
7011 mkdirscip-shell system . . mkdir. conftest.dir
7012 # Copy depcomp to subdir because otherwise we won't find it if we're
7013 # using a relative directory.
7014 cpscip-shell system . . cp. "$am_depcomp" conftest.dir
7015 cd conftest.dir
7016 # We will build objects and dependencies in a subdirectory because
7017 # it helps to detect inapplicable dependency modes. For instance
7018 # both Tru64's cc and ICC support -MD to output dependencies as a
7019 # side effect of compilation, but ICC will put the dependencies in
7020 # the current directory while Tru64 will put them in the object
7021 # directory.
7022 mkdirscip-shell system . . mkdir. sub
7023
7024 am_cv_CXX_dependencies_compiler_type=none
7025 if testscip-shell system . . test. "$am_compiler_list" = ""; then
7026 am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7027 fi
7028 am__universal=false
7029 case " $depcc " in #(
7030 *\ -arch\ *\ -arch\ *) am__universal=true ;;
7031 esac
7032
7033 for depmode in $am_compiler_list; do
7034 # Setup a source with many dependencies, because some compilers
7035 # like to wrap large dependency lists on column 80 (with \), and
7036 # we should not choose a depcomp mode which is confused by this.
7037 #
7038 # We need to recreate these files for each test, as the compiler may
7039 # overwrite some of them when testing with obscure command lines.
7040 # This happens at least with the AIX C compiler.
7041 : > sub/conftest.c
7042 for i in 1 2 3 4 5 6; do
7043 echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c
7044 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
7045 # Solaris 10 /bin/sh.
7046 echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h
7047 done
7048 echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7049
7050 # We check with '-c' and '-o' for the sake of the "dashmstdout"
7051 # mode. It turns out that the SunPro C++ compiler does not properly
7052 # handle '-M -o', and we need to detect this. Also, some Intel
7053 # versions had trouble with output in subdirs.
7054 am__obj=sub/conftest.${OBJEXT-o}
7055 am__minus_obj="-o $am__obj"
7056 case $depmode in
7057 gcc)
7058 # This depmode causes a compiler race in universal mode.
7059 testscip-shell system . . test. "$am__universal" = false || continue
7060 ;;
7061 nosideeffect)
7062 # After this tag, mechanisms are not by side-effect, so they'll
7063 # only be used when explicitly requested.
7064 if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then
7065 continue
7066 else
7067 break
7068 fi
7069 ;;
7070 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
7071 # This compiler won't grok '-c -o', but also, the minuso test has
7072 # not run yet. These depmodes are late enough in the game, and
7073 # so weak that their functioning should not be impacted.
7074 am__obj=conftest.${OBJEXT-o}
7075 am__minus_obj=
7076 ;;
7077 none) break ;;
7078 esac
7079 if depmode=$depmode \
7080 source=sub/conftest.c object=$am__obj \
7081 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7082 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7083 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err &&
7084 grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
7085 grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
7086 grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
7087 ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
7088 # icc doesn't choke on unknown options, it will just issue warnings
7089 # or remarks (even with -Werror). So we grep stderr for any message
7090 # that says an option was ignored or not supported.
7091 # When given -MP, icc 7.0 and 7.1 complain thusly:
7092 # icc: Command line warning: ignoring option '-M'; no argument required
7093 # The diagnosis changed in icc 8.0:
7094 # icc: Command line remark: option '-MP' not supported
7095 if (grepscip-shell system . . grep. 'ignoring option' conftest.err ||
7096 grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
7097 am_cv_CXX_dependencies_compiler_type=$depmode
7098 break
7099 fi
7100 fi
7101 done
7102
7103 cd ..
7104 rmscip-shell system . . rm. -rf conftest.dir
7105 else
7106 am_cv_CXX_dependencies_compiler_type=none
7107 fi
7108
7109 fi
7110 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7111 printfscip-shell system . . printf. "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
7112 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7113
7114 if
7115 testscip-shell system . . test. "x$enable_dependency_tracking" != xno \
7116 && testscip-shell system . . test. "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7117 am__fastdepCXX_TRUE=
7118 am__fastdepCXX_FALSE='#'
7119 else
7120 am__fastdepCXX_TRUE='#'
7121 am__fastdepCXX_FALSE=
7122 fi
7123
7124
7125 # Variables for tags utilities; see am/tags.am
7126 if testscip-shell system . . test. -z "$CTAGS"; then
7127 CTAGS=ctags
7128 fi
7129
7130 if testscip-shell system . . test. -z "$ETAGS"; then
7131 ETAGS=etags
7132 fi
7133
7134 if testscip-shell system . . test. -z "$CSCOPE"; then
7135 CSCOPE=cscope
7136 fi
7137
7138
7139
7140 # POSIX will say in a future version that running "rm -f" with no argument
7141 # is OK; and we want to be able to make that assumption in our Makefile
7142 # recipes. So use an aggressive probe to check that the usage we want is
7143 # actually supported "in the wild" to an acceptable degree.
7144 # See automake bug#10828.
7145 # To make any issue more visible, cause the running configure to be aborted
7146 # by default if the 'rm' program in use doesn't match our expectations; the
7147 # user can still override this though.
7148 if rmscip-shell system . . rm. -f && rmscip-shell system . . rm. -fr && rmscip-shell system . . rm. -rf; then : OK; else
7149 catscip-shell system . . cat. >&2 <<'END'
7150 Oops!
7151
7152 Your 'rm' program seems unable to run without file operands specified
7153 on the command line, even when the '-f' option is present. This is contrary
7154 to the behaviour of most rm programs out there, and not conforming with
7155 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
7156
7157 Please tell [email protected] about your system, including the value
7158 of your $PATH and any error possibly output before this message. This
7159 can help us improve future automake versions.
7160
7161 END
7162 if testscip-shell system . . test. x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
7163 echoscip-shell system . . echo. 'Configuration will proceed anyway, since you have set the' >&2
7164 echoscip-shell system . . echo. 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
7165 echoscip-shell system . . echo. >&2
7166 else
7167 catscip-shell system . . cat. >&2 <<'END'
7168 Aborting the configuration process, to ensure you take notice of the issue.
7169
7170 You can download and install GNU coreutils to get an 'rm' implementation
7171 that behaves properly: <https://www.gnu.org/software/coreutils/>.
7172
7173 If you want to complete the configuration process using your problematic
7174 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
7175 to "yes", and re-run configure.
7176
7177 END
7178 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Your 'rm' program is bad, sorry." "$LINENO" 5
7179 fi
7180 fi
7181
7182 case `pwdscip-shell system . . pwd.` in
7183 *\ * | *\ *)
7184 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7185 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7186 esac
7187
7188
7189
7190 macro_version='2.4.7'
7191 macro_revision='2.4.7'
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206 ltmain=$ac_aux_dir/ltmain.sh
7207
7208
7209
7210 # Make sure we can run config.sub.
7211 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 ||
7212 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
7213
7214 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
7215 printfscip-shell system . . printf. %s "checking build system type... " >&6; }
7216 if testscip-shell system . . test. ${ac_cv_build+y}
7217 then :
7218 printfscip-shell system . . printf. %s "(cached) " >&6
7219 else $as_nop
7220 ac_build_alias=$build_alias
7221 testscip-shell system . . test. "x$ac_build_alias" = x &&
7222 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
7223 testscip-shell system . . test. "x$ac_build_alias" = x &&
7224 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot guess build type; you must specify one" "$LINENO" 5
7225 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
7226 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
7227
7228 fi
7229 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
7230 printfscip-shell system . . printf. "%s\n" "$ac_cv_build" >&6; }
7231 case $ac_cv_build in
7232 *-*-*) ;;
7233 *) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid value of canonical build" "$LINENO" 5;;
7234 esac
7235 build=$ac_cv_build
7236 ac_save_IFS=$IFS; IFS='-'
7237 set x $ac_cv_build
7238 shift
7239 build_cpu=$1
7240 build_vendor=$2
7241 shift; shift
7242 # Remember, the first character of IFS is used to create $*,
7243 # except with old shells:
7244 build_os=$*
7245 IFS=$ac_save_IFS
7246 case $build_os in *\ *) build_os=`echoscip-shell system . . echo. "$build_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
7247
7248
7249 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
7250 printfscip-shell system . . printf. %s "checking host system type... " >&6; }
7251 if testscip-shell system . . test. ${ac_cv_host+y}
7252 then :
7253 printfscip-shell system . . printf. %s "(cached) " >&6
7254 else $as_nop
7255 if testscip-shell system . . test. "x$host_alias" = x; then
7256 ac_cv_host=$ac_cv_build
7257 else
7258 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
7259 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
7260 fi
7261
7262 fi
7263 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
7264 printfscip-shell system . . printf. "%s\n" "$ac_cv_host" >&6; }
7265 case $ac_cv_host in
7266 *-*-*) ;;
7267 *) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid value of canonical host" "$LINENO" 5;;
7268 esac
7269 host=$ac_cv_host
7270 ac_save_IFS=$IFS; IFS='-'
7271 set x $ac_cv_host
7272 shift
7273 host_cpu=$1
7274 host_vendor=$2
7275 shift; shift
7276 # Remember, the first character of IFS is used to create $*,
7277 # except with old shells:
7278 host_os=$*
7279 IFS=$ac_save_IFS
7280 case $host_os in *\ *) host_os=`echoscip-shell system . . echo. "$host_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
7281
7282
7283 # Backslashify metacharacters that are still active within
7284 # double-quoted strings.
7285 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7286
7287 # Same as above, but do not quote variable references.
7288 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7289
7290 # Sed substitution to delay expansion of an escaped shell variable in a
7291 # double_quote_subst'ed string.
7292 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7293
7294 # Sed substitution to delay expansion of an escaped single quote.
7295 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7296
7297 # Sed substitution to avoid accidental globbing in evaled expressions
7298 no_glob_subst='s/\*/\\\*/g'
7299
7300 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7301 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7302 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7303
7304 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7305 printfscip-shell system . . printf. %s "checking how to print strings... " >&6; }
7306 # Test print first, because it will be a builtin if present.
7307 if testscip-shell system . . test. "X`( print -r -- -n ) 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = X-n && \
7308 test "X`print -r -- $ECHO 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = "X$ECHO"; then
7309 ECHO='print -r --'
7310 elif testscip-shell system . . test. "X`printfscip-shell system . . printf. %s $ECHO 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = "X$ECHO"; then
7311 ECHO='printf %s\n'
7312 else
7313 # Use this function as a fallback that always works.
7314 func_fallback_echoscip-shell shell shell-project 0.0.0 func_fallback_echo(). ()
7315 {
7316 eval 'cat <<_LTECHO_EOF
7317 $1
7318 _LTECHO_EOF'
7319 }
7320 ECHO='func_fallback_echo'
7321 fi
7322
7323 # func_echo_all arg...
7324 # Invoke $ECHO with all args, space-separated.
7325 func_echo_allscip-shell shell shell-project 0.0.0 func_echo_all(). ()
7326 {
7327 $ECHO ""
7328 }
7329
7330 case $ECHO in
7331 printf*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7332 printfscip-shell system . . printf. "%s\n" "printf" >&6; } ;;
7333 print*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7334 printfscip-shell system . . printf. "%s\n" "print -r" >&6; } ;;
7335 *) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7336 printfscip-shell system . . printf. "%s\n" "cat" >&6; } ;;
7337 esac
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7353 printfscip-shell system . . printf. %s "checking for a sed that does not truncate output... " >&6; }
7354 if testscip-shell system . . test. ${ac_cv_path_SED+y}
7355 then :
7356 printfscip-shell system . . printf. %s "(cached) " >&6
7357 else $as_nop
7358 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7359 for ac_i in 1 2 3 4 5 6 7; do
7360 ac_script="$ac_script$as_nl$ac_script"
7361 done
7362 echoscip-shell system . . echo. "$ac_script" 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 99q >conftest.sed
7363 { ac_script=; unset ac_script;}
7364 if testscip-shell system . . test. -z "$SED"; then
7365 ac_path_SED_found=false
7366 # Loop through the user's path and test for each of PROGNAME-LIST
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7368 for as_dir in $PATH
7369 do
7370 IFS=$as_save_IFS
7371 case $as_dir in #(((
7372 '') as_dir=./ ;;
7373 */) ;;
7374 *) as_dir=$as_dir/ ;;
7375 esac
7376 for ac_prog in sed gsed
7377 do
7378 for ac_exec_ext in '' $ac_executable_extensions; do
7379 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
7380 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_SED" || continue
7381 # Check for GNU ac_path_SED and select it if it is found.
7382 # Check for GNU $ac_path_SED
7383 case `"$ac_path_SED" --version 2>&1` in
7384 *GNU*)
7385 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7386 *)
7387 ac_count=0
7388 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
7389 while :
7390 do
7391 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
7392 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
7393 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
7394 printfscip-shell system . . printf. "%s\n" '' >> "conftest.nl"
7395 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
7396 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
7397 as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
7398 if testscip-shell system . . test. $ac_count -gt ${ac_path_SED_max-0}; then
7399 # Best one so far, save it but keep looking for a better one
7400 ac_cv_path_SED="$ac_path_SED"
7401 ac_path_SED_max=$ac_count
7402 fi
7403 # 10*(2^10) chars as input seems more than enough
7404 testscip-shell system . . test. $ac_count -gt 10 && break
7405 done
7406 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
7407 esac
7408
7409 $ac_path_SED_found && break 3
7410 done
7411 done
7412 done
7413 IFS=$as_save_IFS
7414 if testscip-shell system . . test. -z "$ac_cv_path_SED"; then
7415 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7416 fi
7417 else
7418 ac_cv_path_SED=$SED
7419 fi
7420
7421 fi
7422 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7423 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_SED" >&6; }
7424 SED="$ac_cv_path_SED"
7425 rmscip-shell system . . rm. -f conftest.sed
7426
7427 testscip-shell system . . test. -z "$SED" && SED=sed
7428 Xsed="$SED -e 1s/^X//"
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7441 printfscip-shell system . . printf. %s "checking for grep that handles long lines and -e... " >&6; }
7442 if testscip-shell system . . test. ${ac_cv_path_GREP+y}
7443 then :
7444 printfscip-shell system . . printf. %s "(cached) " >&6
7445 else $as_nop
7446 if testscip-shell system . . test. -z "$GREP"; then
7447 ac_path_GREP_found=false
7448 # Loop through the user's path and test for each of PROGNAME-LIST
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7451 do
7452 IFS=$as_save_IFS
7453 case $as_dir in #(((
7454 '') as_dir=./ ;;
7455 */) ;;
7456 *) as_dir=$as_dir/ ;;
7457 esac
7458 for ac_prog in grep ggrep
7459 do
7460 for ac_exec_ext in '' $ac_executable_extensions; do
7461 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
7462 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_GREP" || continue
7463 # Check for GNU ac_path_GREP and select it if it is found.
7464 # Check for GNU $ac_path_GREP
7465 case `"$ac_path_GREP" --version 2>&1` in
7466 *GNU*)
7467 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7468 *)
7469 ac_count=0
7470 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
7471 while :
7472 do
7473 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
7474 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
7475 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
7476 printfscip-shell system . . printf. "%s\n" 'GREP' >> "conftest.nl"
7477 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
7478 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
7479 as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
7480 if testscip-shell system . . test. $ac_count -gt ${ac_path_GREP_max-0}; then
7481 # Best one so far, save it but keep looking for a better one
7482 ac_cv_path_GREP="$ac_path_GREP"
7483 ac_path_GREP_max=$ac_count
7484 fi
7485 # 10*(2^10) chars as input seems more than enough
7486 testscip-shell system . . test. $ac_count -gt 10 && break
7487 done
7488 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
7489 esac
7490
7491 $ac_path_GREP_found && break 3
7492 done
7493 done
7494 done
7495 IFS=$as_save_IFS
7496 if testscip-shell system . . test. -z "$ac_cv_path_GREP"; then
7497 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7498 fi
7499 else
7500 ac_cv_path_GREP=$GREP
7501 fi
7502
7503 fi
7504 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7505 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_GREP" >&6; }
7506 GREP="$ac_cv_path_GREP"
7507
7508
7509 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7510 printfscip-shell system . . printf. %s "checking for egrep... " >&6; }
7511 if testscip-shell system . . test. ${ac_cv_path_EGREP+y}
7512 then :
7513 printfscip-shell system . . printf. %s "(cached) " >&6
7514 else $as_nop
7515 if echoscip-shell system . . echo. a | $GREP -E '(a|b)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
7516 then ac_cv_path_EGREP="$GREP -E"
7517 else
7518 if testscip-shell system . . test. -z "$EGREP"; then
7519 ac_path_EGREP_found=false
7520 # Loop through the user's path and test for each of PROGNAME-LIST
7521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7522 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7523 do
7524 IFS=$as_save_IFS
7525 case $as_dir in #(((
7526 '') as_dir=./ ;;
7527 */) ;;
7528 *) as_dir=$as_dir/ ;;
7529 esac
7530 for ac_prog in egrep
7531 do
7532 for ac_exec_ext in '' $ac_executable_extensions; do
7533 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7534 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_EGREP" || continue
7535 # Check for GNU ac_path_EGREP and select it if it is found.
7536 # Check for GNU $ac_path_EGREP
7537 case `"$ac_path_EGREP" --version 2>&1` in
7538 *GNU*)
7539 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7540 *)
7541 ac_count=0
7542 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
7543 while :
7544 do
7545 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
7546 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
7547 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
7548 printfscip-shell system . . printf. "%s\n" 'EGREP' >> "conftest.nl"
7549 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
7550 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
7551 as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
7552 if testscip-shell system . . test. $ac_count -gt ${ac_path_EGREP_max-0}; then
7553 # Best one so far, save it but keep looking for a better one
7554 ac_cv_path_EGREP="$ac_path_EGREP"
7555 ac_path_EGREP_max=$ac_count
7556 fi
7557 # 10*(2^10) chars as input seems more than enough
7558 testscip-shell system . . test. $ac_count -gt 10 && break
7559 done
7560 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
7561 esac
7562
7563 $ac_path_EGREP_found && break 3
7564 done
7565 done
7566 done
7567 IFS=$as_save_IFS
7568 if testscip-shell system . . test. -z "$ac_cv_path_EGREP"; then
7569 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7570 fi
7571 else
7572 ac_cv_path_EGREP=$EGREP
7573 fi
7574
7575 fi
7576 fi
7577 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7578 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_EGREP" >&6; }
7579 EGREP="$ac_cv_path_EGREP"
7580
7581
7582 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7583 printfscip-shell system . . printf. %s "checking for fgrep... " >&6; }
7584 if testscip-shell system . . test. ${ac_cv_path_FGREP+y}
7585 then :
7586 printfscip-shell system . . printf. %s "(cached) " >&6
7587 else $as_nop
7588 if echoscip-shell system . . echo. 'ab*c' | $GREP -F 'ab*c' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
7589 then ac_cv_path_FGREP="$GREP -F"
7590 else
7591 if testscip-shell system . . test. -z "$FGREP"; then
7592 ac_path_FGREP_found=false
7593 # Loop through the user's path and test for each of PROGNAME-LIST
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7596 do
7597 IFS=$as_save_IFS
7598 case $as_dir in #(((
7599 '') as_dir=./ ;;
7600 */) ;;
7601 *) as_dir=$as_dir/ ;;
7602 esac
7603 for ac_prog in fgrep
7604 do
7605 for ac_exec_ext in '' $ac_executable_extensions; do
7606 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
7607 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_FGREP" || continue
7608 # Check for GNU ac_path_FGREP and select it if it is found.
7609 # Check for GNU $ac_path_FGREP
7610 case `"$ac_path_FGREP" --version 2>&1` in
7611 *GNU*)
7612 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7613 *)
7614 ac_count=0
7615 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
7616 while :
7617 do
7618 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
7619 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
7620 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
7621 printfscip-shell system . . printf. "%s\n" 'FGREP' >> "conftest.nl"
7622 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
7623 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
7624 as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
7625 if testscip-shell system . . test. $ac_count -gt ${ac_path_FGREP_max-0}; then
7626 # Best one so far, save it but keep looking for a better one
7627 ac_cv_path_FGREP="$ac_path_FGREP"
7628 ac_path_FGREP_max=$ac_count
7629 fi
7630 # 10*(2^10) chars as input seems more than enough
7631 testscip-shell system . . test. $ac_count -gt 10 && break
7632 done
7633 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
7634 esac
7635
7636 $ac_path_FGREP_found && break 3
7637 done
7638 done
7639 done
7640 IFS=$as_save_IFS
7641 if testscip-shell system . . test. -z "$ac_cv_path_FGREP"; then
7642 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7643 fi
7644 else
7645 ac_cv_path_FGREP=$FGREP
7646 fi
7647
7648 fi
7649 fi
7650 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7651 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_FGREP" >&6; }
7652 FGREP="$ac_cv_path_FGREP"
7653
7654
7655 testscip-shell system . . test. -z "$GREP" && GREP=grep
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675 # Check whether --with-gnu-ld was given.
7676 if testscip-shell system . . test. ${with_gnu_ld+y}
7677 then :
7678 withval=$with_gnu_ld; testscip-shell system . . test. no = "$withval" || with_gnu_ld=yes
7679 else $as_nop
7680 with_gnu_ld=no
7681 fi
7682
7683 ac_prog=ld
7684 if testscip-shell system . . test. yes = "$GCC"; then
7685 # Check if gcc -print-prog-name=ld gives a path.
7686 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7687 printfscip-shell system . . printf. %s "checking for ld used by $CC... " >&6; }
7688 case $host in
7689 *-*-mingw*)
7690 # gcc leaves a trailing carriage return, which upsets mingw
7691 ac_prog=`($CC -print-prog-name=ld) 2>&5 | trscip-shell system . . tr. -d '\015'` ;;
7692 *)
7693 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7694 esac
7695 case $ac_prog in
7696 # Accept absolute paths.
7697 [\\/]* | ?:[\\/]*)
7698 re_direlt='/[^/][^/]*/\.\./scip-shell filesystem . . `/[^/][^/]*/\.\./`.'
7699 # Canonicalize the pathname of ld
7700 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7701 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; do
7702 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7703 done
7704 testscip-shell system . . test. -z "$LD" && LD=$ac_prog
7705 ;;
7706 "")
7707 # If it fails, then pretend we aren't using GCC.
7708 ac_prog=ld
7709 ;;
7710 *)
7711 # If it is relative, then search for the first ld in PATH.
7712 with_gnu_ld=unknown
7713 ;;
7714 esac
7715 elif testscip-shell system . . test. yes = "$with_gnu_ld"; then
7716 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7717 printfscip-shell system . . printf. %s "checking for GNU ld... " >&6; }
7718 else
7719 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7720 printfscip-shell system . . printf. %s "checking for non-GNU ld... " >&6; }
7721 fi
7722 if testscip-shell system . . test. ${lt_cv_path_LD+y}
7723 then :
7724 printfscip-shell system . . printf. %s "(cached) " >&6
7725 else $as_nop
7726 if testscip-shell system . . test. -z "$LD"; then
7727 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7728 for ac_dir in $PATH; do
7729 IFS=$lt_save_ifs
7730 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
7731 if testscip-shell system . . test. -f "$ac_dir/$ac_prog" || testscip-shell system . . test. -f "$ac_dir/$ac_prog$ac_exeext"; then
7732 lt_cv_path_LD=$ac_dir/$ac_prog
7733 # Check to see if the program is GNU ld. I'd rather use --version,
7734 # but apparently some variants of GNU ld only accept -v.
7735 # Break only if it was the GNU/non-GNU ld that we prefer.
7736 case `"$lt_cv_path_LD" -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
7737 *GNU* | *'with BFD'*)
7738 testscip-shell system . . test. no != "$with_gnu_ld" && break
7739 ;;
7740 *)
7741 testscip-shell system . . test. yes != "$with_gnu_ld" && break
7742 ;;
7743 esac
7744 fi
7745 done
7746 IFS=$lt_save_ifs
7747 else
7748 lt_cv_path_LD=$LD # Let the user override the test with a path.
7749 fi
7750 fi
7751
7752 LD=$lt_cv_path_LD
7753 if testscip-shell system . . test. -n "$LD"; then
7754 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7755 printfscip-shell system . . printf. "%s\n" "$LD" >&6; }
7756 else
7757 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7758 printfscip-shell system . . printf. "%s\n" "no" >&6; }
7759 fi
7760 testscip-shell system . . test. -z "$LD" && as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable ld found in \$PATH" "$LINENO" 5
7761 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7762 printfscip-shell system . . printf. %s "checking if the linker ($LD) is GNU ld... " >&6; }
7763 if testscip-shell system . . test. ${lt_cv_prog_gnu_ld+y}
7764 then :
7765 printfscip-shell system . . printf. %s "(cached) " >&6
7766 else $as_nop
7767 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7768 case `$LD -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
7769 *GNU* | *'with BFD'*)
7770 lt_cv_prog_gnu_ld=yes
7771 ;;
7772 *)
7773 lt_cv_prog_gnu_ld=no
7774 ;;
7775 esac
7776 fi
7777 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7778 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
7779 with_gnu_ld=$lt_cv_prog_gnu_ld
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7790 printfscip-shell system . . printf. %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7791 if testscip-shell system . . test. ${lt_cv_path_NM+y}
7792 then :
7793 printfscip-shell system . . printf. %s "(cached) " >&6
7794 else $as_nop
7795 if testscip-shell system . . test. -n "$NM"; then
7796 # Let the user override the test.
7797 lt_cv_path_NM=$NM
7798 else
7799 lt_nm_to_check=${ac_tool_prefix}nm
7800 if testscip-shell system . . test. -n "$ac_tool_prefix" && testscip-shell system . . test. "$build" = "$host"; then
7801 lt_nm_to_check="$lt_nm_to_check nm"
7802 fi
7803 for lt_tmp_nm in $lt_nm_to_check; do
7804 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7805 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
7806 IFS=$lt_save_ifs
7807 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
7808 tmp_nm=$ac_dir/$lt_tmp_nm
7809 if testscip-shell system . . test. -f "$tmp_nm" || testscip-shell system . . test. -f "$tmp_nm$ac_exeext"; then
7810 # Check to see if the nm accepts a BSD-compat flag.
7811 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7812 # nm: unknown option "B" ignored
7813 # Tru64's nm complains that /dev/null is an invalid object file
7814 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7815 case $build_os in
7816 mingw*) lt_bad_file=conftest.nm/nofile ;;
7817 *) lt_bad_file=/dev/nullscip-shell filesystem . . `/dev/null`. ;;
7818 esac
7819 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
7820 *$lt_bad_file* | *'Invalid file or object type'*)
7821 lt_cv_path_NM="$tmp_nm -B"
7822 break 2
7823 ;;
7824 *)
7825 case `"$tmp_nm" -p /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 | $SED '1q'` in
7826 */dev/null*)
7827 lt_cv_path_NM="$tmp_nm -p"
7828 break 2
7829 ;;
7830 *)
7831 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7832 continue # so that we can try to find one that supports BSD flags
7833 ;;
7834 esac
7835 ;;
7836 esac
7837 fi
7838 done
7839 IFS=$lt_save_ifs
7840 done
7841 : ${lt_cv_path_NM=no}
7842 fi
7843 fi
7844 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7845 printfscip-shell system . . printf. "%s\n" "$lt_cv_path_NM" >&6; }
7846 if testscip-shell system . . test. no != "$lt_cv_path_NM"; then
7847 NM=$lt_cv_path_NM
7848 else
7849 # Didn't find any BSD compatible name lister, look for dumpbin.
7850 if testscip-shell system . . test. -n "$DUMPBIN"; then :
7851 # Let the user override the test.
7852 else
7853 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
7854 for ac_prog in dumpbin "link -dump"
7855 do
7856 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7857 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7858 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7859 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
7860 if testscip-shell system . . test. ${ac_cv_prog_DUMPBIN+y}
7861 then :
7862 printfscip-shell system . . printf. %s "(cached) " >&6
7863 else $as_nop
7864 if testscip-shell system . . test. -n "$DUMPBIN"; then
7865 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7866 else
7867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7868 for as_dir in $PATH
7869 do
7870 IFS=$as_save_IFS
7871 case $as_dir in #(((
7872 '') as_dir=./ ;;
7873 */) ;;
7874 *) as_dir=$as_dir/ ;;
7875 esac
7876 for ac_exec_ext in '' $ac_executable_extensions; do
7877 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
7878 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7879 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7880 break 2
7881 fi
7882 done
7883 done
7884 IFS=$as_save_IFS
7885
7886 fi
7887 fi
7888 DUMPBIN=$ac_cv_prog_DUMPBIN
7889 if testscip-shell system . . test. -n "$DUMPBIN"; then
7890 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7891 printfscip-shell system . . printf. "%s\n" "$DUMPBIN" >&6; }
7892 else
7893 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7894 printfscip-shell system . . printf. "%s\n" "no" >&6; }
7895 fi
7896
7897
7898 testscip-shell system . . test. -n "$DUMPBIN" && break
7899 done
7900 fi
7901 if testscip-shell system . . test. -z "$DUMPBIN"; then
7902 ac_ct_DUMPBIN=$DUMPBIN
7903 for ac_prog in dumpbin "link -dump"
7904 do
7905 # Extract the first word of "$ac_prog", so it can be a program name with args.
7906 set dummy $ac_prog; ac_word=$2
7907 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7908 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
7909 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_DUMPBIN+y}
7910 then :
7911 printfscip-shell system . . printf. %s "(cached) " >&6
7912 else $as_nop
7913 if testscip-shell system . . test. -n "$ac_ct_DUMPBIN"; then
7914 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7915 else
7916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7917 for as_dir in $PATH
7918 do
7919 IFS=$as_save_IFS
7920 case $as_dir in #(((
7921 '') as_dir=./ ;;
7922 */) ;;
7923 *) as_dir=$as_dir/ ;;
7924 esac
7925 for ac_exec_ext in '' $ac_executable_extensions; do
7926 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
7927 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7928 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7929 break 2
7930 fi
7931 done
7932 done
7933 IFS=$as_save_IFS
7934
7935 fi
7936 fi
7937 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7938 if testscip-shell system . . test. -n "$ac_ct_DUMPBIN"; then
7939 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7940 printfscip-shell system . . printf. "%s\n" "$ac_ct_DUMPBIN" >&6; }
7941 else
7942 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7943 printfscip-shell system . . printf. "%s\n" "no" >&6; }
7944 fi
7945
7946
7947 testscip-shell system . . test. -n "$ac_ct_DUMPBIN" && break
7948 done
7949
7950 if testscip-shell system . . test. "x$ac_ct_DUMPBIN" = x; then
7951 DUMPBIN=":"
7952 else
7953 case $cross_compiling:$ac_tool_warned in
7954 yes:)
7955 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7956 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7957 ac_tool_warned=yes ;;
7958 esac
7959 DUMPBIN=$ac_ct_DUMPBIN
7960 fi
7961 fi
7962
7963 case `$DUMPBIN -symbols -headers /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 | $SED '1q'` in
7964 *COFF*)
7965 DUMPBIN="$DUMPBIN -symbols -headers"
7966 ;;
7967 *)
7968 DUMPBIN=:
7969 ;;
7970 esac
7971 fi
7972
7973 if testscip-shell system . . test. : != "$DUMPBIN"; then
7974 NM=$DUMPBIN
7975 fi
7976 fi
7977 testscip-shell system . . test. -z "$NM" && NM=nm
7978
7979
7980
7981
7982
7983
7984 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7985 printfscip-shell system . . printf. %s "checking the name lister ($NM) interface... " >&6; }
7986 if testscip-shell system . . test. ${lt_cv_nm_interface+y}
7987 then :
7988 printfscip-shell system . . printf. %s "(cached) " >&6
7989 else $as_nop
7990 lt_cv_nm_interface="BSD nm"
7991 echoscip-shell system . . echo. "int some_variable = 0;" > conftest.$ac_ext
7992 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7993 (eval "$ac_compile" 2>conftest.err)
7994 catscip-shell system . . cat. conftest.err >&5
7995 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7996 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7997 catscip-shell system . . cat. conftest.err >&5
7998 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7999 catscip-shell system . . cat. conftest.out >&5
8000 if $GREP 'External.*some_variable' conftest.out > /dev/nullscip-shell filesystem . . `/dev/null`.; then
8001 lt_cv_nm_interface="MS dumpbin"
8002 fi
8003 rmscip-shell system . . rm. -f conftest*
8004 fi
8005 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8006 printfscip-shell system . . printf. "%s\n" "$lt_cv_nm_interface" >&6; }
8007
8008 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
8009 printfscip-shell system . . printf. %s "checking whether ln -s works... " >&6; }
8010 LN_S=$as_ln_s
8011 if testscip-shell system . . test. "$LN_S" = "ln -s"; then
8012 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8013 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
8014 else
8015 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
8016 printfscip-shell system . . printf. "%s\n" "no, using $LN_S" >&6; }
8017 fi
8018
8019 # find the maximum length of command line arguments
8020 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8021 printfscip-shell system . . printf. %s "checking the maximum length of command line arguments... " >&6; }
8022 if testscip-shell system . . test. ${lt_cv_sys_max_cmd_len+y}
8023 then :
8024 printfscip-shell system . . printf. %s "(cached) " >&6
8025 else $as_nop
8026 i=0
8027 teststring=ABCD
8028
8029 case $build_os in
8030 msdosdjgpp*)
8031 # On DJGPP, this test can blow up pretty badly due to problems in libc
8032 # (any single argument exceeding 2000 bytes causes a buffer overrun
8033 # during glob expansion). Even if it were fixed, the result of this
8034 # check would be larger than it should be.
8035 lt_cv_sys_max_cmd_len=12288; # 12K is about right
8036 ;;
8037
8038 gnu*)
8039 # Under GNU Hurd, this test is not required because there is
8040 # no limit to the length of command line arguments.
8041 # Libtool will interpret -1 as no limit whatsoever
8042 lt_cv_sys_max_cmd_len=-1;
8043 ;;
8044
8045 cygwin* | mingw* | cegcc*)
8046 # On Win9x/ME, this test blows up -- it succeeds, but takes
8047 # about 5 minutes as the teststring grows exponentially.
8048 # Worse, since 9x/ME are not pre-emptively multitasking,
8049 # you end up with a "frozen" computer, even though with patience
8050 # the test eventually succeeds (with a max line length of 256k).
8051 # Instead, let's just punt: use the minimum linelength reported by
8052 # all of the supported platforms: 8192 (on NT/2K/XP).
8053 lt_cv_sys_max_cmd_len=8192;
8054 ;;
8055
8056 mint*)
8057 # On MiNT this can take a long time and run out of memory.
8058 lt_cv_sys_max_cmd_len=8192;
8059 ;;
8060
8061 amigaos*)
8062 # On AmigaOS with pdksh, this test takes hours, literally.
8063 # So we just punt and use a minimum line length of 8192.
8064 lt_cv_sys_max_cmd_len=8192;
8065 ;;
8066
8067 bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
8068 # This has been around since 386BSD, at least. Likely further.
8069 if testscip-shell system . . test. -x /sbin/sysctlscip-shell filesystem . . `/sbin/sysctl`.; then
8070 lt_cv_sys_max_cmd_len=`/sbin/sysctlscip-shell filesystem . . `/sbin/sysctl`. -n kern.argmax`
8071 elif testscip-shell system . . test. -x /usr/sbin/sysctlscip-shell filesystem . . `/usr/sbin/sysctl`.; then
8072 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctlscip-shell filesystem . . `/usr/sbin/sysctl`. -n kern.argmax`
8073 else
8074 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
8075 fi
8076 # And add a safety zone
8077 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \/ 4`
8078 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \* 3`
8079 ;;
8080
8081 interix*)
8082 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8083 lt_cv_sys_max_cmd_len=196608
8084 ;;
8085
8086 os2*)
8087 # The test takes a long time on OS/2.
8088 lt_cv_sys_max_cmd_len=8192
8089 ;;
8090
8091 osf*)
8092 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8093 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8094 # nice to cause kernel panics so lets avoid the loop below.
8095 # First set a reasonable default.
8096 lt_cv_sys_max_cmd_len=16384
8097 #
8098 if testscip-shell system . . test. -x /sbin/sysconfigscip-shell filesystem . . `/sbin/sysconfig`.; then
8099 case `/sbin/sysconfigscip-shell filesystem . . `/sbin/sysconfig`. -q proc exec_disable_arg_limit` in
8100 *1*) lt_cv_sys_max_cmd_len=-1 ;;
8101 esac
8102 fi
8103 ;;
8104 sco3.2v5*)
8105 lt_cv_sys_max_cmd_len=102400
8106 ;;
8107 sysv5* | sco5v6* | sysv4.2uw2*)
8108 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`.`
8109 if testscip-shell system . . test. -n "$kargmax"; then
8110 lt_cv_sys_max_cmd_len=`echoscip-shell system . . echo. $kargmax | $SED 's/.*[ ]//'`
8111 else
8112 lt_cv_sys_max_cmd_len=32768
8113 fi
8114 ;;
8115 *)
8116 lt_cv_sys_max_cmd_len=`(getconfscip-shell system . . getconf. ARG_MAX) 2> /dev/nullscip-shell filesystem . . `/dev/null`.`
8117 if testscip-shell system . . test. -n "$lt_cv_sys_max_cmd_len" && \
8118 test undefined != "$lt_cv_sys_max_cmd_len"; then
8119 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \/ 4`
8120 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \* 3`
8121 else
8122 # Make teststring a little bigger before we do anything with it.
8123 # a 1K string should be a reasonable start.
8124 for i in 1 2 3 4 5 6 7 8; do
8125 teststring=$teststring$teststring
8126 done
8127 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8128 # If test is not a shell built-in, we'll probably end up computing a
8129 # maximum length that is only half of the actual maximum length, but
8130 # we can't tell.
8131 while { testscip-shell system . . test. X`envscip-shell system . . env. echo "$teststring$teststring" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` \
8132 = "X$teststring$teststring"; } >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
8133 testscip-shell system . . test. 17 != "$i" # 1/2 MB should be enough
8134 do
8135 i=`exprscip-shell system . . expr. $i + 1`
8136 teststring=$teststring$teststring
8137 done
8138 # Only check the string length outside the loop.
8139 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. "X$teststring" : ".*" 2>&1`
8140 teststring=
8141 # Add a significant safety factor because C++ compilers can tack on
8142 # massive amounts of additional arguments before passing them to the
8143 # linker. It appears as though 1/2 is a usable value.
8144 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \/ 2`
8145 fi
8146 ;;
8147 esac
8148
8149 fi
8150
8151 if testscip-shell system . . test. -n "$lt_cv_sys_max_cmd_len"; then
8152 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8153 printfscip-shell system . . printf. "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
8154 else
8155 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
8156 printfscip-shell system . . printf. "%s\n" "none" >&6; }
8157 fi
8158 max_cmd_len=$lt_cv_sys_max_cmd_len
8159
8160
8161
8162
8163
8164
8165 : ${CP="cp -f"}
8166 : ${MV="mv -f"}
8167 : ${RM="rm -f"}
8168
8169 if ( (MAIL=60; unset MAIL) || exit) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
8170 lt_unset=unset
8171 else
8172 lt_unset=false
8173 fi
8174
8175
8176
8177
8178
8179 # test EBCDIC or ASCII
8180 case `echoscip-shell system . . echo. X|trscip-shell system . . tr. X '\101'` in
8181 A) # ASCII based system
8182 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8183 lt_SP2NL='tr \040 \012'
8184 lt_NL2SP='tr \015\012 \040\040'
8185 ;;
8186 *) # EBCDIC based system
8187 lt_SP2NL='tr \100 \n'
8188 lt_NL2SP='tr \r\n \100\100'
8189 ;;
8190 esac
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8201 printfscip-shell system . . printf. %s "checking how to convert $build file names to $host format... " >&6; }
8202 if testscip-shell system . . test. ${lt_cv_to_host_file_cmd+y}
8203 then :
8204 printfscip-shell system . . printf. %s "(cached) " >&6
8205 else $as_nop
8206 case $host in
8207 *-*-mingw* )
8208 case $build in
8209 *-*-mingw* ) # actually msys
8210 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8211 ;;
8212 *-*-cygwin* )
8213 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8214 ;;
8215 * ) # otherwise, assume *nix
8216 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8217 ;;
8218 esac
8219 ;;
8220 *-*-cygwin* )
8221 case $build in
8222 *-*-mingw* ) # actually msys
8223 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8224 ;;
8225 *-*-cygwin* )
8226 lt_cv_to_host_file_cmd=func_convert_file_noop
8227 ;;
8228 * ) # otherwise, assume *nix
8229 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8230 ;;
8231 esac
8232 ;;
8233 * ) # unhandled hosts (and "normal" native builds)
8234 lt_cv_to_host_file_cmd=func_convert_file_noop
8235 ;;
8236 esac
8237
8238 fi
8239
8240 to_host_file_cmd=$lt_cv_to_host_file_cmd
8241 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8242 printfscip-shell system . . printf. "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
8243
8244
8245
8246
8247
8248 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8249 printfscip-shell system . . printf. %s "checking how to convert $build file names to toolchain format... " >&6; }
8250 if testscip-shell system . . test. ${lt_cv_to_tool_file_cmd+y}
8251 then :
8252 printfscip-shell system . . printf. %s "(cached) " >&6
8253 else $as_nop
8254 #assume ordinary cross tools, or native build.
8255 lt_cv_to_tool_file_cmd=func_convert_file_noop
8256 case $host in
8257 *-*-mingw* )
8258 case $build in
8259 *-*-mingw* ) # actually msys
8260 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8261 ;;
8262 esac
8263 ;;
8264 esac
8265
8266 fi
8267
8268 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8269 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8270 printfscip-shell system . . printf. "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
8271
8272
8273
8274
8275
8276 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8277 printfscip-shell system . . printf. %s "checking for $LD option to reload object files... " >&6; }
8278 if testscip-shell system . . test. ${lt_cv_ld_reload_flag+y}
8279 then :
8280 printfscip-shell system . . printf. %s "(cached) " >&6
8281 else $as_nop
8282 lt_cv_ld_reload_flag='-r'
8283 fi
8284 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8285 printfscip-shell system . . printf. "%s\n" "$lt_cv_ld_reload_flag" >&6; }
8286 reload_flag=$lt_cv_ld_reload_flag
8287 case $reload_flag in
8288 "" | " "*) ;;
8289 *) reload_flag=" $reload_flag" ;;
8290 esac
8291 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8292 case $host_os in
8293 cygwin* | mingw* | pw32* | cegcc*)
8294 if testscip-shell system . . test. yes != "$GCC"; then
8295 reload_cmds=false
8296 fi
8297 ;;
8298 darwin*)
8299 if testscip-shell system . . test. yes = "$GCC"; then
8300 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8301 else
8302 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8303 fi
8304 ;;
8305 esac
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
8316 # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
8317 set dummy ${ac_tool_prefix}file; ac_word=$2
8318 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8319 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8320 if testscip-shell system . . test. ${ac_cv_prog_FILECMD+y}
8321 then :
8322 printfscip-shell system . . printf. %s "(cached) " >&6
8323 else $as_nop
8324 if testscip-shell system . . test. -n "$FILECMD"; then
8325 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
8326 else
8327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8328 for as_dir in $PATH
8329 do
8330 IFS=$as_save_IFS
8331 case $as_dir in #(((
8332 '') as_dir=./ ;;
8333 */) ;;
8334 *) as_dir=$as_dir/ ;;
8335 esac
8336 for ac_exec_ext in '' $ac_executable_extensions; do
8337 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8338 ac_cv_prog_FILECMD="${ac_tool_prefix}file"
8339 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8340 break 2
8341 fi
8342 done
8343 done
8344 IFS=$as_save_IFS
8345
8346 fi
8347 fi
8348 FILECMD=$ac_cv_prog_FILECMD
8349 if testscip-shell system . . test. -n "$FILECMD"; then
8350 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
8351 printfscip-shell system . . printf. "%s\n" "$FILECMD" >&6; }
8352 else
8353 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8354 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8355 fi
8356
8357
8358 fi
8359 if testscip-shell system . . test. -z "$ac_cv_prog_FILECMD"; then
8360 ac_ct_FILECMD=$FILECMD
8361 # Extract the first word of "file", so it can be a program name with args.
8362 set dummy file; ac_word=$2
8363 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8364 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8365 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_FILECMD+y}
8366 then :
8367 printfscip-shell system . . printf. %s "(cached) " >&6
8368 else $as_nop
8369 if testscip-shell system . . test. -n "$ac_ct_FILECMD"; then
8370 ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
8371 else
8372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8373 for as_dir in $PATH
8374 do
8375 IFS=$as_save_IFS
8376 case $as_dir in #(((
8377 '') as_dir=./ ;;
8378 */) ;;
8379 *) as_dir=$as_dir/ ;;
8380 esac
8381 for ac_exec_ext in '' $ac_executable_extensions; do
8382 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8383 ac_cv_prog_ac_ct_FILECMD="file"
8384 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8385 break 2
8386 fi
8387 done
8388 done
8389 IFS=$as_save_IFS
8390
8391 fi
8392 fi
8393 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
8394 if testscip-shell system . . test. -n "$ac_ct_FILECMD"; then
8395 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
8396 printfscip-shell system . . printf. "%s\n" "$ac_ct_FILECMD" >&6; }
8397 else
8398 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8399 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8400 fi
8401
8402 if testscip-shell system . . test. "x$ac_ct_FILECMD" = x; then
8403 FILECMD=":"
8404 else
8405 case $cross_compiling:$ac_tool_warned in
8406 yes:)
8407 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8408 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8409 ac_tool_warned=yes ;;
8410 esac
8411 FILECMD=$ac_ct_FILECMD
8412 fi
8413 else
8414 FILECMD="$ac_cv_prog_FILECMD"
8415 fi
8416
8417
8418
8419
8420
8421
8422
8423 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
8424 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8425 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8426 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8427 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8428 if testscip-shell system . . test. ${ac_cv_prog_OBJDUMP+y}
8429 then :
8430 printfscip-shell system . . printf. %s "(cached) " >&6
8431 else $as_nop
8432 if testscip-shell system . . test. -n "$OBJDUMP"; then
8433 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8434 else
8435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8436 for as_dir in $PATH
8437 do
8438 IFS=$as_save_IFS
8439 case $as_dir in #(((
8440 '') as_dir=./ ;;
8441 */) ;;
8442 *) as_dir=$as_dir/ ;;
8443 esac
8444 for ac_exec_ext in '' $ac_executable_extensions; do
8445 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8446 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8447 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8448 break 2
8449 fi
8450 done
8451 done
8452 IFS=$as_save_IFS
8453
8454 fi
8455 fi
8456 OBJDUMP=$ac_cv_prog_OBJDUMP
8457 if testscip-shell system . . test. -n "$OBJDUMP"; then
8458 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8459 printfscip-shell system . . printf. "%s\n" "$OBJDUMP" >&6; }
8460 else
8461 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8462 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8463 fi
8464
8465
8466 fi
8467 if testscip-shell system . . test. -z "$ac_cv_prog_OBJDUMP"; then
8468 ac_ct_OBJDUMP=$OBJDUMP
8469 # Extract the first word of "objdump", so it can be a program name with args.
8470 set dummy objdump; ac_word=$2
8471 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8472 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8473 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_OBJDUMP+y}
8474 then :
8475 printfscip-shell system . . printf. %s "(cached) " >&6
8476 else $as_nop
8477 if testscip-shell system . . test. -n "$ac_ct_OBJDUMP"; then
8478 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8479 else
8480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8481 for as_dir in $PATH
8482 do
8483 IFS=$as_save_IFS
8484 case $as_dir in #(((
8485 '') as_dir=./ ;;
8486 */) ;;
8487 *) as_dir=$as_dir/ ;;
8488 esac
8489 for ac_exec_ext in '' $ac_executable_extensions; do
8490 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8491 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8492 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8493 break 2
8494 fi
8495 done
8496 done
8497 IFS=$as_save_IFS
8498
8499 fi
8500 fi
8501 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8502 if testscip-shell system . . test. -n "$ac_ct_OBJDUMP"; then
8503 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8504 printfscip-shell system . . printf. "%s\n" "$ac_ct_OBJDUMP" >&6; }
8505 else
8506 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8507 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8508 fi
8509
8510 if testscip-shell system . . test. "x$ac_ct_OBJDUMP" = x; then
8511 OBJDUMP="false"
8512 else
8513 case $cross_compiling:$ac_tool_warned in
8514 yes:)
8515 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8516 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8517 ac_tool_warned=yes ;;
8518 esac
8519 OBJDUMP=$ac_ct_OBJDUMP
8520 fi
8521 else
8522 OBJDUMP="$ac_cv_prog_OBJDUMP"
8523 fi
8524
8525 testscip-shell system . . test. -z "$OBJDUMP" && OBJDUMP=objdump
8526
8527
8528
8529
8530
8531
8532 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8533 printfscip-shell system . . printf. %s "checking how to recognize dependent libraries... " >&6; }
8534 if testscip-shell system . . test. ${lt_cv_deplibs_check_method+y}
8535 then :
8536 printfscip-shell system . . printf. %s "(cached) " >&6
8537 else $as_nop
8538 lt_cv_file_magic_cmd='$MAGIC_CMD'
8539 lt_cv_file_magic_test_file=
8540 lt_cv_deplibs_check_method='unknown'
8541 # Need to set the preceding variable on all platforms that support
8542 # interlibrary dependencies.
8543 # 'none' -- dependencies not supported.
8544 # 'unknown' -- same as none, but documents that we really don't know.
8545 # 'pass_all' -- all dependencies passed with no checks.
8546 # 'test_compile' -- check by making test program.
8547 # 'file_magic [[regex]]' -- check by looking for files in library path
8548 # that responds to the $file_magic_cmd with a given extended regex.
8549 # If you have 'file' or equivalent on your system and you're not sure
8550 # whether 'pass_all' will *always* work, you probably want this one.
8551
8552 case $host_os in
8553 aix[4-9]*)
8554 lt_cv_deplibs_check_method=pass_all
8555 ;;
8556
8557 beos*)
8558 lt_cv_deplibs_check_method=pass_all
8559 ;;
8560
8561 bsdi[45]*)
8562 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8563 lt_cv_file_magic_cmd='$FILECMD -L'
8564 lt_cv_file_magic_test_file=/shlib/libc.soscip-shell filesystem . . `/shlib/libc.so`.
8565 ;;
8566
8567 cygwin*)
8568 # func_win32_libid is a shell function defined in ltmain.sh
8569 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8570 lt_cv_file_magic_cmd='func_win32_libid'
8571 ;;
8572
8573 mingw* | pw32*)
8574 # Base MSYS/MinGW do not provide the 'file' command needed by
8575 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8576 # unless we find 'file', for example because we are cross-compiling.
8577 if ( filescip-shell system . . file. /scip-shell filesystem . . `/`. ) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
8578 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8579 lt_cv_file_magic_cmd='func_win32_libid'
8580 else
8581 # Keep this pattern in sync with the one in func_win32_libid.
8582 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8583 lt_cv_file_magic_cmd='$OBJDUMP -f'
8584 fi
8585 ;;
8586
8587 cegcc*)
8588 # use the weaker test based on 'objdump'. See mingw*.
8589 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8590 lt_cv_file_magic_cmd='$OBJDUMP -f'
8591 ;;
8592
8593 darwin* | rhapsody*)
8594 lt_cv_deplibs_check_method=pass_all
8595 ;;
8596
8597 freebsd* | dragonfly* | midnightbsd*)
8598 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ > /dev/nullscip-shell filesystem . . `/dev/null`.; then
8599 case $host_cpu in
8600 i*86 )
8601 # Not sure whether the presence of OpenBSD here was a mistake.
8602 # Let's accept both of them until this is cleared up.
8603 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8604 lt_cv_file_magic_cmd=$FILECMD
8605 lt_cv_file_magic_test_file=`echoscip-shell system . . echo. /usr/lib/libc.so.*`
8606 ;;
8607 esac
8608 else
8609 lt_cv_deplibs_check_method=pass_all
8610 fi
8611 ;;
8612
8613 haiku*)
8614 lt_cv_deplibs_check_method=pass_all
8615 ;;
8616
8617 hpux10.20* | hpux11*)
8618 lt_cv_file_magic_cmd=$FILECMD
8619 case $host_cpu in
8620 ia64*)
8621 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8622 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.soscip-shell filesystem . . `/usr/lib/hpux32/libc.so`.
8623 ;;
8624 hppa*64*)
8625 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]'
8626 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.slscip-shell filesystem . . `/usr/lib/pa20_64/libc.sl`.
8627 ;;
8628 *)
8629 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8630 lt_cv_file_magic_test_file=/usr/lib/libc.slscip-shell filesystem . . `/usr/lib/libc.sl`.
8631 ;;
8632 esac
8633 ;;
8634
8635 interix[3-9]*)
8636 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8637 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8638 ;;
8639
8640 irix5* | irix6* | nonstopux*)
8641 case $LD in
8642 *-32|*"-32 ") libmagic=32-bit;;
8643 *-n32|*"-n32 ") libmagic=N32;;
8644 *-64|*"-64 ") libmagic=64-bit;;
8645 *) libmagic=never-match;;
8646 esac
8647 lt_cv_deplibs_check_method=pass_all
8648 ;;
8649
8650 # This must be glibc/ELF.
8651 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8652 lt_cv_deplibs_check_method=pass_all
8653 ;;
8654
8655 netbsd* | netbsdelf*-gnu)
8656 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ > /dev/nullscip-shell filesystem . . `/dev/null`.; then
8657 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8658 else
8659 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8660 fi
8661 ;;
8662
8663 newos6*)
8664 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8665 lt_cv_file_magic_cmd=$FILECMD
8666 lt_cv_file_magic_test_file=/usr/lib/libnls.soscip-shell filesystem . . `/usr/lib/libnls.so`.
8667 ;;
8668
8669 *nto* | *qnx*)
8670 lt_cv_deplibs_check_method=pass_all
8671 ;;
8672
8673 openbsd* | bitrig*)
8674 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then
8675 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8676 else
8677 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8678 fi
8679 ;;
8680
8681 osf3* | osf4* | osf5*)
8682 lt_cv_deplibs_check_method=pass_all
8683 ;;
8684
8685 rdos*)
8686 lt_cv_deplibs_check_method=pass_all
8687 ;;
8688
8689 solaris*)
8690 lt_cv_deplibs_check_method=pass_all
8691 ;;
8692
8693 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8694 lt_cv_deplibs_check_method=pass_all
8695 ;;
8696
8697 sysv4 | sysv4.3*)
8698 case $host_vendor in
8699 motorola)
8700 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]'
8701 lt_cv_file_magic_test_file=`echoscip-shell system . . echo. /usr/lib/libc.so*`
8702 ;;
8703 ncr)
8704 lt_cv_deplibs_check_method=pass_all
8705 ;;
8706 sequent)
8707 lt_cv_file_magic_cmd='/bin/filescip-shell filesystem . . `/bin/file`.'
8708 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8709 ;;
8710 sni)
8711 lt_cv_file_magic_cmd='/bin/filescip-shell filesystem . . `/bin/file`.'
8712 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8713 lt_cv_file_magic_test_file=/lib/libc.soscip-shell filesystem . . `/lib/libc.so`.
8714 ;;
8715 siemens)
8716 lt_cv_deplibs_check_method=pass_all
8717 ;;
8718 pc)
8719 lt_cv_deplibs_check_method=pass_all
8720 ;;
8721 esac
8722 ;;
8723
8724 tpf*)
8725 lt_cv_deplibs_check_method=pass_all
8726 ;;
8727 os2*)
8728 lt_cv_deplibs_check_method=pass_all
8729 ;;
8730 esac
8731
8732 fi
8733 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8734 printfscip-shell system . . printf. "%s\n" "$lt_cv_deplibs_check_method" >&6; }
8735
8736 file_magic_glob=
8737 want_nocaseglob=no
8738 if testscip-shell system . . test. "$build" = "$host"; then
8739 case $host_os in
8740 mingw* | pw32*)
8741 if ( shopt | grepscip-shell system . . grep. nocaseglob ) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
8742 want_nocaseglob=yes
8743 else
8744 file_magic_glob=`echoscip-shell system . . echo. aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8745 fi
8746 ;;
8747 esac
8748 fi
8749
8750 file_magic_cmd=$lt_cv_file_magic_cmd
8751 deplibs_check_method=$lt_cv_deplibs_check_method
8752 testscip-shell system . . test. -z "$deplibs_check_method" && deplibs_check_method=unknown
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
8776 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8777 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8778 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8779 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8780 if testscip-shell system . . test. ${ac_cv_prog_DLLTOOL+y}
8781 then :
8782 printfscip-shell system . . printf. %s "(cached) " >&6
8783 else $as_nop
8784 if testscip-shell system . . test. -n "$DLLTOOL"; then
8785 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8786 else
8787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8788 for as_dir in $PATH
8789 do
8790 IFS=$as_save_IFS
8791 case $as_dir in #(((
8792 '') as_dir=./ ;;
8793 */) ;;
8794 *) as_dir=$as_dir/ ;;
8795 esac
8796 for ac_exec_ext in '' $ac_executable_extensions; do
8797 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8798 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8799 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8800 break 2
8801 fi
8802 done
8803 done
8804 IFS=$as_save_IFS
8805
8806 fi
8807 fi
8808 DLLTOOL=$ac_cv_prog_DLLTOOL
8809 if testscip-shell system . . test. -n "$DLLTOOL"; then
8810 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8811 printfscip-shell system . . printf. "%s\n" "$DLLTOOL" >&6; }
8812 else
8813 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8814 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8815 fi
8816
8817
8818 fi
8819 if testscip-shell system . . test. -z "$ac_cv_prog_DLLTOOL"; then
8820 ac_ct_DLLTOOL=$DLLTOOL
8821 # Extract the first word of "dlltool", so it can be a program name with args.
8822 set dummy dlltool; ac_word=$2
8823 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8824 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8825 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_DLLTOOL+y}
8826 then :
8827 printfscip-shell system . . printf. %s "(cached) " >&6
8828 else $as_nop
8829 if testscip-shell system . . test. -n "$ac_ct_DLLTOOL"; then
8830 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8831 else
8832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8833 for as_dir in $PATH
8834 do
8835 IFS=$as_save_IFS
8836 case $as_dir in #(((
8837 '') as_dir=./ ;;
8838 */) ;;
8839 *) as_dir=$as_dir/ ;;
8840 esac
8841 for ac_exec_ext in '' $ac_executable_extensions; do
8842 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8843 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8844 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8845 break 2
8846 fi
8847 done
8848 done
8849 IFS=$as_save_IFS
8850
8851 fi
8852 fi
8853 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8854 if testscip-shell system . . test. -n "$ac_ct_DLLTOOL"; then
8855 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8856 printfscip-shell system . . printf. "%s\n" "$ac_ct_DLLTOOL" >&6; }
8857 else
8858 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8859 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8860 fi
8861
8862 if testscip-shell system . . test. "x$ac_ct_DLLTOOL" = x; then
8863 DLLTOOL="false"
8864 else
8865 case $cross_compiling:$ac_tool_warned in
8866 yes:)
8867 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8868 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8869 ac_tool_warned=yes ;;
8870 esac
8871 DLLTOOL=$ac_ct_DLLTOOL
8872 fi
8873 else
8874 DLLTOOL="$ac_cv_prog_DLLTOOL"
8875 fi
8876
8877 testscip-shell system . . test. -z "$DLLTOOL" && DLLTOOL=dlltool
8878
8879
8880
8881
8882
8883
8884
8885 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8886 printfscip-shell system . . printf. %s "checking how to associate runtime and link libraries... " >&6; }
8887 if testscip-shell system . . test. ${lt_cv_sharedlib_from_linklib_cmd+y}
8888 then :
8889 printfscip-shell system . . printf. %s "(cached) " >&6
8890 else $as_nop
8891 lt_cv_sharedlib_from_linklib_cmd='unknown'
8892
8893 case $host_os in
8894 cygwin* | mingw* | pw32* | cegcc*)
8895 # two different shell functions defined in ltmain.sh;
8896 # decide which one to use based on capabilities of $DLLTOOL
8897 case `$DLLTOOL --help 2>&1` in
8898 *--identify-strict*)
8899 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8900 ;;
8901 *)
8902 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8903 ;;
8904 esac
8905 ;;
8906 *)
8907 # fallback: assume linklib IS sharedlib
8908 lt_cv_sharedlib_from_linklib_cmd=$ECHO
8909 ;;
8910 esac
8911
8912 fi
8913 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8914 printfscip-shell system . . printf. "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8915 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8916 testscip-shell system . . test. -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8917
8918
8919
8920
8921
8922
8923
8924 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
8925 for ac_prog in ar
8926 do
8927 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8928 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8929 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8930 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8931 if testscip-shell system . . test. ${ac_cv_prog_AR+y}
8932 then :
8933 printfscip-shell system . . printf. %s "(cached) " >&6
8934 else $as_nop
8935 if testscip-shell system . . test. -n "$AR"; then
8936 ac_cv_prog_AR="$AR" # Let the user override the test.
8937 else
8938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8939 for as_dir in $PATH
8940 do
8941 IFS=$as_save_IFS
8942 case $as_dir in #(((
8943 '') as_dir=./ ;;
8944 */) ;;
8945 *) as_dir=$as_dir/ ;;
8946 esac
8947 for ac_exec_ext in '' $ac_executable_extensions; do
8948 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8949 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8950 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8951 break 2
8952 fi
8953 done
8954 done
8955 IFS=$as_save_IFS
8956
8957 fi
8958 fi
8959 AR=$ac_cv_prog_AR
8960 if testscip-shell system . . test. -n "$AR"; then
8961 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8962 printfscip-shell system . . printf. "%s\n" "$AR" >&6; }
8963 else
8964 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8965 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8966 fi
8967
8968
8969 testscip-shell system . . test. -n "$AR" && break
8970 done
8971 fi
8972 if testscip-shell system . . test. -z "$AR"; then
8973 ac_ct_AR=$AR
8974 for ac_prog in ar
8975 do
8976 # Extract the first word of "$ac_prog", so it can be a program name with args.
8977 set dummy $ac_prog; ac_word=$2
8978 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8979 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8980 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_AR+y}
8981 then :
8982 printfscip-shell system . . printf. %s "(cached) " >&6
8983 else $as_nop
8984 if testscip-shell system . . test. -n "$ac_ct_AR"; then
8985 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8986 else
8987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8988 for as_dir in $PATH
8989 do
8990 IFS=$as_save_IFS
8991 case $as_dir in #(((
8992 '') as_dir=./ ;;
8993 */) ;;
8994 *) as_dir=$as_dir/ ;;
8995 esac
8996 for ac_exec_ext in '' $ac_executable_extensions; do
8997 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8998 ac_cv_prog_ac_ct_AR="$ac_prog"
8999 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9000 break 2
9001 fi
9002 done
9003 done
9004 IFS=$as_save_IFS
9005
9006 fi
9007 fi
9008 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9009 if testscip-shell system . . test. -n "$ac_ct_AR"; then
9010 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9011 printfscip-shell system . . printf. "%s\n" "$ac_ct_AR" >&6; }
9012 else
9013 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9014 printfscip-shell system . . printf. "%s\n" "no" >&6; }
9015 fi
9016
9017
9018 testscip-shell system . . test. -n "$ac_ct_AR" && break
9019 done
9020
9021 if testscip-shell system . . test. "x$ac_ct_AR" = x; then
9022 AR="false"
9023 else
9024 case $cross_compiling:$ac_tool_warned in
9025 yes:)
9026 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9027 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9028 ac_tool_warned=yes ;;
9029 esac
9030 AR=$ac_ct_AR
9031 fi
9032 fi
9033
9034 : ${AR=ar}
9035
9036
9037
9038
9039
9040
9041 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
9042 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
9043 # higher priority because thats what people were doing historically (setting
9044 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
9045 # variable obsoleted/removed.
9046
9047 testscip-shell system . . test. ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
9048 lt_ar_flags=$AR_FLAGS
9049
9050
9051
9052
9053
9054
9055 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
9056 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
9057
9058
9059
9060
9061
9062
9063 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
9064 printfscip-shell system . . printf. %s "checking for archiver @FILE support... " >&6; }
9065 if testscip-shell system . . test. ${lt_cv_ar_at_file+y}
9066 then :
9067 printfscip-shell system . . printf. %s "(cached) " >&6
9068 else $as_nop
9069 lt_cv_ar_at_file=no
9070 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072
9073 int
9074 main (void)
9075 {
9076
9077 ;
9078 return 0;
9079 }
9080 _ACEOF
9081 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
9082 then :
9083 echoscip-shell system . . echo. conftest.$ac_objext > conftest.lst
9084 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
9085 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9086 (eval $lt_ar_try) 2>&5
9087 ac_status=$?
9088 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9089 testscip-shell system . . test. $ac_status = 0; }
9090 if testscip-shell system . . test. 0 -eq "$ac_status"; then
9091 # Ensure the archiver fails upon bogus file names.
9092 rmscip-shell system . . rm. -f conftest.$ac_objext libconftest.a
9093 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9094 (eval $lt_ar_try) 2>&5
9095 ac_status=$?
9096 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9097 testscip-shell system . . test. $ac_status = 0; }
9098 if testscip-shell system . . test. 0 -ne "$ac_status"; then
9099 lt_cv_ar_at_file=@
9100 fi
9101 fi
9102 rmscip-shell system . . rm. -f conftest.* libconftest.a
9103
9104 fi
9105 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9106
9107 fi
9108 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
9109 printfscip-shell system . . printf. "%s\n" "$lt_cv_ar_at_file" >&6; }
9110
9111 if testscip-shell system . . test. no = "$lt_cv_ar_at_file"; then
9112 archiver_list_spec=
9113 else
9114 archiver_list_spec=$lt_cv_ar_at_file
9115 fi
9116
9117
9118
9119
9120
9121
9122
9123 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
9124 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9125 set dummy ${ac_tool_prefix}strip; ac_word=$2
9126 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9127 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
9128 if testscip-shell system . . test. ${ac_cv_prog_STRIP+y}
9129 then :
9130 printfscip-shell system . . printf. %s "(cached) " >&6
9131 else $as_nop
9132 if testscip-shell system . . test. -n "$STRIP"; then
9133 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9134 else
9135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9136 for as_dir in $PATH
9137 do
9138 IFS=$as_save_IFS
9139 case $as_dir in #(((
9140 '') as_dir=./ ;;
9141 */) ;;
9142 *) as_dir=$as_dir/ ;;
9143 esac
9144 for ac_exec_ext in '' $ac_executable_extensions; do
9145 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
9146 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9147 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9148 break 2
9149 fi
9150 done
9151 done
9152 IFS=$as_save_IFS
9153
9154 fi
9155 fi
9156 STRIP=$ac_cv_prog_STRIP
9157 if testscip-shell system . . test. -n "$STRIP"; then
9158 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9159 printfscip-shell system . . printf. "%s\n" "$STRIP" >&6; }
9160 else
9161 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9162 printfscip-shell system . . printf. "%s\n" "no" >&6; }
9163 fi
9164
9165
9166 fi
9167 if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then
9168 ac_ct_STRIP=$STRIP
9169 # Extract the first word of "strip", so it can be a program name with args.
9170 set dummy strip; ac_word=$2
9171 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9172 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
9173 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_STRIP+y}
9174 then :
9175 printfscip-shell system . . printf. %s "(cached) " >&6
9176 else $as_nop
9177 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
9178 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9179 else
9180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9181 for as_dir in $PATH
9182 do
9183 IFS=$as_save_IFS
9184 case $as_dir in #(((
9185 '') as_dir=./ ;;
9186 */) ;;
9187 *) as_dir=$as_dir/ ;;
9188 esac
9189 for ac_exec_ext in '' $ac_executable_extensions; do
9190 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
9191 ac_cv_prog_ac_ct_STRIP="strip"
9192 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9193 break 2
9194 fi
9195 done
9196 done
9197 IFS=$as_save_IFS
9198
9199 fi
9200 fi
9201 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9202 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
9203 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9204 printfscip-shell system . . printf. "%s\n" "$ac_ct_STRIP" >&6; }
9205 else
9206 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9207 printfscip-shell system . . printf. "%s\n" "no" >&6; }
9208 fi
9209
9210 if testscip-shell system . . test. "x$ac_ct_STRIP" = x; then
9211 STRIP=":"
9212 else
9213 case $cross_compiling:$ac_tool_warned in
9214 yes:)
9215 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9216 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9217 ac_tool_warned=yes ;;
9218 esac
9219 STRIP=$ac_ct_STRIP
9220 fi
9221 else
9222 STRIP="$ac_cv_prog_STRIP"
9223 fi
9224
9225 testscip-shell system . . test. -z "$STRIP" && STRIP=:
9226
9227
9228
9229
9230
9231
9232 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
9233 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9234 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9235 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9236 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
9237 if testscip-shell system . . test. ${ac_cv_prog_RANLIB+y}
9238 then :
9239 printfscip-shell system . . printf. %s "(cached) " >&6
9240 else $as_nop
9241 if testscip-shell system . . test. -n "$RANLIB"; then
9242 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9243 else
9244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9245 for as_dir in $PATH
9246 do
9247 IFS=$as_save_IFS
9248 case $as_dir in #(((
9249 '') as_dir=./ ;;
9250 */) ;;
9251 *) as_dir=$as_dir/ ;;
9252 esac
9253 for ac_exec_ext in '' $ac_executable_extensions; do
9254 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
9255 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9256 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9257 break 2
9258 fi
9259 done
9260 done
9261 IFS=$as_save_IFS
9262
9263 fi
9264 fi
9265 RANLIB=$ac_cv_prog_RANLIB
9266 if testscip-shell system . . test. -n "$RANLIB"; then
9267 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9268 printfscip-shell system . . printf. "%s\n" "$RANLIB" >&6; }
9269 else
9270 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9271 printfscip-shell system . . printf. "%s\n" "no" >&6; }
9272 fi
9273
9274
9275 fi
9276 if testscip-shell system . . test. -z "$ac_cv_prog_RANLIB"; then
9277 ac_ct_RANLIB=$RANLIB
9278 # Extract the first word of "ranlib", so it can be a program name with args.
9279 set dummy ranlib; ac_word=$2
9280 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9281 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
9282 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_RANLIB+y}
9283 then :
9284 printfscip-shell system . . printf. %s "(cached) " >&6
9285 else $as_nop
9286 if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then
9287 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9288 else
9289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9290 for as_dir in $PATH
9291 do
9292 IFS=$as_save_IFS
9293 case $as_dir in #(((
9294 '') as_dir=./ ;;
9295 */) ;;
9296 *) as_dir=$as_dir/ ;;
9297 esac
9298 for ac_exec_ext in '' $ac_executable_extensions; do
9299 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
9300 ac_cv_prog_ac_ct_RANLIB="ranlib"
9301 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9302 break 2
9303 fi
9304 done
9305 done
9306 IFS=$as_save_IFS
9307
9308 fi
9309 fi
9310 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9311 if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then
9312 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9313 printfscip-shell system . . printf. "%s\n" "$ac_ct_RANLIB" >&6; }
9314 else
9315 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9316 printfscip-shell system . . printf. "%s\n" "no" >&6; }
9317 fi
9318
9319 if testscip-shell system . . test. "x$ac_ct_RANLIB" = x; then
9320 RANLIB=":"
9321 else
9322 case $cross_compiling:$ac_tool_warned in
9323 yes:)
9324 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9325 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9326 ac_tool_warned=yes ;;
9327 esac
9328 RANLIB=$ac_ct_RANLIB
9329 fi
9330 else
9331 RANLIB="$ac_cv_prog_RANLIB"
9332 fi
9333
9334 testscip-shell system . . test. -z "$RANLIB" && RANLIB=:
9335
9336
9337
9338
9339
9340
9341 # Determine commands to create old-style static archives.
9342 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9343 old_postinstall_cmds='chmod 644 $oldlib'
9344 old_postuninstall_cmds=
9345
9346 if testscip-shell system . . test. -n "$RANLIB"; then
9347 case $host_os in
9348 bitrig* | openbsd*)
9349 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9350 ;;
9351 *)
9352 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9353 ;;
9354 esac
9355 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9356 fi
9357
9358 case $host_os in
9359 darwin*)
9360 lock_old_archive_extraction=yes ;;
9361 *)
9362 lock_old_archive_extraction=no ;;
9363 esac
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403 # If no C compiler was specified, use CC.
9404 LTCC=${LTCC-"$CC"}
9405
9406 # If no C compiler flags were specified, use CFLAGS.
9407 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9408
9409 # Allow CC to be a program name with arguments.
9410 compiler=$CC
9411
9412
9413 # Check for command to grab the raw symbol name followed by C symbol from nm.
9414 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9415 printfscip-shell system . . printf. %s "checking command to parse $NM output from $compiler object... " >&6; }
9416 if testscip-shell system . . test. ${lt_cv_sys_global_symbol_pipe+y}
9417 then :
9418 printfscip-shell system . . printf. %s "(cached) " >&6
9419 else $as_nop
9420
9421 # These are sane defaults that work on at least a few old systems.
9422 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9423
9424 # Character class describing NM global symbol codes.
9425 symcode='[BCDEGRST]'
9426
9427 # Regexp to match symbols that can be accessed directly from C.
9428 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9429
9430 # Define system-specific variables.
9431 case $host_os in
9432 aix*)
9433 symcode='[BCDT]'
9434 ;;
9435 cygwin* | mingw* | pw32* | cegcc*)
9436 symcode='[ABCDGISTW]'
9437 ;;
9438 hpux*)
9439 if testscip-shell system . . test. ia64 = "$host_cpu"; then
9440 symcode='[ABCDEGRST]'
9441 fi
9442 ;;
9443 irix* | nonstopux*)
9444 symcode='[BCDEGRST]'
9445 ;;
9446 osf*)
9447 symcode='[BCDEGQRST]'
9448 ;;
9449 solaris*)
9450 symcode='[BDRT]'
9451 ;;
9452 sco3.2v5*)
9453 symcode='[DT]'
9454 ;;
9455 sysv4.2uw2*)
9456 symcode='[DT]'
9457 ;;
9458 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9459 symcode='[ABDT]'
9460 ;;
9461 sysv4)
9462 symcode='[DFNSTU]'
9463 ;;
9464 esac
9465
9466 # If we're using GNU nm, then use its standard symbol codes.
9467 case `$NM -V 2>&1` in
9468 *GNU* | *'with BFD'*)
9469 symcode='[ABCDGIRSTW]' ;;
9470 esac
9471
9472 if testscip-shell system . . test. "$lt_cv_nm_interface" = "MS dumpbin"; then
9473 # Gets list of data symbols to import.
9474 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
9475 # Adjust the below global symbol transforms to fixup imported variables.
9476 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9477 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
9478 lt_c_name_lib_hook="\
9479 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
9480 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9481 else
9482 # Disable hooks by default.
9483 lt_cv_sys_global_symbol_to_import=
9484 lt_cdecl_hook=
9485 lt_c_name_hook=
9486 lt_c_name_lib_hook=
9487 fi
9488
9489 # Transform an extracted symbol line into a proper C declaration.
9490 # Some systems (esp. on ia64) link data and code symbols differently,
9491 # so use this general approach.
9492 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
9493 $lt_cdecl_hook\
9494 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9495 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9496
9497 # Transform an extracted symbol line into symbol name and symbol address
9498 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
9499 $lt_c_name_hook\
9500 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9501 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9502
9503 # Transform an extracted symbol line into symbol name with lib prefix and
9504 # symbol address.
9505 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
9506 $lt_c_name_lib_hook\
9507 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9508 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9509 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9510
9511 # Handle CRLF in mingw tool chain
9512 opt_cr=
9513 case $build_os in
9514 mingw*)
9515 opt_cr=`$ECHO 'x\{0,1\}' | trscip-shell system . . tr. x '\015'` # option cr in regexp
9516 ;;
9517 esac
9518
9519 # Try without a prefix underscore, then with it.
9520 for ac_symprfx in "" "_"; do
9521
9522 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9523 symxfrm="\\1 $ac_symprfx\\2 \\2"
9524
9525 # Write the raw and C identifiers.
9526 if testscip-shell system . . test. "$lt_cv_nm_interface" = "MS dumpbin"; then
9527 # Fake it for dumpbin and say T for any non-static function,
9528 # D for any global variable and I for any imported variable.
9529 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
9530 # which start with @ or ?.
9531 lt_cv_sys_global_symbol_pipe="$AWK '"\
9532 " {last_section=section; section=\$ 3};"\
9533 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9534 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9535 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
9536 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
9537 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
9538 " \$ 0!~/External *\|/{next};"\
9539 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9540 " {if(hide[section]) next};"\
9541 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
9542 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
9543 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
9544 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
9545 " ' prfx=^$ac_symprfx"
9546 else
9547 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9548 fi
9549 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
9550
9551 # Check to see that the pipe works correctly.
9552 pipe_works=no
9553
9554 rmscip-shell system . . rm. -f conftest*
9555 catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF
9556 #ifdef __cplusplus
9557 extern "C" {
9558 #endif
9559 char nm_test_var;
9560 void nm_test_func(void);
9561 void nm_test_func(void){}
9562 #ifdef __cplusplus
9563 }
9564 #endif
9565 int main(){nm_test_var='a';nm_test_func();return(0);}
9566 _LT_EOF
9567
9568 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9569 (eval $ac_compile) 2>&5
9570 ac_status=$?
9571 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9572 testscip-shell system . . test. $ac_status = 0; }; then
9573 # Now try to grab the symbols.
9574 nlist=conftest.nm
9575 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
9576 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && testscip-shell system . . test. -s "$nlist"; then
9577 # Try sorting and uniquifying the output.
9578 if sortscip-shell system . . sort. "$nlist" | uniqscip-shell system . . uniq. > "$nlist"T; then
9579 mvscip-shell system . . mv. -f "$nlist"T "$nlist"
9580 else
9581 rmscip-shell system . . rm. -f "$nlist"T
9582 fi
9583
9584 # Make sure that we snagged all the symbols we need.
9585 if $GREP ' nm_test_var$' "$nlist" >/dev/nullscip-shell filesystem . . `/dev/null`.; then
9586 if $GREP ' nm_test_func$' "$nlist" >/dev/nullscip-shell filesystem . . `/dev/null`.; then
9587 catscip-shell system . . cat. <<_LT_EOF > conftest.$ac_ext
9588 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9589 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
9590 /* DATA imports from DLLs on WIN32 can't be const, because runtime
9591 relocations are performed -- see ld's documentation on pseudo-relocs. */
9592 # define LT_DLSYM_CONST
9593 #elif defined __osf__
9594 /* This system does not cope well with relocations in const data. */
9595 # define LT_DLSYM_CONST
9596 #else
9597 # define LT_DLSYM_CONST const
9598 #endif
9599
9600 #ifdef __cplusplus
9601 extern "C" {
9602 #endif
9603
9604 _LT_EOF
9605 # Now generate the symbol file.
9606 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9607
9608 catscip-shell system . . cat. <<_LT_EOF >> conftest.$ac_ext
9609
9610 /* The mapping between symbol names and symbols. */
9611 LT_DLSYM_CONST struct {
9612 const char *name;
9613 void *address;
9614 }
9615 lt__PROGRAM__LTX_preloaded_symbols[] =
9616 {
9617 { "@PROGRAM@", (void *) 0 },
9618 _LT_EOF
9619 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9620 catscip-shell system . . cat. <<\_LT_EOF >> conftest.$ac_ext
9621 {0, (void *) 0}
9622 };
9623
9624 /* This works around a problem in FreeBSD linker */
9625 #ifdef FREEBSD_WORKAROUND
9626 static const void *lt_preloaded_setup() {
9627 return lt__PROGRAM__LTX_preloaded_symbols;
9628 }
9629 #endif
9630
9631 #ifdef __cplusplus
9632 }
9633 #endif
9634 _LT_EOF
9635 # Now try linking the two files.
9636 mvscip-shell system . . mv. conftest.$ac_objext conftstm.$ac_objext
9637 lt_globsym_save_LIBS=$LIBS
9638 lt_globsym_save_CFLAGS=$CFLAGS
9639 LIBS=conftstm.$ac_objext
9640 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9641 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9642 (eval $ac_link) 2>&5
9643 ac_status=$?
9644 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9645 testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s conftest$ac_exeext; then
9646 pipe_works=yes
9647 fi
9648 LIBS=$lt_globsym_save_LIBS
9649 CFLAGS=$lt_globsym_save_CFLAGS
9650 else
9651 echoscip-shell system . . echo. "cannot find nm_test_func in $nlist" >&5
9652 fi
9653 else
9654 echoscip-shell system . . echo. "cannot find nm_test_var in $nlist" >&5
9655 fi
9656 else
9657 echoscip-shell system . . echo. "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9658 fi
9659 else
9660 echoscip-shell system . . echo. "$progname: failed program was:" >&5
9661 catscip-shell system . . cat. conftest.$ac_ext >&5
9662 fi
9663 rmscip-shell system . . rm. -rf conftest* conftst*
9664
9665 # Do not use the global_symbol_pipe unless it works.
9666 if testscip-shell system . . test. yes = "$pipe_works"; then
9667 break
9668 else
9669 lt_cv_sys_global_symbol_pipe=
9670 fi
9671 done
9672
9673 fi
9674
9675 if testscip-shell system . . test. -z "$lt_cv_sys_global_symbol_pipe"; then
9676 lt_cv_sys_global_symbol_to_cdecl=
9677 fi
9678 if testscip-shell system . . test. -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9679 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9680 printfscip-shell system . . printf. "%s\n" "failed" >&6; }
9681 else
9682 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9683 printfscip-shell system . . printf. "%s\n" "ok" >&6; }
9684 fi
9685
9686 # Response file support.
9687 if testscip-shell system . . test. "$lt_cv_nm_interface" = "MS dumpbin"; then
9688 nm_file_list_spec='@'
9689 elif $NM --help 2>/dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. '[@]FILE' >/dev/nullscip-shell filesystem . . `/dev/null`.; then
9690 nm_file_list_spec='@'
9691 fi
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9730 printfscip-shell system . . printf. %s "checking for sysroot... " >&6; }
9731
9732 # Check whether --with-sysroot was given.
9733 if testscip-shell system . . test. ${with_sysroot+y}
9734 then :
9735 withval=$with_sysroot;
9736 else $as_nop
9737 with_sysroot=no
9738 fi
9739
9740
9741 lt_sysroot=
9742 case $with_sysroot in #(
9743 yes)
9744 if testscip-shell system . . test. yes = "$GCC"; then
9745 lt_sysroot=`$CC --print-sysroot 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
9746 fi
9747 ;; #(
9748 /*)
9749 lt_sysroot=`echoscip-shell system . . echo. "$with_sysroot" | $SED -e "$sed_quote_subst"`
9750 ;; #(
9751 no|'')
9752 ;; #(
9753 *)
9754 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9755 printfscip-shell system . . printf. "%s\n" "$with_sysroot" >&6; }
9756 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "The sysroot must be an absolute path." "$LINENO" 5
9757 ;;
9758 esac
9759
9760 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9761 printfscip-shell system . . printf. "%s\n" "${lt_sysroot:-no}" >&6; }
9762
9763
9764
9765
9766
9767 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9768 printfscip-shell system . . printf. %s "checking for a working dd... " >&6; }
9769 if testscip-shell system . . test. ${ac_cv_path_lt_DD+y}
9770 then :
9771 printfscip-shell system . . printf. %s "(cached) " >&6
9772 else $as_nop
9773 printfscip-shell system . . printf. 0123456789abcdef0123456789abcdef >conftest.i
9774 catscip-shell system . . cat. conftest.i conftest.i >conftest2.i
9775 : ${lt_DD:=$DD}
9776 if testscip-shell system . . test. -z "$lt_DD"; then
9777 ac_path_lt_DD_found=false
9778 # Loop through the user's path and test for each of PROGNAME-LIST
9779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9780 for as_dir in $PATH
9781 do
9782 IFS=$as_save_IFS
9783 case $as_dir in #(((
9784 '') as_dir=./ ;;
9785 */) ;;
9786 *) as_dir=$as_dir/ ;;
9787 esac
9788 for ac_prog in dd
9789 do
9790 for ac_exec_ext in '' $ac_executable_extensions; do
9791 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
9792 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_lt_DD" || continue
9793 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
9794 cmpscip-shell system . . cmp. -s conftest.i conftest.out \
9795 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
9796 fi
9797 $ac_path_lt_DD_found && break 3
9798 done
9799 done
9800 done
9801 IFS=$as_save_IFS
9802 if testscip-shell system . . test. -z "$ac_cv_path_lt_DD"; then
9803 :
9804 fi
9805 else
9806 ac_cv_path_lt_DD=$lt_DD
9807 fi
9808
9809 rmscip-shell system . . rm. -f conftest.i conftest2.i conftest.out
9810 fi
9811 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9812 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_lt_DD" >&6; }
9813
9814
9815 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9816 printfscip-shell system . . printf. %s "checking how to truncate binary pipes... " >&6; }
9817 if testscip-shell system . . test. ${lt_cv_truncate_bin+y}
9818 then :
9819 printfscip-shell system . . printf. %s "(cached) " >&6
9820 else $as_nop
9821 printfscip-shell system . . printf. 0123456789abcdef0123456789abcdef >conftest.i
9822 catscip-shell system . . cat. conftest.i conftest.i >conftest2.i
9823 lt_cv_truncate_bin=
9824 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
9825 cmpscip-shell system . . cmp. -s conftest.i conftest.out \
9826 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
9827 fi
9828 rmscip-shell system . . rm. -f conftest.i conftest2.i conftest.out
9829 testscip-shell system . . test. -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
9830 fi
9831 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9832 printfscip-shell system . . printf. "%s\n" "$lt_cv_truncate_bin" >&6; }
9833
9834
9835
9836
9837
9838
9839
9840 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9841 func_cc_basenamescip-shell shell shell-project 0.0.0 func_cc_basename(). ()
9842 {
9843 for cc_temp in $*""; do
9844 case $cc_temp in
9845 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9846 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9847 \-*) ;;
9848 *) break;;
9849 esac
9850 done
9851 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9852 }
9853
9854 # Check whether --enable-libtool-lock was given.
9855 if testscip-shell system . . test. ${enable_libtool_lock+y}
9856 then :
9857 enableval=$enable_libtool_lock;
9858 fi
9859
9860 testscip-shell system . . test. no = "$enable_libtool_lock" || enable_libtool_lock=yes
9861
9862 # Some flags need to be propagated to the compiler or linker for good
9863 # libtool support.
9864 case $host in
9865 ia64-*-hpux*)
9866 # Find out what ABI is being produced by ac_compile, and set mode
9867 # options accordingly.
9868 echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext
9869 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9870 (eval $ac_compile) 2>&5
9871 ac_status=$?
9872 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9873 testscip-shell system . . test. $ac_status = 0; }; then
9874 case `$FILECMD conftest.$ac_objext` in
9875 *ELF-32*)
9876 HPUX_IA64_MODE=32
9877 ;;
9878 *ELF-64*)
9879 HPUX_IA64_MODE=64
9880 ;;
9881 esac
9882 fi
9883 rmscip-shell system . . rm. -rf conftest*
9884 ;;
9885 *-*-irix6*)
9886 # Find out what ABI is being produced by ac_compile, and set linker
9887 # options accordingly.
9888 echoscip-shell system . . echo. '#line '$LINENO' "configure"' > conftest.$ac_ext
9889 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9890 (eval $ac_compile) 2>&5
9891 ac_status=$?
9892 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9893 testscip-shell system . . test. $ac_status = 0; }; then
9894 if testscip-shell system . . test. yes = "$lt_cv_prog_gnu_ld"; then
9895 case `$FILECMD conftest.$ac_objext` in
9896 *32-bit*)
9897 LD="${LD-ld} -melf32bsmip"
9898 ;;
9899 *N32*)
9900 LD="${LD-ld} -melf32bmipn32"
9901 ;;
9902 *64-bit*)
9903 LD="${LD-ld} -melf64bmip"
9904 ;;
9905 esac
9906 else
9907 case `$FILECMD conftest.$ac_objext` in
9908 *32-bit*)
9909 LD="${LD-ld} -32"
9910 ;;
9911 *N32*)
9912 LD="${LD-ld} -n32"
9913 ;;
9914 *64-bit*)
9915 LD="${LD-ld} -64"
9916 ;;
9917 esac
9918 fi
9919 fi
9920 rmscip-shell system . . rm. -rf conftest*
9921 ;;
9922
9923 mips64*-*linux*)
9924 # Find out what ABI is being produced by ac_compile, and set linker
9925 # options accordingly.
9926 echoscip-shell system . . echo. '#line '$LINENO' "configure"' > conftest.$ac_ext
9927 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9928 (eval $ac_compile) 2>&5
9929 ac_status=$?
9930 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9931 testscip-shell system . . test. $ac_status = 0; }; then
9932 emul=elf
9933 case `$FILECMD conftest.$ac_objext` in
9934 *32-bit*)
9935 emul="${emul}32"
9936 ;;
9937 *64-bit*)
9938 emul="${emul}64"
9939 ;;
9940 esac
9941 case `$FILECMD conftest.$ac_objext` in
9942 *MSB*)
9943 emul="${emul}btsmip"
9944 ;;
9945 *LSB*)
9946 emul="${emul}ltsmip"
9947 ;;
9948 esac
9949 case `$FILECMD conftest.$ac_objext` in
9950 *N32*)
9951 emul="${emul}n32"
9952 ;;
9953 esac
9954 LD="${LD-ld} -m $emul"
9955 fi
9956 rmscip-shell system . . rm. -rf conftest*
9957 ;;
9958
9959 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
9960 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9961 # Find out what ABI is being produced by ac_compile, and set linker
9962 # options accordingly. Note that the listed cases only cover the
9963 # situations where additional linker options are needed (such as when
9964 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9965 # vice versa); the common cases where no linker options are needed do
9966 # not appear in the list.
9967 echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext
9968 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9969 (eval $ac_compile) 2>&5
9970 ac_status=$?
9971 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9972 testscip-shell system . . test. $ac_status = 0; }; then
9973 case `$FILECMD conftest.o` in
9974 *32-bit*)
9975 case $host in
9976 x86_64-*kfreebsd*-gnu)
9977 LD="${LD-ld} -m elf_i386_fbsd"
9978 ;;
9979 x86_64-*linux*)
9980 case `$FILECMD conftest.o` in
9981 *x86-64*)
9982 LD="${LD-ld} -m elf32_x86_64"
9983 ;;
9984 *)
9985 LD="${LD-ld} -m elf_i386"
9986 ;;
9987 esac
9988 ;;
9989 powerpc64le-*linux*)
9990 LD="${LD-ld} -m elf32lppclinux"
9991 ;;
9992 powerpc64-*linux*)
9993 LD="${LD-ld} -m elf32ppclinux"
9994 ;;
9995 s390x-*linux*)
9996 LD="${LD-ld} -m elf_s390"
9997 ;;
9998 sparc64-*linux*)
9999 LD="${LD-ld} -m elf32_sparc"
10000 ;;
10001 esac
10002 ;;
10003 *64-bit*)
10004 case $host in
10005 x86_64-*kfreebsd*-gnu)
10006 LD="${LD-ld} -m elf_x86_64_fbsd"
10007 ;;
10008 x86_64-*linux*)
10009 LD="${LD-ld} -m elf_x86_64"
10010 ;;
10011 powerpcle-*linux*)
10012 LD="${LD-ld} -m elf64lppc"
10013 ;;
10014 powerpc-*linux*)
10015 LD="${LD-ld} -m elf64ppc"
10016 ;;
10017 s390*-*linux*|s390*-*tpf*)
10018 LD="${LD-ld} -m elf64_s390"
10019 ;;
10020 sparc*-*linux*)
10021 LD="${LD-ld} -m elf64_sparc"
10022 ;;
10023 esac
10024 ;;
10025 esac
10026 fi
10027 rmscip-shell system . . rm. -rf conftest*
10028 ;;
10029
10030 *-*-sco3.2v5*)
10031 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10032 SAVE_CFLAGS=$CFLAGS
10033 CFLAGS="$CFLAGS -belf"
10034 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
10035 printfscip-shell system . . printf. %s "checking whether the C compiler needs -belf... " >&6; }
10036 if testscip-shell system . . test. ${lt_cv_cc_needs_belf+y}
10037 then :
10038 printfscip-shell system . . printf. %s "(cached) " >&6
10039 else $as_nop
10040 ac_ext=c
10041 ac_cpp='$CPP $CPPFLAGS'
10042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10045
10046 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10047 /* end confdefs.h. */
10048
10049 int
10050 main (void)
10051 {
10052
10053 ;
10054 return 0;
10055 }
10056 _ACEOF
10057 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
10058 then :
10059 lt_cv_cc_needs_belf=yes
10060 else $as_nop
10061 lt_cv_cc_needs_belf=no
10062 fi
10063 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10064 conftest$ac_exeext conftest.$ac_ext
10065 ac_ext=c
10066 ac_cpp='$CPP $CPPFLAGS'
10067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10070
10071 fi
10072 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
10073 printfscip-shell system . . printf. "%s\n" "$lt_cv_cc_needs_belf" >&6; }
10074 if testscip-shell system . . test. yes != "$lt_cv_cc_needs_belf"; then
10075 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10076 CFLAGS=$SAVE_CFLAGS
10077 fi
10078 ;;
10079 *-*solaris*)
10080 # Find out what ABI is being produced by ac_compile, and set linker
10081 # options accordingly.
10082 echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext
10083 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10084 (eval $ac_compile) 2>&5
10085 ac_status=$?
10086 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10087 testscip-shell system . . test. $ac_status = 0; }; then
10088 case `$FILECMD conftest.o` in
10089 *64-bit*)
10090 case $lt_cv_prog_gnu_ld in
10091 yes*)
10092 case $host in
10093 i?86-*-solaris*|x86_64-*-solaris*)
10094 LD="${LD-ld} -m elf_x86_64"
10095 ;;
10096 sparc*-*-solaris*)
10097 LD="${LD-ld} -m elf64_sparc"
10098 ;;
10099 esac
10100 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
10101 if ${LD-ld} -V | grepscip-shell system . . grep. _sol2 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
10102 LD=${LD-ld}_sol2
10103 fi
10104 ;;
10105 *)
10106 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
10107 LD="${LD-ld} -64"
10108 fi
10109 ;;
10110 esac
10111 ;;
10112 esac
10113 fi
10114 rmscip-shell system . . rm. -rf conftest*
10115 ;;
10116 esac
10117
10118 need_locks=$enable_libtool_lock
10119
10120 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
10121 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
10122 set dummy ${ac_tool_prefix}mt; ac_word=$2
10123 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10124 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10125 if testscip-shell system . . test. ${ac_cv_prog_MANIFEST_TOOL+y}
10126 then :
10127 printfscip-shell system . . printf. %s "(cached) " >&6
10128 else $as_nop
10129 if testscip-shell system . . test. -n "$MANIFEST_TOOL"; then
10130 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
10131 else
10132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10133 for as_dir in $PATH
10134 do
10135 IFS=$as_save_IFS
10136 case $as_dir in #(((
10137 '') as_dir=./ ;;
10138 */) ;;
10139 *) as_dir=$as_dir/ ;;
10140 esac
10141 for ac_exec_ext in '' $ac_executable_extensions; do
10142 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10143 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
10144 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10145 break 2
10146 fi
10147 done
10148 done
10149 IFS=$as_save_IFS
10150
10151 fi
10152 fi
10153 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
10154 if testscip-shell system . . test. -n "$MANIFEST_TOOL"; then
10155 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
10156 printfscip-shell system . . printf. "%s\n" "$MANIFEST_TOOL" >&6; }
10157 else
10158 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10159 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10160 fi
10161
10162
10163 fi
10164 if testscip-shell system . . test. -z "$ac_cv_prog_MANIFEST_TOOL"; then
10165 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
10166 # Extract the first word of "mt", so it can be a program name with args.
10167 set dummy mt; ac_word=$2
10168 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10169 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10170 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
10171 then :
10172 printfscip-shell system . . printf. %s "(cached) " >&6
10173 else $as_nop
10174 if testscip-shell system . . test. -n "$ac_ct_MANIFEST_TOOL"; then
10175 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
10176 else
10177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10178 for as_dir in $PATH
10179 do
10180 IFS=$as_save_IFS
10181 case $as_dir in #(((
10182 '') as_dir=./ ;;
10183 */) ;;
10184 *) as_dir=$as_dir/ ;;
10185 esac
10186 for ac_exec_ext in '' $ac_executable_extensions; do
10187 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10188 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
10189 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10190 break 2
10191 fi
10192 done
10193 done
10194 IFS=$as_save_IFS
10195
10196 fi
10197 fi
10198 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
10199 if testscip-shell system . . test. -n "$ac_ct_MANIFEST_TOOL"; then
10200 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10201 printfscip-shell system . . printf. "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
10202 else
10203 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10204 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10205 fi
10206
10207 if testscip-shell system . . test. "x$ac_ct_MANIFEST_TOOL" = x; then
10208 MANIFEST_TOOL=":"
10209 else
10210 case $cross_compiling:$ac_tool_warned in
10211 yes:)
10212 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10213 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10214 ac_tool_warned=yes ;;
10215 esac
10216 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
10217 fi
10218 else
10219 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
10220 fi
10221
10222 testscip-shell system . . test. -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
10223 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10224 printfscip-shell system . . printf. %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
10225 if testscip-shell system . . test. ${lt_cv_path_mainfest_tool+y}
10226 then :
10227 printfscip-shell system . . printf. %s "(cached) " >&6
10228 else $as_nop
10229 lt_cv_path_mainfest_tool=no
10230 echoscip-shell system . . echo. "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10231 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
10232 catscip-shell system . . cat. conftest.err >&5
10233 if $GREP 'Manifest Tool' conftest.out > /dev/nullscip-shell filesystem . . `/dev/null`.; then
10234 lt_cv_path_mainfest_tool=yes
10235 fi
10236 rmscip-shell system . . rm. -f conftest*
10237 fi
10238 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
10239 printfscip-shell system . . printf. "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
10240 if testscip-shell system . . test. yes != "$lt_cv_path_mainfest_tool"; then
10241 MANIFEST_TOOL=:
10242 fi
10243
10244
10245
10246
10247
10248
10249 case $host_os in
10250 rhapsody* | darwin*)
10251 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
10252 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10253 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10254 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10255 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10256 if testscip-shell system . . test. ${ac_cv_prog_DSYMUTIL+y}
10257 then :
10258 printfscip-shell system . . printf. %s "(cached) " >&6
10259 else $as_nop
10260 if testscip-shell system . . test. -n "$DSYMUTIL"; then
10261 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10262 else
10263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10264 for as_dir in $PATH
10265 do
10266 IFS=$as_save_IFS
10267 case $as_dir in #(((
10268 '') as_dir=./ ;;
10269 */) ;;
10270 *) as_dir=$as_dir/ ;;
10271 esac
10272 for ac_exec_ext in '' $ac_executable_extensions; do
10273 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10274 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
10275 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10276 break 2
10277 fi
10278 done
10279 done
10280 IFS=$as_save_IFS
10281
10282 fi
10283 fi
10284 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10285 if testscip-shell system . . test. -n "$DSYMUTIL"; then
10286 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10287 printfscip-shell system . . printf. "%s\n" "$DSYMUTIL" >&6; }
10288 else
10289 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10290 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10291 fi
10292
10293
10294 fi
10295 if testscip-shell system . . test. -z "$ac_cv_prog_DSYMUTIL"; then
10296 ac_ct_DSYMUTIL=$DSYMUTIL
10297 # Extract the first word of "dsymutil", so it can be a program name with args.
10298 set dummy dsymutil; ac_word=$2
10299 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10300 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10301 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_DSYMUTIL+y}
10302 then :
10303 printfscip-shell system . . printf. %s "(cached) " >&6
10304 else $as_nop
10305 if testscip-shell system . . test. -n "$ac_ct_DSYMUTIL"; then
10306 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10307 else
10308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10309 for as_dir in $PATH
10310 do
10311 IFS=$as_save_IFS
10312 case $as_dir in #(((
10313 '') as_dir=./ ;;
10314 */) ;;
10315 *) as_dir=$as_dir/ ;;
10316 esac
10317 for ac_exec_ext in '' $ac_executable_extensions; do
10318 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10319 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10320 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10321 break 2
10322 fi
10323 done
10324 done
10325 IFS=$as_save_IFS
10326
10327 fi
10328 fi
10329 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10330 if testscip-shell system . . test. -n "$ac_ct_DSYMUTIL"; then
10331 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10332 printfscip-shell system . . printf. "%s\n" "$ac_ct_DSYMUTIL" >&6; }
10333 else
10334 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10335 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10336 fi
10337
10338 if testscip-shell system . . test. "x$ac_ct_DSYMUTIL" = x; then
10339 DSYMUTIL=":"
10340 else
10341 case $cross_compiling:$ac_tool_warned in
10342 yes:)
10343 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10344 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10345 ac_tool_warned=yes ;;
10346 esac
10347 DSYMUTIL=$ac_ct_DSYMUTIL
10348 fi
10349 else
10350 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10351 fi
10352
10353 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
10354 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10355 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10356 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10357 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10358 if testscip-shell system . . test. ${ac_cv_prog_NMEDIT+y}
10359 then :
10360 printfscip-shell system . . printf. %s "(cached) " >&6
10361 else $as_nop
10362 if testscip-shell system . . test. -n "$NMEDIT"; then
10363 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10364 else
10365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10366 for as_dir in $PATH
10367 do
10368 IFS=$as_save_IFS
10369 case $as_dir in #(((
10370 '') as_dir=./ ;;
10371 */) ;;
10372 *) as_dir=$as_dir/ ;;
10373 esac
10374 for ac_exec_ext in '' $ac_executable_extensions; do
10375 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10376 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10377 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10378 break 2
10379 fi
10380 done
10381 done
10382 IFS=$as_save_IFS
10383
10384 fi
10385 fi
10386 NMEDIT=$ac_cv_prog_NMEDIT
10387 if testscip-shell system . . test. -n "$NMEDIT"; then
10388 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10389 printfscip-shell system . . printf. "%s\n" "$NMEDIT" >&6; }
10390 else
10391 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10392 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10393 fi
10394
10395
10396 fi
10397 if testscip-shell system . . test. -z "$ac_cv_prog_NMEDIT"; then
10398 ac_ct_NMEDIT=$NMEDIT
10399 # Extract the first word of "nmedit", so it can be a program name with args.
10400 set dummy nmedit; ac_word=$2
10401 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10402 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10403 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_NMEDIT+y}
10404 then :
10405 printfscip-shell system . . printf. %s "(cached) " >&6
10406 else $as_nop
10407 if testscip-shell system . . test. -n "$ac_ct_NMEDIT"; then
10408 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10409 else
10410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10411 for as_dir in $PATH
10412 do
10413 IFS=$as_save_IFS
10414 case $as_dir in #(((
10415 '') as_dir=./ ;;
10416 */) ;;
10417 *) as_dir=$as_dir/ ;;
10418 esac
10419 for ac_exec_ext in '' $ac_executable_extensions; do
10420 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10421 ac_cv_prog_ac_ct_NMEDIT="nmedit"
10422 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10423 break 2
10424 fi
10425 done
10426 done
10427 IFS=$as_save_IFS
10428
10429 fi
10430 fi
10431 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10432 if testscip-shell system . . test. -n "$ac_ct_NMEDIT"; then
10433 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10434 printfscip-shell system . . printf. "%s\n" "$ac_ct_NMEDIT" >&6; }
10435 else
10436 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10437 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10438 fi
10439
10440 if testscip-shell system . . test. "x$ac_ct_NMEDIT" = x; then
10441 NMEDIT=":"
10442 else
10443 case $cross_compiling:$ac_tool_warned in
10444 yes:)
10445 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10446 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10447 ac_tool_warned=yes ;;
10448 esac
10449 NMEDIT=$ac_ct_NMEDIT
10450 fi
10451 else
10452 NMEDIT="$ac_cv_prog_NMEDIT"
10453 fi
10454
10455 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
10456 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10457 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10458 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10459 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10460 if testscip-shell system . . test. ${ac_cv_prog_LIPO+y}
10461 then :
10462 printfscip-shell system . . printf. %s "(cached) " >&6
10463 else $as_nop
10464 if testscip-shell system . . test. -n "$LIPO"; then
10465 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10466 else
10467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10468 for as_dir in $PATH
10469 do
10470 IFS=$as_save_IFS
10471 case $as_dir in #(((
10472 '') as_dir=./ ;;
10473 */) ;;
10474 *) as_dir=$as_dir/ ;;
10475 esac
10476 for ac_exec_ext in '' $ac_executable_extensions; do
10477 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10478 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10479 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10480 break 2
10481 fi
10482 done
10483 done
10484 IFS=$as_save_IFS
10485
10486 fi
10487 fi
10488 LIPO=$ac_cv_prog_LIPO
10489 if testscip-shell system . . test. -n "$LIPO"; then
10490 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10491 printfscip-shell system . . printf. "%s\n" "$LIPO" >&6; }
10492 else
10493 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10494 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10495 fi
10496
10497
10498 fi
10499 if testscip-shell system . . test. -z "$ac_cv_prog_LIPO"; then
10500 ac_ct_LIPO=$LIPO
10501 # Extract the first word of "lipo", so it can be a program name with args.
10502 set dummy lipo; ac_word=$2
10503 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10504 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10505 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_LIPO+y}
10506 then :
10507 printfscip-shell system . . printf. %s "(cached) " >&6
10508 else $as_nop
10509 if testscip-shell system . . test. -n "$ac_ct_LIPO"; then
10510 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10511 else
10512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10513 for as_dir in $PATH
10514 do
10515 IFS=$as_save_IFS
10516 case $as_dir in #(((
10517 '') as_dir=./ ;;
10518 */) ;;
10519 *) as_dir=$as_dir/ ;;
10520 esac
10521 for ac_exec_ext in '' $ac_executable_extensions; do
10522 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10523 ac_cv_prog_ac_ct_LIPO="lipo"
10524 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10525 break 2
10526 fi
10527 done
10528 done
10529 IFS=$as_save_IFS
10530
10531 fi
10532 fi
10533 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10534 if testscip-shell system . . test. -n "$ac_ct_LIPO"; then
10535 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10536 printfscip-shell system . . printf. "%s\n" "$ac_ct_LIPO" >&6; }
10537 else
10538 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10539 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10540 fi
10541
10542 if testscip-shell system . . test. "x$ac_ct_LIPO" = x; then
10543 LIPO=":"
10544 else
10545 case $cross_compiling:$ac_tool_warned in
10546 yes:)
10547 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10548 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10549 ac_tool_warned=yes ;;
10550 esac
10551 LIPO=$ac_ct_LIPO
10552 fi
10553 else
10554 LIPO="$ac_cv_prog_LIPO"
10555 fi
10556
10557 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
10558 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10559 set dummy ${ac_tool_prefix}otool; ac_word=$2
10560 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10561 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10562 if testscip-shell system . . test. ${ac_cv_prog_OTOOL+y}
10563 then :
10564 printfscip-shell system . . printf. %s "(cached) " >&6
10565 else $as_nop
10566 if testscip-shell system . . test. -n "$OTOOL"; then
10567 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10568 else
10569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10570 for as_dir in $PATH
10571 do
10572 IFS=$as_save_IFS
10573 case $as_dir in #(((
10574 '') as_dir=./ ;;
10575 */) ;;
10576 *) as_dir=$as_dir/ ;;
10577 esac
10578 for ac_exec_ext in '' $ac_executable_extensions; do
10579 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10580 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10581 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10582 break 2
10583 fi
10584 done
10585 done
10586 IFS=$as_save_IFS
10587
10588 fi
10589 fi
10590 OTOOL=$ac_cv_prog_OTOOL
10591 if testscip-shell system . . test. -n "$OTOOL"; then
10592 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10593 printfscip-shell system . . printf. "%s\n" "$OTOOL" >&6; }
10594 else
10595 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10596 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10597 fi
10598
10599
10600 fi
10601 if testscip-shell system . . test. -z "$ac_cv_prog_OTOOL"; then
10602 ac_ct_OTOOL=$OTOOL
10603 # Extract the first word of "otool", so it can be a program name with args.
10604 set dummy otool; ac_word=$2
10605 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10606 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10607 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_OTOOL+y}
10608 then :
10609 printfscip-shell system . . printf. %s "(cached) " >&6
10610 else $as_nop
10611 if testscip-shell system . . test. -n "$ac_ct_OTOOL"; then
10612 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10613 else
10614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10615 for as_dir in $PATH
10616 do
10617 IFS=$as_save_IFS
10618 case $as_dir in #(((
10619 '') as_dir=./ ;;
10620 */) ;;
10621 *) as_dir=$as_dir/ ;;
10622 esac
10623 for ac_exec_ext in '' $ac_executable_extensions; do
10624 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10625 ac_cv_prog_ac_ct_OTOOL="otool"
10626 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10627 break 2
10628 fi
10629 done
10630 done
10631 IFS=$as_save_IFS
10632
10633 fi
10634 fi
10635 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10636 if testscip-shell system . . test. -n "$ac_ct_OTOOL"; then
10637 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10638 printfscip-shell system . . printf. "%s\n" "$ac_ct_OTOOL" >&6; }
10639 else
10640 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10641 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10642 fi
10643
10644 if testscip-shell system . . test. "x$ac_ct_OTOOL" = x; then
10645 OTOOL=":"
10646 else
10647 case $cross_compiling:$ac_tool_warned in
10648 yes:)
10649 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10650 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10651 ac_tool_warned=yes ;;
10652 esac
10653 OTOOL=$ac_ct_OTOOL
10654 fi
10655 else
10656 OTOOL="$ac_cv_prog_OTOOL"
10657 fi
10658
10659 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
10660 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10661 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10662 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10663 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10664 if testscip-shell system . . test. ${ac_cv_prog_OTOOL64+y}
10665 then :
10666 printfscip-shell system . . printf. %s "(cached) " >&6
10667 else $as_nop
10668 if testscip-shell system . . test. -n "$OTOOL64"; then
10669 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10670 else
10671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10672 for as_dir in $PATH
10673 do
10674 IFS=$as_save_IFS
10675 case $as_dir in #(((
10676 '') as_dir=./ ;;
10677 */) ;;
10678 *) as_dir=$as_dir/ ;;
10679 esac
10680 for ac_exec_ext in '' $ac_executable_extensions; do
10681 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10682 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10683 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10684 break 2
10685 fi
10686 done
10687 done
10688 IFS=$as_save_IFS
10689
10690 fi
10691 fi
10692 OTOOL64=$ac_cv_prog_OTOOL64
10693 if testscip-shell system . . test. -n "$OTOOL64"; then
10694 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10695 printfscip-shell system . . printf. "%s\n" "$OTOOL64" >&6; }
10696 else
10697 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10698 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10699 fi
10700
10701
10702 fi
10703 if testscip-shell system . . test. -z "$ac_cv_prog_OTOOL64"; then
10704 ac_ct_OTOOL64=$OTOOL64
10705 # Extract the first word of "otool64", so it can be a program name with args.
10706 set dummy otool64; ac_word=$2
10707 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10708 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10709 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_OTOOL64+y}
10710 then :
10711 printfscip-shell system . . printf. %s "(cached) " >&6
10712 else $as_nop
10713 if testscip-shell system . . test. -n "$ac_ct_OTOOL64"; then
10714 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10715 else
10716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10717 for as_dir in $PATH
10718 do
10719 IFS=$as_save_IFS
10720 case $as_dir in #(((
10721 '') as_dir=./ ;;
10722 */) ;;
10723 *) as_dir=$as_dir/ ;;
10724 esac
10725 for ac_exec_ext in '' $ac_executable_extensions; do
10726 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10727 ac_cv_prog_ac_ct_OTOOL64="otool64"
10728 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10729 break 2
10730 fi
10731 done
10732 done
10733 IFS=$as_save_IFS
10734
10735 fi
10736 fi
10737 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10738 if testscip-shell system . . test. -n "$ac_ct_OTOOL64"; then
10739 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10740 printfscip-shell system . . printf. "%s\n" "$ac_ct_OTOOL64" >&6; }
10741 else
10742 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10743 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10744 fi
10745
10746 if testscip-shell system . . test. "x$ac_ct_OTOOL64" = x; then
10747 OTOOL64=":"
10748 else
10749 case $cross_compiling:$ac_tool_warned in
10750 yes:)
10751 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10752 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10753 ac_tool_warned=yes ;;
10754 esac
10755 OTOOL64=$ac_ct_OTOOL64
10756 fi
10757 else
10758 OTOOL64="$ac_cv_prog_OTOOL64"
10759 fi
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 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10788 printfscip-shell system . . printf. %s "checking for -single_module linker flag... " >&6; }
10789 if testscip-shell system . . test. ${lt_cv_apple_cc_single_mod+y}
10790 then :
10791 printfscip-shell system . . printf. %s "(cached) " >&6
10792 else $as_nop
10793 lt_cv_apple_cc_single_mod=no
10794 if testscip-shell system . . test. -z "$LT_MULTI_MODULE"; then
10795 # By default we will add the -single_module flag. You can override
10796 # by either setting the environment variable LT_MULTI_MODULE
10797 # non-empty at configure time, or by adding -multi_module to the
10798 # link flags.
10799 rmscip-shell system . . rm. -rf libconftest.dylib*
10800 echoscip-shell system . . echo. "int foo(void){return 1;}" > conftest.c
10801 echoscip-shell system . . echo. "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10802 -dynamiclib -Wl,-single_module conftest.c" >&5
10803 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10804 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10805 _lt_result=$?
10806 # If there is a non-empty error log, and "single_module"
10807 # appears in it, assume the flag caused a linker warning
10808 if testscip-shell system . . test. -s conftest.err && $GREP single_module conftest.err; then
10809 catscip-shell system . . cat. conftest.err >&5
10810 # Otherwise, if the output was created with a 0 exit code from
10811 # the compiler, it worked.
10812 elif testscip-shell system . . test. -f libconftest.dylib && testscip-shell system . . test. 0 = "$_lt_result"; then
10813 lt_cv_apple_cc_single_mod=yes
10814 else
10815 catscip-shell system . . cat. conftest.err >&5
10816 fi
10817 rmscip-shell system . . rm. -rf libconftest.dylib*
10818 rmscip-shell system . . rm. -f conftest.*
10819 fi
10820 fi
10821 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10822 printfscip-shell system . . printf. "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
10823
10824 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10825 printfscip-shell system . . printf. %s "checking for -exported_symbols_list linker flag... " >&6; }
10826 if testscip-shell system . . test. ${lt_cv_ld_exported_symbols_list+y}
10827 then :
10828 printfscip-shell system . . printf. %s "(cached) " >&6
10829 else $as_nop
10830 lt_cv_ld_exported_symbols_list=no
10831 save_LDFLAGS=$LDFLAGS
10832 echoscip-shell system . . echo. "_main" > conftest.sym
10833 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10834 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10836
10837 int
10838 main (void)
10839 {
10840
10841 ;
10842 return 0;
10843 }
10844 _ACEOF
10845 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
10846 then :
10847 lt_cv_ld_exported_symbols_list=yes
10848 else $as_nop
10849 lt_cv_ld_exported_symbols_list=no
10850 fi
10851 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10852 conftest$ac_exeext conftest.$ac_ext
10853 LDFLAGS=$save_LDFLAGS
10854
10855 fi
10856 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10857 printfscip-shell system . . printf. "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
10858
10859 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10860 printfscip-shell system . . printf. %s "checking for -force_load linker flag... " >&6; }
10861 if testscip-shell system . . test. ${lt_cv_ld_force_load+y}
10862 then :
10863 printfscip-shell system . . printf. %s "(cached) " >&6
10864 else $as_nop
10865 lt_cv_ld_force_load=no
10866 catscip-shell system . . cat. > conftest.c << _LT_EOF
10867 int forced_loaded() { return 2;}
10868 _LT_EOF
10869 echoscip-shell system . . echo. "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10870 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10871 echoscip-shell system . . echo. "$AR $AR_FLAGS libconftest.a conftest.o" >&5
10872 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
10873 echoscip-shell system . . echo. "$RANLIB libconftest.a" >&5
10874 $RANLIB libconftest.a 2>&5
10875 catscip-shell system . . cat. > conftest.c << _LT_EOF
10876 int main() { return 0;}
10877 _LT_EOF
10878 echoscip-shell system . . echo. "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10879 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10880 _lt_result=$?
10881 if testscip-shell system . . test. -s conftest.err && $GREP force_load conftest.err; then
10882 catscip-shell system . . cat. conftest.err >&5
10883 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
10884 lt_cv_ld_force_load=yes
10885 else
10886 catscip-shell system . . cat. conftest.err >&5
10887 fi
10888 rmscip-shell system . . rm. -f conftest.err libconftest.a conftest conftest.c
10889 rmscip-shell system . . rm. -rf conftest.dSYM
10890
10891 fi
10892 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10893 printfscip-shell system . . printf. "%s\n" "$lt_cv_ld_force_load" >&6; }
10894 case $host_os in
10895 rhapsody* | darwin1.[012])
10896 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
10897 darwin1.*)
10898 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10899 darwin*)
10900 case $MACOSX_DEPLOYMENT_TARGET,$host in
10901 10.[012],*|,*powerpc*-darwin[5-8]*)
10902 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10903 *)
10904 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10905 esac
10906 ;;
10907 esac
10908 if testscip-shell system . . test. yes = "$lt_cv_apple_cc_single_mod"; then
10909 _lt_dar_single_mod='$single_module'
10910 fi
10911 if testscip-shell system . . test. yes = "$lt_cv_ld_exported_symbols_list"; then
10912 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10913 else
10914 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10915 fi
10916 if testscip-shell system . . test. : != "$DSYMUTIL" && testscip-shell system . . test. no = "$lt_cv_ld_force_load"; then
10917 _lt_dsymutil='~$DSYMUTIL $lib || :'
10918 else
10919 _lt_dsymutil=
10920 fi
10921 ;;
10922 esac
10923
10924 # func_munge_path_list VARIABLE PATH
10925 # -----------------------------------
10926 # VARIABLE is name of variable containing _space_ separated list of
10927 # directories to be munged by the contents of PATH, which is string
10928 # having a format:
10929 # "DIR[:DIR]:"
10930 # string "DIR[ DIR]" will be prepended to VARIABLE
10931 # ":DIR[:DIR]"
10932 # string "DIR[ DIR]" will be appended to VARIABLE
10933 # "DIRP[:DIRP]::[DIRA:]DIRA"
10934 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
10935 # "DIRA[ DIRA]" will be appended to VARIABLE
10936 # "DIR[:DIR]"
10937 # VARIABLE will be replaced by "DIR[ DIR]"
10938 func_munge_path_listscip-shell shell shell-project 0.0.0 func_munge_path_list(). ()
10939 {
10940 case x$2 in
10941 x)
10942 ;;
10943 *:)
10944 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
10945 ;;
10946 x:*)
10947 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
10948 ;;
10949 *::*)
10950 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10951 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
10952 ;;
10953 *)
10954 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
10955 ;;
10956 esac
10957 }
10958
10959 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10960 "
10961 if testscip-shell system . . test. "x$ac_cv_header_dlfcn_h" = xyes
10962 then :
10963 printfscip-shell system . . printf. "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
10964
10965 fi
10966
10967
10968
10969 func_stripname_cnfscip-shell shell shell-project 0.0.0 func_stripname_cnf(). ()
10970 {
10971 case $2 in
10972 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
10973 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
10974 esac
10975 } # func_stripname_cnf
10976
10977
10978
10979
10980
10981 # Set options
10982 enable_win32_dll=yes
10983
10984 case $host in
10985 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
10986 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
10987 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
10988 set dummy ${ac_tool_prefix}as; ac_word=$2
10989 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10990 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10991 if testscip-shell system . . test. ${ac_cv_prog_AS+y}
10992 then :
10993 printfscip-shell system . . printf. %s "(cached) " >&6
10994 else $as_nop
10995 if testscip-shell system . . test. -n "$AS"; then
10996 ac_cv_prog_AS="$AS" # Let the user override the test.
10997 else
10998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10999 for as_dir in $PATH
11000 do
11001 IFS=$as_save_IFS
11002 case $as_dir in #(((
11003 '') as_dir=./ ;;
11004 */) ;;
11005 *) as_dir=$as_dir/ ;;
11006 esac
11007 for ac_exec_ext in '' $ac_executable_extensions; do
11008 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11009 ac_cv_prog_AS="${ac_tool_prefix}as"
11010 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11011 break 2
11012 fi
11013 done
11014 done
11015 IFS=$as_save_IFS
11016
11017 fi
11018 fi
11019 AS=$ac_cv_prog_AS
11020 if testscip-shell system . . test. -n "$AS"; then
11021 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
11022 printfscip-shell system . . printf. "%s\n" "$AS" >&6; }
11023 else
11024 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11025 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11026 fi
11027
11028
11029 fi
11030 if testscip-shell system . . test. -z "$ac_cv_prog_AS"; then
11031 ac_ct_AS=$AS
11032 # Extract the first word of "as", so it can be a program name with args.
11033 set dummy as; ac_word=$2
11034 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11035 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11036 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_AS+y}
11037 then :
11038 printfscip-shell system . . printf. %s "(cached) " >&6
11039 else $as_nop
11040 if testscip-shell system . . test. -n "$ac_ct_AS"; then
11041 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
11042 else
11043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11044 for as_dir in $PATH
11045 do
11046 IFS=$as_save_IFS
11047 case $as_dir in #(((
11048 '') as_dir=./ ;;
11049 */) ;;
11050 *) as_dir=$as_dir/ ;;
11051 esac
11052 for ac_exec_ext in '' $ac_executable_extensions; do
11053 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11054 ac_cv_prog_ac_ct_AS="as"
11055 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11056 break 2
11057 fi
11058 done
11059 done
11060 IFS=$as_save_IFS
11061
11062 fi
11063 fi
11064 ac_ct_AS=$ac_cv_prog_ac_ct_AS
11065 if testscip-shell system . . test. -n "$ac_ct_AS"; then
11066 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
11067 printfscip-shell system . . printf. "%s\n" "$ac_ct_AS" >&6; }
11068 else
11069 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11070 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11071 fi
11072
11073 if testscip-shell system . . test. "x$ac_ct_AS" = x; then
11074 AS="false"
11075 else
11076 case $cross_compiling:$ac_tool_warned in
11077 yes:)
11078 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11079 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11080 ac_tool_warned=yes ;;
11081 esac
11082 AS=$ac_ct_AS
11083 fi
11084 else
11085 AS="$ac_cv_prog_AS"
11086 fi
11087
11088 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
11089 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
11090 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
11091 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11092 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11093 if testscip-shell system . . test. ${ac_cv_prog_DLLTOOL+y}
11094 then :
11095 printfscip-shell system . . printf. %s "(cached) " >&6
11096 else $as_nop
11097 if testscip-shell system . . test. -n "$DLLTOOL"; then
11098 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11099 else
11100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11101 for as_dir in $PATH
11102 do
11103 IFS=$as_save_IFS
11104 case $as_dir in #(((
11105 '') as_dir=./ ;;
11106 */) ;;
11107 *) as_dir=$as_dir/ ;;
11108 esac
11109 for ac_exec_ext in '' $ac_executable_extensions; do
11110 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11111 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
11112 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11113 break 2
11114 fi
11115 done
11116 done
11117 IFS=$as_save_IFS
11118
11119 fi
11120 fi
11121 DLLTOOL=$ac_cv_prog_DLLTOOL
11122 if testscip-shell system . . test. -n "$DLLTOOL"; then
11123 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
11124 printfscip-shell system . . printf. "%s\n" "$DLLTOOL" >&6; }
11125 else
11126 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11127 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11128 fi
11129
11130
11131 fi
11132 if testscip-shell system . . test. -z "$ac_cv_prog_DLLTOOL"; then
11133 ac_ct_DLLTOOL=$DLLTOOL
11134 # Extract the first word of "dlltool", so it can be a program name with args.
11135 set dummy dlltool; ac_word=$2
11136 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11137 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11138 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_DLLTOOL+y}
11139 then :
11140 printfscip-shell system . . printf. %s "(cached) " >&6
11141 else $as_nop
11142 if testscip-shell system . . test. -n "$ac_ct_DLLTOOL"; then
11143 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
11144 else
11145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11146 for as_dir in $PATH
11147 do
11148 IFS=$as_save_IFS
11149 case $as_dir in #(((
11150 '') as_dir=./ ;;
11151 */) ;;
11152 *) as_dir=$as_dir/ ;;
11153 esac
11154 for ac_exec_ext in '' $ac_executable_extensions; do
11155 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11156 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
11157 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11158 break 2
11159 fi
11160 done
11161 done
11162 IFS=$as_save_IFS
11163
11164 fi
11165 fi
11166 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
11167 if testscip-shell system . . test. -n "$ac_ct_DLLTOOL"; then
11168 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
11169 printfscip-shell system . . printf. "%s\n" "$ac_ct_DLLTOOL" >&6; }
11170 else
11171 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11172 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11173 fi
11174
11175 if testscip-shell system . . test. "x$ac_ct_DLLTOOL" = x; then
11176 DLLTOOL="false"
11177 else
11178 case $cross_compiling:$ac_tool_warned in
11179 yes:)
11180 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11181 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11182 ac_tool_warned=yes ;;
11183 esac
11184 DLLTOOL=$ac_ct_DLLTOOL
11185 fi
11186 else
11187 DLLTOOL="$ac_cv_prog_DLLTOOL"
11188 fi
11189
11190 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
11191 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
11192 set dummy ${ac_tool_prefix}objdump; ac_word=$2
11193 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11194 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11195 if testscip-shell system . . test. ${ac_cv_prog_OBJDUMP+y}
11196 then :
11197 printfscip-shell system . . printf. %s "(cached) " >&6
11198 else $as_nop
11199 if testscip-shell system . . test. -n "$OBJDUMP"; then
11200 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
11201 else
11202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11203 for as_dir in $PATH
11204 do
11205 IFS=$as_save_IFS
11206 case $as_dir in #(((
11207 '') as_dir=./ ;;
11208 */) ;;
11209 *) as_dir=$as_dir/ ;;
11210 esac
11211 for ac_exec_ext in '' $ac_executable_extensions; do
11212 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11213 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
11214 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11215 break 2
11216 fi
11217 done
11218 done
11219 IFS=$as_save_IFS
11220
11221 fi
11222 fi
11223 OBJDUMP=$ac_cv_prog_OBJDUMP
11224 if testscip-shell system . . test. -n "$OBJDUMP"; then
11225 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
11226 printfscip-shell system . . printf. "%s\n" "$OBJDUMP" >&6; }
11227 else
11228 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11229 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11230 fi
11231
11232
11233 fi
11234 if testscip-shell system . . test. -z "$ac_cv_prog_OBJDUMP"; then
11235 ac_ct_OBJDUMP=$OBJDUMP
11236 # Extract the first word of "objdump", so it can be a program name with args.
11237 set dummy objdump; ac_word=$2
11238 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11239 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11240 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_OBJDUMP+y}
11241 then :
11242 printfscip-shell system . . printf. %s "(cached) " >&6
11243 else $as_nop
11244 if testscip-shell system . . test. -n "$ac_ct_OBJDUMP"; then
11245 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
11246 else
11247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11248 for as_dir in $PATH
11249 do
11250 IFS=$as_save_IFS
11251 case $as_dir in #(((
11252 '') as_dir=./ ;;
11253 */) ;;
11254 *) as_dir=$as_dir/ ;;
11255 esac
11256 for ac_exec_ext in '' $ac_executable_extensions; do
11257 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11258 ac_cv_prog_ac_ct_OBJDUMP="objdump"
11259 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11260 break 2
11261 fi
11262 done
11263 done
11264 IFS=$as_save_IFS
11265
11266 fi
11267 fi
11268 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
11269 if testscip-shell system . . test. -n "$ac_ct_OBJDUMP"; then
11270 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
11271 printfscip-shell system . . printf. "%s\n" "$ac_ct_OBJDUMP" >&6; }
11272 else
11273 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11274 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11275 fi
11276
11277 if testscip-shell system . . test. "x$ac_ct_OBJDUMP" = x; then
11278 OBJDUMP="false"
11279 else
11280 case $cross_compiling:$ac_tool_warned in
11281 yes:)
11282 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11283 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11284 ac_tool_warned=yes ;;
11285 esac
11286 OBJDUMP=$ac_ct_OBJDUMP
11287 fi
11288 else
11289 OBJDUMP="$ac_cv_prog_OBJDUMP"
11290 fi
11291
11292 ;;
11293 esac
11294
11295 testscip-shell system . . test. -z "$AS" && AS=as
11296
11297
11298
11299
11300
11301 testscip-shell system . . test. -z "$DLLTOOL" && DLLTOOL=dlltool
11302
11303
11304
11305
11306
11307 testscip-shell system . . test. -z "$OBJDUMP" && OBJDUMP=objdump
11308
11309
11310
11311
11312
11313
11314
11315 enable_dlopen=no
11316
11317
11318
11319 # Check whether --enable-shared was given.
11320 if testscip-shell system . . test. ${enable_shared+y}
11321 then :
11322 enableval=$enable_shared; p=${PACKAGE-default}
11323 case $enableval in
11324 yes) enable_shared=yes ;;
11325 no) enable_shared=no ;;
11326 *)
11327 enable_shared=no
11328 # Look at the argument we got. We use all the common list separators.
11329 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11330 for pkg in $enableval; do
11331 IFS=$lt_save_ifs
11332 if testscip-shell system . . test. "X$pkg" = "X$p"; then
11333 enable_shared=yes
11334 fi
11335 done
11336 IFS=$lt_save_ifs
11337 ;;
11338 esac
11339 else $as_nop
11340 enable_shared=yes
11341 fi
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351 # Check whether --enable-static was given.
11352 if testscip-shell system . . test. ${enable_static+y}
11353 then :
11354 enableval=$enable_static; p=${PACKAGE-default}
11355 case $enableval in
11356 yes) enable_static=yes ;;
11357 no) enable_static=no ;;
11358 *)
11359 enable_static=no
11360 # Look at the argument we got. We use all the common list separators.
11361 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11362 for pkg in $enableval; do
11363 IFS=$lt_save_ifs
11364 if testscip-shell system . . test. "X$pkg" = "X$p"; then
11365 enable_static=yes
11366 fi
11367 done
11368 IFS=$lt_save_ifs
11369 ;;
11370 esac
11371 else $as_nop
11372 enable_static=yes
11373 fi
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384 # Check whether --with-pic was given.
11385 if testscip-shell system . . test. ${with_pic+y}
11386 then :
11387 withval=$with_pic; lt_p=${PACKAGE-default}
11388 case $withval in
11389 yes|no) pic_mode=$withval ;;
11390 *)
11391 pic_mode=default
11392 # Look at the argument we got. We use all the common list separators.
11393 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11394 for lt_pkg in $withval; do
11395 IFS=$lt_save_ifs
11396 if testscip-shell system . . test. "X$lt_pkg" = "X$lt_p"; then
11397 pic_mode=yes
11398 fi
11399 done
11400 IFS=$lt_save_ifs
11401 ;;
11402 esac
11403 else $as_nop
11404 pic_mode=default
11405 fi
11406
11407
11408
11409
11410
11411
11412
11413
11414 # Check whether --enable-fast-install was given.
11415 if testscip-shell system . . test. ${enable_fast_install+y}
11416 then :
11417 enableval=$enable_fast_install; p=${PACKAGE-default}
11418 case $enableval in
11419 yes) enable_fast_install=yes ;;
11420 no) enable_fast_install=no ;;
11421 *)
11422 enable_fast_install=no
11423 # Look at the argument we got. We use all the common list separators.
11424 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11425 for pkg in $enableval; do
11426 IFS=$lt_save_ifs
11427 if testscip-shell system . . test. "X$pkg" = "X$p"; then
11428 enable_fast_install=yes
11429 fi
11430 done
11431 IFS=$lt_save_ifs
11432 ;;
11433 esac
11434 else $as_nop
11435 enable_fast_install=yes
11436 fi
11437
11438
11439
11440
11441
11442
11443
11444
11445 shared_archive_member_spec=
11446 case $host,$enable_shared in
11447 power*-*-aix[5-9]*,yes)
11448 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
11449 printfscip-shell system . . printf. %s "checking which variant of shared library versioning to provide... " >&6; }
11450
11451 # Check whether --with-aix-soname was given.
11452 if testscip-shell system . . test. ${with_aix_soname+y}
11453 then :
11454 withval=$with_aix_soname; case $withval in
11455 aix|svr4|both)
11456 ;;
11457 *)
11458 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Unknown argument to --with-aix-soname" "$LINENO" 5
11459 ;;
11460 esac
11461 lt_cv_with_aix_soname=$with_aix_soname
11462 else $as_nop
11463 if testscip-shell system . . test. ${lt_cv_with_aix_soname+y}
11464 then :
11465 printfscip-shell system . . printf. %s "(cached) " >&6
11466 else $as_nop
11467 lt_cv_with_aix_soname=aix
11468 fi
11469
11470 with_aix_soname=$lt_cv_with_aix_soname
11471 fi
11472
11473 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
11474 printfscip-shell system . . printf. "%s\n" "$with_aix_soname" >&6; }
11475 if testscip-shell system . . test. aix != "$with_aix_soname"; then
11476 # For the AIX way of multilib, we name the shared archive member
11477 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
11478 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
11479 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
11480 # the AIX toolchain works better with OBJECT_MODE set (default 32).
11481 if testscip-shell system . . test. 64 = "${OBJECT_MODE-32}"; then
11482 shared_archive_member_spec=shr_64
11483 else
11484 shared_archive_member_spec=shr
11485 fi
11486 fi
11487 ;;
11488 *)
11489 with_aix_soname=aix
11490 ;;
11491 esac
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502 # This can be used to rebuild libtool when needed
11503 LIBTOOL_DEPS=$ltmain
11504
11505 # Always use our own libtool.
11506 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537 testscip-shell system . . test. -z "$LN_S" && LN_S="ln -s"
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552 if testscip-shell system . . test. -n "${ZSH_VERSION+set}"; then
11553 setopt NO_GLOB_SUBST
11554 fi
11555
11556 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11557 printfscip-shell system . . printf. %s "checking for objdir... " >&6; }
11558 if testscip-shell system . . test. ${lt_cv_objdir+y}
11559 then :
11560 printfscip-shell system . . printf. %s "(cached) " >&6
11561 else $as_nop
11562 rmscip-shell system . . rm. -f .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`.
11563 mkdirscip-shell system . . mkdir. .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`.
11564 if testscip-shell system . . test. -d .libs; then
11565 lt_cv_objdir=.libs
11566 else
11567 # MS-DOS does not allow filenames that begin with a dot.
11568 lt_cv_objdir=_libs
11569 fi
11570 rmdirscip-shell system . . rmdir. .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`.
11571 fi
11572 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11573 printfscip-shell system . . printf. "%s\n" "$lt_cv_objdir" >&6; }
11574 objdir=$lt_cv_objdir
11575
11576
11577
11578
11579
11580 printfscip-shell system . . printf. "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
11581
11582
11583
11584
11585 case $host_os in
11586 aix3*)
11587 # AIX sometimes has problems with the GCC collect2 program. For some
11588 # reason, if we set the COLLECT_NAMES environment variable, the problems
11589 # vanish in a puff of smoke.
11590 if testscip-shell system . . test. set != "${COLLECT_NAMES+set}"; then
11591 COLLECT_NAMES=
11592 export COLLECT_NAMES
11593 fi
11594 ;;
11595 esac
11596
11597 # Global variables:
11598 ofile=libtool
11599 can_build_shared=yes
11600
11601 # All known linkers require a '.a' archive for static linking (except MSVC and
11602 # ICC, which need '.lib').
11603 libext=a
11604
11605 with_gnu_ld=$lt_cv_prog_gnu_ld
11606
11607 old_CC=$CC
11608 old_CFLAGS=$CFLAGS
11609
11610 # Set sane defaults for various variables
11611 testscip-shell system . . test. -z "$CC" && CC=cc
11612 testscip-shell system . . test. -z "$LTCC" && LTCC=$CC
11613 testscip-shell system . . test. -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11614 testscip-shell system . . test. -z "$LD" && LD=ld
11615 testscip-shell system . . test. -z "$ac_objext" && ac_objext=o
11616
11617 func_cc_basenamescip-shell shell shell-project 0.0.0 func_cc_basename(). $compiler
11618 cc_basename=$func_cc_basename_result
11619
11620
11621 # Only perform the check for file, if the check method requires it
11622 testscip-shell system . . test. -z "$MAGIC_CMD" && MAGIC_CMD=file
11623 case $deplibs_check_method in
11624 file_magic*)
11625 if testscip-shell system . . test. "$file_magic_cmd" = '$MAGIC_CMD'; then
11626 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11627 printfscip-shell system . . printf. %s "checking for ${ac_tool_prefix}file... " >&6; }
11628 if testscip-shell system . . test. ${lt_cv_path_MAGIC_CMD+y}
11629 then :
11630 printfscip-shell system . . printf. %s "(cached) " >&6
11631 else $as_nop
11632 case $MAGIC_CMD in
11633 [\\/*] | ?:[\\/]*)
11634 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
11635 ;;
11636 *)
11637 lt_save_MAGIC_CMD=$MAGIC_CMD
11638 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
11639 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11640 for ac_dir in $ac_dummy; do
11641 IFS=$lt_save_ifs
11642 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
11643 if testscip-shell system . . test. -f "$ac_dir/${ac_tool_prefix}file"; then
11644 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
11645 if testscip-shell system . . test. -n "$file_magic_test_file"; then
11646 case $deplibs_check_method in
11647 "file_magic "*)
11648 file_magic_regex=`exprscip-shell system . . expr. "$deplibs_check_method" : "file_magic \(.*\)"`
11649 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11650 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/nullscip-shell filesystem . . `/dev/null`. |
11651 $EGREP "$file_magic_regex" > /dev/nullscip-shell filesystem . . `/dev/null`.; then
11652 :
11653 else
11654 catscip-shell system . . cat. <<_LT_EOF 1>&2
11655
11656 *** Warning: the command libtool uses to detect shared libraries,
11657 *** $file_magic_cmd, produces output that libtool cannot recognize.
11658 *** The result is that libtool may fail to recognize shared libraries
11659 *** as such. This will affect the creation of libtool libraries that
11660 *** depend on shared libraries, but programs linked with such libtool
11661 *** libraries will work regardless of this problem. Nevertheless, you
11662 *** may want to report the problem to your system manager and/or to
11663 *** [email protected]
11664
11665 _LT_EOF
11666 fi ;;
11667 esac
11668 fi
11669 break
11670 fi
11671 done
11672 IFS=$lt_save_ifs
11673 MAGIC_CMD=$lt_save_MAGIC_CMD
11674 ;;
11675 esac
11676 fi
11677
11678 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11679 if testscip-shell system . . test. -n "$MAGIC_CMD"; then
11680 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11681 printfscip-shell system . . printf. "%s\n" "$MAGIC_CMD" >&6; }
11682 else
11683 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11684 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11685 fi
11686
11687
11688
11689
11690
11691 if testscip-shell system . . test. -z "$lt_cv_path_MAGIC_CMD"; then
11692 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
11693 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11694 printfscip-shell system . . printf. %s "checking for file... " >&6; }
11695 if testscip-shell system . . test. ${lt_cv_path_MAGIC_CMD+y}
11696 then :
11697 printfscip-shell system . . printf. %s "(cached) " >&6
11698 else $as_nop
11699 case $MAGIC_CMD in
11700 [\\/*] | ?:[\\/]*)
11701 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
11702 ;;
11703 *)
11704 lt_save_MAGIC_CMD=$MAGIC_CMD
11705 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
11706 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11707 for ac_dir in $ac_dummy; do
11708 IFS=$lt_save_ifs
11709 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
11710 if testscip-shell system . . test. -f "$ac_dir/file"; then
11711 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
11712 if testscip-shell system . . test. -n "$file_magic_test_file"; then
11713 case $deplibs_check_method in
11714 "file_magic "*)
11715 file_magic_regex=`exprscip-shell system . . expr. "$deplibs_check_method" : "file_magic \(.*\)"`
11716 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11717 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/nullscip-shell filesystem . . `/dev/null`. |
11718 $EGREP "$file_magic_regex" > /dev/nullscip-shell filesystem . . `/dev/null`.; then
11719 :
11720 else
11721 catscip-shell system . . cat. <<_LT_EOF 1>&2
11722
11723 *** Warning: the command libtool uses to detect shared libraries,
11724 *** $file_magic_cmd, produces output that libtool cannot recognize.
11725 *** The result is that libtool may fail to recognize shared libraries
11726 *** as such. This will affect the creation of libtool libraries that
11727 *** depend on shared libraries, but programs linked with such libtool
11728 *** libraries will work regardless of this problem. Nevertheless, you
11729 *** may want to report the problem to your system manager and/or to
11730 *** [email protected]
11731
11732 _LT_EOF
11733 fi ;;
11734 esac
11735 fi
11736 break
11737 fi
11738 done
11739 IFS=$lt_save_ifs
11740 MAGIC_CMD=$lt_save_MAGIC_CMD
11741 ;;
11742 esac
11743 fi
11744
11745 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11746 if testscip-shell system . . test. -n "$MAGIC_CMD"; then
11747 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11748 printfscip-shell system . . printf. "%s\n" "$MAGIC_CMD" >&6; }
11749 else
11750 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11751 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11752 fi
11753
11754
11755 else
11756 MAGIC_CMD=:
11757 fi
11758 fi
11759
11760 fi
11761 ;;
11762 esac
11763
11764 # Use C for the default configuration in the libtool script
11765
11766 lt_save_CC=$CC
11767 ac_ext=c
11768 ac_cpp='$CPP $CPPFLAGS'
11769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11772
11773
11774 # Source file extension for C test sources.
11775 ac_ext=c
11776
11777 # Object file extension for compiled C test sources.
11778 objext=o
11779 objext=$objext
11780
11781 # Code to be used in simple compile tests
11782 lt_simple_compile_test_code="int some_variable = 0;"
11783
11784 # Code to be used in simple link tests
11785 lt_simple_link_test_code='int main(){return(0);}'
11786
11787
11788
11789
11790
11791
11792
11793 # If no C compiler was specified, use CC.
11794 LTCC=${LTCC-"$CC"}
11795
11796 # If no C compiler flags were specified, use CFLAGS.
11797 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11798
11799 # Allow CC to be a program name with arguments.
11800 compiler=$CC
11801
11802 # Save the default compiler, since it gets overwritten when the other
11803 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11804 compiler_DEFAULT=$CC
11805
11806 # save warnings/boilerplate of simple test code
11807 ac_outfile=conftest.$ac_objext
11808 echoscip-shell system . . echo. "$lt_simple_compile_test_code" >conftest.$ac_ext
11809 eval "$ac_compile" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
11810 _lt_compiler_boilerplate=`catscip-shell system . . cat. conftest.err`
11811 $RM conftest*
11812
11813 ac_outfile=conftest.$ac_objext
11814 echoscip-shell system . . echo. "$lt_simple_link_test_code" >conftest.$ac_ext
11815 eval "$ac_link" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
11816 _lt_linker_boilerplate=`catscip-shell system . . cat. conftest.err`
11817 $RM -r conftest*
11818
11819
11820 ## CAVEAT EMPTOR:
11821 ## There is no encapsulation within the following macros, do not change
11822 ## the running order or otherwise move them around unless you know exactly
11823 ## what you are doing...
11824 if testscip-shell system . . test. -n "$compiler"; then
11825
11826 lt_prog_compiler_no_builtin_flag=
11827
11828 if testscip-shell system . . test. yes = "$GCC"; then
11829 case $cc_basename in
11830 nvcc*)
11831 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11832 *)
11833 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11834 esac
11835
11836 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11837 printfscip-shell system . . printf. %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11838 if testscip-shell system . . test. ${lt_cv_prog_compiler_rtti_exceptions+y}
11839 then :
11840 printfscip-shell system . . printf. %s "(cached) " >&6
11841 else $as_nop
11842 lt_cv_prog_compiler_rtti_exceptions=no
11843 ac_outfile=conftest.$ac_objext
11844 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
11845 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11846 # Insert the option either (1) after the last *FLAGS variable, or
11847 # (2) before a word containing "conftest.", or (3) at the end.
11848 # Note that $ac_compile itself does not contain backslashes and begins
11849 # with a dollar sign (not a hyphen), so the echo should work correctly.
11850 # The option is referenced via a variable to avoid confusing sed.
11851 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
11852 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11853 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11854 -e 's:$: $lt_compiler_flag:'`
11855 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11856 (eval "$lt_compile" 2>conftest.err)
11857 ac_status=$?
11858 catscip-shell system . . cat. conftest.err >&5
11859 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
11860 if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then
11861 # The compiler can only warn and ignore the option if not recognized
11862 # So say no if there are warnings other than the usual output.
11863 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp
11864 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
11865 if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
11866 lt_cv_prog_compiler_rtti_exceptions=yes
11867 fi
11868 fi
11869 $RM conftest*
11870
11871 fi
11872 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11873 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11874
11875 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11876 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11877 else
11878 :
11879 fi
11880
11881 fi
11882
11883
11884
11885
11886
11887
11888 lt_prog_compiler_wl=
11889 lt_prog_compiler_pic=
11890 lt_prog_compiler_static=
11891
11892
11893 if testscip-shell system . . test. yes = "$GCC"; then
11894 lt_prog_compiler_wl='-Wl,'
11895 lt_prog_compiler_static='-static'
11896
11897 case $host_os in
11898 aix*)
11899 # All AIX code is PIC.
11900 if testscip-shell system . . test. ia64 = "$host_cpu"; then
11901 # AIX 5 now supports IA64 processor
11902 lt_prog_compiler_static='-Bstatic'
11903 fi
11904 lt_prog_compiler_pic='-fPIC'
11905 ;;
11906
11907 amigaos*)
11908 case $host_cpu in
11909 powerpc)
11910 # see comment about AmigaOS4 .so support
11911 lt_prog_compiler_pic='-fPIC'
11912 ;;
11913 m68k)
11914 # FIXME: we need at least 68020 code to build shared libraries, but
11915 # adding the '-m68020' flag to GCC prevents building anything better,
11916 # like '-m68040'.
11917 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11918 ;;
11919 esac
11920 ;;
11921
11922 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11923 # PIC is the default for these OSes.
11924 ;;
11925
11926 mingw* | cygwin* | pw32* | os2* | cegcc*)
11927 # This hack is so that the source file can tell whether it is being
11928 # built for inclusion in a dll (and should export symbols for example).
11929 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11930 # (--disable-auto-import) libraries
11931 lt_prog_compiler_pic='-DDLL_EXPORT'
11932 case $host_os in
11933 os2*)
11934 lt_prog_compiler_static='$wl-static'
11935 ;;
11936 esac
11937 ;;
11938
11939 darwin* | rhapsody*)
11940 # PIC is the default on this platform
11941 # Common symbols not allowed in MH_DYLIB files
11942 lt_prog_compiler_pic='-fno-common'
11943 ;;
11944
11945 haiku*)
11946 # PIC is the default for Haiku.
11947 # The "-static" flag exists, but is broken.
11948 lt_prog_compiler_static=
11949 ;;
11950
11951 hpux*)
11952 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11953 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11954 # sets the default TLS model and affects inlining.
11955 case $host_cpu in
11956 hppa*64*)
11957 # +Z the default
11958 ;;
11959 *)
11960 lt_prog_compiler_pic='-fPIC'
11961 ;;
11962 esac
11963 ;;
11964
11965 interix[3-9]*)
11966 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11967 # Instead, we relocate shared libraries at runtime.
11968 ;;
11969
11970 msdosdjgpp*)
11971 # Just because we use GCC doesn't mean we suddenly get shared libraries
11972 # on systems that don't support them.
11973 lt_prog_compiler_can_build_shared=no
11974 enable_shared=no
11975 ;;
11976
11977 *nto* | *qnx*)
11978 # QNX uses GNU C++, but need to define -shared option too, otherwise
11979 # it will coredump.
11980 lt_prog_compiler_pic='-fPIC -shared'
11981 ;;
11982
11983 sysv4*MP*)
11984 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
11985 lt_prog_compiler_pic=-Kconform_pic
11986 fi
11987 ;;
11988
11989 *)
11990 lt_prog_compiler_pic='-fPIC'
11991 ;;
11992 esac
11993
11994 case $cc_basename in
11995 nvcc*) # Cuda Compiler Driver 2.2
11996 lt_prog_compiler_wl='-Xlinker '
11997 if testscip-shell system . . test. -n "$lt_prog_compiler_pic"; then
11998 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11999 fi
12000 ;;
12001 esac
12002 else
12003 # PORTME Check for flag to pass linker flags through the system compiler.
12004 case $host_os in
12005 aix*)
12006 lt_prog_compiler_wl='-Wl,'
12007 if testscip-shell system . . test. ia64 = "$host_cpu"; then
12008 # AIX 5 now supports IA64 processor
12009 lt_prog_compiler_static='-Bstatic'
12010 else
12011 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
12012 fi
12013 ;;
12014
12015 darwin* | rhapsody*)
12016 # PIC is the default on this platform
12017 # Common symbols not allowed in MH_DYLIB files
12018 lt_prog_compiler_pic='-fno-common'
12019 case $cc_basename in
12020 nagfor*)
12021 # NAG Fortran compiler
12022 lt_prog_compiler_wl='-Wl,-Wl,,'
12023 lt_prog_compiler_pic='-PIC'
12024 lt_prog_compiler_static='-Bstatic'
12025 ;;
12026 esac
12027 ;;
12028
12029 mingw* | cygwin* | pw32* | os2* | cegcc*)
12030 # This hack is so that the source file can tell whether it is being
12031 # built for inclusion in a dll (and should export symbols for example).
12032 lt_prog_compiler_pic='-DDLL_EXPORT'
12033 case $host_os in
12034 os2*)
12035 lt_prog_compiler_static='$wl-static'
12036 ;;
12037 esac
12038 ;;
12039
12040 hpux9* | hpux10* | hpux11*)
12041 lt_prog_compiler_wl='-Wl,'
12042 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12043 # not for PA HP-UX.
12044 case $host_cpu in
12045 hppa*64*|ia64*)
12046 # +Z the default
12047 ;;
12048 *)
12049 lt_prog_compiler_pic='+Z'
12050 ;;
12051 esac
12052 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12053 lt_prog_compiler_static='$wl-a ${wl}archive'
12054 ;;
12055
12056 irix5* | irix6* | nonstopux*)
12057 lt_prog_compiler_wl='-Wl,'
12058 # PIC (with -KPIC) is the default.
12059 lt_prog_compiler_static='-non_shared'
12060 ;;
12061
12062 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12063 case $cc_basename in
12064 # old Intel for x86_64, which still supported -KPIC.
12065 ecc*)
12066 lt_prog_compiler_wl='-Wl,'
12067 lt_prog_compiler_pic='-KPIC'
12068 lt_prog_compiler_static='-static'
12069 ;;
12070 # flang / f18. f95 an alias for gfortran or flang on Debian
12071 flang* | f18* | f95*)
12072 lt_prog_compiler_wl='-Wl,'
12073 lt_prog_compiler_pic='-fPIC'
12074 lt_prog_compiler_static='-static'
12075 ;;
12076 # icc used to be incompatible with GCC.
12077 # ICC 10 doesn't accept -KPIC any more.
12078 icc* | ifort*)
12079 lt_prog_compiler_wl='-Wl,'
12080 lt_prog_compiler_pic='-fPIC'
12081 lt_prog_compiler_static='-static'
12082 ;;
12083 # Lahey Fortran 8.1.
12084 lf95*)
12085 lt_prog_compiler_wl='-Wl,'
12086 lt_prog_compiler_pic='--shared'
12087 lt_prog_compiler_static='--static'
12088 ;;
12089 nagfor*)
12090 # NAG Fortran compiler
12091 lt_prog_compiler_wl='-Wl,-Wl,,'
12092 lt_prog_compiler_pic='-PIC'
12093 lt_prog_compiler_static='-Bstatic'
12094 ;;
12095 tcc*)
12096 # Fabrice Bellard et al's Tiny C Compiler
12097 lt_prog_compiler_wl='-Wl,'
12098 lt_prog_compiler_pic='-fPIC'
12099 lt_prog_compiler_static='-static'
12100 ;;
12101 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
12102 # Portland Group compilers (*not* the Pentium gcc compiler,
12103 # which looks to be a dead project)
12104 lt_prog_compiler_wl='-Wl,'
12105 lt_prog_compiler_pic='-fpic'
12106 lt_prog_compiler_static='-Bstatic'
12107 ;;
12108 ccc*)
12109 lt_prog_compiler_wl='-Wl,'
12110 # All Alpha code is PIC.
12111 lt_prog_compiler_static='-non_shared'
12112 ;;
12113 xl* | bgxl* | bgf* | mpixl*)
12114 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12115 lt_prog_compiler_wl='-Wl,'
12116 lt_prog_compiler_pic='-qpic'
12117 lt_prog_compiler_static='-qstaticlink'
12118 ;;
12119 *)
12120 case `$CC -V 2>&1 | $SED 5q` in
12121 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
12122 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12123 lt_prog_compiler_pic='-KPIC'
12124 lt_prog_compiler_static='-Bstatic'
12125 lt_prog_compiler_wl=''
12126 ;;
12127 *Sun\ F* | *Sun*Fortran*)
12128 lt_prog_compiler_pic='-KPIC'
12129 lt_prog_compiler_static='-Bstatic'
12130 lt_prog_compiler_wl='-Qoption ld '
12131 ;;
12132 *Sun\ C*)
12133 # Sun C 5.9
12134 lt_prog_compiler_pic='-KPIC'
12135 lt_prog_compiler_static='-Bstatic'
12136 lt_prog_compiler_wl='-Wl,'
12137 ;;
12138 *Intel*\ [CF]*Compiler*)
12139 lt_prog_compiler_wl='-Wl,'
12140 lt_prog_compiler_pic='-fPIC'
12141 lt_prog_compiler_static='-static'
12142 ;;
12143 *Portland\ Group*)
12144 lt_prog_compiler_wl='-Wl,'
12145 lt_prog_compiler_pic='-fpic'
12146 lt_prog_compiler_static='-Bstatic'
12147 ;;
12148 esac
12149 ;;
12150 esac
12151 ;;
12152
12153 newsos6)
12154 lt_prog_compiler_pic='-KPIC'
12155 lt_prog_compiler_static='-Bstatic'
12156 ;;
12157
12158 *nto* | *qnx*)
12159 # QNX uses GNU C++, but need to define -shared option too, otherwise
12160 # it will coredump.
12161 lt_prog_compiler_pic='-fPIC -shared'
12162 ;;
12163
12164 osf3* | osf4* | osf5*)
12165 lt_prog_compiler_wl='-Wl,'
12166 # All OSF/1 code is PIC.
12167 lt_prog_compiler_static='-non_shared'
12168 ;;
12169
12170 rdos*)
12171 lt_prog_compiler_static='-non_shared'
12172 ;;
12173
12174 solaris*)
12175 lt_prog_compiler_pic='-KPIC'
12176 lt_prog_compiler_static='-Bstatic'
12177 case $cc_basename in
12178 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
12179 lt_prog_compiler_wl='-Qoption ld ';;
12180 *)
12181 lt_prog_compiler_wl='-Wl,';;
12182 esac
12183 ;;
12184
12185 sunos4*)
12186 lt_prog_compiler_wl='-Qoption ld '
12187 lt_prog_compiler_pic='-PIC'
12188 lt_prog_compiler_static='-Bstatic'
12189 ;;
12190
12191 sysv4 | sysv4.2uw2* | sysv4.3*)
12192 lt_prog_compiler_wl='-Wl,'
12193 lt_prog_compiler_pic='-KPIC'
12194 lt_prog_compiler_static='-Bstatic'
12195 ;;
12196
12197 sysv4*MP*)
12198 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
12199 lt_prog_compiler_pic='-Kconform_pic'
12200 lt_prog_compiler_static='-Bstatic'
12201 fi
12202 ;;
12203
12204 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12205 lt_prog_compiler_wl='-Wl,'
12206 lt_prog_compiler_pic='-KPIC'
12207 lt_prog_compiler_static='-Bstatic'
12208 ;;
12209
12210 unicos*)
12211 lt_prog_compiler_wl='-Wl,'
12212 lt_prog_compiler_can_build_shared=no
12213 ;;
12214
12215 uts4*)
12216 lt_prog_compiler_pic='-pic'
12217 lt_prog_compiler_static='-Bstatic'
12218 ;;
12219
12220 *)
12221 lt_prog_compiler_can_build_shared=no
12222 ;;
12223 esac
12224 fi
12225
12226 case $host_os in
12227 # For platforms that do not support PIC, -DPIC is meaningless:
12228 *djgpp*)
12229 lt_prog_compiler_pic=
12230 ;;
12231 *)
12232 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
12233 ;;
12234 esac
12235
12236 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12237 printfscip-shell system . . printf. %s "checking for $compiler option to produce PIC... " >&6; }
12238 if testscip-shell system . . test. ${lt_cv_prog_compiler_pic+y}
12239 then :
12240 printfscip-shell system . . printf. %s "(cached) " >&6
12241 else $as_nop
12242 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
12243 fi
12244 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
12245 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
12246 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
12247
12248 #
12249 # Check to make sure the PIC flag actually works.
12250 #
12251 if testscip-shell system . . test. -n "$lt_prog_compiler_pic"; then
12252 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
12253 printfscip-shell system . . printf. %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
12254 if testscip-shell system . . test. ${lt_cv_prog_compiler_pic_works+y}
12255 then :
12256 printfscip-shell system . . printf. %s "(cached) " >&6
12257 else $as_nop
12258 lt_cv_prog_compiler_pic_works=no
12259 ac_outfile=conftest.$ac_objext
12260 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
12261 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
12262 # Insert the option either (1) after the last *FLAGS variable, or
12263 # (2) before a word containing "conftest.", or (3) at the end.
12264 # Note that $ac_compile itself does not contain backslashes and begins
12265 # with a dollar sign (not a hyphen), so the echo should work correctly.
12266 # The option is referenced via a variable to avoid confusing sed.
12267 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
12268 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12269 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12270 -e 's:$: $lt_compiler_flag:'`
12271 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12272 (eval "$lt_compile" 2>conftest.err)
12273 ac_status=$?
12274 catscip-shell system . . cat. conftest.err >&5
12275 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
12276 if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then
12277 # The compiler can only warn and ignore the option if not recognized
12278 # So say no if there are warnings other than the usual output.
12279 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp
12280 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
12281 if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
12282 lt_cv_prog_compiler_pic_works=yes
12283 fi
12284 fi
12285 $RM conftest*
12286
12287 fi
12288 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
12289 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
12290
12291 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_pic_works"; then
12292 case $lt_prog_compiler_pic in
12293 "" | " "*) ;;
12294 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
12295 esac
12296 else
12297 lt_prog_compiler_pic=
12298 lt_prog_compiler_can_build_shared=no
12299 fi
12300
12301 fi
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313 #
12314 # Check to make sure the static flag actually works.
12315 #
12316 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
12317 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12318 printfscip-shell system . . printf. %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12319 if testscip-shell system . . test. ${lt_cv_prog_compiler_static_works+y}
12320 then :
12321 printfscip-shell system . . printf. %s "(cached) " >&6
12322 else $as_nop
12323 lt_cv_prog_compiler_static_works=no
12324 save_LDFLAGS=$LDFLAGS
12325 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12326 echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext
12327 if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then
12328 # The linker can only warn and ignore the option if not recognized
12329 # So say no if there are warnings
12330 if testscip-shell system . . test. -s conftest.err; then
12331 # Append any errors to the config.log.
12332 catscip-shell system . . cat. conftest.err 1>&5
12333 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp
12334 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
12335 if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
12336 lt_cv_prog_compiler_static_works=yes
12337 fi
12338 else
12339 lt_cv_prog_compiler_static_works=yes
12340 fi
12341 fi
12342 $RM -r conftest*
12343 LDFLAGS=$save_LDFLAGS
12344
12345 fi
12346 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
12347 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
12348
12349 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_static_works"; then
12350 :
12351 else
12352 lt_prog_compiler_static=
12353 fi
12354
12355
12356
12357
12358
12359
12360
12361 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12362 printfscip-shell system . . printf. %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12363 if testscip-shell system . . test. ${lt_cv_prog_compiler_c_o+y}
12364 then :
12365 printfscip-shell system . . printf. %s "(cached) " >&6
12366 else $as_nop
12367 lt_cv_prog_compiler_c_o=no
12368 $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`.
12369 mkdirscip-shell system . . mkdir. conftest
12370 cd conftest
12371 mkdirscip-shell system . . mkdir. out
12372 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
12373
12374 lt_compiler_flag="-o out/conftest2.$ac_objext"
12375 # Insert the option either (1) after the last *FLAGS variable, or
12376 # (2) before a word containing "conftest.", or (3) at the end.
12377 # Note that $ac_compile itself does not contain backslashes and begins
12378 # with a dollar sign (not a hyphen), so the echo should work correctly.
12379 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
12380 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12381 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12382 -e 's:$: $lt_compiler_flag:'`
12383 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12384 (eval "$lt_compile" 2>out/conftest.err)
12385 ac_status=$?
12386 catscip-shell system . . cat. out/conftest.err >&5
12387 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
12388 if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext
12389 then
12390 # The compiler can only warn and ignore the option if not recognized
12391 # So say no if there are warnings
12392 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp
12393 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2
12394 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
12395 lt_cv_prog_compiler_c_o=yes
12396 fi
12397 fi
12398 chmodscip-shell system . . chmod. u+w . 2>&5
12399 $RM conftest*
12400 # SGI C++ compiler will create directory out/ii_files/ for
12401 # template instantiation
12402 testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files
12403 $RM out/* && rmdirscip-shell system . . rmdir. out
12404 cd ..
12405 $RM -r conftest
12406 $RM conftest*
12407
12408 fi
12409 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12410 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
12411
12412
12413
12414
12415
12416
12417 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12418 printfscip-shell system . . printf. %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12419 if testscip-shell system . . test. ${lt_cv_prog_compiler_c_o+y}
12420 then :
12421 printfscip-shell system . . printf. %s "(cached) " >&6
12422 else $as_nop
12423 lt_cv_prog_compiler_c_o=no
12424 $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`.
12425 mkdirscip-shell system . . mkdir. conftest
12426 cd conftest
12427 mkdirscip-shell system . . mkdir. out
12428 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
12429
12430 lt_compiler_flag="-o out/conftest2.$ac_objext"
12431 # Insert the option either (1) after the last *FLAGS variable, or
12432 # (2) before a word containing "conftest.", or (3) at the end.
12433 # Note that $ac_compile itself does not contain backslashes and begins
12434 # with a dollar sign (not a hyphen), so the echo should work correctly.
12435 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
12436 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12437 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12438 -e 's:$: $lt_compiler_flag:'`
12439 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12440 (eval "$lt_compile" 2>out/conftest.err)
12441 ac_status=$?
12442 catscip-shell system . . cat. out/conftest.err >&5
12443 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
12444 if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext
12445 then
12446 # The compiler can only warn and ignore the option if not recognized
12447 # So say no if there are warnings
12448 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp
12449 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2
12450 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
12451 lt_cv_prog_compiler_c_o=yes
12452 fi
12453 fi
12454 chmodscip-shell system . . chmod. u+w . 2>&5
12455 $RM conftest*
12456 # SGI C++ compiler will create directory out/ii_files/ for
12457 # template instantiation
12458 testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files
12459 $RM out/* && rmdirscip-shell system . . rmdir. out
12460 cd ..
12461 $RM -r conftest
12462 $RM conftest*
12463
12464 fi
12465 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12466 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
12467
12468
12469
12470
12471 hard_links=nottested
12472 if testscip-shell system . . test. no = "$lt_cv_prog_compiler_c_o" && testscip-shell system . . test. no != "$need_locks"; then
12473 # do not overwrite the value of need_locks provided by the user
12474 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12475 printfscip-shell system . . printf. %s "checking if we can lock with hard links... " >&6; }
12476 hard_links=yes
12477 $RM conftest*
12478 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
12479 touchscip-shell system . . touch. conftest.a
12480 lnscip-shell system . . ln. conftest.a conftest.b 2>&5 || hard_links=no
12481 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
12482 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12483 printfscip-shell system . . printf. "%s\n" "$hard_links" >&6; }
12484 if testscip-shell system . . test. no = "$hard_links"; then
12485 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
12486 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
12487 need_locks=warn
12488 fi
12489 else
12490 need_locks=no
12491 fi
12492
12493
12494
12495
12496
12497
12498 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12499 printfscip-shell system . . printf. %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12500
12501 runpath_var=
12502 allow_undefined_flag=
12503 always_export_symbols=no
12504 archive_cmds=
12505 archive_expsym_cmds=
12506 compiler_needs_object=no
12507 enable_shared_with_static_runtimes=no
12508 export_dynamic_flag_spec=
12509 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12510 hardcode_automatic=no
12511 hardcode_direct=no
12512 hardcode_direct_absolute=no
12513 hardcode_libdir_flag_spec=
12514 hardcode_libdir_separator=
12515 hardcode_minus_L=no
12516 hardcode_shlibpath_var=unsupported
12517 inherit_rpath=no
12518 link_all_deplibs=unknown
12519 module_cmds=
12520 module_expsym_cmds=
12521 old_archive_from_new_cmds=
12522 old_archive_from_expsyms_cmds=
12523 thread_safe_flag_spec=
12524 whole_archive_flag_spec=
12525 # include_expsyms should be a list of space-separated symbols to be *always*
12526 # included in the symbol list
12527 include_expsyms=
12528 # exclude_expsyms can be an extended regexp of symbols to exclude
12529 # it will be wrapped by ' (' and ')$', so one must not match beginning or
12530 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
12531 # as well as any symbol that contains 'd'.
12532 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12533 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12534 # platforms (ab)use it in PIC code, but their linkers get confused if
12535 # the symbol is explicitly referenced. Since portable code cannot
12536 # rely on this symbol name, it's probably fine to never include it in
12537 # preloaded symbol tables.
12538 # Exclude shared library initialization/finalization symbols.
12539 extract_expsyms_cmds=
12540
12541 case $host_os in
12542 cygwin* | mingw* | pw32* | cegcc*)
12543 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
12544 # When not using gcc, we currently assume that we are using
12545 # Microsoft Visual C++ or Intel C++ Compiler.
12546 if testscip-shell system . . test. yes != "$GCC"; then
12547 with_gnu_ld=no
12548 fi
12549 ;;
12550 interix*)
12551 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
12552 with_gnu_ld=yes
12553 ;;
12554 openbsd* | bitrig*)
12555 with_gnu_ld=no
12556 ;;
12557 linux* | k*bsd*-gnu | gnu*)
12558 link_all_deplibs=no
12559 ;;
12560 esac
12561
12562 ld_shlibs=yes
12563
12564 # On some targets, GNU ld is compatible enough with the native linker
12565 # that we're better off using the native interface for both.
12566 lt_use_gnu_ld_interface=no
12567 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
12568 case $host_os in
12569 aix*)
12570 # The AIX port of GNU ld has always aspired to compatibility
12571 # with the native linker. However, as the warning in the GNU ld
12572 # block says, versions before 2.19.5* couldn't really create working
12573 # shared libraries, regardless of the interface used.
12574 case `$LD -v 2>&1` in
12575 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12576 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12577 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12578 *)
12579 lt_use_gnu_ld_interface=yes
12580 ;;
12581 esac
12582 ;;
12583 *)
12584 lt_use_gnu_ld_interface=yes
12585 ;;
12586 esac
12587 fi
12588
12589 if testscip-shell system . . test. yes = "$lt_use_gnu_ld_interface"; then
12590 # If archive_cmds runs LD, not CC, wlarc should be empty
12591 wlarc='$wl'
12592
12593 # Set some defaults for GNU ld with shared library support. These
12594 # are reset later if shared libraries are not supported. Putting them
12595 # here allows them to be overridden if necessary.
12596 runpath_var=LD_RUN_PATH
12597 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12598 export_dynamic_flag_spec='$wl--export-dynamic'
12599 # ancient GNU ld didn't support --whole-archive et. al.
12600 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
12601 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
12602 else
12603 whole_archive_flag_spec=
12604 fi
12605 supports_anon_versioning=no
12606 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
12607 *GNU\ gold*) supports_anon_versioning=yes ;;
12608 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12609 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12610 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12611 *\ 2.11.*) ;; # other 2.11 versions
12612 *) supports_anon_versioning=yes ;;
12613 esac
12614
12615 # See if GNU ld supports shared libraries.
12616 case $host_os in
12617 aix[3-9]*)
12618 # On AIX/PPC, the GNU linker is very broken
12619 if testscip-shell system . . test. ia64 != "$host_cpu"; then
12620 ld_shlibs=no
12621 catscip-shell system . . cat. <<_LT_EOF 1>&2
12622
12623 *** Warning: the GNU linker, at least up to release 2.19, is reported
12624 *** to be unable to reliably create shared libraries on AIX.
12625 *** Therefore, libtool is disabling shared libraries support. If you
12626 *** really care for shared libraries, you may want to install binutils
12627 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12628 *** You will then need to restart the configuration process.
12629
12630 _LT_EOF
12631 fi
12632 ;;
12633
12634 amigaos*)
12635 case $host_cpu in
12636 powerpc)
12637 # see comment about AmigaOS4 .so support
12638 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12639 archive_expsym_cmds=''
12640 ;;
12641 m68k)
12642 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)'
12643 hardcode_libdir_flag_spec='-L$libdir'
12644 hardcode_minus_L=yes
12645 ;;
12646 esac
12647 ;;
12648
12649 beos*)
12650 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
12651 allow_undefined_flag=unsupported
12652 # Joseph Beckenbach <[email protected]> says some releases of gcc
12653 # support --undefined. This deserves some investigation. FIXME
12654 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12655 else
12656 ld_shlibs=no
12657 fi
12658 ;;
12659
12660 cygwin* | mingw* | pw32* | cegcc*)
12661 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12662 # as there is no search path for DLLs.
12663 hardcode_libdir_flag_spec='-L$libdir'
12664 export_dynamic_flag_spec='$wl--export-all-symbols'
12665 allow_undefined_flag=unsupported
12666 always_export_symbols=no
12667 enable_shared_with_static_runtimes=yes
12668 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'
12669 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12670
12671 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
12672 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12673 # If the export-symbols file already is a .def file, use it as
12674 # is; otherwise, prepend EXPORTS...
12675 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12676 cp $export_symbols $output_objdir/$soname.def;
12677 else
12678 echo EXPORTS > $output_objdir/$soname.def;
12679 cat $export_symbols >> $output_objdir/$soname.def;
12680 fi~
12681 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12682 else
12683 ld_shlibs=no
12684 fi
12685 ;;
12686
12687 haiku*)
12688 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12689 link_all_deplibs=yes
12690 ;;
12691
12692 os2*)
12693 hardcode_libdir_flag_spec='-L$libdir'
12694 hardcode_minus_L=yes
12695 allow_undefined_flag=unsupported
12696 shrext_cmds=.dll
12697 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12698 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12699 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12700 $ECHO EXPORTS >> $output_objdir/$libname.def~
12701 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12702 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12703 emximp -o $lib $output_objdir/$libname.def'
12704 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12705 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12706 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12707 $ECHO EXPORTS >> $output_objdir/$libname.def~
12708 prefix_cmds="$SED"~
12709 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12710 prefix_cmds="$prefix_cmds -e 1d";
12711 fi~
12712 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12713 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12714 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12715 emximp -o $lib $output_objdir/$libname.def'
12716 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12717 enable_shared_with_static_runtimes=yes
12718 file_list_spec='@'
12719 ;;
12720
12721 interix[3-9]*)
12722 hardcode_direct=no
12723 hardcode_shlibpath_var=no
12724 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12725 export_dynamic_flag_spec='$wl-E'
12726 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12727 # Instead, shared libraries are loaded at an image base (0x10000000 by
12728 # default) and relocated if they conflict, which is a slow very memory
12729 # consuming and fragmenting process. To avoid this, we pick a random,
12730 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12731 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12732 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12733 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'
12734 ;;
12735
12736 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12737 tmp_diet=no
12738 if testscip-shell system . . test. linux-dietlibc = "$host_os"; then
12739 case $cc_basename in
12740 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12741 esac
12742 fi
12743 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`. \
12744 && testscip-shell system . . test. no = "$tmp_diet"
12745 then
12746 tmp_addflag=' $pic_flag'
12747 tmp_sharedflag='-shared'
12748 case $cc_basename,$host_cpu in
12749 pgcc*) # Portland Group C compiler
12750 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'
12751 tmp_addflag=' $pic_flag'
12752 ;;
12753 pgf77* | pgf90* | pgf95* | pgfortran*)
12754 # Portland Group f77 and f90 compilers
12755 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'
12756 tmp_addflag=' $pic_flag -Mnomain' ;;
12757 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12758 tmp_addflag=' -i_dynamic' ;;
12759 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12760 tmp_addflag=' -i_dynamic -nofor_main' ;;
12761 ifc* | ifort*) # Intel Fortran compiler
12762 tmp_addflag=' -nofor_main' ;;
12763 lf95*) # Lahey Fortran 8.1
12764 whole_archive_flag_spec=
12765 tmp_sharedflag='--shared' ;;
12766 nagfor*) # NAGFOR 5.3
12767 tmp_sharedflag='-Wl,-shared' ;;
12768 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12769 tmp_sharedflag='-qmkshrobj'
12770 tmp_addflag= ;;
12771 nvcc*) # Cuda Compiler Driver 2.2
12772 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'
12773 compiler_needs_object=yes
12774 ;;
12775 esac
12776 case `$CC -V 2>&1 | $SED 5q` in
12777 *Sun\ C*) # Sun C 5.9
12778 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'
12779 compiler_needs_object=yes
12780 tmp_sharedflag='-G' ;;
12781 *Sun\ F*) # Sun Fortran 8.3
12782 tmp_sharedflag='-G' ;;
12783 esac
12784 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12785
12786 if testscip-shell system . . test. yes = "$supports_anon_versioning"; then
12787 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12788 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12789 echo "local: *; };" >> $output_objdir/$libname.ver~
12790 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
12791 fi
12792
12793 case $cc_basename in
12794 tcc*)
12795 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12796 export_dynamic_flag_spec='-rdynamic'
12797 ;;
12798 xlf* | bgf* | bgxlf* | mpixlf*)
12799 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12800 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12801 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12802 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12803 if testscip-shell system . . test. yes = "$supports_anon_versioning"; then
12804 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12805 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12806 echo "local: *; };" >> $output_objdir/$libname.ver~
12807 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12808 fi
12809 ;;
12810 esac
12811 else
12812 ld_shlibs=no
12813 fi
12814 ;;
12815
12816 netbsd* | netbsdelf*-gnu)
12817 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
12818 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12819 wlarc=
12820 else
12821 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12822 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12823 fi
12824 ;;
12825
12826 solaris*)
12827 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
12828 ld_shlibs=no
12829 catscip-shell system . . cat. <<_LT_EOF 1>&2
12830
12831 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12832 *** create shared libraries on Solaris systems. Therefore, libtool
12833 *** is disabling shared libraries support. We urge you to upgrade GNU
12834 *** binutils to release 2.9.1 or newer. Another option is to modify
12835 *** your PATH or compiler configuration so that the native linker is
12836 *** used, and then restart.
12837
12838 _LT_EOF
12839 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
12840 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12841 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12842 else
12843 ld_shlibs=no
12844 fi
12845 ;;
12846
12847 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12848 case `$LD -v 2>&1` in
12849 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12850 ld_shlibs=no
12851 catscip-shell system . . cat. <<_LT_EOF 1>&2
12852
12853 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12854 *** reliably create shared libraries on SCO systems. Therefore, libtool
12855 *** is disabling shared libraries support. We urge you to upgrade GNU
12856 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12857 *** your PATH or compiler configuration so that the native linker is
12858 *** used, and then restart.
12859
12860 _LT_EOF
12861 ;;
12862 *)
12863 # For security reasons, it is highly recommended that you always
12864 # use absolute paths for naming shared libraries, and exclude the
12865 # DT_RUNPATH tag from executables and libraries. But doing so
12866 # requires that you compile everything twice, which is a pain.
12867 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
12868 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12869 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12870 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12871 else
12872 ld_shlibs=no
12873 fi
12874 ;;
12875 esac
12876 ;;
12877
12878 sunos4*)
12879 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12880 wlarc=
12881 hardcode_direct=yes
12882 hardcode_shlibpath_var=no
12883 ;;
12884
12885 *)
12886 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
12887 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12888 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12889 else
12890 ld_shlibs=no
12891 fi
12892 ;;
12893 esac
12894
12895 if testscip-shell system . . test. no = "$ld_shlibs"; then
12896 runpath_var=
12897 hardcode_libdir_flag_spec=
12898 export_dynamic_flag_spec=
12899 whole_archive_flag_spec=
12900 fi
12901 else
12902 # PORTME fill in a description of your system's linker (not GNU ld)
12903 case $host_os in
12904 aix3*)
12905 allow_undefined_flag=unsupported
12906 always_export_symbols=yes
12907 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'
12908 # Note: this linker hardcodes the directories in LIBPATH if there
12909 # are no directories specified by -L.
12910 hardcode_minus_L=yes
12911 if testscip-shell system . . test. yes = "$GCC" && testscip-shell system . . test. -z "$lt_prog_compiler_static"; then
12912 # Neither direct hardcoding nor static linking is supported with a
12913 # broken collect2.
12914 hardcode_direct=unsupported
12915 fi
12916 ;;
12917
12918 aix[4-9]*)
12919 if testscip-shell system . . test. ia64 = "$host_cpu"; then
12920 # On IA64, the linker does run time linking by default, so we don't
12921 # have to do anything special.
12922 aix_use_runtimelinking=no
12923 exp_sym_flag='-Bexport'
12924 no_entry_flag=
12925 else
12926 # If we're using GNU nm, then we don't want the "-C" option.
12927 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12928 # Without the "-l" option, or with the "-B" option, AIX nm treats
12929 # weak defined symbols like other global defined symbols, whereas
12930 # GNU nm marks them as "W".
12931 # While the 'weak' keyword is ignored in the Export File, we need
12932 # it in the Import File for the 'aix-soname' feature, so we have
12933 # to replace the "-B" option with "-P" for AIX nm.
12934 if $NM -V 2>&1 | $GREP 'GNU' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
12935 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'
12936 else
12937 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 == "L") || (\$ 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'
12938 fi
12939 aix_use_runtimelinking=no
12940
12941 # Test if we are trying to use run time linking or normal
12942 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12943 # have runtime linking enabled, and use it for executables.
12944 # For shared libraries, we enable/disable runtime linking
12945 # depending on the kind of the shared library created -
12946 # when "with_aix_soname,aix_use_runtimelinking" is:
12947 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12948 # "aix,yes" lib.so shared, rtl:yes, for executables
12949 # lib.a static archive
12950 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12951 # lib.a(lib.so.V) shared, rtl:no, for executables
12952 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12953 # lib.a(lib.so.V) shared, rtl:no
12954 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12955 # lib.a static archive
12956 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12957 for ld_flag in $LDFLAGS; do
12958 if (testscip-shell system . . test. x-brtl = "x$ld_flag" || testscip-shell system . . test. x-Wl,-brtl = "x$ld_flag"); then
12959 aix_use_runtimelinking=yes
12960 break
12961 fi
12962 done
12963 if testscip-shell system . . test. svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
12964 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12965 # so we don't have lib.a shared libs to link our executables.
12966 # We have to force runtime linking in this case.
12967 aix_use_runtimelinking=yes
12968 LDFLAGS="$LDFLAGS -Wl,-brtl"
12969 fi
12970 ;;
12971 esac
12972
12973 exp_sym_flag='-bexport'
12974 no_entry_flag='-bnoentry'
12975 fi
12976
12977 # When large executables or shared objects are built, AIX ld can
12978 # have problems creating the table of contents. If linking a library
12979 # or program results in "error TOC overflow" add -mminimal-toc to
12980 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12981 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12982
12983 archive_cmds=''
12984 hardcode_direct=yes
12985 hardcode_direct_absolute=yes
12986 hardcode_libdir_separator=':'
12987 link_all_deplibs=yes
12988 file_list_spec='$wl-f,'
12989 case $with_aix_soname,$aix_use_runtimelinking in
12990 aix,*) ;; # traditional, no import file
12991 svr4,* | *,yes) # use import file
12992 # The Import File defines what to hardcode.
12993 hardcode_direct=no
12994 hardcode_direct_absolute=no
12995 ;;
12996 esac
12997
12998 if testscip-shell system . . test. yes = "$GCC"; then
12999 case $host_os in aix4.[012]|aix4.[012].*)
13000 # We only want to do this on AIX 4.2 and lower, the check
13001 # below for broken collect2 doesn't work under 4.3+
13002 collect2name=`$CC -print-prog-name=collect2`
13003 if testscip-shell system . . test. -f "$collect2name" &&
13004 stringsscip-shell system . . strings. "$collect2name" | $GREP resolve_lib_name >/dev/nullscip-shell filesystem . . `/dev/null`.
13005 then
13006 # We have reworked collect2
13007 :
13008 else
13009 # We have old collect2
13010 hardcode_direct=unsupported
13011 # It fails to find uninstalled libraries when the uninstalled
13012 # path is not listed in the libpath. Setting hardcode_minus_L
13013 # to unsupported forces relinking
13014 hardcode_minus_L=yes
13015 hardcode_libdir_flag_spec='-L$libdir'
13016 hardcode_libdir_separator=
13017 fi
13018 ;;
13019 esac
13020 shared_flag='-shared'
13021 if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then
13022 shared_flag="$shared_flag "'$wl-G'
13023 fi
13024 # Need to ensure runtime linking is disabled for the traditional
13025 # shared library, or the linker may eventually find shared libraries
13026 # /with/ Import File - we do not want to mix them.
13027 shared_flag_aix='-shared'
13028 shared_flag_svr4='-shared $wl-G'
13029 else
13030 # not using gcc
13031 if testscip-shell system . . test. ia64 = "$host_cpu"; then
13032 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13033 # chokes on -Wl,-G. The following line is correct:
13034 shared_flag='-G'
13035 else
13036 if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then
13037 shared_flag='$wl-G'
13038 else
13039 shared_flag='$wl-bM:SRE'
13040 fi
13041 shared_flag_aix='$wl-bM:SRE'
13042 shared_flag_svr4='$wl-G'
13043 fi
13044 fi
13045
13046 export_dynamic_flag_spec='$wl-bexpall'
13047 # It seems that -bexpall does not export symbols beginning with
13048 # underscore (_), so it is better to generate a list of symbols to export.
13049 always_export_symbols=yes
13050 if testscip-shell system . . test. aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13051 # Warning - without using the other runtime loading flags (-brtl),
13052 # -berok will link without error, but may produce a broken library.
13053 allow_undefined_flag='-berok'
13054 # Determine the default libpath from the value encoded in an
13055 # empty executable.
13056 if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then
13057 aix_libpath=$lt_cv_aix_libpath
13058 else
13059 if testscip-shell system . . test. ${lt_cv_aix_libpath_+y}
13060 then :
13061 printfscip-shell system . . printf. %s "(cached) " >&6
13062 else $as_nop
13063 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13064 /* end confdefs.h. */
13065
13066 int
13067 main (void)
13068 {
13069
13070 ;
13071 return 0;
13072 }
13073 _ACEOF
13074 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
13075 then :
13076
13077 lt_aix_libpath_sed='
13078 /Import File Strings/,/^$/ {
13079 /^0/ {
13080 s/^0 *\([^ ]*\) *$/\1/
13081 p
13082 }
13083 }'
13084 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
13085 # Check for a 64-bit object if we didn't find anything.
13086 if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then
13087 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
13088 fi
13089 fi
13090 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
13091 conftest$ac_exeext conftest.$ac_ext
13092 if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then
13093 lt_cv_aix_libpath_=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`.
13094 fi
13095
13096 fi
13097
13098 aix_libpath=$lt_cv_aix_libpath_
13099 fi
13100
13101 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
13102 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
13103 else
13104 if testscip-shell system . . test. ia64 = "$host_cpu"; then
13105 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
13106 allow_undefined_flag="-z nodefs"
13107 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"
13108 else
13109 # Determine the default libpath from the value encoded in an
13110 # empty executable.
13111 if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then
13112 aix_libpath=$lt_cv_aix_libpath
13113 else
13114 if testscip-shell system . . test. ${lt_cv_aix_libpath_+y}
13115 then :
13116 printfscip-shell system . . printf. %s "(cached) " >&6
13117 else $as_nop
13118 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13119 /* end confdefs.h. */
13120
13121 int
13122 main (void)
13123 {
13124
13125 ;
13126 return 0;
13127 }
13128 _ACEOF
13129 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
13130 then :
13131
13132 lt_aix_libpath_sed='
13133 /Import File Strings/,/^$/ {
13134 /^0/ {
13135 s/^0 *\([^ ]*\) *$/\1/
13136 p
13137 }
13138 }'
13139 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
13140 # Check for a 64-bit object if we didn't find anything.
13141 if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then
13142 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
13143 fi
13144 fi
13145 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
13146 conftest$ac_exeext conftest.$ac_ext
13147 if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then
13148 lt_cv_aix_libpath_=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`.
13149 fi
13150
13151 fi
13152
13153 aix_libpath=$lt_cv_aix_libpath_
13154 fi
13155
13156 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
13157 # Warning - without using the other run time loading flags,
13158 # -berok will link without error, but may produce a broken library.
13159 no_undefined_flag=' $wl-bernotok'
13160 allow_undefined_flag=' $wl-berok'
13161 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
13162 # We only use this code for GNU lds that support --whole-archive.
13163 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
13164 else
13165 # Exported symbols can be pulled into shared objects from archives
13166 whole_archive_flag_spec='$convenience'
13167 fi
13168 archive_cmds_need_lc=yes
13169 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13170 # -brtl affects multiple linker settings, -berok does not and is overridden later
13171 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13172 if testscip-shell system . . test. svr4 != "$with_aix_soname"; then
13173 # This is similar to how AIX traditionally builds its shared libraries.
13174 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'
13175 fi
13176 if testscip-shell system . . test. aix != "$with_aix_soname"; then
13177 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'
13178 else
13179 # used by -dlpreopen to get the symbols
13180 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13181 fi
13182 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
13183 fi
13184 fi
13185 ;;
13186
13187 amigaos*)
13188 case $host_cpu in
13189 powerpc)
13190 # see comment about AmigaOS4 .so support
13191 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13192 archive_expsym_cmds=''
13193 ;;
13194 m68k)
13195 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)'
13196 hardcode_libdir_flag_spec='-L$libdir'
13197 hardcode_minus_L=yes
13198 ;;
13199 esac
13200 ;;
13201
13202 bsdi[45]*)
13203 export_dynamic_flag_spec=-rdynamic
13204 ;;
13205
13206 cygwin* | mingw* | pw32* | cegcc*)
13207 # When not using gcc, we currently assume that we are using
13208 # Microsoft Visual C++ or Intel C++ Compiler.
13209 # hardcode_libdir_flag_spec is actually meaningless, as there is
13210 # no search path for DLLs.
13211 case $cc_basename in
13212 cl* | icl*)
13213 # Native MSVC or ICC
13214 hardcode_libdir_flag_spec=' '
13215 allow_undefined_flag=unsupported
13216 always_export_symbols=yes
13217 file_list_spec='@'
13218 # Tell ltmain to make .lib files, not .a files.
13219 libext=lib
13220 # Tell ltmain to make .dll files, not .so files.
13221 shrext_cmds=.dll
13222 # FIXME: Setting linknames here is a bad hack.
13223 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13224 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13225 cp "$export_symbols" "$output_objdir/$soname.def";
13226 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13227 else
13228 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13229 fi~
13230 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13231 linknames='
13232 # The linker will not automatically build a static lib if we build a DLL.
13233 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
13234 enable_shared_with_static_runtimes=yes
13235 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
13236 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13237 # Don't use ranlib
13238 old_postinstall_cmds='chmod 644 $oldlib'
13239 postlink_cmds='lt_outputfile="@OUTPUT@"~
13240 lt_tool_outputfile="@TOOL_OUTPUT@"~
13241 case $lt_outputfile in
13242 *.exe|*.EXE) ;;
13243 *)
13244 lt_outputfile=$lt_outputfile.exe
13245 lt_tool_outputfile=$lt_tool_outputfile.exe
13246 ;;
13247 esac~
13248 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13249 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13250 $RM "$lt_outputfile.manifest";
13251 fi'
13252 ;;
13253 *)
13254 # Assume MSVC and ICC wrapper
13255 hardcode_libdir_flag_spec=' '
13256 allow_undefined_flag=unsupported
13257 # Tell ltmain to make .lib files, not .a files.
13258 libext=lib
13259 # Tell ltmain to make .dll files, not .so files.
13260 shrext_cmds=.dll
13261 # FIXME: Setting linknames here is a bad hack.
13262 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13263 # The linker will automatically build a .lib file if we build a DLL.
13264 old_archive_from_new_cmds='true'
13265 # FIXME: Should let the user specify the lib program.
13266 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
13267 enable_shared_with_static_runtimes=yes
13268 ;;
13269 esac
13270 ;;
13271
13272 darwin* | rhapsody*)
13273
13274
13275 archive_cmds_need_lc=no
13276 hardcode_direct=no
13277 hardcode_automatic=yes
13278 hardcode_shlibpath_var=unsupported
13279 if testscip-shell system . . test. yes = "$lt_cv_ld_force_load"; then
13280 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\"`'
13281
13282 else
13283 whole_archive_flag_spec=''
13284 fi
13285 link_all_deplibs=yes
13286 allow_undefined_flag=$_lt_dar_allow_undefined
13287 case $cc_basename in
13288 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
13289 *) _lt_dar_can_shared=$GCC ;;
13290 esac
13291 if testscip-shell system . . test. yes = "$_lt_dar_can_shared"; then
13292 output_verbose_link_cmd=func_echo_all
13293 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
13294 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13295 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"
13296 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"
13297
13298 else
13299 ld_shlibs=no
13300 fi
13301
13302 ;;
13303
13304 dgux*)
13305 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13306 hardcode_libdir_flag_spec='-L$libdir'
13307 hardcode_shlibpath_var=no
13308 ;;
13309
13310 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13311 # support. Future versions do this automatically, but an explicit c++rt0.o
13312 # does not break anything, and helps significantly (at the cost of a little
13313 # extra space).
13314 freebsd2.2*)
13315 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13316 hardcode_libdir_flag_spec='-R$libdir'
13317 hardcode_direct=yes
13318 hardcode_shlibpath_var=no
13319 ;;
13320
13321 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13322 freebsd2.*)
13323 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13324 hardcode_direct=yes
13325 hardcode_minus_L=yes
13326 hardcode_shlibpath_var=no
13327 ;;
13328
13329 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13330 freebsd* | dragonfly* | midnightbsd*)
13331 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13332 hardcode_libdir_flag_spec='-R$libdir'
13333 hardcode_direct=yes
13334 hardcode_shlibpath_var=no
13335 ;;
13336
13337 hpux9*)
13338 if testscip-shell system . . test. yes = "$GCC"; then
13339 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'
13340 else
13341 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'
13342 fi
13343 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
13344 hardcode_libdir_separator=:
13345 hardcode_direct=yes
13346
13347 # hardcode_minus_L: Not really in the search PATH,
13348 # but as the default location of the library.
13349 hardcode_minus_L=yes
13350 export_dynamic_flag_spec='$wl-E'
13351 ;;
13352
13353 hpux10*)
13354 if testscip-shell system . . test. yes,no = "$GCC,$with_gnu_ld"; then
13355 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13356 else
13357 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13358 fi
13359 if testscip-shell system . . test. no = "$with_gnu_ld"; then
13360 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
13361 hardcode_libdir_separator=:
13362 hardcode_direct=yes
13363 hardcode_direct_absolute=yes
13364 export_dynamic_flag_spec='$wl-E'
13365 # hardcode_minus_L: Not really in the search PATH,
13366 # but as the default location of the library.
13367 hardcode_minus_L=yes
13368 fi
13369 ;;
13370
13371 hpux11*)
13372 if testscip-shell system . . test. yes,no = "$GCC,$with_gnu_ld"; then
13373 case $host_cpu in
13374 hppa*64*)
13375 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13376 ;;
13377 ia64*)
13378 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13379 ;;
13380 *)
13381 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13382 ;;
13383 esac
13384 else
13385 case $host_cpu in
13386 hppa*64*)
13387 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13388 ;;
13389 ia64*)
13390 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13391 ;;
13392 *)
13393
13394 # Older versions of the 11.00 compiler do not understand -b yet
13395 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
13396 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
13397 printfscip-shell system . . printf. %s "checking if $CC understands -b... " >&6; }
13398 if testscip-shell system . . test. ${lt_cv_prog_compiler__b+y}
13399 then :
13400 printfscip-shell system . . printf. %s "(cached) " >&6
13401 else $as_nop
13402 lt_cv_prog_compiler__b=no
13403 save_LDFLAGS=$LDFLAGS
13404 LDFLAGS="$LDFLAGS -b"
13405 echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext
13406 if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then
13407 # The linker can only warn and ignore the option if not recognized
13408 # So say no if there are warnings
13409 if testscip-shell system . . test. -s conftest.err; then
13410 # Append any errors to the config.log.
13411 catscip-shell system . . cat. conftest.err 1>&5
13412 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp
13413 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
13414 if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
13415 lt_cv_prog_compiler__b=yes
13416 fi
13417 else
13418 lt_cv_prog_compiler__b=yes
13419 fi
13420 fi
13421 $RM -r conftest*
13422 LDFLAGS=$save_LDFLAGS
13423
13424 fi
13425 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
13426 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler__b" >&6; }
13427
13428 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler__b"; then
13429 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13430 else
13431 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13432 fi
13433
13434 ;;
13435 esac
13436 fi
13437 if testscip-shell system . . test. no = "$with_gnu_ld"; then
13438 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
13439 hardcode_libdir_separator=:
13440
13441 case $host_cpu in
13442 hppa*64*|ia64*)
13443 hardcode_direct=no
13444 hardcode_shlibpath_var=no
13445 ;;
13446 *)
13447 hardcode_direct=yes
13448 hardcode_direct_absolute=yes
13449 export_dynamic_flag_spec='$wl-E'
13450
13451 # hardcode_minus_L: Not really in the search PATH,
13452 # but as the default location of the library.
13453 hardcode_minus_L=yes
13454 ;;
13455 esac
13456 fi
13457 ;;
13458
13459 irix5* | irix6* | nonstopux*)
13460 if testscip-shell system . . test. yes = "$GCC"; then
13461 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'
13462 # Try to use the -exported_symbol ld option, if it does not
13463 # work, assume that -exports_file does not work either and
13464 # implicitly export all symbols.
13465 # This should be the same for all languages, so no per-tag cache variable.
13466 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
13467 printfscip-shell system . . printf. %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
13468 if testscip-shell system . . test. ${lt_cv_irix_exported_symbol+y}
13469 then :
13470 printfscip-shell system . . printf. %s "(cached) " >&6
13471 else $as_nop
13472 save_LDFLAGS=$LDFLAGS
13473 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
13474 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13476 int foo (void) { return 0; }
13477 _ACEOF
13478 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
13479 then :
13480 lt_cv_irix_exported_symbol=yes
13481 else $as_nop
13482 lt_cv_irix_exported_symbol=no
13483 fi
13484 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
13485 conftest$ac_exeext conftest.$ac_ext
13486 LDFLAGS=$save_LDFLAGS
13487 fi
13488 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
13489 printfscip-shell system . . printf. "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
13490 if testscip-shell system . . test. yes = "$lt_cv_irix_exported_symbol"; then
13491 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'
13492 fi
13493 link_all_deplibs=no
13494 else
13495 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'
13496 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'
13497 fi
13498 archive_cmds_need_lc='no'
13499 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13500 hardcode_libdir_separator=:
13501 inherit_rpath=yes
13502 link_all_deplibs=yes
13503 ;;
13504
13505 linux*)
13506 case $cc_basename in
13507 tcc*)
13508 # Fabrice Bellard et al's Tiny C Compiler
13509 ld_shlibs=yes
13510 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13511 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13512 ;;
13513 esac
13514 ;;
13515
13516 netbsd* | netbsdelf*-gnu)
13517 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
13518 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13519 else
13520 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13521 fi
13522 hardcode_libdir_flag_spec='-R$libdir'
13523 hardcode_direct=yes
13524 hardcode_shlibpath_var=no
13525 ;;
13526
13527 newsos6)
13528 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13529 hardcode_direct=yes
13530 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13531 hardcode_libdir_separator=:
13532 hardcode_shlibpath_var=no
13533 ;;
13534
13535 *nto* | *qnx*)
13536 ;;
13537
13538 openbsd* | bitrig*)
13539 if testscip-shell system . . test. -f /usr/libexec/ld.soscip-shell filesystem . . `/usr/libexec/ld.so`.; then
13540 hardcode_direct=yes
13541 hardcode_shlibpath_var=no
13542 hardcode_direct_absolute=yes
13543 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then
13544 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13545 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
13546 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13547 export_dynamic_flag_spec='$wl-E'
13548 else
13549 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13550 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13551 fi
13552 else
13553 ld_shlibs=no
13554 fi
13555 ;;
13556
13557 os2*)
13558 hardcode_libdir_flag_spec='-L$libdir'
13559 hardcode_minus_L=yes
13560 allow_undefined_flag=unsupported
13561 shrext_cmds=.dll
13562 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13563 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13564 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13565 $ECHO EXPORTS >> $output_objdir/$libname.def~
13566 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13567 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13568 emximp -o $lib $output_objdir/$libname.def'
13569 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13570 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13571 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13572 $ECHO EXPORTS >> $output_objdir/$libname.def~
13573 prefix_cmds="$SED"~
13574 if test EXPORTS = "`$SED 1q $export_symbols`"; then
13575 prefix_cmds="$prefix_cmds -e 1d";
13576 fi~
13577 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13578 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13579 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13580 emximp -o $lib $output_objdir/$libname.def'
13581 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13582 enable_shared_with_static_runtimes=yes
13583 file_list_spec='@'
13584 ;;
13585
13586 osf3*)
13587 if testscip-shell system . . test. yes = "$GCC"; then
13588 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13589 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'
13590 else
13591 allow_undefined_flag=' -expect_unresolved \*'
13592 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'
13593 fi
13594 archive_cmds_need_lc='no'
13595 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13596 hardcode_libdir_separator=:
13597 ;;
13598
13599 osf4* | osf5*) # as osf3* with the addition of -msym flag
13600 if testscip-shell system . . test. yes = "$GCC"; then
13601 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13602 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'
13603 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13604 else
13605 allow_undefined_flag=' -expect_unresolved \*'
13606 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'
13607 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~
13608 $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'
13609
13610 # Both c and cxx compiler support -rpath directly
13611 hardcode_libdir_flag_spec='-rpath $libdir'
13612 fi
13613 archive_cmds_need_lc='no'
13614 hardcode_libdir_separator=:
13615 ;;
13616
13617 solaris*)
13618 no_undefined_flag=' -z defs'
13619 if testscip-shell system . . test. yes = "$GCC"; then
13620 wlarc='$wl'
13621 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13622 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13623 $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'
13624 else
13625 case `$CC -V 2>&1` in
13626 *"Compilers 5.0"*)
13627 wlarc=''
13628 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
13629 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13630 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13631 ;;
13632 *)
13633 wlarc='$wl'
13634 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13635 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13636 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13637 ;;
13638 esac
13639 fi
13640 hardcode_libdir_flag_spec='-R$libdir'
13641 hardcode_shlibpath_var=no
13642 case $host_os in
13643 solaris2.[0-5] | solaris2.[0-5].*) ;;
13644 *)
13645 # The compiler driver will combine and reorder linker options,
13646 # but understands '-z linker_flag'. GCC discards it without '$wl',
13647 # but is careful enough not to reorder.
13648 # Supported since Solaris 2.6 (maybe 2.5.1?)
13649 if testscip-shell system . . test. yes = "$GCC"; then
13650 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
13651 else
13652 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
13653 fi
13654 ;;
13655 esac
13656 link_all_deplibs=yes
13657 ;;
13658
13659 sunos4*)
13660 if testscip-shell system . . test. sequent = "$host_vendor"; then
13661 # Use $CC to link under sequent, because it throws in some extra .o
13662 # files that make .init and .fini sections work.
13663 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13664 else
13665 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13666 fi
13667 hardcode_libdir_flag_spec='-L$libdir'
13668 hardcode_direct=yes
13669 hardcode_minus_L=yes
13670 hardcode_shlibpath_var=no
13671 ;;
13672
13673 sysv4)
13674 case $host_vendor in
13675 sni)
13676 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13677 hardcode_direct=yes # is this really true???
13678 ;;
13679 siemens)
13680 ## LD is ld it makes a PLAMLIB
13681 ## CC just makes a GrossModule.
13682 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13683 reload_cmds='$CC -r -o $output$reload_objs'
13684 hardcode_direct=no
13685 ;;
13686 motorola)
13687 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13688 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13689 ;;
13690 esac
13691 runpath_var='LD_RUN_PATH'
13692 hardcode_shlibpath_var=no
13693 ;;
13694
13695 sysv4.3*)
13696 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13697 hardcode_shlibpath_var=no
13698 export_dynamic_flag_spec='-Bexport'
13699 ;;
13700
13701 sysv4*MP*)
13702 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
13703 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13704 hardcode_shlibpath_var=no
13705 runpath_var=LD_RUN_PATH
13706 hardcode_runpath_var=yes
13707 ld_shlibs=yes
13708 fi
13709 ;;
13710
13711 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13712 no_undefined_flag='$wl-z,text'
13713 archive_cmds_need_lc=no
13714 hardcode_shlibpath_var=no
13715 runpath_var='LD_RUN_PATH'
13716
13717 if testscip-shell system . . test. yes = "$GCC"; then
13718 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13719 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13720 else
13721 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13722 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13723 fi
13724 ;;
13725
13726 sysv5* | sco3.2v5* | sco5v6*)
13727 # Note: We CANNOT use -z defs as we might desire, because we do not
13728 # link with -lc, and that would cause any symbols used from libc to
13729 # always be unresolved, which means just about no library would
13730 # ever link correctly. If we're not using GNU ld we use -z text
13731 # though, which does catch some bad symbols but isn't as heavy-handed
13732 # as -z defs.
13733 no_undefined_flag='$wl-z,text'
13734 allow_undefined_flag='$wl-z,nodefs'
13735 archive_cmds_need_lc=no
13736 hardcode_shlibpath_var=no
13737 hardcode_libdir_flag_spec='$wl-R,$libdir'
13738 hardcode_libdir_separator=':'
13739 link_all_deplibs=yes
13740 export_dynamic_flag_spec='$wl-Bexport'
13741 runpath_var='LD_RUN_PATH'
13742
13743 if testscip-shell system . . test. yes = "$GCC"; then
13744 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13745 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13746 else
13747 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13748 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13749 fi
13750 ;;
13751
13752 uts4*)
13753 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13754 hardcode_libdir_flag_spec='-L$libdir'
13755 hardcode_shlibpath_var=no
13756 ;;
13757
13758 *)
13759 ld_shlibs=no
13760 ;;
13761 esac
13762
13763 if testscip-shell system . . test. sni = "$host_vendor"; then
13764 case $host in
13765 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13766 export_dynamic_flag_spec='$wl-Blargedynsym'
13767 ;;
13768 esac
13769 fi
13770 fi
13771
13772 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13773 printfscip-shell system . . printf. "%s\n" "$ld_shlibs" >&6; }
13774 testscip-shell system . . test. no = "$ld_shlibs" && can_build_shared=no
13775
13776 with_gnu_ld=$with_gnu_ld
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792 #
13793 # Do we need to explicitly link libc?
13794 #
13795 case "x$archive_cmds_need_lc" in
13796 x|xyes)
13797 # Assume -lc should be added
13798 archive_cmds_need_lc=yes
13799
13800 if testscip-shell system . . test. yes,yes = "$GCC,$enable_shared"; then
13801 case $archive_cmds in
13802 *'~'*)
13803 # FIXME: we may have to deal with multi-command sequences.
13804 ;;
13805 '$CC '*)
13806 # Test whether the compiler implicitly links with -lc since on some
13807 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13808 # to ld, don't add -lc before -lgcc.
13809 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13810 printfscip-shell system . . printf. %s "checking whether -lc should be explicitly linked in... " >&6; }
13811 if testscip-shell system . . test. ${lt_cv_archive_cmds_need_lc+y}
13812 then :
13813 printfscip-shell system . . printf. %s "(cached) " >&6
13814 else $as_nop
13815 $RM conftest*
13816 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
13817
13818 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13819 (eval $ac_compile) 2>&5
13820 ac_status=$?
13821 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13822 testscip-shell system . . test. $ac_status = 0; } 2>conftest.err; then
13823 soname=conftest
13824 lib=conftest
13825 libobjs=conftest.$ac_objext
13826 deplibs=
13827 wl=$lt_prog_compiler_wl
13828 pic_flag=$lt_prog_compiler_pic
13829 compiler_flags=-v
13830 linker_flags=-v
13831 verstring=
13832 output_objdir=.
13833 libname=conftest
13834 lt_save_allow_undefined_flag=$allow_undefined_flag
13835 allow_undefined_flag=
13836 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13837 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13838 ac_status=$?
13839 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13840 testscip-shell system . . test. $ac_status = 0; }
13841 then
13842 lt_cv_archive_cmds_need_lc=no
13843 else
13844 lt_cv_archive_cmds_need_lc=yes
13845 fi
13846 allow_undefined_flag=$lt_save_allow_undefined_flag
13847 else
13848 catscip-shell system . . cat. conftest.err 1>&5
13849 fi
13850 $RM conftest*
13851
13852 fi
13853 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13854 printfscip-shell system . . printf. "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
13855 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
13856 ;;
13857 esac
13858 fi
13859 ;;
13860 esac
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14014 printfscip-shell system . . printf. %s "checking dynamic linker characteristics... " >&6; }
14015
14016 if testscip-shell system . . test. yes = "$GCC"; then
14017 case $host_os in
14018 darwin*) lt_awk_arg='/^libraries:/,/LR/scip-shell filesystem . . `/^libraries:/,/LR/`.' ;;
14019 *) lt_awk_arg='/^libraries:/scip-shell filesystem . . `/^libraries:/`.' ;;
14020 esac
14021 case $host_os in
14022 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
14023 *) lt_sed_strip_eq='s|=/|/|g' ;;
14024 esac
14025 lt_search_path_spec=`$CC -print-search-dirs | awkscip-shell system . . awk. $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
14026 case $lt_search_path_spec in
14027 *\;*)
14028 # if the path contains ";" then we assume it to be the separator
14029 # otherwise default to the standard path separator (i.e. ":") - it is
14030 # assumed that no part of a normal pathname contains ";" but that should
14031 # okay in the real world where ";" in dirpaths is itself problematic.
14032 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
14033 ;;
14034 *)
14035 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
14036 ;;
14037 esac
14038 # Ok, now we have the path, separated by spaces, we can step through it
14039 # and add multilib dir if necessary...
14040 lt_tmp_lt_search_path_spec=
14041 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
14042 # ...but if some path component already ends with the multilib dir we assume
14043 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
14044 case "$lt_multi_os_dir; $lt_search_path_spec " in
14045 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
14046 lt_multi_os_dir=
14047 ;;
14048 esac
14049 for lt_sys_path in $lt_search_path_spec; do
14050 if testscip-shell system . . test. -d "$lt_sys_path$lt_multi_os_dir"; then
14051 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
14052 elif testscip-shell system . . test. -n "$lt_multi_os_dir"; then
14053 testscip-shell system . . test. -d "$lt_sys_path" && \
14054 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
14055 fi
14056 done
14057 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awkscip-shell system . . awk. '
14058 BEGIN {RS = " "; FS = "/|\n";} {
14059 lt_foo = "";
14060 lt_count = 0;
14061 for (lt_i = NF; lt_i > 0; lt_i--) {
14062 if ($lt_i != "" && $lt_i != ".") {
14063 if ($lt_i == "..") {
14064 lt_count++;
14065 } else {
14066 if (lt_count == 0) {
14067 lt_foo = "/" $lt_i lt_foo;
14068 } else {
14069 lt_count--;
14070 }
14071 }
14072 }
14073 }
14074 if (lt_foo != "") { lt_freq[lt_foo]++; }
14075 if (lt_freq[lt_foo] == 1) { print lt_foo; }
14076 }'`
14077 # AWK program above erroneously prepends '/' to C:/dos/paths
14078 # for these hosts.
14079 case $host_os in
14080 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
14081 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
14082 esac
14083 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
14084 else
14085 sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`."
14086 fi
14087 library_names_spec=
14088 libname_spec='lib$name'
14089 soname_spec=
14090 shrext_cmds=.so
14091 postinstall_cmds=
14092 postuninstall_cmds=
14093 finish_cmds=
14094 finish_eval=
14095 shlibpath_var=
14096 shlibpath_overrides_runpath=unknown
14097 version_type=none
14098 dynamic_linker="$host_os ld.so"
14099 sys_lib_dlsearch_path_spec="/lib /usr/libscip-shell filesystem . . `/lib /usr/lib`."
14100 need_lib_prefix=unknown
14101 hardcode_into_libs=no
14102
14103 # when you set need_version to no, make sure it does not cause -set_version
14104 # flags to be left without arguments
14105 need_version=unknown
14106
14107
14108
14109 case $host_os in
14110 aix3*)
14111 version_type=linux # correct to gnu/linux during the next big refactor
14112 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
14113 shlibpath_var=LIBPATH
14114
14115 # AIX 3 has no versioning support, so we append a major version to the name.
14116 soname_spec='$libname$release$shared_ext$major'
14117 ;;
14118
14119 aix[4-9]*)
14120 version_type=linux # correct to gnu/linux during the next big refactor
14121 need_lib_prefix=no
14122 need_version=no
14123 hardcode_into_libs=yes
14124 if testscip-shell system . . test. ia64 = "$host_cpu"; then
14125 # AIX 5 supports IA64
14126 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
14127 shlibpath_var=LD_LIBRARY_PATH
14128 else
14129 # With GCC up to 2.95.x, collect2 would create an import file
14130 # for dependence libraries. The import file would start with
14131 # the line '#! .'. This would cause the generated library to
14132 # depend on '.', always an invalid library. This was fixed in
14133 # development snapshots of GCC prior to 3.0.
14134 case $host_os in
14135 aix4 | aix4.[01] | aix4.[01].*)
14136 if { echoscip-shell system . . echo. '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14137 echoscip-shell system . . echo. ' yes '
14138 echoscip-shell system . . echo. '#endif'; } | $CC -E - | $GREP yes > /dev/nullscip-shell filesystem . . `/dev/null`.; then
14139 :
14140 else
14141 can_build_shared=no
14142 fi
14143 ;;
14144 esac
14145 # Using Import Files as archive members, it is possible to support
14146 # filename-based versioning of shared library archives on AIX. While
14147 # this would work for both with and without runtime linking, it will
14148 # prevent static linking of such archives. So we do filename-based
14149 # shared library versioning with .so extension only, which is used
14150 # when both runtime linking and shared linking is enabled.
14151 # Unfortunately, runtime linking may impact performance, so we do
14152 # not want this to be the default eventually. Also, we use the
14153 # versioned .so libs for executables only if there is the -brtl
14154 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
14155 # To allow for filename-based versioning support, we need to create
14156 # libNAME.so.V as an archive file, containing:
14157 # *) an Import File, referring to the versioned filename of the
14158 # archive as well as the shared archive member, telling the
14159 # bitwidth (32 or 64) of that shared object, and providing the
14160 # list of exported symbols of that shared object, eventually
14161 # decorated with the 'weak' keyword
14162 # *) the shared object with the F_LOADONLY flag set, to really avoid
14163 # it being seen by the linker.
14164 # At run time we better use the real file rather than another symlink,
14165 # but for link time we create the symlink libNAME.so -> libNAME.so.V
14166
14167 case $with_aix_soname,$aix_use_runtimelinking in
14168 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
14169 # soname into executable. Probably we can add versioning support to
14170 # collect2, so additional links can be useful in future.
14171 aix,yes) # traditional libtool
14172 dynamic_linker='AIX unversionable lib.so'
14173 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14174 # instead of lib<name>.a to let people know that these are not
14175 # typical AIX shared libraries.
14176 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14177 ;;
14178 aix,no) # traditional AIX only
14179 dynamic_linker='AIX lib.a(lib.so.V)'
14180 # We preserve .a as extension for shared libraries through AIX4.2
14181 # and later when we are not doing run time linking.
14182 library_names_spec='$libname$release.a $libname.a'
14183 soname_spec='$libname$release$shared_ext$major'
14184 ;;
14185 svr4,*) # full svr4 only
14186 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
14187 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
14188 # We do not specify a path in Import Files, so LIBPATH fires.
14189 shlibpath_overrides_runpath=yes
14190 ;;
14191 *,yes) # both, prefer svr4
14192 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
14193 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
14194 # unpreferred sharedlib libNAME.a needs extra handling
14195 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"'
14196 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"'
14197 # We do not specify a path in Import Files, so LIBPATH fires.
14198 shlibpath_overrides_runpath=yes
14199 ;;
14200 *,no) # both, prefer aix
14201 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
14202 library_names_spec='$libname$release.a $libname.a'
14203 soname_spec='$libname$release$shared_ext$major'
14204 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
14205 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)'
14206 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"'
14207 ;;
14208 esac
14209 shlibpath_var=LIBPATH
14210 fi
14211 ;;
14212
14213 amigaos*)
14214 case $host_cpu in
14215 powerpc)
14216 # Since July 2007 AmigaOS4 officially supports .so libraries.
14217 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14218 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14219 ;;
14220 m68k)
14221 library_names_spec='$libname.ixlibrary $libname.a'
14222 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14223 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'
14224 ;;
14225 esac
14226 ;;
14227
14228 beos*)
14229 library_names_spec='$libname$shared_ext'
14230 dynamic_linker="$host_os ld.so"
14231 shlibpath_var=LIBRARY_PATH
14232 ;;
14233
14234 bsdi[45]*)
14235 version_type=linux # correct to gnu/linux during the next big refactor
14236 need_version=no
14237 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14238 soname_spec='$libname$release$shared_ext$major'
14239 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14240 shlibpath_var=LD_LIBRARY_PATH
14241 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`."
14242 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/local/lib`."
14243 # the default ld.so.conf also contains /usr/contrib/lib and
14244 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14245 # libtool to hard-code these into programs
14246 ;;
14247
14248 cygwin* | mingw* | pw32* | cegcc*)
14249 version_type=windows
14250 shrext_cmds=.dll
14251 need_version=no
14252 need_lib_prefix=no
14253
14254 case $GCC,$cc_basename in
14255 yes,*)
14256 # gcc
14257 library_names_spec='$libname.dll.a'
14258 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14259 postinstall_cmds='base_file=`basename \$file`~
14260 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14261 dldir=$destdir/`dirname \$dlpath`~
14262 test -d \$dldir || mkdir -p \$dldir~
14263 $install_prog $dir/$dlname \$dldir/$dlname~
14264 chmod a+x \$dldir/$dlname~
14265 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14266 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14267 fi'
14268 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14269 dlpath=$dir/\$dldll~
14270 $RM \$dlpath'
14271 shlibpath_overrides_runpath=yes
14272
14273 case $host_os in
14274 cygwin*)
14275 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14276 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14277
14278 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
14279 ;;
14280 mingw* | cegcc*)
14281 # MinGW DLLs use traditional 'lib' prefix
14282 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14283 ;;
14284 pw32*)
14285 # pw32 DLLs use 'pw' prefix rather than 'lib'
14286 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14287 ;;
14288 esac
14289 dynamic_linker='Win32 ld.exe'
14290 ;;
14291
14292 *,cl* | *,icl*)
14293 # Native MSVC or ICC
14294 libname_spec='$name'
14295 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14296 library_names_spec='$libname.dll.lib'
14297
14298 case $build_os in
14299 mingw*)
14300 sys_lib_search_path_spec=
14301 lt_save_ifs=$IFS
14302 IFS=';'
14303 for lt_path in $LIB
14304 do
14305 IFS=$lt_save_ifs
14306 # Let DOS variable expansion print the short 8.3 style file name.
14307 lt_path=`cd "$lt_path" 2>/dev/nullscip-shell filesystem . . `/dev/null`. && cmd //C "for %i in (".") do @echo %~si"`
14308 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14309 done
14310 IFS=$lt_save_ifs
14311 # Convert to MSYS style.
14312 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14313 ;;
14314 cygwin*)
14315 # Convert to unix form, then to dos form, then back to unix form
14316 # but this time dos style (no spaces!) so that the unix form looks
14317 # like /cygdrive/c/PROGRA~1:/cygdr...
14318 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14319 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
14320 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14321 ;;
14322 *)
14323 sys_lib_search_path_spec=$LIB
14324 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/nullscip-shell filesystem . . `/dev/null`.; then
14325 # It is most probably a Windows format PATH.
14326 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14327 else
14328 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14329 fi
14330 # FIXME: find the short name or the path components, as spaces are
14331 # common. (e.g. "Program Files" -> "PROGRA~1")
14332 ;;
14333 esac
14334
14335 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14336 postinstall_cmds='base_file=`basename \$file`~
14337 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14338 dldir=$destdir/`dirname \$dlpath`~
14339 test -d \$dldir || mkdir -p \$dldir~
14340 $install_prog $dir/$dlname \$dldir/$dlname'
14341 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14342 dlpath=$dir/\$dldll~
14343 $RM \$dlpath'
14344 shlibpath_overrides_runpath=yes
14345 dynamic_linker='Win32 link.exe'
14346 ;;
14347
14348 *)
14349 # Assume MSVC and ICC wrapper
14350 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
14351 dynamic_linker='Win32 ld.exe'
14352 ;;
14353 esac
14354 # FIXME: first we should search . and the directory the executable is in
14355 shlibpath_var=PATH
14356 ;;
14357
14358 darwin* | rhapsody*)
14359 dynamic_linker="$host_os dyld"
14360 version_type=darwin
14361 need_lib_prefix=no
14362 need_version=no
14363 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
14364 soname_spec='$libname$release$major$shared_ext'
14365 shlibpath_overrides_runpath=yes
14366 shlibpath_var=DYLD_LIBRARY_PATH
14367 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14368
14369 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
14370 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/libscip-shell filesystem . . `/usr/local/lib /lib /usr/lib`.'
14371 ;;
14372
14373 dgux*)
14374 version_type=linux # correct to gnu/linux during the next big refactor
14375 need_lib_prefix=no
14376 need_version=no
14377 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14378 soname_spec='$libname$release$shared_ext$major'
14379 shlibpath_var=LD_LIBRARY_PATH
14380 ;;
14381
14382 freebsd* | dragonfly* | midnightbsd*)
14383 # DragonFly does not have aout. When/if they implement a new
14384 # versioning mechanism, adjust this.
14385 if testscip-shell system . . test. -x /usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.; then
14386 objformat=`/usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.`
14387 else
14388 case $host_os in
14389 freebsd[23].*) objformat=aout ;;
14390 *) objformat=elf ;;
14391 esac
14392 fi
14393 version_type=freebsd-$objformat
14394 case $version_type in
14395 freebsd-elf*)
14396 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14397 soname_spec='$libname$release$shared_ext$major'
14398 need_version=no
14399 need_lib_prefix=no
14400 ;;
14401 freebsd-*)
14402 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14403 need_version=yes
14404 ;;
14405 esac
14406 shlibpath_var=LD_LIBRARY_PATH
14407 case $host_os in
14408 freebsd2.*)
14409 shlibpath_overrides_runpath=yes
14410 ;;
14411 freebsd3.[01]* | freebsdelf3.[01]*)
14412 shlibpath_overrides_runpath=yes
14413 hardcode_into_libs=yes
14414 ;;
14415 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14416 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14417 shlibpath_overrides_runpath=no
14418 hardcode_into_libs=yes
14419 ;;
14420 *) # from 4.6 on, and DragonFly
14421 shlibpath_overrides_runpath=yes
14422 hardcode_into_libs=yes
14423 ;;
14424 esac
14425 ;;
14426
14427 haiku*)
14428 version_type=linux # correct to gnu/linux during the next big refactor
14429 need_lib_prefix=no
14430 need_version=no
14431 dynamic_linker="$host_os runtime_loader"
14432 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14433 soname_spec='$libname$release$shared_ext$major'
14434 shlibpath_var=LIBRARY_PATH
14435 shlibpath_overrides_runpath=no
14436 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`.'
14437 hardcode_into_libs=yes
14438 ;;
14439
14440 hpux9* | hpux10* | hpux11*)
14441 # Give a soname corresponding to the major version so that dld.sl refuses to
14442 # link against other versions.
14443 version_type=sunos
14444 need_lib_prefix=no
14445 need_version=no
14446 case $host_cpu in
14447 ia64*)
14448 shrext_cmds='.so'
14449 hardcode_into_libs=yes
14450 dynamic_linker="$host_os dld.so"
14451 shlibpath_var=LD_LIBRARY_PATH
14452 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14453 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14454 soname_spec='$libname$release$shared_ext$major'
14455 if testscip-shell system . . test. 32 = "$HPUX_IA64_MODE"; then
14456 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`."
14457 sys_lib_dlsearch_path_spec=/usr/lib/hpux32scip-shell filesystem . . `/usr/lib/hpux32`.
14458 else
14459 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64 /usr/local/lib/hpux64`."
14460 sys_lib_dlsearch_path_spec=/usr/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64`.
14461 fi
14462 ;;
14463 hppa*64*)
14464 shrext_cmds='.sl'
14465 hardcode_into_libs=yes
14466 dynamic_linker="$host_os dld.sl"
14467 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14468 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14469 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14470 soname_spec='$libname$release$shared_ext$major'
14471 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`."
14472 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14473 ;;
14474 *)
14475 shrext_cmds='.sl'
14476 dynamic_linker="$host_os dld.sl"
14477 shlibpath_var=SHLIB_PATH
14478 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14479 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14480 soname_spec='$libname$release$shared_ext$major'
14481 ;;
14482 esac
14483 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14484 postinstall_cmds='chmod 555 $lib'
14485 # or fails outright, so override atomically:
14486 install_override_mode=555
14487 ;;
14488
14489 interix[3-9]*)
14490 version_type=linux # correct to gnu/linux during the next big refactor
14491 need_lib_prefix=no
14492 need_version=no
14493 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14494 soname_spec='$libname$release$shared_ext$major'
14495 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14496 shlibpath_var=LD_LIBRARY_PATH
14497 shlibpath_overrides_runpath=no
14498 hardcode_into_libs=yes
14499 ;;
14500
14501 irix5* | irix6* | nonstopux*)
14502 case $host_os in
14503 nonstopux*) version_type=nonstopux ;;
14504 *)
14505 if testscip-shell system . . test. yes = "$lt_cv_prog_gnu_ld"; then
14506 version_type=linux # correct to gnu/linux during the next big refactor
14507 else
14508 version_type=irix
14509 fi ;;
14510 esac
14511 need_lib_prefix=no
14512 need_version=no
14513 soname_spec='$libname$release$shared_ext$major'
14514 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
14515 case $host_os in
14516 irix5* | nonstopux*)
14517 libsuff= shlibsuff=
14518 ;;
14519 *)
14520 case $LD in # libtool.m4 will add one of these switches to LD
14521 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14522 libsuff= shlibsuff= libmagic=32-bit;;
14523 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14524 libsuff=32 shlibsuff=N32 libmagic=N32;;
14525 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14526 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14527 *) libsuff= shlibsuff= libmagic=never-match;;
14528 esac
14529 ;;
14530 esac
14531 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14532 shlibpath_overrides_runpath=no
14533 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
14534 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
14535 hardcode_into_libs=yes
14536 ;;
14537
14538 # No shared lib support for Linux oldld, aout, or coff.
14539 linux*oldld* | linux*aout* | linux*coff*)
14540 dynamic_linker=no
14541 ;;
14542
14543 linux*android*)
14544 version_type=none # Android doesn't support versioned libraries.
14545 need_lib_prefix=no
14546 need_version=no
14547 library_names_spec='$libname$release$shared_ext'
14548 soname_spec='$libname$release$shared_ext'
14549 finish_cmds=
14550 shlibpath_var=LD_LIBRARY_PATH
14551 shlibpath_overrides_runpath=yes
14552
14553 # This implies no fast_install, which is unacceptable.
14554 # Some rework will be needed to allow for fast_install
14555 # before this can be enabled.
14556 hardcode_into_libs=yes
14557
14558 dynamic_linker='Android linker'
14559 # Don't embed -rpath directories since the linker doesn't support them.
14560 hardcode_libdir_flag_spec='-L$libdir'
14561 ;;
14562
14563 # This must be glibc/ELF.
14564 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14565 version_type=linux # correct to gnu/linux during the next big refactor
14566 need_lib_prefix=no
14567 need_version=no
14568 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14569 soname_spec='$libname$release$shared_ext$major'
14570 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14571 shlibpath_var=LD_LIBRARY_PATH
14572 shlibpath_overrides_runpath=no
14573
14574 # Some binutils ld are patched to set DT_RUNPATH
14575 if testscip-shell system . . test. ${lt_cv_shlibpath_overrides_runpath+y}
14576 then :
14577 printfscip-shell system . . printf. %s "(cached) " >&6
14578 else $as_nop
14579 lt_cv_shlibpath_overrides_runpath=no
14580 save_LDFLAGS=$LDFLAGS
14581 save_libdir=$libdir
14582 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
14583 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
14584 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
14585 /* end confdefs.h. */
14586
14587 int
14588 main (void)
14589 {
14590
14591 ;
14592 return 0;
14593 }
14594 _ACEOF
14595 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
14596 then :
14597 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`.
14598 then :
14599 lt_cv_shlibpath_overrides_runpath=yes
14600 fi
14601 fi
14602 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
14603 conftest$ac_exeext conftest.$ac_ext
14604 LDFLAGS=$save_LDFLAGS
14605 libdir=$save_libdir
14606
14607 fi
14608
14609 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14610
14611 # This implies no fast_install, which is unacceptable.
14612 # Some rework will be needed to allow for fast_install
14613 # before this can be enabled.
14614 hardcode_into_libs=yes
14615
14616 # Ideally, we could use ldconfig to report *all* directores which are
14617 # searched for libraries, however this is still not possible. Aside from not
14618 # being certain /sbin/ldconfig is available, command
14619 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
14620 # even though it is searched at run-time. Try to do the best guess by
14621 # appending ld.so.conf contents (and includes) to the search path.
14622 if testscip-shell system . . test. -f /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`.; then
14623 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' ' '`
14624 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14625 fi
14626
14627 # We used to test for /lib/ld.so.1 and disable shared libraries on
14628 # powerpc, because MkLinux only supported shared libraries with the
14629 # GNU dynamic linker. Since this was broken with cross compilers,
14630 # most powerpc-linux boxes support dynamic linking these days and
14631 # people can always --disable-shared, the test was removed, and we
14632 # assume the GNU/Linux dynamic linker is in use.
14633 dynamic_linker='GNU/Linux ld.so'
14634 ;;
14635
14636 netbsdelf*-gnu)
14637 version_type=linux
14638 need_lib_prefix=no
14639 need_version=no
14640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14641 soname_spec='${libname}${release}${shared_ext}$major'
14642 shlibpath_var=LD_LIBRARY_PATH
14643 shlibpath_overrides_runpath=no
14644 hardcode_into_libs=yes
14645 dynamic_linker='NetBSD ld.elf_so'
14646 ;;
14647
14648 netbsd*)
14649 version_type=sunos
14650 need_lib_prefix=no
14651 need_version=no
14652 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
14653 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14654 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14655 dynamic_linker='NetBSD (a.out) ld.so'
14656 else
14657 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14658 soname_spec='$libname$release$shared_ext$major'
14659 dynamic_linker='NetBSD ld.elf_so'
14660 fi
14661 shlibpath_var=LD_LIBRARY_PATH
14662 shlibpath_overrides_runpath=yes
14663 hardcode_into_libs=yes
14664 ;;
14665
14666 newsos6)
14667 version_type=linux # correct to gnu/linux during the next big refactor
14668 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14669 shlibpath_var=LD_LIBRARY_PATH
14670 shlibpath_overrides_runpath=yes
14671 ;;
14672
14673 *nto* | *qnx*)
14674 version_type=qnx
14675 need_lib_prefix=no
14676 need_version=no
14677 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14678 soname_spec='$libname$release$shared_ext$major'
14679 shlibpath_var=LD_LIBRARY_PATH
14680 shlibpath_overrides_runpath=no
14681 hardcode_into_libs=yes
14682 dynamic_linker='ldqnx.so'
14683 ;;
14684
14685 openbsd* | bitrig*)
14686 version_type=sunos
14687 sys_lib_dlsearch_path_spec=/usr/libscip-shell filesystem . . `/usr/lib`.
14688 need_lib_prefix=no
14689 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then
14690 need_version=no
14691 else
14692 need_version=yes
14693 fi
14694 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14695 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14696 shlibpath_var=LD_LIBRARY_PATH
14697 shlibpath_overrides_runpath=yes
14698 ;;
14699
14700 os2*)
14701 libname_spec='$name'
14702 version_type=windows
14703 shrext_cmds=.dll
14704 need_version=no
14705 need_lib_prefix=no
14706 # OS/2 can only load a DLL with a base name of 8 characters or less.
14707 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
14708 v=$($ECHO $release$versuffix | tr -d .-);
14709 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
14710 $ECHO $n$v`$shared_ext'
14711 library_names_spec='${libname}_dll.$libext'
14712 dynamic_linker='OS/2 ld.exe'
14713 shlibpath_var=BEGINLIBPATH
14714 sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`."
14715 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14716 postinstall_cmds='base_file=`basename \$file`~
14717 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
14718 dldir=$destdir/`dirname \$dlpath`~
14719 test -d \$dldir || mkdir -p \$dldir~
14720 $install_prog $dir/$dlname \$dldir/$dlname~
14721 chmod a+x \$dldir/$dlname~
14722 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14723 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14724 fi'
14725 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
14726 dlpath=$dir/\$dldll~
14727 $RM \$dlpath'
14728 ;;
14729
14730 osf3* | osf4* | osf5*)
14731 version_type=osf
14732 need_lib_prefix=no
14733 need_version=no
14734 soname_spec='$libname$release$shared_ext$major'
14735 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14736 shlibpath_var=LD_LIBRARY_PATH
14737 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`."
14738 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14739 ;;
14740
14741 rdos*)
14742 dynamic_linker=no
14743 ;;
14744
14745 solaris*)
14746 version_type=linux # correct to gnu/linux during the next big refactor
14747 need_lib_prefix=no
14748 need_version=no
14749 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14750 soname_spec='$libname$release$shared_ext$major'
14751 shlibpath_var=LD_LIBRARY_PATH
14752 shlibpath_overrides_runpath=yes
14753 hardcode_into_libs=yes
14754 # ldd complains unless libraries are executable
14755 postinstall_cmds='chmod +x $lib'
14756 ;;
14757
14758 sunos4*)
14759 version_type=sunos
14760 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14761 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14762 shlibpath_var=LD_LIBRARY_PATH
14763 shlibpath_overrides_runpath=yes
14764 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
14765 need_lib_prefix=no
14766 fi
14767 need_version=yes
14768 ;;
14769
14770 sysv4 | sysv4.3*)
14771 version_type=linux # correct to gnu/linux during the next big refactor
14772 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14773 soname_spec='$libname$release$shared_ext$major'
14774 shlibpath_var=LD_LIBRARY_PATH
14775 case $host_vendor in
14776 sni)
14777 shlibpath_overrides_runpath=no
14778 need_lib_prefix=no
14779 runpath_var=LD_RUN_PATH
14780 ;;
14781 siemens)
14782 need_lib_prefix=no
14783 ;;
14784 motorola)
14785 need_lib_prefix=no
14786 need_version=no
14787 shlibpath_overrides_runpath=no
14788 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/libscip-shell filesystem . . `/lib /usr/lib /usr/ccs/lib`.'
14789 ;;
14790 esac
14791 ;;
14792
14793 sysv4*MP*)
14794 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
14795 version_type=linux # correct to gnu/linux during the next big refactor
14796 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
14797 soname_spec='$libname$shared_ext.$major'
14798 shlibpath_var=LD_LIBRARY_PATH
14799 fi
14800 ;;
14801
14802 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14803 version_type=sco
14804 need_lib_prefix=no
14805 need_version=no
14806 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
14807 soname_spec='$libname$release$shared_ext$major'
14808 shlibpath_var=LD_LIBRARY_PATH
14809 shlibpath_overrides_runpath=yes
14810 hardcode_into_libs=yes
14811 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
14812 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`.'
14813 else
14814 sys_lib_search_path_spec='/usr/ccs/lib /usr/libscip-shell filesystem . . `/usr/ccs/lib /usr/lib`.'
14815 case $host_os in
14816 sco3.2v5*)
14817 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14818 ;;
14819 esac
14820 fi
14821 sys_lib_dlsearch_path_spec='/usr/libscip-shell filesystem . . `/usr/lib`.'
14822 ;;
14823
14824 tpf*)
14825 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14826 version_type=linux # correct to gnu/linux during the next big refactor
14827 need_lib_prefix=no
14828 need_version=no
14829 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14830 shlibpath_var=LD_LIBRARY_PATH
14831 shlibpath_overrides_runpath=no
14832 hardcode_into_libs=yes
14833 ;;
14834
14835 uts4*)
14836 version_type=linux # correct to gnu/linux during the next big refactor
14837 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14838 soname_spec='$libname$release$shared_ext$major'
14839 shlibpath_var=LD_LIBRARY_PATH
14840 ;;
14841
14842 *)
14843 dynamic_linker=no
14844 ;;
14845 esac
14846 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14847 printfscip-shell system . . printf. "%s\n" "$dynamic_linker" >&6; }
14848 testscip-shell system . . test. no = "$dynamic_linker" && can_build_shared=no
14849
14850 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14851 if testscip-shell system . . test. yes = "$GCC"; then
14852 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14853 fi
14854
14855 if testscip-shell system . . test. set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14856 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14857 fi
14858
14859 if testscip-shell system . . test. set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14860 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14861 fi
14862
14863 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14864 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14865
14866 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14867 func_munge_path_listscip-shell shell shell-project 0.0.0 func_munge_path_list(). sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14868
14869 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14870 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14969 printfscip-shell system . . printf. %s "checking how to hardcode library paths into programs... " >&6; }
14970 hardcode_action=
14971 if testscip-shell system . . test. -n "$hardcode_libdir_flag_spec" ||
14972 testscip-shell system . . test. -n "$runpath_var" ||
14973 testscip-shell system . . test. yes = "$hardcode_automatic"; then
14974
14975 # We can hardcode non-existent directories.
14976 if testscip-shell system . . test. no != "$hardcode_direct" &&
14977 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14978 # have to relink, otherwise we might link with an installed library
14979 # when we should be linking with a yet-to-be-installed one
14980 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14981 testscip-shell system . . test. no != "$hardcode_minus_L"; then
14982 # Linking always hardcodes the temporary library directory.
14983 hardcode_action=relink
14984 else
14985 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14986 hardcode_action=immediate
14987 fi
14988 else
14989 # We cannot hardcode anything, or else we can only hardcode existing
14990 # directories.
14991 hardcode_action=unsupported
14992 fi
14993 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14994 printfscip-shell system . . printf. "%s\n" "$hardcode_action" >&6; }
14995
14996 if testscip-shell system . . test. relink = "$hardcode_action" ||
14997 testscip-shell system . . test. yes = "$inherit_rpath"; then
14998 # Fast installation is not supported
14999 enable_fast_install=no
15000 elif testscip-shell system . . test. yes = "$shlibpath_overrides_runpath" ||
15001 testscip-shell system . . test. no = "$enable_shared"; then
15002 # Fast installation is not necessary
15003 enable_fast_install=needless
15004 fi
15005
15006
15007
15008
15009
15010
15011 if testscip-shell system . . test. yes != "$enable_dlopen"; then
15012 enable_dlopen=unknown
15013 enable_dlopen_self=unknown
15014 enable_dlopen_self_static=unknown
15015 else
15016 lt_cv_dlopen=no
15017 lt_cv_dlopen_libs=
15018
15019 case $host_os in
15020 beos*)
15021 lt_cv_dlopen=load_add_on
15022 lt_cv_dlopen_libs=
15023 lt_cv_dlopen_self=yes
15024 ;;
15025
15026 mingw* | pw32* | cegcc*)
15027 lt_cv_dlopen=LoadLibrary
15028 lt_cv_dlopen_libs=
15029 ;;
15030
15031 cygwin*)
15032 lt_cv_dlopen=dlopen
15033 lt_cv_dlopen_libs=
15034 ;;
15035
15036 darwin*)
15037 # if libdl is installed we need to link against it
15038 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15039 printfscip-shell system . . printf. %s "checking for dlopen in -ldl... " >&6; }
15040 if testscip-shell system . . test. ${ac_cv_lib_dl_dlopen+y}
15041 then :
15042 printfscip-shell system . . printf. %s "(cached) " >&6
15043 else $as_nop
15044 ac_check_lib_save_LIBS=$LIBS
15045 LIBS="-ldl $LIBS"
15046 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h. */
15048
15049 /* Override any GCC internal prototype to avoid an error.
15050 Use char because int might match the return type of a GCC
15051 builtin and then its argument prototype would still apply. */
15052 char dlopen ();
15053 int
15054 main (void)
15055 {
15056 return dlopen ();
15057 ;
15058 return 0;
15059 }
15060 _ACEOF
15061 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
15062 then :
15063 ac_cv_lib_dl_dlopen=yes
15064 else $as_nop
15065 ac_cv_lib_dl_dlopen=no
15066 fi
15067 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15068 conftest$ac_exeext conftest.$ac_ext
15069 LIBS=$ac_check_lib_save_LIBS
15070 fi
15071 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15072 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
15073 if testscip-shell system . . test. "x$ac_cv_lib_dl_dlopen" = xyes
15074 then :
15075 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
15076 else $as_nop
15077
15078 lt_cv_dlopen=dyld
15079 lt_cv_dlopen_libs=
15080 lt_cv_dlopen_self=yes
15081
15082 fi
15083
15084 ;;
15085
15086 tpf*)
15087 # Don't try to run any link tests for TPF. We know it's impossible
15088 # because TPF is a cross-compiler, and we know how we open DSOs.
15089 lt_cv_dlopen=dlopen
15090 lt_cv_dlopen_libs=
15091 lt_cv_dlopen_self=no
15092 ;;
15093
15094 *)
15095 ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "shl_load" "ac_cv_func_shl_load"
15096 if testscip-shell system . . test. "x$ac_cv_func_shl_load" = xyes
15097 then :
15098 lt_cv_dlopen=shl_load
15099 else $as_nop
15100 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
15101 printfscip-shell system . . printf. %s "checking for shl_load in -ldld... " >&6; }
15102 if testscip-shell system . . test. ${ac_cv_lib_dld_shl_load+y}
15103 then :
15104 printfscip-shell system . . printf. %s "(cached) " >&6
15105 else $as_nop
15106 ac_check_lib_save_LIBS=$LIBS
15107 LIBS="-ldld $LIBS"
15108 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15109 /* end confdefs.h. */
15110
15111 /* Override any GCC internal prototype to avoid an error.
15112 Use char because int might match the return type of a GCC
15113 builtin and then its argument prototype would still apply. */
15114 char shl_load ();
15115 int
15116 main (void)
15117 {
15118 return shl_load ();
15119 ;
15120 return 0;
15121 }
15122 _ACEOF
15123 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
15124 then :
15125 ac_cv_lib_dld_shl_load=yes
15126 else $as_nop
15127 ac_cv_lib_dld_shl_load=no
15128 fi
15129 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15130 conftest$ac_exeext conftest.$ac_ext
15131 LIBS=$ac_check_lib_save_LIBS
15132 fi
15133 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
15134 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
15135 if testscip-shell system . . test. "x$ac_cv_lib_dld_shl_load" = xyes
15136 then :
15137 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
15138 else $as_nop
15139 ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "dlopen" "ac_cv_func_dlopen"
15140 if testscip-shell system . . test. "x$ac_cv_func_dlopen" = xyes
15141 then :
15142 lt_cv_dlopen=dlopen
15143 else $as_nop
15144 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15145 printfscip-shell system . . printf. %s "checking for dlopen in -ldl... " >&6; }
15146 if testscip-shell system . . test. ${ac_cv_lib_dl_dlopen+y}
15147 then :
15148 printfscip-shell system . . printf. %s "(cached) " >&6
15149 else $as_nop
15150 ac_check_lib_save_LIBS=$LIBS
15151 LIBS="-ldl $LIBS"
15152 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15153 /* end confdefs.h. */
15154
15155 /* Override any GCC internal prototype to avoid an error.
15156 Use char because int might match the return type of a GCC
15157 builtin and then its argument prototype would still apply. */
15158 char dlopen ();
15159 int
15160 main (void)
15161 {
15162 return dlopen ();
15163 ;
15164 return 0;
15165 }
15166 _ACEOF
15167 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
15168 then :
15169 ac_cv_lib_dl_dlopen=yes
15170 else $as_nop
15171 ac_cv_lib_dl_dlopen=no
15172 fi
15173 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15174 conftest$ac_exeext conftest.$ac_ext
15175 LIBS=$ac_check_lib_save_LIBS
15176 fi
15177 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15178 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
15179 if testscip-shell system . . test. "x$ac_cv_lib_dl_dlopen" = xyes
15180 then :
15181 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
15182 else $as_nop
15183 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
15184 printfscip-shell system . . printf. %s "checking for dlopen in -lsvld... " >&6; }
15185 if testscip-shell system . . test. ${ac_cv_lib_svld_dlopen+y}
15186 then :
15187 printfscip-shell system . . printf. %s "(cached) " >&6
15188 else $as_nop
15189 ac_check_lib_save_LIBS=$LIBS
15190 LIBS="-lsvld $LIBS"
15191 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15192 /* end confdefs.h. */
15193
15194 /* Override any GCC internal prototype to avoid an error.
15195 Use char because int might match the return type of a GCC
15196 builtin and then its argument prototype would still apply. */
15197 char dlopen ();
15198 int
15199 main (void)
15200 {
15201 return dlopen ();
15202 ;
15203 return 0;
15204 }
15205 _ACEOF
15206 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
15207 then :
15208 ac_cv_lib_svld_dlopen=yes
15209 else $as_nop
15210 ac_cv_lib_svld_dlopen=no
15211 fi
15212 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15213 conftest$ac_exeext conftest.$ac_ext
15214 LIBS=$ac_check_lib_save_LIBS
15215 fi
15216 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
15217 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
15218 if testscip-shell system . . test. "x$ac_cv_lib_svld_dlopen" = xyes
15219 then :
15220 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
15221 else $as_nop
15222 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
15223 printfscip-shell system . . printf. %s "checking for dld_link in -ldld... " >&6; }
15224 if testscip-shell system . . test. ${ac_cv_lib_dld_dld_link+y}
15225 then :
15226 printfscip-shell system . . printf. %s "(cached) " >&6
15227 else $as_nop
15228 ac_check_lib_save_LIBS=$LIBS
15229 LIBS="-ldld $LIBS"
15230 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15232
15233 /* Override any GCC internal prototype to avoid an error.
15234 Use char because int might match the return type of a GCC
15235 builtin and then its argument prototype would still apply. */
15236 char dld_link ();
15237 int
15238 main (void)
15239 {
15240 return dld_link ();
15241 ;
15242 return 0;
15243 }
15244 _ACEOF
15245 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
15246 then :
15247 ac_cv_lib_dld_dld_link=yes
15248 else $as_nop
15249 ac_cv_lib_dld_dld_link=no
15250 fi
15251 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15252 conftest$ac_exeext conftest.$ac_ext
15253 LIBS=$ac_check_lib_save_LIBS
15254 fi
15255 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
15256 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
15257 if testscip-shell system . . test. "x$ac_cv_lib_dld_dld_link" = xyes
15258 then :
15259 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
15260 fi
15261
15262
15263 fi
15264
15265
15266 fi
15267
15268
15269 fi
15270
15271
15272 fi
15273
15274
15275 fi
15276
15277 ;;
15278 esac
15279
15280 if testscip-shell system . . test. no = "$lt_cv_dlopen"; then
15281 enable_dlopen=no
15282 else
15283 enable_dlopen=yes
15284 fi
15285
15286 case $lt_cv_dlopen in
15287 dlopen)
15288 save_CPPFLAGS=$CPPFLAGS
15289 testscip-shell system . . test. yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15290
15291 save_LDFLAGS=$LDFLAGS
15292 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15293
15294 save_LIBS=$LIBS
15295 LIBS="$lt_cv_dlopen_libs $LIBS"
15296
15297 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
15298 printfscip-shell system . . printf. %s "checking whether a program can dlopen itself... " >&6; }
15299 if testscip-shell system . . test. ${lt_cv_dlopen_self+y}
15300 then :
15301 printfscip-shell system . . printf. %s "(cached) " >&6
15302 else $as_nop
15303 if testscip-shell system . . test. yes = "$cross_compiling"; then :
15304 lt_cv_dlopen_self=cross
15305 else
15306 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15307 lt_status=$lt_dlunknown
15308 catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF
15309 #line $LINENO "configure"
15310 #include "confdefs.h"
15311
15312 #if HAVE_DLFCN_H
15313 #include <dlfcn.h>
15314 #endif
15315
15316 #include <stdio.h>
15317
15318 #ifdef RTLD_GLOBAL
15319 # define LT_DLGLOBAL RTLD_GLOBAL
15320 #else
15321 # ifdef DL_GLOBAL
15322 # define LT_DLGLOBAL DL_GLOBAL
15323 # else
15324 # define LT_DLGLOBAL 0
15325 # endif
15326 #endif
15327
15328 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15329 find out it does not work in some platform. */
15330 #ifndef LT_DLLAZY_OR_NOW
15331 # ifdef RTLD_LAZY
15332 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15333 # else
15334 # ifdef DL_LAZY
15335 # define LT_DLLAZY_OR_NOW DL_LAZY
15336 # else
15337 # ifdef RTLD_NOW
15338 # define LT_DLLAZY_OR_NOW RTLD_NOW
15339 # else
15340 # ifdef DL_NOW
15341 # define LT_DLLAZY_OR_NOW DL_NOW
15342 # else
15343 # define LT_DLLAZY_OR_NOW 0
15344 # endif
15345 # endif
15346 # endif
15347 # endif
15348 #endif
15349
15350 /* When -fvisibility=hidden is used, assume the code has been annotated
15351 correspondingly for the symbols needed. */
15352 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
15353 int fnord () __attribute__((visibility("default")));
15354 #endif
15355
15356 int fnord () { return 42; }
15357 int main ()
15358 {
15359 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15360 int status = $lt_dlunknown;
15361
15362 if (self)
15363 {
15364 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15365 else
15366 {
15367 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15368 else puts (dlerror ());
15369 }
15370 /* dlclose (self); */
15371 }
15372 else
15373 puts (dlerror ());
15374
15375 return status;
15376 }
15377 _LT_EOF
15378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15379 (eval $ac_link) 2>&5
15380 ac_status=$?
15381 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15382 testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s "conftest$ac_exeext" 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
15383 (./conftest; exit; ) >&5 2>/dev/nullscip-shell filesystem . . `/dev/null`.
15384 lt_status=$?
15385 case x$lt_status in
15386 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15387 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15388 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
15389 esac
15390 else :
15391 # compilation failed
15392 lt_cv_dlopen_self=no
15393 fi
15394 fi
15395 rmscip-shell system . . rm. -fr conftest*
15396
15397
15398 fi
15399 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
15400 printfscip-shell system . . printf. "%s\n" "$lt_cv_dlopen_self" >&6; }
15401
15402 if testscip-shell system . . test. yes = "$lt_cv_dlopen_self"; then
15403 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
15404 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
15405 printfscip-shell system . . printf. %s "checking whether a statically linked program can dlopen itself... " >&6; }
15406 if testscip-shell system . . test. ${lt_cv_dlopen_self_static+y}
15407 then :
15408 printfscip-shell system . . printf. %s "(cached) " >&6
15409 else $as_nop
15410 if testscip-shell system . . test. yes = "$cross_compiling"; then :
15411 lt_cv_dlopen_self_static=cross
15412 else
15413 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15414 lt_status=$lt_dlunknown
15415 catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF
15416 #line $LINENO "configure"
15417 #include "confdefs.h"
15418
15419 #if HAVE_DLFCN_H
15420 #include <dlfcn.h>
15421 #endif
15422
15423 #include <stdio.h>
15424
15425 #ifdef RTLD_GLOBAL
15426 # define LT_DLGLOBAL RTLD_GLOBAL
15427 #else
15428 # ifdef DL_GLOBAL
15429 # define LT_DLGLOBAL DL_GLOBAL
15430 # else
15431 # define LT_DLGLOBAL 0
15432 # endif
15433 #endif
15434
15435 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15436 find out it does not work in some platform. */
15437 #ifndef LT_DLLAZY_OR_NOW
15438 # ifdef RTLD_LAZY
15439 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15440 # else
15441 # ifdef DL_LAZY
15442 # define LT_DLLAZY_OR_NOW DL_LAZY
15443 # else
15444 # ifdef RTLD_NOW
15445 # define LT_DLLAZY_OR_NOW RTLD_NOW
15446 # else
15447 # ifdef DL_NOW
15448 # define LT_DLLAZY_OR_NOW DL_NOW
15449 # else
15450 # define LT_DLLAZY_OR_NOW 0
15451 # endif
15452 # endif
15453 # endif
15454 # endif
15455 #endif
15456
15457 /* When -fvisibility=hidden is used, assume the code has been annotated
15458 correspondingly for the symbols needed. */
15459 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
15460 int fnord () __attribute__((visibility("default")));
15461 #endif
15462
15463 int fnord () { return 42; }
15464 int main ()
15465 {
15466 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15467 int status = $lt_dlunknown;
15468
15469 if (self)
15470 {
15471 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15472 else
15473 {
15474 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15475 else puts (dlerror ());
15476 }
15477 /* dlclose (self); */
15478 }
15479 else
15480 puts (dlerror ());
15481
15482 return status;
15483 }
15484 _LT_EOF
15485 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15486 (eval $ac_link) 2>&5
15487 ac_status=$?
15488 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15489 testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s "conftest$ac_exeext" 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
15490 (./conftest; exit; ) >&5 2>/dev/nullscip-shell filesystem . . `/dev/null`.
15491 lt_status=$?
15492 case x$lt_status in
15493 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15494 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15495 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
15496 esac
15497 else :
15498 # compilation failed
15499 lt_cv_dlopen_self_static=no
15500 fi
15501 fi
15502 rmscip-shell system . . rm. -fr conftest*
15503
15504
15505 fi
15506 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
15507 printfscip-shell system . . printf. "%s\n" "$lt_cv_dlopen_self_static" >&6; }
15508 fi
15509
15510 CPPFLAGS=$save_CPPFLAGS
15511 LDFLAGS=$save_LDFLAGS
15512 LIBS=$save_LIBS
15513 ;;
15514 esac
15515
15516 case $lt_cv_dlopen_self in
15517 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15518 *) enable_dlopen_self=unknown ;;
15519 esac
15520
15521 case $lt_cv_dlopen_self_static in
15522 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15523 *) enable_dlopen_self_static=unknown ;;
15524 esac
15525 fi
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543 striplib=
15544 old_striplib=
15545 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
15546 printfscip-shell system . . printf. %s "checking whether stripping libraries is possible... " >&6; }
15547 if testscip-shell system . . test. -z "$STRIP"; then
15548 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15549 printfscip-shell system . . printf. "%s\n" "no" >&6; }
15550 else
15551 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/nullscip-shell filesystem . . `/dev/null`.; then
15552 old_striplib="$STRIP --strip-debug"
15553 striplib="$STRIP --strip-unneeded"
15554 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15555 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
15556 else
15557 case $host_os in
15558 darwin*)
15559 # FIXME - insert some real tests, host_os isn't really good enough
15560 striplib="$STRIP -x"
15561 old_striplib="$STRIP -S"
15562 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15563 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
15564 ;;
15565 freebsd*)
15566 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/nullscip-shell filesystem . . `/dev/null`.; then
15567 old_striplib="$STRIP --strip-debug"
15568 striplib="$STRIP --strip-unneeded"
15569 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15570 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
15571 else
15572 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15573 printfscip-shell system . . printf. "%s\n" "no" >&6; }
15574 fi
15575 ;;
15576 *)
15577 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15578 printfscip-shell system . . printf. "%s\n" "no" >&6; }
15579 ;;
15580 esac
15581 fi
15582 fi
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595 # Report what library types will actually be built
15596 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15597 printfscip-shell system . . printf. %s "checking if libtool supports shared libraries... " >&6; }
15598 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15599 printfscip-shell system . . printf. "%s\n" "$can_build_shared" >&6; }
15600
15601 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15602 printfscip-shell system . . printf. %s "checking whether to build shared libraries... " >&6; }
15603 testscip-shell system . . test. no = "$can_build_shared" && enable_shared=no
15604
15605 # On AIX, shared libraries and static libraries use the same namespace, and
15606 # are all built from PIC.
15607 case $host_os in
15608 aix3*)
15609 testscip-shell system . . test. yes = "$enable_shared" && enable_static=no
15610 if testscip-shell system . . test. -n "$RANLIB"; then
15611 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15612 postinstall_cmds='$RANLIB $lib'
15613 fi
15614 ;;
15615
15616 aix[4-9]*)
15617 if testscip-shell system . . test. ia64 != "$host_cpu"; then
15618 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
15619 yes,aix,yes) ;; # shared object as lib.so file only
15620 yes,svr4,*) ;; # shared object as lib.so archive member only
15621 yes,*) enable_static=no ;; # shared object in lib.a archive as well
15622 esac
15623 fi
15624 ;;
15625 esac
15626 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
15627 printfscip-shell system . . printf. "%s\n" "$enable_shared" >&6; }
15628
15629 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
15630 printfscip-shell system . . printf. %s "checking whether to build static libraries... " >&6; }
15631 # Make sure either enable_shared or enable_static is yes.
15632 testscip-shell system . . test. yes = "$enable_shared" || enable_static=yes
15633 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
15634 printfscip-shell system . . printf. "%s\n" "$enable_static" >&6; }
15635
15636
15637
15638
15639 fi
15640 ac_ext=c
15641 ac_cpp='$CPP $CPPFLAGS'
15642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15645
15646 CC=$lt_save_CC
15647
15648 if testscip-shell system . . test. -n "$CXX" && ( testscip-shell system . . test. no != "$CXX" &&
15649 ( (testscip-shell system . . test. g++ = "$CXX" && `g++ -v >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1` ) ||
15650 (testscip-shell system . . test. g++ != "$CXX"))); then
15651 ac_ext=cpp
15652 ac_cpp='$CXXCPP $CPPFLAGS'
15653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15656 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
15657 printfscip-shell system . . printf. %s "checking how to run the C++ preprocessor... " >&6; }
15658 if testscip-shell system . . test. -z "$CXXCPP"; then
15659 if testscip-shell system . . test. ${ac_cv_prog_CXXCPP+y}
15660 then :
15661 printfscip-shell system . . printf. %s "(cached) " >&6
15662 else $as_nop
15663 # Double quotes because $CXX needs to be expanded
15664 for CXXCPP in "$CXX -E" cpp /lib/cppscip-shell filesystem . . `/lib/cpp`.
15665 do
15666 ac_preproc_ok=false
15667 for ac_cxx_preproc_warn_flag in '' yes
15668 do
15669 # Use a header file that comes with gcc, so configuring glibc
15670 # with a fresh cross-compiler works.
15671 # On the NeXT, cc -E runs the code through the compiler's parser,
15672 # not just through cpp. "Syntax error" is here to catch this case.
15673 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15674 /* end confdefs.h. */
15675 #include <limits.h>
15676 Syntax error
15677 _ACEOF
15678 if ac_fn_cxx_try_cppscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_cpp(). "$LINENO"
15679 then :
15680
15681 else $as_nop
15682 # Broken: fails on valid input.
15683 continue
15684 fi
15685 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
15686
15687 # OK, works on sane cases. Now check whether nonexistent headers
15688 # can be detected and how.
15689 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15691 #include <ac_nonexistent.h>
15692 _ACEOF
15693 if ac_fn_cxx_try_cppscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_cpp(). "$LINENO"
15694 then :
15695 # Broken: success on invalid input.
15696 continue
15697 else $as_nop
15698 # Passes both tests.
15699 ac_preproc_ok=:
15700 break
15701 fi
15702 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
15703
15704 done
15705 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15706 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
15707 if $ac_preproc_ok
15708 then :
15709 break
15710 fi
15711
15712 done
15713 ac_cv_prog_CXXCPP=$CXXCPP
15714
15715 fi
15716 CXXCPP=$ac_cv_prog_CXXCPP
15717 else
15718 ac_cv_prog_CXXCPP=$CXXCPP
15719 fi
15720 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
15721 printfscip-shell system . . printf. "%s\n" "$CXXCPP" >&6; }
15722 ac_preproc_ok=false
15723 for ac_cxx_preproc_warn_flag in '' yes
15724 do
15725 # Use a header file that comes with gcc, so configuring glibc
15726 # with a fresh cross-compiler works.
15727 # On the NeXT, cc -E runs the code through the compiler's parser,
15728 # not just through cpp. "Syntax error" is here to catch this case.
15729 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15730 /* end confdefs.h. */
15731 #include <limits.h>
15732 Syntax error
15733 _ACEOF
15734 if ac_fn_cxx_try_cppscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_cpp(). "$LINENO"
15735 then :
15736
15737 else $as_nop
15738 # Broken: fails on valid input.
15739 continue
15740 fi
15741 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
15742
15743 # OK, works on sane cases. Now check whether nonexistent headers
15744 # can be detected and how.
15745 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15746 /* end confdefs.h. */
15747 #include <ac_nonexistent.h>
15748 _ACEOF
15749 if ac_fn_cxx_try_cppscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_cpp(). "$LINENO"
15750 then :
15751 # Broken: success on invalid input.
15752 continue
15753 else $as_nop
15754 # Passes both tests.
15755 ac_preproc_ok=:
15756 break
15757 fi
15758 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
15759
15760 done
15761 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15762 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
15763 if $ac_preproc_ok
15764 then :
15765
15766 else $as_nop
15767 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15768 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
15769 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "C++ preprocessor \"$CXXCPP\" fails sanity check
15770 See \`config.log' for more details" "$LINENO" 5; }
15771 fi
15772
15773 ac_ext=c
15774 ac_cpp='$CPP $CPPFLAGS'
15775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15778
15779 else
15780 _lt_caught_CXX_error=yes
15781 fi
15782
15783 ac_ext=cpp
15784 ac_cpp='$CXXCPP $CPPFLAGS'
15785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15788
15789 archive_cmds_need_lc_CXX=no
15790 allow_undefined_flag_CXX=
15791 always_export_symbols_CXX=no
15792 archive_expsym_cmds_CXX=
15793 compiler_needs_object_CXX=no
15794 export_dynamic_flag_spec_CXX=
15795 hardcode_direct_CXX=no
15796 hardcode_direct_absolute_CXX=no
15797 hardcode_libdir_flag_spec_CXX=
15798 hardcode_libdir_separator_CXX=
15799 hardcode_minus_L_CXX=no
15800 hardcode_shlibpath_var_CXX=unsupported
15801 hardcode_automatic_CXX=no
15802 inherit_rpath_CXX=no
15803 module_cmds_CXX=
15804 module_expsym_cmds_CXX=
15805 link_all_deplibs_CXX=unknown
15806 old_archive_cmds_CXX=$old_archive_cmds
15807 reload_flag_CXX=$reload_flag
15808 reload_cmds_CXX=$reload_cmds
15809 no_undefined_flag_CXX=
15810 whole_archive_flag_spec_CXX=
15811 enable_shared_with_static_runtimes_CXX=no
15812
15813 # Source file extension for C++ test sources.
15814 ac_ext=cpp
15815
15816 # Object file extension for compiled C++ test sources.
15817 objext=o
15818 objext_CXX=$objext
15819
15820 # No sense in running all these tests if we already determined that
15821 # the CXX compiler isn't working. Some variables (like enable_shared)
15822 # are currently assumed to apply to all compilers on this platform,
15823 # and will be corrupted by setting them based on a non-working compiler.
15824 if testscip-shell system . . test. yes != "$_lt_caught_CXX_error"; then
15825 # Code to be used in simple compile tests
15826 lt_simple_compile_test_code="int some_variable = 0;"
15827
15828 # Code to be used in simple link tests
15829 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
15830
15831 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15832
15833
15834
15835
15836
15837
15838 # If no C compiler was specified, use CC.
15839 LTCC=${LTCC-"$CC"}
15840
15841 # If no C compiler flags were specified, use CFLAGS.
15842 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15843
15844 # Allow CC to be a program name with arguments.
15845 compiler=$CC
15846
15847
15848 # save warnings/boilerplate of simple test code
15849 ac_outfile=conftest.$ac_objext
15850 echoscip-shell system . . echo. "$lt_simple_compile_test_code" >conftest.$ac_ext
15851 eval "$ac_compile" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
15852 _lt_compiler_boilerplate=`catscip-shell system . . cat. conftest.err`
15853 $RM conftest*
15854
15855 ac_outfile=conftest.$ac_objext
15856 echoscip-shell system . . echo. "$lt_simple_link_test_code" >conftest.$ac_ext
15857 eval "$ac_link" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
15858 _lt_linker_boilerplate=`catscip-shell system . . cat. conftest.err`
15859 $RM -r conftest*
15860
15861
15862 # Allow CC to be a program name with arguments.
15863 lt_save_CC=$CC
15864 lt_save_CFLAGS=$CFLAGS
15865 lt_save_LD=$LD
15866 lt_save_GCC=$GCC
15867 GCC=$GXX
15868 lt_save_with_gnu_ld=$with_gnu_ld
15869 lt_save_path_LD=$lt_cv_path_LD
15870 if testscip-shell system . . test. -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15871 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15872 else
15873 $as_unset lt_cv_prog_gnu_ld
15874 fi
15875 if testscip-shell system . . test. -n "${lt_cv_path_LDCXX+set}"; then
15876 lt_cv_path_LD=$lt_cv_path_LDCXX
15877 else
15878 $as_unset lt_cv_path_LD
15879 fi
15880 testscip-shell system . . test. -z "${LDCXX+set}" || LD=$LDCXX
15881 CC=${CXX-"c++"}
15882 CFLAGS=$CXXFLAGS
15883 compiler=$CC
15884 compiler_CXX=$CC
15885 func_cc_basenamescip-shell shell shell-project 0.0.0 func_cc_basename(). $compiler
15886 cc_basename=$func_cc_basename_result
15887
15888
15889 if testscip-shell system . . test. -n "$compiler"; then
15890 # We don't want -fno-exception when compiling C++ code, so set the
15891 # no_builtin_flag separately
15892 if testscip-shell system . . test. yes = "$GXX"; then
15893 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15894 else
15895 lt_prog_compiler_no_builtin_flag_CXX=
15896 fi
15897
15898 if testscip-shell system . . test. yes = "$GXX"; then
15899 # Set up default GNU C++ configuration
15900
15901
15902
15903 # Check whether --with-gnu-ld was given.
15904 if testscip-shell system . . test. ${with_gnu_ld+y}
15905 then :
15906 withval=$with_gnu_ld; testscip-shell system . . test. no = "$withval" || with_gnu_ld=yes
15907 else $as_nop
15908 with_gnu_ld=no
15909 fi
15910
15911 ac_prog=ld
15912 if testscip-shell system . . test. yes = "$GCC"; then
15913 # Check if gcc -print-prog-name=ld gives a path.
15914 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15915 printfscip-shell system . . printf. %s "checking for ld used by $CC... " >&6; }
15916 case $host in
15917 *-*-mingw*)
15918 # gcc leaves a trailing carriage return, which upsets mingw
15919 ac_prog=`($CC -print-prog-name=ld) 2>&5 | trscip-shell system . . tr. -d '\015'` ;;
15920 *)
15921 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15922 esac
15923 case $ac_prog in
15924 # Accept absolute paths.
15925 [\\/]* | ?:[\\/]*)
15926 re_direlt='/[^/][^/]*/\.\./scip-shell filesystem . . `/[^/][^/]*/\.\./`.'
15927 # Canonicalize the pathname of ld
15928 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15929 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; do
15930 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15931 done
15932 testscip-shell system . . test. -z "$LD" && LD=$ac_prog
15933 ;;
15934 "")
15935 # If it fails, then pretend we aren't using GCC.
15936 ac_prog=ld
15937 ;;
15938 *)
15939 # If it is relative, then search for the first ld in PATH.
15940 with_gnu_ld=unknown
15941 ;;
15942 esac
15943 elif testscip-shell system . . test. yes = "$with_gnu_ld"; then
15944 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15945 printfscip-shell system . . printf. %s "checking for GNU ld... " >&6; }
15946 else
15947 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15948 printfscip-shell system . . printf. %s "checking for non-GNU ld... " >&6; }
15949 fi
15950 if testscip-shell system . . test. ${lt_cv_path_LD+y}
15951 then :
15952 printfscip-shell system . . printf. %s "(cached) " >&6
15953 else $as_nop
15954 if testscip-shell system . . test. -z "$LD"; then
15955 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
15956 for ac_dir in $PATH; do
15957 IFS=$lt_save_ifs
15958 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
15959 if testscip-shell system . . test. -f "$ac_dir/$ac_prog" || testscip-shell system . . test. -f "$ac_dir/$ac_prog$ac_exeext"; then
15960 lt_cv_path_LD=$ac_dir/$ac_prog
15961 # Check to see if the program is GNU ld. I'd rather use --version,
15962 # but apparently some variants of GNU ld only accept -v.
15963 # Break only if it was the GNU/non-GNU ld that we prefer.
15964 case `"$lt_cv_path_LD" -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
15965 *GNU* | *'with BFD'*)
15966 testscip-shell system . . test. no != "$with_gnu_ld" && break
15967 ;;
15968 *)
15969 testscip-shell system . . test. yes != "$with_gnu_ld" && break
15970 ;;
15971 esac
15972 fi
15973 done
15974 IFS=$lt_save_ifs
15975 else
15976 lt_cv_path_LD=$LD # Let the user override the test with a path.
15977 fi
15978 fi
15979
15980 LD=$lt_cv_path_LD
15981 if testscip-shell system . . test. -n "$LD"; then
15982 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15983 printfscip-shell system . . printf. "%s\n" "$LD" >&6; }
15984 else
15985 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15986 printfscip-shell system . . printf. "%s\n" "no" >&6; }
15987 fi
15988 testscip-shell system . . test. -z "$LD" && as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable ld found in \$PATH" "$LINENO" 5
15989 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15990 printfscip-shell system . . printf. %s "checking if the linker ($LD) is GNU ld... " >&6; }
15991 if testscip-shell system . . test. ${lt_cv_prog_gnu_ld+y}
15992 then :
15993 printfscip-shell system . . printf. %s "(cached) " >&6
15994 else $as_nop
15995 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15996 case `$LD -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
15997 *GNU* | *'with BFD'*)
15998 lt_cv_prog_gnu_ld=yes
15999 ;;
16000 *)
16001 lt_cv_prog_gnu_ld=no
16002 ;;
16003 esac
16004 fi
16005 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
16006 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
16007 with_gnu_ld=$lt_cv_prog_gnu_ld
16008
16009
16010
16011
16012
16013
16014
16015 # Check if GNU C++ uses GNU ld as the underlying linker, since the
16016 # archiving commands below assume that GNU ld is being used.
16017 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
16018 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16019 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'
16020
16021 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16022 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16023
16024 # If archive_cmds runs LD, not CC, wlarc should be empty
16025 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
16026 # investigate it a little bit more. (MM)
16027 wlarc='$wl'
16028
16029 # ancient GNU ld didn't support --whole-archive et. al.
16030 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
16031 $GREP 'no-whole-archive' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
16032 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16033 else
16034 whole_archive_flag_spec_CXX=
16035 fi
16036 else
16037 with_gnu_ld=no
16038 wlarc=
16039
16040 # A generic and very simple default shared library creation
16041 # command for GNU C++ for the case where it uses the native
16042 # linker, instead of GNU ld. If possible, this setting should
16043 # overridden to take advantage of the native linker features on
16044 # the platform it is being used on.
16045 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16046 fi
16047
16048 # Commands to make compiler produce verbose output that lists
16049 # what "hidden" libraries, object files and flags are used when
16050 # linking a shared library.
16051 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
16052
16053 else
16054 GXX=no
16055 with_gnu_ld=no
16056 wlarc=
16057 fi
16058
16059 # PORTME: fill in a description of your system's C++ link characteristics
16060 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16061 printfscip-shell system . . printf. %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16062 ld_shlibs_CXX=yes
16063 case $host_os in
16064 aix3*)
16065 # FIXME: insert proper C++ library support
16066 ld_shlibs_CXX=no
16067 ;;
16068 aix[4-9]*)
16069 if testscip-shell system . . test. ia64 = "$host_cpu"; then
16070 # On IA64, the linker does run time linking by default, so we don't
16071 # have to do anything special.
16072 aix_use_runtimelinking=no
16073 exp_sym_flag='-Bexport'
16074 no_entry_flag=
16075 else
16076 aix_use_runtimelinking=no
16077
16078 # Test if we are trying to use run time linking or normal
16079 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16080 # have runtime linking enabled, and use it for executables.
16081 # For shared libraries, we enable/disable runtime linking
16082 # depending on the kind of the shared library created -
16083 # when "with_aix_soname,aix_use_runtimelinking" is:
16084 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
16085 # "aix,yes" lib.so shared, rtl:yes, for executables
16086 # lib.a static archive
16087 # "both,no" lib.so.V(shr.o) shared, rtl:yes
16088 # lib.a(lib.so.V) shared, rtl:no, for executables
16089 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
16090 # lib.a(lib.so.V) shared, rtl:no
16091 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
16092 # lib.a static archive
16093 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16094 for ld_flag in $LDFLAGS; do
16095 case $ld_flag in
16096 *-brtl*)
16097 aix_use_runtimelinking=yes
16098 break
16099 ;;
16100 esac
16101 done
16102 if testscip-shell system . . test. svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
16103 # With aix-soname=svr4, we create the lib.so.V shared archives only,
16104 # so we don't have lib.a shared libs to link our executables.
16105 # We have to force runtime linking in this case.
16106 aix_use_runtimelinking=yes
16107 LDFLAGS="$LDFLAGS -Wl,-brtl"
16108 fi
16109 ;;
16110 esac
16111
16112 exp_sym_flag='-bexport'
16113 no_entry_flag='-bnoentry'
16114 fi
16115
16116 # When large executables or shared objects are built, AIX ld can
16117 # have problems creating the table of contents. If linking a library
16118 # or program results in "error TOC overflow" add -mminimal-toc to
16119 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16120 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16121
16122 archive_cmds_CXX=''
16123 hardcode_direct_CXX=yes
16124 hardcode_direct_absolute_CXX=yes
16125 hardcode_libdir_separator_CXX=':'
16126 link_all_deplibs_CXX=yes
16127 file_list_spec_CXX='$wl-f,'
16128 case $with_aix_soname,$aix_use_runtimelinking in
16129 aix,*) ;; # no import file
16130 svr4,* | *,yes) # use import file
16131 # The Import File defines what to hardcode.
16132 hardcode_direct_CXX=no
16133 hardcode_direct_absolute_CXX=no
16134 ;;
16135 esac
16136
16137 if testscip-shell system . . test. yes = "$GXX"; then
16138 case $host_os in aix4.[012]|aix4.[012].*)
16139 # We only want to do this on AIX 4.2 and lower, the check
16140 # below for broken collect2 doesn't work under 4.3+
16141 collect2name=`$CC -print-prog-name=collect2`
16142 if testscip-shell system . . test. -f "$collect2name" &&
16143 stringsscip-shell system . . strings. "$collect2name" | $GREP resolve_lib_name >/dev/nullscip-shell filesystem . . `/dev/null`.
16144 then
16145 # We have reworked collect2
16146 :
16147 else
16148 # We have old collect2
16149 hardcode_direct_CXX=unsupported
16150 # It fails to find uninstalled libraries when the uninstalled
16151 # path is not listed in the libpath. Setting hardcode_minus_L
16152 # to unsupported forces relinking
16153 hardcode_minus_L_CXX=yes
16154 hardcode_libdir_flag_spec_CXX='-L$libdir'
16155 hardcode_libdir_separator_CXX=
16156 fi
16157 esac
16158 shared_flag='-shared'
16159 if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then
16160 shared_flag=$shared_flag' $wl-G'
16161 fi
16162 # Need to ensure runtime linking is disabled for the traditional
16163 # shared library, or the linker may eventually find shared libraries
16164 # /with/ Import File - we do not want to mix them.
16165 shared_flag_aix='-shared'
16166 shared_flag_svr4='-shared $wl-G'
16167 else
16168 # not using gcc
16169 if testscip-shell system . . test. ia64 = "$host_cpu"; then
16170 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16171 # chokes on -Wl,-G. The following line is correct:
16172 shared_flag='-G'
16173 else
16174 if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then
16175 shared_flag='$wl-G'
16176 else
16177 shared_flag='$wl-bM:SRE'
16178 fi
16179 shared_flag_aix='$wl-bM:SRE'
16180 shared_flag_svr4='$wl-G'
16181 fi
16182 fi
16183
16184 export_dynamic_flag_spec_CXX='$wl-bexpall'
16185 # It seems that -bexpall does not export symbols beginning with
16186 # underscore (_), so it is better to generate a list of symbols to
16187 # export.
16188 always_export_symbols_CXX=yes
16189 if testscip-shell system . . test. aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
16190 # Warning - without using the other runtime loading flags (-brtl),
16191 # -berok will link without error, but may produce a broken library.
16192 # The "-G" linker flag allows undefined symbols.
16193 no_undefined_flag_CXX='-bernotok'
16194 # Determine the default libpath from the value encoded in an empty
16195 # executable.
16196 if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then
16197 aix_libpath=$lt_cv_aix_libpath
16198 else
16199 if testscip-shell system . . test. ${lt_cv_aix_libpath__CXX+y}
16200 then :
16201 printfscip-shell system . . printf. %s "(cached) " >&6
16202 else $as_nop
16203 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16204 /* end confdefs.h. */
16205
16206 int
16207 main (void)
16208 {
16209
16210 ;
16211 return 0;
16212 }
16213 _ACEOF
16214 if ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). "$LINENO"
16215 then :
16216
16217 lt_aix_libpath_sed='
16218 /Import File Strings/,/^$/ {
16219 /^0/ {
16220 s/^0 *\([^ ]*\) *$/\1/
16221 p
16222 }
16223 }'
16224 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
16225 # Check for a 64-bit object if we didn't find anything.
16226 if testscip-shell system . . test. -z "$lt_cv_aix_libpath__CXX"; then
16227 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
16228 fi
16229 fi
16230 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
16231 conftest$ac_exeext conftest.$ac_ext
16232 if testscip-shell system . . test. -z "$lt_cv_aix_libpath__CXX"; then
16233 lt_cv_aix_libpath__CXX=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`.
16234 fi
16235
16236 fi
16237
16238 aix_libpath=$lt_cv_aix_libpath__CXX
16239 fi
16240
16241 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
16242
16243 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
16244 else
16245 if testscip-shell system . . test. ia64 = "$host_cpu"; then
16246 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
16247 allow_undefined_flag_CXX="-z nodefs"
16248 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"
16249 else
16250 # Determine the default libpath from the value encoded in an
16251 # empty executable.
16252 if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then
16253 aix_libpath=$lt_cv_aix_libpath
16254 else
16255 if testscip-shell system . . test. ${lt_cv_aix_libpath__CXX+y}
16256 then :
16257 printfscip-shell system . . printf. %s "(cached) " >&6
16258 else $as_nop
16259 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16260 /* end confdefs.h. */
16261
16262 int
16263 main (void)
16264 {
16265
16266 ;
16267 return 0;
16268 }
16269 _ACEOF
16270 if ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). "$LINENO"
16271 then :
16272
16273 lt_aix_libpath_sed='
16274 /Import File Strings/,/^$/ {
16275 /^0/ {
16276 s/^0 *\([^ ]*\) *$/\1/
16277 p
16278 }
16279 }'
16280 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
16281 # Check for a 64-bit object if we didn't find anything.
16282 if testscip-shell system . . test. -z "$lt_cv_aix_libpath__CXX"; then
16283 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
16284 fi
16285 fi
16286 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
16287 conftest$ac_exeext conftest.$ac_ext
16288 if testscip-shell system . . test. -z "$lt_cv_aix_libpath__CXX"; then
16289 lt_cv_aix_libpath__CXX=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`.
16290 fi
16291
16292 fi
16293
16294 aix_libpath=$lt_cv_aix_libpath__CXX
16295 fi
16296
16297 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
16298 # Warning - without using the other run time loading flags,
16299 # -berok will link without error, but may produce a broken library.
16300 no_undefined_flag_CXX=' $wl-bernotok'
16301 allow_undefined_flag_CXX=' $wl-berok'
16302 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
16303 # We only use this code for GNU lds that support --whole-archive.
16304 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
16305 else
16306 # Exported symbols can be pulled into shared objects from archives
16307 whole_archive_flag_spec_CXX='$convenience'
16308 fi
16309 archive_cmds_need_lc_CXX=yes
16310 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
16311 # -brtl affects multiple linker settings, -berok does not and is overridden later
16312 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
16313 if testscip-shell system . . test. svr4 != "$with_aix_soname"; then
16314 # This is similar to how AIX traditionally builds its shared
16315 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
16316 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'
16317 fi
16318 if testscip-shell system . . test. aix != "$with_aix_soname"; then
16319 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'
16320 else
16321 # used by -dlpreopen to get the symbols
16322 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
16323 fi
16324 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
16325 fi
16326 fi
16327 ;;
16328
16329 beos*)
16330 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
16331 allow_undefined_flag_CXX=unsupported
16332 # Joseph Beckenbach <[email protected]> says some releases of gcc
16333 # support --undefined. This deserves some investigation. FIXME
16334 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16335 else
16336 ld_shlibs_CXX=no
16337 fi
16338 ;;
16339
16340 chorus*)
16341 case $cc_basename in
16342 *)
16343 # FIXME: insert proper C++ library support
16344 ld_shlibs_CXX=no
16345 ;;
16346 esac
16347 ;;
16348
16349 cygwin* | mingw* | pw32* | cegcc*)
16350 case $GXX,$cc_basename in
16351 ,cl* | no,cl* | ,icl* | no,icl*)
16352 # Native MSVC or ICC
16353 # hardcode_libdir_flag_spec is actually meaningless, as there is
16354 # no search path for DLLs.
16355 hardcode_libdir_flag_spec_CXX=' '
16356 allow_undefined_flag_CXX=unsupported
16357 always_export_symbols_CXX=yes
16358 file_list_spec_CXX='@'
16359 # Tell ltmain to make .lib files, not .a files.
16360 libext=lib
16361 # Tell ltmain to make .dll files, not .so files.
16362 shrext_cmds=.dll
16363 # FIXME: Setting linknames here is a bad hack.
16364 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
16365 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
16366 cp "$export_symbols" "$output_objdir/$soname.def";
16367 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
16368 else
16369 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
16370 fi~
16371 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
16372 linknames='
16373 # The linker will not automatically build a static lib if we build a DLL.
16374 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
16375 enable_shared_with_static_runtimes_CXX=yes
16376 # Don't use ranlib
16377 old_postinstall_cmds_CXX='chmod 644 $oldlib'
16378 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
16379 lt_tool_outputfile="@TOOL_OUTPUT@"~
16380 case $lt_outputfile in
16381 *.exe|*.EXE) ;;
16382 *)
16383 lt_outputfile=$lt_outputfile.exe
16384 lt_tool_outputfile=$lt_tool_outputfile.exe
16385 ;;
16386 esac~
16387 func_to_tool_file "$lt_outputfile"~
16388 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
16389 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
16390 $RM "$lt_outputfile.manifest";
16391 fi'
16392 ;;
16393 *)
16394 # g++
16395 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
16396 # as there is no search path for DLLs.
16397 hardcode_libdir_flag_spec_CXX='-L$libdir'
16398 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
16399 allow_undefined_flag_CXX=unsupported
16400 always_export_symbols_CXX=no
16401 enable_shared_with_static_runtimes_CXX=yes
16402
16403 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
16404 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'
16405 # If the export-symbols file already is a .def file, use it as
16406 # is; otherwise, prepend EXPORTS...
16407 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
16408 cp $export_symbols $output_objdir/$soname.def;
16409 else
16410 echo EXPORTS > $output_objdir/$soname.def;
16411 cat $export_symbols >> $output_objdir/$soname.def;
16412 fi~
16413 $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'
16414 else
16415 ld_shlibs_CXX=no
16416 fi
16417 ;;
16418 esac
16419 ;;
16420 darwin* | rhapsody*)
16421
16422
16423 archive_cmds_need_lc_CXX=no
16424 hardcode_direct_CXX=no
16425 hardcode_automatic_CXX=yes
16426 hardcode_shlibpath_var_CXX=unsupported
16427 if testscip-shell system . . test. yes = "$lt_cv_ld_force_load"; then
16428 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\"`'
16429
16430 else
16431 whole_archive_flag_spec_CXX=''
16432 fi
16433 link_all_deplibs_CXX=yes
16434 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
16435 case $cc_basename in
16436 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
16437 *) _lt_dar_can_shared=$GCC ;;
16438 esac
16439 if testscip-shell system . . test. yes = "$_lt_dar_can_shared"; then
16440 output_verbose_link_cmd=func_echo_all
16441 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"
16442 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
16443 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"
16444 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"
16445 if testscip-shell system . . test. yes != "$lt_cv_apple_cc_single_mod"; then
16446 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"
16447 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"
16448 fi
16449
16450 else
16451 ld_shlibs_CXX=no
16452 fi
16453
16454 ;;
16455
16456 os2*)
16457 hardcode_libdir_flag_spec_CXX='-L$libdir'
16458 hardcode_minus_L_CXX=yes
16459 allow_undefined_flag_CXX=unsupported
16460 shrext_cmds=.dll
16461 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
16462 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
16463 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
16464 $ECHO EXPORTS >> $output_objdir/$libname.def~
16465 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
16466 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
16467 emximp -o $lib $output_objdir/$libname.def'
16468 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
16469 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
16470 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
16471 $ECHO EXPORTS >> $output_objdir/$libname.def~
16472 prefix_cmds="$SED"~
16473 if test EXPORTS = "`$SED 1q $export_symbols`"; then
16474 prefix_cmds="$prefix_cmds -e 1d";
16475 fi~
16476 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
16477 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
16478 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
16479 emximp -o $lib $output_objdir/$libname.def'
16480 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
16481 enable_shared_with_static_runtimes_CXX=yes
16482 file_list_spec_CXX='@'
16483 ;;
16484
16485 dgux*)
16486 case $cc_basename in
16487 ec++*)
16488 # FIXME: insert proper C++ library support
16489 ld_shlibs_CXX=no
16490 ;;
16491 ghcx*)
16492 # Green Hills C++ Compiler
16493 # FIXME: insert proper C++ library support
16494 ld_shlibs_CXX=no
16495 ;;
16496 *)
16497 # FIXME: insert proper C++ library support
16498 ld_shlibs_CXX=no
16499 ;;
16500 esac
16501 ;;
16502
16503 freebsd2.*)
16504 # C++ shared libraries reported to be fairly broken before
16505 # switch to ELF
16506 ld_shlibs_CXX=no
16507 ;;
16508
16509 freebsd-elf*)
16510 archive_cmds_need_lc_CXX=no
16511 ;;
16512
16513 freebsd* | dragonfly* | midnightbsd*)
16514 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
16515 # conventions
16516 ld_shlibs_CXX=yes
16517 ;;
16518
16519 haiku*)
16520 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16521 link_all_deplibs_CXX=yes
16522 ;;
16523
16524 hpux9*)
16525 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
16526 hardcode_libdir_separator_CXX=:
16527 export_dynamic_flag_spec_CXX='$wl-E'
16528 hardcode_direct_CXX=yes
16529 hardcode_minus_L_CXX=yes # Not in the search PATH,
16530 # but as the default
16531 # location of the library.
16532
16533 case $cc_basename in
16534 CC*)
16535 # FIXME: insert proper C++ library support
16536 ld_shlibs_CXX=no
16537 ;;
16538 aCC*)
16539 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'
16540 # Commands to make compiler produce verbose output that lists
16541 # what "hidden" libraries, object files and flags are used when
16542 # linking a shared library.
16543 #
16544 # There doesn't appear to be a way to prevent this compiler from
16545 # explicitly linking system object files so we need to strip them
16546 # from the output so that they don't get included in the library
16547 # dependencies.
16548 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"'
16549 ;;
16550 *)
16551 if testscip-shell system . . test. yes = "$GXX"; then
16552 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'
16553 else
16554 # FIXME: insert proper C++ library support
16555 ld_shlibs_CXX=no
16556 fi
16557 ;;
16558 esac
16559 ;;
16560
16561 hpux10*|hpux11*)
16562 if testscip-shell system . . test. no = "$with_gnu_ld"; then
16563 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
16564 hardcode_libdir_separator_CXX=:
16565
16566 case $host_cpu in
16567 hppa*64*|ia64*)
16568 ;;
16569 *)
16570 export_dynamic_flag_spec_CXX='$wl-E'
16571 ;;
16572 esac
16573 fi
16574 case $host_cpu in
16575 hppa*64*|ia64*)
16576 hardcode_direct_CXX=no
16577 hardcode_shlibpath_var_CXX=no
16578 ;;
16579 *)
16580 hardcode_direct_CXX=yes
16581 hardcode_direct_absolute_CXX=yes
16582 hardcode_minus_L_CXX=yes # Not in the search PATH,
16583 # but as the default
16584 # location of the library.
16585 ;;
16586 esac
16587
16588 case $cc_basename in
16589 CC*)
16590 # FIXME: insert proper C++ library support
16591 ld_shlibs_CXX=no
16592 ;;
16593 aCC*)
16594 case $host_cpu in
16595 hppa*64*)
16596 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16597 ;;
16598 ia64*)
16599 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16600 ;;
16601 *)
16602 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16603 ;;
16604 esac
16605 # Commands to make compiler produce verbose output that lists
16606 # what "hidden" libraries, object files and flags are used when
16607 # linking a shared library.
16608 #
16609 # There doesn't appear to be a way to prevent this compiler from
16610 # explicitly linking system object files so we need to strip them
16611 # from the output so that they don't get included in the library
16612 # dependencies.
16613 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"'
16614 ;;
16615 *)
16616 if testscip-shell system . . test. yes = "$GXX"; then
16617 if testscip-shell system . . test. no = "$with_gnu_ld"; then
16618 case $host_cpu in
16619 hppa*64*)
16620 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16621 ;;
16622 ia64*)
16623 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16624 ;;
16625 *)
16626 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'
16627 ;;
16628 esac
16629 fi
16630 else
16631 # FIXME: insert proper C++ library support
16632 ld_shlibs_CXX=no
16633 fi
16634 ;;
16635 esac
16636 ;;
16637
16638 interix[3-9]*)
16639 hardcode_direct_CXX=no
16640 hardcode_shlibpath_var_CXX=no
16641 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16642 export_dynamic_flag_spec_CXX='$wl-E'
16643 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16644 # Instead, shared libraries are loaded at an image base (0x10000000 by
16645 # default) and relocated if they conflict, which is a slow very memory
16646 # consuming and fragmenting process. To avoid this, we pick a random,
16647 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16648 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16649 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'
16650 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'
16651 ;;
16652 irix5* | irix6*)
16653 case $cc_basename in
16654 CC*)
16655 # SGI C++
16656 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'
16657
16658 # Archives containing C++ object files must be created using
16659 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
16660 # necessary to make sure instantiated templates are included
16661 # in the archive.
16662 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
16663 ;;
16664 *)
16665 if testscip-shell system . . test. yes = "$GXX"; then
16666 if testscip-shell system . . test. no = "$with_gnu_ld"; then
16667 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'
16668 else
16669 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'
16670 fi
16671 fi
16672 link_all_deplibs_CXX=yes
16673 ;;
16674 esac
16675 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16676 hardcode_libdir_separator_CXX=:
16677 inherit_rpath_CXX=yes
16678 ;;
16679
16680 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16681 case $cc_basename in
16682 KCC*)
16683 # Kuck and Associates, Inc. (KAI) C++ Compiler
16684
16685 # KCC will only create a shared library if the output file
16686 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16687 # to its proper name (with version) after linking.
16688 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'
16689 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'
16690 # Commands to make compiler produce verbose output that lists
16691 # what "hidden" libraries, object files and flags are used when
16692 # linking a shared library.
16693 #
16694 # There doesn't appear to be a way to prevent this compiler from
16695 # explicitly linking system object files so we need to strip them
16696 # from the output so that they don't get included in the library
16697 # dependencies.
16698 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"'
16699
16700 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16701 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16702
16703 # Archives containing C++ object files must be created using
16704 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16705 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16706 ;;
16707 icpc* | ecpc* )
16708 # Intel C++
16709 with_gnu_ld=yes
16710 # version 8.0 and above of icpc choke on multiply defined symbols
16711 # if we add $predep_objects and $postdep_objects, however 7.1 and
16712 # earlier do not add the objects themselves.
16713 case `$CC -V 2>&1` in
16714 *"Version 7."*)
16715 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16716 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'
16717 ;;
16718 *) # Version 8.0 or newer
16719 tmp_idyn=
16720 case $host_cpu in
16721 ia64*) tmp_idyn=' -i_dynamic';;
16722 esac
16723 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16724 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'
16725 ;;
16726 esac
16727 archive_cmds_need_lc_CXX=no
16728 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16729 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16730 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
16731 ;;
16732 pgCC* | pgcpp*)
16733 # Portland Group C++ compiler
16734 case `$CC -V` in
16735 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
16736 prelink_cmds_CXX='tpldir=Template.dir~
16737 rm -rf $tpldir~
16738 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
16739 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
16740 old_archive_cmds_CXX='tpldir=Template.dir~
16741 rm -rf $tpldir~
16742 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
16743 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
16744 $RANLIB $oldlib'
16745 archive_cmds_CXX='tpldir=Template.dir~
16746 rm -rf $tpldir~
16747 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16748 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16749 archive_expsym_cmds_CXX='tpldir=Template.dir~
16750 rm -rf $tpldir~
16751 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16752 $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'
16753 ;;
16754 *) # Version 6 and above use weak symbols
16755 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16756 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'
16757 ;;
16758 esac
16759
16760 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
16761 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16762 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'
16763 ;;
16764 cxx*)
16765 # Compaq C++
16766 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16767 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'
16768
16769 runpath_var=LD_RUN_PATH
16770 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16771 hardcode_libdir_separator_CXX=:
16772
16773 # Commands to make compiler produce verbose output that lists
16774 # what "hidden" libraries, object files and flags are used when
16775 # linking a shared library.
16776 #
16777 # There doesn't appear to be a way to prevent this compiler from
16778 # explicitly linking system object files so we need to strip them
16779 # from the output so that they don't get included in the library
16780 # dependencies.
16781 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'
16782 ;;
16783 xl* | mpixl* | bgxl*)
16784 # IBM XL 8.0 on PPC, with GNU ld
16785 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16786 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16787 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16788 if testscip-shell system . . test. yes = "$supports_anon_versioning"; then
16789 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
16790 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16791 echo "local: *; };" >> $output_objdir/$libname.ver~
16792 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
16793 fi
16794 ;;
16795 *)
16796 case `$CC -V 2>&1 | $SED 5q` in
16797 *Sun\ C*)
16798 # Sun C++ 5.9
16799 no_undefined_flag_CXX=' -zdefs'
16800 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16801 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'
16802 hardcode_libdir_flag_spec_CXX='-R$libdir'
16803 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'
16804 compiler_needs_object_CXX=yes
16805
16806 # Not sure whether something based on
16807 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
16808 # would be better.
16809 output_verbose_link_cmd='func_echo_all'
16810
16811 # Archives containing C++ object files must be created using
16812 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16813 # necessary to make sure instantiated templates are included
16814 # in the archive.
16815 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16816 ;;
16817 esac
16818 ;;
16819 esac
16820 ;;
16821
16822 lynxos*)
16823 # FIXME: insert proper C++ library support
16824 ld_shlibs_CXX=no
16825 ;;
16826
16827 m88k*)
16828 # FIXME: insert proper C++ library support
16829 ld_shlibs_CXX=no
16830 ;;
16831
16832 mvs*)
16833 case $cc_basename in
16834 cxx*)
16835 # FIXME: insert proper C++ library support
16836 ld_shlibs_CXX=no
16837 ;;
16838 *)
16839 # FIXME: insert proper C++ library support
16840 ld_shlibs_CXX=no
16841 ;;
16842 esac
16843 ;;
16844
16845 netbsd*)
16846 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
16847 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16848 wlarc=
16849 hardcode_libdir_flag_spec_CXX='-R$libdir'
16850 hardcode_direct_CXX=yes
16851 hardcode_shlibpath_var_CXX=no
16852 fi
16853 # Workaround some broken pre-1.5 toolchains
16854 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16855 ;;
16856
16857 *nto* | *qnx*)
16858 ld_shlibs_CXX=yes
16859 ;;
16860
16861 openbsd* | bitrig*)
16862 if testscip-shell system . . test. -f /usr/libexec/ld.soscip-shell filesystem . . `/usr/libexec/ld.so`.; then
16863 hardcode_direct_CXX=yes
16864 hardcode_shlibpath_var_CXX=no
16865 hardcode_direct_absolute_CXX=yes
16866 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16867 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16868 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__`"; then
16869 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
16870 export_dynamic_flag_spec_CXX='$wl-E'
16871 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16872 fi
16873 output_verbose_link_cmd=func_echo_all
16874 else
16875 ld_shlibs_CXX=no
16876 fi
16877 ;;
16878
16879 osf3* | osf4* | osf5*)
16880 case $cc_basename in
16881 KCC*)
16882 # Kuck and Associates, Inc. (KAI) C++ Compiler
16883
16884 # KCC will only create a shared library if the output file
16885 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16886 # to its proper name (with version) after linking.
16887 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'
16888
16889 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16890 hardcode_libdir_separator_CXX=:
16891
16892 # Archives containing C++ object files must be created using
16893 # the KAI C++ compiler.
16894 case $host in
16895 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
16896 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
16897 esac
16898 ;;
16899 RCC*)
16900 # Rational C++ 2.4.1
16901 # FIXME: insert proper C++ library support
16902 ld_shlibs_CXX=no
16903 ;;
16904 cxx*)
16905 case $host in
16906 osf3*)
16907 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
16908 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'
16909 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16910 ;;
16911 *)
16912 allow_undefined_flag_CXX=' -expect_unresolved \*'
16913 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'
16914 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16915 echo "-hidden">> $lib.exp~
16916 $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~
16917 $RM $lib.exp'
16918 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16919 ;;
16920 esac
16921
16922 hardcode_libdir_separator_CXX=:
16923
16924 # Commands to make compiler produce verbose output that lists
16925 # what "hidden" libraries, object files and flags are used when
16926 # linking a shared library.
16927 #
16928 # There doesn't appear to be a way to prevent this compiler from
16929 # explicitly linking system object files so we need to strip them
16930 # from the output so that they don't get included in the library
16931 # dependencies.
16932 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"'
16933 ;;
16934 *)
16935 if testscip-shell system . . test. yes,no = "$GXX,$with_gnu_ld"; then
16936 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
16937 case $host in
16938 osf3*)
16939 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'
16940 ;;
16941 *)
16942 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'
16943 ;;
16944 esac
16945
16946 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16947 hardcode_libdir_separator_CXX=:
16948
16949 # Commands to make compiler produce verbose output that lists
16950 # what "hidden" libraries, object files and flags are used when
16951 # linking a shared library.
16952 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
16953
16954 else
16955 # FIXME: insert proper C++ library support
16956 ld_shlibs_CXX=no
16957 fi
16958 ;;
16959 esac
16960 ;;
16961
16962 psos*)
16963 # FIXME: insert proper C++ library support
16964 ld_shlibs_CXX=no
16965 ;;
16966
16967 sunos4*)
16968 case $cc_basename in
16969 CC*)
16970 # Sun C++ 4.x
16971 # FIXME: insert proper C++ library support
16972 ld_shlibs_CXX=no
16973 ;;
16974 lcc*)
16975 # Lucid
16976 # FIXME: insert proper C++ library support
16977 ld_shlibs_CXX=no
16978 ;;
16979 *)
16980 # FIXME: insert proper C++ library support
16981 ld_shlibs_CXX=no
16982 ;;
16983 esac
16984 ;;
16985
16986 solaris*)
16987 case $cc_basename in
16988 CC* | sunCC*)
16989 # Sun C++ 4.2, 5.x and Centerline C++
16990 archive_cmds_need_lc_CXX=yes
16991 no_undefined_flag_CXX=' -zdefs'
16992 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16993 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16994 $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'
16995
16996 hardcode_libdir_flag_spec_CXX='-R$libdir'
16997 hardcode_shlibpath_var_CXX=no
16998 case $host_os in
16999 solaris2.[0-5] | solaris2.[0-5].*) ;;
17000 *)
17001 # The compiler driver will combine and reorder linker options,
17002 # but understands '-z linker_flag'.
17003 # Supported since Solaris 2.6 (maybe 2.5.1?)
17004 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
17005 ;;
17006 esac
17007 link_all_deplibs_CXX=yes
17008
17009 output_verbose_link_cmd='func_echo_all'
17010
17011 # Archives containing C++ object files must be created using
17012 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17013 # necessary to make sure instantiated templates are included
17014 # in the archive.
17015 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
17016 ;;
17017 gcx*)
17018 # Green Hills C++ Compiler
17019 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
17020
17021 # The C++ compiler must be used to create the archive.
17022 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
17023 ;;
17024 *)
17025 # GNU C++ compiler with Solaris linker
17026 if testscip-shell system . . test. yes,no = "$GXX,$with_gnu_ld"; then
17027 no_undefined_flag_CXX=' $wl-z ${wl}defs'
17028 if $CC --version | $GREP -v '^2\.7' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
17029 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
17030 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17031 $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'
17032
17033 # Commands to make compiler produce verbose output that lists
17034 # what "hidden" libraries, object files and flags are used when
17035 # linking a shared library.
17036 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
17037 else
17038 # g++ 2.7 appears to require '-G' NOT '-shared' on this
17039 # platform.
17040 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
17041 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17042 $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'
17043
17044 # Commands to make compiler produce verbose output that lists
17045 # what "hidden" libraries, object files and flags are used when
17046 # linking a shared library.
17047 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
17048 fi
17049
17050 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
17051 case $host_os in
17052 solaris2.[0-5] | solaris2.[0-5].*) ;;
17053 *)
17054 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
17055 ;;
17056 esac
17057 fi
17058 ;;
17059 esac
17060 ;;
17061
17062 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17063 no_undefined_flag_CXX='$wl-z,text'
17064 archive_cmds_need_lc_CXX=no
17065 hardcode_shlibpath_var_CXX=no
17066 runpath_var='LD_RUN_PATH'
17067
17068 case $cc_basename in
17069 CC*)
17070 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17071 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17072 ;;
17073 *)
17074 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17075 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17076 ;;
17077 esac
17078 ;;
17079
17080 sysv5* | sco3.2v5* | sco5v6*)
17081 # Note: We CANNOT use -z defs as we might desire, because we do not
17082 # link with -lc, and that would cause any symbols used from libc to
17083 # always be unresolved, which means just about no library would
17084 # ever link correctly. If we're not using GNU ld we use -z text
17085 # though, which does catch some bad symbols but isn't as heavy-handed
17086 # as -z defs.
17087 no_undefined_flag_CXX='$wl-z,text'
17088 allow_undefined_flag_CXX='$wl-z,nodefs'
17089 archive_cmds_need_lc_CXX=no
17090 hardcode_shlibpath_var_CXX=no
17091 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
17092 hardcode_libdir_separator_CXX=':'
17093 link_all_deplibs_CXX=yes
17094 export_dynamic_flag_spec_CXX='$wl-Bexport'
17095 runpath_var='LD_RUN_PATH'
17096
17097 case $cc_basename in
17098 CC*)
17099 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17100 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17101 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
17102 '"$old_archive_cmds_CXX"
17103 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
17104 '"$reload_cmds_CXX"
17105 ;;
17106 *)
17107 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17108 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17109 ;;
17110 esac
17111 ;;
17112
17113 tandem*)
17114 case $cc_basename in
17115 NCC*)
17116 # NonStop-UX NCC 3.20
17117 # FIXME: insert proper C++ library support
17118 ld_shlibs_CXX=no
17119 ;;
17120 *)
17121 # FIXME: insert proper C++ library support
17122 ld_shlibs_CXX=no
17123 ;;
17124 esac
17125 ;;
17126
17127 vxworks*)
17128 # FIXME: insert proper C++ library support
17129 ld_shlibs_CXX=no
17130 ;;
17131
17132 *)
17133 # FIXME: insert proper C++ library support
17134 ld_shlibs_CXX=no
17135 ;;
17136 esac
17137
17138 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17139 printfscip-shell system . . printf. "%s\n" "$ld_shlibs_CXX" >&6; }
17140 testscip-shell system . . test. no = "$ld_shlibs_CXX" && can_build_shared=no
17141
17142 GCC_CXX=$GXX
17143 LD_CXX=$LD
17144
17145 ## CAVEAT EMPTOR:
17146 ## There is no encapsulation within the following macros, do not change
17147 ## the running order or otherwise move them around unless you know exactly
17148 ## what you are doing...
17149 # Dependencies to place before and after the object being linked:
17150 predep_objects_CXX=
17151 postdep_objects_CXX=
17152 predeps_CXX=
17153 postdeps_CXX=
17154 compiler_lib_search_path_CXX=
17155
17156 catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF
17157 class Foo
17158 {
17159 public:
17160 Foo (void) { a = 0; }
17161 private:
17162 int a;
17163 };
17164 _LT_EOF
17165
17166
17167 _lt_libdeps_save_CFLAGS=$CFLAGS
17168 case "$CC $CFLAGS " in #(
17169 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
17170 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
17171 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
17172 esac
17173
17174 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17175 (eval $ac_compile) 2>&5
17176 ac_status=$?
17177 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17178 testscip-shell system . . test. $ac_status = 0; }; then
17179 # Parse the compiler output and extract the necessary
17180 # objects, libraries and library flags.
17181
17182 # Sentinel used to keep track of whether or not we are before
17183 # the conftest object file.
17184 pre_test_object_deps_done=no
17185
17186 for p in `eval "$output_verbose_link_cmd"`; do
17187 case $prev$p in
17188
17189 -L* | -R* | -l*)
17190 # Some compilers place space between "-{L,R}" and the path.
17191 # Remove the space.
17192 if testscip-shell system . . test. x-L = "$p" ||
17193 testscip-shell system . . test. x-R = "$p"; then
17194 prev=$p
17195 continue
17196 fi
17197
17198 # Expand the sysroot to ease extracting the directories later.
17199 if testscip-shell system . . test. -z "$prev"; then
17200 case $p in
17201 -L*) func_stripname_cnfscip-shell shell shell-project 0.0.0 func_stripname_cnf(). '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
17202 -R*) func_stripname_cnfscip-shell shell shell-project 0.0.0 func_stripname_cnf(). '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
17203 -l*) func_stripname_cnfscip-shell shell shell-project 0.0.0 func_stripname_cnf(). '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
17204 esac
17205 fi
17206 case $p in
17207 =*) func_stripname_cnfscip-shell shell shell-project 0.0.0 func_stripname_cnf(). '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
17208 esac
17209 if testscip-shell system . . test. no = "$pre_test_object_deps_done"; then
17210 case $prev in
17211 -L | -R)
17212 # Internal compiler library paths should come after those
17213 # provided the user. The postdeps already come after the
17214 # user supplied libs so there is no need to process them.
17215 if testscip-shell system . . test. -z "$compiler_lib_search_path_CXX"; then
17216 compiler_lib_search_path_CXX=$prev$p
17217 else
17218 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
17219 fi
17220 ;;
17221 # The "-l" case would never come before the object being
17222 # linked, so don't bother handling this case.
17223 esac
17224 else
17225 if testscip-shell system . . test. -z "$postdeps_CXX"; then
17226 postdeps_CXX=$prev$p
17227 else
17228 postdeps_CXX="${postdeps_CXX} $prev$p"
17229 fi
17230 fi
17231 prev=
17232 ;;
17233
17234 *.lto.$objext) ;; # Ignore GCC LTO objects
17235 *.$objext)
17236 # This assumes that the test object file only shows up
17237 # once in the compiler output.
17238 if testscip-shell system . . test. "$p" = "conftest.$objext"; then
17239 pre_test_object_deps_done=yes
17240 continue
17241 fi
17242
17243 if testscip-shell system . . test. no = "$pre_test_object_deps_done"; then
17244 if testscip-shell system . . test. -z "$predep_objects_CXX"; then
17245 predep_objects_CXX=$p
17246 else
17247 predep_objects_CXX="$predep_objects_CXX $p"
17248 fi
17249 else
17250 if testscip-shell system . . test. -z "$postdep_objects_CXX"; then
17251 postdep_objects_CXX=$p
17252 else
17253 postdep_objects_CXX="$postdep_objects_CXX $p"
17254 fi
17255 fi
17256 ;;
17257
17258 *) ;; # Ignore the rest.
17259
17260 esac
17261 done
17262
17263 # Clean up.
17264 rmscip-shell system . . rm. -f a.out a.exe
17265 else
17266 echoscip-shell system . . echo. "libtool.m4: error: problem compiling CXX test program"
17267 fi
17268
17269 $RM -f confest.$objext
17270 CFLAGS=$_lt_libdeps_save_CFLAGS
17271
17272 # PORTME: override above test on systems where it is broken
17273 case $host_os in
17274 interix[3-9]*)
17275 # Interix 3.5 installs completely hosed .la files for C++, so rather than
17276 # hack all around it, let's just trust "g++" to DTRT.
17277 predep_objects_CXX=
17278 postdep_objects_CXX=
17279 postdeps_CXX=
17280 ;;
17281 esac
17282
17283
17284 case " $postdeps_CXX " in
17285 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
17286 esac
17287 compiler_lib_search_dirs_CXX=
17288 if testscip-shell system . . test. -n "${compiler_lib_search_path_CXX}"; then
17289 compiler_lib_search_dirs_CXX=`echoscip-shell system . . echo. " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
17290 fi
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322 lt_prog_compiler_wl_CXX=
17323 lt_prog_compiler_pic_CXX=
17324 lt_prog_compiler_static_CXX=
17325
17326
17327 # C++ specific cases for pic, static, wl, etc.
17328 if testscip-shell system . . test. yes = "$GXX"; then
17329 lt_prog_compiler_wl_CXX='-Wl,'
17330 lt_prog_compiler_static_CXX='-static'
17331
17332 case $host_os in
17333 aix*)
17334 # All AIX code is PIC.
17335 if testscip-shell system . . test. ia64 = "$host_cpu"; then
17336 # AIX 5 now supports IA64 processor
17337 lt_prog_compiler_static_CXX='-Bstatic'
17338 fi
17339 lt_prog_compiler_pic_CXX='-fPIC'
17340 ;;
17341
17342 amigaos*)
17343 case $host_cpu in
17344 powerpc)
17345 # see comment about AmigaOS4 .so support
17346 lt_prog_compiler_pic_CXX='-fPIC'
17347 ;;
17348 m68k)
17349 # FIXME: we need at least 68020 code to build shared libraries, but
17350 # adding the '-m68020' flag to GCC prevents building anything better,
17351 # like '-m68040'.
17352 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
17353 ;;
17354 esac
17355 ;;
17356
17357 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17358 # PIC is the default for these OSes.
17359 ;;
17360 mingw* | cygwin* | os2* | pw32* | cegcc*)
17361 # This hack is so that the source file can tell whether it is being
17362 # built for inclusion in a dll (and should export symbols for example).
17363 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17364 # (--disable-auto-import) libraries
17365 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17366 case $host_os in
17367 os2*)
17368 lt_prog_compiler_static_CXX='$wl-static'
17369 ;;
17370 esac
17371 ;;
17372 darwin* | rhapsody*)
17373 # PIC is the default on this platform
17374 # Common symbols not allowed in MH_DYLIB files
17375 lt_prog_compiler_pic_CXX='-fno-common'
17376 ;;
17377 *djgpp*)
17378 # DJGPP does not support shared libraries at all
17379 lt_prog_compiler_pic_CXX=
17380 ;;
17381 haiku*)
17382 # PIC is the default for Haiku.
17383 # The "-static" flag exists, but is broken.
17384 lt_prog_compiler_static_CXX=
17385 ;;
17386 interix[3-9]*)
17387 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17388 # Instead, we relocate shared libraries at runtime.
17389 ;;
17390 sysv4*MP*)
17391 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
17392 lt_prog_compiler_pic_CXX=-Kconform_pic
17393 fi
17394 ;;
17395 hpux*)
17396 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17397 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17398 # sets the default TLS model and affects inlining.
17399 case $host_cpu in
17400 hppa*64*)
17401 ;;
17402 *)
17403 lt_prog_compiler_pic_CXX='-fPIC'
17404 ;;
17405 esac
17406 ;;
17407 *qnx* | *nto*)
17408 # QNX uses GNU C++, but need to define -shared option too, otherwise
17409 # it will coredump.
17410 lt_prog_compiler_pic_CXX='-fPIC -shared'
17411 ;;
17412 *)
17413 lt_prog_compiler_pic_CXX='-fPIC'
17414 ;;
17415 esac
17416 else
17417 case $host_os in
17418 aix[4-9]*)
17419 # All AIX code is PIC.
17420 if testscip-shell system . . test. ia64 = "$host_cpu"; then
17421 # AIX 5 now supports IA64 processor
17422 lt_prog_compiler_static_CXX='-Bstatic'
17423 else
17424 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
17425 fi
17426 ;;
17427 chorus*)
17428 case $cc_basename in
17429 cxch68*)
17430 # Green Hills C++ Compiler
17431 # _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"
17432 ;;
17433 esac
17434 ;;
17435 mingw* | cygwin* | os2* | pw32* | cegcc*)
17436 # This hack is so that the source file can tell whether it is being
17437 # built for inclusion in a dll (and should export symbols for example).
17438 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17439 ;;
17440 dgux*)
17441 case $cc_basename in
17442 ec++*)
17443 lt_prog_compiler_pic_CXX='-KPIC'
17444 ;;
17445 ghcx*)
17446 # Green Hills C++ Compiler
17447 lt_prog_compiler_pic_CXX='-pic'
17448 ;;
17449 *)
17450 ;;
17451 esac
17452 ;;
17453 freebsd* | dragonfly* | midnightbsd*)
17454 # FreeBSD uses GNU C++
17455 ;;
17456 hpux9* | hpux10* | hpux11*)
17457 case $cc_basename in
17458 CC*)
17459 lt_prog_compiler_wl_CXX='-Wl,'
17460 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
17461 if testscip-shell system . . test. ia64 != "$host_cpu"; then
17462 lt_prog_compiler_pic_CXX='+Z'
17463 fi
17464 ;;
17465 aCC*)
17466 lt_prog_compiler_wl_CXX='-Wl,'
17467 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
17468 case $host_cpu in
17469 hppa*64*|ia64*)
17470 # +Z the default
17471 ;;
17472 *)
17473 lt_prog_compiler_pic_CXX='+Z'
17474 ;;
17475 esac
17476 ;;
17477 *)
17478 ;;
17479 esac
17480 ;;
17481 interix*)
17482 # This is c89, which is MS Visual C++ (no shared libs)
17483 # Anyone wants to do a port?
17484 ;;
17485 irix5* | irix6* | nonstopux*)
17486 case $cc_basename in
17487 CC*)
17488 lt_prog_compiler_wl_CXX='-Wl,'
17489 lt_prog_compiler_static_CXX='-non_shared'
17490 # CC pic flag -KPIC is the default.
17491 ;;
17492 *)
17493 ;;
17494 esac
17495 ;;
17496 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
17497 case $cc_basename in
17498 KCC*)
17499 # KAI C++ Compiler
17500 lt_prog_compiler_wl_CXX='--backend -Wl,'
17501 lt_prog_compiler_pic_CXX='-fPIC'
17502 ;;
17503 ecpc* )
17504 # old Intel C++ for x86_64, which still supported -KPIC.
17505 lt_prog_compiler_wl_CXX='-Wl,'
17506 lt_prog_compiler_pic_CXX='-KPIC'
17507 lt_prog_compiler_static_CXX='-static'
17508 ;;
17509 icpc* )
17510 # Intel C++, used to be incompatible with GCC.
17511 # ICC 10 doesn't accept -KPIC any more.
17512 lt_prog_compiler_wl_CXX='-Wl,'
17513 lt_prog_compiler_pic_CXX='-fPIC'
17514 lt_prog_compiler_static_CXX='-static'
17515 ;;
17516 pgCC* | pgcpp*)
17517 # Portland Group C++ compiler
17518 lt_prog_compiler_wl_CXX='-Wl,'
17519 lt_prog_compiler_pic_CXX='-fpic'
17520 lt_prog_compiler_static_CXX='-Bstatic'
17521 ;;
17522 cxx*)
17523 # Compaq C++
17524 # Make sure the PIC flag is empty. It appears that all Alpha
17525 # Linux and Compaq Tru64 Unix objects are PIC.
17526 lt_prog_compiler_pic_CXX=
17527 lt_prog_compiler_static_CXX='-non_shared'
17528 ;;
17529 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
17530 # IBM XL 8.0, 9.0 on PPC and BlueGene
17531 lt_prog_compiler_wl_CXX='-Wl,'
17532 lt_prog_compiler_pic_CXX='-qpic'
17533 lt_prog_compiler_static_CXX='-qstaticlink'
17534 ;;
17535 *)
17536 case `$CC -V 2>&1 | $SED 5q` in
17537 *Sun\ C*)
17538 # Sun C++ 5.9
17539 lt_prog_compiler_pic_CXX='-KPIC'
17540 lt_prog_compiler_static_CXX='-Bstatic'
17541 lt_prog_compiler_wl_CXX='-Qoption ld '
17542 ;;
17543 esac
17544 ;;
17545 esac
17546 ;;
17547 lynxos*)
17548 ;;
17549 m88k*)
17550 ;;
17551 mvs*)
17552 case $cc_basename in
17553 cxx*)
17554 lt_prog_compiler_pic_CXX='-W c,exportall'
17555 ;;
17556 *)
17557 ;;
17558 esac
17559 ;;
17560 netbsd* | netbsdelf*-gnu)
17561 ;;
17562 *qnx* | *nto*)
17563 # QNX uses GNU C++, but need to define -shared option too, otherwise
17564 # it will coredump.
17565 lt_prog_compiler_pic_CXX='-fPIC -shared'
17566 ;;
17567 osf3* | osf4* | osf5*)
17568 case $cc_basename in
17569 KCC*)
17570 lt_prog_compiler_wl_CXX='--backend -Wl,'
17571 ;;
17572 RCC*)
17573 # Rational C++ 2.4.1
17574 lt_prog_compiler_pic_CXX='-pic'
17575 ;;
17576 cxx*)
17577 # Digital/Compaq C++
17578 lt_prog_compiler_wl_CXX='-Wl,'
17579 # Make sure the PIC flag is empty. It appears that all Alpha
17580 # Linux and Compaq Tru64 Unix objects are PIC.
17581 lt_prog_compiler_pic_CXX=
17582 lt_prog_compiler_static_CXX='-non_shared'
17583 ;;
17584 *)
17585 ;;
17586 esac
17587 ;;
17588 psos*)
17589 ;;
17590 solaris*)
17591 case $cc_basename in
17592 CC* | sunCC*)
17593 # Sun C++ 4.2, 5.x and Centerline C++
17594 lt_prog_compiler_pic_CXX='-KPIC'
17595 lt_prog_compiler_static_CXX='-Bstatic'
17596 lt_prog_compiler_wl_CXX='-Qoption ld '
17597 ;;
17598 gcx*)
17599 # Green Hills C++ Compiler
17600 lt_prog_compiler_pic_CXX='-PIC'
17601 ;;
17602 *)
17603 ;;
17604 esac
17605 ;;
17606 sunos4*)
17607 case $cc_basename in
17608 CC*)
17609 # Sun C++ 4.x
17610 lt_prog_compiler_pic_CXX='-pic'
17611 lt_prog_compiler_static_CXX='-Bstatic'
17612 ;;
17613 lcc*)
17614 # Lucid
17615 lt_prog_compiler_pic_CXX='-pic'
17616 ;;
17617 *)
17618 ;;
17619 esac
17620 ;;
17621 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17622 case $cc_basename in
17623 CC*)
17624 lt_prog_compiler_wl_CXX='-Wl,'
17625 lt_prog_compiler_pic_CXX='-KPIC'
17626 lt_prog_compiler_static_CXX='-Bstatic'
17627 ;;
17628 esac
17629 ;;
17630 tandem*)
17631 case $cc_basename in
17632 NCC*)
17633 # NonStop-UX NCC 3.20
17634 lt_prog_compiler_pic_CXX='-KPIC'
17635 ;;
17636 *)
17637 ;;
17638 esac
17639 ;;
17640 vxworks*)
17641 ;;
17642 *)
17643 lt_prog_compiler_can_build_shared_CXX=no
17644 ;;
17645 esac
17646 fi
17647
17648 case $host_os in
17649 # For platforms that do not support PIC, -DPIC is meaningless:
17650 *djgpp*)
17651 lt_prog_compiler_pic_CXX=
17652 ;;
17653 *)
17654 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
17655 ;;
17656 esac
17657
17658 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17659 printfscip-shell system . . printf. %s "checking for $compiler option to produce PIC... " >&6; }
17660 if testscip-shell system . . test. ${lt_cv_prog_compiler_pic_CXX+y}
17661 then :
17662 printfscip-shell system . . printf. %s "(cached) " >&6
17663 else $as_nop
17664 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
17665 fi
17666 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
17667 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
17668 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
17669
17670 #
17671 # Check to make sure the PIC flag actually works.
17672 #
17673 if testscip-shell system . . test. -n "$lt_prog_compiler_pic_CXX"; then
17674 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17675 printfscip-shell system . . printf. %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
17676 if testscip-shell system . . test. ${lt_cv_prog_compiler_pic_works_CXX+y}
17677 then :
17678 printfscip-shell system . . printf. %s "(cached) " >&6
17679 else $as_nop
17680 lt_cv_prog_compiler_pic_works_CXX=no
17681 ac_outfile=conftest.$ac_objext
17682 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
17683 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
17684 # Insert the option either (1) after the last *FLAGS variable, or
17685 # (2) before a word containing "conftest.", or (3) at the end.
17686 # Note that $ac_compile itself does not contain backslashes and begins
17687 # with a dollar sign (not a hyphen), so the echo should work correctly.
17688 # The option is referenced via a variable to avoid confusing sed.
17689 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
17690 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17691 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17692 -e 's:$: $lt_compiler_flag:'`
17693 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17694 (eval "$lt_compile" 2>conftest.err)
17695 ac_status=$?
17696 catscip-shell system . . cat. conftest.err >&5
17697 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
17698 if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then
17699 # The compiler can only warn and ignore the option if not recognized
17700 # So say no if there are warnings other than the usual output.
17701 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp
17702 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
17703 if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
17704 lt_cv_prog_compiler_pic_works_CXX=yes
17705 fi
17706 fi
17707 $RM conftest*
17708
17709 fi
17710 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
17711 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
17712
17713 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
17714 case $lt_prog_compiler_pic_CXX in
17715 "" | " "*) ;;
17716 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
17717 esac
17718 else
17719 lt_prog_compiler_pic_CXX=
17720 lt_prog_compiler_can_build_shared_CXX=no
17721 fi
17722
17723 fi
17724
17725
17726
17727
17728
17729 #
17730 # Check to make sure the static flag actually works.
17731 #
17732 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
17733 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17734 printfscip-shell system . . printf. %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17735 if testscip-shell system . . test. ${lt_cv_prog_compiler_static_works_CXX+y}
17736 then :
17737 printfscip-shell system . . printf. %s "(cached) " >&6
17738 else $as_nop
17739 lt_cv_prog_compiler_static_works_CXX=no
17740 save_LDFLAGS=$LDFLAGS
17741 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17742 echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext
17743 if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then
17744 # The linker can only warn and ignore the option if not recognized
17745 # So say no if there are warnings
17746 if testscip-shell system . . test. -s conftest.err; then
17747 # Append any errors to the config.log.
17748 catscip-shell system . . cat. conftest.err 1>&5
17749 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp
17750 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
17751 if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
17752 lt_cv_prog_compiler_static_works_CXX=yes
17753 fi
17754 else
17755 lt_cv_prog_compiler_static_works_CXX=yes
17756 fi
17757 fi
17758 $RM -r conftest*
17759 LDFLAGS=$save_LDFLAGS
17760
17761 fi
17762 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
17763 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
17764
17765 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_static_works_CXX"; then
17766 :
17767 else
17768 lt_prog_compiler_static_CXX=
17769 fi
17770
17771
17772
17773
17774 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17775 printfscip-shell system . . printf. %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17776 if testscip-shell system . . test. ${lt_cv_prog_compiler_c_o_CXX+y}
17777 then :
17778 printfscip-shell system . . printf. %s "(cached) " >&6
17779 else $as_nop
17780 lt_cv_prog_compiler_c_o_CXX=no
17781 $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`.
17782 mkdirscip-shell system . . mkdir. conftest
17783 cd conftest
17784 mkdirscip-shell system . . mkdir. out
17785 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
17786
17787 lt_compiler_flag="-o out/conftest2.$ac_objext"
17788 # Insert the option either (1) after the last *FLAGS variable, or
17789 # (2) before a word containing "conftest.", or (3) at the end.
17790 # Note that $ac_compile itself does not contain backslashes and begins
17791 # with a dollar sign (not a hyphen), so the echo should work correctly.
17792 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
17793 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17794 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17795 -e 's:$: $lt_compiler_flag:'`
17796 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17797 (eval "$lt_compile" 2>out/conftest.err)
17798 ac_status=$?
17799 catscip-shell system . . cat. out/conftest.err >&5
17800 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
17801 if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext
17802 then
17803 # The compiler can only warn and ignore the option if not recognized
17804 # So say no if there are warnings
17805 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp
17806 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2
17807 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
17808 lt_cv_prog_compiler_c_o_CXX=yes
17809 fi
17810 fi
17811 chmodscip-shell system . . chmod. u+w . 2>&5
17812 $RM conftest*
17813 # SGI C++ compiler will create directory out/ii_files/ for
17814 # template instantiation
17815 testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files
17816 $RM out/* && rmdirscip-shell system . . rmdir. out
17817 cd ..
17818 $RM -r conftest
17819 $RM conftest*
17820
17821 fi
17822 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17823 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17824
17825
17826
17827 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17828 printfscip-shell system . . printf. %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17829 if testscip-shell system . . test. ${lt_cv_prog_compiler_c_o_CXX+y}
17830 then :
17831 printfscip-shell system . . printf. %s "(cached) " >&6
17832 else $as_nop
17833 lt_cv_prog_compiler_c_o_CXX=no
17834 $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`.
17835 mkdirscip-shell system . . mkdir. conftest
17836 cd conftest
17837 mkdirscip-shell system . . mkdir. out
17838 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
17839
17840 lt_compiler_flag="-o out/conftest2.$ac_objext"
17841 # Insert the option either (1) after the last *FLAGS variable, or
17842 # (2) before a word containing "conftest.", or (3) at the end.
17843 # Note that $ac_compile itself does not contain backslashes and begins
17844 # with a dollar sign (not a hyphen), so the echo should work correctly.
17845 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
17846 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17847 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17848 -e 's:$: $lt_compiler_flag:'`
17849 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17850 (eval "$lt_compile" 2>out/conftest.err)
17851 ac_status=$?
17852 catscip-shell system . . cat. out/conftest.err >&5
17853 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
17854 if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext
17855 then
17856 # The compiler can only warn and ignore the option if not recognized
17857 # So say no if there are warnings
17858 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp
17859 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2
17860 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
17861 lt_cv_prog_compiler_c_o_CXX=yes
17862 fi
17863 fi
17864 chmodscip-shell system . . chmod. u+w . 2>&5
17865 $RM conftest*
17866 # SGI C++ compiler will create directory out/ii_files/ for
17867 # template instantiation
17868 testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files
17869 $RM out/* && rmdirscip-shell system . . rmdir. out
17870 cd ..
17871 $RM -r conftest
17872 $RM conftest*
17873
17874 fi
17875 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17876 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17877
17878
17879
17880
17881 hard_links=nottested
17882 if testscip-shell system . . test. no = "$lt_cv_prog_compiler_c_o_CXX" && testscip-shell system . . test. no != "$need_locks"; then
17883 # do not overwrite the value of need_locks provided by the user
17884 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17885 printfscip-shell system . . printf. %s "checking if we can lock with hard links... " >&6; }
17886 hard_links=yes
17887 $RM conftest*
17888 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
17889 touchscip-shell system . . touch. conftest.a
17890 lnscip-shell system . . ln. conftest.a conftest.b 2>&5 || hard_links=no
17891 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
17892 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17893 printfscip-shell system . . printf. "%s\n" "$hard_links" >&6; }
17894 if testscip-shell system . . test. no = "$hard_links"; then
17895 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
17896 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
17897 need_locks=warn
17898 fi
17899 else
17900 need_locks=no
17901 fi
17902
17903
17904
17905 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17906 printfscip-shell system . . printf. %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17907
17908 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17909 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17910 case $host_os in
17911 aix[4-9]*)
17912 # If we're using GNU nm, then we don't want the "-C" option.
17913 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
17914 # Without the "-l" option, or with the "-B" option, AIX nm treats
17915 # weak defined symbols like other global defined symbols, whereas
17916 # GNU nm marks them as "W".
17917 # While the 'weak' keyword is ignored in the Export File, we need
17918 # it in the Import File for the 'aix-soname' feature, so we have
17919 # to replace the "-B" option with "-P" for AIX nm.
17920 if $NM -V 2>&1 | $GREP 'GNU' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
17921 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'
17922 else
17923 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 == "L") || (\$ 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'
17924 fi
17925 ;;
17926 pw32*)
17927 export_symbols_cmds_CXX=$ltdll_cmds
17928 ;;
17929 cygwin* | mingw* | cegcc*)
17930 case $cc_basename in
17931 cl* | icl*)
17932 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17933 ;;
17934 *)
17935 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'
17936 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17937 ;;
17938 esac
17939 ;;
17940 linux* | k*bsd*-gnu | gnu*)
17941 link_all_deplibs_CXX=no
17942 ;;
17943 *)
17944 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17945 ;;
17946 esac
17947
17948 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17949 printfscip-shell system . . printf. "%s\n" "$ld_shlibs_CXX" >&6; }
17950 testscip-shell system . . test. no = "$ld_shlibs_CXX" && can_build_shared=no
17951
17952 with_gnu_ld_CXX=$with_gnu_ld
17953
17954
17955
17956
17957
17958
17959 #
17960 # Do we need to explicitly link libc?
17961 #
17962 case "x$archive_cmds_need_lc_CXX" in
17963 x|xyes)
17964 # Assume -lc should be added
17965 archive_cmds_need_lc_CXX=yes
17966
17967 if testscip-shell system . . test. yes,yes = "$GCC,$enable_shared"; then
17968 case $archive_cmds_CXX in
17969 *'~'*)
17970 # FIXME: we may have to deal with multi-command sequences.
17971 ;;
17972 '$CC '*)
17973 # Test whether the compiler implicitly links with -lc since on some
17974 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17975 # to ld, don't add -lc before -lgcc.
17976 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17977 printfscip-shell system . . printf. %s "checking whether -lc should be explicitly linked in... " >&6; }
17978 if testscip-shell system . . test. ${lt_cv_archive_cmds_need_lc_CXX+y}
17979 then :
17980 printfscip-shell system . . printf. %s "(cached) " >&6
17981 else $as_nop
17982 $RM conftest*
17983 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
17984
17985 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17986 (eval $ac_compile) 2>&5
17987 ac_status=$?
17988 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17989 testscip-shell system . . test. $ac_status = 0; } 2>conftest.err; then
17990 soname=conftest
17991 lib=conftest
17992 libobjs=conftest.$ac_objext
17993 deplibs=
17994 wl=$lt_prog_compiler_wl_CXX
17995 pic_flag=$lt_prog_compiler_pic_CXX
17996 compiler_flags=-v
17997 linker_flags=-v
17998 verstring=
17999 output_objdir=.
18000 libname=conftest
18001 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
18002 allow_undefined_flag_CXX=
18003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18004 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
18005 ac_status=$?
18006 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18007 testscip-shell system . . test. $ac_status = 0; }
18008 then
18009 lt_cv_archive_cmds_need_lc_CXX=no
18010 else
18011 lt_cv_archive_cmds_need_lc_CXX=yes
18012 fi
18013 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
18014 else
18015 catscip-shell system . . cat. conftest.err 1>&5
18016 fi
18017 $RM conftest*
18018
18019 fi
18020 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
18021 printfscip-shell system . . printf. "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
18022 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
18023 ;;
18024 esac
18025 fi
18026 ;;
18027 esac
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
18091 printfscip-shell system . . printf. %s "checking dynamic linker characteristics... " >&6; }
18092
18093 library_names_spec=
18094 libname_spec='lib$name'
18095 soname_spec=
18096 shrext_cmds=.so
18097 postinstall_cmds=
18098 postuninstall_cmds=
18099 finish_cmds=
18100 finish_eval=
18101 shlibpath_var=
18102 shlibpath_overrides_runpath=unknown
18103 version_type=none
18104 dynamic_linker="$host_os ld.so"
18105 sys_lib_dlsearch_path_spec="/lib /usr/libscip-shell filesystem . . `/lib /usr/lib`."
18106 need_lib_prefix=unknown
18107 hardcode_into_libs=no
18108
18109 # when you set need_version to no, make sure it does not cause -set_version
18110 # flags to be left without arguments
18111 need_version=unknown
18112
18113
18114
18115 case $host_os in
18116 aix3*)
18117 version_type=linux # correct to gnu/linux during the next big refactor
18118 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
18119 shlibpath_var=LIBPATH
18120
18121 # AIX 3 has no versioning support, so we append a major version to the name.
18122 soname_spec='$libname$release$shared_ext$major'
18123 ;;
18124
18125 aix[4-9]*)
18126 version_type=linux # correct to gnu/linux during the next big refactor
18127 need_lib_prefix=no
18128 need_version=no
18129 hardcode_into_libs=yes
18130 if testscip-shell system . . test. ia64 = "$host_cpu"; then
18131 # AIX 5 supports IA64
18132 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
18133 shlibpath_var=LD_LIBRARY_PATH
18134 else
18135 # With GCC up to 2.95.x, collect2 would create an import file
18136 # for dependence libraries. The import file would start with
18137 # the line '#! .'. This would cause the generated library to
18138 # depend on '.', always an invalid library. This was fixed in
18139 # development snapshots of GCC prior to 3.0.
18140 case $host_os in
18141 aix4 | aix4.[01] | aix4.[01].*)
18142 if { echoscip-shell system . . echo. '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18143 echoscip-shell system . . echo. ' yes '
18144 echoscip-shell system . . echo. '#endif'; } | $CC -E - | $GREP yes > /dev/nullscip-shell filesystem . . `/dev/null`.; then
18145 :
18146 else
18147 can_build_shared=no
18148 fi
18149 ;;
18150 esac
18151 # Using Import Files as archive members, it is possible to support
18152 # filename-based versioning of shared library archives on AIX. While
18153 # this would work for both with and without runtime linking, it will
18154 # prevent static linking of such archives. So we do filename-based
18155 # shared library versioning with .so extension only, which is used
18156 # when both runtime linking and shared linking is enabled.
18157 # Unfortunately, runtime linking may impact performance, so we do
18158 # not want this to be the default eventually. Also, we use the
18159 # versioned .so libs for executables only if there is the -brtl
18160 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
18161 # To allow for filename-based versioning support, we need to create
18162 # libNAME.so.V as an archive file, containing:
18163 # *) an Import File, referring to the versioned filename of the
18164 # archive as well as the shared archive member, telling the
18165 # bitwidth (32 or 64) of that shared object, and providing the
18166 # list of exported symbols of that shared object, eventually
18167 # decorated with the 'weak' keyword
18168 # *) the shared object with the F_LOADONLY flag set, to really avoid
18169 # it being seen by the linker.
18170 # At run time we better use the real file rather than another symlink,
18171 # but for link time we create the symlink libNAME.so -> libNAME.so.V
18172
18173 case $with_aix_soname,$aix_use_runtimelinking in
18174 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
18175 # soname into executable. Probably we can add versioning support to
18176 # collect2, so additional links can be useful in future.
18177 aix,yes) # traditional libtool
18178 dynamic_linker='AIX unversionable lib.so'
18179 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18180 # instead of lib<name>.a to let people know that these are not
18181 # typical AIX shared libraries.
18182 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18183 ;;
18184 aix,no) # traditional AIX only
18185 dynamic_linker='AIX lib.a(lib.so.V)'
18186 # We preserve .a as extension for shared libraries through AIX4.2
18187 # and later when we are not doing run time linking.
18188 library_names_spec='$libname$release.a $libname.a'
18189 soname_spec='$libname$release$shared_ext$major'
18190 ;;
18191 svr4,*) # full svr4 only
18192 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
18193 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
18194 # We do not specify a path in Import Files, so LIBPATH fires.
18195 shlibpath_overrides_runpath=yes
18196 ;;
18197 *,yes) # both, prefer svr4
18198 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
18199 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
18200 # unpreferred sharedlib libNAME.a needs extra handling
18201 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"'
18202 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"'
18203 # We do not specify a path in Import Files, so LIBPATH fires.
18204 shlibpath_overrides_runpath=yes
18205 ;;
18206 *,no) # both, prefer aix
18207 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
18208 library_names_spec='$libname$release.a $libname.a'
18209 soname_spec='$libname$release$shared_ext$major'
18210 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
18211 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)'
18212 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"'
18213 ;;
18214 esac
18215 shlibpath_var=LIBPATH
18216 fi
18217 ;;
18218
18219 amigaos*)
18220 case $host_cpu in
18221 powerpc)
18222 # Since July 2007 AmigaOS4 officially supports .so libraries.
18223 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
18224 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18225 ;;
18226 m68k)
18227 library_names_spec='$libname.ixlibrary $libname.a'
18228 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18229 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'
18230 ;;
18231 esac
18232 ;;
18233
18234 beos*)
18235 library_names_spec='$libname$shared_ext'
18236 dynamic_linker="$host_os ld.so"
18237 shlibpath_var=LIBRARY_PATH
18238 ;;
18239
18240 bsdi[45]*)
18241 version_type=linux # correct to gnu/linux during the next big refactor
18242 need_version=no
18243 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18244 soname_spec='$libname$release$shared_ext$major'
18245 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18246 shlibpath_var=LD_LIBRARY_PATH
18247 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`."
18248 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/local/lib`."
18249 # the default ld.so.conf also contains /usr/contrib/lib and
18250 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18251 # libtool to hard-code these into programs
18252 ;;
18253
18254 cygwin* | mingw* | pw32* | cegcc*)
18255 version_type=windows
18256 shrext_cmds=.dll
18257 need_version=no
18258 need_lib_prefix=no
18259
18260 case $GCC,$cc_basename in
18261 yes,*)
18262 # gcc
18263 library_names_spec='$libname.dll.a'
18264 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18265 postinstall_cmds='base_file=`basename \$file`~
18266 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
18267 dldir=$destdir/`dirname \$dlpath`~
18268 test -d \$dldir || mkdir -p \$dldir~
18269 $install_prog $dir/$dlname \$dldir/$dlname~
18270 chmod a+x \$dldir/$dlname~
18271 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18272 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18273 fi'
18274 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18275 dlpath=$dir/\$dldll~
18276 $RM \$dlpath'
18277 shlibpath_overrides_runpath=yes
18278
18279 case $host_os in
18280 cygwin*)
18281 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18282 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
18283
18284 ;;
18285 mingw* | cegcc*)
18286 # MinGW DLLs use traditional 'lib' prefix
18287 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
18288 ;;
18289 pw32*)
18290 # pw32 DLLs use 'pw' prefix rather than 'lib'
18291 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
18292 ;;
18293 esac
18294 dynamic_linker='Win32 ld.exe'
18295 ;;
18296
18297 *,cl* | *,icl*)
18298 # Native MSVC or ICC
18299 libname_spec='$name'
18300 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
18301 library_names_spec='$libname.dll.lib'
18302
18303 case $build_os in
18304 mingw*)
18305 sys_lib_search_path_spec=
18306 lt_save_ifs=$IFS
18307 IFS=';'
18308 for lt_path in $LIB
18309 do
18310 IFS=$lt_save_ifs
18311 # Let DOS variable expansion print the short 8.3 style file name.
18312 lt_path=`cd "$lt_path" 2>/dev/nullscip-shell filesystem . . `/dev/null`. && cmd //C "for %i in (".") do @echo %~si"`
18313 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
18314 done
18315 IFS=$lt_save_ifs
18316 # Convert to MSYS style.
18317 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
18318 ;;
18319 cygwin*)
18320 # Convert to unix form, then to dos form, then back to unix form
18321 # but this time dos style (no spaces!) so that the unix form looks
18322 # like /cygdrive/c/PROGRA~1:/cygdr...
18323 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
18324 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
18325 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18326 ;;
18327 *)
18328 sys_lib_search_path_spec=$LIB
18329 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/nullscip-shell filesystem . . `/dev/null`.; then
18330 # It is most probably a Windows format PATH.
18331 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18332 else
18333 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18334 fi
18335 # FIXME: find the short name or the path components, as spaces are
18336 # common. (e.g. "Program Files" -> "PROGRA~1")
18337 ;;
18338 esac
18339
18340 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18341 postinstall_cmds='base_file=`basename \$file`~
18342 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
18343 dldir=$destdir/`dirname \$dlpath`~
18344 test -d \$dldir || mkdir -p \$dldir~
18345 $install_prog $dir/$dlname \$dldir/$dlname'
18346 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18347 dlpath=$dir/\$dldll~
18348 $RM \$dlpath'
18349 shlibpath_overrides_runpath=yes
18350 dynamic_linker='Win32 link.exe'
18351 ;;
18352
18353 *)
18354 # Assume MSVC and ICC wrapper
18355 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
18356 dynamic_linker='Win32 ld.exe'
18357 ;;
18358 esac
18359 # FIXME: first we should search . and the directory the executable is in
18360 shlibpath_var=PATH
18361 ;;
18362
18363 darwin* | rhapsody*)
18364 dynamic_linker="$host_os dyld"
18365 version_type=darwin
18366 need_lib_prefix=no
18367 need_version=no
18368 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
18369 soname_spec='$libname$release$major$shared_ext'
18370 shlibpath_overrides_runpath=yes
18371 shlibpath_var=DYLD_LIBRARY_PATH
18372 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18373
18374 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/libscip-shell filesystem . . `/usr/local/lib /lib /usr/lib`.'
18375 ;;
18376
18377 dgux*)
18378 version_type=linux # correct to gnu/linux during the next big refactor
18379 need_lib_prefix=no
18380 need_version=no
18381 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18382 soname_spec='$libname$release$shared_ext$major'
18383 shlibpath_var=LD_LIBRARY_PATH
18384 ;;
18385
18386 freebsd* | dragonfly* | midnightbsd*)
18387 # DragonFly does not have aout. When/if they implement a new
18388 # versioning mechanism, adjust this.
18389 if testscip-shell system . . test. -x /usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.; then
18390 objformat=`/usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.`
18391 else
18392 case $host_os in
18393 freebsd[23].*) objformat=aout ;;
18394 *) objformat=elf ;;
18395 esac
18396 fi
18397 version_type=freebsd-$objformat
18398 case $version_type in
18399 freebsd-elf*)
18400 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18401 soname_spec='$libname$release$shared_ext$major'
18402 need_version=no
18403 need_lib_prefix=no
18404 ;;
18405 freebsd-*)
18406 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18407 need_version=yes
18408 ;;
18409 esac
18410 shlibpath_var=LD_LIBRARY_PATH
18411 case $host_os in
18412 freebsd2.*)
18413 shlibpath_overrides_runpath=yes
18414 ;;
18415 freebsd3.[01]* | freebsdelf3.[01]*)
18416 shlibpath_overrides_runpath=yes
18417 hardcode_into_libs=yes
18418 ;;
18419 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18420 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18421 shlibpath_overrides_runpath=no
18422 hardcode_into_libs=yes
18423 ;;
18424 *) # from 4.6 on, and DragonFly
18425 shlibpath_overrides_runpath=yes
18426 hardcode_into_libs=yes
18427 ;;
18428 esac
18429 ;;
18430
18431 haiku*)
18432 version_type=linux # correct to gnu/linux during the next big refactor
18433 need_lib_prefix=no
18434 need_version=no
18435 dynamic_linker="$host_os runtime_loader"
18436 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18437 soname_spec='$libname$release$shared_ext$major'
18438 shlibpath_var=LIBRARY_PATH
18439 shlibpath_overrides_runpath=no
18440 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`.'
18441 hardcode_into_libs=yes
18442 ;;
18443
18444 hpux9* | hpux10* | hpux11*)
18445 # Give a soname corresponding to the major version so that dld.sl refuses to
18446 # link against other versions.
18447 version_type=sunos
18448 need_lib_prefix=no
18449 need_version=no
18450 case $host_cpu in
18451 ia64*)
18452 shrext_cmds='.so'
18453 hardcode_into_libs=yes
18454 dynamic_linker="$host_os dld.so"
18455 shlibpath_var=LD_LIBRARY_PATH
18456 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18457 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18458 soname_spec='$libname$release$shared_ext$major'
18459 if testscip-shell system . . test. 32 = "$HPUX_IA64_MODE"; then
18460 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`."
18461 sys_lib_dlsearch_path_spec=/usr/lib/hpux32scip-shell filesystem . . `/usr/lib/hpux32`.
18462 else
18463 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64 /usr/local/lib/hpux64`."
18464 sys_lib_dlsearch_path_spec=/usr/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64`.
18465 fi
18466 ;;
18467 hppa*64*)
18468 shrext_cmds='.sl'
18469 hardcode_into_libs=yes
18470 dynamic_linker="$host_os dld.sl"
18471 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18472 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18473 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18474 soname_spec='$libname$release$shared_ext$major'
18475 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`."
18476 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18477 ;;
18478 *)
18479 shrext_cmds='.sl'
18480 dynamic_linker="$host_os dld.sl"
18481 shlibpath_var=SHLIB_PATH
18482 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18483 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18484 soname_spec='$libname$release$shared_ext$major'
18485 ;;
18486 esac
18487 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
18488 postinstall_cmds='chmod 555 $lib'
18489 # or fails outright, so override atomically:
18490 install_override_mode=555
18491 ;;
18492
18493 interix[3-9]*)
18494 version_type=linux # correct to gnu/linux during the next big refactor
18495 need_lib_prefix=no
18496 need_version=no
18497 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18498 soname_spec='$libname$release$shared_ext$major'
18499 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18500 shlibpath_var=LD_LIBRARY_PATH
18501 shlibpath_overrides_runpath=no
18502 hardcode_into_libs=yes
18503 ;;
18504
18505 irix5* | irix6* | nonstopux*)
18506 case $host_os in
18507 nonstopux*) version_type=nonstopux ;;
18508 *)
18509 if testscip-shell system . . test. yes = "$lt_cv_prog_gnu_ld"; then
18510 version_type=linux # correct to gnu/linux during the next big refactor
18511 else
18512 version_type=irix
18513 fi ;;
18514 esac
18515 need_lib_prefix=no
18516 need_version=no
18517 soname_spec='$libname$release$shared_ext$major'
18518 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
18519 case $host_os in
18520 irix5* | nonstopux*)
18521 libsuff= shlibsuff=
18522 ;;
18523 *)
18524 case $LD in # libtool.m4 will add one of these switches to LD
18525 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18526 libsuff= shlibsuff= libmagic=32-bit;;
18527 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18528 libsuff=32 shlibsuff=N32 libmagic=N32;;
18529 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18530 libsuff=64 shlibsuff=64 libmagic=64-bit;;
18531 *) libsuff= shlibsuff= libmagic=never-match;;
18532 esac
18533 ;;
18534 esac
18535 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18536 shlibpath_overrides_runpath=no
18537 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
18538 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
18539 hardcode_into_libs=yes
18540 ;;
18541
18542 # No shared lib support for Linux oldld, aout, or coff.
18543 linux*oldld* | linux*aout* | linux*coff*)
18544 dynamic_linker=no
18545 ;;
18546
18547 linux*android*)
18548 version_type=none # Android doesn't support versioned libraries.
18549 need_lib_prefix=no
18550 need_version=no
18551 library_names_spec='$libname$release$shared_ext'
18552 soname_spec='$libname$release$shared_ext'
18553 finish_cmds=
18554 shlibpath_var=LD_LIBRARY_PATH
18555 shlibpath_overrides_runpath=yes
18556
18557 # This implies no fast_install, which is unacceptable.
18558 # Some rework will be needed to allow for fast_install
18559 # before this can be enabled.
18560 hardcode_into_libs=yes
18561
18562 dynamic_linker='Android linker'
18563 # Don't embed -rpath directories since the linker doesn't support them.
18564 hardcode_libdir_flag_spec_CXX='-L$libdir'
18565 ;;
18566
18567 # This must be glibc/ELF.
18568 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
18569 version_type=linux # correct to gnu/linux during the next big refactor
18570 need_lib_prefix=no
18571 need_version=no
18572 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18573 soname_spec='$libname$release$shared_ext$major'
18574 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18575 shlibpath_var=LD_LIBRARY_PATH
18576 shlibpath_overrides_runpath=no
18577
18578 # Some binutils ld are patched to set DT_RUNPATH
18579 if testscip-shell system . . test. ${lt_cv_shlibpath_overrides_runpath+y}
18580 then :
18581 printfscip-shell system . . printf. %s "(cached) " >&6
18582 else $as_nop
18583 lt_cv_shlibpath_overrides_runpath=no
18584 save_LDFLAGS=$LDFLAGS
18585 save_libdir=$libdir
18586 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
18587 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
18588 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
18589 /* end confdefs.h. */
18590
18591 int
18592 main (void)
18593 {
18594
18595 ;
18596 return 0;
18597 }
18598 _ACEOF
18599 if ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). "$LINENO"
18600 then :
18601 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`.
18602 then :
18603 lt_cv_shlibpath_overrides_runpath=yes
18604 fi
18605 fi
18606 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
18607 conftest$ac_exeext conftest.$ac_ext
18608 LDFLAGS=$save_LDFLAGS
18609 libdir=$save_libdir
18610
18611 fi
18612
18613 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
18614
18615 # This implies no fast_install, which is unacceptable.
18616 # Some rework will be needed to allow for fast_install
18617 # before this can be enabled.
18618 hardcode_into_libs=yes
18619
18620 # Ideally, we could use ldconfig to report *all* directores which are
18621 # searched for libraries, however this is still not possible. Aside from not
18622 # being certain /sbin/ldconfig is available, command
18623 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
18624 # even though it is searched at run-time. Try to do the best guess by
18625 # appending ld.so.conf contents (and includes) to the search path.
18626 if testscip-shell system . . test. -f /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`.; then
18627 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' ' '`
18628 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18629 fi
18630
18631 # We used to test for /lib/ld.so.1 and disable shared libraries on
18632 # powerpc, because MkLinux only supported shared libraries with the
18633 # GNU dynamic linker. Since this was broken with cross compilers,
18634 # most powerpc-linux boxes support dynamic linking these days and
18635 # people can always --disable-shared, the test was removed, and we
18636 # assume the GNU/Linux dynamic linker is in use.
18637 dynamic_linker='GNU/Linux ld.so'
18638 ;;
18639
18640 netbsdelf*-gnu)
18641 version_type=linux
18642 need_lib_prefix=no
18643 need_version=no
18644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18645 soname_spec='${libname}${release}${shared_ext}$major'
18646 shlibpath_var=LD_LIBRARY_PATH
18647 shlibpath_overrides_runpath=no
18648 hardcode_into_libs=yes
18649 dynamic_linker='NetBSD ld.elf_so'
18650 ;;
18651
18652 netbsd*)
18653 version_type=sunos
18654 need_lib_prefix=no
18655 need_version=no
18656 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
18657 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18658 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18659 dynamic_linker='NetBSD (a.out) ld.so'
18660 else
18661 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18662 soname_spec='$libname$release$shared_ext$major'
18663 dynamic_linker='NetBSD ld.elf_so'
18664 fi
18665 shlibpath_var=LD_LIBRARY_PATH
18666 shlibpath_overrides_runpath=yes
18667 hardcode_into_libs=yes
18668 ;;
18669
18670 newsos6)
18671 version_type=linux # correct to gnu/linux during the next big refactor
18672 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18673 shlibpath_var=LD_LIBRARY_PATH
18674 shlibpath_overrides_runpath=yes
18675 ;;
18676
18677 *nto* | *qnx*)
18678 version_type=qnx
18679 need_lib_prefix=no
18680 need_version=no
18681 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18682 soname_spec='$libname$release$shared_ext$major'
18683 shlibpath_var=LD_LIBRARY_PATH
18684 shlibpath_overrides_runpath=no
18685 hardcode_into_libs=yes
18686 dynamic_linker='ldqnx.so'
18687 ;;
18688
18689 openbsd* | bitrig*)
18690 version_type=sunos
18691 sys_lib_dlsearch_path_spec=/usr/libscip-shell filesystem . . `/usr/lib`.
18692 need_lib_prefix=no
18693 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then
18694 need_version=no
18695 else
18696 need_version=yes
18697 fi
18698 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18699 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18700 shlibpath_var=LD_LIBRARY_PATH
18701 shlibpath_overrides_runpath=yes
18702 ;;
18703
18704 os2*)
18705 libname_spec='$name'
18706 version_type=windows
18707 shrext_cmds=.dll
18708 need_version=no
18709 need_lib_prefix=no
18710 # OS/2 can only load a DLL with a base name of 8 characters or less.
18711 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
18712 v=$($ECHO $release$versuffix | tr -d .-);
18713 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
18714 $ECHO $n$v`$shared_ext'
18715 library_names_spec='${libname}_dll.$libext'
18716 dynamic_linker='OS/2 ld.exe'
18717 shlibpath_var=BEGINLIBPATH
18718 sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`."
18719 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18720 postinstall_cmds='base_file=`basename \$file`~
18721 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
18722 dldir=$destdir/`dirname \$dlpath`~
18723 test -d \$dldir || mkdir -p \$dldir~
18724 $install_prog $dir/$dlname \$dldir/$dlname~
18725 chmod a+x \$dldir/$dlname~
18726 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18727 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18728 fi'
18729 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
18730 dlpath=$dir/\$dldll~
18731 $RM \$dlpath'
18732 ;;
18733
18734 osf3* | osf4* | osf5*)
18735 version_type=osf
18736 need_lib_prefix=no
18737 need_version=no
18738 soname_spec='$libname$release$shared_ext$major'
18739 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18740 shlibpath_var=LD_LIBRARY_PATH
18741 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`."
18742 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18743 ;;
18744
18745 rdos*)
18746 dynamic_linker=no
18747 ;;
18748
18749 solaris*)
18750 version_type=linux # correct to gnu/linux during the next big refactor
18751 need_lib_prefix=no
18752 need_version=no
18753 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18754 soname_spec='$libname$release$shared_ext$major'
18755 shlibpath_var=LD_LIBRARY_PATH
18756 shlibpath_overrides_runpath=yes
18757 hardcode_into_libs=yes
18758 # ldd complains unless libraries are executable
18759 postinstall_cmds='chmod +x $lib'
18760 ;;
18761
18762 sunos4*)
18763 version_type=sunos
18764 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18765 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18766 shlibpath_var=LD_LIBRARY_PATH
18767 shlibpath_overrides_runpath=yes
18768 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
18769 need_lib_prefix=no
18770 fi
18771 need_version=yes
18772 ;;
18773
18774 sysv4 | sysv4.3*)
18775 version_type=linux # correct to gnu/linux during the next big refactor
18776 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18777 soname_spec='$libname$release$shared_ext$major'
18778 shlibpath_var=LD_LIBRARY_PATH
18779 case $host_vendor in
18780 sni)
18781 shlibpath_overrides_runpath=no
18782 need_lib_prefix=no
18783 runpath_var=LD_RUN_PATH
18784 ;;
18785 siemens)
18786 need_lib_prefix=no
18787 ;;
18788 motorola)
18789 need_lib_prefix=no
18790 need_version=no
18791 shlibpath_overrides_runpath=no
18792 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/libscip-shell filesystem . . `/lib /usr/lib /usr/ccs/lib`.'
18793 ;;
18794 esac
18795 ;;
18796
18797 sysv4*MP*)
18798 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
18799 version_type=linux # correct to gnu/linux during the next big refactor
18800 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
18801 soname_spec='$libname$shared_ext.$major'
18802 shlibpath_var=LD_LIBRARY_PATH
18803 fi
18804 ;;
18805
18806 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18807 version_type=sco
18808 need_lib_prefix=no
18809 need_version=no
18810 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
18811 soname_spec='$libname$release$shared_ext$major'
18812 shlibpath_var=LD_LIBRARY_PATH
18813 shlibpath_overrides_runpath=yes
18814 hardcode_into_libs=yes
18815 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
18816 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`.'
18817 else
18818 sys_lib_search_path_spec='/usr/ccs/lib /usr/libscip-shell filesystem . . `/usr/ccs/lib /usr/lib`.'
18819 case $host_os in
18820 sco3.2v5*)
18821 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18822 ;;
18823 esac
18824 fi
18825 sys_lib_dlsearch_path_spec='/usr/libscip-shell filesystem . . `/usr/lib`.'
18826 ;;
18827
18828 tpf*)
18829 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18830 version_type=linux # correct to gnu/linux during the next big refactor
18831 need_lib_prefix=no
18832 need_version=no
18833 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18834 shlibpath_var=LD_LIBRARY_PATH
18835 shlibpath_overrides_runpath=no
18836 hardcode_into_libs=yes
18837 ;;
18838
18839 uts4*)
18840 version_type=linux # correct to gnu/linux during the next big refactor
18841 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18842 soname_spec='$libname$release$shared_ext$major'
18843 shlibpath_var=LD_LIBRARY_PATH
18844 ;;
18845
18846 *)
18847 dynamic_linker=no
18848 ;;
18849 esac
18850 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18851 printfscip-shell system . . printf. "%s\n" "$dynamic_linker" >&6; }
18852 testscip-shell system . . test. no = "$dynamic_linker" && can_build_shared=no
18853
18854 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18855 if testscip-shell system . . test. yes = "$GCC"; then
18856 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18857 fi
18858
18859 if testscip-shell system . . test. set = "${lt_cv_sys_lib_search_path_spec+set}"; then
18860 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
18861 fi
18862
18863 if testscip-shell system . . test. set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
18864 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
18865 fi
18866
18867 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
18868 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
18869
18870 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
18871 func_munge_path_listscip-shell shell shell-project 0.0.0 func_munge_path_list(). sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
18872
18873 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
18874 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18916 printfscip-shell system . . printf. %s "checking how to hardcode library paths into programs... " >&6; }
18917 hardcode_action_CXX=
18918 if testscip-shell system . . test. -n "$hardcode_libdir_flag_spec_CXX" ||
18919 testscip-shell system . . test. -n "$runpath_var_CXX" ||
18920 testscip-shell system . . test. yes = "$hardcode_automatic_CXX"; then
18921
18922 # We can hardcode non-existent directories.
18923 if testscip-shell system . . test. no != "$hardcode_direct_CXX" &&
18924 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18925 # have to relink, otherwise we might link with an installed library
18926 # when we should be linking with a yet-to-be-installed one
18927 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
18928 testscip-shell system . . test. no != "$hardcode_minus_L_CXX"; then
18929 # Linking always hardcodes the temporary library directory.
18930 hardcode_action_CXX=relink
18931 else
18932 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18933 hardcode_action_CXX=immediate
18934 fi
18935 else
18936 # We cannot hardcode anything, or else we can only hardcode existing
18937 # directories.
18938 hardcode_action_CXX=unsupported
18939 fi
18940 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18941 printfscip-shell system . . printf. "%s\n" "$hardcode_action_CXX" >&6; }
18942
18943 if testscip-shell system . . test. relink = "$hardcode_action_CXX" ||
18944 testscip-shell system . . test. yes = "$inherit_rpath_CXX"; then
18945 # Fast installation is not supported
18946 enable_fast_install=no
18947 elif testscip-shell system . . test. yes = "$shlibpath_overrides_runpath" ||
18948 testscip-shell system . . test. no = "$enable_shared"; then
18949 # Fast installation is not necessary
18950 enable_fast_install=needless
18951 fi
18952
18953
18954
18955
18956
18957
18958
18959 fi # test -n "$compiler"
18960
18961 CC=$lt_save_CC
18962 CFLAGS=$lt_save_CFLAGS
18963 LDCXX=$LD
18964 LD=$lt_save_LD
18965 GCC=$lt_save_GCC
18966 with_gnu_ld=$lt_save_with_gnu_ld
18967 lt_cv_path_LDCXX=$lt_cv_path_LD
18968 lt_cv_path_LD=$lt_save_path_LD
18969 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18970 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18971 fi # test yes != "$_lt_caught_CXX_error"
18972
18973 ac_ext=c
18974 ac_cpp='$CPP $CPPFLAGS'
18975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993 ac_config_commands="$ac_config_commands libtool"
18994
18995
18996
18997
18998 # Only expand once:
18999
19000
19001 ac_ext=c
19002 ac_cpp='$CPP $CPPFLAGS'
19003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19006
19007 ac_ext=c
19008 ac_cpp='$CPP $CPPFLAGS'
19009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19012 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
19013 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
19014 set dummy ${ac_tool_prefix}gcc; ac_word=$2
19015 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19016 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
19017 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
19018 then :
19019 printfscip-shell system . . printf. %s "(cached) " >&6
19020 else $as_nop
19021 if testscip-shell system . . test. -n "$CC"; then
19022 ac_cv_prog_CC="$CC" # Let the user override the test.
19023 else
19024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19025 for as_dir in $PATH
19026 do
19027 IFS=$as_save_IFS
19028 case $as_dir in #(((
19029 '') as_dir=./ ;;
19030 */) ;;
19031 *) as_dir=$as_dir/ ;;
19032 esac
19033 for ac_exec_ext in '' $ac_executable_extensions; do
19034 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
19035 ac_cv_prog_CC="${ac_tool_prefix}gcc"
19036 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19037 break 2
19038 fi
19039 done
19040 done
19041 IFS=$as_save_IFS
19042
19043 fi
19044 fi
19045 CC=$ac_cv_prog_CC
19046 if testscip-shell system . . test. -n "$CC"; then
19047 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
19048 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
19049 else
19050 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19051 printfscip-shell system . . printf. "%s\n" "no" >&6; }
19052 fi
19053
19054
19055 fi
19056 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
19057 ac_ct_CC=$CC
19058 # Extract the first word of "gcc", so it can be a program name with args.
19059 set dummy gcc; ac_word=$2
19060 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19061 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
19062 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
19063 then :
19064 printfscip-shell system . . printf. %s "(cached) " >&6
19065 else $as_nop
19066 if testscip-shell system . . test. -n "$ac_ct_CC"; then
19067 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
19068 else
19069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19070 for as_dir in $PATH
19071 do
19072 IFS=$as_save_IFS
19073 case $as_dir in #(((
19074 '') as_dir=./ ;;
19075 */) ;;
19076 *) as_dir=$as_dir/ ;;
19077 esac
19078 for ac_exec_ext in '' $ac_executable_extensions; do
19079 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
19080 ac_cv_prog_ac_ct_CC="gcc"
19081 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19082 break 2
19083 fi
19084 done
19085 done
19086 IFS=$as_save_IFS
19087
19088 fi
19089 fi
19090 ac_ct_CC=$ac_cv_prog_ac_ct_CC
19091 if testscip-shell system . . test. -n "$ac_ct_CC"; then
19092 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
19093 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
19094 else
19095 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19096 printfscip-shell system . . printf. "%s\n" "no" >&6; }
19097 fi
19098
19099 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
19100 CC=""
19101 else
19102 case $cross_compiling:$ac_tool_warned in
19103 yes:)
19104 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19105 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19106 ac_tool_warned=yes ;;
19107 esac
19108 CC=$ac_ct_CC
19109 fi
19110 else
19111 CC="$ac_cv_prog_CC"
19112 fi
19113
19114 if testscip-shell system . . test. -z "$CC"; then
19115 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
19116 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
19117 set dummy ${ac_tool_prefix}cc; ac_word=$2
19118 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19119 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
19120 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
19121 then :
19122 printfscip-shell system . . printf. %s "(cached) " >&6
19123 else $as_nop
19124 if testscip-shell system . . test. -n "$CC"; then
19125 ac_cv_prog_CC="$CC" # Let the user override the test.
19126 else
19127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19128 for as_dir in $PATH
19129 do
19130 IFS=$as_save_IFS
19131 case $as_dir in #(((
19132 '') as_dir=./ ;;
19133 */) ;;
19134 *) as_dir=$as_dir/ ;;
19135 esac
19136 for ac_exec_ext in '' $ac_executable_extensions; do
19137 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
19138 ac_cv_prog_CC="${ac_tool_prefix}cc"
19139 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19140 break 2
19141 fi
19142 done
19143 done
19144 IFS=$as_save_IFS
19145
19146 fi
19147 fi
19148 CC=$ac_cv_prog_CC
19149 if testscip-shell system . . test. -n "$CC"; then
19150 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
19151 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
19152 else
19153 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19154 printfscip-shell system . . printf. "%s\n" "no" >&6; }
19155 fi
19156
19157
19158 fi
19159 fi
19160 if testscip-shell system . . test. -z "$CC"; then
19161 # Extract the first word of "cc", so it can be a program name with args.
19162 set dummy cc; ac_word=$2
19163 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19164 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
19165 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
19166 then :
19167 printfscip-shell system . . printf. %s "(cached) " >&6
19168 else $as_nop
19169 if testscip-shell system . . test. -n "$CC"; then
19170 ac_cv_prog_CC="$CC" # Let the user override the test.
19171 else
19172 ac_prog_rejected=no
19173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19174 for as_dir in $PATH
19175 do
19176 IFS=$as_save_IFS
19177 case $as_dir in #(((
19178 '') as_dir=./ ;;
19179 */) ;;
19180 *) as_dir=$as_dir/ ;;
19181 esac
19182 for ac_exec_ext in '' $ac_executable_extensions; do
19183 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
19184 if testscip-shell system . . test. "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then
19185 ac_prog_rejected=yes
19186 continue
19187 fi
19188 ac_cv_prog_CC="cc"
19189 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19190 break 2
19191 fi
19192 done
19193 done
19194 IFS=$as_save_IFS
19195
19196 if testscip-shell system . . test. $ac_prog_rejected = yes; then
19197 # We found a bogon in the path, so make sure we never use it.
19198 set dummy $ac_cv_prog_CC
19199 shift
19200 if testscip-shell system . . test. $# != 0; then
19201 # We chose a different compiler from the bogus one.
19202 # However, it has the same basename, so the bogon will be chosen
19203 # first if we set CC to just the basename; use the full file name.
19204 shift
19205 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
19206 fi
19207 fi
19208 fi
19209 fi
19210 CC=$ac_cv_prog_CC
19211 if testscip-shell system . . test. -n "$CC"; then
19212 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
19213 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
19214 else
19215 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19216 printfscip-shell system . . printf. "%s\n" "no" >&6; }
19217 fi
19218
19219
19220 fi
19221 if testscip-shell system . . test. -z "$CC"; then
19222 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
19223 for ac_prog in cl.exe
19224 do
19225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19227 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19228 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
19229 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
19230 then :
19231 printfscip-shell system . . printf. %s "(cached) " >&6
19232 else $as_nop
19233 if testscip-shell system . . test. -n "$CC"; then
19234 ac_cv_prog_CC="$CC" # Let the user override the test.
19235 else
19236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19237 for as_dir in $PATH
19238 do
19239 IFS=$as_save_IFS
19240 case $as_dir in #(((
19241 '') as_dir=./ ;;
19242 */) ;;
19243 *) as_dir=$as_dir/ ;;
19244 esac
19245 for ac_exec_ext in '' $ac_executable_extensions; do
19246 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
19247 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
19248 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19249 break 2
19250 fi
19251 done
19252 done
19253 IFS=$as_save_IFS
19254
19255 fi
19256 fi
19257 CC=$ac_cv_prog_CC
19258 if testscip-shell system . . test. -n "$CC"; then
19259 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
19260 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
19261 else
19262 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19263 printfscip-shell system . . printf. "%s\n" "no" >&6; }
19264 fi
19265
19266
19267 testscip-shell system . . test. -n "$CC" && break
19268 done
19269 fi
19270 if testscip-shell system . . test. -z "$CC"; then
19271 ac_ct_CC=$CC
19272 for ac_prog in cl.exe
19273 do
19274 # Extract the first word of "$ac_prog", so it can be a program name with args.
19275 set dummy $ac_prog; ac_word=$2
19276 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19277 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
19278 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
19279 then :
19280 printfscip-shell system . . printf. %s "(cached) " >&6
19281 else $as_nop
19282 if testscip-shell system . . test. -n "$ac_ct_CC"; then
19283 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
19284 else
19285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19286 for as_dir in $PATH
19287 do
19288 IFS=$as_save_IFS
19289 case $as_dir in #(((
19290 '') as_dir=./ ;;
19291 */) ;;
19292 *) as_dir=$as_dir/ ;;
19293 esac
19294 for ac_exec_ext in '' $ac_executable_extensions; do
19295 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
19296 ac_cv_prog_ac_ct_CC="$ac_prog"
19297 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19298 break 2
19299 fi
19300 done
19301 done
19302 IFS=$as_save_IFS
19303
19304 fi
19305 fi
19306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
19307 if testscip-shell system . . test. -n "$ac_ct_CC"; then
19308 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
19309 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
19310 else
19311 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19312 printfscip-shell system . . printf. "%s\n" "no" >&6; }
19313 fi
19314
19315
19316 testscip-shell system . . test. -n "$ac_ct_CC" && break
19317 done
19318
19319 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
19320 CC=""
19321 else
19322 case $cross_compiling:$ac_tool_warned in
19323 yes:)
19324 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19325 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19326 ac_tool_warned=yes ;;
19327 esac
19328 CC=$ac_ct_CC
19329 fi
19330 fi
19331
19332 fi
19333 if testscip-shell system . . test. -z "$CC"; then
19334 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
19335 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
19336 set dummy ${ac_tool_prefix}clang; ac_word=$2
19337 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19338 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
19339 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
19340 then :
19341 printfscip-shell system . . printf. %s "(cached) " >&6
19342 else $as_nop
19343 if testscip-shell system . . test. -n "$CC"; then
19344 ac_cv_prog_CC="$CC" # Let the user override the test.
19345 else
19346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19347 for as_dir in $PATH
19348 do
19349 IFS=$as_save_IFS
19350 case $as_dir in #(((
19351 '') as_dir=./ ;;
19352 */) ;;
19353 *) as_dir=$as_dir/ ;;
19354 esac
19355 for ac_exec_ext in '' $ac_executable_extensions; do
19356 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
19357 ac_cv_prog_CC="${ac_tool_prefix}clang"
19358 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19359 break 2
19360 fi
19361 done
19362 done
19363 IFS=$as_save_IFS
19364
19365 fi
19366 fi
19367 CC=$ac_cv_prog_CC
19368 if testscip-shell system . . test. -n "$CC"; then
19369 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
19370 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
19371 else
19372 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19373 printfscip-shell system . . printf. "%s\n" "no" >&6; }
19374 fi
19375
19376
19377 fi
19378 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
19379 ac_ct_CC=$CC
19380 # Extract the first word of "clang", so it can be a program name with args.
19381 set dummy clang; ac_word=$2
19382 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19383 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
19384 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
19385 then :
19386 printfscip-shell system . . printf. %s "(cached) " >&6
19387 else $as_nop
19388 if testscip-shell system . . test. -n "$ac_ct_CC"; then
19389 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
19390 else
19391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19392 for as_dir in $PATH
19393 do
19394 IFS=$as_save_IFS
19395 case $as_dir in #(((
19396 '') as_dir=./ ;;
19397 */) ;;
19398 *) as_dir=$as_dir/ ;;
19399 esac
19400 for ac_exec_ext in '' $ac_executable_extensions; do
19401 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
19402 ac_cv_prog_ac_ct_CC="clang"
19403 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19404 break 2
19405 fi
19406 done
19407 done
19408 IFS=$as_save_IFS
19409
19410 fi
19411 fi
19412 ac_ct_CC=$ac_cv_prog_ac_ct_CC
19413 if testscip-shell system . . test. -n "$ac_ct_CC"; then
19414 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
19415 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
19416 else
19417 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19418 printfscip-shell system . . printf. "%s\n" "no" >&6; }
19419 fi
19420
19421 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
19422 CC=""
19423 else
19424 case $cross_compiling:$ac_tool_warned in
19425 yes:)
19426 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19427 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19428 ac_tool_warned=yes ;;
19429 esac
19430 CC=$ac_ct_CC
19431 fi
19432 else
19433 CC="$ac_cv_prog_CC"
19434 fi
19435
19436 fi
19437
19438
19439 testscip-shell system . . test. -z "$CC" && { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19440 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
19441 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable C compiler found in \$PATH
19442 See \`config.log' for more details" "$LINENO" 5; }
19443
19444 # Provide some information about the compiler.
19445 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
19446 set X $ac_compile
19447 ac_compiler=$2
19448 for ac_option in --version -v -V -qversion -version; do
19449 { { ac_try="$ac_compiler $ac_option >&5"
19450 case "(($ac_try" in
19451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19452 *) ac_try_echo=$ac_try;;
19453 esac
19454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19455 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
19456 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
19457 ac_status=$?
19458 if testscip-shell system . . test. -s conftest.err; then
19459 sedscip-shell system . . sed. '10a\
19460 ... rest of stderr output deleted ...
19461 10q' conftest.err >conftest.er1
19462 catscip-shell system . . cat. conftest.er1 >&5
19463 fi
19464 rmscip-shell system . . rm. -f conftest.er1 conftest.err
19465 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19466 testscip-shell system . . test. $ac_status = 0; }
19467 done
19468
19469 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
19470 printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C... " >&6; }
19471 if testscip-shell system . . test. ${ac_cv_c_compiler_gnu+y}
19472 then :
19473 printfscip-shell system . . printf. %s "(cached) " >&6
19474 else $as_nop
19475 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19476 /* end confdefs.h. */
19477
19478 int
19479 main (void)
19480 {
19481 #ifndef __GNUC__
19482 choke me
19483 #endif
19484
19485 ;
19486 return 0;
19487 }
19488 _ACEOF
19489 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
19490 then :
19491 ac_compiler_gnu=yes
19492 else $as_nop
19493 ac_compiler_gnu=no
19494 fi
19495 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19496 ac_cv_c_compiler_gnu=$ac_compiler_gnu
19497
19498 fi
19499 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
19500 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
19501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19502
19503 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
19504 GCC=yes
19505 else
19506 GCC=
19507 fi
19508 ac_test_CFLAGS=${CFLAGS+y}
19509 ac_save_CFLAGS=$CFLAGS
19510 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
19511 printfscip-shell system . . printf. %s "checking whether $CC accepts -g... " >&6; }
19512 if testscip-shell system . . test. ${ac_cv_prog_cc_g+y}
19513 then :
19514 printfscip-shell system . . printf. %s "(cached) " >&6
19515 else $as_nop
19516 ac_save_c_werror_flag=$ac_c_werror_flag
19517 ac_c_werror_flag=yes
19518 ac_cv_prog_cc_g=no
19519 CFLAGS="-g"
19520 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19521 /* end confdefs.h. */
19522
19523 int
19524 main (void)
19525 {
19526
19527 ;
19528 return 0;
19529 }
19530 _ACEOF
19531 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
19532 then :
19533 ac_cv_prog_cc_g=yes
19534 else $as_nop
19535 CFLAGS=""
19536 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19537 /* end confdefs.h. */
19538
19539 int
19540 main (void)
19541 {
19542
19543 ;
19544 return 0;
19545 }
19546 _ACEOF
19547 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
19548 then :
19549
19550 else $as_nop
19551 ac_c_werror_flag=$ac_save_c_werror_flag
19552 CFLAGS="-g"
19553 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19555
19556 int
19557 main (void)
19558 {
19559
19560 ;
19561 return 0;
19562 }
19563 _ACEOF
19564 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
19565 then :
19566 ac_cv_prog_cc_g=yes
19567 fi
19568 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19569 fi
19570 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19571 fi
19572 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19573 ac_c_werror_flag=$ac_save_c_werror_flag
19574 fi
19575 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
19576 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_g" >&6; }
19577 if testscip-shell system . . test. $ac_test_CFLAGS; then
19578 CFLAGS=$ac_save_CFLAGS
19579 elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then
19580 if testscip-shell system . . test. "$GCC" = yes; then
19581 CFLAGS="-g -O2"
19582 else
19583 CFLAGS="-g"
19584 fi
19585 else
19586 if testscip-shell system . . test. "$GCC" = yes; then
19587 CFLAGS="-O2"
19588 else
19589 CFLAGS=
19590 fi
19591 fi
19592 ac_prog_cc_stdc=no
19593 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
19594 then :
19595 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
19596 printfscip-shell system . . printf. %s "checking for $CC option to enable C11 features... " >&6; }
19597 if testscip-shell system . . test. ${ac_cv_prog_cc_c11+y}
19598 then :
19599 printfscip-shell system . . printf. %s "(cached) " >&6
19600 else $as_nop
19601 ac_cv_prog_cc_c11=no
19602 ac_save_CC=$CC
19603 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19604 /* end confdefs.h. */
19605 $ac_c_conftest_c11_program
19606 _ACEOF
19607 for ac_arg in '' -std=gnu11
19608 do
19609 CC="$ac_save_CC $ac_arg"
19610 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
19611 then :
19612 ac_cv_prog_cc_c11=$ac_arg
19613 fi
19614 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
19615 testscip-shell system . . test. "x$ac_cv_prog_cc_c11" != "xno" && break
19616 done
19617 rmscip-shell system . . rm. -f conftest.$ac_ext
19618 CC=$ac_save_CC
19619 fi
19620
19621 if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = xno
19622 then :
19623 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19624 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
19625 else $as_nop
19626 if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = x
19627 then :
19628 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19629 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
19630 else $as_nop
19631 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
19632 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c11" >&6; }
19633 CC="$CC $ac_cv_prog_cc_c11"
19634 fi
19635 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
19636 ac_prog_cc_stdc=c11
19637 fi
19638 fi
19639 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
19640 then :
19641 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
19642 printfscip-shell system . . printf. %s "checking for $CC option to enable C99 features... " >&6; }
19643 if testscip-shell system . . test. ${ac_cv_prog_cc_c99+y}
19644 then :
19645 printfscip-shell system . . printf. %s "(cached) " >&6
19646 else $as_nop
19647 ac_cv_prog_cc_c99=no
19648 ac_save_CC=$CC
19649 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19650 /* end confdefs.h. */
19651 $ac_c_conftest_c99_program
19652 _ACEOF
19653 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
19654 do
19655 CC="$ac_save_CC $ac_arg"
19656 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
19657 then :
19658 ac_cv_prog_cc_c99=$ac_arg
19659 fi
19660 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
19661 testscip-shell system . . test. "x$ac_cv_prog_cc_c99" != "xno" && break
19662 done
19663 rmscip-shell system . . rm. -f conftest.$ac_ext
19664 CC=$ac_save_CC
19665 fi
19666
19667 if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = xno
19668 then :
19669 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19670 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
19671 else $as_nop
19672 if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = x
19673 then :
19674 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19675 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
19676 else $as_nop
19677 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
19678 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c99" >&6; }
19679 CC="$CC $ac_cv_prog_cc_c99"
19680 fi
19681 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
19682 ac_prog_cc_stdc=c99
19683 fi
19684 fi
19685 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
19686 then :
19687 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
19688 printfscip-shell system . . printf. %s "checking for $CC option to enable C89 features... " >&6; }
19689 if testscip-shell system . . test. ${ac_cv_prog_cc_c89+y}
19690 then :
19691 printfscip-shell system . . printf. %s "(cached) " >&6
19692 else $as_nop
19693 ac_cv_prog_cc_c89=no
19694 ac_save_CC=$CC
19695 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19696 /* end confdefs.h. */
19697 $ac_c_conftest_c89_program
19698 _ACEOF
19699 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19700 do
19701 CC="$ac_save_CC $ac_arg"
19702 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
19703 then :
19704 ac_cv_prog_cc_c89=$ac_arg
19705 fi
19706 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
19707 testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break
19708 done
19709 rmscip-shell system . . rm. -f conftest.$ac_ext
19710 CC=$ac_save_CC
19711 fi
19712
19713 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = xno
19714 then :
19715 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19716 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
19717 else $as_nop
19718 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = x
19719 then :
19720 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19721 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
19722 else $as_nop
19723 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
19724 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c89" >&6; }
19725 CC="$CC $ac_cv_prog_cc_c89"
19726 fi
19727 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
19728 ac_prog_cc_stdc=c89
19729 fi
19730 fi
19731
19732 ac_ext=c
19733 ac_cpp='$CPP $CPPFLAGS'
19734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19737
19738
19739 ac_ext=c
19740 ac_cpp='$CPP $CPPFLAGS'
19741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19744 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
19745 printfscip-shell system . . printf. %s "checking whether $CC understands -c and -o together... " >&6; }
19746 if testscip-shell system . . test. ${am_cv_prog_cc_c_o+y}
19747 then :
19748 printfscip-shell system . . printf. %s "(cached) " >&6
19749 else $as_nop
19750 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19751 /* end confdefs.h. */
19752
19753 int
19754 main (void)
19755 {
19756
19757 ;
19758 return 0;
19759 }
19760 _ACEOF
19761 # Make sure it works both with $CC and with simple cc.
19762 # Following AC_PROG_CC_C_O, we do the test twice because some
19763 # compilers refuse to overwrite an existing .o file with -o,
19764 # though they will create one.
19765 am_cv_prog_cc_c_o=yes
19766 for am_i in 1 2; do
19767 if { echoscip-shell system . . echo. "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
19768 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
19769 ac_status=$?
19770 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); } \
19772 && testscip-shell system . . test. -f conftest2.$ac_objext; then
19773 : OK
19774 else
19775 am_cv_prog_cc_c_o=no
19776 break
19777 fi
19778 done
19779 rmscip-shell system . . rm. -f core conftest*
19780 unset am_i
19781 fi
19782 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
19783 printfscip-shell system . . printf. "%s\n" "$am_cv_prog_cc_c_o" >&6; }
19784 if testscip-shell system . . test. "$am_cv_prog_cc_c_o" != yes; then
19785 # Losing compiler, so override with the script.
19786 # FIXME: It is wrong to rewrite CC.
19787 # But if we don't then we get into trouble of one sort or another.
19788 # A longer-term fix would be to have automake use am__CC in this case,
19789 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
19790 CC="$am_aux_dir/compile $CC"
19791 fi
19792 ac_ext=c
19793 ac_cpp='$CPP $CPPFLAGS'
19794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19797
19798
19799
19800 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
19801 printfscip-shell system . . printf. %s "checking for egrep... " >&6; }
19802 if testscip-shell system . . test. ${ac_cv_path_EGREP+y}
19803 then :
19804 printfscip-shell system . . printf. %s "(cached) " >&6
19805 else $as_nop
19806 if echoscip-shell system . . echo. a | $GREP -E '(a|b)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
19807 then ac_cv_path_EGREP="$GREP -E"
19808 else
19809 if testscip-shell system . . test. -z "$EGREP"; then
19810 ac_path_EGREP_found=false
19811 # Loop through the user's path and test for each of PROGNAME-LIST
19812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19813 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
19814 do
19815 IFS=$as_save_IFS
19816 case $as_dir in #(((
19817 '') as_dir=./ ;;
19818 */) ;;
19819 *) as_dir=$as_dir/ ;;
19820 esac
19821 for ac_prog in egrep
19822 do
19823 for ac_exec_ext in '' $ac_executable_extensions; do
19824 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
19825 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_EGREP" || continue
19826 # Check for GNU ac_path_EGREP and select it if it is found.
19827 # Check for GNU $ac_path_EGREP
19828 case `"$ac_path_EGREP" --version 2>&1` in
19829 *GNU*)
19830 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
19831 *)
19832 ac_count=0
19833 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
19834 while :
19835 do
19836 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
19837 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
19838 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
19839 printfscip-shell system . . printf. "%s\n" 'EGREP' >> "conftest.nl"
19840 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
19841 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
19842 as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
19843 if testscip-shell system . . test. $ac_count -gt ${ac_path_EGREP_max-0}; then
19844 # Best one so far, save it but keep looking for a better one
19845 ac_cv_path_EGREP="$ac_path_EGREP"
19846 ac_path_EGREP_max=$ac_count
19847 fi
19848 # 10*(2^10) chars as input seems more than enough
19849 testscip-shell system . . test. $ac_count -gt 10 && break
19850 done
19851 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
19852 esac
19853
19854 $ac_path_EGREP_found && break 3
19855 done
19856 done
19857 done
19858 IFS=$as_save_IFS
19859 if testscip-shell system . . test. -z "$ac_cv_path_EGREP"; then
19860 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
19861 fi
19862 else
19863 ac_cv_path_EGREP=$EGREP
19864 fi
19865
19866 fi
19867 fi
19868 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
19869 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_EGREP" >&6; }
19870 EGREP="$ac_cv_path_EGREP"
19871
19872
19873
19874
19875 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler vendor" >&5
19876 printfscip-shell system . . printf. %s "checking for C compiler vendor... " >&6; }
19877 if testscip-shell system . . test. ${ax_cv_c_compiler_vendor+y}
19878 then :
19879 printfscip-shell system . . printf. %s "(cached) " >&6
19880 else $as_nop
19881
19882 vendors="
19883 intel: __ICC,__ECC,__INTEL_COMPILER
19884 ibm: __xlc__,__xlC__,__IBMC__,__IBMCPP__,__ibmxl__
19885 pathscale: __PATHCC__,__PATHSCALE__
19886 clang: __clang__
19887 cray: _CRAYC
19888 fujitsu: __FUJITSU
19889 sdcc: SDCC,__SDCC
19890 sx: _SX
19891 nvhpc: __NVCOMPILER
19892 portland: __PGI
19893 gnu: __GNUC__
19894 sun: __SUNPRO_C,__SUNPRO_CC,__SUNPRO_F90,__SUNPRO_F95
19895 hp: __HP_cc,__HP_aCC
19896 dec: __DECC,__DECCXX,__DECC_VER,__DECCXX_VER
19897 borland: __BORLANDC__,__CODEGEARC__,__TURBOC__
19898 comeau: __COMO__
19899 kai: __KCC
19900 lcc: __LCC__
19901 sgi: __sgi,sgi
19902 microsoft: _MSC_VER
19903 metrowerks: __MWERKS__
19904 watcom: __WATCOMC__
19905 tcc: __TINYC__
19906 unknown: UNKNOWN
19907 "
19908 for ventest in $vendors; do
19909 case $ventest in
19910 *:)
19911 vendor=$ventest
19912 continue
19913 ;;
19914 *)
19915 vencpp="defined("`echoscip-shell system . . echo. $ventest | sedscip-shell system . . sed. 's/,/) || defined(/g'`")"
19916 ;;
19917 esac
19918
19919 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19920 /* end confdefs.h. */
19921
19922 int
19923 main (void)
19924 {
19925
19926 #if !($vencpp)
19927 thisisanerror;
19928 #endif
19929
19930 ;
19931 return 0;
19932 }
19933 _ACEOF
19934 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
19935 then :
19936 break
19937 fi
19938 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19939 done
19940
19941 ax_cv_c_compiler_vendor=`echoscip-shell system . . echo. $vendor | cutscip-shell system . . cut. -d: -f1`
19942
19943 fi
19944 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_vendor" >&5
19945 printfscip-shell system . . printf. "%s\n" "$ax_cv_c_compiler_vendor" >&6; }
19946
19947
19948 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether this is native windows" >&5
19949 printfscip-shell system . . printf. %s "checking whether this is native windows... " >&6; }
19950 ac_cv_native_windows=no
19951 ac_cv_windows=no
19952 case $host_os in
19953 mingw*)
19954 ac_cv_native_windows=yes
19955 ac_cv_windows=yes
19956 ;;
19957 cygwin*)
19958 ac_cv_windows=yes
19959 ;;
19960 esac
19961 if testscip-shell system . . test. "$ax_cv_c_compiler_vendor" = "microsoft" ; then
19962 ac_cv_native_windows=yes
19963 ac_cv_windows=yes
19964 fi
19965 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_native_windows" >&5
19966 printfscip-shell system . . printf. "%s\n" "$ac_cv_native_windows" >&6; }
19967
19968
19969 # Check whether --enable-shared was given.
19970 if testscip-shell system . . test. ${enable_shared+y}
19971 then :
19972 enableval=$enable_shared; p=${PACKAGE-default}
19973 case $enableval in
19974 yes) enable_shared=yes ;;
19975 no) enable_shared=no ;;
19976 *)
19977 enable_shared=no
19978 # Look at the argument we got. We use all the common list separators.
19979 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
19980 for pkg in $enableval; do
19981 IFS=$lt_save_ifs
19982 if testscip-shell system . . test. "X$pkg" = "X$p"; then
19983 enable_shared=yes
19984 fi
19985 done
19986 IFS=$lt_save_ifs
19987 ;;
19988 esac
19989 else $as_nop
19990 enable_shared=yes
19991 fi
19992
19993
19994
19995
19996
19997
19998
19999 if testscip-shell system . . test. "x$ac_cv_windows" = "xyes"
20000 then :
20001 # Check whether --enable-static was given.
20002 if testscip-shell system . . test. ${enable_static+y}
20003 then :
20004 enableval=$enable_static; p=${PACKAGE-default}
20005 case $enableval in
20006 yes) enable_static=yes ;;
20007 no) enable_static=no ;;
20008 *)
20009 enable_static=no
20010 # Look at the argument we got. We use all the common list separators.
20011 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
20012 for pkg in $enableval; do
20013 IFS=$lt_save_ifs
20014 if testscip-shell system . . test. "X$pkg" = "X$p"; then
20015 enable_static=yes
20016 fi
20017 done
20018 IFS=$lt_save_ifs
20019 ;;
20020 esac
20021 else $as_nop
20022 enable_static=no
20023 fi
20024
20025
20026
20027
20028
20029
20030 else $as_nop
20031 # Check whether --enable-static was given.
20032 if testscip-shell system . . test. ${enable_static+y}
20033 then :
20034 enableval=$enable_static; p=${PACKAGE-default}
20035 case $enableval in
20036 yes) enable_static=yes ;;
20037 no) enable_static=no ;;
20038 *)
20039 enable_static=no
20040 # Look at the argument we got. We use all the common list separators.
20041 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
20042 for pkg in $enableval; do
20043 IFS=$lt_save_ifs
20044 if testscip-shell system . . test. "X$pkg" = "X$p"; then
20045 enable_static=yes
20046 fi
20047 done
20048 IFS=$lt_save_ifs
20049 ;;
20050 esac
20051 else $as_nop
20052 enable_static=yes
20053 fi
20054
20055
20056
20057
20058
20059
20060 fi
20061
20062 # Check whether --enable-warnings was given.
20063 if testscip-shell system . . test. ${enable_warnings+y}
20064 then :
20065 enableval=$enable_warnings; enable_warnings=${enableval}
20066 else $as_nop
20067 enable_warnings=yes
20068 fi
20069
20070
20071 # Check whether --enable-symbol-hiding was given.
20072 if testscip-shell system . . test. ${enable_symbol_hiding+y}
20073 then :
20074 enableval=$enable_symbol_hiding;
20075 symbol_hiding="$enableval"
20076 if testscip-shell system . . test. "$symbol_hiding" = "no" -a "x$enable_shared" = "xyes" ; then
20077 case $host_os in
20078 cygwin* | mingw* | pw32* | cegcc*)
20079 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Cannot disable symbol hiding on windows" "$LINENO" 5
20080 ;;
20081 esac
20082 fi
20083
20084 else $as_nop
20085
20086 if testscip-shell system . . test. "x$enable_shared" = "xyes" ; then
20087 symbol_hiding="maybe"
20088 else
20089 symbol_hiding="no"
20090 fi
20091
20092
20093 fi
20094
20095
20096 # Check whether --enable-tests was given.
20097 if testscip-shell system . . test. ${enable_tests+y}
20098 then :
20099 enableval=$enable_tests; build_tests="$enableval"
20100 else $as_nop
20101 if testscip-shell system . . test. "x$HAVE_CXX14" = "x1" && testscip-shell system . . test. "x$cross_compiling" = "xno" ; then
20102 build_tests="maybe"
20103 else
20104 build_tests="no"
20105 fi
20106
20107
20108 fi
20109
20110
20111 # Check whether --enable-cares-threads was given.
20112 if testscip-shell system . . test. ${enable_cares_threads+y}
20113 then :
20114 enableval=$enable_cares_threads; CARES_THREADS=${enableval}
20115 else $as_nop
20116 CARES_THREADS=yes
20117 fi
20118
20119
20120
20121 # Check whether --with-random was given.
20122 if testscip-shell system . . test. ${with_random+y}
20123 then :
20124 withval=$with_random; CARES_RANDOM_FILE="$withval"
20125 else $as_nop
20126 CARES_RANDOM_FILE="/dev/urandomscip-shell filesystem . . `/dev/urandom`."
20127
20128 fi
20129
20130 if testscip-shell system . . test. -n "$CARES_RANDOM_FILE" && testscip-shell system . . test. X"$CARES_RANDOM_FILE" != Xno ; then
20131
20132
20133 printfscip-shell system . . printf. "%s\n" "#define CARES_RANDOM_FILE \"$CARES_RANDOM_FILE\"" >>confdefs.h
20134
20135 fi
20136
20137
20138 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
20139 printfscip-shell system . . printf. %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
20140 # Check whether --enable-maintainer-mode was given.
20141 if testscip-shell system . . test. ${enable_maintainer_mode+y}
20142 then :
20143 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
20144 else $as_nop
20145 USE_MAINTAINER_MODE=no
20146 fi
20147
20148 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
20149 printfscip-shell system . . printf. "%s\n" "$USE_MAINTAINER_MODE" >&6; }
20150 if testscip-shell system . . test. $USE_MAINTAINER_MODE = yes; then
20151 MAINTAINER_MODE_TRUE=
20152 MAINTAINER_MODE_FALSE='#'
20153 else
20154 MAINTAINER_MODE_TRUE='#'
20155 MAINTAINER_MODE_FALSE=
20156 fi
20157
20158 MAINT=$MAINTAINER_MODE_TRUE
20159
20160
20161 # Check whether --enable-silent-rules was given.
20162 if testscip-shell system . . test. ${enable_silent_rules+y}
20163 then :
20164 enableval=$enable_silent_rules;
20165 fi
20166
20167 case $enable_silent_rules in # (((
20168 yes) AM_DEFAULT_VERBOSITY=0;;
20169 no) AM_DEFAULT_VERBOSITY=1;;
20170 *) AM_DEFAULT_VERBOSITY=0;;
20171 esac
20172 am_make=${MAKE-make}
20173 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
20174 printfscip-shell system . . printf. %s "checking whether $am_make supports nested variables... " >&6; }
20175 if testscip-shell system . . test. ${am_cv_make_support_nested_variables+y}
20176 then :
20177 printfscip-shell system . . printf. %s "(cached) " >&6
20178 else $as_nop
20179 if printfscip-shell system . . printf. "%s\n" 'TRUE=$(BAR$(V))
20180 BAR0=false
20181 BAR1=true
20182 V=1
20183 am__doit:
20184 @$(TRUE)
20185 .PHONY: am__doit' | $am_make -f - >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
20186 am_cv_make_support_nested_variables=yes
20187 else
20188 am_cv_make_support_nested_variables=no
20189 fi
20190 fi
20191 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
20192 printfscip-shell system . . printf. "%s\n" "$am_cv_make_support_nested_variables" >&6; }
20193 if testscip-shell system . . test. $am_cv_make_support_nested_variables = yes; then
20194 AM_V='$(V)'
20195 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
20196 else
20197 AM_V=$AM_DEFAULT_VERBOSITY
20198 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
20199 fi
20200 AM_BACKSLASH='\'
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221 # allow to override gcov location
20222
20223 # Check whether --with-gcov was given.
20224 if testscip-shell system . . test. ${with_gcov+y}
20225 then :
20226 withval=$with_gcov; _AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov
20227 else $as_nop
20228 _AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov
20229 fi
20230
20231
20232 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5
20233 printfscip-shell system . . printf. %s "checking whether to build with code coverage support... " >&6; }
20234 # Check whether --enable-code-coverage was given.
20235 if testscip-shell system . . test. ${enable_code_coverage+y}
20236 then :
20237 enableval=$enable_code_coverage;
20238 else $as_nop
20239 enable_code_coverage=no
20240 fi
20241
20242
20243 if testscip-shell system . . test. "x$enable_code_coverage" = xyes; then
20244 CODE_COVERAGE_ENABLED_TRUE=
20245 CODE_COVERAGE_ENABLED_FALSE='#'
20246 else
20247 CODE_COVERAGE_ENABLED_TRUE='#'
20248 CODE_COVERAGE_ENABLED_FALSE=
20249 fi
20250
20251 CODE_COVERAGE_ENABLED=$enable_code_coverage
20252
20253 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_code_coverage" >&5
20254 printfscip-shell system . . printf. "%s\n" "$enable_code_coverage" >&6; }
20255
20256 if testscip-shell system . . test. "x$enable_code_coverage" = xyes
20257 then :
20258
20259
20260 for ac_prog in gawk mawk nawk awk
20261 do
20262 # Extract the first word of "$ac_prog", so it can be a program name with args.
20263 set dummy $ac_prog; ac_word=$2
20264 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20265 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
20266 if testscip-shell system . . test. ${ac_cv_prog_AWK+y}
20267 then :
20268 printfscip-shell system . . printf. %s "(cached) " >&6
20269 else $as_nop
20270 if testscip-shell system . . test. -n "$AWK"; then
20271 ac_cv_prog_AWK="$AWK" # Let the user override the test.
20272 else
20273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20274 for as_dir in $PATH
20275 do
20276 IFS=$as_save_IFS
20277 case $as_dir in #(((
20278 '') as_dir=./ ;;
20279 */) ;;
20280 *) as_dir=$as_dir/ ;;
20281 esac
20282 for ac_exec_ext in '' $ac_executable_extensions; do
20283 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
20284 ac_cv_prog_AWK="$ac_prog"
20285 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20286 break 2
20287 fi
20288 done
20289 done
20290 IFS=$as_save_IFS
20291
20292 fi
20293 fi
20294 AWK=$ac_cv_prog_AWK
20295 if testscip-shell system . . test. -n "$AWK"; then
20296 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
20297 printfscip-shell system . . printf. "%s\n" "$AWK" >&6; }
20298 else
20299 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20300 printfscip-shell system . . printf. "%s\n" "no" >&6; }
20301 fi
20302
20303
20304 testscip-shell system . . test. -n "$AWK" && break
20305 done
20306
20307 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
20308 printfscip-shell system . . printf. %s "checking for GNU make... " >&6; }
20309 if testscip-shell system . . test. ${_cv_gnu_make_command+y}
20310 then :
20311 printfscip-shell system . . printf. %s "(cached) " >&6
20312 else $as_nop
20313 _cv_gnu_make_command="" ;
20314 for a in "$MAKE" make gmake gnumake ; do
20315 if testscip-shell system . . test. -z "$a" ; then continue ; fi ;
20316 if "$a" --version 2> /dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. GNU 2>&1 > /dev/nullscip-shell filesystem . . `/dev/null`. ; then
20317 _cv_gnu_make_command=$a ;
20318 AX_CHECK_GNU_MAKE_HEADLINE=$("$a" --version 2> /dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. "GNU Make")
20319 ax_check_gnu_make_version=$(echoscip-shell system . . echo. ${AX_CHECK_GNU_MAKE_HEADLINE} | ${AWK} -F " " '{ print $(NF); }')
20320 break ;
20321 fi
20322 done ;
20323 fi
20324 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
20325 printfscip-shell system . . printf. "%s\n" "$_cv_gnu_make_command" >&6; }
20326 if testscip-shell system . . test. "x$_cv_gnu_make_command" = x""
20327 then :
20328 ifGNUmake="#"
20329 else $as_nop
20330 ifGNUmake=""
20331 fi
20332 if testscip-shell system . . test. "x$_cv_gnu_make_command" = x""
20333 then :
20334 ifnGNUmake=""
20335 else $as_nop
20336 ifnGNUmake="#"
20337 fi
20338 if testscip-shell system . . test. "x$_cv_gnu_make_command" = x""
20339 then :
20340 { ax_cv_gnu_make_command=; unset ax_cv_gnu_make_command;}
20341 else $as_nop
20342 ax_cv_gnu_make_command=${_cv_gnu_make_command}
20343 fi
20344 if testscip-shell system . . test. "x$_cv_gnu_make_command" = x""
20345 then :
20346 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "not using GNU make that is needed for coverage" "$LINENO" 5
20347 fi
20348
20349
20350
20351
20352 # check for gcov
20353 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
20354 # Extract the first word of "${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args.
20355 set dummy ${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2
20356 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20357 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
20358 if testscip-shell system . . test. ${ac_cv_prog_GCOV+y}
20359 then :
20360 printfscip-shell system . . printf. %s "(cached) " >&6
20361 else $as_nop
20362 if testscip-shell system . . test. -n "$GCOV"; then
20363 ac_cv_prog_GCOV="$GCOV" # Let the user override the test.
20364 else
20365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20366 for as_dir in $PATH
20367 do
20368 IFS=$as_save_IFS
20369 case $as_dir in #(((
20370 '') as_dir=./ ;;
20371 */) ;;
20372 *) as_dir=$as_dir/ ;;
20373 esac
20374 for ac_exec_ext in '' $ac_executable_extensions; do
20375 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
20376 ac_cv_prog_GCOV="${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH"
20377 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20378 break 2
20379 fi
20380 done
20381 done
20382 IFS=$as_save_IFS
20383
20384 fi
20385 fi
20386 GCOV=$ac_cv_prog_GCOV
20387 if testscip-shell system . . test. -n "$GCOV"; then
20388 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
20389 printfscip-shell system . . printf. "%s\n" "$GCOV" >&6; }
20390 else
20391 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20392 printfscip-shell system . . printf. "%s\n" "no" >&6; }
20393 fi
20394
20395
20396 fi
20397 if testscip-shell system . . test. -z "$ac_cv_prog_GCOV"; then
20398 ac_ct_GCOV=$GCOV
20399 # Extract the first word of "$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args.
20400 set dummy $_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2
20401 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20402 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
20403 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_GCOV+y}
20404 then :
20405 printfscip-shell system . . printf. %s "(cached) " >&6
20406 else $as_nop
20407 if testscip-shell system . . test. -n "$ac_ct_GCOV"; then
20408 ac_cv_prog_ac_ct_GCOV="$ac_ct_GCOV" # Let the user override the test.
20409 else
20410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20411 for as_dir in $PATH
20412 do
20413 IFS=$as_save_IFS
20414 case $as_dir in #(((
20415 '') as_dir=./ ;;
20416 */) ;;
20417 *) as_dir=$as_dir/ ;;
20418 esac
20419 for ac_exec_ext in '' $ac_executable_extensions; do
20420 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
20421 ac_cv_prog_ac_ct_GCOV="$_AX_CODE_COVERAGE_GCOV_PROG_WITH"
20422 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20423 break 2
20424 fi
20425 done
20426 done
20427 IFS=$as_save_IFS
20428
20429 fi
20430 fi
20431 ac_ct_GCOV=$ac_cv_prog_ac_ct_GCOV
20432 if testscip-shell system . . test. -n "$ac_ct_GCOV"; then
20433 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5
20434 printfscip-shell system . . printf. "%s\n" "$ac_ct_GCOV" >&6; }
20435 else
20436 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20437 printfscip-shell system . . printf. "%s\n" "no" >&6; }
20438 fi
20439
20440 if testscip-shell system . . test. "x$ac_ct_GCOV" = x; then
20441 GCOV=":"
20442 else
20443 case $cross_compiling:$ac_tool_warned in
20444 yes:)
20445 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20446 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20447 ac_tool_warned=yes ;;
20448 esac
20449 GCOV=$ac_ct_GCOV
20450 fi
20451 else
20452 GCOV="$ac_cv_prog_GCOV"
20453 fi
20454
20455 if testscip-shell system . . test. "X$GCOV" = "X:"
20456 then :
20457 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "gcov is needed to do coverage" "$LINENO" 5
20458 fi
20459
20460
20461 if testscip-shell system . . test. "$GCC" = "no"
20462 then :
20463
20464 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "not compiling with gcc, which is required for gcov code coverage" "$LINENO" 5
20465
20466 fi
20467
20468 # Extract the first word of "lcov", so it can be a program name with args.
20469 set dummy lcov; ac_word=$2
20470 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20471 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
20472 if testscip-shell system . . test. ${ac_cv_prog_LCOV+y}
20473 then :
20474 printfscip-shell system . . printf. %s "(cached) " >&6
20475 else $as_nop
20476 if testscip-shell system . . test. -n "$LCOV"; then
20477 ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
20478 else
20479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20480 for as_dir in $PATH
20481 do
20482 IFS=$as_save_IFS
20483 case $as_dir in #(((
20484 '') as_dir=./ ;;
20485 */) ;;
20486 *) as_dir=$as_dir/ ;;
20487 esac
20488 for ac_exec_ext in '' $ac_executable_extensions; do
20489 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
20490 ac_cv_prog_LCOV="lcov"
20491 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20492 break 2
20493 fi
20494 done
20495 done
20496 IFS=$as_save_IFS
20497
20498 fi
20499 fi
20500 LCOV=$ac_cv_prog_LCOV
20501 if testscip-shell system . . test. -n "$LCOV"; then
20502 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
20503 printfscip-shell system . . printf. "%s\n" "$LCOV" >&6; }
20504 else
20505 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20506 printfscip-shell system . . printf. "%s\n" "no" >&6; }
20507 fi
20508
20509
20510 # Extract the first word of "genhtml", so it can be a program name with args.
20511 set dummy genhtml; ac_word=$2
20512 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20513 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
20514 if testscip-shell system . . test. ${ac_cv_prog_GENHTML+y}
20515 then :
20516 printfscip-shell system . . printf. %s "(cached) " >&6
20517 else $as_nop
20518 if testscip-shell system . . test. -n "$GENHTML"; then
20519 ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test.
20520 else
20521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20522 for as_dir in $PATH
20523 do
20524 IFS=$as_save_IFS
20525 case $as_dir in #(((
20526 '') as_dir=./ ;;
20527 */) ;;
20528 *) as_dir=$as_dir/ ;;
20529 esac
20530 for ac_exec_ext in '' $ac_executable_extensions; do
20531 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
20532 ac_cv_prog_GENHTML="genhtml"
20533 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20534 break 2
20535 fi
20536 done
20537 done
20538 IFS=$as_save_IFS
20539
20540 fi
20541 fi
20542 GENHTML=$ac_cv_prog_GENHTML
20543 if testscip-shell system . . test. -n "$GENHTML"; then
20544 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
20545 printfscip-shell system . . printf. "%s\n" "$GENHTML" >&6; }
20546 else
20547 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20548 printfscip-shell system . . printf. "%s\n" "no" >&6; }
20549 fi
20550
20551
20552
20553 if testscip-shell system . . test. x"$LCOV" = x
20554 then :
20555
20556 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "To enable code coverage reporting you must have lcov installed" "$LINENO" 5
20557
20558 fi
20559
20560 if testscip-shell system . . test. x"$GENHTML" = x
20561 then :
20562
20563 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Could not find genhtml from the lcov package" "$LINENO" 5
20564
20565 fi
20566
20567 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _gcov_init in -lgcov" >&5
20568 printfscip-shell system . . printf. %s "checking for _gcov_init in -lgcov... " >&6; }
20569 if testscip-shell system . . test. ${ac_cv_lib_gcov__gcov_init+y}
20570 then :
20571 printfscip-shell system . . printf. %s "(cached) " >&6
20572 else $as_nop
20573 ac_check_lib_save_LIBS=$LIBS
20574 LIBS="-lgcov $LIBS"
20575 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20576 /* end confdefs.h. */
20577
20578 /* Override any GCC internal prototype to avoid an error.
20579 Use char because int might match the return type of a GCC
20580 builtin and then its argument prototype would still apply. */
20581 char _gcov_init ();
20582 int
20583 main (void)
20584 {
20585 return _gcov_init ();
20586 ;
20587 return 0;
20588 }
20589 _ACEOF
20590 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
20591 then :
20592 ac_cv_lib_gcov__gcov_init=yes
20593 else $as_nop
20594 ac_cv_lib_gcov__gcov_init=no
20595 fi
20596 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
20597 conftest$ac_exeext conftest.$ac_ext
20598 LIBS=$ac_check_lib_save_LIBS
20599 fi
20600 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcov__gcov_init" >&5
20601 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_gcov__gcov_init" >&6; }
20602 if testscip-shell system . . test. "x$ac_cv_lib_gcov__gcov_init" = xyes
20603 then :
20604 CODE_COVERAGE_LIBS="-lgcov"
20605 else $as_nop
20606 CODE_COVERAGE_LIBS=""
20607 fi
20608
20609
20610 CODE_COVERAGE_CPPFLAGS="-DNDEBUG"
20611 CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
20612 CODE_COVERAGE_CXXFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
20613
20614
20615
20616
20617
20618
20619
20620 fi
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632 # Check whether --enable-largefile was given.
20633 if testscip-shell system . . test. ${enable_largefile+y}
20634 then :
20635 enableval=$enable_largefile;
20636 fi
20637
20638 if testscip-shell system . . test. "$enable_largefile" != no; then
20639
20640 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
20641 printfscip-shell system . . printf. %s "checking for special C compiler options needed for large files... " >&6; }
20642 if testscip-shell system . . test. ${ac_cv_sys_largefile_CC+y}
20643 then :
20644 printfscip-shell system . . printf. %s "(cached) " >&6
20645 else $as_nop
20646 ac_cv_sys_largefile_CC=no
20647 if testscip-shell system . . test. "$GCC" != yes; then
20648 ac_save_CC=$CC
20649 while :; do
20650 # IRIX 6.2 and later do not support large files by default,
20651 # so use the C compiler's -n32 option if that helps.
20652 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20653 /* end confdefs.h. */
20654 #include <sys/types.h>
20655 /* Check that off_t can represent 2**63 - 1 correctly.
20656 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20657 since some C++ compilers masquerading as C compilers
20658 incorrectly reject 9223372036854775807. */
20659 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
20660 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20661 && LARGE_OFF_T % 2147483647 == 1)
20662 ? 1 : -1];
20663 int
20664 main (void)
20665 {
20666
20667 ;
20668 return 0;
20669 }
20670 _ACEOF
20671 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
20672 then :
20673 break
20674 fi
20675 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
20676 CC="$CC -n32"
20677 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
20678 then :
20679 ac_cv_sys_largefile_CC=' -n32'; break
20680 fi
20681 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
20682 break
20683 done
20684 CC=$ac_save_CC
20685 rmscip-shell system . . rm. -f conftest.$ac_ext
20686 fi
20687 fi
20688 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
20689 printfscip-shell system . . printf. "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
20690 if testscip-shell system . . test. "$ac_cv_sys_largefile_CC" != no; then
20691 CC=$CC$ac_cv_sys_largefile_CC
20692 fi
20693
20694 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20695 printfscip-shell system . . printf. %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20696 if testscip-shell system . . test. ${ac_cv_sys_file_offset_bits+y}
20697 then :
20698 printfscip-shell system . . printf. %s "(cached) " >&6
20699 else $as_nop
20700 while :; do
20701 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20702 /* end confdefs.h. */
20703 #include <sys/types.h>
20704 /* Check that off_t can represent 2**63 - 1 correctly.
20705 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20706 since some C++ compilers masquerading as C compilers
20707 incorrectly reject 9223372036854775807. */
20708 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
20709 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20710 && LARGE_OFF_T % 2147483647 == 1)
20711 ? 1 : -1];
20712 int
20713 main (void)
20714 {
20715
20716 ;
20717 return 0;
20718 }
20719 _ACEOF
20720 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
20721 then :
20722 ac_cv_sys_file_offset_bits=no; break
20723 fi
20724 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20725 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20726 /* end confdefs.h. */
20727 #define _FILE_OFFSET_BITS 64
20728 #include <sys/types.h>
20729 /* Check that off_t can represent 2**63 - 1 correctly.
20730 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20731 since some C++ compilers masquerading as C compilers
20732 incorrectly reject 9223372036854775807. */
20733 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
20734 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20735 && LARGE_OFF_T % 2147483647 == 1)
20736 ? 1 : -1];
20737 int
20738 main (void)
20739 {
20740
20741 ;
20742 return 0;
20743 }
20744 _ACEOF
20745 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
20746 then :
20747 ac_cv_sys_file_offset_bits=64; break
20748 fi
20749 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20750 ac_cv_sys_file_offset_bits=unknown
20751 break
20752 done
20753 fi
20754 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20755 printfscip-shell system . . printf. "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
20756 case $ac_cv_sys_file_offset_bits in #(
20757 no | unknown) ;;
20758 *)
20759 printfscip-shell system . . printf. "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
20760 ;;
20761 esac
20762 rmscip-shell system . . rm. -rf conftest*
20763 if testscip-shell system . . test. $ac_cv_sys_file_offset_bits = unknown; then
20764 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20765 printfscip-shell system . . printf. %s "checking for _LARGE_FILES value needed for large files... " >&6; }
20766 if testscip-shell system . . test. ${ac_cv_sys_large_files+y}
20767 then :
20768 printfscip-shell system . . printf. %s "(cached) " >&6
20769 else $as_nop
20770 while :; do
20771 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20772 /* end confdefs.h. */
20773 #include <sys/types.h>
20774 /* Check that off_t can represent 2**63 - 1 correctly.
20775 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20776 since some C++ compilers masquerading as C compilers
20777 incorrectly reject 9223372036854775807. */
20778 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
20779 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20780 && LARGE_OFF_T % 2147483647 == 1)
20781 ? 1 : -1];
20782 int
20783 main (void)
20784 {
20785
20786 ;
20787 return 0;
20788 }
20789 _ACEOF
20790 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
20791 then :
20792 ac_cv_sys_large_files=no; break
20793 fi
20794 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20795 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20796 /* end confdefs.h. */
20797 #define _LARGE_FILES 1
20798 #include <sys/types.h>
20799 /* Check that off_t can represent 2**63 - 1 correctly.
20800 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20801 since some C++ compilers masquerading as C compilers
20802 incorrectly reject 9223372036854775807. */
20803 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
20804 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20805 && LARGE_OFF_T % 2147483647 == 1)
20806 ? 1 : -1];
20807 int
20808 main (void)
20809 {
20810
20811 ;
20812 return 0;
20813 }
20814 _ACEOF
20815 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
20816 then :
20817 ac_cv_sys_large_files=1; break
20818 fi
20819 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20820 ac_cv_sys_large_files=unknown
20821 break
20822 done
20823 fi
20824 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20825 printfscip-shell system . . printf. "%s\n" "$ac_cv_sys_large_files" >&6; }
20826 case $ac_cv_sys_large_files in #(
20827 no | unknown) ;;
20828 *)
20829 printfscip-shell system . . printf. "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
20830 ;;
20831 esac
20832 rmscip-shell system . . rm. -rf conftest*
20833 fi
20834 fi
20835
20836
20837 case $host_os in
20838 solaris*)
20839
20840 printfscip-shell system . . printf. "%s\n" "#define ETC_INET 1" >>confdefs.h
20841
20842 ;;
20843 esac
20844
20845 case $host_os in
20846 solaris2*)
20847 if testscip-shell system . . test. "x$GCC" = 'xyes'; then
20848
20849
20850
20851
20852 for flag in -mimpure-text; do
20853 as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_ldflags__$flag" | $as_tr_sh`
20854 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
20855 printfscip-shell system . . printf. %s "checking whether the linker accepts $flag... " >&6; }
20856 if eval test \${$as_CACHEVAR+y}
20857 then :
20858 printfscip-shell system . . printf. %s "(cached) " >&6
20859 else $as_nop
20860
20861 ax_check_save_flags=$LDFLAGS
20862 LDFLAGS="$LDFLAGS $flag"
20863 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20865
20866 int
20867 main (void)
20868 {
20869
20870 ;
20871 return 0;
20872 }
20873 _ACEOF
20874 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
20875 then :
20876 eval "$as_CACHEVAR=yes"
20877 else $as_nop
20878 eval "$as_CACHEVAR=no"
20879 fi
20880 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
20881 conftest$ac_exeext conftest.$ac_ext
20882 LDFLAGS=$ax_check_save_flags
20883 fi
20884 eval ac_res=\$$as_CACHEVAR
20885 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20886 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
20887 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
20888 then :
20889
20890 if testscip-shell system . . test. ${LDFLAGS+y}
20891 then :
20892
20893 case " $LDFLAGS " in #(
20894 *" $flag "*) :
20895 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : LDFLAGS already contains \$flag"; } >&5
20896 (: LDFLAGS already contains $flag) 2>&5
20897 ac_status=$?
20898 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20899 testscip-shell system . . test. $ac_status = 0; } ;; #(
20900 *) :
20901
20902 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). LDFLAGS " $flag"
20903 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : LDFLAGS=\"\$LDFLAGS\""; } >&5
20904 (: LDFLAGS="$LDFLAGS") 2>&5
20905 ac_status=$?
20906 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20907 testscip-shell system . . test. $ac_status = 0; }
20908 ;;
20909 esac
20910
20911 else $as_nop
20912
20913 LDFLAGS=$flag
20914 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : LDFLAGS=\"\$LDFLAGS\""; } >&5
20915 (: LDFLAGS="$LDFLAGS") 2>&5
20916 ac_status=$?
20917 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20918 testscip-shell system . . test. $ac_status = 0; }
20919
20920 fi
20921
20922 else $as_nop
20923 :
20924 fi
20925
20926 done
20927
20928 fi
20929 ;;
20930 *)
20931 ;;
20932 esac
20933
20934 cares_use_no_undefined=no
20935 case $host_os in
20936 cygwin* | mingw* | pw32* | cegcc* | os2* | aix*)
20937 cares_use_no_undefined=yes
20938 ;;
20939 *)
20940 ;;
20941 esac
20942 if testscip-shell system . . test. "$cares_use_no_undefined" = 'yes'; then
20943 CARES_USE_NO_UNDEFINED_TRUE=
20944 CARES_USE_NO_UNDEFINED_FALSE='#'
20945 else
20946 CARES_USE_NO_UNDEFINED_TRUE='#'
20947 CARES_USE_NO_UNDEFINED_FALSE=
20948 fi
20949
20950
20951
20952 if testscip-shell system . . test. "$ac_cv_native_windows" = "yes" ; then
20953 AM_CPPFLAGS="$AM_CPPFLAGS -D_WIN32_WINNT=0x0602 -DWIN32_LEAN_AND_MEAN"
20954 fi
20955
20956 if testscip-shell system . . test. "$ac_cv_native_windows" = "yes" -a "x$enable_shared" = "xyes" -a "x$enable_static" = "xyes" ; then
20957 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Windows cannot build both static and shared simultaneously, specify --disable-shared or --disable-static" "$LINENO" 5
20958 fi
20959
20960 if testscip-shell system . . test. "x$enable_shared" = "xno" -a "x$enable_static" = "xyes" ; then
20961 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need CARES_STATICLIB definition" >&5
20962 printfscip-shell system . . printf. %s "checking whether we need CARES_STATICLIB definition... " >&6; }
20963 if testscip-shell system . . test. "$ac_cv_native_windows" = "yes" ; then
20964
20965 if testscip-shell system . . test. ${AM_CPPFLAGS+y}
20966 then :
20967
20968 case " $AM_CPPFLAGS " in #(
20969 *" -DCARES_STATICLIB "*) :
20970 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CPPFLAGS already contains -DCARES_STATICLIB"; } >&5
20971 (: AM_CPPFLAGS already contains -DCARES_STATICLIB) 2>&5
20972 ac_status=$?
20973 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20974 testscip-shell system . . test. $ac_status = 0; } ;; #(
20975 *) :
20976
20977 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). AM_CPPFLAGS " -DCARES_STATICLIB"
20978 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CPPFLAGS=\"\$AM_CPPFLAGS\""; } >&5
20979 (: AM_CPPFLAGS="$AM_CPPFLAGS") 2>&5
20980 ac_status=$?
20981 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20982 testscip-shell system . . test. $ac_status = 0; }
20983 ;;
20984 esac
20985
20986 else $as_nop
20987
20988 AM_CPPFLAGS=-DCARES_STATICLIB
20989 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CPPFLAGS=\"\$AM_CPPFLAGS\""; } >&5
20990 (: AM_CPPFLAGS="$AM_CPPFLAGS") 2>&5
20991 ac_status=$?
20992 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20993 testscip-shell system . . test. $ac_status = 0; }
20994
20995 fi
20996
20997 PKGCONFIG_CFLAGS="-DCARES_STATICLIB"
20998 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20999 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
21000 else
21001 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21002 printfscip-shell system . . printf. "%s\n" "no" >&6; }
21003 fi
21004 fi
21005
21006 CARES_SYMBOL_HIDING_CFLAG=""
21007 if testscip-shell system . . test. "$symbol_hiding" != "no" ; then
21008 compiler_supports_symbol_hiding="no"
21009 if testscip-shell system . . test. "$ac_cv_windows" = "yes" ; then
21010 compiler_supports_symbol_hiding="yes"
21011 else
21012 case "$ax_cv_c_compiler_vendor" in
21013 clang|gnu|intel)
21014
21015
21016
21017
21018 for flag in -fvisibility=hidden; do
21019 as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
21020 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts $flag" >&5
21021 printfscip-shell system . . printf. %s "checking whether the C compiler accepts $flag... " >&6; }
21022 if eval test \${$as_CACHEVAR+y}
21023 then :
21024 printfscip-shell system . . printf. %s "(cached) " >&6
21025 else $as_nop
21026
21027 ax_check_save_flags=$CFLAGS
21028 if testscip-shell system . . test. x"$GCC" = xyes ; then
21029 add_gnu_werror="-Werror"
21030 fi
21031 CFLAGS="$CFLAGS $flag $add_gnu_werror"
21032 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21034
21035 int
21036 main (void)
21037 {
21038
21039 ;
21040 return 0;
21041 }
21042 _ACEOF
21043 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
21044 then :
21045 eval "$as_CACHEVAR=yes"
21046 else $as_nop
21047 eval "$as_CACHEVAR=no"
21048 fi
21049 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21050 CFLAGS=$ax_check_save_flags
21051 fi
21052 eval ac_res=\$$as_CACHEVAR
21053 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21054 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
21055 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
21056 then :
21057
21058 if testscip-shell system . . test. ${CARES_SYMBOL_HIDING_CFLAG+y}
21059 then :
21060
21061 case " $CARES_SYMBOL_HIDING_CFLAG " in #(
21062 *" $flag "*) :
21063 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : CARES_SYMBOL_HIDING_CFLAG already contains \$flag"; } >&5
21064 (: CARES_SYMBOL_HIDING_CFLAG already contains $flag) 2>&5
21065 ac_status=$?
21066 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21067 testscip-shell system . . test. $ac_status = 0; } ;; #(
21068 *) :
21069
21070 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). CARES_SYMBOL_HIDING_CFLAG " $flag"
21071 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : CARES_SYMBOL_HIDING_CFLAG=\"\$CARES_SYMBOL_HIDING_CFLAG\""; } >&5
21072 (: CARES_SYMBOL_HIDING_CFLAG="$CARES_SYMBOL_HIDING_CFLAG") 2>&5
21073 ac_status=$?
21074 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21075 testscip-shell system . . test. $ac_status = 0; }
21076 ;;
21077 esac
21078
21079 else $as_nop
21080
21081 CARES_SYMBOL_HIDING_CFLAG=$flag
21082 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : CARES_SYMBOL_HIDING_CFLAG=\"\$CARES_SYMBOL_HIDING_CFLAG\""; } >&5
21083 (: CARES_SYMBOL_HIDING_CFLAG="$CARES_SYMBOL_HIDING_CFLAG") 2>&5
21084 ac_status=$?
21085 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21086 testscip-shell system . . test. $ac_status = 0; }
21087
21088 fi
21089
21090 else $as_nop
21091 :
21092 fi
21093
21094 done
21095
21096 if testscip-shell system . . test. "x$CARES_SYMBOL_HIDING_CFLAG" != "x" ; then
21097 compiler_supports_symbol_hiding="yes"
21098 fi
21099 ;;
21100 sun)
21101
21102
21103
21104
21105 for flag in -xldscope=hidden; do
21106 as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
21107 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts $flag" >&5
21108 printfscip-shell system . . printf. %s "checking whether the C compiler accepts $flag... " >&6; }
21109 if eval test \${$as_CACHEVAR+y}
21110 then :
21111 printfscip-shell system . . printf. %s "(cached) " >&6
21112 else $as_nop
21113
21114 ax_check_save_flags=$CFLAGS
21115 if testscip-shell system . . test. x"$GCC" = xyes ; then
21116 add_gnu_werror="-Werror"
21117 fi
21118 CFLAGS="$CFLAGS $flag $add_gnu_werror"
21119 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
21120 /* end confdefs.h. */
21121
21122 int
21123 main (void)
21124 {
21125
21126 ;
21127 return 0;
21128 }
21129 _ACEOF
21130 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
21131 then :
21132 eval "$as_CACHEVAR=yes"
21133 else $as_nop
21134 eval "$as_CACHEVAR=no"
21135 fi
21136 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21137 CFLAGS=$ax_check_save_flags
21138 fi
21139 eval ac_res=\$$as_CACHEVAR
21140 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21141 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
21142 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
21143 then :
21144
21145 if testscip-shell system . . test. ${CARES_SYMBOL_HIDING_CFLAG+y}
21146 then :
21147
21148 case " $CARES_SYMBOL_HIDING_CFLAG " in #(
21149 *" $flag "*) :
21150 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : CARES_SYMBOL_HIDING_CFLAG already contains \$flag"; } >&5
21151 (: CARES_SYMBOL_HIDING_CFLAG already contains $flag) 2>&5
21152 ac_status=$?
21153 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21154 testscip-shell system . . test. $ac_status = 0; } ;; #(
21155 *) :
21156
21157 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). CARES_SYMBOL_HIDING_CFLAG " $flag"
21158 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : CARES_SYMBOL_HIDING_CFLAG=\"\$CARES_SYMBOL_HIDING_CFLAG\""; } >&5
21159 (: CARES_SYMBOL_HIDING_CFLAG="$CARES_SYMBOL_HIDING_CFLAG") 2>&5
21160 ac_status=$?
21161 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21162 testscip-shell system . . test. $ac_status = 0; }
21163 ;;
21164 esac
21165
21166 else $as_nop
21167
21168 CARES_SYMBOL_HIDING_CFLAG=$flag
21169 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : CARES_SYMBOL_HIDING_CFLAG=\"\$CARES_SYMBOL_HIDING_CFLAG\""; } >&5
21170 (: CARES_SYMBOL_HIDING_CFLAG="$CARES_SYMBOL_HIDING_CFLAG") 2>&5
21171 ac_status=$?
21172 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21173 testscip-shell system . . test. $ac_status = 0; }
21174
21175 fi
21176
21177 else $as_nop
21178 :
21179 fi
21180
21181 done
21182
21183 if testscip-shell system . . test. "x$CARES_SYMBOL_HIDING_CFLAG" != "x" ; then
21184 compiler_supports_symbol_hiding="yes"
21185 fi
21186 ;;
21187 esac
21188 fi
21189 if testscip-shell system . . test. "$compiler_supports_symbol_hiding" = "no" ; then
21190 if testscip-shell system . . test. "$symbol_hiding" = "yes" ; then
21191 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Compiler does not support symbol hiding" "$LINENO" 5
21192 else
21193 symbol_hiding="no"
21194 fi
21195 else
21196
21197 printfscip-shell system . . printf. "%s\n" "#define CARES_SYMBOL_HIDING 1 " >>confdefs.h
21198
21199 symbol_hiding="yes"
21200 fi
21201 fi
21202 if testscip-shell system . . test. "x$symbol_hiding" = "xyes"; then
21203 CARES_SYMBOL_HIDING_TRUE=
21204 CARES_SYMBOL_HIDING_FALSE='#'
21205 else
21206 CARES_SYMBOL_HIDING_TRUE='#'
21207 CARES_SYMBOL_HIDING_FALSE=
21208 fi
21209
21210
21211
21212
21213 if testscip-shell system . . test. "$enable_warnings" = "yes"; then
21214
21215
21216
21217
21218 for flag in -Wall -Wextra -Waggregate-return -Wcast-align -Wcast-qual -Wconversion -Wdeclaration-after-statement -Wdouble-promotion -Wfloat-equal -Wformat-security -Winit-self -Wjump-misses-init -Wlogical-op -Wmissing-braces -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wno-coverage-mismatch -Wold-style-definition -Wpacked -Wpedantic -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-conversion -Wstrict-overflow -Wstrict-prototypes -Wtrampolines -Wundef -Wunreachable-code -Wunused -Wvariadic-macros -Wvla -Wwrite-strings -Werror=implicit-int -Werror=implicit-function-declaration -Werror=partial-availability -Wno-long-long ; do
21219 as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_cflags_-Werror_$flag" | $as_tr_sh`
21220 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts $flag" >&5
21221 printfscip-shell system . . printf. %s "checking whether the C compiler accepts $flag... " >&6; }
21222 if eval test \${$as_CACHEVAR+y}
21223 then :
21224 printfscip-shell system . . printf. %s "(cached) " >&6
21225 else $as_nop
21226
21227 ax_check_save_flags=$CFLAGS
21228 if testscip-shell system . . test. x"$GCC" = xyes ; then
21229 add_gnu_werror="-Werror"
21230 fi
21231 CFLAGS="$CFLAGS -Werror $flag $add_gnu_werror"
21232 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
21233 /* end confdefs.h. */
21234
21235 int
21236 main (void)
21237 {
21238
21239 ;
21240 return 0;
21241 }
21242 _ACEOF
21243 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
21244 then :
21245 eval "$as_CACHEVAR=yes"
21246 else $as_nop
21247 eval "$as_CACHEVAR=no"
21248 fi
21249 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21250 CFLAGS=$ax_check_save_flags
21251 fi
21252 eval ac_res=\$$as_CACHEVAR
21253 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21254 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
21255 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
21256 then :
21257
21258 if testscip-shell system . . test. ${AM_CFLAGS+y}
21259 then :
21260
21261 case " $AM_CFLAGS " in #(
21262 *" $flag "*) :
21263 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
21264 (: AM_CFLAGS already contains $flag) 2>&5
21265 ac_status=$?
21266 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21267 testscip-shell system . . test. $ac_status = 0; } ;; #(
21268 *) :
21269
21270 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). AM_CFLAGS " $flag"
21271 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
21272 (: AM_CFLAGS="$AM_CFLAGS") 2>&5
21273 ac_status=$?
21274 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21275 testscip-shell system . . test. $ac_status = 0; }
21276 ;;
21277 esac
21278
21279 else $as_nop
21280
21281 AM_CFLAGS=$flag
21282 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
21283 (: AM_CFLAGS="$AM_CFLAGS") 2>&5
21284 ac_status=$?
21285 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21286 testscip-shell system . . test. $ac_status = 0; }
21287
21288 fi
21289
21290 else $as_nop
21291 :
21292 fi
21293
21294 done
21295
21296 fi
21297
21298 case $host_os in
21299 *qnx*|*android*)
21300
21301
21302
21303
21304 for flag in -std=c99; do
21305 as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_cflags_-Werror_$flag" | $as_tr_sh`
21306 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts $flag" >&5
21307 printfscip-shell system . . printf. %s "checking whether the C compiler accepts $flag... " >&6; }
21308 if eval test \${$as_CACHEVAR+y}
21309 then :
21310 printfscip-shell system . . printf. %s "(cached) " >&6
21311 else $as_nop
21312
21313 ax_check_save_flags=$CFLAGS
21314 if testscip-shell system . . test. x"$GCC" = xyes ; then
21315 add_gnu_werror="-Werror"
21316 fi
21317 CFLAGS="$CFLAGS -Werror $flag $add_gnu_werror"
21318 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
21319 /* end confdefs.h. */
21320
21321 int
21322 main (void)
21323 {
21324
21325 ;
21326 return 0;
21327 }
21328 _ACEOF
21329 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
21330 then :
21331 eval "$as_CACHEVAR=yes"
21332 else $as_nop
21333 eval "$as_CACHEVAR=no"
21334 fi
21335 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21336 CFLAGS=$ax_check_save_flags
21337 fi
21338 eval ac_res=\$$as_CACHEVAR
21339 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21340 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
21341 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
21342 then :
21343
21344 if testscip-shell system . . test. ${AM_CFLAGS+y}
21345 then :
21346
21347 case " $AM_CFLAGS " in #(
21348 *" $flag "*) :
21349 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
21350 (: AM_CFLAGS already contains $flag) 2>&5
21351 ac_status=$?
21352 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21353 testscip-shell system . . test. $ac_status = 0; } ;; #(
21354 *) :
21355
21356 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). AM_CFLAGS " $flag"
21357 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
21358 (: AM_CFLAGS="$AM_CFLAGS") 2>&5
21359 ac_status=$?
21360 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21361 testscip-shell system . . test. $ac_status = 0; }
21362 ;;
21363 esac
21364
21365 else $as_nop
21366
21367 AM_CFLAGS=$flag
21368 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
21369 (: AM_CFLAGS="$AM_CFLAGS") 2>&5
21370 ac_status=$?
21371 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21372 testscip-shell system . . test. $ac_status = 0; }
21373
21374 fi
21375
21376 else $as_nop
21377 :
21378 fi
21379
21380 done
21381
21382 ;;
21383 *)
21384
21385
21386
21387
21388 for flag in -std=c90; do
21389 as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_cflags_-Werror_$flag" | $as_tr_sh`
21390 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts $flag" >&5
21391 printfscip-shell system . . printf. %s "checking whether the C compiler accepts $flag... " >&6; }
21392 if eval test \${$as_CACHEVAR+y}
21393 then :
21394 printfscip-shell system . . printf. %s "(cached) " >&6
21395 else $as_nop
21396
21397 ax_check_save_flags=$CFLAGS
21398 if testscip-shell system . . test. x"$GCC" = xyes ; then
21399 add_gnu_werror="-Werror"
21400 fi
21401 CFLAGS="$CFLAGS -Werror $flag $add_gnu_werror"
21402 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
21403 /* end confdefs.h. */
21404
21405 int
21406 main (void)
21407 {
21408
21409 ;
21410 return 0;
21411 }
21412 _ACEOF
21413 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
21414 then :
21415 eval "$as_CACHEVAR=yes"
21416 else $as_nop
21417 eval "$as_CACHEVAR=no"
21418 fi
21419 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21420 CFLAGS=$ax_check_save_flags
21421 fi
21422 eval ac_res=\$$as_CACHEVAR
21423 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21424 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
21425 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
21426 then :
21427
21428 if testscip-shell system . . test. ${AM_CFLAGS+y}
21429 then :
21430
21431 case " $AM_CFLAGS " in #(
21432 *" $flag "*) :
21433 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
21434 (: AM_CFLAGS already contains $flag) 2>&5
21435 ac_status=$?
21436 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21437 testscip-shell system . . test. $ac_status = 0; } ;; #(
21438 *) :
21439
21440 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). AM_CFLAGS " $flag"
21441 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
21442 (: AM_CFLAGS="$AM_CFLAGS") 2>&5
21443 ac_status=$?
21444 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21445 testscip-shell system . . test. $ac_status = 0; }
21446 ;;
21447 esac
21448
21449 else $as_nop
21450
21451 AM_CFLAGS=$flag
21452 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
21453 (: AM_CFLAGS="$AM_CFLAGS") 2>&5
21454 ac_status=$?
21455 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21456 testscip-shell system . . test. $ac_status = 0; }
21457
21458 fi
21459
21460 else $as_nop
21461 :
21462 fi
21463
21464 done
21465
21466 ;;
21467 esac
21468
21469 case $host_os in
21470 *qnx*)
21471
21472
21473
21474
21475 for flag in -D_QNX_SOURCE; do
21476 as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_cflags_-Werror_$flag" | $as_tr_sh`
21477 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts $flag" >&5
21478 printfscip-shell system . . printf. %s "checking whether the C compiler accepts $flag... " >&6; }
21479 if eval test \${$as_CACHEVAR+y}
21480 then :
21481 printfscip-shell system . . printf. %s "(cached) " >&6
21482 else $as_nop
21483
21484 ax_check_save_flags=$CFLAGS
21485 if testscip-shell system . . test. x"$GCC" = xyes ; then
21486 add_gnu_werror="-Werror"
21487 fi
21488 CFLAGS="$CFLAGS -Werror $flag $add_gnu_werror"
21489 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
21490 /* end confdefs.h. */
21491
21492 int
21493 main (void)
21494 {
21495
21496 ;
21497 return 0;
21498 }
21499 _ACEOF
21500 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
21501 then :
21502 eval "$as_CACHEVAR=yes"
21503 else $as_nop
21504 eval "$as_CACHEVAR=no"
21505 fi
21506 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21507 CFLAGS=$ax_check_save_flags
21508 fi
21509 eval ac_res=\$$as_CACHEVAR
21510 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21511 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
21512 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
21513 then :
21514
21515 if testscip-shell system . . test. ${AM_CPPFLAGS+y}
21516 then :
21517
21518 case " $AM_CPPFLAGS " in #(
21519 *" $flag "*) :
21520 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CPPFLAGS already contains \$flag"; } >&5
21521 (: AM_CPPFLAGS already contains $flag) 2>&5
21522 ac_status=$?
21523 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21524 testscip-shell system . . test. $ac_status = 0; } ;; #(
21525 *) :
21526
21527 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). AM_CPPFLAGS " $flag"
21528 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CPPFLAGS=\"\$AM_CPPFLAGS\""; } >&5
21529 (: AM_CPPFLAGS="$AM_CPPFLAGS") 2>&5
21530 ac_status=$?
21531 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21532 testscip-shell system . . test. $ac_status = 0; }
21533 ;;
21534 esac
21535
21536 else $as_nop
21537
21538 AM_CPPFLAGS=$flag
21539 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CPPFLAGS=\"\$AM_CPPFLAGS\""; } >&5
21540 (: AM_CPPFLAGS="$AM_CPPFLAGS") 2>&5
21541 ac_status=$?
21542 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21543 testscip-shell system . . test. $ac_status = 0; }
21544
21545 fi
21546
21547 else $as_nop
21548 :
21549 fi
21550
21551 done
21552
21553 ;;
21554 esac
21555
21556 if testscip-shell system . . test. "$ax_cv_c_compiler_vendor" = "intel"; then
21557
21558
21559
21560
21561 for flag in -shared-intel; do
21562 as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
21563 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts $flag" >&5
21564 printfscip-shell system . . printf. %s "checking whether the C compiler accepts $flag... " >&6; }
21565 if eval test \${$as_CACHEVAR+y}
21566 then :
21567 printfscip-shell system . . printf. %s "(cached) " >&6
21568 else $as_nop
21569
21570 ax_check_save_flags=$CFLAGS
21571 if testscip-shell system . . test. x"$GCC" = xyes ; then
21572 add_gnu_werror="-Werror"
21573 fi
21574 CFLAGS="$CFLAGS $flag $add_gnu_werror"
21575 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
21576 /* end confdefs.h. */
21577
21578 int
21579 main (void)
21580 {
21581
21582 ;
21583 return 0;
21584 }
21585 _ACEOF
21586 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
21587 then :
21588 eval "$as_CACHEVAR=yes"
21589 else $as_nop
21590 eval "$as_CACHEVAR=no"
21591 fi
21592 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21593 CFLAGS=$ax_check_save_flags
21594 fi
21595 eval ac_res=\$$as_CACHEVAR
21596 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21597 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
21598 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
21599 then :
21600
21601 if testscip-shell system . . test. ${AM_CFLAGS+y}
21602 then :
21603
21604 case " $AM_CFLAGS " in #(
21605 *" $flag "*) :
21606 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
21607 (: AM_CFLAGS already contains $flag) 2>&5
21608 ac_status=$?
21609 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21610 testscip-shell system . . test. $ac_status = 0; } ;; #(
21611 *) :
21612
21613 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). AM_CFLAGS " $flag"
21614 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
21615 (: AM_CFLAGS="$AM_CFLAGS") 2>&5
21616 ac_status=$?
21617 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21618 testscip-shell system . . test. $ac_status = 0; }
21619 ;;
21620 esac
21621
21622 else $as_nop
21623
21624 AM_CFLAGS=$flag
21625 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
21626 (: AM_CFLAGS="$AM_CFLAGS") 2>&5
21627 ac_status=$?
21628 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21629 testscip-shell system . . test. $ac_status = 0; }
21630
21631 fi
21632
21633 else $as_nop
21634 :
21635 fi
21636
21637 done
21638
21639 fi
21640
21641 if testscip-shell system . . test. "$ac_cv_native_windows" = "yes" ; then
21642
21643 ac_ext=c
21644 ac_cpp='$CPP $CPPFLAGS'
21645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21648 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
21649 printfscip-shell system . . printf. %s "checking how to run the C preprocessor... " >&6; }
21650 # On Suns, sometimes $CPP names a directory.
21651 if testscip-shell system . . test. -n "$CPP" && testscip-shell system . . test. -d "$CPP"; then
21652 CPP=
21653 fi
21654 if testscip-shell system . . test. -z "$CPP"; then
21655 if testscip-shell system . . test. ${ac_cv_prog_CPP+y}
21656 then :
21657 printfscip-shell system . . printf. %s "(cached) " >&6
21658 else $as_nop
21659 # Double quotes because $CC needs to be expanded
21660 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cppscip-shell filesystem . . `/lib/cpp`.
21661 do
21662 ac_preproc_ok=false
21663 for ac_c_preproc_warn_flag in '' yes
21664 do
21665 # Use a header file that comes with gcc, so configuring glibc
21666 # with a fresh cross-compiler works.
21667 # On the NeXT, cc -E runs the code through the compiler's parser,
21668 # not just through cpp. "Syntax error" is here to catch this case.
21669 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
21670 /* end confdefs.h. */
21671 #include <limits.h>
21672 Syntax error
21673 _ACEOF
21674 if ac_fn_c_try_cppscip-shell shell shell-project 0.0.0 ac_fn_c_try_cpp(). "$LINENO"
21675 then :
21676
21677 else $as_nop
21678 # Broken: fails on valid input.
21679 continue
21680 fi
21681 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
21682
21683 # OK, works on sane cases. Now check whether nonexistent headers
21684 # can be detected and how.
21685 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
21686 /* end confdefs.h. */
21687 #include <ac_nonexistent.h>
21688 _ACEOF
21689 if ac_fn_c_try_cppscip-shell shell shell-project 0.0.0 ac_fn_c_try_cpp(). "$LINENO"
21690 then :
21691 # Broken: success on invalid input.
21692 continue
21693 else $as_nop
21694 # Passes both tests.
21695 ac_preproc_ok=:
21696 break
21697 fi
21698 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
21699
21700 done
21701 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21702 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
21703 if $ac_preproc_ok
21704 then :
21705 break
21706 fi
21707
21708 done
21709 ac_cv_prog_CPP=$CPP
21710
21711 fi
21712 CPP=$ac_cv_prog_CPP
21713 else
21714 ac_cv_prog_CPP=$CPP
21715 fi
21716 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
21717 printfscip-shell system . . printf. "%s\n" "$CPP" >&6; }
21718 ac_preproc_ok=false
21719 for ac_c_preproc_warn_flag in '' yes
21720 do
21721 # Use a header file that comes with gcc, so configuring glibc
21722 # with a fresh cross-compiler works.
21723 # On the NeXT, cc -E runs the code through the compiler's parser,
21724 # not just through cpp. "Syntax error" is here to catch this case.
21725 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
21726 /* end confdefs.h. */
21727 #include <limits.h>
21728 Syntax error
21729 _ACEOF
21730 if ac_fn_c_try_cppscip-shell shell shell-project 0.0.0 ac_fn_c_try_cpp(). "$LINENO"
21731 then :
21732
21733 else $as_nop
21734 # Broken: fails on valid input.
21735 continue
21736 fi
21737 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
21738
21739 # OK, works on sane cases. Now check whether nonexistent headers
21740 # can be detected and how.
21741 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
21742 /* end confdefs.h. */
21743 #include <ac_nonexistent.h>
21744 _ACEOF
21745 if ac_fn_c_try_cppscip-shell shell shell-project 0.0.0 ac_fn_c_try_cpp(). "$LINENO"
21746 then :
21747 # Broken: success on invalid input.
21748 continue
21749 else $as_nop
21750 # Passes both tests.
21751 ac_preproc_ok=:
21752 break
21753 fi
21754 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
21755
21756 done
21757 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21758 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
21759 if $ac_preproc_ok
21760 then :
21761
21762 else $as_nop
21763 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21764 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21765 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "C preprocessor \"$CPP\" fails sanity check
21766 See \`config.log' for more details" "$LINENO" 5; }
21767 fi
21768
21769 ac_ext=c
21770 ac_cpp='$CPP $CPPFLAGS'
21771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21774
21775
21776 ac_fn_c_check_header_preprocscip-shell shell shell-project 0.0.0 ac_fn_c_check_header_preproc(). "$LINENO" "windows.h" "ac_cv_header_windows_h"
21777 if testscip-shell system . . test. "x$ac_cv_header_windows_h" = xyes
21778 then :
21779 printfscip-shell system . . printf. "%s\n" "#define HAVE_WINDOWS_H 1" >>confdefs.h
21780
21781 fi
21782 ac_fn_c_check_header_preprocscip-shell shell shell-project 0.0.0 ac_fn_c_check_header_preproc(). "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h"
21783 if testscip-shell system . . test. "x$ac_cv_header_winsock2_h" = xyes
21784 then :
21785 printfscip-shell system . . printf. "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h
21786
21787 fi
21788 ac_fn_c_check_header_preprocscip-shell shell shell-project 0.0.0 ac_fn_c_check_header_preproc(). "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h"
21789 if testscip-shell system . . test. "x$ac_cv_header_ws2tcpip_h" = xyes
21790 then :
21791 printfscip-shell system . . printf. "%s\n" "#define HAVE_WS2TCPIP_H 1" >>confdefs.h
21792
21793 fi
21794 ac_fn_c_check_header_preprocscip-shell shell shell-project 0.0.0 ac_fn_c_check_header_preproc(). "$LINENO" "iphlpapi.h" "ac_cv_header_iphlpapi_h"
21795 if testscip-shell system . . test. "x$ac_cv_header_iphlpapi_h" = xyes
21796 then :
21797 printfscip-shell system . . printf. "%s\n" "#define HAVE_IPHLPAPI_H 1" >>confdefs.h
21798
21799 fi
21800 ac_fn_c_check_header_preprocscip-shell shell shell-project 0.0.0 ac_fn_c_check_header_preproc(). "$LINENO" "netioapi.h" "ac_cv_header_netioapi_h"
21801 if testscip-shell system . . test. "x$ac_cv_header_netioapi_h" = xyes
21802 then :
21803 printfscip-shell system . . printf. "%s\n" "#define HAVE_NETIOAPI_H 1" >>confdefs.h
21804
21805 fi
21806 ac_fn_c_check_header_preprocscip-shell shell shell-project 0.0.0 ac_fn_c_check_header_preproc(). "$LINENO" "ws2ipdef.h" "ac_cv_header_ws2ipdef_h"
21807 if testscip-shell system . . test. "x$ac_cv_header_ws2ipdef_h" = xyes
21808 then :
21809 printfscip-shell system . . printf. "%s\n" "#define HAVE_WS2IPDEF_H 1" >>confdefs.h
21810
21811 fi
21812 ac_fn_c_check_header_preprocscip-shell shell shell-project 0.0.0 ac_fn_c_check_header_preproc(). "$LINENO" "winternl.h" "ac_cv_header_winternl_h"
21813 if testscip-shell system . . test. "x$ac_cv_header_winternl_h" = xyes
21814 then :
21815 printfscip-shell system . . printf. "%s\n" "#define HAVE_WINTERNL_H 1" >>confdefs.h
21816
21817 fi
21818 ac_fn_c_check_header_preprocscip-shell shell shell-project 0.0.0 ac_fn_c_check_header_preproc(). "$LINENO" "ntdef.h" "ac_cv_header_ntdef_h"
21819 if testscip-shell system . . test. "x$ac_cv_header_ntdef_h" = xyes
21820 then :
21821 printfscip-shell system . . printf. "%s\n" "#define HAVE_NTDEF_H 1" >>confdefs.h
21822
21823 fi
21824 ac_fn_c_check_header_preprocscip-shell shell shell-project 0.0.0 ac_fn_c_check_header_preproc(). "$LINENO" "ntstatus.h" "ac_cv_header_ntstatus_h"
21825 if testscip-shell system . . test. "x$ac_cv_header_ntstatus_h" = xyes
21826 then :
21827 printfscip-shell system . . printf. "%s\n" "#define HAVE_NTSTATUS_H 1" >>confdefs.h
21828
21829 fi
21830 ac_fn_c_check_header_preprocscip-shell shell shell-project 0.0.0 ac_fn_c_check_header_preproc(). "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h"
21831 if testscip-shell system . . test. "x$ac_cv_header_mswsock_h" = xyes
21832 then :
21833 printfscip-shell system . . printf. "%s\n" "#define HAVE_MSWSOCK_H 1" >>confdefs.h
21834
21835 fi
21836
21837
21838 if testscip-shell system . . test. "$ac_cv_header_winsock2_h" = "yes"; then
21839 LIBS="$LIBS -lws2_32 -liphlpapi"
21840 fi
21841 fi
21842
21843
21844 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyport" >&5
21845 printfscip-shell system . . printf. %s "checking for library containing getservbyport... " >&6; }
21846 if testscip-shell system . . test. ${ac_cv_search_getservbyport+y}
21847 then :
21848 printfscip-shell system . . printf. %s "(cached) " >&6
21849 else $as_nop
21850 ac_func_search_save_LIBS=$LIBS
21851 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
21852 /* end confdefs.h. */
21853
21854 /* Override any GCC internal prototype to avoid an error.
21855 Use char because int might match the return type of a GCC
21856 builtin and then its argument prototype would still apply. */
21857 char getservbyport ();
21858 int
21859 main (void)
21860 {
21861 return getservbyport ();
21862 ;
21863 return 0;
21864 }
21865 _ACEOF
21866 for ac_lib in '' nsl socket resolv
21867 do
21868 if testscip-shell system . . test. -z "$ac_lib"; then
21869 ac_res="none required"
21870 else
21871 ac_res=-l$ac_lib
21872 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21873 fi
21874 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
21875 then :
21876 ac_cv_search_getservbyport=$ac_res
21877 fi
21878 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
21879 conftest$ac_exeext
21880 if testscip-shell system . . test. ${ac_cv_search_getservbyport+y}
21881 then :
21882 break
21883 fi
21884 done
21885 if testscip-shell system . . test. ${ac_cv_search_getservbyport+y}
21886 then :
21887
21888 else $as_nop
21889 ac_cv_search_getservbyport=no
21890 fi
21891 rmscip-shell system . . rm. conftest.$ac_ext
21892 LIBS=$ac_func_search_save_LIBS
21893 fi
21894 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyport" >&5
21895 printfscip-shell system . . printf. "%s\n" "$ac_cv_search_getservbyport" >&6; }
21896 ac_res=$ac_cv_search_getservbyport
21897 if testscip-shell system . . test. "$ac_res" != no
21898 then :
21899 testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21900
21901 fi
21902
21903
21904 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libxnet is required" >&5
21905 printfscip-shell system . . printf. %s "checking if libxnet is required... " >&6; }
21906 need_xnet=no
21907 case $host_os in
21908 hpux*)
21909 XNET_LIBS=""
21910
21911
21912
21913
21914 for flag in -lxnet; do
21915 as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_ldflags__$flag" | $as_tr_sh`
21916 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
21917 printfscip-shell system . . printf. %s "checking whether the linker accepts $flag... " >&6; }
21918 if eval test \${$as_CACHEVAR+y}
21919 then :
21920 printfscip-shell system . . printf. %s "(cached) " >&6
21921 else $as_nop
21922
21923 ax_check_save_flags=$LDFLAGS
21924 LDFLAGS="$LDFLAGS $flag"
21925 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
21926 /* end confdefs.h. */
21927
21928 int
21929 main (void)
21930 {
21931
21932 ;
21933 return 0;
21934 }
21935 _ACEOF
21936 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
21937 then :
21938 eval "$as_CACHEVAR=yes"
21939 else $as_nop
21940 eval "$as_CACHEVAR=no"
21941 fi
21942 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
21943 conftest$ac_exeext conftest.$ac_ext
21944 LDFLAGS=$ax_check_save_flags
21945 fi
21946 eval ac_res=\$$as_CACHEVAR
21947 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21948 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
21949 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
21950 then :
21951
21952 if testscip-shell system . . test. ${XNET_LIBS+y}
21953 then :
21954
21955 case " $XNET_LIBS " in #(
21956 *" $flag "*) :
21957 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : XNET_LIBS already contains \$flag"; } >&5
21958 (: XNET_LIBS already contains $flag) 2>&5
21959 ac_status=$?
21960 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21961 testscip-shell system . . test. $ac_status = 0; } ;; #(
21962 *) :
21963
21964 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). XNET_LIBS " $flag"
21965 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : XNET_LIBS=\"\$XNET_LIBS\""; } >&5
21966 (: XNET_LIBS="$XNET_LIBS") 2>&5
21967 ac_status=$?
21968 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21969 testscip-shell system . . test. $ac_status = 0; }
21970 ;;
21971 esac
21972
21973 else $as_nop
21974
21975 XNET_LIBS=$flag
21976 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : XNET_LIBS=\"\$XNET_LIBS\""; } >&5
21977 (: XNET_LIBS="$XNET_LIBS") 2>&5
21978 ac_status=$?
21979 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21980 testscip-shell system . . test. $ac_status = 0; }
21981
21982 fi
21983
21984 else $as_nop
21985 :
21986 fi
21987
21988 done
21989
21990 if testscip-shell system . . test. "x$XNET_LIBS" != "x" ; then
21991 LIBS="$LIBS $XNET_LIBS"
21992 need_xnet=yes
21993 fi
21994 ;;
21995 esac
21996 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $need_xnet" >&5
21997 printfscip-shell system . . printf. "%s\n" "$need_xnet" >&6; }
21998
21999 if testscip-shell system . . test. "x$host_vendor" = "xibm" -a "x$host_os" = "xopenedition"
22000 then :
22001
22002 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing res_init" >&5
22003 printfscip-shell system . . printf. %s "checking for library containing res_init... " >&6; }
22004 if testscip-shell system . . test. ${ac_cv_search_res_init+y}
22005 then :
22006 printfscip-shell system . . printf. %s "(cached) " >&6
22007 else $as_nop
22008 ac_func_search_save_LIBS=$LIBS
22009 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
22010 /* end confdefs.h. */
22011
22012 /* Override any GCC internal prototype to avoid an error.
22013 Use char because int might match the return type of a GCC
22014 builtin and then its argument prototype would still apply. */
22015 char res_init ();
22016 int
22017 main (void)
22018 {
22019 return res_init ();
22020 ;
22021 return 0;
22022 }
22023 _ACEOF
22024 for ac_lib in '' resolv
22025 do
22026 if testscip-shell system . . test. -z "$ac_lib"; then
22027 ac_res="none required"
22028 else
22029 ac_res=-l$ac_lib
22030 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22031 fi
22032 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
22033 then :
22034 ac_cv_search_res_init=$ac_res
22035 fi
22036 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
22037 conftest$ac_exeext
22038 if testscip-shell system . . test. ${ac_cv_search_res_init+y}
22039 then :
22040 break
22041 fi
22042 done
22043 if testscip-shell system . . test. ${ac_cv_search_res_init+y}
22044 then :
22045
22046 else $as_nop
22047 ac_cv_search_res_init=no
22048 fi
22049 rmscip-shell system . . rm. conftest.$ac_ext
22050 LIBS=$ac_func_search_save_LIBS
22051 fi
22052 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_init" >&5
22053 printfscip-shell system . . printf. "%s\n" "$ac_cv_search_res_init" >&6; }
22054 ac_res=$ac_cv_search_res_init
22055 if testscip-shell system . . test. "$ac_res" != no
22056 then :
22057 testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22058
22059
22060 printfscip-shell system . . printf. "%s\n" "#define CARES_USE_LIBRESOLV 1" >>confdefs.h
22061
22062
22063 else $as_nop
22064
22065 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Unable to find libresolv which is required for z/OS" "$LINENO" 5
22066
22067 fi
22068
22069
22070 fi
22071
22072
22073 if testscip-shell system . . test. "x$host_vendor" = "xapple"
22074 then :
22075
22076 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iOS minimum version 10 or later" >&5
22077 printfscip-shell system . . printf. %s "checking for iOS minimum version 10 or later... " >&6; }
22078 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
22079 /* end confdefs.h. */
22080
22081
22082 #include <stdio.h>
22083 #include <AvailabilityMacros.h>
22084 #include <TargetConditionals.h>
22085
22086 int
22087 main (void)
22088 {
22089
22090 #if TARGET_OS_IPHONE == 0 || __IPHONE_OS_VERSION_MIN_REQUIRED < 100000
22091 #error Not iOS 10 or later
22092 #endif
22093 return 0;
22094
22095 ;
22096 return 0;
22097 }
22098
22099 _ACEOF
22100 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
22101 then :
22102
22103 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22104 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
22105 ac_cv_ios_10="yes"
22106
22107 else $as_nop
22108
22109 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22110 printfscip-shell system . . printf. "%s\n" "no" >&6; }
22111
22112 fi
22113 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22114
22115 fi
22116
22117 if testscip-shell system . . test. "x$host_vendor" = "xapple"
22118 then :
22119
22120 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for macOS minimum version 10.12 or later" >&5
22121 printfscip-shell system . . printf. %s "checking for macOS minimum version 10.12 or later... " >&6; }
22122 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
22123 /* end confdefs.h. */
22124
22125
22126 #include <stdio.h>
22127 #include <AvailabilityMacros.h>
22128 #include <TargetConditionals.h>
22129
22130 int
22131 main (void)
22132 {
22133
22134 #ifndef MAC_OS_X_VERSION_10_12
22135 # define MAC_OS_X_VERSION_10_12 101200
22136 #endif
22137 #if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_12
22138 #error Not macOS 10.12 or later
22139 #endif
22140 return 0;
22141
22142 ;
22143 return 0;
22144 }
22145
22146 _ACEOF
22147 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
22148 then :
22149
22150 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22151 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
22152 ac_cv_macos_10_12="yes"
22153
22154 else $as_nop
22155
22156 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22157 printfscip-shell system . . printf. "%s\n" "no" >&6; }
22158
22159 fi
22160 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22161
22162 fi
22163
22164 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use libgcc" >&5
22165 printfscip-shell system . . printf. %s "checking whether to use libgcc... " >&6; }
22166 # Check whether --enable-libgcc was given.
22167 if testscip-shell system . . test. ${enable_libgcc+y}
22168 then :
22169 enableval=$enable_libgcc; case "$enableval" in
22170 yes)
22171 LIBS="$LIBS -lgcc"
22172 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22173 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
22174 ;;
22175 *)
22176 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22177 printfscip-shell system . . printf. "%s\n" "no" >&6; }
22178 ;;
22179 esac
22180 else $as_nop
22181 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22182 printfscip-shell system . . printf. "%s\n" "no" >&6; }
22183
22184 fi
22185
22186
22187 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "
22188 #ifdef HAVE_SYS_TYPES_H
22189 #include <sys/types.h>
22190 #endif
22191 #ifdef HAVE_SYS_TIME_H
22192 #include <sys/time.h>
22193 #endif
22194 #ifdef HAVE_ARPA_NAMESER_H
22195 #include <arpa/nameser.h>
22196 #endif
22197
22198 #ifdef HAVE_SYS_SOCKET_H
22199 #include <sys/socket.h>
22200 #endif
22201 #ifdef HAVE_NETINET_IN_H
22202 #include <netinet/in.h>
22203 #endif
22204
22205
22206 "
22207 if testscip-shell system . . test. "x$ac_cv_header_malloc_h" = xyes
22208 then :
22209 printfscip-shell system . . printf. "%s\n" "#define HAVE_MALLOC_H 1" >>confdefs.h
22210
22211 fi
22212 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "memory.h" "ac_cv_header_memory_h" "
22213 #ifdef HAVE_SYS_TYPES_H
22214 #include <sys/types.h>
22215 #endif
22216 #ifdef HAVE_SYS_TIME_H
22217 #include <sys/time.h>
22218 #endif
22219 #ifdef HAVE_ARPA_NAMESER_H
22220 #include <arpa/nameser.h>
22221 #endif
22222
22223 #ifdef HAVE_SYS_SOCKET_H
22224 #include <sys/socket.h>
22225 #endif
22226 #ifdef HAVE_NETINET_IN_H
22227 #include <netinet/in.h>
22228 #endif
22229
22230
22231 "
22232 if testscip-shell system . . test. "x$ac_cv_header_memory_h" = xyes
22233 then :
22234 printfscip-shell system . . printf. "%s\n" "#define HAVE_MEMORY_H 1" >>confdefs.h
22235
22236 fi
22237 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "AvailabilityMacros.h" "ac_cv_header_AvailabilityMacros_h" "
22238 #ifdef HAVE_SYS_TYPES_H
22239 #include <sys/types.h>
22240 #endif
22241 #ifdef HAVE_SYS_TIME_H
22242 #include <sys/time.h>
22243 #endif
22244 #ifdef HAVE_ARPA_NAMESER_H
22245 #include <arpa/nameser.h>
22246 #endif
22247
22248 #ifdef HAVE_SYS_SOCKET_H
22249 #include <sys/socket.h>
22250 #endif
22251 #ifdef HAVE_NETINET_IN_H
22252 #include <netinet/in.h>
22253 #endif
22254
22255
22256 "
22257 if testscip-shell system . . test. "x$ac_cv_header_AvailabilityMacros_h" = xyes
22258 then :
22259 printfscip-shell system . . printf. "%s\n" "#define HAVE_AVAILABILITYMACROS_H 1" >>confdefs.h
22260
22261 fi
22262 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "
22263 #ifdef HAVE_SYS_TYPES_H
22264 #include <sys/types.h>
22265 #endif
22266 #ifdef HAVE_SYS_TIME_H
22267 #include <sys/time.h>
22268 #endif
22269 #ifdef HAVE_ARPA_NAMESER_H
22270 #include <arpa/nameser.h>
22271 #endif
22272
22273 #ifdef HAVE_SYS_SOCKET_H
22274 #include <sys/socket.h>
22275 #endif
22276 #ifdef HAVE_NETINET_IN_H
22277 #include <netinet/in.h>
22278 #endif
22279
22280
22281 "
22282 if testscip-shell system . . test. "x$ac_cv_header_sys_types_h" = xyes
22283 then :
22284 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h
22285
22286 fi
22287 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "
22288 #ifdef HAVE_SYS_TYPES_H
22289 #include <sys/types.h>
22290 #endif
22291 #ifdef HAVE_SYS_TIME_H
22292 #include <sys/time.h>
22293 #endif
22294 #ifdef HAVE_ARPA_NAMESER_H
22295 #include <arpa/nameser.h>
22296 #endif
22297
22298 #ifdef HAVE_SYS_SOCKET_H
22299 #include <sys/socket.h>
22300 #endif
22301 #ifdef HAVE_NETINET_IN_H
22302 #include <netinet/in.h>
22303 #endif
22304
22305
22306 "
22307 if testscip-shell system . . test. "x$ac_cv_header_sys_time_h" = xyes
22308 then :
22309 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
22310
22311 fi
22312 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "
22313 #ifdef HAVE_SYS_TYPES_H
22314 #include <sys/types.h>
22315 #endif
22316 #ifdef HAVE_SYS_TIME_H
22317 #include <sys/time.h>
22318 #endif
22319 #ifdef HAVE_ARPA_NAMESER_H
22320 #include <arpa/nameser.h>
22321 #endif
22322
22323 #ifdef HAVE_SYS_SOCKET_H
22324 #include <sys/socket.h>
22325 #endif
22326 #ifdef HAVE_NETINET_IN_H
22327 #include <netinet/in.h>
22328 #endif
22329
22330
22331 "
22332 if testscip-shell system . . test. "x$ac_cv_header_sys_select_h" = xyes
22333 then :
22334 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
22335
22336 fi
22337 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "
22338 #ifdef HAVE_SYS_TYPES_H
22339 #include <sys/types.h>
22340 #endif
22341 #ifdef HAVE_SYS_TIME_H
22342 #include <sys/time.h>
22343 #endif
22344 #ifdef HAVE_ARPA_NAMESER_H
22345 #include <arpa/nameser.h>
22346 #endif
22347
22348 #ifdef HAVE_SYS_SOCKET_H
22349 #include <sys/socket.h>
22350 #endif
22351 #ifdef HAVE_NETINET_IN_H
22352 #include <netinet/in.h>
22353 #endif
22354
22355
22356 "
22357 if testscip-shell system . . test. "x$ac_cv_header_sys_socket_h" = xyes
22358 then :
22359 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
22360
22361 fi
22362 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "
22363 #ifdef HAVE_SYS_TYPES_H
22364 #include <sys/types.h>
22365 #endif
22366 #ifdef HAVE_SYS_TIME_H
22367 #include <sys/time.h>
22368 #endif
22369 #ifdef HAVE_ARPA_NAMESER_H
22370 #include <arpa/nameser.h>
22371 #endif
22372
22373 #ifdef HAVE_SYS_SOCKET_H
22374 #include <sys/socket.h>
22375 #endif
22376 #ifdef HAVE_NETINET_IN_H
22377 #include <netinet/in.h>
22378 #endif
22379
22380
22381 "
22382 if testscip-shell system . . test. "x$ac_cv_header_sys_filio_h" = xyes
22383 then :
22384 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
22385
22386 fi
22387 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "
22388 #ifdef HAVE_SYS_TYPES_H
22389 #include <sys/types.h>
22390 #endif
22391 #ifdef HAVE_SYS_TIME_H
22392 #include <sys/time.h>
22393 #endif
22394 #ifdef HAVE_ARPA_NAMESER_H
22395 #include <arpa/nameser.h>
22396 #endif
22397
22398 #ifdef HAVE_SYS_SOCKET_H
22399 #include <sys/socket.h>
22400 #endif
22401 #ifdef HAVE_NETINET_IN_H
22402 #include <netinet/in.h>
22403 #endif
22404
22405
22406 "
22407 if testscip-shell system . . test. "x$ac_cv_header_sys_ioctl_h" = xyes
22408 then :
22409 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
22410
22411 fi
22412 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "
22413 #ifdef HAVE_SYS_TYPES_H
22414 #include <sys/types.h>
22415 #endif
22416 #ifdef HAVE_SYS_TIME_H
22417 #include <sys/time.h>
22418 #endif
22419 #ifdef HAVE_ARPA_NAMESER_H
22420 #include <arpa/nameser.h>
22421 #endif
22422
22423 #ifdef HAVE_SYS_SOCKET_H
22424 #include <sys/socket.h>
22425 #endif
22426 #ifdef HAVE_NETINET_IN_H
22427 #include <netinet/in.h>
22428 #endif
22429
22430
22431 "
22432 if testscip-shell system . . test. "x$ac_cv_header_sys_param_h" = xyes
22433 then :
22434 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
22435
22436 fi
22437 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "
22438 #ifdef HAVE_SYS_TYPES_H
22439 #include <sys/types.h>
22440 #endif
22441 #ifdef HAVE_SYS_TIME_H
22442 #include <sys/time.h>
22443 #endif
22444 #ifdef HAVE_ARPA_NAMESER_H
22445 #include <arpa/nameser.h>
22446 #endif
22447
22448 #ifdef HAVE_SYS_SOCKET_H
22449 #include <sys/socket.h>
22450 #endif
22451 #ifdef HAVE_NETINET_IN_H
22452 #include <netinet/in.h>
22453 #endif
22454
22455
22456 "
22457 if testscip-shell system . . test. "x$ac_cv_header_sys_uio_h" = xyes
22458 then :
22459 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
22460
22461 fi
22462 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "
22463 #ifdef HAVE_SYS_TYPES_H
22464 #include <sys/types.h>
22465 #endif
22466 #ifdef HAVE_SYS_TIME_H
22467 #include <sys/time.h>
22468 #endif
22469 #ifdef HAVE_ARPA_NAMESER_H
22470 #include <arpa/nameser.h>
22471 #endif
22472
22473 #ifdef HAVE_SYS_SOCKET_H
22474 #include <sys/socket.h>
22475 #endif
22476 #ifdef HAVE_NETINET_IN_H
22477 #include <netinet/in.h>
22478 #endif
22479
22480
22481 "
22482 if testscip-shell system . . test. "x$ac_cv_header_sys_random_h" = xyes
22483 then :
22484 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
22485
22486 fi
22487 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "
22488 #ifdef HAVE_SYS_TYPES_H
22489 #include <sys/types.h>
22490 #endif
22491 #ifdef HAVE_SYS_TIME_H
22492 #include <sys/time.h>
22493 #endif
22494 #ifdef HAVE_ARPA_NAMESER_H
22495 #include <arpa/nameser.h>
22496 #endif
22497
22498 #ifdef HAVE_SYS_SOCKET_H
22499 #include <sys/socket.h>
22500 #endif
22501 #ifdef HAVE_NETINET_IN_H
22502 #include <netinet/in.h>
22503 #endif
22504
22505
22506 "
22507 if testscip-shell system . . test. "x$ac_cv_header_sys_event_h" = xyes
22508 then :
22509 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
22510
22511 fi
22512 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "
22513 #ifdef HAVE_SYS_TYPES_H
22514 #include <sys/types.h>
22515 #endif
22516 #ifdef HAVE_SYS_TIME_H
22517 #include <sys/time.h>
22518 #endif
22519 #ifdef HAVE_ARPA_NAMESER_H
22520 #include <arpa/nameser.h>
22521 #endif
22522
22523 #ifdef HAVE_SYS_SOCKET_H
22524 #include <sys/socket.h>
22525 #endif
22526 #ifdef HAVE_NETINET_IN_H
22527 #include <netinet/in.h>
22528 #endif
22529
22530
22531 "
22532 if testscip-shell system . . test. "x$ac_cv_header_sys_epoll_h" = xyes
22533 then :
22534 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
22535
22536 fi
22537 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "assert.h" "ac_cv_header_assert_h" "
22538 #ifdef HAVE_SYS_TYPES_H
22539 #include <sys/types.h>
22540 #endif
22541 #ifdef HAVE_SYS_TIME_H
22542 #include <sys/time.h>
22543 #endif
22544 #ifdef HAVE_ARPA_NAMESER_H
22545 #include <arpa/nameser.h>
22546 #endif
22547
22548 #ifdef HAVE_SYS_SOCKET_H
22549 #include <sys/socket.h>
22550 #endif
22551 #ifdef HAVE_NETINET_IN_H
22552 #include <netinet/in.h>
22553 #endif
22554
22555
22556 "
22557 if testscip-shell system . . test. "x$ac_cv_header_assert_h" = xyes
22558 then :
22559 printfscip-shell system . . printf. "%s\n" "#define HAVE_ASSERT_H 1" >>confdefs.h
22560
22561 fi
22562 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "iphlpapi.h" "ac_cv_header_iphlpapi_h" "
22563 #ifdef HAVE_SYS_TYPES_H
22564 #include <sys/types.h>
22565 #endif
22566 #ifdef HAVE_SYS_TIME_H
22567 #include <sys/time.h>
22568 #endif
22569 #ifdef HAVE_ARPA_NAMESER_H
22570 #include <arpa/nameser.h>
22571 #endif
22572
22573 #ifdef HAVE_SYS_SOCKET_H
22574 #include <sys/socket.h>
22575 #endif
22576 #ifdef HAVE_NETINET_IN_H
22577 #include <netinet/in.h>
22578 #endif
22579
22580
22581 "
22582 if testscip-shell system . . test. "x$ac_cv_header_iphlpapi_h" = xyes
22583 then :
22584 printfscip-shell system . . printf. "%s\n" "#define HAVE_IPHLPAPI_H 1" >>confdefs.h
22585
22586 fi
22587 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "netioapi.h" "ac_cv_header_netioapi_h" "
22588 #ifdef HAVE_SYS_TYPES_H
22589 #include <sys/types.h>
22590 #endif
22591 #ifdef HAVE_SYS_TIME_H
22592 #include <sys/time.h>
22593 #endif
22594 #ifdef HAVE_ARPA_NAMESER_H
22595 #include <arpa/nameser.h>
22596 #endif
22597
22598 #ifdef HAVE_SYS_SOCKET_H
22599 #include <sys/socket.h>
22600 #endif
22601 #ifdef HAVE_NETINET_IN_H
22602 #include <netinet/in.h>
22603 #endif
22604
22605
22606 "
22607 if testscip-shell system . . test. "x$ac_cv_header_netioapi_h" = xyes
22608 then :
22609 printfscip-shell system . . printf. "%s\n" "#define HAVE_NETIOAPI_H 1" >>confdefs.h
22610
22611 fi
22612 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "
22613 #ifdef HAVE_SYS_TYPES_H
22614 #include <sys/types.h>
22615 #endif
22616 #ifdef HAVE_SYS_TIME_H
22617 #include <sys/time.h>
22618 #endif
22619 #ifdef HAVE_ARPA_NAMESER_H
22620 #include <arpa/nameser.h>
22621 #endif
22622
22623 #ifdef HAVE_SYS_SOCKET_H
22624 #include <sys/socket.h>
22625 #endif
22626 #ifdef HAVE_NETINET_IN_H
22627 #include <netinet/in.h>
22628 #endif
22629
22630
22631 "
22632 if testscip-shell system . . test. "x$ac_cv_header_netdb_h" = xyes
22633 then :
22634 printfscip-shell system . . printf. "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
22635
22636 fi
22637 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "
22638 #ifdef HAVE_SYS_TYPES_H
22639 #include <sys/types.h>
22640 #endif
22641 #ifdef HAVE_SYS_TIME_H
22642 #include <sys/time.h>
22643 #endif
22644 #ifdef HAVE_ARPA_NAMESER_H
22645 #include <arpa/nameser.h>
22646 #endif
22647
22648 #ifdef HAVE_SYS_SOCKET_H
22649 #include <sys/socket.h>
22650 #endif
22651 #ifdef HAVE_NETINET_IN_H
22652 #include <netinet/in.h>
22653 #endif
22654
22655
22656 "
22657 if testscip-shell system . . test. "x$ac_cv_header_netinet_in_h" = xyes
22658 then :
22659 printfscip-shell system . . printf. "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
22660
22661 fi
22662 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "netinet6/in6.h" "ac_cv_header_netinet6_in6_h" "
22663 #ifdef HAVE_SYS_TYPES_H
22664 #include <sys/types.h>
22665 #endif
22666 #ifdef HAVE_SYS_TIME_H
22667 #include <sys/time.h>
22668 #endif
22669 #ifdef HAVE_ARPA_NAMESER_H
22670 #include <arpa/nameser.h>
22671 #endif
22672
22673 #ifdef HAVE_SYS_SOCKET_H
22674 #include <sys/socket.h>
22675 #endif
22676 #ifdef HAVE_NETINET_IN_H
22677 #include <netinet/in.h>
22678 #endif
22679
22680
22681 "
22682 if testscip-shell system . . test. "x$ac_cv_header_netinet6_in6_h" = xyes
22683 then :
22684 printfscip-shell system . . printf. "%s\n" "#define HAVE_NETINET6_IN6_H 1" >>confdefs.h
22685
22686 fi
22687 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "
22688 #ifdef HAVE_SYS_TYPES_H
22689 #include <sys/types.h>
22690 #endif
22691 #ifdef HAVE_SYS_TIME_H
22692 #include <sys/time.h>
22693 #endif
22694 #ifdef HAVE_ARPA_NAMESER_H
22695 #include <arpa/nameser.h>
22696 #endif
22697
22698 #ifdef HAVE_SYS_SOCKET_H
22699 #include <sys/socket.h>
22700 #endif
22701 #ifdef HAVE_NETINET_IN_H
22702 #include <netinet/in.h>
22703 #endif
22704
22705
22706 "
22707 if testscip-shell system . . test. "x$ac_cv_header_netinet_tcp_h" = xyes
22708 then :
22709 printfscip-shell system . . printf. "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
22710
22711 fi
22712 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
22713 #ifdef HAVE_SYS_TYPES_H
22714 #include <sys/types.h>
22715 #endif
22716 #ifdef HAVE_SYS_TIME_H
22717 #include <sys/time.h>
22718 #endif
22719 #ifdef HAVE_ARPA_NAMESER_H
22720 #include <arpa/nameser.h>
22721 #endif
22722
22723 #ifdef HAVE_SYS_SOCKET_H
22724 #include <sys/socket.h>
22725 #endif
22726 #ifdef HAVE_NETINET_IN_H
22727 #include <netinet/in.h>
22728 #endif
22729
22730
22731 "
22732 if testscip-shell system . . test. "x$ac_cv_header_net_if_h" = xyes
22733 then :
22734 printfscip-shell system . . printf. "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
22735
22736 fi
22737 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "
22738 #ifdef HAVE_SYS_TYPES_H
22739 #include <sys/types.h>
22740 #endif
22741 #ifdef HAVE_SYS_TIME_H
22742 #include <sys/time.h>
22743 #endif
22744 #ifdef HAVE_ARPA_NAMESER_H
22745 #include <arpa/nameser.h>
22746 #endif
22747
22748 #ifdef HAVE_SYS_SOCKET_H
22749 #include <sys/socket.h>
22750 #endif
22751 #ifdef HAVE_NETINET_IN_H
22752 #include <netinet/in.h>
22753 #endif
22754
22755
22756 "
22757 if testscip-shell system . . test. "x$ac_cv_header_ifaddrs_h" = xyes
22758 then :
22759 printfscip-shell system . . printf. "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
22760
22761 fi
22762 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "
22763 #ifdef HAVE_SYS_TYPES_H
22764 #include <sys/types.h>
22765 #endif
22766 #ifdef HAVE_SYS_TIME_H
22767 #include <sys/time.h>
22768 #endif
22769 #ifdef HAVE_ARPA_NAMESER_H
22770 #include <arpa/nameser.h>
22771 #endif
22772
22773 #ifdef HAVE_SYS_SOCKET_H
22774 #include <sys/socket.h>
22775 #endif
22776 #ifdef HAVE_NETINET_IN_H
22777 #include <netinet/in.h>
22778 #endif
22779
22780
22781 "
22782 if testscip-shell system . . test. "x$ac_cv_header_fcntl_h" = xyes
22783 then :
22784 printfscip-shell system . . printf. "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
22785
22786 fi
22787 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "errno.h" "ac_cv_header_errno_h" "
22788 #ifdef HAVE_SYS_TYPES_H
22789 #include <sys/types.h>
22790 #endif
22791 #ifdef HAVE_SYS_TIME_H
22792 #include <sys/time.h>
22793 #endif
22794 #ifdef HAVE_ARPA_NAMESER_H
22795 #include <arpa/nameser.h>
22796 #endif
22797
22798 #ifdef HAVE_SYS_SOCKET_H
22799 #include <sys/socket.h>
22800 #endif
22801 #ifdef HAVE_NETINET_IN_H
22802 #include <netinet/in.h>
22803 #endif
22804
22805
22806 "
22807 if testscip-shell system . . test. "x$ac_cv_header_errno_h" = xyes
22808 then :
22809 printfscip-shell system . . printf. "%s\n" "#define HAVE_ERRNO_H 1" >>confdefs.h
22810
22811 fi
22812 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "socket.h" "ac_cv_header_socket_h" "
22813 #ifdef HAVE_SYS_TYPES_H
22814 #include <sys/types.h>
22815 #endif
22816 #ifdef HAVE_SYS_TIME_H
22817 #include <sys/time.h>
22818 #endif
22819 #ifdef HAVE_ARPA_NAMESER_H
22820 #include <arpa/nameser.h>
22821 #endif
22822
22823 #ifdef HAVE_SYS_SOCKET_H
22824 #include <sys/socket.h>
22825 #endif
22826 #ifdef HAVE_NETINET_IN_H
22827 #include <netinet/in.h>
22828 #endif
22829
22830
22831 "
22832 if testscip-shell system . . test. "x$ac_cv_header_socket_h" = xyes
22833 then :
22834 printfscip-shell system . . printf. "%s\n" "#define HAVE_SOCKET_H 1" >>confdefs.h
22835
22836 fi
22837 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "strings.h" "ac_cv_header_strings_h" "
22838 #ifdef HAVE_SYS_TYPES_H
22839 #include <sys/types.h>
22840 #endif
22841 #ifdef HAVE_SYS_TIME_H
22842 #include <sys/time.h>
22843 #endif
22844 #ifdef HAVE_ARPA_NAMESER_H
22845 #include <arpa/nameser.h>
22846 #endif
22847
22848 #ifdef HAVE_SYS_SOCKET_H
22849 #include <sys/socket.h>
22850 #endif
22851 #ifdef HAVE_NETINET_IN_H
22852 #include <netinet/in.h>
22853 #endif
22854
22855
22856 "
22857 if testscip-shell system . . test. "x$ac_cv_header_strings_h" = xyes
22858 then :
22859 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRINGS_H 1" >>confdefs.h
22860
22861 fi
22862 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "
22863 #ifdef HAVE_SYS_TYPES_H
22864 #include <sys/types.h>
22865 #endif
22866 #ifdef HAVE_SYS_TIME_H
22867 #include <sys/time.h>
22868 #endif
22869 #ifdef HAVE_ARPA_NAMESER_H
22870 #include <arpa/nameser.h>
22871 #endif
22872
22873 #ifdef HAVE_SYS_SOCKET_H
22874 #include <sys/socket.h>
22875 #endif
22876 #ifdef HAVE_NETINET_IN_H
22877 #include <netinet/in.h>
22878 #endif
22879
22880
22881 "
22882 if testscip-shell system . . test. "x$ac_cv_header_stdbool_h" = xyes
22883 then :
22884 printfscip-shell system . . printf. "%s\n" "#define HAVE_STDBOOL_H 1" >>confdefs.h
22885
22886 fi
22887 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "time.h" "ac_cv_header_time_h" "
22888 #ifdef HAVE_SYS_TYPES_H
22889 #include <sys/types.h>
22890 #endif
22891 #ifdef HAVE_SYS_TIME_H
22892 #include <sys/time.h>
22893 #endif
22894 #ifdef HAVE_ARPA_NAMESER_H
22895 #include <arpa/nameser.h>
22896 #endif
22897
22898 #ifdef HAVE_SYS_SOCKET_H
22899 #include <sys/socket.h>
22900 #endif
22901 #ifdef HAVE_NETINET_IN_H
22902 #include <netinet/in.h>
22903 #endif
22904
22905
22906 "
22907 if testscip-shell system . . test. "x$ac_cv_header_time_h" = xyes
22908 then :
22909 printfscip-shell system . . printf. "%s\n" "#define HAVE_TIME_H 1" >>confdefs.h
22910
22911 fi
22912 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "poll.h" "ac_cv_header_poll_h" "
22913 #ifdef HAVE_SYS_TYPES_H
22914 #include <sys/types.h>
22915 #endif
22916 #ifdef HAVE_SYS_TIME_H
22917 #include <sys/time.h>
22918 #endif
22919 #ifdef HAVE_ARPA_NAMESER_H
22920 #include <arpa/nameser.h>
22921 #endif
22922
22923 #ifdef HAVE_SYS_SOCKET_H
22924 #include <sys/socket.h>
22925 #endif
22926 #ifdef HAVE_NETINET_IN_H
22927 #include <netinet/in.h>
22928 #endif
22929
22930
22931 "
22932 if testscip-shell system . . test. "x$ac_cv_header_poll_h" = xyes
22933 then :
22934 printfscip-shell system . . printf. "%s\n" "#define HAVE_POLL_H 1" >>confdefs.h
22935
22936 fi
22937 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "limits.h" "ac_cv_header_limits_h" "
22938 #ifdef HAVE_SYS_TYPES_H
22939 #include <sys/types.h>
22940 #endif
22941 #ifdef HAVE_SYS_TIME_H
22942 #include <sys/time.h>
22943 #endif
22944 #ifdef HAVE_ARPA_NAMESER_H
22945 #include <arpa/nameser.h>
22946 #endif
22947
22948 #ifdef HAVE_SYS_SOCKET_H
22949 #include <sys/socket.h>
22950 #endif
22951 #ifdef HAVE_NETINET_IN_H
22952 #include <netinet/in.h>
22953 #endif
22954
22955
22956 "
22957 if testscip-shell system . . test. "x$ac_cv_header_limits_h" = xyes
22958 then :
22959 printfscip-shell system . . printf. "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
22960
22961 fi
22962 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "
22963 #ifdef HAVE_SYS_TYPES_H
22964 #include <sys/types.h>
22965 #endif
22966 #ifdef HAVE_SYS_TIME_H
22967 #include <sys/time.h>
22968 #endif
22969 #ifdef HAVE_ARPA_NAMESER_H
22970 #include <arpa/nameser.h>
22971 #endif
22972
22973 #ifdef HAVE_SYS_SOCKET_H
22974 #include <sys/socket.h>
22975 #endif
22976 #ifdef HAVE_NETINET_IN_H
22977 #include <netinet/in.h>
22978 #endif
22979
22980
22981 "
22982 if testscip-shell system . . test. "x$ac_cv_header_arpa_nameser_h" = xyes
22983 then :
22984 printfscip-shell system . . printf. "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
22985
22986 fi
22987 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "arpa/nameser_compat.h" "ac_cv_header_arpa_nameser_compat_h" "
22988 #ifdef HAVE_SYS_TYPES_H
22989 #include <sys/types.h>
22990 #endif
22991 #ifdef HAVE_SYS_TIME_H
22992 #include <sys/time.h>
22993 #endif
22994 #ifdef HAVE_ARPA_NAMESER_H
22995 #include <arpa/nameser.h>
22996 #endif
22997
22998 #ifdef HAVE_SYS_SOCKET_H
22999 #include <sys/socket.h>
23000 #endif
23001 #ifdef HAVE_NETINET_IN_H
23002 #include <netinet/in.h>
23003 #endif
23004
23005
23006 "
23007 if testscip-shell system . . test. "x$ac_cv_header_arpa_nameser_compat_h" = xyes
23008 then :
23009 printfscip-shell system . . printf. "%s\n" "#define HAVE_ARPA_NAMESER_COMPAT_H 1" >>confdefs.h
23010
23011 fi
23012 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "
23013 #ifdef HAVE_SYS_TYPES_H
23014 #include <sys/types.h>
23015 #endif
23016 #ifdef HAVE_SYS_TIME_H
23017 #include <sys/time.h>
23018 #endif
23019 #ifdef HAVE_ARPA_NAMESER_H
23020 #include <arpa/nameser.h>
23021 #endif
23022
23023 #ifdef HAVE_SYS_SOCKET_H
23024 #include <sys/socket.h>
23025 #endif
23026 #ifdef HAVE_NETINET_IN_H
23027 #include <netinet/in.h>
23028 #endif
23029
23030
23031 "
23032 if testscip-shell system . . test. "x$ac_cv_header_arpa_inet_h" = xyes
23033 then :
23034 printfscip-shell system . . printf. "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
23035
23036 fi
23037 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/system_properties.h" "ac_cv_header_sys_system_properties_h" "
23038 #ifdef HAVE_SYS_TYPES_H
23039 #include <sys/types.h>
23040 #endif
23041 #ifdef HAVE_SYS_TIME_H
23042 #include <sys/time.h>
23043 #endif
23044 #ifdef HAVE_ARPA_NAMESER_H
23045 #include <arpa/nameser.h>
23046 #endif
23047
23048 #ifdef HAVE_SYS_SOCKET_H
23049 #include <sys/socket.h>
23050 #endif
23051 #ifdef HAVE_NETINET_IN_H
23052 #include <netinet/in.h>
23053 #endif
23054
23055
23056 "
23057 if testscip-shell system . . test. "x$ac_cv_header_sys_system_properties_h" = xyes
23058 then :
23059 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_SYSTEM_PROPERTIES_H 1" >>confdefs.h
23060
23061 fi
23062
23063
23064
23065 cares_all_includes="
23066 #include <stdio.h>
23067 #include <stdlib.h>
23068 #ifdef HAVE_AVAILABILITYMACROS_H
23069 # include <AvailabilityMacros.h>
23070 #endif
23071 #ifdef HAVE_SYS_UIO_H
23072 # include <sys/uio.h>
23073 #endif
23074 #ifdef HAVE_NETINET_IN_H
23075 # include <netinet/in.h>
23076 #endif
23077 #ifdef HAVE_TCP_H
23078 # include <tcp.h>
23079 #endif
23080 #ifdef HAVE_SYS_FILIO_H
23081 # include <sys/filio.h>
23082 #endif
23083 #ifdef HAVE_SYS_IOCTL_H
23084 # include <sys/ioctl.h>
23085 #endif
23086 #ifdef HAVE_UNISTD_H
23087 # include <unistd.h>
23088 #endif
23089 #ifdef HAVE_STRING_H
23090 # include <string.h>
23091 #endif
23092 #ifdef HAVE_STRINGS_H
23093 # include <strings.h>
23094 #endif
23095 #ifdef HAVE_TIME_H
23096 # include <time.h>
23097 #endif
23098 #ifdef HAVE_SYS_TIME_H
23099 # include <sys/time.h>
23100 #endif
23101 #ifdef HAVE_SYS_TYPES_H
23102 # include <sys/types.h>
23103 #endif
23104 #ifdef HAVE_SYS_STAT_H
23105 # include <sys/stat.h>
23106 #endif
23107 #ifdef HAVE_SYS_RANDOM_H
23108 # include <sys/random.h>
23109 #endif
23110 #ifdef HAVE_SYS_EVENT_H
23111 # include <sys/event.h>
23112 #endif
23113 #ifdef HAVE_SYS_EPOLL_H
23114 # include <sys/epoll.h>
23115 #endif
23116 #ifdef HAVE_SYS_SOCKET_H
23117 # include <sys/socket.h>
23118 #endif
23119 #ifdef HAVE_SYS_PARAM_H
23120 # include <sys/param.h>
23121 #endif
23122 #ifdef HAVE_FCNTL_H
23123 # include <fcntl.h>
23124 #endif
23125 #ifdef HAVE_POLL_H
23126 # include <poll.h>
23127 #endif
23128 #ifdef HAVE_NET_IF_H
23129 # include <net/if.h>
23130 #endif
23131 #ifdef HAVE_IFADDRS_H
23132 # include <ifaddrs.h>
23133 #endif
23134 #ifdef HAVE_NETINET_IN_H
23135 # include <netinet/in.h>
23136 #endif
23137 #ifdef HAVE_NETINET_TCP_H
23138 # include <netinet/tcp.h>
23139 #endif
23140 #ifdef HAVE_NETDB_H
23141 # include <netdb.h>
23142 #endif
23143 #ifdef HAVE_ARPA_INET_H
23144 # include <arpa/inet.h>
23145 #endif
23146 #ifdef HAVE_RESOLV_H
23147 # include <resolv.h>
23148 #endif
23149 #ifdef HAVE_SYS_SYSTEM_PROPERTIES_H
23150 # include <sys/system_properties.h>
23151 #endif
23152 #ifdef HAVE_IPHLPAPI_H
23153 # include <iphlpapi.h>
23154 #endif
23155 #ifdef HAVE_NETIOAPI_H
23156 # include <netioapi.h>
23157 #endif
23158 #ifdef HAVE_WINSOCK2_H
23159 # include <winsock2.h>
23160 #endif
23161 #ifdef HAVE_WS2IPDEF_H
23162 # include <ws2ipdef.h>
23163 #endif
23164 #ifdef HAVE_WS2TCPIP_H
23165 # include <ws2tcpip.h>
23166 #endif
23167 #ifdef HAVE_WINDOWS_H
23168 # include <windows.h>
23169 #endif
23170 "
23171
23172 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
23173 printfscip-shell system . . printf. %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
23174 if testscip-shell system . . test. ${ac_cv_c_undeclared_builtin_options+y}
23175 then :
23176 printfscip-shell system . . printf. %s "(cached) " >&6
23177 else $as_nop
23178 ac_save_CFLAGS=$CFLAGS
23179 ac_cv_c_undeclared_builtin_options='cannot detect'
23180 for ac_arg in '' -fno-builtin; do
23181 CFLAGS="$ac_save_CFLAGS $ac_arg"
23182 # This test program should *not* compile successfully.
23183 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
23184 /* end confdefs.h. */
23185
23186 int
23187 main (void)
23188 {
23189 (void) strchr;
23190 ;
23191 return 0;
23192 }
23193 _ACEOF
23194 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
23195 then :
23196
23197 else $as_nop
23198 # This test program should compile successfully.
23199 # No library function is consistently available on
23200 # freestanding implementations, so test against a dummy
23201 # declaration. Include always-available headers on the
23202 # off chance that they somehow elicit warnings.
23203 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
23204 /* end confdefs.h. */
23205 #include <float.h>
23206 #include <limits.h>
23207 #include <stdarg.h>
23208 #include <stddef.h>
23209 extern void ac_decl (int, char *);
23210
23211 int
23212 main (void)
23213 {
23214 (void) ac_decl (0, (char *) 0);
23215 (void) ac_decl;
23216
23217 ;
23218 return 0;
23219 }
23220 _ACEOF
23221 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
23222 then :
23223 if testscip-shell system . . test. x"$ac_arg" = x
23224 then :
23225 ac_cv_c_undeclared_builtin_options='none needed'
23226 else $as_nop
23227 ac_cv_c_undeclared_builtin_options=$ac_arg
23228 fi
23229 break
23230 fi
23231 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23232 fi
23233 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23234 done
23235 CFLAGS=$ac_save_CFLAGS
23236
23237 fi
23238 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
23239 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
23240 case $ac_cv_c_undeclared_builtin_options in #(
23241 'cannot detect') :
23242 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23243 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
23244 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot make $CC report undeclared builtins
23245 See \`config.log' for more details" "$LINENO" 5; } ;; #(
23246 'none needed') :
23247 ac_c_undeclared_builtin_options='' ;; #(
23248 *) :
23249 ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
23250 esac
23251
23252 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "HAVE_ARPA_NAMESER_H" "ac_cv_have_decl_HAVE_ARPA_NAMESER_H" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
23253 if testscip-shell system . . test. "x$ac_cv_have_decl_HAVE_ARPA_NAMESER_H" = xyes
23254 then :
23255
23256 catscip-shell system . . cat. >>confdefs.h <<_EOF
23257 #define CARES_HAVE_ARPA_NAMESER_H 1
23258 _EOF
23259
23260 fi
23261 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "HAVE_ARPA_NAMESER_COMPAT_H" "ac_cv_have_decl_HAVE_ARPA_NAMESER_COMPAT_H" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
23262 if testscip-shell system . . test. "x$ac_cv_have_decl_HAVE_ARPA_NAMESER_COMPAT_H" = xyes
23263 then :
23264
23265 catscip-shell system . . cat. >>confdefs.h <<_EOF
23266 #define CARES_HAVE_ARPA_NAMESER_COMPAT_H 1
23267 _EOF
23268
23269 fi
23270 ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
23271 if testscip-shell system . . test. "x$ac_cv_type_long_long" = xyes
23272 then :
23273
23274 printfscip-shell system . . printf. "%s\n" "#define HAVE_LONGLONG 1" >>confdefs.h
23275
23276 fi
23277
23278 ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
23279 if testscip-shell system . . test. "x$ac_cv_type_ssize_t" = xyes
23280 then :
23281 CARES_TYPEOF_ARES_SSIZE_T=ssize_t
23282 else $as_nop
23283 CARES_TYPEOF_ARES_SSIZE_T=int
23284 fi
23285
23286
23287 printfscip-shell system . . printf. "%s\n" "#define CARES_TYPEOF_ARES_SSIZE_T ${CARES_TYPEOF_ARES_SSIZE_T}" >>confdefs.h
23288
23289
23290 ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "$cares_all_includes
23291
23292 "
23293 if testscip-shell system . . test. "x$ac_cv_type_socklen_t" = xyes
23294 then :
23295
23296
23297 printfscip-shell system . . printf. "%s\n" "#define HAVE_SOCKLEN_T /**/" >>confdefs.h
23298
23299
23300 catscip-shell system . . cat. >>confdefs.h <<_EOF
23301 #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
23302 _EOF
23303
23304
23305 else $as_nop
23306
23307 catscip-shell system . . cat. >>confdefs.h <<_EOF
23308 #define CARES_TYPEOF_ARES_SOCKLEN_T int
23309 _EOF
23310
23311 fi
23312
23313
23314 ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). "$LINENO" "SOCKET" "ac_cv_type_SOCKET" "$cares_all_includes
23315 "
23316 if testscip-shell system . . test. "x$ac_cv_type_SOCKET" = xyes
23317 then :
23318
23319 fi
23320
23321
23322
23323 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
23324 printfscip-shell system . . printf. %s "checking for library containing clock_gettime... " >&6; }
23325 if testscip-shell system . . test. ${ac_cv_search_clock_gettime+y}
23326 then :
23327 printfscip-shell system . . printf. %s "(cached) " >&6
23328 else $as_nop
23329 ac_func_search_save_LIBS=$LIBS
23330 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
23331 /* end confdefs.h. */
23332
23333 /* Override any GCC internal prototype to avoid an error.
23334 Use char because int might match the return type of a GCC
23335 builtin and then its argument prototype would still apply. */
23336 char clock_gettime ();
23337 int
23338 main (void)
23339 {
23340 return clock_gettime ();
23341 ;
23342 return 0;
23343 }
23344 _ACEOF
23345 for ac_lib in '' rt posix4
23346 do
23347 if testscip-shell system . . test. -z "$ac_lib"; then
23348 ac_res="none required"
23349 else
23350 ac_res=-l$ac_lib
23351 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23352 fi
23353 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
23354 then :
23355 ac_cv_search_clock_gettime=$ac_res
23356 fi
23357 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
23358 conftest$ac_exeext
23359 if testscip-shell system . . test. ${ac_cv_search_clock_gettime+y}
23360 then :
23361 break
23362 fi
23363 done
23364 if testscip-shell system . . test. ${ac_cv_search_clock_gettime+y}
23365 then :
23366
23367 else $as_nop
23368 ac_cv_search_clock_gettime=no
23369 fi
23370 rmscip-shell system . . rm. conftest.$ac_ext
23371 LIBS=$ac_func_search_save_LIBS
23372 fi
23373 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
23374 printfscip-shell system . . printf. "%s\n" "$ac_cv_search_clock_gettime" >&6; }
23375 ac_res=$ac_cv_search_clock_gettime
23376 if testscip-shell system . . test. "$ac_res" != no
23377 then :
23378 testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23379
23380 fi
23381
23382
23383
23384 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$cares_all_includes
23385 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23386 if testscip-shell system . . test. "x$ac_cv_have_decl_strnlen" = xyes
23387 then :
23388
23389 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRNLEN 1" >>confdefs.h
23390
23391 fi
23392 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$cares_all_includes
23393 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23394 if testscip-shell system . . test. "x$ac_cv_have_decl_memmem" = xyes
23395 then :
23396
23397 printfscip-shell system . . printf. "%s\n" "#define HAVE_MEMMEM 1" >>confdefs.h
23398
23399 fi
23400 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "recv" "ac_cv_have_decl_recv" "$cares_all_includes
23401 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23402 if testscip-shell system . . test. "x$ac_cv_have_decl_recv" = xyes
23403 then :
23404
23405 printfscip-shell system . . printf. "%s\n" "#define HAVE_RECV 1" >>confdefs.h
23406
23407 fi
23408 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "recvfrom" "ac_cv_have_decl_recvfrom" "$cares_all_includes
23409 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23410 if testscip-shell system . . test. "x$ac_cv_have_decl_recvfrom" = xyes
23411 then :
23412
23413 printfscip-shell system . . printf. "%s\n" "#define HAVE_RECVFROM 1" >>confdefs.h
23414
23415 fi
23416 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "send" "ac_cv_have_decl_send" "$cares_all_includes
23417 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23418 if testscip-shell system . . test. "x$ac_cv_have_decl_send" = xyes
23419 then :
23420
23421 printfscip-shell system . . printf. "%s\n" "#define HAVE_SEND 1" >>confdefs.h
23422
23423 fi
23424 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "sendto" "ac_cv_have_decl_sendto" "$cares_all_includes
23425 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23426 if testscip-shell system . . test. "x$ac_cv_have_decl_sendto" = xyes
23427 then :
23428
23429 printfscip-shell system . . printf. "%s\n" "#define HAVE_SENDTO 1" >>confdefs.h
23430
23431 fi
23432 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "getnameinfo" "ac_cv_have_decl_getnameinfo" "$cares_all_includes
23433 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23434 if testscip-shell system . . test. "x$ac_cv_have_decl_getnameinfo" = xyes
23435 then :
23436
23437 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETNAMEINFO 1" >>confdefs.h
23438
23439 fi
23440 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "gethostname" "ac_cv_have_decl_gethostname" "$cares_all_includes
23441 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23442 if testscip-shell system . . test. "x$ac_cv_have_decl_gethostname" = xyes
23443 then :
23444
23445 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETHOSTNAME 1" >>confdefs.h
23446
23447 fi
23448 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "connect" "ac_cv_have_decl_connect" "$cares_all_includes
23449 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23450 if testscip-shell system . . test. "x$ac_cv_have_decl_connect" = xyes
23451 then :
23452
23453 printfscip-shell system . . printf. "%s\n" "#define HAVE_CONNECT 1" >>confdefs.h
23454
23455 fi
23456 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "connectx" "ac_cv_have_decl_connectx" "$cares_all_includes
23457 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23458 if testscip-shell system . . test. "x$ac_cv_have_decl_connectx" = xyes
23459 then :
23460
23461 printfscip-shell system . . printf. "%s\n" "#define HAVE_CONNECTX 1" >>confdefs.h
23462
23463 fi
23464 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "closesocket" "ac_cv_have_decl_closesocket" "$cares_all_includes
23465 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23466 if testscip-shell system . . test. "x$ac_cv_have_decl_closesocket" = xyes
23467 then :
23468
23469 printfscip-shell system . . printf. "%s\n" "#define HAVE_CLOSESOCKET 1" >>confdefs.h
23470
23471 fi
23472 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "CloseSocket" "ac_cv_have_decl_CloseSocket" "$cares_all_includes
23473 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23474 if testscip-shell system . . test. "x$ac_cv_have_decl_CloseSocket" = xyes
23475 then :
23476
23477 printfscip-shell system . . printf. "%s\n" "#define HAVE_CLOSESOCKET_CAMEL 1" >>confdefs.h
23478
23479 fi
23480 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "fcntl" "ac_cv_have_decl_fcntl" "$cares_all_includes
23481 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23482 if testscip-shell system . . test. "x$ac_cv_have_decl_fcntl" = xyes
23483 then :
23484
23485 printfscip-shell system . . printf. "%s\n" "#define HAVE_FCNTL 1" >>confdefs.h
23486
23487 fi
23488 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$cares_all_includes
23489 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23490 if testscip-shell system . . test. "x$ac_cv_have_decl_getenv" = xyes
23491 then :
23492
23493 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETENV 1" >>confdefs.h
23494
23495 fi
23496 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "gethostname" "ac_cv_have_decl_gethostname" "$cares_all_includes
23497 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23498 if testscip-shell system . . test. "x$ac_cv_have_decl_gethostname" = xyes
23499 then :
23500
23501 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETHOSTNAME 1" >>confdefs.h
23502
23503 fi
23504 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "getrandom" "ac_cv_have_decl_getrandom" "$cares_all_includes
23505 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23506 if testscip-shell system . . test. "x$ac_cv_have_decl_getrandom" = xyes
23507 then :
23508
23509 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
23510
23511 fi
23512 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "getservbyport_r" "ac_cv_have_decl_getservbyport_r" "$cares_all_includes
23513 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23514 if testscip-shell system . . test. "x$ac_cv_have_decl_getservbyport_r" = xyes
23515 then :
23516
23517 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETSERVBYPORT_R 1" >>confdefs.h
23518
23519 fi
23520 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "inet_net_pton" "ac_cv_have_decl_inet_net_pton" "$cares_all_includes
23521 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23522 if testscip-shell system . . test. "x$ac_cv_have_decl_inet_net_pton" = xyes
23523 then :
23524
23525 printfscip-shell system . . printf. "%s\n" "#define HAVE_INET_NET_PTON 1" >>confdefs.h
23526
23527 fi
23528 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "$cares_all_includes
23529 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23530 if testscip-shell system . . test. "x$ac_cv_have_decl_inet_ntop" = xyes
23531 then :
23532
23533 printfscip-shell system . . printf. "%s\n" "#define HAVE_INET_NTOP 1" >>confdefs.h
23534
23535 fi
23536 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "inet_pton" "ac_cv_have_decl_inet_pton" "$cares_all_includes
23537 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23538 if testscip-shell system . . test. "x$ac_cv_have_decl_inet_pton" = xyes
23539 then :
23540
23541 printfscip-shell system . . printf. "%s\n" "#define HAVE_INET_PTON 1" >>confdefs.h
23542
23543 fi
23544 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "ioctl" "ac_cv_have_decl_ioctl" "$cares_all_includes
23545 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23546 if testscip-shell system . . test. "x$ac_cv_have_decl_ioctl" = xyes
23547 then :
23548
23549 printfscip-shell system . . printf. "%s\n" "#define HAVE_IOCTL 1" >>confdefs.h
23550
23551 fi
23552 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "ioctlsocket" "ac_cv_have_decl_ioctlsocket" "$cares_all_includes
23553 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23554 if testscip-shell system . . test. "x$ac_cv_have_decl_ioctlsocket" = xyes
23555 then :
23556
23557 printfscip-shell system . . printf. "%s\n" "#define HAVE_IOCTLSOCKET 1" >>confdefs.h
23558
23559 fi
23560 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "IoctlSocket" "ac_cv_have_decl_IoctlSocket" "$cares_all_includes
23561 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23562 if testscip-shell system . . test. "x$ac_cv_have_decl_IoctlSocket" = xyes
23563 then :
23564
23565 printfscip-shell system . . printf. "%s\n" "#define HAVE_IOCTLSOCKET_CAMEL 1" >>confdefs.h
23566
23567 fi
23568 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "setsockopt" "ac_cv_have_decl_setsockopt" "$cares_all_includes
23569 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23570 if testscip-shell system . . test. "x$ac_cv_have_decl_setsockopt" = xyes
23571 then :
23572
23573 printfscip-shell system . . printf. "%s\n" "#define HAVE_SETSOCKOPT 1" >>confdefs.h
23574
23575 fi
23576 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "socket" "ac_cv_have_decl_socket" "$cares_all_includes
23577 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23578 if testscip-shell system . . test. "x$ac_cv_have_decl_socket" = xyes
23579 then :
23580
23581 printfscip-shell system . . printf. "%s\n" "#define HAVE_SOCKET 1" >>confdefs.h
23582
23583 fi
23584 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "strcasecmp" "ac_cv_have_decl_strcasecmp" "$cares_all_includes
23585 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23586 if testscip-shell system . . test. "x$ac_cv_have_decl_strcasecmp" = xyes
23587 then :
23588
23589 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
23590
23591 fi
23592 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$cares_all_includes
23593 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23594 if testscip-shell system . . test. "x$ac_cv_have_decl_strdup" = xyes
23595 then :
23596
23597 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h
23598
23599 fi
23600 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "stricmp" "ac_cv_have_decl_stricmp" "$cares_all_includes
23601 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23602 if testscip-shell system . . test. "x$ac_cv_have_decl_stricmp" = xyes
23603 then :
23604
23605 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRICMP 1" >>confdefs.h
23606
23607 fi
23608 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" "$cares_all_includes
23609 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23610 if testscip-shell system . . test. "x$ac_cv_have_decl_strncasecmp" = xyes
23611 then :
23612
23613 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRNCASECMP 1" >>confdefs.h
23614
23615 fi
23616 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "strncmpi" "ac_cv_have_decl_strncmpi" "$cares_all_includes
23617 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23618 if testscip-shell system . . test. "x$ac_cv_have_decl_strncmpi" = xyes
23619 then :
23620
23621 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRNCMPI 1" >>confdefs.h
23622
23623 fi
23624 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "strnicmp" "ac_cv_have_decl_strnicmp" "$cares_all_includes
23625 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23626 if testscip-shell system . . test. "x$ac_cv_have_decl_strnicmp" = xyes
23627 then :
23628
23629 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRNICMP 1" >>confdefs.h
23630
23631 fi
23632 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "writev" "ac_cv_have_decl_writev" "$cares_all_includes
23633 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23634 if testscip-shell system . . test. "x$ac_cv_have_decl_writev" = xyes
23635 then :
23636
23637 printfscip-shell system . . printf. "%s\n" "#define HAVE_WRITEV 1" >>confdefs.h
23638
23639 fi
23640 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "arc4random_buf" "ac_cv_have_decl_arc4random_buf" "$cares_all_includes
23641 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23642 if testscip-shell system . . test. "x$ac_cv_have_decl_arc4random_buf" = xyes
23643 then :
23644
23645 printfscip-shell system . . printf. "%s\n" "#define HAVE_ARC4RANDOM_BUF 1" >>confdefs.h
23646
23647 fi
23648 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "stat" "ac_cv_have_decl_stat" "$cares_all_includes
23649 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23650 if testscip-shell system . . test. "x$ac_cv_have_decl_stat" = xyes
23651 then :
23652
23653 printfscip-shell system . . printf. "%s\n" "#define HAVE_STAT 1" >>confdefs.h
23654
23655 fi
23656 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "gettimeofday" "ac_cv_have_decl_gettimeofday" "$cares_all_includes
23657 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23658 if testscip-shell system . . test. "x$ac_cv_have_decl_gettimeofday" = xyes
23659 then :
23660
23661 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
23662
23663 fi
23664 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "clock_gettime" "ac_cv_have_decl_clock_gettime" "$cares_all_includes
23665 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23666 if testscip-shell system . . test. "x$ac_cv_have_decl_clock_gettime" = xyes
23667 then :
23668
23669 printfscip-shell system . . printf. "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
23670
23671 fi
23672 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "if_indextoname" "ac_cv_have_decl_if_indextoname" "$cares_all_includes
23673 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23674 if testscip-shell system . . test. "x$ac_cv_have_decl_if_indextoname" = xyes
23675 then :
23676
23677 printfscip-shell system . . printf. "%s\n" "#define HAVE_IF_INDEXTONAME 1" >>confdefs.h
23678
23679 fi
23680 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "if_nametoindex" "ac_cv_have_decl_if_nametoindex" "$cares_all_includes
23681 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23682 if testscip-shell system . . test. "x$ac_cv_have_decl_if_nametoindex" = xyes
23683 then :
23684
23685 printfscip-shell system . . printf. "%s\n" "#define HAVE_IF_NAMETOINDEX 1" >>confdefs.h
23686
23687 fi
23688 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "getifaddrs" "ac_cv_have_decl_getifaddrs" "$cares_all_includes
23689 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23690 if testscip-shell system . . test. "x$ac_cv_have_decl_getifaddrs" = xyes
23691 then :
23692
23693 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
23694
23695 fi
23696 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "poll" "ac_cv_have_decl_poll" "$cares_all_includes
23697 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23698 if testscip-shell system . . test. "x$ac_cv_have_decl_poll" = xyes
23699 then :
23700
23701 printfscip-shell system . . printf. "%s\n" "#define HAVE_POLL 1" >>confdefs.h
23702
23703 fi
23704 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "pipe" "ac_cv_have_decl_pipe" "$cares_all_includes
23705 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23706 if testscip-shell system . . test. "x$ac_cv_have_decl_pipe" = xyes
23707 then :
23708
23709 printfscip-shell system . . printf. "%s\n" "#define HAVE_PIPE 1" >>confdefs.h
23710
23711 fi
23712 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "pipe2" "ac_cv_have_decl_pipe2" "$cares_all_includes
23713 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23714 if testscip-shell system . . test. "x$ac_cv_have_decl_pipe2" = xyes
23715 then :
23716
23717 printfscip-shell system . . printf. "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
23718
23719 fi
23720 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "kqueue" "ac_cv_have_decl_kqueue" "$cares_all_includes
23721 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23722 if testscip-shell system . . test. "x$ac_cv_have_decl_kqueue" = xyes
23723 then :
23724
23725 printfscip-shell system . . printf. "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
23726
23727 fi
23728 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "epoll_create1" "ac_cv_have_decl_epoll_create1" "$cares_all_includes
23729 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23730 if testscip-shell system . . test. "x$ac_cv_have_decl_epoll_create1" = xyes
23731 then :
23732
23733 printfscip-shell system . . printf. "%s\n" "#define HAVE_EPOLL 1" >>confdefs.h
23734
23735 fi
23736 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "GetBestRoute2" "ac_cv_have_decl_GetBestRoute2" "$cares_all_includes
23737 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23738 if testscip-shell system . . test. "x$ac_cv_have_decl_GetBestRoute2" = xyes
23739 then :
23740
23741 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETBESTROUTE2 1" >>confdefs.h
23742
23743 fi
23744 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "ConvertInterfaceIndexToLuid" "ac_cv_have_decl_ConvertInterfaceIndexToLuid" "$cares_all_includes
23745 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23746 if testscip-shell system . . test. "x$ac_cv_have_decl_ConvertInterfaceIndexToLuid" = xyes
23747 then :
23748
23749 printfscip-shell system . . printf. "%s\n" "#define HAVE_CONVERTINTERFACEINDEXTOLUID 1" >>confdefs.h
23750
23751 fi
23752 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "ConvertInterfaceLuidToNameA" "ac_cv_have_decl_ConvertInterfaceLuidToNameA" "$cares_all_includes
23753 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23754 if testscip-shell system . . test. "x$ac_cv_have_decl_ConvertInterfaceLuidToNameA" = xyes
23755 then :
23756
23757 printfscip-shell system . . printf. "%s\n" "#define HAVE_CONVERTINTERFACELUIDTONAMEA 1" >>confdefs.h
23758
23759 fi
23760 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "NotifyIpInterfaceChange" "ac_cv_have_decl_NotifyIpInterfaceChange" "$cares_all_includes
23761 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23762 if testscip-shell system . . test. "x$ac_cv_have_decl_NotifyIpInterfaceChange" = xyes
23763 then :
23764
23765 printfscip-shell system . . printf. "%s\n" "#define HAVE_NOTIFYIPINTERFACECHANGE 1" >>confdefs.h
23766
23767 fi
23768 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "RegisterWaitForSingleObject" "ac_cv_have_decl_RegisterWaitForSingleObject" "$cares_all_includes
23769 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23770 if testscip-shell system . . test. "x$ac_cv_have_decl_RegisterWaitForSingleObject" = xyes
23771 then :
23772
23773 printfscip-shell system . . printf. "%s\n" "#define HAVE_REGISTERWAITFORSINGLEOBJECT 1" >>confdefs.h
23774
23775 fi
23776 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "__system_property_get" "ac_cv_have_decl___system_property_get" "$cares_all_includes
23777 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23778 if testscip-shell system . . test. "x$ac_cv_have_decl___system_property_get" = xyes
23779 then :
23780
23781 printfscip-shell system . . printf. "%s\n" "#define HAVE___SYSTEM_PROPERTY_GET 1" >>confdefs.h
23782
23783 fi
23784
23785
23786
23787 if testscip-shell system . . test. "x$ac_cv_type_ssize_t" = "xyes" -a "x$ac_cv_type_socklen_t" = "xyes" -a "x$ac_cv_native_windows" != "xyes" ; then
23788 recvfrom_type_retv="ssize_t"
23789 recvfrom_type_arg3="size_t"
23790 else
23791 recvfrom_type_retv="int"
23792 recvfrom_type_arg3="int"
23793 fi
23794
23795 if testscip-shell system . . test. "x$ac_cv_type_SOCKET" = "xyes" ; then
23796 recvfrom_type_arg1="SOCKET"
23797 else
23798 recvfrom_type_arg1="int"
23799 fi
23800
23801 if testscip-shell system . . test. "x$ac_cv_type_socklen_t" = "xyes" ; then
23802 recvfrom_type_arg6="socklen_t *"
23803 getnameinfo_type_arg2="socklen_t"
23804 getnameinfo_type_arg46="socklen_t"
23805 else
23806 recvfrom_type_arg6="int *"
23807 getnameinfo_type_arg2="int"
23808 getnameinfo_type_arg46="int"
23809 fi
23810
23811 if testscip-shell system . . test. "x$ac_cv_native_windows" = "xyes" ; then
23812 recv_type_arg2="char *"
23813 else
23814 recv_type_arg2="void *"
23815 fi
23816
23817 recv_type_retv=${recvfrom_type_retv}
23818 send_type_retv=${recvfrom_type_retv}
23819 recv_type_arg1=${recvfrom_type_arg1}
23820 recvfrom_type_arg2=${recv_type_arg2}
23821 send_type_arg1=${recvfrom_type_arg1}
23822 recv_type_arg3=${recvfrom_type_arg3}
23823 send_type_arg3=${recvfrom_type_arg3}
23824 gethostname_type_arg2=${recvfrom_type_arg3}
23825
23826 recvfrom_qual_arg5=
23827 recvfrom_type_arg4=int
23828 recvfrom_type_arg5="struct sockaddr *"
23829 recv_type_arg4=int
23830 getnameinfo_type_arg1="struct sockaddr *"
23831 getnameinfo_type_arg7=int
23832 send_type_arg2="const void *"
23833 send_type_arg4=int
23834
23835
23836 printfscip-shell system . . printf. "%s\n" "#define RECVFROM_TYPE_RETV ${recvfrom_type_retv} " >>confdefs.h
23837
23838
23839 printfscip-shell system . . printf. "%s\n" "#define RECVFROM_TYPE_ARG1 ${recvfrom_type_arg1} " >>confdefs.h
23840
23841
23842 printfscip-shell system . . printf. "%s\n" "#define RECVFROM_TYPE_ARG2 ${recvfrom_type_arg2} " >>confdefs.h
23843
23844
23845 printfscip-shell system . . printf. "%s\n" "#define RECVFROM_TYPE_ARG3 ${recvfrom_type_arg3} " >>confdefs.h
23846
23847
23848 printfscip-shell system . . printf. "%s\n" "#define RECVFROM_TYPE_ARG4 ${recvfrom_type_arg4} " >>confdefs.h
23849
23850
23851 printfscip-shell system . . printf. "%s\n" "#define RECVFROM_TYPE_ARG5 ${recvfrom_type_arg5} " >>confdefs.h
23852
23853
23854 printfscip-shell system . . printf. "%s\n" "#define RECVFROM_QUAL_ARG5 ${recvfrom_qual_arg5}" >>confdefs.h
23855
23856
23857
23858 printfscip-shell system . . printf. "%s\n" "#define RECV_TYPE_RETV ${recv_type_retv} " >>confdefs.h
23859
23860
23861 printfscip-shell system . . printf. "%s\n" "#define RECV_TYPE_ARG1 ${recv_type_arg1} " >>confdefs.h
23862
23863
23864 printfscip-shell system . . printf. "%s\n" "#define RECV_TYPE_ARG2 ${recv_type_arg2} " >>confdefs.h
23865
23866
23867 printfscip-shell system . . printf. "%s\n" "#define RECV_TYPE_ARG3 ${recv_type_arg3} " >>confdefs.h
23868
23869
23870 printfscip-shell system . . printf. "%s\n" "#define RECV_TYPE_ARG4 ${recv_type_arg4} " >>confdefs.h
23871
23872
23873
23874 printfscip-shell system . . printf. "%s\n" "#define SEND_TYPE_RETV ${send_type_retv} " >>confdefs.h
23875
23876
23877 printfscip-shell system . . printf. "%s\n" "#define SEND_TYPE_ARG1 ${send_type_arg1} " >>confdefs.h
23878
23879
23880 printfscip-shell system . . printf. "%s\n" "#define SEND_TYPE_ARG2 ${send_type_arg2} " >>confdefs.h
23881
23882
23883 printfscip-shell system . . printf. "%s\n" "#define SEND_TYPE_ARG3 ${send_type_arg3} " >>confdefs.h
23884
23885
23886 printfscip-shell system . . printf. "%s\n" "#define SEND_TYPE_ARG4 ${send_type_arg4} " >>confdefs.h
23887
23888
23889
23890 printfscip-shell system . . printf. "%s\n" "#define GETNAMEINFO_TYPE_ARG1 ${getnameinfo_type_arg1} " >>confdefs.h
23891
23892
23893 printfscip-shell system . . printf. "%s\n" "#define GETNAMEINFO_TYPE_ARG2 ${getnameinfo_type_arg2} " >>confdefs.h
23894
23895
23896 printfscip-shell system . . printf. "%s\n" "#define GETNAMEINFO_TYPE_ARG7 ${getnameinfo_type_arg7} " >>confdefs.h
23897
23898
23899 printfscip-shell system . . printf. "%s\n" "#define GETNAMEINFO_TYPE_ARG46 ${getnameinfo_type_arg46} " >>confdefs.h
23900
23901
23902
23903 printfscip-shell system . . printf. "%s\n" "#define GETHOSTNAME_TYPE_ARG2 ${gethostname_type_arg2} " >>confdefs.h
23904
23905
23906
23907 if testscip-shell system . . test. "$ac_cv_have_decl_getservbyport_r" = "yes" ; then
23908 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking number of arguments for getservbyport_r()" >&5
23909 printfscip-shell system . . printf. %s "checking number of arguments for getservbyport_r()... " >&6; }
23910 getservbyport_r_args=6
23911 case $host_os in
23912 solaris*)
23913 getservbyport_r_args=5
23914 ;;
23915 aix*|openbsd*)
23916 getservbyport_r_args=4
23917 ;;
23918 esac
23919 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $getservbyport_r_args" >&5
23920 printfscip-shell system . . printf. "%s\n" "$getservbyport_r_args" >&6; }
23921
23922 printfscip-shell system . . printf. "%s\n" "#define GETSERVBYPORT_R_ARGS $getservbyport_r_args " >>confdefs.h
23923
23924 fi
23925
23926 if testscip-shell system . . test. "$ac_cv_have_decl_getservbyname_r" = "yes" ; then
23927 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking number of arguments for getservbyname_r()" >&5
23928 printfscip-shell system . . printf. %s "checking number of arguments for getservbyname_r()... " >&6; }
23929 getservbyname_r_args=6
23930 case $host_os in
23931 solaris*)
23932 getservbyname_r_args=5
23933 ;;
23934 aix*|openbsd*)
23935 getservbyname_r_args=4
23936 ;;
23937 esac
23938
23939 printfscip-shell system . . printf. "%s\n" "#define GETSERVBYNAME_R_ARGS $getservbyname_r_args " >>confdefs.h
23940
23941 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $getservbyname_r_args" >&5
23942 printfscip-shell system . . printf. "%s\n" "$getservbyname_r_args" >&6; }
23943 fi
23944
23945 ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
23946 if testscip-shell system . . test. "x$ac_cv_type_size_t" = xyes
23947 then :
23948
23949 else $as_nop
23950
23951 printfscip-shell system . . printf. "%s\n" "#define size_t unsigned int" >>confdefs.h
23952
23953 fi
23954
23955 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "AF_INET6" "ac_cv_have_decl_AF_INET6" "$cares_all_includes
23956 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23957 if testscip-shell system . . test. "x$ac_cv_have_decl_AF_INET6" = xyes
23958 then :
23959
23960 printfscip-shell system . . printf. "%s\n" "#define HAVE_AF_INET6 1" >>confdefs.h
23961
23962 fi
23963 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "PF_INET6" "ac_cv_have_decl_PF_INET6" "$cares_all_includes
23964 " "$ac_c_undeclared_builtin_options" "CFLAGS"
23965 if testscip-shell system . . test. "x$ac_cv_have_decl_PF_INET6" = xyes
23966 then :
23967
23968 printfscip-shell system . . printf. "%s\n" "#define HAVE_PF_INET6 1" >>confdefs.h
23969
23970 fi
23971 ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). "$LINENO" "struct in6_addr" "ac_cv_type_struct_in6_addr" "$cares_all_includes
23972 "
23973 if testscip-shell system . . test. "x$ac_cv_type_struct_in6_addr" = xyes
23974 then :
23975
23976 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRUCT_IN6_ADDR 1" >>confdefs.h
23977
23978
23979 fi
23980
23981 ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$cares_all_includes
23982 "
23983 if testscip-shell system . . test. "x$ac_cv_type_struct_sockaddr_in6" = xyes
23984 then :
23985
23986 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6 1" >>confdefs.h
23987
23988
23989 fi
23990
23991 ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "$cares_all_includes
23992 "
23993 if testscip-shell system . . test. "x$ac_cv_type_struct_sockaddr_storage" = xyes
23994 then :
23995
23996 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h
23997
23998
23999 fi
24000
24001 ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "$cares_all_includes
24002 "
24003 if testscip-shell system . . test. "x$ac_cv_type_struct_addrinfo" = xyes
24004 then :
24005
24006 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRUCT_ADDRINFO 1" >>confdefs.h
24007
24008
24009 fi
24010
24011 ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). "$LINENO" "struct timeval" "ac_cv_type_struct_timeval" "$cares_all_includes
24012 "
24013 if testscip-shell system . . test. "x$ac_cv_type_struct_timeval" = xyes
24014 then :
24015
24016 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRUCT_TIMEVAL 1" >>confdefs.h
24017
24018
24019 fi
24020
24021 ac_fn_c_check_memberscip-shell shell shell-project 0.0.0 ac_fn_c_check_member(). "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "$cares_all_includes
24022 "
24023 if testscip-shell system . . test. "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
24024 then :
24025
24026 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
24027
24028
24029 fi
24030
24031 ac_fn_c_check_memberscip-shell shell shell-project 0.0.0 ac_fn_c_check_member(). "$LINENO" "struct addrinfo" "ai_flags" "ac_cv_member_struct_addrinfo_ai_flags" "$cares_all_includes
24032 "
24033 if testscip-shell system . . test. "x$ac_cv_member_struct_addrinfo_ai_flags" = xyes
24034 then :
24035
24036 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRUCT_ADDRINFO_AI_FLAGS 1" >>confdefs.h
24037
24038
24039 fi
24040
24041 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "FIONBIO" "ac_cv_have_decl_FIONBIO" "$cares_all_includes
24042 " "$ac_c_undeclared_builtin_options" "CFLAGS"
24043 if testscip-shell system . . test. "x$ac_cv_have_decl_FIONBIO" = xyes
24044 then :
24045
24046 fi
24047 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "$cares_all_includes
24048 " "$ac_c_undeclared_builtin_options" "CFLAGS"
24049 if testscip-shell system . . test. "x$ac_cv_have_decl_O_NONBLOCK" = xyes
24050 then :
24051
24052 fi
24053 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "SO_NONBLOCK" "ac_cv_have_decl_SO_NONBLOCK" "$cares_all_includes
24054 " "$ac_c_undeclared_builtin_options" "CFLAGS"
24055 if testscip-shell system . . test. "x$ac_cv_have_decl_SO_NONBLOCK" = xyes
24056 then :
24057
24058 fi
24059 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "MSG_NOSIGNAL" "ac_cv_have_decl_MSG_NOSIGNAL" "$cares_all_includes
24060 " "$ac_c_undeclared_builtin_options" "CFLAGS"
24061 if testscip-shell system . . test. "x$ac_cv_have_decl_MSG_NOSIGNAL" = xyes
24062 then :
24063
24064 fi
24065 ac_fn_check_declscip-shell shell shell-project 0.0.0 ac_fn_check_decl(). "$LINENO" "CLOCK_MONOTONIC" "ac_cv_have_decl_CLOCK_MONOTONIC" "$cares_all_includes
24066 " "$ac_c_undeclared_builtin_options" "CFLAGS"
24067 if testscip-shell system . . test. "x$ac_cv_have_decl_CLOCK_MONOTONIC" = xyes
24068 then :
24069
24070 fi
24071
24072 if testscip-shell system . . test. "$ac_cv_have_decl_CLOCK_MONOTONIC" = "yes" -a "$ac_cv_have_decl_clock_gettime" = "yes" ; then
24073
24074 printfscip-shell system . . printf. "%s\n" "#define HAVE_CLOCK_GETTIME_MONOTONIC 1 " >>confdefs.h
24075
24076 fi
24077
24078 if testscip-shell system . . test. "$ac_cv_have_decl_FIONBIO" = "yes" -a "$ac_cv_have_decl_ioctl" = "yes" ; then
24079
24080 printfscip-shell system . . printf. "%s\n" "#define HAVE_IOCTL_FIONBIO 1 " >>confdefs.h
24081
24082 fi
24083 if testscip-shell system . . test. "$ac_cv_have_decl_FIONBIO" = "yes" -a "$ac_cv_have_decl_ioctlsocket" = "yes" ; then
24084
24085 printfscip-shell system . . printf. "%s\n" "#define HAVE_IOCTLSOCKET_FIONBIO 1 " >>confdefs.h
24086
24087 fi
24088 if testscip-shell system . . test. "$ac_cv_have_decl_SO_NONBLOCK" = "yes" -a "$ac_cv_have_decl_setsockopt" = "yes" ; then
24089
24090 printfscip-shell system . . printf. "%s\n" "#define HAVE_SETSOCKOPT_SO_NONBLOCK 1 " >>confdefs.h
24091
24092 fi
24093 if testscip-shell system . . test. "$ac_cv_have_decl_O_NONBLOCK" = "yes" -a "$ac_cv_have_decl_fcntl" = "yes" ; then
24094
24095 printfscip-shell system . . printf. "%s\n" "#define HAVE_FCNTL_O_NONBLOCK 1 " >>confdefs.h
24096
24097 fi
24098
24099 if testscip-shell system . . test. "x$ac_cv_header_sys_types_h" = "xyes" ; then
24100
24101 catscip-shell system . . cat. >>confdefs.h <<_EOF
24102 #define CARES_HAVE_SYS_TYPES_H 1
24103 _EOF
24104
24105 fi
24106 if testscip-shell system . . test. "x$ac_cv_header_sys_socket_h" = "xyes" ; then
24107
24108 catscip-shell system . . cat. >>confdefs.h <<_EOF
24109 #define CARES_HAVE_SYS_SOCKET_H 1
24110 _EOF
24111
24112 fi
24113 if testscip-shell system . . test. "x$ac_cv_header_sys_select_h" = "xyes" ; then
24114
24115 catscip-shell system . . cat. >>confdefs.h <<_EOF
24116 #define CARES_HAVE_SYS_SELECT_H 1
24117 _EOF
24118
24119 fi
24120 if testscip-shell system . . test. "x$ac_cv_header_ws2tcpip_h" = "xyes" ; then
24121
24122 catscip-shell system . . cat. >>confdefs.h <<_EOF
24123 #define CARES_HAVE_WS2TCPIP_H 1
24124 _EOF
24125
24126 fi
24127 if testscip-shell system . . test. "x$ac_cv_header_winsock2_h" = "xyes" ; then
24128
24129 catscip-shell system . . cat. >>confdefs.h <<_EOF
24130 #define CARES_HAVE_WINSOCK2_H 1
24131 _EOF
24132
24133 fi
24134 if testscip-shell system . . test. "x$ac_cv_header_windows_h" = "xyes" ; then
24135
24136 catscip-shell system . . cat. >>confdefs.h <<_EOF
24137 #define CARES_HAVE_WINDOWS_H 1
24138 _EOF
24139
24140 fi
24141 if testscip-shell system . . test. "x$ac_cv_header_arpa_nameser_h" = "xyes" ; then
24142
24143 catscip-shell system . . cat. >>confdefs.h <<_EOF
24144 #define CARES_HAVE_ARPA_NAMESER_H 1
24145 _EOF
24146
24147 fi
24148 if testscip-shell system . . test. "x$ac_cv_header_arpa_nameser_compa_h" = "xyes" ; then
24149
24150 catscip-shell system . . cat. >>confdefs.h <<_EOF
24151 #define CARES_HAVE_ARPA_NAMESER_COMPA_H 1
24152 _EOF
24153
24154 fi
24155
24156
24157
24158 if testscip-shell system . . test. "${CARES_THREADS}" = "yes" -a "x${ac_cv_native_windows}" != "xyes" ; then
24159
24160
24161
24162
24163 ac_ext=c
24164 ac_cpp='$CPP $CPPFLAGS'
24165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24168
24169 ax_pthread_ok=no
24170
24171 # We used to check for pthread.h first, but this fails if pthread.h
24172 # requires special compiler flags (e.g. on Tru64 or Sequent).
24173 # It gets checked for in the link test anyway.
24174
24175 # First of all, check if the user has set any of the PTHREAD_LIBS,
24176 # etcetera environment variables, and if threads linking works using
24177 # them:
24178 if testscip-shell system . . test. "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
24179 ax_pthread_save_CC="$CC"
24180 ax_pthread_save_CFLAGS="$CFLAGS"
24181 ax_pthread_save_LIBS="$LIBS"
24182 if testscip-shell system . . test. "x$PTHREAD_CC" != "x"
24183 then :
24184 CC="$PTHREAD_CC"
24185 fi
24186 if testscip-shell system . . test. "x$PTHREAD_CXX" != "x"
24187 then :
24188 CXX="$PTHREAD_CXX"
24189 fi
24190 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
24191 LIBS="$PTHREAD_LIBS $LIBS"
24192 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
24193 printfscip-shell system . . printf. %s "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
24194 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
24195 /* end confdefs.h. */
24196
24197 /* Override any GCC internal prototype to avoid an error.
24198 Use char because int might match the return type of a GCC
24199 builtin and then its argument prototype would still apply. */
24200 char pthread_join ();
24201 int
24202 main (void)
24203 {
24204 return pthread_join ();
24205 ;
24206 return 0;
24207 }
24208 _ACEOF
24209 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
24210 then :
24211 ax_pthread_ok=yes
24212 fi
24213 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
24214 conftest$ac_exeext conftest.$ac_ext
24215 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
24216 printfscip-shell system . . printf. "%s\n" "$ax_pthread_ok" >&6; }
24217 if testscip-shell system . . test. "x$ax_pthread_ok" = "xno"; then
24218 PTHREAD_LIBS=""
24219 PTHREAD_CFLAGS=""
24220 fi
24221 CC="$ax_pthread_save_CC"
24222 CFLAGS="$ax_pthread_save_CFLAGS"
24223 LIBS="$ax_pthread_save_LIBS"
24224 fi
24225
24226 # We must check for the threads library under a number of different
24227 # names; the ordering is very important because some systems
24228 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
24229 # libraries is broken (non-POSIX).
24230
24231 # Create a list of thread flags to try. Items with a "," contain both
24232 # C compiler flags (before ",") and linker flags (after ","). Other items
24233 # starting with a "-" are C compiler flags, and remaining items are
24234 # library names, except for "none" which indicates that we try without
24235 # any flags at all, and "pthread-config" which is a program returning
24236 # the flags for the Pth emulation library.
24237
24238 ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
24239
24240 # The ordering *is* (sometimes) important. Some notes on the
24241 # individual items follow:
24242
24243 # pthreads: AIX (must check this before -lpthread)
24244 # none: in case threads are in libc; should be tried before -Kthread and
24245 # other compiler flags to prevent continual compiler warnings
24246 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
24247 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
24248 # (Note: HP C rejects this with "bad form for `-t' option")
24249 # -pthreads: Solaris/gcc (Note: HP C also rejects)
24250 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
24251 # doesn't hurt to check since this sometimes defines pthreads and
24252 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
24253 # is present but should not be used directly; and before -mthreads,
24254 # because the compiler interprets this as "-mt" + "-hreads")
24255 # -mthreads: Mingw32/gcc, Lynx/gcc
24256 # pthread: Linux, etcetera
24257 # --thread-safe: KAI C++
24258 # pthread-config: use pthread-config program (for GNU Pth library)
24259
24260 case $host_os in
24261
24262 freebsd*|midnightbsd*)
24263
24264 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
24265 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
24266
24267 ax_pthread_flags="-kthread lthread $ax_pthread_flags"
24268 ;;
24269
24270 hpux*)
24271
24272 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
24273 # multi-threading and also sets -lpthread."
24274
24275 ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
24276 ;;
24277
24278 openedition*)
24279
24280 # IBM z/OS requires a feature-test macro to be defined in order to
24281 # enable POSIX threads at all, so give the user a hint if this is
24282 # not set. (We don't define these ourselves, as they can affect
24283 # other portions of the system API in unpredictable ways.)
24284
24285 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
24286 /* end confdefs.h. */
24287
24288 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
24289 AX_PTHREAD_ZOS_MISSING
24290 # endif
24291
24292 _ACEOF
24293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24294 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
24295 then :
24296 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
24297 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
24298 fi
24299 rmscip-shell system . . rm. -rf conftest*
24300
24301 ;;
24302
24303 solaris*)
24304
24305 # On Solaris (at least, for some versions), libc contains stubbed
24306 # (non-functional) versions of the pthreads routines, so link-based
24307 # tests will erroneously succeed. (N.B.: The stubs are missing
24308 # pthread_cleanup_push, or rather a function called by this macro,
24309 # so we could check for that, but who knows whether they'll stub
24310 # that too in a future libc.) So we'll check first for the
24311 # standard Solaris way of linking pthreads (-mt -lpthread).
24312
24313 ax_pthread_flags="-mt,-lpthread pthread $ax_pthread_flags"
24314 ;;
24315 esac
24316
24317 # Are we compiling with Clang?
24318
24319 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
24320 printfscip-shell system . . printf. %s "checking whether $CC is Clang... " >&6; }
24321 if testscip-shell system . . test. ${ax_cv_PTHREAD_CLANG+y}
24322 then :
24323 printfscip-shell system . . printf. %s "(cached) " >&6
24324 else $as_nop
24325 ax_cv_PTHREAD_CLANG=no
24326 # Note that Autoconf sets GCC=yes for Clang as well as GCC
24327 if testscip-shell system . . test. "x$GCC" = "xyes"; then
24328 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
24329 /* end confdefs.h. */
24330 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
24331 # if defined(__clang__) && defined(__llvm__)
24332 AX_PTHREAD_CC_IS_CLANG
24333 # endif
24334
24335 _ACEOF
24336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24337 $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
24338 then :
24339 ax_cv_PTHREAD_CLANG=yes
24340 fi
24341 rmscip-shell system . . rm. -rf conftest*
24342
24343 fi
24344
24345 fi
24346 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
24347 printfscip-shell system . . printf. "%s\n" "$ax_cv_PTHREAD_CLANG" >&6; }
24348 ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
24349
24350
24351 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
24352
24353 # Note that for GCC and Clang -pthread generally implies -lpthread,
24354 # except when -nostdlib is passed.
24355 # This is problematic using libtool to build C++ shared libraries with pthread:
24356 # [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460
24357 # [2] https://bugzilla.redhat.com/show_bug.cgi?id=661333
24358 # [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468555
24359 # To solve this, first try -pthread together with -lpthread for GCC
24360
24361 if testscip-shell system . . test. "x$GCC" = "xyes"
24362 then :
24363 ax_pthread_flags="-pthread,-lpthread -pthread -pthreads $ax_pthread_flags"
24364 fi
24365
24366 # Clang takes -pthread (never supported any other flag), but we'll try with -lpthread first
24367
24368 if testscip-shell system . . test. "x$ax_pthread_clang" = "xyes"
24369 then :
24370 ax_pthread_flags="-pthread,-lpthread -pthread"
24371 fi
24372
24373
24374 # The presence of a feature test macro requesting re-entrant function
24375 # definitions is, on some systems, a strong hint that pthreads support is
24376 # correctly enabled
24377
24378 case $host_os in
24379 darwin* | hpux* | linux* | osf* | solaris*)
24380 ax_pthread_check_macro="_REENTRANT"
24381 ;;
24382
24383 aix*)
24384 ax_pthread_check_macro="_THREAD_SAFE"
24385 ;;
24386
24387 *)
24388 ax_pthread_check_macro="--"
24389 ;;
24390 esac
24391 if testscip-shell system . . test. "x$ax_pthread_check_macro" = "x--"
24392 then :
24393 ax_pthread_check_cond=0
24394 else $as_nop
24395 ax_pthread_check_cond="!defined($ax_pthread_check_macro)"
24396 fi
24397
24398
24399 if testscip-shell system . . test. "x$ax_pthread_ok" = "xno"; then
24400 for ax_pthread_try_flag in $ax_pthread_flags; do
24401
24402 case $ax_pthread_try_flag in
24403 none)
24404 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
24405 printfscip-shell system . . printf. %s "checking whether pthreads work without any flags... " >&6; }
24406 ;;
24407
24408 *,*)
24409 PTHREAD_CFLAGS=`echoscip-shell system . . echo. $ax_pthread_try_flag | sedscip-shell system . . sed. "s/^\(.*\),\(.*\)$/\1/"`
24410 PTHREAD_LIBS=`echoscip-shell system . . echo. $ax_pthread_try_flag | sedscip-shell system . . sed. "s/^\(.*\),\(.*\)$/\2/"`
24411 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with \"$PTHREAD_CFLAGS\" and \"$PTHREAD_LIBS\"" >&5
24412 printfscip-shell system . . printf. %s "checking whether pthreads work with \"$PTHREAD_CFLAGS\" and \"$PTHREAD_LIBS\"... " >&6; }
24413 ;;
24414
24415 -*)
24416 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
24417 printfscip-shell system . . printf. %s "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
24418 PTHREAD_CFLAGS="$ax_pthread_try_flag"
24419 ;;
24420
24421 pthread-config)
24422 # Extract the first word of "pthread-config", so it can be a program name with args.
24423 set dummy pthread-config; ac_word=$2
24424 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24425 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
24426 if testscip-shell system . . test. ${ac_cv_prog_ax_pthread_config+y}
24427 then :
24428 printfscip-shell system . . printf. %s "(cached) " >&6
24429 else $as_nop
24430 if testscip-shell system . . test. -n "$ax_pthread_config"; then
24431 ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
24432 else
24433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24434 for as_dir in $PATH
24435 do
24436 IFS=$as_save_IFS
24437 case $as_dir in #(((
24438 '') as_dir=./ ;;
24439 */) ;;
24440 *) as_dir=$as_dir/ ;;
24441 esac
24442 for ac_exec_ext in '' $ac_executable_extensions; do
24443 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
24444 ac_cv_prog_ax_pthread_config="yes"
24445 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24446 break 2
24447 fi
24448 done
24449 done
24450 IFS=$as_save_IFS
24451
24452 testscip-shell system . . test. -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
24453 fi
24454 fi
24455 ax_pthread_config=$ac_cv_prog_ax_pthread_config
24456 if testscip-shell system . . test. -n "$ax_pthread_config"; then
24457 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
24458 printfscip-shell system . . printf. "%s\n" "$ax_pthread_config" >&6; }
24459 else
24460 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24461 printfscip-shell system . . printf. "%s\n" "no" >&6; }
24462 fi
24463
24464
24465 if testscip-shell system . . test. "x$ax_pthread_config" = "xno"
24466 then :
24467 continue
24468 fi
24469 PTHREAD_CFLAGS="`pthread-config --cflags`"
24470 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
24471 ;;
24472
24473 *)
24474 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
24475 printfscip-shell system . . printf. %s "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
24476 PTHREAD_LIBS="-l$ax_pthread_try_flag"
24477 ;;
24478 esac
24479
24480 ax_pthread_save_CFLAGS="$CFLAGS"
24481 ax_pthread_save_LIBS="$LIBS"
24482 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
24483 LIBS="$PTHREAD_LIBS $LIBS"
24484
24485 # Check for various functions. We must include pthread.h,
24486 # since some functions may be macros. (On the Sequent, we
24487 # need a special flag -Kthread to make this header compile.)
24488 # We check for pthread_join because it is in -lpthread on IRIX
24489 # while pthread_create is in libc. We check for pthread_attr_init
24490 # due to DEC craziness with -lpthreads. We check for
24491 # pthread_cleanup_push because it is one of the few pthread
24492 # functions on Solaris that doesn't have a non-functional libc stub.
24493 # We try pthread_create on general principles.
24494
24495 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
24496 /* end confdefs.h. */
24497 #include <pthread.h>
24498 # if $ax_pthread_check_cond
24499 # error "$ax_pthread_check_macro must be defined"
24500 # endif
24501 static void *some_global = NULL;
24502 static void routine(void *a)
24503 {
24504 /* To avoid any unused-parameter or
24505 unused-but-set-parameter warning. */
24506 some_global = a;
24507 }
24508 static void *start_routine(void *a) { return a; }
24509 int
24510 main (void)
24511 {
24512 pthread_t th; pthread_attr_t attr;
24513 pthread_create(&th, 0, start_routine, 0);
24514 pthread_join(th, 0);
24515 pthread_attr_init(&attr);
24516 pthread_cleanup_push(routine, 0);
24517 pthread_cleanup_pop(0) /* ; */
24518 ;
24519 return 0;
24520 }
24521 _ACEOF
24522 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
24523 then :
24524 ax_pthread_ok=yes
24525 fi
24526 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
24527 conftest$ac_exeext conftest.$ac_ext
24528
24529 CFLAGS="$ax_pthread_save_CFLAGS"
24530 LIBS="$ax_pthread_save_LIBS"
24531
24532 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
24533 printfscip-shell system . . printf. "%s\n" "$ax_pthread_ok" >&6; }
24534 if testscip-shell system . . test. "x$ax_pthread_ok" = "xyes"
24535 then :
24536 break
24537 fi
24538
24539 PTHREAD_LIBS=""
24540 PTHREAD_CFLAGS=""
24541 done
24542 fi
24543
24544
24545 # Clang needs special handling, because older versions handle the -pthread
24546 # option in a rather... idiosyncratic way
24547
24548 if testscip-shell system . . test. "x$ax_pthread_clang" = "xyes"; then
24549
24550 # Clang takes -pthread; it has never supported any other flag
24551
24552 # (Note 1: This will need to be revisited if a system that Clang
24553 # supports has POSIX threads in a separate library. This tends not
24554 # to be the way of modern systems, but it's conceivable.)
24555
24556 # (Note 2: On some systems, notably Darwin, -pthread is not needed
24557 # to get POSIX threads support; the API is always present and
24558 # active. We could reasonably leave PTHREAD_CFLAGS empty. But
24559 # -pthread does define _REENTRANT, and while the Darwin headers
24560 # ignore this macro, third-party headers might not.)
24561
24562 # However, older versions of Clang make a point of warning the user
24563 # that, in an invocation where only linking and no compilation is
24564 # taking place, the -pthread option has no effect ("argument unused
24565 # during compilation"). They expect -pthread to be passed in only
24566 # when source code is being compiled.
24567 #
24568 # Problem is, this is at odds with the way Automake and most other
24569 # C build frameworks function, which is that the same flags used in
24570 # compilation (CFLAGS) are also used in linking. Many systems
24571 # supported by AX_PTHREAD require exactly this for POSIX threads
24572 # support, and in fact it is often not straightforward to specify a
24573 # flag that is used only in the compilation phase and not in
24574 # linking. Such a scenario is extremely rare in practice.
24575 #
24576 # Even though use of the -pthread flag in linking would only print
24577 # a warning, this can be a nuisance for well-run software projects
24578 # that build with -Werror. So if the active version of Clang has
24579 # this misfeature, we search for an option to squash it.
24580
24581 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
24582 printfscip-shell system . . printf. %s "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
24583 if testscip-shell system . . test. ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+y}
24584 then :
24585 printfscip-shell system . . printf. %s "(cached) " >&6
24586 else $as_nop
24587 ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
24588 # Create an alternate version of $ac_link that compiles and
24589 # links in two steps (.c -> .o, .o -> exe) instead of one
24590 # (.c -> exe), because the warning occurs only in the second
24591 # step
24592 ax_pthread_save_ac_link="$ac_link"
24593 ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
24594 ax_pthread_link_step=`printfscip-shell system . . printf. "%s\n" "$ac_link" | sedscip-shell system . . sed. "$ax_pthread_sed"`
24595 ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
24596 ax_pthread_save_CFLAGS="$CFLAGS"
24597 for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
24598 if testscip-shell system . . test. "x$ax_pthread_try" = "xunknown"
24599 then :
24600 break
24601 fi
24602 CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
24603 ac_link="$ax_pthread_save_ac_link"
24604 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
24605 /* end confdefs.h. */
24606 int main(void){return 0;}
24607 _ACEOF
24608 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
24609 then :
24610 ac_link="$ax_pthread_2step_ac_link"
24611 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
24612 /* end confdefs.h. */
24613 int main(void){return 0;}
24614 _ACEOF
24615 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
24616 then :
24617 break
24618 fi
24619 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
24620 conftest$ac_exeext conftest.$ac_ext
24621
24622 fi
24623 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
24624 conftest$ac_exeext conftest.$ac_ext
24625 done
24626 ac_link="$ax_pthread_save_ac_link"
24627 CFLAGS="$ax_pthread_save_CFLAGS"
24628 if testscip-shell system . . test. "x$ax_pthread_try" = "x"
24629 then :
24630 ax_pthread_try=no
24631 fi
24632 ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
24633
24634 fi
24635 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
24636 printfscip-shell system . . printf. "%s\n" "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
24637
24638 case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
24639 no | unknown) ;;
24640 *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
24641 esac
24642
24643 fi # $ax_pthread_clang = yes
24644
24645
24646
24647 # Various other checks:
24648 if testscip-shell system . . test. "x$ax_pthread_ok" = "xyes"; then
24649 ax_pthread_save_CFLAGS="$CFLAGS"
24650 ax_pthread_save_LIBS="$LIBS"
24651 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
24652 LIBS="$PTHREAD_LIBS $LIBS"
24653
24654 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
24655 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
24656 printfscip-shell system . . printf. %s "checking for joinable pthread attribute... " >&6; }
24657 if testscip-shell system . . test. ${ax_cv_PTHREAD_JOINABLE_ATTR+y}
24658 then :
24659 printfscip-shell system . . printf. %s "(cached) " >&6
24660 else $as_nop
24661 ax_cv_PTHREAD_JOINABLE_ATTR=unknown
24662 for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
24663 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
24664 /* end confdefs.h. */
24665 #include <pthread.h>
24666 int
24667 main (void)
24668 {
24669 int attr = $ax_pthread_attr; return attr /* ; */
24670 ;
24671 return 0;
24672 }
24673 _ACEOF
24674 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
24675 then :
24676 ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break
24677 fi
24678 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
24679 conftest$ac_exeext conftest.$ac_ext
24680 done
24681
24682 fi
24683 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
24684 printfscip-shell system . . printf. "%s\n" "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
24685 if testscip-shell system . . test. "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
24686 test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
24687 test "x$ax_pthread_joinable_attr_defined" != "xyes"
24688 then :
24689
24690 printfscip-shell system . . printf. "%s\n" "#define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR" >>confdefs.h
24691
24692 ax_pthread_joinable_attr_defined=yes
24693
24694 fi
24695
24696 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
24697 printfscip-shell system . . printf. %s "checking whether more special flags are required for pthreads... " >&6; }
24698 if testscip-shell system . . test. ${ax_cv_PTHREAD_SPECIAL_FLAGS+y}
24699 then :
24700 printfscip-shell system . . printf. %s "(cached) " >&6
24701 else $as_nop
24702 ax_cv_PTHREAD_SPECIAL_FLAGS=no
24703 case $host_os in
24704 solaris*)
24705 ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
24706 ;;
24707 esac
24708
24709 fi
24710 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
24711 printfscip-shell system . . printf. "%s\n" "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
24712 if testscip-shell system . . test. "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
24713 test "x$ax_pthread_special_flags_added" != "xyes"
24714 then :
24715 PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
24716 ax_pthread_special_flags_added=yes
24717 fi
24718
24719 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
24720 printfscip-shell system . . printf. %s "checking for PTHREAD_PRIO_INHERIT... " >&6; }
24721 if testscip-shell system . . test. ${ax_cv_PTHREAD_PRIO_INHERIT+y}
24722 then :
24723 printfscip-shell system . . printf. %s "(cached) " >&6
24724 else $as_nop
24725 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
24726 /* end confdefs.h. */
24727 #include <pthread.h>
24728 int
24729 main (void)
24730 {
24731 int i = PTHREAD_PRIO_INHERIT;
24732 return i;
24733 ;
24734 return 0;
24735 }
24736 _ACEOF
24737 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
24738 then :
24739 ax_cv_PTHREAD_PRIO_INHERIT=yes
24740 else $as_nop
24741 ax_cv_PTHREAD_PRIO_INHERIT=no
24742 fi
24743 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
24744 conftest$ac_exeext conftest.$ac_ext
24745
24746 fi
24747 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
24748 printfscip-shell system . . printf. "%s\n" "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
24749 if testscip-shell system . . test. "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
24750 test "x$ax_pthread_prio_inherit_defined" != "xyes"
24751 then :
24752
24753 printfscip-shell system . . printf. "%s\n" "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
24754
24755 ax_pthread_prio_inherit_defined=yes
24756
24757 fi
24758
24759 CFLAGS="$ax_pthread_save_CFLAGS"
24760 LIBS="$ax_pthread_save_LIBS"
24761
24762 # More AIX lossage: compile with *_r variant
24763 if testscip-shell system . . test. "x$GCC" != "xyes"; then
24764 case $host_os in
24765 aix*)
24766 case "x/$CC" in #(
24767 x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
24768 #handle absolute path differently from PATH based program lookup
24769 case "x$CC" in #(
24770 x/*) :
24771
24772 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). ${CC}_r
24773 then :
24774 PTHREAD_CC="${CC}_r"
24775 fi
24776 if testscip-shell system . . test. "x${CXX}" != "x"
24777 then :
24778 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). ${CXX}_r
24779 then :
24780 PTHREAD_CXX="${CXX}_r"
24781 fi
24782 fi
24783 ;; #(
24784 *) :
24785
24786 for ac_prog in ${CC}_r
24787 do
24788 # Extract the first word of "$ac_prog", so it can be a program name with args.
24789 set dummy $ac_prog; ac_word=$2
24790 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24791 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
24792 if testscip-shell system . . test. ${ac_cv_prog_PTHREAD_CC+y}
24793 then :
24794 printfscip-shell system . . printf. %s "(cached) " >&6
24795 else $as_nop
24796 if testscip-shell system . . test. -n "$PTHREAD_CC"; then
24797 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
24798 else
24799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24800 for as_dir in $PATH
24801 do
24802 IFS=$as_save_IFS
24803 case $as_dir in #(((
24804 '') as_dir=./ ;;
24805 */) ;;
24806 *) as_dir=$as_dir/ ;;
24807 esac
24808 for ac_exec_ext in '' $ac_executable_extensions; do
24809 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
24810 ac_cv_prog_PTHREAD_CC="$ac_prog"
24811 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24812 break 2
24813 fi
24814 done
24815 done
24816 IFS=$as_save_IFS
24817
24818 fi
24819 fi
24820 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
24821 if testscip-shell system . . test. -n "$PTHREAD_CC"; then
24822 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
24823 printfscip-shell system . . printf. "%s\n" "$PTHREAD_CC" >&6; }
24824 else
24825 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24826 printfscip-shell system . . printf. "%s\n" "no" >&6; }
24827 fi
24828
24829
24830 testscip-shell system . . test. -n "$PTHREAD_CC" && break
24831 done
24832 testscip-shell system . . test. -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
24833
24834 if testscip-shell system . . test. "x${CXX}" != "x"
24835 then :
24836 for ac_prog in ${CXX}_r
24837 do
24838 # Extract the first word of "$ac_prog", so it can be a program name with args.
24839 set dummy $ac_prog; ac_word=$2
24840 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24841 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
24842 if testscip-shell system . . test. ${ac_cv_prog_PTHREAD_CXX+y}
24843 then :
24844 printfscip-shell system . . printf. %s "(cached) " >&6
24845 else $as_nop
24846 if testscip-shell system . . test. -n "$PTHREAD_CXX"; then
24847 ac_cv_prog_PTHREAD_CXX="$PTHREAD_CXX" # Let the user override the test.
24848 else
24849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24850 for as_dir in $PATH
24851 do
24852 IFS=$as_save_IFS
24853 case $as_dir in #(((
24854 '') as_dir=./ ;;
24855 */) ;;
24856 *) as_dir=$as_dir/ ;;
24857 esac
24858 for ac_exec_ext in '' $ac_executable_extensions; do
24859 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
24860 ac_cv_prog_PTHREAD_CXX="$ac_prog"
24861 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24862 break 2
24863 fi
24864 done
24865 done
24866 IFS=$as_save_IFS
24867
24868 fi
24869 fi
24870 PTHREAD_CXX=$ac_cv_prog_PTHREAD_CXX
24871 if testscip-shell system . . test. -n "$PTHREAD_CXX"; then
24872 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CXX" >&5
24873 printfscip-shell system . . printf. "%s\n" "$PTHREAD_CXX" >&6; }
24874 else
24875 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24876 printfscip-shell system . . printf. "%s\n" "no" >&6; }
24877 fi
24878
24879
24880 testscip-shell system . . test. -n "$PTHREAD_CXX" && break
24881 done
24882 testscip-shell system . . test. -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
24883
24884 fi
24885
24886 ;;
24887 esac
24888 ;; #(
24889 *) :
24890 ;;
24891 esac
24892 ;;
24893 esac
24894 fi
24895 fi
24896
24897 testscip-shell system . . test. -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
24898 testscip-shell system . . test. -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
24899
24900
24901
24902
24903
24904
24905 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
24906 if testscip-shell system . . test. "x$ax_pthread_ok" = "xyes"; then
24907
24908 :
24909 else
24910 ax_pthread_ok=no
24911
24912 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: threads requested but not supported" >&5
24913 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: threads requested but not supported" >&2;}
24914 CARES_THREADS=no
24915
24916 fi
24917 ac_ext=c
24918 ac_cpp='$CPP $CPPFLAGS'
24919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24922
24923
24924
24925 if testscip-shell system . . test. "${CARES_THREADS}" = "yes" ; then
24926 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
24927 if testscip-shell system . . test. "x$ac_cv_header_pthread_h" = xyes
24928 then :
24929 printfscip-shell system . . printf. "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
24930
24931 fi
24932 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "$ac_includes_default"
24933 if testscip-shell system . . test. "x$ac_cv_header_pthread_np_h" = xyes
24934 then :
24935 printfscip-shell system . . printf. "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
24936
24937 fi
24938
24939 LIBS="$PTHREAD_LIBS $LIBS"
24940 AM_CFLAGS="$AM_CFLAGS $PTHREAD_CFLAGS"
24941 CC="$PTHREAD_CC"
24942 CXX="$PTHREAD_CXX"
24943 fi
24944 fi
24945
24946 if testscip-shell system . . test. "${CARES_THREADS}" = "yes" ; then
24947
24948 printfscip-shell system . . printf. "%s\n" "#define CARES_THREADS 1 " >>confdefs.h
24949
24950 fi
24951
24952 CARES_PRIVATE_LIBS="$LIBS"
24953
24954
24955 BUILD_SUBDIRS="include src docs"
24956
24957
24958
24959 if testscip-shell system . . test. "x$build_tests" != "xno" -a "x$cross_compiling" = "xyes" ; then
24960 if testscip-shell system . . test. "x$build_tests" = "xmaybe" ; then
24961 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot build tests when cross compiling" >&5
24962 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: cannot build tests when cross compiling" >&2;}
24963 build_tests=no
24964 else
24965 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "*** Tests not supported when cross compiling" "$LINENO" 5
24966 fi
24967 fi
24968
24969 # Check whether --enable-tests-crossbuild was given.
24970 if testscip-shell system . . test. ${enable_tests_crossbuild+y}
24971 then :
24972 enableval=$enable_tests_crossbuild; build_tests="$enableval"
24973
24974 fi
24975
24976
24977 if testscip-shell system . . test. "x$build_tests" != "xno" ; then
24978
24979
24980
24981
24982
24983
24984
24985 if testscip-shell system . . test. "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24986 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
24987 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24988 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24989 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24990 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
24991 if testscip-shell system . . test. ${ac_cv_path_PKG_CONFIG+y}
24992 then :
24993 printfscip-shell system . . printf. %s "(cached) " >&6
24994 else $as_nop
24995 case $PKG_CONFIG in
24996 [\\/]* | ?:[\\/]*)
24997 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24998 ;;
24999 *)
25000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25001 for as_dir in $PATH
25002 do
25003 IFS=$as_save_IFS
25004 case $as_dir in #(((
25005 '') as_dir=./ ;;
25006 */) ;;
25007 *) as_dir=$as_dir/ ;;
25008 esac
25009 for ac_exec_ext in '' $ac_executable_extensions; do
25010 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
25011 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
25012 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25013 break 2
25014 fi
25015 done
25016 done
25017 IFS=$as_save_IFS
25018
25019 ;;
25020 esac
25021 fi
25022 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25023 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
25024 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25025 printfscip-shell system . . printf. "%s\n" "$PKG_CONFIG" >&6; }
25026 else
25027 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25028 printfscip-shell system . . printf. "%s\n" "no" >&6; }
25029 fi
25030
25031
25032 fi
25033 if testscip-shell system . . test. -z "$ac_cv_path_PKG_CONFIG"; then
25034 ac_pt_PKG_CONFIG=$PKG_CONFIG
25035 # Extract the first word of "pkg-config", so it can be a program name with args.
25036 set dummy pkg-config; ac_word=$2
25037 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25038 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
25039 if testscip-shell system . . test. ${ac_cv_path_ac_pt_PKG_CONFIG+y}
25040 then :
25041 printfscip-shell system . . printf. %s "(cached) " >&6
25042 else $as_nop
25043 case $ac_pt_PKG_CONFIG in
25044 [\\/]* | ?:[\\/]*)
25045 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25046 ;;
25047 *)
25048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25049 for as_dir in $PATH
25050 do
25051 IFS=$as_save_IFS
25052 case $as_dir in #(((
25053 '') as_dir=./ ;;
25054 */) ;;
25055 *) as_dir=$as_dir/ ;;
25056 esac
25057 for ac_exec_ext in '' $ac_executable_extensions; do
25058 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
25059 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
25060 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25061 break 2
25062 fi
25063 done
25064 done
25065 IFS=$as_save_IFS
25066
25067 ;;
25068 esac
25069 fi
25070 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25071 if testscip-shell system . . test. -n "$ac_pt_PKG_CONFIG"; then
25072 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25073 printfscip-shell system . . printf. "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
25074 else
25075 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25076 printfscip-shell system . . printf. "%s\n" "no" >&6; }
25077 fi
25078
25079 if testscip-shell system . . test. "x$ac_pt_PKG_CONFIG" = x; then
25080 PKG_CONFIG=""
25081 else
25082 case $cross_compiling:$ac_tool_warned in
25083 yes:)
25084 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25085 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25086 ac_tool_warned=yes ;;
25087 esac
25088 PKG_CONFIG=$ac_pt_PKG_CONFIG
25089 fi
25090 else
25091 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25092 fi
25093
25094 fi
25095 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
25096 _pkg_min_version=0.9.0
25097 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25098 printfscip-shell system . . printf. %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25099 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25100 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25101 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
25102 else
25103 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25104 printfscip-shell system . . printf. "%s\n" "no" >&6; }
25105 PKG_CONFIG=""
25106 fi
25107 fi
25108
25109 pkg_failed=no
25110 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gmock" >&5
25111 printfscip-shell system . . printf. %s "checking for gmock... " >&6; }
25112
25113 if testscip-shell system . . test. -n "$GMOCK_CFLAGS"; then
25114 pkg_cv_GMOCK_CFLAGS="$GMOCK_CFLAGS"
25115 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
25116 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
25117 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmock\""; } >&5
25118 ($PKG_CONFIG --exists --print-errors "gmock") 2>&5
25119 ac_status=$?
25120 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25121 testscip-shell system . . test. $ac_status = 0; }; then
25122 pkg_cv_GMOCK_CFLAGS=`$PKG_CONFIG --cflags "gmock" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
25123 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
25124 else
25125 pkg_failed=yes
25126 fi
25127 else
25128 pkg_failed=untried
25129 fi
25130 if testscip-shell system . . test. -n "$GMOCK_LIBS"; then
25131 pkg_cv_GMOCK_LIBS="$GMOCK_LIBS"
25132 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
25133 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
25134 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmock\""; } >&5
25135 ($PKG_CONFIG --exists --print-errors "gmock") 2>&5
25136 ac_status=$?
25137 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25138 testscip-shell system . . test. $ac_status = 0; }; then
25139 pkg_cv_GMOCK_LIBS=`$PKG_CONFIG --libs "gmock" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
25140 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
25141 else
25142 pkg_failed=yes
25143 fi
25144 else
25145 pkg_failed=untried
25146 fi
25147
25148
25149
25150 if testscip-shell system . . test. $pkg_failed = yes; then
25151 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25152 printfscip-shell system . . printf. "%s\n" "no" >&6; }
25153
25154 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25155 _pkg_short_errors_supported=yes
25156 else
25157 _pkg_short_errors_supported=no
25158 fi
25159 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
25160 GMOCK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmock" 2>&1`
25161 else
25162 GMOCK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmock" 2>&1`
25163 fi
25164 # Put the nasty error message in config.log where it belongs
25165 echoscip-shell system . . echo. "$GMOCK_PKG_ERRORS" >&5
25166
25167 have_gmock=no
25168 elif testscip-shell system . . test. $pkg_failed = untried; then
25169 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25170 printfscip-shell system . . printf. "%s\n" "no" >&6; }
25171 have_gmock=no
25172 else
25173 GMOCK_CFLAGS=$pkg_cv_GMOCK_CFLAGS
25174 GMOCK_LIBS=$pkg_cv_GMOCK_LIBS
25175 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25176 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
25177 have_gmock=yes
25178 fi
25179 if testscip-shell system . . test. "x$have_gmock" = "xno" ; then
25180 if testscip-shell system . . test. "x$build_tests" = "xmaybe" ; then
25181 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: gmock could not be found, not building tests" >&5
25182 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: gmock could not be found, not building tests" >&2;}
25183 build_tests=no
25184 else
25185 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "tests require gmock" "$LINENO" 5
25186 fi
25187 else
25188
25189 pkg_failed=no
25190 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gmock >= 1.12.0" >&5
25191 printfscip-shell system . . printf. %s "checking for gmock >= 1.12.0... " >&6; }
25192
25193 if testscip-shell system . . test. -n "$GMOCK112_CFLAGS"; then
25194 pkg_cv_GMOCK112_CFLAGS="$GMOCK112_CFLAGS"
25195 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
25196 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
25197 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmock >= 1.12.0\""; } >&5
25198 ($PKG_CONFIG --exists --print-errors "gmock >= 1.12.0") 2>&5
25199 ac_status=$?
25200 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25201 testscip-shell system . . test. $ac_status = 0; }; then
25202 pkg_cv_GMOCK112_CFLAGS=`$PKG_CONFIG --cflags "gmock >= 1.12.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
25203 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
25204 else
25205 pkg_failed=yes
25206 fi
25207 else
25208 pkg_failed=untried
25209 fi
25210 if testscip-shell system . . test. -n "$GMOCK112_LIBS"; then
25211 pkg_cv_GMOCK112_LIBS="$GMOCK112_LIBS"
25212 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
25213 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
25214 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmock >= 1.12.0\""; } >&5
25215 ($PKG_CONFIG --exists --print-errors "gmock >= 1.12.0") 2>&5
25216 ac_status=$?
25217 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25218 testscip-shell system . . test. $ac_status = 0; }; then
25219 pkg_cv_GMOCK112_LIBS=`$PKG_CONFIG --libs "gmock >= 1.12.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
25220 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
25221 else
25222 pkg_failed=yes
25223 fi
25224 else
25225 pkg_failed=untried
25226 fi
25227
25228
25229
25230 if testscip-shell system . . test. $pkg_failed = yes; then
25231 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25232 printfscip-shell system . . printf. "%s\n" "no" >&6; }
25233
25234 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25235 _pkg_short_errors_supported=yes
25236 else
25237 _pkg_short_errors_supported=no
25238 fi
25239 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
25240 GMOCK112_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmock >= 1.12.0" 2>&1`
25241 else
25242 GMOCK112_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmock >= 1.12.0" 2>&1`
25243 fi
25244 # Put the nasty error message in config.log where it belongs
25245 echoscip-shell system . . echo. "$GMOCK112_PKG_ERRORS" >&5
25246
25247 have_gmock_v112=no
25248 elif testscip-shell system . . test. $pkg_failed = untried; then
25249 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25250 printfscip-shell system . . printf. "%s\n" "no" >&6; }
25251 have_gmock_v112=no
25252 else
25253 GMOCK112_CFLAGS=$pkg_cv_GMOCK112_CFLAGS
25254 GMOCK112_LIBS=$pkg_cv_GMOCK112_LIBS
25255 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25256 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
25257 have_gmock_v112=yes
25258 fi
25259 if testscip-shell system . . test. "x$have_gmock_v112" = "xyes" ; then
25260 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether user namespaces are supported" >&5
25261 printfscip-shell system . . printf. %s "checking whether user namespaces are supported... " >&6; }
25262 if testscip-shell system . . test. ${ares_cv_user_namespace+y}
25263 then :
25264 printfscip-shell system . . printf. %s "(cached) " >&6
25265 else $as_nop
25266
25267 ac_ext=c
25268 ac_cpp='$CPP $CPPFLAGS'
25269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25272
25273 if testscip-shell system . . test. "$cross_compiling" = yes
25274 then :
25275 ares_cv_user_namespace=no
25276 else $as_nop
25277 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
25278 /* end confdefs.h. */
25279
25280 #define _GNU_SOURCE
25281 #include <fcntl.h>
25282 #include <sched.h>
25283 #include <signal.h>
25284 #include <stdio.h>
25285 #include <string.h>
25286 #include <sys/types.h>
25287 #include <sys/wait.h>
25288
25289 int userfn(void *d) {
25290 usleep(100000); /* synchronize by sleep */
25291 return (getuid() != 0);
25292 }
25293 char userst[1024*1024];
25294 int main() {
25295 char buffer[1024];
25296 int rc, status, fd;
25297 pid_t child = clone(userfn, userst + 1024*1024, CLONE_NEWUSER|SIGCHLD, 0);
25298 if (child < 0) return 1;
25299
25300 snprintf(buffer, sizeof(buffer), "/proc/%d/uid_map", child);
25301 fd = open(buffer, O_CREAT|O_WRONLY|O_TRUNC, 0755);
25302 snprintf(buffer, sizeof(buffer), "0 %d 1\n", getuid());
25303 write(fd, buffer, strlen(buffer));
25304 close(fd);
25305
25306 rc = waitpid(child, &status, 0);
25307 if (rc <= 0) return 1;
25308 if (!WIFEXITED(status)) return 1;
25309 return WEXITSTATUS(status);
25310 }
25311
25312 _ACEOF
25313 if ac_fn_c_try_runscip-shell shell shell-project 0.0.0 ac_fn_c_try_run(). "$LINENO"
25314 then :
25315 ares_cv_user_namespace=yes
25316 else $as_nop
25317 ares_cv_user_namespace=no
25318 fi
25319 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25320 conftest.$ac_objext conftest.beam conftest.$ac_ext
25321 fi
25322
25323 ac_ext=c
25324 ac_cpp='$CPP $CPPFLAGS'
25325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25328
25329
25330 fi
25331 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ares_cv_user_namespace" >&5
25332 printfscip-shell system . . printf. "%s\n" "$ares_cv_user_namespace" >&6; }
25333 if testscip-shell system . . test. "$ares_cv_user_namespace" = yes; then
25334
25335 printfscip-shell system . . printf. "%s\n" "#define HAVE_USER_NAMESPACE 1" >>confdefs.h
25336
25337 fi
25338
25339 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UTS namespaces are supported" >&5
25340 printfscip-shell system . . printf. %s "checking whether UTS namespaces are supported... " >&6; }
25341 if testscip-shell system . . test. ${ares_cv_uts_namespace+y}
25342 then :
25343 printfscip-shell system . . printf. %s "(cached) " >&6
25344 else $as_nop
25345
25346 ac_ext=c
25347 ac_cpp='$CPP $CPPFLAGS'
25348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25351
25352 if testscip-shell system . . test. "$cross_compiling" = yes
25353 then :
25354 ares_cv_uts_namespace=no
25355 else $as_nop
25356 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
25357 /* end confdefs.h. */
25358
25359 #define _GNU_SOURCE
25360 #include <sched.h>
25361 #include <signal.h>
25362 #include <stdio.h>
25363 #include <string.h>
25364 #include <fcntl.h>
25365 #include <unistd.h>
25366 #include <sys/types.h>
25367 #include <sys/wait.h>
25368
25369 int utsfn(void *d) {
25370 char buffer[1024];
25371 const char *name = "autoconftest";
25372 int rc = sethostname(name, strlen(name));
25373 if (rc != 0) return 1;
25374 gethostname(buffer, 1024);
25375 return (strcmp(buffer, name) != 0);
25376 }
25377
25378 char st2[1024*1024];
25379 int fn(void *d) {
25380 pid_t child;
25381 int rc, status;
25382 usleep(100000); /* synchronize by sleep */
25383 if (getuid() != 0) return 1;
25384 child = clone(utsfn, st2 + 1024*1024, CLONE_NEWUTS|SIGCHLD, 0);
25385 if (child < 0) return 1;
25386 rc = waitpid(child, &status, 0);
25387 if (rc <= 0) return 1;
25388 if (!WIFEXITED(status)) return 1;
25389 return WEXITSTATUS(status);
25390 }
25391 char st[1024*1024];
25392 int main() {
25393 char buffer[1024];
25394 int rc, status, fd;
25395 pid_t child = clone(fn, st + 1024*1024, CLONE_NEWUSER|SIGCHLD, 0);
25396 if (child < 0) return 1;
25397
25398 snprintf(buffer, sizeof(buffer), "/proc/%d/uid_map", child);
25399 fd = open(buffer, O_CREAT|O_WRONLY|O_TRUNC, 0755);
25400 snprintf(buffer, sizeof(buffer), "0 %d 1\n", getuid());
25401 write(fd, buffer, strlen(buffer));
25402 close(fd);
25403
25404 rc = waitpid(child, &status, 0);
25405 if (rc <= 0) return 1;
25406 if (!WIFEXITED(status)) return 1;
25407 return WEXITSTATUS(status);
25408 }
25409
25410
25411 _ACEOF
25412 if ac_fn_c_try_runscip-shell shell shell-project 0.0.0 ac_fn_c_try_run(). "$LINENO"
25413 then :
25414 ares_cv_uts_namespace=yes
25415 else $as_nop
25416 ares_cv_uts_namespace=no
25417 fi
25418 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25419 conftest.$ac_objext conftest.beam conftest.$ac_ext
25420 fi
25421
25422 ac_ext=c
25423 ac_cpp='$CPP $CPPFLAGS'
25424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25427
25428
25429 fi
25430 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ares_cv_uts_namespace" >&5
25431 printfscip-shell system . . printf. "%s\n" "$ares_cv_uts_namespace" >&6; }
25432 if testscip-shell system . . test. "$ares_cv_uts_namespace" = yes; then
25433
25434 printfscip-shell system . . printf. "%s\n" "#define HAVE_UTS_NAMESPACE 1" >>confdefs.h
25435
25436 fi
25437
25438 fi
25439
25440 pkg_failed=no
25441 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gmock >= 1.17.0" >&5
25442 printfscip-shell system . . printf. %s "checking for gmock >= 1.17.0... " >&6; }
25443
25444 if testscip-shell system . . test. -n "$GMOCK117_CFLAGS"; then
25445 pkg_cv_GMOCK117_CFLAGS="$GMOCK117_CFLAGS"
25446 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
25447 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
25448 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmock >= 1.17.0\""; } >&5
25449 ($PKG_CONFIG --exists --print-errors "gmock >= 1.17.0") 2>&5
25450 ac_status=$?
25451 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25452 testscip-shell system . . test. $ac_status = 0; }; then
25453 pkg_cv_GMOCK117_CFLAGS=`$PKG_CONFIG --cflags "gmock >= 1.17.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
25454 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
25455 else
25456 pkg_failed=yes
25457 fi
25458 else
25459 pkg_failed=untried
25460 fi
25461 if testscip-shell system . . test. -n "$GMOCK117_LIBS"; then
25462 pkg_cv_GMOCK117_LIBS="$GMOCK117_LIBS"
25463 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
25464 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
25465 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmock >= 1.17.0\""; } >&5
25466 ($PKG_CONFIG --exists --print-errors "gmock >= 1.17.0") 2>&5
25467 ac_status=$?
25468 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25469 testscip-shell system . . test. $ac_status = 0; }; then
25470 pkg_cv_GMOCK117_LIBS=`$PKG_CONFIG --libs "gmock >= 1.17.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
25471 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
25472 else
25473 pkg_failed=yes
25474 fi
25475 else
25476 pkg_failed=untried
25477 fi
25478
25479
25480
25481 if testscip-shell system . . test. $pkg_failed = yes; then
25482 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25483 printfscip-shell system . . printf. "%s\n" "no" >&6; }
25484
25485 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25486 _pkg_short_errors_supported=yes
25487 else
25488 _pkg_short_errors_supported=no
25489 fi
25490 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
25491 GMOCK117_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmock >= 1.17.0" 2>&1`
25492 else
25493 GMOCK117_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmock >= 1.17.0" 2>&1`
25494 fi
25495 # Put the nasty error message in config.log where it belongs
25496 echoscip-shell system . . echo. "$GMOCK117_PKG_ERRORS" >&5
25497
25498 have_gmock_v117=no
25499 elif testscip-shell system . . test. $pkg_failed = untried; then
25500 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25501 printfscip-shell system . . printf. "%s\n" "no" >&6; }
25502 have_gmock_v117=no
25503 else
25504 GMOCK117_CFLAGS=$pkg_cv_GMOCK117_CFLAGS
25505 GMOCK117_LIBS=$pkg_cv_GMOCK117_LIBS
25506 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25507 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
25508 have_gmock_v117=yes
25509 fi
25510 if testscip-shell system . . test. "x$have_gmock_v117" = "xyes" ; then
25511 ax_cxx_compile_alternatives="17 1z" ax_cxx_compile_cxx17_required=true
25512 ac_ext=cpp
25513 ac_cpp='$CXXCPP $CPPFLAGS'
25514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25517 ac_success=no
25518
25519
25520
25521
25522
25523 if testscip-shell system . . test. x$ac_success = xno; then
25524 for alternative in ${ax_cxx_compile_alternatives}; do
25525 for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}" MSVC; do
25526 if testscip-shell system . . test. x"$switch" = xMSVC; then
25527 switch=-std:c++${alternative}
25528 cachevar=`printfscip-shell system . . printf. "%s\n" "ax_cv_cxx_compile_cxx17_${switch}_MSVC" | $as_tr_sh`
25529 else
25530 cachevar=`printfscip-shell system . . printf. "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | $as_tr_sh`
25531 fi
25532 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5
25533 printfscip-shell system . . printf. %s "checking whether $CXX supports C++17 features with $switch... " >&6; }
25534 if eval test \${$cachevar+y}
25535 then :
25536 printfscip-shell system . . printf. %s "(cached) " >&6
25537 else $as_nop
25538 ac_save_CXX="$CXX"
25539 CXX="$CXX $switch"
25540 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
25541 /* end confdefs.h. */
25542
25543
25544 // If the compiler admits that it is not ready for C++11, why torture it?
25545 // Hopefully, this will speed up the test.
25546
25547 #ifndef __cplusplus
25548
25549 #error "This is not a C++ compiler"
25550
25551 // MSVC always sets __cplusplus to 199711L in older versions; newer versions
25552 // only set it correctly if /Zc:__cplusplus is specified as well as a
25553 // /std:c++NN switch:
25554 //
25555 // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
25556 //
25557 // The value __cplusplus ought to have is available in _MSVC_LANG since
25558 // Visual Studio 2015 Update 3:
25559 //
25560 // https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros
25561 //
25562 // This was also the first MSVC version to support C++14 so we can't use the
25563 // value of either __cplusplus or _MSVC_LANG to quickly rule out MSVC having
25564 // C++11 or C++14 support, but we can check _MSVC_LANG for C++17 and later.
25565 #elif __cplusplus < 201103L && !defined _MSC_VER
25566
25567 #error "This is not a C++11 compiler"
25568
25569 #else
25570
25571 namespace cxx11
25572 {
25573
25574 namespace test_static_assert
25575 {
25576
25577 template <typename T>
25578 struct check
25579 {
25580 static_assert(sizeof(int) <= sizeof(T), "not big enough");
25581 };
25582
25583 }
25584
25585 namespace test_final_override
25586 {
25587
25588 struct Base
25589 {
25590 virtual ~Base() {}
25591 virtual void f() {}
25592 };
25593
25594 struct Derived : public Base
25595 {
25596 virtual ~Derived() override {}
25597 virtual void f() override {}
25598 };
25599
25600 }
25601
25602 namespace test_double_right_angle_brackets
25603 {
25604
25605 template < typename T >
25606 struct check {};
25607
25608 typedef check<void> single_type;
25609 typedef check<check<void>> double_type;
25610 typedef check<check<check<void>>> triple_type;
25611 typedef check<check<check<check<void>>>> quadruple_type;
25612
25613 }
25614
25615 namespace test_decltype
25616 {
25617
25618 int
25619 f()
25620 {
25621 int a = 1;
25622 decltype(a) b = 2;
25623 return a + b;
25624 }
25625
25626 }
25627
25628 namespace test_type_deduction
25629 {
25630
25631 template < typename T1, typename T2 >
25632 struct is_same
25633 {
25634 static const bool value = false;
25635 };
25636
25637 template < typename T >
25638 struct is_same<T, T>
25639 {
25640 static const bool value = true;
25641 };
25642
25643 template < typename T1, typename T2 >
25644 auto
25645 add(T1 a1, T2 a2) -> decltype(a1 + a2)
25646 {
25647 return a1 + a2;
25648 }
25649
25650 int
25651 test(const int c, volatile int v)
25652 {
25653 static_assert(is_same<int, decltype(0)>::value == true, "");
25654 static_assert(is_same<int, decltype(c)>::value == false, "");
25655 static_assert(is_same<int, decltype(v)>::value == false, "");
25656 auto ac = c;
25657 auto av = v;
25658 auto sumi = ac + av + 'x';
25659 auto sumf = ac + av + 1.0;
25660 static_assert(is_same<int, decltype(ac)>::value == true, "");
25661 static_assert(is_same<int, decltype(av)>::value == true, "");
25662 static_assert(is_same<int, decltype(sumi)>::value == true, "");
25663 static_assert(is_same<int, decltype(sumf)>::value == false, "");
25664 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
25665 return (sumf > 0.0) ? sumi : add(c, v);
25666 }
25667
25668 }
25669
25670 namespace test_noexcept
25671 {
25672
25673 int f() { return 0; }
25674 int g() noexcept { return 0; }
25675
25676 static_assert(noexcept(f()) == false, "");
25677 static_assert(noexcept(g()) == true, "");
25678
25679 }
25680
25681 namespace test_constexpr
25682 {
25683
25684 template < typename CharT >
25685 unsigned long constexpr
25686 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
25687 {
25688 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
25689 }
25690
25691 template < typename CharT >
25692 unsigned long constexpr
25693 strlen_c(const CharT *const s) noexcept
25694 {
25695 return strlen_c_r(s, 0UL);
25696 }
25697
25698 static_assert(strlen_c("") == 0UL, "");
25699 static_assert(strlen_c("1") == 1UL, "");
25700 static_assert(strlen_c("example") == 7UL, "");
25701 static_assert(strlen_c("another\0example") == 7UL, "");
25702
25703 }
25704
25705 namespace test_rvalue_references
25706 {
25707
25708 template < int N >
25709 struct answer
25710 {
25711 static constexpr int value = N;
25712 };
25713
25714 answer<1> f(int&) { return answer<1>(); }
25715 answer<2> f(const int&) { return answer<2>(); }
25716 answer<3> f(int&&) { return answer<3>(); }
25717
25718 void
25719 test()
25720 {
25721 int i = 0;
25722 const int c = 0;
25723 static_assert(decltype(f(i))::value == 1, "");
25724 static_assert(decltype(f(c))::value == 2, "");
25725 static_assert(decltype(f(0))::value == 3, "");
25726 }
25727
25728 }
25729
25730 namespace test_uniform_initialization
25731 {
25732
25733 struct test
25734 {
25735 static const int zero {};
25736 static const int one {1};
25737 };
25738
25739 static_assert(test::zero == 0, "");
25740 static_assert(test::one == 1, "");
25741
25742 }
25743
25744 namespace test_lambdas
25745 {
25746
25747 void
25748 test1()
25749 {
25750 auto lambda1 = [](){};
25751 auto lambda2 = lambda1;
25752 lambda1();
25753 lambda2();
25754 }
25755
25756 int
25757 test2()
25758 {
25759 auto a = [](int i, int j){ return i + j; }(1, 2);
25760 auto b = []() -> int { return '0'; }();
25761 auto c = [=](){ return a + b; }();
25762 auto d = [&](){ return c; }();
25763 auto e = [a, &b](int x) mutable {
25764 const auto identity = [](int y){ return y; };
25765 for (auto i = 0; i < a; ++i)
25766 a += b--;
25767 return x + identity(a + b);
25768 }(0);
25769 return a + b + c + d + e;
25770 }
25771
25772 int
25773 test3()
25774 {
25775 const auto nullary = [](){ return 0; };
25776 const auto unary = [](int x){ return x; };
25777 using nullary_t = decltype(nullary);
25778 using unary_t = decltype(unary);
25779 const auto higher1st = [](nullary_t f){ return f(); };
25780 const auto higher2nd = [unary](nullary_t f1){
25781 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
25782 };
25783 return higher1st(nullary) + higher2nd(nullary)(unary);
25784 }
25785
25786 }
25787
25788 namespace test_variadic_templates
25789 {
25790
25791 template <int...>
25792 struct sum;
25793
25794 template <int N0, int... N1toN>
25795 struct sum<N0, N1toN...>
25796 {
25797 static constexpr auto value = N0 + sum<N1toN...>::value;
25798 };
25799
25800 template <>
25801 struct sum<>
25802 {
25803 static constexpr auto value = 0;
25804 };
25805
25806 static_assert(sum<>::value == 0, "");
25807 static_assert(sum<1>::value == 1, "");
25808 static_assert(sum<23>::value == 23, "");
25809 static_assert(sum<1, 2>::value == 3, "");
25810 static_assert(sum<5, 5, 11>::value == 21, "");
25811 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
25812
25813 }
25814
25815 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
25816 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
25817 // because of this.
25818 namespace test_template_alias_sfinae
25819 {
25820
25821 struct foo {};
25822
25823 template<typename T>
25824 using member = typename T::member_type;
25825
25826 template<typename T>
25827 void func(...) {}
25828
25829 template<typename T>
25830 void func(member<T>*) {}
25831
25832 void test();
25833
25834 void test() { func<foo>(0); }
25835
25836 }
25837
25838 } // namespace cxx11
25839
25840 #endif // __cplusplus >= 201103L
25841
25842
25843
25844
25845 // If the compiler admits that it is not ready for C++14, why torture it?
25846 // Hopefully, this will speed up the test.
25847
25848 #ifndef __cplusplus
25849
25850 #error "This is not a C++ compiler"
25851
25852 #elif __cplusplus < 201402L && !defined _MSC_VER
25853
25854 #error "This is not a C++14 compiler"
25855
25856 #else
25857
25858 namespace cxx14
25859 {
25860
25861 namespace test_polymorphic_lambdas
25862 {
25863
25864 int
25865 test()
25866 {
25867 const auto lambda = [](auto&&... args){
25868 const auto istiny = [](auto x){
25869 return (sizeof(x) == 1UL) ? 1 : 0;
25870 };
25871 const int aretiny[] = { istiny(args)... };
25872 return aretiny[0];
25873 };
25874 return lambda(1, 1L, 1.0f, '1');
25875 }
25876
25877 }
25878
25879 namespace test_binary_literals
25880 {
25881
25882 constexpr auto ivii = 0b0000000000101010;
25883 static_assert(ivii == 42, "wrong value");
25884
25885 }
25886
25887 namespace test_generalized_constexpr
25888 {
25889
25890 template < typename CharT >
25891 constexpr unsigned long
25892 strlen_c(const CharT *const s) noexcept
25893 {
25894 auto length = 0UL;
25895 for (auto p = s; *p; ++p)
25896 ++length;
25897 return length;
25898 }
25899
25900 static_assert(strlen_c("") == 0UL, "");
25901 static_assert(strlen_c("x") == 1UL, "");
25902 static_assert(strlen_c("test") == 4UL, "");
25903 static_assert(strlen_c("another\0test") == 7UL, "");
25904
25905 }
25906
25907 namespace test_lambda_init_capture
25908 {
25909
25910 int
25911 test()
25912 {
25913 auto x = 0;
25914 const auto lambda1 = [a = x](int b){ return a + b; };
25915 const auto lambda2 = [a = lambda1(x)](){ return a; };
25916 return lambda2();
25917 }
25918
25919 }
25920
25921 namespace test_digit_separators
25922 {
25923
25924 constexpr auto ten_million = 100'000'000;
25925 static_assert(ten_million == 100000000, "");
25926
25927 }
25928
25929 namespace test_return_type_deduction
25930 {
25931
25932 auto f(int& x) { return x; }
25933 decltype(auto) g(int& x) { return x; }
25934
25935 template < typename T1, typename T2 >
25936 struct is_same
25937 {
25938 static constexpr auto value = false;
25939 };
25940
25941 template < typename T >
25942 struct is_same<T, T>
25943 {
25944 static constexpr auto value = true;
25945 };
25946
25947 int
25948 test()
25949 {
25950 auto x = 0;
25951 static_assert(is_same<int, decltype(f(x))>::value, "");
25952 static_assert(is_same<int&, decltype(g(x))>::value, "");
25953 return x;
25954 }
25955
25956 }
25957
25958 } // namespace cxx14
25959
25960 #endif // __cplusplus >= 201402L
25961
25962
25963
25964
25965 // If the compiler admits that it is not ready for C++17, why torture it?
25966 // Hopefully, this will speed up the test.
25967
25968 #ifndef __cplusplus
25969
25970 #error "This is not a C++ compiler"
25971
25972 #elif (defined _MSVC_LANG ? _MSVC_LANG : __cplusplus) < 201703L
25973
25974 #error "This is not a C++17 compiler"
25975
25976 #else
25977
25978 #include <initializer_list>
25979 #include <utility>
25980 #include <type_traits>
25981
25982 namespace cxx17
25983 {
25984
25985 namespace test_constexpr_lambdas
25986 {
25987
25988 constexpr int foo = [](){return 42;}();
25989
25990 }
25991
25992 namespace test::nested_namespace::definitions
25993 {
25994
25995 }
25996
25997 namespace test_fold_expression
25998 {
25999
26000 template<typename... Args>
26001 int multiply(Args... args)
26002 {
26003 return (args * ... * 1);
26004 }
26005
26006 template<typename... Args>
26007 bool all(Args... args)
26008 {
26009 return (args && ...);
26010 }
26011
26012 }
26013
26014 namespace test_extended_static_assert
26015 {
26016
26017 static_assert (true);
26018
26019 }
26020
26021 namespace test_auto_brace_init_list
26022 {
26023
26024 auto foo = {5};
26025 auto bar {5};
26026
26027 static_assert(std::is_same<std::initializer_list<int>, decltype(foo)>::value);
26028 static_assert(std::is_same<int, decltype(bar)>::value);
26029 }
26030
26031 namespace test_typename_in_template_template_parameter
26032 {
26033
26034 template<template<typename> typename X> struct D;
26035
26036 }
26037
26038 namespace test_fallthrough_nodiscard_maybe_unused_attributes
26039 {
26040
26041 int f1()
26042 {
26043 return 42;
26044 }
26045
26046 [[nodiscard]] int f2()
26047 {
26048 [[maybe_unused]] auto unused = f1();
26049
26050 switch (f1())
26051 {
26052 case 17:
26053 f1();
26054 [[fallthrough]];
26055 case 42:
26056 f1();
26057 }
26058 return f1();
26059 }
26060
26061 }
26062
26063 namespace test_extended_aggregate_initialization
26064 {
26065
26066 struct base1
26067 {
26068 int b1, b2 = 42;
26069 };
26070
26071 struct base2
26072 {
26073 base2() {
26074 b3 = 42;
26075 }
26076 int b3;
26077 };
26078
26079 struct derived : base1, base2
26080 {
26081 int d;
26082 };
26083
26084 derived d1 {{1, 2}, {}, 4}; // full initialization
26085 derived d2 {{}, {}, 4}; // value-initialized bases
26086
26087 }
26088
26089 namespace test_general_range_based_for_loop
26090 {
26091
26092 struct iter
26093 {
26094 int i;
26095
26096 int& operator* ()
26097 {
26098 return i;
26099 }
26100
26101 const int& operator* () const
26102 {
26103 return i;
26104 }
26105
26106 iter& operator++()
26107 {
26108 ++i;
26109 return *this;
26110 }
26111 };
26112
26113 struct sentinel
26114 {
26115 int i;
26116 };
26117
26118 bool operator== (const iter& i, const sentinel& s)
26119 {
26120 return i.i == s.i;
26121 }
26122
26123 bool operator!= (const iter& i, const sentinel& s)
26124 {
26125 return !(i == s);
26126 }
26127
26128 struct range
26129 {
26130 iter begin() const
26131 {
26132 return {0};
26133 }
26134
26135 sentinel end() const
26136 {
26137 return {5};
26138 }
26139 };
26140
26141 void f()
26142 {
26143 range r {};
26144
26145 for (auto i : r)
26146 {
26147 [[maybe_unused]] auto v = i;
26148 }
26149 }
26150
26151 }
26152
26153 namespace test_lambda_capture_asterisk_this_by_value
26154 {
26155
26156 struct t
26157 {
26158 int i;
26159 int foo()
26160 {
26161 return [*this]()
26162 {
26163 return i;
26164 }();
26165 }
26166 };
26167
26168 }
26169
26170 namespace test_enum_class_construction
26171 {
26172
26173 enum class byte : unsigned char
26174 {};
26175
26176 byte foo {42};
26177
26178 }
26179
26180 namespace test_constexpr_if
26181 {
26182
26183 template <bool cond>
26184 int f ()
26185 {
26186 if constexpr(cond)
26187 {
26188 return 13;
26189 }
26190 else
26191 {
26192 return 42;
26193 }
26194 }
26195
26196 }
26197
26198 namespace test_selection_statement_with_initializer
26199 {
26200
26201 int f()
26202 {
26203 return 13;
26204 }
26205
26206 int f2()
26207 {
26208 if (auto i = f(); i > 0)
26209 {
26210 return 3;
26211 }
26212
26213 switch (auto i = f(); i + 4)
26214 {
26215 case 17:
26216 return 2;
26217
26218 default:
26219 return 1;
26220 }
26221 }
26222
26223 }
26224
26225 namespace test_template_argument_deduction_for_class_templates
26226 {
26227
26228 template <typename T1, typename T2>
26229 struct pair
26230 {
26231 pair (T1 p1, T2 p2)
26232 : m1 {p1},
26233 m2 {p2}
26234 {}
26235
26236 T1 m1;
26237 T2 m2;
26238 };
26239
26240 void f()
26241 {
26242 [[maybe_unused]] auto p = pair{13, 42u};
26243 }
26244
26245 }
26246
26247 namespace test_non_type_auto_template_parameters
26248 {
26249
26250 template <auto n>
26251 struct B
26252 {};
26253
26254 B<5> b1;
26255 B<'a'> b2;
26256
26257 }
26258
26259 namespace test_structured_bindings
26260 {
26261
26262 int arr[2] = { 1, 2 };
26263 std::pair<int, int> pr = { 1, 2 };
26264
26265 auto f1() -> int(&)[2]
26266 {
26267 return arr;
26268 }
26269
26270 auto f2() -> std::pair<int, int>&
26271 {
26272 return pr;
26273 }
26274
26275 struct S
26276 {
26277 int x1 : 2;
26278 volatile double y1;
26279 };
26280
26281 S f3()
26282 {
26283 return {};
26284 }
26285
26286 auto [ x1, y1 ] = f1();
26287 auto& [ xr1, yr1 ] = f1();
26288 auto [ x2, y2 ] = f2();
26289 auto& [ xr2, yr2 ] = f2();
26290 const auto [ x3, y3 ] = f3();
26291
26292 }
26293
26294 namespace test_exception_spec_type_system
26295 {
26296
26297 struct Good {};
26298 struct Bad {};
26299
26300 void g1() noexcept;
26301 void g2();
26302
26303 template<typename T>
26304 Bad
26305 f(T*, T*);
26306
26307 template<typename T1, typename T2>
26308 Good
26309 f(T1*, T2*);
26310
26311 static_assert (std::is_same_v<Good, decltype(f(g1, g2))>);
26312
26313 }
26314
26315 namespace test_inline_variables
26316 {
26317
26318 template<class T> void f(T)
26319 {}
26320
26321 template<class T> inline T g(T)
26322 {
26323 return T{};
26324 }
26325
26326 template<> inline void f<>(int)
26327 {}
26328
26329 template<> int g<>(int)
26330 {
26331 return 5;
26332 }
26333
26334 }
26335
26336 } // namespace cxx17
26337
26338 #endif // (defined _MSVC_LANG ? _MSVC_LANG : __cplusplus) < 201703L
26339
26340
26341
26342 _ACEOF
26343 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
26344 then :
26345 eval $cachevar=yes
26346 else $as_nop
26347 eval $cachevar=no
26348 fi
26349 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26350 CXX="$ac_save_CXX"
26351 fi
26352 eval ac_res=\$$cachevar
26353 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
26354 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
26355 if eval test x\$$cachevar = xyes; then
26356 CXX="$CXX $switch"
26357 if testscip-shell system . . test. -n "$CXXCPP" ; then
26358 CXXCPP="$CXXCPP $switch"
26359 fi
26360 ac_success=yes
26361 break
26362 fi
26363 done
26364 if testscip-shell system . . test. x$ac_success = xyes; then
26365 break
26366 fi
26367 done
26368 fi
26369 ac_ext=c
26370 ac_cpp='$CPP $CPPFLAGS'
26371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26374
26375 if testscip-shell system . . test. x$ax_cxx_compile_cxx17_required = xtrue; then
26376 if testscip-shell system . . test. x$ac_success = xno; then
26377 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "*** A compiler with support for C++17 language features is required." "$LINENO" 5
26378 fi
26379 fi
26380 if testscip-shell system . . test. x$ac_success = xno; then
26381 HAVE_CXX17=0
26382 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++17 support was found" >&5
26383 printfscip-shell system . . printf. "%s\n" "$as_me: No compiler with C++17 support was found" >&6;}
26384 else
26385 HAVE_CXX17=1
26386
26387 printfscip-shell system . . printf. "%s\n" "#define HAVE_CXX17 1" >>confdefs.h
26388
26389 fi
26390
26391
26392 else
26393 ax_cxx_compile_alternatives="14 1y" ax_cxx_compile_cxx14_required=true
26394 ac_ext=cpp
26395 ac_cpp='$CXXCPP $CPPFLAGS'
26396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26399 ac_success=no
26400
26401
26402
26403
26404
26405 if testscip-shell system . . test. x$ac_success = xno; then
26406 for alternative in ${ax_cxx_compile_alternatives}; do
26407 for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}" MSVC; do
26408 if testscip-shell system . . test. x"$switch" = xMSVC; then
26409 switch=-std:c++${alternative}
26410 cachevar=`printfscip-shell system . . printf. "%s\n" "ax_cv_cxx_compile_cxx14_${switch}_MSVC" | $as_tr_sh`
26411 else
26412 cachevar=`printfscip-shell system . . printf. "%s\n" "ax_cv_cxx_compile_cxx14_$switch" | $as_tr_sh`
26413 fi
26414 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features with $switch" >&5
26415 printfscip-shell system . . printf. %s "checking whether $CXX supports C++14 features with $switch... " >&6; }
26416 if eval test \${$cachevar+y}
26417 then :
26418 printfscip-shell system . . printf. %s "(cached) " >&6
26419 else $as_nop
26420 ac_save_CXX="$CXX"
26421 CXX="$CXX $switch"
26422 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
26423 /* end confdefs.h. */
26424
26425
26426 // If the compiler admits that it is not ready for C++11, why torture it?
26427 // Hopefully, this will speed up the test.
26428
26429 #ifndef __cplusplus
26430
26431 #error "This is not a C++ compiler"
26432
26433 // MSVC always sets __cplusplus to 199711L in older versions; newer versions
26434 // only set it correctly if /Zc:__cplusplus is specified as well as a
26435 // /std:c++NN switch:
26436 //
26437 // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
26438 //
26439 // The value __cplusplus ought to have is available in _MSVC_LANG since
26440 // Visual Studio 2015 Update 3:
26441 //
26442 // https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros
26443 //
26444 // This was also the first MSVC version to support C++14 so we can't use the
26445 // value of either __cplusplus or _MSVC_LANG to quickly rule out MSVC having
26446 // C++11 or C++14 support, but we can check _MSVC_LANG for C++17 and later.
26447 #elif __cplusplus < 201103L && !defined _MSC_VER
26448
26449 #error "This is not a C++11 compiler"
26450
26451 #else
26452
26453 namespace cxx11
26454 {
26455
26456 namespace test_static_assert
26457 {
26458
26459 template <typename T>
26460 struct check
26461 {
26462 static_assert(sizeof(int) <= sizeof(T), "not big enough");
26463 };
26464
26465 }
26466
26467 namespace test_final_override
26468 {
26469
26470 struct Base
26471 {
26472 virtual ~Base() {}
26473 virtual void f() {}
26474 };
26475
26476 struct Derived : public Base
26477 {
26478 virtual ~Derived() override {}
26479 virtual void f() override {}
26480 };
26481
26482 }
26483
26484 namespace test_double_right_angle_brackets
26485 {
26486
26487 template < typename T >
26488 struct check {};
26489
26490 typedef check<void> single_type;
26491 typedef check<check<void>> double_type;
26492 typedef check<check<check<void>>> triple_type;
26493 typedef check<check<check<check<void>>>> quadruple_type;
26494
26495 }
26496
26497 namespace test_decltype
26498 {
26499
26500 int
26501 f()
26502 {
26503 int a = 1;
26504 decltype(a) b = 2;
26505 return a + b;
26506 }
26507
26508 }
26509
26510 namespace test_type_deduction
26511 {
26512
26513 template < typename T1, typename T2 >
26514 struct is_same
26515 {
26516 static const bool value = false;
26517 };
26518
26519 template < typename T >
26520 struct is_same<T, T>
26521 {
26522 static const bool value = true;
26523 };
26524
26525 template < typename T1, typename T2 >
26526 auto
26527 add(T1 a1, T2 a2) -> decltype(a1 + a2)
26528 {
26529 return a1 + a2;
26530 }
26531
26532 int
26533 test(const int c, volatile int v)
26534 {
26535 static_assert(is_same<int, decltype(0)>::value == true, "");
26536 static_assert(is_same<int, decltype(c)>::value == false, "");
26537 static_assert(is_same<int, decltype(v)>::value == false, "");
26538 auto ac = c;
26539 auto av = v;
26540 auto sumi = ac + av + 'x';
26541 auto sumf = ac + av + 1.0;
26542 static_assert(is_same<int, decltype(ac)>::value == true, "");
26543 static_assert(is_same<int, decltype(av)>::value == true, "");
26544 static_assert(is_same<int, decltype(sumi)>::value == true, "");
26545 static_assert(is_same<int, decltype(sumf)>::value == false, "");
26546 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
26547 return (sumf > 0.0) ? sumi : add(c, v);
26548 }
26549
26550 }
26551
26552 namespace test_noexcept
26553 {
26554
26555 int f() { return 0; }
26556 int g() noexcept { return 0; }
26557
26558 static_assert(noexcept(f()) == false, "");
26559 static_assert(noexcept(g()) == true, "");
26560
26561 }
26562
26563 namespace test_constexpr
26564 {
26565
26566 template < typename CharT >
26567 unsigned long constexpr
26568 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
26569 {
26570 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
26571 }
26572
26573 template < typename CharT >
26574 unsigned long constexpr
26575 strlen_c(const CharT *const s) noexcept
26576 {
26577 return strlen_c_r(s, 0UL);
26578 }
26579
26580 static_assert(strlen_c("") == 0UL, "");
26581 static_assert(strlen_c("1") == 1UL, "");
26582 static_assert(strlen_c("example") == 7UL, "");
26583 static_assert(strlen_c("another\0example") == 7UL, "");
26584
26585 }
26586
26587 namespace test_rvalue_references
26588 {
26589
26590 template < int N >
26591 struct answer
26592 {
26593 static constexpr int value = N;
26594 };
26595
26596 answer<1> f(int&) { return answer<1>(); }
26597 answer<2> f(const int&) { return answer<2>(); }
26598 answer<3> f(int&&) { return answer<3>(); }
26599
26600 void
26601 test()
26602 {
26603 int i = 0;
26604 const int c = 0;
26605 static_assert(decltype(f(i))::value == 1, "");
26606 static_assert(decltype(f(c))::value == 2, "");
26607 static_assert(decltype(f(0))::value == 3, "");
26608 }
26609
26610 }
26611
26612 namespace test_uniform_initialization
26613 {
26614
26615 struct test
26616 {
26617 static const int zero {};
26618 static const int one {1};
26619 };
26620
26621 static_assert(test::zero == 0, "");
26622 static_assert(test::one == 1, "");
26623
26624 }
26625
26626 namespace test_lambdas
26627 {
26628
26629 void
26630 test1()
26631 {
26632 auto lambda1 = [](){};
26633 auto lambda2 = lambda1;
26634 lambda1();
26635 lambda2();
26636 }
26637
26638 int
26639 test2()
26640 {
26641 auto a = [](int i, int j){ return i + j; }(1, 2);
26642 auto b = []() -> int { return '0'; }();
26643 auto c = [=](){ return a + b; }();
26644 auto d = [&](){ return c; }();
26645 auto e = [a, &b](int x) mutable {
26646 const auto identity = [](int y){ return y; };
26647 for (auto i = 0; i < a; ++i)
26648 a += b--;
26649 return x + identity(a + b);
26650 }(0);
26651 return a + b + c + d + e;
26652 }
26653
26654 int
26655 test3()
26656 {
26657 const auto nullary = [](){ return 0; };
26658 const auto unary = [](int x){ return x; };
26659 using nullary_t = decltype(nullary);
26660 using unary_t = decltype(unary);
26661 const auto higher1st = [](nullary_t f){ return f(); };
26662 const auto higher2nd = [unary](nullary_t f1){
26663 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
26664 };
26665 return higher1st(nullary) + higher2nd(nullary)(unary);
26666 }
26667
26668 }
26669
26670 namespace test_variadic_templates
26671 {
26672
26673 template <int...>
26674 struct sum;
26675
26676 template <int N0, int... N1toN>
26677 struct sum<N0, N1toN...>
26678 {
26679 static constexpr auto value = N0 + sum<N1toN...>::value;
26680 };
26681
26682 template <>
26683 struct sum<>
26684 {
26685 static constexpr auto value = 0;
26686 };
26687
26688 static_assert(sum<>::value == 0, "");
26689 static_assert(sum<1>::value == 1, "");
26690 static_assert(sum<23>::value == 23, "");
26691 static_assert(sum<1, 2>::value == 3, "");
26692 static_assert(sum<5, 5, 11>::value == 21, "");
26693 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
26694
26695 }
26696
26697 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
26698 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
26699 // because of this.
26700 namespace test_template_alias_sfinae
26701 {
26702
26703 struct foo {};
26704
26705 template<typename T>
26706 using member = typename T::member_type;
26707
26708 template<typename T>
26709 void func(...) {}
26710
26711 template<typename T>
26712 void func(member<T>*) {}
26713
26714 void test();
26715
26716 void test() { func<foo>(0); }
26717
26718 }
26719
26720 } // namespace cxx11
26721
26722 #endif // __cplusplus >= 201103L
26723
26724
26725
26726
26727 // If the compiler admits that it is not ready for C++14, why torture it?
26728 // Hopefully, this will speed up the test.
26729
26730 #ifndef __cplusplus
26731
26732 #error "This is not a C++ compiler"
26733
26734 #elif __cplusplus < 201402L && !defined _MSC_VER
26735
26736 #error "This is not a C++14 compiler"
26737
26738 #else
26739
26740 namespace cxx14
26741 {
26742
26743 namespace test_polymorphic_lambdas
26744 {
26745
26746 int
26747 test()
26748 {
26749 const auto lambda = [](auto&&... args){
26750 const auto istiny = [](auto x){
26751 return (sizeof(x) == 1UL) ? 1 : 0;
26752 };
26753 const int aretiny[] = { istiny(args)... };
26754 return aretiny[0];
26755 };
26756 return lambda(1, 1L, 1.0f, '1');
26757 }
26758
26759 }
26760
26761 namespace test_binary_literals
26762 {
26763
26764 constexpr auto ivii = 0b0000000000101010;
26765 static_assert(ivii == 42, "wrong value");
26766
26767 }
26768
26769 namespace test_generalized_constexpr
26770 {
26771
26772 template < typename CharT >
26773 constexpr unsigned long
26774 strlen_c(const CharT *const s) noexcept
26775 {
26776 auto length = 0UL;
26777 for (auto p = s; *p; ++p)
26778 ++length;
26779 return length;
26780 }
26781
26782 static_assert(strlen_c("") == 0UL, "");
26783 static_assert(strlen_c("x") == 1UL, "");
26784 static_assert(strlen_c("test") == 4UL, "");
26785 static_assert(strlen_c("another\0test") == 7UL, "");
26786
26787 }
26788
26789 namespace test_lambda_init_capture
26790 {
26791
26792 int
26793 test()
26794 {
26795 auto x = 0;
26796 const auto lambda1 = [a = x](int b){ return a + b; };
26797 const auto lambda2 = [a = lambda1(x)](){ return a; };
26798 return lambda2();
26799 }
26800
26801 }
26802
26803 namespace test_digit_separators
26804 {
26805
26806 constexpr auto ten_million = 100'000'000;
26807 static_assert(ten_million == 100000000, "");
26808
26809 }
26810
26811 namespace test_return_type_deduction
26812 {
26813
26814 auto f(int& x) { return x; }
26815 decltype(auto) g(int& x) { return x; }
26816
26817 template < typename T1, typename T2 >
26818 struct is_same
26819 {
26820 static constexpr auto value = false;
26821 };
26822
26823 template < typename T >
26824 struct is_same<T, T>
26825 {
26826 static constexpr auto value = true;
26827 };
26828
26829 int
26830 test()
26831 {
26832 auto x = 0;
26833 static_assert(is_same<int, decltype(f(x))>::value, "");
26834 static_assert(is_same<int&, decltype(g(x))>::value, "");
26835 return x;
26836 }
26837
26838 }
26839
26840 } // namespace cxx14
26841
26842 #endif // __cplusplus >= 201402L
26843
26844
26845
26846 _ACEOF
26847 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
26848 then :
26849 eval $cachevar=yes
26850 else $as_nop
26851 eval $cachevar=no
26852 fi
26853 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26854 CXX="$ac_save_CXX"
26855 fi
26856 eval ac_res=\$$cachevar
26857 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
26858 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
26859 if eval test x\$$cachevar = xyes; then
26860 CXX="$CXX $switch"
26861 if testscip-shell system . . test. -n "$CXXCPP" ; then
26862 CXXCPP="$CXXCPP $switch"
26863 fi
26864 ac_success=yes
26865 break
26866 fi
26867 done
26868 if testscip-shell system . . test. x$ac_success = xyes; then
26869 break
26870 fi
26871 done
26872 fi
26873 ac_ext=c
26874 ac_cpp='$CPP $CPPFLAGS'
26875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26878
26879 if testscip-shell system . . test. x$ax_cxx_compile_cxx14_required = xtrue; then
26880 if testscip-shell system . . test. x$ac_success = xno; then
26881 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "*** A compiler with support for C++14 language features is required." "$LINENO" 5
26882 fi
26883 fi
26884 if testscip-shell system . . test. x$ac_success = xno; then
26885 HAVE_CXX14=0
26886 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++14 support was found" >&5
26887 printfscip-shell system . . printf. "%s\n" "$as_me: No compiler with C++14 support was found" >&6;}
26888 else
26889 HAVE_CXX14=1
26890
26891 printfscip-shell system . . printf. "%s\n" "#define HAVE_CXX14 1" >>confdefs.h
26892
26893 fi
26894
26895
26896 fi
26897 fi
26898 fi
26899 if testscip-shell system . . test. "x$build_tests" != "xno" ; then
26900 build_tests=yes
26901
26902 if testscip-shell system . . test. "$ac_cv_native_windows" != "yes" ; then
26903
26904
26905
26906
26907 ac_ext=c
26908 ac_cpp='$CPP $CPPFLAGS'
26909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26912
26913 ax_pthread_ok=no
26914
26915 # We used to check for pthread.h first, but this fails if pthread.h
26916 # requires special compiler flags (e.g. on Tru64 or Sequent).
26917 # It gets checked for in the link test anyway.
26918
26919 # First of all, check if the user has set any of the PTHREAD_LIBS,
26920 # etcetera environment variables, and if threads linking works using
26921 # them:
26922 if testscip-shell system . . test. "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
26923 ax_pthread_save_CC="$CC"
26924 ax_pthread_save_CFLAGS="$CFLAGS"
26925 ax_pthread_save_LIBS="$LIBS"
26926 if testscip-shell system . . test. "x$PTHREAD_CC" != "x"
26927 then :
26928 CC="$PTHREAD_CC"
26929 fi
26930 if testscip-shell system . . test. "x$PTHREAD_CXX" != "x"
26931 then :
26932 CXX="$PTHREAD_CXX"
26933 fi
26934 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
26935 LIBS="$PTHREAD_LIBS $LIBS"
26936 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
26937 printfscip-shell system . . printf. %s "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
26938 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
26939 /* end confdefs.h. */
26940
26941 /* Override any GCC internal prototype to avoid an error.
26942 Use char because int might match the return type of a GCC
26943 builtin and then its argument prototype would still apply. */
26944 char pthread_join ();
26945 int
26946 main (void)
26947 {
26948 return pthread_join ();
26949 ;
26950 return 0;
26951 }
26952 _ACEOF
26953 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
26954 then :
26955 ax_pthread_ok=yes
26956 fi
26957 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
26958 conftest$ac_exeext conftest.$ac_ext
26959 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
26960 printfscip-shell system . . printf. "%s\n" "$ax_pthread_ok" >&6; }
26961 if testscip-shell system . . test. "x$ax_pthread_ok" = "xno"; then
26962 PTHREAD_LIBS=""
26963 PTHREAD_CFLAGS=""
26964 fi
26965 CC="$ax_pthread_save_CC"
26966 CFLAGS="$ax_pthread_save_CFLAGS"
26967 LIBS="$ax_pthread_save_LIBS"
26968 fi
26969
26970 # We must check for the threads library under a number of different
26971 # names; the ordering is very important because some systems
26972 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
26973 # libraries is broken (non-POSIX).
26974
26975 # Create a list of thread flags to try. Items with a "," contain both
26976 # C compiler flags (before ",") and linker flags (after ","). Other items
26977 # starting with a "-" are C compiler flags, and remaining items are
26978 # library names, except for "none" which indicates that we try without
26979 # any flags at all, and "pthread-config" which is a program returning
26980 # the flags for the Pth emulation library.
26981
26982 ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
26983
26984 # The ordering *is* (sometimes) important. Some notes on the
26985 # individual items follow:
26986
26987 # pthreads: AIX (must check this before -lpthread)
26988 # none: in case threads are in libc; should be tried before -Kthread and
26989 # other compiler flags to prevent continual compiler warnings
26990 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
26991 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
26992 # (Note: HP C rejects this with "bad form for `-t' option")
26993 # -pthreads: Solaris/gcc (Note: HP C also rejects)
26994 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
26995 # doesn't hurt to check since this sometimes defines pthreads and
26996 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
26997 # is present but should not be used directly; and before -mthreads,
26998 # because the compiler interprets this as "-mt" + "-hreads")
26999 # -mthreads: Mingw32/gcc, Lynx/gcc
27000 # pthread: Linux, etcetera
27001 # --thread-safe: KAI C++
27002 # pthread-config: use pthread-config program (for GNU Pth library)
27003
27004 case $host_os in
27005
27006 freebsd*|midnightbsd*)
27007
27008 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
27009 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
27010
27011 ax_pthread_flags="-kthread lthread $ax_pthread_flags"
27012 ;;
27013
27014 hpux*)
27015
27016 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
27017 # multi-threading and also sets -lpthread."
27018
27019 ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
27020 ;;
27021
27022 openedition*)
27023
27024 # IBM z/OS requires a feature-test macro to be defined in order to
27025 # enable POSIX threads at all, so give the user a hint if this is
27026 # not set. (We don't define these ourselves, as they can affect
27027 # other portions of the system API in unpredictable ways.)
27028
27029 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
27030 /* end confdefs.h. */
27031
27032 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
27033 AX_PTHREAD_ZOS_MISSING
27034 # endif
27035
27036 _ACEOF
27037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
27038 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
27039 then :
27040 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
27041 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
27042 fi
27043 rmscip-shell system . . rm. -rf conftest*
27044
27045 ;;
27046
27047 solaris*)
27048
27049 # On Solaris (at least, for some versions), libc contains stubbed
27050 # (non-functional) versions of the pthreads routines, so link-based
27051 # tests will erroneously succeed. (N.B.: The stubs are missing
27052 # pthread_cleanup_push, or rather a function called by this macro,
27053 # so we could check for that, but who knows whether they'll stub
27054 # that too in a future libc.) So we'll check first for the
27055 # standard Solaris way of linking pthreads (-mt -lpthread).
27056
27057 ax_pthread_flags="-mt,-lpthread pthread $ax_pthread_flags"
27058 ;;
27059 esac
27060
27061 # Are we compiling with Clang?
27062
27063 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
27064 printfscip-shell system . . printf. %s "checking whether $CC is Clang... " >&6; }
27065 if testscip-shell system . . test. ${ax_cv_PTHREAD_CLANG+y}
27066 then :
27067 printfscip-shell system . . printf. %s "(cached) " >&6
27068 else $as_nop
27069 ax_cv_PTHREAD_CLANG=no
27070 # Note that Autoconf sets GCC=yes for Clang as well as GCC
27071 if testscip-shell system . . test. "x$GCC" = "xyes"; then
27072 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
27073 /* end confdefs.h. */
27074 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
27075 # if defined(__clang__) && defined(__llvm__)
27076 AX_PTHREAD_CC_IS_CLANG
27077 # endif
27078
27079 _ACEOF
27080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
27081 $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
27082 then :
27083 ax_cv_PTHREAD_CLANG=yes
27084 fi
27085 rmscip-shell system . . rm. -rf conftest*
27086
27087 fi
27088
27089 fi
27090 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
27091 printfscip-shell system . . printf. "%s\n" "$ax_cv_PTHREAD_CLANG" >&6; }
27092 ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
27093
27094
27095 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
27096
27097 # Note that for GCC and Clang -pthread generally implies -lpthread,
27098 # except when -nostdlib is passed.
27099 # This is problematic using libtool to build C++ shared libraries with pthread:
27100 # [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460
27101 # [2] https://bugzilla.redhat.com/show_bug.cgi?id=661333
27102 # [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468555
27103 # To solve this, first try -pthread together with -lpthread for GCC
27104
27105 if testscip-shell system . . test. "x$GCC" = "xyes"
27106 then :
27107 ax_pthread_flags="-pthread,-lpthread -pthread -pthreads $ax_pthread_flags"
27108 fi
27109
27110 # Clang takes -pthread (never supported any other flag), but we'll try with -lpthread first
27111
27112 if testscip-shell system . . test. "x$ax_pthread_clang" = "xyes"
27113 then :
27114 ax_pthread_flags="-pthread,-lpthread -pthread"
27115 fi
27116
27117
27118 # The presence of a feature test macro requesting re-entrant function
27119 # definitions is, on some systems, a strong hint that pthreads support is
27120 # correctly enabled
27121
27122 case $host_os in
27123 darwin* | hpux* | linux* | osf* | solaris*)
27124 ax_pthread_check_macro="_REENTRANT"
27125 ;;
27126
27127 aix*)
27128 ax_pthread_check_macro="_THREAD_SAFE"
27129 ;;
27130
27131 *)
27132 ax_pthread_check_macro="--"
27133 ;;
27134 esac
27135 if testscip-shell system . . test. "x$ax_pthread_check_macro" = "x--"
27136 then :
27137 ax_pthread_check_cond=0
27138 else $as_nop
27139 ax_pthread_check_cond="!defined($ax_pthread_check_macro)"
27140 fi
27141
27142
27143 if testscip-shell system . . test. "x$ax_pthread_ok" = "xno"; then
27144 for ax_pthread_try_flag in $ax_pthread_flags; do
27145
27146 case $ax_pthread_try_flag in
27147 none)
27148 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
27149 printfscip-shell system . . printf. %s "checking whether pthreads work without any flags... " >&6; }
27150 ;;
27151
27152 *,*)
27153 PTHREAD_CFLAGS=`echoscip-shell system . . echo. $ax_pthread_try_flag | sedscip-shell system . . sed. "s/^\(.*\),\(.*\)$/\1/"`
27154 PTHREAD_LIBS=`echoscip-shell system . . echo. $ax_pthread_try_flag | sedscip-shell system . . sed. "s/^\(.*\),\(.*\)$/\2/"`
27155 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with \"$PTHREAD_CFLAGS\" and \"$PTHREAD_LIBS\"" >&5
27156 printfscip-shell system . . printf. %s "checking whether pthreads work with \"$PTHREAD_CFLAGS\" and \"$PTHREAD_LIBS\"... " >&6; }
27157 ;;
27158
27159 -*)
27160 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
27161 printfscip-shell system . . printf. %s "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
27162 PTHREAD_CFLAGS="$ax_pthread_try_flag"
27163 ;;
27164
27165 pthread-config)
27166 # Extract the first word of "pthread-config", so it can be a program name with args.
27167 set dummy pthread-config; ac_word=$2
27168 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27169 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
27170 if testscip-shell system . . test. ${ac_cv_prog_ax_pthread_config+y}
27171 then :
27172 printfscip-shell system . . printf. %s "(cached) " >&6
27173 else $as_nop
27174 if testscip-shell system . . test. -n "$ax_pthread_config"; then
27175 ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
27176 else
27177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27178 for as_dir in $PATH
27179 do
27180 IFS=$as_save_IFS
27181 case $as_dir in #(((
27182 '') as_dir=./ ;;
27183 */) ;;
27184 *) as_dir=$as_dir/ ;;
27185 esac
27186 for ac_exec_ext in '' $ac_executable_extensions; do
27187 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
27188 ac_cv_prog_ax_pthread_config="yes"
27189 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27190 break 2
27191 fi
27192 done
27193 done
27194 IFS=$as_save_IFS
27195
27196 testscip-shell system . . test. -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
27197 fi
27198 fi
27199 ax_pthread_config=$ac_cv_prog_ax_pthread_config
27200 if testscip-shell system . . test. -n "$ax_pthread_config"; then
27201 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
27202 printfscip-shell system . . printf. "%s\n" "$ax_pthread_config" >&6; }
27203 else
27204 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27205 printfscip-shell system . . printf. "%s\n" "no" >&6; }
27206 fi
27207
27208
27209 if testscip-shell system . . test. "x$ax_pthread_config" = "xno"
27210 then :
27211 continue
27212 fi
27213 PTHREAD_CFLAGS="`pthread-config --cflags`"
27214 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
27215 ;;
27216
27217 *)
27218 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
27219 printfscip-shell system . . printf. %s "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
27220 PTHREAD_LIBS="-l$ax_pthread_try_flag"
27221 ;;
27222 esac
27223
27224 ax_pthread_save_CFLAGS="$CFLAGS"
27225 ax_pthread_save_LIBS="$LIBS"
27226 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
27227 LIBS="$PTHREAD_LIBS $LIBS"
27228
27229 # Check for various functions. We must include pthread.h,
27230 # since some functions may be macros. (On the Sequent, we
27231 # need a special flag -Kthread to make this header compile.)
27232 # We check for pthread_join because it is in -lpthread on IRIX
27233 # while pthread_create is in libc. We check for pthread_attr_init
27234 # due to DEC craziness with -lpthreads. We check for
27235 # pthread_cleanup_push because it is one of the few pthread
27236 # functions on Solaris that doesn't have a non-functional libc stub.
27237 # We try pthread_create on general principles.
27238
27239 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
27240 /* end confdefs.h. */
27241 #include <pthread.h>
27242 # if $ax_pthread_check_cond
27243 # error "$ax_pthread_check_macro must be defined"
27244 # endif
27245 static void *some_global = NULL;
27246 static void routine(void *a)
27247 {
27248 /* To avoid any unused-parameter or
27249 unused-but-set-parameter warning. */
27250 some_global = a;
27251 }
27252 static void *start_routine(void *a) { return a; }
27253 int
27254 main (void)
27255 {
27256 pthread_t th; pthread_attr_t attr;
27257 pthread_create(&th, 0, start_routine, 0);
27258 pthread_join(th, 0);
27259 pthread_attr_init(&attr);
27260 pthread_cleanup_push(routine, 0);
27261 pthread_cleanup_pop(0) /* ; */
27262 ;
27263 return 0;
27264 }
27265 _ACEOF
27266 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
27267 then :
27268 ax_pthread_ok=yes
27269 fi
27270 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
27271 conftest$ac_exeext conftest.$ac_ext
27272
27273 CFLAGS="$ax_pthread_save_CFLAGS"
27274 LIBS="$ax_pthread_save_LIBS"
27275
27276 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
27277 printfscip-shell system . . printf. "%s\n" "$ax_pthread_ok" >&6; }
27278 if testscip-shell system . . test. "x$ax_pthread_ok" = "xyes"
27279 then :
27280 break
27281 fi
27282
27283 PTHREAD_LIBS=""
27284 PTHREAD_CFLAGS=""
27285 done
27286 fi
27287
27288
27289 # Clang needs special handling, because older versions handle the -pthread
27290 # option in a rather... idiosyncratic way
27291
27292 if testscip-shell system . . test. "x$ax_pthread_clang" = "xyes"; then
27293
27294 # Clang takes -pthread; it has never supported any other flag
27295
27296 # (Note 1: This will need to be revisited if a system that Clang
27297 # supports has POSIX threads in a separate library. This tends not
27298 # to be the way of modern systems, but it's conceivable.)
27299
27300 # (Note 2: On some systems, notably Darwin, -pthread is not needed
27301 # to get POSIX threads support; the API is always present and
27302 # active. We could reasonably leave PTHREAD_CFLAGS empty. But
27303 # -pthread does define _REENTRANT, and while the Darwin headers
27304 # ignore this macro, third-party headers might not.)
27305
27306 # However, older versions of Clang make a point of warning the user
27307 # that, in an invocation where only linking and no compilation is
27308 # taking place, the -pthread option has no effect ("argument unused
27309 # during compilation"). They expect -pthread to be passed in only
27310 # when source code is being compiled.
27311 #
27312 # Problem is, this is at odds with the way Automake and most other
27313 # C build frameworks function, which is that the same flags used in
27314 # compilation (CFLAGS) are also used in linking. Many systems
27315 # supported by AX_PTHREAD require exactly this for POSIX threads
27316 # support, and in fact it is often not straightforward to specify a
27317 # flag that is used only in the compilation phase and not in
27318 # linking. Such a scenario is extremely rare in practice.
27319 #
27320 # Even though use of the -pthread flag in linking would only print
27321 # a warning, this can be a nuisance for well-run software projects
27322 # that build with -Werror. So if the active version of Clang has
27323 # this misfeature, we search for an option to squash it.
27324
27325 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
27326 printfscip-shell system . . printf. %s "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
27327 if testscip-shell system . . test. ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+y}
27328 then :
27329 printfscip-shell system . . printf. %s "(cached) " >&6
27330 else $as_nop
27331 ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
27332 # Create an alternate version of $ac_link that compiles and
27333 # links in two steps (.c -> .o, .o -> exe) instead of one
27334 # (.c -> exe), because the warning occurs only in the second
27335 # step
27336 ax_pthread_save_ac_link="$ac_link"
27337 ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
27338 ax_pthread_link_step=`printfscip-shell system . . printf. "%s\n" "$ac_link" | sedscip-shell system . . sed. "$ax_pthread_sed"`
27339 ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
27340 ax_pthread_save_CFLAGS="$CFLAGS"
27341 for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
27342 if testscip-shell system . . test. "x$ax_pthread_try" = "xunknown"
27343 then :
27344 break
27345 fi
27346 CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
27347 ac_link="$ax_pthread_save_ac_link"
27348 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
27349 /* end confdefs.h. */
27350 int main(void){return 0;}
27351 _ACEOF
27352 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
27353 then :
27354 ac_link="$ax_pthread_2step_ac_link"
27355 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
27356 /* end confdefs.h. */
27357 int main(void){return 0;}
27358 _ACEOF
27359 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
27360 then :
27361 break
27362 fi
27363 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
27364 conftest$ac_exeext conftest.$ac_ext
27365
27366 fi
27367 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
27368 conftest$ac_exeext conftest.$ac_ext
27369 done
27370 ac_link="$ax_pthread_save_ac_link"
27371 CFLAGS="$ax_pthread_save_CFLAGS"
27372 if testscip-shell system . . test. "x$ax_pthread_try" = "x"
27373 then :
27374 ax_pthread_try=no
27375 fi
27376 ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
27377
27378 fi
27379 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
27380 printfscip-shell system . . printf. "%s\n" "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
27381
27382 case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
27383 no | unknown) ;;
27384 *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
27385 esac
27386
27387 fi # $ax_pthread_clang = yes
27388
27389
27390
27391 # Various other checks:
27392 if testscip-shell system . . test. "x$ax_pthread_ok" = "xyes"; then
27393 ax_pthread_save_CFLAGS="$CFLAGS"
27394 ax_pthread_save_LIBS="$LIBS"
27395 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
27396 LIBS="$PTHREAD_LIBS $LIBS"
27397
27398 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
27399 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
27400 printfscip-shell system . . printf. %s "checking for joinable pthread attribute... " >&6; }
27401 if testscip-shell system . . test. ${ax_cv_PTHREAD_JOINABLE_ATTR+y}
27402 then :
27403 printfscip-shell system . . printf. %s "(cached) " >&6
27404 else $as_nop
27405 ax_cv_PTHREAD_JOINABLE_ATTR=unknown
27406 for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
27407 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
27408 /* end confdefs.h. */
27409 #include <pthread.h>
27410 int
27411 main (void)
27412 {
27413 int attr = $ax_pthread_attr; return attr /* ; */
27414 ;
27415 return 0;
27416 }
27417 _ACEOF
27418 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
27419 then :
27420 ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break
27421 fi
27422 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
27423 conftest$ac_exeext conftest.$ac_ext
27424 done
27425
27426 fi
27427 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
27428 printfscip-shell system . . printf. "%s\n" "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
27429 if testscip-shell system . . test. "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
27430 test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
27431 test "x$ax_pthread_joinable_attr_defined" != "xyes"
27432 then :
27433
27434 printfscip-shell system . . printf. "%s\n" "#define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR" >>confdefs.h
27435
27436 ax_pthread_joinable_attr_defined=yes
27437
27438 fi
27439
27440 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
27441 printfscip-shell system . . printf. %s "checking whether more special flags are required for pthreads... " >&6; }
27442 if testscip-shell system . . test. ${ax_cv_PTHREAD_SPECIAL_FLAGS+y}
27443 then :
27444 printfscip-shell system . . printf. %s "(cached) " >&6
27445 else $as_nop
27446 ax_cv_PTHREAD_SPECIAL_FLAGS=no
27447 case $host_os in
27448 solaris*)
27449 ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
27450 ;;
27451 esac
27452
27453 fi
27454 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
27455 printfscip-shell system . . printf. "%s\n" "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
27456 if testscip-shell system . . test. "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
27457 test "x$ax_pthread_special_flags_added" != "xyes"
27458 then :
27459 PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
27460 ax_pthread_special_flags_added=yes
27461 fi
27462
27463 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
27464 printfscip-shell system . . printf. %s "checking for PTHREAD_PRIO_INHERIT... " >&6; }
27465 if testscip-shell system . . test. ${ax_cv_PTHREAD_PRIO_INHERIT+y}
27466 then :
27467 printfscip-shell system . . printf. %s "(cached) " >&6
27468 else $as_nop
27469 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
27470 /* end confdefs.h. */
27471 #include <pthread.h>
27472 int
27473 main (void)
27474 {
27475 int i = PTHREAD_PRIO_INHERIT;
27476 return i;
27477 ;
27478 return 0;
27479 }
27480 _ACEOF
27481 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
27482 then :
27483 ax_cv_PTHREAD_PRIO_INHERIT=yes
27484 else $as_nop
27485 ax_cv_PTHREAD_PRIO_INHERIT=no
27486 fi
27487 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
27488 conftest$ac_exeext conftest.$ac_ext
27489
27490 fi
27491 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
27492 printfscip-shell system . . printf. "%s\n" "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
27493 if testscip-shell system . . test. "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
27494 test "x$ax_pthread_prio_inherit_defined" != "xyes"
27495 then :
27496
27497 printfscip-shell system . . printf. "%s\n" "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
27498
27499 ax_pthread_prio_inherit_defined=yes
27500
27501 fi
27502
27503 CFLAGS="$ax_pthread_save_CFLAGS"
27504 LIBS="$ax_pthread_save_LIBS"
27505
27506 # More AIX lossage: compile with *_r variant
27507 if testscip-shell system . . test. "x$GCC" != "xyes"; then
27508 case $host_os in
27509 aix*)
27510 case "x/$CC" in #(
27511 x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
27512 #handle absolute path differently from PATH based program lookup
27513 case "x$CC" in #(
27514 x/*) :
27515
27516 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). ${CC}_r
27517 then :
27518 PTHREAD_CC="${CC}_r"
27519 fi
27520 if testscip-shell system . . test. "x${CXX}" != "x"
27521 then :
27522 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). ${CXX}_r
27523 then :
27524 PTHREAD_CXX="${CXX}_r"
27525 fi
27526 fi
27527 ;; #(
27528 *) :
27529
27530 for ac_prog in ${CC}_r
27531 do
27532 # Extract the first word of "$ac_prog", so it can be a program name with args.
27533 set dummy $ac_prog; ac_word=$2
27534 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27535 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
27536 if testscip-shell system . . test. ${ac_cv_prog_PTHREAD_CC+y}
27537 then :
27538 printfscip-shell system . . printf. %s "(cached) " >&6
27539 else $as_nop
27540 if testscip-shell system . . test. -n "$PTHREAD_CC"; then
27541 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
27542 else
27543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27544 for as_dir in $PATH
27545 do
27546 IFS=$as_save_IFS
27547 case $as_dir in #(((
27548 '') as_dir=./ ;;
27549 */) ;;
27550 *) as_dir=$as_dir/ ;;
27551 esac
27552 for ac_exec_ext in '' $ac_executable_extensions; do
27553 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
27554 ac_cv_prog_PTHREAD_CC="$ac_prog"
27555 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27556 break 2
27557 fi
27558 done
27559 done
27560 IFS=$as_save_IFS
27561
27562 fi
27563 fi
27564 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
27565 if testscip-shell system . . test. -n "$PTHREAD_CC"; then
27566 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
27567 printfscip-shell system . . printf. "%s\n" "$PTHREAD_CC" >&6; }
27568 else
27569 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27570 printfscip-shell system . . printf. "%s\n" "no" >&6; }
27571 fi
27572
27573
27574 testscip-shell system . . test. -n "$PTHREAD_CC" && break
27575 done
27576 testscip-shell system . . test. -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
27577
27578 if testscip-shell system . . test. "x${CXX}" != "x"
27579 then :
27580 for ac_prog in ${CXX}_r
27581 do
27582 # Extract the first word of "$ac_prog", so it can be a program name with args.
27583 set dummy $ac_prog; ac_word=$2
27584 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27585 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
27586 if testscip-shell system . . test. ${ac_cv_prog_PTHREAD_CXX+y}
27587 then :
27588 printfscip-shell system . . printf. %s "(cached) " >&6
27589 else $as_nop
27590 if testscip-shell system . . test. -n "$PTHREAD_CXX"; then
27591 ac_cv_prog_PTHREAD_CXX="$PTHREAD_CXX" # Let the user override the test.
27592 else
27593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27594 for as_dir in $PATH
27595 do
27596 IFS=$as_save_IFS
27597 case $as_dir in #(((
27598 '') as_dir=./ ;;
27599 */) ;;
27600 *) as_dir=$as_dir/ ;;
27601 esac
27602 for ac_exec_ext in '' $ac_executable_extensions; do
27603 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
27604 ac_cv_prog_PTHREAD_CXX="$ac_prog"
27605 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27606 break 2
27607 fi
27608 done
27609 done
27610 IFS=$as_save_IFS
27611
27612 fi
27613 fi
27614 PTHREAD_CXX=$ac_cv_prog_PTHREAD_CXX
27615 if testscip-shell system . . test. -n "$PTHREAD_CXX"; then
27616 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CXX" >&5
27617 printfscip-shell system . . printf. "%s\n" "$PTHREAD_CXX" >&6; }
27618 else
27619 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27620 printfscip-shell system . . printf. "%s\n" "no" >&6; }
27621 fi
27622
27623
27624 testscip-shell system . . test. -n "$PTHREAD_CXX" && break
27625 done
27626 testscip-shell system . . test. -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
27627
27628 fi
27629
27630 ;;
27631 esac
27632 ;; #(
27633 *) :
27634 ;;
27635 esac
27636 ;;
27637 esac
27638 fi
27639 fi
27640
27641 testscip-shell system . . test. -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
27642 testscip-shell system . . test. -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
27643
27644
27645
27646
27647
27648
27649 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
27650 if testscip-shell system . . test. "x$ax_pthread_ok" = "xyes"; then
27651 CARES_TEST_PTHREADS="yes"
27652 :
27653 else
27654 ax_pthread_ok=no
27655 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "threading required for tests" "$LINENO" 5
27656 fi
27657 ac_ext=c
27658 ac_cpp='$CPP $CPPFLAGS'
27659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27662
27663
27664 fi
27665
27666 BUILD_SUBDIRS="${BUILD_SUBDIRS} test"
27667 fi
27668 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build tests" >&5
27669 printfscip-shell system . . printf. %s "checking whether to build tests... " >&6; }
27670 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_tests" >&5
27671 printfscip-shell system . . printf. "%s\n" "$build_tests" >&6; }
27672
27673 if testscip-shell system . . test. "x$build_tests" = "xyes"; then
27674 BUILD_TESTS_TRUE=
27675 BUILD_TESTS_FALSE='#'
27676 else
27677 BUILD_TESTS_TRUE='#'
27678 BUILD_TESTS_FALSE=
27679 fi
27680
27681
27682
27683
27684
27685
27686
27687 ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile src/lib/Makefile src/tools/Makefile docs/Makefile libcares.pc"
27688
27689 if testscip-shell system . . test. -z "$BUILD_TESTS_TRUE"; then :
27690 ac_config_files="$ac_config_files test/Makefile"
27691
27692 fi
27693
27694 catscip-shell system . . cat. >confcache <<\_ACEOF
27695 # This file is a shell script that caches the results of configure
27696 # tests run on this system so they can be shared between configure
27697 # scripts and configure runs, see configure's option --config-cache.
27698 # It is not useful on other systems. If it contains results you don't
27699 # want to keep, you may remove or edit it.
27700 #
27701 # config.status only pays attention to the cache file if you give it
27702 # the --recheck option to rerun configure.
27703 #
27704 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27705 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27706 # following values.
27707
27708 _ACEOF
27709
27710 # The following way of writing the cache mishandles newlines in values,
27711 # but we know of no workaround that is simple, portable, and efficient.
27712 # So, we kill variables containing newlines.
27713 # Ultrix sh set writes to stderr and can't be redirected directly,
27714 # and sets the high bit in the cache file unless we assign to the vars.
27715 (
27716 for ac_var in `(set) 2>&1 | sedscip-shell system . . sed. -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27717 eval ac_val=\$$ac_var
27718 case $ac_val in #(
27719 *${as_nl}*)
27720 case $ac_var in #(
27721 *_cv_*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
27722 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
27723 esac
27724 case $ac_var in #(
27725 _ | IFS | as_nl) ;; #(
27726 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
27727 *) { eval $ac_var=; unset $ac_var;} ;;
27728 esac ;;
27729 esac
27730 done
27731
27732 (set) 2>&1 |
27733 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27734 *${as_nl}ac_space=\ *)
27735 # `set' does not quote correctly, so add quotes: double-quote
27736 # substitution turns \\\\ into \\, and sed turns \\ into \.
27737 sedscip-shell system . . sed. -n \
27738 "s/'/'\\\\''/g;
27739 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27740 ;; #(
27741 *)
27742 # `set' quotes correctly as required by POSIX, so do not add quotes.
27743 sedscip-shell system . . sed. -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27744 ;;
27745 esac |
27746 sortscip-shell system . . sort.
27747 ) |
27748 sedscip-shell system . . sed. '
27749 /^ac_cv_env_/b end
27750 t clear
27751 :clear
27752 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
27753 t end
27754 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27755 :end' >>confcache
27756 if diffscip-shell system . . diff. "$cache_file" confcache >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
27757 if testscip-shell system . . test. -w "$cache_file"; then
27758 if testscip-shell system . . test. "x$cache_file" != "x/dev/null"; then
27759 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
27760 printfscip-shell system . . printf. "%s\n" "$as_me: updating cache $cache_file" >&6;}
27761 if testscip-shell system . . test. ! -f "$cache_file" || testscip-shell system . . test. -h "$cache_file"; then
27762 catscip-shell system . . cat. confcache >"$cache_file"
27763 else
27764 case $cache_file in #(
27765 */* | ?:*)
27766 mvscip-shell system . . mv. -f confcache "$cache_file"$$ &&
27767 mvscip-shell system . . mv. -f "$cache_file"$$ "$cache_file" ;; #(
27768 *)
27769 mvscip-shell system . . mv. -f confcache "$cache_file" ;;
27770 esac
27771 fi
27772 fi
27773 else
27774 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
27775 printfscip-shell system . . printf. "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
27776 fi
27777 fi
27778 rmscip-shell system . . rm. -f confcache
27779
27780 testscip-shell system . . test. "x$prefix" = xNONE && prefix=$ac_default_prefix
27781 # Let make expand exec_prefix.
27782 testscip-shell system . . test. "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
27783
27784 DEFS=-DHAVE_CONFIG_H
27785
27786 ac_libobjs=
27787 ac_ltlibobjs=
27788 U=
27789 for ac_i in : $LIBOBJS; do testscip-shell system . . test. "x$ac_i" = x: && continue
27790 # 1. Remove the extension, and $U if already installed.
27791 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
27792 ac_i=`printfscip-shell system . . printf. "%s\n" "$ac_i" | sedscip-shell system . . sed. "$ac_script"`
27793 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
27794 # will be set to the directory where LIBOBJS objects are built.
27795 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
27796 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
27797 done
27798 LIBOBJS=$ac_libobjs
27799
27800 LTLIBOBJS=$ac_ltlibobjs
27801
27802
27803 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
27804 printfscip-shell system . . printf. %s "checking that generated files are newer than configure... " >&6; }
27805 if testscip-shell system . . test. -n "$am_sleep_pid"; then
27806 # Hide warnings about reused PIDs.
27807 wait $am_sleep_pid 2>/dev/nullscip-shell filesystem . . `/dev/null`.
27808 fi
27809 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
27810 printfscip-shell system . . printf. "%s\n" "done" >&6; }
27811 if testscip-shell system . . test. -z "${AMDEP_TRUE}" && testscip-shell system . . test. -z "${AMDEP_FALSE}"; then
27812 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"AMDEP\" was never defined.
27813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27814 fi
27815 if testscip-shell system . . test. -z "${am__fastdepCC_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCC_FALSE}"; then
27816 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"am__fastdepCC\" was never defined.
27817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27818 fi
27819 if testscip-shell system . . test. -z "${am__fastdepCXX_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCXX_FALSE}"; then
27820 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"am__fastdepCXX\" was never defined.
27821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27822 fi
27823 if testscip-shell system . . test. -n "$EXEEXT"; then
27824 am__EXEEXT_TRUE=
27825 am__EXEEXT_FALSE='#'
27826 else
27827 am__EXEEXT_TRUE='#'
27828 am__EXEEXT_FALSE=
27829 fi
27830
27831 if testscip-shell system . . test. -z "${MAINTAINER_MODE_TRUE}" && testscip-shell system . . test. -z "${MAINTAINER_MODE_FALSE}"; then
27832 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"MAINTAINER_MODE\" was never defined.
27833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27834 fi
27835 if testscip-shell system . . test. -z "${CODE_COVERAGE_ENABLED_TRUE}" && testscip-shell system . . test. -z "${CODE_COVERAGE_ENABLED_FALSE}"; then
27836 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"CODE_COVERAGE_ENABLED\" was never defined.
27837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27838 fi
27839 if testscip-shell system . . test. -z "${CARES_USE_NO_UNDEFINED_TRUE}" && testscip-shell system . . test. -z "${CARES_USE_NO_UNDEFINED_FALSE}"; then
27840 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"CARES_USE_NO_UNDEFINED\" was never defined.
27841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27842 fi
27843 if testscip-shell system . . test. -z "${CARES_SYMBOL_HIDING_TRUE}" && testscip-shell system . . test. -z "${CARES_SYMBOL_HIDING_FALSE}"; then
27844 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"CARES_SYMBOL_HIDING\" was never defined.
27845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27846 fi
27847 if testscip-shell system . . test. -z "${BUILD_TESTS_TRUE}" && testscip-shell system . . test. -z "${BUILD_TESTS_FALSE}"; then
27848 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BUILD_TESTS\" was never defined.
27849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27850 fi
27851
27852 : "${CONFIG_STATUS=./config.status}"
27853 ac_write_fail=0
27854 ac_clean_files_save=$ac_clean_files
27855 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27856 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27857 printfscip-shell system . . printf. "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
27858 as_write_fail=0
27859 catscip-shell system . . cat. >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27860 #! $SHELL
27861 # Generated by $as_me.
27862 # Run this file to recreate the current configuration.
27863 # Compiler output produced by configure, useful for debugging
27864 # configure, is in config.log if it exists.
27865
27866 debug=false
27867 ac_cs_recheck=false
27868 ac_cs_silent=false
27869
27870 SHELL=\${CONFIG_SHELL-$SHELL}
27871 export SHELL
27872 _ASEOF
27873 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
27874 ## -------------------- ##
27875 ## M4sh Initialization. ##
27876 ## -------------------- ##
27877
27878 # Be more Bourne compatible
27879 DUALCASE=1; export DUALCASE # for MKS sh
27880 as_nop=:
27881 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
27882 then :
27883 emulate sh
27884 NULLCMD=:
27885 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27886 # is contrary to our usage. Disable this feature.
27887 alias -g '${1+"$@"}'='"$@"'
27888 setopt NO_GLOB_SUBST
27889 else $as_nop
27890 case `(set -o) 2>/dev/null` in #(
27891 *posix*) :
27892 set -o posix ;; #(
27893 *) :
27894 ;;
27895 esac
27896 fi
27897
27898
27899
27900 # Reset variables that may have inherited troublesome values from
27901 # the environment.
27902
27903 # IFS needs to be set, to space, tab, and newline, in precisely that order.
27904 # (If _AS_PATH_WALK were called with IFS unset, it would have the
27905 # side effect of setting IFS to empty, thus disabling word splitting.)
27906 # Quoting is to prevent editors from complaining about space-tab.
27907 as_nl='
27908 '
27909 export as_nl
27910 IFS=" "" $as_nl"
27911
27912 PS1='$ '
27913 PS2='> '
27914 PS4='+ '
27915
27916 # Ensure predictable behavior from utilities with locale-dependent output.
27917 LC_ALL=C
27918 export LC_ALL
27919 LANGUAGE=C
27920 export LANGUAGE
27921
27922 # We cannot yet rely on "unset" to work, but we need these variables
27923 # to be unset--not just set to an empty or harmless value--now, to
27924 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
27925 # also avoids known problems related to "unset" and subshell syntax
27926 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
27927 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
27928 do eval test \${$as_var+y} \
27929 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
27930 done
27931
27932 # Ensure that fds 0, 1, and 2 are open.
27933 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
27934 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
27935 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
27936
27937 # The user is always right.
27938 if ${PATH_SEPARATOR+false} :; then
27939 PATH_SEPARATOR=:
27940 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27941 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27942 PATH_SEPARATOR=';'
27943 }
27944 fi
27945
27946
27947 # Find who we are. Look in the path if we contain no directory separator.
27948 as_myself=
27949 case $0 in #((
27950 *[\\/]* ) as_myself=$0 ;;
27951 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27952 for as_dir in $PATH
27953 do
27954 IFS=$as_save_IFS
27955 case $as_dir in #(((
27956 '') as_dir=./ ;;
27957 */) ;;
27958 *) as_dir=$as_dir/ ;;
27959 esac
27960 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
27961 done
27962 IFS=$as_save_IFS
27963
27964 ;;
27965 esac
27966 # We did not find ourselves, most probably we were run as `sh COMMAND'
27967 # in which case we are not to be found in the path.
27968 if test "x$as_myself" = x; then
27969 as_myself=$0
27970 fi
27971 if test ! -f "$as_myself"; then
27972 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27973 exit 1
27974 fi
27975
27976
27977
27978 # as_fn_error STATUS ERROR [LINENO LOG_FD]
27979 # ----------------------------------------
27980 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27981 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27982 # script with STATUS, using 1 if that was 0.
27983 as_fn_error ()
27984 {
27985 as_status=$1; test $as_status -eq 0 && as_status=1
27986 if test "$4"; then
27987 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
27988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27989 fi
27990 printf "%s\n" "$as_me: error: $2" >&2
27991 as_fn_exit $as_status
27992 } # as_fn_error
27993
27994
27995
27996 # as_fn_set_status STATUS
27997 # -----------------------
27998 # Set $? to STATUS, without forking.
27999 as_fn_set_status ()
28000 {
28001 return $1
28002 } # as_fn_set_status
28003
28004 # as_fn_exit STATUS
28005 # -----------------
28006 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
28007 as_fn_exit ()
28008 {
28009 set +e
28010 as_fn_set_status $1
28011 exit $1
28012 } # as_fn_exit
28013
28014 # as_fn_unset VAR
28015 # ---------------
28016 # Portably unset VAR.
28017 as_fn_unset ()
28018 {
28019 { eval $1=; unset $1;}
28020 }
28021 as_unset=as_fn_unset
28022
28023 # as_fn_append VAR VALUE
28024 # ----------------------
28025 # Append the text in VALUE to the end of the definition contained in VAR. Take
28026 # advantage of any shell optimizations that allow amortized linear growth over
28027 # repeated appends, instead of the typical quadratic growth present in naive
28028 # implementations.
28029 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
28030 then :
28031 eval 'as_fn_append ()
28032 {
28033 eval $1+=\$2
28034 }'
28035 else $as_nop
28036 as_fn_append ()
28037 {
28038 eval $1=\$$1\$2
28039 }
28040 fi # as_fn_append
28041
28042 # as_fn_arith ARG...
28043 # ------------------
28044 # Perform arithmetic evaluation on the ARGs, and store the result in the
28045 # global $as_val. Take advantage of shells that can avoid forks. The arguments
28046 # must be portable across $(()) and expr.
28047 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
28048 then :
28049 eval 'as_fn_arith ()
28050 {
28051 as_val=$(( $* ))
28052 }'
28053 else $as_nop
28054 as_fn_arith ()
28055 {
28056 as_val=`expr "$@" || test $? -eq 1`
28057 }
28058 fi # as_fn_arith
28059
28060
28061 if expr a : '\(a\)' >/dev/null 2>&1 &&
28062 test "X`expr 00001 : '.*\(...\)'`" = X001; then
28063 as_expr=expr
28064 else
28065 as_expr=false
28066 fi
28067
28068 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
28069 as_basename=basename
28070 else
28071 as_basename=false
28072 fi
28073
28074 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
28075 as_dirname=dirname
28076 else
28077 as_dirname=false
28078 fi
28079
28080 as_me=`$as_basename -- "$0" ||
28081 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28082 X"$0" : 'X\(//\)$' \| \
28083 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
28084 printf "%s\n" X/"$0" |
28085 sed '/^.*\/\([^/][^/]*\)\/*$/{
28086 s//\1/
28087 q
28088 }
28089 /^X\/\(\/\/\)$/{
28090 s//\1/
28091 q
28092 }
28093 /^X\/\(\/\).*/{
28094 s//\1/
28095 q
28096 }
28097 s/.*/./; q'`
28098
28099 # Avoid depending upon Character Ranges.
28100 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28101 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28102 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28103 as_cr_digits='0123456789'
28104 as_cr_alnum=$as_cr_Letters$as_cr_digits
28105
28106
28107 # Determine whether it's possible to make 'echo' print without a newline.
28108 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
28109 # for compatibility with existing Makefiles.
28110 ECHO_C= ECHO_N= ECHO_T=
28111 case `echo -n x` in #(((((
28112 -n*)
28113 case `echo 'xy\c'` in
28114 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
28115 xy) ECHO_C='\c';;
28116 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
28117 ECHO_T=' ';;
28118 esac;;
28119 *)
28120 ECHO_N='-n';;
28121 esac
28122
28123 # For backward compatibility with old third-party macros, we provide
28124 # the shell variables $as_echo and $as_echo_n. New code should use
28125 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
28126 as_echo='printf %s\n'
28127 as_echo_n='printf %s'
28128
28129 rm -f conf$$ conf$$.exe conf$$.file
28130 if test -d conf$$.dir; then
28131 rm -f conf$$.dir/conf$$.file
28132 else
28133 rm -f conf$$.dir
28134 mkdir conf$$.dir 2>/dev/null
28135 fi
28136 if (echo >conf$$.file) 2>/dev/null; then
28137 if ln -s conf$$.file conf$$ 2>/dev/null; then
28138 as_ln_s='ln -s'
28139 # ... but there are two gotchas:
28140 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
28141 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
28142 # In both cases, we have to default to `cp -pR'.
28143 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
28144 as_ln_s='cp -pR'
28145 elif ln conf$$.file conf$$ 2>/dev/null; then
28146 as_ln_s=ln
28147 else
28148 as_ln_s='cp -pR'
28149 fi
28150 else
28151 as_ln_s='cp -pR'
28152 fi
28153 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
28154 rmdir conf$$.dir 2>/dev/null
28155
28156
28157 # as_fn_mkdir_p
28158 # -------------
28159 # Create "$as_dir" as a directory, including parents if necessary.
28160 as_fn_mkdir_p ()
28161 {
28162
28163 case $as_dir in #(
28164 -*) as_dir=./$as_dir;;
28165 esac
28166 test -d "$as_dir" || eval $as_mkdir_p || {
28167 as_dirs=
28168 while :; do
28169 case $as_dir in #(
28170 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
28171 *) as_qdir=$as_dir;;
28172 esac
28173 as_dirs="'$as_qdir' $as_dirs"
28174 as_dir=`$as_dirname -- "$as_dir" ||
28175 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28176 X"$as_dir" : 'X\(//\)[^/]' \| \
28177 X"$as_dir" : 'X\(//\)$' \| \
28178 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
28179 printf "%s\n" X"$as_dir" |
28180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28181 s//\1/
28182 q
28183 }
28184 /^X\(\/\/\)[^/].*/{
28185 s//\1/
28186 q
28187 }
28188 /^X\(\/\/\)$/{
28189 s//\1/
28190 q
28191 }
28192 /^X\(\/\).*/{
28193 s//\1/
28194 q
28195 }
28196 s/.*/./; q'`
28197 test -d "$as_dir" && break
28198 done
28199 test -z "$as_dirs" || eval "mkdir $as_dirs"
28200 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
28201
28202
28203 } # as_fn_mkdir_p
28204 if mkdir -p . 2>/dev/null; then
28205 as_mkdir_p='mkdir -p "$as_dir"'
28206 else
28207 test -d ./-p && rmdir ./-p
28208 as_mkdir_p=false
28209 fi
28210
28211
28212 # as_fn_executable_p FILE
28213 # -----------------------
28214 # Test if FILE is an executable regular file.
28215 as_fn_executable_p ()
28216 {
28217 test -f "$1" && test -x "$1"
28218 } # as_fn_executable_p
28219 as_test_x='test -x'
28220 as_executable_p=as_fn_executable_p
28221
28222 # Sed expression to map a string onto a valid CPP name.
28223 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28224
28225 # Sed expression to map a string onto a valid variable name.
28226 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28227
28228
28229 exec 6>&1
28230 ## ----------------------------------- ##
28231 ## Main body of $CONFIG_STATUS script. ##
28232 ## ----------------------------------- ##
28233 _ASEOF
28234 testscip-shell system . . test. $as_write_fail = 0 && chmodscip-shell system . . chmod. +x $CONFIG_STATUS || ac_write_fail=1
28235
28236 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28237 # Save the log message, to keep $0 and so on meaningful, and to
28238 # report actual input values of CONFIG_FILES etc. instead of their
28239 # values after options handling.
28240 ac_log="
28241 This file was extended by c-ares $as_me 1.34.8, which was
28242 generated by GNU Autoconf 2.71. Invocation command line was
28243
28244 CONFIG_FILES = $CONFIG_FILES
28245 CONFIG_HEADERS = $CONFIG_HEADERS
28246 CONFIG_LINKS = $CONFIG_LINKS
28247 CONFIG_COMMANDS = $CONFIG_COMMANDS
28248 $ $0 $@
28249
28250 on `(hostname || uname -n) 2>/dev/null | sed 1q`
28251 "
28252
28253 _ACEOF
28254
28255 case $ac_config_files in *"
28256 "*) set x $ac_config_files; shift; ac_config_files=$*;;
28257 esac
28258
28259 case $ac_config_headers in *"
28260 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
28261 esac
28262
28263
28264 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28265 # Files that config.status was made for.
28266 config_files="$ac_config_files"
28267 config_headers="$ac_config_headers"
28268 config_commands="$ac_config_commands"
28269
28270 _ACEOF
28271
28272 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28273 ac_cs_usage="\
28274 \`$as_me' instantiates files and other configuration actions
28275 from templates according to the current configuration. Unless the files
28276 and actions are specified as TAGs, all are instantiated by default.
28277
28278 Usage: $0 [OPTION]... [TAG]...
28279
28280 -h, --help print this help, then exit
28281 -V, --version print version number and configuration settings, then exit
28282 --config print configuration, then exit
28283 -q, --quiet, --silent
28284 do not print progress messages
28285 -d, --debug don't remove temporary files
28286 --recheck update $as_me by reconfiguring in the same conditions
28287 --file=FILE[:TEMPLATE]
28288 instantiate the configuration file FILE
28289 --header=FILE[:TEMPLATE]
28290 instantiate the configuration header FILE
28291
28292 Configuration files:
28293 $config_files
28294
28295 Configuration headers:
28296 $config_headers
28297
28298 Configuration commands:
28299 $config_commands
28300
28301 Report bugs to <c-ares mailing list: http://lists.haxx.se/listinfo/c-ares>."
28302
28303 _ACEOF
28304 ac_cs_config=`printfscip-shell system . . printf. "%s\n" "$ac_configure_args" | sedscip-shell system . . sed. "$ac_safe_unquote"`
28305 ac_cs_config_escaped=`printfscip-shell system . . printf. "%s\n" "$ac_cs_config" | sedscip-shell system . . sed. "s/^ //; s/'/'\\\\\\\\''/g"`
28306 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28307 ac_cs_config='$ac_cs_config_escaped'
28308 ac_cs_version="\\
28309 c-ares config.status 1.34.8
28310 configured by $0, generated by GNU Autoconf 2.71,
28311 with options \\"\$ac_cs_config\\"
28312
28313 Copyright (C) 2021 Free Software Foundation, Inc.
28314 This config.status script is free software; the Free Software Foundation
28315 gives unlimited permission to copy, distribute and modify it."
28316
28317 ac_pwd='$ac_pwd'
28318 srcdir='$srcdir'
28319 INSTALL='$INSTALL'
28320 MKDIR_P='$MKDIR_P'
28321 AWK='$AWK'
28322 test -n "\$AWK" || AWK=awk
28323 _ACEOF
28324
28325 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28326 # The default lists apply if the user does not specify any file.
28327 ac_need_defaults=:
28328 while test $# != 0
28329 do
28330 case $1 in
28331 --*=?*)
28332 ac_option=`expr "X$1" : 'X\([^=]*\)='`
28333 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
28334 ac_shift=:
28335 ;;
28336 --*=)
28337 ac_option=`expr "X$1" : 'X\([^=]*\)='`
28338 ac_optarg=
28339 ac_shift=:
28340 ;;
28341 *)
28342 ac_option=$1
28343 ac_optarg=$2
28344 ac_shift=shift
28345 ;;
28346 esac
28347
28348 case $ac_option in
28349 # Handling of the options.
28350 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
28351 ac_cs_recheck=: ;;
28352 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
28353 printf "%s\n" "$ac_cs_version"; exit ;;
28354 --config | --confi | --conf | --con | --co | --c )
28355 printf "%s\n" "$ac_cs_config"; exit ;;
28356 --debug | --debu | --deb | --de | --d | -d )
28357 debug=: ;;
28358 --file | --fil | --fi | --f )
28359 $ac_shift
28360 case $ac_optarg in
28361 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
28362 '') as_fn_error $? "missing file argument" ;;
28363 esac
28364 as_fn_append CONFIG_FILES " '$ac_optarg'"
28365 ac_need_defaults=false;;
28366 --header | --heade | --head | --hea )
28367 $ac_shift
28368 case $ac_optarg in
28369 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
28370 esac
28371 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
28372 ac_need_defaults=false;;
28373 --he | --h)
28374 # Conflict between --help and --header
28375 as_fn_error $? "ambiguous option: \`$1'
28376 Try \`$0 --help' for more information.";;
28377 --help | --hel | -h )
28378 printf "%s\n" "$ac_cs_usage"; exit ;;
28379 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
28380 | -silent | --silent | --silen | --sile | --sil | --si | --s)
28381 ac_cs_silent=: ;;
28382
28383 # This is an error.
28384 -*) as_fn_error $? "unrecognized option: \`$1'
28385 Try \`$0 --help' for more information." ;;
28386
28387 *) as_fn_append ac_config_targets " $1"
28388 ac_need_defaults=false ;;
28389
28390 esac
28391 shift
28392 done
28393
28394 ac_configure_extra_args=
28395
28396 if $ac_cs_silent; then
28397 exec 6>/dev/null
28398 ac_configure_extra_args="$ac_configure_extra_args --silent"
28399 fi
28400
28401 _ACEOF
28402 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28403 if \$ac_cs_recheck; then
28404 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28405 shift
28406 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
28407 CONFIG_SHELL='$SHELL'
28408 export CONFIG_SHELL
28409 exec "\$@"
28410 fi
28411
28412 _ACEOF
28413 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28414 exec 5>>config.log
28415 {
28416 echo
28417 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28418 ## Running $as_me. ##
28419 _ASBOX
28420 printf "%s\n" "$ac_log"
28421 } >&5
28422
28423 _ACEOF
28424 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28425 #
28426 # INIT-COMMANDS
28427 #
28428 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
28429
28430
28431 # The HP-UX ksh and POSIX shell print the target directory to stdout
28432 # if CDPATH is set.
28433 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28434
28435 sed_quote_subst='$sed_quote_subst'
28436 double_quote_subst='$double_quote_subst'
28437 delay_variable_subst='$delay_variable_subst'
28438 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
28439 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
28440 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
28441 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
28442 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
28443 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
28444 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
28445 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
28446 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
28447 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
28448 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
28449 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
28450 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
28451 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
28452 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
28453 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
28454 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
28455 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
28456 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
28457 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
28458 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
28459 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
28460 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
28461 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
28462 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
28463 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
28464 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
28465 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
28466 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
28467 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
28468 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
28469 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
28470 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
28471 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
28472 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
28473 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
28474 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
28475 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
28476 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
28477 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
28478 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
28479 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
28480 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
28481 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
28482 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
28483 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
28484 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
28485 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
28486 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
28487 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28488 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28489 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
28490 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
28491 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
28492 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
28493 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
28494 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
28495 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
28496 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
28497 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
28498 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
28499 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"`'
28500 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
28501 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
28502 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
28503 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
28504 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
28505 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
28506 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
28507 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
28508 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
28509 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
28510 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
28511 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
28512 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
28513 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
28514 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
28515 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
28516 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
28517 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
28518 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
28519 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
28520 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28521 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
28522 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
28523 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
28524 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
28525 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
28526 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
28527 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28528 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
28529 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28530 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
28531 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28532 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
28533 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
28534 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
28535 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
28536 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
28537 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
28538 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
28539 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
28540 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
28541 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
28542 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
28543 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
28544 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
28545 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
28546 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
28547 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
28548 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
28549 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
28550 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
28551 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
28552 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
28553 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
28554 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
28555 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
28556 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
28557 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
28558 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
28559 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
28560 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
28561 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
28562 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28563 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28564 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
28565 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
28566 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
28567 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
28568 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
28569 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
28570 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
28571 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
28572 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
28573 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
28574 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
28575 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
28576 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
28577 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
28578 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
28579 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
28580 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
28581 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
28582 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
28583 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
28584 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28585 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28586 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
28587 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
28588 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
28589 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
28590 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
28591 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
28592 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
28593 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
28594 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
28595 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
28596 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
28597 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
28598 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28599 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28600 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28601 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28602 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28603 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28604 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
28605 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
28606 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
28607 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
28608 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
28609 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
28610 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
28611 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
28612 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
28613 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
28614 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
28615 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
28616 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
28617 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28618 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
28619 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
28620 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28621 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28622 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
28623 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
28624 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
28625 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
28626 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
28627 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
28628 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
28629 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
28630
28631 LTCC='$LTCC'
28632 LTCFLAGS='$LTCFLAGS'
28633 compiler='$compiler_DEFAULT'
28634
28635 # A function that is used when there is no print builtin or printf.
28636 func_fallback_echo ()
28637 {
28638 eval 'cat <<_LTECHO_EOF
28639 \$1
28640 _LTECHO_EOF'
28641 }
28642
28643 # Quote evaled strings.
28644 for var in AS \
28645 DLLTOOL \
28646 OBJDUMP \
28647 SHELL \
28648 ECHO \
28649 PATH_SEPARATOR \
28650 SED \
28651 GREP \
28652 EGREP \
28653 FGREP \
28654 LD \
28655 NM \
28656 LN_S \
28657 lt_SP2NL \
28658 lt_NL2SP \
28659 reload_flag \
28660 FILECMD \
28661 deplibs_check_method \
28662 file_magic_cmd \
28663 file_magic_glob \
28664 want_nocaseglob \
28665 sharedlib_from_linklib_cmd \
28666 AR \
28667 archiver_list_spec \
28668 STRIP \
28669 RANLIB \
28670 CC \
28671 CFLAGS \
28672 compiler \
28673 lt_cv_sys_global_symbol_pipe \
28674 lt_cv_sys_global_symbol_to_cdecl \
28675 lt_cv_sys_global_symbol_to_import \
28676 lt_cv_sys_global_symbol_to_c_name_address \
28677 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
28678 lt_cv_nm_interface \
28679 nm_file_list_spec \
28680 lt_cv_truncate_bin \
28681 lt_prog_compiler_no_builtin_flag \
28682 lt_prog_compiler_pic \
28683 lt_prog_compiler_wl \
28684 lt_prog_compiler_static \
28685 lt_cv_prog_compiler_c_o \
28686 need_locks \
28687 MANIFEST_TOOL \
28688 DSYMUTIL \
28689 NMEDIT \
28690 LIPO \
28691 OTOOL \
28692 OTOOL64 \
28693 shrext_cmds \
28694 export_dynamic_flag_spec \
28695 whole_archive_flag_spec \
28696 compiler_needs_object \
28697 with_gnu_ld \
28698 allow_undefined_flag \
28699 no_undefined_flag \
28700 hardcode_libdir_flag_spec \
28701 hardcode_libdir_separator \
28702 exclude_expsyms \
28703 include_expsyms \
28704 file_list_spec \
28705 variables_saved_for_relink \
28706 libname_spec \
28707 library_names_spec \
28708 soname_spec \
28709 install_override_mode \
28710 finish_eval \
28711 old_striplib \
28712 striplib \
28713 compiler_lib_search_dirs \
28714 predep_objects \
28715 postdep_objects \
28716 predeps \
28717 postdeps \
28718 compiler_lib_search_path \
28719 LD_CXX \
28720 reload_flag_CXX \
28721 compiler_CXX \
28722 lt_prog_compiler_no_builtin_flag_CXX \
28723 lt_prog_compiler_pic_CXX \
28724 lt_prog_compiler_wl_CXX \
28725 lt_prog_compiler_static_CXX \
28726 lt_cv_prog_compiler_c_o_CXX \
28727 export_dynamic_flag_spec_CXX \
28728 whole_archive_flag_spec_CXX \
28729 compiler_needs_object_CXX \
28730 with_gnu_ld_CXX \
28731 allow_undefined_flag_CXX \
28732 no_undefined_flag_CXX \
28733 hardcode_libdir_flag_spec_CXX \
28734 hardcode_libdir_separator_CXX \
28735 exclude_expsyms_CXX \
28736 include_expsyms_CXX \
28737 file_list_spec_CXX \
28738 compiler_lib_search_dirs_CXX \
28739 predep_objects_CXX \
28740 postdep_objects_CXX \
28741 predeps_CXX \
28742 postdeps_CXX \
28743 compiler_lib_search_path_CXX; do
28744 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28745 *[\\\\\\\`\\"\\\$]*)
28746 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
28747 ;;
28748 *)
28749 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28750 ;;
28751 esac
28752 done
28753
28754 # Double-quote double-evaled strings.
28755 for var in reload_cmds \
28756 old_postinstall_cmds \
28757 old_postuninstall_cmds \
28758 old_archive_cmds \
28759 extract_expsyms_cmds \
28760 old_archive_from_new_cmds \
28761 old_archive_from_expsyms_cmds \
28762 archive_cmds \
28763 archive_expsym_cmds \
28764 module_cmds \
28765 module_expsym_cmds \
28766 export_symbols_cmds \
28767 prelink_cmds \
28768 postlink_cmds \
28769 postinstall_cmds \
28770 postuninstall_cmds \
28771 finish_cmds \
28772 sys_lib_search_path_spec \
28773 configure_time_dlsearch_path \
28774 configure_time_lt_sys_library_path \
28775 reload_cmds_CXX \
28776 old_archive_cmds_CXX \
28777 old_archive_from_new_cmds_CXX \
28778 old_archive_from_expsyms_cmds_CXX \
28779 archive_cmds_CXX \
28780 archive_expsym_cmds_CXX \
28781 module_cmds_CXX \
28782 module_expsym_cmds_CXX \
28783 export_symbols_cmds_CXX \
28784 prelink_cmds_CXX \
28785 postlink_cmds_CXX; do
28786 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28787 *[\\\\\\\`\\"\\\$]*)
28788 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
28789 ;;
28790 *)
28791 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28792 ;;
28793 esac
28794 done
28795
28796 ac_aux_dir='$ac_aux_dir'
28797
28798 # See if we are running on zsh, and set the options that allow our
28799 # commands through without removal of \ escapes INIT.
28800 if test -n "\${ZSH_VERSION+set}"; then
28801 setopt NO_GLOB_SUBST
28802 fi
28803
28804
28805 PACKAGE='$PACKAGE'
28806 VERSION='$VERSION'
28807 RM='$RM'
28808 ofile='$ofile'
28809
28810
28811
28812
28813
28814
28815 _ACEOF
28816
28817 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28818
28819 # Handling of arguments.
28820 for ac_config_target in $ac_config_targets
28821 do
28822 case $ac_config_target in
28823 "src/lib/ares_config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/lib/ares_config.h" ;;
28824 "include/ares_build.h") CONFIG_HEADERS="$CONFIG_HEADERS include/ares_build.h" ;;
28825 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28826 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
28827 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28828 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
28829 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
28830 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
28831 "src/tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;;
28832 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
28833 "libcares.pc") CONFIG_FILES="$CONFIG_FILES libcares.pc" ;;
28834 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
28835
28836 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28837 esac
28838 done
28839
28840
28841 # If the user did not use the arguments to specify the items to instantiate,
28842 # then the envvar interface is used. Set only those that are not.
28843 # We use the long form for the default assignment because of an extremely
28844 # bizarre bug on SunOS 4.1.3.
28845 if $ac_need_defaults; then
28846 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
28847 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
28848 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
28849 fi
28850
28851 # Have a temporary directory for convenience. Make it in the build tree
28852 # simply because there is no reason against having it here, and in addition,
28853 # creating and moving files from /tmp can sometimes cause problems.
28854 # Hook for its removal unless debugging.
28855 # Note that there is a small window in which the directory will not be cleaned:
28856 # after its creation but before its name has been assigned to `$tmp'.
28857 $debug ||
28858 {
28859 tmp= ac_tmp=
28860 trap 'exit_status=$?
28861 : "${ac_tmp:=$tmp}"
28862 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28863 ' 0
28864 trap 'as_fn_exit 1' 1 2 13 15
28865 }
28866 # Create a (secure) tmp directory for tmp files.
28867
28868 {
28869 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28870 test -d "$tmp"
28871 } ||
28872 {
28873 tmp=./conf$$-$RANDOM
28874 (umask 077 && mkdir "$tmp")
28875 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
28876 ac_tmp=$tmp
28877
28878 # Set up the scripts for CONFIG_FILES section.
28879 # No need to generate them if there are no CONFIG_FILES.
28880 # This happens for instance with `./config.status config.h'.
28881 if test -n "$CONFIG_FILES"; then
28882
28883
28884 ac_cr=`echo X | tr X '\015'`
28885 # On cygwin, bash can eat \r inside `` if the user requested igncr.
28886 # But we know of no other shell where ac_cr would be empty at this
28887 # point, so we can use a bashism as a fallback.
28888 if test "x$ac_cr" = x; then
28889 eval ac_cr=\$\'\\r\'
28890 fi
28891 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28892 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28893 ac_cs_awk_cr='\\r'
28894 else
28895 ac_cs_awk_cr=$ac_cr
28896 fi
28897
28898 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28899 _ACEOF
28900
28901
28902 {
28903 echoscip-shell system . . echo. "cat >conf$$subs.awk <<_ACEOF" &&
28904 echoscip-shell system . . echo. "$ac_subst_vars" | sedscip-shell system . . sed. 's/.*/&!$&$ac_delim/' &&
28905 echoscip-shell system . . echo. "_ACEOF"
28906 } >conf$$subs.sh ||
28907 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
28908 ac_delim_num=`echoscip-shell system . . echo. "$ac_subst_vars" | grepscip-shell system . . grep. -c '^'`
28909 ac_delim='%!_!# '
28910 for ac_last_try in false false false false false :; do
28911 . ./conf$$subs.sh ||
28912 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
28913
28914 ac_delim_n=`sedscip-shell system . . sed. -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grepscip-shell system . . grep. -c X`
28915 if testscip-shell system . . test. $ac_delim_n = $ac_delim_num; then
28916 break
28917 elif $ac_last_try; then
28918 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
28919 else
28920 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28921 fi
28922 done
28923 rmscip-shell system . . rm. -f conf$$subs.sh
28924
28925 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28926 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
28927 _ACEOF
28928 sedscip-shell system . . sed. -n '
28929 h
28930 s/^/S["/; s/!.*/"]=/
28931 p
28932 g
28933 s/^[^!]*!//
28934 :repl
28935 t repl
28936 s/'"$ac_delim"'$//
28937 t delim
28938 :nl
28939 h
28940 s/\(.\{148\}\)..*/\1/
28941 t more1
28942 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
28943 p
28944 n
28945 b repl
28946 :more1
28947 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28948 p
28949 g
28950 s/.\{148\}//
28951 t nl
28952 :delim
28953 h
28954 s/\(.\{148\}\)..*/\1/
28955 t more2
28956 s/["\\]/\\&/g; s/^/"/; s/$/"/
28957 p
28958 b
28959 :more2
28960 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28961 p
28962 g
28963 s/.\{148\}//
28964 t delim
28965 ' <conf$$subs.awk | sedscip-shell system . . sed. '
28966 /^[^""]/{
28967 N
28968 s/\n//
28969 }
28970 ' >>$CONFIG_STATUS || ac_write_fail=1
28971 rmscip-shell system . . rm. -f conf$$subs.awk
28972 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28973 _ACAWK
28974 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
28975 for (key in S) S_is_set[key] = 1
28976 FS = ""
28977
28978 }
28979 {
28980 line = $ 0
28981 nfields = split(line, field, "@")
28982 substed = 0
28983 len = length(field[1])
28984 for (i = 2; i < nfields; i++) {
28985 key = field[i]
28986 keylen = length(key)
28987 if (S_is_set[key]) {
28988 value = S[key]
28989 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28990 len += length(value) + length(field[++i])
28991 substed = 1
28992 } else
28993 len += 1 + keylen
28994 }
28995
28996 print line
28997 }
28998
28999 _ACAWK
29000 _ACEOF
29001 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29002 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
29003 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
29004 else
29005 cat
29006 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
29007 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
29008 _ACEOF
29009
29010 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
29011 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
29012 # trailing colons and then remove the whole line if VPATH becomes empty
29013 # (actually we leave an empty line to preserve line numbers).
29014 if testscip-shell system . . test. "x$srcdir" = x.; then
29015 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
29016 h
29017 s///
29018 s/^/:/
29019 s/[ ]*$/:/
29020 s/:\$(srcdir):/:/g
29021 s/:\${srcdir}:/:/g
29022 s/:@srcdir@:/:/g
29023 s/^:*//
29024 s/:*$//
29025 x
29026 s/\(=[ ]*\).*/\1/
29027 G
29028 s/\n//
29029 s/^[^=]*=[ ]*$//
29030 }'
29031 fi
29032
29033 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29034 fi # test -n "$CONFIG_FILES"
29035
29036 # Set up the scripts for CONFIG_HEADERS section.
29037 # No need to generate them if there are no CONFIG_HEADERS.
29038 # This happens for instance with `./config.status Makefile'.
29039 if test -n "$CONFIG_HEADERS"; then
29040 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
29041 BEGIN {
29042 _ACEOF
29043
29044 # Transform confdefs.h into an awk script `defines.awk', embedded as
29045 # here-document in config.status, that substitutes the proper values into
29046 # config.h.in to produce config.h.
29047
29048 # Create a delimiter string that does not exist in confdefs.h, to ease
29049 # handling of long lines.
29050 ac_delim='%!_!# '
29051 for ac_last_try in false false :; do
29052 ac_tt=`sedscip-shell system . . sed. -n "/$ac_delim/p" confdefs.h`
29053 if testscip-shell system . . test. -z "$ac_tt"; then
29054 break
29055 elif $ac_last_try; then
29056 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_HEADERS" "$LINENO" 5
29057 else
29058 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29059 fi
29060 done
29061
29062 # For the awk script, D is an array of macro values keyed by name,
29063 # likewise P contains macro parameters if any. Preserve backslash
29064 # newline sequences.
29065
29066 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
29067 sedscip-shell system . . sed. -n '
29068 s/.\{148\}/&'"$ac_delim"'/g
29069 t rset
29070 :rset
29071 s/^[ ]*#[ ]*define[ ][ ]*/ /
29072 t def
29073 d
29074 :def
29075 s/\\$//
29076 t bsnl
29077 s/["\\]/\\&/g
29078 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
29079 D["\1"]=" \3"/p
29080 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
29081 d
29082 :bsnl
29083 s/["\\]/\\&/g
29084 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
29085 D["\1"]=" \3\\\\\\n"\\/p
29086 t cont
29087 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
29088 t cont
29089 d
29090 :cont
29091 n
29092 s/.\{148\}/&'"$ac_delim"'/g
29093 t clear
29094 :clear
29095 s/\\$//
29096 t bsnlc
29097 s/["\\]/\\&/g; s/^/"/; s/$/"/p
29098 d
29099 :bsnlc
29100 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
29101 b cont
29102 ' <confdefs.h | sedscip-shell system . . sed. '
29103 s/'"$ac_delim"'/"\\\
29104 "/g' >>$CONFIG_STATUS || ac_write_fail=1
29105
29106 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29107 for (key in D) D_is_set[key] = 1
29108 FS = ""
29109 }
29110 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
29111 line = \$ 0
29112 split(line, arg, " ")
29113 if (arg[1] == "#") {
29114 defundef = arg[2]
29115 mac1 = arg[3]
29116 } else {
29117 defundef = substr(arg[1], 2)
29118 mac1 = arg[2]
29119 }
29120 split(mac1, mac2, "(") #)
29121 macro = mac2[1]
29122 prefix = substr(line, 1, index(line, defundef) - 1)
29123 if (D_is_set[macro]) {
29124 # Preserve the white space surrounding the "#".
29125 print prefix "define", macro P[macro] D[macro]
29126 next
29127 } else {
29128 # Replace #undef with comments. This is necessary, for example,
29129 # in the case of _POSIX_SOURCE, which is predefined and required
29130 # on some systems where configure will not decide to define it.
29131 if (defundef == "undef") {
29132 print "/*", prefix defundef, macro, "*/"
29133 next
29134 }
29135 }
29136 }
29137 { print }
29138 _ACAWK
29139 _ACEOF
29140 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29141 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
29142 fi # test -n "$CONFIG_HEADERS"
29143
29144
29145 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
29146 shift
29147 for ac_tag
29148 do
29149 case $ac_tag in
29150 :[FHLC]) ac_mode=$ac_tag; continue;;
29151 esac
29152 case $ac_mode$ac_tag in
29153 :[FHL]*:*);;
29154 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
29155 :[FH]-) ac_tag=-:-;;
29156 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
29157 esac
29158 ac_save_IFS=$IFS
29159 IFS=:
29160 set x $ac_tag
29161 IFS=$ac_save_IFS
29162 shift
29163 ac_file=$1
29164 shift
29165
29166 case $ac_mode in
29167 :L) ac_source=$1;;
29168 :[FH])
29169 ac_file_inputs=
29170 for ac_f
29171 do
29172 case $ac_f in
29173 -) ac_f="$ac_tmp/stdin";;
29174 *) # Look for the file first in the build tree, then in the source tree
29175 # (if the path is not absolute). The absolute path cannot be DOS-style,
29176 # because $ac_f cannot contain `:'.
29177 test -f "$ac_f" ||
29178 case $ac_f in
29179 [\\/$]*) false;;
29180 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
29181 esac ||
29182 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
29183 esac
29184 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
29185 as_fn_append ac_file_inputs " '$ac_f'"
29186 done
29187
29188 # Let's still pretend it is `configure' which instantiates (i.e., don't
29189 # use $as_me), people would be surprised to read:
29190 # /* config.h. Generated by config.status. */
29191 configure_input='Generated from '`
29192 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
29193 `' by configure.'
29194 if test x"$ac_file" != x-; then
29195 configure_input="$ac_file. $configure_input"
29196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
29197 printf "%s\n" "$as_me: creating $ac_file" >&6;}
29198 fi
29199 # Neutralize special characters interpreted by sed in replacement strings.
29200 case $configure_input in #(
29201 *\&* | *\|* | *\\* )
29202 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
29203 sed 's/[\\\\&|]/\\\\&/g'`;; #(
29204 *) ac_sed_conf_input=$configure_input;;
29205 esac
29206
29207 case $ac_tag in
29208 *:-:* | *:-) cat >"$ac_tmp/stdin" \
29209 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
29210 esac
29211 ;;
29212 esac
29213
29214 ac_dir=`$as_dirname -- "$ac_file" ||
29215 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29216 X"$ac_file" : 'X\(//\)[^/]' \| \
29217 X"$ac_file" : 'X\(//\)$' \| \
29218 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29219 printf "%s\n" X"$ac_file" |
29220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29221 s//\1/
29222 q
29223 }
29224 /^X\(\/\/\)[^/].*/{
29225 s//\1/
29226 q
29227 }
29228 /^X\(\/\/\)$/{
29229 s//\1/
29230 q
29231 }
29232 /^X\(\/\).*/{
29233 s//\1/
29234 q
29235 }
29236 s/.*/./; q'`
29237 as_dir="$ac_dir"; as_fn_mkdir_p
29238 ac_builddir=.
29239
29240 case "$ac_dir" in
29241 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
29242 *)
29243 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
29244 # A ".." for each directory in $ac_dir_suffix.
29245 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
29246 case $ac_top_builddir_sub in
29247 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
29248 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
29249 esac ;;
29250 esac
29251 ac_abs_top_builddir=$ac_pwd
29252 ac_abs_builddir=$ac_pwd$ac_dir_suffix
29253 # for backward compatibility:
29254 ac_top_builddir=$ac_top_build_prefix
29255
29256 case $srcdir in
29257 .) # We are building in place.
29258 ac_srcdir=.
29259 ac_top_srcdir=$ac_top_builddir_sub
29260 ac_abs_top_srcdir=$ac_pwd ;;
29261 [\\/]* | ?:[\\/]* ) # Absolute name.
29262 ac_srcdir=$srcdir$ac_dir_suffix;
29263 ac_top_srcdir=$srcdir
29264 ac_abs_top_srcdir=$srcdir ;;
29265 *) # Relative name.
29266 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
29267 ac_top_srcdir=$ac_top_build_prefix$srcdir
29268 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
29269 esac
29270 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
29271
29272
29273 case $ac_mode in
29274 :F)
29275 #
29276 # CONFIG_FILE
29277 #
29278
29279 case $INSTALL in
29280 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
29281 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
29282 esac
29283 ac_MKDIR_P=$MKDIR_P
29284 case $MKDIR_P in
29285 [\\/$]* | ?:[\\/]* ) ;;
29286 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
29287 esac
29288 _ACEOF
29289
29290 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29291 # If the template does not know about datarootdir, expand it.
29292 # FIXME: This hack should be removed a few years after 2.60.
29293 ac_datarootdir_hack=; ac_datarootdir_seen=
29294 ac_sed_dataroot='
29295 /datarootdir/ {
29296 p
29297 q
29298 }
29299 /@datadir@/p
29300 /@docdir@/p
29301 /@infodir@/p
29302 /@localedir@/p
29303 /@mandir@/p'
29304 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
29305 *datarootdir*) ac_datarootdir_seen=yes;;
29306 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
29307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
29308 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
29309 _ACEOF
29310 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29311 ac_datarootdir_hack='
29312 s&@datadir@&$datadir&g
29313 s&@docdir@&$docdir&g
29314 s&@infodir@&$infodir&g
29315 s&@localedir@&$localedir&g
29316 s&@mandir@&$mandir&g
29317 s&\\\${datarootdir}&$datarootdir&g' ;;
29318 esac
29319 _ACEOF
29320
29321 # Neutralize VPATH when `$srcdir' = `.'.
29322 # Shell code in configure.ac might set extrasub.
29323 # FIXME: do we really want to maintain this feature?
29324 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29325 ac_sed_extra="$ac_vpsub
29326 $extrasub
29327 _ACEOF
29328 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29329 :t
29330 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29331 s|@configure_input@|$ac_sed_conf_input|;t t
29332 s&@top_builddir@&$ac_top_builddir_sub&;t t
29333 s&@top_build_prefix@&$ac_top_build_prefix&;t t
29334 s&@srcdir@&$ac_srcdir&;t t
29335 s&@abs_srcdir@&$ac_abs_srcdir&;t t
29336 s&@top_srcdir@&$ac_top_srcdir&;t t
29337 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
29338 s&@builddir@&$ac_builddir&;t t
29339 s&@abs_builddir@&$ac_abs_builddir&;t t
29340 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
29341 s&@INSTALL@&$ac_INSTALL&;t t
29342 s&@MKDIR_P@&$ac_MKDIR_P&;t t
29343 $ac_datarootdir_hack
29344 "
29345 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
29346 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29347
29348 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
29349 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
29350 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
29351 "$ac_tmp/out"`; test -z "$ac_out"; } &&
29352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29353 which seems to be undefined. Please make sure it is defined" >&5
29354 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29355 which seems to be undefined. Please make sure it is defined" >&2;}
29356
29357 rm -f "$ac_tmp/stdin"
29358 case $ac_file in
29359 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
29360 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
29361 esac \
29362 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29363 ;;
29364 :H)
29365 #
29366 # CONFIG_HEADER
29367 #
29368 if test x"$ac_file" != x-; then
29369 {
29370 printf "%s\n" "/* $configure_input */" >&1 \
29371 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
29372 } >"$ac_tmp/config.h" \
29373 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29374 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
29375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
29376 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
29377 else
29378 rm -f "$ac_file"
29379 mv "$ac_tmp/config.h" "$ac_file" \
29380 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29381 fi
29382 else
29383 printf "%s\n" "/* $configure_input */" >&1 \
29384 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
29385 || as_fn_error $? "could not create -" "$LINENO" 5
29386 fi
29387 # Compute "$ac_file"'s index in $config_headers.
29388 _am_arg="$ac_file"
29389 _am_stamp_count=1
29390 for _am_header in $config_headers :; do
29391 case $_am_header in
29392 $_am_arg | $_am_arg:* )
29393 break ;;
29394 * )
29395 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
29396 esac
29397 done
29398 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
29399 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29400 X"$_am_arg" : 'X\(//\)[^/]' \| \
29401 X"$_am_arg" : 'X\(//\)$' \| \
29402 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
29403 printf "%s\n" X"$_am_arg" |
29404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29405 s//\1/
29406 q
29407 }
29408 /^X\(\/\/\)[^/].*/{
29409 s//\1/
29410 q
29411 }
29412 /^X\(\/\/\)$/{
29413 s//\1/
29414 q
29415 }
29416 /^X\(\/\).*/{
29417 s//\1/
29418 q
29419 }
29420 s/.*/./; q'`/stamp-h$_am_stamp_count
29421 ;;
29422
29423 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
29424 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
29425 ;;
29426 esac
29427
29428
29429 case $ac_file$ac_mode in
29430 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
29431 # Older Autoconf quotes --file arguments for eval, but not when files
29432 # are listed without --file. Let's play safe and only enable the eval
29433 # if we detect the quoting.
29434 # TODO: see whether this extra hack can be removed once we start
29435 # requiring Autoconf 2.70 or later.
29436 case $CONFIG_FILES in #(
29437 *\'*) :
29438 eval set x "$CONFIG_FILES" ;; #(
29439 *) :
29440 set x $CONFIG_FILES ;; #(
29441 *) :
29442 ;;
29443 esac
29444 shift
29445 # Used to flag and report bootstrapping failures.
29446 am_rc=0
29447 for am_mf
29448 do
29449 # Strip MF so we end up with the name of the file.
29450 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
29451 # Check whether this is an Automake generated Makefile which includes
29452 # dependency-tracking related rules and includes.
29453 # Grep'ing the whole file directly is not great: AIX grep has a line
29454 # limit of 2048, but all sed's we know have understand at least 4000.
29455 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
29456 || continue
29457 am_dirpart=`$as_dirname -- "$am_mf" ||
29458 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29459 X"$am_mf" : 'X\(//\)[^/]' \| \
29460 X"$am_mf" : 'X\(//\)$' \| \
29461 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
29462 printf "%s\n" X"$am_mf" |
29463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29464 s//\1/
29465 q
29466 }
29467 /^X\(\/\/\)[^/].*/{
29468 s//\1/
29469 q
29470 }
29471 /^X\(\/\/\)$/{
29472 s//\1/
29473 q
29474 }
29475 /^X\(\/\).*/{
29476 s//\1/
29477 q
29478 }
29479 s/.*/./; q'`
29480 am_filepart=`$as_basename -- "$am_mf" ||
29481 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
29482 X"$am_mf" : 'X\(//\)$' \| \
29483 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
29484 printf "%s\n" X/"$am_mf" |
29485 sed '/^.*\/\([^/][^/]*\)\/*$/{
29486 s//\1/
29487 q
29488 }
29489 /^X\/\(\/\/\)$/{
29490 s//\1/
29491 q
29492 }
29493 /^X\/\(\/\).*/{
29494 s//\1/
29495 q
29496 }
29497 s/.*/./; q'`
29498 { echo "$as_me:$LINENO: cd "$am_dirpart" \
29499 && sed -e '/# am--include-marker/d' "$am_filepart" \
29500 | $MAKE -f - am--depfiles" >&5
29501 (cd "$am_dirpart" \
29502 && sed -e '/# am--include-marker/d' "$am_filepart" \
29503 | $MAKE -f - am--depfiles) >&5 2>&5
29504 ac_status=$?
29505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29506 (exit $ac_status); } || am_rc=$?
29507 done
29508 if test $am_rc -ne 0; then
29509 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29510 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
29511 as_fn_error $? "Something went wrong bootstrapping makefile fragments
29512 for automatic dependency tracking. If GNU make was not used, consider
29513 re-running the configure script with MAKE=\"gmake\" (or whatever is
29514 necessary). You can also try re-running configure with the
29515 '--disable-dependency-tracking' option to at least be able to build
29516 the package (albeit without support for automatic dependency tracking).
29517 See \`config.log' for more details" "$LINENO" 5; }
29518 fi
29519 { am_dirpart=; unset am_dirpart;}
29520 { am_filepart=; unset am_filepart;}
29521 { am_mf=; unset am_mf;}
29522 { am_rc=; unset am_rc;}
29523 rm -f conftest-deps.mk
29524 }
29525 ;;
29526 "libtool":C)
29527
29528 # See if we are running on zsh, and set the options that allow our
29529 # commands through without removal of \ escapes.
29530 if test -n "${ZSH_VERSION+set}"; then
29531 setopt NO_GLOB_SUBST
29532 fi
29533
29534 cfgfile=${ofile}T
29535 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
29536 $RM "$cfgfile"
29537
29538 cat <<_LT_EOF >> "$cfgfile"
29539 #! $SHELL
29540 # Generated automatically by $as_me ($PACKAGE) $VERSION
29541 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
29542
29543 # Provide generalized library-building support services.
29544 # Written by Gordon Matzigkeit, 1996
29545
29546 # Copyright (C) 2014 Free Software Foundation, Inc.
29547 # This is free software; see the source for copying conditions. There is NO
29548 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
29549
29550 # GNU Libtool is free software; you can redistribute it and/or modify
29551 # it under the terms of the GNU General Public License as published by
29552 # the Free Software Foundation; either version 2 of of the License, or
29553 # (at your option) any later version.
29554 #
29555 # As a special exception to the GNU General Public License, if you
29556 # distribute this file as part of a program or library that is built
29557 # using GNU Libtool, you may include this file under the same
29558 # distribution terms that you use for the rest of that program.
29559 #
29560 # GNU Libtool is distributed in the hope that it will be useful, but
29561 # WITHOUT ANY WARRANTY; without even the implied warranty of
29562 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29563 # GNU General Public License for more details.
29564 #
29565 # You should have received a copy of the GNU General Public License
29566 # along with this program. If not, see <http://www.gnu.org/licenses/>.
29567
29568
29569 # The names of the tagged configurations supported by this script.
29570 available_tags='CXX '
29571
29572 # Configured defaults for sys_lib_dlsearch_path munging.
29573 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
29574
29575 # ### BEGIN LIBTOOL CONFIG
29576
29577 # Which release of libtool.m4 was used?
29578 macro_version=$macro_version
29579 macro_revision=$macro_revision
29580
29581 # Assembler program.
29582 AS=$lt_AS
29583
29584 # DLL creation program.
29585 DLLTOOL=$lt_DLLTOOL
29586
29587 # Object dumper program.
29588 OBJDUMP=$lt_OBJDUMP
29589
29590 # Whether or not to build shared libraries.
29591 build_libtool_libs=$enable_shared
29592
29593 # Whether or not to build static libraries.
29594 build_old_libs=$enable_static
29595
29596 # What type of objects to build.
29597 pic_mode=$pic_mode
29598
29599 # Whether or not to optimize for fast installation.
29600 fast_install=$enable_fast_install
29601
29602 # Shared archive member basename,for filename based shared library versioning on AIX.
29603 shared_archive_member_spec=$shared_archive_member_spec
29604
29605 # Shell to use when invoking shell scripts.
29606 SHELL=$lt_SHELL
29607
29608 # An echo program that protects backslashes.
29609 ECHO=$lt_ECHO
29610
29611 # The PATH separator for the build system.
29612 PATH_SEPARATOR=$lt_PATH_SEPARATOR
29613
29614 # The host system.
29615 host_alias=$host_alias
29616 host=$host
29617 host_os=$host_os
29618
29619 # The build system.
29620 build_alias=$build_alias
29621 build=$build
29622 build_os=$build_os
29623
29624 # A sed program that does not truncate output.
29625 SED=$lt_SED
29626
29627 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
29628 Xsed="\$SED -e 1s/^X//"
29629
29630 # A grep program that handles long lines.
29631 GREP=$lt_GREP
29632
29633 # An ERE matcher.
29634 EGREP=$lt_EGREP
29635
29636 # A literal string matcher.
29637 FGREP=$lt_FGREP
29638
29639 # A BSD- or MS-compatible name lister.
29640 NM=$lt_NM
29641
29642 # Whether we need soft or hard links.
29643 LN_S=$lt_LN_S
29644
29645 # What is the maximum length of a command?
29646 max_cmd_len=$max_cmd_len
29647
29648 # Object file suffix (normally "o").
29649 objext=$ac_objext
29650
29651 # Executable file suffix (normally "").
29652 exeext=$exeext
29653
29654 # whether the shell understands "unset".
29655 lt_unset=$lt_unset
29656
29657 # turn spaces into newlines.
29658 SP2NL=$lt_lt_SP2NL
29659
29660 # turn newlines into spaces.
29661 NL2SP=$lt_lt_NL2SP
29662
29663 # convert \$build file names to \$host format.
29664 to_host_file_cmd=$lt_cv_to_host_file_cmd
29665
29666 # convert \$build files to toolchain format.
29667 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
29668
29669 # A file(cmd) program that detects file types.
29670 FILECMD=$lt_FILECMD
29671
29672 # Method to check whether dependent libraries are shared objects.
29673 deplibs_check_method=$lt_deplibs_check_method
29674
29675 # Command to use when deplibs_check_method = "file_magic".
29676 file_magic_cmd=$lt_file_magic_cmd
29677
29678 # How to find potential files when deplibs_check_method = "file_magic".
29679 file_magic_glob=$lt_file_magic_glob
29680
29681 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
29682 want_nocaseglob=$lt_want_nocaseglob
29683
29684 # Command to associate shared and link libraries.
29685 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
29686
29687 # The archiver.
29688 AR=$lt_AR
29689
29690 # Flags to create an archive (by configure).
29691 lt_ar_flags=$lt_ar_flags
29692
29693 # Flags to create an archive.
29694 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
29695
29696 # How to feed a file listing to the archiver.
29697 archiver_list_spec=$lt_archiver_list_spec
29698
29699 # A symbol stripping program.
29700 STRIP=$lt_STRIP
29701
29702 # Commands used to install an old-style archive.
29703 RANLIB=$lt_RANLIB
29704 old_postinstall_cmds=$lt_old_postinstall_cmds
29705 old_postuninstall_cmds=$lt_old_postuninstall_cmds
29706
29707 # Whether to use a lock for old archive extraction.
29708 lock_old_archive_extraction=$lock_old_archive_extraction
29709
29710 # A C compiler.
29711 LTCC=$lt_CC
29712
29713 # LTCC compiler flags.
29714 LTCFLAGS=$lt_CFLAGS
29715
29716 # Take the output of nm and produce a listing of raw symbols and C names.
29717 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
29718
29719 # Transform the output of nm in a proper C declaration.
29720 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
29721
29722 # Transform the output of nm into a list of symbols to manually relocate.
29723 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
29724
29725 # Transform the output of nm in a C name address pair.
29726 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
29727
29728 # Transform the output of nm in a C name address pair when lib prefix is needed.
29729 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
29730
29731 # The name lister interface.
29732 nm_interface=$lt_lt_cv_nm_interface
29733
29734 # Specify filename containing input files for \$NM.
29735 nm_file_list_spec=$lt_nm_file_list_spec
29736
29737 # The root where to search for dependent libraries,and where our libraries should be installed.
29738 lt_sysroot=$lt_sysroot
29739
29740 # Command to truncate a binary pipe.
29741 lt_truncate_bin=$lt_lt_cv_truncate_bin
29742
29743 # The name of the directory that contains temporary libtool files.
29744 objdir=$objdir
29745
29746 # Used to examine libraries when file_magic_cmd begins with "file".
29747 MAGIC_CMD=$MAGIC_CMD
29748
29749 # Must we lock files when doing compilation?
29750 need_locks=$lt_need_locks
29751
29752 # Manifest tool.
29753 MANIFEST_TOOL=$lt_MANIFEST_TOOL
29754
29755 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
29756 DSYMUTIL=$lt_DSYMUTIL
29757
29758 # Tool to change global to local symbols on Mac OS X.
29759 NMEDIT=$lt_NMEDIT
29760
29761 # Tool to manipulate fat objects and archives on Mac OS X.
29762 LIPO=$lt_LIPO
29763
29764 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
29765 OTOOL=$lt_OTOOL
29766
29767 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
29768 OTOOL64=$lt_OTOOL64
29769
29770 # Old archive suffix (normally "a").
29771 libext=$libext
29772
29773 # Shared library suffix (normally ".so").
29774 shrext_cmds=$lt_shrext_cmds
29775
29776 # The commands to extract the exported symbol list from a shared archive.
29777 extract_expsyms_cmds=$lt_extract_expsyms_cmds
29778
29779 # Variables whose values should be saved in libtool wrapper scripts and
29780 # restored at link time.
29781 variables_saved_for_relink=$lt_variables_saved_for_relink
29782
29783 # Do we need the "lib" prefix for modules?
29784 need_lib_prefix=$need_lib_prefix
29785
29786 # Do we need a version for libraries?
29787 need_version=$need_version
29788
29789 # Library versioning type.
29790 version_type=$version_type
29791
29792 # Shared library runtime path variable.
29793 runpath_var=$runpath_var
29794
29795 # Shared library path variable.
29796 shlibpath_var=$shlibpath_var
29797
29798 # Is shlibpath searched before the hard-coded library search path?
29799 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
29800
29801 # Format of library name prefix.
29802 libname_spec=$lt_libname_spec
29803
29804 # List of archive names. First name is the real one, the rest are links.
29805 # The last name is the one that the linker finds with -lNAME
29806 library_names_spec=$lt_library_names_spec
29807
29808 # The coded name of the library, if different from the real name.
29809 soname_spec=$lt_soname_spec
29810
29811 # Permission mode override for installation of shared libraries.
29812 install_override_mode=$lt_install_override_mode
29813
29814 # Command to use after installation of a shared archive.
29815 postinstall_cmds=$lt_postinstall_cmds
29816
29817 # Command to use after uninstallation of a shared archive.
29818 postuninstall_cmds=$lt_postuninstall_cmds
29819
29820 # Commands used to finish a libtool library installation in a directory.
29821 finish_cmds=$lt_finish_cmds
29822
29823 # As "finish_cmds", except a single script fragment to be evaled but
29824 # not shown.
29825 finish_eval=$lt_finish_eval
29826
29827 # Whether we should hardcode library paths into libraries.
29828 hardcode_into_libs=$hardcode_into_libs
29829
29830 # Compile-time system search path for libraries.
29831 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
29832
29833 # Detected run-time system search path for libraries.
29834 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
29835
29836 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
29837 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
29838
29839 # Whether dlopen is supported.
29840 dlopen_support=$enable_dlopen
29841
29842 # Whether dlopen of programs is supported.
29843 dlopen_self=$enable_dlopen_self
29844
29845 # Whether dlopen of statically linked programs is supported.
29846 dlopen_self_static=$enable_dlopen_self_static
29847
29848 # Commands to strip libraries.
29849 old_striplib=$lt_old_striplib
29850 striplib=$lt_striplib
29851
29852
29853 # The linker used to build libraries.
29854 LD=$lt_LD
29855
29856 # How to create reloadable object files.
29857 reload_flag=$lt_reload_flag
29858 reload_cmds=$lt_reload_cmds
29859
29860 # Commands used to build an old-style archive.
29861 old_archive_cmds=$lt_old_archive_cmds
29862
29863 # A language specific compiler.
29864 CC=$lt_compiler
29865
29866 # Is the compiler the GNU compiler?
29867 with_gcc=$GCC
29868
29869 # Compiler flag to turn off builtin functions.
29870 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29871
29872 # Additional compiler flags for building library objects.
29873 pic_flag=$lt_lt_prog_compiler_pic
29874
29875 # How to pass a linker flag through the compiler.
29876 wl=$lt_lt_prog_compiler_wl
29877
29878 # Compiler flag to prevent dynamic linking.
29879 link_static_flag=$lt_lt_prog_compiler_static
29880
29881 # Does compiler simultaneously support -c and -o options?
29882 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29883
29884 # Whether or not to add -lc for building shared libraries.
29885 build_libtool_need_lc=$archive_cmds_need_lc
29886
29887 # Whether or not to disallow shared libs when runtime libs are static.
29888 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29889
29890 # Compiler flag to allow reflexive dlopens.
29891 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29892
29893 # Compiler flag to generate shared objects directly from archives.
29894 whole_archive_flag_spec=$lt_whole_archive_flag_spec
29895
29896 # Whether the compiler copes with passing no objects directly.
29897 compiler_needs_object=$lt_compiler_needs_object
29898
29899 # Create an old-style archive from a shared archive.
29900 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29901
29902 # Create a temporary old-style archive to link instead of a shared archive.
29903 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29904
29905 # Commands used to build a shared archive.
29906 archive_cmds=$lt_archive_cmds
29907 archive_expsym_cmds=$lt_archive_expsym_cmds
29908
29909 # Commands used to build a loadable module if different from building
29910 # a shared archive.
29911 module_cmds=$lt_module_cmds
29912 module_expsym_cmds=$lt_module_expsym_cmds
29913
29914 # Whether we are building with GNU ld or not.
29915 with_gnu_ld=$lt_with_gnu_ld
29916
29917 # Flag that allows shared libraries with undefined symbols to be built.
29918 allow_undefined_flag=$lt_allow_undefined_flag
29919
29920 # Flag that enforces no undefined symbols.
29921 no_undefined_flag=$lt_no_undefined_flag
29922
29923 # Flag to hardcode \$libdir into a binary during linking.
29924 # This must work even if \$libdir does not exist
29925 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29926
29927 # Whether we need a single "-rpath" flag with a separated argument.
29928 hardcode_libdir_separator=$lt_hardcode_libdir_separator
29929
29930 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
29931 # DIR into the resulting binary.
29932 hardcode_direct=$hardcode_direct
29933
29934 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
29935 # DIR into the resulting binary and the resulting library dependency is
29936 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
29937 # library is relocated.
29938 hardcode_direct_absolute=$hardcode_direct_absolute
29939
29940 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29941 # into the resulting binary.
29942 hardcode_minus_L=$hardcode_minus_L
29943
29944 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29945 # into the resulting binary.
29946 hardcode_shlibpath_var=$hardcode_shlibpath_var
29947
29948 # Set to "yes" if building a shared library automatically hardcodes DIR
29949 # into the library and all subsequent libraries and executables linked
29950 # against it.
29951 hardcode_automatic=$hardcode_automatic
29952
29953 # Set to yes if linker adds runtime paths of dependent libraries
29954 # to runtime path list.
29955 inherit_rpath=$inherit_rpath
29956
29957 # Whether libtool must link a program against all its dependency libraries.
29958 link_all_deplibs=$link_all_deplibs
29959
29960 # Set to "yes" if exported symbols are required.
29961 always_export_symbols=$always_export_symbols
29962
29963 # The commands to list exported symbols.
29964 export_symbols_cmds=$lt_export_symbols_cmds
29965
29966 # Symbols that should not be listed in the preloaded symbols.
29967 exclude_expsyms=$lt_exclude_expsyms
29968
29969 # Symbols that must always be exported.
29970 include_expsyms=$lt_include_expsyms
29971
29972 # Commands necessary for linking programs (against libraries) with templates.
29973 prelink_cmds=$lt_prelink_cmds
29974
29975 # Commands necessary for finishing linking programs.
29976 postlink_cmds=$lt_postlink_cmds
29977
29978 # Specify filename containing input files.
29979 file_list_spec=$lt_file_list_spec
29980
29981 # How to hardcode a shared library path into an executable.
29982 hardcode_action=$hardcode_action
29983
29984 # The directories searched by this compiler when creating a shared library.
29985 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
29986
29987 # Dependencies to place before and after the objects being linked to
29988 # create a shared library.
29989 predep_objects=$lt_predep_objects
29990 postdep_objects=$lt_postdep_objects
29991 predeps=$lt_predeps
29992 postdeps=$lt_postdeps
29993
29994 # The library search path used internally by the compiler when linking
29995 # a shared library.
29996 compiler_lib_search_path=$lt_compiler_lib_search_path
29997
29998 # ### END LIBTOOL CONFIG
29999
30000 _LT_EOF
30001
30002 cat <<'_LT_EOF' >> "$cfgfile"
30003
30004 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
30005
30006 # func_munge_path_list VARIABLE PATH
30007 # -----------------------------------
30008 # VARIABLE is name of variable containing _space_ separated list of
30009 # directories to be munged by the contents of PATH, which is string
30010 # having a format:
30011 # "DIR[:DIR]:"
30012 # string "DIR[ DIR]" will be prepended to VARIABLE
30013 # ":DIR[:DIR]"
30014 # string "DIR[ DIR]" will be appended to VARIABLE
30015 # "DIRP[:DIRP]::[DIRA:]DIRA"
30016 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
30017 # "DIRA[ DIRA]" will be appended to VARIABLE
30018 # "DIR[:DIR]"
30019 # VARIABLE will be replaced by "DIR[ DIR]"
30020 func_munge_path_list ()
30021 {
30022 case x$2 in
30023 x)
30024 ;;
30025 *:)
30026 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
30027 ;;
30028 x:*)
30029 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
30030 ;;
30031 *::*)
30032 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
30033 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
30034 ;;
30035 *)
30036 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
30037 ;;
30038 esac
30039 }
30040
30041
30042 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
30043 func_cc_basename ()
30044 {
30045 for cc_temp in $*""; do
30046 case $cc_temp in
30047 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
30048 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
30049 \-*) ;;
30050 *) break;;
30051 esac
30052 done
30053 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
30054 }
30055
30056
30057 # ### END FUNCTIONS SHARED WITH CONFIGURE
30058
30059 _LT_EOF
30060
30061 case $host_os in
30062 aix3*)
30063 cat <<\_LT_EOF >> "$cfgfile"
30064 # AIX sometimes has problems with the GCC collect2 program. For some
30065 # reason, if we set the COLLECT_NAMES environment variable, the problems
30066 # vanish in a puff of smoke.
30067 if test set != "${COLLECT_NAMES+set}"; then
30068 COLLECT_NAMES=
30069 export COLLECT_NAMES
30070 fi
30071 _LT_EOF
30072 ;;
30073 esac
30074
30075
30076
30077 ltmain=$ac_aux_dir/ltmain.sh
30078
30079
30080 # We use sed instead of cat because bash on DJGPP gets confused if
30081 # if finds mixed CR/LF and LF-only lines. Since sed operates in
30082 # text mode, it properly converts lines to CR/LF. This bash problem
30083 # is reportedly fixed, but why not run on old versions too?
30084 $SED '$q' "$ltmain" >> "$cfgfile" \
30085 || (rm -f "$cfgfile"; exit 1)
30086
30087 mv -f "$cfgfile" "$ofile" ||
30088 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
30089 chmod +x "$ofile"
30090
30091
30092 cat <<_LT_EOF >> "$ofile"
30093
30094 # ### BEGIN LIBTOOL TAG CONFIG: CXX
30095
30096 # The linker used to build libraries.
30097 LD=$lt_LD_CXX
30098
30099 # How to create reloadable object files.
30100 reload_flag=$lt_reload_flag_CXX
30101 reload_cmds=$lt_reload_cmds_CXX
30102
30103 # Commands used to build an old-style archive.
30104 old_archive_cmds=$lt_old_archive_cmds_CXX
30105
30106 # A language specific compiler.
30107 CC=$lt_compiler_CXX
30108
30109 # Is the compiler the GNU compiler?
30110 with_gcc=$GCC_CXX
30111
30112 # Compiler flag to turn off builtin functions.
30113 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
30114
30115 # Additional compiler flags for building library objects.
30116 pic_flag=$lt_lt_prog_compiler_pic_CXX
30117
30118 # How to pass a linker flag through the compiler.
30119 wl=$lt_lt_prog_compiler_wl_CXX
30120
30121 # Compiler flag to prevent dynamic linking.
30122 link_static_flag=$lt_lt_prog_compiler_static_CXX
30123
30124 # Does compiler simultaneously support -c and -o options?
30125 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
30126
30127 # Whether or not to add -lc for building shared libraries.
30128 build_libtool_need_lc=$archive_cmds_need_lc_CXX
30129
30130 # Whether or not to disallow shared libs when runtime libs are static.
30131 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
30132
30133 # Compiler flag to allow reflexive dlopens.
30134 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
30135
30136 # Compiler flag to generate shared objects directly from archives.
30137 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
30138
30139 # Whether the compiler copes with passing no objects directly.
30140 compiler_needs_object=$lt_compiler_needs_object_CXX
30141
30142 # Create an old-style archive from a shared archive.
30143 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
30144
30145 # Create a temporary old-style archive to link instead of a shared archive.
30146 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
30147
30148 # Commands used to build a shared archive.
30149 archive_cmds=$lt_archive_cmds_CXX
30150 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
30151
30152 # Commands used to build a loadable module if different from building
30153 # a shared archive.
30154 module_cmds=$lt_module_cmds_CXX
30155 module_expsym_cmds=$lt_module_expsym_cmds_CXX
30156
30157 # Whether we are building with GNU ld or not.
30158 with_gnu_ld=$lt_with_gnu_ld_CXX
30159
30160 # Flag that allows shared libraries with undefined symbols to be built.
30161 allow_undefined_flag=$lt_allow_undefined_flag_CXX
30162
30163 # Flag that enforces no undefined symbols.
30164 no_undefined_flag=$lt_no_undefined_flag_CXX
30165
30166 # Flag to hardcode \$libdir into a binary during linking.
30167 # This must work even if \$libdir does not exist
30168 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
30169
30170 # Whether we need a single "-rpath" flag with a separated argument.
30171 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
30172
30173 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
30174 # DIR into the resulting binary.
30175 hardcode_direct=$hardcode_direct_CXX
30176
30177 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
30178 # DIR into the resulting binary and the resulting library dependency is
30179 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
30180 # library is relocated.
30181 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
30182
30183 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30184 # into the resulting binary.
30185 hardcode_minus_L=$hardcode_minus_L_CXX
30186
30187 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30188 # into the resulting binary.
30189 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
30190
30191 # Set to "yes" if building a shared library automatically hardcodes DIR
30192 # into the library and all subsequent libraries and executables linked
30193 # against it.
30194 hardcode_automatic=$hardcode_automatic_CXX
30195
30196 # Set to yes if linker adds runtime paths of dependent libraries
30197 # to runtime path list.
30198 inherit_rpath=$inherit_rpath_CXX
30199
30200 # Whether libtool must link a program against all its dependency libraries.
30201 link_all_deplibs=$link_all_deplibs_CXX
30202
30203 # Set to "yes" if exported symbols are required.
30204 always_export_symbols=$always_export_symbols_CXX
30205
30206 # The commands to list exported symbols.
30207 export_symbols_cmds=$lt_export_symbols_cmds_CXX
30208
30209 # Symbols that should not be listed in the preloaded symbols.
30210 exclude_expsyms=$lt_exclude_expsyms_CXX
30211
30212 # Symbols that must always be exported.
30213 include_expsyms=$lt_include_expsyms_CXX
30214
30215 # Commands necessary for linking programs (against libraries) with templates.
30216 prelink_cmds=$lt_prelink_cmds_CXX
30217
30218 # Commands necessary for finishing linking programs.
30219 postlink_cmds=$lt_postlink_cmds_CXX
30220
30221 # Specify filename containing input files.
30222 file_list_spec=$lt_file_list_spec_CXX
30223
30224 # How to hardcode a shared library path into an executable.
30225 hardcode_action=$hardcode_action_CXX
30226
30227 # The directories searched by this compiler when creating a shared library.
30228 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
30229
30230 # Dependencies to place before and after the objects being linked to
30231 # create a shared library.
30232 predep_objects=$lt_predep_objects_CXX
30233 postdep_objects=$lt_postdep_objects_CXX
30234 predeps=$lt_predeps_CXX
30235 postdeps=$lt_postdeps_CXX
30236
30237 # The library search path used internally by the compiler when linking
30238 # a shared library.
30239 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
30240
30241 # ### END LIBTOOL TAG CONFIG: CXX
30242 _LT_EOF
30243
30244 ;;
30245
30246 esac
30247 done # for ac_tag
30248
30249
30250 as_fn_exit 0
30251 _ACEOF
30252 ac_clean_files=$ac_clean_files_save
30253
30254 testscip-shell system . . test. $ac_write_fail = 0 ||
30255 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
30256
30257
30258 # configure is writing to config.log, and then calls config.status.
30259 # config.status does its own redirection, appending to config.log.
30260 # Unfortunately, on DOS this fails, as config.log is still kept open
30261 # by configure, so config.status won't be able to write to it; its
30262 # output is simply discarded. So we exec the FD to /dev/null,
30263 # effectively closing config.log, so it can be properly (re)opened and
30264 # appended to by config.status. When coming back to configure, we
30265 # need to make the FD available again.
30266 if testscip-shell system . . test. "$no_create" != yes; then
30267 ac_cs_success=:
30268 ac_config_status_args=
30269 testscip-shell system . . test. "$silent" = yes &&
30270 ac_config_status_args="$ac_config_status_args --quiet"
30271 exec 5>/dev/nullscip-shell filesystem . . `/dev/null`.
30272 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
30273 exec 5>>config.log
30274 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
30275 # would make configure fail if this is the last instruction.
30276 $ac_cs_success || as_fn_exitscip-shell shell shell-project 0.0.0 as_fn_exit(). 1
30277 fi
30278 if testscip-shell system . . test. -n "$ac_unrecognized_opts" && testscip-shell system . . test. "$enable_option_checking" != no; then
30279 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
30280 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
30281 fi
30282
30283